@goldskycom/cli 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +157 -143
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -1,201 +1,215 @@
|
|
|
1
|
-
"use strict";var aO=Object.create;var Pa=Object.defineProperty,sO=Object.defineProperties,oO=Object.getOwnPropertyDescriptor,cO=Object.getOwnPropertyDescriptors,lO=Object.getOwnPropertyNames,Fh=Object.getOwnPropertySymbols,uO=Object.getPrototypeOf,zh=Object.prototype.hasOwnProperty,pO=Object.prototype.propertyIsEnumerable;var Dh=(e,t,n)=>t in e?Pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$l=(e,t)=>{for(var n in t||(t={}))zh.call(t,n)&&Dh(e,n,t[n]);if(Fh)for(var n of Fh(t))pO.call(t,n)&&Dh(e,n,t[n]);return e},Uh=(e,t)=>sO(e,cO(t));var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),De=(e,t)=>{for(var n in t)Pa(e,n,{get:t[n],enumerable:!0})},$h=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of lO(t))!zh.call(e,i)&&i!==n&&Pa(e,i,{get:()=>t[i],enumerable:!(r=oO(t,i))||r.enumerable});return e};var ne=(e,t,n)=>(n=e!=null?aO(uO(e)):{},$h(t||!e||!e.__esModule?Pa(n,"default",{value:e,enumerable:!0}):n,e)),fO=e=>$h(Pa({},"__esModule",{value:!0}),e);var Vn=b(P=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0});P.Type=P.TypeBuilder=P.Modifier=P.Hint=P.Kind=void 0;P.Kind=Symbol.for("TypeBox.Kind");P.Hint=Symbol.for("TypeBox.Hint");P.Modifier=Symbol.for("TypeBox.Modifier");var UO=0,vo=class{ReadonlyOptional(t){return{[P.Modifier]:"ReadonlyOptional",...t}}Readonly(t){return{[P.Modifier]:"Readonly",...t}}Optional(t){return{[P.Modifier]:"Optional",...t}}Any(t={}){return this.Create({...t,[P.Kind]:"Any"})}Array(t,n={}){return this.Create({...n,[P.Kind]:"Array",type:"array",items:t})}Boolean(t={}){return this.Create({...t,[P.Kind]:"Boolean",type:"boolean"})}ConstructorParameters(t,n={}){return this.Tuple([...t.parameters],{...n})}Constructor(t,n,r={}){if(t[P.Kind]==="Tuple"){let i=t.items===void 0?[]:t.items;return this.Create({...r,[P.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:i,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...r,[P.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:t,returns:n});throw new Error("TypeBuilder.Constructor: Invalid parameters")}}Date(t={}){return this.Create({...t,[P.Kind]:"Date",type:"object",instanceOf:"Date"})}Enum(t,n={}){let i=Object.keys(t).filter(a=>isNaN(a)).map(a=>t[a]).map(a=>typeof a=="string"?{[P.Kind]:"Literal",type:"string",const:a}:{[P.Kind]:"Literal",type:"number",const:a});return this.Create({...n,[P.Kind]:"Union",[P.Hint]:"Enum",anyOf:i})}Function(t,n,r={}){if(t[P.Kind]==="Tuple"){let i=t.items===void 0?[]:t.items;return this.Create({...r,[P.Kind]:"Function",type:"object",instanceOf:"Function",parameters:i,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...r,[P.Kind]:"Function",type:"object",instanceOf:"Function",parameters:t,returns:n});throw new Error("TypeBuilder.Function: Invalid parameters")}}InstanceType(t,n={}){return{...n,...this.Clone(t.returns)}}Integer(t={}){return this.Create({...t,[P.Kind]:"Integer",type:"integer"})}Intersect(t,n={}){let r=o=>o[P.Modifier]&&o[P.Modifier]==="Optional"||o[P.Modifier]==="ReadonlyOptional",[i,a]=[new Set,new Set];for(let o of t)for(let[c,u]of Object.entries(o.properties))r(u)&&a.add(c);for(let o of t)for(let c of Object.keys(o.properties))a.has(c)||i.add(c);let s={};for(let o of t)for(let[c,u]of Object.entries(o.properties))s[c]=s[c]===void 0?u:{[P.Kind]:"Union",anyOf:[s[c],{...u}]};return i.size>0?this.Create({...n,[P.Kind]:"Object",type:"object",properties:s,required:[...i]}):this.Create({...n,[P.Kind]:"Object",type:"object",properties:s})}KeyOf(t,n={}){let r=Object.keys(t.properties).map(i=>this.Create({...n,[P.Kind]:"Literal",type:"string",const:i}));return this.Create({...n,[P.Kind]:"Union",[P.Hint]:"KeyOf",anyOf:r})}Literal(t,n={}){return this.Create({...n,[P.Kind]:"Literal",const:t,type:typeof t})}Never(t={}){return this.Create({...t,[P.Kind]:"Never",allOf:[{type:"boolean",const:!1},{type:"boolean",const:!0}]})}Null(t={}){return this.Create({...t,[P.Kind]:"Null",type:"null"})}Number(t={}){return this.Create({...t,[P.Kind]:"Number",type:"number"})}Object(t,n={}){let r=Object.keys(t),i=r.filter(s=>{let c=t[s][P.Modifier];return c&&(c==="Optional"||c==="ReadonlyOptional")}),a=r.filter(s=>!i.includes(s));return a.length>0?this.Create({...n,[P.Kind]:"Object",type:"object",properties:t,required:a}):this.Create({...n,[P.Kind]:"Object",type:"object",properties:t})}Omit(t,n,r={}){let i=n[P.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...r,[P.Hint]:"Omit"};a.required&&(a.required=a.required.filter(s=>!i.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))i.includes(s)&&delete a.properties[s];return this.Create(a)}Parameters(t,n={}){return P.Type.Tuple(t.parameters,{...n})}Partial(t,n={}){let r={...this.Clone(t),...n,[P.Hint]:"Partial"};delete r.required;for(let i of Object.keys(r.properties)){let a=r.properties[i];switch(a[P.Modifier]){case"ReadonlyOptional":a[P.Modifier]="ReadonlyOptional";break;case"Readonly":a[P.Modifier]="ReadonlyOptional";break;case"Optional":a[P.Modifier]="Optional";break;default:a[P.Modifier]="Optional";break}}return this.Create(r)}Pick(t,n,r={}){let i=n[P.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...r,[P.Hint]:"Pick"};a.required&&(a.required=a.required.filter(s=>i.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))i.includes(s)||delete a.properties[s];return this.Create(a)}Promise(t,n={}){return this.Create({...n,[P.Kind]:"Promise",type:"object",instanceOf:"Promise",item:t})}Record(t,n,r={}){if(t[P.Kind]==="Union")return this.Object(t.anyOf.reduce((a,s)=>({...a,[s.const]:n}),{}),{...r,[P.Hint]:"Record"});let i=["Integer","Number"].includes(t[P.Kind])?"^(0|[1-9][0-9]*)$":t[P.Kind]==="String"&&t.pattern?t.pattern:"^.*$";return this.Create({...r,[P.Kind]:"Record",type:"object",patternProperties:{[i]:n},additionalProperties:!1})}Recursive(t,n={}){n.$id===void 0&&(n.$id=`T${UO++}`);let r=t({[P.Kind]:"Self",$ref:`${n.$id}`});return r.$id=n.$id,this.Create({...n,...r})}Ref(t,n={}){if(t.$id===void 0)throw Error("TypeBuilder.Ref: Referenced schema must specify an $id");return this.Create({...n,[P.Kind]:"Ref",$ref:t.$id})}RegEx(t,n={}){return this.Create({...n,[P.Kind]:"String",type:"string",pattern:t.source})}Required(t,n={}){let r={...this.Clone(t),...n,[P.Hint]:"Required"};r.required=Object.keys(r.properties);for(let i of Object.keys(r.properties)){let a=r.properties[i];switch(a[P.Modifier]){case"ReadonlyOptional":a[P.Modifier]="Readonly";break;case"Readonly":a[P.Modifier]="Readonly";break;case"Optional":delete a[P.Modifier];break;default:delete a[P.Modifier];break}}return this.Create(r)}ReturnType(t,n={}){return{...n,...this.Clone(t.returns)}}Strict(t){return JSON.parse(JSON.stringify(t))}String(t={}){return this.Create({...t,[P.Kind]:"String",type:"string"})}Tuple(t,n={}){let i=t.length,a=t.length,s=t.length>0?{...n,[P.Kind]:"Tuple",type:"array",items:t,additionalItems:!1,minItems:i,maxItems:a}:{...n,[P.Kind]:"Tuple",type:"array",minItems:i,maxItems:a};return this.Create(s)}Undefined(t={}){return this.Create({...t,[P.Kind]:"Undefined",type:"null",typeOf:"Undefined"})}Union(t,n={}){return t.length===0?P.Type.Never({...n}):this.Create({...n,[P.Kind]:"Union",anyOf:t})}Uint8Array(t={}){return this.Create({...t,[P.Kind]:"Uint8Array",type:"object",instanceOf:"Uint8Array"})}Unknown(t={}){return this.Create({...t,[P.Kind]:"Unknown"})}Unsafe(t={}){return this.Create({...t,[P.Kind]:t[P.Kind]||"Unsafe"})}Void(t={}){return this.Create({...t,[P.Kind]:"Void",type:"null",typeOf:"Void"})}Create(t){return t}Clone(t){let n=i=>typeof i=="object"&&i!==null&&!Array.isArray(i),r=i=>typeof i=="object"&&i!==null&&Array.isArray(i);return n(t)?Object.keys(t).reduce((i,a)=>({...i,[a]:this.Clone(t[a])}),Object.getOwnPropertySymbols(t).reduce((i,a)=>({...i,[a]:this.Clone(t[a])}),{})):r(t)?t.map(i=>this.Clone(i)):t}};P.TypeBuilder=vo;P.Type=new vo});var Gm=b(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.CreateOneClickDeploymentMessageSchema=Le.GetOneClickDeploymentsMessageSchema=Le.GetAllSubgraphsMessageSchema=Le.GetSubgraphMessageSchema=Le.GetSubgraphVersionsMessageSchema=Le.RemoveMessageSchema=Le.CreateTagMessageSchema=Le.ShowGeneratedMessageSchema=Le.GenerateMessageSchema=Le.DeployMessageSchema=void 0;var U=Vn(),$O=U.Type.Object({bundle:U.Type.Optional(U.Type.Object({encoding:U.Type.String(),filename:U.Type.String(),mimetype:U.Type.String()})),generated_bundle_id:U.Type.Optional(U.Type.Object({value:U.Type.String()})),overwrite:U.Type.Object({value:U.Type.String()}),remove_graft:U.Type.Optional(U.Type.Object({value:U.Type.String()})),start_block:U.Type.Optional(U.Type.Object({value:U.Type.String()}))}),mu=U.Type.Object({name:U.Type.String(),version_label:U.Type.String()});Le.DeployMessageSchema={params:mu,body:$O};var WO=U.Type.Object({bundle:U.Type.String()});Le.GenerateMessageSchema={body:WO};var HO=U.Type.Object({cursor:U.Type.String()});Le.ShowGeneratedMessageSchema={body:HO};var YO=U.Type.Object({target_version:U.Type.Optional(U.Type.String())});Le.CreateTagMessageSchema={body:YO,params:mu};Le.RemoveMessageSchema={params:mu};var GO=U.Type.Object({id:U.Type.String(),created_at:U.Type.Number(),deployment_id:U.Type.String(),health:U.Type.String(),synced:U.Type.Boolean(),fatal_error:U.Type.Optional(U.Type.String()),non_fatal_errors:U.Type.Optional(U.Type.Array(U.Type.String())),indexing_progress:U.Type.Optional(U.Type.Object({network:U.Type.String(),progress_percent:U.Type.Number(),chain_head_block:U.Type.Number(),deployment_head_block:U.Type.Number(),deployment_start_block:U.Type.Number(),synced:U.Type.Boolean()}))}),hB=U.Type.Object({name:U.Type.String(),version:U.Type.String(),tag:U.Type.Optional(U.Type.Object({target_version:U.Type.Optional(U.Type.String())})),health:U.Type.String(),synced:U.Type.Boolean(),graphql_endpoint:U.Type.String(),deployments:U.Type.Array(GO)}),KO=U.Type.Object({name:U.Type.String()});Le.GetSubgraphVersionsMessageSchema={params:KO};var VO=U.Type.Object({name:U.Type.String(),version_label:U.Type.String()});Le.GetSubgraphMessageSchema={params:VO};Le.GetAllSubgraphsMessageSchema={};Le.GetOneClickDeploymentsMessageSchema={};var ZO=U.Type.Object({name:U.Type.String(),description:U.Type.String(),version:U.Type.String(),ipfsHash:U.Type.String(),url:U.Type.String()});Le.CreateOneClickDeploymentMessageSchema={body:ZO}});var Km=b(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.ListStreamsMessageSchema=rt.ListSourcesMessageSchema=rt.ListDestinationsMessageSchema=rt.Destination=rt.Stream=rt.Source=void 0;var me=Vn();rt.Source=me.Type.Object({id:me.Type.String(),project_id:me.Type.String(),name:me.Type.String(),type:me.Type.String(),created_at:me.Type.Number()});rt.Stream=me.Type.Object({id:me.Type.String(),project_id:me.Type.String(),created_at:me.Type.Number(),name:me.Type.String(),type:me.Type.String(),dependencies:me.Type.Array(me.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:me.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:me.Type.Boolean(),health:me.Type.String(),subgraph_indexing_progress:me.Type.Object({network:me.Type.String(),progress_percent:me.Type.Number(),chain_head_block:me.Type.Number(),deployment_head_block:me.Type.Number(),deployment_start_block:me.Type.Number()})});rt.Destination=me.Type.Object({id:me.Type.String(),project_id:me.Type.String(),created_at:me.Type.Number(),name:me.Type.String(),type:me.Type.String(),external_url:me.Type.String()});rt.ListDestinationsMessageSchema={description:`
|
|
1
|
+
"use strict";var XO=Object.create;var Wa=Object.defineProperty,ek=Object.defineProperties,tk=Object.getOwnPropertyDescriptor,nk=Object.getOwnPropertyDescriptors,rk=Object.getOwnPropertyNames,dm=Object.getOwnPropertySymbols,ik=Object.getPrototypeOf,mm=Object.prototype.hasOwnProperty,ak=Object.prototype.propertyIsEnumerable;var hm=(e,t,n)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ru=(e,t)=>{for(var n in t||(t={}))mm.call(t,n)&&hm(e,n,t[n]);if(dm)for(var n of dm(t))ak.call(t,n)&&hm(e,n,t[n]);return e},gm=(e,t)=>ek(e,nk(t));var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Le=(e,t)=>{for(var n in t)Wa(e,n,{get:t[n],enumerable:!0})},vm=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of rk(t))!mm.call(e,i)&&i!==n&&Wa(e,i,{get:()=>t[i],enumerable:!(r=tk(t,i))||r.enumerable});return e};var X=(e,t,n)=>(n=e!=null?XO(ik(e)):{},vm(t||!e||!e.__esModule?Wa(n,"default",{value:e,enumerable:!0}):n,e)),sk=e=>vm(Wa({},"__esModule",{value:!0}),e);var er=b(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.Type=I.TypeBuilder=I.Modifier=I.Hint=I.Kind=void 0;I.Kind=Symbol.for("TypeBox.Kind");I.Hint=Symbol.for("TypeBox.Hint");I.Modifier=Symbol.for("TypeBox.Modifier");var Lk=0,Mo=class{ReadonlyOptional(t){return{[I.Modifier]:"ReadonlyOptional",...t}}Readonly(t){return{[I.Modifier]:"Readonly",...t}}Optional(t){return{[I.Modifier]:"Optional",...t}}Any(t={}){return this.Create({...t,[I.Kind]:"Any"})}Array(t,n={}){return this.Create({...n,[I.Kind]:"Array",type:"array",items:t})}Boolean(t={}){return this.Create({...t,[I.Kind]:"Boolean",type:"boolean"})}ConstructorParameters(t,n={}){return this.Tuple([...t.parameters],{...n})}Constructor(t,n,r={}){if(t[I.Kind]==="Tuple"){let i=t.items===void 0?[]:t.items;return this.Create({...r,[I.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:i,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...r,[I.Kind]:"Constructor",type:"object",instanceOf:"Constructor",parameters:t,returns:n});throw new Error("TypeBuilder.Constructor: Invalid parameters")}}Date(t={}){return this.Create({...t,[I.Kind]:"Date",type:"object",instanceOf:"Date"})}Enum(t,n={}){let i=Object.keys(t).filter(a=>isNaN(a)).map(a=>t[a]).map(a=>typeof a=="string"?{[I.Kind]:"Literal",type:"string",const:a}:{[I.Kind]:"Literal",type:"number",const:a});return this.Create({...n,[I.Kind]:"Union",[I.Hint]:"Enum",anyOf:i})}Function(t,n,r={}){if(t[I.Kind]==="Tuple"){let i=t.items===void 0?[]:t.items;return this.Create({...r,[I.Kind]:"Function",type:"object",instanceOf:"Function",parameters:i,returns:n})}else{if(globalThis.Array.isArray(t))return this.Create({...r,[I.Kind]:"Function",type:"object",instanceOf:"Function",parameters:t,returns:n});throw new Error("TypeBuilder.Function: Invalid parameters")}}InstanceType(t,n={}){return{...n,...this.Clone(t.returns)}}Integer(t={}){return this.Create({...t,[I.Kind]:"Integer",type:"integer"})}Intersect(t,n={}){let r=o=>o[I.Modifier]&&o[I.Modifier]==="Optional"||o[I.Modifier]==="ReadonlyOptional",[i,a]=[new Set,new Set];for(let o of t)for(let[c,u]of Object.entries(o.properties))r(u)&&a.add(c);for(let o of t)for(let c of Object.keys(o.properties))a.has(c)||i.add(c);let s={};for(let o of t)for(let[c,u]of Object.entries(o.properties))s[c]=s[c]===void 0?u:{[I.Kind]:"Union",anyOf:[s[c],{...u}]};return i.size>0?this.Create({...n,[I.Kind]:"Object",type:"object",properties:s,required:[...i]}):this.Create({...n,[I.Kind]:"Object",type:"object",properties:s})}KeyOf(t,n={}){let r=Object.keys(t.properties).map(i=>this.Create({...n,[I.Kind]:"Literal",type:"string",const:i}));return this.Create({...n,[I.Kind]:"Union",[I.Hint]:"KeyOf",anyOf:r})}Literal(t,n={}){return this.Create({...n,[I.Kind]:"Literal",const:t,type:typeof t})}Never(t={}){return this.Create({...t,[I.Kind]:"Never",allOf:[{type:"boolean",const:!1},{type:"boolean",const:!0}]})}Null(t={}){return this.Create({...t,[I.Kind]:"Null",type:"null"})}Number(t={}){return this.Create({...t,[I.Kind]:"Number",type:"number"})}Object(t,n={}){let r=Object.keys(t),i=r.filter(s=>{let c=t[s][I.Modifier];return c&&(c==="Optional"||c==="ReadonlyOptional")}),a=r.filter(s=>!i.includes(s));return a.length>0?this.Create({...n,[I.Kind]:"Object",type:"object",properties:t,required:a}):this.Create({...n,[I.Kind]:"Object",type:"object",properties:t})}Omit(t,n,r={}){let i=n[I.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...r,[I.Hint]:"Omit"};a.required&&(a.required=a.required.filter(s=>!i.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))i.includes(s)&&delete a.properties[s];return this.Create(a)}Parameters(t,n={}){return I.Type.Tuple(t.parameters,{...n})}Partial(t,n={}){let r={...this.Clone(t),...n,[I.Hint]:"Partial"};delete r.required;for(let i of Object.keys(r.properties)){let a=r.properties[i];switch(a[I.Modifier]){case"ReadonlyOptional":a[I.Modifier]="ReadonlyOptional";break;case"Readonly":a[I.Modifier]="ReadonlyOptional";break;case"Optional":a[I.Modifier]="Optional";break;default:a[I.Modifier]="Optional";break}}return this.Create(r)}Pick(t,n,r={}){let i=n[I.Kind]==="Union"?n.anyOf.map(s=>s.const):n,a={...this.Clone(t),...r,[I.Hint]:"Pick"};a.required&&(a.required=a.required.filter(s=>i.includes(s)),a.required.length===0&&delete a.required);for(let s of Object.keys(a.properties))i.includes(s)||delete a.properties[s];return this.Create(a)}Promise(t,n={}){return this.Create({...n,[I.Kind]:"Promise",type:"object",instanceOf:"Promise",item:t})}Record(t,n,r={}){if(t[I.Kind]==="Union")return this.Object(t.anyOf.reduce((a,s)=>({...a,[s.const]:n}),{}),{...r,[I.Hint]:"Record"});let i=["Integer","Number"].includes(t[I.Kind])?"^(0|[1-9][0-9]*)$":t[I.Kind]==="String"&&t.pattern?t.pattern:"^.*$";return this.Create({...r,[I.Kind]:"Record",type:"object",patternProperties:{[i]:n},additionalProperties:!1})}Recursive(t,n={}){n.$id===void 0&&(n.$id=`T${Lk++}`);let r=t({[I.Kind]:"Self",$ref:`${n.$id}`});return r.$id=n.$id,this.Create({...n,...r})}Ref(t,n={}){if(t.$id===void 0)throw Error("TypeBuilder.Ref: Referenced schema must specify an $id");return this.Create({...n,[I.Kind]:"Ref",$ref:t.$id})}RegEx(t,n={}){return this.Create({...n,[I.Kind]:"String",type:"string",pattern:t.source})}Required(t,n={}){let r={...this.Clone(t),...n,[I.Hint]:"Required"};r.required=Object.keys(r.properties);for(let i of Object.keys(r.properties)){let a=r.properties[i];switch(a[I.Modifier]){case"ReadonlyOptional":a[I.Modifier]="Readonly";break;case"Readonly":a[I.Modifier]="Readonly";break;case"Optional":delete a[I.Modifier];break;default:delete a[I.Modifier];break}}return this.Create(r)}ReturnType(t,n={}){return{...n,...this.Clone(t.returns)}}Strict(t){return JSON.parse(JSON.stringify(t))}String(t={}){return this.Create({...t,[I.Kind]:"String",type:"string"})}Tuple(t,n={}){let i=t.length,a=t.length,s=t.length>0?{...n,[I.Kind]:"Tuple",type:"array",items:t,additionalItems:!1,minItems:i,maxItems:a}:{...n,[I.Kind]:"Tuple",type:"array",minItems:i,maxItems:a};return this.Create(s)}Undefined(t={}){return this.Create({...t,[I.Kind]:"Undefined",type:"null",typeOf:"Undefined"})}Union(t,n={}){return t.length===0?I.Type.Never({...n}):this.Create({...n,[I.Kind]:"Union",anyOf:t})}Uint8Array(t={}){return this.Create({...t,[I.Kind]:"Uint8Array",type:"object",instanceOf:"Uint8Array"})}Unknown(t={}){return this.Create({...t,[I.Kind]:"Unknown"})}Unsafe(t={}){return this.Create({...t,[I.Kind]:t[I.Kind]||"Unsafe"})}Void(t={}){return this.Create({...t,[I.Kind]:"Void",type:"null",typeOf:"Void"})}Create(t){return t}Clone(t){let n=i=>typeof i=="object"&&i!==null&&!Array.isArray(i),r=i=>typeof i=="object"&&i!==null&&Array.isArray(i);return n(t)?Object.keys(t).reduce((i,a)=>({...i,[a]:this.Clone(t[a])}),Object.getOwnPropertySymbols(t).reduce((i,a)=>({...i,[a]:this.Clone(t[a])}),{})):r(t)?t.map(i=>this.Clone(i)):t}};I.TypeBuilder=Mo;I.Type=new Mo});var wg=b(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.CreateOneClickDeploymentMessageSchema=Fe.GetOneClickDeploymentsMessageSchema=Fe.GetAllSubgraphsMessageSchema=Fe.GetSubgraphMessageSchema=Fe.GetSubgraphVersionsMessageSchema=Fe.RemoveMessageSchema=Fe.CreateTagMessageSchema=Fe.ShowGeneratedMessageSchema=Fe.GenerateMessageSchema=Fe.DeployMessageSchema=void 0;var $=er(),qk=$.Type.Object({bundle:$.Type.Optional($.Type.Object({encoding:$.Type.String(),filename:$.Type.String(),mimetype:$.Type.String()})),generated_bundle_id:$.Type.Optional($.Type.Object({value:$.Type.String()})),overwrite:$.Type.Object({value:$.Type.String()}),remove_graft:$.Type.Optional($.Type.Object({value:$.Type.String()})),start_block:$.Type.Optional($.Type.Object({value:$.Type.String()}))}),Au=$.Type.Object({name:$.Type.String(),version_label:$.Type.String()});Fe.DeployMessageSchema={params:Au,body:qk};var Bk=$.Type.Object({bundle:$.Type.String()});Fe.GenerateMessageSchema={body:Bk};var Fk=$.Type.Object({cursor:$.Type.String()});Fe.ShowGeneratedMessageSchema={body:Fk};var Dk=$.Type.Object({target_version:$.Type.Optional($.Type.String())});Fe.CreateTagMessageSchema={body:Dk,params:Au};Fe.RemoveMessageSchema={params:Au};var zk=$.Type.Object({id:$.Type.String(),created_at:$.Type.Number(),deployment_id:$.Type.String(),health:$.Type.String(),synced:$.Type.Boolean(),fatal_error:$.Type.Optional($.Type.String()),non_fatal_errors:$.Type.Optional($.Type.Array($.Type.String())),indexing_progress:$.Type.Optional($.Type.Object({network:$.Type.String(),progress_percent:$.Type.Number(),chain_head_block:$.Type.Number(),deployment_head_block:$.Type.Number(),deployment_start_block:$.Type.Number(),synced:$.Type.Boolean()}))}),_6=$.Type.Object({name:$.Type.String(),version:$.Type.String(),tag:$.Type.Optional($.Type.Object({target_version:$.Type.Optional($.Type.String())})),health:$.Type.String(),synced:$.Type.Boolean(),graphql_endpoint:$.Type.String(),deployments:$.Type.Array(zk)}),$k=$.Type.Object({name:$.Type.String()});Fe.GetSubgraphVersionsMessageSchema={params:$k};var Uk=$.Type.Object({name:$.Type.String(),version_label:$.Type.String()});Fe.GetSubgraphMessageSchema={params:Uk};Fe.GetAllSubgraphsMessageSchema={};Fe.GetOneClickDeploymentsMessageSchema={};var Wk=$.Type.Object({name:$.Type.String(),description:$.Type.String(),version:$.Type.String(),ipfsHash:$.Type.String(),url:$.Type.String()});Fe.CreateOneClickDeploymentMessageSchema={body:Wk}});var _g=b(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.ListStreamsMessageSchema=ct.ListSourcesMessageSchema=ct.ListDestinationsMessageSchema=ct.Destination=ct.Stream=ct.Source=void 0;var ve=er();ct.Source=ve.Type.Object({id:ve.Type.String(),project_id:ve.Type.String(),name:ve.Type.String(),type:ve.Type.String(),created_at:ve.Type.Number()});ct.Stream=ve.Type.Object({id:ve.Type.String(),project_id:ve.Type.String(),created_at:ve.Type.Number(),name:ve.Type.String(),type:ve.Type.String(),dependencies:ve.Type.Array(ve.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:ve.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:ve.Type.Boolean(),health:ve.Type.String(),subgraph_indexing_progress:ve.Type.Object({network:ve.Type.String(),progress_percent:ve.Type.Number(),chain_head_block:ve.Type.Number(),deployment_head_block:ve.Type.Number(),deployment_start_block:ve.Type.Number()})});ct.Destination=ve.Type.Object({id:ve.Type.String(),project_id:ve.Type.String(),created_at:ve.Type.Number(),name:ve.Type.String(),type:ve.Type.String(),external_url:ve.Type.String()});ct.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
|
|
5
5
|
TODO:
|
|
6
6
|
- Goldsky API (hasura) endpoint
|
|
7
|
-
`,response:{200:
|
|
7
|
+
`,response:{200:ve.Type.Array(ct.Destination)}};ct.ListSourcesMessageSchema={description:`
|
|
8
8
|
Gets all sources for this user.
|
|
9
9
|
Currently just gets graph-node subgraphs.
|
|
10
|
-
`,response:{200:
|
|
10
|
+
`,response:{200:ve.Type.Array(ct.Source)}};ct.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:
|
|
14
|
-
`),function(o){if(a=o.indexOf(":"),r=Su.trim(o.substr(0,a)).toLowerCase(),i=Su.trim(o.substr(a+1)),r){if(n[r]&&bk.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n}});var yg=b((jB,xg)=>{"use strict";var bg=ut();xg.exports=bg.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(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 r=i(window.location.href),function(s){var o=bg.isString(s)?i(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}()});var Si=b((RB,wg)=>{"use strict";function Eu(e){this.message=e}Eu.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Eu.prototype.__CANCEL__=!0;wg.exports=Eu});var Sg=b((MB,_g)=>{"use strict";var Eo=ut(),xk=wu(),yk=ug(),wk=xo(),_k=_u(),Sk=vg(),Ek=yg(),Ou=_o(),Ok=Ei(),kk=Si();_g.exports=function(t){return new Promise(function(r,i){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)}Eo.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=_k(t.baseURL,t.url);l.open(t.method.toUpperCase(),wk(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?Sk(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};xk(function(k){r(k),u()},function(k){i(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||(i(Ou("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i(Ou("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||Ok.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),i(Ou(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Eo.isStandardBrowserEnv()){var g=(t.withCredentials||Ek(m))&&t.xsrfCookieName?yk.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Eo.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),Eo.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||(i(!d||d&&d.type?new kk("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 Og=b((PB,Eg)=>{var Oi=1e3,ki=Oi*60,Ti=ki*60,Ir=Ti*24,Tk=Ir*7,Ck=Ir*365.25;Eg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return Ak(e);if(n==="number"&&isFinite(e))return t.long?Rk(e):jk(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ak(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]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*Ck;case"weeks":case"week":case"w":return n*Tk;case"days":case"day":case"d":return n*Ir;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Ti;case"minutes":case"minute":case"mins":case"min":case"m":return n*ki;case"seconds":case"second":case"secs":case"sec":case"s":return n*Oi;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function jk(e){var t=Math.abs(e);return t>=Ir?Math.round(e/Ir)+"d":t>=Ti?Math.round(e/Ti)+"h":t>=ki?Math.round(e/ki)+"m":t>=Oi?Math.round(e/Oi)+"s":e+"ms"}function Rk(e){var t=Math.abs(e);return t>=Ir?Oo(e,t,Ir,"day"):t>=Ti?Oo(e,t,Ti,"hour"):t>=ki?Oo(e,t,ki,"minute"):t>=Oi?Oo(e,t,Oi,"second"):e+" ms"}function Oo(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+" "+r+(i?"s":"")}});var ku=b((IB,kg)=>{function Mk(e){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=i,n.enabled=s,n.humanize=Og(),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),T=_-(p||_);x.diff=T,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,(D,B)=>{if(D==="%%")return"%";k++;let N=n.formatters[B];if(typeof N=="function"){let W=d[k];D=N.call(x,W),d.splice(k,1),k--}return D}),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=r,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 r(l,p){let f=n(this.namespace+(typeof p>"u"?":":p)+l);return f.log=this.log,f}function i(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}kg.exports=Mk});var Tg=b((Nt,ko)=>{Nt.formatArgs=Ik;Nt.save=Nk;Nt.load=Lk;Nt.useColors=Pk;Nt.storage=qk();Nt.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`."))}})();Nt.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 Pk(){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 Ik(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ko.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(n++,i==="%c"&&(r=n))}),e.splice(r,0,t)}Nt.log=console.debug||console.log||(()=>{});function Nk(e){try{e?Nt.storage.setItem("debug",e):Nt.storage.removeItem("debug")}catch{}}function Lk(){let e;try{e=Nt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function qk(){try{return localStorage}catch{}}ko.exports=ku()(Nt);var{formatters:Bk}=ko.exports;Bk.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Ag=b((NB,Cg)=>{"use strict";Cg.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return r!==-1&&(i===-1||r<i)}});var To=b((LB,Rg)=>{"use strict";var Fk=require("os"),jg=require("tty"),Jt=Ag(),{env:Qe}=process,Jn;Jt("no-color")||Jt("no-colors")||Jt("color=false")||Jt("color=never")?Jn=0:(Jt("color")||Jt("colors")||Jt("color=true")||Jt("color=always"))&&(Jn=1);"FORCE_COLOR"in Qe&&(Qe.FORCE_COLOR==="true"?Jn=1:Qe.FORCE_COLOR==="false"?Jn=0:Jn=Qe.FORCE_COLOR.length===0?1:Math.min(parseInt(Qe.FORCE_COLOR,10),3));function Tu(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Cu(e,t){if(Jn===0)return 0;if(Jt("color=16m")||Jt("color=full")||Jt("color=truecolor"))return 3;if(Jt("color=256"))return 2;if(e&&!t&&Jn===void 0)return 0;let n=Jn||0;if(Qe.TERM==="dumb")return n;if(process.platform==="win32"){let r=Fk.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Qe)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in Qe)||Qe.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Qe)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Qe.TEAMCITY_VERSION)?1:0;if(Qe.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Qe){let r=parseInt((Qe.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Qe.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Qe.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Qe.TERM)||"COLORTERM"in Qe?1:n}function Dk(e){let t=Cu(e,e&&e.isTTY);return Tu(t)}Rg.exports={supportsColor:Dk,stdout:Tu(Cu(!0,jg.isatty(1))),stderr:Tu(Cu(!0,jg.isatty(2)))}});var Pg=b((it,Ao)=>{var zk=require("tty"),Co=require("util");it.init=Kk;it.log=Hk;it.formatArgs=$k;it.save=Yk;it.load=Gk;it.useColors=Uk;it.destroy=Co.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");it.colors=[6,2,3,4,5,1];try{let e=To();e&&(e.stderr||e).level>=2&&(it.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{}it.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,a)=>a.toUpperCase()),r=process.env[t];return/^(yes|on|true|enabled)$/i.test(r)?r=!0:/^(no|off|false|disabled)$/i.test(r)?r=!1:r==="null"?r=null:r=Number(r),e[n]=r,e},{});function Uk(){return"colors"in it.inspectOpts?Boolean(it.inspectOpts.colors):zk.isatty(process.stderr.fd)}function $k(e){let{namespace:t,useColors:n}=this;if(n){let r=this.color,i="\x1B[3"+(r<8?r:"8;5;"+r),a=` ${i};1m${t} \x1B[0m`;e[0]=a+e[0].split(`
|
|
13
|
+
`,response:{200:ve.Type.Array(ct.Stream)}}});var ju=b((O6,Sg)=>{"use strict";Sg.exports=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}}});var mt=b((k6,Tg)=>{"use strict";var Hk=ju(),tr=Object.prototype.toString;function Iu(e){return Array.isArray(e)}function Ru(e){return typeof e>"u"}function Yk(e){return e!==null&&!Ru(e)&&e.constructor!==null&&!Ru(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Eg(e){return tr.call(e)==="[object ArrayBuffer]"}function Gk(e){return tr.call(e)==="[object FormData]"}function Vk(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Eg(e.buffer),t}function Kk(e){return typeof e=="string"}function Zk(e){return typeof e=="number"}function Og(e){return e!==null&&typeof e=="object"}function Io(e){if(tr.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Jk(e){return tr.call(e)==="[object Date]"}function Qk(e){return tr.call(e)==="[object File]"}function Xk(e){return tr.call(e)==="[object Blob]"}function kg(e){return tr.call(e)==="[object Function]"}function eT(e){return Og(e)&&kg(e.pipe)}function tT(e){return tr.call(e)==="[object URLSearchParams]"}function nT(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function rT(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Pu(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Iu(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Mu(){var e={};function t(i,a){Io(e[a])&&Io(i)?e[a]=Mu(e[a],i):Io(i)?e[a]=Mu({},i):Iu(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)Pu(arguments[n],t);return e}function iT(e,t,n){return Pu(t,function(i,a){n&&typeof i=="function"?e[a]=Hk(i,n):e[a]=i}),e}function aT(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}Tg.exports={isArray:Iu,isArrayBuffer:Eg,isBuffer:Yk,isFormData:Gk,isArrayBufferView:Vk,isString:Kk,isNumber:Zk,isObject:Og,isPlainObject:Io,isUndefined:Ru,isDate:Jk,isFile:Qk,isBlob:Xk,isFunction:kg,isStream:eT,isURLSearchParams:tT,isStandardBrowserEnv:rT,forEach:Pu,merge:Mu,extend:iT,trim:nT,stripBOM:aT}});var Po=b((T6,Ag)=>{"use strict";var Ri=mt();function Cg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}Ag.exports=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(Ri.isURLSearchParams(n))i=n.toString();else{var a=[];Ri.forEach(n,function(c,u){c===null||typeof c>"u"||(Ri.isArray(c)?u=u+"[]":c=[c],Ri.forEach(c,function(p){Ri.isDate(p)?p=p.toISOString():Ri.isObject(p)&&(p=JSON.stringify(p)),a.push(Cg(u)+"="+Cg(p))}))}),i=a.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}});var Rg=b((C6,jg)=>{"use strict";var sT=mt();function No(){this.handlers=[]}No.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};No.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};No.prototype.forEach=function(t){sT.forEach(this.handlers,function(r){r!==null&&t(r)})};jg.exports=No});var Ig=b((A6,Mg)=>{"use strict";var oT=mt();Mg.exports=function(t,n){oT.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})}});var Lo=b((j6,Pg)=>{"use strict";Pg.exports=function(t,n,r,i,a){return t.config=n,r&&(t.code=r),t.request=i,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 qo=b((R6,Ng)=>{"use strict";var cT=Lo();Ng.exports=function(t,n,r,i,a){var s=new Error(t);return cT(s,n,r,i,a)}});var Nu=b((M6,Lg)=>{"use strict";var lT=qo();Lg.exports=function(t,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):n(lT("Request failed with status code "+r.status,r.config,null,r.request,r))}});var Bg=b((I6,qg)=>{"use strict";var Bo=mt();qg.exports=Bo.isStandardBrowserEnv()?function(){return{write:function(n,r,i,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(r)),Bo.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),Bo.isString(a)&&c.push("path="+a),Bo.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var Dg=b((P6,Fg)=>{"use strict";Fg.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}});var $g=b((N6,zg)=>{"use strict";zg.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var Lu=b((L6,Ug)=>{"use strict";var uT=Dg(),pT=$g();Ug.exports=function(t,n){return t&&!uT(n)?pT(t,n):n}});var Hg=b((q6,Wg)=>{"use strict";var qu=mt(),fT=["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"];Wg.exports=function(t){var n={},r,i,a;return t&&qu.forEach(t.split(`
|
|
14
|
+
`),function(o){if(a=o.indexOf(":"),r=qu.trim(o.substr(0,a)).toLowerCase(),i=qu.trim(o.substr(a+1)),r){if(n[r]&&fT.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n}});var Vg=b((B6,Gg)=>{"use strict";var Yg=mt();Gg.exports=Yg.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(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 r=i(window.location.href),function(s){var o=Yg.isString(s)?i(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}()});var Mi=b((F6,Kg)=>{"use strict";function Bu(e){this.message=e}Bu.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Bu.prototype.__CANCEL__=!0;Kg.exports=Bu});var Jg=b((D6,Zg)=>{"use strict";var Fo=mt(),dT=Nu(),hT=Bg(),mT=Po(),gT=Lu(),vT=Hg(),bT=Vg(),Fu=qo(),xT=Ii(),yT=Mi();Zg.exports=function(t){return new Promise(function(r,i){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)}Fo.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 d=gT(t.baseURL,t.url);l.open(t.method.toUpperCase(),mT(d,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var h="getAllResponseHeaders"in l?vT(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,w={data:x,status:l.status,statusText:l.statusText,headers:h,config:t,request:l};dT(function(k){r(k),u()},function(k){i(k),u()},w),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||(i(Fu("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i(Fu("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",w=t.transitional||xT.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),i(Fu(x,t,w.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Fo.isStandardBrowserEnv()){var g=(t.withCredentials||bT(d))&&t.xsrfCookieName?hT.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Fo.forEach(s,function(x,w){typeof a>"u"&&w.toLowerCase()==="content-type"?delete s[w]:l.setRequestHeader(w,x)}),Fo.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(h){!l||(i(!h||h&&h.type?new yT("canceled"):h),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 Xg=b((z6,Qg)=>{var Pi=1e3,Ni=Pi*60,Li=Ni*60,Dr=Li*24,wT=Dr*7,_T=Dr*365.25;Qg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return ST(e);if(n==="number"&&isFinite(e))return t.long?OT(e):ET(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function ST(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]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*_T;case"weeks":case"week":case"w":return n*wT;case"days":case"day":case"d":return n*Dr;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Li;case"minutes":case"minute":case"mins":case"min":case"m":return n*Ni;case"seconds":case"second":case"secs":case"sec":case"s":return n*Pi;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function ET(e){var t=Math.abs(e);return t>=Dr?Math.round(e/Dr)+"d":t>=Li?Math.round(e/Li)+"h":t>=Ni?Math.round(e/Ni)+"m":t>=Pi?Math.round(e/Pi)+"s":e+"ms"}function OT(e){var t=Math.abs(e);return t>=Dr?Do(e,t,Dr,"day"):t>=Li?Do(e,t,Li,"hour"):t>=Ni?Do(e,t,Ni,"minute"):t>=Pi?Do(e,t,Pi,"second"):e+" ms"}function Do(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+" "+r+(i?"s":"")}});var Du=b(($6,ev)=>{function kT(e){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=i,n.enabled=s,n.humanize=Xg(),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,d,v;function g(...h){if(!g.enabled)return;let x=g,w=Number(new Date),T=w-(p||w);x.diff=T,x.prev=p,x.curr=w,p=w,h[0]=n.coerce(h[0]),typeof h[0]!="string"&&h.unshift("%O");let k=0;h[0]=h[0].replace(/%([a-zA-Z%])/g,(D,B)=>{if(D==="%%")return"%";k++;let N=n.formatters[B];if(typeof N=="function"){let W=h[k];D=N.call(x,W),h.splice(k,1),k--}return D}),n.formatArgs.call(x,h),(x.log||n.log).apply(x,h)}return g.namespace=l,g.useColors=n.useColors(),g.color=n.selectColor(l),g.extend=r,g.destroy=n.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(d!==n.namespaces&&(d=n.namespaces,v=n.enabled(l)),v),set:h=>{f=h}}),typeof n.init=="function"&&n.init(g),g}function r(l,p){let f=n(this.namespace+(typeof p>"u"?":":p)+l);return f.log=this.log,f}function i(l){n.save(l),n.namespaces=l,n.names=[],n.skips=[];let p,f=(typeof l=="string"?l:"").split(/[\s,]+/),d=f.length;for(p=0;p<d;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}ev.exports=kT});var tv=b((Ft,zo)=>{Ft.formatArgs=CT;Ft.save=AT;Ft.load=jT;Ft.useColors=TT;Ft.storage=RT();Ft.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`."))}})();Ft.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 TT(){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 CT(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+zo.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(n++,i==="%c"&&(r=n))}),e.splice(r,0,t)}Ft.log=console.debug||console.log||(()=>{});function AT(e){try{e?Ft.storage.setItem("debug",e):Ft.storage.removeItem("debug")}catch{}}function jT(){let e;try{e=Ft.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function RT(){try{return localStorage}catch{}}zo.exports=Du()(Ft);var{formatters:MT}=zo.exports;MT.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var rv=b((U6,nv)=>{"use strict";nv.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return r!==-1&&(i===-1||r<i)}});var $o=b((W6,av)=>{"use strict";var IT=require("os"),iv=require("tty"),tn=rv(),{env:rt}=process,nr;tn("no-color")||tn("no-colors")||tn("color=false")||tn("color=never")?nr=0:(tn("color")||tn("colors")||tn("color=true")||tn("color=always"))&&(nr=1);"FORCE_COLOR"in rt&&(rt.FORCE_COLOR==="true"?nr=1:rt.FORCE_COLOR==="false"?nr=0:nr=rt.FORCE_COLOR.length===0?1:Math.min(parseInt(rt.FORCE_COLOR,10),3));function zu(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function $u(e,t){if(nr===0)return 0;if(tn("color=16m")||tn("color=full")||tn("color=truecolor"))return 3;if(tn("color=256"))return 2;if(e&&!t&&nr===void 0)return 0;let n=nr||0;if(rt.TERM==="dumb")return n;if(process.platform==="win32"){let r=IT.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in rt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in rt)||rt.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in rt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(rt.TEAMCITY_VERSION)?1:0;if(rt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in rt){let r=parseInt((rt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(rt.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(rt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(rt.TERM)||"COLORTERM"in rt?1:n}function PT(e){let t=$u(e,e&&e.isTTY);return zu(t)}av.exports={supportsColor:PT,stdout:zu($u(!0,iv.isatty(1))),stderr:zu($u(!0,iv.isatty(2)))}});var ov=b((lt,Wo)=>{var NT=require("tty"),Uo=require("util");lt.init=$T;lt.log=FT;lt.formatArgs=qT;lt.save=DT;lt.load=zT;lt.useColors=LT;lt.destroy=Uo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");lt.colors=[6,2,3,4,5,1];try{let e=$o();e&&(e.stderr||e).level>=2&&(lt.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{}lt.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,a)=>a.toUpperCase()),r=process.env[t];return/^(yes|on|true|enabled)$/i.test(r)?r=!0:/^(no|off|false|disabled)$/i.test(r)?r=!1:r==="null"?r=null:r=Number(r),e[n]=r,e},{});function LT(){return"colors"in lt.inspectOpts?Boolean(lt.inspectOpts.colors):NT.isatty(process.stderr.fd)}function qT(e){let{namespace:t,useColors:n}=this;if(n){let r=this.color,i="\x1B[3"+(r<8?r:"8;5;"+r),a=` ${i};1m${t} \x1B[0m`;e[0]=a+e[0].split(`
|
|
15
15
|
`).join(`
|
|
16
|
-
`+a),e.push(i+"m+"+
|
|
17
|
-
`)}function
|
|
18
|
-
`).map(t=>t.trim()).join(" ")};Mg.O=function(e){return this.inspectOpts.colors=this.useColors,Co.inspect(e,this.inspectOpts)}});var Ig=b((qB,Au)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Au.exports=Tg():Au.exports=Pg()});var Lg=b((BB,Ng)=>{var Da;Ng.exports=function(){if(!Da){try{Da=Ig()("follow-redirects")}catch{}typeof Da!="function"&&(Da=function(){})}Da.apply(null,arguments)}});var za=b((FB,Pu)=>{var Nr=require("url"),ju=Nr.URL,Vk=require("http"),Zk=require("https"),Fg=require("stream").Writable,Jk=require("assert"),Dg=Lg(),Lr=["abort","aborted","connect","error","socket","timeout"],Mu=Object.create(null);Lr.forEach(function(e){Mu[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}});var qg=jo("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Xk=jo("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),Qk=jo("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),eT=jo("ERR_STREAM_WRITE_AFTER_END","write after end");function Lt(e,t){Fg.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(r){n._processResponse(r)},this._performRequest()}Lt.prototype=Object.create(Fg.prototype);Lt.prototype.abort=function(){Ug(this._currentRequest),this.emit("abort")};Lt.prototype.write=function(e,t,n){if(this._ending)throw new eT;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 Qk),this.abort())};Lt.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 r=this,i=this._currentRequest;this.write(e,t,function(){r._ended=!0,i.end(null,null,n)}),this._ending=!0}};Lt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Lt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Lt.prototype.setTimeout=function(e,t){var n=this;function r(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function i(s){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),a()},e),r(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",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",r),this.on("abort",a),this.on("error",a),this.on("response",a),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Lt.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Lt.prototype,e,{get:function(){return this._currentRequest[e]}})});Lt.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))}};Lt.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 r=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=Nr.format(this._options),r._redirectable=this;for(var i=0;i<Lr.length;i++)r.on(Lr[i],Mu[Lr[i]]);if(this._isRedirect){var a=0,s=this,o=this._requestBodyBuffers;(function c(u){if(r===s._currentRequest)if(u)s.emit("error",u);else if(a<o.length){var l=o[a++];r.finished||r.write(l.data,l.encoding,c)}else s._ended&&r.end()})()}};Lt.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(Ug(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new Xk);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ru(/^content-/i,this._options.headers));var r=Ru(/^host$/i,this._options.headers),i=Nr.parse(this._currentUrl),a=r||i.host,s=/^\w+:/.test(n)?this._currentUrl:Nr.format(Object.assign(i,{host:a})),o;try{o=Nr.resolve(s,n)}catch(l){this.emit("error",new qg(l));return}Dg("redirecting to",o),this._isRedirect=!0;var c=Nr.parse(o);if(Object.assign(this._options,c),(c.protocol!==i.protocol||!nT(c.host,a))&&Ru(/^(?: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 qg(l))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function zg(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(r){var i=r+":",a=n[i]=e[r],s=t[r]=Object.create(a);function o(u,l,p){if(typeof u=="string"){var f=u;try{u=Bg(new ju(f))}catch{u=Nr.parse(f)}}else ju&&u instanceof ju?u=Bg(u):(p=l,l=u,u={protocol:i});return typeof l=="function"&&(p=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=n,Jk.equal(l.protocol,i,"protocol mismatch"),Dg("options",l),new Lt(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 tT(){}function Bg(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 Ru(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return n===null||typeof n>"u"?void 0:String(n).trim()}function jo(e,t){function n(r){Error.captureStackTrace(this,this.constructor),r?(this.message=t+": "+r.message,this.cause=r):this.message=t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}function Ug(e){for(var t=0;t<Lr.length;t++)e.removeListener(Lr[t],Mu[Lr[t]]);e.on("error",tT),e.abort()}function nT(e,t){if(e===t)return!0;let n=e.length-t.length-1;return n>0&&e[n]==="."&&e.endsWith(t)}Pu.exports=zg({http:Vk,https:Zk});Pu.exports.wrap=zg});var Ro=b((DB,$g)=>{$g.exports={version:"0.26.0"}});var Zg=b((zB,Vg)=>{"use strict";var Ua=ut(),Wg=wu(),rT=_u(),Hg=xo(),iT=require("http"),aT=require("https"),sT=za().http,oT=za().https,Yg=require("url"),cT=require("zlib"),lT=Ro().version,Ci=_o(),Mo=wo(),uT=Ei(),pT=Si(),Gg=/https:?/;function Kg(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(a){a.headers.host=a.host,Kg(a,t,a.href)}}Vg.exports=function(t){return new Promise(function(r,i){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(ae){s(),r(ae)},c=!1,u=function(ae){s(),c=!0,i(ae)},l=t.data,p=t.headers,f={};if(Object.keys(p).forEach(function(ae){f[ae.toLowerCase()]=ae}),"user-agent"in f?p[f["user-agent"]]||delete p[f["user-agent"]]:p["User-Agent"]="axios/"+lT,l&&!Ua.isStream(l)){if(!Buffer.isBuffer(l))if(Ua.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Ua.isString(l))l=Buffer.from(l,"utf-8");else return u(Ci("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(Ci("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=rT(t.baseURL,t.url),x=Yg.parse(d),_=x.protocol||"http:";if(!m&&x.auth){var T=x.auth.split(":"),k=T[0]||"",O=T[1]||"";m=k+":"+O}m&&f.authorization&&delete p[f.authorization];var D=Gg.test(_),B=D?t.httpsAgent:t.httpAgent;try{Hg(x.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(de){var N=new Error(de.message);N.config=t,N.url=t.url,N.exists=!0,u(N)}var W={path:Hg(x.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:B,agents:{http:t.httpAgent,https:t.httpsAgent},auth:m};t.socketPath?W.socketPath=t.socketPath:(W.hostname=x.hostname,W.port=x.port);var F=t.proxy;if(!F&&F!==!1){var q=_.slice(0,-1)+"_proxy",M=process.env[q]||process.env[q.toUpperCase()];if(M){var R=Yg.parse(M),L=process.env.no_proxy||process.env.NO_PROXY,G=!0;if(L){var ue=L.split(",").map(function(ae){return ae.trim()});G=!ue.some(function(ae){return ae?ae==="*"||ae[0]==="."&&x.hostname.substr(x.hostname.length-ae.length)===ae?!0:x.hostname===ae:!1})}if(G&&(F={host:R.hostname,port:R.port,protocol:R.protocol},R.auth)){var be=R.auth.split(":");F.auth={username:be[0],password:be[1]}}}}F&&(W.headers.host=x.hostname+(x.port?":"+x.port:""),Kg(W,F,_+"//"+x.hostname+(x.port?":"+x.port:"")+W.path));var ee,Ee=D&&(F?Gg.test(F.protocol):!0);t.transport?ee=t.transport:t.maxRedirects===0?ee=Ee?aT:iT:(t.maxRedirects&&(W.maxRedirects=t.maxRedirects),ee=Ee?oT:sT),t.maxBodyLength>-1&&(W.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(W.insecureHTTPParser=t.insecureHTTPParser);var pe=ee.request(W,function(ae){if(!pe.aborted){var $=ae,mt=ae.req||pe;if(ae.statusCode!==204&&mt.method!=="HEAD"&&t.decompress!==!1)switch(ae.headers["content-encoding"]){case"gzip":case"compress":case"deflate":$=$.pipe(cT.createUnzip()),delete ae.headers["content-encoding"];break}var Ht={status:ae.statusCode,statusText:ae.statusMessage,headers:ae.headers,config:t,request:mt};if(t.responseType==="stream")Ht.data=$,Wg(o,u,Ht);else{var X=[],le=0;$.on("data",function(re){X.push(re),le+=re.length,t.maxContentLength>-1&&le>t.maxContentLength&&(c=!0,$.destroy(),u(Ci("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,mt)))}),$.on("aborted",function(){c||($.destroy(),u(Ci("error request aborted",t,"ERR_REQUEST_ABORTED",mt)))}),$.on("error",function(re){pe.aborted||u(Mo(re,t,null,mt))}),$.on("end",function(){try{var re=X.length===1?X[0]:Buffer.concat(X);t.responseType!=="arraybuffer"&&(re=re.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(re=Ua.stripBOM(re))),Ht.data=re}catch($e){u(Mo($e,t,$e.code,Ht.request,Ht))}Wg(o,u,Ht)})}}});if(pe.on("error",function(ae){pe.aborted&&ae.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(Mo(ae,t,null,pe))}),pe.on("socket",function(ae){ae.setKeepAlive(!0,1e3*60)}),t.timeout){var K=parseInt(t.timeout,10);if(isNaN(K)){u(Ci("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",pe));return}pe.setTimeout(K,function(){pe.abort();var ae="";t.timeoutErrorMessage?ae=t.timeoutErrorMessage:ae="timeout of "+t.timeout+"ms exceeded";var $=t.transitional||uT.transitional;u(Ci(ae,t,$.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",pe))})}(t.cancelToken||t.signal)&&(a=function(de){pe.aborted||(pe.abort(),u(!de||de&&de.type?new pT("canceled"):de))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Ua.isStream(l)?l.on("error",function(ae){u(Mo(ae,t,null,pe))}).pipe(pe):pe.end(l)})}});var Ei=b((UB,Qg)=>{"use strict";var at=ut(),Jg=ag(),fT=wo(),dT={"Content-Type":"application/x-www-form-urlencoded"};function Xg(e,t){!at.isUndefined(e)&&at.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function hT(){var e;return typeof XMLHttpRequest<"u"?e=Sg():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Zg()),e}function mT(e,t,n){if(at.isString(e))try{return(t||JSON.parse)(e),at.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Po={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:hT(),transformRequest:[function(t,n){return Jg(n,"Accept"),Jg(n,"Content-Type"),at.isFormData(t)||at.isArrayBuffer(t)||at.isBuffer(t)||at.isStream(t)||at.isFile(t)||at.isBlob(t)?t:at.isArrayBufferView(t)?t.buffer:at.isURLSearchParams(t)?(Xg(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):at.isObject(t)||n&&n["Content-Type"]==="application/json"?(Xg(n,"application/json"),mT(t)):t}],transformResponse:[function(t){var n=this.transitional||Po.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&at.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?fT(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, */*"}}};at.forEach(["delete","get","head"],function(t){Po.headers[t]={}});at.forEach(["post","put","patch"],function(t){Po.headers[t]=at.merge(dT)});Qg.exports=Po});var tv=b(($B,ev)=>{"use strict";var gT=ut(),vT=Ei();ev.exports=function(t,n,r){var i=this||vT;return gT.forEach(r,function(s){t=s.call(i,t,n)}),t}});var Iu=b((WB,nv)=>{"use strict";nv.exports=function(t){return!!(t&&t.__CANCEL__)}});var av=b((HB,iv)=>{"use strict";var rv=ut(),Nu=tv(),bT=Iu(),xT=Ei(),yT=Si();function Lu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yT("canceled")}iv.exports=function(t){Lu(t),t.headers=t.headers||{},t.data=Nu.call(t,t.data,t.headers,t.transformRequest),t.headers=rv.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),rv.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||xT.adapter;return n(t).then(function(i){return Lu(t),i.data=Nu.call(t,i.data,i.headers,t.transformResponse),i},function(i){return bT(i)||(Lu(t),i&&i.response&&(i.response.data=Nu.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})}});var qu=b((YB,sv)=>{"use strict";var qt=ut();sv.exports=function(t,n){n=n||{};var r={};function i(l,p){return qt.isPlainObject(l)&&qt.isPlainObject(p)?qt.merge(l,p):qt.isPlainObject(p)?qt.merge({},p):qt.isArray(p)?p.slice():p}function a(l){if(qt.isUndefined(n[l])){if(!qt.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],n[l])}function s(l){if(!qt.isUndefined(n[l]))return i(void 0,n[l])}function o(l){if(qt.isUndefined(n[l])){if(!qt.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,n[l])}function c(l){if(l in n)return i(t[l],n[l]);if(l in t)return i(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 qt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);qt.isUndefined(m)&&f!==c||(r[p]=m)}),r}});var lv=b((GB,cv)=>{"use strict";var wT=Ro().version,Bu={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Bu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var ov={};Bu.transitional=function(t,n,r){function i(a,s){return"[Axios v"+wT+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return function(a,s,o){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!ov[s]&&(ov[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function _T(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],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)}}cv.exports={assertOptions:_T,validators:Bu}});var mv=b((KB,hv)=>{"use strict";var fv=ut(),ST=xo(),uv=rg(),pv=av(),Io=qu(),dv=lv(),Ai=dv.validators;function $a(e){this.defaults=e,this.interceptors={request:new uv,response:new uv}}$a.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Io(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&dv.assertOptions(r,{silentJSONParsing:Ai.transitional(Ai.boolean),forcedJSONParsing:Ai.transitional(Ai.boolean),clarifyTimeoutError:Ai.transitional(Ai.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,i.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=[pv,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),o=Promise.resolve(n);c.length;)o=o.then(c.shift(),c.shift());return o}for(var u=n;i.length;){var l=i.shift(),p=i.shift();try{u=l(u)}catch(f){p(f);break}}try{o=pv(u)}catch(f){return Promise.reject(f)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};$a.prototype.getUri=function(t){return t=Io(this.defaults,t),ST(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};fv.forEach(["delete","get","head","options"],function(t){$a.prototype[t]=function(n,r){return this.request(Io(r||{},{method:t,url:n,data:(r||{}).data}))}});fv.forEach(["post","put","patch"],function(t){$a.prototype[t]=function(n,r,i){return this.request(Io(i||{},{method:t,url:n,data:r}))}});hv.exports=$a});var vv=b((VB,gv)=>{"use strict";var ET=Si();function ji(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,a=n._listeners.length;for(i=0;i<a;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,a=new Promise(function(s){n.subscribe(s),i=s}).then(r);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i){n.reason||(n.reason=new ET(i),t(n.reason))})}ji.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ji.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};ji.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};ji.source=function(){var t,n=new ji(function(i){t=i});return{token:n,cancel:t}};gv.exports=ji});var xv=b((ZB,bv)=>{"use strict";bv.exports=function(t){return function(r){return t.apply(null,r)}}});var wv=b((JB,yv)=>{"use strict";var OT=ut();yv.exports=function(t){return OT.isObject(t)&&t.isAxiosError===!0}});var Ev=b((XB,Fu)=>{"use strict";var _v=ut(),kT=gu(),No=mv(),TT=qu(),CT=Ei();function Sv(e){var t=new No(e),n=kT(No.prototype.request,t);return _v.extend(n,No.prototype,t),_v.extend(n,t),n.create=function(i){return Sv(TT(e,i))},n}var xn=Sv(CT);xn.Axios=No;xn.Cancel=Si();xn.CancelToken=vv();xn.isCancel=Iu();xn.VERSION=Ro().version;xn.all=function(t){return Promise.all(t)};xn.spread=xv();xn.isAxiosError=wv();Fu.exports=xn;Fu.exports.default=xn});var kv=b((QB,Ov)=>{Ov.exports=Ev()});var Av=b((e6,Cv)=>{var Tv=require("stream").Stream,AT=require("util");Cv.exports=an;function an(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}AT.inherits(an,Tv);an.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n};Object.defineProperty(an.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});an.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};an.prototype.resume=function(){this._released||this.release(),this.source.resume()};an.prototype.pause=function(){this.source.pause()};an.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};an.prototype.pipe=function(){var e=Tv.prototype.pipe.apply(this,arguments);return this.resume(),e};an.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)};an.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 Pv=b((t6,Mv)=>{var jT=require("util"),Rv=require("stream").Stream,jv=Av();Mv.exports=qe;function qe(){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}jT.inherits(qe,Rv);qe.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t};qe.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};qe.prototype.append=function(e){var t=qe.isStreamLike(e);if(t){if(!(e instanceof jv)){var n=jv.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};qe.prototype.pipe=function(e,t){return Rv.prototype.pipe.call(this,e,t),this.resume(),e};qe.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}};qe.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 r=qe.isStreamLike(n);r&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};qe.prototype._pipeNext=function(e){this._currentStream=e;var t=qe.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()};qe.prototype._handleErrors=function(e){var t=this;e.on("error",function(n){t._emitError(n)})};qe.prototype.write=function(e){this.emit("data",e)};qe.prototype.pause=function(){!this.pauseStreams||(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};qe.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")};qe.prototype.end=function(){this._reset(),this.emit("end")};qe.prototype.destroy=function(){this._reset(),this.emit("close")};qe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};qe.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};qe.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)};qe.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var Iv=b((n6,RT)=>{RT.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 Lv=b((r6,Nv)=>{Nv.exports=Iv()});var Fv=b(Ot=>{"use strict";var Lo=Lv(),MT=require("path").extname,qv=/^\s*([^;\s]*)(?:;|\s|$)/,PT=/^text\//i;Ot.charset=Bv;Ot.charsets={lookup:Bv};Ot.contentType=IT;Ot.extension=NT;Ot.extensions=Object.create(null);Ot.lookup=LT;Ot.types=Object.create(null);qT(Ot.extensions,Ot.types);function Bv(e){if(!e||typeof e!="string")return!1;var t=qv.exec(e),n=t&&Lo[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&PT.test(t[1])?"UTF-8":!1}function IT(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Ot.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=Ot.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function NT(e){if(!e||typeof e!="string")return!1;var t=qv.exec(e),n=t&&Ot.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function LT(e){if(!e||typeof e!="string")return!1;var t=MT("x."+e).toLowerCase().substr(1);return t&&Ot.types[t]||!1}function qT(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Lo).forEach(function(i){var a=Lo[i],s=a.extensions;if(!(!s||!s.length)){e[i]=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]=i}}})}});var zv=b((a6,Dv)=>{Dv.exports=BT;function BT(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var Du=b((s6,$v)=>{var Uv=zv();$v.exports=FT;function FT(e){var t=!1;return Uv(function(){t=!0}),function(r,i){t?e(r,i):Uv(function(){e(r,i)})}}});var zu=b((o6,Wv)=>{Wv.exports=DT;function DT(e){Object.keys(e.jobs).forEach(zT.bind(e)),e.jobs={}}function zT(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var Uu=b((c6,Yv)=>{var Hv=Du(),UT=zu();Yv.exports=$T;function $T(e,t,n,r){var i=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[i]=WT(t,i,e[i],function(a,s){i in n.jobs&&(delete n.jobs[i],a?UT(n):n.results[i]=s,r(a,n.results))})}function WT(e,t,n,r){var i;return e.length==2?i=e(n,Hv(r)):i=e(n,t,Hv(r)),i}});var $u=b((l6,Gv)=>{Gv.exports=HT;function HT(e,t){var n=!Array.isArray(e),r={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&r.keyedList.sort(n?t:function(i,a){return t(e[i],e[a])}),r}});var Wu=b((u6,Kv)=>{var YT=zu(),GT=Du();Kv.exports=KT;function KT(e){!Object.keys(this.jobs).length||(this.index=this.size,YT(this),GT(e)(null,this.results))}});var Zv=b((p6,Vv)=>{var VT=Uu(),ZT=$u(),JT=Wu();Vv.exports=XT;function XT(e,t,n){for(var r=ZT(e);r.index<(r.keyedList||e).length;)VT(e,t,r,function(i,a){if(i){n(i,a);return}if(Object.keys(r.jobs).length===0){n(null,r.results);return}}),r.index++;return JT.bind(r,n)}});var Hu=b((f6,qo)=>{var Jv=Uu(),QT=$u(),eC=Wu();qo.exports=tC;qo.exports.ascending=Xv;qo.exports.descending=nC;function tC(e,t,n,r){var i=QT(e,n);return Jv(e,t,i,function a(s,o){if(s){r(s,o);return}if(i.index++,i.index<(i.keyedList||e).length){Jv(e,t,i,a);return}r(null,i.results)}),eC.bind(i,r)}function Xv(e,t){return e<t?-1:e>t?1:0}function nC(e,t){return-1*Xv(e,t)}});var e0=b((d6,Qv)=>{var rC=Hu();Qv.exports=iC;function iC(e,t,n){return rC(e,t,null,n)}});var n0=b((h6,t0)=>{t0.exports={parallel:Zv(),serial:e0(),serialOrdered:Hu()}});var i0=b((m6,r0)=>{r0.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var o0=b((g6,s0)=>{var Vu=Pv(),a0=require("util"),Yu=require("path"),aC=require("http"),sC=require("https"),oC=require("url").parse,cC=require("fs"),lC=require("stream").Stream,Gu=Fv(),uC=n0(),Ku=i0();s0.exports=ge;a0.inherits(ge,Vu);function ge(e){if(!(this instanceof ge))return new ge(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Vu.call(this),e=e||{};for(var t in e)this[t]=e[t]}ge.LINE_BREAK=`\r
|
|
19
|
-
`;ge.DEFAULT_CONTENT_TYPE="application/octet-stream";ge.prototype.append=function(e,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var r=Vu.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),a0.isArray(t)){this._error(new Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,n),a=this._multiPartFooter();r(i),r(t),r(a),this._trackLength(i,t,n)};ge.prototype._trackLength=function(e,t,n){var r=0;n.knownLength!=null?r+=+n.knownLength:Buffer.isBuffer(t)?r=t.length:typeof t=="string"&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+ge.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof lC))&&(n.knownLength||this._valuesToMeasure.push(t))};ge.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)):cC.stat(e.path,function(n,r){var i;if(n){t(n);return}i=r.size-(e.start?e.start:0),t(null,i)}):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")};ge.prototype._multiPartHeader=function(e,t,n){if(typeof n.header=="string")return n.header;var r=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};typeof n.header=="object"&&Ku(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("; ")+ge.LINE_BREAK)));return"--"+this.getBoundary()+ge.LINE_BREAK+a+ge.LINE_BREAK};ge.prototype._getContentDisposition=function(e,t){var n,r;return typeof t.filepath=="string"?n=Yu.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Yu.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Yu.basename(e.client._httpMessage.path||"")),n&&(r='filename="'+n+'"'),r};ge.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=Gu.lookup(e.name)),!n&&e.path&&(n=Gu.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=Gu.lookup(t.filepath||t.filename)),!n&&typeof e=="object"&&(n=ge.DEFAULT_CONTENT_TYPE),n};ge.prototype._multiPartFooter=function(){return function(e){var t=ge.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),e(t)}.bind(this)};ge.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ge.LINE_BREAK};ge.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};ge.prototype.setBoundary=function(e){this._boundary=e};ge.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ge.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;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(ge.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};ge.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};ge.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};ge.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};ge.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}uC.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,r){if(n){e(n);return}r.forEach(function(i){t+=i}),e(null,t)})};ge.prototype.submit=function(e,t){var n,r,i={method:"post"};return typeof e=="string"?(e=oC(e),r=Ku({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=Ku(e,i),r.port||(r.port=r.protocol=="https:"?443:80)),r.headers=this.getHeaders(e.headers),r.protocol=="https:"?n=sC.request(r):n=aC.request(r),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};ge.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};ge.prototype.toString=function(){return"[object FormData]"}});var f0=b(We=>{"use strict";var c0=We&&We.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(We,"__esModule",{value:!0});We.post=We.put=We.delete_=We.get=We.FormData=We.getPath=We.setApiHost=We.setAuth=void 0;var l0=c0(kv()),pC=c0(o0());function fC(e){l0.default.defaults.headers.common.Authorization=e}We.setAuth=fC;var u0="https://goldsky.com";function dC(e){u0=e}We.setApiHost=dC;function p0(e,t){return`${u0}${typeof e=="string"?e:e(t)}`}We.getPath=p0;function hC(){return new pC.default}We.FormData=hC;async function mC(e,t){return Bo(e,"get",t||{})}We.get=mC;async function gC(e,t){return Bo(e,"delete",t||{})}We.delete_=gC;async function vC(e,t){return Bo(e,"put",t||{})}We.put=vC;async function bC(e,t){return Bo(e,"post",t||{})}We.post=bC;async function Bo(e,t,n){var r,i;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:p0(e,n.params),method:t},n.querystring?{params:n.querystring}:{}),n.body?{data:n.body}:{}),typeof((r=n.body)===null||r===void 0?void 0:r.getHeaders)=="function"?{headers:(i=n.body)===null||i===void 0?void 0:i.getHeaders()}:{}),{maxBodyLength:1/0,maxContentLength:1/0,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 l0.default.request(a);return s.status<200||s.status>=300?s.status===524?[{statusCode:524,error:"Cloudflare timeout",message:"Cloudflare timeout"},{}]:"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 d0=b(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.DeleteWebhookSchema=bt.DeleteWebhookParams=bt.CreateWebhookSchema=bt.CreateWebhookParams=bt.CreateWebhookBody=void 0;var Ae=Vn();bt.CreateWebhookBody=Ae.Type.Object({name:Ae.Type.String(),webhookUrl:Ae.Type.String(),entity:Ae.Type.String()});bt.CreateWebhookParams=Ae.Type.Object({subgraphName:Ae.Type.String(),subgraphVersion:Ae.Type.String()});bt.CreateWebhookSchema={body:bt.CreateWebhookBody,params:bt.CreateWebhookParams};var b6=Ae.Type.Object({data:Ae.Type.Object({webhookSecret:Ae.Type.String(),name:Ae.Type.String()})});bt.DeleteWebhookParams=Ae.Type.Object({name:Ae.Type.String()});bt.DeleteWebhookSchema={params:bt.DeleteWebhookParams};var x6=Ae.Type.Object({data:Ae.Type.Object({})}),xC=Ae.Type.Object({name:Ae.Type.String(),webhookUrl:Ae.Type.String(),entity:Ae.Type.String(),subgraphName:Ae.Type.String(),subgraphVersion:Ae.Type.String(),created_at:Ae.Type.Number()}),y6=Ae.Type.Object({data:Ae.Type.Array(xC)})});var h0=b(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.SubscriptionWithProduct=Ri.ProductWithPrices=void 0;var Oe=Vn();Ri.ProductWithPrices=Oe.Type.Object({id:Oe.Type.String(),name:Oe.Type.String(),description:Oe.Type.String(),base_price_decimal:Oe.Type.String(),features:Oe.Type.Array(Oe.Type.String())});Ri.SubscriptionWithProduct=Oe.Type.Object({id:Oe.Type.String(),latestInvoice:Oe.Type.Union([Oe.Type.String(),Oe.Type.Null()]),product:Oe.Type.Object({id:Oe.Type.String(),name:Oe.Type.String(),description:Oe.Type.Union([Oe.Type.String(),Oe.Type.Null()]),basePrice:Oe.Type.Object({amount:Oe.Type.Union([Oe.Type.String(),Oe.Type.Null()]),interval:Oe.Type.String()}),metadata:Oe.Type.Record(Oe.Type.String(),Oe.Type.String())})})});var m0=b(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.BucketSize=Xn.SubgraphDeploymentEntitiesMetricsReply=Xn.SubgraphDeploymentRequestsMetricsReply=void 0;var Bt=Vn();Xn.SubgraphDeploymentRequestsMetricsReply=Bt.Type.Object({data:Bt.Type.Object({pointList:Bt.Type.Array(Bt.Type.Object({requests:Bt.Type.Number(),time:Bt.Type.Number()}))})});Xn.SubgraphDeploymentEntitiesMetricsReply=Bt.Type.Object({data:Bt.Type.Object({entitiesCount:Bt.Type.Number()})});Xn.BucketSize=Bt.Type.Union([Bt.Type.Literal("1d"),Bt.Type.Literal("6h"),Bt.Type.Literal("1h")])});var g0=b(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.NewSupportMessageResp=Mi.NewSupportMessage=void 0;var Fo=Vn();Mi.NewSupportMessage=Fo.Type.Object({message:Fo.Type.String()});Mi.NewSupportMessageResp=Fo.Type.Object({success:Fo.Type.Boolean()})});var O0=b(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.PUTStreamInputTypebox=Be.POSTStreamInputTypebox=Be.StreamOutputTypebox=Be.StreamRootTypebox=Be.TransformationTypes=Be.SinkTypes=Be.SourceTypes=void 0;var C=Vn(),Zu;(function(e){e.SubgraphEntity="subgraphEntity",e.Kafka="kafka"})(Zu=Be.SourceTypes||(Be.SourceTypes={}));var Wa;(function(e){e.Postgres="postgres",e.ElasticSearch="elasticSearch",e.Kafka="kafka",e.TimescaleHypertable="timescaleHypertable"})(Wa=Be.SinkTypes||(Be.SinkTypes={}));var v0;(function(e){e.SQL="sql"})(v0=Be.TransformationTypes||(Be.TransformationTypes={}));var Ju=C.Type.Object({name:C.Type.String(),kafkaTopic:C.Type.String()},{additionalProperties:!1}),Xu=C.Type.Object({id:C.Type.String(),name:C.Type.String(),type:C.Type.Literal(Zu.SubgraphEntity),deployments:C.Type.Array(C.Type.Object({id:C.Type.String()},{additionalProperties:!1})),entity:Ju,integrationId:C.Type.String()},{additionalProperties:!1}),Qu=C.Type.Object({id:C.Type.String(),name:C.Type.String(),type:C.Type.Literal(Zu.Kafka),topic:C.Type.String({maxLength:255}),integrationId:C.Type.String()},{additionalProperties:!1}),yC=C.Type.Union([Xu,Qu],{additionalProperties:!1}),b0=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(v0.SQL),name:C.Type.String(),sql:C.Type.String({maxLength:500}),primaryKey:C.Type.String({maxLength:50})},{additionalProperties:!1}),ep=C.Type.Union([b0],{additionalProperties:!1}),tp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.Postgres),sourceStreamName:C.Type.String(),schema:C.Type.String(),table:C.Type.String(),integrationId:C.Type.String()},{additionalProperties:!1}),np=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.ElasticSearch),sourceStreamName:C.Type.String(),index:C.Type.String(),integrationId:C.Type.String()},{additionalProperties:!1}),rp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.Kafka),sourceStreamName:C.Type.String(),topic:C.Type.String({maxLength:255}),integrationId:C.Type.String()},{additionalProperties:!1}),ip=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(Wa.TimescaleHypertable),sourceStreamName:C.Type.String(),schema:C.Type.String(),table:C.Type.String(),timestampColumn:C.Type.String(),primaryKey:C.Type.String(),timestampDataTypeAdapterFuncName:C.Type.Optional(C.Type.String()),integrationId:C.Type.String()},{additionalProperties:!1}),wC=C.Type.Union([tp,np,rp,ip],{additionalProperties:!1}),_C=C.Type.Object({sources:C.Type.Array(yC,{minItems:1}),transforms:C.Type.Array(ep),sinks:C.Type.Array(wC)},{additionalProperties:!1});Be.StreamRootTypebox=C.Type.Object({id:C.Type.String(),name:C.Type.String(),description:C.Type.Optional(C.Type.String()),version:C.Type.Integer(),definition:_C,status:C.Type.String(),projectId:C.Type.String(),createdAt:C.Type.String(),updatedAt:C.Type.String()},{additionalProperties:!1});var x0=C.Type.Intersect([C.Type.Omit(Xu,["integrationId","entity"],{additionalProperties:!1}),C.Type.Object({entity:C.Type.Omit(Ju,["kafkaTopic"],{additionalProperties:!1})},{additionalProperties:!1})],{additionalProperties:!1}),y0=C.Type.Omit(Qu,["integrationId"],{additionalProperties:!1}),SC=C.Type.Union([x0,y0],{additionalProperties:!1}),EC=C.Type.Omit(np,["integrationId"],{additionalProperties:!1}),OC=C.Type.Omit(tp,["integrationId"],{additionalProperties:!1}),kC=C.Type.Omit(rp,["integrationId"],{additionalProperties:!1}),TC=C.Type.Omit(ip,["integrationId"],{additionalProperties:!1}),w0=C.Type.Union([OC,EC,kC,TC],{additionalProperties:!1}),CC=C.Type.Object({sources:C.Type.Array(SC,{minItems:1}),transforms:C.Type.Array(ep),sinks:C.Type.Array(w0)},{additionalProperties:!1});Be.StreamOutputTypebox=C.Type.Intersect([C.Type.Omit(Be.StreamRootTypebox,["definition","projectId"],{additionalProperties:!1}),C.Type.Object({definition:CC},{additionalProperties:!1})],{additionalProperties:!1});var AC=C.Type.Intersect([C.Type.Omit(Xu,["id","name","integrationId","entity"],{additionalProperties:!1}),C.Type.Object({entity:C.Type.Omit(Ju,["kafkaTopic"])},{additionalProperties:!1})],{additionalProperties:!1}),jC=C.Type.Omit(Qu,["id","integrationId"],{additionalProperties:!1}),_0=C.Type.Union([AC,jC],{additionalProperties:!1}),RC=C.Type.Omit(b0,["id"],{additionalProperties:!1}),S0=C.Type.Union([RC],{additionalProperties:!1}),MC=C.Type.Omit(tp,["id","integrationId"],{additionalProperties:!1}),PC=C.Type.Omit(np,["id","integrationId"],{additionalProperties:!1}),IC=C.Type.Omit(rp,["id","integrationId"],{additionalProperties:!1}),NC=C.Type.Omit(ip,["id","integrationId"],{additionalProperties:!1}),E0=C.Type.Union([MC,PC,IC,NC],{additionalProperties:!1}),LC=C.Type.Object({sources:C.Type.Array(_0,{minItems:1}),transforms:C.Type.Array(S0),sinks:C.Type.Array(E0)},{additionalProperties:!1});Be.POSTStreamInputTypebox=C.Type.Intersect([C.Type.Omit(Be.StreamRootTypebox,["id","status","definition","projectId","version","createdAt","updatedAt"],{additionalProperties:!1}),C.Type.Object({definition:LC},{additionalProperties:!1})],{additionalProperties:!1});var O6=C.Type.Object({id:C.Type.String(),version:C.Type.Optional(C.Type.String())},{additionalProperties:!1}),qC=C.Type.Omit(x0,["name"],{additionalProperties:!1}),BC=C.Type.Union([_0,qC,y0],{additionalProperties:!1}),FC=C.Type.Union([E0,w0],{additionalProperties:!1}),DC=C.Type.Union([S0,ep],{additionalProperties:!1}),zC=C.Type.Object({sources:C.Type.Array(BC,{minItems:1}),transforms:C.Type.Array(DC),sinks:C.Type.Array(FC)},{additionalProperties:!1});Be.PUTStreamInputTypebox=C.Type.Intersect([C.Type.Omit(Be.StreamRootTypebox,["definition","projectId","version","createdAt","updatedAt"],{additionalProperties:!1}),C.Type.Object({definition:zC},{additionalProperties:!1})],{additionalProperties:!1});var k6=C.Type.Object({id:C.Type.String()},{additionalProperties:!1})});var kt=b(ye=>{"use strict";var UC=ye&&ye.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),$C=ye&&ye.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Qn=ye&&ye.__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)&&UC(t,e,n);return $C(t,e),t};Object.defineProperty(ye,"__esModule",{value:!0});ye.StreamsApi=ye.SupportApi=ye.MetricsApi=ye.BillingApi=ye.WebhookApi=ye.ApiFetch=ye.StreamBossApi=ye.SubgraphApi=ye.ENTERPRISE_BILLING_FLAG=ye.API_URL=ye.API_PORT=void 0;var WC=Qn(Gm());ye.SubgraphApi=WC;var HC=Qn(Km());ye.StreamBossApi=HC;var YC=Qn(f0());ye.ApiFetch=YC;var GC=Qn(d0());ye.WebhookApi=GC;var KC=Qn(h0());ye.BillingApi=KC;var VC=Qn(m0());ye.MetricsApi=VC;var ZC=Qn(g0());ye.SupportApi=ZC;var JC=Qn(O0());ye.StreamsApi=JC;ye.API_PORT=80;ye.API_URL="https://api.goldsky.com";ye.ENTERPRISE_BILLING_FLAG="goldsky_enterprise"});var T0=b((A6,k0)=>{"use strict";k0.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 ap=b((j6,A0)=>{var Ha=T0(),C0={};for(let e of Object.keys(Ha))C0[Ha[e]]=e;var Z={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"]}};A0.exports=Z;for(let e of Object.keys(Z)){if(!("channels"in Z[e]))throw new Error("missing channels property: "+e);if(!("labels"in Z[e]))throw new Error("missing channel labels property: "+e);if(Z[e].labels.length!==Z[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=Z[e];delete Z[e].channels,delete Z[e].labels,Object.defineProperty(Z[e],"channels",{value:t}),Object.defineProperty(Z[e],"labels",{value:n})}Z.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=a-i,o,c;a===i?o=0:t===a?o=(n-r)/s:n===a?o=2+(r-t)/s:r===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360);let u=(i+a)/2;return a===i?c=0:u<=.5?c=s/(a+i):c=s/(2-a-i),[o,c*100,u*100]};Z.rgb.hsv=function(e){let t,n,r,i,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?(i=0,a=0):(a=l/u,t=p(s),n=p(o),r=p(c),s===u?i=r-n:o===u?i=1/3+t-r:c===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,u*100]};Z.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],i=Z.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,a*100,r*100]};Z.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r),a=(1-t-i)/(1-i)||0,s=(1-n-i)/(1-i)||0,o=(1-r-i)/(1-i)||0;return[a*100,s*100,o*100,i*100]};function XC(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}Z.rgb.keyword=function(e){let t=C0[e];if(t)return t;let n=1/0,r;for(let i of Object.keys(Ha)){let a=Ha[i],s=XC(e,a);s<n&&(n=s,r=i)}return r};Z.keyword.rgb=function(e){return Ha[e]};Z.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=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,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[i*100,a*100,s*100]};Z.rgb.lab=function(e){let t=Z.rgb.xyz(e),n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let a=116*r-16,s=500*(n-r),o=200*(r-i);return[a,s,o]};Z.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?i=r*(1+n):i=r+n-r*n;let o=2*r-i,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+(i-o)*6*a:2*a<1?s=i:3*a<2?s=o+(i-o)*(2/3-a)*6:s=o,c[u]=s*255;return c};Z.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a;let s=(r+n)/2,o=r===0?2*i/(a+i):2*n/(r+n);return[t,o*100,s*100]};Z.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,s];case 1:return[o,r,s];case 2:return[s,r,c];case 3:return[s,o,r];case 4:return[c,s,r];case 5:return[r,s,o]}};Z.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,s;s=(2-n)*r;let o=(2-n)*i;return a=n*i,a/=o<=1?o:2-o,a=a||0,s/=2,[t,a*100,s*100]};Z.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a;i>1&&(n/=i,r/=i);let s=Math.floor(6*t),o=1-r;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]};Z.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),s=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i);return[a*255,s*255,o*255]};Z.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,s;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*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,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[i*255,a*255,s*255]};Z.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let i=116*n-16,a=500*(t-n),s=200*(n-r);return[i,a,s]};Z.lab.xyz=function(e){let t=e[0],n=e[1],r=e[2],i,a,s;a=(t+16)/116,i=n/500+a,s=a-r/200;let o=a**3,c=i**3,u=s**3;return a=o>.008856?o:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,i*=95.047,a*=100,s*=108.883,[i,a,s]};Z.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],i;i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360);let s=Math.sqrt(n*n+r*r);return[t,s,i]};Z.lch.lab=function(e){let t=e[0],n=e[1],i=e[2]/360*2*Math.PI,a=n*Math.cos(i),s=n*Math.sin(i);return[t,a,s]};Z.rgb.ansi16=function(e,t=null){let[n,r,i]=e,a=t===null?Z.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};Z.hsv.ansi16=function(e){return Z.rgb.ansi16(Z.hsv.rgb(e),e[2])};Z.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t===n&&n===r?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(r/255*5)};Z.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,r=(t&1)*n*255,i=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,i,a]};Z.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,r=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[n,r,i]};Z.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};Z.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 r=parseInt(n,16),i=r>>16&255,a=r>>8&255,s=r&255;return[i,a,s]};Z.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=i-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:i===t?c=(n-r)/s%6:i===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,o*100]};Z.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};Z.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};Z.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];let i=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};Z.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t),i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};Z.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};Z.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};Z.hwb.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=1-n,i=r-t,a=0;return i<1&&(a=(r-i)/(1-i)),[e[0],i*100,a*100]};Z.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};Z.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};Z.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};Z.gray.hsl=function(e){return[0,0,e[0]]};Z.gray.hsv=Z.gray.hsl;Z.gray.hwb=function(e){return[0,100,e[0]]};Z.gray.cmyk=function(e){return[0,0,0,e[0]]};Z.gray.lab=function(e){return[e[0],0,0]};Z.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};Z.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var R0=b((R6,j0)=>{var Do=ap();function QC(){let e={},t=Object.keys(Do);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function eA(e){let t=QC(),n=[e];for(t[e].distance=0;n.length;){let r=n.pop(),i=Object.keys(Do[r]);for(let a=i.length,s=0;s<a;s++){let o=i[s],c=t[o];c.distance===-1&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(o))}}return t}function tA(e,t){return function(n){return t(e(n))}}function nA(e,t){let n=[t[e].parent,e],r=Do[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)n.unshift(t[i].parent),r=tA(Do[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}j0.exports=function(e){let t=eA(e),n={},r=Object.keys(t);for(let i=r.length,a=0;a<i;a++){let s=r[a];t[s].parent!==null&&(n[s]=nA(s,t))}return n}});var P0=b((M6,M0)=>{var sp=ap(),rA=R0(),Pi={},iA=Object.keys(sp);function aA(e){let t=function(...n){let r=n[0];return r==null?r:(r.length>1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function sA(e){let t=function(...n){let r=n[0];if(r==null)return r;r.length>1&&(n=r);let i=e(n);if(typeof i=="object")for(let a=i.length,s=0;s<a;s++)i[s]=Math.round(i[s]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}iA.forEach(e=>{Pi[e]={},Object.defineProperty(Pi[e],"channels",{value:sp[e].channels}),Object.defineProperty(Pi[e],"labels",{value:sp[e].labels});let t=rA(e);Object.keys(t).forEach(r=>{let i=t[r];Pi[e][r]=sA(i),Pi[e][r].raw=aA(i)})});M0.exports=Pi});var cp=b((P6,B0)=>{"use strict";var I0=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,N0=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};5;${r}m`},L0=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`},zo=e=>e,q0=(e,t,n)=>[e,t,n],Ii=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},op,Ni=(e,t,n,r)=>{op===void 0&&(op=P0());let i=r?10:0,a={};for(let[s,o]of Object.entries(op)){let c=s==="ansi16"?"ansi":s;s===t?a[c]=e(n,i):typeof o=="object"&&(a[c]=e(o[t],i))}return a};function oA(){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,r]of Object.entries(t)){for(let[i,a]of Object.entries(r))t[i]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},r[i]=t[i],e.set(a[0],a[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",Ii(t.color,"ansi",()=>Ni(I0,"ansi16",zo,!1)),Ii(t.color,"ansi256",()=>Ni(N0,"ansi256",zo,!1)),Ii(t.color,"ansi16m",()=>Ni(L0,"rgb",q0,!1)),Ii(t.bgColor,"ansi",()=>Ni(I0,"ansi16",zo,!0)),Ii(t.bgColor,"ansi256",()=>Ni(N0,"ansi256",zo,!0)),Ii(t.bgColor,"ansi16m",()=>Ni(L0,"rgb",q0,!0)),t}Object.defineProperty(B0,"exports",{enumerable:!0,get:oA})});var D0=b((I6,F0)=>{"use strict";var cA=(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let i=t.length,a=0,s="";do s+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a);while(r!==-1);return s+=e.substr(a),s},lA=(e,t,n,r)=>{let i=0,a="";do{let s=e[r-1]==="\r";a+=e.substr(i,(s?r-1:r)-i)+t+(s?`\r
|
|
16
|
+
`+a),e.push(i+"m+"+Wo.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=BT()+t+" "+e[0]}function BT(){return lt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function FT(...e){return process.stderr.write(Uo.format(...e)+`
|
|
17
|
+
`)}function DT(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function zT(){return process.env.DEBUG}function $T(e){e.inspectOpts={};let t=Object.keys(lt.inspectOpts);for(let n=0;n<t.length;n++)e.inspectOpts[t[n]]=lt.inspectOpts[t[n]]}Wo.exports=Du()(lt);var{formatters:sv}=Wo.exports;sv.o=function(e){return this.inspectOpts.colors=this.useColors,Uo.inspect(e,this.inspectOpts).split(`
|
|
18
|
+
`).map(t=>t.trim()).join(" ")};sv.O=function(e){return this.inspectOpts.colors=this.useColors,Uo.inspect(e,this.inspectOpts)}});var cv=b((H6,Uu)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Uu.exports=tv():Uu.exports=ov()});var uv=b((Y6,lv)=>{var Ja;lv.exports=function(){if(!Ja){try{Ja=cv()("follow-redirects")}catch{}typeof Ja!="function"&&(Ja=function(){})}Ja.apply(null,arguments)}});var Qa=b((G6,Gu)=>{var zr=require("url"),Wu=zr.URL,UT=require("http"),WT=require("https"),dv=require("stream").Writable,HT=require("assert"),hv=uv(),$r=["abort","aborted","connect","error","socket","timeout"],Yu=Object.create(null);$r.forEach(function(e){Yu[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}});var pv=Ho("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),YT=Ho("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),GT=Ho("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),VT=Ho("ERR_STREAM_WRITE_AFTER_END","write after end");function Dt(e,t){dv.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(r){n._processResponse(r)},this._performRequest()}Dt.prototype=Object.create(dv.prototype);Dt.prototype.abort=function(){gv(this._currentRequest),this.emit("abort")};Dt.prototype.write=function(e,t,n){if(this._ending)throw new VT;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 GT),this.abort())};Dt.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 r=this,i=this._currentRequest;this.write(e,t,function(){r._ended=!0,i.end(null,null,n)}),this._ending=!0}};Dt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Dt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Dt.prototype.setTimeout=function(e,t){var n=this;function r(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function i(s){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),a()},e),r(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",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",r),this.on("abort",a),this.on("error",a),this.on("response",a),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Dt.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Dt.prototype,e,{get:function(){return this._currentRequest[e]}})});Dt.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))}};Dt.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 r=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=zr.format(this._options),r._redirectable=this;for(var i=0;i<$r.length;i++)r.on($r[i],Yu[$r[i]]);if(this._isRedirect){var a=0,s=this,o=this._requestBodyBuffers;(function c(u){if(r===s._currentRequest)if(u)s.emit("error",u);else if(a<o.length){var l=o[a++];r.finished||r.write(l.data,l.encoding,c)}else s._ended&&r.end()})()}};Dt.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(gv(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new YT);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Hu(/^content-/i,this._options.headers));var r=Hu(/^host$/i,this._options.headers),i=zr.parse(this._currentUrl),a=r||i.host,s=/^\w+:/.test(n)?this._currentUrl:zr.format(Object.assign(i,{host:a})),o;try{o=zr.resolve(s,n)}catch(l){this.emit("error",new pv(l));return}hv("redirecting to",o),this._isRedirect=!0;var c=zr.parse(o);if(Object.assign(this._options,c),(c.protocol!==i.protocol||!ZT(c.host,a))&&Hu(/^(?: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 pv(l))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function mv(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(r){var i=r+":",a=n[i]=e[r],s=t[r]=Object.create(a);function o(u,l,p){if(typeof u=="string"){var f=u;try{u=fv(new Wu(f))}catch{u=zr.parse(f)}}else Wu&&u instanceof Wu?u=fv(u):(p=l,l=u,u={protocol:i});return typeof l=="function"&&(p=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=n,HT.equal(l.protocol,i,"protocol mismatch"),hv("options",l),new Dt(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 KT(){}function fv(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 Hu(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return n===null||typeof n>"u"?void 0:String(n).trim()}function Ho(e,t){function n(r){Error.captureStackTrace(this,this.constructor),r?(this.message=t+": "+r.message,this.cause=r):this.message=t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}function gv(e){for(var t=0;t<$r.length;t++)e.removeListener($r[t],Yu[$r[t]]);e.on("error",KT),e.abort()}function ZT(e,t){if(e===t)return!0;let n=e.length-t.length-1;return n>0&&e[n]==="."&&e.endsWith(t)}Gu.exports=mv({http:UT,https:WT});Gu.exports.wrap=mv});var Yo=b((V6,vv)=>{vv.exports={version:"0.26.0"}});var Ev=b((K6,Sv)=>{"use strict";var Xa=mt(),bv=Nu(),JT=Lu(),xv=Po(),QT=require("http"),XT=require("https"),eC=Qa().http,tC=Qa().https,yv=require("url"),nC=require("zlib"),rC=Yo().version,qi=qo(),Go=Lo(),iC=Ii(),aC=Mi(),wv=/https:?/;function _v(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(a){a.headers.host=a.host,_v(a,t,a.href)}}Sv.exports=function(t){return new Promise(function(r,i){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(ae){s(),r(ae)},c=!1,u=function(ae){s(),c=!0,i(ae)},l=t.data,p=t.headers,f={};if(Object.keys(p).forEach(function(ae){f[ae.toLowerCase()]=ae}),"user-agent"in f?p[f["user-agent"]]||delete p[f["user-agent"]]:p["User-Agent"]="axios/"+rC,l&&!Xa.isStream(l)){if(!Buffer.isBuffer(l))if(Xa.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Xa.isString(l))l=Buffer.from(l,"utf-8");else return u(qi("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(qi("Request body larger than maxBodyLength limit",t));f["content-length"]||(p["Content-Length"]=l.length)}var d=void 0;if(t.auth){var v=t.auth.username||"",g=t.auth.password||"";d=v+":"+g}var h=JT(t.baseURL,t.url),x=yv.parse(h),w=x.protocol||"http:";if(!d&&x.auth){var T=x.auth.split(":"),k=T[0]||"",O=T[1]||"";d=k+":"+O}d&&f.authorization&&delete p[f.authorization];var D=wv.test(w),B=D?t.httpsAgent:t.httpAgent;try{xv(x.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(me){var N=new Error(me.message);N.config=t,N.url=t.url,N.exists=!0,u(N)}var W={path:xv(x.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:B,agents:{http:t.httpAgent,https:t.httpsAgent},auth:d};t.socketPath?W.socketPath=t.socketPath:(W.hostname=x.hostname,W.port=x.port);var F=t.proxy;if(!F&&F!==!1){var q=w.slice(0,-1)+"_proxy",M=process.env[q]||process.env[q.toUpperCase()];if(M){var R=yv.parse(M),L=process.env.no_proxy||process.env.NO_PROXY,G=!0;if(L){var pe=L.split(",").map(function(ae){return ae.trim()});G=!pe.some(function(ae){return ae?ae==="*"||ae[0]==="."&&x.hostname.substr(x.hostname.length-ae.length)===ae?!0:x.hostname===ae:!1})}if(G&&(F={host:R.hostname,port:R.port,protocol:R.protocol},R.auth)){var we=R.auth.split(":");F.auth={username:we[0],password:we[1]}}}}F&&(W.headers.host=x.hostname+(x.port?":"+x.port:""),_v(W,F,w+"//"+x.hostname+(x.port?":"+x.port:"")+W.path));var te,Ce=D&&(F?wv.test(F.protocol):!0);t.transport?te=t.transport:t.maxRedirects===0?te=Ce?XT:QT:(t.maxRedirects&&(W.maxRedirects=t.maxRedirects),te=Ce?tC:eC),t.maxBodyLength>-1&&(W.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(W.insecureHTTPParser=t.insecureHTTPParser);var fe=te.request(W,function(ae){if(!fe.aborted){var U=ae,yt=ae.req||fe;if(ae.statusCode!==204&&yt.method!=="HEAD"&&t.decompress!==!1)switch(ae.headers["content-encoding"]){case"gzip":case"compress":case"deflate":U=U.pipe(nC.createUnzip()),delete ae.headers["content-encoding"];break}var Kt={status:ae.statusCode,statusText:ae.statusMessage,headers:ae.headers,config:t,request:yt};if(t.responseType==="stream")Kt.data=U,bv(o,u,Kt);else{var Q=[],le=0;U.on("data",function(re){Q.push(re),le+=re.length,t.maxContentLength>-1&&le>t.maxContentLength&&(c=!0,U.destroy(),u(qi("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,yt)))}),U.on("aborted",function(){c||(U.destroy(),u(qi("error request aborted",t,"ERR_REQUEST_ABORTED",yt)))}),U.on("error",function(re){fe.aborted||u(Go(re,t,null,yt))}),U.on("end",function(){try{var re=Q.length===1?Q[0]:Buffer.concat(Q);t.responseType!=="arraybuffer"&&(re=re.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(re=Xa.stripBOM(re))),Kt.data=re}catch(Ye){u(Go(Ye,t,Ye.code,Kt.request,Kt))}bv(o,u,Kt)})}}});if(fe.on("error",function(ae){fe.aborted&&ae.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(Go(ae,t,null,fe))}),fe.on("socket",function(ae){ae.setKeepAlive(!0,1e3*60)}),t.timeout){var V=parseInt(t.timeout,10);if(isNaN(V)){u(qi("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",fe));return}fe.setTimeout(V,function(){fe.abort();var ae="";t.timeoutErrorMessage?ae=t.timeoutErrorMessage:ae="timeout of "+t.timeout+"ms exceeded";var U=t.transitional||iC.transitional;u(qi(ae,t,U.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",fe))})}(t.cancelToken||t.signal)&&(a=function(me){fe.aborted||(fe.abort(),u(!me||me&&me.type?new aC("canceled"):me))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Xa.isStream(l)?l.on("error",function(ae){u(Go(ae,t,null,fe))}).pipe(fe):fe.end(l)})}});var Ii=b((Z6,Tv)=>{"use strict";var ut=mt(),Ov=Ig(),sC=Lo(),oC={"Content-Type":"application/x-www-form-urlencoded"};function kv(e,t){!ut.isUndefined(e)&&ut.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function cC(){var e;return typeof XMLHttpRequest<"u"?e=Jg():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Ev()),e}function lC(e,t,n){if(ut.isString(e))try{return(t||JSON.parse)(e),ut.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Vo={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:cC(),transformRequest:[function(t,n){return Ov(n,"Accept"),Ov(n,"Content-Type"),ut.isFormData(t)||ut.isArrayBuffer(t)||ut.isBuffer(t)||ut.isStream(t)||ut.isFile(t)||ut.isBlob(t)?t:ut.isArrayBufferView(t)?t.buffer:ut.isURLSearchParams(t)?(kv(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ut.isObject(t)||n&&n["Content-Type"]==="application/json"?(kv(n,"application/json"),lC(t)):t}],transformResponse:[function(t){var n=this.transitional||Vo.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&ut.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?sC(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, */*"}}};ut.forEach(["delete","get","head"],function(t){Vo.headers[t]={}});ut.forEach(["post","put","patch"],function(t){Vo.headers[t]=ut.merge(oC)});Tv.exports=Vo});var Av=b((J6,Cv)=>{"use strict";var uC=mt(),pC=Ii();Cv.exports=function(t,n,r){var i=this||pC;return uC.forEach(r,function(s){t=s.call(i,t,n)}),t}});var Vu=b((Q6,jv)=>{"use strict";jv.exports=function(t){return!!(t&&t.__CANCEL__)}});var Iv=b((X6,Mv)=>{"use strict";var Rv=mt(),Ku=Av(),fC=Vu(),dC=Ii(),hC=Mi();function Zu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new hC("canceled")}Mv.exports=function(t){Zu(t),t.headers=t.headers||{},t.data=Ku.call(t,t.data,t.headers,t.transformRequest),t.headers=Rv.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Rv.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||dC.adapter;return n(t).then(function(i){return Zu(t),i.data=Ku.call(t,i.data,i.headers,t.transformResponse),i},function(i){return fC(i)||(Zu(t),i&&i.response&&(i.response.data=Ku.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})}});var Ju=b((e4,Pv)=>{"use strict";var zt=mt();Pv.exports=function(t,n){n=n||{};var r={};function i(l,p){return zt.isPlainObject(l)&&zt.isPlainObject(p)?zt.merge(l,p):zt.isPlainObject(p)?zt.merge({},p):zt.isArray(p)?p.slice():p}function a(l){if(zt.isUndefined(n[l])){if(!zt.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],n[l])}function s(l){if(!zt.isUndefined(n[l]))return i(void 0,n[l])}function o(l){if(zt.isUndefined(n[l])){if(!zt.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,n[l])}function c(l){if(l in n)return i(t[l],n[l]);if(l in t)return i(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 zt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,d=f(p);zt.isUndefined(d)&&f!==c||(r[p]=d)}),r}});var qv=b((t4,Lv)=>{"use strict";var mC=Yo().version,Qu={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Qu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Nv={};Qu.transitional=function(t,n,r){function i(a,s){return"[Axios v"+mC+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return function(a,s,o){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!Nv[s]&&(Nv[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function gC(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],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)}}Lv.exports={assertOptions:gC,validators:Qu}});var Uv=b((n4,$v)=>{"use strict";var Dv=mt(),vC=Po(),Bv=Rg(),Fv=Iv(),Ko=Ju(),zv=qv(),Bi=zv.validators;function es(e){this.defaults=e,this.interceptors={request:new Bv,response:new Bv}}es.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ko(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&zv.assertOptions(r,{silentJSONParsing:Bi.transitional(Bi.boolean),forcedJSONParsing:Bi.transitional(Bi.boolean),clarifyTimeoutError:Bi.transitional(Bi.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(a=a&&d.synchronous,i.unshift(d.fulfilled,d.rejected))});var s=[];this.interceptors.response.forEach(function(d){s.push(d.fulfilled,d.rejected)});var o;if(!a){var c=[Fv,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),o=Promise.resolve(n);c.length;)o=o.then(c.shift(),c.shift());return o}for(var u=n;i.length;){var l=i.shift(),p=i.shift();try{u=l(u)}catch(f){p(f);break}}try{o=Fv(u)}catch(f){return Promise.reject(f)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};es.prototype.getUri=function(t){return t=Ko(this.defaults,t),vC(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Dv.forEach(["delete","get","head","options"],function(t){es.prototype[t]=function(n,r){return this.request(Ko(r||{},{method:t,url:n,data:(r||{}).data}))}});Dv.forEach(["post","put","patch"],function(t){es.prototype[t]=function(n,r,i){return this.request(Ko(i||{},{method:t,url:n,data:r}))}});$v.exports=es});var Hv=b((r4,Wv)=>{"use strict";var bC=Mi();function Fi(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,a=n._listeners.length;for(i=0;i<a;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,a=new Promise(function(s){n.subscribe(s),i=s}).then(r);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i){n.reason||(n.reason=new bC(i),t(n.reason))})}Fi.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Fi.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Fi.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Fi.source=function(){var t,n=new Fi(function(i){t=i});return{token:n,cancel:t}};Wv.exports=Fi});var Gv=b((i4,Yv)=>{"use strict";Yv.exports=function(t){return function(r){return t.apply(null,r)}}});var Kv=b((a4,Vv)=>{"use strict";var xC=mt();Vv.exports=function(t){return xC.isObject(t)&&t.isAxiosError===!0}});var Qv=b((s4,Xu)=>{"use strict";var Zv=mt(),yC=ju(),Zo=Uv(),wC=Ju(),_C=Ii();function Jv(e){var t=new Zo(e),n=yC(Zo.prototype.request,t);return Zv.extend(n,Zo.prototype,t),Zv.extend(n,t),n.create=function(i){return Jv(wC(e,i))},n}var _n=Jv(_C);_n.Axios=Zo;_n.Cancel=Mi();_n.CancelToken=Hv();_n.isCancel=Vu();_n.VERSION=Yo().version;_n.all=function(t){return Promise.all(t)};_n.spread=Gv();_n.isAxiosError=Kv();Xu.exports=_n;Xu.exports.default=_n});var e0=b((o4,Xv)=>{Xv.exports=Qv()});var r0=b((c4,n0)=>{var t0=require("stream").Stream,SC=require("util");n0.exports=ln;function ln(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}SC.inherits(ln,t0);ln.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n};Object.defineProperty(ln.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});ln.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};ln.prototype.resume=function(){this._released||this.release(),this.source.resume()};ln.prototype.pause=function(){this.source.pause()};ln.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};ln.prototype.pipe=function(){var e=t0.prototype.pipe.apply(this,arguments);return this.resume(),e};ln.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)};ln.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 o0=b((l4,s0)=>{var EC=require("util"),a0=require("stream").Stream,i0=r0();s0.exports=De;function De(){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}EC.inherits(De,a0);De.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t};De.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};De.prototype.append=function(e){var t=De.isStreamLike(e);if(t){if(!(e instanceof i0)){var n=i0.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};De.prototype.pipe=function(e,t){return a0.prototype.pipe.call(this,e,t),this.resume(),e};De.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}};De.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 r=De.isStreamLike(n);r&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};De.prototype._pipeNext=function(e){this._currentStream=e;var t=De.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()};De.prototype._handleErrors=function(e){var t=this;e.on("error",function(n){t._emitError(n)})};De.prototype.write=function(e){this.emit("data",e)};De.prototype.pause=function(){!this.pauseStreams||(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};De.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")};De.prototype.end=function(){this._reset(),this.emit("end")};De.prototype.destroy=function(){this._reset(),this.emit("close")};De.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};De.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};De.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)};De.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var c0=b((u4,OC)=>{OC.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 u0=b((p4,l0)=>{l0.exports=c0()});var d0=b(Mt=>{"use strict";var Jo=u0(),kC=require("path").extname,p0=/^\s*([^;\s]*)(?:;|\s|$)/,TC=/^text\//i;Mt.charset=f0;Mt.charsets={lookup:f0};Mt.contentType=CC;Mt.extension=AC;Mt.extensions=Object.create(null);Mt.lookup=jC;Mt.types=Object.create(null);RC(Mt.extensions,Mt.types);function f0(e){if(!e||typeof e!="string")return!1;var t=p0.exec(e),n=t&&Jo[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&TC.test(t[1])?"UTF-8":!1}function CC(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Mt.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=Mt.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function AC(e){if(!e||typeof e!="string")return!1;var t=p0.exec(e),n=t&&Mt.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function jC(e){if(!e||typeof e!="string")return!1;var t=kC("x."+e).toLowerCase().substr(1);return t&&Mt.types[t]||!1}function RC(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Jo).forEach(function(i){var a=Jo[i],s=a.extensions;if(!(!s||!s.length)){e[i]=s;for(var o=0;o<s.length;o++){var c=s[o];if(t[c]){var u=n.indexOf(Jo[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]=i}}})}});var m0=b((d4,h0)=>{h0.exports=MC;function MC(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var ep=b((h4,v0)=>{var g0=m0();v0.exports=IC;function IC(e){var t=!1;return g0(function(){t=!0}),function(r,i){t?e(r,i):g0(function(){e(r,i)})}}});var tp=b((m4,b0)=>{b0.exports=PC;function PC(e){Object.keys(e.jobs).forEach(NC.bind(e)),e.jobs={}}function NC(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var np=b((g4,y0)=>{var x0=ep(),LC=tp();y0.exports=qC;function qC(e,t,n,r){var i=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[i]=BC(t,i,e[i],function(a,s){i in n.jobs&&(delete n.jobs[i],a?LC(n):n.results[i]=s,r(a,n.results))})}function BC(e,t,n,r){var i;return e.length==2?i=e(n,x0(r)):i=e(n,t,x0(r)),i}});var rp=b((v4,w0)=>{w0.exports=FC;function FC(e,t){var n=!Array.isArray(e),r={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&r.keyedList.sort(n?t:function(i,a){return t(e[i],e[a])}),r}});var ip=b((b4,_0)=>{var DC=tp(),zC=ep();_0.exports=$C;function $C(e){!Object.keys(this.jobs).length||(this.index=this.size,DC(this),zC(e)(null,this.results))}});var E0=b((x4,S0)=>{var UC=np(),WC=rp(),HC=ip();S0.exports=YC;function YC(e,t,n){for(var r=WC(e);r.index<(r.keyedList||e).length;)UC(e,t,r,function(i,a){if(i){n(i,a);return}if(Object.keys(r.jobs).length===0){n(null,r.results);return}}),r.index++;return HC.bind(r,n)}});var ap=b((y4,Qo)=>{var O0=np(),GC=rp(),VC=ip();Qo.exports=KC;Qo.exports.ascending=k0;Qo.exports.descending=ZC;function KC(e,t,n,r){var i=GC(e,n);return O0(e,t,i,function a(s,o){if(s){r(s,o);return}if(i.index++,i.index<(i.keyedList||e).length){O0(e,t,i,a);return}r(null,i.results)}),VC.bind(i,r)}function k0(e,t){return e<t?-1:e>t?1:0}function ZC(e,t){return-1*k0(e,t)}});var C0=b((w4,T0)=>{var JC=ap();T0.exports=QC;function QC(e,t,n){return JC(e,t,null,n)}});var j0=b((_4,A0)=>{A0.exports={parallel:E0(),serial:C0(),serialOrdered:ap()}});var M0=b((S4,R0)=>{R0.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var N0=b((E4,P0)=>{var lp=o0(),I0=require("util"),sp=require("path"),XC=require("http"),eA=require("https"),tA=require("url").parse,nA=require("fs"),rA=require("stream").Stream,op=d0(),iA=j0(),cp=M0();P0.exports=be;I0.inherits(be,lp);function be(e){if(!(this instanceof be))return new be(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],lp.call(this),e=e||{};for(var t in e)this[t]=e[t]}be.LINE_BREAK=`\r
|
|
19
|
+
`;be.DEFAULT_CONTENT_TYPE="application/octet-stream";be.prototype.append=function(e,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var r=lp.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),I0.isArray(t)){this._error(new Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,n),a=this._multiPartFooter();r(i),r(t),r(a),this._trackLength(i,t,n)};be.prototype._trackLength=function(e,t,n){var r=0;n.knownLength!=null?r+=+n.knownLength:Buffer.isBuffer(t)?r=t.length:typeof t=="string"&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+be.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof rA))&&(n.knownLength||this._valuesToMeasure.push(t))};be.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)):nA.stat(e.path,function(n,r){var i;if(n){t(n);return}i=r.size-(e.start?e.start:0),t(null,i)}):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")};be.prototype._multiPartHeader=function(e,t,n){if(typeof n.header=="string")return n.header;var r=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(i||[])};typeof n.header=="object"&&cp(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("; ")+be.LINE_BREAK)));return"--"+this.getBoundary()+be.LINE_BREAK+a+be.LINE_BREAK};be.prototype._getContentDisposition=function(e,t){var n,r;return typeof t.filepath=="string"?n=sp.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=sp.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=sp.basename(e.client._httpMessage.path||"")),n&&(r='filename="'+n+'"'),r};be.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=op.lookup(e.name)),!n&&e.path&&(n=op.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=op.lookup(t.filepath||t.filename)),!n&&typeof e=="object"&&(n=be.DEFAULT_CONTENT_TYPE),n};be.prototype._multiPartFooter=function(){return function(e){var t=be.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),e(t)}.bind(this)};be.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+be.LINE_BREAK};be.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};be.prototype.setBoundary=function(e){this._boundary=e};be.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};be.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;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(be.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};be.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};be.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};be.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};be.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}iA.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,r){if(n){e(n);return}r.forEach(function(i){t+=i}),e(null,t)})};be.prototype.submit=function(e,t){var n,r,i={method:"post"};return typeof e=="string"?(e=tA(e),r=cp({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=cp(e,i),r.port||(r.port=r.protocol=="https:"?443:80)),r.headers=this.getHeaders(e.headers),r.protocol=="https:"?n=eA.request(r):n=XC.request(r),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};be.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};be.prototype.toString=function(){return"[object FormData]"}});var D0=b(Ge=>{"use strict";var L0=Ge&&Ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.post=Ge.put=Ge.delete_=Ge.get=Ge.FormData=Ge.getPath=Ge.setApiHost=Ge.setAuth=void 0;var q0=L0(e0()),aA=L0(N0());function sA(e){q0.default.defaults.headers.common.Authorization=e}Ge.setAuth=sA;var B0="https://goldsky.com";function oA(e){B0=e}Ge.setApiHost=oA;function F0(e,t){return`${B0}${typeof e=="string"?e:e(t)}`}Ge.getPath=F0;function cA(){return new aA.default}Ge.FormData=cA;async function lA(e,t){return Xo(e,"get",t||{})}Ge.get=lA;async function uA(e,t){return Xo(e,"delete",t||{})}Ge.delete_=uA;async function pA(e,t){return Xo(e,"put",t||{})}Ge.put=pA;async function fA(e,t){return Xo(e,"post",t||{})}Ge.post=fA;async function Xo(e,t,n){var r,i;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:F0(e,n.params),method:t},n.querystring?{params:n.querystring}:{}),n.body?{data:n.body}:{}),typeof((r=n.body)===null||r===void 0?void 0:r.getHeaders)=="function"?{headers:(i=n.body)===null||i===void 0?void 0:i.getHeaders()}:{}),{maxBodyLength:1/0,maxContentLength:1/0,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 q0.default.request(a);return s.status<200||s.status>=300?s.status===524?[{statusCode:524,error:"Cloudflare timeout",message:"Cloudflare timeout"},{}]:"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 z0=b(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.ListEntitiesSchema=pt.DeleteWebhookSchema=pt.DeleteWebhookParams=pt.CreateWebhookSchema=pt.CreateWebhookParams=pt.CreateWebhookBody=void 0;var de=er();pt.CreateWebhookBody=de.Type.Object({name:de.Type.String(),webhookUrl:de.Type.String(),entity:de.Type.String(),numRetries:de.Type.Optional(de.Type.Number()),retryIntervalSeconds:de.Type.Optional(de.Type.Number()),retryTimeoutSeconds:de.Type.Optional(de.Type.Number())});pt.CreateWebhookParams=de.Type.Object({subgraphName:de.Type.String(),subgraphVersion:de.Type.String()});pt.CreateWebhookSchema={body:pt.CreateWebhookBody,params:pt.CreateWebhookParams};var k4=de.Type.Object({data:de.Type.Object({webhookSecret:de.Type.String(),name:de.Type.String()})});pt.DeleteWebhookParams=de.Type.Object({name:de.Type.String()});pt.DeleteWebhookSchema={params:pt.DeleteWebhookParams};var T4=de.Type.Object({data:de.Type.Object({})}),dA=de.Type.Object({name:de.Type.String(),webhookUrl:de.Type.String(),entity:de.Type.String(),subgraphName:de.Type.String(),subgraphVersion:de.Type.String(),created_at:de.Type.Number()}),C4=de.Type.Object({data:de.Type.Array(dA)}),A4=de.Type.Object({data:de.Type.Array(de.Type.Object({name:de.Type.String()}))}),hA=de.Type.Object({subgraphName:de.Type.String(),subgraphVersion:de.Type.String()});pt.ListEntitiesSchema={params:hA}});var $0=b(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.SubscriptionWithProduct=Di.ProductWithPrices=void 0;var Te=er();Di.ProductWithPrices=Te.Type.Object({id:Te.Type.String(),name:Te.Type.String(),description:Te.Type.String(),base_price_decimal:Te.Type.String(),features:Te.Type.Array(Te.Type.String()),isHidden:Te.Type.Boolean()});Di.SubscriptionWithProduct=Te.Type.Object({id:Te.Type.String(),latestInvoice:Te.Type.Union([Te.Type.String(),Te.Type.Null()]),product:Te.Type.Object({id:Te.Type.String(),name:Te.Type.String(),description:Te.Type.Union([Te.Type.String(),Te.Type.Null()]),basePrice:Te.Type.Object({amount:Te.Type.Union([Te.Type.String(),Te.Type.Null()]),interval:Te.Type.String()}),metadata:Te.Type.Record(Te.Type.String(),Te.Type.String())})})});var U0=b(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.BucketSize=Sn.SubgraphDeploymentCountMetricsReply=Sn.SubgraphDeploymentLatencyMetricsReply=Sn.SubgraphDeploymentRequestsMetricsReply=void 0;var ze=er();Sn.SubgraphDeploymentRequestsMetricsReply=ze.Type.Object({data:ze.Type.Object({pointList:ze.Type.Array(ze.Type.Object({requests:ze.Type.Number(),time:ze.Type.Number()}))})});Sn.SubgraphDeploymentLatencyMetricsReply=ze.Type.Object({data:ze.Type.Object({pointList:ze.Type.Array(ze.Type.Object({avgLatencyMS:ze.Type.Number(),time:ze.Type.Number()}))})});Sn.SubgraphDeploymentCountMetricsReply=ze.Type.Object({data:ze.Type.Object({pointList:ze.Type.Array(ze.Type.Object({count:ze.Type.Number(),time:ze.Type.Number()}))})});Sn.BucketSize=ze.Type.Union([ze.Type.Literal("1d"),ze.Type.Literal("6h"),ze.Type.Literal("1h")])});var W0=b(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.NewSupportMessageResp=zi.NewSupportMessage=void 0;var ec=er();zi.NewSupportMessage=ec.Type.Object({message:ec.Type.String()});zi.NewSupportMessageResp=ec.Type.Object({success:ec.Type.Boolean()})});var X0=b($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.PUTStreamInputTypebox=$e.POSTStreamInputTypebox=$e.StreamOutputTypebox=$e.StreamRootTypebox=$e.TransformationTypes=$e.SinkTypes=$e.SourceTypes=void 0;var C=er(),up;(function(e){e.SubgraphEntity="subgraphEntity",e.Kafka="kafka"})(up=$e.SourceTypes||($e.SourceTypes={}));var ts;(function(e){e.Postgres="postgres",e.ElasticSearch="elasticSearch",e.Kafka="kafka",e.TimescaleHypertable="timescaleHypertable"})(ts=$e.SinkTypes||($e.SinkTypes={}));var H0;(function(e){e.SQL="sql"})(H0=$e.TransformationTypes||($e.TransformationTypes={}));var pp=C.Type.Object({name:C.Type.String(),kafkaTopic:C.Type.String()},{additionalProperties:!1}),fp=C.Type.Object({id:C.Type.String(),name:C.Type.String(),type:C.Type.Literal(up.SubgraphEntity),deployments:C.Type.Array(C.Type.Object({id:C.Type.String()},{additionalProperties:!1})),entity:pp,integrationId:C.Type.String()},{additionalProperties:!1}),dp=C.Type.Object({id:C.Type.String(),name:C.Type.String(),type:C.Type.Literal(up.Kafka),topic:C.Type.String({maxLength:255}),integrationId:C.Type.String()},{additionalProperties:!1}),mA=C.Type.Union([fp,dp],{additionalProperties:!1}),Y0=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(H0.SQL),name:C.Type.String(),sql:C.Type.String({maxLength:500}),primaryKey:C.Type.String({maxLength:50})},{additionalProperties:!1}),hp=C.Type.Union([Y0],{additionalProperties:!1}),mp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(ts.Postgres),sourceStreamName:C.Type.String(),schema:C.Type.String(),table:C.Type.String(),integrationId:C.Type.String()},{additionalProperties:!1}),gp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(ts.ElasticSearch),sourceStreamName:C.Type.String(),index:C.Type.String(),integrationId:C.Type.String()},{additionalProperties:!1}),vp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(ts.Kafka),sourceStreamName:C.Type.String(),topic:C.Type.String({maxLength:255}),integrationId:C.Type.String()},{additionalProperties:!1}),bp=C.Type.Object({id:C.Type.String(),type:C.Type.Literal(ts.TimescaleHypertable),sourceStreamName:C.Type.String(),schema:C.Type.String(),table:C.Type.String(),timestampColumn:C.Type.String(),primaryKey:C.Type.String(),timestampDataTypeAdapterFuncName:C.Type.Optional(C.Type.String()),integrationId:C.Type.String()},{additionalProperties:!1}),gA=C.Type.Union([mp,gp,vp,bp],{additionalProperties:!1}),vA=C.Type.Object({sources:C.Type.Array(mA,{minItems:1}),transforms:C.Type.Array(hp),sinks:C.Type.Array(gA)},{additionalProperties:!1});$e.StreamRootTypebox=C.Type.Object({id:C.Type.String(),name:C.Type.String(),description:C.Type.Optional(C.Type.String()),version:C.Type.Integer(),definition:vA,status:C.Type.String(),projectId:C.Type.String(),createdAt:C.Type.String(),updatedAt:C.Type.String()},{additionalProperties:!1});var G0=C.Type.Intersect([C.Type.Omit(fp,["integrationId","entity"],{additionalProperties:!1}),C.Type.Object({entity:C.Type.Omit(pp,["kafkaTopic"],{additionalProperties:!1})},{additionalProperties:!1})],{additionalProperties:!1}),V0=C.Type.Omit(dp,["integrationId"],{additionalProperties:!1}),bA=C.Type.Union([G0,V0],{additionalProperties:!1}),xA=C.Type.Omit(gp,["integrationId"],{additionalProperties:!1}),yA=C.Type.Omit(mp,["integrationId"],{additionalProperties:!1}),wA=C.Type.Omit(vp,["integrationId"],{additionalProperties:!1}),_A=C.Type.Omit(bp,["integrationId"],{additionalProperties:!1}),K0=C.Type.Union([yA,xA,wA,_A],{additionalProperties:!1}),SA=C.Type.Object({sources:C.Type.Array(bA,{minItems:1}),transforms:C.Type.Array(hp),sinks:C.Type.Array(K0)},{additionalProperties:!1});$e.StreamOutputTypebox=C.Type.Intersect([C.Type.Omit($e.StreamRootTypebox,["definition","projectId"],{additionalProperties:!1}),C.Type.Object({definition:SA},{additionalProperties:!1})],{additionalProperties:!1});var EA=C.Type.Intersect([C.Type.Omit(fp,["id","name","integrationId","entity"],{additionalProperties:!1}),C.Type.Object({entity:C.Type.Omit(pp,["kafkaTopic"])},{additionalProperties:!1})],{additionalProperties:!1}),OA=C.Type.Omit(dp,["id","integrationId"],{additionalProperties:!1}),Z0=C.Type.Union([EA,OA],{additionalProperties:!1}),kA=C.Type.Omit(Y0,["id"],{additionalProperties:!1}),J0=C.Type.Union([kA],{additionalProperties:!1}),TA=C.Type.Omit(mp,["id","integrationId"],{additionalProperties:!1}),CA=C.Type.Omit(gp,["id","integrationId"],{additionalProperties:!1}),AA=C.Type.Omit(vp,["id","integrationId"],{additionalProperties:!1}),jA=C.Type.Omit(bp,["id","integrationId"],{additionalProperties:!1}),Q0=C.Type.Union([TA,CA,AA,jA],{additionalProperties:!1}),RA=C.Type.Object({sources:C.Type.Array(Z0,{minItems:1}),transforms:C.Type.Array(J0),sinks:C.Type.Array(Q0)},{additionalProperties:!1});$e.POSTStreamInputTypebox=C.Type.Intersect([C.Type.Omit($e.StreamRootTypebox,["id","status","definition","projectId","version","createdAt","updatedAt"],{additionalProperties:!1}),C.Type.Object({definition:RA},{additionalProperties:!1})],{additionalProperties:!1});var P4=C.Type.Object({id:C.Type.String(),version:C.Type.Optional(C.Type.String())},{additionalProperties:!1}),MA=C.Type.Omit(G0,["name"],{additionalProperties:!1}),IA=C.Type.Union([Z0,MA,V0],{additionalProperties:!1}),PA=C.Type.Union([Q0,K0],{additionalProperties:!1}),NA=C.Type.Union([J0,hp],{additionalProperties:!1}),LA=C.Type.Object({sources:C.Type.Array(IA,{minItems:1}),transforms:C.Type.Array(NA),sinks:C.Type.Array(PA)},{additionalProperties:!1});$e.PUTStreamInputTypebox=C.Type.Intersect([C.Type.Omit($e.StreamRootTypebox,["definition","projectId","version","createdAt","updatedAt"],{additionalProperties:!1}),C.Type.Object({definition:LA},{additionalProperties:!1})],{additionalProperties:!1});var N4=C.Type.Object({id:C.Type.String()},{additionalProperties:!1})});var St=b(xe=>{"use strict";var qA=xe&&xe.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),BA=xe&&xe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),rr=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)&&qA(t,e,n);return BA(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.StreamsApi=xe.SupportApi=xe.MetricsApi=xe.BillingApi=xe.WebhookApi=xe.ApiFetch=xe.StreamBossApi=xe.SubgraphApi=xe.ACTIVE_PROJECT_COOKIE_KEY=xe.ENTERPRISE_BILLING_FLAG=xe.API_URL=xe.API_PORT=void 0;var FA=rr(wg());xe.SubgraphApi=FA;var DA=rr(_g());xe.StreamBossApi=DA;var zA=rr(D0());xe.ApiFetch=zA;var $A=rr(z0());xe.WebhookApi=$A;var UA=rr($0());xe.BillingApi=UA;var WA=rr(U0());xe.MetricsApi=WA;var HA=rr(W0());xe.SupportApi=HA;var YA=rr(X0());xe.StreamsApi=YA;xe.API_PORT=80;xe.API_URL="https://api.goldsky.com";xe.ENTERPRISE_BILLING_FLAG="goldsky_enterprise";xe.ACTIVE_PROJECT_COOKIE_KEY="goldsky_active_project"});var tb=b((B4,eb)=>{"use strict";eb.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 xp=b((F4,rb)=>{var ns=tb(),nb={};for(let e of Object.keys(ns))nb[ns[e]]=e;var Z={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"]}};rb.exports=Z;for(let e of Object.keys(Z)){if(!("channels"in Z[e]))throw new Error("missing channels property: "+e);if(!("labels"in Z[e]))throw new Error("missing channel labels property: "+e);if(Z[e].labels.length!==Z[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=Z[e];delete Z[e].channels,delete Z[e].labels,Object.defineProperty(Z[e],"channels",{value:t}),Object.defineProperty(Z[e],"labels",{value:n})}Z.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=a-i,o,c;a===i?o=0:t===a?o=(n-r)/s:n===a?o=2+(r-t)/s:r===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360);let u=(i+a)/2;return a===i?c=0:u<=.5?c=s/(a+i):c=s/(2-a-i),[o,c*100,u*100]};Z.rgb.hsv=function(e){let t,n,r,i,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?(i=0,a=0):(a=l/u,t=p(s),n=p(o),r=p(c),s===u?i=r-n:o===u?i=1/3+t-r:c===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,u*100]};Z.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],i=Z.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,a*100,r*100]};Z.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r),a=(1-t-i)/(1-i)||0,s=(1-n-i)/(1-i)||0,o=(1-r-i)/(1-i)||0;return[a*100,s*100,o*100,i*100]};function GA(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}Z.rgb.keyword=function(e){let t=nb[e];if(t)return t;let n=1/0,r;for(let i of Object.keys(ns)){let a=ns[i],s=GA(e,a);s<n&&(n=s,r=i)}return r};Z.keyword.rgb=function(e){return ns[e]};Z.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=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,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[i*100,a*100,s*100]};Z.rgb.lab=function(e){let t=Z.rgb.xyz(e),n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let a=116*r-16,s=500*(n-r),o=200*(r-i);return[a,s,o]};Z.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?i=r*(1+n):i=r+n-r*n;let o=2*r-i,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+(i-o)*6*a:2*a<1?s=i:3*a<2?s=o+(i-o)*(2/3-a)*6:s=o,c[u]=s*255;return c};Z.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a;let s=(r+n)/2,o=r===0?2*i/(a+i):2*n/(r+n);return[t,o*100,s*100]};Z.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,s];case 1:return[o,r,s];case 2:return[s,r,c];case 3:return[s,o,r];case 4:return[c,s,r];case 5:return[r,s,o]}};Z.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,s;s=(2-n)*r;let o=(2-n)*i;return a=n*i,a/=o<=1?o:2-o,a=a||0,s/=2,[t,a*100,s*100]};Z.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a;i>1&&(n/=i,r/=i);let s=Math.floor(6*t),o=1-r;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]};Z.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),s=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i);return[a*255,s*255,o*255]};Z.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,s;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*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,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[i*255,a*255,s*255]};Z.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let i=116*n-16,a=500*(t-n),s=200*(n-r);return[i,a,s]};Z.lab.xyz=function(e){let t=e[0],n=e[1],r=e[2],i,a,s;a=(t+16)/116,i=n/500+a,s=a-r/200;let o=a**3,c=i**3,u=s**3;return a=o>.008856?o:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,i*=95.047,a*=100,s*=108.883,[i,a,s]};Z.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],i;i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360);let s=Math.sqrt(n*n+r*r);return[t,s,i]};Z.lch.lab=function(e){let t=e[0],n=e[1],i=e[2]/360*2*Math.PI,a=n*Math.cos(i),s=n*Math.sin(i);return[t,a,s]};Z.rgb.ansi16=function(e,t=null){let[n,r,i]=e,a=t===null?Z.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};Z.hsv.ansi16=function(e){return Z.rgb.ansi16(Z.hsv.rgb(e),e[2])};Z.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t===n&&n===r?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(r/255*5)};Z.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,r=(t&1)*n*255,i=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,i,a]};Z.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,r=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[n,r,i]};Z.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};Z.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 r=parseInt(n,16),i=r>>16&255,a=r>>8&255,s=r&255;return[i,a,s]};Z.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=i-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:i===t?c=(n-r)/s%6:i===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,o*100]};Z.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};Z.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};Z.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];let i=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};Z.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t),i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};Z.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};Z.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};Z.hwb.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=1-n,i=r-t,a=0;return i<1&&(a=(r-i)/(1-i)),[e[0],i*100,a*100]};Z.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};Z.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};Z.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};Z.gray.hsl=function(e){return[0,0,e[0]]};Z.gray.hsv=Z.gray.hsl;Z.gray.hwb=function(e){return[0,100,e[0]]};Z.gray.cmyk=function(e){return[0,0,0,e[0]]};Z.gray.lab=function(e){return[e[0],0,0]};Z.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};Z.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var ab=b((D4,ib)=>{var tc=xp();function VA(){let e={},t=Object.keys(tc);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function KA(e){let t=VA(),n=[e];for(t[e].distance=0;n.length;){let r=n.pop(),i=Object.keys(tc[r]);for(let a=i.length,s=0;s<a;s++){let o=i[s],c=t[o];c.distance===-1&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(o))}}return t}function ZA(e,t){return function(n){return t(e(n))}}function JA(e,t){let n=[t[e].parent,e],r=tc[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)n.unshift(t[i].parent),r=ZA(tc[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}ib.exports=function(e){let t=KA(e),n={},r=Object.keys(t);for(let i=r.length,a=0;a<i;a++){let s=r[a];t[s].parent!==null&&(n[s]=JA(s,t))}return n}});var ob=b((z4,sb)=>{var yp=xp(),QA=ab(),$i={},XA=Object.keys(yp);function ej(e){let t=function(...n){let r=n[0];return r==null?r:(r.length>1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function tj(e){let t=function(...n){let r=n[0];if(r==null)return r;r.length>1&&(n=r);let i=e(n);if(typeof i=="object")for(let a=i.length,s=0;s<a;s++)i[s]=Math.round(i[s]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}XA.forEach(e=>{$i[e]={},Object.defineProperty($i[e],"channels",{value:yp[e].channels}),Object.defineProperty($i[e],"labels",{value:yp[e].labels});let t=QA(e);Object.keys(t).forEach(r=>{let i=t[r];$i[e][r]=tj(i),$i[e][r].raw=ej(i)})});sb.exports=$i});var _p=b(($4,fb)=>{"use strict";var cb=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,lb=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};5;${r}m`},ub=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`},nc=e=>e,pb=(e,t,n)=>[e,t,n],Ui=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},wp,Wi=(e,t,n,r)=>{wp===void 0&&(wp=ob());let i=r?10:0,a={};for(let[s,o]of Object.entries(wp)){let c=s==="ansi16"?"ansi":s;s===t?a[c]=e(n,i):typeof o=="object"&&(a[c]=e(o[t],i))}return a};function nj(){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,r]of Object.entries(t)){for(let[i,a]of Object.entries(r))t[i]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},r[i]=t[i],e.set(a[0],a[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",Ui(t.color,"ansi",()=>Wi(cb,"ansi16",nc,!1)),Ui(t.color,"ansi256",()=>Wi(lb,"ansi256",nc,!1)),Ui(t.color,"ansi16m",()=>Wi(ub,"rgb",pb,!1)),Ui(t.bgColor,"ansi",()=>Wi(cb,"ansi16",nc,!0)),Ui(t.bgColor,"ansi256",()=>Wi(lb,"ansi256",nc,!0)),Ui(t.bgColor,"ansi16m",()=>Wi(ub,"rgb",pb,!0)),t}Object.defineProperty(fb,"exports",{enumerable:!0,get:nj})});var hb=b((U4,db)=>{"use strict";var rj=(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let i=t.length,a=0,s="";do s+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a);while(r!==-1);return s+=e.substr(a),s},ij=(e,t,n,r)=>{let i=0,a="";do{let s=e[r-1]==="\r";a+=e.substr(i,(s?r-1:r)-i)+t+(s?`\r
|
|
20
20
|
`:`
|
|
21
21
|
`)+n,i=r+1,r=e.indexOf(`
|
|
22
|
-
`,i)}while(r!==-1);return a+=e.substr(i),a};
|
|
23
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
24
|
-
`);return a!==-1&&(t=vA(t,i,r,a)),r+t+i},lp,wA=(e,...t)=>{let[n]=t;if(!Array.isArray(n))return t.join(" ");let r=t.slice(1),i=[n.raw[0]];for(let a=1;a<n.length;a++)i.push(String(r[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return lp===void 0&&(lp=H0()),lp(e,i.join(""))};Object.defineProperties(Uo.prototype,Li);var Ga=Uo();Ga.supportsColor=up;Ga.stderr=Uo({level:pp?pp.level:0});Ga.stderr.supportsColor=pp;Ga.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};V0.exports=Ga});var X0=b((q6,hp)=>{"use strict";var J0=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};hp.exports=J0;hp.exports.default=J0});var eb=b((B6,Ho)=>{"use strict";var _A=X0(),Wo=new WeakMap,Q0=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,r=0,i=e.displayName||e.name||"<anonymous>",a=function(...s){if(Wo.set(a,++r),r===1)n=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return n};return _A(a,e),Wo.set(a,r),a};Ho.exports=Q0;Ho.exports.default=Q0;Ho.exports.callCount=e=>{if(!Wo.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Wo.get(e)}});var tb=b((F6,Yo)=>{Yo.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Yo.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Yo.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var sb=b((D6,Fi)=>{var je=global.process,qr=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"};qr(je)?(nb=require("assert"),qi=tb(),rb=/^win/i.test(je.platform),Ka=require("events"),typeof Ka!="function"&&(Ka=Ka.EventEmitter),je.__signal_exit_emitter__?et=je.__signal_exit_emitter__:(et=je.__signal_exit_emitter__=new Ka,et.count=0,et.emitted={}),et.infinite||(et.setMaxListeners(1/0),et.infinite=!0),Fi.exports=function(e,t){if(!qr(global.process))return function(){};nb.equal(typeof e,"function","a callback must be provided for exit handler"),Bi===!1&&mp();var n="exit";t&&t.alwaysLast&&(n="afterexit");var r=function(){et.removeListener(n,e),et.listeners("exit").length===0&&et.listeners("afterexit").length===0&&Go()};return et.on(n,e),r},Go=function(){!Bi||!qr(global.process)||(Bi=!1,qi.forEach(function(t){try{je.removeListener(t,Ko[t])}catch{}}),je.emit=Vo,je.reallyExit=gp,et.count-=1)},Fi.exports.unload=Go,Br=function(t,n,r){et.emitted[t]||(et.emitted[t]=!0,et.emit(t,n,r))},Ko={},qi.forEach(function(e){Ko[e]=function(){if(!!qr(global.process)){var n=je.listeners(e);n.length===et.count&&(Go(),Br("exit",null,e),Br("afterexit",null,e),rb&&e==="SIGHUP"&&(e="SIGINT"),je.kill(je.pid,e))}}}),Fi.exports.signals=function(){return qi},Bi=!1,mp=function(){Bi||!qr(global.process)||(Bi=!0,et.count+=1,qi=qi.filter(function(t){try{return je.on(t,Ko[t]),!0}catch{return!1}}),je.emit=ab,je.reallyExit=ib)},Fi.exports.load=mp,gp=je.reallyExit,ib=function(t){!qr(global.process)||(je.exitCode=t||0,Br("exit",je.exitCode,null),Br("afterexit",je.exitCode,null),gp.call(je,je.exitCode))},Vo=je.emit,ab=function(t,n){if(t==="exit"&&qr(global.process)){n!==void 0&&(je.exitCode=n);var r=Vo.apply(this,arguments);return Br("exit",je.exitCode,null),Br("afterexit",je.exitCode,null),r}else return Vo.apply(this,arguments)}):Fi.exports=function(){return function(){}};var nb,qi,rb,Ka,et,Go,Br,Ko,Bi,mp,gp,ib,Vo,ab});var cb=b((z6,ob)=>{"use strict";var SA=eb(),EA=sb();ob.exports=SA(()=>{EA(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var lb=b(Di=>{"use strict";var OA=cb(),Zo=!1;Di.show=(e=process.stderr)=>{!e.isTTY||(Zo=!1,e.write("\x1B[?25h"))};Di.hide=(e=process.stderr)=>{!e.isTTY||(OA(),Zo=!0,e.write("\x1B[?25l"))};Di.toggle=(e,t)=>{e!==void 0&&(Zo=e),Zo?Di.show(t):Di.hide(t)}});var ub=b(($6,kA)=>{kA.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 db=b((W6,fb)=>{"use strict";var Jo=Object.assign({},ub()),pb=Object.keys(Jo);Object.defineProperty(Jo,"random",{get(){let e=Math.floor(Math.random()*pb.length),t=pb[e];return Jo[t]}});fb.exports=Jo});var mb=b((H6,hb)=>{"use strict";var TA=/[|\\{}()[\]^$+*?.]/g;hb.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(TA,"\\$&")}});var vb=b((Y6,gb)=>{"use strict";gb.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 vp=b((G6,wb)=>{var Fr=vb(),yb={};for(Xo in Fr)Fr.hasOwnProperty(Xo)&&(yb[Fr[Xo]]=Xo);var Xo,J=wb.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(xt in J)if(J.hasOwnProperty(xt)){if(!("channels"in J[xt]))throw new Error("missing channels property: "+xt);if(!("labels"in J[xt]))throw new Error("missing channel labels property: "+xt);if(J[xt].labels.length!==J[xt].channels)throw new Error("channel and label counts mismatch: "+xt);bb=J[xt].channels,xb=J[xt].labels,delete J[xt].channels,delete J[xt].labels,Object.defineProperty(J[xt],"channels",{value:bb}),Object.defineProperty(J[xt],"labels",{value:xb})}var bb,xb,xt;J.rgb.hsl=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=a-i,o,c,u;return a===i?o=0:t===a?o=(n-r)/s:n===a?o=2+(r-t)/s:r===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360),u=(i+a)/2,a===i?c=0:u<=.5?c=s/(a+i):c=s/(2-a-i),[o,c*100,u*100]};J.rgb.hsv=function(e){var t,n,r,i,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?i=a=0:(a=l/u,t=p(s),n=p(o),r=p(c),s===u?i=r-n:o===u?i=1/3+t-r:c===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,u*100]};J.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2],i=J.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,a*100,r*100]};J.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i,a,s,o;return o=Math.min(1-t,1-n,1-r),i=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,[i*100,a*100,s*100,o*100]};function CA(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}J.rgb.keyword=function(e){var t=yb[e];if(t)return t;var n=1/0,r;for(var i in Fr)if(Fr.hasOwnProperty(i)){var a=Fr[i],s=CA(e,a);s<n&&(n=s,r=i)}return r};J.keyword.rgb=function(e){return Fr[e]};J.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=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,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[i*100,a*100,s*100]};J.rgb.lab=function(e){var t=J.rgb.xyz(e),n=t[0],r=t[1],i=t[2],a,s,o;return n/=95.047,r/=100,i/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,a=116*r-16,s=500*(n-r),o=200*(r-i),[a,s,o]};J.hsl.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,s,o,c;if(n===0)return c=r*255,[c,c,c];r<.5?a=r*(1+n):a=r+n-r*n,i=2*r-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=i+(a-i)*6*s:2*s<1?c=a:3*s<2?c=i+(a-i)*(2/3-s)*6:c=i,o[u]=c*255;return o};J.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01),s,o;return r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a,o=(r+n)/2,s=r===0?2*i/(a+i):2*n/(r+n),[t,s*100,o*100]};J.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,s];case 1:return[o,r,s];case 2:return[s,r,c];case 3:return[s,o,r];case 4:return[c,s,r];case 5:return[r,s,o]}};J.hsv.hsl=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,s,o;return o=(2-n)*r,a=(2-n)*i,s=n*i,s/=a<=1?a:2-a,s=s||0,o/=2,[t,s*100,o*100]};J.hwb.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a,s,o,c;i>1&&(n/=i,r/=i),a=Math.floor(6*t),s=1-r,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]};J.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a,s,o;return a=1-Math.min(1,t*(1-i)+i),s=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),[a*255,s*255,o*255]};J.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,s;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*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,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[i*255,a*255,s*255]};J.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return t/=95.047,n/=100,r/=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,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=116*n-16,a=500*(t-n),s=200*(n-r),[i,a,s]};J.lab.xyz=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;a=(t+16)/116,i=n/500+a,s=a-r/200;var o=Math.pow(a,3),c=Math.pow(i,3),u=Math.pow(s,3);return a=o>.008856?o:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,i*=95.047,a*=100,s*=108.883,[i,a,s]};J.lab.lch=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return i=Math.atan2(r,n),a=i*360/2/Math.PI,a<0&&(a+=360),s=Math.sqrt(n*n+r*r),[t,s,a]};J.lch.lab=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return s=r/360*2*Math.PI,i=n*Math.cos(s),a=n*Math.sin(s),[t,i,a]};J.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:J.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return i===2&&(a+=60),a};J.hsv.ansi16=function(e){return J.rgb.ansi16(J.hsv.rgb(e),e[2])};J.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);return i};J.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,r=(t&1)*n*255,i=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,i,a]};J.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var n,r=Math.floor(e/36)/5*255,i=Math.floor((n=e%36)/6)/5*255,a=n%6/5*255;return[r,i,a]};J.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};J.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 r=parseInt(n,16),i=r>>16&255,a=r>>8&255,s=r&255;return[i,a,s]};J.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=i-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:i===t?c=(n-r)/s%6:i===n?c=2+(r-t)/s:c=4+(t-n)/s+4,c/=6,c%=1,[c*360,s*100,o*100]};J.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return n<.5?r=2*t*n:r=2*t*(1-n),r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};J.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};J.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];var i=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};J.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t),i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};J.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,r=n*(1-t)+.5*t,i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};J.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};J.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1-n,i=r-t,a=0;return i<1&&(a=(r-i)/(1-i)),[e[0],i*100,a*100]};J.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};J.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};J.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};J.gray.hsl=J.gray.hsv=function(e){return[0,0,e[0]]};J.gray.hwb=function(e){return[0,100,e[0]]};J.gray.cmyk=function(e){return[0,0,0,e[0]]};J.gray.lab=function(e){return[e[0],0,0]};J.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,n=(t<<16)+(t<<8)+t,r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r};J.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var Sb=b((K6,_b)=>{var Qo=vp();function AA(){for(var e={},t=Object.keys(Qo),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function jA(e){var t=AA(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(Qo[r]),a=i.length,s=0;s<a;s++){var o=i[s],c=t[o];c.distance===-1&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(o))}return t}function RA(e,t){return function(n){return t(e(n))}}function MA(e,t){for(var n=[t[e].parent,e],r=Qo[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=RA(Qo[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}_b.exports=function(e){for(var t=jA(e),n={},r=Object.keys(t),i=r.length,a=0;a<i;a++){var s=r[a],o=t[s];o.parent!==null&&(n[s]=MA(s,t))}return n}});var Ob=b((V6,Eb)=>{var bp=vp(),PA=Sb(),zi={},IA=Object.keys(bp);function NA(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 LA(e){var t=function(n){if(n==null)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var r=e(n);if(typeof r=="object")for(var i=r.length,a=0;a<i;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}IA.forEach(function(e){zi[e]={},Object.defineProperty(zi[e],"channels",{value:bp[e].channels}),Object.defineProperty(zi[e],"labels",{value:bp[e].labels});var t=PA(e),n=Object.keys(t);n.forEach(function(r){var i=t[r];zi[e][r]=LA(i),zi[e][r].raw=NA(i)})});Eb.exports=zi});var Tb=b((Z6,kb)=>{"use strict";var Ui=Ob(),ec=(e,t)=>function(){return`\x1B[${e.apply(Ui,arguments)+t}m`},tc=(e,t)=>function(){let n=e.apply(Ui,arguments);return`\x1B[${38+t};5;${n}m`},nc=(e,t)=>function(){let n=e.apply(Ui,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function qA(){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 i of Object.keys(t)){let a=t[i];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,i,{value:a,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let n=i=>i,r=(i,a,s)=>[i,a,s];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:ec(n,0)},t.color.ansi256={ansi256:tc(n,0)},t.color.ansi16m={rgb:nc(r,0)},t.bgColor.ansi={ansi:ec(n,10)},t.bgColor.ansi256={ansi256:tc(n,10)},t.bgColor.ansi16m={rgb:nc(r,10)};for(let i of Object.keys(Ui)){if(typeof Ui[i]!="object")continue;let a=Ui[i];i==="ansi16"&&(i="ansi"),"ansi16"in a&&(t.color.ansi[i]=ec(a.ansi16,0),t.bgColor.ansi[i]=ec(a.ansi16,10)),"ansi256"in a&&(t.color.ansi256[i]=tc(a.ansi256,0),t.bgColor.ansi256[i]=tc(a.ansi256,10)),"rgb"in a&&(t.color.ansi16m[i]=nc(a.rgb,0),t.bgColor.ansi16m[i]=nc(a.rgb,10))}return t}Object.defineProperty(kb,"exports",{enumerable:!0,get:qA})});var Ab=b((J6,Cb)=>{"use strict";Cb.exports=(e,t)=>{t=t||process.argv;let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return r!==-1&&(i===-1?!0:r<i)}});var Rb=b((X6,jb)=>{"use strict";var BA=require("os"),sn=Ab(),pt=process.env,$i;sn("no-color")||sn("no-colors")||sn("color=false")?$i=!1:(sn("color")||sn("colors")||sn("color=true")||sn("color=always"))&&($i=!0);"FORCE_COLOR"in pt&&($i=pt.FORCE_COLOR.length===0||parseInt(pt.FORCE_COLOR,10)!==0);function FA(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function DA(e){if($i===!1)return 0;if(sn("color=16m")||sn("color=full")||sn("color=truecolor"))return 3;if(sn("color=256"))return 2;if(e&&!e.isTTY&&$i!==!0)return 0;let t=$i?1:0;if(process.platform==="win32"){let n=BA.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 pt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in pt)||pt.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in pt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(pt.TEAMCITY_VERSION)?1:0;if(pt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in pt){let n=parseInt((pt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(pt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(pt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(pt.TERM)||"COLORTERM"in pt?1:(pt.TERM==="dumb",t)}function xp(e){let t=DA(e);return FA(t)}jb.exports={supportsColor:xp,stdout:xp(process.stdout),stderr:xp(process.stderr)}});var Lb=b((Q6,Nb)=>{"use strict";var zA=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Mb=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,UA=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,$A=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,WA=new Map([["n",`
|
|
25
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Ib(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):WA.get(e)||e}function HA(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),i;for(let a of r)if(!isNaN(a))n.push(Number(a));else if(i=a.match(UA))n.push(i[2].replace($A,(s,o,c)=>o?Ib(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function YA(e){Mb.lastIndex=0;let t=[],n;for(;(n=Mb.exec(e))!==null;){let r=n[1];if(n[2]){let i=HA(r,n[2]);t.push([r].concat(i))}else t.push([r])}return t}function Pb(e,t){let n={};for(let i of t)for(let a of i.styles)n[a[0]]=i.inverse?null:a.slice(1);let r=e;for(let i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);n[i].length>0?r=r[i].apply(r,n[i]):r=r[i]}return r}Nb.exports=(e,t)=>{let n=[],r=[],i=[];if(t.replace(zA,(a,s,o,c,u,l)=>{if(s)i.push(Ib(s));else if(c){let p=i.join("");i=[],r.push(n.length===0?p:Pb(e,n)(p)),n.push({inverse:o,styles:YA(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(Pb(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return r.join("")}});var zb=b((e4,Za)=>{"use strict";var wp=mb(),He=Tb(),yp=Rb().stdout,GA=Lb(),Bb=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),Fb=["ansi","ansi","ansi256","ansi16m"],Db=new Set(["gray"]),Wi=Object.create(null);function qb(e,t){t=t||{};let n=yp?yp.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 qb(t,e),t.template=function(){let n=[].slice.call(arguments);return ZA.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,Va.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Va,t.template}qb(this,e)}Bb&&(He.blue.open="\x1B[94m");for(let e of Object.keys(He))He[e].closeRe=new RegExp(wp(He[e].close),"g"),Wi[e]={get(){let t=He[e];return rc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Wi.visible={get(){return rc.call(this,this._styles||[],!0,"visible")}};He.color.closeRe=new RegExp(wp(He.color.close),"g");for(let e of Object.keys(He.color.ansi))Db.has(e)||(Wi[e]={get(){let t=this.level;return function(){let r={open:He.color[Fb[t]][e].apply(null,arguments),close:He.color.close,closeRe:He.color.closeRe};return rc.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});He.bgColor.closeRe=new RegExp(wp(He.bgColor.close),"g");for(let e of Object.keys(He.bgColor.ansi)){if(Db.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Wi[t]={get(){let n=this.level;return function(){let i={open:He.bgColor[Fb[n]][e].apply(null,arguments),close:He.bgColor.close,closeRe:He.bgColor.closeRe};return rc.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var KA=Object.defineProperties(()=>{},Wi);function rc(e,t,n){let r=function(){return VA.apply(r,arguments)};r._styles=e,r._empty=t;let i=this;return Object.defineProperty(r,"level",{enumerable:!0,get(){return i.level},set(a){i.level=a}}),Object.defineProperty(r,"enabled",{enumerable:!0,get(){return i.enabled},set(a){i.enabled=a}}),r.hasGrey=this.hasGrey||n==="gray"||n==="grey",r.__proto__=KA,r}function VA(){let e=arguments,t=e.length,n=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i<t;i++)n+=" "+e[i];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;let r=He.dim.open;Bb&&this.hasGrey&&(He.dim.open="");for(let i of this._styles.slice().reverse())n=i.open+n.replace(i.closeRe,i.open)+i.close,n=n.replace(/\r?\n/g,`${i.close}$&${i.open}`);return He.dim.open=r,n}function ZA(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let n=[].slice.call(arguments,2),r=[t.raw[0]];for(let i=1;i<t.length;i++)r.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[i]));return GA(e,r.join(""))}Object.defineProperties(Va.prototype,Wi);Za.exports=Va();Za.exports.supportsColor=yp;Za.exports.default=Za.exports});var $b=b((t4,Ub)=>{"use strict";var er=zb(),JA=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",XA={info:er.blue("\u2139"),success:er.green("\u2714"),warning:er.yellow("\u26A0"),error:er.red("\u2716")},QA={info:er.blue("i"),success:er.green("\u221A"),warning:er.yellow("\u203C"),error:er.red("\xD7")};Ub.exports=JA?XA:QA});var Hb=b((n4,Wb)=>{"use strict";Wb.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 Gb=b((r4,Yb)=>{"use strict";var ej=Hb();Yb.exports=e=>typeof e=="string"?e.replace(ej(),""):e});var Kb=b((i4,ic)=>{var tj=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 T=p.indexOf(g);if(T!=-1)return f[T];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 r(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=r;function i(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=i;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 ic=="object"&&ic.exports&&(ic.exports=tj)});var Zb=b((a4,Vb)=>{var nj=Kb();Vb.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=nj(t[n]))}),e}});var Xb=b((s4,Jb)=>{Jb.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 nx=b((o4,_p)=>{"use strict";var rj=Zb(),Ja=Xb(),ex={nul:0,control:0};_p.exports=function(t){return tx(t,ex)};_p.exports.config=function(e){return e=rj(e||{},ex),function(n){return tx(n,e)}};function tx(e,t){if(typeof e!="string")return Qb(e,t);for(var n=0,r=0;r<e.length;r++){var i=Qb(e.charCodeAt(r),t);if(i<0)return-1;n+=i}return n}function Qb(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:ij(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 ij(e){var t=0,n=Ja.length-1,r;if(e<Ja[0][0]||e>Ja[n][1])return!1;for(;n>=t;)if(r=Math.floor((t+n)/2),e>Ja[r][1])t=r+1;else if(e<Ja[r][0])n=r-1;else return!0;return!1}});var ix=b((c4,rx)=>{"use strict";rx.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var sx=b((l4,ax)=>{var Sp=require("stream");ax.exports=tt;function tt(e){Sp.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}tt.prototype=Object.create(Sp.prototype);Object.defineProperty(tt.prototype,"constructor",{value:tt,enumerable:!1});tt.prototype.mute=function(){this.muted=!0};tt.prototype.unmute=function(){this.muted=!1};Object.defineProperty(tt.prototype,"_onpipe",{value:aj,enumerable:!1,writable:!0,configurable:!0});function aj(e){this._src=e}Object.defineProperty(tt.prototype,"isTTY",{get:sj,set:oj,enumerable:!0,configurable:!0});function sj(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function oj(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(tt.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(tt.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});tt.prototype.pipe=function(e,t){return this._dest=e,Sp.prototype.pipe.call(this,e,t)};tt.prototype.pause=function(){if(this._src)return this._src.pause()};tt.prototype.resume=function(){if(this._src)return this._src.resume()};tt.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)};tt.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 Ep(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)}}tt.prototype.destroy=Ep("destroy");tt.prototype.destroySoon=Ep("destroySoon");tt.prototype.close=Ep("close")});var Tt=b((u4,Tp)=>{"use strict";var cj=require("readline"),lj=Z0(),ox=lb(),ac=db(),sc=$b(),uj=Gb(),pj=nx(),fj=ix(),dj=sx(),Op=Symbol("text"),oc=Symbol("prefixText"),hj=3,kp=class{constructor(){this.requests=0,this.mutedStream=new dj,this.mutedStream.pipe(process.stdout),this.mutedStream.mute();let t=this;this.ourEmit=function(n,r,...i){let{stdin:a}=process;if(t.requests>0||a.emit===t.ourEmit){if(n==="keypress")return;n==="data"&&r.includes(hj)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[n,r,...i])}else Reflect.apply(process.stdin.emit,this,[n,r,...i])}}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=cj.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)}},cc,lc=class{constructor(t){cc||(cc=new kp),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:fj({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=ac.line;else if(t===void 0)this._spinner=ac.dots;else if(ac[t])this._spinner=ac[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[Op]}get prefixText(){return this[oc]}get isSpinning(){return this.id!==void 0}updateLineCount(){let t=this.stream.columns||80,n=typeof this[oc]=="string"?this[oc]+"-":"";this.lineCount=uj(n+"--"+this[Op]).split(`
|
|
26
|
-
`).reduce((r,i)=>r+Math.max(1,Math.ceil(
|
|
27
|
-
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&
|
|
28
|
-
`),this}},
|
|
22
|
+
`,i)}while(r!==-1);return a+=e.substr(i),a};db.exports={stringReplaceAll:rj,stringEncaseCRLFWithFirstIndex:ij}});var xb=b((W4,bb)=>{"use strict";var aj=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,mb=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,sj=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,oj=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,cj=new Map([["n",`
|
|
23
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function vb(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)):cj.get(e)||e}function lj(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),i;for(let a of r){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(i=a.match(sj))n.push(i[2].replace(oj,(o,c,u)=>c?vb(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function uj(e){mb.lastIndex=0;let t=[],n;for(;(n=mb.exec(e))!==null;){let r=n[1];if(n[2]){let i=lj(r,n[2]);t.push([r].concat(i))}else t.push([r])}return t}function gb(e,t){let n={};for(let i of t)for(let a of i.styles)n[a[0]]=i.inverse?null:a.slice(1);let r=e;for(let[i,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);r=a.length>0?r[i](...a):r[i]}return r}bb.exports=(e,t)=>{let n=[],r=[],i=[];if(t.replace(aj,(a,s,o,c,u,l)=>{if(s)i.push(vb(s));else if(c){let p=i.join("");i=[],r.push(n.length===0?p:gb(e,n)(p)),n.push({inverse:o,styles:uj(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(gb(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return r.join("")}});var Eb=b((H4,Sb)=>{"use strict";var rs=_p(),{stdout:Ep,stderr:Op}=$o(),{stringReplaceAll:pj,stringEncaseCRLFWithFirstIndex:fj}=hb(),yb=["ansi","ansi","ansi256","ansi16m"],Hi=Object.create(null),dj=(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=Ep?Ep.level:0;e.level=t.level===void 0?n:t.level},kp=class{constructor(t){return wb(t)}},wb=e=>{let t={};return dj(t,e),t.template=(...n)=>gj(t.template,...n),Object.setPrototypeOf(t,rc.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=kp,t.template};function rc(e){return wb(e)}for(let[e,t]of Object.entries(rs))Hi[e]={get(){let n=ic(this,Tp(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Hi.visible={get(){let e=ic(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var _b=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of _b)Hi[e]={get(){let{level:t}=this;return function(...n){let r=Tp(rs.color[yb[t]][e](...n),rs.color.close,this._styler);return ic(this,r,this._isEmpty)}}};for(let e of _b){let t="bg"+e[0].toUpperCase()+e.slice(1);Hi[t]={get(){let{level:n}=this;return function(...r){let i=Tp(rs.bgColor[yb[n]][e](...r),rs.bgColor.close,this._styler);return ic(this,i,this._isEmpty)}}}}var hj=Object.defineProperties(()=>{},{...Hi,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Tp=(e,t,n)=>{let r,i;return n===void 0?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},ic=(e,t,n)=>{let r=(...i)=>mj(r,i.length===1?""+i[0]:i.join(" "));return r.__proto__=hj,r._generator=e,r._styler=t,r._isEmpty=n,r},mj=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:r,closeAll:i}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=pj(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
24
|
+
`);return a!==-1&&(t=fj(t,i,r,a)),r+t+i},Sp,gj=(e,...t)=>{let[n]=t;if(!Array.isArray(n))return t.join(" ");let r=t.slice(1),i=[n.raw[0]];for(let a=1;a<n.length;a++)i.push(String(r[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return Sp===void 0&&(Sp=xb()),Sp(e,i.join(""))};Object.defineProperties(rc.prototype,Hi);var is=rc();is.supportsColor=Ep;is.stderr=rc({level:Op?Op.level:0});is.stderr.supportsColor=Op;is.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};Sb.exports=is});var kb=b((Y4,Cp)=>{"use strict";var Ob=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};Cp.exports=Ob;Cp.exports.default=Ob});var Cb=b((G4,sc)=>{"use strict";var vj=kb(),ac=new WeakMap,Tb=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,r=0,i=e.displayName||e.name||"<anonymous>",a=function(...s){if(ac.set(a,++r),r===1)n=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return n};return vj(a,e),ac.set(a,r),a};sc.exports=Tb;sc.exports.default=Tb;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 Ab=b((V4,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 Pb=b((K4,Vi)=>{var Me=global.process,Ur=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"};Ur(Me)?(jb=require("assert"),Yi=Ab(),Rb=/^win/i.test(Me.platform),as=require("events"),typeof as!="function"&&(as=as.EventEmitter),Me.__signal_exit_emitter__?it=Me.__signal_exit_emitter__:(it=Me.__signal_exit_emitter__=new as,it.count=0,it.emitted={}),it.infinite||(it.setMaxListeners(1/0),it.infinite=!0),Vi.exports=function(e,t){if(!Ur(global.process))return function(){};jb.equal(typeof e,"function","a callback must be provided for exit handler"),Gi===!1&&Ap();var n="exit";t&&t.alwaysLast&&(n="afterexit");var r=function(){it.removeListener(n,e),it.listeners("exit").length===0&&it.listeners("afterexit").length===0&&cc()};return it.on(n,e),r},cc=function(){!Gi||!Ur(global.process)||(Gi=!1,Yi.forEach(function(t){try{Me.removeListener(t,lc[t])}catch{}}),Me.emit=uc,Me.reallyExit=jp,it.count-=1)},Vi.exports.unload=cc,Wr=function(t,n,r){it.emitted[t]||(it.emitted[t]=!0,it.emit(t,n,r))},lc={},Yi.forEach(function(e){lc[e]=function(){if(!!Ur(global.process)){var n=Me.listeners(e);n.length===it.count&&(cc(),Wr("exit",null,e),Wr("afterexit",null,e),Rb&&e==="SIGHUP"&&(e="SIGINT"),Me.kill(Me.pid,e))}}}),Vi.exports.signals=function(){return Yi},Gi=!1,Ap=function(){Gi||!Ur(global.process)||(Gi=!0,it.count+=1,Yi=Yi.filter(function(t){try{return Me.on(t,lc[t]),!0}catch{return!1}}),Me.emit=Ib,Me.reallyExit=Mb)},Vi.exports.load=Ap,jp=Me.reallyExit,Mb=function(t){!Ur(global.process)||(Me.exitCode=t||0,Wr("exit",Me.exitCode,null),Wr("afterexit",Me.exitCode,null),jp.call(Me,Me.exitCode))},uc=Me.emit,Ib=function(t,n){if(t==="exit"&&Ur(global.process)){n!==void 0&&(Me.exitCode=n);var r=uc.apply(this,arguments);return Wr("exit",Me.exitCode,null),Wr("afterexit",Me.exitCode,null),r}else return uc.apply(this,arguments)}):Vi.exports=function(){return function(){}};var jb,Yi,Rb,as,it,cc,Wr,lc,Gi,Ap,jp,Mb,uc,Ib});var Lb=b((Z4,Nb)=>{"use strict";var bj=Cb(),xj=Pb();Nb.exports=bj(()=>{xj(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var qb=b(Ki=>{"use strict";var yj=Lb(),pc=!1;Ki.show=(e=process.stderr)=>{!e.isTTY||(pc=!1,e.write("\x1B[?25h"))};Ki.hide=(e=process.stderr)=>{!e.isTTY||(yj(),pc=!0,e.write("\x1B[?25l"))};Ki.toggle=(e,t)=>{e!==void 0&&(pc=e),pc?Ki.show(t):Ki.hide(t)}});var Bb=b((Q4,wj)=>{wj.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 zb=b((X4,Db)=>{"use strict";var fc=Object.assign({},Bb()),Fb=Object.keys(fc);Object.defineProperty(fc,"random",{get(){let e=Math.floor(Math.random()*Fb.length),t=Fb[e];return fc[t]}});Db.exports=fc});var Ub=b((eF,$b)=>{"use strict";var _j=/[|\\{}()[\]^$+*?.]/g;$b.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(_j,"\\$&")}});var Hb=b((tF,Wb)=>{"use strict";Wb.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 Rp=b((nF,Kb)=>{var Hr=Hb(),Vb={};for(dc in Hr)Hr.hasOwnProperty(dc)&&(Vb[Hr[dc]]=dc);var dc,J=Kb.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(Et in J)if(J.hasOwnProperty(Et)){if(!("channels"in J[Et]))throw new Error("missing channels property: "+Et);if(!("labels"in J[Et]))throw new Error("missing channel labels property: "+Et);if(J[Et].labels.length!==J[Et].channels)throw new Error("channel and label counts mismatch: "+Et);Yb=J[Et].channels,Gb=J[Et].labels,delete J[Et].channels,delete J[Et].labels,Object.defineProperty(J[Et],"channels",{value:Yb}),Object.defineProperty(J[Et],"labels",{value:Gb})}var Yb,Gb,Et;J.rgb.hsl=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=a-i,o,c,u;return a===i?o=0:t===a?o=(n-r)/s:n===a?o=2+(r-t)/s:r===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360),u=(i+a)/2,a===i?c=0:u<=.5?c=s/(a+i):c=s/(2-a-i),[o,c*100,u*100]};J.rgb.hsv=function(e){var t,n,r,i,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?i=a=0:(a=l/u,t=p(s),n=p(o),r=p(c),s===u?i=r-n:o===u?i=1/3+t-r:c===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,a*100,u*100]};J.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2],i=J.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,a*100,r*100]};J.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i,a,s,o;return o=Math.min(1-t,1-n,1-r),i=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,[i*100,a*100,s*100,o*100]};function Sj(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}J.rgb.keyword=function(e){var t=Vb[e];if(t)return t;var n=1/0,r;for(var i in Hr)if(Hr.hasOwnProperty(i)){var a=Hr[i],s=Sj(e,a);s<n&&(n=s,r=i)}return r};J.keyword.rgb=function(e){return Hr[e]};J.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=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,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[i*100,a*100,s*100]};J.rgb.lab=function(e){var t=J.rgb.xyz(e),n=t[0],r=t[1],i=t[2],a,s,o;return n/=95.047,r/=100,i/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,a=116*r-16,s=500*(n-r),o=200*(r-i),[a,s,o]};J.hsl.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,s,o,c;if(n===0)return c=r*255,[c,c,c];r<.5?a=r*(1+n):a=r+n-r*n,i=2*r-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=i+(a-i)*6*s:2*s<1?c=a:3*s<2?c=i+(a-i)*(2/3-s)*6:c=i,o[u]=c*255;return o};J.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01),s,o;return r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a,o=(r+n)/2,s=r===0?2*i/(a+i):2*n/(r+n),[t,s*100,o*100]};J.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),o=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,s];case 1:return[o,r,s];case 2:return[s,r,c];case 3:return[s,o,r];case 4:return[c,s,r];case 5:return[r,s,o]}};J.hsv.hsl=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,s,o;return o=(2-n)*r,a=(2-n)*i,s=n*i,s/=a<=1?a:2-a,s=s||0,o/=2,[t,s*100,o*100]};J.hwb.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a,s,o,c;i>1&&(n/=i,r/=i),a=Math.floor(6*t),s=1-r,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]};J.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a,s,o;return a=1-Math.min(1,t*(1-i)+i),s=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),[a*255,s*255,o*255]};J.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,s;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*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,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[i*255,a*255,s*255]};J.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return t/=95.047,n/=100,r/=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,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=116*n-16,a=500*(t-n),s=200*(n-r),[i,a,s]};J.lab.xyz=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;a=(t+16)/116,i=n/500+a,s=a-r/200;var o=Math.pow(a,3),c=Math.pow(i,3),u=Math.pow(s,3);return a=o>.008856?o:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,i*=95.047,a*=100,s*=108.883,[i,a,s]};J.lab.lch=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return i=Math.atan2(r,n),a=i*360/2/Math.PI,a<0&&(a+=360),s=Math.sqrt(n*n+r*r),[t,s,a]};J.lch.lab=function(e){var t=e[0],n=e[1],r=e[2],i,a,s;return s=r/360*2*Math.PI,i=n*Math.cos(s),a=n*Math.sin(s),[t,i,a]};J.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:J.rgb.hsv(e)[2];if(i=Math.round(i/50),i===0)return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return i===2&&(a+=60),a};J.hsv.ansi16=function(e){return J.rgb.ansi16(J.hsv.rgb(e),e[2])};J.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);return i};J.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,r=(t&1)*n*255,i=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,i,a]};J.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var n,r=Math.floor(e/36)/5*255,i=Math.floor((n=e%36)/6)/5*255,a=n%6/5*255;return[r,i,a]};J.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};J.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 r=parseInt(n,16),i=r>>16&255,a=r>>8&255,s=r&255;return[i,a,s]};J.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=i-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:i===t?c=(n-r)/s%6:i===n?c=2+(r-t)/s:c=4+(t-n)/s+4,c/=6,c%=1,[c*360,s*100,o*100]};J.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return n<.5?r=2*t*n:r=2*t*(1-n),r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};J.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};J.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];var i=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};J.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t),i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};J.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,r=n*(1-t)+.5*t,i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};J.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};J.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1-n,i=r-t,a=0;return i<1&&(a=(r-i)/(1-i)),[e[0],i*100,a*100]};J.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};J.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};J.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};J.gray.hsl=J.gray.hsv=function(e){return[0,0,e[0]]};J.gray.hwb=function(e){return[0,100,e[0]]};J.gray.cmyk=function(e){return[0,0,0,e[0]]};J.gray.lab=function(e){return[e[0],0,0]};J.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,n=(t<<16)+(t<<8)+t,r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r};J.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var Jb=b((rF,Zb)=>{var hc=Rp();function Ej(){for(var e={},t=Object.keys(hc),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function Oj(e){var t=Ej(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(hc[r]),a=i.length,s=0;s<a;s++){var o=i[s],c=t[o];c.distance===-1&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(o))}return t}function kj(e,t){return function(n){return t(e(n))}}function Tj(e,t){for(var n=[t[e].parent,e],r=hc[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=kj(hc[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}Zb.exports=function(e){for(var t=Oj(e),n={},r=Object.keys(t),i=r.length,a=0;a<i;a++){var s=r[a],o=t[s];o.parent!==null&&(n[s]=Tj(s,t))}return n}});var Xb=b((iF,Qb)=>{var Mp=Rp(),Cj=Jb(),Zi={},Aj=Object.keys(Mp);function jj(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 Rj(e){var t=function(n){if(n==null)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var r=e(n);if(typeof r=="object")for(var i=r.length,a=0;a<i;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}Aj.forEach(function(e){Zi[e]={},Object.defineProperty(Zi[e],"channels",{value:Mp[e].channels}),Object.defineProperty(Zi[e],"labels",{value:Mp[e].labels});var t=Cj(e),n=Object.keys(t);n.forEach(function(r){var i=t[r];Zi[e][r]=Rj(i),Zi[e][r].raw=jj(i)})});Qb.exports=Zi});var tx=b((aF,ex)=>{"use strict";var Ji=Xb(),mc=(e,t)=>function(){return`\x1B[${e.apply(Ji,arguments)+t}m`},gc=(e,t)=>function(){let n=e.apply(Ji,arguments);return`\x1B[${38+t};5;${n}m`},vc=(e,t)=>function(){let n=e.apply(Ji,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function Mj(){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 i of Object.keys(t)){let a=t[i];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,i,{value:a,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let n=i=>i,r=(i,a,s)=>[i,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(r,0)},t.bgColor.ansi={ansi:mc(n,10)},t.bgColor.ansi256={ansi256:gc(n,10)},t.bgColor.ansi16m={rgb:vc(r,10)};for(let i of Object.keys(Ji)){if(typeof Ji[i]!="object")continue;let a=Ji[i];i==="ansi16"&&(i="ansi"),"ansi16"in a&&(t.color.ansi[i]=mc(a.ansi16,0),t.bgColor.ansi[i]=mc(a.ansi16,10)),"ansi256"in a&&(t.color.ansi256[i]=gc(a.ansi256,0),t.bgColor.ansi256[i]=gc(a.ansi256,10)),"rgb"in a&&(t.color.ansi16m[i]=vc(a.rgb,0),t.bgColor.ansi16m[i]=vc(a.rgb,10))}return t}Object.defineProperty(ex,"exports",{enumerable:!0,get:Mj})});var rx=b((sF,nx)=>{"use strict";nx.exports=(e,t)=>{t=t||process.argv;let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return r!==-1&&(i===-1?!0:r<i)}});var ax=b((oF,ix)=>{"use strict";var Ij=require("os"),un=rx(),gt=process.env,Qi;un("no-color")||un("no-colors")||un("color=false")?Qi=!1:(un("color")||un("colors")||un("color=true")||un("color=always"))&&(Qi=!0);"FORCE_COLOR"in gt&&(Qi=gt.FORCE_COLOR.length===0||parseInt(gt.FORCE_COLOR,10)!==0);function Pj(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Nj(e){if(Qi===!1)return 0;if(un("color=16m")||un("color=full")||un("color=truecolor"))return 3;if(un("color=256"))return 2;if(e&&!e.isTTY&&Qi!==!0)return 0;let t=Qi?1:0;if(process.platform==="win32"){let n=Ij.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 gt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in gt)||gt.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in gt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(gt.TEAMCITY_VERSION)?1:0;if(gt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in gt){let n=parseInt((gt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(gt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(gt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(gt.TERM)||"COLORTERM"in gt?1:(gt.TERM==="dumb",t)}function Ip(e){let t=Nj(e);return Pj(t)}ix.exports={supportsColor:Ip,stdout:Ip(process.stdout),stderr:Ip(process.stderr)}});var ux=b((cF,lx)=>{"use strict";var Lj=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,sx=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,qj=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Bj=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Fj=new Map([["n",`
|
|
25
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function cx(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):Fj.get(e)||e}function Dj(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),i;for(let a of r)if(!isNaN(a))n.push(Number(a));else if(i=a.match(qj))n.push(i[2].replace(Bj,(s,o,c)=>o?cx(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function zj(e){sx.lastIndex=0;let t=[],n;for(;(n=sx.exec(e))!==null;){let r=n[1];if(n[2]){let i=Dj(r,n[2]);t.push([r].concat(i))}else t.push([r])}return t}function ox(e,t){let n={};for(let i of t)for(let a of i.styles)n[a[0]]=i.inverse?null:a.slice(1);let r=e;for(let i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);n[i].length>0?r=r[i].apply(r,n[i]):r=r[i]}return r}lx.exports=(e,t)=>{let n=[],r=[],i=[];if(t.replace(Lj,(a,s,o,c,u,l)=>{if(s)i.push(cx(s));else if(c){let p=i.join("");i=[],r.push(n.length===0?p:ox(e,n)(p)),n.push({inverse:o,styles:zj(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(ox(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return r.join("")}});var mx=b((lF,os)=>{"use strict";var Np=Ub(),Ve=tx(),Pp=ax().stdout,$j=ux(),fx=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),dx=["ansi","ansi","ansi256","ansi16m"],hx=new Set(["gray"]),Xi=Object.create(null);function px(e,t){t=t||{};let n=Pp?Pp.level:0;e.level=t.level===void 0?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function ss(e){if(!this||!(this instanceof ss)||this.template){let t={};return px(t,e),t.template=function(){let n=[].slice.call(arguments);return Hj.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,ss.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=ss,t.template}px(this,e)}fx&&(Ve.blue.open="\x1B[94m");for(let e of Object.keys(Ve))Ve[e].closeRe=new RegExp(Np(Ve[e].close),"g"),Xi[e]={get(){let t=Ve[e];return bc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Xi.visible={get(){return bc.call(this,this._styles||[],!0,"visible")}};Ve.color.closeRe=new RegExp(Np(Ve.color.close),"g");for(let e of Object.keys(Ve.color.ansi))hx.has(e)||(Xi[e]={get(){let t=this.level;return function(){let r={open:Ve.color[dx[t]][e].apply(null,arguments),close:Ve.color.close,closeRe:Ve.color.closeRe};return bc.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});Ve.bgColor.closeRe=new RegExp(Np(Ve.bgColor.close),"g");for(let e of Object.keys(Ve.bgColor.ansi)){if(hx.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Xi[t]={get(){let n=this.level;return function(){let i={open:Ve.bgColor[dx[n]][e].apply(null,arguments),close:Ve.bgColor.close,closeRe:Ve.bgColor.closeRe};return bc.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}}var Uj=Object.defineProperties(()=>{},Xi);function bc(e,t,n){let r=function(){return Wj.apply(r,arguments)};r._styles=e,r._empty=t;let i=this;return Object.defineProperty(r,"level",{enumerable:!0,get(){return i.level},set(a){i.level=a}}),Object.defineProperty(r,"enabled",{enumerable:!0,get(){return i.enabled},set(a){i.enabled=a}}),r.hasGrey=this.hasGrey||n==="gray"||n==="grey",r.__proto__=Uj,r}function Wj(){let e=arguments,t=e.length,n=String(arguments[0]);if(t===0)return"";if(t>1)for(let i=1;i<t;i++)n+=" "+e[i];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;let r=Ve.dim.open;fx&&this.hasGrey&&(Ve.dim.open="");for(let i of this._styles.slice().reverse())n=i.open+n.replace(i.closeRe,i.open)+i.close,n=n.replace(/\r?\n/g,`${i.close}$&${i.open}`);return Ve.dim.open=r,n}function Hj(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let n=[].slice.call(arguments,2),r=[t.raw[0]];for(let i=1;i<t.length;i++)r.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[i]));return $j(e,r.join(""))}Object.defineProperties(ss.prototype,Xi);os.exports=ss();os.exports.supportsColor=Pp;os.exports.default=os.exports});var vx=b((uF,gx)=>{"use strict";var ir=mx(),Yj=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",Gj={info:ir.blue("\u2139"),success:ir.green("\u2714"),warning:ir.yellow("\u26A0"),error:ir.red("\u2716")},Vj={info:ir.blue("i"),success:ir.green("\u221A"),warning:ir.yellow("\u203C"),error:ir.red("\xD7")};gx.exports=Yj?Gj:Vj});var xx=b((pF,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 wx=b((fF,yx)=>{"use strict";var Kj=xx();yx.exports=e=>typeof e=="string"?e.replace(Kj(),""):e});var _x=b((dF,xc)=>{var Zj=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=[],d=typeof Buffer<"u";typeof o>"u"&&(o=!0),typeof c>"u"&&(c=1/0);function v(g,h){if(g===null)return null;if(h==0)return g;var x,w;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(d&&Buffer.isBuffer(g))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(g.length):x=new Buffer(g.length),g.copy(x),x;typeof u>"u"?(w=Object.getPrototypeOf(g),x=Object.create(w)):(x=Object.create(u),w=u)}if(o){var T=p.indexOf(g);if(T!=-1)return f[T];p.push(g),f.push(x)}for(var k in g){var O;w&&(O=Object.getOwnPropertyDescriptor(w,k)),!(O&&O.set==null)&&(x[k]=v(g[k],h-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 r(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=r;function i(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=i;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=Zj)});var Ex=b((hF,Sx)=>{var Jj=_x();Sx.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=Jj(t[n]))}),e}});var kx=b((mF,Ox)=>{Ox.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((gF,Lp)=>{"use strict";var Qj=Ex(),cs=kx(),Cx={nul:0,control:0};Lp.exports=function(t){return Ax(t,Cx)};Lp.exports.config=function(e){return e=Qj(e||{},Cx),function(n){return Ax(n,e)}};function Ax(e,t){if(typeof e!="string")return Tx(e,t);for(var n=0,r=0;r<e.length;r++){var i=Tx(e.charCodeAt(r),t);if(i<0)return-1;n+=i}return n}function Tx(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Xj(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 Xj(e){var t=0,n=cs.length-1,r;if(e<cs[0][0]||e>cs[n][1])return!1;for(;n>=t;)if(r=Math.floor((t+n)/2),e>cs[r][1])t=r+1;else if(e<cs[r][0])n=r-1;else return!0;return!1}});var Mx=b((vF,Rx)=>{"use strict";Rx.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var Px=b((bF,Ix)=>{var qp=require("stream");Ix.exports=at;function at(e){qp.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}at.prototype=Object.create(qp.prototype);Object.defineProperty(at.prototype,"constructor",{value:at,enumerable:!1});at.prototype.mute=function(){this.muted=!0};at.prototype.unmute=function(){this.muted=!1};Object.defineProperty(at.prototype,"_onpipe",{value:e5,enumerable:!1,writable:!0,configurable:!0});function e5(e){this._src=e}Object.defineProperty(at.prototype,"isTTY",{get:t5,set:n5,enumerable:!0,configurable:!0});function t5(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function n5(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(at.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(at.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});at.prototype.pipe=function(e,t){return this._dest=e,qp.prototype.pipe.call(this,e,t)};at.prototype.pause=function(){if(this._src)return this._src.pause()};at.prototype.resume=function(){if(this._src)return this._src.resume()};at.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)};at.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 Bp(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)}}at.prototype.destroy=Bp("destroy");at.prototype.destroySoon=Bp("destroySoon");at.prototype.close=Bp("close")});var Ot=b((xF,zp)=>{"use strict";var r5=require("readline"),i5=Eb(),Nx=qb(),yc=zb(),wc=vx(),a5=wx(),s5=jx(),o5=Mx(),c5=Px(),Fp=Symbol("text"),_c=Symbol("prefixText"),l5=3,Dp=class{constructor(){this.requests=0,this.mutedStream=new c5,this.mutedStream.pipe(process.stdout),this.mutedStream.mute();let t=this;this.ourEmit=function(n,r,...i){let{stdin:a}=process;if(t.requests>0||a.emit===t.ourEmit){if(n==="keypress")return;n==="data"&&r.includes(l5)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[n,r,...i])}else Reflect.apply(process.stdin.emit,this,[n,r,...i])}}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=r5.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 Dp),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:o5({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[Fp]}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=a5(n+"--"+this[Fp]).split(`
|
|
26
|
+
`).reduce((r,i)=>r+Math.max(1,Math.ceil(s5(i)/t)),0)}set text(t){this[Fp]=t,this.updateLineCount()}set prefixText(t){this[_c]=t,this.updateLineCount()}frame(){let{frames:t}=this.spinner,n=t[this.frameIndex];this.color&&(n=i5[this.color](n)),this.frameIndex=++this.frameIndex%t.length;let r=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",i=typeof this.text=="string"?" "+this.text:"";return r+n+i}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&&Nx.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}
|
|
27
|
+
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&Nx.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,r=typeof n=="string"&&n!==""?n+" ":"",i=t.text||this.text,a=typeof i=="string"?" "+i:"";return this.stop(),this.stream.write(`${r}${t.symbol||" "}${a}
|
|
28
|
+
`),this}},u5=function(e){return new Ec(e)};zp.exports=u5;zp.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 Hx=b((SF,Wx)=>{"use strict";var f5=(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let i=t.length,a=0,s="";do s+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a);while(r!==-1);return s+=e.substr(a),s},d5=(e,t,n,r)=>{let i=0,a="";do{let s=e[r-1]==="\r";a+=e.substr(i,(s?r-1:r)-i)+t+(s?`\r
|
|
29
29
|
`:`
|
|
30
30
|
`)+n,i=r+1,r=e.indexOf(`
|
|
31
|
-
`,i)}while(r!==-1);return a+=e.substr(i),a};
|
|
32
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
33
|
-
`);return a!==-1&&(t=
|
|
34
|
-
`),function(o){if(a=o.indexOf(":"),r=zp.trim(o.substr(0,a)).toLowerCase(),i=zp.trim(o.substr(a+1)),r){if(n[r]&&Jj.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n}});var ey=b((j4,Qx)=>{"use strict";var Xx=yt();Qx.exports=Xx.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(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 r=i(window.location.href),function(s){var o=Xx.isString(s)?i(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}()});var Gi=b((R4,ty)=>{"use strict";function Up(e){this.message=e}Up.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Up.prototype.__CANCEL__=!0;ty.exports=Up});var ry=b((M4,ny)=>{"use strict";var Sc=yt(),Xj=Fp(),Qj=Wx(),e5=bc(),t5=Dp(),n5=Jx(),r5=ey(),$p=wc(),i5=Ki(),a5=Gi();ny.exports=function(t){return new Promise(function(r,i){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)}Sc.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=t5(t.baseURL,t.url);l.open(t.method.toUpperCase(),e5(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?n5(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};Xj(function(k){r(k),u()},function(k){i(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||(i($p("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i($p("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||i5.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),i($p(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Sc.isStandardBrowserEnv()){var g=(t.withCredentials||r5(m))&&t.xsrfCookieName?Qj.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Sc.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),Sc.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||(i(!d||d&&d.type?new a5("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 Ec=b((P4,iy)=>{iy.exports={version:"0.24.0"}});var uy=b((I4,ly)=>{"use strict";var es=yt(),ay=Fp(),s5=Dp(),o5=bc(),c5=require("http"),l5=require("https"),u5=za().http,p5=za().https,sy=require("url"),f5=require("zlib"),d5=Ec().version,Oc=wc(),Wp=yc(),h5=Ki(),m5=Gi(),oy=/https:?/;function cy(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(a){a.headers.host=a.host,cy(a,t,a.href)}}ly.exports=function(t){return new Promise(function(r,i){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(K){s(),r(K)},c=function(K){s(),i(K)},u=t.data,l=t.headers,p={};if(Object.keys(l).forEach(function(K){p[K.toLowerCase()]=K}),"user-agent"in p?l[p["user-agent"]]||delete l[p["user-agent"]]:l["User-Agent"]="axios/"+d5,u&&!es.isStream(u)){if(!Buffer.isBuffer(u))if(es.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(es.isString(u))u=Buffer.from(u,"utf-8");else return c(Oc("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=s5(t.baseURL,t.url),d=sy.parse(g),x=d.protocol||"http:";if(!f&&d.auth){var _=d.auth.split(":"),T=_[0]||"",k=_[1]||"";f=T+":"+k}f&&p.authorization&&delete l[p.authorization];var O=oy.test(x),D=O?t.httpsAgent:t.httpAgent,B={path:o5(d.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:l,agent:D,agents:{http:t.httpAgent,https:t.httpsAgent},auth:f};t.socketPath?B.socketPath=t.socketPath:(B.hostname=d.hostname,B.port=d.port);var N=t.proxy;if(!N&&N!==!1){var W=x.slice(0,-1)+"_proxy",F=process.env[W]||process.env[W.toUpperCase()];if(F){var q=sy.parse(F),M=process.env.no_proxy||process.env.NO_PROXY,R=!0;if(M){var L=M.split(",").map(function(K){return K.trim()});R=!L.some(function(K){return K?K==="*"||K[0]==="."&&d.hostname.substr(d.hostname.length-K.length)===K?!0:d.hostname===K:!1})}if(R&&(N={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var G=q.auth.split(":");N.auth={username:G[0],password:G[1]}}}}N&&(B.headers.host=d.hostname+(d.port?":"+d.port:""),cy(B,N,x+"//"+d.hostname+(d.port?":"+d.port:"")+B.path));var ue,be=O&&(N?oy.test(N.protocol):!0);t.transport?ue=t.transport:t.maxRedirects===0?ue=be?l5:c5:(t.maxRedirects&&(B.maxRedirects=t.maxRedirects),ue=be?p5:u5),t.maxBodyLength>-1&&(B.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(B.insecureHTTPParser=t.insecureHTTPParser);var ee=ue.request(B,function(K){if(!ee.aborted){var de=K,ae=K.req||ee;if(K.statusCode!==204&&ae.method!=="HEAD"&&t.decompress!==!1)switch(K.headers["content-encoding"]){case"gzip":case"compress":case"deflate":de=de.pipe(f5.createUnzip()),delete K.headers["content-encoding"];break}var $={status:K.statusCode,statusText:K.statusMessage,headers:K.headers,config:t,request:ae};if(t.responseType==="stream")$.data=de,ay(o,c,$);else{var mt=[],Ht=0;de.on("data",function(le){mt.push(le),Ht+=le.length,t.maxContentLength>-1&&Ht>t.maxContentLength&&(de.destroy(),c(Oc("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ae)))}),de.on("error",function(le){ee.aborted||c(Wp(le,t,null,ae))}),de.on("end",function(){var le=Buffer.concat(mt);t.responseType!=="arraybuffer"&&(le=le.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(le=es.stripBOM(le))),$.data=le,ay(o,c,$)})}}});if(ee.on("error",function(K){ee.aborted&&K.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(Wp(K,t,null,ee))}),t.timeout){var Ee=parseInt(t.timeout,10);if(isNaN(Ee)){c(Oc("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",ee));return}ee.setTimeout(Ee,function(){ee.abort();var K=t.transitional||h5.transitional;c(Oc("timeout of "+Ee+"ms exceeded",t,K.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",ee))})}(t.cancelToken||t.signal)&&(a=function(pe){ee.aborted||(ee.abort(),c(!pe||pe&&pe.type?new m5("canceled"):pe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),es.isStream(u)?u.on("error",function(K){c(Wp(K,t,null,ee))}).pipe(ee):ee.end(u)})}});var Ki=b((N4,dy)=>{"use strict";var st=yt(),py=Fx(),g5=yc(),v5={"Content-Type":"application/x-www-form-urlencoded"};function fy(e,t){!st.isUndefined(e)&&st.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function b5(){var e;return typeof XMLHttpRequest<"u"?e=ry():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=uy()),e}function x5(e,t,n){if(st.isString(e))try{return(t||JSON.parse)(e),st.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var kc={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:b5(),transformRequest:[function(t,n){return py(n,"Accept"),py(n,"Content-Type"),st.isFormData(t)||st.isArrayBuffer(t)||st.isBuffer(t)||st.isStream(t)||st.isFile(t)||st.isBlob(t)?t:st.isArrayBufferView(t)?t.buffer:st.isURLSearchParams(t)?(fy(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):st.isObject(t)||n&&n["Content-Type"]==="application/json"?(fy(n,"application/json"),x5(t)):t}],transformResponse:[function(t){var n=this.transitional||kc.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&st.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?g5(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, */*"}}};st.forEach(["delete","get","head"],function(t){kc.headers[t]={}});st.forEach(["post","put","patch"],function(t){kc.headers[t]=st.merge(v5)});dy.exports=kc});var my=b((L4,hy)=>{"use strict";var y5=yt(),w5=Ki();hy.exports=function(t,n,r){var i=this||w5;return y5.forEach(r,function(s){t=s.call(i,t,n)}),t}});var Hp=b((q4,gy)=>{"use strict";gy.exports=function(t){return!!(t&&t.__CANCEL__)}});var xy=b((B4,by)=>{"use strict";var vy=yt(),Yp=my(),_5=Hp(),S5=Ki(),E5=Gi();function Gp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new E5("canceled")}by.exports=function(t){Gp(t),t.headers=t.headers||{},t.data=Yp.call(t,t.data,t.headers,t.transformRequest),t.headers=vy.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),vy.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||S5.adapter;return n(t).then(function(i){return Gp(t),i.data=Yp.call(t,i.data,i.headers,t.transformResponse),i},function(i){return _5(i)||(Gp(t),i&&i.response&&(i.response.data=Yp.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})}});var Kp=b((F4,yy)=>{"use strict";var Ft=yt();yy.exports=function(t,n){n=n||{};var r={};function i(l,p){return Ft.isPlainObject(l)&&Ft.isPlainObject(p)?Ft.merge(l,p):Ft.isPlainObject(p)?Ft.merge({},p):Ft.isArray(p)?p.slice():p}function a(l){if(Ft.isUndefined(n[l])){if(!Ft.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],n[l])}function s(l){if(!Ft.isUndefined(n[l]))return i(void 0,n[l])}function o(l){if(Ft.isUndefined(n[l])){if(!Ft.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,n[l])}function c(l){if(l in n)return i(t[l],n[l]);if(l in t)return i(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 Ft.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Ft.isUndefined(m)&&f!==c||(r[p]=m)}),r}});var Sy=b((D4,_y)=>{"use strict";var O5=Ec().version,Vp={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Vp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var wy={};Vp.transitional=function(t,n,r){function i(a,s){return"[Axios v"+O5+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return function(a,s,o){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!wy[s]&&(wy[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function k5(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],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)}}_y.exports={assertOptions:k5,validators:Vp}});var Ay=b((z4,Cy)=>{"use strict";var ky=yt(),T5=bc(),Ey=qx(),Oy=xy(),Tc=Kp(),Ty=Sy(),Vi=Ty.validators;function ts(e){this.defaults=e,this.interceptors={request:new Ey,response:new Ey}}ts.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&&Ty.assertOptions(n,{silentJSONParsing:Vi.transitional(Vi.boolean),forcedJSONParsing:Vi.transitional(Vi.boolean),clarifyTimeoutError:Vi.transitional(Vi.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(i=i&&f.synchronous,r.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var s;if(!i){var o=[Oy,void 0];for(Array.prototype.unshift.apply(o,r),o=o.concat(a),s=Promise.resolve(t);o.length;)s=s.then(o.shift(),o.shift());return s}for(var c=t;r.length;){var u=r.shift(),l=r.shift();try{c=u(c)}catch(p){l(p);break}}try{s=Oy(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};ts.prototype.getUri=function(t){return t=Tc(this.defaults,t),T5(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};ky.forEach(["delete","get","head","options"],function(t){ts.prototype[t]=function(n,r){return this.request(Tc(r||{},{method:t,url:n,data:(r||{}).data}))}});ky.forEach(["post","put","patch"],function(t){ts.prototype[t]=function(n,r,i){return this.request(Tc(i||{},{method:t,url:n,data:r}))}});Cy.exports=ts});var Ry=b((U4,jy)=>{"use strict";var C5=Gi();function Zi(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,a=n._listeners.length;for(i=0;i<a;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,a=new Promise(function(s){n.subscribe(s),i=s}).then(r);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i){n.reason||(n.reason=new C5(i),t(n.reason))})}Zi.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Zi.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Zi.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Zi.source=function(){var t,n=new Zi(function(i){t=i});return{token:n,cancel:t}};jy.exports=Zi});var Py=b(($4,My)=>{"use strict";My.exports=function(t){return function(r){return t.apply(null,r)}}});var Ny=b((W4,Iy)=>{"use strict";Iy.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var By=b((H4,Zp)=>{"use strict";var Ly=yt(),A5=Ip(),Cc=Ay(),j5=Kp(),R5=Ki();function qy(e){var t=new Cc(e),n=A5(Cc.prototype.request,t);return Ly.extend(n,Cc.prototype,t),Ly.extend(n,t),n.create=function(i){return qy(j5(e,i))},n}var yn=qy(R5);yn.Axios=Cc;yn.Cancel=Gi();yn.CancelToken=Ry();yn.isCancel=Hp();yn.VERSION=Ec().version;yn.all=function(t){return Promise.all(t)};yn.spread=Py();yn.isAxiosError=Ny();Zp.exports=yn;Zp.exports.default=yn});var Jp=b((Y4,Fy)=>{Fy.exports=By()});var rs=b((rF,nf)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?nf.exports={nextTick:W5}:nf.exports=process;function W5(e,t,n,r){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,a,s;switch(i){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,r)});default:for(a=new Array(i-1),s=0;s<a.length;)a[s++]=arguments[s];return process.nextTick(function(){e.apply(null,a)})}}});var Ky=b((iF,Gy)=>{var H5={}.toString;Gy.exports=Array.isArray||function(e){return H5.call(e)=="[object Array]"}});var rf=b((aF,Vy)=>{Vy.exports=require("stream")});var is=b((af,Jy)=>{var Rc=require("buffer"),jn=Rc.Buffer;function Zy(e,t){for(var n in e)t[n]=e[n]}jn.from&&jn.alloc&&jn.allocUnsafe&&jn.allocUnsafeSlow?Jy.exports=Rc:(Zy(Rc,af),af.Buffer=Ji);function Ji(e,t,n){return jn(e,t,n)}Zy(jn,Ji);Ji.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return jn(e,t,n)};Ji.alloc=function(e,t,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var r=jn(e);return t!==void 0?typeof n=="string"?r.fill(t,n):r.fill(t):r.fill(0),r};Ji.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return jn(e)};Ji.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Rc.SlowBuffer(e)}});var Xi=b(ft=>{function Y5(e){return Array.isArray?Array.isArray(e):Mc(e)==="[object Array]"}ft.isArray=Y5;function G5(e){return typeof e=="boolean"}ft.isBoolean=G5;function K5(e){return e===null}ft.isNull=K5;function V5(e){return e==null}ft.isNullOrUndefined=V5;function Z5(e){return typeof e=="number"}ft.isNumber=Z5;function J5(e){return typeof e=="string"}ft.isString=J5;function X5(e){return typeof e=="symbol"}ft.isSymbol=X5;function Q5(e){return e===void 0}ft.isUndefined=Q5;function e3(e){return Mc(e)==="[object RegExp]"}ft.isRegExp=e3;function t3(e){return typeof e=="object"&&e!==null}ft.isObject=t3;function n3(e){return Mc(e)==="[object Date]"}ft.isDate=n3;function r3(e){return Mc(e)==="[object Error]"||e instanceof Error}ft.isError=r3;function i3(e){return typeof e=="function"}ft.isFunction=i3;function a3(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}ft.isPrimitive=a3;ft.isBuffer=require("buffer").Buffer.isBuffer;function Mc(e){return Object.prototype.toString.call(e)}});var Xy=b((oF,sf)=>{typeof Object.create=="function"?sf.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:sf.exports=function(t,n){if(n){t.super_=n;var r=function(){};r.prototype=n.prototype,t.prototype=new r,t.prototype.constructor=t}}});var Qi=b((cF,cf)=>{try{if(of=require("util"),typeof of.inherits!="function")throw"";cf.exports=of.inherits}catch{cf.exports=Xy()}var of});var e1=b((lF,lf)=>{"use strict";function s3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Qy=is().Buffer,as=require("util");function o3(e,t,n){e.copy(t,n)}lf.exports=function(){function e(){s3(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var r={data:n,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length},e.prototype.unshift=function(n){var r={data:n,next:this.head};this.length===0&&(this.tail=r),this.head=r,++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 r=this.head,i=""+r.data;r=r.next;)i+=n+r.data;return i},e.prototype.concat=function(n){if(this.length===0)return Qy.alloc(0);if(this.length===1)return this.head.data;for(var r=Qy.allocUnsafe(n>>>0),i=this.head,a=0;i;)o3(i.data,r,a),a+=i.data.length,i=i.next;return r},e}();as&&as.inspect&&as.inspect.custom&&(lf.exports.prototype[as.inspect.custom]=function(){var e=as.inspect({length:this.length});return this.constructor.name+" "+e})});var uf=b((uF,r1)=>{"use strict";var t1=rs();function c3(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(!this._writableState||!this._writableState.errorEmitted)&&t1.nextTick(n1,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(t1.nextTick(n1,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function l3(){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 n1(e,t){e.emit("error",t)}r1.exports={destroy:c3,undestroy:l3}});var a1=b((pF,i1)=>{i1.exports=require("util").deprecate});var ff=b((fF,d1)=>{"use strict";var zr=rs();d1.exports=Ye;function o1(e){var t=this;this.next=null,this.entry=null,this.finish=function(){T3(t,e)}}var u3=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:zr.nextTick,ea;Ye.WritableState=os;var c1=Object.create(Xi());c1.inherits=Qi();var p3={deprecate:a1()},l1=rf(),Ic=is().Buffer,f3=global.Uint8Array||function(){};function d3(e){return Ic.from(e)}function h3(e){return Ic.isBuffer(e)||e instanceof f3}var u1=uf();c1.inherits(Ye,l1);function m3(){}function os(e,t){ea=ea||Ur(),e=e||{};var n=t instanceof ea;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=e.writableHighWaterMark,a=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:n&&(i||i===0)?this.highWaterMark=i: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){_3(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 o1(this)}os.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(os.prototype,"buffer",{get:p3.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Pc;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Pc=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ye,Symbol.hasInstance,{value:function(e){return Pc.call(this,e)?!0:this!==Ye?!1:e&&e._writableState instanceof os}})):Pc=function(e){return e instanceof this};function Ye(e){if(ea=ea||Ur(),!Pc.call(Ye,this)&&!(this instanceof ea))return new Ye(e);this._writableState=new os(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)),l1.call(this)}Ye.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function g3(e,t){var n=new Error("write after end");e.emit("error",n),zr.nextTick(t,n)}function v3(e,t,n,r){var i=!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),zr.nextTick(r,a),i=!1),i}Ye.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=!r.objectMode&&h3(e);return a&&!Ic.isBuffer(e)&&(e=d3(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=r.defaultEncoding),typeof n!="function"&&(n=m3),r.ended?g3(this,n):(a||v3(this,r,e,n))&&(r.pendingcb++,i=x3(this,r,a,e,t,n)),i};Ye.prototype.cork=function(){var e=this._writableState;e.corked++};Ye.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&p1(this,e))};Ye.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 b3(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Ic.from(t,n)),t}Object.defineProperty(Ye.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function x3(e,t,n,r,i,a){if(!n){var s=b3(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var o=t.objectMode?1:r.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:r,encoding:i,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else pf(e,t,!1,o,r,i,a);return c}function pf(e,t,n,r,i,a,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y3(e,t,n,r,i){--t.pendingcb,n?(zr.nextTick(i,r),zr.nextTick(ss,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),ss(e,t))}function w3(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function _3(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(w3(n),t)y3(e,n,r,t,i);else{var a=f1(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&p1(e,n),r?u3(s1,e,n,a,i):s1(e,n,a,i)}}function s1(e,t,n,r){n||S3(e,t),t.pendingcb--,r(),ss(e,t)}function S3(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function p1(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,o=!0;n;)i[s]=n,n.isBuf||(o=!1),n=n.next,s+=1;i.allBuffers=o,pf(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o1(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,p=t.objectMode?1:c.length;if(pf(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}Ye.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))};Ye.prototype._writev=null;Ye.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),!r.ending&&!r.finished&&k3(this,r,n)};function f1(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function E3(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),ss(e,t)})}function O3(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,zr.nextTick(E3,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function ss(e,t){var n=f1(t);return n&&(O3(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function k3(e,t,n){t.ending=!0,ss(e,t),n&&(t.finished?zr.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function T3(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}Object.defineProperty(Ye.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){!this._writableState||(this._writableState.destroyed=e)}});Ye.prototype.destroy=u1.destroy;Ye.prototype._undestroy=u1.undestroy;Ye.prototype._destroy=function(e,t){this.end(),t(e)}});var Ur=b((dF,v1)=>{"use strict";var h1=rs(),C3=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};v1.exports=Rn;var m1=Object.create(Xi());m1.inherits=Qi();var g1=mf(),hf=ff();m1.inherits(Rn,g1);for(df=C3(hf.prototype),Nc=0;Nc<df.length;Nc++)Lc=df[Nc],Rn.prototype[Lc]||(Rn.prototype[Lc]=hf.prototype[Lc]);var df,Lc,Nc;function Rn(e){if(!(this instanceof Rn))return new Rn(e);g1.call(this,e),hf.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",A3)}Object.defineProperty(Rn.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function A3(){this.allowHalfOpen||this._writableState.ended||h1.nextTick(j3,this)}function j3(e){e.end()}Object.defineProperty(Rn.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)}});Rn.prototype._destroy=function(e,t){this.push(null),this.end(),h1.nextTick(t,e)}});var bf=b(x1=>{"use strict";var vf=is().Buffer,b1=vf.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 R3(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 M3(e){var t=R3(e);if(typeof t!="string"&&(vf.isEncoding===b1||!b1(e)))throw new Error("Unknown encoding: "+e);return t||e}x1.StringDecoder=cs;function cs(e){this.encoding=M3(e);var t;switch(this.encoding){case"utf16le":this.text=B3,this.end=F3,t=4;break;case"utf8":this.fillLast=N3,t=4;break;case"base64":this.text=D3,this.end=z3,t=3;break;default:this.write=U3,this.end=$3;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=vf.allocUnsafe(t)}cs.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||""};cs.prototype.end=q3;cs.prototype.text=L3;cs.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 gf(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function P3(e,t,n){var r=t.length-1;if(r<n)return 0;var i=gf(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||i===-2?0:(i=gf(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||i===-2?0:(i=gf(t[r]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function I3(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 N3(e){var t=this.lastTotal-this.lastNeed,n=I3(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 L3(e,t){var n=P3(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function q3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function B3(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=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 F3(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 D3(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 z3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function U3(e){return e.toString(this.encoding)}function $3(e){return e&&e.length?this.write(e):""}});var mf=b((gF,R1)=>{"use strict";var na=rs();R1.exports=Ce;var W3=Ky(),ls;Ce.ReadableState=k1;var mF=require("events").EventEmitter,S1=function(e,t){return e.listeners(t).length},Sf=rf(),us=is().Buffer,H3=global.Uint8Array||function(){};function Y3(e){return us.from(e)}function G3(e){return us.isBuffer(e)||e instanceof H3}var E1=Object.create(Xi());E1.inherits=Qi();var xf=require("util"),xe=void 0;xf&&xf.debuglog?xe=xf.debuglog("stream"):xe=function(){};var K3=e1(),O1=uf(),ta;E1.inherits(Ce,Sf);var yf=["error","close","destroy","pause","resume"];function V3(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):W3(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function k1(e,t){ls=ls||Ur(),e=e||{};var n=t instanceof ls;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:n&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new K3,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&&(ta||(ta=bf().StringDecoder),this.decoder=new ta(e.encoding),this.encoding=e.encoding)}function Ce(e){if(ls=ls||Ur(),!(this instanceof Ce))return new Ce(e);this._readableState=new k1(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Sf.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=O1.destroy;Ce.prototype._undestroy=O1.undestroy;Ce.prototype._destroy=function(e,t){this.push(null),t(e)};Ce.prototype.push=function(e,t){var n=this._readableState,r;return n.objectMode?r=!0:typeof e=="string"&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=us.from(e,t),t=""),r=!0),T1(this,e,t,!1,r)};Ce.prototype.unshift=function(e){return T1(this,e,null,!0,!1)};function T1(e,t,n,r,i){var a=e._readableState;if(t===null)a.reading=!1,Q3(e,a);else{var s;i||(s=Z3(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==us.prototype&&(t=Y3(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):wf(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?wf(e,a,t,!1):C1(e,a)):wf(e,a,t,!1))):r||(a.reading=!1)}return J3(a)}function wf(e,t,n,r){t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&qc(e)),C1(e,t)}function Z3(e,t){var n;return!G3(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function J3(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 ta||(ta=bf().StringDecoder),this._readableState.decoder=new ta(e),this._readableState.encoding=e,this};var y1=8388608;function X3(e){return e>=y1?e=y1:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function w1(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=X3(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Ce.prototype.read=function(e){xe("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 xe("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?_f(this):qc(this),null;if(e=w1(e,t),e===0&&t.ended)return t.length===0&&_f(this),null;var r=t.needReadable;xe("need readable",r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,xe("length less than watermark",r)),t.ended||t.reading?(r=!1,xe("reading or ended",r)):r&&(xe("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=w1(n,t)));var i;return e>0?i=A1(e,t):i=null,i===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&_f(this)),i!==null&&this.emit("data",i),i};function Q3(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,qc(e)}}function qc(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(xe("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?na.nextTick(_1,e):_1(e))}function _1(e){xe("emit readable"),e.emit("readable"),Ef(e)}function C1(e,t){t.readingMore||(t.readingMore=!0,na.nextTick(eR,e,t))}function eR(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(xe("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,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,xe("pipe count=%d opts=%j",r.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=i?o:d;r.endEmitted?na.nextTick(a):n.once("end",a),e.on("unpipe",s);function s(x,_){xe("onunpipe"),x===n&&_&&_.hasUnpiped===!1&&(_.hasUnpiped=!0,l())}function o(){xe("onend"),e.end()}var c=tR(n);e.on("drain",c);var u=!1;function l(){xe("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,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;n.on("data",f);function f(x){xe("ondata"),p=!1;var _=e.write(x);_===!1&&!p&&((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&j1(r.pipes,e)!==-1)&&!u&&(xe("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(x){xe("onerror",x),d(),e.removeListener("error",m),S1(e,"error")===0&&e.emit("error",x)}V3(e,"error",m);function v(){e.removeListener("finish",g),d()}e.once("close",v);function g(){xe("onfinish"),e.removeListener("close",v),d()}e.once("finish",g);function d(){xe("unpipe"),n.unpipe(e)}return e.emit("pipe",n),r.flowing||(xe("pipe resume"),n.resume()),e};function tR(e){return function(){var t=e._readableState;xe("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&S1(e,"data")&&(t.flowing=!0,Ef(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 r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit("unpipe",this,n);return this}var s=j1(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=Sf.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var r=this._readableState;!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&qc(this):na.nextTick(nR,this))}return n};Ce.prototype.addListener=Ce.prototype.on;function nR(e){xe("readable nexttick read 0"),e.read(0)}Ce.prototype.resume=function(){var e=this._readableState;return e.flowing||(xe("resume"),e.flowing=!0,rR(this,e)),this};function rR(e,t){t.resumeScheduled||(t.resumeScheduled=!0,na.nextTick(iR,e,t))}function iR(e,t){t.reading||(xe("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Ef(e),t.flowing&&!t.reading&&e.read(0)}Ce.prototype.pause=function(){return xe("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(xe("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Ef(e){var t=e._readableState;for(xe("flow",t.flowing);t.flowing&&e.read()!==null;);}Ce.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;e.on("end",function(){if(xe("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(xe("wrapped data"),n.decoder&&(s=n.decoder.write(s)),!(n.objectMode&&s==null)&&!(!n.objectMode&&(!s||!s.length))){var o=t.push(s);o||(r=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(s){return function(){return e[s].apply(e,arguments)}}(i));for(var a=0;a<yf.length;a++)e.on(yf[a],this.emit.bind(this,yf[a]));return this._read=function(s){xe("wrapped _read",s),r&&(r=!1,e.resume())},this};Object.defineProperty(Ce.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Ce._fromList=A1;function A1(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=aR(e,t.buffer,t.decoder),n}function aR(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?r=t.shift():r=n?sR(e,t):oR(e,t),r}function sR(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(s===a.length?i+=a:i+=a.slice(0,e),e-=s,e===0){s===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++r}return t.length-=r,i}function oR(e,t){var n=us.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var a=r.data,s=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,s),e-=s,e===0){s===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(s));break}++i}return t.length-=i,n}function _f(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,na.nextTick(cR,t,e))}function cR(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j1(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}});var Of=b((vF,I1)=>{"use strict";I1.exports=Mn;var Bc=Ur(),P1=Object.create(Xi());P1.inherits=Qi();P1.inherits(Mn,Bc);function lR(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,t!=null&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Mn(e){if(!(this instanceof Mn))return new Mn(e);Bc.call(this,e),this._transformState={afterTransform:lR.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",uR)}function uR(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){M1(e,t,n)}):M1(this,null,null)}Mn.prototype.push=function(e,t){return this._transformState.needTransform=!1,Bc.prototype.push.call(this,e,t)};Mn.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")};Mn.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Mn.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};Mn.prototype._destroy=function(e,t){var n=this;Bc.prototype._destroy.call(this,e,function(r){t(r),n.emit("close")})};function M1(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 B1=b((bF,q1)=>{"use strict";q1.exports=ps;var N1=Of(),L1=Object.create(Xi());L1.inherits=Qi();L1.inherits(ps,N1);function ps(e){if(!(this instanceof ps))return new ps(e);N1.call(this,e)}ps.prototype._transform=function(e,t,n){n(null,e)}});var kf=b((ct,Fc)=>{var wn=require("stream");process.env.READABLE_STREAM==="disable"&&wn?(Fc.exports=wn,ct=Fc.exports=wn.Readable,ct.Readable=wn.Readable,ct.Writable=wn.Writable,ct.Duplex=wn.Duplex,ct.Transform=wn.Transform,ct.PassThrough=wn.PassThrough,ct.Stream=wn):(ct=Fc.exports=mf(),ct.Stream=wn||ct,ct.Readable=ct,ct.Writable=ff(),ct.Duplex=Ur(),ct.Transform=Of(),ct.PassThrough=B1())});var Pn=b(Dt=>{"use strict";Dt.base64=!0;Dt.array=!0;Dt.string=!0;Dt.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Dt.nodebuffer=typeof Buffer<"u";Dt.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Dt.blob=!1;else{Tf=new ArrayBuffer(0);try{Dt.blob=new Blob([Tf],{type:"application/zip"}).size===0}catch{try{F1=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Cf=new F1,Cf.append(Tf),Dt.blob=Cf.getBlob("application/zip").size===0}catch{Dt.blob=!1}}}var Tf,F1,Cf;try{Dt.nodestream=!!kf().Readable}catch{Dt.nodestream=!1}});var jf=b(Af=>{"use strict";var pR=Ie(),fR=Pn(),_n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Af.encode=function(e){for(var t=[],n,r,i,a,s,o,c,u=0,l=e.length,p=l,f=pR.getTypeOf(e)!=="string";u<e.length;)p=l-u,f?(n=e[u++],r=u<l?e[u++]:0,i=u<l?e[u++]:0):(n=e.charCodeAt(u++),r=u<l?e.charCodeAt(u++):0,i=u<l?e.charCodeAt(u++):0),a=n>>2,s=(n&3)<<4|r>>4,o=p>1?(r&15)<<2|i>>6:64,c=p>2?i&63:64,t.push(_n.charAt(a)+_n.charAt(s)+_n.charAt(o)+_n.charAt(c));return t.join("")};Af.decode=function(e){var t,n,r,i,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)===_n.charAt(64)&&p--,e.charAt(e.length-2)===_n.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");var f;for(fR.uint8array?f=new Uint8Array(p|0):f=new Array(p|0);c<e.length;)i=_n.indexOf(e.charAt(c++)),a=_n.indexOf(e.charAt(c++)),s=_n.indexOf(e.charAt(c++)),o=_n.indexOf(e.charAt(c++)),t=i<<2|a>>4,n=(a&15)<<4|s>>2,r=(s&3)<<6|o,f[u++]=t,s!==64&&(f[u++]=n),o!==64&&(f[u++]=r);return f}});var fs=b((wF,D1)=>{"use strict";D1.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 U1=b((_F,z1)=>{"use strict";z1.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var Y1=b((SF,H1)=>{"use strict";var $1=global.MutationObserver||global.WebKitMutationObserver,ra;process.browser?$1?(Rf=0,W1=new $1(ds),Mf=global.document.createTextNode(""),W1.observe(Mf,{characterData:!0}),ra=function(){Mf.data=Rf=++Rf%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(Pf=new global.MessageChannel,Pf.port1.onmessage=ds,ra=function(){Pf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?ra=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){ds(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:ra=function(){setTimeout(ds,0)}:ra=function(){process.nextTick(ds)};var Rf,W1,Mf,Pf,If,hs=[];function ds(){If=!0;for(var e,t,n=hs.length;n;){for(t=hs,hs=[],e=-1;++e<n;)t[e]();n=hs.length}If=!1}H1.exports=dR;function dR(e){hs.push(e)===1&&!If&&ra()}});var Q1=b((EF,X1)=>{"use strict";var G1=Y1();function ia(){}var dt={},K1=["REJECTED"],Nf=["FULFILLED"],V1=["PENDING"];process.browser||(ms=["UNHANDLED"]);var ms;X1.exports=tr;function tr(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=V1,this.queue=[],this.outcome=void 0,process.browser||(this.handled=ms),e!==ia&&Z1(this,e)}tr.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(n,r);function n(i){function a(){return i}return t.resolve(e()).then(a)}function r(i){function a(){throw i}return t.resolve(e()).then(a)}};tr.prototype.catch=function(e){return this.then(null,e)};tr.prototype.then=function(e,t){if(typeof e!="function"&&this.state===Nf||typeof t!="function"&&this.state===K1)return this;var n=new this.constructor(ia);if(process.browser||this.handled===ms&&(this.handled=null),this.state!==V1){var r=this.state===Nf?e:t;Lf(n,r,this.outcome)}else this.queue.push(new gs(n,e,t));return n};function gs(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)}gs.prototype.callFulfilled=function(e){dt.resolve(this.promise,e)};gs.prototype.otherCallFulfilled=function(e){Lf(this.promise,this.onFulfilled,e)};gs.prototype.callRejected=function(e){dt.reject(this.promise,e)};gs.prototype.otherCallRejected=function(e){Lf(this.promise,this.onRejected,e)};function Lf(e,t,n){G1(function(){var r;try{r=t(n)}catch(i){return dt.reject(e,i)}r===e?dt.reject(e,new TypeError("Cannot resolve promise with itself")):dt.resolve(e,r)})}dt.resolve=function(e,t){var n=J1(hR,t);if(n.status==="error")return dt.reject(e,n.value);var r=n.value;if(r)Z1(e,r);else{e.state=Nf,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e};dt.reject=function(e,t){e.state=K1,e.outcome=t,process.browser||e.handled===ms&&G1(function(){e.handled===ms&&process.emit("unhandledRejection",t,e)});for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e};function hR(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function Z1(e,t){var n=!1;function r(o){n||(n=!0,dt.reject(e,o))}function i(o){n||(n=!0,dt.resolve(e,o))}function a(){t(i,r)}var s=J1(a);s.status==="error"&&r(s.value)}function J1(e,t){var n={};try{n.value=e(t),n.status="success"}catch(r){n.status="error",n.value=r}return n}tr.resolve=mR;function mR(e){return e instanceof this?e:dt.resolve(new this(ia),e)}tr.reject=gR;function gR(e){var t=new this(ia);return dt.reject(t,e)}tr.all=vR;function vR(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,r=!1;if(!n)return this.resolve([]);for(var i=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){r||(r=!0,dt.reject(o,f))});function p(f){i[l]=f,++a===n&&!r&&(r=!0,dt.resolve(o,i))}}}tr.race=bR;function bR(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,r=!1;if(!n)return this.resolve([]);for(var i=-1,a=new this(ia);++i<n;)s(e[i]);return a;function s(o){t.resolve(o).then(function(c){r||(r=!0,dt.resolve(a,c))},function(c){r||(r=!0,dt.reject(a,c))})}}});var aa=b((OF,ew)=>{"use strict";var qf=null;typeof Promise<"u"?qf=Promise:qf=Q1();ew.exports={Promise:qf}});var Ie=b(Ve=>{"use strict";var nr=Pn(),xR=jf(),sa=fs(),yR=U1(),Bf=aa();function wR(e){var t=null;return nr.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),zc(e,t)}Ve.newBlob=function(e,t){Ve.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,r=new n;return r.append(e),r.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function vs(e){return e}function zc(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var Dc={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t==="array"||t==="nodebuffer"?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.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 nr.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return nr.nodebuffer&&String.fromCharCode.apply(null,sa.allocBuffer(1)).length===1}catch{return!1}}()}};function bs(e){var t=65536,n=Ve.getTypeOf(e),r=!0;if(n==="uint8array"?r=Dc.applyCanBeUsed.uint8array:n==="nodebuffer"&&(r=Dc.applyCanBeUsed.nodebuffer),r)for(;t>1;)try{return Dc.stringifyByChunk(e,n,t)}catch{t=Math.floor(t/2)}return Dc.stringifyByChar(e)}Ve.applyFromCharCode=bs;function Uc(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var rr={};rr.string={string:vs,array:function(e){return zc(e,new Array(e.length))},arraybuffer:function(e){return rr.string.uint8array(e).buffer},uint8array:function(e){return zc(e,new Uint8Array(e.length))},nodebuffer:function(e){return zc(e,sa.allocBuffer(e.length))}};rr.array={string:bs,array:vs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return sa.newBufferFrom(e)}};rr.arraybuffer={string:function(e){return bs(new Uint8Array(e))},array:function(e){return Uc(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:vs,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return sa.newBufferFrom(new Uint8Array(e))}};rr.uint8array={string:bs,array:function(e){return Uc(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:vs,nodebuffer:function(e){return sa.newBufferFrom(e)}};rr.nodebuffer={string:bs,array:function(e){return Uc(e,new Array(e.length))},arraybuffer:function(e){return rr.nodebuffer.uint8array(e).buffer},uint8array:function(e){return Uc(e,new Uint8Array(e.length))},nodebuffer:vs};Ve.transformTo=function(e,t){if(t||(t=""),!e)return t;Ve.checkSupport(e);var n=Ve.getTypeOf(t),r=rr[n][e](t);return r};Ve.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(nr.nodebuffer&&sa.isBuffer(e))return"nodebuffer";if(nr.uint8array&&e instanceof Uint8Array)return"uint8array";if(nr.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Ve.checkSupport=function(e){var t=nr[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Ve.MAX_VALUE_16BITS=65535;Ve.MAX_VALUE_32BITS=-1;Ve.pretty=function(e){var t="",n,r;for(r=0;r<(e||"").length;r++)n=e.charCodeAt(r),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Ve.delay=function(e,t,n){yR(function(){e.apply(n||null,t||[])})};Ve.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Ve.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};Ve.prepareContent=function(e,t,n,r,i){var a=Bf.Promise.resolve(t).then(function(s){var o=nr.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);return o&&typeof FileReader<"u"?new Bf.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=Ve.getTypeOf(s);return o?(o==="arraybuffer"?s=Ve.transformTo("uint8array",s):o==="string"&&(i?s=xR.decode(s):n&&r!==!0&&(s=wR(s))),s):Bf.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var zt=b((TF,nw)=>{"use strict";function tw(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}tw.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}};nw.exports=tw});var Wr=b(ir=>{"use strict";var oa=Ie(),$r=Pn(),_R=fs(),$c=zt(),xs=new Array(256);for(In=0;In<256;In++)xs[In]=In>=252?6:In>=248?5:In>=240?4:In>=224?3:In>=192?2:1;var In;xs[254]=xs[254]=1;var SR=function(e){var t,n,r,i,a,s=e.length,o=0;for(i=0;i<s;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),o+=n<128?1:n<2048?2:n<65536?3:4;for($r.uint8array?t=new Uint8Array(o):t=new Array(o),a=0,i=0;a<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),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},ER=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+xs[e[n]]>t?n:t},OR=function(e){var t,n,r,i,a,s=e.length,o=new Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){o[r++]=i;continue}if(a=xs[i],a>4){o[r++]=65533,n+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&n<s;)i=i<<6|e[n++]&63,a--;if(a>1){o[r++]=65533;continue}i<65536?o[r++]=i:(i-=65536,o[r++]=55296|i>>10&1023,o[r++]=56320|i&1023)}return o.length!==r&&(o.subarray?o=o.subarray(0,r):o.length=r),oa.applyFromCharCode(o)};ir.utf8encode=function(t){return $r.nodebuffer?_R.newBufferFrom(t,"utf-8"):SR(t)};ir.utf8decode=function(t){return $r.nodebuffer?oa.transformTo("nodebuffer",t).toString("utf-8"):(t=oa.transformTo($r.uint8array?"uint8array":"array",t),OR(t))};function Wc(){$c.call(this,"utf-8 decode"),this.leftOver=null}oa.inherits(Wc,$c);Wc.prototype.processChunk=function(e){var t=oa.transformTo($r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if($r.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 r=ER(t),i=t;r!==t.length&&($r.uint8array?(i=t.subarray(0,r),this.leftOver=t.subarray(r,t.length)):(i=t.slice(0,r),this.leftOver=t.slice(r,t.length))),this.push({data:ir.utf8decode(i),meta:e.meta})};Wc.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:ir.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};ir.Utf8DecodeWorker=Wc;function Ff(){$c.call(this,"utf-8 encode")}oa.inherits(Ff,$c);Ff.prototype.processChunk=function(e){this.push({data:ir.utf8encode(e.data),meta:e.meta})};ir.Utf8EncodeWorker=Ff});var sw=b((AF,aw)=>{"use strict";var rw=zt(),iw=Ie();function Df(e){rw.call(this,"ConvertWorker to "+e),this.destType=e}iw.inherits(Df,rw);Df.prototype.processChunk=function(e){this.push({data:iw.transformTo(this.destType,e.data),meta:e.meta})};aw.exports=Df});var lw=b((jF,cw)=>{"use strict";var ow=kf().Readable,kR=Ie();kR.inherits(zf,ow);function zf(e,t,n){ow.call(this,t),this._helper=e;var r=this;e.on("data",function(i,a){r.push(i)||r._helper.pause(),n&&n(a)}).on("error",function(i){r.emit("error",i)}).on("end",function(){r.push(null)})}zf.prototype._read=function(){this._helper.resume()};cw.exports=zf});var Uf=b((RF,fw)=>{"use strict";var Hr=Ie(),TR=sw(),CR=zt(),AR=jf(),jR=Pn(),RR=aa(),uw=null;if(jR.nodestream)try{uw=lw()}catch{}function MR(e,t,n){switch(e){case"blob":return Hr.newBlob(Hr.transformTo("arraybuffer",t),n);case"base64":return AR.encode(t);default:return Hr.transformTo(e,t)}}function PR(e,t){var n,r=0,i=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(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function IR(e,t){return new RR.Promise(function(n,r){var i=[],a=e._internalType,s=e._outputType,o=e._mimeType;e.on("data",function(c,u){i.push(c),t&&t(u)}).on("error",function(c){i=[],r(c)}).on("end",function(){try{var c=MR(s,PR(a,i),o);n(c)}catch(u){r(u)}i=[]}).resume()})}function pw(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string";break}try{this._internalType=r,this._outputType=t,this._mimeType=n,Hr.checkSupport(r),this._worker=e.pipe(new TR(r)),e.lock()}catch(i){this._worker=new CR("error"),this._worker.error(i)}}pw.prototype={accumulate:function(e){return IR(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(r){t.call(n,r.data,r.meta)}):this._worker.on(e,function(){Hr.delay(t,arguments,n)}),this},resume:function(){return Hr.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Hr.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new uw(this,{objectMode:this._outputType!=="nodebuffer"},e)}};fw.exports=pw});var $f=b(cn=>{"use strict";cn.base64=!1;cn.binary=!1;cn.dir=!1;cn.createFolders=!0;cn.date=null;cn.compression=null;cn.compressionOptions=null;cn.comment=null;cn.unixPermissions=null;cn.dosPermissions=null});var Wf=b((PF,dw)=>{"use strict";var Hc=Ie(),Yc=zt(),NR=16*1024;function ca(e){Yc.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=Hc.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}Hc.inherits(ca,Yc);ca.prototype.cleanUp=function(){Yc.prototype.cleanUp.call(this),this.data=null};ca.prototype.resume=function(){return Yc.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Hc.delay(this._tickAndRepeat,[],this)),!0):!1};ca.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(Hc.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};ca.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=NR,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}})};dw.exports=ca});var Gc=b((IF,mw)=>{"use strict";var LR=Ie();function qR(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var hw=qR();function BR(e,t,n,r){var i=hw,a=r+n;e=e^-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}function FR(e,t,n,r){var i=hw,a=r+n;e=e^-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t.charCodeAt(s))&255];return e^-1}mw.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var r=LR.getTypeOf(t)!=="string";return r?BR(n|0,t,t.length,0):FR(n|0,t,t.length,0)}});var Yf=b((NF,vw)=>{"use strict";var gw=zt(),DR=Gc(),zR=Ie();function Hf(){gw.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}zR.inherits(Hf,gw);Hf.prototype.processChunk=function(e){this.streamInfo.crc32=DR(e.data,this.streamInfo.crc32||0),this.push(e)};vw.exports=Hf});var xw=b((LF,bw)=>{"use strict";var UR=Ie(),Gf=zt();function Kf(e){Gf.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}UR.inherits(Kf,Gf);Kf.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Gf.prototype.processChunk.call(this,e)};bw.exports=Kf});var Kc=b((qF,_w)=>{"use strict";var yw=aa(),ww=Wf(),$R=Yf(),Vf=xw();function Zf(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}Zf.prototype={getContentWorker:function(){var e=new ww(yw.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Vf("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 ww(yw.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};Zf.createWorkerFrom=function(e,t,n){return e.pipe(new $R).pipe(new Vf("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Vf("compressedSize")).withStreamInfo("compression",t)};_w.exports=Zf});var kw=b((BF,Ow)=>{"use strict";var WR=Uf(),HR=Wf(),Jf=Wr(),Xf=Kc(),Sw=zt(),Qf=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}};Qf.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");n=e.toLowerCase();var r=n==="string"||n==="text";(n==="binarystring"||n==="text")&&(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new Jf.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new Jf.Utf8DecodeWorker))}catch(a){t=new Sw("error"),t.error(a)}return new WR(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 Xf&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new Jf.Utf8EncodeWorker)),Xf.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof Xf?this._data.getContentWorker():this._data instanceof Sw?this._data:new HR(this._data)}};var Ew=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],YR=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(Vc=0;Vc<Ew.length;Vc++)Qf.prototype[Ew[Vc]]=YR;var Vc;Ow.exports=Qf});var Nn=b(wt=>{"use strict";var GR=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function KR(e,t){return Object.prototype.hasOwnProperty.call(e,t)}wt.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 r in n)KR(n,r)&&(e[r]=n[r])}}return e};wt.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var VR={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],s.set(a,i),i+=a.length;return s}},ZR={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};wt.setTyped=function(e){e?(wt.Buf8=Uint8Array,wt.Buf16=Uint16Array,wt.Buf32=Int32Array,wt.assign(wt,VR)):(wt.Buf8=Array,wt.Buf16=Array,wt.Buf32=Array,wt.assign(wt,ZR))};wt.setTyped(GR)});var Vw=b(pa=>{"use strict";var JR=Nn(),XR=4,Tw=0,Cw=1,QR=2;function ua(e){for(var t=e.length;--t>=0;)e[t]=0}var eM=0,Iw=1,tM=2,nM=3,rM=258,sd=29,Os=256,ws=Os+1+sd,la=30,od=19,Nw=2*ws+1,Yr=15,ed=16,iM=7,cd=256,Lw=16,qw=17,Bw=18,id=[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],Zc=[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],aM=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Fw=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],sM=512,Ln=new Array((ws+2)*2);ua(Ln);var ys=new Array(la*2);ua(ys);var _s=new Array(sM);ua(_s);var Ss=new Array(rM-nM+1);ua(Ss);var ld=new Array(sd);ua(ld);var Jc=new Array(la);ua(Jc);function td(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var Dw,zw,Uw;function nd(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function $w(e){return e<256?_s[e]:_s[256+(e>>>7)]}function Es(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function At(e,t,n){e.bi_valid>ed-n?(e.bi_buf|=t<<e.bi_valid&65535,Es(e,e.bi_buf),e.bi_buf=t>>ed-e.bi_valid,e.bi_valid+=n-ed):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Sn(e,t,n){At(e,n[t*2],n[t*2+1])}function Ww(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function oM(e){e.bi_valid===16?(Es(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 cM(e,t){var n=t.dyn_tree,r=t.max_code,i=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<=Yr;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<Nw;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>r)&&(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*(i[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>r)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),l--)}}function Hw(e,t,n){var r=new Array(Yr+1),i=0,a,s;for(a=1;a<=Yr;a++)r[a]=i=i+n[a-1]<<1;for(s=0;s<=t;s++){var o=e[s*2+1];o!==0&&(e[s*2]=Ww(r[o]++,o))}}function lM(){var e,t,n,r,i,a=new Array(Yr+1);for(n=0,r=0;r<sd-1;r++)for(ld[r]=n,e=0;e<1<<id[r];e++)Ss[n++]=r;for(Ss[n-1]=r,i=0,r=0;r<16;r++)for(Jc[r]=i,e=0;e<1<<Zc[r];e++)_s[i++]=r;for(i>>=7;r<la;r++)for(Jc[r]=i<<7,e=0;e<1<<Zc[r]-7;e++)_s[256+i++]=r;for(t=0;t<=Yr;t++)a[t]=0;for(e=0;e<=143;)Ln[e*2+1]=8,e++,a[8]++;for(;e<=255;)Ln[e*2+1]=9,e++,a[9]++;for(;e<=279;)Ln[e*2+1]=7,e++,a[7]++;for(;e<=287;)Ln[e*2+1]=8,e++,a[8]++;for(Hw(Ln,ws+1,a),e=0;e<la;e++)ys[e*2+1]=5,ys[e*2]=Ww(e,5);Dw=new td(Ln,id,Os+1,ws,Yr),zw=new td(ys,Zc,0,la,Yr),Uw=new td(new Array(0),aM,0,od,iM)}function Yw(e){var t;for(t=0;t<ws;t++)e.dyn_ltree[t*2]=0;for(t=0;t<la;t++)e.dyn_dtree[t*2]=0;for(t=0;t<od;t++)e.bl_tree[t*2]=0;e.dyn_ltree[cd*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Gw(e){e.bi_valid>8?Es(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 uM(e,t,n,r){Gw(e),r&&(Es(e,n),Es(e,~n)),JR.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Aw(e,t,n,r){var i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function rd(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&Aw(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Aw(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function jw(e,t,n){var r,i,a=0,s,o;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,r===0?Sn(e,i,t):(s=Ss[i],Sn(e,s+Os+1,t),o=id[s],o!==0&&(i-=ld[s],At(e,i,o)),r--,s=$w(r),Sn(e,s,n),o=Zc[s],o!==0&&(r-=Jc[s],At(e,r,o)));while(a<e.last_lit);Sn(e,cd,t)}function ad(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,s,o,c=-1,u;for(e.heap_len=0,e.heap_max=Nw,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--,i&&(e.static_len-=r[u*2+1]);for(t.max_code=c,s=e.heap_len>>1;s>=1;s--)rd(e,n,s);u=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],rd(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++,rd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],cM(e,t),Hw(n,c,e.bl_count)}function Rw(e,t,n){var r,i=-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,r=0;r<=n;r++)a=s,s=t[(r+1)*2+1],!(++o<c&&a===s)&&(o<u?e.bl_tree[a*2]+=o:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[Lw*2]++):o<=10?e.bl_tree[qw*2]++:e.bl_tree[Bw*2]++,o=0,i=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function Mw(e,t,n){var r,i=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),r=0;r<=n;r++)if(a=s,s=t[(r+1)*2+1],!(++o<c&&a===s)){if(o<u)do Sn(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==i&&(Sn(e,a,e.bl_tree),o--),Sn(e,Lw,e.bl_tree),At(e,o-3,2)):o<=10?(Sn(e,qw,e.bl_tree),At(e,o-3,3)):(Sn(e,Bw,e.bl_tree),At(e,o-11,7));o=0,i=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4)}}function pM(e){var t;for(Rw(e,e.dyn_ltree,e.l_desc.max_code),Rw(e,e.dyn_dtree,e.d_desc.max_code),ad(e,e.bl_desc),t=od-1;t>=3&&e.bl_tree[Fw[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function fM(e,t,n,r){var i;for(At(e,t-257,5),At(e,n-1,5),At(e,r-4,4),i=0;i<r;i++)At(e,e.bl_tree[Fw[i]*2+1],3);Mw(e,e.dyn_ltree,t-1),Mw(e,e.dyn_dtree,n-1)}function dM(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Tw;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Cw;for(n=32;n<Os;n++)if(e.dyn_ltree[n*2]!==0)return Cw;return Tw}var Pw=!1;function hM(e){Pw||(lM(),Pw=!0),e.l_desc=new nd(e.dyn_ltree,Dw),e.d_desc=new nd(e.dyn_dtree,zw),e.bl_desc=new nd(e.bl_tree,Uw),e.bi_buf=0,e.bi_valid=0,Yw(e)}function Kw(e,t,n,r){At(e,(eM<<1)+(r?1:0),3),uM(e,t,n,!0)}function mM(e){At(e,Iw<<1,3),Sn(e,cd,Ln),oM(e)}function gM(e,t,n,r){var i,a,s=0;e.level>0?(e.strm.data_type===QR&&(e.strm.data_type=dM(e)),ad(e,e.l_desc),ad(e,e.d_desc),s=pM(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=n+5,n+4<=i&&t!==-1?Kw(e,t,n,r):e.strategy===XR||a===i?(At(e,(Iw<<1)+(r?1:0),3),jw(e,Ln,ys)):(At(e,(tM<<1)+(r?1:0),3),fM(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),jw(e,e.dyn_ltree,e.dyn_dtree)),Yw(e),r&&Gw(e)}function vM(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[(Ss[n]+Os+1)*2]++,e.dyn_dtree[$w(t)*2]++),e.last_lit===e.lit_bufsize-1}pa._tr_init=hM;pa._tr_stored_block=Kw;pa._tr_flush_block=gM;pa._tr_tally=vM;pa._tr_align=mM});var ud=b((zF,Zw)=>{"use strict";function bM(e,t,n,r){for(var i=e&65535|0,a=e>>>16&65535|0,s=0;n!==0;){s=n>2e3?2e3:n,n-=s;do i=i+t[r++]|0,a=a+i|0;while(--s);i%=65521,a%=65521}return i|a<<16|0}Zw.exports=bM});var pd=b((UF,Jw)=>{"use strict";function xM(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var yM=xM();function wM(e,t,n,r){var i=yM,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}Jw.exports=wM});var Xc=b(($F,Xw)=>{"use strict";Xw.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 o_=b(kn=>{"use strict";var _t=Nn(),Xt=Vw(),n_=ud(),ar=pd(),_M=Xc(),Zr=0,SM=1,EM=3,ur=4,Qw=5,On=0,e_=1,Qt=-2,OM=-3,fd=-5,kM=-1,TM=1,Qc=2,CM=3,AM=4,jM=0,RM=2,rl=8,MM=9,PM=15,IM=8,NM=29,LM=256,hd=LM+1+NM,qM=30,BM=19,FM=2*hd+1,DM=15,fe=3,cr=258,ln=cr+fe+1,zM=32,il=42,md=69,el=73,tl=91,nl=103,Gr=113,Ts=666,Ze=1,Cs=2,Kr=3,ha=4,UM=3;function lr(e,t){return e.msg=_M[t],t}function t_(e){return(e<<1)-(e>4?9:0)}function or(e){for(var t=e.length;--t>=0;)e[t]=0}function sr(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(_t.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 lt(e,t){Xt._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,sr(e.strm)}function ve(e,t){e.pending_buf[e.pending++]=t}function ks(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function $M(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,_t.arraySet(t,e.input,e.next_in,i,n),e.state.wrap===1?e.adler=n_(e.adler,t,i,n):e.state.wrap===2&&(e.adler=ar(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function r_(e,t){var n=e.max_chain_length,r=e.strstart,i,a,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-ln?e.strstart-(e.w_size-ln):0,u=e.window,l=e.w_mask,p=e.prev,f=e.strstart+cr,m=u[r+s-1],v=u[r+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(i=t,!(u[i+s]!==v||u[i+s-1]!==m||u[i]!==u[r]||u[++i]!==u[r+1])){r+=2,i++;do;while(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]===u[++i]&&r<f);if(a=cr-(f-r),r=f-cr,a>s){if(e.match_start=t,s=a,a>=o)break;m=u[r+s-1],v=u[r+s]}}while((t=p[t&l])>c&&--n!==0);return s<=e.lookahead?s:e.lookahead}function Vr(e){var t=e.w_size,n,r,i,a,s;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-ln)){_t.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,r=e.hash_size,n=r;do i=e.head[--n],e.head[n]=i>=t?i-t:0;while(--r);r=t,n=r;do i=e.prev[--n],e.prev[n]=i>=t?i-t:0;while(--r);a+=t}if(e.strm.avail_in===0)break;if(r=$M(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=r,e.lookahead+e.insert>=fe)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+fe-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<fe)););}while(e.lookahead<ln&&e.strm.avail_in!==0)}function WM(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Vr(e),e.lookahead===0&&t===Zr)return Ze;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,lt(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-ln&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=0,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):(e.strstart>e.block_start&&(lt(e,!1),e.strm.avail_out===0),Ze)}function dd(e,t){for(var n,r;;){if(e.lookahead<ln){if(Vr(e),e.lookahead<ln&&t===Zr)return Ze;if(e.lookahead===0)break}if(n=0,e.lookahead>=fe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-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-ln&&(e.match_length=r_(e,n)),e.match_length>=fe)if(r=Xt._tr_tally(e,e.strstart-e.match_start,e.match_length-fe),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=fe){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-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 r=Xt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=e.strstart<fe-1?e.strstart:fe-1,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function fa(e,t){for(var n,r,i;;){if(e.lookahead<ln){if(Vr(e),e.lookahead<ln&&t===Zr)return Ze;if(e.lookahead===0)break}if(n=0,e.lookahead>=fe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-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=fe-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-ln&&(e.match_length=r_(e,n),e.match_length<=5&&(e.strategy===TM||e.match_length===fe&&e.strstart-e.match_start>4096)&&(e.match_length=fe-1)),e.prev_length>=fe&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-fe,r=Xt._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-fe),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+fe-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=fe-1,e.strstart++,r&&(lt(e,!1),e.strm.avail_out===0))return Ze}else if(e.match_available){if(r=Xt._tr_tally(e,0,e.window[e.strstart-1]),r&<(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ze}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Xt._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<fe-1?e.strstart:fe-1,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function HM(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=cr){if(Vr(e),e.lookahead<=cr&&t===Zr)return Ze;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=fe&&e.strstart>0&&(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i])){a=e.strstart+cr;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=cr-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=fe?(n=Xt._tr_tally(e,1,e.match_length-fe),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Xt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=0,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function YM(e,t){for(var n;;){if(e.lookahead===0&&(Vr(e),e.lookahead===0)){if(t===Zr)return Ze;break}if(e.match_length=0,n=Xt._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(lt(e,!1),e.strm.avail_out===0))return Ze}return e.insert=0,t===ur?(lt(e,!0),e.strm.avail_out===0?Kr:ha):e.last_lit&&(lt(e,!1),e.strm.avail_out===0)?Ze:Cs}function En(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var da;da=[new En(0,0,0,0,WM),new En(4,4,8,4,dd),new En(4,5,16,8,dd),new En(4,6,32,32,dd),new En(4,4,16,16,fa),new En(8,16,32,32,fa),new En(8,16,128,128,fa),new En(8,32,128,256,fa),new En(32,128,258,1024,fa),new En(32,258,258,4096,fa)];function GM(e){e.window_size=2*e.w_size,or(e.head),e.max_lazy_match=da[e.level].max_lazy,e.good_match=da[e.level].good_length,e.nice_match=da[e.level].nice_length,e.max_chain_length=da[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=fe-1,e.match_available=0,e.ins_h=0}function KM(){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=rl,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 _t.Buf16(FM*2),this.dyn_dtree=new _t.Buf16((2*qM+1)*2),this.bl_tree=new _t.Buf16((2*BM+1)*2),or(this.dyn_ltree),or(this.dyn_dtree),or(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new _t.Buf16(DM+1),this.heap=new _t.Buf16(2*hd+1),or(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new _t.Buf16(2*hd+1),or(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 i_(e){var t;return!e||!e.state?lr(e,Qt):(e.total_in=e.total_out=0,e.data_type=RM,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?il:Gr,e.adler=t.wrap===2?0:1,t.last_flush=Zr,Xt._tr_init(t),On)}function a_(e){var t=i_(e);return t===On&&GM(e.state),t}function VM(e,t){return!e||!e.state||e.state.wrap!==2?Qt:(e.state.gzhead=t,On)}function s_(e,t,n,r,i,a){if(!e)return Qt;var s=1;if(t===kM&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>MM||n!==rl||r<8||r>15||t<0||t>9||a<0||a>AM)return lr(e,Qt);r===8&&(r=9);var o=new KM;return e.state=o,o.strm=e,o.wrap=s,o.gzhead=null,o.w_bits=r,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+fe-1)/fe),o.window=new _t.Buf8(o.w_size*2),o.head=new _t.Buf16(o.hash_size),o.prev=new _t.Buf16(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new _t.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,a_(e)}function ZM(e,t){return s_(e,t,rl,PM,IM,jM)}function JM(e,t){var n,r,i,a;if(!e||!e.state||t>Qw||t<0)return e?lr(e,Qt):Qt;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===Ts&&t!==ur)return lr(e,e.avail_out===0?fd:Qt);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===il)if(r.wrap===2)e.adler=0,ve(r,31),ve(r,139),ve(r,8),r.gzhead?(ve(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),ve(r,r.gzhead.time&255),ve(r,r.gzhead.time>>8&255),ve(r,r.gzhead.time>>16&255),ve(r,r.gzhead.time>>24&255),ve(r,r.level===9?2:r.strategy>=Qc||r.level<2?4:0),ve(r,r.gzhead.os&255),r.gzhead.extra&&r.gzhead.extra.length&&(ve(r,r.gzhead.extra.length&255),ve(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=ar(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=md):(ve(r,0),ve(r,0),ve(r,0),ve(r,0),ve(r,0),ve(r,r.level===9?2:r.strategy>=Qc||r.level<2?4:0),ve(r,UM),r.status=Gr);else{var s=rl+(r.w_bits-8<<4)<<8,o=-1;r.strategy>=Qc||r.level<2?o=0:r.level<6?o=1:r.level===6?o=2:o=3,s|=o<<6,r.strstart!==0&&(s|=zM),s+=31-s%31,r.status=Gr,ks(r,s),r.strstart!==0&&(ks(r,e.adler>>>16),ks(r,e.adler&65535)),e.adler=1}if(r.status===md)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(r.gzhead.extra.length&65535)&&!(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),sr(e),i=r.pending,r.pending===r.pending_buf_size));)ve(r,r.gzhead.extra[r.gzindex]&255),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=el)}else r.status=el;if(r.status===el)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),sr(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}r.gzindex<r.gzhead.name.length?a=r.gzhead.name.charCodeAt(r.gzindex++)&255:a=0,ve(r,a)}while(a!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),a===0&&(r.gzindex=0,r.status=tl)}else r.status=tl;if(r.status===tl)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),sr(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}r.gzindex<r.gzhead.comment.length?a=r.gzhead.comment.charCodeAt(r.gzindex++)&255:a=0,ve(r,a)}while(a!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=ar(e.adler,r.pending_buf,r.pending-i,i)),a===0&&(r.status=nl)}else r.status=nl;if(r.status===nl&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&sr(e),r.pending+2<=r.pending_buf_size&&(ve(r,e.adler&255),ve(r,e.adler>>8&255),e.adler=0,r.status=Gr)):r.status=Gr),r.pending!==0){if(sr(e),e.avail_out===0)return r.last_flush=-1,On}else if(e.avail_in===0&&t_(t)<=t_(n)&&t!==ur)return lr(e,fd);if(r.status===Ts&&e.avail_in!==0)return lr(e,fd);if(e.avail_in!==0||r.lookahead!==0||t!==Zr&&r.status!==Ts){var c=r.strategy===Qc?YM(r,t):r.strategy===CM?HM(r,t):da[r.level].func(r,t);if((c===Kr||c===ha)&&(r.status=Ts),c===Ze||c===Kr)return e.avail_out===0&&(r.last_flush=-1),On;if(c===Cs&&(t===SM?Xt._tr_align(r):t!==Qw&&(Xt._tr_stored_block(r,0,0,!1),t===EM&&(or(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),sr(e),e.avail_out===0))return r.last_flush=-1,On}return t!==ur?On:r.wrap<=0?e_:(r.wrap===2?(ve(r,e.adler&255),ve(r,e.adler>>8&255),ve(r,e.adler>>16&255),ve(r,e.adler>>24&255),ve(r,e.total_in&255),ve(r,e.total_in>>8&255),ve(r,e.total_in>>16&255),ve(r,e.total_in>>24&255)):(ks(r,e.adler>>>16),ks(r,e.adler&65535)),sr(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?On:e_)}function XM(e){var t;return!e||!e.state?Qt:(t=e.state.status,t!==il&&t!==md&&t!==el&&t!==tl&&t!==nl&&t!==Gr&&t!==Ts?lr(e,Qt):(e.state=null,t===Gr?lr(e,OM):On))}function QM(e,t){var n=t.length,r,i,a,s,o,c,u,l;if(!e||!e.state||(r=e.state,s=r.wrap,s===2||s===1&&r.status!==il||r.lookahead))return Qt;for(s===1&&(e.adler=n_(e.adler,t,n,0)),r.wrap=0,n>=r.w_size&&(s===0&&(or(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new _t.Buf8(r.w_size),_t.arraySet(l,t,n-r.w_size,r.w_size,0),t=l,n=r.w_size),o=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,Vr(r);r.lookahead>=fe;){i=r.strstart,a=r.lookahead-(fe-1);do r.ins_h=(r.ins_h<<r.hash_shift^r.window[i+fe-1])&r.hash_mask,r.prev[i&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=i,i++;while(--a);r.strstart=i,r.lookahead=fe-1,Vr(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=fe-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=o,r.wrap=s,On}kn.deflateInit=ZM;kn.deflateInit2=s_;kn.deflateReset=a_;kn.deflateResetKeep=i_;kn.deflateSetHeader=VM;kn.deflate=JM;kn.deflateEnd=XM;kn.deflateSetDictionary=QM;kn.deflateInfo="pako deflate (from Nodeca project)"});var gd=b(ma=>{"use strict";var al=Nn(),c_=!0,l_=!0;try{String.fromCharCode.apply(null,[0])}catch{c_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{l_=!1}var As=new al.Buf8(256);for(qn=0;qn<256;qn++)As[qn]=qn>=252?6:qn>=248?5:qn>=240?4:qn>=224?3:qn>=192?2:1;var qn;As[254]=As[254]=1;ma.string2buf=function(e){var t,n,r,i,a,s=e.length,o=0;for(i=0;i<s;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new al.Buf8(o),a=0,i=0;a<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),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 u_(e,t){if(t<65534&&(e.subarray&&l_||!e.subarray&&c_))return String.fromCharCode.apply(null,al.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}ma.buf2binstring=function(e){return u_(e,e.length)};ma.binstring2buf=function(e){for(var t=new al.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t};ma.buf2string=function(e,t){var n,r,i,a,s=t||e.length,o=new Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){o[r++]=i;continue}if(a=As[i],a>4){o[r++]=65533,n+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&n<s;)i=i<<6|e[n++]&63,a--;if(a>1){o[r++]=65533;continue}i<65536?o[r++]=i:(i-=65536,o[r++]=55296|i>>10&1023,o[r++]=56320|i&1023)}return u_(o,r)};ma.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+As[e[n]]>t?n:t}});var vd=b((YF,p_)=>{"use strict";function eP(){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}p_.exports=eP});var m_=b(Ms=>{"use strict";var js=o_(),Rs=Nn(),xd=gd(),yd=Xc(),tP=vd(),h_=Object.prototype.toString,nP=0,bd=4,ga=0,f_=1,d_=2,rP=-1,iP=0,aP=8;function Jr(e){if(!(this instanceof Jr))return new Jr(e);this.options=Rs.assign({level:rP,method:aP,chunkSize:16384,windowBits:15,memLevel:8,strategy:iP,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 tP,this.strm.avail_out=0;var n=js.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==ga)throw new Error(yd[n]);if(t.header&&js.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(typeof t.dictionary=="string"?r=xd.string2buf(t.dictionary):h_.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=js.deflateSetDictionary(this.strm,r),n!==ga)throw new Error(yd[n]);this._dict_set=!0}}Jr.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i,a;if(this.ended)return!1;a=t===~~t?t:t===!0?bd:nP,typeof e=="string"?n.input=xd.string2buf(e):h_.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 Rs.Buf8(r),n.next_out=0,n.avail_out=r),i=js.deflate(n,a),i!==f_&&i!==ga)return this.onEnd(i),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===bd||a===d_))&&(this.options.to==="string"?this.onData(xd.buf2binstring(Rs.shrinkBuf(n.output,n.next_out))):this.onData(Rs.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&i!==f_);return a===bd?(i=js.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===ga):(a===d_&&(this.onEnd(ga),n.avail_out=0),!0)};Jr.prototype.onData=function(e){this.chunks.push(e)};Jr.prototype.onEnd=function(e){e===ga&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Rs.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function wd(e,t){var n=new Jr(t);if(n.push(e,!0),n.err)throw n.msg||yd[n.err];return n.result}function sP(e,t){return t=t||{},t.raw=!0,wd(e,t)}function oP(e,t){return t=t||{},t.gzip=!0,wd(e,t)}Ms.Deflate=Jr;Ms.deflate=wd;Ms.deflateRaw=sP;Ms.gzip=oP});var v_=b((KF,g_)=>{"use strict";var sl=30,cP=12;g_.exports=function(t,n){var r,i,a,s,o,c,u,l,p,f,m,v,g,d,x,_,T,k,O,D,B,N,W,F,q;r=t.state,i=t.next_in,F=t.input,a=i+(t.avail_in-5),s=t.next_out,q=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),u=r.dmax,l=r.wsize,p=r.whave,f=r.wnext,m=r.window,v=r.hold,g=r.bits,d=r.lencode,x=r.distcode,_=(1<<r.lenbits)-1,T=(1<<r.distbits)-1;e:do{g<15&&(v+=F[i++]<<g,g+=8,v+=F[i++]<<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){D=k&65535,O&=15,O&&(g<O&&(v+=F[i++]<<g,g+=8),D+=v&(1<<O)-1,v>>>=O,g-=O),g<15&&(v+=F[i++]<<g,g+=8,v+=F[i++]<<g,g+=8),k=x[v&T];n:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O&16){if(B=k&65535,O&=15,g<O&&(v+=F[i++]<<g,g+=8,g<O&&(v+=F[i++]<<g,g+=8)),B+=v&(1<<O)-1,B>u){t.msg="invalid distance too far back",r.mode=sl;break e}if(v>>>=O,g-=O,O=s-o,B>O){if(O=B-O,O>p&&r.sane){t.msg="invalid distance too far back",r.mode=sl;break e}if(N=0,W=m,f===0){if(N+=l-O,O<D){D-=O;do q[s++]=m[N++];while(--O);N=s-B,W=q}}else if(f<O){if(N+=l+f-O,O-=f,O<D){D-=O;do q[s++]=m[N++];while(--O);if(N=0,f<D){O=f,D-=O;do q[s++]=m[N++];while(--O);N=s-B,W=q}}}else if(N+=f-O,O<D){D-=O;do q[s++]=m[N++];while(--O);N=s-B,W=q}for(;D>2;)q[s++]=W[N++],q[s++]=W[N++],q[s++]=W[N++],D-=3;D&&(q[s++]=W[N++],D>1&&(q[s++]=W[N++]))}else{N=s-B;do q[s++]=q[N++],q[s++]=q[N++],q[s++]=q[N++],D-=3;while(D>2);D&&(q[s++]=q[N++],D>1&&(q[s++]=q[N++]))}}else if((O&64)===0){k=x[(k&65535)+(v&(1<<O)-1)];continue n}else{t.msg="invalid distance code",r.mode=sl;break e}break}}else if((O&64)===0){k=d[(k&65535)+(v&(1<<O)-1)];continue t}else if(O&32){r.mode=cP;break e}else{t.msg="invalid literal/length code",r.mode=sl;break e}break}}while(i<a&&s<c);D=g>>3,i-=D,g-=D<<3,v&=(1<<g)-1,t.next_in=i,t.next_out=s,t.avail_in=i<a?5+(a-i):5-(i-a),t.avail_out=s<c?257+(c-s):257-(s-c),r.hold=v,r.bits=g}});var E_=b((VF,S_)=>{"use strict";var b_=Nn(),va=15,x_=852,y_=592,w_=0,_d=1,__=2,lP=[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],uP=[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],pP=[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],fP=[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];S_.exports=function(t,n,r,i,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,T=0,k,O,D,B,N,W=null,F=0,q,M=new b_.Buf16(va+1),R=new b_.Buf16(va+1),L=null,G=0,ue,be,ee;for(l=0;l<=va;l++)M[l]=0;for(p=0;p<i;p++)M[n[r+p]]++;for(v=u,m=va;m>=1&&M[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&&M[f]===0;f++);for(v<f&&(v=f),x=1,l=1;l<=va;l++)if(x<<=1,x-=M[l],x<0)return-1;if(x>0&&(t===w_||m!==1))return-1;for(R[1]=0,l=1;l<va;l++)R[l+1]=R[l]+M[l];for(p=0;p<i;p++)n[r+p]!==0&&(o[R[n[r+p]]++]=p);if(t===w_?(W=L=o,q=19):t===_d?(W=lP,F-=257,L=uP,G-=257,q=256):(W=pP,L=fP,q=-1),T=0,p=0,l=f,N=s,g=v,d=0,D=-1,_=1<<v,B=_-1,t===_d&&_>x_||t===__&&_>y_)return 1;for(;;){ue=l-d,o[p]<q?(be=0,ee=o[p]):o[p]>q?(be=L[G+o[p]],ee=W[F+o[p]]):(be=32+64,ee=0),k=1<<l-d,O=1<<g,f=O;do O-=k,a[N+(T>>d)+O]=ue<<24|be<<16|ee|0;while(O!==0);for(k=1<<l-1;T&k;)k>>=1;if(k!==0?(T&=k-1,T+=k):T=0,p++,--M[l]===0){if(l===m)break;l=n[r+o[p]]}if(l>v&&(T&B)!==D){for(d===0&&(d=v),N+=f,g=l-d,x=1<<g;g+d<m&&(x-=M[g+d],!(x<=0));)g++,x<<=1;if(_+=1<<g,t===_d&&_>x_||t===__&&_>y_)return 1;D=T&B,a[D]=v<<24|g<<16|N-s|0}}return T!==0&&(a[N+T]=l-d<<24|64<<16|0),c.bits=v,0}});var a2=b(un=>{"use strict";var Ut=Nn(),Cd=ud(),Tn=pd(),dP=v_(),Ps=E_(),hP=0,Z_=1,J_=2,O_=4,mP=5,ol=6,Xr=0,gP=1,vP=2,en=-2,X_=-3,Ad=-4,bP=-5,k_=8,Q_=1,T_=2,C_=3,A_=4,j_=5,R_=6,M_=7,P_=8,I_=9,N_=10,ul=11,Bn=12,Sd=13,L_=14,Ed=15,q_=16,B_=17,F_=18,D_=19,cl=20,ll=21,z_=22,U_=23,$_=24,W_=25,H_=26,Od=27,Y_=28,G_=29,Re=30,jd=31,xP=32,yP=852,wP=592,_P=15,SP=_P;function K_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function EP(){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 Ut.Buf16(320),this.work=new Ut.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function e2(e){var t;return!e||!e.state?en:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Q_,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ut.Buf32(yP),t.distcode=t.distdyn=new Ut.Buf32(wP),t.sane=1,t.back=-1,Xr)}function t2(e){var t;return!e||!e.state?en:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,e2(e))}function n2(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?en:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,t2(e))}function r2(e,t){var n,r;return e?(r=new EP,e.state=r,r.window=null,n=n2(e,t),n!==Xr&&(e.state=null),n):en}function OP(e){return r2(e,SP)}var V_=!0,kd,Td;function kP(e){if(V_){var t;for(kd=new Ut.Buf32(512),Td=new Ut.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(Ps(Z_,e.lens,0,288,kd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ps(J_,e.lens,0,32,Td,0,e.work,{bits:5}),V_=!1}e.lencode=kd,e.lenbits=9,e.distcode=Td,e.distbits=5}function i2(e,t,n,r){var i,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ut.Buf8(a.wsize)),r>=a.wsize?(Ut.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),Ut.arraySet(a.window,t,n-r,i,a.wnext),r-=i,r?(Ut.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function TP(e,t){var n,r,i,a,s,o,c,u,l,p,f,m,v,g,d=0,x,_,T,k,O,D,B,N,W=new Ut.Buf8(4),F,q,M=[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 en;n=e.state,n.mode===Bn&&(n.mode=Sd),s=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,u=n.hold,l=n.bits,p=o,f=c,N=Xr;e:for(;;)switch(n.mode){case Q_:if(n.wrap===0){n.mode=Sd;break}for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(n.wrap&2&&u===35615){n.check=0,W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0),u=0,l=0,n.mode=T_;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=Re;break}if((u&15)!==k_){e.msg="unknown compression method",n.mode=Re;break}if(u>>>=4,l-=4,B=(u&15)+8,n.wbits===0)n.wbits=B;else if(B>n.wbits){e.msg="invalid window size",n.mode=Re;break}n.dmax=1<<B,e.adler=n.check=1,n.mode=u&512?N_:Bn,u=0,l=0;break;case T_:for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==k_){e.msg="unknown compression method",n.mode=Re;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Re;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0)),u=0,l=0,n.mode=C_;case C_:for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.head&&(n.head.time=u),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,W[2]=u>>>16&255,W[3]=u>>>24&255,n.check=Tn(n.check,W,4,0)),u=0,l=0,n.mode=A_;case A_:for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.head&&(n.head.xflags=u&255,n.head.os=u>>8),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0)),u=0,l=0,n.mode=j_;case j_:if(n.flags&1024){for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.length=u,n.head&&(n.head.extra_len=u),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Tn(n.check,W,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=R_;case R_:if(n.flags&1024&&(m=n.length,m>o&&(m=o),m&&(n.head&&(B=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ut.arraySet(n.head.extra,r,a,m,B)),n.flags&512&&(n.check=Tn(n.check,r,m,a)),o-=m,a+=m,n.length-=m),n.length))break e;n.length=0,n.mode=M_;case M_:if(n.flags&2048){if(o===0)break e;m=0;do B=r[a+m++],n.head&&B&&n.length<65536&&(n.head.name+=String.fromCharCode(B));while(B&&m<o);if(n.flags&512&&(n.check=Tn(n.check,r,m,a)),o-=m,a+=m,B)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=P_;case P_:if(n.flags&4096){if(o===0)break e;m=0;do B=r[a+m++],n.head&&B&&n.length<65536&&(n.head.comment+=String.fromCharCode(B));while(B&&m<o);if(n.flags&512&&(n.check=Tn(n.check,r,m,a)),o-=m,a+=m,B)break e}else n.head&&(n.head.comment=null);n.mode=I_;case I_:if(n.flags&512){for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Re;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=Bn;break;case N_:for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}e.adler=n.check=K_(u),u=0,l=0,n.mode=ul;case ul: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,vP;e.adler=n.check=1,n.mode=Bn;case Bn:if(t===mP||t===ol)break e;case Sd:if(n.last){u>>>=l&7,l-=l&7,n.mode=Od;break}for(;l<3;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}switch(n.last=u&1,u>>>=1,l-=1,u&3){case 0:n.mode=L_;break;case 1:if(kP(n),n.mode=cl,t===ol){u>>>=2,l-=2;break e}break;case 2:n.mode=B_;break;case 3:e.msg="invalid block type",n.mode=Re}u>>>=2,l-=2;break;case L_:for(u>>>=l&7,l-=l&7;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Re;break}if(n.length=u&65535,u=0,l=0,n.mode=Ed,t===ol)break e;case Ed:n.mode=q_;case q_:if(m=n.length,m){if(m>o&&(m=o),m>c&&(m=c),m===0)break e;Ut.arraySet(i,r,a,m,s),o-=m,a+=m,c-=m,s+=m,n.length-=m;break}n.mode=Bn;break;case B_:for(;l<14;){if(o===0)break e;o--,u+=r[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=Re;break}n.have=0,n.mode=F_;case F_:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.lens[M[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,F={bits:n.lenbits},N=Ps(hP,n.lens,0,19,n.lencode,0,n.work,F),n.lenbits=F.bits,N){e.msg="invalid code lengths set",n.mode=Re;break}n.have=0,n.mode=D_;case D_:for(;n.have<n.nlen+n.ndist;){for(;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,T=d&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(T<16)u>>>=x,l-=x,n.lens[n.have++]=T;else{if(T===16){for(q=x+2;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u>>>=x,l-=x,n.have===0){e.msg="invalid bit length repeat",n.mode=Re;break}B=n.lens[n.have-1],m=3+(u&3),u>>>=2,l-=2}else if(T===17){for(q=x+3;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=x,l-=x,B=0,m=3+(u&7),u>>>=3,l-=3}else{for(q=x+7;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=x,l-=x,B=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=Re;break}for(;m--;)n.lens[n.have++]=B}}if(n.mode===Re)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Re;break}if(n.lenbits=9,F={bits:n.lenbits},N=Ps(Z_,n.lens,0,n.nlen,n.lencode,0,n.work,F),n.lenbits=F.bits,N){e.msg="invalid literal/lengths set",n.mode=Re;break}if(n.distbits=6,n.distcode=n.distdyn,F={bits:n.distbits},N=Ps(J_,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,F),n.distbits=F.bits,N){e.msg="invalid distances set",n.mode=Re;break}if(n.mode=cl,t===ol)break e;case cl:n.mode=ll;case ll: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,dP(e,f),s=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,u=n.hold,l=n.bits,n.mode===Bn&&(n.back=-1);break}for(n.back=0;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,T=d&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(_&&(_&240)===0){for(k=x,O=_,D=T;d=n.lencode[D+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,T=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,n.length=T,_===0){n.mode=H_;break}if(_&32){n.back=-1,n.mode=Bn;break}if(_&64){e.msg="invalid literal/length code",n.mode=Re;break}n.extra=_&15,n.mode=z_;case z_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=r[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=U_;case U_:for(;d=n.distcode[u&(1<<n.distbits)-1],x=d>>>24,_=d>>>16&255,T=d&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if((_&240)===0){for(k=x,O=_,D=T;d=n.distcode[D+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,T=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=r[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=Re;break}n.offset=T,n.extra=_&15,n.mode=$_;case $_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=r[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=Re;break}n.mode=W_;case W_: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=Re;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=i,v=s-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do i[s++]=g[v++];while(--m);n.length===0&&(n.mode=ll);break;case H_:if(c===0)break e;i[s++]=n.length,c--,n.mode=ll;break;case Od:if(n.wrap){for(;l<32;){if(o===0)break e;o--,u|=r[a++]<<l,l+=8}if(f-=c,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=n.flags?Tn(n.check,i,f,s-f):Cd(n.check,i,f,s-f)),f=c,(n.flags?u:K_(u))!==n.check){e.msg="incorrect data check",n.mode=Re;break}u=0,l=0}n.mode=Y_;case Y_:if(n.wrap&&n.flags){for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Re;break}u=0,l=0}n.mode=G_;case G_:N=gP;break e;case Re:N=X_;break e;case jd:return Ad;case xP:default:return en}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<Re&&(n.mode<Od||t!==O_))&&i2(e,e.output,e.next_out,f-e.avail_out)?(n.mode=jd,Ad):(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?Tn(n.check,i,f,e.next_out-f):Cd(n.check,i,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Bn?128:0)+(n.mode===cl||n.mode===Ed?256:0),(p===0&&f===0||t===O_)&&N===Xr&&(N=bP),N)}function CP(e){if(!e||!e.state)return en;var t=e.state;return t.window&&(t.window=null),e.state=null,Xr}function AP(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?en:(n.head=t,t.done=!1,Xr)}function jP(e,t){var n=t.length,r,i,a;return!e||!e.state||(r=e.state,r.wrap!==0&&r.mode!==ul)?en:r.mode===ul&&(i=1,i=Cd(i,t,n,0),i!==r.check)?X_:(a=i2(e,t,n,n),a?(r.mode=jd,Ad):(r.havedict=1,Xr))}un.inflateReset=t2;un.inflateReset2=n2;un.inflateResetKeep=e2;un.inflateInit=OP;un.inflateInit2=r2;un.inflate=TP;un.inflateEnd=CP;un.inflateGetHeader=AP;un.inflateSetDictionary=jP;un.inflateInfo="pako inflate (from Nodeca project)"});var Rd=b((JF,s2)=>{"use strict";s2.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 c2=b((XF,o2)=>{"use strict";function RP(){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}o2.exports=RP});var u2=b(Ns=>{"use strict";var ba=a2(),Is=Nn(),pl=gd(),Ue=Rd(),Md=Xc(),MP=vd(),PP=c2(),l2=Object.prototype.toString;function Qr(e){if(!(this instanceof Qr))return new Qr(e);this.options=Is.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 MP,this.strm.avail_out=0;var n=ba.inflateInit2(this.strm,t.windowBits);if(n!==Ue.Z_OK)throw new Error(Md[n]);if(this.header=new PP,ba.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=pl.string2buf(t.dictionary):l2.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=ba.inflateSetDictionary(this.strm,t.dictionary),n!==Ue.Z_OK)))throw new Error(Md[n])}Qr.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i=this.options.dictionary,a,s,o,c,u,l=!1;if(this.ended)return!1;s=t===~~t?t:t===!0?Ue.Z_FINISH:Ue.Z_NO_FLUSH,typeof e=="string"?n.input=pl.binstring2buf(e):l2.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 Is.Buf8(r),n.next_out=0,n.avail_out=r),a=ba.inflate(n,Ue.Z_NO_FLUSH),a===Ue.Z_NEED_DICT&&i&&(a=ba.inflateSetDictionary(this.strm,i)),a===Ue.Z_BUF_ERROR&&l===!0&&(a=Ue.Z_OK,l=!1),a!==Ue.Z_STREAM_END&&a!==Ue.Z_OK)return this.onEnd(a),this.ended=!0,!1;n.next_out&&(n.avail_out===0||a===Ue.Z_STREAM_END||n.avail_in===0&&(s===Ue.Z_FINISH||s===Ue.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=pl.utf8border(n.output,n.next_out),c=n.next_out-o,u=pl.buf2string(n.output,o),n.next_out=c,n.avail_out=r-c,c&&Is.arraySet(n.output,n.output,o,c,0),this.onData(u)):this.onData(Is.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!==Ue.Z_STREAM_END);return a===Ue.Z_STREAM_END&&(s=Ue.Z_FINISH),s===Ue.Z_FINISH?(a=ba.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Ue.Z_OK):(s===Ue.Z_SYNC_FLUSH&&(this.onEnd(Ue.Z_OK),n.avail_out=0),!0)};Qr.prototype.onData=function(e){this.chunks.push(e)};Qr.prototype.onEnd=function(e){e===Ue.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Is.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Pd(e,t){var n=new Qr(t);if(n.push(e,!0),n.err)throw n.msg||Md[n.err];return n.result}function IP(e,t){return t=t||{},t.raw=!0,Pd(e,t)}Ns.Inflate=Qr;Ns.inflate=Pd;Ns.inflateRaw=IP;Ns.ungzip=Pd});var d2=b((eD,f2)=>{"use strict";var NP=Nn().assign,LP=m_(),qP=u2(),BP=Rd(),p2={};NP(p2,LP,qP,BP);f2.exports=p2});var m2=b(dl=>{"use strict";var FP=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",DP=d2(),h2=Ie(),fl=zt(),zP=FP?"uint8array":"array";dl.magic="\b\0";function ei(e,t){fl.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}h2.inherits(ei,fl);ei.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(h2.transformTo(zP,e.data),!1)};ei.prototype.flush=function(){fl.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};ei.prototype.cleanUp=function(){fl.prototype.cleanUp.call(this),this._pako=null};ei.prototype._createPako=function(){this._pako=new DP[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};dl.compressWorker=function(e){return new ei("Deflate",e)};dl.uncompressWorker=function(){return new ei("Inflate",{})}});var Nd=b(Id=>{"use strict";var g2=zt();Id.STORE={magic:"\0\0",compressWorker:function(e){return new g2("STORE compression")},uncompressWorker:function(){return new g2("STORE decompression")}};Id.DEFLATE=m2()});var Ld=b(ti=>{"use strict";ti.LOCAL_FILE_HEADER="PK";ti.CENTRAL_FILE_HEADER="PK";ti.CENTRAL_DIRECTORY_END="PK";ti.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";ti.ZIP64_CENTRAL_DIRECTORY_END="PK";ti.DATA_DESCRIPTOR="PK\x07\b"});var y2=b((iD,x2)=>{"use strict";var xa=Ie(),ya=zt(),qd=Wr(),v2=Gc(),hl=Ld(),ke=function(e,t){var n="",r;for(r=0;r<t;r++)n+=String.fromCharCode(e&255),e=e>>>8;return n},UP=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},$P=function(e,t){return(e||0)&63},b2=function(e,t,n,r,i,a){var s=e.file,o=e.compression,c=a!==qd.utf8encode,u=xa.transformTo("string",a(s.name)),l=xa.transformTo("string",qd.utf8encode(s.name)),p=s.comment,f=xa.transformTo("string",a(p)),m=xa.transformTo("string",qd.utf8encode(p)),v=l.length!==s.name.length,g=m.length!==p.length,d,x,_="",T="",k="",O=s.dir,D=s.date,B={crc32:0,compressedSize:0,uncompressedSize:0};(!t||n)&&(B.crc32=e.crc32,B.compressedSize=e.compressedSize,B.uncompressedSize=e.uncompressedSize);var N=0;t&&(N|=8),!c&&(v||g)&&(N|=2048);var W=0,F=0;O&&(W|=16),i==="UNIX"?(F=798,W|=UP(s.unixPermissions,O)):(F=20,W|=$P(s.dosPermissions,O)),d=D.getUTCHours(),d=d<<6,d=d|D.getUTCMinutes(),d=d<<5,d=d|D.getUTCSeconds()/2,x=D.getUTCFullYear()-1980,x=x<<4,x=x|D.getUTCMonth()+1,x=x<<5,x=x|D.getUTCDate(),v&&(T=ke(1,1)+ke(v2(u),4)+l,_+="up"+ke(T.length,2)+T),g&&(k=ke(1,1)+ke(v2(f),4)+m,_+="uc"+ke(k.length,2)+k);var q="";q+=`
|
|
35
|
-
\0`,q+=ke(N,2),q+=o.magic,q+=ke(d,2),q+=ke(x,2),q+=ke(B.crc32,4),q+=ke(B.compressedSize,4),q+=ke(B.uncompressedSize,4),q+=ke(u.length,2),q+=ke(_.length,2);var M=hl.LOCAL_FILE_HEADER+q+u+_,R=hl.CENTRAL_FILE_HEADER+ke(F,2)+q+ke(f.length,2)+"\0\0\0\0"+ke(W,4)+ke(r,4)+u+_+f;return{fileRecord:M,dirRecord:R}},WP=function(e,t,n,r,i){var a="",s=xa.transformTo("string",i(r));return a=hl.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ke(e,2)+ke(e,2)+ke(t,4)+ke(n,4)+ke(s.length,2)+s,a},HP=function(e){var t="";return t=hl.DATA_DESCRIPTOR+ke(e.crc32,4)+ke(e.compressedSize,4)+ke(e.uncompressedSize,4),t};function pn(e,t,n,r){ya.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}xa.inherits(pn,ya);pn.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,ya.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))};pn.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=b2(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};pn.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=b2(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:HP(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};pn.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,r=WP(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})};pn.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};pn.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};pn.prototype.resume=function(){if(!ya.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};pn.prototype.error=function(e){var t=this._sources;if(!ya.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0};pn.prototype.lock=function(){ya.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};x2.exports=pn});var _2=b(w2=>{"use strict";var YP=Nd(),GP=y2(),KP=function(e,t){var n=e||t,r=YP[n];if(!r)throw new Error(n+" is not a valid compression method !");return r};w2.generateWorker=function(e,t,n){var r=new GP(t.streamFiles,n,t.platform,t.encodeFileName),i=0;try{e.forEach(function(a,s){i++;var o=KP(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(r)}),r.entriesCount=i}catch(a){r.error(a)}return r}});var E2=b((sD,S2)=>{"use strict";var VP=Ie(),ml=zt();function Ls(e,t){ml.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}VP.inherits(Ls,ml);Ls.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()})};Ls.prototype.pause=function(){return ml.prototype.pause.call(this)?(this._stream.pause(),!0):!1};Ls.prototype.resume=function(){return ml.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};S2.exports=Ls});var I2=b((oD,P2)=>{"use strict";var ZP=Wr(),qs=Ie(),C2=zt(),JP=Uf(),A2=$f(),O2=Kc(),XP=kw(),QP=_2(),k2=fs(),eI=E2(),j2=function(e,t,n){var r=qs.getTypeOf(t),i,a=qs.extend(n||{},A2);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=R2(e)),a.createFolders&&(i=tI(e))&&M2.call(this,i,!0);var s=r==="string"&&a.binary===!1&&a.base64===!1;(!n||typeof n.binary>"u")&&(a.binary=!s);var o=t instanceof O2&&t.uncompressedSize===0;(o||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",r="string");var c=null;t instanceof O2||t instanceof C2?c=t:k2.isNode&&k2.isStream(t)?c=new eI(e,t):c=qs.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new XP(e,c,a);this.files[e]=u},tI=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},R2=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},M2=function(e,t){return t=typeof t<"u"?t:A2.createFolders,e=R2(e),this.files[e]||j2.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function T2(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var nI={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,r;for(t in this.files)r=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1)if(T2(e)){var r=e;return this.filter(function(a,s){return!s.dir&&r.test(a)})}else{var i=this.files[this.root+e];return i&&!i.dir?i:null}else e=this.root+e,j2.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(T2(e))return this.filter(function(i,a){return a.dir&&e.test(i)});var t=this.root+e,n=M2.call(this,t),r=this.clone();return r.root=n.name,r},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(i,a){return a.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].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=qs.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ZP.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.");qs.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 r=n.comment||this.comment||"";t=QP.generateWorker(this,n,r)}catch(i){t=new C2("error"),t.error(i)}return new JP(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)}};P2.exports=nI});var Bd=b((cD,L2)=>{"use strict";var rI=Ie();function N2(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}N2.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 rI.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))}};L2.exports=N2});var Fd=b((lD,B2)=>{"use strict";var q2=Bd(),iI=Ie();function wa(e){q2.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}iI.inherits(wa,q2);wa.prototype.byteAt=function(e){return this.data[this.zero+e]};wa.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1};wa.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]};wa.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};B2.exports=wa});var z2=b((uD,D2)=>{"use strict";var F2=Bd(),aI=Ie();function _a(e){F2.call(this,e)}aI.inherits(_a,F2);_a.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};_a.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};_a.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};_a.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};D2.exports=_a});var zd=b((pD,$2)=>{"use strict";var U2=Fd(),sI=Ie();function Dd(e){U2.call(this,e)}sI.inherits(Dd,U2);Dd.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};$2.exports=Dd});var Y2=b((fD,H2)=>{"use strict";var W2=zd(),oI=Ie();function Ud(e){W2.call(this,e)}oI.inherits(Ud,W2);Ud.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};H2.exports=Ud});var $d=b((dD,K2)=>{"use strict";var gl=Ie(),G2=Pn(),cI=Fd(),lI=z2(),uI=Y2(),pI=zd();K2.exports=function(e){var t=gl.getTypeOf(e);return gl.checkSupport(t),t==="string"&&!G2.uint8array?new lI(e):t==="nodebuffer"?new uI(e):G2.uint8array?new pI(gl.transformTo("uint8array",e)):new cI(gl.transformTo("array",e))}});var X2=b((hD,J2)=>{"use strict";var Wd=$d(),pr=Ie(),fI=Kc(),V2=Gc(),vl=Wr(),bl=Nd(),dI=Pn(),hI=0,mI=3,gI=function(e){for(var t in bl)if(!!bl.hasOwnProperty(t)&&bl[t].magic===e)return bl[t];return null};function Z2(e,t){this.options=e,this.loadOptions=t}Z2.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=gI(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+pr.pretty(this.compressionMethod)+" unknown (inner file : "+pr.transformTo("string",this.fileName)+")");this.decompressed=new fI(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===hI&&(this.dosPermissions=this.externalFileAttributes&63),e===mI&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(!!this.extraFields[1]){var t=Wd(this.extraFields[1].value);this.uncompressedSize===pr.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===pr.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===pr.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===pr.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,r,i;for(this.extraFields||(this.extraFields={});e.index+4<t;)n=e.readInt(2),r=e.readInt(2),i=e.readData(r),this.extraFields[n]={id:n,length:r,value:i};e.setIndex(t)},handleUTF8:function(){var e=dI.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=vl.utf8decode(this.fileName),this.fileCommentStr=vl.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=pr.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var i=pr.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Wd(e.value);return t.readInt(1)!==1||V2(this.fileName)!==t.readInt(4)?null:vl.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Wd(e.value);return t.readInt(1)!==1||V2(this.fileComment)!==t.readInt(4)?null:vl.utf8decode(t.readData(e.length-5))}return null}};J2.exports=Z2});var tS=b((gD,eS)=>{"use strict";var vI=$d(),Fn=Ie(),fn=Ld(),bI=X2(),mD=Wr(),xI=Pn();function Q2(e){this.files=[],this.loadOptions=e}Q2.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 ("+Fn.pretty(t)+", expected "+Fn.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4),i=r===t;return this.reader.setIndex(n),i},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=xI.uint8array?"uint8array":"array",n=Fn.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,r,i;t<e;)n=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[n]={id:n,length:r,value:i}},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(fn.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fn.CENTRAL_FILE_HEADER);)e=new bI({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(fn.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,fn.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(fn.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Fn.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Fn.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Fn.MAX_VALUE_16BITS||this.centralDirRecords===Fn.MAX_VALUE_16BITS||this.centralDirSize===Fn.MAX_VALUE_32BITS||this.centralDirOffset===Fn.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(fn.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(fn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fn.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fn.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(fn.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var i=n-r;if(i>0)this.isSignature(n,fn.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=vI(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};eS.exports=Q2});var aS=b((vD,iS)=>{"use strict";var nS=Ie(),xl=aa(),yI=Wr(),wI=tS(),_I=Yf(),rS=fs();function SI(e){return new xl.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new _I);r.on("error",function(i){n(i)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}iS.exports=function(e,t){var n=this;return t=nS.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:yI.utf8decode}),rS.isNode&&rS.isStream(e)?xl.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):nS.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new wI(t);return i.load(r),i}).then(function(i){var a=[xl.Promise.resolve(i)],s=i.files;if(t.checkCRC32)for(var o=0;o<s.length;o++)a.push(SI(s[o]));return xl.Promise.all(a)}).then(function(i){for(var a=i.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 oS=b((bD,sS)=>{"use strict";function tn(){if(!(this instanceof tn))return new tn;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 tn;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}tn.prototype=I2();tn.prototype.loadAsync=aS();tn.support=Pn();tn.defaults=$f();tn.version="3.7.1";tn.loadAsync=function(e,t){return new tn().loadAsync(e,t)};tn.external=aa();sS.exports=tn});var ri=b(jt=>{"use strict";var Dn={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Bs={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"},EI="tag:yaml.org,2002:",OI={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function cS(e){let t=[0],n=e.indexOf(`
|
|
31
|
+
`,i)}while(r!==-1);return a+=e.substr(i),a};Wx.exports={stringReplaceAll:f5,stringEncaseCRLFWithFirstIndex:d5}});var Zx=b((EF,Kx)=>{"use strict";var h5=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Yx=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,m5=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,g5=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,v5=new Map([["n",`
|
|
32
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Vx(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)):v5.get(e)||e}function b5(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),i;for(let a of r){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(i=a.match(m5))n.push(i[2].replace(g5,(o,c,u)=>c?Vx(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function x5(e){Yx.lastIndex=0;let t=[],n;for(;(n=Yx.exec(e))!==null;){let r=n[1];if(n[2]){let i=b5(r,n[2]);t.push([r].concat(i))}else t.push([r])}return t}function Gx(e,t){let n={};for(let i of t)for(let a of i.styles)n[a[0]]=i.inverse?null:a.slice(1);let r=e;for(let[i,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(i in r))throw new Error(`Unknown Chalk style: ${i}`);r=a.length>0?r[i](...a):r[i]}return r}Kx.exports=(e,t)=>{let n=[],r=[],i=[];if(t.replace(h5,(a,s,o,c,u,l)=>{if(s)i.push(Vx(s));else if(c){let p=i.join("");i=[],r.push(n.length===0?p:Gx(e,n)(p)),n.push({inverse:o,styles:x5(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(Gx(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return r.join("")}});var kt=b((OF,ny)=>{"use strict";var us=_p(),{stdout:Wp,stderr:Hp}=$o(),{stringReplaceAll:y5,stringEncaseCRLFWithFirstIndex:w5}=Hx(),{isArray:Tc}=Array,Qx=["ansi","ansi","ansi256","ansi16m"],ea=Object.create(null),_5=(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=Wp?Wp.level:0;e.level=t.level===void 0?n:t.level},Yp=class{constructor(t){return Xx(t)}},Xx=e=>{let t={};return _5(t,e),t.template=(...n)=>ty(t.template,...n),Object.setPrototypeOf(t,Cc.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Yp,t.template};function Cc(e){return Xx(e)}for(let[e,t]of Object.entries(us))ea[e]={get(){let n=Ac(this,Gp(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};ea.visible={get(){let e=Ac(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var ey=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of ey)ea[e]={get(){let{level:t}=this;return function(...n){let r=Gp(us.color[Qx[t]][e](...n),us.color.close,this._styler);return Ac(this,r,this._isEmpty)}}};for(let e of ey){let t="bg"+e[0].toUpperCase()+e.slice(1);ea[t]={get(){let{level:n}=this;return function(...r){let i=Gp(us.bgColor[Qx[n]][e](...r),us.bgColor.close,this._styler);return Ac(this,i,this._isEmpty)}}}}var S5=Object.defineProperties(()=>{},{...ea,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Gp=(e,t,n)=>{let r,i;return n===void 0?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},Ac=(e,t,n)=>{let r=(...i)=>Tc(i[0])&&Tc(i[0].raw)?Jx(r,ty(r,...i)):Jx(r,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(r,S5),r._generator=e,r._styler=t,r._isEmpty=n,r},Jx=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:r,closeAll:i}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=y5(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
33
|
+
`);return a!==-1&&(t=w5(t,i,r,a)),r+t+i},Up,ty=(e,...t)=>{let[n]=t;if(!Tc(n)||!Tc(n.raw))return t.join(" ");let r=t.slice(1),i=[n.raw[0]];for(let a=1;a<n.length;a++)i.push(String(r[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return Up===void 0&&(Up=Zx()),Up(e,i.join(""))};Object.defineProperties(Cc.prototype,ea);var jc=Cc();jc.supportsColor=Wp;jc.stderr=Cc({level:Hp?Hp.level:0});jc.stderr.supportsColor=Hp;ny.exports=jc});var Vp=b((kF,ry)=>{"use strict";ry.exports=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}}});var Tt=b((TF,sy)=>{"use strict";var E5=Vp(),Gr=Object.prototype.toString;function Jp(e){return Gr.call(e)==="[object Array]"}function Kp(e){return typeof e>"u"}function O5(e){return e!==null&&!Kp(e)&&e.constructor!==null&&!Kp(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function k5(e){return Gr.call(e)==="[object ArrayBuffer]"}function T5(e){return typeof FormData<"u"&&e instanceof FormData}function C5(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function A5(e){return typeof e=="string"}function j5(e){return typeof e=="number"}function iy(e){return e!==null&&typeof e=="object"}function Rc(e){if(Gr.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function R5(e){return Gr.call(e)==="[object Date]"}function M5(e){return Gr.call(e)==="[object File]"}function I5(e){return Gr.call(e)==="[object Blob]"}function ay(e){return Gr.call(e)==="[object Function]"}function P5(e){return iy(e)&&ay(e.pipe)}function N5(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function L5(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q5(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Qp(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Jp(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Zp(){var e={};function t(i,a){Rc(e[a])&&Rc(i)?e[a]=Zp(e[a],i):Rc(i)?e[a]=Zp({},i):Jp(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)Qp(arguments[n],t);return e}function B5(e,t,n){return Qp(t,function(i,a){n&&typeof i=="function"?e[a]=E5(i,n):e[a]=i}),e}function F5(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}sy.exports={isArray:Jp,isArrayBuffer:k5,isBuffer:O5,isFormData:T5,isArrayBufferView:C5,isString:A5,isNumber:j5,isObject:iy,isPlainObject:Rc,isUndefined:Kp,isDate:R5,isFile:M5,isBlob:I5,isFunction:ay,isStream:P5,isURLSearchParams:N5,isStandardBrowserEnv:q5,forEach:Qp,merge:Zp,extend:B5,trim:L5,stripBOM:F5}});var Mc=b((CF,cy)=>{"use strict";var ta=Tt();function oy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}cy.exports=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(ta.isURLSearchParams(n))i=n.toString();else{var a=[];ta.forEach(n,function(c,u){c===null||typeof c>"u"||(ta.isArray(c)?u=u+"[]":c=[c],ta.forEach(c,function(p){ta.isDate(p)?p=p.toISOString():ta.isObject(p)&&(p=JSON.stringify(p)),a.push(oy(u)+"="+oy(p))}))}),i=a.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}});var uy=b((AF,ly)=>{"use strict";var D5=Tt();function Ic(){this.handlers=[]}Ic.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Ic.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Ic.prototype.forEach=function(t){D5.forEach(this.handlers,function(r){r!==null&&t(r)})};ly.exports=Ic});var fy=b((jF,py)=>{"use strict";var z5=Tt();py.exports=function(t,n){z5.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})}});var Pc=b((RF,dy)=>{"use strict";dy.exports=function(t,n,r,i,a){return t.config=n,r&&(t.code=r),t.request=i,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 Nc=b((MF,hy)=>{"use strict";var $5=Pc();hy.exports=function(t,n,r,i,a){var s=new Error(t);return $5(s,n,r,i,a)}});var Xp=b((IF,my)=>{"use strict";var U5=Nc();my.exports=function(t,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):n(U5("Request failed with status code "+r.status,r.config,null,r.request,r))}});var vy=b((PF,gy)=>{"use strict";var Lc=Tt();gy.exports=Lc.isStandardBrowserEnv()?function(){return{write:function(n,r,i,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(r)),Lc.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),Lc.isString(a)&&c.push("path="+a),Lc.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var xy=b((NF,by)=>{"use strict";by.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var wy=b((LF,yy)=>{"use strict";yy.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var ef=b((qF,_y)=>{"use strict";var W5=xy(),H5=wy();_y.exports=function(t,n){return t&&!W5(n)?H5(t,n):n}});var Ey=b((BF,Sy)=>{"use strict";var tf=Tt(),Y5=["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"];Sy.exports=function(t){var n={},r,i,a;return t&&tf.forEach(t.split(`
|
|
34
|
+
`),function(o){if(a=o.indexOf(":"),r=tf.trim(o.substr(0,a)).toLowerCase(),i=tf.trim(o.substr(a+1)),r){if(n[r]&&Y5.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n}});var Ty=b((FF,ky)=>{"use strict";var Oy=Tt();ky.exports=Oy.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(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 r=i(window.location.href),function(s){var o=Oy.isString(s)?i(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}()});var na=b((DF,Cy)=>{"use strict";function nf(e){this.message=e}nf.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};nf.prototype.__CANCEL__=!0;Cy.exports=nf});var jy=b((zF,Ay)=>{"use strict";var qc=Tt(),G5=Xp(),V5=vy(),K5=Mc(),Z5=ef(),J5=Ey(),Q5=Ty(),rf=Nc(),X5=ra(),e3=na();Ay.exports=function(t){return new Promise(function(r,i){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)}qc.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 d=Z5(t.baseURL,t.url);l.open(t.method.toUpperCase(),K5(d,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var h="getAllResponseHeaders"in l?J5(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,w={data:x,status:l.status,statusText:l.statusText,headers:h,config:t,request:l};G5(function(k){r(k),u()},function(k){i(k),u()},w),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||(i(rf("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i(rf("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",w=t.transitional||X5.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),i(rf(x,t,w.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},qc.isStandardBrowserEnv()){var g=(t.withCredentials||Q5(d))&&t.xsrfCookieName?V5.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&qc.forEach(s,function(x,w){typeof a>"u"&&w.toLowerCase()==="content-type"?delete s[w]:l.setRequestHeader(w,x)}),qc.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(h){!l||(i(!h||h&&h.type?new e3("canceled"):h),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 Bc=b(($F,Ry)=>{Ry.exports={version:"0.24.0"}});var qy=b((UF,Ly)=>{"use strict";var ps=Tt(),My=Xp(),t3=ef(),n3=Mc(),r3=require("http"),i3=require("https"),a3=Qa().http,s3=Qa().https,Iy=require("url"),o3=require("zlib"),c3=Bc().version,Fc=Nc(),af=Pc(),l3=ra(),u3=na(),Py=/https:?/;function Ny(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(a){a.headers.host=a.host,Ny(a,t,a.href)}}Ly.exports=function(t){return new Promise(function(r,i){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(V){s(),r(V)},c=function(V){s(),i(V)},u=t.data,l=t.headers,p={};if(Object.keys(l).forEach(function(V){p[V.toLowerCase()]=V}),"user-agent"in p?l[p["user-agent"]]||delete l[p["user-agent"]]:l["User-Agent"]="axios/"+c3,u&&!ps.isStream(u)){if(!Buffer.isBuffer(u))if(ps.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(ps.isString(u))u=Buffer.from(u,"utf-8");else return c(Fc("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 d=t.auth.username||"",v=t.auth.password||"";f=d+":"+v}var g=t3(t.baseURL,t.url),h=Iy.parse(g),x=h.protocol||"http:";if(!f&&h.auth){var w=h.auth.split(":"),T=w[0]||"",k=w[1]||"";f=T+":"+k}f&&p.authorization&&delete l[p.authorization];var O=Py.test(x),D=O?t.httpsAgent:t.httpAgent,B={path:n3(h.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:l,agent:D,agents:{http:t.httpAgent,https:t.httpsAgent},auth:f};t.socketPath?B.socketPath=t.socketPath:(B.hostname=h.hostname,B.port=h.port);var N=t.proxy;if(!N&&N!==!1){var W=x.slice(0,-1)+"_proxy",F=process.env[W]||process.env[W.toUpperCase()];if(F){var q=Iy.parse(F),M=process.env.no_proxy||process.env.NO_PROXY,R=!0;if(M){var L=M.split(",").map(function(V){return V.trim()});R=!L.some(function(V){return V?V==="*"||V[0]==="."&&h.hostname.substr(h.hostname.length-V.length)===V?!0:h.hostname===V:!1})}if(R&&(N={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var G=q.auth.split(":");N.auth={username:G[0],password:G[1]}}}}N&&(B.headers.host=h.hostname+(h.port?":"+h.port:""),Ny(B,N,x+"//"+h.hostname+(h.port?":"+h.port:"")+B.path));var pe,we=O&&(N?Py.test(N.protocol):!0);t.transport?pe=t.transport:t.maxRedirects===0?pe=we?i3:r3:(t.maxRedirects&&(B.maxRedirects=t.maxRedirects),pe=we?s3:a3),t.maxBodyLength>-1&&(B.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(B.insecureHTTPParser=t.insecureHTTPParser);var te=pe.request(B,function(V){if(!te.aborted){var me=V,ae=V.req||te;if(V.statusCode!==204&&ae.method!=="HEAD"&&t.decompress!==!1)switch(V.headers["content-encoding"]){case"gzip":case"compress":case"deflate":me=me.pipe(o3.createUnzip()),delete V.headers["content-encoding"];break}var U={status:V.statusCode,statusText:V.statusMessage,headers:V.headers,config:t,request:ae};if(t.responseType==="stream")U.data=me,My(o,c,U);else{var yt=[],Kt=0;me.on("data",function(le){yt.push(le),Kt+=le.length,t.maxContentLength>-1&&Kt>t.maxContentLength&&(me.destroy(),c(Fc("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ae)))}),me.on("error",function(le){te.aborted||c(af(le,t,null,ae))}),me.on("end",function(){var le=Buffer.concat(yt);t.responseType!=="arraybuffer"&&(le=le.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(le=ps.stripBOM(le))),U.data=le,My(o,c,U)})}}});if(te.on("error",function(V){te.aborted&&V.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(af(V,t,null,te))}),t.timeout){var Ce=parseInt(t.timeout,10);if(isNaN(Ce)){c(Fc("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",te));return}te.setTimeout(Ce,function(){te.abort();var V=t.transitional||l3.transitional;c(Fc("timeout of "+Ce+"ms exceeded",t,V.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",te))})}(t.cancelToken||t.signal)&&(a=function(fe){te.aborted||(te.abort(),c(!fe||fe&&fe.type?new u3("canceled"):fe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),ps.isStream(u)?u.on("error",function(V){c(af(V,t,null,te))}).pipe(te):te.end(u)})}});var ra=b((WF,Dy)=>{"use strict";var ft=Tt(),By=fy(),p3=Pc(),f3={"Content-Type":"application/x-www-form-urlencoded"};function Fy(e,t){!ft.isUndefined(e)&&ft.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function d3(){var e;return typeof XMLHttpRequest<"u"?e=jy():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=qy()),e}function h3(e,t,n){if(ft.isString(e))try{return(t||JSON.parse)(e),ft.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Dc={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:d3(),transformRequest:[function(t,n){return By(n,"Accept"),By(n,"Content-Type"),ft.isFormData(t)||ft.isArrayBuffer(t)||ft.isBuffer(t)||ft.isStream(t)||ft.isFile(t)||ft.isBlob(t)?t:ft.isArrayBufferView(t)?t.buffer:ft.isURLSearchParams(t)?(Fy(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ft.isObject(t)||n&&n["Content-Type"]==="application/json"?(Fy(n,"application/json"),h3(t)):t}],transformResponse:[function(t){var n=this.transitional||Dc.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&ft.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?p3(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, */*"}}};ft.forEach(["delete","get","head"],function(t){Dc.headers[t]={}});ft.forEach(["post","put","patch"],function(t){Dc.headers[t]=ft.merge(f3)});Dy.exports=Dc});var $y=b((HF,zy)=>{"use strict";var m3=Tt(),g3=ra();zy.exports=function(t,n,r){var i=this||g3;return m3.forEach(r,function(s){t=s.call(i,t,n)}),t}});var sf=b((YF,Uy)=>{"use strict";Uy.exports=function(t){return!!(t&&t.__CANCEL__)}});var Yy=b((GF,Hy)=>{"use strict";var Wy=Tt(),of=$y(),v3=sf(),b3=ra(),x3=na();function cf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new x3("canceled")}Hy.exports=function(t){cf(t),t.headers=t.headers||{},t.data=of.call(t,t.data,t.headers,t.transformRequest),t.headers=Wy.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Wy.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||b3.adapter;return n(t).then(function(i){return cf(t),i.data=of.call(t,i.data,i.headers,t.transformResponse),i},function(i){return v3(i)||(cf(t),i&&i.response&&(i.response.data=of.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})}});var lf=b((VF,Gy)=>{"use strict";var $t=Tt();Gy.exports=function(t,n){n=n||{};var r={};function i(l,p){return $t.isPlainObject(l)&&$t.isPlainObject(p)?$t.merge(l,p):$t.isPlainObject(p)?$t.merge({},p):$t.isArray(p)?p.slice():p}function a(l){if($t.isUndefined(n[l])){if(!$t.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],n[l])}function s(l){if(!$t.isUndefined(n[l]))return i(void 0,n[l])}function o(l){if($t.isUndefined(n[l])){if(!$t.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,n[l])}function c(l){if(l in n)return i(t[l],n[l]);if(l in t)return i(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 $t.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,d=f(p);$t.isUndefined(d)&&f!==c||(r[p]=d)}),r}});var Zy=b((KF,Ky)=>{"use strict";var y3=Bc().version,uf={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){uf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Vy={};uf.transitional=function(t,n,r){function i(a,s){return"[Axios v"+y3+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return function(a,s,o){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!Vy[s]&&(Vy[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function w3(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],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)}}Ky.exports={assertOptions:w3,validators:uf}});var n1=b((ZF,t1)=>{"use strict";var Xy=Tt(),_3=Mc(),Jy=uy(),Qy=Yy(),zc=lf(),e1=Zy(),ia=e1.validators;function fs(e){this.defaults=e,this.interceptors={request:new Jy,response:new Jy}}fs.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=zc(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&&e1.assertOptions(n,{silentJSONParsing:ia.transitional(ia.boolean),forcedJSONParsing:ia.transitional(ia.boolean),clarifyTimeoutError:ia.transitional(ia.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(i=i&&f.synchronous,r.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var s;if(!i){var o=[Qy,void 0];for(Array.prototype.unshift.apply(o,r),o=o.concat(a),s=Promise.resolve(t);o.length;)s=s.then(o.shift(),o.shift());return s}for(var c=t;r.length;){var u=r.shift(),l=r.shift();try{c=u(c)}catch(p){l(p);break}}try{s=Qy(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};fs.prototype.getUri=function(t){return t=zc(this.defaults,t),_3(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Xy.forEach(["delete","get","head","options"],function(t){fs.prototype[t]=function(n,r){return this.request(zc(r||{},{method:t,url:n,data:(r||{}).data}))}});Xy.forEach(["post","put","patch"],function(t){fs.prototype[t]=function(n,r,i){return this.request(zc(i||{},{method:t,url:n,data:r}))}});t1.exports=fs});var i1=b((JF,r1)=>{"use strict";var S3=na();function aa(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,a=n._listeners.length;for(i=0;i<a;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,a=new Promise(function(s){n.subscribe(s),i=s}).then(r);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i){n.reason||(n.reason=new S3(i),t(n.reason))})}aa.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};aa.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};aa.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};aa.source=function(){var t,n=new aa(function(i){t=i});return{token:n,cancel:t}};r1.exports=aa});var s1=b((QF,a1)=>{"use strict";a1.exports=function(t){return function(r){return t.apply(null,r)}}});var c1=b((XF,o1)=>{"use strict";o1.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var p1=b((eD,pf)=>{"use strict";var l1=Tt(),E3=Vp(),$c=n1(),O3=lf(),k3=ra();function u1(e){var t=new $c(e),n=E3($c.prototype.request,t);return l1.extend(n,$c.prototype,t),l1.extend(n,t),n.create=function(i){return u1(O3(e,i))},n}var En=u1(k3);En.Axios=$c;En.Cancel=na();En.CancelToken=i1();En.isCancel=sf();En.VERSION=Bc().version;En.all=function(t){return Promise.all(t)};En.spread=s1();En.isAxiosError=c1();pf.exports=En;pf.exports.default=En});var ff=b((tD,f1)=>{f1.exports=p1()});var hs=b((pD,vf)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?vf.exports={nextTick:F3}:vf.exports=process;function F3(e,t,n,r){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,a,s;switch(i){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,r)});default:for(a=new Array(i-1),s=0;s<a.length;)a[s++]=arguments[s];return process.nextTick(function(){e.apply(null,a)})}}});var w1=b((fD,y1)=>{var D3={}.toString;y1.exports=Array.isArray||function(e){return D3.call(e)=="[object Array]"}});var bf=b((dD,_1)=>{_1.exports=require("stream")});var ms=b((xf,E1)=>{var Hc=require("buffer"),Pn=Hc.Buffer;function S1(e,t){for(var n in e)t[n]=e[n]}Pn.from&&Pn.alloc&&Pn.allocUnsafe&&Pn.allocUnsafeSlow?E1.exports=Hc:(S1(Hc,xf),xf.Buffer=sa);function sa(e,t,n){return Pn(e,t,n)}S1(Pn,sa);sa.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Pn(e,t,n)};sa.alloc=function(e,t,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var r=Pn(e);return t!==void 0?typeof n=="string"?r.fill(t,n):r.fill(t):r.fill(0),r};sa.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Pn(e)};sa.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Hc.SlowBuffer(e)}});var oa=b(vt=>{function z3(e){return Array.isArray?Array.isArray(e):Yc(e)==="[object Array]"}vt.isArray=z3;function $3(e){return typeof e=="boolean"}vt.isBoolean=$3;function U3(e){return e===null}vt.isNull=U3;function W3(e){return e==null}vt.isNullOrUndefined=W3;function H3(e){return typeof e=="number"}vt.isNumber=H3;function Y3(e){return typeof e=="string"}vt.isString=Y3;function G3(e){return typeof e=="symbol"}vt.isSymbol=G3;function V3(e){return e===void 0}vt.isUndefined=V3;function K3(e){return Yc(e)==="[object RegExp]"}vt.isRegExp=K3;function Z3(e){return typeof e=="object"&&e!==null}vt.isObject=Z3;function J3(e){return Yc(e)==="[object Date]"}vt.isDate=J3;function Q3(e){return Yc(e)==="[object Error]"||e instanceof Error}vt.isError=Q3;function X3(e){return typeof e=="function"}vt.isFunction=X3;function eR(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}vt.isPrimitive=eR;vt.isBuffer=require("buffer").Buffer.isBuffer;function Yc(e){return Object.prototype.toString.call(e)}});var O1=b((mD,yf)=>{typeof Object.create=="function"?yf.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:yf.exports=function(t,n){if(n){t.super_=n;var r=function(){};r.prototype=n.prototype,t.prototype=new r,t.prototype.constructor=t}}});var ca=b((gD,_f)=>{try{if(wf=require("util"),typeof wf.inherits!="function")throw"";_f.exports=wf.inherits}catch{_f.exports=O1()}var wf});var T1=b((vD,Sf)=>{"use strict";function tR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var k1=ms().Buffer,gs=require("util");function nR(e,t,n){e.copy(t,n)}Sf.exports=function(){function e(){tR(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var r={data:n,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length},e.prototype.unshift=function(n){var r={data:n,next:this.head};this.length===0&&(this.tail=r),this.head=r,++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 r=this.head,i=""+r.data;r=r.next;)i+=n+r.data;return i},e.prototype.concat=function(n){if(this.length===0)return k1.alloc(0);if(this.length===1)return this.head.data;for(var r=k1.allocUnsafe(n>>>0),i=this.head,a=0;i;)nR(i.data,r,a),a+=i.data.length,i=i.next;return r},e}();gs&&gs.inspect&&gs.inspect.custom&&(Sf.exports.prototype[gs.inspect.custom]=function(){var e=gs.inspect({length:this.length});return this.constructor.name+" "+e})});var Ef=b((bD,j1)=>{"use strict";var C1=hs();function rR(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(!this._writableState||!this._writableState.errorEmitted)&&C1.nextTick(A1,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(C1.nextTick(A1,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function iR(){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 A1(e,t){e.emit("error",t)}j1.exports={destroy:rR,undestroy:iR}});var M1=b((xD,R1)=>{R1.exports=require("util").deprecate});var kf=b((yD,D1)=>{"use strict";var Vr=hs();D1.exports=Ke;function P1(e){var t=this;this.next=null,this.entry=null,this.finish=function(){_R(t,e)}}var aR=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Vr.nextTick,la;Ke.WritableState=bs;var N1=Object.create(oa());N1.inherits=ca();var sR={deprecate:M1()},L1=bf(),Vc=ms().Buffer,oR=global.Uint8Array||function(){};function cR(e){return Vc.from(e)}function lR(e){return Vc.isBuffer(e)||e instanceof oR}var q1=Ef();N1.inherits(Ke,L1);function uR(){}function bs(e,t){la=la||Kr(),e=e||{};var n=t instanceof la;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=e.writableHighWaterMark,a=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:n&&(i||i===0)?this.highWaterMark=i: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){vR(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 P1(this)}bs.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(bs.prototype,"buffer",{get:sR.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Gc;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Gc=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ke,Symbol.hasInstance,{value:function(e){return Gc.call(this,e)?!0:this!==Ke?!1:e&&e._writableState instanceof bs}})):Gc=function(e){return e instanceof this};function Ke(e){if(la=la||Kr(),!Gc.call(Ke,this)&&!(this instanceof la))return new Ke(e);this._writableState=new bs(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)),L1.call(this)}Ke.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function pR(e,t){var n=new Error("write after end");e.emit("error",n),Vr.nextTick(t,n)}function fR(e,t,n,r){var i=!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),Vr.nextTick(r,a),i=!1),i}Ke.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=!r.objectMode&&lR(e);return a&&!Vc.isBuffer(e)&&(e=cR(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=r.defaultEncoding),typeof n!="function"&&(n=uR),r.ended?pR(this,n):(a||fR(this,r,e,n))&&(r.pendingcb++,i=hR(this,r,a,e,t,n)),i};Ke.prototype.cork=function(){var e=this._writableState;e.corked++};Ke.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&B1(this,e))};Ke.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 dR(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Vc.from(t,n)),t}Object.defineProperty(Ke.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function hR(e,t,n,r,i,a){if(!n){var s=dR(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var o=t.objectMode?1:r.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:r,encoding:i,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Of(e,t,!1,o,r,i,a);return c}function Of(e,t,n,r,i,a,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function mR(e,t,n,r,i){--t.pendingcb,n?(Vr.nextTick(i,r),Vr.nextTick(vs,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),vs(e,t))}function gR(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function vR(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(gR(n),t)mR(e,n,r,t,i);else{var a=F1(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&B1(e,n),r?aR(I1,e,n,a,i):I1(e,n,a,i)}}function I1(e,t,n,r){n||bR(e,t),t.pendingcb--,r(),vs(e,t)}function bR(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function B1(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,o=!0;n;)i[s]=n,n.isBuf||(o=!1),n=n.next,s+=1;i.allBuffers=o,Of(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new P1(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,p=t.objectMode?1:c.length;if(Of(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}Ke.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))};Ke.prototype._writev=null;Ke.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),!r.ending&&!r.finished&&wR(this,r,n)};function F1(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function xR(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),vs(e,t)})}function yR(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Vr.nextTick(xR,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function vs(e,t){var n=F1(t);return n&&(yR(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function wR(e,t,n){t.ending=!0,vs(e,t),n&&(t.finished?Vr.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function _R(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}Object.defineProperty(Ke.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){!this._writableState||(this._writableState.destroyed=e)}});Ke.prototype.destroy=q1.destroy;Ke.prototype._undestroy=q1.undestroy;Ke.prototype._destroy=function(e,t){this.end(),t(e)}});var Kr=b((wD,W1)=>{"use strict";var z1=hs(),SR=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};W1.exports=Nn;var $1=Object.create(oa());$1.inherits=ca();var U1=Af(),Cf=kf();$1.inherits(Nn,U1);for(Tf=SR(Cf.prototype),Kc=0;Kc<Tf.length;Kc++)Zc=Tf[Kc],Nn.prototype[Zc]||(Nn.prototype[Zc]=Cf.prototype[Zc]);var Tf,Zc,Kc;function Nn(e){if(!(this instanceof Nn))return new Nn(e);U1.call(this,e),Cf.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",ER)}Object.defineProperty(Nn.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ER(){this.allowHalfOpen||this._writableState.ended||z1.nextTick(OR,this)}function OR(e){e.end()}Object.defineProperty(Nn.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)}});Nn.prototype._destroy=function(e,t){this.push(null),this.end(),z1.nextTick(t,e)}});var Mf=b(Y1=>{"use strict";var Rf=ms().Buffer,H1=Rf.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 kR(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 TR(e){var t=kR(e);if(typeof t!="string"&&(Rf.isEncoding===H1||!H1(e)))throw new Error("Unknown encoding: "+e);return t||e}Y1.StringDecoder=xs;function xs(e){this.encoding=TR(e);var t;switch(this.encoding){case"utf16le":this.text=IR,this.end=PR,t=4;break;case"utf8":this.fillLast=jR,t=4;break;case"base64":this.text=NR,this.end=LR,t=3;break;default:this.write=qR,this.end=BR;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Rf.allocUnsafe(t)}xs.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||""};xs.prototype.end=MR;xs.prototype.text=RR;xs.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 jf(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function CR(e,t,n){var r=t.length-1;if(r<n)return 0;var i=jf(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||i===-2?0:(i=jf(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||i===-2?0:(i=jf(t[r]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function AR(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 jR(e){var t=this.lastTotal-this.lastNeed,n=AR(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 RR(e,t){var n=CR(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function MR(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function IR(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=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 PR(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 NR(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 LR(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function qR(e){return e.toString(this.encoding)}function BR(e){return e&&e.length?this.write(e):""}});var Af=b((ED,iw)=>{"use strict";var pa=hs();iw.exports=Re;var FR=w1(),ys;Re.ReadableState=X1;var SD=require("events").EventEmitter,Z1=function(e,t){return e.listeners(t).length},qf=bf(),ws=ms().Buffer,DR=global.Uint8Array||function(){};function zR(e){return ws.from(e)}function $R(e){return ws.isBuffer(e)||e instanceof DR}var J1=Object.create(oa());J1.inherits=ca();var If=require("util"),_e=void 0;If&&If.debuglog?_e=If.debuglog("stream"):_e=function(){};var UR=T1(),Q1=Ef(),ua;J1.inherits(Re,qf);var Pf=["error","close","destroy","pause","resume"];function WR(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):FR(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function X1(e,t){ys=ys||Kr(),e=e||{};var n=t instanceof ys;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:n&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new UR,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&&(ua||(ua=Mf().StringDecoder),this.decoder=new ua(e.encoding),this.encoding=e.encoding)}function Re(e){if(ys=ys||Kr(),!(this instanceof Re))return new Re(e);this._readableState=new X1(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),qf.call(this)}Object.defineProperty(Re.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){!this._readableState||(this._readableState.destroyed=e)}});Re.prototype.destroy=Q1.destroy;Re.prototype._undestroy=Q1.undestroy;Re.prototype._destroy=function(e,t){this.push(null),t(e)};Re.prototype.push=function(e,t){var n=this._readableState,r;return n.objectMode?r=!0:typeof e=="string"&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=ws.from(e,t),t=""),r=!0),ew(this,e,t,!1,r)};Re.prototype.unshift=function(e){return ew(this,e,null,!0,!1)};function ew(e,t,n,r,i){var a=e._readableState;if(t===null)a.reading=!1,VR(e,a);else{var s;i||(s=HR(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==ws.prototype&&(t=zR(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):Nf(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?Nf(e,a,t,!1):tw(e,a)):Nf(e,a,t,!1))):r||(a.reading=!1)}return YR(a)}function Nf(e,t,n,r){t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Jc(e)),tw(e,t)}function HR(e,t){var n;return!$R(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function YR(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Re.prototype.isPaused=function(){return this._readableState.flowing===!1};Re.prototype.setEncoding=function(e){return ua||(ua=Mf().StringDecoder),this._readableState.decoder=new ua(e),this._readableState.encoding=e,this};var G1=8388608;function GR(e){return e>=G1?e=G1:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function V1(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=GR(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Re.prototype.read=function(e){_e("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 _e("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Lf(this):Jc(this),null;if(e=V1(e,t),e===0&&t.ended)return t.length===0&&Lf(this),null;var r=t.needReadable;_e("need readable",r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,_e("length less than watermark",r)),t.ended||t.reading?(r=!1,_e("reading or ended",r)):r&&(_e("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=V1(n,t)));var i;return e>0?i=nw(e,t):i=null,i===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Lf(this)),i!==null&&this.emit("data",i),i};function VR(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,Jc(e)}}function Jc(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(_e("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?pa.nextTick(K1,e):K1(e))}function K1(e){_e("emit readable"),e.emit("readable"),Bf(e)}function tw(e,t){t.readingMore||(t.readingMore=!0,pa.nextTick(KR,e,t))}function KR(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(_e("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}Re.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Re.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,_e("pipe count=%d opts=%j",r.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=i?o:h;r.endEmitted?pa.nextTick(a):n.once("end",a),e.on("unpipe",s);function s(x,w){_e("onunpipe"),x===n&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,l())}function o(){_e("onend"),e.end()}var c=ZR(n);e.on("drain",c);var u=!1;function l(){_e("cleanup"),e.removeListener("close",v),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",s),n.removeListener("end",o),n.removeListener("end",h),n.removeListener("data",f),u=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;n.on("data",f);function f(x){_e("ondata"),p=!1;var w=e.write(x);w===!1&&!p&&((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&rw(r.pipes,e)!==-1)&&!u&&(_e("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function d(x){_e("onerror",x),h(),e.removeListener("error",d),Z1(e,"error")===0&&e.emit("error",x)}WR(e,"error",d);function v(){e.removeListener("finish",g),h()}e.once("close",v);function g(){_e("onfinish"),e.removeListener("close",v),h()}e.once("finish",g);function h(){_e("unpipe"),n.unpipe(e)}return e.emit("pipe",n),r.flowing||(_e("pipe resume"),n.resume()),e};function ZR(e){return function(){var t=e._readableState;_e("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&Z1(e,"data")&&(t.flowing=!0,Bf(e))}}Re.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 r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit("unpipe",this,n);return this}var s=rw(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)};Re.prototype.on=function(e,t){var n=qf.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var r=this._readableState;!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&Jc(this):pa.nextTick(JR,this))}return n};Re.prototype.addListener=Re.prototype.on;function JR(e){_e("readable nexttick read 0"),e.read(0)}Re.prototype.resume=function(){var e=this._readableState;return e.flowing||(_e("resume"),e.flowing=!0,QR(this,e)),this};function QR(e,t){t.resumeScheduled||(t.resumeScheduled=!0,pa.nextTick(XR,e,t))}function XR(e,t){t.reading||(_e("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Bf(e),t.flowing&&!t.reading&&e.read(0)}Re.prototype.pause=function(){return _e("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(_e("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Bf(e){var t=e._readableState;for(_e("flow",t.flowing);t.flowing&&e.read()!==null;);}Re.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;e.on("end",function(){if(_e("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(_e("wrapped data"),n.decoder&&(s=n.decoder.write(s)),!(n.objectMode&&s==null)&&!(!n.objectMode&&(!s||!s.length))){var o=t.push(s);o||(r=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(s){return function(){return e[s].apply(e,arguments)}}(i));for(var a=0;a<Pf.length;a++)e.on(Pf[a],this.emit.bind(this,Pf[a]));return this._read=function(s){_e("wrapped _read",s),r&&(r=!1,e.resume())},this};Object.defineProperty(Re.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Re._fromList=nw;function nw(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=eM(e,t.buffer,t.decoder),n}function eM(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?r=t.shift():r=n?tM(e,t):nM(e,t),r}function tM(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(s===a.length?i+=a:i+=a.slice(0,e),e-=s,e===0){s===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++r}return t.length-=r,i}function nM(e,t){var n=ws.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var a=r.data,s=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,s),e-=s,e===0){s===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(s));break}++i}return t.length-=i,n}function Lf(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,pa.nextTick(rM,t,e))}function rM(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function rw(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}});var Ff=b((OD,ow)=>{"use strict";ow.exports=Ln;var Qc=Kr(),sw=Object.create(oa());sw.inherits=ca();sw.inherits(Ln,Qc);function iM(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,t!=null&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Ln(e){if(!(this instanceof Ln))return new Ln(e);Qc.call(this,e),this._transformState={afterTransform:iM.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",aM)}function aM(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){aw(e,t,n)}):aw(this,null,null)}Ln.prototype.push=function(e,t){return this._transformState.needTransform=!1,Qc.prototype.push.call(this,e,t)};Ln.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")};Ln.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Ln.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};Ln.prototype._destroy=function(e,t){var n=this;Qc.prototype._destroy.call(this,e,function(r){t(r),n.emit("close")})};function aw(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 pw=b((kD,uw)=>{"use strict";uw.exports=_s;var cw=Ff(),lw=Object.create(oa());lw.inherits=ca();lw.inherits(_s,cw);function _s(e){if(!(this instanceof _s))return new _s(e);cw.call(this,e)}_s.prototype._transform=function(e,t,n){n(null,e)}});var Df=b((dt,Xc)=>{var On=require("stream");process.env.READABLE_STREAM==="disable"&&On?(Xc.exports=On,dt=Xc.exports=On.Readable,dt.Readable=On.Readable,dt.Writable=On.Writable,dt.Duplex=On.Duplex,dt.Transform=On.Transform,dt.PassThrough=On.PassThrough,dt.Stream=On):(dt=Xc.exports=Af(),dt.Stream=On||dt,dt.Readable=dt,dt.Writable=kf(),dt.Duplex=Kr(),dt.Transform=Ff(),dt.PassThrough=pw())});var qn=b(Ut=>{"use strict";Ut.base64=!0;Ut.array=!0;Ut.string=!0;Ut.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Ut.nodebuffer=typeof Buffer<"u";Ut.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Ut.blob=!1;else{zf=new ArrayBuffer(0);try{Ut.blob=new Blob([zf],{type:"application/zip"}).size===0}catch{try{fw=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,$f=new fw,$f.append(zf),Ut.blob=$f.getBlob("application/zip").size===0}catch{Ut.blob=!1}}}var zf,fw,$f;try{Ut.nodestream=!!Df().Readable}catch{Ut.nodestream=!1}});var Wf=b(Uf=>{"use strict";var sM=qe(),oM=qn(),kn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Uf.encode=function(e){for(var t=[],n,r,i,a,s,o,c,u=0,l=e.length,p=l,f=sM.getTypeOf(e)!=="string";u<e.length;)p=l-u,f?(n=e[u++],r=u<l?e[u++]:0,i=u<l?e[u++]:0):(n=e.charCodeAt(u++),r=u<l?e.charCodeAt(u++):0,i=u<l?e.charCodeAt(u++):0),a=n>>2,s=(n&3)<<4|r>>4,o=p>1?(r&15)<<2|i>>6:64,c=p>2?i&63:64,t.push(kn.charAt(a)+kn.charAt(s)+kn.charAt(o)+kn.charAt(c));return t.join("")};Uf.decode=function(e){var t,n,r,i,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)===kn.charAt(64)&&p--,e.charAt(e.length-2)===kn.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");var f;for(oM.uint8array?f=new Uint8Array(p|0):f=new Array(p|0);c<e.length;)i=kn.indexOf(e.charAt(c++)),a=kn.indexOf(e.charAt(c++)),s=kn.indexOf(e.charAt(c++)),o=kn.indexOf(e.charAt(c++)),t=i<<2|a>>4,n=(a&15)<<4|s>>2,r=(s&3)<<6|o,f[u++]=t,s!==64&&(f[u++]=n),o!==64&&(f[u++]=r);return f}});var Ss=b((AD,dw)=>{"use strict";dw.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 mw=b((jD,hw)=>{"use strict";hw.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var xw=b((RD,bw)=>{"use strict";var gw=global.MutationObserver||global.WebKitMutationObserver,fa;process.browser?gw?(Hf=0,vw=new gw(Es),Yf=global.document.createTextNode(""),vw.observe(Yf,{characterData:!0}),fa=function(){Yf.data=Hf=++Hf%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(Gf=new global.MessageChannel,Gf.port1.onmessage=Es,fa=function(){Gf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?fa=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){Es(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:fa=function(){setTimeout(Es,0)}:fa=function(){process.nextTick(Es)};var Hf,vw,Yf,Gf,Vf,Os=[];function Es(){Vf=!0;for(var e,t,n=Os.length;n;){for(t=Os,Os=[],e=-1;++e<n;)t[e]();n=Os.length}Vf=!1}bw.exports=cM;function cM(e){Os.push(e)===1&&!Vf&&fa()}});var kw=b((MD,Ow)=>{"use strict";var yw=xw();function da(){}var bt={},ww=["REJECTED"],Kf=["FULFILLED"],_w=["PENDING"];process.browser||(ks=["UNHANDLED"]);var ks;Ow.exports=ar;function ar(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=_w,this.queue=[],this.outcome=void 0,process.browser||(this.handled=ks),e!==da&&Sw(this,e)}ar.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(n,r);function n(i){function a(){return i}return t.resolve(e()).then(a)}function r(i){function a(){throw i}return t.resolve(e()).then(a)}};ar.prototype.catch=function(e){return this.then(null,e)};ar.prototype.then=function(e,t){if(typeof e!="function"&&this.state===Kf||typeof t!="function"&&this.state===ww)return this;var n=new this.constructor(da);if(process.browser||this.handled===ks&&(this.handled=null),this.state!==_w){var r=this.state===Kf?e:t;Zf(n,r,this.outcome)}else this.queue.push(new Ts(n,e,t));return n};function Ts(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)}Ts.prototype.callFulfilled=function(e){bt.resolve(this.promise,e)};Ts.prototype.otherCallFulfilled=function(e){Zf(this.promise,this.onFulfilled,e)};Ts.prototype.callRejected=function(e){bt.reject(this.promise,e)};Ts.prototype.otherCallRejected=function(e){Zf(this.promise,this.onRejected,e)};function Zf(e,t,n){yw(function(){var r;try{r=t(n)}catch(i){return bt.reject(e,i)}r===e?bt.reject(e,new TypeError("Cannot resolve promise with itself")):bt.resolve(e,r)})}bt.resolve=function(e,t){var n=Ew(lM,t);if(n.status==="error")return bt.reject(e,n.value);var r=n.value;if(r)Sw(e,r);else{e.state=Kf,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e};bt.reject=function(e,t){e.state=ww,e.outcome=t,process.browser||e.handled===ks&&yw(function(){e.handled===ks&&process.emit("unhandledRejection",t,e)});for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e};function lM(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function Sw(e,t){var n=!1;function r(o){n||(n=!0,bt.reject(e,o))}function i(o){n||(n=!0,bt.resolve(e,o))}function a(){t(i,r)}var s=Ew(a);s.status==="error"&&r(s.value)}function Ew(e,t){var n={};try{n.value=e(t),n.status="success"}catch(r){n.status="error",n.value=r}return n}ar.resolve=uM;function uM(e){return e instanceof this?e:bt.resolve(new this(da),e)}ar.reject=pM;function pM(e){var t=new this(da);return bt.reject(t,e)}ar.all=fM;function fM(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,r=!1;if(!n)return this.resolve([]);for(var i=new Array(n),a=0,s=-1,o=new this(da);++s<n;)c(e[s],s);return o;function c(u,l){t.resolve(u).then(p,function(f){r||(r=!0,bt.reject(o,f))});function p(f){i[l]=f,++a===n&&!r&&(r=!0,bt.resolve(o,i))}}}ar.race=dM;function dM(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,r=!1;if(!n)return this.resolve([]);for(var i=-1,a=new this(da);++i<n;)s(e[i]);return a;function s(o){t.resolve(o).then(function(c){r||(r=!0,bt.resolve(a,c))},function(c){r||(r=!0,bt.reject(a,c))})}}});var ha=b((ID,Tw)=>{"use strict";var Jf=null;typeof Promise<"u"?Jf=Promise:Jf=kw();Tw.exports={Promise:Jf}});var qe=b(Xe=>{"use strict";var sr=qn(),hM=Wf(),ma=Ss(),mM=mw(),Qf=ha();function gM(e){var t=null;return sr.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),tl(e,t)}Xe.newBlob=function(e,t){Xe.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,r=new n;return r.append(e),r.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function Cs(e){return e}function tl(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var el={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t==="array"||t==="nodebuffer"?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.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 sr.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return sr.nodebuffer&&String.fromCharCode.apply(null,ma.allocBuffer(1)).length===1}catch{return!1}}()}};function As(e){var t=65536,n=Xe.getTypeOf(e),r=!0;if(n==="uint8array"?r=el.applyCanBeUsed.uint8array:n==="nodebuffer"&&(r=el.applyCanBeUsed.nodebuffer),r)for(;t>1;)try{return el.stringifyByChunk(e,n,t)}catch{t=Math.floor(t/2)}return el.stringifyByChar(e)}Xe.applyFromCharCode=As;function nl(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var or={};or.string={string:Cs,array:function(e){return tl(e,new Array(e.length))},arraybuffer:function(e){return or.string.uint8array(e).buffer},uint8array:function(e){return tl(e,new Uint8Array(e.length))},nodebuffer:function(e){return tl(e,ma.allocBuffer(e.length))}};or.array={string:As,array:Cs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return ma.newBufferFrom(e)}};or.arraybuffer={string:function(e){return As(new Uint8Array(e))},array:function(e){return nl(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:Cs,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return ma.newBufferFrom(new Uint8Array(e))}};or.uint8array={string:As,array:function(e){return nl(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:Cs,nodebuffer:function(e){return ma.newBufferFrom(e)}};or.nodebuffer={string:As,array:function(e){return nl(e,new Array(e.length))},arraybuffer:function(e){return or.nodebuffer.uint8array(e).buffer},uint8array:function(e){return nl(e,new Uint8Array(e.length))},nodebuffer:Cs};Xe.transformTo=function(e,t){if(t||(t=""),!e)return t;Xe.checkSupport(e);var n=Xe.getTypeOf(t),r=or[n][e](t);return r};Xe.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(sr.nodebuffer&&ma.isBuffer(e))return"nodebuffer";if(sr.uint8array&&e instanceof Uint8Array)return"uint8array";if(sr.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Xe.checkSupport=function(e){var t=sr[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Xe.MAX_VALUE_16BITS=65535;Xe.MAX_VALUE_32BITS=-1;Xe.pretty=function(e){var t="",n,r;for(r=0;r<(e||"").length;r++)n=e.charCodeAt(r),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Xe.delay=function(e,t,n){mM(function(){e.apply(n||null,t||[])})};Xe.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Xe.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};Xe.prepareContent=function(e,t,n,r,i){var a=Qf.Promise.resolve(t).then(function(s){var o=sr.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);return o&&typeof FileReader<"u"?new Qf.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=Xe.getTypeOf(s);return o?(o==="arraybuffer"?s=Xe.transformTo("uint8array",s):o==="string"&&(i?s=hM.decode(s):n&&r!==!0&&(s=gM(s))),s):Qf.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var Wt=b((ND,Aw)=>{"use strict";function Cw(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}Cw.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}};Aw.exports=Cw});var Jr=b(cr=>{"use strict";var ga=qe(),Zr=qn(),vM=Ss(),rl=Wt(),js=new Array(256);for(Bn=0;Bn<256;Bn++)js[Bn]=Bn>=252?6:Bn>=248?5:Bn>=240?4:Bn>=224?3:Bn>=192?2:1;var Bn;js[254]=js[254]=1;var bM=function(e){var t,n,r,i,a,s=e.length,o=0;for(i=0;i<s;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(Zr.uint8array?t=new Uint8Array(o):t=new Array(o),a=0,i=0;a<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),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},xM=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+js[e[n]]>t?n:t},yM=function(e){var t,n,r,i,a,s=e.length,o=new Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){o[r++]=i;continue}if(a=js[i],a>4){o[r++]=65533,n+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&n<s;)i=i<<6|e[n++]&63,a--;if(a>1){o[r++]=65533;continue}i<65536?o[r++]=i:(i-=65536,o[r++]=55296|i>>10&1023,o[r++]=56320|i&1023)}return o.length!==r&&(o.subarray?o=o.subarray(0,r):o.length=r),ga.applyFromCharCode(o)};cr.utf8encode=function(t){return Zr.nodebuffer?vM.newBufferFrom(t,"utf-8"):bM(t)};cr.utf8decode=function(t){return Zr.nodebuffer?ga.transformTo("nodebuffer",t).toString("utf-8"):(t=ga.transformTo(Zr.uint8array?"uint8array":"array",t),yM(t))};function il(){rl.call(this,"utf-8 decode"),this.leftOver=null}ga.inherits(il,rl);il.prototype.processChunk=function(e){var t=ga.transformTo(Zr.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Zr.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 r=xM(t),i=t;r!==t.length&&(Zr.uint8array?(i=t.subarray(0,r),this.leftOver=t.subarray(r,t.length)):(i=t.slice(0,r),this.leftOver=t.slice(r,t.length))),this.push({data:cr.utf8decode(i),meta:e.meta})};il.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:cr.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};cr.Utf8DecodeWorker=il;function Xf(){rl.call(this,"utf-8 encode")}ga.inherits(Xf,rl);Xf.prototype.processChunk=function(e){this.push({data:cr.utf8encode(e.data),meta:e.meta})};cr.Utf8EncodeWorker=Xf});var Iw=b((qD,Mw)=>{"use strict";var jw=Wt(),Rw=qe();function ed(e){jw.call(this,"ConvertWorker to "+e),this.destType=e}Rw.inherits(ed,jw);ed.prototype.processChunk=function(e){this.push({data:Rw.transformTo(this.destType,e.data),meta:e.meta})};Mw.exports=ed});var Lw=b((BD,Nw)=>{"use strict";var Pw=Df().Readable,wM=qe();wM.inherits(td,Pw);function td(e,t,n){Pw.call(this,t),this._helper=e;var r=this;e.on("data",function(i,a){r.push(i)||r._helper.pause(),n&&n(a)}).on("error",function(i){r.emit("error",i)}).on("end",function(){r.push(null)})}td.prototype._read=function(){this._helper.resume()};Nw.exports=td});var nd=b((FD,Fw)=>{"use strict";var Qr=qe(),_M=Iw(),SM=Wt(),EM=Wf(),OM=qn(),kM=ha(),qw=null;if(OM.nodestream)try{qw=Lw()}catch{}function TM(e,t,n){switch(e){case"blob":return Qr.newBlob(Qr.transformTo("arraybuffer",t),n);case"base64":return EM.encode(t);default:return Qr.transformTo(e,t)}}function CM(e,t){var n,r=0,i=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(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function AM(e,t){return new kM.Promise(function(n,r){var i=[],a=e._internalType,s=e._outputType,o=e._mimeType;e.on("data",function(c,u){i.push(c),t&&t(u)}).on("error",function(c){i=[],r(c)}).on("end",function(){try{var c=TM(s,CM(a,i),o);n(c)}catch(u){r(u)}i=[]}).resume()})}function Bw(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string";break}try{this._internalType=r,this._outputType=t,this._mimeType=n,Qr.checkSupport(r),this._worker=e.pipe(new _M(r)),e.lock()}catch(i){this._worker=new SM("error"),this._worker.error(i)}}Bw.prototype={accumulate:function(e){return AM(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(r){t.call(n,r.data,r.meta)}):this._worker.on(e,function(){Qr.delay(t,arguments,n)}),this},resume:function(){return Qr.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Qr.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new qw(this,{objectMode:this._outputType!=="nodebuffer"},e)}};Fw.exports=Bw});var rd=b(pn=>{"use strict";pn.base64=!1;pn.binary=!1;pn.dir=!1;pn.createFolders=!0;pn.date=null;pn.compression=null;pn.compressionOptions=null;pn.comment=null;pn.unixPermissions=null;pn.dosPermissions=null});var id=b((zD,Dw)=>{"use strict";var al=qe(),sl=Wt(),jM=16*1024;function va(e){sl.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=al.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}al.inherits(va,sl);va.prototype.cleanUp=function(){sl.prototype.cleanUp.call(this),this.data=null};va.prototype.resume=function(){return sl.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,al.delay(this._tickAndRepeat,[],this)),!0):!1};va.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(al.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};va.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=jM,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}})};Dw.exports=va});var ol=b(($D,$w)=>{"use strict";var RM=qe();function MM(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var zw=MM();function IM(e,t,n,r){var i=zw,a=r+n;e=e^-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}function PM(e,t,n,r){var i=zw,a=r+n;e=e^-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t.charCodeAt(s))&255];return e^-1}$w.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var r=RM.getTypeOf(t)!=="string";return r?IM(n|0,t,t.length,0):PM(n|0,t,t.length,0)}});var sd=b((UD,Ww)=>{"use strict";var Uw=Wt(),NM=ol(),LM=qe();function ad(){Uw.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}LM.inherits(ad,Uw);ad.prototype.processChunk=function(e){this.streamInfo.crc32=NM(e.data,this.streamInfo.crc32||0),this.push(e)};Ww.exports=ad});var Yw=b((WD,Hw)=>{"use strict";var qM=qe(),od=Wt();function cd(e){od.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}qM.inherits(cd,od);cd.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}od.prototype.processChunk.call(this,e)};Hw.exports=cd});var cl=b((HD,Kw)=>{"use strict";var Gw=ha(),Vw=id(),BM=sd(),ld=Yw();function ud(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}ud.prototype={getContentWorker:function(){var e=new Vw(Gw.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new ld("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 Vw(Gw.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};ud.createWorkerFrom=function(e,t,n){return e.pipe(new BM).pipe(new ld("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new ld("compressedSize")).withStreamInfo("compression",t)};Kw.exports=ud});var Xw=b((YD,Qw)=>{"use strict";var FM=nd(),DM=id(),pd=Jr(),fd=cl(),Zw=Wt(),dd=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}};dd.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");n=e.toLowerCase();var r=n==="string"||n==="text";(n==="binarystring"||n==="text")&&(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new pd.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new pd.Utf8DecodeWorker))}catch(a){t=new Zw("error"),t.error(a)}return new FM(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 fd&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new pd.Utf8EncodeWorker)),fd.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof fd?this._data.getContentWorker():this._data instanceof Zw?this._data:new DM(this._data)}};var Jw=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],zM=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(ll=0;ll<Jw.length;ll++)dd.prototype[Jw[ll]]=zM;var ll;Qw.exports=dd});var Fn=b(Ct=>{"use strict";var $M=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function UM(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Ct.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 r in n)UM(n,r)&&(e[r]=n[r])}}return e};Ct.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var WM={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+r),i);return}for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],s.set(a,i),i+=a.length;return s}},HM={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};Ct.setTyped=function(e){e?(Ct.Buf8=Uint8Array,Ct.Buf16=Uint16Array,Ct.Buf32=Int32Array,Ct.assign(Ct,WM)):(Ct.Buf8=Array,Ct.Buf16=Array,Ct.Buf32=Array,Ct.assign(Ct,HM))};Ct.setTyped($M)});var __=b(ya=>{"use strict";var YM=Fn(),GM=4,e_=0,t_=1,VM=2;function xa(e){for(var t=e.length;--t>=0;)e[t]=0}var KM=0,o_=1,ZM=2,JM=3,QM=258,yd=29,Ls=256,Ms=Ls+1+yd,ba=30,wd=19,c_=2*Ms+1,Xr=15,hd=16,XM=7,_d=256,l_=16,u_=17,p_=18,bd=[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],ul=[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],eI=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],tI=512,Dn=new Array((Ms+2)*2);xa(Dn);var Rs=new Array(ba*2);xa(Rs);var Is=new Array(tI);xa(Is);var Ps=new Array(QM-JM+1);xa(Ps);var Sd=new Array(yd);xa(Sd);var pl=new Array(ba);xa(pl);function md(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var d_,h_,m_;function gd(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function g_(e){return e<256?Is[e]:Is[256+(e>>>7)]}function Ns(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function It(e,t,n){e.bi_valid>hd-n?(e.bi_buf|=t<<e.bi_valid&65535,Ns(e,e.bi_buf),e.bi_buf=t>>hd-e.bi_valid,e.bi_valid+=n-hd):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Tn(e,t,n){It(e,n[t*2],n[t*2+1])}function v_(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function nI(e){e.bi_valid===16?(Ns(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 rI(e,t){var n=t.dyn_tree,r=t.max_code,i=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,d,v,g=0;for(f=0;f<=Xr;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<c_;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>r)&&(e.bl_count[f]++,d=0,l>=o&&(d=s[l-o]),v=n[l*2],e.opt_len+=v*(f+d),a&&(e.static_len+=v*(i[l*2+1]+d)));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>r)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),l--)}}function b_(e,t,n){var r=new Array(Xr+1),i=0,a,s;for(a=1;a<=Xr;a++)r[a]=i=i+n[a-1]<<1;for(s=0;s<=t;s++){var o=e[s*2+1];o!==0&&(e[s*2]=v_(r[o]++,o))}}function iI(){var e,t,n,r,i,a=new Array(Xr+1);for(n=0,r=0;r<yd-1;r++)for(Sd[r]=n,e=0;e<1<<bd[r];e++)Ps[n++]=r;for(Ps[n-1]=r,i=0,r=0;r<16;r++)for(pl[r]=i,e=0;e<1<<ul[r];e++)Is[i++]=r;for(i>>=7;r<ba;r++)for(pl[r]=i<<7,e=0;e<1<<ul[r]-7;e++)Is[256+i++]=r;for(t=0;t<=Xr;t++)a[t]=0;for(e=0;e<=143;)Dn[e*2+1]=8,e++,a[8]++;for(;e<=255;)Dn[e*2+1]=9,e++,a[9]++;for(;e<=279;)Dn[e*2+1]=7,e++,a[7]++;for(;e<=287;)Dn[e*2+1]=8,e++,a[8]++;for(b_(Dn,Ms+1,a),e=0;e<ba;e++)Rs[e*2+1]=5,Rs[e*2]=v_(e,5);d_=new md(Dn,bd,Ls+1,Ms,Xr),h_=new md(Rs,ul,0,ba,Xr),m_=new md(new Array(0),eI,0,wd,XM)}function x_(e){var t;for(t=0;t<Ms;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ba;t++)e.dyn_dtree[t*2]=0;for(t=0;t<wd;t++)e.bl_tree[t*2]=0;e.dyn_ltree[_d*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function y_(e){e.bi_valid>8?Ns(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 aI(e,t,n,r){y_(e),r&&(Ns(e,n),Ns(e,~n)),YM.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function n_(e,t,n,r){var i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function vd(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&n_(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!n_(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function r_(e,t,n){var r,i,a=0,s,o;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,r===0?Tn(e,i,t):(s=Ps[i],Tn(e,s+Ls+1,t),o=bd[s],o!==0&&(i-=Sd[s],It(e,i,o)),r--,s=g_(r),Tn(e,s,n),o=ul[s],o!==0&&(r-=pl[s],It(e,r,o)));while(a<e.last_lit);Tn(e,_d,t)}function xd(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,s,o,c=-1,u;for(e.heap_len=0,e.heap_max=c_,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--,i&&(e.static_len-=r[u*2+1]);for(t.max_code=c,s=e.heap_len>>1;s>=1;s--)vd(e,n,s);u=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],vd(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++,vd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],rI(e,t),b_(n,c,e.bl_count)}function i_(e,t,n){var r,i=-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,r=0;r<=n;r++)a=s,s=t[(r+1)*2+1],!(++o<c&&a===s)&&(o<u?e.bl_tree[a*2]+=o:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[l_*2]++):o<=10?e.bl_tree[u_*2]++:e.bl_tree[p_*2]++,o=0,i=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function a_(e,t,n){var r,i=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),r=0;r<=n;r++)if(a=s,s=t[(r+1)*2+1],!(++o<c&&a===s)){if(o<u)do Tn(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==i&&(Tn(e,a,e.bl_tree),o--),Tn(e,l_,e.bl_tree),It(e,o-3,2)):o<=10?(Tn(e,u_,e.bl_tree),It(e,o-3,3)):(Tn(e,p_,e.bl_tree),It(e,o-11,7));o=0,i=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4)}}function sI(e){var t;for(i_(e,e.dyn_ltree,e.l_desc.max_code),i_(e,e.dyn_dtree,e.d_desc.max_code),xd(e,e.bl_desc),t=wd-1;t>=3&&e.bl_tree[f_[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function oI(e,t,n,r){var i;for(It(e,t-257,5),It(e,n-1,5),It(e,r-4,4),i=0;i<r;i++)It(e,e.bl_tree[f_[i]*2+1],3);a_(e,e.dyn_ltree,t-1),a_(e,e.dyn_dtree,n-1)}function cI(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return e_;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return t_;for(n=32;n<Ls;n++)if(e.dyn_ltree[n*2]!==0)return t_;return e_}var s_=!1;function lI(e){s_||(iI(),s_=!0),e.l_desc=new gd(e.dyn_ltree,d_),e.d_desc=new gd(e.dyn_dtree,h_),e.bl_desc=new gd(e.bl_tree,m_),e.bi_buf=0,e.bi_valid=0,x_(e)}function w_(e,t,n,r){It(e,(KM<<1)+(r?1:0),3),aI(e,t,n,!0)}function uI(e){It(e,o_<<1,3),Tn(e,_d,Dn),nI(e)}function pI(e,t,n,r){var i,a,s=0;e.level>0?(e.strm.data_type===VM&&(e.strm.data_type=cI(e)),xd(e,e.l_desc),xd(e,e.d_desc),s=sI(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=n+5,n+4<=i&&t!==-1?w_(e,t,n,r):e.strategy===GM||a===i?(It(e,(o_<<1)+(r?1:0),3),r_(e,Dn,Rs)):(It(e,(ZM<<1)+(r?1:0),3),oI(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),r_(e,e.dyn_ltree,e.dyn_dtree)),x_(e),r&&y_(e)}function fI(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[(Ps[n]+Ls+1)*2]++,e.dyn_dtree[g_(t)*2]++),e.last_lit===e.lit_bufsize-1}ya._tr_init=lI;ya._tr_stored_block=w_;ya._tr_flush_block=pI;ya._tr_tally=fI;ya._tr_align=uI});var Ed=b((KD,S_)=>{"use strict";function dI(e,t,n,r){for(var i=e&65535|0,a=e>>>16&65535|0,s=0;n!==0;){s=n>2e3?2e3:n,n-=s;do i=i+t[r++]|0,a=a+i|0;while(--s);i%=65521,a%=65521}return i|a<<16|0}S_.exports=dI});var Od=b((ZD,E_)=>{"use strict";function hI(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var mI=hI();function gI(e,t,n,r){var i=mI,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^i[(e^t[s])&255];return e^-1}E_.exports=gI});var fl=b((JD,O_)=>{"use strict";O_.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 P_=b(jn=>{"use strict";var At=Fn(),nn=__(),A_=Ed(),lr=Od(),vI=fl(),ri=0,bI=1,xI=3,hr=4,k_=5,An=0,T_=1,rn=-2,yI=-3,kd=-5,wI=-1,_I=1,dl=2,SI=3,EI=4,OI=0,kI=2,vl=8,TI=9,CI=15,AI=8,jI=29,RI=256,Cd=RI+1+jI,MI=30,II=19,PI=2*Cd+1,NI=15,he=3,fr=258,fn=fr+he+1,LI=32,bl=42,Ad=69,hl=73,ml=91,gl=103,ei=113,Bs=666,et=1,Fs=2,ti=3,Sa=4,qI=3;function dr(e,t){return e.msg=vI[t],t}function C_(e){return(e<<1)-(e>4?9:0)}function pr(e){for(var t=e.length;--t>=0;)e[t]=0}function ur(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(At.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 ht(e,t){nn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ur(e.strm)}function ye(e,t){e.pending_buf[e.pending++]=t}function qs(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function BI(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,At.arraySet(t,e.input,e.next_in,i,n),e.state.wrap===1?e.adler=A_(e.adler,t,i,n):e.state.wrap===2&&(e.adler=lr(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function j_(e,t){var n=e.max_chain_length,r=e.strstart,i,a,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-fn?e.strstart-(e.w_size-fn):0,u=e.window,l=e.w_mask,p=e.prev,f=e.strstart+fr,d=u[r+s-1],v=u[r+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(i=t,!(u[i+s]!==v||u[i+s-1]!==d||u[i]!==u[r]||u[++i]!==u[r+1])){r+=2,i++;do;while(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]===u[++i]&&r<f);if(a=fr-(f-r),r=f-fr,a>s){if(e.match_start=t,s=a,a>=o)break;d=u[r+s-1],v=u[r+s]}}while((t=p[t&l])>c&&--n!==0);return s<=e.lookahead?s:e.lookahead}function ni(e){var t=e.w_size,n,r,i,a,s;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-fn)){At.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,r=e.hash_size,n=r;do i=e.head[--n],e.head[n]=i>=t?i-t:0;while(--r);r=t,n=r;do i=e.prev[--n],e.prev[n]=i>=t?i-t:0;while(--r);a+=t}if(e.strm.avail_in===0)break;if(r=BI(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=r,e.lookahead+e.insert>=he)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+he-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<he)););}while(e.lookahead<fn&&e.strm.avail_in!==0)}function FI(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ni(e),e.lookahead===0&&t===ri)return et;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,ht(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-fn&&(ht(e,!1),e.strm.avail_out===0))return et}return e.insert=0,t===hr?(ht(e,!0),e.strm.avail_out===0?ti:Sa):(e.strstart>e.block_start&&(ht(e,!1),e.strm.avail_out===0),et)}function Td(e,t){for(var n,r;;){if(e.lookahead<fn){if(ni(e),e.lookahead<fn&&t===ri)return et;if(e.lookahead===0)break}if(n=0,e.lookahead>=he&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+he-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-fn&&(e.match_length=j_(e,n)),e.match_length>=he)if(r=nn._tr_tally(e,e.strstart-e.match_start,e.match_length-he),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=he){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+he-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 r=nn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ht(e,!1),e.strm.avail_out===0))return et}return e.insert=e.strstart<he-1?e.strstart:he-1,t===hr?(ht(e,!0),e.strm.avail_out===0?ti:Sa):e.last_lit&&(ht(e,!1),e.strm.avail_out===0)?et:Fs}function wa(e,t){for(var n,r,i;;){if(e.lookahead<fn){if(ni(e),e.lookahead<fn&&t===ri)return et;if(e.lookahead===0)break}if(n=0,e.lookahead>=he&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+he-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=he-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-fn&&(e.match_length=j_(e,n),e.match_length<=5&&(e.strategy===_I||e.match_length===he&&e.strstart-e.match_start>4096)&&(e.match_length=he-1)),e.prev_length>=he&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-he,r=nn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-he),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+he-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=he-1,e.strstart++,r&&(ht(e,!1),e.strm.avail_out===0))return et}else if(e.match_available){if(r=nn._tr_tally(e,0,e.window[e.strstart-1]),r&&ht(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return et}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=nn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<he-1?e.strstart:he-1,t===hr?(ht(e,!0),e.strm.avail_out===0?ti:Sa):e.last_lit&&(ht(e,!1),e.strm.avail_out===0)?et:Fs}function DI(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=fr){if(ni(e),e.lookahead<=fr&&t===ri)return et;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=he&&e.strstart>0&&(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i])){a=e.strstart+fr;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=fr-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=he?(n=nn._tr_tally(e,1,e.match_length-he),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=nn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ht(e,!1),e.strm.avail_out===0))return et}return e.insert=0,t===hr?(ht(e,!0),e.strm.avail_out===0?ti:Sa):e.last_lit&&(ht(e,!1),e.strm.avail_out===0)?et:Fs}function zI(e,t){for(var n;;){if(e.lookahead===0&&(ni(e),e.lookahead===0)){if(t===ri)return et;break}if(e.match_length=0,n=nn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ht(e,!1),e.strm.avail_out===0))return et}return e.insert=0,t===hr?(ht(e,!0),e.strm.avail_out===0?ti:Sa):e.last_lit&&(ht(e,!1),e.strm.avail_out===0)?et:Fs}function Cn(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var _a;_a=[new Cn(0,0,0,0,FI),new Cn(4,4,8,4,Td),new Cn(4,5,16,8,Td),new Cn(4,6,32,32,Td),new Cn(4,4,16,16,wa),new Cn(8,16,32,32,wa),new Cn(8,16,128,128,wa),new Cn(8,32,128,256,wa),new Cn(32,128,258,1024,wa),new Cn(32,258,258,4096,wa)];function $I(e){e.window_size=2*e.w_size,pr(e.head),e.max_lazy_match=_a[e.level].max_lazy,e.good_match=_a[e.level].good_length,e.nice_match=_a[e.level].nice_length,e.max_chain_length=_a[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=he-1,e.match_available=0,e.ins_h=0}function UI(){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=vl,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 At.Buf16(PI*2),this.dyn_dtree=new At.Buf16((2*MI+1)*2),this.bl_tree=new At.Buf16((2*II+1)*2),pr(this.dyn_ltree),pr(this.dyn_dtree),pr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new At.Buf16(NI+1),this.heap=new At.Buf16(2*Cd+1),pr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new At.Buf16(2*Cd+1),pr(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 R_(e){var t;return!e||!e.state?dr(e,rn):(e.total_in=e.total_out=0,e.data_type=kI,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?bl:ei,e.adler=t.wrap===2?0:1,t.last_flush=ri,nn._tr_init(t),An)}function M_(e){var t=R_(e);return t===An&&$I(e.state),t}function WI(e,t){return!e||!e.state||e.state.wrap!==2?rn:(e.state.gzhead=t,An)}function I_(e,t,n,r,i,a){if(!e)return rn;var s=1;if(t===wI&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>TI||n!==vl||r<8||r>15||t<0||t>9||a<0||a>EI)return dr(e,rn);r===8&&(r=9);var o=new UI;return e.state=o,o.strm=e,o.wrap=s,o.gzhead=null,o.w_bits=r,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+he-1)/he),o.window=new At.Buf8(o.w_size*2),o.head=new At.Buf16(o.hash_size),o.prev=new At.Buf16(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new At.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,M_(e)}function HI(e,t){return I_(e,t,vl,CI,AI,OI)}function YI(e,t){var n,r,i,a;if(!e||!e.state||t>k_||t<0)return e?dr(e,rn):rn;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===Bs&&t!==hr)return dr(e,e.avail_out===0?kd:rn);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===bl)if(r.wrap===2)e.adler=0,ye(r,31),ye(r,139),ye(r,8),r.gzhead?(ye(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),ye(r,r.gzhead.time&255),ye(r,r.gzhead.time>>8&255),ye(r,r.gzhead.time>>16&255),ye(r,r.gzhead.time>>24&255),ye(r,r.level===9?2:r.strategy>=dl||r.level<2?4:0),ye(r,r.gzhead.os&255),r.gzhead.extra&&r.gzhead.extra.length&&(ye(r,r.gzhead.extra.length&255),ye(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=lr(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=Ad):(ye(r,0),ye(r,0),ye(r,0),ye(r,0),ye(r,0),ye(r,r.level===9?2:r.strategy>=dl||r.level<2?4:0),ye(r,qI),r.status=ei);else{var s=vl+(r.w_bits-8<<4)<<8,o=-1;r.strategy>=dl||r.level<2?o=0:r.level<6?o=1:r.level===6?o=2:o=3,s|=o<<6,r.strstart!==0&&(s|=LI),s+=31-s%31,r.status=ei,qs(r,s),r.strstart!==0&&(qs(r,e.adler>>>16),qs(r,e.adler&65535)),e.adler=1}if(r.status===Ad)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(r.gzhead.extra.length&65535)&&!(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=lr(e.adler,r.pending_buf,r.pending-i,i)),ur(e),i=r.pending,r.pending===r.pending_buf_size));)ye(r,r.gzhead.extra[r.gzindex]&255),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=lr(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=hl)}else r.status=hl;if(r.status===hl)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=lr(e.adler,r.pending_buf,r.pending-i,i)),ur(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}r.gzindex<r.gzhead.name.length?a=r.gzhead.name.charCodeAt(r.gzindex++)&255:a=0,ye(r,a)}while(a!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=lr(e.adler,r.pending_buf,r.pending-i,i)),a===0&&(r.gzindex=0,r.status=ml)}else r.status=ml;if(r.status===ml)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=lr(e.adler,r.pending_buf,r.pending-i,i)),ur(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}r.gzindex<r.gzhead.comment.length?a=r.gzhead.comment.charCodeAt(r.gzindex++)&255:a=0,ye(r,a)}while(a!==0);r.gzhead.hcrc&&r.pending>i&&(e.adler=lr(e.adler,r.pending_buf,r.pending-i,i)),a===0&&(r.status=gl)}else r.status=gl;if(r.status===gl&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ur(e),r.pending+2<=r.pending_buf_size&&(ye(r,e.adler&255),ye(r,e.adler>>8&255),e.adler=0,r.status=ei)):r.status=ei),r.pending!==0){if(ur(e),e.avail_out===0)return r.last_flush=-1,An}else if(e.avail_in===0&&C_(t)<=C_(n)&&t!==hr)return dr(e,kd);if(r.status===Bs&&e.avail_in!==0)return dr(e,kd);if(e.avail_in!==0||r.lookahead!==0||t!==ri&&r.status!==Bs){var c=r.strategy===dl?zI(r,t):r.strategy===SI?DI(r,t):_a[r.level].func(r,t);if((c===ti||c===Sa)&&(r.status=Bs),c===et||c===ti)return e.avail_out===0&&(r.last_flush=-1),An;if(c===Fs&&(t===bI?nn._tr_align(r):t!==k_&&(nn._tr_stored_block(r,0,0,!1),t===xI&&(pr(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),ur(e),e.avail_out===0))return r.last_flush=-1,An}return t!==hr?An:r.wrap<=0?T_:(r.wrap===2?(ye(r,e.adler&255),ye(r,e.adler>>8&255),ye(r,e.adler>>16&255),ye(r,e.adler>>24&255),ye(r,e.total_in&255),ye(r,e.total_in>>8&255),ye(r,e.total_in>>16&255),ye(r,e.total_in>>24&255)):(qs(r,e.adler>>>16),qs(r,e.adler&65535)),ur(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?An:T_)}function GI(e){var t;return!e||!e.state?rn:(t=e.state.status,t!==bl&&t!==Ad&&t!==hl&&t!==ml&&t!==gl&&t!==ei&&t!==Bs?dr(e,rn):(e.state=null,t===ei?dr(e,yI):An))}function VI(e,t){var n=t.length,r,i,a,s,o,c,u,l;if(!e||!e.state||(r=e.state,s=r.wrap,s===2||s===1&&r.status!==bl||r.lookahead))return rn;for(s===1&&(e.adler=A_(e.adler,t,n,0)),r.wrap=0,n>=r.w_size&&(s===0&&(pr(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new At.Buf8(r.w_size),At.arraySet(l,t,n-r.w_size,r.w_size,0),t=l,n=r.w_size),o=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,ni(r);r.lookahead>=he;){i=r.strstart,a=r.lookahead-(he-1);do r.ins_h=(r.ins_h<<r.hash_shift^r.window[i+he-1])&r.hash_mask,r.prev[i&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=i,i++;while(--a);r.strstart=i,r.lookahead=he-1,ni(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=he-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=o,r.wrap=s,An}jn.deflateInit=HI;jn.deflateInit2=I_;jn.deflateReset=M_;jn.deflateResetKeep=R_;jn.deflateSetHeader=WI;jn.deflate=YI;jn.deflateEnd=GI;jn.deflateSetDictionary=VI;jn.deflateInfo="pako deflate (from Nodeca project)"});var jd=b(Ea=>{"use strict";var xl=Fn(),N_=!0,L_=!0;try{String.fromCharCode.apply(null,[0])}catch{N_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{L_=!1}var Ds=new xl.Buf8(256);for(zn=0;zn<256;zn++)Ds[zn]=zn>=252?6:zn>=248?5:zn>=240?4:zn>=224?3:zn>=192?2:1;var zn;Ds[254]=Ds[254]=1;Ea.string2buf=function(e){var t,n,r,i,a,s=e.length,o=0;for(i=0;i<s;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new xl.Buf8(o),a=0,i=0;a<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),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 q_(e,t){if(t<65534&&(e.subarray&&L_||!e.subarray&&N_))return String.fromCharCode.apply(null,xl.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}Ea.buf2binstring=function(e){return q_(e,e.length)};Ea.binstring2buf=function(e){for(var t=new xl.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t};Ea.buf2string=function(e,t){var n,r,i,a,s=t||e.length,o=new Array(s*2);for(r=0,n=0;n<s;){if(i=e[n++],i<128){o[r++]=i;continue}if(a=Ds[i],a>4){o[r++]=65533,n+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&n<s;)i=i<<6|e[n++]&63,a--;if(a>1){o[r++]=65533;continue}i<65536?o[r++]=i:(i-=65536,o[r++]=55296|i>>10&1023,o[r++]=56320|i&1023)}return q_(o,r)};Ea.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+Ds[e[n]]>t?n:t}});var Rd=b((ez,B_)=>{"use strict";function KI(){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}B_.exports=KI});var $_=b(Us=>{"use strict";var zs=P_(),$s=Fn(),Id=jd(),Pd=fl(),ZI=Rd(),z_=Object.prototype.toString,JI=0,Md=4,Oa=0,F_=1,D_=2,QI=-1,XI=0,eP=8;function ii(e){if(!(this instanceof ii))return new ii(e);this.options=$s.assign({level:QI,method:eP,chunkSize:16384,windowBits:15,memLevel:8,strategy:XI,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 ZI,this.strm.avail_out=0;var n=zs.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Oa)throw new Error(Pd[n]);if(t.header&&zs.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(typeof t.dictionary=="string"?r=Id.string2buf(t.dictionary):z_.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=zs.deflateSetDictionary(this.strm,r),n!==Oa)throw new Error(Pd[n]);this._dict_set=!0}}ii.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i,a;if(this.ended)return!1;a=t===~~t?t:t===!0?Md:JI,typeof e=="string"?n.input=Id.string2buf(e):z_.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 $s.Buf8(r),n.next_out=0,n.avail_out=r),i=zs.deflate(n,a),i!==F_&&i!==Oa)return this.onEnd(i),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===Md||a===D_))&&(this.options.to==="string"?this.onData(Id.buf2binstring($s.shrinkBuf(n.output,n.next_out))):this.onData($s.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&i!==F_);return a===Md?(i=zs.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===Oa):(a===D_&&(this.onEnd(Oa),n.avail_out=0),!0)};ii.prototype.onData=function(e){this.chunks.push(e)};ii.prototype.onEnd=function(e){e===Oa&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=$s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Nd(e,t){var n=new ii(t);if(n.push(e,!0),n.err)throw n.msg||Pd[n.err];return n.result}function tP(e,t){return t=t||{},t.raw=!0,Nd(e,t)}function nP(e,t){return t=t||{},t.gzip=!0,Nd(e,t)}Us.Deflate=ii;Us.deflate=Nd;Us.deflateRaw=tP;Us.gzip=nP});var W_=b((nz,U_)=>{"use strict";var yl=30,rP=12;U_.exports=function(t,n){var r,i,a,s,o,c,u,l,p,f,d,v,g,h,x,w,T,k,O,D,B,N,W,F,q;r=t.state,i=t.next_in,F=t.input,a=i+(t.avail_in-5),s=t.next_out,q=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),u=r.dmax,l=r.wsize,p=r.whave,f=r.wnext,d=r.window,v=r.hold,g=r.bits,h=r.lencode,x=r.distcode,w=(1<<r.lenbits)-1,T=(1<<r.distbits)-1;e:do{g<15&&(v+=F[i++]<<g,g+=8,v+=F[i++]<<g,g+=8),k=h[v&w];t:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O===0)q[s++]=k&65535;else if(O&16){D=k&65535,O&=15,O&&(g<O&&(v+=F[i++]<<g,g+=8),D+=v&(1<<O)-1,v>>>=O,g-=O),g<15&&(v+=F[i++]<<g,g+=8,v+=F[i++]<<g,g+=8),k=x[v&T];n:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O&16){if(B=k&65535,O&=15,g<O&&(v+=F[i++]<<g,g+=8,g<O&&(v+=F[i++]<<g,g+=8)),B+=v&(1<<O)-1,B>u){t.msg="invalid distance too far back",r.mode=yl;break e}if(v>>>=O,g-=O,O=s-o,B>O){if(O=B-O,O>p&&r.sane){t.msg="invalid distance too far back",r.mode=yl;break e}if(N=0,W=d,f===0){if(N+=l-O,O<D){D-=O;do q[s++]=d[N++];while(--O);N=s-B,W=q}}else if(f<O){if(N+=l+f-O,O-=f,O<D){D-=O;do q[s++]=d[N++];while(--O);if(N=0,f<D){O=f,D-=O;do q[s++]=d[N++];while(--O);N=s-B,W=q}}}else if(N+=f-O,O<D){D-=O;do q[s++]=d[N++];while(--O);N=s-B,W=q}for(;D>2;)q[s++]=W[N++],q[s++]=W[N++],q[s++]=W[N++],D-=3;D&&(q[s++]=W[N++],D>1&&(q[s++]=W[N++]))}else{N=s-B;do q[s++]=q[N++],q[s++]=q[N++],q[s++]=q[N++],D-=3;while(D>2);D&&(q[s++]=q[N++],D>1&&(q[s++]=q[N++]))}}else if((O&64)===0){k=x[(k&65535)+(v&(1<<O)-1)];continue n}else{t.msg="invalid distance code",r.mode=yl;break e}break}}else if((O&64)===0){k=h[(k&65535)+(v&(1<<O)-1)];continue t}else if(O&32){r.mode=rP;break e}else{t.msg="invalid literal/length code",r.mode=yl;break e}break}}while(i<a&&s<c);D=g>>3,i-=D,g-=D<<3,v&=(1<<g)-1,t.next_in=i,t.next_out=s,t.avail_in=i<a?5+(a-i):5-(i-a),t.avail_out=s<c?257+(c-s):257-(s-c),r.hold=v,r.bits=g}});var J_=b((rz,Z_)=>{"use strict";var H_=Fn(),ka=15,Y_=852,G_=592,V_=0,Ld=1,K_=2,iP=[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],aP=[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],sP=[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],oP=[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];Z_.exports=function(t,n,r,i,a,s,o,c){var u=c.bits,l=0,p=0,f=0,d=0,v=0,g=0,h=0,x=0,w=0,T=0,k,O,D,B,N,W=null,F=0,q,M=new H_.Buf16(ka+1),R=new H_.Buf16(ka+1),L=null,G=0,pe,we,te;for(l=0;l<=ka;l++)M[l]=0;for(p=0;p<i;p++)M[n[r+p]]++;for(v=u,d=ka;d>=1&&M[d]===0;d--);if(v>d&&(v=d),d===0)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,c.bits=1,0;for(f=1;f<d&&M[f]===0;f++);for(v<f&&(v=f),x=1,l=1;l<=ka;l++)if(x<<=1,x-=M[l],x<0)return-1;if(x>0&&(t===V_||d!==1))return-1;for(R[1]=0,l=1;l<ka;l++)R[l+1]=R[l]+M[l];for(p=0;p<i;p++)n[r+p]!==0&&(o[R[n[r+p]]++]=p);if(t===V_?(W=L=o,q=19):t===Ld?(W=iP,F-=257,L=aP,G-=257,q=256):(W=sP,L=oP,q=-1),T=0,p=0,l=f,N=s,g=v,h=0,D=-1,w=1<<v,B=w-1,t===Ld&&w>Y_||t===K_&&w>G_)return 1;for(;;){pe=l-h,o[p]<q?(we=0,te=o[p]):o[p]>q?(we=L[G+o[p]],te=W[F+o[p]]):(we=32+64,te=0),k=1<<l-h,O=1<<g,f=O;do O-=k,a[N+(T>>h)+O]=pe<<24|we<<16|te|0;while(O!==0);for(k=1<<l-1;T&k;)k>>=1;if(k!==0?(T&=k-1,T+=k):T=0,p++,--M[l]===0){if(l===d)break;l=n[r+o[p]]}if(l>v&&(T&B)!==D){for(h===0&&(h=v),N+=f,g=l-h,x=1<<g;g+h<d&&(x-=M[g+h],!(x<=0));)g++,x<<=1;if(w+=1<<g,t===Ld&&w>Y_||t===K_&&w>G_)return 1;D=T&B,a[D]=v<<24|g<<16|N-s|0}}return T!==0&&(a[N+T]=l-h<<24|64<<16|0),c.bits=v,0}});var M2=b(dn=>{"use strict";var Ht=Fn(),$d=Ed(),Rn=Od(),cP=W_(),Ws=J_(),lP=0,S2=1,E2=2,Q_=4,uP=5,wl=6,ai=0,pP=1,fP=2,an=-2,O2=-3,Ud=-4,dP=-5,X_=8,k2=1,e2=2,t2=3,n2=4,r2=5,i2=6,a2=7,s2=8,o2=9,c2=10,El=11,$n=12,qd=13,l2=14,Bd=15,u2=16,p2=17,f2=18,d2=19,_l=20,Sl=21,h2=22,m2=23,g2=24,v2=25,b2=26,Fd=27,x2=28,y2=29,Ie=30,Wd=31,hP=32,mP=852,gP=592,vP=15,bP=vP;function w2(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function xP(){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 Ht.Buf16(320),this.work=new Ht.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function T2(e){var t;return!e||!e.state?an:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=k2,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ht.Buf32(mP),t.distcode=t.distdyn=new Ht.Buf32(gP),t.sane=1,t.back=-1,ai)}function C2(e){var t;return!e||!e.state?an:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,T2(e))}function A2(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?an:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,C2(e))}function j2(e,t){var n,r;return e?(r=new xP,e.state=r,r.window=null,n=A2(e,t),n!==ai&&(e.state=null),n):an}function yP(e){return j2(e,bP)}var _2=!0,Dd,zd;function wP(e){if(_2){var t;for(Dd=new Ht.Buf32(512),zd=new Ht.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(Ws(S2,e.lens,0,288,Dd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ws(E2,e.lens,0,32,zd,0,e.work,{bits:5}),_2=!1}e.lencode=Dd,e.lenbits=9,e.distcode=zd,e.distbits=5}function R2(e,t,n,r){var i,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Ht.Buf8(a.wsize)),r>=a.wsize?(Ht.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),Ht.arraySet(a.window,t,n-r,i,a.wnext),r-=i,r?(Ht.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function _P(e,t){var n,r,i,a,s,o,c,u,l,p,f,d,v,g,h=0,x,w,T,k,O,D,B,N,W=new Ht.Buf8(4),F,q,M=[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 an;n=e.state,n.mode===$n&&(n.mode=qd),s=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,u=n.hold,l=n.bits,p=o,f=c,N=ai;e:for(;;)switch(n.mode){case k2:if(n.wrap===0){n.mode=qd;break}for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(n.wrap&2&&u===35615){n.check=0,W[0]=u&255,W[1]=u>>>8&255,n.check=Rn(n.check,W,2,0),u=0,l=0,n.mode=e2;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=Ie;break}if((u&15)!==X_){e.msg="unknown compression method",n.mode=Ie;break}if(u>>>=4,l-=4,B=(u&15)+8,n.wbits===0)n.wbits=B;else if(B>n.wbits){e.msg="invalid window size",n.mode=Ie;break}n.dmax=1<<B,e.adler=n.check=1,n.mode=u&512?c2:$n,u=0,l=0;break;case e2:for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==X_){e.msg="unknown compression method",n.mode=Ie;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Ie;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Rn(n.check,W,2,0)),u=0,l=0,n.mode=t2;case t2:for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.head&&(n.head.time=u),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,W[2]=u>>>16&255,W[3]=u>>>24&255,n.check=Rn(n.check,W,4,0)),u=0,l=0,n.mode=n2;case n2:for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.head&&(n.head.xflags=u&255,n.head.os=u>>8),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Rn(n.check,W,2,0)),u=0,l=0,n.mode=r2;case r2:if(n.flags&1024){for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.length=u,n.head&&(n.head.extra_len=u),n.flags&512&&(W[0]=u&255,W[1]=u>>>8&255,n.check=Rn(n.check,W,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=i2;case i2:if(n.flags&1024&&(d=n.length,d>o&&(d=o),d&&(n.head&&(B=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ht.arraySet(n.head.extra,r,a,d,B)),n.flags&512&&(n.check=Rn(n.check,r,d,a)),o-=d,a+=d,n.length-=d),n.length))break e;n.length=0,n.mode=a2;case a2:if(n.flags&2048){if(o===0)break e;d=0;do B=r[a+d++],n.head&&B&&n.length<65536&&(n.head.name+=String.fromCharCode(B));while(B&&d<o);if(n.flags&512&&(n.check=Rn(n.check,r,d,a)),o-=d,a+=d,B)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=s2;case s2:if(n.flags&4096){if(o===0)break e;d=0;do B=r[a+d++],n.head&&B&&n.length<65536&&(n.head.comment+=String.fromCharCode(B));while(B&&d<o);if(n.flags&512&&(n.check=Rn(n.check,r,d,a)),o-=d,a+=d,B)break e}else n.head&&(n.head.comment=null);n.mode=o2;case o2:if(n.flags&512){for(;l<16;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Ie;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=$n;break;case c2:for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}e.adler=n.check=w2(u),u=0,l=0,n.mode=El;case El: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,fP;e.adler=n.check=1,n.mode=$n;case $n:if(t===uP||t===wl)break e;case qd:if(n.last){u>>>=l&7,l-=l&7,n.mode=Fd;break}for(;l<3;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}switch(n.last=u&1,u>>>=1,l-=1,u&3){case 0:n.mode=l2;break;case 1:if(wP(n),n.mode=_l,t===wl){u>>>=2,l-=2;break e}break;case 2:n.mode=p2;break;case 3:e.msg="invalid block type",n.mode=Ie}u>>>=2,l-=2;break;case l2:for(u>>>=l&7,l-=l&7;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Ie;break}if(n.length=u&65535,u=0,l=0,n.mode=Bd,t===wl)break e;case Bd:n.mode=u2;case u2:if(d=n.length,d){if(d>o&&(d=o),d>c&&(d=c),d===0)break e;Ht.arraySet(i,r,a,d,s),o-=d,a+=d,c-=d,s+=d,n.length-=d;break}n.mode=$n;break;case p2:for(;l<14;){if(o===0)break e;o--,u+=r[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=Ie;break}n.have=0,n.mode=f2;case f2:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}n.lens[M[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,F={bits:n.lenbits},N=Ws(lP,n.lens,0,19,n.lencode,0,n.work,F),n.lenbits=F.bits,N){e.msg="invalid code lengths set",n.mode=Ie;break}n.have=0,n.mode=d2;case d2:for(;n.have<n.nlen+n.ndist;){for(;h=n.lencode[u&(1<<n.lenbits)-1],x=h>>>24,w=h>>>16&255,T=h&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(T<16)u>>>=x,l-=x,n.lens[n.have++]=T;else{if(T===16){for(q=x+2;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u>>>=x,l-=x,n.have===0){e.msg="invalid bit length repeat",n.mode=Ie;break}B=n.lens[n.have-1],d=3+(u&3),u>>>=2,l-=2}else if(T===17){for(q=x+3;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=x,l-=x,B=0,d=3+(u&7),u>>>=3,l-=3}else{for(q=x+7;l<q;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=x,l-=x,B=0,d=11+(u&127),u>>>=7,l-=7}if(n.have+d>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Ie;break}for(;d--;)n.lens[n.have++]=B}}if(n.mode===Ie)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Ie;break}if(n.lenbits=9,F={bits:n.lenbits},N=Ws(S2,n.lens,0,n.nlen,n.lencode,0,n.work,F),n.lenbits=F.bits,N){e.msg="invalid literal/lengths set",n.mode=Ie;break}if(n.distbits=6,n.distcode=n.distdyn,F={bits:n.distbits},N=Ws(E2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,F),n.distbits=F.bits,N){e.msg="invalid distances set",n.mode=Ie;break}if(n.mode=_l,t===wl)break e;case _l:n.mode=Sl;case Sl: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,cP(e,f),s=e.next_out,i=e.output,c=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,u=n.hold,l=n.bits,n.mode===$n&&(n.back=-1);break}for(n.back=0;h=n.lencode[u&(1<<n.lenbits)-1],x=h>>>24,w=h>>>16&255,T=h&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(w&&(w&240)===0){for(k=x,O=w,D=T;h=n.lencode[D+((u&(1<<k+O)-1)>>k)],x=h>>>24,w=h>>>16&255,T=h&65535,!(k+x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,n.length=T,w===0){n.mode=b2;break}if(w&32){n.back=-1,n.mode=$n;break}if(w&64){e.msg="invalid literal/length code",n.mode=Ie;break}n.extra=w&15,n.mode=h2;case h2:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=r[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=m2;case m2:for(;h=n.distcode[u&(1<<n.distbits)-1],x=h>>>24,w=h>>>16&255,T=h&65535,!(x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if((w&240)===0){for(k=x,O=w,D=T;h=n.distcode[D+((u&(1<<k+O)-1)>>k)],x=h>>>24,w=h>>>16&255,T=h&65535,!(k+x<=l);){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,w&64){e.msg="invalid distance code",n.mode=Ie;break}n.offset=T,n.extra=w&15,n.mode=g2;case g2:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=r[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=Ie;break}n.mode=v2;case v2:if(c===0)break e;if(d=f-c,n.offset>d){if(d=n.offset-d,d>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Ie;break}d>n.wnext?(d-=n.wnext,v=n.wsize-d):v=n.wnext-d,d>n.length&&(d=n.length),g=n.window}else g=i,v=s-n.offset,d=n.length;d>c&&(d=c),c-=d,n.length-=d;do i[s++]=g[v++];while(--d);n.length===0&&(n.mode=Sl);break;case b2:if(c===0)break e;i[s++]=n.length,c--,n.mode=Sl;break;case Fd:if(n.wrap){for(;l<32;){if(o===0)break e;o--,u|=r[a++]<<l,l+=8}if(f-=c,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=n.flags?Rn(n.check,i,f,s-f):$d(n.check,i,f,s-f)),f=c,(n.flags?u:w2(u))!==n.check){e.msg="incorrect data check",n.mode=Ie;break}u=0,l=0}n.mode=x2;case x2:if(n.wrap&&n.flags){for(;l<32;){if(o===0)break e;o--,u+=r[a++]<<l,l+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Ie;break}u=0,l=0}n.mode=y2;case y2:N=pP;break e;case Ie:N=O2;break e;case Wd:return Ud;case hP:default:return an}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<Ie&&(n.mode<Fd||t!==Q_))&&R2(e,e.output,e.next_out,f-e.avail_out)?(n.mode=Wd,Ud):(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?Rn(n.check,i,f,e.next_out-f):$d(n.check,i,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===$n?128:0)+(n.mode===_l||n.mode===Bd?256:0),(p===0&&f===0||t===Q_)&&N===ai&&(N=dP),N)}function SP(e){if(!e||!e.state)return an;var t=e.state;return t.window&&(t.window=null),e.state=null,ai}function EP(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?an:(n.head=t,t.done=!1,ai)}function OP(e,t){var n=t.length,r,i,a;return!e||!e.state||(r=e.state,r.wrap!==0&&r.mode!==El)?an:r.mode===El&&(i=1,i=$d(i,t,n,0),i!==r.check)?O2:(a=R2(e,t,n,n),a?(r.mode=Wd,Ud):(r.havedict=1,ai))}dn.inflateReset=C2;dn.inflateReset2=A2;dn.inflateResetKeep=T2;dn.inflateInit=yP;dn.inflateInit2=j2;dn.inflate=_P;dn.inflateEnd=SP;dn.inflateGetHeader=EP;dn.inflateSetDictionary=OP;dn.inflateInfo="pako inflate (from Nodeca project)"});var Hd=b((az,I2)=>{"use strict";I2.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 N2=b((sz,P2)=>{"use strict";function kP(){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}P2.exports=kP});var q2=b(Ys=>{"use strict";var Ta=M2(),Hs=Fn(),Ol=jd(),He=Hd(),Yd=fl(),TP=Rd(),CP=N2(),L2=Object.prototype.toString;function si(e){if(!(this instanceof si))return new si(e);this.options=Hs.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 TP,this.strm.avail_out=0;var n=Ta.inflateInit2(this.strm,t.windowBits);if(n!==He.Z_OK)throw new Error(Yd[n]);if(this.header=new CP,Ta.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Ol.string2buf(t.dictionary):L2.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Ta.inflateSetDictionary(this.strm,t.dictionary),n!==He.Z_OK)))throw new Error(Yd[n])}si.prototype.push=function(e,t){var n=this.strm,r=this.options.chunkSize,i=this.options.dictionary,a,s,o,c,u,l=!1;if(this.ended)return!1;s=t===~~t?t:t===!0?He.Z_FINISH:He.Z_NO_FLUSH,typeof e=="string"?n.input=Ol.binstring2buf(e):L2.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 Hs.Buf8(r),n.next_out=0,n.avail_out=r),a=Ta.inflate(n,He.Z_NO_FLUSH),a===He.Z_NEED_DICT&&i&&(a=Ta.inflateSetDictionary(this.strm,i)),a===He.Z_BUF_ERROR&&l===!0&&(a=He.Z_OK,l=!1),a!==He.Z_STREAM_END&&a!==He.Z_OK)return this.onEnd(a),this.ended=!0,!1;n.next_out&&(n.avail_out===0||a===He.Z_STREAM_END||n.avail_in===0&&(s===He.Z_FINISH||s===He.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=r-c,c&&Hs.arraySet(n.output,n.output,o,c,0),this.onData(u)):this.onData(Hs.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!==He.Z_STREAM_END);return a===He.Z_STREAM_END&&(s=He.Z_FINISH),s===He.Z_FINISH?(a=Ta.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===He.Z_OK):(s===He.Z_SYNC_FLUSH&&(this.onEnd(He.Z_OK),n.avail_out=0),!0)};si.prototype.onData=function(e){this.chunks.push(e)};si.prototype.onEnd=function(e){e===He.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Hs.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Gd(e,t){var n=new si(t);if(n.push(e,!0),n.err)throw n.msg||Yd[n.err];return n.result}function AP(e,t){return t=t||{},t.raw=!0,Gd(e,t)}Ys.Inflate=si;Ys.inflate=Gd;Ys.inflateRaw=AP;Ys.ungzip=Gd});var D2=b((cz,F2)=>{"use strict";var jP=Fn().assign,RP=$_(),MP=q2(),IP=Hd(),B2={};jP(B2,RP,MP,IP);F2.exports=B2});var $2=b(Tl=>{"use strict";var PP=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",NP=D2(),z2=qe(),kl=Wt(),LP=PP?"uint8array":"array";Tl.magic="\b\0";function oi(e,t){kl.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}z2.inherits(oi,kl);oi.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(z2.transformTo(LP,e.data),!1)};oi.prototype.flush=function(){kl.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};oi.prototype.cleanUp=function(){kl.prototype.cleanUp.call(this),this._pako=null};oi.prototype._createPako=function(){this._pako=new NP[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};Tl.compressWorker=function(e){return new oi("Deflate",e)};Tl.uncompressWorker=function(){return new oi("Inflate",{})}});var Kd=b(Vd=>{"use strict";var U2=Wt();Vd.STORE={magic:"\0\0",compressWorker:function(e){return new U2("STORE compression")},uncompressWorker:function(){return new U2("STORE decompression")}};Vd.DEFLATE=$2()});var Zd=b(ci=>{"use strict";ci.LOCAL_FILE_HEADER="PK";ci.CENTRAL_FILE_HEADER="PK";ci.CENTRAL_DIRECTORY_END="PK";ci.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";ci.ZIP64_CENTRAL_DIRECTORY_END="PK";ci.DATA_DESCRIPTOR="PK\x07\b"});var G2=b((fz,Y2)=>{"use strict";var Ca=qe(),Aa=Wt(),Jd=Jr(),W2=ol(),Cl=Zd(),Ae=function(e,t){var n="",r;for(r=0;r<t;r++)n+=String.fromCharCode(e&255),e=e>>>8;return n},qP=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},BP=function(e,t){return(e||0)&63},H2=function(e,t,n,r,i,a){var s=e.file,o=e.compression,c=a!==Jd.utf8encode,u=Ca.transformTo("string",a(s.name)),l=Ca.transformTo("string",Jd.utf8encode(s.name)),p=s.comment,f=Ca.transformTo("string",a(p)),d=Ca.transformTo("string",Jd.utf8encode(p)),v=l.length!==s.name.length,g=d.length!==p.length,h,x,w="",T="",k="",O=s.dir,D=s.date,B={crc32:0,compressedSize:0,uncompressedSize:0};(!t||n)&&(B.crc32=e.crc32,B.compressedSize=e.compressedSize,B.uncompressedSize=e.uncompressedSize);var N=0;t&&(N|=8),!c&&(v||g)&&(N|=2048);var W=0,F=0;O&&(W|=16),i==="UNIX"?(F=798,W|=qP(s.unixPermissions,O)):(F=20,W|=BP(s.dosPermissions,O)),h=D.getUTCHours(),h=h<<6,h=h|D.getUTCMinutes(),h=h<<5,h=h|D.getUTCSeconds()/2,x=D.getUTCFullYear()-1980,x=x<<4,x=x|D.getUTCMonth()+1,x=x<<5,x=x|D.getUTCDate(),v&&(T=Ae(1,1)+Ae(W2(u),4)+l,w+="up"+Ae(T.length,2)+T),g&&(k=Ae(1,1)+Ae(W2(f),4)+d,w+="uc"+Ae(k.length,2)+k);var q="";q+=`
|
|
35
|
+
\0`,q+=Ae(N,2),q+=o.magic,q+=Ae(h,2),q+=Ae(x,2),q+=Ae(B.crc32,4),q+=Ae(B.compressedSize,4),q+=Ae(B.uncompressedSize,4),q+=Ae(u.length,2),q+=Ae(w.length,2);var M=Cl.LOCAL_FILE_HEADER+q+u+w,R=Cl.CENTRAL_FILE_HEADER+Ae(F,2)+q+Ae(f.length,2)+"\0\0\0\0"+Ae(W,4)+Ae(r,4)+u+w+f;return{fileRecord:M,dirRecord:R}},FP=function(e,t,n,r,i){var a="",s=Ca.transformTo("string",i(r));return a=Cl.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Ae(e,2)+Ae(e,2)+Ae(t,4)+Ae(n,4)+Ae(s.length,2)+s,a},DP=function(e){var t="";return t=Cl.DATA_DESCRIPTOR+Ae(e.crc32,4)+Ae(e.compressedSize,4)+Ae(e.uncompressedSize,4),t};function hn(e,t,n,r){Aa.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Ca.inherits(hn,Aa);hn.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,Aa.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))};hn.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=H2(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};hn.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=H2(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:DP(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};hn.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,r=FP(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})};hn.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};hn.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};hn.prototype.resume=function(){if(!Aa.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};hn.prototype.error=function(e){var t=this._sources;if(!Aa.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0};hn.prototype.lock=function(){Aa.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};Y2.exports=hn});var K2=b(V2=>{"use strict";var zP=Kd(),$P=G2(),UP=function(e,t){var n=e||t,r=zP[n];if(!r)throw new Error(n+" is not a valid compression method !");return r};V2.generateWorker=function(e,t,n){var r=new $P(t.streamFiles,n,t.platform,t.encodeFileName),i=0;try{e.forEach(function(a,s){i++;var o=UP(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(r)}),r.entriesCount=i}catch(a){r.error(a)}return r}});var J2=b((hz,Z2)=>{"use strict";var WP=qe(),Al=Wt();function Gs(e,t){Al.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}WP.inherits(Gs,Al);Gs.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()})};Gs.prototype.pause=function(){return Al.prototype.pause.call(this)?(this._stream.pause(),!0):!1};Gs.prototype.resume=function(){return Al.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};Z2.exports=Gs});var oS=b((mz,sS)=>{"use strict";var HP=Jr(),Vs=qe(),tS=Wt(),YP=nd(),nS=rd(),Q2=cl(),GP=Xw(),VP=K2(),X2=Ss(),KP=J2(),rS=function(e,t,n){var r=Vs.getTypeOf(t),i,a=Vs.extend(n||{},nS);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=iS(e)),a.createFolders&&(i=ZP(e))&&aS.call(this,i,!0);var s=r==="string"&&a.binary===!1&&a.base64===!1;(!n||typeof n.binary>"u")&&(a.binary=!s);var o=t instanceof Q2&&t.uncompressedSize===0;(o||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",r="string");var c=null;t instanceof Q2||t instanceof tS?c=t:X2.isNode&&X2.isStream(t)?c=new KP(e,t):c=Vs.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new GP(e,c,a);this.files[e]=u},ZP=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},iS=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},aS=function(e,t){return t=typeof t<"u"?t:nS.createFolders,e=iS(e),this.files[e]||rS.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function eS(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var JP={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,r;for(t in this.files)r=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1)if(eS(e)){var r=e;return this.filter(function(a,s){return!s.dir&&r.test(a)})}else{var i=this.files[this.root+e];return i&&!i.dir?i:null}else e=this.root+e,rS.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(eS(e))return this.filter(function(i,a){return a.dir&&e.test(i)});var t=this.root+e,n=aS.call(this,t),r=this.clone();return r.root=n.name,r},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(i,a){return a.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].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=Vs.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:HP.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.");Vs.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 r=n.comment||this.comment||"";t=VP.generateWorker(this,n,r)}catch(i){t=new tS("error"),t.error(i)}return new YP(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)}};sS.exports=JP});var Qd=b((gz,lS)=>{"use strict";var QP=qe();function cS(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}cS.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 QP.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))}};lS.exports=cS});var Xd=b((vz,pS)=>{"use strict";var uS=Qd(),XP=qe();function ja(e){uS.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}XP.inherits(ja,uS);ja.prototype.byteAt=function(e){return this.data[this.zero+e]};ja.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1};ja.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]};ja.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};pS.exports=ja});var hS=b((bz,dS)=>{"use strict";var fS=Qd(),eN=qe();function Ra(e){fS.call(this,e)}eN.inherits(Ra,fS);Ra.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};Ra.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};Ra.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};Ra.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};dS.exports=Ra});var th=b((xz,gS)=>{"use strict";var mS=Xd(),tN=qe();function eh(e){mS.call(this,e)}tN.inherits(eh,mS);eh.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};gS.exports=eh});var xS=b((yz,bS)=>{"use strict";var vS=th(),nN=qe();function nh(e){vS.call(this,e)}nN.inherits(nh,vS);nh.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};bS.exports=nh});var rh=b((wz,wS)=>{"use strict";var jl=qe(),yS=qn(),rN=Xd(),iN=hS(),aN=xS(),sN=th();wS.exports=function(e){var t=jl.getTypeOf(e);return jl.checkSupport(t),t==="string"&&!yS.uint8array?new iN(e):t==="nodebuffer"?new aN(e):yS.uint8array?new sN(jl.transformTo("uint8array",e)):new rN(jl.transformTo("array",e))}});var OS=b((_z,ES)=>{"use strict";var ih=rh(),mr=qe(),oN=cl(),_S=ol(),Rl=Jr(),Ml=Kd(),cN=qn(),lN=0,uN=3,pN=function(e){for(var t in Ml)if(!!Ml.hasOwnProperty(t)&&Ml[t].magic===e)return Ml[t];return null};function SS(e,t){this.options=e,this.loadOptions=t}SS.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=pN(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+mr.pretty(this.compressionMethod)+" unknown (inner file : "+mr.transformTo("string",this.fileName)+")");this.decompressed=new oN(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===lN&&(this.dosPermissions=this.externalFileAttributes&63),e===uN&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(!!this.extraFields[1]){var t=ih(this.extraFields[1].value);this.uncompressedSize===mr.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===mr.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===mr.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===mr.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,r,i;for(this.extraFields||(this.extraFields={});e.index+4<t;)n=e.readInt(2),r=e.readInt(2),i=e.readData(r),this.extraFields[n]={id:n,length:r,value:i};e.setIndex(t)},handleUTF8:function(){var e=cN.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Rl.utf8decode(this.fileName),this.fileCommentStr=Rl.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=mr.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var i=mr.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=ih(e.value);return t.readInt(1)!==1||_S(this.fileName)!==t.readInt(4)?null:Rl.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=ih(e.value);return t.readInt(1)!==1||_S(this.fileComment)!==t.readInt(4)?null:Rl.utf8decode(t.readData(e.length-5))}return null}};ES.exports=SS});var CS=b((Ez,TS)=>{"use strict";var fN=rh(),Un=qe(),mn=Zd(),dN=OS(),Sz=Jr(),hN=qn();function kS(e){this.files=[],this.loadOptions=e}kS.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 ("+Un.pretty(t)+", expected "+Un.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4),i=r===t;return this.reader.setIndex(n),i},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=hN.uint8array?"uint8array":"array",n=Un.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,r,i;t<e;)n=this.reader.readInt(2),r=this.reader.readInt(4),i=this.reader.readData(r),this.zip64ExtensibleData[n]={id:n,length:r,value:i}},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(mn.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(mn.CENTRAL_FILE_HEADER);)e=new dN({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(mn.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,mn.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(mn.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Un.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Un.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Un.MAX_VALUE_16BITS||this.centralDirRecords===Un.MAX_VALUE_16BITS||this.centralDirSize===Un.MAX_VALUE_32BITS||this.centralDirOffset===Un.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(mn.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(mn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,mn.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(mn.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(mn.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var i=n-r;if(i>0)this.isSignature(n,mn.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=fN(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};TS.exports=kS});var MS=b((Oz,RS)=>{"use strict";var AS=qe(),Il=ha(),mN=Jr(),gN=CS(),vN=sd(),jS=Ss();function bN(e){return new Il.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new vN);r.on("error",function(i){n(i)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}RS.exports=function(e,t){var n=this;return t=AS.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:mN.utf8decode}),jS.isNode&&jS.isStream(e)?Il.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):AS.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new gN(t);return i.load(r),i}).then(function(i){var a=[Il.Promise.resolve(i)],s=i.files;if(t.checkCRC32)for(var o=0;o<s.length;o++)a.push(bN(s[o]));return Il.Promise.all(a)}).then(function(i){for(var a=i.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 PS=b((kz,IS)=>{"use strict";function sn(){if(!(this instanceof sn))return new sn;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 sn;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}sn.prototype=oS();sn.prototype.loadAsync=MS();sn.support=qn();sn.defaults=rd();sn.version="3.7.1";sn.loadAsync=function(e,t){return new sn().loadAsync(e,t)};sn.external=ha();IS.exports=sn});var ui=b(Pt=>{"use strict";var Wn={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Ks={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"},xN="tag:yaml.org,2002:",yN={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function NS(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
|
|
38
|
-
`;)--a;return r.slice(i,a)}function
|
|
39
|
-
${c}${u}${o}`}var
|
|
40
|
-
`)return r;let i=
|
|
37
|
+
`,n);return t}function LS(e){let t,n;return typeof e=="string"?(t=NS(e),n=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=NS(e.context.src)),t=e.lineStarts,n=e.context.src)),{lineStarts:t,src:n}}function ah(e,t){if(typeof e!="number"||e<0)return null;let{lineStarts:n,src:r}=LS(t);if(!n||!r||e>r.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 i=n.length;return{line:i,col:e-n[i-1]+1}}function wN(e,t){let{lineStarts:n,src:r}=LS(t);if(!n||!(e>=1)||e>n.length)return null;let i=n[e-1],a=n[e];for(;a&&a>i&&r[a-1]===`
|
|
38
|
+
`;)--a;return r.slice(i,a)}function _N({start:e,end:t},n,r=80){let i=wN(e.line,n);if(!i)return null;let{col:a}=e;if(i.length>r)if(a<=r-10)i=i.substr(0,r-1)+"\u2026";else{let l=Math.round(r/2);i.length>a+l&&(i=i.substr(0,a+l-1)+"\u2026"),a-=i.length-r,i="\u2026"+i.substr(1-r)}let s=1,o="";t&&(t.line===e.line&&a+(t.col-e.col)<=r+1?s=t.col-e.col:(s=Math.min(i.length+1,r)-a,o="\u2026"));let c=a>1?" ".repeat(a-1):"",u="^".repeat(s);return`${i}
|
|
39
|
+
${c}${u}${o}`}var gr=class{static copy(t){return new gr(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:r,end:i}=this;if(t.length===0||i<=t[0])return this.origStart=r,this.origEnd=i,n;let a=n;for(;a<t.length&&!(t[a]>r);)++a;this.origStart=r+a;let s=a;for(;a<t.length&&!(t[a]>=i);)++a;return this.origEnd=i+a,s}},st=class{static addStringTerminator(t,n,r){if(r[r.length-1]===`
|
|
40
|
+
`)return r;let i=st.endOfWhiteSpace(t,n);return i>=t.length||t[i]===`
|
|
41
41
|
`?r+`
|
|
42
42
|
`:r}static atDocumentBoundary(t,n,r){let i=t[n];if(!i)return!0;let a=t[n-1];if(a&&a!==`
|
|
43
|
-
`)return!1;if(r){if(i!==r)return!1}else if(i!==
|
|
43
|
+
`)return!1;if(r){if(i!==r)return!1}else if(i!==Wn.DIRECTIVES_END&&i!==Wn.DOCUMENT_END)return!1;let s=t[n+1],o=t[n+2];if(s!==i||o!==i)return!1;let c=t[n+3];return!c||c===`
|
|
44
44
|
`||c===" "||c===" "}static endOfIdentifier(t,n){let r=t[n],i=r==="<",a=i?[`
|
|
45
45
|
`," "," ",">"]:[`
|
|
46
46
|
`," "," ","[","]","{","}",","];for(;r&&a.indexOf(r)===-1;)r=t[n+=1];return i&&r===">"&&(n+=1),n}static endOfIndent(t,n){let r=t[n];for(;r===" ";)r=t[n+=1];return n}static endOfLine(t,n){let r=t[n];for(;r&&r!==`
|
|
47
47
|
`;)r=t[n+=1];return n}static endOfWhiteSpace(t,n){let r=t[n];for(;r===" "||r===" ";)r=t[n+=1];return n}static startOfLine(t,n){let r=t[n-1];if(r===`
|
|
48
48
|
`)return n;for(;r&&r!==`
|
|
49
|
-
`;)r=t[n-=1];return n+1}static endOfBlockIndent(t,n,r){let i=
|
|
49
|
+
`;)r=t[n-=1];return n+1}static endOfBlockIndent(t,n,r){let i=st.endOfIndent(t,r);if(i>r+n)return i;{let a=st.endOfWhiteSpace(t,i),s=t[a];if(!s||s===`
|
|
50
50
|
`)return a}return null}static atBlank(t,n,r){let i=t[n];return i===`
|
|
51
51
|
`||i===" "||i===" "||r&&!i}static nextNodeIsIndented(t,n,r){return!t||n<0?!1:n>0?!0:r&&t==="-"}static normalizeOffset(t,n){let r=t[n];return r?r!==`
|
|
52
52
|
`&&t[n-1]===`
|
|
53
|
-
`?n-1:
|
|
53
|
+
`?n-1:st.endOfWhiteSpace(t,n):n}static foldNewline(t,n,r){let i=0,a=!1,s="",o=t[n+1];for(;o===" "||o===" "||o===`
|
|
54
54
|
`;){switch(o){case`
|
|
55
55
|
`:i=0,n+=1,s+=`
|
|
56
|
-
`;break;case" ":i<=r&&(a=!0),n=
|
|
57
|
-
`):null}commentHasRequiredWhitespace(t){let{src:n}=this.context;if(this.header&&t===this.header.end||!this.valueRange)return!1;let{end:r}=this.valueRange;return t!==r||
|
|
58
|
-
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===
|
|
56
|
+
`;break;case" ":i<=r&&(a=!0),n=st.endOfWhiteSpace(t,n+2)-1;break;case" ":i+=1,n+=1;break}o=t[n+1]}return s||(s=" "),o&&i<=r&&(a=!0),{fold:s,offset:n,error:a}}constructor(t,n,r){Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=t,this.value=null}getPropValue(t,n,r){if(!this.context)return null;let{src:i}=this.context,a=this.props[t];return a&&i[a.start]===n?i.slice(a.start+(r?1:0),a.end):null}get anchor(){for(let t=0;t<this.props.length;++t){let n=this.getPropValue(t,Wn.ANCHOR,!0);if(n!=null)return n}return null}get comment(){let t=[];for(let n=0;n<this.props.length;++n){let r=this.getPropValue(n,Wn.COMMENT,!0);r!=null&&t.push(r)}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:r}=this.valueRange;return t!==r||st.atBlank(n,r-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]===Wn.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]!==Wn.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Ks.FLOW_MAP,Ks.FLOW_SEQ,Ks.QUOTE_DOUBLE,Ks.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let t=ah(this.range.start,this.context.root);if(!t)return;let n=ah(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,Wn.TAG,!1);if(n!=null){if(n[1]==="<")return{verbatim:n.slice(2,-1)};{let[r,i,a]=n.match(/^(.*!)([^!]*)$/);return{handle:i,suffix:a}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:t,end:n}=this.valueRange,{src:r}=this.context;for(let i=t;i<n;++i)if(r[i]===`
|
|
58
|
+
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===Wn.COMMENT){let r=st.endOfLine(n,t+1),i=new gr(t,r);return this.props.push(i),r}return t}setOrigRanges(t,n){return this.range&&(n=this.range.setOrigRange(t,n)),this.valueRange&&this.valueRange.setOrigRange(t,n),this.props.forEach(r=>r.setOrigRange(t,n)),n}toString(){let{context:{src:t},range:n,value:r}=this;if(r!=null)return r;let i=t.slice(n.start,n.end);return st.addStringTerminator(t,n.end,i)}},li=class extends Error{constructor(t,n,r){if(!r||!(n instanceof st))throw new Error(`Invalid arguments for new ${t}`);super(),this.name=t,this.message=r,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 gr(this.offset,this.offset+1);let n=t&&ah(this.offset,t);if(n){let r={line:n.line,col:n.col+1};this.linePos={start:n,end:r}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:r}=this.linePos.start;this.message+=` at line ${n}, column ${r}`;let i=t&&_N(this.linePos,t);i&&(this.message+=`:
|
|
59
59
|
|
|
60
60
|
${i}
|
|
61
|
-
`)}delete this.source}},
|
|
61
|
+
`)}delete this.source}},sh=class extends li{constructor(t,n){super("YAMLReferenceError",t,n)}},Zs=class extends li{constructor(t,n){super("YAMLSemanticError",t,n)}},oh=class extends li{constructor(t,n){super("YAMLSyntaxError",t,n)}},ch=class extends li{constructor(t,n){super("YAMLWarning",t,n)}};function SN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ma=class extends st{static endOfLine(t,n,r){let i=t[n],a=n;for(;i&&i!==`
|
|
62
62
|
`&&!(r&&(i==="["||i==="]"||i==="{"||i==="}"||i===","));){let s=t[a+1];if(i===":"&&(!s||s===`
|
|
63
63
|
`||s===" "||s===" "||r&&s===",")||(i===" "||i===" ")&&s==="#")break;a+=1,i=s}return a}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{src:r}=this.context,i=r[n-1];for(;t<n&&(i===`
|
|
64
64
|
`||i===" "||i===" ");)i=r[--n-1];let a="";for(let o=t;o<n;++o){let c=r[o];if(c===`
|
|
65
|
-
`){let{fold:u,offset:l}=
|
|
66
|
-
`&&(a+=o>u?r.slice(u,o+1):c)}else a+=c}let s=r[t];switch(s){case" ":{let o="Plain value cannot start with a tab character";return{errors:[new
|
|
67
|
-
`&&!
|
|
68
|
-
`?a=c:(s=
|
|
69
|
-
`&&(a=
|
|
70
|
-
`||u==="#";){if(u==="#"){let v=
|
|
71
|
-
`&&p.length===0&&(f=new
|
|
72
|
-
`?!1:
|
|
65
|
+
`){let{fold:u,offset:l}=st.foldNewline(r,o,-1);a+=u,o=l}else if(c===" "||c===" "){let u=o,l=r[o+1];for(;o<n&&(l===" "||l===" ");)o+=1,l=r[o+1];l!==`
|
|
66
|
+
`&&(a+=o>u?r.slice(u,o+1):c)}else a+=c}let s=r[t];switch(s){case" ":{let o="Plain value cannot start with a tab character";return{errors:[new Zs(this,o)],str:a}}case"@":case"`":{let o=`Plain value cannot start with reserved character ${s}`;return{errors:[new Zs(this,o)],str:a}}default:return a}}parseBlockValue(t){let{indent:n,inFlow:r,src:i}=this.context,a=t,s=t;for(let o=i[a];o===`
|
|
67
|
+
`&&!st.atDocumentBoundary(i,a+1);o=i[a]){let c=st.endOfBlockIndent(i,n,a+1);if(c===null||i[c]==="#")break;i[c]===`
|
|
68
|
+
`?a=c:(s=Ma.endOfLine(i,c,r),a=s)}return this.valueRange.isEmpty()&&(this.valueRange.start=t),this.valueRange.end=s,s}parse(t,n){this.context=t;let{inFlow:r,src:i}=t,a=n,s=i[a];return s&&s!=="#"&&s!==`
|
|
69
|
+
`&&(a=Ma.endOfLine(i,n,r)),this.valueRange=new gr(n,a),a=st.endOfWhiteSpace(i,a),a=this.parseComment(a),(!this.hasComment||this.valueRange.isEmpty())&&(a=this.parseBlockValue(a)),a}};Pt.Char=Wn;Pt.Node=st;Pt.PlainValue=Ma;Pt.Range=gr;Pt.Type=Ks;Pt.YAMLError=li;Pt.YAMLReferenceError=sh;Pt.YAMLSemanticError=Zs;Pt.YAMLSyntaxError=oh;Pt.YAMLWarning=ch;Pt._defineProperty=SN;Pt.defaultTagPrefix=xN;Pt.defaultTags=yN});var BS=b(qS=>{"use strict";var _=ui(),di=class extends _.Node{constructor(){super(_.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(t,n){return this.context=t,this.range=new _.Range(n,n+1),n+1}},Js=class extends _.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:r,src:i}=t,{atLineStart:a,lineStart:s}=t;!a&&this.type===_.Type.SEQ_ITEM&&(this.error=new _.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let o=a?n-s:t.indent,c=_.Node.endOfWhiteSpace(i,n+1),u=i[c],l=u==="#",p=[],f=null;for(;u===`
|
|
70
|
+
`||u==="#";){if(u==="#"){let v=_.Node.endOfLine(i,c+1);p.push(new _.Range(c,v)),c=v}else{a=!0,s=c+1;let v=_.Node.endOfWhiteSpace(i,s);i[v]===`
|
|
71
|
+
`&&p.length===0&&(f=new di,s=f.parse({src:i},s)),c=_.Node.endOfIndent(i,s)}u=i[c]}if(_.Node.nextNodeIsIndented(u,c-(s+o),this.type!==_.Type.SEQ_ITEM)?this.node=r({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=_.Node.endOfLine(i,n+1);let d=this.node?this.node.valueRange.end:c;return this.valueRange=new _.Range(n,d),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:r,value:i}=this;if(i!=null)return i;let a=n?t.slice(r.start,n.range.start)+String(n):t.slice(r.start,r.end);return _.Node.addStringTerminator(t,r.end,a)}},pi=class extends _.Node{constructor(){super(_.Type.COMMENT)}parse(t,n){this.context=t;let r=this.parseComment(n);return this.range=new _.Range(n,r),r}};function lh(e){let t=e;for(;t instanceof Js;)t=t.node;if(!(t instanceof hi))return null;let n=t.items.length,r=-1;for(let s=n-1;s>=0;--s){let o=t.items[s];if(o.type===_.Type.COMMENT){let{indent:c,lineStart:u}=o.context;if(c>0&&o.range.start>=u+c)break;r=s}else if(o.type===_.Type.BLANK_LINE)r=s;else break}if(r===-1)return null;let i=t.items.splice(r,n-r),a=i[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 i}var hi=class extends _.Node{static nextContentHasIndent(t,n,r){let i=_.Node.endOfLine(t,n)+1;n=_.Node.endOfWhiteSpace(t,i);let a=t[n];return a?n>=i+r?!0:a!=="#"&&a!==`
|
|
72
|
+
`?!1:hi.nextContentHasIndent(t,n,r):!1}constructor(t){super(t.type===_.Type.SEQ_ITEM?_.Type.SEQ:_.Type.MAP);for(let r=t.props.length-1;r>=0;--r)if(t.props[r].start<t.context.lineStart){this.props=t.props.slice(0,r+1),t.props=t.props.slice(r+1);let i=t.props[0]||t.valueRange;t.range.start=i.start;break}this.items=[t];let n=lh(t);n&&Array.prototype.push.apply(this.items,n)}get includesTrailingLines(){return this.items.length>0}parse(t,n){this.context=t;let{parseNode:r,src:i}=t,a=_.Node.startOfLine(i,n),s=this.items[0];s.context.parent=this,this.valueRange=_.Range.copy(s.valueRange);let o=s.range.start-s.context.lineStart,c=n;c=_.Node.normalizeOffset(i,c);let u=i[c],l=_.Node.endOfWhiteSpace(i,a)===c,p=!1;for(;u;){for(;u===`
|
|
73
73
|
`||u==="#";){if(l&&u===`
|
|
74
|
-
`&&!p){let v=new
|
|
75
|
-
`||g==="#")&&(c=v)}u=i[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
|
|
76
|
-
`||v===" "||v===" "){let g="A collection cannot be both a mapping and a sequence";this.error=new
|
|
77
|
-
`&&(a=v+1,l=!0)}let
|
|
74
|
+
`&&!p){let v=new di;if(c=v.parse({src:i},c),this.valueRange.end=c,c>=i.length){u=null;break}this.items.push(v),c-=1}else if(u==="#"){if(c<a+o&&!hi.nextContentHasIndent(i,c,o))return c;let v=new pi;if(c=v.parse({indent:o,lineStart:a,src:i},c),this.items.push(v),this.valueRange.end=c,c>=i.length){u=null;break}}if(a=c+1,c=_.Node.endOfIndent(i,a),_.Node.atBlank(i,c)){let v=_.Node.endOfWhiteSpace(i,c),g=i[v];(!g||g===`
|
|
75
|
+
`||g==="#")&&(c=v)}u=i[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 _.YAMLSyntaxError(this,v)}}if(s.type===_.Type.SEQ_ITEM){if(u!=="-"){a>n&&(c=a);break}}else if(u==="-"&&!this.error){let v=i[c+1];if(!v||v===`
|
|
76
|
+
`||v===" "||v===" "){let g="A collection cannot be both a mapping and a sequence";this.error=new _.YAMLSyntaxError(this,g)}}let f=r({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=_.Node.normalizeOffset(i,f.range.end),u=i[c],l=!1,p=f.includesTrailingLines,u){let v=c-1,g=i[v];for(;g===" "||g===" ";)g=i[--v];g===`
|
|
77
|
+
`&&(a=v+1,l=!0)}let d=lh(f);d&&Array.prototype.push.apply(this.items,d)}return c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(r=>{n=r.setOrigRanges(t,n)}),n}toString(){let{context:{src:t},items:n,range:r,value:i}=this;if(i!=null)return i;let a=t.slice(r.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 _.Node.addStringTerminator(t,r.end,a)}},uh=class extends _.Node{constructor(){super(_.Type.DIRECTIVE),this.name=null}get parameters(){let t=this.rawValue;return t?t.trim().split(/[ \t]+/):[]}parseName(t){let{src:n}=this.context,r=t,i=n[r];for(;i&&i!==`
|
|
78
78
|
`&&i!==" "&&i!==" ";)i=n[r+=1];return this.name=n.slice(t,r),r}parseParameters(t){let{src:n}=this.context,r=t,i=n[r];for(;i&&i!==`
|
|
79
|
-
`&&i!=="#";)i=n[r+=1];return this.valueRange=new
|
|
80
|
-
`?r:n}constructor(){super(
|
|
81
|
-
`:if(r){let s=new
|
|
82
|
-
`:if(s){let o=new
|
|
83
|
-
`:a+=1;break;case void 0:break;default:this.error=new
|
|
79
|
+
`&&i!=="#";)i=n[r+=1];return this.valueRange=new _.Range(t,r),r}parse(t,n){this.context=t;let r=this.parseName(n+1);return r=this.parseParameters(r),r=this.parseComment(r),this.range=new _.Range(n,r),r}},Ia=class extends _.Node{static startCommentOrEndBlankLine(t,n){let r=_.Node.endOfWhiteSpace(t,n),i=t[r];return i==="#"||i===`
|
|
80
|
+
`?r:n}constructor(){super(_.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(t){let{src:n}=this.context;this.directives=[];let r=!0,i=!1,a=t;for(;!_.Node.atDocumentBoundary(n,a,_.Char.DIRECTIVES_END);)switch(a=Ia.startCommentOrEndBlankLine(n,a),n[a]){case`
|
|
81
|
+
`:if(r){let s=new di;a=s.parse({src:n},a),a<n.length&&this.directives.push(s)}else a+=1,r=!0;break;case"#":{let s=new pi;a=s.parse({src:n},a),this.directives.push(s),r=!1}break;case"%":{let s=new uh;a=s.parse({parent:this,src:n},a),this.directives.push(s),i=!0,r=!1}break;default:return i?this.error=new _.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a}return n[a]?(this.directivesEndMarker=new _.Range(a,a+3),a+3):(i?this.error=new _.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a)}parseContents(t){let{parseNode:n,src:r}=this.context;this.contents||(this.contents=[]);let i=t;for(;r[i-1]==="-";)i-=1;let a=_.Node.endOfWhiteSpace(r,t),s=i===t;for(this.valueRange=new _.Range(a);!_.Node.atDocumentBoundary(r,a,_.Char.DOCUMENT_END);){switch(r[a]){case`
|
|
82
|
+
`:if(s){let o=new di;a=o.parse({src:r},a),a<r.length&&this.contents.push(o)}else a+=1,s=!0;i=a;break;case"#":{let o=new pi;a=o.parse({src:r},a),this.contents.push(o),s=!1}break;default:{let o=_.Node.endOfIndent(r,a),u=n({atLineStart:s,indent:-1,inFlow:!1,inCollection:!1,lineStart:i,parent:this},o);if(!u)return this.valueRange.end=o;this.contents.push(u),a=u.range.end,s=!1;let l=lh(u);l&&Array.prototype.push.apply(this.contents,l)}}a=Ia.startCommentOrEndBlankLine(r,a)}if(this.valueRange.end=a,r[a]&&(this.documentEndMarker=new _.Range(a,a+3),a+=3,r[a])){if(a=_.Node.endOfWhiteSpace(r,a),r[a]==="#"){let o=new pi;a=o.parse({src:r},a),this.contents.push(o)}switch(r[a]){case`
|
|
83
|
+
`:a+=1;break;case void 0:break;default:this.error=new _.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:r}=t,i=r.charCodeAt(n)===65279?n+1:n;return i=this.parseDirectives(i),i=this.parseContents(i),i}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.directives.forEach(r=>{n=r.setOrigRanges(t,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(t,n)),this.contents.forEach(r=>{n=r.setOrigRanges(t,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(t,n)),n}toString(){let{contents:t,directives:n,value:r}=this;if(r!=null)return r;let i=n.join("");return t.length>0&&((n.length>0||t[0].type===_.Type.COMMENT)&&(i+=`---
|
|
84
84
|
`),i+=t.join("")),i[i.length-1]!==`
|
|
85
85
|
`&&(i+=`
|
|
86
|
-
`),i}},
|
|
87
|
-
`||s===" "||s===" ";){if(n-=1,n<=t){if(this.chomping===
|
|
88
|
-
`&&(a=n),s=i[n-1]}let o=n+1;a&&(this.chomping===
|
|
86
|
+
`),i}},ph=class extends _.Node{parse(t,n){this.context=t;let{src:r}=t,i=_.Node.endOfIdentifier(r,n+1);return this.valueRange=new _.Range(n+1,i),i=_.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i}},vr={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},fh=class extends _.Node{constructor(t,n){super(t,n),this.blockIndent=null,this.chomping=vr.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===vr.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{indent:r,src:i}=this.context;if(this.valueRange.isEmpty())return"";let a=null,s=i[n-1];for(;s===`
|
|
87
|
+
`||s===" "||s===" ";){if(n-=1,n<=t){if(this.chomping===vr.KEEP)break;return""}s===`
|
|
88
|
+
`&&(a=n),s=i[n-1]}let o=n+1;a&&(this.chomping===vr.KEEP?(o=a,n=this.valueRange.end):n=a);let c=r+this.blockIndent,u=this.type===_.Type.BLOCK_FOLDED,l=!0,p="",f="",d=!1;for(let v=t;v<n;++v){for(let h=0;h<c&&i[v]===" ";++h)v+=1;let g=i[v];if(g===`
|
|
89
89
|
`)f===`
|
|
90
90
|
`?p+=`
|
|
91
91
|
`:f=`
|
|
92
|
-
`;else{let
|
|
93
|
-
`:!
|
|
92
|
+
`;else{let h=_.Node.endOfLine(i,v),x=i.slice(v,h);v=h,u&&(g===" "||g===" ")&&v<o?(f===" "?f=`
|
|
93
|
+
`:!d&&!l&&f===`
|
|
94
94
|
`&&(f=`
|
|
95
95
|
|
|
96
|
-
`),p+=f+x,f=
|
|
97
|
-
`,
|
|
98
|
-
`}parseBlockHeader(t){let{src:n}=this.context,r=t+1,i="";for(;;){let a=n[r];switch(a){case"-":this.chomping=
|
|
99
|
-
`&&(a+=1,!
|
|
100
|
-
`&&p<this.blockIndent){if(r[u]==="#")break;if(!this.error){let
|
|
101
|
-
`){if(p<o){let f="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new
|
|
102
|
-
`?a=u:a=s=
|
|
103
|
-
`:{s=c+1;let u=
|
|
104
|
-
`){let l=new
|
|
105
|
-
`||u===" "||u===" "||u===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c}),c+=1;break}}default:{let u=r({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:s,parent:this},c);if(!u)return this.valueRange=new
|
|
96
|
+
`),p+=f+x,f=h<n&&i[h]||"",d=!0):(p+=f+x,f=u&&v<o?" ":`
|
|
97
|
+
`,d=!1),l&&x!==""&&(l=!1)}}return this.chomping===vr.STRIP?p:p+`
|
|
98
|
+
`}parseBlockHeader(t){let{src:n}=this.context,r=t+1,i="";for(;;){let a=n[r];switch(a){case"-":this.chomping=vr.STRIP;break;case"+":this.chomping=vr.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i+=a;break;default:return this.blockIndent=Number(i)||null,this.header=new _.Range(t,r),r}r+=1}}parseBlockValue(t){let{indent:n,src:r}=this.context,i=!!this.blockIndent,a=t,s=t,o=1;for(let c=r[a];c===`
|
|
99
|
+
`&&(a+=1,!_.Node.atDocumentBoundary(r,a));c=r[a]){let u=_.Node.endOfBlockIndent(r,n,a);if(u===null)break;let l=r[u],p=u-(a+n);if(this.blockIndent){if(l&&l!==`
|
|
100
|
+
`&&p<this.blockIndent){if(r[u]==="#")break;if(!this.error){let d=`Block scalars must not be less indented than their ${i?"explicit indentation indicator":"first line"}`;this.error=new _.YAMLSemanticError(this,d)}}}else if(r[u]!==`
|
|
101
|
+
`){if(p<o){let f="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new _.YAMLSemanticError(this,f)}this.blockIndent=p}else p>o&&(o=p);r[u]===`
|
|
102
|
+
`?a=u:a=s=_.Node.endOfLine(r,u)}return this.chomping!==vr.KEEP&&(a=r[s]?s+1:s),this.valueRange=new _.Range(t+1,a),a}parse(t,n){this.context=t;let{src:r}=t,i=this.parseBlockHeader(n);return i=_.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i=this.parseBlockValue(i),i}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.header?this.header.setOrigRange(t,n):n}},dh=class extends _.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===_.Type.COMMENT&&this.prevNodeIsJsonLike(t-1))}parse(t,n){this.context=t;let{parseNode:r,src:i}=t,{indent:a,lineStart:s}=t,o=i[n];this.items=[{char:o,offset:n}];let c=_.Node.endOfWhiteSpace(i,n+1);for(o=i[c];o&&o!=="]"&&o!=="}";){switch(o){case`
|
|
103
|
+
`:{s=c+1;let u=_.Node.endOfWhiteSpace(i,s);if(i[u]===`
|
|
104
|
+
`){let l=new di;s=l.parse({src:i},s),this.items.push(l)}if(c=_.Node.endOfIndent(i,s),c<=s+a&&(o=i[c],c<s+a||o!=="]"&&o!=="}")){let l="Insufficient indentation in flow collection";this.error=new _.YAMLSemanticError(this,l)}}break;case",":this.items.push({char:o,offset:c}),c+=1;break;case"#":{let u=new pi;c=u.parse({src:i},c),this.items.push(u)}break;case"?":case":":{let u=i[c+1];if(u===`
|
|
105
|
+
`||u===" "||u===" "||u===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c}),c+=1;break}}default:{let u=r({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:s,parent:this},c);if(!u)return this.valueRange=new _.Range(n,c),c;this.items.push(u),c=_.Node.normalizeOffset(i,u.range.end)}}c=_.Node.endOfWhiteSpace(i,c),o=i[c]}return this.valueRange=new _.Range(n,c+1),o&&(this.items.push({char:o,offset:c}),c=_.Node.endOfWhiteSpace(i,c+1),c=this.parseComment(c)),c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(r=>{if(r instanceof _.Node)n=r.setOrigRanges(t,n);else if(t.length===0)r.origOffset=r.offset;else{let i=n;for(;i<t.length&&!(t[i]>r.offset);)++i;r.origOffset=r.offset+i,n=i}}),n}toString(){let{context:{src:t},items:n,range:r,value:i}=this;if(i!=null)return i;let a=n.filter(c=>c instanceof _.Node),s="",o=r.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]===`
|
|
106
106
|
`&&t[o-1]!==`
|
|
107
107
|
`&&t[o]===`
|
|
108
|
-
`&&(o+=1)}),s+=t.slice(o,r.end),
|
|
109
|
-
`){
|
|
108
|
+
`&&(o+=1)}),s+=t.slice(o,r.end),_.Node.addStringTerminator(t,r.end,s)}},Qs=class extends _.Node{static endOfQuote(t,n){let r=t[n];for(;r&&r!=='"';)n+=r==="\\"?2:1,r=t[n];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let t=[],{start:n,end:r}=this.valueRange,{indent:i,src:a}=this.context;a[r-1]!=='"'&&t.push(new _.YAMLSyntaxError(this,'Missing closing "quote'));let s="";for(let o=n+1;o<r-1;++o){let c=a[o];if(c===`
|
|
109
|
+
`){_.Node.atDocumentBoundary(a,o+1)&&t.push(new _.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:u,offset:l,error:p}=_.Node.foldNewline(a,o,i);s+=u,o=l,p&&t.push(new _.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(c==="\\")switch(o+=1,a[o]){case"0":s+="\0";break;case"a":s+="\x07";break;case"b":s+="\b";break;case"e":s+="\x1B";break;case"f":s+="\f";break;case"n":s+=`
|
|
110
110
|
`;break;case"r":s+="\r";break;case"t":s+=" ";break;case"v":s+="\v";break;case"N":s+="\x85";break;case"_":s+="\xA0";break;case"L":s+="\u2028";break;case"P":s+="\u2029";break;case" ":s+=" ";break;case'"':s+='"';break;case"/":s+="/";break;case"\\":s+="\\";break;case" ":s+=" ";break;case"x":s+=this.parseCharCode(o+1,2,t),o+=2;break;case"u":s+=this.parseCharCode(o+1,4,t),o+=4;break;case"U":s+=this.parseCharCode(o+1,8,t),o+=8;break;case`
|
|
111
|
-
`:for(;a[o+1]===" "||a[o+1]===" ";)o+=1;break;default:t.push(new
|
|
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,r){let{src:i}=this.context,a=i.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(o)?(r.push(new
|
|
113
|
-
`){
|
|
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:r}=t,i=
|
|
111
|
+
`:for(;a[o+1]===" "||a[o+1]===" ";)o+=1;break;default:t.push(new _.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
|
+
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parseCharCode(t,n,r){let{src:i}=this.context,a=i.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(o)?(r.push(new _.YAMLSyntaxError(this,`Invalid escape sequence ${i.substr(t-2,n+2)}`)),i.substr(t-2,n+2)):String.fromCodePoint(o)}parse(t,n){this.context=t;let{src:r}=t,i=Qs.endOfQuote(r,n+1);return this.valueRange=new _.Range(n,i),i=_.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i}},Xs=class extends _.Node{static endOfQuote(t,n){let r=t[n];for(;r;)if(r==="'"){if(t[n+1]!=="'")break;r=t[n+=2]}else r=t[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let t=[],{start:n,end:r}=this.valueRange,{indent:i,src:a}=this.context;a[r-1]!=="'"&&t.push(new _.YAMLSyntaxError(this,"Missing closing 'quote"));let s="";for(let o=n+1;o<r-1;++o){let c=a[o];if(c===`
|
|
113
|
+
`){_.Node.atDocumentBoundary(a,o+1)&&t.push(new _.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:u,offset:l,error:p}=_.Node.foldNewline(a,o,i);s+=u,o=l,p&&t.push(new _.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(c==="'")s+=c,o+=1,a[o]!=="'"&&t.push(new _.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:r}=t,i=Xs.endOfQuote(r,n+1);return this.valueRange=new _.Range(n,i),i=_.Node.endOfWhiteSpace(r,i),i=this.parseComment(i),i}};function EN(e,t){switch(e){case _.Type.ALIAS:return new ph(e,t);case _.Type.BLOCK_FOLDED:case _.Type.BLOCK_LITERAL:return new fh(e,t);case _.Type.FLOW_MAP:case _.Type.FLOW_SEQ:return new dh(e,t);case _.Type.MAP_KEY:case _.Type.MAP_VALUE:case _.Type.SEQ_ITEM:return new Js(e,t);case _.Type.COMMENT:case _.Type.PLAIN:return new _.PlainValue(e,t);case _.Type.QUOTE_DOUBLE:return new Qs(e,t);case _.Type.QUOTE_SINGLE:return new Xs(e,t);default:return null}}var fi=class{static parseType(t,n,r){switch(t[n]){case"*":return _.Type.ALIAS;case">":return _.Type.BLOCK_FOLDED;case"|":return _.Type.BLOCK_LITERAL;case"{":return _.Type.FLOW_MAP;case"[":return _.Type.FLOW_SEQ;case"?":return!r&&_.Node.atBlank(t,n+1,!0)?_.Type.MAP_KEY:_.Type.PLAIN;case":":return!r&&_.Node.atBlank(t,n+1,!0)?_.Type.MAP_VALUE:_.Type.PLAIN;case"-":return!r&&_.Node.atBlank(t,n+1,!0)?_.Type.SEQ_ITEM:_.Type.PLAIN;case'"':return _.Type.QUOTE_DOUBLE;case"'":return _.Type.QUOTE_SINGLE;default:return _.Type.PLAIN}}constructor(t={},{atLineStart:n,inCollection:r,inFlow:i,indent:a,lineStart:s,parent:o}={}){_._defineProperty(this,"parseNode",(c,u)=>{if(_.Node.atDocumentBoundary(this.src,u))return null;let l=new fi(this,c),{props:p,type:f,valueStart:d}=l.parseProps(u),v=EN(f,p),g=v.parse(l,d);if(v.range=new _.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===_.Type.DOCUMENT&&(v.error=new _.YAMLSyntaxError(v,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let h=new hi(v);return g=h.parse(new fi(l),g),h.range=new _.Range(u,g),h}return v}),this.atLineStart=n??(t.atLineStart||!1),this.inCollection=r??(t.inCollection||!1),this.inFlow=i??(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:r,src:i}=this;if(n||r)return!1;if(t instanceof Js)return!0;let a=t.range.end;return i[a]===`
|
|
115
115
|
`||i[a-1]===`
|
|
116
|
-
`?!1:(a=
|
|
116
|
+
`?!1:(a=_.Node.endOfWhiteSpace(i,a),i[a]===":")}parseProps(t){let{inFlow:n,parent:r,src:i}=this,a=[],s=!1;t=this.atLineStart?_.Node.endOfIndent(i,t):_.Node.endOfWhiteSpace(i,t);let o=i[t];for(;o===_.Char.ANCHOR||o===_.Char.COMMENT||o===_.Char.TAG||o===`
|
|
117
117
|
`;){if(o===`
|
|
118
|
-
`){let u=t,l;do l=u+1,u=
|
|
119
|
-
`);let p=u-(l+this.indent),f=r.type===
|
|
120
|
-
`)));let n=[],r=0;do{let i=new
|
|
121
|
-
`),n}
|
|
122
|
-
${t}${e}`:e}function
|
|
118
|
+
`){let u=t,l;do l=u+1,u=_.Node.endOfIndent(i,l);while(i[u]===`
|
|
119
|
+
`);let p=u-(l+this.indent),f=r.type===_.Type.SEQ_ITEM&&r.context.atLineStart;if(i[u]!=="#"&&!_.Node.nextNodeIsIndented(i[u],p,!f))break;this.atLineStart=!0,this.lineStart=l,s=!1,t=u}else if(o===_.Char.COMMENT){let u=_.Node.endOfLine(i,t+1);a.push(new _.Range(t,u)),t=u}else{let u=_.Node.endOfIdentifier(i,t+1);o===_.Char.TAG&&i[u]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(i.slice(t+1,u+13))&&(u=_.Node.endOfIdentifier(i,u+5)),a.push(new _.Range(t,u)),s=!0,t=_.Node.endOfWhiteSpace(i,u)}o=i[t]}s&&o===":"&&_.Node.atBlank(i,t+1,!0)&&(t-=1);let c=fi.parseType(i,t,n);return{props:a,type:c,valueStart:t}}};function ON(e){let t=[];e.indexOf("\r")!==-1&&(e=e.replace(/\r\n?/g,(i,a)=>(i.length>1&&t.push(a),`
|
|
120
|
+
`)));let n=[],r=0;do{let i=new Ia,a=new fi({src:e});r=i.parse(a,r),n.push(i)}while(r<e.length);return n.setOrigRanges=()=>{if(t.length===0)return!1;for(let a=1;a<t.length;++a)t[a]-=a;let i=0;for(let a=0;a<n.length;++a)i=n[a].setOrigRanges(t,i);return t.splice(0,t.length),!0},n.toString=()=>n.join(`...
|
|
121
|
+
`),n}qS.parse=ON});var no=b(Pe=>{"use strict";var A=ui();function kN(e,t,n){return n?`#${n.replace(/[\s\S]^/gm,`$&${t}#`)}
|
|
122
|
+
${t}${e}`:e}function Pa(e,t,n){return n?n.indexOf(`
|
|
123
123
|
`)===-1?`${e} #${n}`:`${e}
|
|
124
|
-
`+n.replace(/^/gm,`${t||""}#`):e}var
|
|
125
|
-
`)&&(v=!0),p&&T<this.items.length-1&&(O+=","),O=
|
|
124
|
+
`+n.replace(/^/gm,`${t||""}#`):e}var Yt=class{};function br(e,t,n){if(Array.isArray(e))return e.map((r,i)=>br(r,String(i),n));if(e&&typeof e.toJSON=="function"){let r=n&&n.anchors&&n.anchors.get(e);r&&(n.onCreate=a=>{r.res=a,delete n.onCreate});let i=e.toJSON(t,n);return r&&n.onCreate&&n.onCreate(i),i}return(!n||!n.keep)&&typeof e=="bigint"?Number(e):e}var xt=class extends Yt{constructor(t){super(),this.value=t}toJSON(t,n){return n&&n.keep?this.value:br(this.value,t,n)}toString(){return String(this.value)}};function FS(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){let a=t[i];if(Number.isInteger(a)&&a>=0){let s=[];s[a]=r,r=s}else{let s={};Object.defineProperty(s,a,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=s}}return e.createNode(r,!1)}var $S=e=>e==null||typeof e=="object"&&e[Symbol.iterator]().next().done,Ze=class extends Yt{constructor(t){super(),A._defineProperty(this,"items",[]),this.schema=t}addIn(t,n){if($S(t))this.add(n);else{let[r,...i]=t,a=this.get(r,!0);if(a instanceof Ze)a.addIn(i,n);else if(a===void 0&&this.schema)this.set(r,FS(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn([t,...n]){if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(r instanceof Ze)return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn([t,...n],r){let i=this.get(t,!0);return n.length===0?!r&&i instanceof xt?i.value:i:i instanceof Ze?i.getIn(n,r):void 0}hasAllNullValues(){return this.items.every(t=>{if(!t||t.type!=="PAIR")return!1;let n=t.value;return n==null||n instanceof xt&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn([t,...n]){if(n.length===0)return this.has(t);let r=this.get(t,!0);return r instanceof Ze?r.hasIn(n):!1}setIn([t,...n],r){if(n.length===0)this.set(t,r);else{let i=this.get(t,!0);if(i instanceof Ze)i.setIn(n,r);else if(i===void 0&&this.schema)this.set(t,FS(this.schema,n,r));else throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}}toJSON(){return null}toString(t,{blockItem:n,flowChars:r,isMap:i,itemIndent:a},s,o){let{indent:c,indentStep:u,stringify:l}=t,p=this.type===A.Type.FLOW_MAP||this.type===A.Type.FLOW_SEQ||t.inFlow;p&&(a+=u);let f=i&&this.hasAllNullValues();t=Object.assign({},t,{allNullValues:f,indent:a,inFlow:p,type:null});let d=!1,v=!1,g=this.items.reduce((x,w,T)=>{let k;w&&(!d&&w.spaceBefore&&x.push({type:"comment",str:""}),w.commentBefore&&w.commentBefore.match(/^.*$/gm).forEach(D=>{x.push({type:"comment",str:`#${D}`})}),w.comment&&(k=w.comment),p&&(!d&&w.spaceBefore||w.commentBefore||w.comment||w.key&&(w.key.commentBefore||w.key.comment)||w.value&&(w.value.commentBefore||w.value.comment))&&(v=!0)),d=!1;let O=l(w,t,()=>k=null,()=>d=!0);return p&&!v&&O.includes(`
|
|
125
|
+
`)&&(v=!0),p&&T<this.items.length-1&&(O+=","),O=Pa(O,a,k),d&&(k||p)&&(d=!1),x.push({type:"item",str:O}),x},[]),h;if(g.length===0)h=r.start+r.end;else if(p){let{start:x,end:w}=r,T=g.map(k=>k.str);if(v||T.reduce((k,O)=>k+O.length+2,2)>Ze.maxFlowStringSingleLineLength){h=x;for(let k of T)h+=k?`
|
|
126
126
|
${u}${c}${k}`:`
|
|
127
|
-
`;
|
|
128
|
-
${c}${
|
|
129
|
-
${c}${
|
|
130
|
-
`}return this.comment?(
|
|
131
|
-
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):
|
|
132
|
-
${f}:`:`${
|
|
127
|
+
`;h+=`
|
|
128
|
+
${c}${w}`}else h=`${x} ${T.join(" ")} ${w}`}else{let x=g.map(n);h=x.shift();for(let w of x)h+=w?`
|
|
129
|
+
${c}${w}`:`
|
|
130
|
+
`}return this.comment?(h+=`
|
|
131
|
+
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):d&&o&&o(),h}};A._defineProperty(Ze,"maxFlowStringSingleLineLength",60);function Pl(e){let t=e instanceof xt?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}var xr=class extends Ze{add(t){this.items.push(t)}delete(t){let n=Pl(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){let r=Pl(t);if(typeof r!="number")return;let i=this.items[r];return!n&&i instanceof xt?i.value:i}has(t){let n=Pl(t);return typeof n=="number"&&n<this.items.length}set(t,n){let r=Pl(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);this.items[r]=n}toJSON(t,n){let r=[];n&&n.onCreate&&n.onCreate(r);let i=0;for(let a of this.items)r.push(br(a,String(i++),n));return r}toString(t,n,r){return t?super.toString(t,{blockItem:i=>i.type==="comment"?i.str:`- ${i.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(t.indent||"")+" "},n,r):JSON.stringify(this)}},TN=(e,t,n)=>t===null?"":typeof t!="object"?String(t):e instanceof Yt&&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),Se=class extends Yt{constructor(t,n=null){super(),this.key=t,this.value=n,this.type=Se.Type.PAIR}get commentBefore(){return this.key instanceof Yt?this.key.commentBefore:void 0}set commentBefore(t){if(this.key==null&&(this.key=new xt(null)),this.key instanceof Yt)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 r=br(this.key,"",t);if(n instanceof Map){let i=br(this.value,r,t);n.set(r,i)}else if(n instanceof Set)n.add(r);else{let i=TN(this.key,r,t),a=br(this.value,i,t);i in n?Object.defineProperty(n,i,{value:a,writable:!0,enumerable:!0,configurable:!0}):n[i]=a}return n}toJSON(t,n){let r=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,r)}toString(t,n,r){if(!t||!t.doc)return JSON.stringify(this);let{indent:i,indentSeq:a,simpleKeys:s}=t.doc.options,{key:o,value:c}=this,u=o instanceof Yt&&o.comment;if(s){if(u)throw new Error("With simple keys, key nodes cannot have comments");if(o instanceof Ze){let O="With simple keys, collection cannot be used as a key value";throw new Error(O)}}let l=!s&&(!o||u||(o instanceof Yt?o instanceof Ze||o.type===A.Type.BLOCK_FOLDED||o.type===A.Type.BLOCK_LITERAL:typeof o=="object")),{doc:p,indent:f,indentStep:d,stringify:v}=t;t=Object.assign({},t,{implicitKey:!l,indent:f+d});let g=!1,h=v(o,t,()=>u=null,()=>g=!0);if(h=Pa(h,t.indent,u),!l&&h.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?(h=Pa(h,t.indent,this.comment),n&&n()):g&&!u&&r&&r(),t.inFlow&&!l?h:`? ${h}`;h=l?`? ${h}
|
|
132
|
+
${f}:`:`${h}:`,this.comment&&(h=Pa(h,t.indent,this.comment),n&&n());let x="",w=null;c instanceof Yt?(c.spaceBefore&&(x=`
|
|
133
133
|
`),c.commentBefore&&(x+=`
|
|
134
|
-
${c.commentBefore.replace(/^/gm,`${t.indent}#`)}`),
|
|
135
|
-
${t.indent}`:!l&&c instanceof
|
|
134
|
+
${c.commentBefore.replace(/^/gm,`${t.indent}#`)}`),w=c.comment):c&&typeof c=="object"&&(c=p.schema.createNode(c,!0)),t.implicitKey=!1,!l&&!this.comment&&c instanceof xt&&(t.indentAtStart=h.length+1),g=!1,!a&&i>=2&&!t.inFlow&&!l&&c instanceof xr&&c.type!==A.Type.FLOW_SEQ&&!c.tag&&!p.anchors.getName(c)&&(t.indent=t.indent.substr(2));let T=v(c,t,()=>w=null,()=>g=!0),k=" ";return x||this.comment?k=`${x}
|
|
135
|
+
${t.indent}`:!l&&c instanceof Ze?(!(T[0]==="["||T[0]==="{")||T.includes(`
|
|
136
136
|
`))&&(k=`
|
|
137
137
|
${t.indent}`):T[0]===`
|
|
138
|
-
`&&(k=""),g&&!
|
|
139
|
-
`);n=e[t+1]}return t};function
|
|
140
|
-
`)n===
|
|
141
|
-
`&&
|
|
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
|
|
145
|
-
`){if(a-s>r)return!0;if(s=a+1,i-s<=r)return!1}return!0}function
|
|
138
|
+
`&&(k=""),g&&!w&&r&&r(),Pa(h+k+T,t.indent,w)}};A._defineProperty(Se,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Nl=(e,t)=>{if(e instanceof Hn){let n=t.get(e.source);return n.count*n.aliasCount}else if(e instanceof Ze){let n=0;for(let r of e.items){let i=Nl(r,t);i>n&&(n=i)}return n}else if(e instanceof Se){let n=Nl(e.key,t),r=Nl(e.value,t);return Math.max(n,r)}return 1},Hn=class extends Yt{static stringify({range:t,source:n},{anchors:r,doc:i,implicitKey:a,inStringifyKey:s}){let o=Object.keys(r).find(u=>r[u]===n);if(!o&&s&&(o=i.anchors.getName(n)||i.anchors.newName()),o)return`*${o}${a?" ":""}`;let c=i.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 br(this.source,t,n);let{anchors:r,maxAliasCount:i}=n,a=r.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(i>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=Nl(this.source,r)),a.count*a.aliasCount>i)){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 Hn.stringify(this,t)}};A._defineProperty(Hn,"default",!0);function eo(e,t){let n=t instanceof xt?t.value:t;for(let r of e)if(r instanceof Se&&(r.key===t||r.key===n||r.key&&r.key.value===n))return r}var to=class extends Ze{add(t,n){t?t instanceof Se||(t=new Se(t.key||t,t.value)):t=new Se(t);let r=eo(this.items,t.key),i=this.schema&&this.schema.sortMapEntries;if(r)if(n)r.value=t.value;else throw new Error(`Key ${t.key} already set`);else if(i){let a=this.items.findIndex(s=>i(t,s)<0);a===-1?this.items.push(t):this.items.splice(a,0,t)}else this.items.push(t)}delete(t){let n=eo(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){let r=eo(this.items,t),i=r&&r.value;return!n&&i instanceof xt?i.value:i}has(t){return!!eo(this.items,t)}set(t,n){this.add(new Se(t,n),!0)}toJSON(t,n,r){let i=r?new r:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(i);for(let a of this.items)a.addToJSMap(n,i);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(let i of this.items)if(!(i instanceof Se))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return super.toString(t,{blockItem:i=>i.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:t.indent||""},n,r)}},US="<<",Bl=class extends Se{constructor(t){if(t instanceof Se){let n=t.value;n instanceof xr||(n=new xr,n.items.push(t.value),n.range=t.value.range),super(t.key,n),this.range=t.range}else super(new xt(US),new xr);this.type=Se.Type.MERGE_PAIR}addToJSMap(t,n){for(let{source:r}of this.value.items){if(!(r instanceof to))throw new Error("Merge sources must be maps");let i=r.toJSON(null,t,Map);for(let[a,s]of i)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 r=this.value;if(r.items.length>1)return super.toString(t,n);this.value=r.items[0];let i=super.toString(t,n);return this.value=r,i}},CN={defaultType:A.Type.BLOCK_LITERAL,lineWidth:76},AN={trueStr:"true",falseStr:"false"},jN={asBigInt:!1},RN={nullStr:"null"},gi={defaultType:A.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function mh(e,t,n){for(let{format:r,test:i,resolve:a}of t)if(i){let s=e.match(i);if(s){let o=a.apply(null,s);return o instanceof xt||(o=new xt(o)),r&&(o.format=r),o}}return n&&(e=n(e)),new xt(e)}var WS="flow",hh="block",Ll="quoted",DS=(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 Fl(e,t,n,{indentAtStart:r,lineWidth:i=80,minContentWidth:a=20,onFold:s,onOverflow:o}){if(!i||i<0)return e;let c=Math.max(1+a,1+i-t.length);if(e.length<=c)return e;let u=[],l={},p=i-t.length;typeof r=="number"&&(r>i-Math.max(2,a)?u.push(0):p=i-r);let f,d,v=!1,g=-1,h=-1,x=-1;n===hh&&(g=DS(e,g),g!==-1&&(p=g+c));for(let T;T=e[g+=1];){if(n===Ll&&T==="\\"){switch(h=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(T===`
|
|
140
|
+
`)n===hh&&(g=DS(e,g)),p=g+c,f=void 0;else{if(T===" "&&d&&d!==" "&&d!==`
|
|
141
|
+
`&&d!==" "){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===Ll){for(;d===" "||d===" ";)d=T,T=e[g+=1],v=!0;let k=g>x+1?g-2:h-1;if(l[k])return e;u.push(k),l[k]=!0,p=k+c,f=void 0}else v=!0}d=T}if(v&&o&&o(),u.length===0)return e;s&&s();let w=e.slice(0,u[0]);for(let T=0;T<u.length;++T){let k=u[T],O=u[T+1]||e.length;k===0?w=`
|
|
143
|
+
${t}${e.slice(0,O)}`:(n===Ll&&l[k]&&(w+=`${e[k]}\\`),w+=`
|
|
144
|
+
${t}${e.slice(k+1,O)}`)}return w}var gh=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},gi.fold):gi.fold,Dl=e=>/^(%|---|\.\.\.)/m.test(e);function MN(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let a=0,s=0;a<i;++a)if(e[a]===`
|
|
145
|
+
`){if(a-s>r)return!0;if(s=a+1,i-s<=r)return!1}return!0}function mi(e,t){let{implicitKey:n}=t,{jsonEncoding:r,minMultiLineLength:i}=gi.doubleQuoted,a=JSON.stringify(e);if(r)return a;let s=t.indent||(Dl(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<i)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?r:
|
|
150
|
-
`;let l="",p="";if(n=n.replace(/[\n\t ]*$/,
|
|
151
|
-
`);return v===-1?u+="-":(n===
|
|
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:Fl(o,s,Ll,gh(t))}function HS(e,t){if(t.implicitKey){if(/\n/.test(e))return mi(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return mi(e,t);let n=t.indent||(Dl(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
149
|
+
${n}`)+"'";return t.implicitKey?r:Fl(r,n,WS,gh(t))}function ql({comment:e,type:t,value:n},r,i,a){if(/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return mi(n,r);let s=r.indent||(r.forceBlockIndent||Dl(n)?" ":""),o=s?"2":"1",c=t===A.Type.BLOCK_FOLDED?!1:t===A.Type.BLOCK_LITERAL?!0:!MN(n,gi.fold.lineWidth,s.length),u=c?"|":">";if(!n)return u+`
|
|
150
|
+
`;let l="",p="";if(n=n.replace(/[\n\t ]*$/,d=>{let v=d.indexOf(`
|
|
151
|
+
`);return v===-1?u+="-":(n===d||v!==d.length-1)&&(u+="+",a&&a()),p=d.replace(/\n$/,""),""}).replace(/^[\n ]*/,d=>{d.indexOf(" ")!==-1&&(u+=o);let v=d.match(/ +$/);return v?(l=d.slice(0,-v[0].length),v[0]):(l=d,"")}),p&&(p=p.replace(/\n+(?!\n|$)/g,`$&${s}`)),l&&(l=l.replace(/\n+/g,`$&${s}`)),e&&(u+=" #"+e.replace(/ ?[\r\n]+/g," "),i&&i()),!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=
|
|
155
|
-
${s}${f}`}function
|
|
156
|
-
`)===-1?s.indexOf('"')!==-1&&s.indexOf("'")===-1?
|
|
157
|
-
`)!==-1)return
|
|
158
|
-
${u}`);if(o){let{tags:
|
|
154
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let f=Fl(`${l}${n}${p}`,s,hh,gi.fold);return`${u}
|
|
155
|
+
${s}${f}`}function IN(e,t,n,r){let{comment:i,type:a,value:s}=e,{actualString:o,implicitKey:c,indent:u,inFlow:l}=t;if(c&&/[\n[\]{},]/.test(s)||l&&/[[\]{},]/.test(s))return mi(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?HS(s,t):mi(s,t):ql(e,t,n,r);if(!c&&!l&&a!==A.Type.PLAIN&&s.indexOf(`
|
|
157
|
+
`)!==-1)return ql(e,t,n,r);if(u===""&&Dl(s))return t.forceBlockIndent=!0,ql(e,t,n,r);let p=s.replace(/\n+/g,`$&
|
|
158
|
+
${u}`);if(o){let{tags:d}=t.doc.schema;if(typeof mh(p,d,d.scalarFallback).value!="string")return mi(s,t)}let f=c?p:Fl(p,u,WS,gh(t));return i&&!l&&(f.indexOf(`
|
|
159
159
|
`)!==-1||i.indexOf(`
|
|
160
|
-
`)!==-1)?(n&&n(),
|
|
161
|
-
`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";e.push(new A.YAMLSemanticError(t,r))}}function
|
|
160
|
+
`)!==-1)?(n&&n(),kN(f,u,i)):f}function PN(e,t,n,r){let{defaultType:i}=gi,{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 ql(e,t,n,r);case A.Type.QUOTE_DOUBLE:return mi(c,t);case A.Type.QUOTE_SINGLE:return HS(c,t);case A.Type.PLAIN:return IN(e,t,n,r);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(i),l===null))throw new Error(`Unsupported default string type ${i}`);return l}function NN({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(i)){let a=i.indexOf(".");a<0&&(a=i.length,i+=".");let s=t-(i.length-a-1);for(;s-- >0;)i+="0"}return i}function YS(e,t){let n,r;switch(t.type){case A.Type.FLOW_MAP:n="}",r="flow map";break;case A.Type.FLOW_SEQ:n="]",r="flow sequence";break;default:e.push(new A.YAMLSemanticError(t,"Not a flow collection!?"));return}let i;for(let a=t.items.length-1;a>=0;--a){let s=t.items[a];if(!s||s.type!==A.Type.COMMENT){i=s;break}}if(i&&i.char!==n){let a=`Expected ${r} to end with ${n}`,s;typeof i.offset=="number"?(s=new A.YAMLSemanticError(t,a),s.offset=i.offset+1):(s=new A.YAMLSemanticError(i,a),i.range&&i.range.end&&(s.offset=i.range.end-i.range.start)),e.push(s)}}function GS(e,t){let n=t.context.src[t.range.start-1];if(n!==`
|
|
161
|
+
`&&n!==" "&&n!==" "){let r="Comments must be separated from other tokens by white space characters";e.push(new A.YAMLSemanticError(t,r))}}function VS(e,t){let n=String(t),r=n.substr(0,8)+"..."+n.substr(-8);return new A.YAMLSemanticError(e,`The "${r}" key is too long`)}function KS(e,t){for(let{afterKey:n,before:r,comment:i}of t){let a=e.items[r];a?(n&&a.value&&(a=a.value),i===void 0?(n||!a.commentBefore)&&(a.spaceBefore=!0):a.commentBefore?a.commentBefore+=`
|
|
162
162
|
`+i:a.commentBefore=i):i!==void 0&&(e.comment?e.comment+=`
|
|
163
|
-
`+i:e.comment=i)}}function
|
|
163
|
+
`+i:e.comment=i)}}function vh(e,t){let n=t.strValue;return n?typeof n=="string"?n:(n.errors.forEach(r=>{r.source||(r.source=t),e.errors.push(r)}),n.str):""}function LN(e,t){let{handle:n,suffix:r}=t.tag,i=e.tagPrefixes.find(a=>a.handle===n);if(!i){let a=e.getDefaults().tagPrefixes;if(a&&(i=a.find(s=>s.handle===n)),!i)throw new A.YAMLSemanticError(t,`The ${n} tag handle is non-default and was not declared.`)}if(!r)throw new A.YAMLSemanticError(t,`The ${n} tag has no suffix.`);if(n==="!"&&(e.version||e.options.version)==="1.0"){if(r[0]==="^")return e.warnings.push(new A.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported")),r;if(/[:/]/.test(r)){let a=r.match(/^([a-z0-9-]+)\/(.*)/i);return a?`tag:${a[1]}.yaml.org,2002:${a[2]}`:`tag:${r}`}}return i.prefix+decodeURIComponent(r)}function qN(e,t){let{tag:n,type:r}=t,i=!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)i=!0;else try{return LN(e,t)}catch(c){e.errors.push(c)}}switch(r){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 i?A.defaultTags.STR:null;default:return null}}function zS(e,t,n){let{tags:r}=e.schema,i=[];for(let s of r)if(s.tag===n)if(s.test)i.push(s);else{let o=s.resolve(e,t);return o instanceof Ze?o:new xt(o)}let a=vh(e,t);return typeof a=="string"&&i.length>0?mh(a,i,r.scalarFallback):null}function BN({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 FN(e,t,n){try{let r=zS(e,t,n);if(r)return n&&t.tag&&(r.tag=n),r}catch(r){return r.source||(r.source=t),e.errors.push(r),null}try{let r=BN(t);if(!r)throw new Error(`The tag ${n} is unavailable`);let i=`The tag ${n} is unavailable, falling back to ${r}`;e.warnings.push(new A.YAMLWarning(t,i));let a=zS(e,t,r);return a.tag=n,a}catch(r){let i=new A.YAMLReferenceError(t,r.message);return i.stack=r.stack,e.errors.push(i),null}}var DN=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 zN(e,t){let n={before:[],after:[]},r=!1,i=!1,a=DN(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(r){let c="A node can have at most one anchor";e.push(new A.YAMLSemanticError(t,c))}r=!0;break;case A.Char.TAG:if(i){let c="A node can have at most one tag";e.push(new A.YAMLSemanticError(t,c))}i=!0;break}return{comments:n,hasAnchor:r,hasTag:i}}function $N(e,t){let{anchors:n,errors:r,schema:i}=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 r.push(new A.YAMLReferenceError(t,u)),null}let c=new Hn(o);return n._cstAliases.push(c),c}let a=qN(e,t);if(a)return FN(e,t,a);if(t.type!==A.Type.PLAIN){let s=`Failed to resolve ${t.type} node here`;return r.push(new A.YAMLSyntaxError(t,s)),null}try{let s=vh(e,t);return mh(s,i.tags,i.tags.scalarFallback)}catch(s){return s.source||(s.source=t),r.push(s),null}}function yr(e,t){if(!t)return null;t.error&&e.errors.push(t.error);let{comments:n,hasAnchor:r,hasTag:i}=zN(e.errors,t);if(r){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&&(r||i)){let s="An alias node must not specify any properties";e.errors.push(new A.YAMLSemanticError(t,s))}let a=$N(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
|
|
168
|
-
`)return!1;return!0};function
|
|
169
|
-
`){let
|
|
170
|
-
`:" ")}return
|
|
167
|
+
${o}`:o)}return t.resolved=a}function UN(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:r}=t.type===A.Type.FLOW_MAP?GN(e,t):YN(e,t),i=new to;i.items=r,KS(i,n);let a=!1;for(let s=0;s<r.length;++s){let{key:o}=r[s];if(o instanceof Ze&&(a=!0),e.schema.merge&&o&&o.value===US){r[s]=new Bl(r[s]);let c=r[s].value.items,u=null;c.some(l=>{if(l instanceof Hn){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<r.length;++c){let{key:u}=r[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=i,i}var WN=({context:{lineStart:e,node:t,src:n},props:r})=>{if(r.length===0)return!1;let{start:i}=r[0];if(t&&i>t.valueRange.start||n[i]!==A.Char.COMMENT)return!1;for(let a=e;a<i;++a)if(n[a]===`
|
|
168
|
+
`)return!1;return!0};function HN(e,t){if(!WN(e))return;let n=e.getPropValue(0,A.Char.COMMENT,!0),r=!1,i=t.value.commentBefore;if(i&&i.startsWith(n))t.value.commentBefore=i.substr(n.length+1),r=!0;else{let a=t.value.comment;!e.node&&a&&a.startsWith(n)&&(t.value.comment=a.substr(n.length+1),r=!0)}r&&(t.comment=n)}function YN(e,t){let n=[],r=[],i,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:!!i,before:r.length});break;case A.Type.COMMENT:n.push({afterKey:!!i,before:r.length,comment:o.comment});break;case A.Type.MAP_KEY:i!==void 0&&r.push(new Se(i)),o.error&&e.errors.push(o.error),i=yr(e,o.node),a=null;break;case A.Type.MAP_VALUE:{if(i===void 0&&(i=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 Se(i,yr(e,c));HN(o,u),r.push(u),i&&typeof a=="number"&&o.range.start>a+1024&&e.errors.push(VS(t,i)),i=void 0,a=null}break;default:i!==void 0&&r.push(new Se(i)),i=yr(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 i!==void 0&&r.push(new Se(i)),{comments:n,items:r}}function GN(e,t){let n=[],r=[],i,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==="?"&&i===void 0&&!a){a=!0,s=":";continue}if(u===":"){if(i===void 0&&(i=null),s===":"){s=",";continue}}else if(a&&(i===void 0&&u!==","&&(i=null),a=!1),i!==void 0&&(r.push(new Se(i)),i=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:!!i,before:r.length}):c.type===A.Type.COMMENT?(GS(e.errors,c),n.push({afterKey:!!i,before:r.length,comment:c.comment})):i===void 0?(s===","&&e.errors.push(new A.YAMLSemanticError(c,"Separator , missing in flow map")),i=yr(e,c)):(s!==","&&e.errors.push(new A.YAMLSemanticError(c,"Indicator : missing in flow map entry")),r.push(new Se(i,yr(e,c))),i=void 0,a=!1)}return YS(e.errors,t),i!==void 0&&r.push(new Se(i)),{comments:n,items:r}}function VN(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:r}=t.type===A.Type.FLOW_SEQ?ZN(e,t):KN(e,t),i=new xr;if(i.items=r,KS(i,n),!e.options.mapAsMap&&r.some(a=>a instanceof Se&&a.key instanceof Ze)){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=i,i}function KN(e,t){let n=[],r=[];for(let i=0;i<t.items.length;++i){let a=t.items[i];switch(a.type){case A.Type.BLANK_LINE:n.push({before:r.length});break;case A.Type.COMMENT:n.push({comment:a.comment,before:r.length});break;case A.Type.SEQ_ITEM:if(a.error&&e.errors.push(a.error),r.push(yr(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:r}}function ZN(e,t){let n=[],r=[],i=!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!==":"&&(i||a!==void 0)&&(i&&a===void 0&&(a=o?r.pop():null),r.push(new Se(a)),i=!1,a=void 0,s=null),p===o)o=null;else if(!o&&p==="?")i=!0;else if(o!=="["&&p===":"&&a===void 0){if(o===","){if(a=r.pop(),a instanceof Se){let d="Chaining flow sequence pairs is invalid",v=new A.YAMLSemanticError(t,d);v.offset=f,e.errors.push(v)}if(!i&&typeof s=="number"){let d=l.range?l.range.start:l.offset;d>s+1024&&e.errors.push(VS(t,a));let{src:v}=c.context;for(let g=s;g<d;++g)if(v[g]===`
|
|
169
|
+
`){let h="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new A.YAMLSemanticError(c,h));break}}}else a=null;s=null,i=!1,o=null}else if(o==="["||p!=="]"||u<t.items.length-1){let d=`Flow sequence contains an unexpected ${p}`,v=new A.YAMLSyntaxError(t,d);v.offset=f,e.errors.push(v)}}else if(l.type===A.Type.BLANK_LINE)n.push({before:r.length});else if(l.type===A.Type.COMMENT)GS(e.errors,l),n.push({comment:l.comment,before:r.length});else{if(o){let f=`Expected a ${o} in flow sequence`;e.errors.push(new A.YAMLSemanticError(l,f))}let p=yr(e,l);a===void 0?(r.push(p),c=l):(r.push(new Se(a,p)),a=void 0),s=l.range.start,o=","}}return YS(e.errors,t),a!==void 0&&r.push(new Se(a)),{comments:n,items:r}}Pe.Alias=Hn;Pe.Collection=Ze;Pe.Merge=Bl;Pe.Node=Yt;Pe.Pair=Se;Pe.Scalar=xt;Pe.YAMLMap=to;Pe.YAMLSeq=xr;Pe.addComment=Pa;Pe.binaryOptions=CN;Pe.boolOptions=AN;Pe.findPair=eo;Pe.intOptions=jN;Pe.isEmptyPath=$S;Pe.nullOptions=RN;Pe.resolveMap=UN;Pe.resolveNode=yr;Pe.resolveSeq=VN;Pe.resolveString=vh;Pe.strOptions=gi;Pe.stringifyNumber=NN;Pe.stringifyString=PN;Pe.toJSON=br});var wh=b(gn=>{"use strict";var Gt=ui(),ge=no(),JN={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{let n=ge.resolveString(e,t);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let r=atob(n.replace(/[\n\r]/g,"")),i=new Uint8Array(r.length);for(let a=0;a<r.length;++a)i[a]=r.charCodeAt(a);return i}else{let r="This environment does not support reading binary tags; either Buffer or atob is required";return e.errors.push(new Gt.YAMLReferenceError(t,r)),null}},options:ge.binaryOptions,stringify:({comment:e,type:t,value:n},r,i,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=ge.binaryOptions.defaultType),t===Gt.Type.QUOTE_DOUBLE)n=s;else{let{lineWidth:o}=ge.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===Gt.Type.BLOCK_LITERAL?`
|
|
170
|
+
`:" ")}return ge.stringifyString({comment:e,type:t,value:n},r,i,a)}};function JS(e,t){let n=ge.resolveSeq(e,t);for(let r=0;r<n.items.length;++r){let i=n.items[r];if(!(i instanceof ge.Pair)){if(i instanceof ge.YAMLMap){if(i.items.length>1){let s="Each pair must have its own sequence indicator";throw new Gt.YAMLSemanticError(t,s)}let a=i.items[0]||new ge.Pair;i.commentBefore&&(a.commentBefore=a.commentBefore?`${i.commentBefore}
|
|
171
171
|
${a.commentBefore}`:i.commentBefore),i.comment&&(a.comment=a.comment?`${i.comment}
|
|
172
|
-
${a.comment}`:i.comment),i=a}n.items[r]=i instanceof he.Pair?i:new he.Pair(i)}}return n}function OS(e,t,n){let r=new he.YAMLSeq(e);r.tag="tag:yaml.org,2002:pairs";for(let i of t){let a,s;if(Array.isArray(i))if(i.length===2)a=i[0],s=i[1];else throw new TypeError(`Expected [key, value] tuple: ${i}`);else if(i&&i instanceof Object){let c=Object.keys(i);if(c.length===1)a=c[0],s=i[a];else throw new TypeError(`Expected { key: value } tuple: ${i}`)}else a=i;let o=e.createPair(a,s,n);r.items.push(o)}return r}var rN={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ES,createNode:OS},vr=class extends he.YAMLSeq{constructor(){super(),Wt._defineProperty(this,"add",he.YAMLMap.prototype.add.bind(this)),Wt._defineProperty(this,"delete",he.YAMLMap.prototype.delete.bind(this)),Wt._defineProperty(this,"get",he.YAMLMap.prototype.get.bind(this)),Wt._defineProperty(this,"has",he.YAMLMap.prototype.has.bind(this)),Wt._defineProperty(this,"set",he.YAMLMap.prototype.set.bind(this)),this.tag=vr.tag}toJSON(t,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let i of this.items){let a,s;if(i instanceof he.Pair?(a=he.toJSON(i.key,"",n),s=he.toJSON(i.value,a,n)):a=he.toJSON(i,"",n),r.has(a))throw new Error("Ordered maps must not include duplicate keys");r.set(a,s)}return r}};Wt._defineProperty(vr,"tag","tag:yaml.org,2002:omap");function iN(e,t){let n=ES(e,t),r=[];for(let{key:i}of n.items)if(i instanceof he.Scalar)if(r.includes(i.value)){let a="Ordered maps must not include duplicate keys";throw new Wt.YAMLSemanticError(t,a)}else r.push(i.value);return Object.assign(new vr,n)}function aN(e,t,n){let r=OS(e,t,n),i=new vr;return i.items=r.items,i}var sN={identify:e=>e instanceof Map,nodeClass:vr,default:!1,tag:"tag:yaml.org,2002:omap",resolve:iN,createNode:aN},br=class extends he.YAMLMap{constructor(){super(),this.tag=br.tag}add(t){let n=t instanceof he.Pair?t:new he.Pair(t);he.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let r=he.findPair(this.items,t);return!n&&r instanceof he.Pair?r.key instanceof he.Scalar?r.key.value:r.key:r}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 r=he.findPair(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new he.Pair(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(t,n,r);throw new Error("Set items must all have null values")}};Wt._defineProperty(br,"tag","tag:yaml.org,2002:set");function oN(e,t){let n=he.resolveMap(e,t);if(!n.hasAllNullValues())throw new Wt.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new br,n)}function cN(e,t,n){let r=new br;for(let i of t)r.items.push(e.createPair(i,null,n));return r}var lN={identify:e=>e instanceof Set,nodeClass:br,default:!1,tag:"tag:yaml.org,2002:set",resolve:oN,createNode:cN},ih=(e,t)=>{let n=t.split(":").reduce((r,i)=>r*60+Number(i),0);return e==="-"?-n:n},kS=({value:e})=>{if(isNaN(e)||!isFinite(e))return he.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(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},uN={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)=>ih(t,n.replace(/_/g,"")),stringify:kS},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)=>ih(t,n.replace(/_/g,"")),stringify:kS},fN={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,r,i,a,s,o,c)=>{o&&(o=(o+"00").substr(1,3));let u=Date.UTC(t,n-1,r,i||0,a||0,s||0,o||0);if(c&&c!=="Z"){let l=ih(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 ah(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 sh(e,t){if(ah(!1)){let n=typeof process<"u"&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}function dN(e){if(ah(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");sh(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}var SS={};function hN(e,t){if(!SS[e]&&ah(!0)){SS[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",sh(n,"DeprecationWarning")}}dn.binary=nN;dn.floatTime=pN;dn.intTime=uN;dn.omap=sN;dn.pairs=rN;dn.set=lN;dn.timestamp=fN;dn.warn=sh;dn.warnFileDeprecation=dN;dn.warnOptionDeprecation=hN});var ph=b(FS=>{"use strict";var Al=ri(),se=Hs(),St=oh();function mN(e,t,n){let r=new se.YAMLMap(e);if(t instanceof Map)for(let[i,a]of t)r.items.push(e.createPair(i,a,n));else if(t&&typeof t=="object")for(let i of Object.keys(t))r.items.push(e.createPair(i,t[i],n));return typeof e.sortMapEntries=="function"&&r.items.sort(e.sortMapEntries),r}var Gs={createNode:mN,default:!0,nodeClass:se.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:se.resolveMap};function gN(e,t,n){let r=new se.YAMLSeq(e);if(t&&t[Symbol.iterator])for(let i of t){let a=e.createNode(i,n.wrapScalars,null,n);r.items.push(a)}return r}var jl={createNode:gN,default:!0,nodeClass:se.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:se.resolveSeq},vN={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:se.resolveString,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),se.stringifyString(e,t,n,r)},options:se.strOptions},lh=[Gs,jl,vN],Rl=e=>typeof e=="bigint"||Number.isInteger(e),uh=(e,t,n)=>se.intOptions.asBigInt?BigInt(e):parseInt(t,n);function AS(e,t,n){let{value:r}=e;return Rl(r)&&r>=0?n+r.toString(t):se.stringifyNumber(e)}var jS={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:se.nullOptions,stringify:()=>se.nullOptions.nullStr},RS={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:se.boolOptions,stringify:({value:e})=>e?se.boolOptions.trueStr:se.boolOptions.falseStr},MS={identify:e=>Rl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>uh(e,t,8),options:se.intOptions,stringify:e=>AS(e,8,"0o")},PS={identify:Rl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>uh(e,e,10),options:se.intOptions,stringify:se.stringifyNumber},IS={identify:e=>Rl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>uh(e,t,16),options:se.intOptions,stringify:e=>AS(e,16,"0x")},NS={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:se.stringifyNumber},LS={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()},qS={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 r=t||n,i=new se.Scalar(parseFloat(e));return r&&r[r.length-1]==="0"&&(i.minFractionDigits=r.length),i},stringify:se.stringifyNumber},bN=lh.concat([jS,RS,MS,PS,IS,NS,LS,qS]),TS=e=>typeof e=="bigint"||Number.isInteger(e),Tl=({value:e})=>JSON.stringify(e),BS=[Gs,jl,{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:se.resolveString,stringify:Tl},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Tl},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Tl},{identify:TS,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>se.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>TS(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:Tl}];BS.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var CS=({value:e})=>e?se.boolOptions.trueStr:se.boolOptions.falseStr,Ys=e=>typeof e=="bigint"||Number.isInteger(e);function Cl(e,t,n){let r=t.replace(/_/g,"");if(se.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let a=BigInt(r);return e==="-"?BigInt(-1)*a:a}let i=parseInt(r,n);return e==="-"?-1*i:i}function ch(e,t,n){let{value:r}=e;if(Ys(r)){let i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return se.stringifyNumber(e)}var xN=lh.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:se.nullOptions,stringify:()=>se.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:se.boolOptions,stringify:CS},{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:se.boolOptions,stringify:CS},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>Cl(t,n,2),stringify:e=>ch(e,2,"0b")},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>Cl(t,n,8),stringify:e=>ch(e,8,"0")},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>Cl(t,n,10),stringify:se.stringifyNumber},{identify:Ys,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>Cl(t,n,16),stringify:e=>ch(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:se.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 se.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let r=t.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:se.stringifyNumber}],St.binary,St.omap,St.pairs,St.set,St.intTime,St.floatTime,St.timestamp),yN={core:bN,failsafe:lh,json:BS,yaml11:xN},wN={binary:St.binary,bool:RS,float:qS,floatExp:LS,floatNaN:NS,floatTime:St.floatTime,int:PS,intHex:IS,intOct:MS,intTime:St.intTime,map:Gs,null:jS,omap:St.omap,pairs:St.pairs,seq:jl,set:St.set,timestamp:St.timestamp};function _N(e,t,n){if(t){let r=n.filter(a=>a.tag===t),i=r.find(a=>!a.format)||r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>(r.identify&&r.identify(e)||r.class&&e instanceof r.class)&&!r.format)}function SN(e,t,n){if(e instanceof se.Node)return e;let{defaultPrefix:r,onTagObj:i,prevObjects:a,schema:s,wrapScalars:o}=n;t&&t.startsWith("!!")&&(t=r+t.slice(2));let c=_N(e,t,s.tags);if(!c){if(typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object")return o?new se.Scalar(e):e;c=e instanceof Map?Gs:e[Symbol.iterator]?jl:Gs}i&&(i(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 se.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 se.Scalar(e):e,t&&u.node instanceof se.Node&&(u.node.tag=t),u.node}function EN(e,t,n,r){let i=e[r.replace(/\W/g,"")];if(!i){let a=Object.keys(e).map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${a}`)}if(Array.isArray(n))for(let a of n)i=i.concat(a);else typeof n=="function"&&(i=n(i.slice()));for(let a=0;a<i.length;++a){let s=i[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}`)}i[a]=o}}return i}var ON=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,ui=class{constructor({customTags:t,merge:n,schema:r,sortMapEntries:i,tags:a}){this.merge=!!n,this.name=r,this.sortMapEntries=i===!0?ON:i||null,!t&&a&&St.warnOptionDeprecation("tags","customTags"),this.tags=EN(yN,wN,t||a,r)}createNode(t,n,r,i){let a={defaultPrefix:ui.defaultPrefix,schema:this,wrapScalars:n},s=i?Object.assign(i,a):a;return SN(t,r,s)}createPair(t,n,r){r||(r={wrapScalars:!0});let i=this.createNode(t,r.wrapScalars,null,r),a=this.createNode(n,r.wrapScalars,null,r);return new se.Pair(i,a)}};Al._defineProperty(ui,"defaultPrefix",Al.defaultTagPrefix);Al._defineProperty(ui,"defaultTags",Al.defaultTags);FS.Schema=ui});var $S=b(Il=>{"use strict";var Et=ri(),oe=Hs(),DS=ph(),kN={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"},TN={get binary(){return oe.binaryOptions},set binary(e){Object.assign(oe.binaryOptions,e)},get bool(){return oe.boolOptions},set bool(e){Object.assign(oe.boolOptions,e)},get int(){return oe.intOptions},set int(e){Object.assign(oe.intOptions,e)},get null(){return oe.nullOptions},set null(e){Object.assign(oe.nullOptions,e)},get str(){return oe.strOptions},set str(e){Object.assign(oe.strOptions,e)}},US={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Et.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Et.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Et.defaultTagPrefix}]}};function zS(e,t){if((e.version||e.options.version)==="1.0"){let i=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(i)return"!"+i[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(i=>t.indexOf(i.prefix)===0);if(!n){let i=e.getDefaults().tagPrefixes;n=i&&i.find(a=>t.indexOf(a.prefix)===0)}if(!n)return t[0]==="!"?t:`!<${t}>`;let r=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,i=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[i]);return n.handle+r}function CN(e,t){if(t instanceof oe.Alias)return oe.Alias;if(t.tag){let i=e.filter(a=>a.tag===t.tag);if(i.length>0)return i.find(a=>a.format===t.format)||i[0]}let n,r;if(t instanceof oe.Scalar){r=t.value;let i=e.filter(a=>a.identify&&a.identify(r)||a.class&&r instanceof a.class);n=i.find(a=>a.format===t.format)||i.find(a=>!a.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){let i=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${i} value`)}return n}function AN(e,t,{anchors:n,doc:r}){let i=[],a=r.anchors.getName(e);return a&&(n[a]=e,i.push(`&${a}`)),e.tag?i.push(zS(r,e.tag)):t.default||i.push(zS(r,t.tag)),i.join(" ")}function Ml(e,t,n,r){let{anchors:i,schema:a}=t.doc,s;if(!(e instanceof oe.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=i.getName(l.source);p||(p=i.newName(),i.map[p]=l.source)}}if(e instanceof oe.Pair)return e.toString(t,n,r);s||(s=CN(a.tags,e));let o=AN(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,r):e instanceof oe.Scalar?oe.stringifyString(e,t,n,r):e.toString(t,n,r);return o?e instanceof oe.Scalar||c[0]==="{"||c[0]==="["?`${o} ${c}`:`${o}
|
|
173
|
-
${t.indent}${c}`:c}var
|
|
172
|
+
${a.comment}`:i.comment),i=a}n.items[r]=i instanceof ge.Pair?i:new ge.Pair(i)}}return n}function QS(e,t,n){let r=new ge.YAMLSeq(e);r.tag="tag:yaml.org,2002:pairs";for(let i of t){let a,s;if(Array.isArray(i))if(i.length===2)a=i[0],s=i[1];else throw new TypeError(`Expected [key, value] tuple: ${i}`);else if(i&&i instanceof Object){let c=Object.keys(i);if(c.length===1)a=c[0],s=i[a];else throw new TypeError(`Expected { key: value } tuple: ${i}`)}else a=i;let o=e.createPair(a,s,n);r.items.push(o)}return r}var QN={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:JS,createNode:QS},wr=class extends ge.YAMLSeq{constructor(){super(),Gt._defineProperty(this,"add",ge.YAMLMap.prototype.add.bind(this)),Gt._defineProperty(this,"delete",ge.YAMLMap.prototype.delete.bind(this)),Gt._defineProperty(this,"get",ge.YAMLMap.prototype.get.bind(this)),Gt._defineProperty(this,"has",ge.YAMLMap.prototype.has.bind(this)),Gt._defineProperty(this,"set",ge.YAMLMap.prototype.set.bind(this)),this.tag=wr.tag}toJSON(t,n){let r=new Map;n&&n.onCreate&&n.onCreate(r);for(let i of this.items){let a,s;if(i instanceof ge.Pair?(a=ge.toJSON(i.key,"",n),s=ge.toJSON(i.value,a,n)):a=ge.toJSON(i,"",n),r.has(a))throw new Error("Ordered maps must not include duplicate keys");r.set(a,s)}return r}};Gt._defineProperty(wr,"tag","tag:yaml.org,2002:omap");function XN(e,t){let n=JS(e,t),r=[];for(let{key:i}of n.items)if(i instanceof ge.Scalar)if(r.includes(i.value)){let a="Ordered maps must not include duplicate keys";throw new Gt.YAMLSemanticError(t,a)}else r.push(i.value);return Object.assign(new wr,n)}function eL(e,t,n){let r=QS(e,t,n),i=new wr;return i.items=r.items,i}var tL={identify:e=>e instanceof Map,nodeClass:wr,default:!1,tag:"tag:yaml.org,2002:omap",resolve:XN,createNode:eL},_r=class extends ge.YAMLMap{constructor(){super(),this.tag=_r.tag}add(t){let n=t instanceof ge.Pair?t:new ge.Pair(t);ge.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let r=ge.findPair(this.items,t);return!n&&r instanceof ge.Pair?r.key instanceof ge.Scalar?r.key.value:r.key:r}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 r=ge.findPair(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ge.Pair(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(t,n,r);throw new Error("Set items must all have null values")}};Gt._defineProperty(_r,"tag","tag:yaml.org,2002:set");function nL(e,t){let n=ge.resolveMap(e,t);if(!n.hasAllNullValues())throw new Gt.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new _r,n)}function rL(e,t,n){let r=new _r;for(let i of t)r.items.push(e.createPair(i,null,n));return r}var iL={identify:e=>e instanceof Set,nodeClass:_r,default:!1,tag:"tag:yaml.org,2002:set",resolve:nL,createNode:rL},bh=(e,t)=>{let n=t.split(":").reduce((r,i)=>r*60+Number(i),0);return e==="-"?-n:n},XS=({value:e})=>{if(isNaN(e)||!isFinite(e))return ge.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(r=>r<10?"0"+String(r):String(r)).join(":").replace(/000000\d*$/,"")},aL={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)=>bh(t,n.replace(/_/g,"")),stringify:XS},sL={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)=>bh(t,n.replace(/_/g,"")),stringify:XS},oL={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,r,i,a,s,o,c)=>{o&&(o=(o+"00").substr(1,3));let u=Date.UTC(t,n-1,r,i||0,a||0,s||0,o||0);if(c&&c!=="Z"){let l=bh(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 xh(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 yh(e,t){if(xh(!1)){let n=typeof process<"u"&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}function cL(e){if(xh(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");yh(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}var ZS={};function lL(e,t){if(!ZS[e]&&xh(!0)){ZS[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",yh(n,"DeprecationWarning")}}gn.binary=JN;gn.floatTime=sL;gn.intTime=aL;gn.omap=tL;gn.pairs=QN;gn.set=iL;gn.timestamp=oL;gn.warn=yh;gn.warnFileDeprecation=cL;gn.warnOptionDeprecation=lL});var Oh=b(fE=>{"use strict";var Ul=ui(),se=no(),jt=wh();function uL(e,t,n){let r=new se.YAMLMap(e);if(t instanceof Map)for(let[i,a]of t)r.items.push(e.createPair(i,a,n));else if(t&&typeof t=="object")for(let i of Object.keys(t))r.items.push(e.createPair(i,t[i],n));return typeof e.sortMapEntries=="function"&&r.items.sort(e.sortMapEntries),r}var io={createNode:uL,default:!0,nodeClass:se.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:se.resolveMap};function pL(e,t,n){let r=new se.YAMLSeq(e);if(t&&t[Symbol.iterator])for(let i of t){let a=e.createNode(i,n.wrapScalars,null,n);r.items.push(a)}return r}var Wl={createNode:pL,default:!0,nodeClass:se.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:se.resolveSeq},fL={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:se.resolveString,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),se.stringifyString(e,t,n,r)},options:se.strOptions},Sh=[io,Wl,fL],Hl=e=>typeof e=="bigint"||Number.isInteger(e),Eh=(e,t,n)=>se.intOptions.asBigInt?BigInt(e):parseInt(t,n);function nE(e,t,n){let{value:r}=e;return Hl(r)&&r>=0?n+r.toString(t):se.stringifyNumber(e)}var rE={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:se.nullOptions,stringify:()=>se.nullOptions.nullStr},iE={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:se.boolOptions,stringify:({value:e})=>e?se.boolOptions.trueStr:se.boolOptions.falseStr},aE={identify:e=>Hl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>Eh(e,t,8),options:se.intOptions,stringify:e=>nE(e,8,"0o")},sE={identify:Hl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>Eh(e,e,10),options:se.intOptions,stringify:se.stringifyNumber},oE={identify:e=>Hl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>Eh(e,t,16),options:se.intOptions,stringify:e=>nE(e,16,"0x")},cE={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:se.stringifyNumber},lE={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()},uE={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 r=t||n,i=new se.Scalar(parseFloat(e));return r&&r[r.length-1]==="0"&&(i.minFractionDigits=r.length),i},stringify:se.stringifyNumber},dL=Sh.concat([rE,iE,aE,sE,oE,cE,lE,uE]),eE=e=>typeof e=="bigint"||Number.isInteger(e),zl=({value:e})=>JSON.stringify(e),pE=[io,Wl,{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:se.resolveString,stringify:zl},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:zl},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:zl},{identify:eE,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>se.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>eE(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:zl}];pE.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var tE=({value:e})=>e?se.boolOptions.trueStr:se.boolOptions.falseStr,ro=e=>typeof e=="bigint"||Number.isInteger(e);function $l(e,t,n){let r=t.replace(/_/g,"");if(se.intOptions.asBigInt){switch(n){case 2:r=`0b${r}`;break;case 8:r=`0o${r}`;break;case 16:r=`0x${r}`;break}let a=BigInt(r);return e==="-"?BigInt(-1)*a:a}let i=parseInt(r,n);return e==="-"?-1*i:i}function _h(e,t,n){let{value:r}=e;if(ro(r)){let i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return se.stringifyNumber(e)}var hL=Sh.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new se.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:se.nullOptions,stringify:()=>se.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:se.boolOptions,stringify:tE},{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:se.boolOptions,stringify:tE},{identify:ro,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>$l(t,n,2),stringify:e=>_h(e,2,"0b")},{identify:ro,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>$l(t,n,8),stringify:e=>_h(e,8,"0")},{identify:ro,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>$l(t,n,10),stringify:se.stringifyNumber},{identify:ro,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>$l(t,n,16),stringify:e=>_h(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:se.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 se.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let r=t.replace(/_/g,"");r[r.length-1]==="0"&&(n.minFractionDigits=r.length)}return n},stringify:se.stringifyNumber}],jt.binary,jt.omap,jt.pairs,jt.set,jt.intTime,jt.floatTime,jt.timestamp),mL={core:dL,failsafe:Sh,json:pE,yaml11:hL},gL={binary:jt.binary,bool:iE,float:uE,floatExp:lE,floatNaN:cE,floatTime:jt.floatTime,int:sE,intHex:oE,intOct:aE,intTime:jt.intTime,map:io,null:rE,omap:jt.omap,pairs:jt.pairs,seq:Wl,set:jt.set,timestamp:jt.timestamp};function vL(e,t,n){if(t){let r=n.filter(a=>a.tag===t),i=r.find(a=>!a.format)||r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>(r.identify&&r.identify(e)||r.class&&e instanceof r.class)&&!r.format)}function bL(e,t,n){if(e instanceof se.Node)return e;let{defaultPrefix:r,onTagObj:i,prevObjects:a,schema:s,wrapScalars:o}=n;t&&t.startsWith("!!")&&(t=r+t.slice(2));let c=vL(e,t,s.tags);if(!c){if(typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object")return o?new se.Scalar(e):e;c=e instanceof Map?io:e[Symbol.iterator]?Wl:io}i&&(i(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 se.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 se.Scalar(e):e,t&&u.node instanceof se.Node&&(u.node.tag=t),u.node}function xL(e,t,n,r){let i=e[r.replace(/\W/g,"")];if(!i){let a=Object.keys(e).map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${r}"; use one of ${a}`)}if(Array.isArray(n))for(let a of n)i=i.concat(a);else typeof n=="function"&&(i=n(i.slice()));for(let a=0;a<i.length;++a){let s=i[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}`)}i[a]=o}}return i}var yL=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,vi=class{constructor({customTags:t,merge:n,schema:r,sortMapEntries:i,tags:a}){this.merge=!!n,this.name=r,this.sortMapEntries=i===!0?yL:i||null,!t&&a&&jt.warnOptionDeprecation("tags","customTags"),this.tags=xL(mL,gL,t||a,r)}createNode(t,n,r,i){let a={defaultPrefix:vi.defaultPrefix,schema:this,wrapScalars:n},s=i?Object.assign(i,a):a;return bL(t,r,s)}createPair(t,n,r){r||(r={wrapScalars:!0});let i=this.createNode(t,r.wrapScalars,null,r),a=this.createNode(n,r.wrapScalars,null,r);return new se.Pair(i,a)}};Ul._defineProperty(vi,"defaultPrefix",Ul.defaultTagPrefix);Ul._defineProperty(vi,"defaultTags",Ul.defaultTags);fE.Schema=vi});var gE=b(Vl=>{"use strict";var Rt=ui(),oe=no(),dE=Oh(),wL={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"},_L={get binary(){return oe.binaryOptions},set binary(e){Object.assign(oe.binaryOptions,e)},get bool(){return oe.boolOptions},set bool(e){Object.assign(oe.boolOptions,e)},get int(){return oe.intOptions},set int(e){Object.assign(oe.intOptions,e)},get null(){return oe.nullOptions},set null(e){Object.assign(oe.nullOptions,e)},get str(){return oe.strOptions},set str(e){Object.assign(oe.strOptions,e)}},mE={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Rt.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Rt.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Rt.defaultTagPrefix}]}};function hE(e,t){if((e.version||e.options.version)==="1.0"){let i=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(i)return"!"+i[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(i=>t.indexOf(i.prefix)===0);if(!n){let i=e.getDefaults().tagPrefixes;n=i&&i.find(a=>t.indexOf(a.prefix)===0)}if(!n)return t[0]==="!"?t:`!<${t}>`;let r=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,i=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[i]);return n.handle+r}function SL(e,t){if(t instanceof oe.Alias)return oe.Alias;if(t.tag){let i=e.filter(a=>a.tag===t.tag);if(i.length>0)return i.find(a=>a.format===t.format)||i[0]}let n,r;if(t instanceof oe.Scalar){r=t.value;let i=e.filter(a=>a.identify&&a.identify(r)||a.class&&r instanceof a.class);n=i.find(a=>a.format===t.format)||i.find(a=>!a.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){let i=r&&r.constructor?r.constructor.name:typeof r;throw new Error(`Tag not resolved for ${i} value`)}return n}function EL(e,t,{anchors:n,doc:r}){let i=[],a=r.anchors.getName(e);return a&&(n[a]=e,i.push(`&${a}`)),e.tag?i.push(hE(r,e.tag)):t.default||i.push(hE(r,t.tag)),i.join(" ")}function Yl(e,t,n,r){let{anchors:i,schema:a}=t.doc,s;if(!(e instanceof oe.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=i.getName(l.source);p||(p=i.newName(),i.map[p]=l.source)}}if(e instanceof oe.Pair)return e.toString(t,n,r);s||(s=SL(a.tags,e));let o=EL(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,r):e instanceof oe.Scalar?oe.stringifyString(e,t,n,r):e.toString(t,n,r);return o?e instanceof oe.Scalar||c[0]==="{"||c[0]==="["?`${o} ${c}`:`${o}
|
|
173
|
+
${t.indent}${c}`:c}var ao=class{static validAnchorNode(t){return t instanceof oe.Scalar||t instanceof oe.YAMLSeq||t instanceof oe.YAMLMap}constructor(t){Rt._defineProperty(this,"map",Object.create(null)),this.prefix=t}createAlias(t,n){return this.setAnchor(t,n),new oe.Alias(t)}createMergePair(...t){let n=new oe.Merge;return n.value.items=t.map(r=>{if(r instanceof oe.Alias){if(r.source instanceof oe.YAMLMap)return r}else if(r instanceof oe.YAMLMap)return this.createAlias(r);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(t){let{map:n}=this;return Object.keys(n).find(r=>n[r]===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 r=1;;++r){let i=`${t}${r}`;if(!n.includes(i))return i}}resolveNodes(){let{map:t,_cstAliases:n}=this;Object.keys(t).forEach(r=>{t[r]=t[r].resolved}),n.forEach(r=>{r.source=r.source.resolved}),delete this._cstAliases}setAnchor(t,n){if(t!=null&&!ao.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:r}=this,i=t&&Object.keys(r).find(a=>r[a]===t);if(i)if(n)i!==n&&(delete r[i],r[n]=t);else return i;else{if(!n){if(!t)return null;n=this.newName()}r[n]=t}return n}},Gl=(e,t)=>{if(e&&typeof e=="object"){let{tag:n}=e;e instanceof oe.Collection?(n&&(t[n]=!0),e.items.forEach(r=>Gl(r,t))):e instanceof oe.Pair?(Gl(e.key,t),Gl(e.value,t)):e instanceof oe.Scalar&&n&&(t[n]=!0)}return t},OL=e=>Object.keys(Gl(e,{}));function kL(e,t){let n={before:[],after:[]},r,i=!1;for(let a of t)if(a.valueRange){if(r!==void 0){let o="Document contains trailing content not separated by a ... or --- line";e.errors.push(new Rt.YAMLSyntaxError(a,o));break}let s=oe.resolveNode(e,a);i&&(s.spaceBefore=!0,i=!1),r=s}else a.comment!==null?(r===void 0?n.before:n.after).push(a.comment):a.type===Rt.Type.BLANK_LINE&&(i=!0,r===void 0&&n.before.length>0&&!e.commentBefore&&(e.commentBefore=n.before.join(`
|
|
174
174
|
`),n.before=[]));if(e.contents=r||null,!r)e.comment=n.before.concat(n.after).join(`
|
|
175
175
|
`)||null;else{let a=n.before.join(`
|
|
176
176
|
`);if(a){let s=r instanceof oe.Collection&&r.items[0]?r.items[0]:r;s.commentBefore=s.commentBefore?`${a}
|
|
177
177
|
${s.commentBefore}`:a}e.comment=n.after.join(`
|
|
178
|
-
`)||null}}function
|
|
179
|
-
`)||null}function
|
|
178
|
+
`)||null}}function TL({tagPrefixes:e},t){let[n,r]=t.parameters;if(!n||!r){let i="Insufficient parameters given for %TAG directive";throw new Rt.YAMLSemanticError(t,i)}if(e.some(i=>i.handle===n)){let i="The %TAG directive must only be given at most once per handle in the same document.";throw new Rt.YAMLSemanticError(t,i)}return{handle:n,prefix:r}}function CL(e,t){let[n]=t.parameters;if(t.name==="YAML:1.0"&&(n="1.0"),!n){let r="Insufficient parameters given for %YAML directive";throw new Rt.YAMLSemanticError(t,r)}if(!mE[n]){let i=`Document will be parsed as YAML ${e.version||e.options.version} rather than YAML ${n}`;e.warnings.push(new Rt.YAMLWarning(t,i))}return n}function AL(e,t,n){let r=[],i=!1;for(let a of t){let{comment:s,name:o}=a;switch(o){case"TAG":try{e.tagPrefixes.push(TL(e,a))}catch(c){e.errors.push(c)}i=!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 Rt.YAMLSemanticError(a,c))}try{e.version=CL(e,a)}catch(c){e.errors.push(c)}i=!0;break;default:if(o){let c=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new Rt.YAMLWarning(a,c))}}s&&r.push(s)}if(n&&!i&&(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=r.join(`
|
|
179
|
+
`)||null}function Na(e){if(e instanceof oe.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var bi=class{constructor(t){this.anchors=new ao(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 Na(this.contents),this.contents.add(t)}addIn(t,n){Na(this.contents),this.contents.addIn(t,n)}delete(t){return Na(this.contents),this.contents.delete(t)}deleteIn(t){return oe.isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):(Na(this.contents),this.contents.deleteIn(t))}getDefaults(){return bi.defaults[this.version]||bi.defaults[this.options.version]||{}}get(t,n){return this.contents instanceof oe.Collection?this.contents.get(t,n):void 0}getIn(t,n){return oe.isEmptyPath(t)?!n&&this.contents instanceof oe.Scalar?this.contents.value:this.contents:this.contents instanceof oe.Collection?this.contents.getIn(t,n):void 0}has(t){return this.contents instanceof oe.Collection?this.contents.has(t):!1}hasIn(t){return oe.isEmptyPath(t)?this.contents!==void 0:this.contents instanceof oe.Collection?this.contents.hasIn(t):!1}set(t,n){Na(this.contents),this.contents.set(t,n)}setIn(t,n){oe.isEmptyPath(t)?this.contents=n:(Na(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 r=Object.assign({},this.getDefaults(),this.options);this.schema=new dE.Schema(r)}parse(t,n){this.options.keepCstNodes&&(this.cstNode=t),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:r=[],contents:i=[],directivesEndMarker:a,error:s,valueRange:o}=t;if(s&&(s.source||(s.source=this),this.errors.push(s)),AL(this,r,n),a&&(this.directivesEndMarker=!0),this.range=o?[o.start,o.end]:null,this.setSchema(),this.anchors._cstAliases=[],kL(this,i),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof Rt.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof Rt.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return OL(this.contents).filter(t=>t.indexOf(dE.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 r=this.tagPrefixes.find(i=>i.handle===t);r?r.prefix=n:this.tagPrefixes.push({handle:t,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(r=>r.handle!==t)}toJSON(t,n){let{keepBlobsInJSON:r,mapAsMap:i,maxAliasCount:a}=this.options,s=r&&(typeof t!="string"||!(this.contents instanceof oe.Scalar)),o={doc:this,indentStep:" ",keep:s,mapAsMap:s&&!!i,maxAliasCount:a,stringify:Yl},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=oe.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=[],r=!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),r=!0}let i=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:u})=>{i.some(l=>l.indexOf(u)===0)&&(n.push(`%TAG ${c} ${u}`),r=!0)}),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((r||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let a={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(t),stringify:Yl},s=!1,o=null;if(this.contents){this.contents instanceof oe.Node&&(this.contents.spaceBefore&&(r||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=Yl(this.contents,a,()=>o=null,c);n.push(oe.addComment(u,"",o))}else this.contents!==void 0&&n.push(Yl(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
|
-
`}};
|
|
182
|
-
`);return r.reduce(function(i,a){return a.length>i?a.length:i},0)}});var
|
|
183
|
-
`);return e.length?e[0].length:0});
|
|
184
|
-
`)}function
|
|
185
|
-
`).reduce(function(L,G){return L.push(g(G,q)),L},[]),R=M.length;R>k&&(k=R),T.push({contents:M,height:R})});var N=new Array(k);T.forEach(function(F,q){F.contents.forEach(function(L,G){N[G]||(N[G]=[]),(
|
|
186
|
-
`+v(t.style.border,i.left)),W+=F.join(v(t.style.border,i.middle))+v(t.style.border,i.right)}),v(t.style.border,i.left)+W}function v(x,
|
|
187
|
-
`),this.length&&this.forEach(function(x,
|
|
188
|
-
`)}x.hasOwnProperty("length")&&!x.length||(e+=
|
|
189
|
-
`)});var
|
|
190
|
-
|
|
191
|
-
|
|
181
|
+
`}};Rt._defineProperty(bi,"defaults",mE);Vl.Document=bi;Vl.defaultOptions=wL;Vl.scalarOptions=_L});var xE=b(bE=>{"use strict";var kh=BS(),xi=gE(),jL=Oh(),RL=ui(),ML=wh();no();function IL(e,t=!0,n){n===void 0&&typeof t=="string"&&(n=t,t=!0);let r=Object.assign({},xi.Document.defaults[xi.defaultOptions.version],xi.defaultOptions);return new jL.Schema(r).createNode(e,t,n)}var La=class extends xi.Document{constructor(t){super(Object.assign({},xi.defaultOptions,t))}};function PL(e,t){let n=[],r;for(let i of kh.parse(e)){let a=new La(t);a.parse(i,r),n.push(a),r=a}return n}function vE(e,t){let n=kh.parse(e),r=new La(t).parse(n[0]);if(n.length>1){let i="Source contains multiple documents; please use YAML.parseAllDocuments()";r.errors.unshift(new RL.YAMLSemanticError(n[1],i))}return r}function NL(e,t){let n=vE(e,t);if(n.warnings.forEach(r=>ML.warn(r)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function LL(e,t){let n=new La(t);return n.contents=e,String(n)}var qL={createNode:IL,defaultOptions:xi.defaultOptions,Document:La,parse:NL,parseAllDocuments:PL,parseCST:kh.parse,parseDocument:vE,scalarOptions:xi.scalarOptions,stringify:LL};bE.YAML=qL});var wE=b((Pz,yE)=>{yE.exports=xE().YAML});var IE=b((Zz,ME)=>{var RE={};ME.exports=RE;var jE={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(jE).forEach(function(e){var t=jE[e],n=RE[e]=[];n.open="\x1B["+t[0]+"m",n.close="\x1B["+t[1]+"m"})});var NE=b((Jz,PE)=>{var so=process.argv;PE.exports=function(){return so.indexOf("--no-color")!==-1||so.indexOf("--color=false")!==-1?!1:so.indexOf("--color")!==-1||so.indexOf("--color=true")!==-1||so.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 qE=b((Qz,LE)=>{LE.exports=function(t,n){var r="";t=t||"Run the trap, drop the bass",t=t.split("");var i={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=i[a]||[" "],o=Math.floor(Math.random()*s.length);typeof i[a]<"u"?r+=i[a][o]:r+=a}),r}});var FE=b((Xz,BE)=>{BE.exports=function(t,n){t=t||" he is here ";var r={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"]},i=[].concat(r.up,r.down,r.mid),a={};function s(u){var l=Math.floor(Math.random()*u);return l}function o(u){var l=!1;return i.filter(function(p){l=p===u}),l}function c(u,l){var p="",f,d;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(d in u)if(!o(d)){switch(p=p+u[d],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 h=v[g],x=0;x<=f[h];x++)l[h]&&(p=p+r[h][s(r[h].length)])}return p}return c(t)}});var zE=b((e$,DE)=>{var Lh=Da();DE.exports=function(){return function(e,t,n){if(e===" ")return e;switch(t%3){case 0:return Lh.red(e);case 1:return Lh.white(e);case 2:return Lh.blue(e)}}}()});var UE=b((t$,$E)=>{var cq=Da();$E.exports=function(e,t,n){return t%2===0?e:cq.inverse(e)}});var HE=b((n$,WE)=>{var lq=Da();WE.exports=function(){var e=["red","yellow","green","blue","magenta"];return function(t,n,r){return t===" "?t:lq[e[n++%e.length]](t)}}()});var GE=b((r$,YE)=>{var uq=Da();YE.exports=function(){var e=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta"];return function(t,n,r){return t===" "?t:uq[e[Math.round(Math.random()*(e.length-1))]](t)}}()});var Da=b((a$,XE)=>{var Ee={};XE.exports=Ee;Ee.themes={};var Er=Ee.styles=IE(),ZE=Object.defineProperties;Ee.supportsColor=NE();typeof Ee.enabled>"u"&&(Ee.enabled=Ee.supportsColor);Ee.stripColors=Ee.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")};var i$=Ee.stylize=function(t,n){return Er[n].open+t+Er[n].close},pq=/[|\\{}()[\]^$+*?.]/g,fq=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(pq,"\\$&")};function JE(e){var t=function n(){return hq.apply(n,arguments)};return t._styles=e,t.__proto__=dq,t}var QE=function(){var e={};return Er.grey=Er.gray,Object.keys(Er).forEach(function(t){Er[t].closeRe=new RegExp(fq(Er[t].close),"g"),e[t]={get:function(){return JE(this._styles.concat(t))}}}),e}(),dq=ZE(function(){},QE);function hq(){var e=arguments,t=e.length,n=t!==0&&String(arguments[0]);if(t>1)for(var r=1;r<t;r++)n+=" "+e[r];if(!Ee.enabled||!n)return n;for(var i=this._styles,a=i.length;a--;){var s=Er[i[a]];n=s.open+n.replace(s.closeRe,s.open)+s.close}return n}function VE(e){for(var t in e)(function(n){Ee[n]=function(r){return Ee[e[n]](r)}})(t)}Ee.setTheme=function(e){if(typeof e=="string")try{return Ee.themes[e]=require(e),VE(Ee.themes[e]),Ee.themes[e]}catch(t){return console.log(t),t}else VE(e)};function mq(){var e={};return Object.keys(QE).forEach(function(t){e[t]={get:function(){return JE([t])}}}),e}var gq=function(t,n){var r=n.split(""),i=0;return r=r.map(t),r.join("")};Ee.trap=qE();Ee.zalgo=FE();Ee.maps={};Ee.maps.america=zE();Ee.maps.zebra=UE();Ee.maps.rainbow=HE();Ee.maps.random=GE();for(KE in Ee.maps)(function(e){Ee[e]=function(t){return gq(Ee.maps[e],t)}})(KE);var KE;ZE(Ee,mq())});var tO=b((s$,eO)=>{var vq=Da();eO.exports=vq});var rO=b(za=>{za.repeat=function(e,t){return Array(t+1).join(e)};za.pad=function(e,t,n,r){if(t+1>=e.length)switch(r){case"left":e=Array(t+1-e.length).join(n)+e;break;case"both":var i=Math.ceil((padlen=t-e.length)/2),a=padlen-i;e=Array(a+1).join(n)+e+Array(i+1).join(n);break;default:e=e+Array(t+1-e.length).join(n)}return e};za.truncate=function(e,t,n){return n=n||"\u2026",e.length>=t?e.substr(0,t-n.length)+n:e};function nO(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]||{},nO(e[n],t[n])):e[n]=t[n]);return e}za.options=nO;za.strlen=function(e){var t=/\u001b\[(?:\d*;){0,5}\d*m/g,n=(""+e).replace(t,""),r=n.split(`
|
|
182
|
+
`);return r.reduce(function(i,a){return a.length>i?a.length:i},0)}});var iO=b((c$,Bh)=>{var bq=tO(),wi=rO(),qh=wi.repeat,xq=wi.truncate,yq=wi.pad;function oo(e){if(this.options=wi.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])}oo.prototype.__proto__=Array.prototype;oo.prototype.__defineGetter__("width",function(){var e=this.toString().split(`
|
|
183
|
+
`);return e.length?e[0].length:0});oo.prototype.render;oo.prototype.toString=function(){var e="",t=this.options,n=t.style,r=t.head,i=t.chars,a=t.truncate,s=t.colWidths||new Array(this.head.length),o=0;if(!r.length&&!this.length)return"";if(!s.length){var c=this.slice(0);r.length&&(c=c.concat([r])),c.forEach(function(x){if(typeof x=="object"&&x.length)u(x);else{var w=Object.keys(x)[0],T=x[w];s[0]=Math.max(s[0]||0,l(w)||0),typeof T=="object"&&T.length?u(T,1):s[1]=Math.max(s[1]||0,l(T)||0)}})}o=(s.length==1?s[0]:s.reduce(function(x,w){return x+w}))+s.length+1;function u(x,T){var T=T||0;x.forEach(function(k,O){s[O+T]=Math.max(s[O+T]||0,l(k)||0)})}function l(x){return typeof x=="object"&&x.width!=null?x.width:(typeof x=="object"?wi.strlen(x.text):wi.strlen(x))+(n["padding-left"]||0)+(n["padding-right"]||0)}function p(D,w,T,k){var O=0,D=w+qh(D,o-2)+T;return s.forEach(function(B,N){N!=s.length-1&&(O+=B+1,D=D.substr(0,O)+k+D.substr(O+1))}),v(t.style.border,D)}function f(){var x=p(i.top,i["top-left"]||i.top,i["top-right"]||i.top,i["top-mid"]);x&&(e+=x+`
|
|
184
|
+
`)}function d(x,w){var T=[],k=0;if(!Array.isArray(x)&&typeof x=="object"){var O=Object.keys(x)[0],D=x[O],B=!0;Array.isArray(D)?(x=D,x.unshift(O)):x=[O,D]}x.forEach(function(F,q){var M=F.toString().split(`
|
|
185
|
+
`).reduce(function(L,G){return L.push(g(G,q)),L},[]),R=M.length;R>k&&(k=R),T.push({contents:M,height:R})});var N=new Array(k);T.forEach(function(F,q){F.contents.forEach(function(L,G){N[G]||(N[G]=[]),(w||B&&q===0&&t.style.head)&&(L=v(t.style.head,L)),N[G].push(L)});for(var M=F.height,R=k;M<R;M++)N[M]||(N[M]=[]),N[M].push(g("",q))});var W="";return N.forEach(function(F,q){W.length>0&&(W+=`
|
|
186
|
+
`+v(t.style.border,i.left)),W+=F.join(v(t.style.border,i.middle))+v(t.style.border,i.right)}),v(t.style.border,i.left)+W}function v(x,w){return w?(x.forEach(function(T){w=bq[T](w)}),w):""}function g(T,w){var T=String(typeof T=="object"&&T.text?T.text:T),k=wi.strlen(T),O=s[w]-(n["padding-left"]||0)-(n["padding-right"]||0),D=t.colAligns[w]||"left";return qh(" ",n["padding-left"]||0)+(k==O?T:k<O?yq(T,O+(T.length-k)," ",D=="left"?"right":D=="middle"?"both":"left"):a?xq(T,O,a):T)+qh(" ",n["padding-right"]||0)}r.length&&(f(),e+=d(r,n.head)+`
|
|
187
|
+
`),this.length&&this.forEach(function(x,w){if(!r.length&&w==0)f();else if(!n.compact||w<!!r.length||x.length==0){var T=p(i.mid,i["left-mid"],i["right-mid"],i["mid-mid"]);T&&(e+=T+`
|
|
188
|
+
`)}x.hasOwnProperty("length")&&!x.length||(e+=d(x)+`
|
|
189
|
+
`)});var h=p(i.bottom,i["bottom-left"]||i.bottom,i["bottom-right"]||i.bottom,i["bottom-mid"]);return h?e+=h:e=e.slice(0,-1),e};Bh.exports=oo;Bh.exports.version="0.0.1"});var MO=b(ue=>{"use strict";var Si=process.platform==="win32",Yh="aes-256-cbc",Kq="sha256",yO="The current environment doesn't support interactive reading from TTY.",Oe=require("fs"),bO=process.binding("tty_wrap").TTY,Vh=require("child_process"),kr=require("path"),Kh={prompt:"> ",hideEchoBack:!1,mask:"*",limit:[],limitMessage:"Input another, please.$<( [)limit(])>",defaultInput:"",trueValue:[],falseValue:[],caseSensitive:!1,keepWhitespace:!1,encoding:"utf8",bufferSize:1024,print:void 0,history:!0,cd:!1,phContent:void 0,preCheck:void 0},Gn="none",xO=!1,Zq=0,em="",_i=[],wO=!1,Zh=!1,uo=!1,xn,$a,Or,Jl,Gh,Ql;function _O(e){function t(n){return n.replace(/[^\w\u0080-\uFFFF]/g,function(r){return"#"+r.charCodeAt(0)+";"})}return Jl.concat(function(n){var r=[];return Object.keys(n).forEach(function(i){n[i]==="boolean"?e[i]&&r.push("--"+i):n[i]==="string"&&e[i]&&r.push("--"+i,t(e[i]))}),r}({display:"string",displayOnly:"boolean",keyIn:"boolean",hideEchoBack:"boolean",mask:"string",limit:"string",caseSensitive:"boolean"}))}function Jq(e,t){function n(x){var w="",T,k;for(Gh=Gh||require("os").tmpdir();;){T=kr.join(Gh,x+w);try{k=Oe.openSync(T,"wx")}catch(O){if(O.code==="EEXIST"){w++;continue}else throw O}Oe.closeSync(k);break}return T}var r={},i=n("readline-sync.stdout"),a=n("readline-sync.stderr"),s=n("readline-sync.exit"),o=n("readline-sync.done"),c=require("crypto"),u,l,p,f,d,v,g,h;v=c.createHash(Kq),v.update(""+process.pid+Zq+++Math.random()),h=v.digest("hex"),g=c.createDecipher(Yh,h),u=_O(e),Si?(l=process.env.ComSpec||"cmd.exe",process.env.Q='"',p=["/V:ON","/S","/C","(%Q%"+l+"%Q% /V:ON /S /C %Q%%Q%"+Or+"%Q%"+u.map(function(x){return" %Q%"+x+"%Q%"}).join("")+" & (echo !ERRORLEVEL!)>%Q%"+s+"%Q%%Q%) 2>%Q%"+a+"%Q% |%Q%"+process.execPath+"%Q% %Q%"+__dirname+"\\encrypt.js%Q% %Q%"+Yh+"%Q% %Q%"+h+"%Q% >%Q%"+i+"%Q% & (echo 1)>%Q%"+o+"%Q%"]):(l="/bin/sh",p=["-c",'("'+Or+'"'+u.map(function(x){return" '"+x.replace(/'/g,"'\\''")+"'"}).join("")+'; echo $?>"'+s+'") 2>"'+a+'" |"'+process.execPath+'" "'+__dirname+'/encrypt.js" "'+Yh+'" "'+h+'" >"'+i+'"; echo 1 >"'+o+'"']),uo&&uo("_execFileSync",u);try{Vh.spawn(l,p,t)}catch(x){r.error=new Error(x.message),r.error.method="_execFileSync - spawn",r.error.program=l,r.error.args=p}for(;Oe.readFileSync(o,{encoding:e.encoding}).trim()!=="1";);return(f=Oe.readFileSync(s,{encoding:e.encoding}).trim())==="0"?r.input=g.update(Oe.readFileSync(i,{encoding:"binary"}),"hex",e.encoding)+g.final(e.encoding):(d=Oe.readFileSync(a,{encoding:e.encoding}).trim(),r.error=new Error(yO+(d?`
|
|
190
|
+
`+d:"")),r.error.method="_execFileSync",r.error.program=l,r.error.args=p,r.error.extMessage=d,r.error.exitCode=+f),Oe.unlinkSync(i),Oe.unlinkSync(a),Oe.unlinkSync(s),Oe.unlinkSync(o),r}function Qq(e){var t={},n={env:process.env,encoding:e.encoding},r,i;if(Or||(Si?process.env.PSModulePath?(Or="powershell.exe",Jl=["-ExecutionPolicy","Bypass","-File",__dirname+"\\read.ps1"]):(Or="cscript.exe",Jl=["//nologo",__dirname+"\\read.cs.js"]):(Or="/bin/sh",Jl=[__dirname+"/read.sh"])),Si&&!process.env.PSModulePath&&(n.stdio=[process.stdin]),Vh.execFileSync){r=_O(e),uo&&uo("execFileSync",r);try{t.input=Vh.execFileSync(Or,r,n)}catch(a){i=a.stderr?(a.stderr+"").trim():"",t.error=new Error(yO+(i?`
|
|
191
|
+
`+i:"")),t.error.method="execFileSync",t.error.program=Or,t.error.args=r,t.error.extMessage=i,t.error.exitCode=a.status,t.error.code=a.code,t.error.signal=a.signal}}else t=Jq(e,n);return t.error||(t.input=t.input.replace(/^\s*'|'\s*$/g,""),e.display=""),t}function Jh(e){var t="",n=e.display,r=!e.display&&e.keyIn&&e.hideEchoBack&&!e.mask;function i(){var a=Qq(e);if(a.error)throw a.error;return a.input}return Zh&&Zh(e),function(){var a,s,o;function c(){return a||(a=process.binding("fs"),s=process.binding("constants"),s=s&&s.fs&&typeof s.fs.O_RDWR=="number"?s.fs:s),a}if(typeof Gn=="string")if(Gn=null,Si){if(o=function(u){var l=u.replace(/^\D+/,"").split("."),p=0;return(l[0]=+l[0])&&(p+=l[0]*1e4),(l[1]=+l[1])&&(p+=l[1]*100),(l[2]=+l[2])&&(p+=l[2]),p}(process.version),!(o>=20302&&o<40204||o>=5e4&&o<50100||o>=50600&&o<60200)&&process.stdin.isTTY)process.stdin.pause(),Gn=process.stdin.fd,$a=process.stdin._handle;else try{Gn=c().open("CONIN$",s.O_RDWR,parseInt("0666",8)),$a=new bO(Gn,!0)}catch{}if(process.stdout.isTTY)xn=process.stdout.fd;else{try{xn=Oe.openSync("\\\\.\\CON","w")}catch{}if(typeof xn!="number")try{xn=c().open("CONOUT$",s.O_RDWR,parseInt("0666",8))}catch{}}}else{if(process.stdin.isTTY){process.stdin.pause();try{Gn=Oe.openSync("/dev/tty","r"),$a=process.stdin._handle}catch{}}else try{Gn=Oe.openSync("/dev/tty","r"),$a=new bO(Gn,!1)}catch{}if(process.stdout.isTTY)xn=process.stdout.fd;else try{xn=Oe.openSync("/dev/tty","w")}catch{}}}(),function(){var a=!e.hideEchoBack&&!e.keyIn,s,o,c,u,l,p,f;Ql="";function d(v){return v===xO?!0:$a.setRawMode(v)!==0?!1:(xO=v,!0)}if(wO||!$a||typeof xn!="number"&&(e.display||!a)){t=i();return}if(e.display&&(Oe.writeSync(xn,e.display),e.display=""),!e.displayOnly){if(!d(!a)){t=i();return}for(u=e.keyIn?1:e.bufferSize,c=Buffer.allocUnsafe&&Buffer.alloc?Buffer.alloc(u):new Buffer(u),e.keyIn&&e.limit&&(o=new RegExp("[^"+e.limit+"]","g"+(e.caseSensitive?"":"i")));;){l=0;try{l=Oe.readSync(Gn,c,0,u)}catch(v){if(v.code!=="EOF"){d(!1),t+=i();return}}if(l>0?(p=c.toString(e.encoding,0,l),Ql+=p):(p=`
|
|
192
|
+
`,Ql+=String.fromCharCode(0)),p&&typeof(f=(p.match(/^(.*?)[\r\n]/)||[])[1])=="string"&&(p=f,s=!0),p&&(p=p.replace(/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]/g,"")),p&&o&&(p=p.replace(o,"")),p&&(a||(e.hideEchoBack?e.mask&&Oe.writeSync(xn,new Array(p.length+1).join(e.mask)):Oe.writeSync(xn,p)),t+=p),!e.keyIn&&s||e.keyIn&&t.length>=u)break}!a&&!r&&Oe.writeSync(xn,`
|
|
193
|
+
`),d(!1)}}(),e.print&&!r&&e.print(n+(e.displayOnly?"":(e.hideEchoBack?new Array(t.length+1).join(e.mask):t)+`
|
|
194
|
+
`),e.encoding),e.displayOnly?"":em=e.keepWhitespace||e.keyIn?t:t.trim()}function Xq(e,t){var n=[];function r(i){i!=null&&(Array.isArray(i)?i.forEach(r):(!t||t(i))&&n.push(i))}return r(e),n}function tm(e){return e.replace(/[\x00-\x7f]/g,function(t){return"\\x"+("00"+t.charCodeAt().toString(16)).substr(-2)})}function ot(){var e=Array.prototype.slice.call(arguments),t,n;return e.length&&typeof e[0]=="boolean"&&(n=e.shift(),n&&(t=Object.keys(Kh),e.unshift(Kh))),e.reduce(function(r,i){return i==null||(i.hasOwnProperty("noEchoBack")&&!i.hasOwnProperty("hideEchoBack")&&(i.hideEchoBack=i.noEchoBack,delete i.noEchoBack),i.hasOwnProperty("noTrim")&&!i.hasOwnProperty("keepWhitespace")&&(i.keepWhitespace=i.noTrim,delete i.noTrim),n||(t=Object.keys(i)),t.forEach(function(a){var s;if(!!i.hasOwnProperty(a))switch(s=i[a],a){case"mask":case"limitMessage":case"defaultInput":case"encoding":s=s!=null?s+"":"",s&&a!=="limitMessage"&&(s=s.replace(/[\r\n]/g,"")),r[a]=s;break;case"bufferSize":!isNaN(s=parseInt(s,10))&&typeof s=="number"&&(r[a]=s);break;case"displayOnly":case"keyIn":case"hideEchoBack":case"caseSensitive":case"keepWhitespace":case"history":case"cd":r[a]=!!s;break;case"limit":case"trueValue":case"falseValue":r[a]=Xq(s,function(o){var c=typeof o;return c==="string"||c==="number"||c==="function"||o instanceof RegExp}).map(function(o){return typeof o=="string"?o.replace(/[\r\n]/g,""):o});break;case"print":case"phContent":case"preCheck":r[a]=typeof s=="function"?s:void 0;break;case"prompt":case"display":r[a]=s??"";break}})),r},{})}function Qh(e,t,n){return t.some(function(r){var i=typeof r;return i==="string"?n?e===r:e.toLowerCase()===r.toLowerCase():i==="number"?parseFloat(e)===r:i==="function"?r(e):r instanceof RegExp?r.test(e):!1})}function nm(e,t){var n=kr.normalize(Si?(process.env.HOMEDRIVE||"")+(process.env.HOMEPATH||""):process.env.HOME||"").replace(/[/\\]+$/,"");return e=kr.normalize(e),t?e.replace(/^~(?=\/|\\|$)/,n):e.replace(new RegExp("^"+tm(n)+"(?=\\/|\\\\|$)",Si?"i":""),"~")}function Ua(e,t){var n="(?:\\(([\\s\\S]*?)\\))?(\\w+|.-.)(?:\\(([\\s\\S]*?)\\))?",r=new RegExp("(\\$)?(\\$<"+n+">)","g"),i=new RegExp("(\\$)?(\\$\\{"+n+"\\})","g");function a(s,o,c,u,l,p){var f;return o||typeof(f=t(l))!="string"?c:f?(u||"")+f+(p||""):""}return e.replace(r,a).replace(i,a)}function SO(e,t,n){var r=[],i=-1,a=0,s="",o,c;function u(l,p){return p.length>3?(l.push(p[0]+"..."+p[p.length-1]),c=!0):p.length&&(l=l.concat(p)),l}return o=e.reduce(function(l,p){return l.concat((p+"").split(""))},[]).reduce(function(l,p){var f,d;return t||(p=p.toLowerCase()),f=/^\d$/.test(p)?1:/^[A-Z]$/.test(p)?2:/^[a-z]$/.test(p)?3:0,n&&f===0?s+=p:(d=p.charCodeAt(0),f&&f===i&&d===a+1?r.push(p):(l=u(l,r),r=[p],i=f),a=d),l},[]),o=u(o,r),s&&(o.push(s),c=!0),{values:o,suppressed:c}}function EO(e,t){return e.join(e.length>2?", ":t?" / ":"/")}function OO(e,t){var n={},r,i,a;if(t.phContent&&(r=t.phContent(e,t)),typeof r!="string")switch(e){case"hideEchoBack":case"mask":case"defaultInput":case"caseSensitive":case"keepWhitespace":case"encoding":case"bufferSize":case"history":case"cd":r=t.hasOwnProperty(e)?typeof t[e]=="boolean"?t[e]?"on":"off":t[e]+"":"";break;case"limit":case"trueValue":case"falseValue":i=t[t.hasOwnProperty(e+"Src")?e+"Src":e],t.keyIn?(n=SO(i,t.caseSensitive),i=n.values):i=i.filter(function(s){var o=typeof s;return o==="string"||o==="number"}),r=EO(i,n.suppressed);break;case"limitCount":case"limitCountNotZero":r=t[t.hasOwnProperty("limitSrc")?"limitSrc":"limit"].length,r=r||e!=="limitCountNotZero"?r+"":"";break;case"lastInput":r=em;break;case"cwd":case"CWD":case"cwdHome":r=process.cwd(),e==="CWD"?r=kr.basename(r):e==="cwdHome"&&(r=nm(r));break;case"date":case"time":case"localeDate":case"localeTime":r=new Date()["to"+e.replace(/^./,function(s){return s.toUpperCase()})+"String"]();break;default:typeof(a=(e.match(/^history_m(\d+)$/)||[])[1])=="string"&&(r=_i[_i.length-a]||"")}return r}function kO(e){var t=/^(.)-(.)$/.exec(e),n="",r,i,a,s;if(!t)return null;for(r=t[1].charCodeAt(0),i=t[2].charCodeAt(0),s=r<i?1:-1,a=r;a!==i+s;a+=s)n+=String.fromCharCode(a);return n}function Xh(e){var t=new RegExp(/(\s*)(?:("|')(.*?)(?:\2|$)|(\S+))/g),n="",r=[],i,a;for(e=e.trim();i=t.exec(e);)a=i[3]||i[4]||"",i[1]&&(r.push(n),n=""),n+=a;return n&&r.push(n),r}function TO(e,t){return t.trueValue.length&&Qh(e,t.trueValue,t.caseSensitive)?!0:t.falseValue.length&&Qh(e,t.falseValue,t.caseSensitive)?!1:e}function CO(e){var t,n,r,i,a,s,o;function c(l){return OO(l,e)}function u(l){e.display+=(/[^\r\n]$/.test(e.display)?`
|
|
195
|
+
`:"")+l}for(e.limitSrc=e.limit,e.displaySrc=e.display,e.limit="",e.display=Ua(e.display+"",c);;){if(t=Jh(e),n=!1,r="",e.defaultInput&&!t&&(t=e.defaultInput),e.history&&((i=/^\s*!(?:!|-1)(:p)?\s*$/.exec(t))?(a=_i[0]||"",i[1]?n=!0:t=a,u(a+`
|
|
196
|
+
`),n||(e.displayOnly=!0,Jh(e),e.displayOnly=!1)):t&&t!==_i[_i.length-1]&&(_i=[t])),!n&&e.cd&&t)switch(s=Xh(t),s[0].toLowerCase()){case"cd":if(s[1])try{process.chdir(nm(s[1],!0))}catch(l){u(l+"")}n=!0;break;case"pwd":u(process.cwd()),n=!0;break}if(!n&&e.preCheck&&(o=e.preCheck(t,e),t=o.res,o.forceNext&&(n=!0)),!n){if(!e.limitSrc.length||Qh(t,e.limitSrc,e.caseSensitive))break;e.limitMessage&&(r=Ua(e.limitMessage,c))}u((r?r+`
|
|
197
|
+
`:"")+Ua(e.displaySrc+"",c))}return TO(t,e)}ue._DBG_set_useExt=function(e){wO=e};ue._DBG_set_checkOptions=function(e){Zh=e};ue._DBG_set_checkMethod=function(e){uo=e};ue._DBG_clearHistory=function(){em="",_i=[]};ue.setDefaultOptions=function(e){return Kh=ot(!0,e),ot(!0)};ue.question=function(e,t){return CO(ot(ot(!0,t),{display:e}))};ue.prompt=function(e){var t=ot(!0,e);return t.display=t.prompt,CO(t)};ue.keyIn=function(e,t){var n=ot(ot(!0,t),{display:e,keyIn:!0,keepWhitespace:!0});return n.limitSrc=n.limit.filter(function(r){var i=typeof r;return i==="string"||i==="number"}).map(function(r){return Ua(r+"",kO)}),n.limit=tm(n.limitSrc.join("")),["trueValue","falseValue"].forEach(function(r){n[r]=n[r].reduce(function(i,a){var s=typeof a;return s==="string"||s==="number"?i=i.concat((a+"").split("")):i.push(a),i},[])}),n.display=Ua(n.display+"",function(r){return OO(r,n)}),TO(Jh(n),n)};ue.questionEMail=function(e,t){return e==null&&(e="Input e-mail address: "),ue.question(e,ot({hideEchoBack:!1,limit:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,limitMessage:"Input valid e-mail address, please.",trueValue:null,falseValue:null},t,{keepWhitespace:!1,cd:!1}))};ue.questionNewPassword=function(e,t){var n,r,i,a=ot({hideEchoBack:!0,mask:"*",limitMessage:`It can include: $<charlist>
|
|
198
|
+
And the length must be: $<length>`,trueValue:null,falseValue:null,caseSensitive:!0},t,{history:!1,cd:!1,phContent:function(d){return d==="charlist"?n.text:d==="length"?r+"..."+i:null}}),s,o,c,u,l,p,f;for(t=t||{},s=Ua(t.charlist?t.charlist+"":"$<!-~>",kO),(isNaN(r=parseInt(t.min,10))||typeof r!="number")&&(r=12),(isNaN(i=parseInt(t.max,10))||typeof i!="number")&&(i=24),u=new RegExp("^["+tm(s)+"]{"+r+","+i+"}$"),n=SO([s],a.caseSensitive,!0),n.text=EO(n.values,n.suppressed),o=t.confirmMessage!=null?t.confirmMessage:"Reinput a same one to confirm it: ",c=t.unmatchMessage!=null?t.unmatchMessage:"It differs from first one. Hit only the Enter key if you want to retry from first one.",e==null&&(e="Input new password: "),l=a.limitMessage;!f;)a.limit=u,a.limitMessage=l,p=ue.question(e,a),a.limit=[p,""],a.limitMessage=c,f=ue.question(o,a);return p};function AO(e,t,n){var r;function i(a){return r=n(a),!isNaN(r)&&typeof r=="number"}return ue.question(e,ot({limitMessage:"Input valid number, please."},t,{limit:i,cd:!1})),r}ue.questionInt=function(e,t){return AO(e,t,function(n){return parseInt(n,10)})};ue.questionFloat=function(e,t){return AO(e,t,parseFloat)};ue.questionPath=function(e,t){var n="",r,i=ot({hideEchoBack:!1,limitMessage:`$<error(
|
|
199
|
+
)>Input valid path, please.$<( Min:)min>$<( Max:)max>`,history:!0,cd:!0},t,{keepWhitespace:!1,limit:function(a){var s,o,c;a=nm(a,!0),n="";function u(l){l.split(/\/|\\/).reduce(function(p,f){var d=kr.resolve(p+=f+kr.sep);if(!Oe.existsSync(d))Oe.mkdirSync(d);else if(!Oe.statSync(d).isDirectory())throw new Error("Non directory already exists: "+d);return p},"")}try{if(s=Oe.existsSync(a),r=s?Oe.realpathSync(a):kr.resolve(a),!t.hasOwnProperty("exists")&&!s||typeof t.exists=="boolean"&&t.exists!==s)return n=(s?"Already exists":"No such file or directory")+": "+r,!1;if(!s&&t.create&&(t.isDirectory?u(r):(u(kr.dirname(r)),Oe.closeSync(Oe.openSync(r,"w"))),r=Oe.realpathSync(r)),s&&(t.min||t.max||t.isFile||t.isDirectory)){if(o=Oe.statSync(r),t.isFile&&!o.isFile())return n="Not file: "+r,!1;if(t.isDirectory&&!o.isDirectory())return n="Not directory: "+r,!1;if(t.min&&o.size<+t.min||t.max&&o.size>+t.max)return n="Size "+o.size+" is out of range: "+r,!1}if(typeof t.validate=="function"&&(c=t.validate(r))!==!0)return typeof c=="string"&&(n=c),!1}catch(l){return n=l+"",!1}return!0},phContent:function(a){return a==="error"?n:a!=="min"&&a!=="max"?null:t.hasOwnProperty(a)?t[a]+"":""}});return t=t||{},e==null&&(e='Input path (you can "cd" and "pwd"): '),ue.question(e,i),r};function jO(e,t){var n={},r={};return typeof e=="object"?(Object.keys(e).forEach(function(i){typeof e[i]=="function"&&(r[t.caseSensitive?i:i.toLowerCase()]=e[i])}),n.preCheck=function(i){var a;return n.args=Xh(i),a=n.args[0]||"",t.caseSensitive||(a=a.toLowerCase()),n.hRes=a!=="_"&&r.hasOwnProperty(a)?r[a].apply(i,n.args.slice(1)):r.hasOwnProperty("_")?r._.apply(i,n.args):null,{res:i,forceNext:!1}},r.hasOwnProperty("_")||(n.limit=function(){var i=n.args[0]||"";return t.caseSensitive||(i=i.toLowerCase()),r.hasOwnProperty(i)})):n.preCheck=function(i){return n.args=Xh(i),n.hRes=typeof e=="function"?e.apply(i,n.args):!0,{res:i,forceNext:!1}},n}ue.promptCL=function(e,t){var n=ot({hideEchoBack:!1,limitMessage:"Requested command is not available.",caseSensitive:!1,history:!0},t),r=jO(e,n);return n.limit=r.limit,n.preCheck=r.preCheck,ue.prompt(n),r.args};ue.promptLoop=function(e,t){for(var n=ot({hideEchoBack:!1,trueValue:null,falseValue:null,caseSensitive:!1,history:!0},t);!e(ue.prompt(n)););};ue.promptCLLoop=function(e,t){var n=ot({hideEchoBack:!1,limitMessage:"Requested command is not available.",caseSensitive:!1,history:!0},t),r=jO(e,n);for(n.limit=r.limit,n.preCheck=r.preCheck;ue.prompt(n),!r.hRes;);};ue.promptSimShell=function(e){return ue.prompt(ot({hideEchoBack:!1,history:!0},e,{prompt:function(){return Si?"$<cwd>>":(process.env.USER||"")+(process.env.HOSTNAME?"@"+process.env.HOSTNAME.replace(/\..*$/,""):"")+":$<cwdHome>$ "}()}))};function RO(e,t,n){var r;return e==null&&(e="Are you sure? "),(!t||t.guide!==!1)&&(e+="")&&(e=e.replace(/\s*:?\s*$/,"")+" [y/n]: "),r=ue.keyIn(e,ot(t,{hideEchoBack:!1,limit:n,trueValue:"y",falseValue:"n",caseSensitive:!1})),typeof r=="boolean"?r:""}ue.keyInYN=function(e,t){return RO(e,t)};ue.keyInYNStrict=function(e,t){return RO(e,t,"yn")};ue.keyInPause=function(e,t){e==null&&(e="Continue..."),(!t||t.guide!==!1)&&(e+="")&&(e=e.replace(/\s+$/,"")+" (Hit any key)"),ue.keyIn(e,ot({limit:null},t,{hideEchoBack:!0,mask:""}))};ue.keyInSelect=function(e,t,n){var r=ot({hideEchoBack:!1},n,{trueValue:null,falseValue:null,caseSensitive:!1,phContent:function(c){return c==="itemsCount"?e.length+"":c==="firstItem"?(e[0]+"").trim():c==="lastItem"?(e[e.length-1]+"").trim():null}}),i="",a={},s=49,o=`
|
|
200
|
+
`;if(!Array.isArray(e)||!e.length||e.length>35)throw"`items` must be Array (max length: 35).";return e.forEach(function(c,u){var l=String.fromCharCode(s);i+=l,a[l]=u,o+="["+l+"] "+(c+"").trim()+`
|
|
201
|
+
`,s=s===57?97:s+1}),(!n||n.cancel!==!1)&&(i+="0",a[0]=-1,o+="[0] "+(n&&n.cancel!=null&&typeof n.cancel!="boolean"?(n.cancel+"").trim():"CANCEL")+`
|
|
202
|
+
`),r.limit=i,o+=`
|
|
203
|
+
`,t==null&&(t="Choose one from list: "),(t+="")&&((!n||n.guide!==!1)&&(t=t.replace(/\s*:?\s*$/,"")+" [$<limit>]: "),o+=t),a[ue.keyIn(o,r).toLowerCase()]};ue.getRawInput=function(){return Ql};function po(e,t){var n;return t.length&&(n={},n[e]=t[0]),ue.setDefaultOptions(n)[e]}ue.setPrint=function(){return po("print",arguments)};ue.setPrompt=function(){return po("prompt",arguments)};ue.setEncoding=function(){return po("encoding",arguments)};ue.setMask=function(){return po("mask",arguments)};ue.setBufferSize=function(){return po("bufferSize",arguments)}});var NB={};module.exports=sk(NB);var yo=require("assert");var ok={right:fk,center:dk},ck=0,fo=1,lk=2,ho=3,iu=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(r=>typeof r=="string"?this.colFromString(r):r);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(`
|
|
204
|
+
`).map(i=>i.split(" ")),r=0;return n.forEach(i=>{i.length>1&&Nt.stringWidth(i[0])>r&&(r=Math.min(Math.floor(this.width*.5),Nt.stringWidth(i[0])))}),n.forEach(i=>{this.div(...i.map((a,s)=>({text:a.trim(),padding:this.measurePadding(a),width:s===0&&i.length>1?r:void 0})))}),this.rows[this.rows.length-1]}colFromString(t){return{text:t,padding:this.measurePadding(t)}}measurePadding(t){let n=Nt.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(`
|
|
205
|
+
`)}rowToString(t,n){return this.rasterize(t).forEach((r,i)=>{let a="";r.forEach((s,o)=>{let{width:c}=t[o],u=this.negatePadding(t[o]),l=s;if(u>Nt.stringWidth(s)&&(l+=" ".repeat(u-Nt.stringWidth(s))),t[o].align&&t[o].align!=="left"&&this.wrap){let f=ok[t[o].align];l=f(l,u),Nt.stringWidth(l)<u&&(l+=" ".repeat((c||0)-Nt.stringWidth(l)-1))}let p=t[o].padding||[0,0,0,0];p[ho]&&(a+=" ".repeat(p[ho])),a+=bm(t[o],l,"| "),a+=l,a+=bm(t[o],l," |"),p[fo]&&(a+=" ".repeat(p[fo])),i===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 r=t.match(/^ */),i=r?r[0].length:0,a=n.text,s=Nt.stringWidth(a.trimRight());return n.span?this.wrap?i<s?t:(n.hidden=!0,a.trimRight()+" ".repeat(i-s)+t.trimLeft()):(n.hidden=!0,a+t):t}rasterize(t){let n=[],r=this.columnWidths(t),i;return t.forEach((a,s)=>{a.width=r[s],this.wrap?i=Nt.wrap(a.text,this.negatePadding(a),{hard:!0}).split(`
|
|
192
206
|
`):i=a.text.split(`
|
|
193
|
-
`),a.border&&(i.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),i.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(i.unshift(...new Array(a.padding[
|
|
194
|
-
`),i+=e.charAt(a);return n&&r&&(i=`${n}${i}${r}`),i}function Yl(e){return Hh(e,{stringWidth:t=>[...t].length,stripAnsi:Hl,wrap:Gh})}var mi=require("path"),Qs=require("fs");function Kh(e,t){let n=(0,mi.resolve)(".",e),r;for((0,Qs.statSync)(n).isDirectory()||(n=(0,mi.dirname)(n));;){if(r=t(n,(0,Qs.readdirSync)(n)),r)return(0,mi.resolve)(n,r);if(n=(0,mi.dirname)(r=n),r===n)break}}var lm=require("util"),um=require("fs"),pm=require("url");var Xh=require("util"),ro=require("path");function wr(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf("-")===-1&&e.indexOf("_")===-1)return e;{let n="",r=!1,i=e.match(/^-+/);for(let a=i?i[0].length:0;a<e.length;a++){let s=e.charAt(a);r&&(r=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?r=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function eo(e,t){let n=e.toLowerCase();t=t||"-";let r="";for(let i=0;i<e.length;i++){let a=n.charAt(i),s=e.charAt(i);a!==s&&i>0?r+=`${t}${n.charAt(i)}`:r+=s}return r}function to(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 Vh(e){if(Array.isArray(e))return e.map(s=>typeof s!="string"?s+"":s);e=e.trim();let t=0,n=null,r=null,i=null,a=[];for(let s=0;s<e.length;s++){if(n=r,r=e.charAt(s),r===" "&&!i){n!==" "&&t++;continue}r===i?i=null:(r==="'"||r==='"')&&!i&&(i=r),a[t]||(a[t]=""),a[t]+=r}return a}var Yt;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Yt||(Yt={}));var Cn,no=class{constructor(t){Cn=t}parse(t,n){let r=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),i=Vh(t),a=typeof t=="string",s=yO(Object.assign(Object.create(null),r.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},r.configuration),c=Object.assign(Object.create(null),r.default),u=r.configObjects||[],l=r.envPrefix,p=o["populate--"],f=p?"--":"_",m=Object.create(null),v=Object.create(null),g=r.__||Cn.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(r.array||[]).filter(Boolean).forEach(function(y){let E=typeof y=="object"?y.key:y,I=Object.keys(y).map(function(j){return{boolean:"bools",string:"strings",number:"numbers"}[j]}).filter(Boolean).pop();I&&(d[I][E]=!0),d.arrays[E]=!0,d.keys.push(E)}),[].concat(r.boolean||[]).filter(Boolean).forEach(function(y){d.bools[y]=!0,d.keys.push(y)}),[].concat(r.string||[]).filter(Boolean).forEach(function(y){d.strings[y]=!0,d.keys.push(y)}),[].concat(r.number||[]).filter(Boolean).forEach(function(y){d.numbers[y]=!0,d.keys.push(y)}),[].concat(r.count||[]).filter(Boolean).forEach(function(y){d.counts[y]=!0,d.keys.push(y)}),[].concat(r.normalize||[]).filter(Boolean).forEach(function(y){d.normalize[y]=!0,d.keys.push(y)}),typeof r.narg=="object"&&Object.entries(r.narg).forEach(([y,E])=>{typeof E=="number"&&(d.nargs[y]=E,d.keys.push(y))}),typeof r.coerce=="object"&&Object.entries(r.coerce).forEach(([y,E])=>{typeof E=="function"&&(d.coercions[y]=E,d.keys.push(y))}),typeof r.config<"u"&&(Array.isArray(r.config)||typeof r.config=="string"?[].concat(r.config).filter(Boolean).forEach(function(y){d.configs[y]=!0}):typeof r.config=="object"&&Object.entries(r.config).forEach(([y,E])=>{(typeof E=="boolean"||typeof E=="function")&&(d.configs[y]=E)})),ae(r.key,s,r.default,d.arrays),Object.keys(c).forEach(function(y){(d.aliases[y]||[]).forEach(function(E){c[E]=c[y]})});let T=null;Ul();let k=[],O=Object.assign(Object.create(null),{_:[]}),D={};for(let y=0;y<i.length;y++){let E=i[y],I=E.replace(/^-{3,}/,"---"),j,S,V,z,te,Je;if(E!=="--"&&le(E))B(E);else if(I.match(/---+(=|$)/)){B(E);continue}else if(E.match(/^--.+=/)||!o["short-option-groups"]&&E.match(/^-.+=/))z=E.match(/^--?([^=]+)=([\s\S]*)$/),z!==null&&Array.isArray(z)&&z.length>=3&&($(z[1],d.arrays)?y=W(y,z[1],i,z[2]):$(z[1],d.nargs)!==!1?y=N(y,z[1],i,z[2]):F(z[1],z[2],!0));else if(E.match(_)&&o["boolean-negation"])z=E.match(_),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],F(S,$(S,d.arrays)?[!1]:!1));else if(E.match(/^--.+/)||!o["short-option-groups"]&&E.match(/^-[^-]+/))z=E.match(/^--?(.+)/),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],$(S,d.arrays)?y=W(y,S,i):$(S,d.nargs)!==!1?y=N(y,S,i):(te=i[y+1],te!==void 0&&(!te.match(/^-/)||te.match(x))&&!$(S,d.bools)&&!$(S,d.counts)||/^(true|false)$/.test(te)?(F(S,te),y++):F(S,re(S))));else if(E.match(/^-.\..+=/))z=E.match(/^-([^=]+)=([\s\S]*)$/),z!==null&&Array.isArray(z)&&z.length>=3&&F(z[1],z[2]);else if(E.match(/^-.\..+/)&&!E.match(x))te=i[y+1],z=E.match(/^-(.\..+)/),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],te!==void 0&&!te.match(/^-/)&&!$(S,d.bools)&&!$(S,d.counts)?(F(S,te),y++):F(S,re(S)));else if(E.match(/^-[^-]+/)&&!E.match(x)){V=E.slice(1,-1).split(""),j=!1;for(let gt=0;gt<V.length;gt++){if(te=E.slice(gt+2),V[gt+1]&&V[gt+1]==="="){Je=E.slice(gt+3),S=V[gt],$(S,d.arrays)?y=W(y,S,i,Je):$(S,d.nargs)!==!1?y=N(y,S,i,Je):F(S,Je),j=!0;break}if(te==="-"){F(V[gt],te);continue}if(/[A-Za-z]/.test(V[gt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(te)&&$(te,d.bools)===!1){F(V[gt],te),j=!0;break}if(V[gt+1]&&V[gt+1].match(/\W/)){F(V[gt],te),j=!0;break}else F(V[gt],re(V[gt]))}S=E.slice(-1)[0],!j&&S!=="-"&&($(S,d.arrays)?y=W(y,S,i):$(S,d.nargs)!==!1?y=N(y,S,i):(te=i[y+1],te!==void 0&&(!/^(-|--)[^-]/.test(te)||te.match(x))&&!$(S,d.bools)&&!$(S,d.counts)||/^(true|false)$/.test(te)?(F(S,te),y++):F(S,re(S))))}else if(E.match(/^-[0-9]$/)&&E.match(x)&&$(E.slice(1),d.bools))S=E.slice(1),F(S,re(S));else if(E==="--"){k=i.slice(y+1);break}else if(o["halt-at-non-option"]){k=i.slice(y);break}else B(E)}be(O,!0),be(O,!1),L(O),ue(),pe(O,d.aliases,c,!0),ee(O),o["set-placeholder-key"]&&Ee(O),Object.keys(d.counts).forEach(function(y){K(O,y.split("."))||F(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=>wr(E)).join(".")],delete O[y]});function B(y){let E=R("_",y);(typeof E=="string"||typeof E=="number")&&O._.push(E)}function N(y,E,I,j){let S,V=$(E,d.nargs);if(V=typeof V!="number"||isNaN(V)?1:V,V===0)return Ke(j)||(T=Error(g("Argument unexpected for: %s",E))),F(E,re(E)),y;let z=Ke(j)?0:1;if(o["nargs-eats-options"])I.length-(y+1)+z<V&&(T=Error(g("Not enough arguments following: %s",E))),z=V;else{for(S=y+1;S<I.length&&(!I[S].match(/^-[^0-9]/)||I[S].match(x)||le(I[S]));S++)z++;z<V&&(T=Error(g("Not enough arguments following: %s",E)))}let te=Math.min(z,V);for(!Ke(j)&&te>0&&(F(E,j),te--),S=y+1;S<te+y+1;S++)F(E,I[S]);return y+te}function W(y,E,I,j){let S=[],V=j||I[y+1],z=$(E,d.nargs);if($(E,d.bools)&&!/^(true|false)$/.test(V))S.push(!0);else if(Ke(V)||Ke(j)&&/^-/.test(V)&&!x.test(V)&&!le(V)){if(c[E]!==void 0){let te=c[E];S=Array.isArray(te)?te:[te]}}else{Ke(j)||S.push(M(E,j,!0));for(let te=y+1;te<I.length&&!(!o["greedy-arrays"]&&S.length>0||z&&typeof z=="number"&&S.length>=z||(V=I[te],/^-/.test(V)&&!x.test(V)&&!le(V)));te++)y=te,S.push(M(E,V,a))}return typeof z=="number"&&(z&&S.length<z||isNaN(z)&&S.length===0)&&(T=Error(g("Not enough arguments following: %s",E))),F(E,S),y}function F(y,E,I=a){if(/-/.test(y)&&o["camel-case-expansion"]){let V=y.split(".").map(function(z){return wr(z)}).join(".");q(y,V)}let j=M(y,E,I),S=y.split(".");de(O,S,j),d.aliases[y]&&d.aliases[y].forEach(function(V){let z=V.split(".");de(O,z,j)}),S.length>1&&o["dot-notation"]&&(d.aliases[S[0]]||[]).forEach(function(V){let z=V.split("."),te=[].concat(S);te.shift(),z=z.concat(te),(d.aliases[y]||[]).includes(z.join("."))||de(O,z,j)}),$(y,d.normalize)&&!$(y,d.arrays)&&[y].concat(d.aliases[y]||[]).forEach(function(z){Object.defineProperty(D,z,{enumerable:!0,get(){return E},set(te){E=typeof te=="string"?Cn.normalize(te):te}})})}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 M(y,E,I){I&&(E=wO(E)),($(y,d.bools)||$(y,d.counts))&&typeof E=="string"&&(E=E==="true");let j=Array.isArray(E)?E.map(function(S){return R(y,S)}):R(y,E);return $(y,d.counts)&&(Ke(j)||typeof j=="boolean")&&(j=Gl()),$(y,d.normalize)&&$(y,d.arrays)&&(Array.isArray(E)?j=E.map(S=>Cn.normalize(S)):j=Cn.normalize(E)),j}function R(y,E){return!o["parse-positional-numbers"]&&y==="_"||!$(y,d.strings)&&!$(y,d.bools)&&!Array.isArray(E)&&(to(E)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`)))||!Ke(E)&&$(y,d.numbers))&&(E=Number(E)),E}function L(y){let E=Object.create(null);pe(E,d.aliases,c),Object.keys(d.configs).forEach(function(I){let j=y[I]||E[I];if(j)try{let S=null,V=Cn.resolve(Cn.cwd(),j),z=d.configs[I];if(typeof z=="function"){try{S=z(V)}catch(te){S=te}if(S instanceof Error){T=S;return}}else S=Cn.require(V);G(S)}catch(S){S.name==="PermissionDenied"?T=S:y[I]&&(T=Error(g("Invalid JSON config file: %s",j)))}})}function G(y,E){Object.keys(y).forEach(function(I){let j=y[I],S=E?E+"."+I:I;typeof j=="object"&&j!==null&&!Array.isArray(j)&&o["dot-notation"]?G(j,S):(!K(O,S.split("."))||$(S,d.arrays)&&o["combine-arrays"])&&F(S,j)})}function ue(){typeof u<"u"&&u.forEach(function(y){G(y)})}function be(y,E){if(typeof l>"u")return;let I=typeof l=="string"?l:"",j=Cn.env();Object.keys(j).forEach(function(S){if(I===""||S.lastIndexOf(I,0)===0){let V=S.split("__").map(function(z,te){return te===0&&(z=z.substring(I.length)),wr(z)});(E&&d.configs[V.join(".")]||!E)&&!K(y,V)&&F(V.join("."),j[S])}})}function ee(y){let E,I=new Set;Object.keys(y).forEach(function(j){if(!I.has(j)&&(E=$(j,d.coercions),typeof E=="function"))try{let S=R(j,E(y[j]));[].concat(d.aliases[j]||[],j).forEach(V=>{I.add(V),y[V]=S})}catch(S){T=S}})}function Ee(y){return d.keys.forEach(E=>{~E.indexOf(".")||typeof y[E]>"u"&&(y[E]=void 0)}),y}function pe(y,E,I,j=!1){Object.keys(I).forEach(function(S){K(y,S.split("."))||(de(y,S.split("."),I[S]),j&&(v[S]=!0),(E[S]||[]).forEach(function(V){K(y,V.split("."))||de(y,V.split("."),I[S])}))})}function K(y,E){let I=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(S){I=I[S]||{}});let j=E[E.length-1];return typeof I!="object"?!1:j in I}function de(y,E,I){let j=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(Je){Je=Zh(Je),typeof j=="object"&&j[Je]===void 0&&(j[Je]={}),typeof j[Je]!="object"||Array.isArray(j[Je])?(Array.isArray(j[Je])?j[Je].push({}):j[Je]=[j[Je],{}],j=j[Je][j[Je].length-1]):j=j[Je]});let S=Zh(E[E.length-1]),V=$(E.join("."),d.arrays),z=Array.isArray(I),te=o["duplicate-arguments-array"];!te&&$(S,d.nargs)&&(te=!0,(!Ke(j[S])&&d.nargs[S]===1||Array.isArray(j[S])&&j[S].length===d.nargs[S])&&(j[S]=void 0)),I===Gl()?j[S]=Gl(j[S]):Array.isArray(j[S])?te&&V&&z?j[S]=o["flatten-duplicate-arrays"]?j[S].concat(I):(Array.isArray(j[S][0])?j[S]:[j[S]]).concat([I]):!te&&Boolean(V)===Boolean(z)?j[S]=I:j[S]=j[S].concat([I]):j[S]===void 0&&V?j[S]=z?I:[I]:te&&!(j[S]===void 0||$(S,d.counts)||$(S,d.bools))?j[S]=[j[S],I]:j[S]=I}function ae(...y){y.forEach(function(E){Object.keys(E||{}).forEach(function(I){d.aliases[I]||(d.aliases[I]=[].concat(s[I]||[]),d.aliases[I].concat(I).forEach(function(j){if(/-/.test(j)&&o["camel-case-expansion"]){let S=wr(j);S!==I&&d.aliases[I].indexOf(S)===-1&&(d.aliases[I].push(S),m[S]=!0)}}),d.aliases[I].concat(I).forEach(function(j){if(j.length>1&&/[A-Z]/.test(j)&&o["camel-case-expansion"]){let S=eo(j,"-");S!==I&&d.aliases[I].indexOf(S)===-1&&(d.aliases[I].push(S),m[S]=!0)}}),d.aliases[I].forEach(function(j){d.aliases[j]=[I].concat(d.aliases[I].filter(function(S){return j!==S}))}))})})}function $(y,E){let I=[].concat(d.aliases[y]||[],y),j=Object.keys(E),S=I.find(V=>j.includes(V));return S?E[S]:!1}function mt(y){let E=Object.keys(d);return[].concat(E.map(j=>d[j])).some(function(j){return Array.isArray(j)?j.includes(y):j[y]})}function Ht(y,...E){return[].concat(...E).some(function(j){let S=y.match(j);return S&&mt(S[1])})}function X(y){if(y.match(x)||!y.match(/^-[^-]+/))return!1;let E=!0,I,j=y.slice(1).split("");for(let S=0;S<j.length;S++){if(I=y.slice(S+2),!mt(j[S])){E=!1;break}if(j[S+1]&&j[S+1]==="="||I==="-"||/[A-Za-z]/.test(j[S])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(I)||j[S+1]&&j[S+1].match(/\W/))break}return E}function le(y){return o["unknown-options-as-args"]&&Pe(y)}function Pe(y){return y=y.replace(/^-{3,}/,"--"),y.match(x)||X(y)?!1:!Ht(y,/^-+([^=]+?)=[\s\S]*$/,_,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function re(y){return!$(y,d.bools)&&!$(y,d.counts)&&`${y}`in c?c[y]:$e(Fe(y))}function $e(y){return{[Yt.BOOLEAN]:!0,[Yt.STRING]:"",[Yt.NUMBER]:void 0,[Yt.ARRAY]:[]}[y]}function Fe(y){let E=Yt.BOOLEAN;return $(y,d.strings)?E=Yt.STRING:$(y,d.numbers)?E=Yt.NUMBER:$(y,d.bools)?E=Yt.BOOLEAN:$(y,d.arrays)&&(E=Yt.ARRAY),E}function Ke(y){return y===void 0}function Ul(){Object.keys(d.counts).find(y=>$(y,d.arrays)?(T=Error(g("Invalid configuration: %s, opts.count excludes opts.array.",y)),!0):$(y,d.nargs)?(T=Error(g("Invalid configuration: %s, opts.count excludes opts.narg.",y)),!0):!1)}return{aliases:Object.assign({},d.aliases),argv:Object.assign(D,O),configuration:o,defaulted:Object.assign({},v),error:T,newAliases:Object.assign({},m)}}};function yO(e){let t=[],n=Object.create(null),r=!0;for(Object.keys(e).forEach(function(i){t.push([].concat(e[i],i))});r;){r=!1;for(let i=0;i<t.length;i++)for(let a=i+1;a<t.length;a++)if(t[i].filter(function(o){return t[a].indexOf(o)!==-1}).length){t[i]=t[i].concat(t[a]),t.splice(a,1),r=!0;break}}return t.forEach(function(i){i=i.filter(function(s,o,c){return c.indexOf(s)===o});let a=i.pop();a!==void 0&&typeof a=="string"&&(n[a]=i)}),n}function Gl(e){return e!==void 0?e+1:1}function Zh(e){return e==="__proto__"?"___proto___":e}function wO(e){return typeof e=="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}var Qh=require("fs");var Jh=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])<Jh)throw Error(`yargs parser supports a minimum Node.js version of ${Jh}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var _O=process?process.env:{},em=new no({cwd:process.cwd,env:()=>_O,format:Xh.format,normalize:ro.normalize,resolve:ro.resolve,require:e=>{if(typeof require<"u")return require(e);if(e.match(/\.json$/))return JSON.parse((0,Qh.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),Ia=function(t,n){return em.parse(t.slice(),n).argv};Ia.detailed=function(e,t){return em.parse(e.slice(),t)};Ia.camelCase=wr;Ia.decamelize=eo;Ia.looksLikeNumber=to;var Kl=Ia;var rn=require("path");function tm(){return SO()?0:1}function SO(){return EO()&&!process.defaultApp}function EO(){return!!process.versions.electron}function Vl(e){return e.slice(tm()+1)}function nm(){return process.argv[tm()]}var Se=class extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,Se)}};var gi=require("fs"),rm=require("util"),im=require("path"),am={fs:{readFileSync:gi.readFileSync,writeFile:gi.writeFile},format:rm.format,resolve:im.resolve,exists:e=>{try{return(0,gi.statSync)(e).isFile()}catch{return!1}}};var nn,Zl=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(),r=function(){};return typeof t[t.length-1]=="function"&&(r=t.pop()),r=r||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:r})):r(),nn.format.apply(nn.format,[this.cache[this.locale][n]||n].concat(t))}__n(){let t=Array.prototype.slice.call(arguments),n=t.shift(),r=t.shift(),i=t.shift(),a=function(){};typeof t[t.length-1]=="function"&&(a=t.pop()),this.cache[this.locale]||this._readLocaleFile();let s=i===1?n:r;this.cache[this.locale][n]&&(s=this.cache[this.locale][n][i===1?"one":"other"]),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]={one:n,other:r},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();let o=[s];return~s.indexOf("%d")&&o.push(i),nn.format.apply(nn.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 r="";return t.forEach(function(i,a){let s=n[a+1];r+=i,typeof s<"u"&&(r+="%s")}),this.__.apply(this,[r].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],r=n.directory,i=n.locale,a=n.cb,s=this._resolveLocaleFile(r,i),o=JSON.stringify(this.cache[i],null,2);nn.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{nn.fs.readFileSync&&(t=JSON.parse(nn.fs.readFileSync(n,"utf-8")))}catch(r){if(r instanceof SyntaxError&&(r.message="syntax error in "+n),r.code==="ENOENT")t={};else throw r}this.cache[this.locale]=t}_resolveLocaleFile(t,n){let r=nn.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(r)&&~n.lastIndexOf("_")){let i=nn.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(i)&&(r=i)}return r}_fileExistsSync(t){return nn.exists(t)}};function sm(e,t){nn=t;let n=new Zl(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 OO=e=>sm(e,am),om=OO;var CO={},kO="require is not supported by ESM",cm="loading a directory of commands is not supported yet for ESM",Na;try{Na=(0,pm.fileURLToPath)(CO.url)}catch{Na=process.cwd()}var TO=Na.substring(0,Na.lastIndexOf("node_modules")),Jl={assert:{notStrictEqual:io.notStrictEqual,strictEqual:io.strictEqual},cliui:Yl,findUp:Kh,getEnv:e=>process.env[e],inspect:lm.inspect,getCallerFile:()=>{throw new Se(cm)},getProcessArgvBin:nm,mainFilename:TO||process.cwd(),Parser:Kl,path:{basename:rn.basename,dirname:rn.dirname,extname:rn.extname,relative:rn.relative,resolve:rn.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:um.readFileSync,require:()=>{throw new Se(kO)},requireDirectory:()=>{throw new Se(cm)},stringWidth:e=>[...e].length,y18n:om({directory:(0,rn.resolve)(Na,"../../../locales"),updateFiles:!1})};function vt(e,t,n,r){n.assert.notStrictEqual(e,t,r)}function Xl(e,t){t.assert.strictEqual(typeof e,"string")}function vi(e){return Object.keys(e)}function Te(e){return!!e&&!!e.then&&typeof e.then=="function"}function $n(e){let n=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),r=/\.*[\][<>]/g,i=n.shift();if(!i)throw new Error(`No command found in: ${e}`);let a={cmd:i.replace(r,""),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(r,"").split("|"),variadic:c}):a.demanded.push({cmd:s.replace(r,"").split("|"),variadic:c})}),a}var AO=["first","second","third","fourth","fifth","sixth"];function H(e,t,n){function r(){return typeof e=="object"?[{demanded:[],optional:[]},e,t]:[$n(`cmd ${e}`),t,n]}try{let i=0,[a,s,o]=r(),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 Se(`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 Se(`Too many arguments provided. Expected max ${l} but received ${u}.`);a.demanded.forEach(p=>{let f=c.shift(),m=fm(f);p.cmd.filter(g=>g===m||g==="*").length===0&&dm(m,p.cmd,i),i+=1}),a.optional.forEach(p=>{if(c.length===0)return;let f=c.shift(),m=fm(f);p.cmd.filter(g=>g===m||g==="*").length===0&&dm(m,p.cmd,i),i+=1})}catch(i){console.warn(i.stack)}}function fm(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function dm(e,t,n){throw new Se(`Invalid ${AO[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var ao=class{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,n,r=!0,i=!1){if(H("<array|function> [boolean] [boolean] [boolean]",[t,n,r],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=r}Array.prototype.push.apply(this.globalMiddleware,t)}else if(typeof t=="function"){let a=t;a.applyBeforeValidation=n,a.global=r,a.mutates=i,this.globalMiddleware.push(t)}return this.yargs}addCoerceMiddleware(t,n){let r=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(i=>{let a=[...r[n]||[],n];return i.option?!a.includes(i.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 hm(e){return e?e.map(t=>(t.applyBeforeValidation=!1,t)):[]}function _r(e,t,n,r){return n.reduce((i,a)=>{if(a.applyBeforeValidation!==r)return i;if(a.mutates){if(a.applied)return i;a.applied=!0}if(Te(i))return i.then(s=>Promise.all([s,a(s,t)])).then(([s,o])=>Object.assign(s,o));{let s=a(i,t);return Te(s)?s.then(o=>Object.assign(i,o)):Object.assign(i,s)}},e)}function Sr(e,t,n=r=>{throw r}){try{let r=jO(e)?e():e;return Te(r)?r.then(i=>t(i)):t(r)}catch(r){return n(r)}}function jO(e){return typeof e=="function"}function Ql(e){if(typeof require>"u")return null;for(let t=0,n=Object.keys(require.cache),r;t<n.length;t++)if(r=require.cache[n[t]],r.exports===e)return r;return null}var bi=/(^\*)|(^\$0)/,eu=class{constructor(t,n,r,i){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=i,this.usage=t,this.globalMiddleware=r,this.validation=n}addDirectory(t,n,r,i){i=i||{},typeof i.recurse!="boolean"&&(i.recurse=!1),Array.isArray(i.extensions)||(i.extensions=["js"]);let a=typeof i.visit=="function"?i.visit:s=>s;i.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:r},t,i)}addHandler(t,n,r,i,a,s){let o=[],c=hm(a);if(i=i||(()=>{}),Array.isArray(t))if(RO(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(PO(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(mm(r)){this.addHandler([t].concat(o),n,r.builder,r.handler,r.middlewares,r.deprecated);return}if(typeof t=="string"){let u=$n(t);o=o.map(f=>$n(f).cmd);let l=!1,p=[u.cmd].concat(o).filter(f=>bi.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(bi,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:i,builder:r||{},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,r,i,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,r.aliases,u,i,a,s);return Te(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,r,i,a,s,o,c){let u=n.builder,l=r;if(so(u)){let p=u(r.getInternalMethods().reset(i),c);if(Te(p))return p.then(f=>(l=vm(f)?f:r,this.parseAndUpdateUsage(t,n,l,a,s,o)))}else MO(u)&&(l=r.getInternalMethods().reset(i),Object.keys(n.builder).forEach(p=>{l.option(p,u[p])}));return this.parseAndUpdateUsage(t,n,l,a,s,o)}parseAndUpdateUsage(t,n,r,i,a,s){t&&r.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(r)&&r.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(i,n),n.description);let o=r.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return Te(o)?o.then(c=>({aliases:r.parsed.aliases,innerArgv:c})):{aliases:r.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&t.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(t,n){let r=bi.test(n.original)?n.original.replace(bi,"").trim():n.original,i=t.filter(a=>!bi.test(a));return i.push(r),`$0 ${i.join(" ")}`}handleValidationAndGetResult(t,n,r,i,a,s,o,c){if(!s.getInternalMethods().getHasOutput()){let u=s.getInternalMethods().runValidation(a,c,s.parsed.error,t);r=Sr(r,l=>(u(l),l))}if(n.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();let u=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(r,u,!1,!1),r=_r(r,s,o,!1),r=Sr(r,l=>{let p=n.handler(l);return Te(p)?p.then(()=>l):l}),t||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),Te(r)&&!s.getInternalMethods().hasParseCallback()&&r.catch(l=>{try{s.getInternalMethods().getUsageInstance().fail(null,l)}catch{}})}return t||(i.commands.pop(),i.fullCommands.pop()),r}applyMiddlewareAndGetResult(t,n,r,i,a,s,o){let c={};if(a)return r;o.getInternalMethods().getHasOutput()||(c=this.populatePositionals(n,r,i,o));let u=this.globalMiddleware.getMiddleware().slice(0).concat(n.middlewares),l=_r(r,o,u,!0);return Te(l)?l.then(p=>this.handleValidationAndGetResult(t,n,p,i,s,o,u,c)):this.handleValidationAndGetResult(t,n,l,i,s,o,u,c)}populatePositionals(t,n,r,i){n._=n._.slice(r.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._=r.commands.concat(n._.map(c=>""+c)),this.postProcessPositionals(n,o,this.cmdToParseOptions(t.original),i),o}populatePositional(t,n,r){let i=t.cmd[0];t.variadic?r[i]=n._.splice(0).map(String):n._.length&&(r[i]=[String(n._.shift())])}cmdToParseOptions(t){let n={array:[],default:{},alias:{},demand:{}},r=$n(t);return r.demanded.forEach(i=>{let[a,...s]=i.cmd;i.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s,n.demand[a]=!0}),r.optional.forEach(i=>{let[a,...s]=i.cmd;i.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s}),n}postProcessPositionals(t,n,r,i){let a=Object.assign({},i.getOptions());a.default=Object.assign(r.default,a.default);for(let u of Object.keys(r.alias))a.alias[u]=(a.alias[u]||[]).concat(r.alias[u]);a.array=a.array.concat(r.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)i.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(i,l)&&!this.isDefaulted(i,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:r}=t.getOptions();return Object.prototype.hasOwnProperty.call(r,n)||Object.prototype.hasOwnProperty.call(r,this.shim.Parser.camelCase(n))}isInConfigs(t,n){let{configObjects:r}=t.getOptions();return r.some(i=>Object.prototype.hasOwnProperty.call(i,n))||r.some(i=>Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(n)))}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){let r=bi.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(r,this.defaultCommand.description)}let n=this.defaultCommand.builder;if(so(n))return n(t,!0);mm(n)||Object.keys(n).forEach(r=>{t.option(r,n[r])})}moduleName(t){let n=Ql(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:r}){for(let i of[t,n,r]){if(typeof i=="string"||i===!1)return i;vt(i,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let t=this.frozens.pop();vt(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 gm(e,t,n,r){return new eu(e,t,n,r)}function mm(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function RO(e){return e.every(t=>typeof t=="string")}function so(e){return typeof e=="function"}function MO(e){return typeof e=="object"}function PO(e){return typeof e=="object"&&!Array.isArray(e)}function Wn(e={},t=()=>!0){let n={};return vi(e).forEach(r=>{t(r,e[r])&&(n[r]=e[r])}),n}function Hn(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 IO(e){return typeof e=="boolean"}function xm(e,t){let n=t.y18n.__,r={},i=[];r.failFn=function(R){i.push(R)};let a=null,s=null,o=!0;r.showHelpOnFail=function(R=!0,L){let[G,ue]=typeof R=="string"?[!0,R]:[R,L];return e.getInternalMethods().isGlobalContext()&&(s=ue),a=ue,o=G,r};let c=!1;r.fail=function(R,L){let G=e.getInternalMethods().getLoggerInstance();if(i.length)for(let ue=i.length-1;ue>=0;--ue){let be=i[ue];if(IO(be)){if(L)throw L;if(R)throw Error(R)}else be(R,L,r)}else{if(e.getExitProcess()&&Hn(!0),!c){c=!0,o&&(e.showHelp("error"),G.error()),(R||L)&&G.error(R||L);let ue=a||s;ue&&((R||L)&&G.error(""),G.error(ue))}if(L=L||new Se(R),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,L);throw L}};let u=[],l=!1;r.usage=(M,R)=>M===null?(l=!0,u=[],r):(l=!1,u.push([M,R||""]),r),r.getUsage=()=>u,r.getUsageDisabled=()=>l,r.getPositionalGroupName=()=>n("Positionals:");let p=[];r.example=(M,R)=>{p.push([M,R||""])};let f=[];r.command=function(R,L,G,ue,be=!1){G&&(f=f.map(ee=>(ee[2]=!1,ee))),f.push([R,L||"",G,ue,be])},r.getCommands=()=>f;let m={};r.describe=function(R,L){Array.isArray(R)?R.forEach(G=>{r.describe(G,L)}):typeof R=="object"?Object.keys(R).forEach(G=>{r.describe(G,R[G])}):m[R]=L},r.getDescriptions=()=>m;let v=[];r.epilog=M=>{v.push(M)};let g=!1,d;r.wrap=M=>{g=!0,d=M};function x(){return g||(d=W(),g=!0),d}let _="__yargsString__:";r.deferY18nLookup=M=>_+M,r.help=function(){if(O)return O;k();let R=e.customScriptName?e.$0:t.path.basename(e.$0),L=e.getDemandedOptions(),G=e.getDemandedCommands(),ue=e.getDeprecatedOptions(),be=e.getGroups(),ee=e.getOptions(),Ee=[];Ee=Ee.concat(Object.keys(m)),Ee=Ee.concat(Object.keys(L)),Ee=Ee.concat(Object.keys(G)),Ee=Ee.concat(Object.keys(ee.default)),Ee=Ee.filter(B),Ee=Object.keys(Ee.reduce((X,le)=>(le!=="_"&&(X[le]=!0),X),{}));let pe=x(),K=t.cliui({width:pe,wrap:!!pe});if(!l){if(u.length)u.forEach(X=>{K.div({text:`${X[0].replace(/\$0/g,R)}`}),X[1]&&K.div({text:`${X[1]}`,padding:[1,0,0,0]})}),K.div();else if(f.length){let X=null;G._?X=`${R} <${n("command")}>
|
|
195
|
-
`:
|
|
196
|
-
`,
|
|
197
|
-
`);
|
|
198
|
-
`)}return
|
|
207
|
+
`),a.border&&(i.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),i.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(i.unshift(...new Array(a.padding[ck]||0).fill("")),i.push(...new Array(a.padding[lk]||0).fill(""))),i.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[ho]||0)+(t.padding[fo]||0)),t.border&&(n-=4),n}columnWidths(t){if(!this.wrap)return t.map(s=>s.width||Nt.stringWidth(s.text));let n=t.length,r=this.width,i=t.map(s=>{if(s.width)return n--,r-=s.width,s.width}),a=n?Math.floor(r/n):0;return i.map((s,o)=>s===void 0?Math.max(a,uk(t[o])):s)}};function bm(e,t,n){return e.border?/[.']-+[.']/.test(t)?"":t.trim().length!==0?n:" ":""}function uk(e){let t=e.padding||[],n=1+(t[ho]||0)+(t[fo]||0);return e.border?n+4:n}function pk(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function fk(e,t){e=e.trim();let n=Nt.stringWidth(e);return n<t?" ".repeat(t-n)+e:e}function dk(e,t){e=e.trim();let n=Nt.stringWidth(e);return n>=t?e:" ".repeat(t-n>>1)+e}var Nt;function xm(e,t){return Nt=t,new iu({width:e?.width||pk(),wrap:e?.wrap})}var ym=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function au(e){return e.replace(ym,"")}function wm(e,t){let[n,r]=e.match(ym)||["",""];e=au(e);let i="";for(let a=0;a<e.length;a++)a!==0&&a%t===0&&(i+=`
|
|
208
|
+
`),i+=e.charAt(a);return n&&r&&(i=`${n}${i}${r}`),i}function su(e){return xm(e,{stringWidth:t=>[...t].length,stripAnsi:au,wrap:wm})}var Ei=require("path"),mo=require("fs");function _m(e,t){let n=(0,Ei.resolve)(".",e),r;for((0,mo.statSync)(n).isDirectory()||(n=(0,Ei.dirname)(n));;){if(r=t(n,(0,mo.readdirSync)(n)),r)return(0,Ei.resolve)(n,r);if(n=(0,Ei.dirname)(r=n),r===n)break}}var qm=require("util"),Bm=require("fs"),Fm=require("url");var km=require("util"),xo=require("path");function Tr(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf("-")===-1&&e.indexOf("_")===-1)return e;{let n="",r=!1,i=e.match(/^-+/);for(let a=i?i[0].length:0;a<e.length;a++){let s=e.charAt(a);r&&(r=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?r=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function go(e,t){let n=e.toLowerCase();t=t||"-";let r="";for(let i=0;i<e.length;i++){let a=n.charAt(i),s=e.charAt(i);a!==s&&i>0?r+=`${t}${n.charAt(i)}`:r+=s}return r}function vo(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 Sm(e){if(Array.isArray(e))return e.map(s=>typeof s!="string"?s+"":s);e=e.trim();let t=0,n=null,r=null,i=null,a=[];for(let s=0;s<e.length;s++){if(n=r,r=e.charAt(s),r===" "&&!i){n!==" "&&t++;continue}r===i?i=null:(r==="'"||r==='"')&&!i&&(i=r),a[t]||(a[t]=""),a[t]+=r}return a}var Zt;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Zt||(Zt={}));var Mn,bo=class{constructor(t){Mn=t}parse(t,n){let r=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),i=Sm(t),a=typeof t=="string",s=hk(Object.assign(Object.create(null),r.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},r.configuration),c=Object.assign(Object.create(null),r.default),u=r.configObjects||[],l=r.envPrefix,p=o["populate--"],f=p?"--":"_",d=Object.create(null),v=Object.create(null),g=r.__||Mn.format,h={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]+)$/,w=new RegExp("^--"+o["negation-prefix"]+"(.+)");[].concat(r.array||[]).filter(Boolean).forEach(function(y){let E=typeof y=="object"?y.key:y,P=Object.keys(y).map(function(j){return{boolean:"bools",string:"strings",number:"numbers"}[j]}).filter(Boolean).pop();P&&(h[P][E]=!0),h.arrays[E]=!0,h.keys.push(E)}),[].concat(r.boolean||[]).filter(Boolean).forEach(function(y){h.bools[y]=!0,h.keys.push(y)}),[].concat(r.string||[]).filter(Boolean).forEach(function(y){h.strings[y]=!0,h.keys.push(y)}),[].concat(r.number||[]).filter(Boolean).forEach(function(y){h.numbers[y]=!0,h.keys.push(y)}),[].concat(r.count||[]).filter(Boolean).forEach(function(y){h.counts[y]=!0,h.keys.push(y)}),[].concat(r.normalize||[]).filter(Boolean).forEach(function(y){h.normalize[y]=!0,h.keys.push(y)}),typeof r.narg=="object"&&Object.entries(r.narg).forEach(([y,E])=>{typeof E=="number"&&(h.nargs[y]=E,h.keys.push(y))}),typeof r.coerce=="object"&&Object.entries(r.coerce).forEach(([y,E])=>{typeof E=="function"&&(h.coercions[y]=E,h.keys.push(y))}),typeof r.config<"u"&&(Array.isArray(r.config)||typeof r.config=="string"?[].concat(r.config).filter(Boolean).forEach(function(y){h.configs[y]=!0}):typeof r.config=="object"&&Object.entries(r.config).forEach(([y,E])=>{(typeof E=="boolean"||typeof E=="function")&&(h.configs[y]=E)})),ae(r.key,s,r.default,h.arrays),Object.keys(c).forEach(function(y){(h.aliases[y]||[]).forEach(function(E){c[E]=c[y]})});let T=null;nu();let k=[],O=Object.assign(Object.create(null),{_:[]}),D={};for(let y=0;y<i.length;y++){let E=i[y],P=E.replace(/^-{3,}/,"---"),j,S,K,z,ne,tt;if(E!=="--"&&le(E))B(E);else if(P.match(/---+(=|$)/)){B(E);continue}else if(E.match(/^--.+=/)||!o["short-option-groups"]&&E.match(/^-.+=/))z=E.match(/^--?([^=]+)=([\s\S]*)$/),z!==null&&Array.isArray(z)&&z.length>=3&&(U(z[1],h.arrays)?y=W(y,z[1],i,z[2]):U(z[1],h.nargs)!==!1?y=N(y,z[1],i,z[2]):F(z[1],z[2],!0));else if(E.match(w)&&o["boolean-negation"])z=E.match(w),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],F(S,U(S,h.arrays)?[!1]:!1));else if(E.match(/^--.+/)||!o["short-option-groups"]&&E.match(/^-[^-]+/))z=E.match(/^--?(.+)/),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],U(S,h.arrays)?y=W(y,S,i):U(S,h.nargs)!==!1?y=N(y,S,i):(ne=i[y+1],ne!==void 0&&(!ne.match(/^-/)||ne.match(x))&&!U(S,h.bools)&&!U(S,h.counts)||/^(true|false)$/.test(ne)?(F(S,ne),y++):F(S,re(S))));else if(E.match(/^-.\..+=/))z=E.match(/^-([^=]+)=([\s\S]*)$/),z!==null&&Array.isArray(z)&&z.length>=3&&F(z[1],z[2]);else if(E.match(/^-.\..+/)&&!E.match(x))ne=i[y+1],z=E.match(/^-(.\..+)/),z!==null&&Array.isArray(z)&&z.length>=2&&(S=z[1],ne!==void 0&&!ne.match(/^-/)&&!U(S,h.bools)&&!U(S,h.counts)?(F(S,ne),y++):F(S,re(S)));else if(E.match(/^-[^-]+/)&&!E.match(x)){K=E.slice(1,-1).split(""),j=!1;for(let wt=0;wt<K.length;wt++){if(ne=E.slice(wt+2),K[wt+1]&&K[wt+1]==="="){tt=E.slice(wt+3),S=K[wt],U(S,h.arrays)?y=W(y,S,i,tt):U(S,h.nargs)!==!1?y=N(y,S,i,tt):F(S,tt),j=!0;break}if(ne==="-"){F(K[wt],ne);continue}if(/[A-Za-z]/.test(K[wt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(ne)&&U(ne,h.bools)===!1){F(K[wt],ne),j=!0;break}if(K[wt+1]&&K[wt+1].match(/\W/)){F(K[wt],ne),j=!0;break}else F(K[wt],re(K[wt]))}S=E.slice(-1)[0],!j&&S!=="-"&&(U(S,h.arrays)?y=W(y,S,i):U(S,h.nargs)!==!1?y=N(y,S,i):(ne=i[y+1],ne!==void 0&&(!/^(-|--)[^-]/.test(ne)||ne.match(x))&&!U(S,h.bools)&&!U(S,h.counts)||/^(true|false)$/.test(ne)?(F(S,ne),y++):F(S,re(S))))}else if(E.match(/^-[0-9]$/)&&E.match(x)&&U(E.slice(1),h.bools))S=E.slice(1),F(S,re(S));else if(E==="--"){k=i.slice(y+1);break}else if(o["halt-at-non-option"]){k=i.slice(y);break}else B(E)}we(O,!0),we(O,!1),L(O),pe(),fe(O,h.aliases,c,!0),te(O),o["set-placeholder-key"]&&Ce(O),Object.keys(h.counts).forEach(function(y){V(O,y.split("."))||F(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=>Tr(E)).join(".")],delete O[y]});function B(y){let E=R("_",y);(typeof E=="string"||typeof E=="number")&&O._.push(E)}function N(y,E,P,j){let S,K=U(E,h.nargs);if(K=typeof K!="number"||isNaN(K)?1:K,K===0)return Je(j)||(T=Error(g("Argument unexpected for: %s",E))),F(E,re(E)),y;let z=Je(j)?0:1;if(o["nargs-eats-options"])P.length-(y+1)+z<K&&(T=Error(g("Not enough arguments following: %s",E))),z=K;else{for(S=y+1;S<P.length&&(!P[S].match(/^-[^0-9]/)||P[S].match(x)||le(P[S]));S++)z++;z<K&&(T=Error(g("Not enough arguments following: %s",E)))}let ne=Math.min(z,K);for(!Je(j)&&ne>0&&(F(E,j),ne--),S=y+1;S<ne+y+1;S++)F(E,P[S]);return y+ne}function W(y,E,P,j){let S=[],K=j||P[y+1],z=U(E,h.nargs);if(U(E,h.bools)&&!/^(true|false)$/.test(K))S.push(!0);else if(Je(K)||Je(j)&&/^-/.test(K)&&!x.test(K)&&!le(K)){if(c[E]!==void 0){let ne=c[E];S=Array.isArray(ne)?ne:[ne]}}else{Je(j)||S.push(M(E,j,!0));for(let ne=y+1;ne<P.length&&!(!o["greedy-arrays"]&&S.length>0||z&&typeof z=="number"&&S.length>=z||(K=P[ne],/^-/.test(K)&&!x.test(K)&&!le(K)));ne++)y=ne,S.push(M(E,K,a))}return typeof z=="number"&&(z&&S.length<z||isNaN(z)&&S.length===0)&&(T=Error(g("Not enough arguments following: %s",E))),F(E,S),y}function F(y,E,P=a){if(/-/.test(y)&&o["camel-case-expansion"]){let K=y.split(".").map(function(z){return Tr(z)}).join(".");q(y,K)}let j=M(y,E,P),S=y.split(".");me(O,S,j),h.aliases[y]&&h.aliases[y].forEach(function(K){let z=K.split(".");me(O,z,j)}),S.length>1&&o["dot-notation"]&&(h.aliases[S[0]]||[]).forEach(function(K){let z=K.split("."),ne=[].concat(S);ne.shift(),z=z.concat(ne),(h.aliases[y]||[]).includes(z.join("."))||me(O,z,j)}),U(y,h.normalize)&&!U(y,h.arrays)&&[y].concat(h.aliases[y]||[]).forEach(function(z){Object.defineProperty(D,z,{enumerable:!0,get(){return E},set(ne){E=typeof ne=="string"?Mn.normalize(ne):ne}})})}function q(y,E){h.aliases[y]&&h.aliases[y].length||(h.aliases[y]=[E],d[E]=!0),h.aliases[E]&&h.aliases[E].length||q(E,y)}function M(y,E,P){P&&(E=mk(E)),(U(y,h.bools)||U(y,h.counts))&&typeof E=="string"&&(E=E==="true");let j=Array.isArray(E)?E.map(function(S){return R(y,S)}):R(y,E);return U(y,h.counts)&&(Je(j)||typeof j=="boolean")&&(j=ou()),U(y,h.normalize)&&U(y,h.arrays)&&(Array.isArray(E)?j=E.map(S=>Mn.normalize(S)):j=Mn.normalize(E)),j}function R(y,E){return!o["parse-positional-numbers"]&&y==="_"||!U(y,h.strings)&&!U(y,h.bools)&&!Array.isArray(E)&&(vo(E)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`)))||!Je(E)&&U(y,h.numbers))&&(E=Number(E)),E}function L(y){let E=Object.create(null);fe(E,h.aliases,c),Object.keys(h.configs).forEach(function(P){let j=y[P]||E[P];if(j)try{let S=null,K=Mn.resolve(Mn.cwd(),j),z=h.configs[P];if(typeof z=="function"){try{S=z(K)}catch(ne){S=ne}if(S instanceof Error){T=S;return}}else S=Mn.require(K);G(S)}catch(S){S.name==="PermissionDenied"?T=S:y[P]&&(T=Error(g("Invalid JSON config file: %s",j)))}})}function G(y,E){Object.keys(y).forEach(function(P){let j=y[P],S=E?E+"."+P:P;typeof j=="object"&&j!==null&&!Array.isArray(j)&&o["dot-notation"]?G(j,S):(!V(O,S.split("."))||U(S,h.arrays)&&o["combine-arrays"])&&F(S,j)})}function pe(){typeof u<"u"&&u.forEach(function(y){G(y)})}function we(y,E){if(typeof l>"u")return;let P=typeof l=="string"?l:"",j=Mn.env();Object.keys(j).forEach(function(S){if(P===""||S.lastIndexOf(P,0)===0){let K=S.split("__").map(function(z,ne){return ne===0&&(z=z.substring(P.length)),Tr(z)});(E&&h.configs[K.join(".")]||!E)&&!V(y,K)&&F(K.join("."),j[S])}})}function te(y){let E,P=new Set;Object.keys(y).forEach(function(j){if(!P.has(j)&&(E=U(j,h.coercions),typeof E=="function"))try{let S=R(j,E(y[j]));[].concat(h.aliases[j]||[],j).forEach(K=>{P.add(K),y[K]=S})}catch(S){T=S}})}function Ce(y){return h.keys.forEach(E=>{~E.indexOf(".")||typeof y[E]>"u"&&(y[E]=void 0)}),y}function fe(y,E,P,j=!1){Object.keys(P).forEach(function(S){V(y,S.split("."))||(me(y,S.split("."),P[S]),j&&(v[S]=!0),(E[S]||[]).forEach(function(K){V(y,K.split("."))||me(y,K.split("."),P[S])}))})}function V(y,E){let P=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(S){P=P[S]||{}});let j=E[E.length-1];return typeof P!="object"?!1:j in P}function me(y,E,P){let j=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(tt){tt=Em(tt),typeof j=="object"&&j[tt]===void 0&&(j[tt]={}),typeof j[tt]!="object"||Array.isArray(j[tt])?(Array.isArray(j[tt])?j[tt].push({}):j[tt]=[j[tt],{}],j=j[tt][j[tt].length-1]):j=j[tt]});let S=Em(E[E.length-1]),K=U(E.join("."),h.arrays),z=Array.isArray(P),ne=o["duplicate-arguments-array"];!ne&&U(S,h.nargs)&&(ne=!0,(!Je(j[S])&&h.nargs[S]===1||Array.isArray(j[S])&&j[S].length===h.nargs[S])&&(j[S]=void 0)),P===ou()?j[S]=ou(j[S]):Array.isArray(j[S])?ne&&K&&z?j[S]=o["flatten-duplicate-arrays"]?j[S].concat(P):(Array.isArray(j[S][0])?j[S]:[j[S]]).concat([P]):!ne&&Boolean(K)===Boolean(z)?j[S]=P:j[S]=j[S].concat([P]):j[S]===void 0&&K?j[S]=z?P:[P]:ne&&!(j[S]===void 0||U(S,h.counts)||U(S,h.bools))?j[S]=[j[S],P]:j[S]=P}function ae(...y){y.forEach(function(E){Object.keys(E||{}).forEach(function(P){h.aliases[P]||(h.aliases[P]=[].concat(s[P]||[]),h.aliases[P].concat(P).forEach(function(j){if(/-/.test(j)&&o["camel-case-expansion"]){let S=Tr(j);S!==P&&h.aliases[P].indexOf(S)===-1&&(h.aliases[P].push(S),d[S]=!0)}}),h.aliases[P].concat(P).forEach(function(j){if(j.length>1&&/[A-Z]/.test(j)&&o["camel-case-expansion"]){let S=go(j,"-");S!==P&&h.aliases[P].indexOf(S)===-1&&(h.aliases[P].push(S),d[S]=!0)}}),h.aliases[P].forEach(function(j){h.aliases[j]=[P].concat(h.aliases[P].filter(function(S){return j!==S}))}))})})}function U(y,E){let P=[].concat(h.aliases[y]||[],y),j=Object.keys(E),S=P.find(K=>j.includes(K));return S?E[S]:!1}function yt(y){let E=Object.keys(h);return[].concat(E.map(j=>h[j])).some(function(j){return Array.isArray(j)?j.includes(y):j[y]})}function Kt(y,...E){return[].concat(...E).some(function(j){let S=y.match(j);return S&&yt(S[1])})}function Q(y){if(y.match(x)||!y.match(/^-[^-]+/))return!1;let E=!0,P,j=y.slice(1).split("");for(let S=0;S<j.length;S++){if(P=y.slice(S+2),!yt(j[S])){E=!1;break}if(j[S+1]&&j[S+1]==="="||P==="-"||/[A-Za-z]/.test(j[S])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(P)||j[S+1]&&j[S+1].match(/\W/))break}return E}function le(y){return o["unknown-options-as-args"]&&Ne(y)}function Ne(y){return y=y.replace(/^-{3,}/,"--"),y.match(x)||Q(y)?!1:!Kt(y,/^-+([^=]+?)=[\s\S]*$/,w,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function re(y){return!U(y,h.bools)&&!U(y,h.counts)&&`${y}`in c?c[y]:Ye(Ue(y))}function Ye(y){return{[Zt.BOOLEAN]:!0,[Zt.STRING]:"",[Zt.NUMBER]:void 0,[Zt.ARRAY]:[]}[y]}function Ue(y){let E=Zt.BOOLEAN;return U(y,h.strings)?E=Zt.STRING:U(y,h.numbers)?E=Zt.NUMBER:U(y,h.bools)?E=Zt.BOOLEAN:U(y,h.arrays)&&(E=Zt.ARRAY),E}function Je(y){return y===void 0}function nu(){Object.keys(h.counts).find(y=>U(y,h.arrays)?(T=Error(g("Invalid configuration: %s, opts.count excludes opts.array.",y)),!0):U(y,h.nargs)?(T=Error(g("Invalid configuration: %s, opts.count excludes opts.narg.",y)),!0):!1)}return{aliases:Object.assign({},h.aliases),argv:Object.assign(D,O),configuration:o,defaulted:Object.assign({},v),error:T,newAliases:Object.assign({},d)}}};function hk(e){let t=[],n=Object.create(null),r=!0;for(Object.keys(e).forEach(function(i){t.push([].concat(e[i],i))});r;){r=!1;for(let i=0;i<t.length;i++)for(let a=i+1;a<t.length;a++)if(t[i].filter(function(o){return t[a].indexOf(o)!==-1}).length){t[i]=t[i].concat(t[a]),t.splice(a,1),r=!0;break}}return t.forEach(function(i){i=i.filter(function(s,o,c){return c.indexOf(s)===o});let a=i.pop();a!==void 0&&typeof a=="string"&&(n[a]=i)}),n}function ou(e){return e!==void 0?e+1:1}function Em(e){return e==="__proto__"?"___proto___":e}function mk(e){return typeof e=="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}var Tm=require("fs");var Om=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])<Om)throw Error(`yargs parser supports a minimum Node.js version of ${Om}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var gk=process?process.env:{},Cm=new bo({cwd:process.cwd,env:()=>gk,format:km.format,normalize:xo.normalize,resolve:xo.resolve,require:e=>{if(typeof require<"u")return require(e);if(e.match(/\.json$/))return JSON.parse((0,Tm.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),Ha=function(t,n){return Cm.parse(t.slice(),n).argv};Ha.detailed=function(e,t){return Cm.parse(e.slice(),t)};Ha.camelCase=Tr;Ha.decamelize=go;Ha.looksLikeNumber=vo;var cu=Ha;var cn=require("path");function Am(){return vk()?0:1}function vk(){return bk()&&!process.defaultApp}function bk(){return!!process.versions.electron}function lu(e){return e.slice(Am()+1)}function jm(){return process.argv[Am()]}var ke=class extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,ke)}};var Oi=require("fs"),Rm=require("util"),Mm=require("path"),Im={fs:{readFileSync:Oi.readFileSync,writeFile:Oi.writeFile},format:Rm.format,resolve:Mm.resolve,exists:e=>{try{return(0,Oi.statSync)(e).isFile()}catch{return!1}}};var on,uu=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(),r=function(){};return typeof t[t.length-1]=="function"&&(r=t.pop()),r=r||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:r})):r(),on.format.apply(on.format,[this.cache[this.locale][n]||n].concat(t))}__n(){let t=Array.prototype.slice.call(arguments),n=t.shift(),r=t.shift(),i=t.shift(),a=function(){};typeof t[t.length-1]=="function"&&(a=t.pop()),this.cache[this.locale]||this._readLocaleFile();let s=i===1?n:r;this.cache[this.locale][n]&&(s=this.cache[this.locale][n][i===1?"one":"other"]),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]={one:n,other:r},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();let o=[s];return~s.indexOf("%d")&&o.push(i),on.format.apply(on.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 r="";return t.forEach(function(i,a){let s=n[a+1];r+=i,typeof s<"u"&&(r+="%s")}),this.__.apply(this,[r].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],r=n.directory,i=n.locale,a=n.cb,s=this._resolveLocaleFile(r,i),o=JSON.stringify(this.cache[i],null,2);on.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{on.fs.readFileSync&&(t=JSON.parse(on.fs.readFileSync(n,"utf-8")))}catch(r){if(r instanceof SyntaxError&&(r.message="syntax error in "+n),r.code==="ENOENT")t={};else throw r}this.cache[this.locale]=t}_resolveLocaleFile(t,n){let r=on.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(r)&&~n.lastIndexOf("_")){let i=on.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(i)&&(r=i)}return r}_fileExistsSync(t){return on.exists(t)}};function Pm(e,t){on=t;let n=new uu(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 xk=e=>Pm(e,Im),Nm=xk;var _k={},yk="require is not supported by ESM",Lm="loading a directory of commands is not supported yet for ESM",Ya;try{Ya=(0,Fm.fileURLToPath)(_k.url)}catch{Ya=process.cwd()}var wk=Ya.substring(0,Ya.lastIndexOf("node_modules")),pu={assert:{notStrictEqual:yo.notStrictEqual,strictEqual:yo.strictEqual},cliui:su,findUp:_m,getEnv:e=>process.env[e],inspect:qm.inspect,getCallerFile:()=>{throw new ke(Lm)},getProcessArgvBin:jm,mainFilename:wk||process.cwd(),Parser:cu,path:{basename:cn.basename,dirname:cn.dirname,extname:cn.extname,relative:cn.relative,resolve:cn.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:Bm.readFileSync,require:()=>{throw new ke(yk)},requireDirectory:()=>{throw new ke(Lm)},stringWidth:e=>[...e].length,y18n:Nm({directory:(0,cn.resolve)(Ya,"../../../locales"),updateFiles:!1})};function _t(e,t,n,r){n.assert.notStrictEqual(e,t,r)}function fu(e,t){t.assert.strictEqual(typeof e,"string")}function ki(e){return Object.keys(e)}function je(e){return!!e&&!!e.then&&typeof e.then=="function"}function Vn(e){let n=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),r=/\.*[\][<>]/g,i=n.shift();if(!i)throw new Error(`No command found in: ${e}`);let a={cmd:i.replace(r,""),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(r,"").split("|"),variadic:c}):a.demanded.push({cmd:s.replace(r,"").split("|"),variadic:c})}),a}var Sk=["first","second","third","fourth","fifth","sixth"];function H(e,t,n){function r(){return typeof e=="object"?[{demanded:[],optional:[]},e,t]:[Vn(`cmd ${e}`),t,n]}try{let i=0,[a,s,o]=r(),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 ke(`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 ke(`Too many arguments provided. Expected max ${l} but received ${u}.`);a.demanded.forEach(p=>{let f=c.shift(),d=Dm(f);p.cmd.filter(g=>g===d||g==="*").length===0&&zm(d,p.cmd,i),i+=1}),a.optional.forEach(p=>{if(c.length===0)return;let f=c.shift(),d=Dm(f);p.cmd.filter(g=>g===d||g==="*").length===0&&zm(d,p.cmd,i),i+=1})}catch(i){console.warn(i.stack)}}function Dm(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function zm(e,t,n){throw new ke(`Invalid ${Sk[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var wo=class{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,n,r=!0,i=!1){if(H("<array|function> [boolean] [boolean] [boolean]",[t,n,r],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=r}Array.prototype.push.apply(this.globalMiddleware,t)}else if(typeof t=="function"){let a=t;a.applyBeforeValidation=n,a.global=r,a.mutates=i,this.globalMiddleware.push(t)}return this.yargs}addCoerceMiddleware(t,n){let r=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(i=>{let a=[...r[n]||[],n];return i.option?!a.includes(i.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 $m(e){return e?e.map(t=>(t.applyBeforeValidation=!1,t)):[]}function Cr(e,t,n,r){return n.reduce((i,a)=>{if(a.applyBeforeValidation!==r)return i;if(a.mutates){if(a.applied)return i;a.applied=!0}if(je(i))return i.then(s=>Promise.all([s,a(s,t)])).then(([s,o])=>Object.assign(s,o));{let s=a(i,t);return je(s)?s.then(o=>Object.assign(i,o)):Object.assign(i,s)}},e)}function Ar(e,t,n=r=>{throw r}){try{let r=Ek(e)?e():e;return je(r)?r.then(i=>t(i)):t(r)}catch(r){return n(r)}}function Ek(e){return typeof e=="function"}function du(e){if(typeof require>"u")return null;for(let t=0,n=Object.keys(require.cache),r;t<n.length;t++)if(r=require.cache[n[t]],r.exports===e)return r;return null}var Ti=/(^\*)|(^\$0)/,hu=class{constructor(t,n,r,i){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=i,this.usage=t,this.globalMiddleware=r,this.validation=n}addDirectory(t,n,r,i){i=i||{},typeof i.recurse!="boolean"&&(i.recurse=!1),Array.isArray(i.extensions)||(i.extensions=["js"]);let a=typeof i.visit=="function"?i.visit:s=>s;i.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:r},t,i)}addHandler(t,n,r,i,a,s){let o=[],c=$m(a);if(i=i||(()=>{}),Array.isArray(t))if(Ok(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(Tk(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(Um(r)){this.addHandler([t].concat(o),n,r.builder,r.handler,r.middlewares,r.deprecated);return}if(typeof t=="string"){let u=Vn(t);o=o.map(f=>Vn(f).cmd);let l=!1,p=[u.cmd].concat(o).filter(f=>Ti.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(Ti,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:i,builder:r||{},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,r,i,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,r.aliases,u,i,a,s);return je(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,r,i,a,s,o,c){let u=n.builder,l=r;if(_o(u)){let p=u(r.getInternalMethods().reset(i),c);if(je(p))return p.then(f=>(l=Hm(f)?f:r,this.parseAndUpdateUsage(t,n,l,a,s,o)))}else kk(u)&&(l=r.getInternalMethods().reset(i),Object.keys(n.builder).forEach(p=>{l.option(p,u[p])}));return this.parseAndUpdateUsage(t,n,l,a,s,o)}parseAndUpdateUsage(t,n,r,i,a,s){t&&r.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(r)&&r.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(i,n),n.description);let o=r.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return je(o)?o.then(c=>({aliases:r.parsed.aliases,innerArgv:c})):{aliases:r.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&t.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(t,n){let r=Ti.test(n.original)?n.original.replace(Ti,"").trim():n.original,i=t.filter(a=>!Ti.test(a));return i.push(r),`$0 ${i.join(" ")}`}handleValidationAndGetResult(t,n,r,i,a,s,o,c){if(!s.getInternalMethods().getHasOutput()){let u=s.getInternalMethods().runValidation(a,c,s.parsed.error,t);r=Ar(r,l=>(u(l),l))}if(n.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();let u=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(r,u,!1,!1),r=Cr(r,s,o,!1),r=Ar(r,l=>{let p=n.handler(l);return je(p)?p.then(()=>l):l}),t||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),je(r)&&!s.getInternalMethods().hasParseCallback()&&r.catch(l=>{try{s.getInternalMethods().getUsageInstance().fail(null,l)}catch{}})}return t||(i.commands.pop(),i.fullCommands.pop()),r}applyMiddlewareAndGetResult(t,n,r,i,a,s,o){let c={};if(a)return r;o.getInternalMethods().getHasOutput()||(c=this.populatePositionals(n,r,i,o));let u=this.globalMiddleware.getMiddleware().slice(0).concat(n.middlewares),l=Cr(r,o,u,!0);return je(l)?l.then(p=>this.handleValidationAndGetResult(t,n,p,i,s,o,u,c)):this.handleValidationAndGetResult(t,n,l,i,s,o,u,c)}populatePositionals(t,n,r,i){n._=n._.slice(r.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._=r.commands.concat(n._.map(c=>""+c)),this.postProcessPositionals(n,o,this.cmdToParseOptions(t.original),i),o}populatePositional(t,n,r){let i=t.cmd[0];t.variadic?r[i]=n._.splice(0).map(String):n._.length&&(r[i]=[String(n._.shift())])}cmdToParseOptions(t){let n={array:[],default:{},alias:{},demand:{}},r=Vn(t);return r.demanded.forEach(i=>{let[a,...s]=i.cmd;i.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s,n.demand[a]=!0}),r.optional.forEach(i=>{let[a,...s]=i.cmd;i.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s}),n}postProcessPositionals(t,n,r,i){let a=Object.assign({},i.getOptions());a.default=Object.assign(r.default,a.default);for(let u of Object.keys(r.alias))a.alias[u]=(a.alias[u]||[]).concat(r.alias[u]);a.array=a.array.concat(r.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)i.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(i,l)&&!this.isDefaulted(i,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:r}=t.getOptions();return Object.prototype.hasOwnProperty.call(r,n)||Object.prototype.hasOwnProperty.call(r,this.shim.Parser.camelCase(n))}isInConfigs(t,n){let{configObjects:r}=t.getOptions();return r.some(i=>Object.prototype.hasOwnProperty.call(i,n))||r.some(i=>Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(n)))}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){let r=Ti.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(r,this.defaultCommand.description)}let n=this.defaultCommand.builder;if(_o(n))return n(t,!0);Um(n)||Object.keys(n).forEach(r=>{t.option(r,n[r])})}moduleName(t){let n=du(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:r}){for(let i of[t,n,r]){if(typeof i=="string"||i===!1)return i;_t(i,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let t=this.frozens.pop();_t(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 Wm(e,t,n,r){return new hu(e,t,n,r)}function Um(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function Ok(e){return e.every(t=>typeof t=="string")}function _o(e){return typeof e=="function"}function kk(e){return typeof e=="object"}function Tk(e){return typeof e=="object"&&!Array.isArray(e)}function Kn(e={},t=()=>!0){let n={};return ki(e).forEach(r=>{t(r,e[r])&&(n[r]=e[r])}),n}function Zn(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 Ck(e){return typeof e=="boolean"}function Gm(e,t){let n=t.y18n.__,r={},i=[];r.failFn=function(R){i.push(R)};let a=null,s=null,o=!0;r.showHelpOnFail=function(R=!0,L){let[G,pe]=typeof R=="string"?[!0,R]:[R,L];return e.getInternalMethods().isGlobalContext()&&(s=pe),a=pe,o=G,r};let c=!1;r.fail=function(R,L){let G=e.getInternalMethods().getLoggerInstance();if(i.length)for(let pe=i.length-1;pe>=0;--pe){let we=i[pe];if(Ck(we)){if(L)throw L;if(R)throw Error(R)}else we(R,L,r)}else{if(e.getExitProcess()&&Zn(!0),!c){c=!0,o&&(e.showHelp("error"),G.error()),(R||L)&&G.error(R||L);let pe=a||s;pe&&((R||L)&&G.error(""),G.error(pe))}if(L=L||new ke(R),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,L);throw L}};let u=[],l=!1;r.usage=(M,R)=>M===null?(l=!0,u=[],r):(l=!1,u.push([M,R||""]),r),r.getUsage=()=>u,r.getUsageDisabled=()=>l,r.getPositionalGroupName=()=>n("Positionals:");let p=[];r.example=(M,R)=>{p.push([M,R||""])};let f=[];r.command=function(R,L,G,pe,we=!1){G&&(f=f.map(te=>(te[2]=!1,te))),f.push([R,L||"",G,pe,we])},r.getCommands=()=>f;let d={};r.describe=function(R,L){Array.isArray(R)?R.forEach(G=>{r.describe(G,L)}):typeof R=="object"?Object.keys(R).forEach(G=>{r.describe(G,R[G])}):d[R]=L},r.getDescriptions=()=>d;let v=[];r.epilog=M=>{v.push(M)};let g=!1,h;r.wrap=M=>{g=!0,h=M};function x(){return g||(h=W(),g=!0),h}let w="__yargsString__:";r.deferY18nLookup=M=>w+M,r.help=function(){if(O)return O;k();let R=e.customScriptName?e.$0:t.path.basename(e.$0),L=e.getDemandedOptions(),G=e.getDemandedCommands(),pe=e.getDeprecatedOptions(),we=e.getGroups(),te=e.getOptions(),Ce=[];Ce=Ce.concat(Object.keys(d)),Ce=Ce.concat(Object.keys(L)),Ce=Ce.concat(Object.keys(G)),Ce=Ce.concat(Object.keys(te.default)),Ce=Ce.filter(B),Ce=Object.keys(Ce.reduce((Q,le)=>(le!=="_"&&(Q[le]=!0),Q),{}));let fe=x(),V=t.cliui({width:fe,wrap:!!fe});if(!l){if(u.length)u.forEach(Q=>{V.div({text:`${Q[0].replace(/\$0/g,R)}`}),Q[1]&&V.div({text:`${Q[1]}`,padding:[1,0,0,0]})}),V.div();else if(f.length){let Q=null;G._?Q=`${R} <${n("command")}>
|
|
209
|
+
`:Q=`${R} [${n("command")}]
|
|
210
|
+
`,V.div(`${Q}`)}}if(f.length>1||f.length===1&&!f[0][2]){V.div(n("Commands:"));let Q=e.getInternalMethods().getContext(),le=Q.commands.length?`${Q.commands.join(" ")} `:"";e.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(f=f.sort((re,Ye)=>re[0].localeCompare(Ye[0])));let Ne=R?`${R} `:"";f.forEach(re=>{let Ye=`${Ne}${le}${re[0].replace(/^\$0 ?/,"")}`;V.span({text:Ye,padding:[0,2,0,2],width:T(f,fe,`${R}${le}`)+4},{text:re[1]});let Ue=[];re[2]&&Ue.push(`[${n("default")}]`),re[3]&&re[3].length&&Ue.push(`[${n("aliases:")} ${re[3].join(", ")}]`),re[4]&&(typeof re[4]=="string"?Ue.push(`[${n("deprecated: %s",re[4])}]`):Ue.push(`[${n("deprecated")}]`)),Ue.length?V.div({text:Ue.join(" "),padding:[0,0,0,2],align:"right"}):V.div()}),V.div()}let me=(Object.keys(te.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);Ce=Ce.filter(Q=>!e.parsed.newAliases[Q]&&me.every(le=>(te.alias[le]||[]).indexOf(Q)===-1));let ae=n("Options:");we[ae]||(we[ae]=[]),D(Ce,te.alias,we,ae);let U=Q=>/^--/.test(So(Q)),yt=Object.keys(we).filter(Q=>we[Q].length>0).map(Q=>{let le=we[Q].filter(B).map(Ne=>{if(me.includes(Ne))return Ne;for(let re=0,Ye;(Ye=me[re])!==void 0;re++)if((te.alias[Ye]||[]).includes(Ne))return Ye;return Ne});return{groupName:Q,normalizedKeys:le}}).filter(({normalizedKeys:Q})=>Q.length>0).map(({groupName:Q,normalizedKeys:le})=>{let Ne=le.reduce((re,Ye)=>(re[Ye]=[Ye].concat(te.alias[Ye]||[]).map(Ue=>Q===r.getPositionalGroupName()?Ue:(/^[0-9]$/.test(Ue)?te.boolean.includes(Ye)?"-":"--":Ue.length>1?"--":"-")+Ue).sort((Ue,Je)=>U(Ue)===U(Je)?0:U(Ue)?1:-1).join(", "),re),{});return{groupName:Q,normalizedKeys:le,switches:Ne}});if(yt.filter(({groupName:Q})=>Q!==r.getPositionalGroupName()).some(({normalizedKeys:Q,switches:le})=>!Q.every(Ne=>U(le[Ne])))&&yt.filter(({groupName:Q})=>Q!==r.getPositionalGroupName()).forEach(({normalizedKeys:Q,switches:le})=>{Q.forEach(Ne=>{U(le[Ne])&&(le[Ne]=Ak(le[Ne],4))})}),yt.forEach(({groupName:Q,normalizedKeys:le,switches:Ne})=>{V.div(Q),le.forEach(re=>{let Ye=Ne[re],Ue=d[re]||"",Je=null;Ue.includes(w)&&(Ue=n(Ue.substring(w.length))),te.boolean.includes(re)&&(Je=`[${n("boolean")}]`),te.count.includes(re)&&(Je=`[${n("count")}]`),te.string.includes(re)&&(Je=`[${n("string")}]`),te.normalize.includes(re)&&(Je=`[${n("string")}]`),te.array.includes(re)&&(Je=`[${n("array")}]`),te.number.includes(re)&&(Je=`[${n("number")}]`);let nu=E=>typeof E=="string"?`[${n("deprecated: %s",E)}]`:`[${n("deprecated")}]`,y=[re in pe?nu(pe[re]):null,Je,re in L?`[${n("required")}]`:null,te.choices&&te.choices[re]?`[${n("choices:")} ${r.stringifiedValues(te.choices[re])}]`:null,N(te.default[re],te.defaultDescription[re])].filter(Boolean).join(" ");V.span({text:So(Ye),padding:[0,2,0,2+Ym(Ye)],width:T(Ne,fe)+4},Ue),y?V.div({text:y,padding:[0,0,0,2],align:"right"}):V.div()}),V.div()}),p.length&&(V.div(n("Examples:")),p.forEach(Q=>{Q[0]=Q[0].replace(/\$0/g,R)}),p.forEach(Q=>{Q[1]===""?V.div({text:Q[0],padding:[0,2,0,2]}):V.div({text:Q[0],padding:[0,2,0,2],width:T(p,fe)+4},{text:Q[1]})}),V.div()),v.length>0){let Q=v.map(le=>le.replace(/\$0/g,R)).join(`
|
|
211
|
+
`);V.div(`${Q}
|
|
212
|
+
`)}return V.toString().replace(/\s*$/,"")};function T(M,R,L){let G=0;return Array.isArray(M)||(M=Object.values(M).map(pe=>[pe])),M.forEach(pe=>{G=Math.max(t.stringWidth(L?`${L} ${So(pe[0])}`:So(pe[0]))+Ym(pe[0]),G)}),R&&(G=Math.min(G,parseInt((R*.5).toString(),10))),G}function k(){let M=e.getDemandedOptions(),R=e.getOptions();(Object.keys(R.alias)||[]).forEach(L=>{R.alias[L].forEach(G=>{d[G]&&r.describe(L,d[G]),G in M&&e.demandOption(L,M[G]),R.boolean.includes(G)&&e.boolean(L),R.count.includes(G)&&e.count(L),R.string.includes(G)&&e.string(L),R.normalize.includes(G)&&e.normalize(L),R.array.includes(G)&&e.array(L),R.number.includes(G)&&e.number(L)})})}let O;r.cacheHelpMessage=function(){O=this.help()},r.clearCachedHelpMessage=function(){O=void 0},r.hasCachedHelpMessage=function(){return!!O};function D(M,R,L,G){let pe=[],we=null;return Object.keys(L).forEach(te=>{pe=pe.concat(L[te])}),M.forEach(te=>{we=[te].concat(R[te]),we.some(Ce=>pe.indexOf(Ce)!==-1)||L[G].push(te)}),pe}function B(M){return e.getOptions().hiddenOptions.indexOf(M)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}r.showHelp=M=>{let R=e.getInternalMethods().getLoggerInstance();M||(M="error"),(typeof M=="function"?M:R[M])(r.help())},r.functionDescription=M=>{let R=M.name?t.Parser.decamelize(M.name,"-"):n("generated-value");return["(",R,")"].join("")},r.stringifiedValues=function(R,L){let G="",pe=L||", ",we=[].concat(R);return!R||!we.length||we.forEach(te=>{G.length&&(G+=pe),G+=JSON.stringify(te)}),G};function N(M,R){let L=`[${n("default:")} `;if(M===void 0&&!R)return null;if(R)L+=R;else switch(typeof M){case"string":L+=`"${M}"`;break;case"object":L+=JSON.stringify(M);break;default:L+=M}return`${L}]`}function W(){return t.process.stdColumns?Math.min(80,t.process.stdColumns):80}let F=null;r.version=M=>{F=M},r.showVersion=M=>{let R=e.getInternalMethods().getLoggerInstance();M||(M="error"),(typeof M=="function"?M:R[M])(F)},r.reset=function(R){return a=null,c=!1,u=[],l=!1,v=[],p=[],f=[],d=Kn(d,L=>!R[L]),r};let q=[];return r.freeze=function(){q.push({failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:v,examples:p,commands:f,descriptions:d})},r.unfreeze=function(R=!1){let L=q.pop();!L||(R?(d={...L.descriptions,...d},f=[...L.commands,...f],u=[...L.usages,...u],p=[...L.examples,...p],v=[...L.epilogs,...v]):{failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:v,examples:p,commands:f,descriptions:d}=L)},r}function mu(e){return typeof e=="object"}function Ak(e,t){return mu(e)?{text:e.text,indentation:e.indentation+t}:{text:e,indentation:t}}function Ym(e){return mu(e)?e.indentation:0}function So(e){return mu(e)?e.text:e}var Vm=`###-begin-{{app_name}}-completions-###
|
|
199
213
|
#
|
|
200
214
|
# yargs command completion script
|
|
201
215
|
#
|
|
@@ -223,7 +237,7 @@ _{{app_name}}_yargs_completions()
|
|
|
223
237
|
}
|
|
224
238
|
complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}
|
|
225
239
|
###-end-{{app_name}}-completions-###
|
|
226
|
-
`,
|
|
240
|
+
`,Km=`#compdef {{app_name}}
|
|
227
241
|
###-begin-{{app_name}}-completions-###
|
|
228
242
|
#
|
|
229
243
|
# yargs command completion script
|
|
@@ -242,20 +256,20 @@ _{{app_name}}_yargs_completions()
|
|
|
242
256
|
}
|
|
243
257
|
compdef _{{app_name}}_yargs_completions {{app_name}}
|
|
244
258
|
###-end-{{app_name}}-completions-###
|
|
245
|
-
`;var
|
|
259
|
+
`;var gu=class{constructor(t,n,r,i){var a,s,o;this.yargs=t,this.usage=n,this.command=r,this.shim=i,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,r,i){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(_o(u)){this.indexAfterLastReset=o+1;let l=this.yargs.getInternalMethods().reset();return u(l,!0),l.argv}}let s=[];this.commandCompletions(s,t,r),this.optionCompletions(s,t,n,r),this.choicesFromOptionsCompletions(s,t,n,r),this.choicesFromPositionalsCompletions(s,t,n,r),i(null,s)}commandCompletions(t,n,r){let i=this.yargs.getInternalMethods().getContext().commands;!r.match(/^-/)&&i[i.length-1]!==r&&!this.previousArgHasChoices(n)&&this.usage.getCommands().forEach(a=>{let s=Vn(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,r,i){if((i.match(/^-/)||i===""&&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,i),c&&!!a.default[o]&&this.completeOptionKey(`no-${o}`,t,i))})}}choicesFromOptionsCompletions(t,n,r,i){if(this.previousArgHasChoices(n)){let a=this.getPreviousArgChoices(n);a&&a.length>0&&t.push(...a.map(s=>s.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(t,n,r,i){if(i===""&&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[r._.length-s-1];if(!o)return;let c=this.yargs.getOptions().choices[o]||[];for(let u of c)u.startsWith(i)&&t.push(u.replace(/:/g,"\\:"))}getPreviousArgChoices(t){if(t.length<1)return;let n=t[t.length-1],r="";if(!n.startsWith("-")&&t.length>1&&(r=n,n=t[t.length-2]),!n.startsWith("-"))return;let i=n.replace(/^-+/,""),a=this.yargs.getOptions(),s=[i,...this.yargs.getAliases()[i]||[]],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=>!r||c.startsWith(r))}previousArgHasChoices(t){let n=this.getPreviousArgChoices(t);return n!==void 0&&n.length>0}argsContainKey(t,n,r){let i=a=>t.indexOf((/^[^0-9]$/.test(a)?"-":"--")+a)!==-1;if(i(n)||r&&i(`no-${n}`))return!0;if(this.aliases){for(let a of this.aliases[n])if(i(a))return!0}return!1}completeOptionKey(t,n,r){let i=this.usage.getDescriptions(),a=c=>/^--/.test(c),s=c=>/^[^0-9]$/.test(c),o=!a(r)&&s(t)?"-":"--";if(!this.zshShell)n.push(o+t);else{let c=i[t]||"";n.push(o+`${t.replace(/:/g,"\\:")}:${c.replace("__yargsString__:","")}`)}}customCompletion(t,n,r,i){if(_t(this.customCompletionFunction,null,this.shim),Rk(this.customCompletionFunction)){let a=this.customCompletionFunction(r,n);return je(a)?a.then(s=>{this.shim.process.nextTick(()=>{i(null,s)})}).catch(s=>{this.shim.process.nextTick(()=>{i(s,void 0)})}):i(null,a)}else return Mk(this.customCompletionFunction)?this.customCompletionFunction(r,n,(a=i)=>this.defaultCompletion(t,n,r,a),a=>{i(null,a)}):this.customCompletionFunction(r,n,a=>{i(null,a)})}getCompletion(t,n){let r=t.length?t[t.length-1]:"",i=this.yargs.parse(t,!0),a=this.customCompletionFunction?s=>this.customCompletion(t,s,r,n):s=>this.defaultCompletion(t,s,r,n);return je(i)?i.then(a):a(i)}generateCompletionScript(t,n){let r=this.zshShell?Km:Vm,i=this.shim.path.basename(t);return t.match(/\.js$/)&&(t=`./${t}`),r=r.replace(/{{app_name}}/g,i),r=r.replace(/{{completion_command}}/g,n),r.replace(/{{app_path}}/g,t)}registerFunction(t){this.customCompletionFunction=t}setParsed(t){this.aliases=t.aliases}};function Zm(e,t,n,r){return new gu(e,t,n,r)}function Rk(e){return e.length<3}function Mk(e){return e.length>3}function Jm(e,t){if(e.length===0)return t.length;if(t.length===0)return e.length;let n=[],r;for(r=0;r<=t.length;r++)n[r]=[r];let i;for(i=0;i<=e.length;i++)n[0][i]=i;for(r=1;r<=t.length;r++)for(i=1;i<=e.length;i++)t.charAt(r-1)===e.charAt(i-1)?n[r][i]=n[r-1][i-1]:r>1&&i>1&&t.charAt(r-2)===e.charAt(i-1)&&t.charAt(r-1)===e.charAt(i-2)?n[r][i]=n[r-2][i-2]+1:n[r][i]=Math.min(n[r-1][i-1]+1,Math.min(n[r][i-1]+1,n[r-1][i]+1));return n[t.length][e.length]}var Qm=["$0","--","_"];function Xm(e,t,n){let r=n.y18n.__,i=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(i("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(i("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(i("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 d=null;for(let v of Object.keys(f))(!Object.prototype.hasOwnProperty.call(p,v)||typeof p[v]>"u")&&(d=d||{},d[v]=f[v]);if(d){let v=[];for(let h of Object.keys(d)){let x=d[h];x&&v.indexOf(x)<0&&v.push(x)}let g=v.length?`
|
|
246
260
|
${v.join(`
|
|
247
|
-
`)}`:"";t.fail(i("Missing required argument: %s","Missing required arguments: %s",Object.keys(
|
|
248
|
-
${r("Argument: %s, Given: %s, Choices: %s",
|
|
249
|
-
`;f.forEach(v=>{m+=v}),t.fail(m)}};let c={};a.conflicts=function(p,f){H("<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(r("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(r("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 _=Sm(p,x);_<=3&&_<g&&(g=_,v=x)}v&&t.fail(r("Did you mean %s?",v))},a.reset=function(p){return s=Wn(s,f=>!p[f]),c=Wn(c,f=>!p[f]),a};let u=[];return a.freeze=function(){u.push({implied:s,conflicting:c})},a.unfreeze=function(){let p=u.pop();vt(p,void 0,n),{implied:s,conflicting:c}=p},a}var ru=[],La;function qa(e,t,n,r){La=r;let i={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if(typeof e.extends!="string")return i;let a=/\.json|\..*rc$/.test(e.extends),s=null;if(a)s=DO(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}FO(s),ru.push(s),i=a?JSON.parse(La.readFileSync(s,"utf8")):require(e.extends),delete e.extends,i=qa(i,La.path.dirname(s),n,La)}return ru=[],n?km(i,e):Object.assign({},i,e)}function FO(e){if(ru.indexOf(e)>-1)throw new Se(`Circular extended configurations: '${e}'.`)}function DO(e,t){return La.path.resolve(e,t)}function km(e,t){let n={};function r(i){return i&&typeof i=="object"&&!Array.isArray(i)}Object.assign(n,e);for(let i of Object.keys(t))r(t[i])&&r(n[i])?n[i]=km(e[i],t[i]):n[i]=t[i];return n}var Y=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},h=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},ze,Er,Ba,Gt,Mt,co,Yn,Or,lo,Kt,uo,Vt,vn,Pt,Zt,po,xi,Xe,Q,fo,ho,It,kr,yi,Tr,Gn,mo,ie,Cr,Ar,jr,ce,bn,Ne;function Hm(e){return(t=[],n=e.process.cwd(),r)=>{let i=new hu(t,n,r,e);return Object.defineProperty(i,"argv",{get:()=>i.parse(),enumerable:!0}),i.help(),i.version(),i}}var Tm=Symbol("copyDoubleDash"),Cm=Symbol("copyDoubleDash"),iu=Symbol("deleteFromParserHintObject"),Am=Symbol("emitWarning"),jm=Symbol("freeze"),Rm=Symbol("getDollarZero"),Rr=Symbol("getParserConfiguration"),au=Symbol("guessLocale"),Mm=Symbol("guessVersion"),Pm=Symbol("parsePositionalNumbers"),su=Symbol("pkgUp"),Kn=Symbol("populateParserHintArray"),wi=Symbol("populateParserHintSingleValueDictionary"),ou=Symbol("populateParserHintArrayDictionary"),cu=Symbol("populateParserHintDictionary"),lu=Symbol("sanitizeKey"),uu=Symbol("setKey"),pu=Symbol("unfreeze"),Im=Symbol("validateAsync"),Nm=Symbol("getCommandInstance"),Lm=Symbol("getContext"),qm=Symbol("getHasOutput"),Bm=Symbol("getLoggerInstance"),Fm=Symbol("getParseContext"),Dm=Symbol("getUsageInstance"),zm=Symbol("getValidationInstance"),go=Symbol("hasParseCallback"),Um=Symbol("isGlobalContext"),Mr=Symbol("postProcess"),$m=Symbol("rebase"),fu=Symbol("reset"),Fa=Symbol("runYargsParserAndExecuteCommands"),du=Symbol("runValidation"),Wm=Symbol("setHasOutput"),Pr=Symbol("kTrackManuallySetKeys"),hu=class{constructor(t=[],n,r,i){this.customScriptName=!1,this.parsed=!1,ze.set(this,void 0),Er.set(this,void 0),Ba.set(this,{commands:[],fullCommands:[]}),Gt.set(this,null),Mt.set(this,null),co.set(this,"show-hidden"),Yn.set(this,null),Or.set(this,!0),lo.set(this,{}),Kt.set(this,!0),uo.set(this,[]),Vt.set(this,void 0),vn.set(this,{}),Pt.set(this,!1),Zt.set(this,null),po.set(this,!0),xi.set(this,void 0),Xe.set(this,""),Q.set(this,void 0),fo.set(this,void 0),ho.set(this,{}),It.set(this,null),kr.set(this,null),yi.set(this,{}),Tr.set(this,{}),Gn.set(this,void 0),mo.set(this,!1),ie.set(this,void 0),Cr.set(this,!1),Ar.set(this,!1),jr.set(this,!1),ce.set(this,void 0),bn.set(this,null),Ne.set(this,void 0),Y(this,ie,i,"f"),Y(this,Gn,t,"f"),Y(this,Er,n,"f"),Y(this,fo,r,"f"),Y(this,Vt,new ao(this),"f"),this.$0=this[Rm](),this[fu](),Y(this,ze,h(this,ze,"f"),"f"),Y(this,ce,h(this,ce,"f"),"f"),Y(this,Ne,h(this,Ne,"f"),"f"),Y(this,Q,h(this,Q,"f"),"f"),h(this,Q,"f").showHiddenOpt=h(this,co,"f"),Y(this,xi,this[Cm](),"f")}addHelpOpt(t,n){let r="help";return H("[string|boolean] [string]",[t,n],arguments.length),h(this,Zt,"f")&&(this[iu](h(this,Zt,"f")),Y(this,Zt,null,"f")),t===!1&&n===void 0?this:(Y(this,Zt,typeof t=="string"?t:r,"f"),this.boolean(h(this,Zt,"f")),this.describe(h(this,Zt,"f"),n||h(this,ce,"f").deferY18nLookup("Show help")),this)}help(t,n){return this.addHelpOpt(t,n)}addShowHiddenOpt(t,n){if(H("[string|boolean] [string]",[t,n],arguments.length),t===!1&&n===void 0)return this;let r=typeof t=="string"?t:h(this,co,"f");return this.boolean(r),this.describe(r,n||h(this,ce,"f").deferY18nLookup("Show hidden options")),h(this,Q,"f").showHiddenOpt=r,this}showHidden(t,n){return this.addShowHiddenOpt(t,n)}alias(t,n){return H("<object|string|array> [string|array]",[t,n],arguments.length),this[ou](this.alias.bind(this),"alias",t,n),this}array(t){return H("<array|string>",[t],arguments.length),this[Kn]("array",t),this[Pr](t),this}boolean(t){return H("<array|string>",[t],arguments.length),this[Kn]("boolean",t),this[Pr](t),this}check(t,n){return H("<function> [boolean]",[t,n],arguments.length),this.middleware((r,i)=>Sr(()=>t(r,i.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&h(this,ce,"f").fail(a.toString(),a):h(this,ce,"f").fail(h(this,ie,"f").y18n.__("Argument check failed: %s",t.toString())),r),a=>(h(this,ce,"f").fail(a.message?a.message:a.toString(),a),r)),!1,n),this}choices(t,n){return H("<object|string|array> [string|array]",[t,n],arguments.length),this[ou](this.choices.bind(this),"choices",t,n),this}coerce(t,n){if(H("<object|string|array> [function]",[t,n],arguments.length),Array.isArray(t)){if(!n)throw new Se("coerce callback must be provided");for(let r of t)this.coerce(r,n);return this}else if(typeof t=="object"){for(let r of Object.keys(t))this.coerce(r,t[r]);return this}if(!n)throw new Se("coerce callback must be provided");return h(this,Q,"f").key[t]=!0,h(this,Vt,"f").addCoerceMiddleware((r,i)=>{let a;return Object.prototype.hasOwnProperty.call(r,t)?Sr(()=>(a=i.getAliases(),n(r[t])),o=>{r[t]=o;let c=i.getInternalMethods().getParserConfiguration()["strip-aliased"];if(a[t]&&c!==!0)for(let u of a[t])r[u]=o;return r},o=>{throw new Se(o.message)}):r},t),this}conflicts(t,n){return H("<string|object> [string|array]",[t,n],arguments.length),h(this,Ne,"f").conflicts(t,n),this}config(t="config",n,r){return H("[object|string] [string|function] [function]",[t,n,r],arguments.length),typeof t=="object"&&!Array.isArray(t)?(t=qa(t,h(this,Er,"f"),this[Rr]()["deep-merge-config"]||!1,h(this,ie,"f")),h(this,Q,"f").configObjects=(h(this,Q,"f").configObjects||[]).concat(t),this):(typeof n=="function"&&(r=n,n=void 0),this.describe(t,n||h(this,ce,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach(i=>{h(this,Q,"f").config[i]=r||!0}),this)}completion(t,n,r){return H("[string] [string|boolean|function] [function]",[t,n,r],arguments.length),typeof n=="function"&&(r=n,n=void 0),Y(this,Mt,t||h(this,Mt,"f")||"completion","f"),!n&&n!==!1&&(n="generate completion script"),this.command(h(this,Mt,"f"),n),r&&h(this,Gt,"f").registerFunction(r),this}command(t,n,r,i,a,s){return H("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[t,n,r,i,a,s],arguments.length),h(this,ze,"f").addHandler(t,n,r,i,a,s),this}commands(t,n,r,i,a,s){return this.command(t,n,r,i,a,s)}commandDir(t,n){H("<string> [object]",[t,n],arguments.length);let r=h(this,fo,"f")||h(this,ie,"f").require;return h(this,ze,"f").addDirectory(t,r,h(this,ie,"f").getCallerFile(),n),this}count(t){return H("<array|string>",[t],arguments.length),this[Kn]("count",t),this[Pr](t),this}default(t,n,r){return H("<object|string|array> [*] [string]",[t,n,r],arguments.length),r&&(Xl(t,h(this,ie,"f")),h(this,Q,"f").defaultDescription[t]=r),typeof n=="function"&&(Xl(t,h(this,ie,"f")),h(this,Q,"f").defaultDescription[t]||(h(this,Q,"f").defaultDescription[t]=h(this,ce,"f").functionDescription(n)),n=n.call()),this[wi](this.default.bind(this),"default",t,n),this}defaults(t,n,r){return this.default(t,n,r)}demandCommand(t=1,n,r,i){return H("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,n,r,i],arguments.length),typeof n!="number"&&(r=n,n=1/0),this.global("_",!1),h(this,Q,"f").demandedCommands._={min:t,max:n,minMsg:r,maxMsg:i},this}demand(t,n,r){return Array.isArray(n)?(n.forEach(i=>{vt(r,!0,h(this,ie,"f")),this.demandOption(i,r)}),n=1/0):typeof n!="number"&&(r=n,n=1/0),typeof t=="number"?(vt(r,!0,h(this,ie,"f")),this.demandCommand(t,n,r,r)):Array.isArray(t)?t.forEach(i=>{vt(r,!0,h(this,ie,"f")),this.demandOption(i,r)}):typeof r=="string"?this.demandOption(t,r):(r===!0||typeof r>"u")&&this.demandOption(t),this}demandOption(t,n){return H("<object|string|array> [string]",[t,n],arguments.length),this[wi](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return H("<string> [string|boolean]",[t,n],arguments.length),h(this,Q,"f").deprecatedOptions[t]=n,this}describe(t,n){return H("<object|string|array> [string]",[t,n],arguments.length),this[uu](t,!0),h(this,ce,"f").describe(t,n),this}detectLocale(t){return H("<boolean>",[t],arguments.length),Y(this,Or,t,"f"),this}env(t){return H("[string|boolean]",[t],arguments.length),t===!1?delete h(this,Q,"f").envPrefix:h(this,Q,"f").envPrefix=t||"",this}epilogue(t){return H("<string>",[t],arguments.length),h(this,ce,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,n){return H("<string|array> [string]",[t,n],arguments.length),Array.isArray(t)?t.forEach(r=>this.example(...r)):h(this,ce,"f").example(t,n),this}exit(t,n){Y(this,Pt,!0,"f"),Y(this,Yn,n,"f"),h(this,Kt,"f")&&h(this,ie,"f").process.exit(t)}exitProcess(t=!0){return H("[boolean]",[t],arguments.length),Y(this,Kt,t,"f"),this}fail(t){if(H("<function|boolean>",[t],arguments.length),typeof t=="boolean"&&t!==!1)throw new Se("Invalid first argument. Expected function or boolean 'false'");return h(this,ce,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,n){return H("<array> [function]",[t,n],arguments.length),n?h(this,Gt,"f").getCompletion(t,n):new Promise((r,i)=>{h(this,Gt,"f").getCompletion(t,(a,s)=>{a?i(a):r(s)})})}getDemandedOptions(){return H([],0),h(this,Q,"f").demandedOptions}getDemandedCommands(){return H([],0),h(this,Q,"f").demandedCommands}getDeprecatedOptions(){return H([],0),h(this,Q,"f").deprecatedOptions}getDetectLocale(){return h(this,Or,"f")}getExitProcess(){return h(this,Kt,"f")}getGroups(){return Object.assign({},h(this,vn,"f"),h(this,Tr,"f"))}getHelp(){if(Y(this,Pt,!0,"f"),!h(this,ce,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Fa](h(this,Gn,"f"),void 0,void 0,0,!0);if(Te(n))return n.then(()=>h(this,ce,"f").help())}let t=h(this,ze,"f").runDefaultBuilderOn(this);if(Te(t))return t.then(()=>h(this,ce,"f").help())}return Promise.resolve(h(this,ce,"f").help())}getOptions(){return h(this,Q,"f")}getStrict(){return h(this,Cr,"f")}getStrictCommands(){return h(this,Ar,"f")}getStrictOptions(){return h(this,jr,"f")}global(t,n){return H("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?h(this,Q,"f").local=h(this,Q,"f").local.filter(r=>t.indexOf(r)===-1):t.forEach(r=>{h(this,Q,"f").local.includes(r)||h(this,Q,"f").local.push(r)}),this}group(t,n){H("<string|array> <string>",[t,n],arguments.length);let r=h(this,Tr,"f")[n]||h(this,vn,"f")[n];h(this,Tr,"f")[n]&&delete h(this,Tr,"f")[n];let i={};return h(this,vn,"f")[n]=(r||[]).concat(t).filter(a=>i[a]?!1:i[a]=!0),this}hide(t){return H("<string>",[t],arguments.length),h(this,Q,"f").hiddenOptions.push(t),this}implies(t,n){return H("<string|object> [number|string|array]",[t,n],arguments.length),h(this,Ne,"f").implies(t,n),this}locale(t){return H("[string]",[t],arguments.length),t===void 0?(this[au](),h(this,ie,"f").y18n.getLocale()):(Y(this,Or,!1,"f"),h(this,ie,"f").y18n.setLocale(t),this)}middleware(t,n,r){return h(this,Vt,"f").addMiddleware(t,!!n,r)}nargs(t,n){return H("<string|object|array> [number]",[t,n],arguments.length),this[wi](this.nargs.bind(this),"narg",t,n),this}normalize(t){return H("<array|string>",[t],arguments.length),this[Kn]("normalize",t),this}number(t){return H("<array|string>",[t],arguments.length),this[Kn]("number",t),this[Pr](t),this}option(t,n){if(H("<string|object> [object]",[t,n],arguments.length),typeof t=="object")Object.keys(t).forEach(r=>{this.options(r,t[r])});else{typeof n!="object"&&(n={}),this[Pr](t),h(this,bn,"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"),
|
|
251
|
-
`,"f"),Y(this,
|
|
252
|
-
`,"f"),Y(this,Xe,h(this,Xe,"f")+t.join(" "),"f")}}}[iu](t){vi(h(this,Q,"f")).forEach(n=>{if((i=>i==="configObjects")(n))return;let r=h(this,Q,"f")[n];Array.isArray(r)?r.includes(t)&&r.splice(r.indexOf(t),1):typeof r=="object"&&delete r[t]}),delete h(this,ce,"f").getDescriptions()[t]}[Am](t,n,r){h(this,lo,"f")[r]||(h(this,ie,"f").process.emitWarning(t,n),h(this,lo,"f")[r]=!0)}[jm](){h(this,uo,"f").push({options:h(this,Q,"f"),configObjects:h(this,Q,"f").configObjects.slice(0),exitProcess:h(this,Kt,"f"),groups:h(this,vn,"f"),strict:h(this,Cr,"f"),strictCommands:h(this,Ar,"f"),strictOptions:h(this,jr,"f"),completionCommand:h(this,Mt,"f"),output:h(this,Xe,"f"),exitError:h(this,Yn,"f"),hasOutput:h(this,Pt,"f"),parsed:this.parsed,parseFn:h(this,It,"f"),parseContext:h(this,kr,"f")}),h(this,ce,"f").freeze(),h(this,Ne,"f").freeze(),h(this,ze,"f").freeze(),h(this,Vt,"f").freeze()}[Rm](){let t="",n;return/\b(node|iojs|electron)(\.exe)?$/.test(h(this,ie,"f").process.argv()[0])?n=h(this,ie,"f").process.argv().slice(1,2):n=h(this,ie,"f").process.argv().slice(0,1),t=n.map(r=>{let i=this[$m](h(this,Er,"f"),r);return r.match(/^(\/|([a-zA-Z]:)?\\)/)&&i.length<r.length?i:r}).join(" ").trim(),h(this,ie,"f").getEnv("_")&&h(this,ie,"f").getProcessArgvBin()===h(this,ie,"f").getEnv("_")&&(t=h(this,ie,"f").getEnv("_").replace(`${h(this,ie,"f").path.dirname(h(this,ie,"f").process.execPath())}/`,"")),t}[Rr](){return h(this,ho,"f")}[au](){if(!h(this,Or,"f"))return;let t=h(this,ie,"f").getEnv("LC_ALL")||h(this,ie,"f").getEnv("LC_MESSAGES")||h(this,ie,"f").getEnv("LANG")||h(this,ie,"f").getEnv("LANGUAGE")||"en_US";this.locale(t.replace(/[.:].*/,""))}[Mm](){return this[su]().version||"unknown"}[Pm](t){let n=t["--"]?t["--"]:t._;for(let r=0,i;(i=n[r])!==void 0;r++)h(this,ie,"f").Parser.looksLikeNumber(i)&&Number.isSafeInteger(Math.floor(parseFloat(`${i}`)))&&(n[r]=Number(i));return t}[su](t){let n=t||"*";if(h(this,yi,"f")[n])return h(this,yi,"f")[n];let r={};try{let i=t||h(this,ie,"f").mainFilename;!t&&h(this,ie,"f").path.extname(i)&&(i=h(this,ie,"f").path.dirname(i));let a=h(this,ie,"f").findUp(i,(s,o)=>{if(o.includes("package.json"))return"package.json"});vt(a,void 0,h(this,ie,"f")),r=JSON.parse(h(this,ie,"f").readFileSync(a,"utf8"))}catch{}return h(this,yi,"f")[n]=r||{},h(this,yi,"f")[n]}[Kn](t,n){n=[].concat(n),n.forEach(r=>{r=this[lu](r),h(this,Q,"f")[t].push(r)})}[wi](t,n,r,i){this[cu](t,n,r,i,(a,s,o)=>{h(this,Q,"f")[a][s]=o})}[ou](t,n,r,i){this[cu](t,n,r,i,(a,s,o)=>{h(this,Q,"f")[a][s]=(h(this,Q,"f")[a][s]||[]).concat(o)})}[cu](t,n,r,i,a){if(Array.isArray(r))r.forEach(s=>{t(s,i)});else if((s=>typeof s=="object")(r))for(let s of vi(r))t(s,r[s]);else a(n,this[lu](r),i)}[lu](t){return t==="__proto__"?"___proto___":t}[uu](t,n){return this[wi](this[uu].bind(this),"key",t,n),this}[pu](){var t,n,r,i,a,s,o,c,u,l,p,f;let m=h(this,uo,"f").pop();vt(m,void 0,h(this,ie,"f"));let v;t=this,n=this,r=this,i=this,a=this,s=this,o=this,c=this,u=this,l=this,p=this,f=this,{options:{set value(g){Y(t,Q,g,"f")}}.value,configObjects:v,exitProcess:{set value(g){Y(n,Kt,g,"f")}}.value,groups:{set value(g){Y(r,vn,g,"f")}}.value,output:{set value(g){Y(i,Xe,g,"f")}}.value,exitError:{set value(g){Y(a,Yn,g,"f")}}.value,hasOutput:{set value(g){Y(s,Pt,g,"f")}}.value,parsed:this.parsed,strict:{set value(g){Y(o,Cr,g,"f")}}.value,strictCommands:{set value(g){Y(c,Ar,g,"f")}}.value,strictOptions:{set value(g){Y(u,jr,g,"f")}}.value,completionCommand:{set value(g){Y(l,Mt,g,"f")}}.value,parseFn:{set value(g){Y(p,It,g,"f")}}.value,parseContext:{set value(g){Y(f,kr,g,"f")}}.value}=m,h(this,Q,"f").configObjects=v,h(this,ce,"f").unfreeze(),h(this,Ne,"f").unfreeze(),h(this,ze,"f").unfreeze(),h(this,Vt,"f").unfreeze()}[Im](t,n){return Sr(n,r=>(t(r),r))}getInternalMethods(){return{getCommandInstance:this[Nm].bind(this),getContext:this[Lm].bind(this),getHasOutput:this[qm].bind(this),getLoggerInstance:this[Bm].bind(this),getParseContext:this[Fm].bind(this),getParserConfiguration:this[Rr].bind(this),getUsageInstance:this[Dm].bind(this),getValidationInstance:this[zm].bind(this),hasParseCallback:this[go].bind(this),isGlobalContext:this[Um].bind(this),postProcess:this[Mr].bind(this),reset:this[fu].bind(this),runValidation:this[du].bind(this),runYargsParserAndExecuteCommands:this[Fa].bind(this),setHasOutput:this[Wm].bind(this)}}[Nm](){return h(this,ze,"f")}[Lm](){return h(this,Ba,"f")}[qm](){return h(this,Pt,"f")}[Bm](){return h(this,xi,"f")}[Fm](){return h(this,kr,"f")||{}}[Dm](){return h(this,ce,"f")}[zm](){return h(this,Ne,"f")}[go](){return!!h(this,It,"f")}[Um](){return h(this,po,"f")}[Mr](t,n,r,i){return r||Te(t)||(n||(t=this[Tm](t)),(this[Rr]()["parse-positional-numbers"]||this[Rr]()["parse-positional-numbers"]===void 0)&&(t=this[Pm](t)),i&&(t=_r(t,this,h(this,Vt,"f").getMiddleware(),!1))),t}[fu](t={}){Y(this,Q,h(this,Q,"f")||{},"f");let n={};n.local=h(this,Q,"f").local||[],n.configObjects=h(this,Q,"f").configObjects||[];let r={};n.local.forEach(s=>{r[s]=!0,(t[s]||[]).forEach(o=>{r[o]=!0})}),Object.assign(h(this,Tr,"f"),Object.keys(h(this,vn,"f")).reduce((s,o)=>{let c=h(this,vn,"f")[o].filter(u=>!(u in r));return c.length>0&&(s[o]=c),s},{})),Y(this,vn,{},"f");let i=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],a=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return i.forEach(s=>{n[s]=(h(this,Q,"f")[s]||[]).filter(o=>!r[o])}),a.forEach(s=>{n[s]=Wn(h(this,Q,"f")[s],o=>!r[o])}),n.envPrefix=h(this,Q,"f").envPrefix,Y(this,Q,n,"f"),Y(this,ce,h(this,ce,"f")?h(this,ce,"f").reset(r):xm(this,h(this,ie,"f")),"f"),Y(this,Ne,h(this,Ne,"f")?h(this,Ne,"f").reset(r):Om(this,h(this,ce,"f"),h(this,ie,"f")),"f"),Y(this,ze,h(this,ze,"f")?h(this,ze,"f").reset():gm(h(this,ce,"f"),h(this,Ne,"f"),h(this,Vt,"f"),h(this,ie,"f")),"f"),h(this,Gt,"f")||Y(this,Gt,_m(this,h(this,ce,"f"),h(this,ze,"f"),h(this,ie,"f")),"f"),h(this,Vt,"f").reset(),Y(this,Mt,null,"f"),Y(this,Xe,"","f"),Y(this,Yn,null,"f"),Y(this,Pt,!1,"f"),this.parsed=!1,this}[$m](t,n){return h(this,ie,"f").path.relative(t,n)}[Fa](t,n,r,i=0,a=!1){let s=!!r||a;t=t||h(this,Gn,"f"),h(this,Q,"f").__=h(this,ie,"f").y18n.__,h(this,Q,"f").configuration=this[Rr]();let o=!!h(this,Q,"f").configuration["populate--"],c=Object.assign({},h(this,Q,"f").configuration,{"populate--":!0}),u=h(this,ie,"f").Parser.detailed(t,Object.assign({},h(this,Q,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,h(this,kr,"f")),p,f=u.aliases,m=!1,v=!1;Object.keys(l).forEach(g=>{g===h(this,Zt,"f")&&l[g]?m=!0:g===h(this,bn,"f")&&l[g]&&(v=!0)}),l.$0=this.$0,this.parsed=u,i===0&&h(this,ce,"f").clearCachedHelpMessage();try{if(this[au](),n)return this[Mr](l,o,!!r,!1);h(this,Zt,"f")&&[h(this,Zt,"f")].concat(f[h(this,Zt,"f")]||[]).filter(T=>T.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),m=!0),Y(this,po,!1,"f");let g=h(this,ze,"f").getCommands(),d=h(this,Gt,"f").completionKey in l,x=m||d||a;if(l._.length){if(g.length){let _;for(let T=i||0,k;l._[T]!==void 0;T++)if(k=String(l._[T]),g.includes(k)&&k!==h(this,Mt,"f")){let O=h(this,ze,"f").runCommand(k,this,u,T+1,a,m||v||a);return this[Mr](O,o,!!r,!1)}else if(!_&&k!==h(this,Mt,"f")){_=k;break}!h(this,ze,"f").hasDefaultCommand()&&h(this,mo,"f")&&_&&!x&&h(this,Ne,"f").recommendCommands(_,g)}h(this,Mt,"f")&&l._.includes(h(this,Mt,"f"))&&!d&&(h(this,Kt,"f")&&Hn(!0),this.showCompletionScript(),this.exit(0))}if(h(this,ze,"f").hasDefaultCommand()&&!x){let _=h(this,ze,"f").runCommand(null,this,u,0,a,m||v||a);return this[Mr](_,o,!!r,!1)}if(d){h(this,Kt,"f")&&Hn(!0),t=[].concat(t);let _=t.slice(t.indexOf(`--${h(this,Gt,"f").completionKey}`)+1);return h(this,Gt,"f").getCompletion(_,(T,k)=>{if(T)throw new Se(T.message);(k||[]).forEach(O=>{h(this,xi,"f").log(O)}),this.exit(0)}),this[Mr](l,!o,!!r,!1)}if(h(this,Pt,"f")||(m?(h(this,Kt,"f")&&Hn(!0),s=!0,this.showHelp("log"),this.exit(0)):v&&(h(this,Kt,"f")&&Hn(!0),s=!0,h(this,ce,"f").showVersion("log"),this.exit(0))),!s&&h(this,Q,"f").skipValidation.length>0&&(s=Object.keys(l).some(_=>h(this,Q,"f").skipValidation.indexOf(_)>=0&&l[_]===!0)),!s){if(u.error)throw new Se(u.error.message);if(!d){let _=this[du](f,{},u.error);r||(p=_r(l,this,h(this,Vt,"f").getMiddleware(),!0)),p=this[Im](_,p??l),Te(p)&&!r&&(p=p.then(()=>_r(l,this,h(this,Vt,"f").getMiddleware(),!1)))}}}catch(g){if(g instanceof Se)h(this,ce,"f").fail(g.message,g);else throw g}return this[Mr](p??l,o,!!r,!0)}[du](t,n,r,i){let a={...this.getDemandedOptions()};return s=>{if(r)throw new Se(r.message);h(this,Ne,"f").nonOptionCount(s),h(this,Ne,"f").requiredArguments(s,a);let o=!1;h(this,Ar,"f")&&(o=h(this,Ne,"f").unknownCommands(s)),h(this,Cr,"f")&&!o?h(this,Ne,"f").unknownArguments(s,t,n,!!i):h(this,jr,"f")&&h(this,Ne,"f").unknownArguments(s,t,{},!1,!1),h(this,Ne,"f").limitedChoices(s),h(this,Ne,"f").implications(s),h(this,Ne,"f").conflicting(s)}}[Wm](){Y(this,Pt,!0,"f")}[Pr](t){if(typeof t=="string")h(this,Q,"f").key[t]=!0;else for(let n of t)h(this,Q,"f").key[n]=!0}};function vm(e){return!!e&&typeof e.getInternalMethods=="function"}var zO=Hm(Jl),Ym=zO;var zl=ne(kt());var Xp={};De(Xp,{builder:()=>I5,command:()=>M5,describe:()=>P5,handler:()=>N5});var pc=ne(require("path")),Cp=ne(require("os")),fc=ne(require("fs")),dx=ne(kt());var on=ne(require("fs")),An=ne(require("path")),cx=ne(Tt()),lx=ne(require("os"));async function ux(e){let t=(0,cx.default)("Validating build path").start(),n={isValid:!1,buildPath:e},r=An.default.join(e,"package.json"),i=An.default.join(e,"build");if(on.default.existsSync(r)&&on.default.statSync(r).isFile())if(on.default.existsSync(i)&&on.default.statSync(i).isDirectory())n.buildPath=An.default.join(e,"build");else return t.fail("It seems that you haven't built your subgraph. Please build it before deploying."),n.isValid=!1,n;try{await Promise.all([on.default.promises.stat(An.default.join(e,"subgraph.yaml")),on.default.promises.stat(An.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(a){t.fail()}return n}async function uc(){let e=lx.default.homedir(),t=An.default.join(e,".goldsky");try{await on.default.promises.stat(t)}catch(n){await on.default.promises.mkdir(t)}return t}async function px(e){let t=await uc();await on.default.promises.writeFile(An.default.join(t,"project.json"),JSON.stringify(e),"utf8")}async function fx(){let e=await uc(),t=An.default.join(e,"project.json");try{let n=await on.default.promises.readFile(t,"utf8");return JSON.parse(n)}catch(n){return null}}async function gj(){let e=Cp.default.homedir(),t=pc.default.join(e,".goldsky","auth_token");try{return await fc.default.promises.readFile(t,"utf8")}catch(n){}return null}async function hx(){let e=await gj();e&&Xa(e)}function Xa(e){dx.ApiFetch.setAuth(`Bearer ${e}`)}async function mx(e){let t=await uc();await fc.default.promises.writeFile(pc.default.join(t,"auth_token"),e,"utf8")}async function gx(){let e=Cp.default.homedir(),t=pc.default.join(e,".goldsky","auth_token");try{await fc.default.promises.rm(t)}catch(n){}}var ns=ne(Ct()),Ac=ne(require("readline")),zy=ne(Jp()),Uy=ne(Tt());async function Dy(e,t){Xa(e),console.log();let n=(0,Uy.default)("Validating API Token").start();try{let r=await zy.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:i=>!0});if(r.status===200&&r.data.success){await mx(e),await px(r.data.project),n.succeed(`${ns.default.bold(`Logged in to project '${r.data.project.name}'`)} You can now run any authenticated commands on Goldsky from this computer`);return}}catch(r){}n.fail(`${ns.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function $y(e){if(e.token)return Dy(e.token,e);let t=`Enter or paste in your Goldsky API token ${ns.default.italic("(you can create a new one at https://app.goldsky.com/dashboard/settings)")}: `,n=Ac.default.createInterface({input:process.stdin,output:process.stdout});n.stdoutMuted=!0,n.question(t,async r=>{n.close(),await Dy(r,e)}),n._writeToOutput=r=>{if(process.stdout.isTTY)if(r.charCodeAt(0)===13)n.output.write(r);else if(r.length>1){let i=n.line.length;Ac.default.moveCursor(n.output,0,0),Ac.default.clearLine(n.output,1),n.output.write(`${t}${"*".repeat(i)}`)}else n.output.write("*")}}async function Wy(e){gx(),console.log(`${ns.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var M5="login",P5="Log in to Goldsky to enable running authenticated CLI commands",I5=e=>e.version(!1),N5=async({apiHost:e,token:t})=>{await $y({apiHost:e,token:t})};var Qp={};De(Qp,{builder:()=>B5,command:()=>L5,describe:()=>q5,handler:()=>F5});var L5="logout",q5="Log out of Goldsky on this computer",B5=e=>e.version(!1),F5=async({apiHost:e})=>{await Wy({apiHost:e})};var Ah={};De(Ah,{builder:()=>WL,command:()=>UL,describe:()=>$L,handler:()=>HL});var tf={};De(tf,{builder:()=>U5,command:()=>D5,describe:()=>z5,handler:()=>$5});var jc=ne(Ct()),Hy=ne(kt()),Yy=ne(Tt());async function ef(e){let t=(0,Yy.default)("Removing subgraph").start(),[n,r]=await Hy.ApiFetch.delete_(i=>`/api/admin/subgraph/v1/subgraphs/${i.name}/deployments/${i.version_label}`,{params:{name:e.name,version_label:e.v}});n?(t.fail(`${jc.default.bold("Subgraph removal failed:")} ${jc.default.red(n.message)}`),process.exit(1)):t.succeed(jc.default.bold("Removed subgraph"))}var ot=e=>e.split("/");var D5="delete <nameAndVersion>",z5="Delete a subgraph from Goldsky",U5=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),$5=async({apiHost:e,nameAndVersion:t})=>ef({apiHost:e,name:ot(t)[0],v:ot(t)[1]});var hh={};De(hh,{builder:()=>VN,command:()=>GN,describe:()=>KN,handler:()=>ZN});var Aa=ne(Ct());var JS=ne(oS()),Un=ne(require("fs")),XS=ne(require("os")),hn=ne(require("path")),Nl=ne(KS()),ja=ne(kt()),Ca=ne(Tt()),dh=ne(Jp());var VS=3;async function $N(e,t,n){let r=dh.default.create({}),i=hn.default.join(XS.default.tmpdir(),`goldsky-deploy-${e}`);try{await Un.default.promises.mkdir(i)}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,Nl.default.createNode(v))},u=()=>{n.prefixText=`${Math.round(o++/(a.length+1)*100)}%`},l=await r.get(`${t}/api/v0/cat?arg=${e}`);u();let p=Nl.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 Un.default.promises.writeFile(hn.default.join(i,"subgraph.yaml"),p.toString());for(let f of a){let m=hn.default.join(i,f[1]);if(!Un.default.existsSync(m))try{let v=0;for(;v<VS;){let g=await r.get(`${t}/api/v0/cat?arg=${f[0]}`,{responseType:"arraybuffer",validateStatus:d=>d>=200&&d<300||v<VS-1&&d===504});if(g.status===504)++v;else{await Un.default.promises.writeFile(m,g.data);break}}}catch(v){try{await Un.default.promises.rm(m)}catch(g){}throw v}u()}return n.prefixText="",i}async function WN(e){let t=new URL(e),n=dh.default.create({});try{return(await n.post(e,{query:"{_meta{deployment}}",variables:null},$l({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}catch(r){throw new Error("Could not find deployment, did you use a GraphQL endpoint?")}}async function QS(e){if(console.log(Aa.default.bold("Deploying Subgraph:")),e.abi){let a=(0,Ca.default)("Generating subgraph(s) (this may take several minutes)").start(),s;try{s=await HN(e.abi)}catch(u){di(a,u);return}let[o,c]=await ja.ApiFetch.post("/api/admin/subgraph/v1/subgraphs/generated",{body:{bundle:s}});if(o){di(a,o);return}else{let u=c.data.generate_config_cursor;for(;;){let[l,p]=await ja.ApiFetch.post("/api/admin/subgraph/v1/subgraphs/check_generated",{body:{cursor:u}});if(l){di(a,l);return}else{let f=p.data.filter(m=>m.status==="FAILED");if(f.length){di(a,{message:`Failed to generate subgraph on chain ${f[0].chain} from ABI bundle: ${f[0].failure_info}`});return}else if(p.data.filter(m=>m.status==="COMPLETE").length===p.data.length){a.succeed();for(let m of p.data)await ZS(Uh($l({},e),{name:`${e.name}-${m.chain}`}),{generatedBundleId:m.generated_subgraph_id});return}}await new Promise(f=>setTimeout(f,5e3))}}}let t=e.path||hn.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let a=(0,Ca.default)("Getting subgraph deployment metadata").start();try{n=await WN(e.graphql),a.succeed()}catch(s){di(a,s);return}}if(n){let a=(0,Ca.default)("Downloading subgraph from IPFS (This can take a while)").start();try{t=await $N(n,e.ipfsGateway,a),a.succeed()}catch(s){di(a,s);return}}let r=await ux(t);if(!r.isValid){console.log("Deployment failed: This path doesn't point to a subgraph build path");return}let i=await YN(r.buildPath);await ZS(e,{bundle:i})}async function HN(e){let t=hn.default.resolve(process.cwd(),e),n=hn.default.dirname(t),r=require(t);for(let i in r.abis)r.abis[i]=require(hn.default.resolve(n,r.abis[i].path));if(r.chains&&Array.isArray(r.chains)){let[i,a]=await ja.ApiFetch.get("/api/admin/subgraph/v1/subgraphs/supported_chains");if(i)throw i;{let s=r.chains.filter(o=>!a.data.supported_chains.find(c=>c===o));if(s.length)throw new Error(`The chains [${s.join(", ")}] are not supported. Please specify any combination of the following supported chains: [${a.data.supported_chains.join(", ")}]`)}}return JSON.stringify(r)}async function ZS(e,t){let n=(0,Ca.default)(`Deploying ${e.name}/${e.v} to Goldsky`).start(),r=ja.ApiFetch.FormData();t.bundle?r.append("bundle",t.bundle.generateNodeStream({streamFiles:!0}),"bundle.zip"):t.generatedBundleId&&r.append("generated_bundle_id",t.generatedBundleId),r.append("overwrite",e.overwrite?"1":"0"),r.append("remove_graft",e.removeGraft?"1":"0"),e.startBlock&&r.append("start_block",e.startBlock.toString());let[i,a]=await ja.ApiFetch.put(s=>`/api/admin/subgraph/v1/subgraphs/${s.name}/deployments/${s.version_label}`,{params:{name:e.name,version_label:e.v},body:r});i?i.statusCode===524?n.info(`This deployment is taking longer than usual and will keep deploying in the background.
|
|
253
|
-
Wait a few minutes and use ${
|
|
254
|
-
`))),console.log(" ","Synced:",`${c.synced?
|
|
261
|
+
`)}`:"";t.fail(i("Missing required argument: %s","Missing required arguments: %s",Object.keys(d).length,Object.keys(d).join(", ")+g))}},a.unknownArguments=function(p,f,d,v,g=!0){var h;let x=e.getInternalMethods().getCommandInstance().getCommands(),w=[],T=e.getInternalMethods().getContext();if(Object.keys(p).forEach(k=>{!Qm.includes(k)&&!Object.prototype.hasOwnProperty.call(d,k)&&!Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),k)&&!a.isValidAndSomeAliasIsNotNew(k,f)&&w.push(k)}),g&&(T.commands.length>0||x.length>0||v)&&p._.slice(T.commands.length).forEach(k=>{x.includes(""+k)||w.push(""+k)}),g){let O=((h=e.getDemandedCommands()._)===null||h===void 0?void 0:h.max)||0,D=T.commands.length+O;D<p._.length&&p._.slice(D).forEach(B=>{B=String(B),!T.commands.includes(B)&&!w.includes(B)&&w.push(B)})}w.length&&t.fail(i("Unknown argument: %s","Unknown arguments: %s",w.length,w.map(k=>k.trim()?k:`"${k}"`).join(", ")))},a.unknownCommands=function(p){let f=e.getInternalMethods().getCommandInstance().getCommands(),d=[],v=e.getInternalMethods().getContext();return(v.commands.length>0||f.length>0)&&p._.slice(v.commands.length).forEach(g=>{f.includes(""+g)||d.push(""+g)}),d.length>0?(t.fail(i("Unknown command: %s","Unknown commands: %s",d.length,d.join(", "))),!0):!1},a.isValidAndSomeAliasIsNotNew=function(p,f){if(!Object.prototype.hasOwnProperty.call(f,p))return!1;let d=e.parsed.newAliases;return[p,...f[p]].some(v=>!Object.prototype.hasOwnProperty.call(d,v)||!d[p])},a.limitedChoices=function(p){let f=e.getOptions(),d={};if(!Object.keys(f.choices).length)return;Object.keys(p).forEach(h=>{Qm.indexOf(h)===-1&&Object.prototype.hasOwnProperty.call(f.choices,h)&&[].concat(p[h]).forEach(x=>{f.choices[h].indexOf(x)===-1&&x!==void 0&&(d[h]=(d[h]||[]).concat(x))})});let v=Object.keys(d);if(!v.length)return;let g=r("Invalid values:");v.forEach(h=>{g+=`
|
|
262
|
+
${r("Argument: %s, Given: %s, Choices: %s",h,t.stringifiedValues(d[h]),t.stringifiedValues(f.choices[h]))}`}),t.fail(g)};let s={};a.implies=function(p,f){H("<string|object> [array|number|string]",[p,f],arguments.length),typeof p=="object"?Object.keys(p).forEach(d=>{a.implies(d,p[d])}):(e.global(p),s[p]||(s[p]=[]),Array.isArray(f)?f.forEach(d=>a.implies(p,d)):(_t(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(d=>{let v=d;(s[d]||[]).forEach(g=>{let h=v,x=g;h=o(p,h),g=o(p,g),h&&!g&&f.push(` ${v} -> ${x}`)})}),f.length){let d=`${r("Implications failed:")}
|
|
263
|
+
`;f.forEach(v=>{d+=v}),t.fail(d)}};let c={};a.conflicts=function(p,f){H("<string|object> [array|string]",[p,f],arguments.length),typeof p=="object"?Object.keys(p).forEach(d=>{a.conflicts(d,p[d])}):(e.global(p),c[p]||(c[p]=[]),Array.isArray(f)?f.forEach(d=>a.conflicts(p,d)):c[p].push(f))},a.getConflicting=()=>c,a.conflicting=function(p){Object.keys(p).forEach(f=>{c[f]&&c[f].forEach(d=>{d&&p[f]!==void 0&&p[d]!==void 0&&t.fail(r("Arguments %s and %s are mutually exclusive",f,d))})}),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach(f=>{c[f].forEach(d=>{d&&p[n.Parser.camelCase(f)]!==void 0&&p[n.Parser.camelCase(d)]!==void 0&&t.fail(r("Arguments %s and %s are mutually exclusive",f,d))})})},a.recommendCommands=function(p,f){f=f.sort((h,x)=>x.length-h.length);let v=null,g=1/0;for(let h=0,x;(x=f[h])!==void 0;h++){let w=Jm(p,x);w<=3&&w<g&&(g=w,v=x)}v&&t.fail(r("Did you mean %s?",v))},a.reset=function(p){return s=Kn(s,f=>!p[f]),c=Kn(c,f=>!p[f]),a};let u=[];return a.freeze=function(){u.push({implied:s,conflicting:c})},a.unfreeze=function(){let p=u.pop();_t(p,void 0,n),{implied:s,conflicting:c}=p},a}var vu=[],Ga;function Va(e,t,n,r){Ga=r;let i={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if(typeof e.extends!="string")return i;let a=/\.json|\..*rc$/.test(e.extends),s=null;if(a)s=Pk(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}Ik(s),vu.push(s),i=a?JSON.parse(Ga.readFileSync(s,"utf8")):require(e.extends),delete e.extends,i=Va(i,Ga.path.dirname(s),n,Ga)}return vu=[],n?eg(i,e):Object.assign({},i,e)}function Ik(e){if(vu.indexOf(e)>-1)throw new ke(`Circular extended configurations: '${e}'.`)}function Pk(e,t){return Ga.path.resolve(e,t)}function eg(e,t){let n={};function r(i){return i&&typeof i=="object"&&!Array.isArray(i)}Object.assign(n,e);for(let i of Object.keys(t))r(t[i])&&r(n[i])?n[i]=eg(e[i],t[i]):n[i]=t[i];return n}var Y=function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n},m=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},We,jr,Ka,Jt,Lt,Eo,Jn,Rr,Oo,Qt,ko,Xt,yn,qt,en,To,Ci,nt,ee,Co,Ao,Bt,Mr,Ai,Ir,Qn,jo,ie,Pr,Nr,Lr,ce,wn,Be;function xg(e){return(t=[],n=e.process.cwd(),r)=>{let i=new Cu(t,n,r,e);return Object.defineProperty(i,"argv",{get:()=>i.parse(),enumerable:!0}),i.help(),i.version(),i}}var tg=Symbol("copyDoubleDash"),ng=Symbol("copyDoubleDash"),bu=Symbol("deleteFromParserHintObject"),rg=Symbol("emitWarning"),ig=Symbol("freeze"),ag=Symbol("getDollarZero"),qr=Symbol("getParserConfiguration"),xu=Symbol("guessLocale"),sg=Symbol("guessVersion"),og=Symbol("parsePositionalNumbers"),yu=Symbol("pkgUp"),Xn=Symbol("populateParserHintArray"),ji=Symbol("populateParserHintSingleValueDictionary"),wu=Symbol("populateParserHintArrayDictionary"),_u=Symbol("populateParserHintDictionary"),Su=Symbol("sanitizeKey"),Eu=Symbol("setKey"),Ou=Symbol("unfreeze"),cg=Symbol("validateAsync"),lg=Symbol("getCommandInstance"),ug=Symbol("getContext"),pg=Symbol("getHasOutput"),fg=Symbol("getLoggerInstance"),dg=Symbol("getParseContext"),hg=Symbol("getUsageInstance"),mg=Symbol("getValidationInstance"),Ro=Symbol("hasParseCallback"),gg=Symbol("isGlobalContext"),Br=Symbol("postProcess"),vg=Symbol("rebase"),ku=Symbol("reset"),Za=Symbol("runYargsParserAndExecuteCommands"),Tu=Symbol("runValidation"),bg=Symbol("setHasOutput"),Fr=Symbol("kTrackManuallySetKeys"),Cu=class{constructor(t=[],n,r,i){this.customScriptName=!1,this.parsed=!1,We.set(this,void 0),jr.set(this,void 0),Ka.set(this,{commands:[],fullCommands:[]}),Jt.set(this,null),Lt.set(this,null),Eo.set(this,"show-hidden"),Jn.set(this,null),Rr.set(this,!0),Oo.set(this,{}),Qt.set(this,!0),ko.set(this,[]),Xt.set(this,void 0),yn.set(this,{}),qt.set(this,!1),en.set(this,null),To.set(this,!0),Ci.set(this,void 0),nt.set(this,""),ee.set(this,void 0),Co.set(this,void 0),Ao.set(this,{}),Bt.set(this,null),Mr.set(this,null),Ai.set(this,{}),Ir.set(this,{}),Qn.set(this,void 0),jo.set(this,!1),ie.set(this,void 0),Pr.set(this,!1),Nr.set(this,!1),Lr.set(this,!1),ce.set(this,void 0),wn.set(this,null),Be.set(this,void 0),Y(this,ie,i,"f"),Y(this,Qn,t,"f"),Y(this,jr,n,"f"),Y(this,Co,r,"f"),Y(this,Xt,new wo(this),"f"),this.$0=this[ag](),this[ku](),Y(this,We,m(this,We,"f"),"f"),Y(this,ce,m(this,ce,"f"),"f"),Y(this,Be,m(this,Be,"f"),"f"),Y(this,ee,m(this,ee,"f"),"f"),m(this,ee,"f").showHiddenOpt=m(this,Eo,"f"),Y(this,Ci,this[ng](),"f")}addHelpOpt(t,n){let r="help";return H("[string|boolean] [string]",[t,n],arguments.length),m(this,en,"f")&&(this[bu](m(this,en,"f")),Y(this,en,null,"f")),t===!1&&n===void 0?this:(Y(this,en,typeof t=="string"?t:r,"f"),this.boolean(m(this,en,"f")),this.describe(m(this,en,"f"),n||m(this,ce,"f").deferY18nLookup("Show help")),this)}help(t,n){return this.addHelpOpt(t,n)}addShowHiddenOpt(t,n){if(H("[string|boolean] [string]",[t,n],arguments.length),t===!1&&n===void 0)return this;let r=typeof t=="string"?t:m(this,Eo,"f");return this.boolean(r),this.describe(r,n||m(this,ce,"f").deferY18nLookup("Show hidden options")),m(this,ee,"f").showHiddenOpt=r,this}showHidden(t,n){return this.addShowHiddenOpt(t,n)}alias(t,n){return H("<object|string|array> [string|array]",[t,n],arguments.length),this[wu](this.alias.bind(this),"alias",t,n),this}array(t){return H("<array|string>",[t],arguments.length),this[Xn]("array",t),this[Fr](t),this}boolean(t){return H("<array|string>",[t],arguments.length),this[Xn]("boolean",t),this[Fr](t),this}check(t,n){return H("<function> [boolean]",[t,n],arguments.length),this.middleware((r,i)=>Ar(()=>t(r,i.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&m(this,ce,"f").fail(a.toString(),a):m(this,ce,"f").fail(m(this,ie,"f").y18n.__("Argument check failed: %s",t.toString())),r),a=>(m(this,ce,"f").fail(a.message?a.message:a.toString(),a),r)),!1,n),this}choices(t,n){return H("<object|string|array> [string|array]",[t,n],arguments.length),this[wu](this.choices.bind(this),"choices",t,n),this}coerce(t,n){if(H("<object|string|array> [function]",[t,n],arguments.length),Array.isArray(t)){if(!n)throw new ke("coerce callback must be provided");for(let r of t)this.coerce(r,n);return this}else if(typeof t=="object"){for(let r of Object.keys(t))this.coerce(r,t[r]);return this}if(!n)throw new ke("coerce callback must be provided");return m(this,ee,"f").key[t]=!0,m(this,Xt,"f").addCoerceMiddleware((r,i)=>{let a;return Object.prototype.hasOwnProperty.call(r,t)?Ar(()=>(a=i.getAliases(),n(r[t])),o=>{r[t]=o;let c=i.getInternalMethods().getParserConfiguration()["strip-aliased"];if(a[t]&&c!==!0)for(let u of a[t])r[u]=o;return r},o=>{throw new ke(o.message)}):r},t),this}conflicts(t,n){return H("<string|object> [string|array]",[t,n],arguments.length),m(this,Be,"f").conflicts(t,n),this}config(t="config",n,r){return H("[object|string] [string|function] [function]",[t,n,r],arguments.length),typeof t=="object"&&!Array.isArray(t)?(t=Va(t,m(this,jr,"f"),this[qr]()["deep-merge-config"]||!1,m(this,ie,"f")),m(this,ee,"f").configObjects=(m(this,ee,"f").configObjects||[]).concat(t),this):(typeof n=="function"&&(r=n,n=void 0),this.describe(t,n||m(this,ce,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach(i=>{m(this,ee,"f").config[i]=r||!0}),this)}completion(t,n,r){return H("[string] [string|boolean|function] [function]",[t,n,r],arguments.length),typeof n=="function"&&(r=n,n=void 0),Y(this,Lt,t||m(this,Lt,"f")||"completion","f"),!n&&n!==!1&&(n="generate completion script"),this.command(m(this,Lt,"f"),n),r&&m(this,Jt,"f").registerFunction(r),this}command(t,n,r,i,a,s){return H("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[t,n,r,i,a,s],arguments.length),m(this,We,"f").addHandler(t,n,r,i,a,s),this}commands(t,n,r,i,a,s){return this.command(t,n,r,i,a,s)}commandDir(t,n){H("<string> [object]",[t,n],arguments.length);let r=m(this,Co,"f")||m(this,ie,"f").require;return m(this,We,"f").addDirectory(t,r,m(this,ie,"f").getCallerFile(),n),this}count(t){return H("<array|string>",[t],arguments.length),this[Xn]("count",t),this[Fr](t),this}default(t,n,r){return H("<object|string|array> [*] [string]",[t,n,r],arguments.length),r&&(fu(t,m(this,ie,"f")),m(this,ee,"f").defaultDescription[t]=r),typeof n=="function"&&(fu(t,m(this,ie,"f")),m(this,ee,"f").defaultDescription[t]||(m(this,ee,"f").defaultDescription[t]=m(this,ce,"f").functionDescription(n)),n=n.call()),this[ji](this.default.bind(this),"default",t,n),this}defaults(t,n,r){return this.default(t,n,r)}demandCommand(t=1,n,r,i){return H("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,n,r,i],arguments.length),typeof n!="number"&&(r=n,n=1/0),this.global("_",!1),m(this,ee,"f").demandedCommands._={min:t,max:n,minMsg:r,maxMsg:i},this}demand(t,n,r){return Array.isArray(n)?(n.forEach(i=>{_t(r,!0,m(this,ie,"f")),this.demandOption(i,r)}),n=1/0):typeof n!="number"&&(r=n,n=1/0),typeof t=="number"?(_t(r,!0,m(this,ie,"f")),this.demandCommand(t,n,r,r)):Array.isArray(t)?t.forEach(i=>{_t(r,!0,m(this,ie,"f")),this.demandOption(i,r)}):typeof r=="string"?this.demandOption(t,r):(r===!0||typeof r>"u")&&this.demandOption(t),this}demandOption(t,n){return H("<object|string|array> [string]",[t,n],arguments.length),this[ji](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return H("<string> [string|boolean]",[t,n],arguments.length),m(this,ee,"f").deprecatedOptions[t]=n,this}describe(t,n){return H("<object|string|array> [string]",[t,n],arguments.length),this[Eu](t,!0),m(this,ce,"f").describe(t,n),this}detectLocale(t){return H("<boolean>",[t],arguments.length),Y(this,Rr,t,"f"),this}env(t){return H("[string|boolean]",[t],arguments.length),t===!1?delete m(this,ee,"f").envPrefix:m(this,ee,"f").envPrefix=t||"",this}epilogue(t){return H("<string>",[t],arguments.length),m(this,ce,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,n){return H("<string|array> [string]",[t,n],arguments.length),Array.isArray(t)?t.forEach(r=>this.example(...r)):m(this,ce,"f").example(t,n),this}exit(t,n){Y(this,qt,!0,"f"),Y(this,Jn,n,"f"),m(this,Qt,"f")&&m(this,ie,"f").process.exit(t)}exitProcess(t=!0){return H("[boolean]",[t],arguments.length),Y(this,Qt,t,"f"),this}fail(t){if(H("<function|boolean>",[t],arguments.length),typeof t=="boolean"&&t!==!1)throw new ke("Invalid first argument. Expected function or boolean 'false'");return m(this,ce,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,n){return H("<array> [function]",[t,n],arguments.length),n?m(this,Jt,"f").getCompletion(t,n):new Promise((r,i)=>{m(this,Jt,"f").getCompletion(t,(a,s)=>{a?i(a):r(s)})})}getDemandedOptions(){return H([],0),m(this,ee,"f").demandedOptions}getDemandedCommands(){return H([],0),m(this,ee,"f").demandedCommands}getDeprecatedOptions(){return H([],0),m(this,ee,"f").deprecatedOptions}getDetectLocale(){return m(this,Rr,"f")}getExitProcess(){return m(this,Qt,"f")}getGroups(){return Object.assign({},m(this,yn,"f"),m(this,Ir,"f"))}getHelp(){if(Y(this,qt,!0,"f"),!m(this,ce,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Za](m(this,Qn,"f"),void 0,void 0,0,!0);if(je(n))return n.then(()=>m(this,ce,"f").help())}let t=m(this,We,"f").runDefaultBuilderOn(this);if(je(t))return t.then(()=>m(this,ce,"f").help())}return Promise.resolve(m(this,ce,"f").help())}getOptions(){return m(this,ee,"f")}getStrict(){return m(this,Pr,"f")}getStrictCommands(){return m(this,Nr,"f")}getStrictOptions(){return m(this,Lr,"f")}global(t,n){return H("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?m(this,ee,"f").local=m(this,ee,"f").local.filter(r=>t.indexOf(r)===-1):t.forEach(r=>{m(this,ee,"f").local.includes(r)||m(this,ee,"f").local.push(r)}),this}group(t,n){H("<string|array> <string>",[t,n],arguments.length);let r=m(this,Ir,"f")[n]||m(this,yn,"f")[n];m(this,Ir,"f")[n]&&delete m(this,Ir,"f")[n];let i={};return m(this,yn,"f")[n]=(r||[]).concat(t).filter(a=>i[a]?!1:i[a]=!0),this}hide(t){return H("<string>",[t],arguments.length),m(this,ee,"f").hiddenOptions.push(t),this}implies(t,n){return H("<string|object> [number|string|array]",[t,n],arguments.length),m(this,Be,"f").implies(t,n),this}locale(t){return H("[string]",[t],arguments.length),t===void 0?(this[xu](),m(this,ie,"f").y18n.getLocale()):(Y(this,Rr,!1,"f"),m(this,ie,"f").y18n.setLocale(t),this)}middleware(t,n,r){return m(this,Xt,"f").addMiddleware(t,!!n,r)}nargs(t,n){return H("<string|object|array> [number]",[t,n],arguments.length),this[ji](this.nargs.bind(this),"narg",t,n),this}normalize(t){return H("<array|string>",[t],arguments.length),this[Xn]("normalize",t),this}number(t){return H("<array|string>",[t],arguments.length),this[Xn]("number",t),this[Fr](t),this}option(t,n){if(H("<string|object> [object]",[t,n],arguments.length),typeof t=="object")Object.keys(t).forEach(r=>{this.options(r,t[r])});else{typeof n!="object"&&(n={}),this[Fr](t),m(this,wn,"f")&&(t==="version"||n?.alias==="version")&&this[rg](['"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(`
|
|
264
|
+
`),void 0,"versionWarning"),m(this,ee,"f").key[t]=!0,n.alias&&this.alias(t,n.alias);let r=n.deprecate||n.deprecated;r&&this.deprecateOption(t,r);let i=n.demand||n.required||n.require;i&&this.demand(t,i),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&&(m(this,ee,"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,r){H("[string|array] [function|boolean|object] [function]",[t,n,r],arguments.length),this[ig](),typeof t>"u"&&(t=m(this,Qn,"f")),typeof n=="object"&&(Y(this,Mr,n,"f"),n=r),typeof n=="function"&&(Y(this,Bt,n,"f"),n=!1),n||Y(this,Qn,t,"f"),m(this,Bt,"f")&&Y(this,Qt,!1,"f");let i=this[Za](t,!!n),a=this.parsed;return m(this,Jt,"f").setParsed(this.parsed),je(i)?i.then(s=>(m(this,Bt,"f")&&m(this,Bt,"f").call(this,m(this,Jn,"f"),s,m(this,nt,"f")),s)).catch(s=>{throw m(this,Bt,"f")&&m(this,Bt,"f")(s,this.parsed.argv,m(this,nt,"f")),s}).finally(()=>{this[Ou](),this.parsed=a}):(m(this,Bt,"f")&&m(this,Bt,"f").call(this,m(this,Jn,"f"),i,m(this,nt,"f")),this[Ou](),this.parsed=a,i)}parseAsync(t,n,r){let i=this.parse(t,n,r);return je(i)?i:Promise.resolve(i)}parseSync(t,n,r){let i=this.parse(t,n,r);if(je(i))throw new ke(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return i}parserConfiguration(t){return H("<object>",[t],arguments.length),Y(this,Ao,t,"f"),this}pkgConf(t,n){H("<string> [string]",[t,n],arguments.length);let r=null,i=this[yu](n||m(this,jr,"f"));return i[t]&&typeof i[t]=="object"&&(r=Va(i[t],n||m(this,jr,"f"),this[qr]()["deep-merge-config"]||!1,m(this,ie,"f")),m(this,ee,"f").configObjects=(m(this,ee,"f").configObjects||[]).concat(r)),this}positional(t,n){H("<string> <object>",[t,n],arguments.length);let r=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];n=Kn(n,(s,o)=>s==="type"&&!["string","number","boolean"].includes(o)?!1:r.includes(s));let i=m(this,Ka,"f").fullCommands[m(this,Ka,"f").fullCommands.length-1],a=i?m(this,We,"f").cmdToParseOptions(i):{array:[],alias:{},default:{},demand:{}};return ki(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,m(this,ce,"f").getPositionalGroupName()),this.option(t,n)}recommendCommands(t=!0){return H("[boolean]",[t],arguments.length),Y(this,jo,t,"f"),this}required(t,n,r){return this.demand(t,n,r)}require(t,n,r){return this.demand(t,n,r)}requiresArg(t){return H("<array|string|object> [number]",[t],arguments.length),typeof t=="string"&&m(this,ee,"f").narg[t]?this:(this[ji](this.requiresArg.bind(this),"narg",t,NaN),this)}showCompletionScript(t,n){return H("[string] [string]",[t,n],arguments.length),t=t||this.$0,m(this,Ci,"f").log(m(this,Jt,"f").generateCompletionScript(t,n||m(this,Lt,"f")||"completion")),this}showHelp(t){if(H("[string|function]",[t],arguments.length),Y(this,qt,!0,"f"),!m(this,ce,"f").hasCachedHelpMessage()){if(!this.parsed){let r=this[Za](m(this,Qn,"f"),void 0,void 0,0,!0);if(je(r))return r.then(()=>{m(this,ce,"f").showHelp(t)}),this}let n=m(this,We,"f").runDefaultBuilderOn(this);if(je(n))return n.then(()=>{m(this,ce,"f").showHelp(t)}),this}return m(this,ce,"f").showHelp(t),this}scriptName(t){return this.customScriptName=!0,this.$0=t,this}showHelpOnFail(t,n){return H("[boolean|string] [string]",[t,n],arguments.length),m(this,ce,"f").showHelpOnFail(t,n),this}showVersion(t){return H("[string|function]",[t],arguments.length),m(this,ce,"f").showVersion(t),this}skipValidation(t){return H("<array|string>",[t],arguments.length),this[Xn]("skipValidation",t),this}strict(t){return H("[boolean]",[t],arguments.length),Y(this,Pr,t!==!1,"f"),this}strictCommands(t){return H("[boolean]",[t],arguments.length),Y(this,Nr,t!==!1,"f"),this}strictOptions(t){return H("[boolean]",[t],arguments.length),Y(this,Lr,t!==!1,"f"),this}string(t){return H("<array|string>",[t],arguments.length),this[Xn]("string",t),this[Fr](t),this}terminalWidth(){return H([],0),m(this,ie,"f").process.stdColumns}updateLocale(t){return this.updateStrings(t)}updateStrings(t){return H("<object>",[t],arguments.length),Y(this,Rr,!1,"f"),m(this,ie,"f").y18n.updateLocale(t),this}usage(t,n,r,i){if(H("<string|null|undefined> [string|boolean] [function|object] [function]",[t,n,r,i],arguments.length),n!==void 0){if(_t(t,null,m(this,ie,"f")),(t||"").match(/^\$0( |$)/))return this.command(t,n,r,i);throw new ke(".usage() description must start with $0 if being used as alias for .command()")}else return m(this,ce,"f").usage(t),this}version(t,n,r){let i="version";if(H("[boolean|string] [string] [string]",[t,n,r],arguments.length),m(this,wn,"f")&&(this[bu](m(this,wn,"f")),m(this,ce,"f").version(void 0),Y(this,wn,null,"f")),arguments.length===0)r=this[sg](),t=i;else if(arguments.length===1){if(t===!1)return this;r=t,t=i}else arguments.length===2&&(r=n,n=void 0);return Y(this,wn,typeof t=="string"?t:i,"f"),n=n||m(this,ce,"f").deferY18nLookup("Show version number"),m(this,ce,"f").version(r||void 0),this.boolean(m(this,wn,"f")),this.describe(m(this,wn,"f"),n),this}wrap(t){return H("<number|null|undefined>",[t],arguments.length),m(this,ce,"f").wrap(t),this}[(We=new WeakMap,jr=new WeakMap,Ka=new WeakMap,Jt=new WeakMap,Lt=new WeakMap,Eo=new WeakMap,Jn=new WeakMap,Rr=new WeakMap,Oo=new WeakMap,Qt=new WeakMap,ko=new WeakMap,Xt=new WeakMap,yn=new WeakMap,qt=new WeakMap,en=new WeakMap,To=new WeakMap,Ci=new WeakMap,nt=new WeakMap,ee=new WeakMap,Co=new WeakMap,Ao=new WeakMap,Bt=new WeakMap,Mr=new WeakMap,Ai=new WeakMap,Ir=new WeakMap,Qn=new WeakMap,jo=new WeakMap,ie=new WeakMap,Pr=new WeakMap,Nr=new WeakMap,Lr=new WeakMap,ce=new WeakMap,wn=new WeakMap,Be=new WeakMap,tg)](t){if(!t._||!t["--"])return t;t._.push.apply(t._,t["--"]);try{delete t["--"]}catch{}return t}[ng](){return{log:(...t)=>{this[Ro]()||console.log(...t),Y(this,qt,!0,"f"),m(this,nt,"f").length&&Y(this,nt,m(this,nt,"f")+`
|
|
265
|
+
`,"f"),Y(this,nt,m(this,nt,"f")+t.join(" "),"f")},error:(...t)=>{this[Ro]()||console.error(...t),Y(this,qt,!0,"f"),m(this,nt,"f").length&&Y(this,nt,m(this,nt,"f")+`
|
|
266
|
+
`,"f"),Y(this,nt,m(this,nt,"f")+t.join(" "),"f")}}}[bu](t){ki(m(this,ee,"f")).forEach(n=>{if((i=>i==="configObjects")(n))return;let r=m(this,ee,"f")[n];Array.isArray(r)?r.includes(t)&&r.splice(r.indexOf(t),1):typeof r=="object"&&delete r[t]}),delete m(this,ce,"f").getDescriptions()[t]}[rg](t,n,r){m(this,Oo,"f")[r]||(m(this,ie,"f").process.emitWarning(t,n),m(this,Oo,"f")[r]=!0)}[ig](){m(this,ko,"f").push({options:m(this,ee,"f"),configObjects:m(this,ee,"f").configObjects.slice(0),exitProcess:m(this,Qt,"f"),groups:m(this,yn,"f"),strict:m(this,Pr,"f"),strictCommands:m(this,Nr,"f"),strictOptions:m(this,Lr,"f"),completionCommand:m(this,Lt,"f"),output:m(this,nt,"f"),exitError:m(this,Jn,"f"),hasOutput:m(this,qt,"f"),parsed:this.parsed,parseFn:m(this,Bt,"f"),parseContext:m(this,Mr,"f")}),m(this,ce,"f").freeze(),m(this,Be,"f").freeze(),m(this,We,"f").freeze(),m(this,Xt,"f").freeze()}[ag](){let t="",n;return/\b(node|iojs|electron)(\.exe)?$/.test(m(this,ie,"f").process.argv()[0])?n=m(this,ie,"f").process.argv().slice(1,2):n=m(this,ie,"f").process.argv().slice(0,1),t=n.map(r=>{let i=this[vg](m(this,jr,"f"),r);return r.match(/^(\/|([a-zA-Z]:)?\\)/)&&i.length<r.length?i:r}).join(" ").trim(),m(this,ie,"f").getEnv("_")&&m(this,ie,"f").getProcessArgvBin()===m(this,ie,"f").getEnv("_")&&(t=m(this,ie,"f").getEnv("_").replace(`${m(this,ie,"f").path.dirname(m(this,ie,"f").process.execPath())}/`,"")),t}[qr](){return m(this,Ao,"f")}[xu](){if(!m(this,Rr,"f"))return;let t=m(this,ie,"f").getEnv("LC_ALL")||m(this,ie,"f").getEnv("LC_MESSAGES")||m(this,ie,"f").getEnv("LANG")||m(this,ie,"f").getEnv("LANGUAGE")||"en_US";this.locale(t.replace(/[.:].*/,""))}[sg](){return this[yu]().version||"unknown"}[og](t){let n=t["--"]?t["--"]:t._;for(let r=0,i;(i=n[r])!==void 0;r++)m(this,ie,"f").Parser.looksLikeNumber(i)&&Number.isSafeInteger(Math.floor(parseFloat(`${i}`)))&&(n[r]=Number(i));return t}[yu](t){let n=t||"*";if(m(this,Ai,"f")[n])return m(this,Ai,"f")[n];let r={};try{let i=t||m(this,ie,"f").mainFilename;!t&&m(this,ie,"f").path.extname(i)&&(i=m(this,ie,"f").path.dirname(i));let a=m(this,ie,"f").findUp(i,(s,o)=>{if(o.includes("package.json"))return"package.json"});_t(a,void 0,m(this,ie,"f")),r=JSON.parse(m(this,ie,"f").readFileSync(a,"utf8"))}catch{}return m(this,Ai,"f")[n]=r||{},m(this,Ai,"f")[n]}[Xn](t,n){n=[].concat(n),n.forEach(r=>{r=this[Su](r),m(this,ee,"f")[t].push(r)})}[ji](t,n,r,i){this[_u](t,n,r,i,(a,s,o)=>{m(this,ee,"f")[a][s]=o})}[wu](t,n,r,i){this[_u](t,n,r,i,(a,s,o)=>{m(this,ee,"f")[a][s]=(m(this,ee,"f")[a][s]||[]).concat(o)})}[_u](t,n,r,i,a){if(Array.isArray(r))r.forEach(s=>{t(s,i)});else if((s=>typeof s=="object")(r))for(let s of ki(r))t(s,r[s]);else a(n,this[Su](r),i)}[Su](t){return t==="__proto__"?"___proto___":t}[Eu](t,n){return this[ji](this[Eu].bind(this),"key",t,n),this}[Ou](){var t,n,r,i,a,s,o,c,u,l,p,f;let d=m(this,ko,"f").pop();_t(d,void 0,m(this,ie,"f"));let v;t=this,n=this,r=this,i=this,a=this,s=this,o=this,c=this,u=this,l=this,p=this,f=this,{options:{set value(g){Y(t,ee,g,"f")}}.value,configObjects:v,exitProcess:{set value(g){Y(n,Qt,g,"f")}}.value,groups:{set value(g){Y(r,yn,g,"f")}}.value,output:{set value(g){Y(i,nt,g,"f")}}.value,exitError:{set value(g){Y(a,Jn,g,"f")}}.value,hasOutput:{set value(g){Y(s,qt,g,"f")}}.value,parsed:this.parsed,strict:{set value(g){Y(o,Pr,g,"f")}}.value,strictCommands:{set value(g){Y(c,Nr,g,"f")}}.value,strictOptions:{set value(g){Y(u,Lr,g,"f")}}.value,completionCommand:{set value(g){Y(l,Lt,g,"f")}}.value,parseFn:{set value(g){Y(p,Bt,g,"f")}}.value,parseContext:{set value(g){Y(f,Mr,g,"f")}}.value}=d,m(this,ee,"f").configObjects=v,m(this,ce,"f").unfreeze(),m(this,Be,"f").unfreeze(),m(this,We,"f").unfreeze(),m(this,Xt,"f").unfreeze()}[cg](t,n){return Ar(n,r=>(t(r),r))}getInternalMethods(){return{getCommandInstance:this[lg].bind(this),getContext:this[ug].bind(this),getHasOutput:this[pg].bind(this),getLoggerInstance:this[fg].bind(this),getParseContext:this[dg].bind(this),getParserConfiguration:this[qr].bind(this),getUsageInstance:this[hg].bind(this),getValidationInstance:this[mg].bind(this),hasParseCallback:this[Ro].bind(this),isGlobalContext:this[gg].bind(this),postProcess:this[Br].bind(this),reset:this[ku].bind(this),runValidation:this[Tu].bind(this),runYargsParserAndExecuteCommands:this[Za].bind(this),setHasOutput:this[bg].bind(this)}}[lg](){return m(this,We,"f")}[ug](){return m(this,Ka,"f")}[pg](){return m(this,qt,"f")}[fg](){return m(this,Ci,"f")}[dg](){return m(this,Mr,"f")||{}}[hg](){return m(this,ce,"f")}[mg](){return m(this,Be,"f")}[Ro](){return!!m(this,Bt,"f")}[gg](){return m(this,To,"f")}[Br](t,n,r,i){return r||je(t)||(n||(t=this[tg](t)),(this[qr]()["parse-positional-numbers"]||this[qr]()["parse-positional-numbers"]===void 0)&&(t=this[og](t)),i&&(t=Cr(t,this,m(this,Xt,"f").getMiddleware(),!1))),t}[ku](t={}){Y(this,ee,m(this,ee,"f")||{},"f");let n={};n.local=m(this,ee,"f").local||[],n.configObjects=m(this,ee,"f").configObjects||[];let r={};n.local.forEach(s=>{r[s]=!0,(t[s]||[]).forEach(o=>{r[o]=!0})}),Object.assign(m(this,Ir,"f"),Object.keys(m(this,yn,"f")).reduce((s,o)=>{let c=m(this,yn,"f")[o].filter(u=>!(u in r));return c.length>0&&(s[o]=c),s},{})),Y(this,yn,{},"f");let i=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],a=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return i.forEach(s=>{n[s]=(m(this,ee,"f")[s]||[]).filter(o=>!r[o])}),a.forEach(s=>{n[s]=Kn(m(this,ee,"f")[s],o=>!r[o])}),n.envPrefix=m(this,ee,"f").envPrefix,Y(this,ee,n,"f"),Y(this,ce,m(this,ce,"f")?m(this,ce,"f").reset(r):Gm(this,m(this,ie,"f")),"f"),Y(this,Be,m(this,Be,"f")?m(this,Be,"f").reset(r):Xm(this,m(this,ce,"f"),m(this,ie,"f")),"f"),Y(this,We,m(this,We,"f")?m(this,We,"f").reset():Wm(m(this,ce,"f"),m(this,Be,"f"),m(this,Xt,"f"),m(this,ie,"f")),"f"),m(this,Jt,"f")||Y(this,Jt,Zm(this,m(this,ce,"f"),m(this,We,"f"),m(this,ie,"f")),"f"),m(this,Xt,"f").reset(),Y(this,Lt,null,"f"),Y(this,nt,"","f"),Y(this,Jn,null,"f"),Y(this,qt,!1,"f"),this.parsed=!1,this}[vg](t,n){return m(this,ie,"f").path.relative(t,n)}[Za](t,n,r,i=0,a=!1){let s=!!r||a;t=t||m(this,Qn,"f"),m(this,ee,"f").__=m(this,ie,"f").y18n.__,m(this,ee,"f").configuration=this[qr]();let o=!!m(this,ee,"f").configuration["populate--"],c=Object.assign({},m(this,ee,"f").configuration,{"populate--":!0}),u=m(this,ie,"f").Parser.detailed(t,Object.assign({},m(this,ee,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,m(this,Mr,"f")),p,f=u.aliases,d=!1,v=!1;Object.keys(l).forEach(g=>{g===m(this,en,"f")&&l[g]?d=!0:g===m(this,wn,"f")&&l[g]&&(v=!0)}),l.$0=this.$0,this.parsed=u,i===0&&m(this,ce,"f").clearCachedHelpMessage();try{if(this[xu](),n)return this[Br](l,o,!!r,!1);m(this,en,"f")&&[m(this,en,"f")].concat(f[m(this,en,"f")]||[]).filter(T=>T.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),d=!0),Y(this,To,!1,"f");let g=m(this,We,"f").getCommands(),h=m(this,Jt,"f").completionKey in l,x=d||h||a;if(l._.length){if(g.length){let w;for(let T=i||0,k;l._[T]!==void 0;T++)if(k=String(l._[T]),g.includes(k)&&k!==m(this,Lt,"f")){let O=m(this,We,"f").runCommand(k,this,u,T+1,a,d||v||a);return this[Br](O,o,!!r,!1)}else if(!w&&k!==m(this,Lt,"f")){w=k;break}!m(this,We,"f").hasDefaultCommand()&&m(this,jo,"f")&&w&&!x&&m(this,Be,"f").recommendCommands(w,g)}m(this,Lt,"f")&&l._.includes(m(this,Lt,"f"))&&!h&&(m(this,Qt,"f")&&Zn(!0),this.showCompletionScript(),this.exit(0))}if(m(this,We,"f").hasDefaultCommand()&&!x){let w=m(this,We,"f").runCommand(null,this,u,0,a,d||v||a);return this[Br](w,o,!!r,!1)}if(h){m(this,Qt,"f")&&Zn(!0),t=[].concat(t);let w=t.slice(t.indexOf(`--${m(this,Jt,"f").completionKey}`)+1);return m(this,Jt,"f").getCompletion(w,(T,k)=>{if(T)throw new ke(T.message);(k||[]).forEach(O=>{m(this,Ci,"f").log(O)}),this.exit(0)}),this[Br](l,!o,!!r,!1)}if(m(this,qt,"f")||(d?(m(this,Qt,"f")&&Zn(!0),s=!0,this.showHelp("log"),this.exit(0)):v&&(m(this,Qt,"f")&&Zn(!0),s=!0,m(this,ce,"f").showVersion("log"),this.exit(0))),!s&&m(this,ee,"f").skipValidation.length>0&&(s=Object.keys(l).some(w=>m(this,ee,"f").skipValidation.indexOf(w)>=0&&l[w]===!0)),!s){if(u.error)throw new ke(u.error.message);if(!h){let w=this[Tu](f,{},u.error);r||(p=Cr(l,this,m(this,Xt,"f").getMiddleware(),!0)),p=this[cg](w,p??l),je(p)&&!r&&(p=p.then(()=>Cr(l,this,m(this,Xt,"f").getMiddleware(),!1)))}}}catch(g){if(g instanceof ke)m(this,ce,"f").fail(g.message,g);else throw g}return this[Br](p??l,o,!!r,!0)}[Tu](t,n,r,i){let a={...this.getDemandedOptions()};return s=>{if(r)throw new ke(r.message);m(this,Be,"f").nonOptionCount(s),m(this,Be,"f").requiredArguments(s,a);let o=!1;m(this,Nr,"f")&&(o=m(this,Be,"f").unknownCommands(s)),m(this,Pr,"f")&&!o?m(this,Be,"f").unknownArguments(s,t,n,!!i):m(this,Lr,"f")&&m(this,Be,"f").unknownArguments(s,t,{},!1,!1),m(this,Be,"f").limitedChoices(s),m(this,Be,"f").implications(s),m(this,Be,"f").conflicting(s)}}[bg](){Y(this,qt,!0,"f")}[Fr](t){if(typeof t=="string")m(this,ee,"f").key[t]=!0;else for(let n of t)m(this,ee,"f").key[n]=!0}};function Hm(e){return!!e&&typeof e.getInternalMethods=="function"}var Nk=xg(pu),yg=Nk;var tu=X(St());var df={};Le(df,{builder:()=>A3,command:()=>T3,describe:()=>C3,handler:()=>j3});var Oc=X(require("path")),$p=X(require("os")),kc=X(require("fs")),Dx=X(St());var In=X(require("fs")),Yr=X(require("path")),Lx=X(Ot()),qx=X(require("os"));async function Bx(e){let t=(0,Lx.default)("Validating build path").start(),n={isValid:!1,buildPath:e},r=Yr.default.join(e,"package.json"),i=Yr.default.join(e,"build");if(In.default.existsSync(r)&&In.default.statSync(r).isFile())if(In.default.existsSync(i)&&In.default.statSync(i).isDirectory())n.buildPath=Yr.default.join(e,"build");else return t.fail("It seems that you haven't built your subgraph. Please build it before deploying."),n.isValid=!1,n;try{await Promise.all([In.default.promises.stat(Yr.default.join(e,"subgraph.yaml")),In.default.promises.stat(Yr.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(a){t.fail()}return n}async function Fx(){let e=qx.default.homedir(),t=Yr.default.join(e,".goldsky");try{await In.default.promises.stat(t)}catch(n){await In.default.promises.mkdir(t)}return t}async function p5(){let e=$p.default.homedir(),t=Oc.default.join(e,".goldsky","auth_token");try{return await kc.default.promises.readFile(t,"utf8")}catch(n){}return null}async function zx(){let e=await p5();e&&ls(e)}function ls(e){Dx.ApiFetch.setAuth(`Bearer ${e}`)}async function $x(e){let t=await Fx();await kc.default.promises.writeFile(Oc.default.join(t,"auth_token"),e,"utf8")}async function Ux(){let e=$p.default.homedir(),t=Oc.default.join(e,".goldsky","auth_token");try{await kc.default.promises.rm(t)}catch(n){}}var ds=X(kt()),Uc=X(require("readline")),h1=X(ff()),m1=X(Ot());async function d1(e,t){ls(e),console.log();let n=(0,m1.default)("Validating API Token").start();try{let r=await h1.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:i=>!0});if(r.status===200&&r.data.success){await $x(e),n.succeed(`${ds.default.bold(`Logged in to project '${r.data.project.name}'`)} You can now run any authenticated commands on Goldsky from this computer`);return}}catch(r){}n.fail(`${ds.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function g1(e){if(e.token)return d1(e.token,e);let t=`Enter or paste in your Goldsky API token ${ds.default.italic("(you can create a new one at https://app.goldsky.com/dashboard/settings)")}: `,n=Uc.default.createInterface({input:process.stdin,output:process.stdout});n.stdoutMuted=!0,n.question(t,async r=>{n.close(),await d1(r,e)}),n._writeToOutput=r=>{if(process.stdout.isTTY)if(r.charCodeAt(0)===13)n.output.write(r);else if(r.length>1){let i=n.line.length;Uc.default.moveCursor(n.output,0,0),Uc.default.clearLine(n.output,1),n.output.write(`${t}${"*".repeat(i)}`)}else n.output.write("*")}}async function v1(e){Ux(),console.log(`${ds.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var T3="login",C3="Log in to Goldsky to enable running authenticated CLI commands",A3=e=>e.version(!1),j3=async({apiHost:e,token:t})=>{await g1({apiHost:e,token:t})};var hf={};Le(hf,{builder:()=>I3,command:()=>R3,describe:()=>M3,handler:()=>P3});var R3="logout",M3="Log out of Goldsky on this computer",I3=e=>e.version(!1),P3=async({apiHost:e})=>{await v1({apiHost:e})};var Wh={};Le(Wh,{builder:()=>Uq,command:()=>zq,describe:()=>$q,handler:()=>Wq});var gf={};Le(gf,{builder:()=>q3,command:()=>N3,describe:()=>L3,handler:()=>B3});var Wc=X(kt()),b1=X(St()),x1=X(Ot());async function mf(e){let t=(0,x1.default)("Removing subgraph").start(),[n,r]=await b1.ApiFetch.delete_(i=>`/api/admin/subgraph/v1/subgraphs/${i.name}/deployments/${i.version_label}`,{params:{name:e.name,version_label:e.v}});n?(t.fail(`${Wc.default.bold("Subgraph removal failed:")} ${Wc.default.red(n.message)}`),process.exit(1)):t.succeed(Wc.default.bold("Removed subgraph"))}var Qe=e=>e.split("/");var N3="delete <nameAndVersion>",L3="Delete a subgraph from Goldsky",q3=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),B3=async({apiHost:e,nameAndVersion:t})=>mf({apiHost:e,name:Qe(t)[0],v:Qe(t)[1]});var Ch={};Le(Ch,{builder:()=>WL,command:()=>$L,describe:()=>UL,handler:()=>HL});var Ba=X(kt());var EE=X(PS()),Yn=X(require("fs")),OE=X(require("os")),vn=X(require("path")),Kl=X(wE()),Fa=X(St()),qa=X(Ot()),Th=X(ff());var _E=3;async function BL(e,t,n){let r=Th.default.create({}),i=vn.default.join(OE.default.tmpdir(),`goldsky-deploy-${e}`);try{await Yn.default.promises.mkdir(i)}catch(f){if(f.code!=="EEXIST")throw f}let a=[],s=0,o=0,c=(f,d,v)=>{let g=f.getIn(d);a.push([g.get("/").replace("/ipfs/",""),v]),f.setIn(d,Kl.default.createNode(v))},u=()=>{n.prefixText=`${Math.round(o++/(a.length+1)*100)}%`},l=await r.get(`${t}/api/v0/cat?arg=${e}`);u();let p=Kl.default.parseDocument(l.data);c(p,["schema","file"],"schema.graphql");for(let f of["dataSources","templates"]){let d=p.get(f);if(d)for(let[v,g]of d.items.entries()){c(g,["mapping","file"],`${s++}.wasm`);for(let[h,x]of g.getIn(["mapping","abis"]).items.entries())c(x,["file"],`${s++}.json`)}}await Yn.default.promises.writeFile(vn.default.join(i,"subgraph.yaml"),p.toString());for(let f of a){let d=vn.default.join(i,f[1]);if(!Yn.default.existsSync(d))try{let v=0;for(;v<_E;){let g=await r.get(`${t}/api/v0/cat?arg=${f[0]}`,{responseType:"arraybuffer",validateStatus:h=>h>=200&&h<300||v<_E-1&&h===504});if(g.status===504)++v;else{await Yn.default.promises.writeFile(d,g.data);break}}}catch(v){try{await Yn.default.promises.rm(d)}catch(g){}throw v}u()}return n.prefixText="",i}async function FL(e){let t=new URL(e),n=Th.default.create({});try{return(await n.post(e,{query:"{_meta{deployment}}",variables:null},ru({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}catch(r){throw new Error("Could not find deployment, did you use a GraphQL endpoint?")}}async function kE(e){if(console.log(Ba.default.bold("Deploying Subgraph:")),e.abi){let a=(0,qa.default)("Generating subgraph(s) (this may take several minutes)").start(),s;try{s=await DL(e.abi)}catch(u){yi(a,u);return}let[o,c]=await Fa.ApiFetch.post("/api/admin/subgraph/v1/subgraphs/generated",{body:{bundle:s}});if(o){yi(a,o);return}else{let u=c.data.generate_config_cursor;for(;;){let[l,p]=await Fa.ApiFetch.post("/api/admin/subgraph/v1/subgraphs/check_generated",{body:{cursor:u}});if(l){yi(a,l);return}else{let f=p.data.filter(d=>d.status==="FAILED");if(f.length){yi(a,{message:`Failed to generate subgraph on chain ${f[0].chain} from ABI bundle: ${f[0].failure_info}`});return}else if(p.data.filter(d=>d.status==="COMPLETE").length===p.data.length){a.succeed();for(let d of p.data)await SE(gm(ru({},e),{name:`${e.name}-${d.chain}`}),{generatedBundleId:d.generated_subgraph_id});return}}await new Promise(f=>setTimeout(f,5e3))}}}let t=e.path||vn.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let a=(0,qa.default)("Getting subgraph deployment metadata").start();try{n=await FL(e.graphql),a.succeed()}catch(s){yi(a,s);return}}if(n){let a=(0,qa.default)("Downloading subgraph from IPFS (This can take a while)").start();try{t=await BL(n,e.ipfsGateway,a),a.succeed()}catch(s){yi(a,s);return}}let r=await Bx(t);r.isValid||(console.log("Deployment failed: This path doesn't point to a subgraph build path"),process.exit(1));let i=await zL(r.buildPath);await SE(e,{bundle:i})}async function DL(e){let t=vn.default.resolve(process.cwd(),e),n=vn.default.dirname(t),r=require(t);for(let i in r.abis)r.abis[i]=require(vn.default.resolve(n,r.abis[i].path));if(r.chains&&Array.isArray(r.chains)){let[i,a]=await Fa.ApiFetch.get("/api/admin/subgraph/v1/subgraphs/supported_chains");if(i)throw i;{let s=r.chains.filter(o=>!a.data.supported_chains.find(c=>c===o));if(s.length)throw new Error(`The chains [${s.join(", ")}] are not supported. Please specify any combination of the following supported chains: [${a.data.supported_chains.join(", ")}]`)}}return JSON.stringify(r)}async function SE(e,t){let n=(0,qa.default)(`Deploying ${e.name}/${e.v} to Goldsky`).start(),r=Fa.ApiFetch.FormData();t.bundle?r.append("bundle",t.bundle.generateNodeStream({streamFiles:!0}),"bundle.zip"):t.generatedBundleId&&r.append("generated_bundle_id",t.generatedBundleId),r.append("overwrite",e.overwrite?"1":"0"),r.append("remove_graft",e.removeGraft?"1":"0"),e.startBlock&&r.append("start_block",e.startBlock.toString());let[i,a]=await Fa.ApiFetch.put(s=>`/api/admin/subgraph/v1/subgraphs/${s.name}/deployments/${s.version_label}`,{params:{name:e.name,version_label:e.v},body:r});i?i.statusCode===524?n.info(`This deployment is taking longer than usual and will keep deploying in the background.
|
|
267
|
+
Wait a few minutes and use ${Ba.default.bold("goldsky subgraph list")} to check the status of your deployments.`):yi(n,i):(n.succeed(),console.log(),console.log(`${Ba.default.bold("Deployed subgraph API:")} ${e.apiHost}${a.data.subgraph.graphql_endpoint}`))}function yi(e,t){e.fail(),console.log(),console.log(`${Ba.default.bold("Deployment failed:")} ${Ba.default.red(t.message||t.error)}`),process.exit(1)}async function zL(e){let t=(0,qa.default)(`Packaging deployment bundle from ${e}`).start();try{let n=new EE.default;n.generateNodeStream({type:"nodebuffer",streamFiles:!0});let r=await Yn.default.promises.readFile(vn.default.join(e,"subgraph.yaml"),{encoding:"utf8"}),i=Kl.default.parse(r);n.file("subgraph.yaml",r);let a=i.schema.file,s=await Yn.default.promises.readFile(vn.default.join(e,a));n.file(a,s);let o=i.dataSources.concat(i.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 Yn.default.promises.readFile(vn.default.join(e,p));n.file(p,f)}}return t.succeed(),n}catch(n){throw t.fail(),n}}var TE=X(kt()),$L="deploy <nameAndVersion>",UL="Deploy a subgraph to Goldsky",WL=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-abi",{describe:`${TE.default.red("[BETA] Generate a subgraph from an ABI ")}`,type:"string"}).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}).option("remove-graft",{describe:"Remove grafts from the subgraph prior to deployment",type:"boolean",default:!1}).option("start-block",{describe:"Change start block of your subgraph prior to deployment",type:"number"}).conflicts("path",["from-ipfs-hash","from-graphql","from-url","from-abi"]).conflicts("from-ipfs-hash",["path","from-graphql","from-url","from-abi"]).conflicts("from-graphql",["path","from-ipfs-hash","from-url","from-abi"]).conflicts("from-url",["path","from-ipfs-hash","from-graphql","from-abi"]).conflicts("from-abi",["path","from-ipfs-hash","from-graphql","from-url"]),HL=async({apiHost:e,nameAndVersion:t,overwrite:n,path:r,fromIpfsHash:i,fromUrl:a,fromGraphql:s,fromAbi:o,ipfsGateway:c,removeGraft:u,startBlock:l})=>kE({apiHost:e,name:Qe(t)[0],overwrite:n,path:r,ipfsHash:i,graphql:a||s,abi:o,ipfsGateway:c,v:Qe(t)[1],removeGraft:u,startBlock:l});var jh={};Le(jh,{builder:()=>VL,command:()=>YL,describe:()=>GL,handler:()=>KL});var bn=X(kt()),Ah=X(St()),CE=X(Ot());async function AE(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,CE.default)("Fetching subgraphs").start(),[r,i]=await Ah.ApiFetch.get(t);if(r)n.fail(`${bn.default.bold("Subgraph listing failed:")} ${bn.default.red(r.message)}`),process.exit(1);else if(n.stop(),i.data.length===0)console.log(bn.default.bold("No subgraphs found."),"Run 'goldsky subgraph deploy --help' for information on deploying a subgraph");else{console.log(bn.default.bold("Subgraphs"));for(let o of i.data)if(o.tag?o.tag.target_version?console.log(bn.default.bold(`* ${o.name}/${o.version} -> ${o.name}/${o.tag.target_version}`)):console.log(bn.default.bold(`* ${o.name}/${o.version} -> [no target]`)):console.log(bn.default.bold(`* ${o.name}/${o.version}`)),!e.summary&&o.deployments.length){let c=o.deployments[0];console.log(" ","GraphQL API:",Ah.ApiFetch.getPath(o.graphql_endpoint,{})),console.log(" ","Created:",new Date(c.created_at).toLocaleString()),console.log(" ","Status:",`${bn.default[c.health==="healthy"?"green":"red"](c.health)}`),c.fatal_error&&console.log(" ","Fatal error:",bn.default.red(c.fatal_error.replace(/\t/g,`\r
|
|
268
|
+
`))),console.log(" ","Synced:",`${c.synced?bn.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 YL="list [nameAndVersion]",GL="View deployed subgraphs and tags",VL=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"),KL=async({apiHost:e,summary:t,filter:n,nameAndVersion:r})=>AE({apiHost:e,summary:t,filter:n,name:r?Qe(r)[0]:void 0,v:r?Qe(r)[1]:void 0});var Nh={};Le(Nh,{builder:()=>sq,command:()=>iq,describe:()=>aq,handler:()=>oq});var Ih={};Le(Ih,{builder:()=>QL,command:()=>ZL,describe:()=>JL,handler:()=>XL});var Sr=X(kt()),Rh=X(St()),Mh=X(Ot());async function Zl(e){let t=n=>`/api/admin/subgraph/v1/subgraphs/${n.name}/tags/${n.version_label}`;if(e.remove){let n=(0,Mh.default)("Removing tag").start(),[r,i]=await Rh.ApiFetch.delete_(t,{params:{name:e.name,version_label:e.v}});r?n.fail(`${Sr.default.bold("Tag removal failed:")} ${Sr.default.red(r.message)}`):n.succeed(`${Sr.default.bold("Removed tag:")} ${t({name:e.name,version_label:e.v})}`)}else{let n=(0,Mh.default)("Tagging subgraph").start(),[r,i]=await Rh.ApiFetch.put(t,{params:{name:e.name,version_label:e.v},body:{target_version:e.t}});r?(n.fail(`${Sr.default.bold("Tagging failed:")} ${Sr.default.red(r.message)}`),process.exit(1)):(n.succeed(`${Sr.default.bold("Tagged subgraph:")}
|
|
255
269
|
${t({name:e.name,version_label:e.v})} ->
|
|
256
|
-
${e.t?t({name:e.name,version_label:e.t}):"null"}`),i.data.subgraph.deployments.length&&console.log(`${xr.default.bold("GraphQL API:")} ${e.apiHost}${i.data.subgraph.graphql_endpoint}`))}}var tL="create <nameAndVersion>",nL="Create a new 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",type:"string",demandOption:!0}),iL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Ll({apiHost:e,name:ot(t)[0],remove:!1,v:n,t:ot(t)[1]})};var yh={};De(yh,{builder:()=>oL,command:()=>aL,describe:()=>sL,handler:()=>cL});var aL="delete <nameAndVersion>",sL="Delete a tag",oL=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}),cL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Ll({apiHost:e,name:ot(t)[0],remove:!0,v:n})};var lL="tag",uL="Commands related to tags",pL=e=>e.command(xh).command(yh),fL=async()=>{};var Ch={};De(Ch,{builder:()=>DL,command:()=>BL,describe:()=>FL,handler:()=>zL});var FE=ne(Ct());var Oh={};De(Oh,{builder:()=>CL,command:()=>kL,describe:()=>TL,handler:()=>AL});var LE=ne(Ct());var ql=ne(kt()),Bl=ne(Tt()),gn=ne(Ct()),ME=ne(RE());async function PE(e){let t=(0,Bl.default)("Creating webhook").start(),[n,r]=await ql.ApiFetch.post(i=>`/api/admin/subgraph/v1/webhooks/${i.subgraphName}/${i.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(`${gn.default.bold("Webhook creation failed:")} ${gn.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${gn.default.bold(r.data.name)}' created.`),console.log(`Make sure calls to your endpoint have the following value for the 'goldsky-webhook-secret' header: ${gn.default.bold(`${r.data.webhookSecret}`)}`))}async function IE(e){let t=(0,Bl.default)("Deleting webhook").start(),[n]=await ql.ApiFetch.delete_(r=>`/api/admin/subgraph/v1/webhooks/${r.name}`,{params:{name:e.name}});n?(t.fail(),console.log(),console.log(`${gn.default.bold("Webhook deletion failed:")} ${gn.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${gn.default.bold(e.name)}' deleted.`))}async function NE(){let e=(0,Bl.default)("Listing webhooks").start(),t="/api/admin/subgraph/v1/webhooks",[n,r]=await ql.ApiFetch.get(t);if(n)e.fail(),console.log(),console.log(`${gn.default.bold("Could not list webhooks:")} ${gn.default.red(n.message)}`),process.exit(1);else if(e.succeed(),console.log(),r.data.length>0){let i=new ME.default({head:["Subgraph Name","Subgraph Version","Webhook Name","Entity","URL"],style:{head:["green"]}});r.data.map(a=>{i.push([a.subgraphName,a.subgraphVersion,a.name,a.entity,a.webhookUrl])}),console.log(i.toString())}else console.log(`No webhooks found. Create one with ${gn.default.bold("goldsky subgraph webhook create")}.`)}var kL="create <nameAndVersion>",TL=`${LE.default.red("[BETA]")} commands related to webhooks`,CL=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}),AL=async({entity:e,name:t,nameAndVersion:n,url:r})=>{await PE({name:t,subgraphName:ot(n)[0],subgraphVersion:ot(n)[1],webhookUrl:r,entity:e})};var kh={};De(kh,{builder:()=>ML,command:()=>jL,describe:()=>RL,handler:()=>PL});var qE=ne(Ct());var jL="delete",RL=`${qE.default.red("[BETA]")} Delete a webhook`,ML=e=>e.option("name",{describe:"Name of the webhook to delete",type:"string",demandOption:!0}),PL=async({apiHost:e,name:t})=>{await IE({name:t})};var Th={};De(Th,{builder:()=>LL,command:()=>IL,describe:()=>NL,handler:()=>qL});var BE=ne(Ct());var IL="list",NL=`${BE.default.red("[BETA]")} List webhooks`,LL=e=>e,qL=async({apiHost:e})=>{await NE()};var BL="webhook",FL=`${FE.default.red("[BETA]")} Commands related to webhooks`,DL=e=>e.command(Oh).command(kh).command(Th),zL=async()=>{};var UL="subgraph",$L="commands related to subgraphs",WL=e=>e.command(hh).command(gh).command(tf).command(wh).command(Ch).version(!1),HL=async()=>{};var Bh={};De(Bh,{builder:()=>_q,command:()=>yq,describe:()=>wq,handler:()=>Sq});var Ph={};De(Ph,{builder:()=>sq,command:()=>iq,describe:()=>aq,handler:()=>oq});var jh={};De(jh,{builder:()=>KL,command:()=>YL,describe:()=>GL,handler:()=>VL});var DE=ne(kt()),zE=ne(Tt());async function UE(){let e=(0,zE.default)("Fetching users").start(),[t,n]=await DE.ApiFetch.get("/api/admin/project/v1/users");if(t)e.fail(t.message),process.exit(1);else if(n.data.length===0)e.fail("No users found, this is extremely unusual. Please contact support@goldsky.com"),process.exit(1);else{e.succeed();for(let r of n.data)console.log(r.email)}}var YL="list",GL="list all users for this project",KL=e=>e,VL=async()=>{await UE()};var Rh={};De(Rh,{builder:()=>XL,command:()=>ZL,describe:()=>JL,handler:()=>QL});var $E=ne(kt()),WE=ne(Tt());async function HE(e){let t=(0,WE.default)("Inviting users").start();if(!await fx()){t.fail("Could not detect your project, please try logging in again");return}let[r,i]=await $E.ApiFetch.post("/api/admin/invite/v1/invite",{body:{emails:e}});r?(t.fail(r.message),process.exit(1)):i.data?t.succeed("Invited users!"):(t.fail("Failed to invite users, try again"),process.exit(1))}var ZL="invite",JL="invite a user to your project",XL=e=>e.option("emails",{describe:"emails of users to invite",type:"array",demandOption:!0,string:!0}),QL=async({emails:e})=>{await HE(e)};var Mh={};De(Mh,{builder:()=>nq,command:()=>eq,describe:()=>tq,handler:()=>rq});var YE=ne(kt()),GE=ne(Tt());async function KE(e){let t=(0,GE.default)("Removing user").start(),[n,r]=await YE.ApiFetch.delete_("/api/admin/project/v1/user",{body:{email:e}});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed(`Removed user ${e}`):(t.fail("Failed to remove user, try again"),process.exit(1))}var eq="remove",tq="remove a user from your project",nq=e=>e.option("email",{describe:"email of user to remove",type:"string",demandOption:!0}),rq=async({email:e})=>{await KE(e)};var iq="users",aq="commands related to the users of a project",sq=e=>e.command(jh).command(Rh).command(Mh).version(!1),oq=async()=>{};var Ih={};De(Ih,{builder:()=>uq,command:()=>cq,describe:()=>lq,handler:()=>pq});var VE=ne(kt()),ZE=ne(Tt());async function JE(e){let t=(0,ZE.default)("Leaving project").start(),[n,r]=await VE.ApiFetch.post("/api/admin/project/v1/leave",{body:{projectId:e}});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed("Left project."):(t.fail("Failed to leave project, try again"),process.exit(1))}var cq="leave",lq="leave a project",uq=e=>e.option("projectId",{describe:"the ID of the project you want to leave",type:"string",demandOption:!0}),pq=async({projectId:e})=>{await JE(e)};var Lh={};De(Lh,{builder:()=>hq,command:()=>fq,describe:()=>dq,handler:()=>mq});var XE=ne(kt()),QE=ne(Tt()),Nh=ne(Ct());async function eO(){let e=(0,QE.default)("Fetching projects").start(),[t,n]=await XE.ApiFetch.get("/api/admin/project/v1/projects");if(t)e.fail(t.message),process.exit(1);else if(n.data.length===0)e.warn("You don't belong to any projects!");else{e.succeed();for(let r of n.data)console.log(`* ${Nh.default.bold(r.name)}${r.currentlyAuthenticated?` ${Nh.default.green("(active)")}`:""}`),console.log(` Created At: ${new Date(r.createdAt).toLocaleString()}`),console.log(` Project ID: ${r.projectId}`)}}var fq="list",dq="list all of the projects you belong to",hq=e=>e,mq=async()=>{await eO()};var qh={};De(qh,{builder:()=>bq,command:()=>gq,describe:()=>vq,handler:()=>xq});var tO=ne(kt()),nO=ne(Tt());async function rO(e){let t=(0,nO.default)("Updating project").start(),[n,r]=await tO.ApiFetch.put("/api/admin/project/v1/project",{body:e});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed("Updated project"):(t.fail("Failed to update project, try again"),process.exit(1))}var gq="update",vq="update a project",bq=e=>e.option("name",{describe:"the new name of the project",type:"string",demandOption:!0}),xq=async({name:e})=>{await rO({name:e})};var yq="project",wq="commands related to project management",_q=e=>e.command(Ph).command(Ih).command(Lh).command(qh).version(!1),Sq=async()=>{};var Dl=ne(Ct());var Fl={name:"@goldskycom/cli",version:"0.4.0",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 iO=async()=>{(await Function('return import("update-notifier")')()).default({pkg:Fl}).notify({message:`\u{1F389} A new version of the Goldsky CLI is available \u{1F389}
|
|
270
|
+
${e.t?t({name:e.name,version_label:e.t}):"null"}`),i.data.subgraph.deployments.length&&console.log(`${Sr.default.bold("GraphQL API:")} ${e.apiHost}${i.data.subgraph.graphql_endpoint}`))}}var ZL="create <nameAndVersion>",JL="Create a new tag",QL=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}),XL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Zl({apiHost:e,name:Qe(t)[0],remove:!1,v:n,t:Qe(t)[1]})};var Ph={};Le(Ph,{builder:()=>nq,command:()=>eq,describe:()=>tq,handler:()=>rq});var eq="delete <nameAndVersion>",tq="Delete a tag",nq=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}),rq=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Zl({apiHost:e,name:Qe(t)[0],remove:!0,v:n})};var iq="tag",aq="Commands related to tags",sq=e=>e.command(Ih).command(Ph),oq=async()=>{};var Uh={};Le(Uh,{builder:()=>Fq,command:()=>qq,describe:()=>Bq,handler:()=>Dq});var hO=X(kt());var Fh={};Le(Fh,{builder:()=>Sq,command:()=>wq,describe:()=>_q,handler:()=>Eq});var uO=X(kt());var co=X(St()),lo=X(Ot()),Vt=X(kt()),aO=X(iO());async function sO(e){let t=(0,lo.default)("Creating webhook").start(),[n,r]=await co.ApiFetch.post(i=>`/api/admin/subgraph/v1/webhooks/${i.subgraphName}/${i.subgraphVersion}`,{params:{subgraphName:e.subgraphName,subgraphVersion:e.subgraphVersion},body:{name:e.name,webhookUrl:e.webhookUrl,entity:e.entity,numRetries:e.numRetries,retryIntervalSeconds:e.retryInterval,retryTimeoutSeconds:e.retryTimeout}});n?(t.fail(),console.log(),console.log(`${Vt.default.bold("Webhook creation failed:")} ${Vt.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${Vt.default.bold(r.data.name)}' created.`),console.log(`Make sure calls to your endpoint have the following value for the 'goldsky-webhook-secret' header: ${Vt.default.bold(`${r.data.webhookSecret}`)}`))}async function oO(e){let t=(0,lo.default)("Deleting webhook").start(),[n]=await co.ApiFetch.delete_(r=>`/api/admin/subgraph/v1/webhooks/${r.name}`,{params:{name:e.name}});n?(t.fail(),console.log(),console.log(`${Vt.default.bold("Webhook deletion failed:")} ${Vt.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${Vt.default.bold(e.name)}' deleted.`))}async function cO(){let e=(0,lo.default)("Listing webhooks").start(),t="/api/admin/subgraph/v1/webhooks",[n,r]=await co.ApiFetch.get(t);if(n)e.fail(),console.log(),console.log(`${Vt.default.bold("Could not list webhooks:")} ${Vt.default.red(n.message)}`),process.exit(1);else if(e.succeed(),console.log(),r.data.length>0){let i=new aO.default({head:["Subgraph Name","Subgraph Version","Webhook Name","Entity","URL"],style:{head:["green"]}});r.data.map(a=>{i.push([a.subgraphName,a.subgraphVersion,a.name,a.entity,a.webhookUrl])}),console.log(i.toString())}else console.log(`No webhooks found. Create one with ${Vt.default.bold("goldsky subgraph webhook create")}.`)}async function lO({name:e,version:t}){let n=(0,lo.default)("Listing entities").start(),r=`/api/admin/subgraph/v1/webhooks/entities/${e}/${t}`,[i,a]=await co.ApiFetch.get(r);if(i)n.fail(),console.log(),console.log(`${Vt.default.bold("Could not list entities:")} ${Vt.default.red(i.message)}`),process.exit(1);else if(a.data.length===0)n.fail("No entities found. Please reach out to support@goldsky.com"),process.exit(1);else{n.succeed("Possible webhook entities:");for(let s of a.data)console.log(s.name)}}var wq="create <nameAndVersion>",_q=`${uO.default.red("[BETA]")} Create a webhook`,Sq=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}).option("num-retries",{describe:"Number of times to retry sending an event",type:"number",default:10}).option("retry-interval",{describe:"Number of seconds to wait between retries",type:"number",default:60}).option("retry-timeout",{describe:"Number of seconds to wait for a response before retrying",type:"number",default:30}),Eq=async({entity:e,name:t,nameAndVersion:n,url:r,numRetries:i,retryInterval:a,retryTimeout:s})=>{await sO({name:t,subgraphName:Qe(n)[0],subgraphVersion:Qe(n)[1],webhookUrl:r,entity:e,numRetries:i,retryInterval:a,retryTimeout:s})};var Dh={};Le(Dh,{builder:()=>Tq,command:()=>Oq,describe:()=>kq,handler:()=>Cq});var pO=X(kt());var Oq="delete",kq=`${pO.default.red("[BETA]")} Delete a webhook`,Tq=e=>e.option("name",{describe:"Name of the webhook to delete",type:"string",demandOption:!0}),Cq=async({apiHost:e,name:t})=>{await oO({name:t})};var zh={};Le(zh,{builder:()=>Rq,command:()=>Aq,describe:()=>jq,handler:()=>Mq});var fO=X(kt());var Aq="list",jq=`${fO.default.red("[BETA]")} List webhooks`,Rq=e=>e,Mq=async({apiHost:e})=>{await cO()};var $h={};Le($h,{builder:()=>Nq,command:()=>Iq,describe:()=>Pq,handler:()=>Lq});var dO=X(kt());var Iq="list-entities <nameAndVersion>",Pq=`${dO.default.red("[BETA]")} List possible webhook entities for a subgraph`,Nq=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),Lq=async({nameAndVersion:e})=>{let[t,n]=Qe(e);await lO({name:t,version:n})};var qq="webhook",Bq=`${hO.default.red("[BETA]")} Commands related to webhooks`,Fq=e=>e.command(Fh).command(Dh).command(zh).command($h),Dq=async()=>{};var zq="subgraph",$q="commands related to subgraphs",Uq=e=>e.command(Ch).command(jh).command(gf).command(Nh).command(Uh).version(!1),Wq=async()=>{};var fm={};Le(fm,{builder:()=>jB,command:()=>CB,describe:()=>AB,handler:()=>RB});var am={};Le(am,{builder:()=>uB,command:()=>cB,describe:()=>lB,handler:()=>pB});var Hh={};Le(Hh,{builder:()=>Gq,command:()=>Hq,describe:()=>Yq,handler:()=>Vq});var mO=X(St()),gO=X(Ot());async function vO(){let e=(0,gO.default)("Fetching users").start(),[t,n]=await mO.ApiFetch.get("/api/admin/project/v1/users");if(t)e.fail(t.message),process.exit(1);else if(n.data.length===0)e.fail("No users found, this is extremely unusual. Please contact support@goldsky.com"),process.exit(1);else{e.succeed();for(let r of n.data)console.log(r.email)}}var Hq="list",Yq="list all users for this project",Gq=e=>e,Vq=async()=>{await vO()};var rm={};Le(rm,{builder:()=>nB,command:()=>eB,describe:()=>tB,handler:()=>rB});var IO=X(St()),PO=X(Ot()),NO=X(MO());async function LO(e,t){let n=(0,PO.default)();if(!t){let a=(0,NO.question)("Any user you invite will have admin privileges, are you sure you want to invite them? (y/n) ");a!=="Y"&&a!=="y"&&(n.fail("Cancelled"),process.exit(1))}n.start("Inviting users");let[r,i]=await IO.ApiFetch.post("/api/admin/invite/v1/invite",{body:{emails:e}});r?(n.fail(r.message),process.exit(1)):i.data?n.succeed("Invited users!"):(n.fail("Failed to invite users, try again"),process.exit(1))}var eB="invite",tB="invite a user to your project",nB=e=>e.option("emails",{describe:"emails of users to invite",type:"array",demandOption:!0,string:!0}).option("yes",{describe:"skip confirmation",type:"boolean",default:!1}),rB=async({emails:e,yes:t})=>{await LO(e,t)};var im={};Le(im,{builder:()=>sB,command:()=>iB,describe:()=>aB,handler:()=>oB});var qO=X(St()),BO=X(Ot());async function FO(e){let t=(0,BO.default)("Removing user").start(),[n,r]=await qO.ApiFetch.delete_("/api/admin/project/v1/user",{body:{email:e}});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed(`Removed user ${e}`):(t.fail("Failed to remove user, try again"),process.exit(1))}var iB="remove",aB="remove a user from your project",sB=e=>e.option("email",{describe:"email of user to remove",type:"string",demandOption:!0}),oB=async({email:e})=>{await FO(e)};var cB="users",lB="commands related to the users of a project",uB=e=>e.command(Hh).command(rm).command(im).version(!1),pB=async()=>{};var sm={};Le(sm,{builder:()=>hB,command:()=>fB,describe:()=>dB,handler:()=>mB});var DO=X(St()),zO=X(Ot());async function $O(e){let t=(0,zO.default)("Leaving project").start(),[n,r]=await DO.ApiFetch.post("/api/admin/project/v1/leave",{body:{projectId:e}});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed("Left project."):(t.fail("Failed to leave project, try again"),process.exit(1))}var fB="leave",dB="leave a project",hB=e=>e.option("projectId",{describe:"the ID of the project you want to leave",type:"string",demandOption:!0}),mB=async({projectId:e})=>{await $O(e)};var lm={};Le(lm,{builder:()=>bB,command:()=>gB,describe:()=>vB,handler:()=>xB});var UO=X(St()),WO=X(Ot()),om=X(kt());function cm(e){console.log(`* ${om.default.bold(e.name)}${e.currentlyAuthenticated?` ${om.default.green("(active)")}`:""}`),console.log(` Created At: ${new Date(e.createdAt).toLocaleString()}`),console.log(` Project ID: ${e.projectId}`)}async function HO(){let e=(0,WO.default)("Fetching projects").start(),[t,n]=await UO.ApiFetch.get("/api/admin/project/v1/projects");if(t)e.fail(t.message),process.exit(1);else if(n.data.length===0)e.warn("You don't belong to any projects!");else{e.succeed();for(let r of n.data)cm(r)}}var gB="list",vB="list all of the projects you belong to",bB=e=>e,xB=async()=>{await HO()};var um={};Le(um,{builder:()=>_B,command:()=>yB,describe:()=>wB,handler:()=>SB});var YO=X(St()),GO=X(Ot());async function VO(e){let t=(0,GO.default)("Updating project").start(),[n,r]=await YO.ApiFetch.put("/api/admin/project/v1/project",{body:e});n?(t.fail(n.message),process.exit(1)):r.data?t.succeed("Updated project"):(t.fail("Failed to update project, try again"),process.exit(1))}var yB="update",wB="update a project",_B=e=>e.option("name",{describe:"the new name of the project",type:"string",demandOption:!0}),SB=async({name:e})=>{await VO({name:e})};var pm={};Le(pm,{builder:()=>kB,command:()=>EB,describe:()=>OB,handler:()=>TB});var KO=X(St()),ZO=X(Ot());async function JO(e){let t=(0,ZO.default)("Creating project").start(),[n,r]=await KO.ApiFetch.post("/api/admin/project/v1/project",{body:{name:e}});n?(t.fail(n.message),process.exit(1)):r.data?(t.succeed("Created project. Use https://app.goldsky.com to create an API token for this project."),cm(r.data)):(t.fail("Failed to create project, try again"),process.exit(1))}var EB="create",OB="create a project",kB=e=>e.option("name",{describe:"the name of the new project",type:"string",demandOption:!0}),TB=async({name:e})=>{await JO(e)};var CB="project",AB="commands related to project management",jB=e=>e.command(am).command(sm).command(lm).command(um).command(pm).version(!1),RB=async()=>{};var eu=X(kt());var Xl={name:"@goldskycom/cli",version:"0.5.0",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/readline-sync":"^1.4.4","@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:{"readline-sync":"^1.4.10","update-notifier":"^6.0.2"}};var QO=async()=>{(await Function('return import("update-notifier")')()).default({pkg:Xl}).notify({message:`\u{1F389} A new version of the Goldsky CLI is available \u{1F389}
|
|
257
271
|
|
|
258
|
-
Run {updateCommand} to update (${
|
|
272
|
+
Run {updateCommand} to update (${eu.default.dim("{currentVersion}")}${eu.default.reset(" \u2192 ")}${eu.default.green("{latestVersion}")})`})};var IB=e=>["subgraph list","subgraph tag delete"].includes(e),PB=lu(process.argv);QO().then(zx).then(()=>{yg(PB).scriptName("goldsky").usage("$0 <cmd> args").check(e=>{if(e.nameAndVersion&&!IB(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:tu.API_URL,hidden:!0}).option("token",{describe:"CLI Auth Token",type:"string",default:""}).command(df).command(hf).command(Wh).command("project",!1,fm).version(Xl.version).alias("v","version").alias("h","help").strict().demandCommand(1).middleware([e=>{tu.ApiFetch.setApiHost(e.apiHost),e.token&&ls(e.token)}]).showHelpOnFail(!0).argv});
|
|
259
273
|
/*!
|
|
260
274
|
* mime-db
|
|
261
275
|
* Copyright(c) 2014 Jonathan Ong
|