octocode-mcp
Version:
Model Context Protocol (MCP) server for advanced GitHub repository analysis and code discovery. Provides AI assistants with powerful tools to search, analyze, and understand codebases across GitHub.
207 lines • 1.7 MB
JavaScript
import{createRequire as e}from"node:module";import*as t from"path";import n,{dirname as r,join as i}from"path";import*as a from"os";import o from"os";import s from"util";import c,{Readable as l}from"stream";import u from"http";import d from"https";import f from"url";import p,{promises as m,realpathSync as h,statSync as g}from"fs";import _,{createHash as v}from"crypto";import y from"http2";import b from"zlib";import{EventEmitter as x}from"events";import{spawn as S}from"child_process";import{existsSync as C,mkdirSync as w,readFileSync as T,unlinkSync as E,writeFileSync as D}from"node:fs";import{join as O}from"node:path";import{createCipheriv as k,createDecipheriv as A,createHmac as j,createPrivateKey as ee,randomBytes as te,subtle as ne,timingSafeEqual as re}from"node:crypto";import M from"node:os";import{AsyncEntry as ie}from"@napi-rs/keyring";import{Buffer as ae}from"node:buffer";import{readFile as N,stat as oe}from"fs/promises";import{createRequire as P}from"module";var F=Object.create,se=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,le=Object.getOwnPropertyNames,ue=Object.getPrototypeOf,de=Object.prototype.hasOwnProperty,I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fe=(e,t)=>{let n={};for(var r in e)se(n,r,{get:e[r],enumerable:!0});return t&&se(n,Symbol.toStringTag,{value:`Module`}),n},pe=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=le(t),a=0,o=i.length,s;a<o;a++)s=i[a],!de.call(e,s)&&s!==n&&se(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=ce(t,s))||r.enumerable});return e},L=(e,t,n)=>(n=e==null?{}:F(ue(e)),pe(t||!e||!e.__esModule?se(n,`default`,{value:e,enumerable:!0}):n,e)),R=e(import.meta.url);const z={GITHUB_FETCH_CONTENT:`githubGetFileContent`,GITHUB_SEARCH_CODE:`githubSearchCode`,GITHUB_SEARCH_PULL_REQUESTS:`githubSearchPullRequests`,GITHUB_SEARCH_REPOSITORIES:`githubSearchRepositories`,GITHUB_VIEW_REPO_STRUCTURE:`githubViewRepoStructure`,PACKAGE_SEARCH:`packageSearch`,LOCAL_RIPGREP:`localSearchCode`,LOCAL_FETCH_CONTENT:`localGetFileContent`,LOCAL_FIND_FILES:`localFindFiles`,LOCAL_VIEW_STRUCTURE:`localViewStructure`,LSP_GOTO_DEFINITION:`lspGotoDefinition`,LSP_FIND_REFERENCES:`lspFindReferences`,LSP_CALL_HIERARCHY:`lspCallHierarchy`},me=new Set([z.LOCAL_RIPGREP,z.LOCAL_FETCH_CONTENT,z.LOCAL_FIND_FILES,z.LOCAL_VIEW_STRUCTURE,z.LSP_GOTO_DEFINITION,z.LSP_FIND_REFERENCES,z.LSP_CALL_HIERARCHY]);function he(e){return me.has(e)}var ge;(function(e){e.assertEqual=e=>{};function t(e){}e.assertIs=t;function n(e){throw Error()}e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>typeof t[t[e]]!=`number`),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys=typeof Object.keys==`function`?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger=typeof Number.isInteger==`function`?e=>Number.isInteger(e):e=>typeof e==`number`&&Number.isFinite(e)&&Math.floor(e)===e;function r(e,t=` | `){return e.map(e=>typeof e==`string`?`'${e}'`:e).join(t)}e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>typeof t==`bigint`?t.toString():t})(ge||={});var _e;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(_e||={});const B=ge.arrayToEnum([`string`,`nan`,`number`,`integer`,`float`,`boolean`,`date`,`bigint`,`symbol`,`function`,`undefined`,`null`,`array`,`object`,`unknown`,`promise`,`void`,`never`,`map`,`set`]),ve=e=>{switch(typeof e){case`undefined`:return B.undefined;case`string`:return B.string;case`number`:return Number.isNaN(e)?B.nan:B.number;case`boolean`:return B.boolean;case`function`:return B.function;case`bigint`:return B.bigint;case`symbol`:return B.symbol;case`object`:return Array.isArray(e)?B.array:e===null?B.null:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?B.promise:typeof Map<`u`&&e instanceof Map?B.map:typeof Set<`u`&&e instanceof Set?B.set:typeof Date<`u`&&e instanceof Date?B.date:B.object;default:return B.unknown}},V=ge.arrayToEnum([`invalid_type`,`invalid_literal`,`custom`,`invalid_union`,`invalid_union_discriminator`,`invalid_enum_value`,`unrecognized_keys`,`invalid_arguments`,`invalid_return_type`,`invalid_date`,`invalid_string`,`too_small`,`too_big`,`invalid_intersection_types`,`not_multiple_of`,`not_finite`]);var ye=class e extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name=`ZodError`,this.issues=e}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`)i.unionErrors.map(r);else if(i.code===`invalid_return_type`)r(i.returnTypeError);else if(i.code===`invalid_arguments`)r(i.argumentsError);else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(t){if(!(t instanceof e))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ge.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};ye.create=e=>new ye(e);var be=(e,t)=>{let n;switch(e.code){case V.invalid_type:n=e.received===B.undefined?`Required`:`Expected ${e.expected}, received ${e.received}`;break;case V.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,ge.jsonStringifyReplacer)}`;break;case V.unrecognized_keys:n=`Unrecognized key(s) in object: ${ge.joinValues(e.keys,`, `)}`;break;case V.invalid_union:n=`Invalid input`;break;case V.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${ge.joinValues(e.options)}`;break;case V.invalid_enum_value:n=`Invalid enum value. Expected ${ge.joinValues(e.options)}, received '${e.received}'`;break;case V.invalid_arguments:n=`Invalid function arguments`;break;case V.invalid_return_type:n=`Invalid function return type`;break;case V.invalid_date:n=`Invalid date`;break;case V.invalid_string:typeof e.validation==`object`?`includes`in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position==`number`&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):`startsWith`in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:`endsWith`in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:ge.assertNever(e.validation):n=e.validation===`regex`?`Invalid`:`Invalid ${e.validation}`;break;case V.too_small:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at least`:`over`} ${e.minimum} character(s)`:e.type===`number`||e.type===`bigint`?`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`:e.type===`date`?`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`:`Invalid input`;break;case V.too_big:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`:e.type===`number`?`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`bigint`?`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`date`?`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`:`Invalid input`;break;case V.custom:n=`Invalid input`;break;case V.invalid_intersection_types:n=`Intersection results could not be merged`;break;case V.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case V.not_finite:n=`Number must be finite`;break;default:n=t.defaultError,ge.assertNever(e)}return{message:n}};let xe=be;function Se(){return xe}const Ce=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s=``,c=r.filter(e=>!!e).slice().reverse();for(let e of c)s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function H(e,t){let n=Se(),r=Ce({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===be?void 0:be].filter(e=>!!e)});e.common.issues.push(r)}var we=class e{constructor(){this.value=`valid`}dirty(){this.value===`valid`&&(this.value=`dirty`)}abort(){this.value!==`aborted`&&(this.value=`aborted`)}static mergeArray(e,t){let n=[];for(let r of t){if(r.status===`aborted`)return U;r.status===`dirty`&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(t,n){let r=[];for(let e of n){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return e.mergeObjectSync(t,r)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if(t.status===`aborted`||i.status===`aborted`)return U;t.status===`dirty`&&e.dirty(),i.status===`dirty`&&e.dirty(),t.value!==`__proto__`&&(i.value!==void 0||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}};const U=Object.freeze({status:`aborted`}),Te=e=>({status:`dirty`,value:e}),Ee=e=>({status:`valid`,value:e}),De=e=>e.status===`aborted`,Oe=e=>e.status===`dirty`,ke=e=>e.status===`valid`,Ae=e=>typeof Promise<`u`&&e instanceof Promise;var W;(function(e){e.errToObj=e=>typeof e==`string`?{message:e}:e||{},e.toString=e=>typeof e==`string`?e:e?.message})(W||={});var je=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}};const Me=(e,t)=>{if(ke(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error(`Validation failed but no issues detected.`);return{success:!1,get error(){return this._error||=new ye(e.common.issues),this._error}}};function Ne(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:a}=e;return t.code===`invalid_enum_value`?{message:a??i.defaultError}:i.data===void 0?{message:a??r??i.defaultError}:t.code===`invalid_type`?{message:a??n??i.defaultError}:{message:i.defaultError}},description:i}}var Pe=class{get description(){return this._def.description}_getType(e){return ve(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:ve(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new we,ctx:{common:e.parent.common,data:e.data,parsedType:ve(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(Ae(t))throw Error(`Synchronous parse encountered promise.`);return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ve(e)};return Me(n,this._parseSync({data:e,path:n.path,parent:n}))}"~validate"(e){let t={common:{issues:[],async:!!this[`~standard`].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ve(e)};if(!this[`~standard`].async)try{let n=this._parseSync({data:e,path:[],parent:t});return ke(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes(`encountered`)&&(this[`~standard`].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>ke(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ve(e)},r=this._parse({data:e,path:n.path,parent:n});return Me(n,await(Ae(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>typeof t==`string`||t===void 0?{message:t}:typeof t==`function`?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:V.custom,...n(t)});return typeof Promise<`u`&&i instanceof Promise?i.then(e=>e?!0:(a(),!1)):i?!0:(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t==`function`?t(n,r):t),!1))}_refinement(e){return new Ft({schema:this,typeName:Wt.ZodEffects,effect:{type:`refinement`,refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this[`~standard`]={version:1,vendor:`zod`,validate:e=>this[`~validate`](e)}}optional(){return It.create(this,this._def)}nullable(){return Lt.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return gt.create(this)}promise(){return Pt.create(this,this._def)}or(e){return yt.create([this,e],this._def)}and(e){return Ct.create(this,e,this._def)}transform(e){return new Ft({...Ne(this._def),schema:this,typeName:Wt.ZodEffects,effect:{type:`transform`,transform:e}})}default(e){let t=typeof e==`function`?e:()=>e;return new Rt({...Ne(this._def),innerType:this,defaultValue:t,typeName:Wt.ZodDefault})}brand(){return new Vt({typeName:Wt.ZodBranded,type:this,...Ne(this._def)})}catch(e){let t=typeof e==`function`?e:()=>e;return new zt({...Ne(this._def),innerType:this,catchValue:t,typeName:Wt.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Ht.create(this,e)}readonly(){return Ut.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};const Fe=/^c[^\s-]{8,}$/i,Ie=/^[0-9a-z]+$/,Le=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Re=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,G=/^[a-z0-9_-]{21}$/i,ze=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Be=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Ve=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let He;const Ue=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,We=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Ge=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Ke=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,qe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Je=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Ye=`((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`,Xe=RegExp(`^${Ye}$`);function Ze(e){let t=`[0-5]\\d`;e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision??(t=`${t}(\\.\\d+)?`);let n=e.precision?`+`:`?`;return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function Qe(e){return RegExp(`^${Ze(e)}$`)}function $e(e){let t=`${Ye}T${Ze(e)}`,n=[];return n.push(e.local?`Z?`:`Z`),e.offset&&n.push(`([+-]\\d{2}:?\\d{2})`),t=`${t}(${n.join(`|`)})`,RegExp(`^${t}$`)}function et(e,t){return!!((t===`v4`||!t)&&Ue.test(e)||(t===`v6`||!t)&&Ge.test(e))}function tt(e,t){if(!ze.test(e))return!1;try{let[n]=e.split(`.`);if(!n)return!1;let r=n.replace(/-/g,`+`).replace(/_/g,`/`).padEnd(n.length+(4-n.length%4)%4,`=`),i=JSON.parse(atob(r));return!(typeof i!=`object`||!i||`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&i.alg!==t)}catch{return!1}}function nt(e,t){return!!((t===`v4`||!t)&&We.test(e)||(t===`v6`||!t)&&Ke.test(e))}var rt=class e extends Pe{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==B.string){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.string,received:t.parsedType}),U}let t=new we,n;for(let r of this._def.checks)if(r.kind===`min`)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),H(n,{code:V.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`max`)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),H(n,{code:V.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`length`){let i=e.data.length>r.value,a=e.data.length<r.value;(i||a)&&(n=this._getOrReturnCtx(e,n),i?H(n,{code:V.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}):a&&H(n,{code:V.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if(r.kind===`email`)Ve.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`email`,code:V.invalid_string,message:r.message}),t.dirty());else if(r.kind===`emoji`)He||=RegExp(`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,`u`),He.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`emoji`,code:V.invalid_string,message:r.message}),t.dirty());else if(r.kind===`uuid`)Re.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`uuid`,code:V.invalid_string,message:r.message}),t.dirty());else if(r.kind===`nanoid`)G.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`nanoid`,code:V.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid`)Fe.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`cuid`,code:V.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid2`)Ie.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`cuid2`,code:V.invalid_string,message:r.message}),t.dirty());else if(r.kind===`ulid`)Le.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`ulid`,code:V.invalid_string,message:r.message}),t.dirty());else if(r.kind===`url`)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),H(n,{validation:`url`,code:V.invalid_string,message:r.message}),t.dirty()}else r.kind===`regex`?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`regex`,code:V.invalid_string,message:r.message}),t.dirty())):r.kind===`trim`?e.data=e.data.trim():r.kind===`includes`?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),H(n,{code:V.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty()):r.kind===`toLowerCase`?e.data=e.data.toLowerCase():r.kind===`toUpperCase`?e.data=e.data.toUpperCase():r.kind===`startsWith`?e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),H(n,{code:V.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):r.kind===`endsWith`?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),H(n,{code:V.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):r.kind===`datetime`?$e(r).test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{code:V.invalid_string,validation:`datetime`,message:r.message}),t.dirty()):r.kind===`date`?Xe.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{code:V.invalid_string,validation:`date`,message:r.message}),t.dirty()):r.kind===`time`?Qe(r).test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{code:V.invalid_string,validation:`time`,message:r.message}),t.dirty()):r.kind===`duration`?Be.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`duration`,code:V.invalid_string,message:r.message}),t.dirty()):r.kind===`ip`?et(e.data,r.version)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`ip`,code:V.invalid_string,message:r.message}),t.dirty()):r.kind===`jwt`?tt(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`jwt`,code:V.invalid_string,message:r.message}),t.dirty()):r.kind===`cidr`?nt(e.data,r.version)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`cidr`,code:V.invalid_string,message:r.message}),t.dirty()):r.kind===`base64`?qe.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`base64`,code:V.invalid_string,message:r.message}),t.dirty()):r.kind===`base64url`?Je.test(e.data)||(n=this._getOrReturnCtx(e,n),H(n,{validation:`base64url`,code:V.invalid_string,message:r.message}),t.dirty()):ge.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:V.invalid_string,...W.errToObj(n)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:`email`,...W.errToObj(e)})}url(e){return this._addCheck({kind:`url`,...W.errToObj(e)})}emoji(e){return this._addCheck({kind:`emoji`,...W.errToObj(e)})}uuid(e){return this._addCheck({kind:`uuid`,...W.errToObj(e)})}nanoid(e){return this._addCheck({kind:`nanoid`,...W.errToObj(e)})}cuid(e){return this._addCheck({kind:`cuid`,...W.errToObj(e)})}cuid2(e){return this._addCheck({kind:`cuid2`,...W.errToObj(e)})}ulid(e){return this._addCheck({kind:`ulid`,...W.errToObj(e)})}base64(e){return this._addCheck({kind:`base64`,...W.errToObj(e)})}base64url(e){return this._addCheck({kind:`base64url`,...W.errToObj(e)})}jwt(e){return this._addCheck({kind:`jwt`,...W.errToObj(e)})}ip(e){return this._addCheck({kind:`ip`,...W.errToObj(e)})}cidr(e){return this._addCheck({kind:`cidr`,...W.errToObj(e)})}datetime(e){return typeof e==`string`?this._addCheck({kind:`datetime`,precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:`datetime`,precision:e?.precision===void 0?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...W.errToObj(e?.message)})}date(e){return this._addCheck({kind:`date`,message:e})}time(e){return typeof e==`string`?this._addCheck({kind:`time`,precision:null,message:e}):this._addCheck({kind:`time`,precision:e?.precision===void 0?null:e?.precision,...W.errToObj(e?.message)})}duration(e){return this._addCheck({kind:`duration`,...W.errToObj(e)})}regex(e,t){return this._addCheck({kind:`regex`,regex:e,...W.errToObj(t)})}includes(e,t){return this._addCheck({kind:`includes`,value:e,position:t?.position,...W.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:`startsWith`,value:e,...W.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:`endsWith`,value:e,...W.errToObj(t)})}min(e,t){return this._addCheck({kind:`min`,value:e,...W.errToObj(t)})}max(e,t){return this._addCheck({kind:`max`,value:e,...W.errToObj(t)})}length(e,t){return this._addCheck({kind:`length`,value:e,...W.errToObj(t)})}nonempty(e){return this.min(1,W.errToObj(e))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:`trim`}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toLowerCase`}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toUpperCase`}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind===`datetime`)}get isDate(){return!!this._def.checks.find(e=>e.kind===`date`)}get isTime(){return!!this._def.checks.find(e=>e.kind===`time`)}get isDuration(){return!!this._def.checks.find(e=>e.kind===`duration`)}get isEmail(){return!!this._def.checks.find(e=>e.kind===`email`)}get isURL(){return!!this._def.checks.find(e=>e.kind===`url`)}get isEmoji(){return!!this._def.checks.find(e=>e.kind===`emoji`)}get isUUID(){return!!this._def.checks.find(e=>e.kind===`uuid`)}get isNANOID(){return!!this._def.checks.find(e=>e.kind===`nanoid`)}get isCUID(){return!!this._def.checks.find(e=>e.kind===`cuid`)}get isCUID2(){return!!this._def.checks.find(e=>e.kind===`cuid2`)}get isULID(){return!!this._def.checks.find(e=>e.kind===`ulid`)}get isIP(){return!!this._def.checks.find(e=>e.kind===`ip`)}get isCIDR(){return!!this._def.checks.find(e=>e.kind===`cidr`)}get isBase64(){return!!this._def.checks.find(e=>e.kind===`base64`)}get isBase64url(){return!!this._def.checks.find(e=>e.kind===`base64url`)}get minLength(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}};rt.create=e=>new rt({checks:[],typeName:Wt.ZodString,coerce:e?.coerce??!1,...Ne(e)});function it(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=(t.toString().split(`.`)[1]||``).length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(`.`,``))%Number.parseInt(t.toFixed(i).replace(`.`,``))/10**i}var at=class e extends Pe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==B.number){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.number,received:t.parsedType}),U}let t,n=new we;for(let r of this._def.checks)r.kind===`int`?ge.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{code:V.invalid_type,expected:`integer`,received:`float`,message:r.message}),n.dirty()):r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:V.too_small,minimum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:V.too_big,maximum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`multipleOf`?it(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),H(t,{code:V.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind===`finite`?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),H(t,{code:V.not_finite,message:r.message}),n.dirty()):ge.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit(`min`,e,!0,W.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,W.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,W.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,W.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:W.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:`int`,message:W.toString(e)})}positive(e){return this._addCheck({kind:`min`,value:0,inclusive:!1,message:W.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:0,inclusive:!1,message:W.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:0,inclusive:!0,message:W.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:0,inclusive:!0,message:W.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:W.toString(t)})}finite(e){return this._addCheck({kind:`finite`,message:W.toString(e)})}safe(e){return this._addCheck({kind:`min`,inclusive:!0,value:-(2**53-1),message:W.toString(e)})._addCheck({kind:`max`,inclusive:!0,value:2**53-1,message:W.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind===`int`||e.kind===`multipleOf`&&ge.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if(n.kind===`finite`||n.kind===`int`||n.kind===`multipleOf`)return!0;else n.kind===`min`?(t===null||n.value>t)&&(t=n.value):n.kind===`max`&&(e===null||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}};at.create=e=>new at({checks:[],typeName:Wt.ZodNumber,coerce:e?.coerce||!1,...Ne(e)});var ot=class e extends Pe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==B.bigint)return this._getInvalidInput(e);let t,n=new we;for(let r of this._def.checks)r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:V.too_small,type:`bigint`,minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),H(t,{code:V.too_big,type:`bigint`,maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`multipleOf`?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),H(t,{code:V.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):ge.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.bigint,received:t.parsedType}),U}gte(e,t){return this.setLimit(`min`,e,!0,W.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,W.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,W.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,W.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:W.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!1,message:W.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!1,message:W.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!0,message:W.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!0,message:W.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:W.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}};ot.create=e=>new ot({checks:[],typeName:Wt.ZodBigInt,coerce:e?.coerce??!1,...Ne(e)});var st=class extends Pe{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==B.boolean){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.boolean,received:t.parsedType}),U}return Ee(e.data)}};st.create=e=>new st({typeName:Wt.ZodBoolean,coerce:e?.coerce||!1,...Ne(e)});var ct=class e extends Pe{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==B.date){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.date,received:t.parsedType}),U}if(Number.isNaN(e.data.getTime()))return H(this._getOrReturnCtx(e),{code:V.invalid_date}),U;let t=new we,n;for(let r of this._def.checks)r.kind===`min`?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),H(n,{code:V.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:`date`}),t.dirty()):r.kind===`max`?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),H(n,{code:V.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:`date`}),t.dirty()):ge.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(e,t){return this._addCheck({kind:`min`,value:e.getTime(),message:W.toString(t)})}max(e,t){return this._addCheck({kind:`max`,value:e.getTime(),message:W.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e==null?null:new Date(e)}get maxDate(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e==null?null:new Date(e)}};ct.create=e=>new ct({checks:[],coerce:e?.coerce||!1,typeName:Wt.ZodDate,...Ne(e)});var lt=class extends Pe{_parse(e){if(this._getType(e)!==B.symbol){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.symbol,received:t.parsedType}),U}return Ee(e.data)}};lt.create=e=>new lt({typeName:Wt.ZodSymbol,...Ne(e)});var ut=class extends Pe{_parse(e){if(this._getType(e)!==B.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.undefined,received:t.parsedType}),U}return Ee(e.data)}};ut.create=e=>new ut({typeName:Wt.ZodUndefined,...Ne(e)});var dt=class extends Pe{_parse(e){if(this._getType(e)!==B.null){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.null,received:t.parsedType}),U}return Ee(e.data)}};dt.create=e=>new dt({typeName:Wt.ZodNull,...Ne(e)});var ft=class extends Pe{constructor(){super(...arguments),this._any=!0}_parse(e){return Ee(e.data)}};ft.create=e=>new ft({typeName:Wt.ZodAny,...Ne(e)});var pt=class extends Pe{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Ee(e.data)}};pt.create=e=>new pt({typeName:Wt.ZodUnknown,...Ne(e)});var mt=class extends Pe{_parse(e){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.never,received:t.parsedType}),U}};mt.create=e=>new mt({typeName:Wt.ZodNever,...Ne(e)});var ht=class extends Pe{_parse(e){if(this._getType(e)!==B.undefined){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.void,received:t.parsedType}),U}return Ee(e.data)}};ht.create=e=>new ht({typeName:Wt.ZodVoid,...Ne(e)});var gt=class e extends Pe{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==B.array)return H(t,{code:V.invalid_type,expected:B.array,received:t.parsedType}),U;if(r.exactLength!==null){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(H(t,{code:e?V.too_big:V.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:`array`,inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(r.minLength!==null&&t.data.length<r.minLength.value&&(H(t,{code:V.too_small,minimum:r.minLength.value,type:`array`,inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),r.maxLength!==null&&t.data.length>r.maxLength.value&&(H(t,{code:V.too_big,maximum:r.maxLength.value,type:`array`,inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new je(t,e,t.path,n)))).then(e=>we.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new je(t,e,t.path,n)));return we.mergeArray(n,i)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:W.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:W.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:W.toString(n)}})}nonempty(e){return this.min(1,e)}};gt.create=(e,t)=>new gt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Wt.ZodArray,...Ne(t)});function _t(e){if(e instanceof vt){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=It.create(_t(r))}return new vt({...e._def,shape:()=>t})}else if(e instanceof gt)return new gt({...e._def,type:_t(e.element)});else if(e instanceof It)return It.create(_t(e.unwrap()));else if(e instanceof Lt)return Lt.create(_t(e.unwrap()));else if(e instanceof wt)return wt.create(e.items.map(e=>_t(e)));else return e}var vt=class e extends Pe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape();return this._cached={shape:e,keys:ge.objectKeys(e)},this._cached}_parse(e){if(this._getType(e)!==B.object){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.object,received:t.parsedType}),U}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof mt&&this._def.unknownKeys===`strip`))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:`valid`,value:e},value:t._parse(new je(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof mt){let e=this._def.unknownKeys;if(e===`passthrough`)for(let e of a)o.push({key:{status:`valid`,value:e},value:{status:`valid`,value:n.data[e]}});else if(e===`strict`)a.length>0&&(H(n,{code:V.unrecognized_keys,keys:a}),t.dirty());else if(e!==`strip`)throw Error(`Internal ZodObject error: invalid unknownKeys value.`)}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:`valid`,value:t},value:e._parse(new je(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>we.mergeObjectSync(t,e)):we.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(t){return W.errToObj,new e({...this._def,unknownKeys:`strict`,...t===void 0?{}:{errorMap:(e,n)=>{let r=this._def.errorMap?.(e,n).message??n.defaultError;return e.code===`unrecognized_keys`?{message:W.errToObj(t).message??r}:{message:r}}}})}strip(){return new e({...this._def,unknownKeys:`strip`})}passthrough(){return new e({...this._def,unknownKeys:`passthrough`})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Wt.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let e of ge.objectKeys(t))t[e]&&this.shape[e]&&(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let e of ge.objectKeys(this.shape))t[e]||(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}deepPartial(){return _t(this)}partial(t){let n={};for(let e of ge.objectKeys(this.shape)){let r=this.shape[e];t&&!t[e]?n[e]=r:n[e]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let e of ge.objectKeys(this.shape))if(t&&!t[e])n[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof It;)t=t._def.innerType;n[e]=t}return new e({...this._def,shape:()=>n})}keyof(){return jt(ge.objectKeys(this.shape))}};vt.create=(e,t)=>new vt({shape:()=>e,unknownKeys:`strip`,catchall:mt.create(),typeName:Wt.ZodObject,...Ne(t)}),vt.strictCreate=(e,t)=>new vt({shape:()=>e,unknownKeys:`strict`,catchall:mt.create(),typeName:Wt.ZodObject,...Ne(t)}),vt.lazycreate=(e,t)=>new vt({shape:e,unknownKeys:`strip`,catchall:mt.create(),typeName:Wt.ZodObject,...Ne(t)});var yt=class extends Pe{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if(t.result.status===`valid`)return t.result;for(let n of e)if(n.result.status===`dirty`)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new ye(e.ctx.common.issues));return H(t,{code:V.invalid_union,unionErrors:n}),U}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e,r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if(a.status===`valid`)return a;a.status===`dirty`&&!e&&(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new ye(e));return H(t,{code:V.invalid_union,unionErrors:i}),U}}get options(){return this._def.options}};yt.create=(e,t)=>new yt({options:e,typeName:Wt.ZodUnion,...Ne(t)});const bt=e=>e instanceof kt?bt(e.schema):e instanceof Ft?bt(e.innerType()):e instanceof At?[e.value]:e instanceof Mt?e.options:e instanceof Nt?ge.objectValues(e.enum):e instanceof Rt?bt(e._def.innerType):e instanceof ut?[void 0]:e instanceof dt?[null]:e instanceof It?[void 0,...bt(e.unwrap())]:e instanceof Lt?[null,...bt(e.unwrap())]:e instanceof Vt||e instanceof Ut?bt(e.unwrap()):e instanceof zt?bt(e._def.innerType):[];var xt=class e extends Pe{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==B.object)return H(t,{code:V.invalid_type,expected:B.object,received:t.parsedType}),U;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(H(t,{code:V.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),U)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let i=new Map;for(let e of n){let n=bt(e.shape[t]);if(!n.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let r of n){if(i.has(r))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(r)}`);i.set(r,e)}}return new e({typeName:Wt.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...Ne(r)})}};function St(e,t){let n=ve(e),r=ve(t);if(e===t)return{valid:!0,data:e};if(n===B.object&&r===B.object){let n=ge.objectKeys(t),r=ge.objectKeys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=St(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}else if(n===B.array&&r===B.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=St(i,a);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}else if(n===B.date&&r===B.date&&+e==+t)return{valid:!0,data:e};else return{valid:!1}}var Ct=class extends Pe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(De(e)||De(r))return U;let i=St(e.value,r.value);return i.valid?((Oe(e)||Oe(r))&&t.dirty(),{status:t.value,value:i.data}):(H(n,{code:V.invalid_intersection_types}),U)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};Ct.create=(e,t,n)=>new Ct({left:e,right:t,typeName:Wt.ZodIntersection,...Ne(n)});var wt=class e extends Pe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==B.array)return H(n,{code:V.invalid_type,expected:B.array,received:n.parsedType}),U;if(n.data.length<this._def.items.length)return H(n,{code:V.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),U;!this._def.rest&&n.data.length>this._def.items.length&&(H(n,{code:V.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new je(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>we.mergeArray(t,e)):we.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};wt.create=(e,t)=>{if(!Array.isArray(e))throw Error(`You must pass an array of schemas to z.tuple([ ... ])`);return new wt({items:e,typeName:Wt.ZodTuple,rest:null,...Ne(t)})};var Tt=class e extends Pe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==B.object)return H(n,{code:V.invalid_type,expected:B.object,received:n.parsedType}),U;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new je(n,e,n.path,e)),value:a._parse(new je(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?we.mergeObjectAsync(t,r):we.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof Pe?new e({keyType:t,valueType:n,typeName:Wt.ZodRecord,...Ne(r)}):new e({keyType:rt.create(),valueType:t,typeName:Wt.ZodRecord,...Ne(n)})}},Et=class extends Pe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==B.map)return H(n,{code:V.invalid_type,expected:B.map,received:n.parsedType}),U;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new je(n,e,n.path,[a,`key`])),value:i._parse(new je(n,t,n.path,[a,`value`]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if(r.status===`aborted`||i.status===`aborted`)return U;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}else{let e=new Map;for(let n of a){let r=n.key,i=n.value;if(r.status===`aborted`||i.status===`aborted`)return U;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}};Et.create=(e,t,n)=>new Et({valueType:t,keyType:e,typeName:Wt.ZodMap,...Ne(n)});var Dt=class e extends Pe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==B.set)return H(n,{code:V.invalid_type,expected:B.set,received:n.parsedType}),U;let r=this._def;r.minSize!==null&&n.data.size<r.minSize.value&&(H(n,{code:V.too_small,minimum:r.minSize.value,type:`set`,inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),r.maxSize!==null&&n.data.size>r.maxSize.value&&(H(n,{code:V.too_big,maximum:r.maxSize.value,type:`set`,inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if(r.status===`aborted`)return U;r.status===`dirty`&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new je(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(t,n){return new e({...this._def,minSize:{value:t,message:W.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:W.toString(n)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};Dt.create=(e,t)=>new Dt({valueType:e,minSize:null,maxSize:null,typeName:Wt.ZodSet,...Ne(t)});var Ot=class e extends Pe{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==B.function)return H(t,{code:V.invalid_type,expected:B.function,received:t.parsedType}),U;function n(e,n){return Ce({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Se(),be].filter(e=>!!e),issueData:{code:V.invalid_arguments,argumentsError:n}})}function r(e,n){return Ce({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Se(),be].filter(e=>!!e),issueData:{code:V.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof Pt){let e=this;return Ee(async function(...t){let o=new ye([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),c=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(c,i).catch(e=>{throw o.addIssue(r(c,e)),o})})}else{let e=this;return Ee(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new ye([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),c=e._def.returns.safeParse(s,i);if(!c.success)throw new ye([r(s,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:wt.create(t).rest(pt.create())})}returns(t){return new e({...this._def,returns:t})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(t,n,r){return new e({args:t||wt.create([]).rest(pt.create()),returns:n||pt.create(),typeName:Wt.ZodFunction,...Ne(r)})}},kt=class extends Pe{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};kt.create=(e,t)=>new kt({getter:e,typeName:Wt.ZodLazy,...Ne(t)});var At=class extends Pe{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return H(t,{received:t.data,code:V.invalid_literal,expected:this._def.value}),U}return{status:`valid`,value:e.data}}get value(){return this._def.value}};At.create=(e,t)=>new At({value:e,typeName:Wt.ZodLiteral,...Ne(t)});function jt(e,t){return new Mt({values:e,typeName:Wt.ZodEnum,...Ne(t)})}var Mt=class e extends Pe{_parse(e){if(typeof e.data!=`string`){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{expected:ge.joinValues(n),received:t.parsedType,code:V.invalid_type}),U}if(this._cache||=new Set(this._def.values),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return H(t,{received:t.data,code:V.invalid_enum_value,options:n}),U}return Ee(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(e=>!t.includes(e)),{...this._def,...n})}};Mt.create=jt;var Nt=class extends Pe{_parse(e){let t=ge.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==B.string&&n.parsedType!==B.number){let e=ge.objectValues(t);return H(n,{expected:ge.joinValues(e),received:n.parsedType,code:V.invalid_type}),U}if(this._cache||=new Set(ge.getValidEnumValues(this._def.values)),!this._cache.has(e.data)){let e=ge.objectValues(t);return H(n,{received:n.data,code:V.invalid_enum_value,options:e}),U}return Ee(e.data)}get enum(){return this._def.values}};Nt.create=(e,t)=>new Nt({values:e,typeName:Wt.ZodNativeEnum,...Ne(t)});var Pt=class extends Pe{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==B.promise&&t.common.async===!1?(H(t,{code:V.invalid_type,expected:B.promise,received:t.parsedType}),U):Ee((t.parsedType===B.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}};Pt.create=(e,t)=>new Pt({type:e,typeName:Wt.ZodPromise,...Ne(t)});var Ft=class extends Pe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Wt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{H(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type===`preprocess`){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if(t.value===`aborted`)return U;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return r.status===`aborted`?U:r.status===`dirty`||t.value===`dirty`?Te(r.value):r});{if(t.value===`aborted`)return U;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return r.status===`aborted`?U:r.status===`dirty`||t.value===`dirty`?Te(r.value):r}}if(r.type===`refinement`){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error(`Async refinement encountered during synchronous parse operation. Use .parseAsync instead.`);return e};if(n.common.async===!1){let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return r.status===`aborted`?U:(r.status===`dirty`&&t.dirty(),e(r.value),{status:t.value,value:r.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>n.status===`aborted`?U:(n.status===`dirty`&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if(r.type===`transform`)if(n.common.async===!1){let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!ke(e))return U;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);return{status:t.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>ke(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):U);ge.assertNever(r)}};Ft.create=(e,t,n)=>new Ft({schema:e,typeName:Wt.ZodEffects,effect:t,...Ne(n)}),Ft.createWithPreprocess=(e,t,n)=>new Ft({schema:t,effect:{type:`preprocess`,transform:e},typeName:Wt.ZodEffects,...Ne(n)});var It=class extends Pe{_parse(e){return this._getType(e)===B.undefined?Ee(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};It.create=(e,t)=>new It({innerType:e,typeName:Wt.ZodOptional,...Ne(t)});var Lt=class extends Pe{_parse(e){return this._getType(e)===B.null?Ee(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Lt.create=(e,t)=>new Lt({innerType:e,typeName:Wt.ZodNullable,...Ne(t)});var Rt=class extends Pe{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===B.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};Rt.create=(e,t)=>new Rt({innerType:e,typeName:Wt.ZodDefault,defaultValue:typeof t.default==`function`?t.default:()=>t.default,...Ne(t)});var zt=class extends Pe{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Ae(r)?r.then(e=>({status:`valid`,value:e.status===`valid`?e.value:this._def.catchValue({get error(){return new ye(n.common.issues)},input:n.data})})):{status:`valid`,value:r.status===`valid`?r.value:this._def.catchValue({get error(){return new ye(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};zt.create=(e,t)=>new zt({innerType:e,typeName:Wt.ZodCatch,catchValue:typeof t.catch==`function`?t.catch:()=>t.catch,...Ne(t)});var Bt=class extends Pe{_parse(e){if(this._getType(e)!==B.nan){let t=this._getOrReturnCtx(e);return H(t,{code:V.invalid_type,expected:B.nan,received:t.parsedType}),U}return{status:`valid`,value:e.data}}};Bt.create=e=>new Bt({typeName:Wt.ZodNaN,...Ne(e)});var Vt=class extends Pe{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},Ht=class e extends Pe{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?U:e.status===`dirty`?(t.dirty(),Te(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?U:e.status===`dirty`?(t.dirty(),{status:`dirty`,value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(t,n){return new e({in:t,out:n,typeName:Wt.ZodPipeline})}},Ut=class extends Pe{_parse(e){let t=this._def.innerType._parse(e),n=e=>(ke(e)&&(e.value=Object.freeze(e.value)),e);return Ae(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}};Ut.create=(e,t)=>new Ut({innerType:e,typeName:Wt.ZodReadonly,...Ne(t)}),vt.lazycreate;var Wt;(function(e){e.ZodString=`ZodString`,e.ZodNumber=`ZodNumber`,e.ZodNaN=`ZodNaN`,e.ZodBigInt=`ZodBigInt`,e.ZodBoolean=`ZodBoolean`,e.ZodDate=`ZodDate`,e.ZodSymbol=`ZodSymbol`,e.ZodUndefined=`ZodUndefined`,e.ZodNull=`ZodNull`,e.ZodAny=`ZodAny`,e.ZodUnknown=`ZodUnknown`,e.ZodNever=`ZodNever`,e.ZodVoid=`ZodVoid`,e.ZodArray=`ZodArray`,e.ZodObject=`ZodObject`,e.ZodUnion=`ZodUnion`,e.ZodDiscriminatedUnion=`ZodDiscriminatedUnion`,e.ZodIntersection=`ZodIntersection`,e.ZodTuple=`ZodTuple`,e.ZodRecord=`ZodRecord`,e.ZodMap=`ZodMap`,e.ZodSet=`ZodSet`,e.ZodFunction=`ZodFunction`,e.ZodLazy=`ZodLazy`,e.ZodLiteral=`ZodLiteral`,e.ZodEnum=`ZodEnum`,e.ZodEffects=`ZodEffects`,e.ZodNativeEnum=`ZodNativeEnum`,e.ZodOptional=`ZodOptional`,e.ZodNullable=`ZodNullable`,e.ZodDefault=`ZodDefault`,e.ZodCatch=`ZodCatch`,e.ZodPromise=`ZodPromise`,e.ZodBranded=`ZodBranded`,e.ZodPipeline=`ZodPipeline`,e.ZodReadonly=`ZodReadonly`})(Wt||={});const K=rt.create,Gt=at.create;Bt.create,ot.create;const Kt=st.create;ct.create,lt.create,ut.create,dt.create,ft.create,pt.create,mt.create,ht.create;const qt=gt.create,Jt=vt.create;vt.strictCreate;const Yt=yt.create,Xt=xt.create;Ct.create,wt.create;const Zt=Tt.create;Et.create,Dt.create,Ot.create,kt.create;const Qt=At.create,$t=Mt.create;Nt.create,Pt.create,Ft.create,It.create,Lt.create,Ft.createWithPreprocess,Ht.create;var en=`11.1.1`;const tn=process.env.REDACT_ERROR_PATHS===`true`;function nn(e,t){if(!tn)return e;if(t&&e.startsWith(t))return e.slice(t.length).replace(/^[/\\]/,``)||`.`;let r=o.homedir();return r&&e.startsWith(r)?`~`+e.slice(r.length):n.basename(e)}const rn={NOT_INITIALIZED:{code:`CONFIG_NOT_INITIALIZED`,message:`Configuration not initialized. Call initialize() and await its completion before calling getServerConfig().`},NO_GITHUB_TOKEN:{code:`CONFIG_NO_GITHUB_TOKEN`,message:`No GitHub token found. Please authenticate with GitHub CLI (gh auth login) or set GITHUB_TOKEN/GH_TOKEN/OCTOCODE_TOKEN environment variable. After setting the token, restart the MCP server to apply changes.`}},an={PROMISES_NOT_ARRAY:{code:`VALIDATION_PROMISES_NOT_ARRAY`,message:`promises must be an array`},TIMEOUT_NOT_POSITIVE:{code:`VALIDATION_TIMEOUT_NOT_POSITIVE`,message:`timeout must be positive`},CONCURRENCY_NOT_POSITIVE:{code:`VALIDATION_CONCURRENCY_NOT_POSITIVE`,message:`concurrency must be positive`},INVALID_PARAMETERS:{code:`VALIDATION_INVALID_PARAMETERS`,message:`Invalid parameters: must be an object`},INVALID_PARAMETER_KEY:{code:`VALIDATION_INVALID_PARAMETER_KEY`,message:e=>`Invalid parameter key: ${e}`},INVALID_NESTED_OBJECT:{code:`VALIDATION_INVALID_NESTED_OBJECT`,message:(e,t)=>`Invalid nested object in parameter ${e}: ${t}`}},on={FETCH_NOT_AVAILABLE:{code:`FETCH_NOT_AVAILABLE`,message:`Global fetch is not available in this environment.`},FETCH_FAILED_AFTER_RETRIES:{code:`FETCH_FAILED_AFTER_RETRIES`,message:(e,t)=>`Failed to fetch after ${e} attempts: ${t}`},FETCH_HTTP_ERROR:{code:`FETCH_HTTP_ERROR`,message:(e,t)=>`Failed to fetch (${e} ${t})`}},sn={INVALID_FORMAT:{code:`TOOL_METADATA_INVALID_FORMAT`,message:`Invalid tool metadata format from remote source.`},INVALID_API_RESPONSE:{code:`TOOL_METADATA_INVALID_API_RESPONSE`,message:`Invalid API response structure`}},cn={PATH_IS_DIRECTORY:{code:`FILE_PATH_IS_DIRECTORY`,message:e=>`Path is a directory. Use ${e} to list directory contents`},FILE_TOO_LARGE:{code:`FILE_TOO_LARGE`,message:(e,t,n)=>`File too large (${e}KB > ${t}KB). Use ${n} to search within the file or use startLine/endLine parameters to get specific sections`},FILE_EMPTY:{code:`FILE_EMPTY`,message:`File is empty - no content to display`},BINARY_FILE:{code:`FILE_BINARY`,message:`Binary file detected. Cannot display as text - download directly from GitHub`},DECODE_FAILED:{code:`FILE_DECODE_FAILED`,message:`Failed to decode file. Encoding may not be supported (expected UTF-8)`},UNSUPPORTED_TYPE:{code:`FILE_UNSUPPORTED_TYPE`,message:e=>`Unsupported file type: ${e}`},MATCH_STRING_NOT_FOUND:{code:`FILE_MATCH_STRING_NOT_FOUND`,message:e=>`Match string "${e}" not found in file. The file may have changed since the search was performed.`}},ln={NOT_FOUND:{code:`REPO_NOT_FOUND`,message:(e,t,n)=>`Repository "${e}/${t}" not found or not accessible: ${n}`},PATH_NOT_FOUND:{code:`REPO_PATH_NOT_FOUND`,message:(e,t,n,r)=>`Path "${e}" not found in repository "${t}/${n}" on branch "${r}"`},PATH_NOT_FOUND_ANY_BRANCH:{code:`REPO_PATH_NOT_FOUND_ANY_BRANCH`,message:(e,t,n)=>`Path "${e}" not found in repository "${t}/${n}" on any common branch`},ACCESS_FAILED:{code:`REPO_ACCESS_FAILED`,message:(e,t,n)=>`Failed to access repository "${e}/${t}": ${n}`},BRANCH_NOT_FOUND:{code:`REPO_BRANCH_NOT_FOUND`,message:e=>`Branch '${e}' not found. Ask user: Do you want to get the file from the default branch instead?`},STRUCTURE_EXPLORATION_FAILED:{code:`REPO_STRUCTURE_EXPLORATION_FAILED`,message:`Failed to explore repository structure`}},un={QUERY_EMPTY:{code:`SEARCH_QUERY_EMPTY`,message:`Search query cannot be empty`},NO_VALID_PARAMETERS:{code:`SEARCH_NO_VALID_PARAMETERS`,message:`No valid search parameters provided`},PR_REQUIRED_PARAMS:{code:`SEARCH_PR_REQUIRED_PARAMS`,message:`Owner, repo, and prNumber are required parameters`},PR_SINGLE_VALUES:{code:`SEARCH_PR_SINGLE_VALUES`,message:`Owner and repo must be single values`},API_REQUEST_FAILED:{code:`SEARCH_API_REQUEST_FAILED`,message:e=>`API request failed: ${e}`},PULL_REQUEST_SEARCH_FAILED:{code:`SEARCH_PR_SEARCH_FAILED`,message:e=>`Pull request search failed: ${e}`},PULL_REQUEST_LIST_FAILED:{code:`SEARCH_PR_LIST_FAILED`,message:e=>`Pull request list failed: ${e}`},PULL_REQUEST_FETCH_FAILED:{code:`SEARCH_PR_FETCH_FAILED`,message:(e,t)=>`Failed to fetch pull request #${e}: ${t}`}},dn={NO_TOOLS_REGISTERED:{code:`STARTUP_NO_TOOLS_REGISTERED`,message:`No tools were successfully registered`},UNCAUGHT_EXCEPTION:{code:`STARTUP_UNCAUGHT_EXCEPTION`,message:e=>`Uncaught exception: ${e}`},UNHANDLED_REJECTION:{code:`STARTUP_UNHANDLED_REJECTION`,message:e=>`Unhandled rejection: ${e}`},STARTUP_FAILED:{code:`STARTUP_FAILED`,message:e=>`Startup failed: ${e}`}},fn={TIMEOUT:{code:`PROMISE_TIMEOUT`,message:(e,t)=>`Promise ${e} timed out after ${t}ms`},NOT_A_FUNCTION:{code:`PROMISE_NOT_A_FUNCTION`,message:e=>`Promise function at index ${e} is not a function`},FUNCTION_UNDEFINED:{code:`PROMISE_FUNCTION_UNDEFINED`,message:`Promise function is undefined`}},pn={EXECUTION_FAILED:{code:`TOOL_EXECUTION_FAILED`,message:(e,t)=>`Tool ${e} execution failed: ${t}`},SECURITY_VALIDATION_FAILED:{code:`TOOL_SECURITY_VALIDATION_FAILED`,message:(e,t)=>`Security validation failed for ${e}: ${t}`}};({...rn,...an,...on,...sn,...cn,...ln,...un,...dn,...fn,...pn});const mn={PATH_VALIDATION_FAILED:`pathValidationFailed`,FILE_ACCESS_FAILED:`fileAccessFailed`,FILE_READ_FAILED:`fileReadFailed`,FILE_TOO_LARGE:`fileTooLarge`,NO_MATCHES:`noMatches`,PATTERN_TOO_BROAD:`patternTooBroad`,PAGINATION_REQUIRED:`paginationRequired`,OUTPUT_TOO_LARGE:`outputTooLarge`,RESPONSE_TOO_LARGE:`responseTooLarge`,COMMAND_NOT_AVAILABLE:`commandNotAvailable`,COMMAND_EXECUTION_FAILED:`commandExecutionFailed`,COMMAND_TIMEOUT:`commandTimeout`,QUERY_EXECUTION_FAILED:`queryExecutionFailed`,TOOL_EXECUTION_FAILED:`toolExecutionFailed`};let hn=function(e){return e.FILE_SYSTEM=`FILE_SYSTEM`,e.VALIDATION=`VALIDATION`,e.SEARCH=`SEARCH`,e.PAGINATION=`PAGINATION`,e.EXECUTION=`EXECUTION`,e}({});const gn={[mn.PATH_VALIDATION_FAILED]:{code:mn.PATH_VALIDATION_FAILED,category:hn.VALIDATION,description:`Path validation failed - invalid or unsafe path`,recoverability:`user-action-required`},[mn.FILE_ACCESS_FAILED]:{code:mn.FILE_ACCESS_FAILED,category:hn.FILE_SYSTEM,description:`Cannot access file - may not exist or lack permissions`,recoverability:`unrecoverable`},[mn.FILE_READ_FAILED]:{code:mn.FILE_READ_FAILED,category:hn.FILE_SYSTEM,description:`Failed to read file contents`,recoverability:`unrecoverable`},[mn.FILE_TOO_LARGE]:{code:mn.FILE_TOO_LARGE,category:hn.FILE_SYSTEM,description:`File exceeds size limits for operation`,recoverability:`user-action-required`},[mn.NO_MATCHES]:{code:mn.NO_MATCHES,category:hn.SEARCH,description:`Search pattern found no matches`,recoverability:`user-action-required`},[mn.PATTERN_TOO_BROAD]:{code:mn.PATTERN_TOO_BROAD,category:hn.SEARCH,description:`Search pattern is too broad and would return too many results`,recoverability:`user-action-required`},[mn.PAGINATION_REQUIRED]:{code:mn.PAGINATION_REQUIRED,category:hn.PAGINATION,description:`Result set too large - pagination required`,recoverability:`user-action-required`},[mn.OUTPUT_TOO_LARGE]:{code:mn.OUTPUT_TOO_LARGE,category:hn.PAGINATION,description:`Output exceeds size limits`,recoverability:`user-action-required`},[mn.RESPONSE_TOO_LARGE]:{code:mn.RESPONSE_TOO_LARGE,category:hn.PAGINATION,description:`Response exceeds maximum allowed size`,recoverability:`user-action-required`},[mn.COMMAND_NOT_AVAILABLE]:{code:mn.COMMAND_NOT_AVAILABLE,category:hn.EXECUTION,description:`Required CLI command is not installed or not in PATH`,recoverability:`user-action-required`},[mn.COMMAND_EXECUTION_FAILED]:{code:mn.COMMAND_EXECUTION_FAILED,category:hn.EXECUTION,description:`System command execution failed`,recoverability:`unrecoverable`},[mn.COMMAND_TIMEOUT]:{code:mn.COMMAND_TIMEOUT,category:hn.EXECUTION,description:`Command execution timed out`,recoverability:`user-action-required`},[mn.QUERY_EXECUTION_FAILED]:{code:mn.QUERY_EXECUTION_FAILED,category:hn.EXECUTION,description:`Query execution failed`,recoverability:`unrecoverable`},[mn.TOOL_EXECUTION_FAILED]:{code:mn.TOOL_EXECUTION_FAILED,category:hn.EXECUTION,description:`Generic tool execution failure`,recoverability:`unrecoverable`}};var _n=class e extends Error{errorCode;category;recoverability;context;constructor(t,n,r,i){let a=gn[t],o=n||a.description;super(o,i?{cause:i}:void 0),this.name=`ToolError`,this.errorCode=t,this.category=a.category,this.recoverability=a.recoverability,this.context=r,i&&i.stack&&(this.stack=`${this.stack}\nCaused by: ${i.stack}`),Object.setPrototypeOf(this,e.prototype)}isRecoverable(){return this.recoverability===`recoverable`}requiresUserAction(){return this.recoverability===`user-action-required`}toJSON(){return{name:this.name,errorCode:this.errorCode,category:this.category,message:this.message,recoverability:this.recoverability,context:this.context,stack:this.stack}}};function vn(e){return e instanceof _n}function yn(e,t=mn.TOOL_EXECUTION_FAILED,n){return vn(e)?e:e instanceof Error?new _n(t,e.message,n,e):new _n(t,String(e),n)}const bn={pathValidationFailed:(e,t,n)=>new _n(mn.PATH_VALIDATION_FAILED,t||`Path validation failed: ${nn(e,n)}`,{path:e}),fileAccessFailed:(e,t,n)=>{let r=nn(e,n),i=`Cannot access file: ${r}`,a=t?.code;return a===`ENOENT`?i=`File not found: ${r}. Verify the path exists using localFindFiles.`:a===`EACCES`?i=`Permission denied: ${r}. Check file permissions.`:a===`EISDIR`?i=`Path is a directory: ${r}. Use localViewStructure instead.`:a===`ENOTDIR`?i=`Invalid path: ${r}. A component of the path is not a directory.`:a===`ENAMETOOLONG`&&(i=`Path too long: ${r}`),new _n(mn.FILE_ACCESS_FAILED,i,{path:e,errorCode:a},t)},fileReadFailed:(e,t,n)=>new _n(mn.FILE_READ_FAILED,`Failed to read file: ${nn(e,n)}`,{path:e},t),fileTooLarge:(e,t,n)=>new _n(mn.FILE_TOO_LARGE,(()=>{let e=e=>Number.isInteger(e)?`${e}KB`:`${e.toFixed(1)}KB`;return`File too large: ${e(t)} (limit: ${e(n)})`})(),{path:e,sizeKB:t,limitKB:n}),noMatches:(e,t)=>new _n(mn.NO_MATCHES,`No matches found for pattern: ${e}`,{pattern:e,...t}),patternTooBroad:(e,t)=>new _n(mn.PATTERN_TOO_BROAD,`Pattern too broad: ${t} matches found`,{pattern:e,matchCount:t}),paginationRequired:e=>new _n(mn.PAGINATION_REQUIRED,`Pagination required: ${e} characters`,{itemCount:e}),outputTooLarge:(e,t)=>new _n(mn.OUTPUT_TOO_LARGE,`Output too large: ${e} (limit: ${t})`,{size:e,limit:t}),responseTooLarge:(e,t)=>new _n(mn.RESPONSE_TOO_LARGE,`Response too large: ${e} tokens (limit: ${t})`,{tokens:e,limit:t}),commandNotAvailable:(e,t)=>new _n(mn.COMMAND_NOT_AVAILABLE,`Command '${e}' is not available. ${t||`Please install it and ensure it is in your PATH.`}`,{command:e,installHint:t}),commandExecutionFailed:(e,t,n)=>new _n(mn.COMMAND_EXECUTION_FAILED,n?`Command '${e}' failed: ${n}`:`Command execution failed: ${e}`,{command:e,stderr:n},t),commandTimeout:(e,t)=>new _n(mn.COMMAND_TIMEOUT,`Command '${e}' timed out after ${t}ms. Try a narrower search path or add filters.`,{command:e,timeoutMs:t}),queryExecutionFailed:(e,t)=>new _n(mn.QUERY_EXECUTION_FAILED,`Query execution failed`,{queryId:e},t),toolExecutionFailed:(e,t)=>new _n(mn.TOOL_EXECUTION_FAILED,`Tool execution failed: ${e}`,{toolName:e},t)};bn.commandNotAvailable,bn.commandExecutionFailed,bn.commandTimeout,bn.queryExecutionFailed,bn.toolExecutionFailed;function xn(e,t){return function(){return e.apply(t,arguments)}}const{toString:Sn}=Object.prototype,{getPrototypeOf:Cn}=Object,{iterator:wn,toStringTag:Tn}=Symbol,En=(e=>t=>{let n=Sn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Dn=e=>(e=e.toLowerCase(),t=>En(t)===e),On=e=>t=>typeof t===e,{isArray:kn}=Array,An=On(`undefined`);function jn(e){return e!==null&&!An(e)&&e.constructor!==null&&!An(e.constructor)&&Fn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Mn=Dn(`ArrayBuffer`);function Nn(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Mn(e.buffer),t}const Pn=On(`string`),Fn=On(`function`),In=On(`number`),Ln=e=>typeof e==`object`&&!!e,Rn=e=>e===!0||e===!1,zn=e=>{if(En(e)!==`object`)return!1;let t=Cn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Tn in e)&&!(wn in e)},Bn=e=>{if(!Ln(e)||jn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Vn=Dn(`Date`),Hn=Dn(`File`),Un=Dn(`Blob`),Wn=Dn(`FileList`),Gn=e=>Ln(e)&&Fn(e.pipe),Kn=e=>{let t;return e&&(typeof FormData==`function`&&e instanceof FormData||Fn(e.append)&&((t=En(e))===`formdata`||t===`object`&&Fn(e.toString)&&e.toString()===`[object FormData]`))},qn=Dn(`URLSearchParams`),[Jn,Yn,Xn,Zn]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(Dn),Qn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function $n(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),kn(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(jn(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function er(e,t){if(jn(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const tr=(()=>typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global)(),nr=e=>!An(e)&&e!==tr;function rr(){let{caseless:e,skipUndefined:t}=nr(this)&&this||{},n={},r=(r,i)=>{let a=e&&er(n,i)||i;zn(n[a])&&zn(r)?n[a]=rr(n[a],r):zn(r)?n[a]=rr({},r):kn(r)?n[a]=r.slice():(!t||!An(r))&&(n[a]=r)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&$n(arguments[e],r);return n}const ir=(e,t,n,{allOwnKeys:r}={})=>($n(t,(t,r)=>{n&&Fn(t)?e[r]=xn(t,n):e[r]=t},{allOwnKeys:r}),e),ar=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),or=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,`super`,{value:t.prototype}),n&&Object.assign(e.prototype,n)},sr=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Cn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},cr=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},lr=e=>{if(!e)return null;if(kn(e))return e;let t=e.length;if(!In(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},ur=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&Cn(Uint8Array)),dr=(e,t)=>{let n=(e&&e[wn]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},fr=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},pr=Dn(`HTMLFormElement`),mr=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),hr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gr=Dn(`RegExp`),_r=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};$n(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},vr=e=>{_r(e,(t,n)=>{if(Fn(e)&&[`arguments`,`caller`,`callee`].indexOf(n)!==-1)return!1;let r=e[n];if(Fn(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},yr=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return kn(e)?r(e):r(String(e).split(t)),n},br=()=>{},xr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Sr(e){return!!(e&&Fn(e.append)&&e[Tn]===`FormData`&&e[wn])}const Cr=e=>{let t=Array(10),n=(e,r)=>{if(Ln(e)){if(t.indexOf(e)>=0)return;if(jn(e))return e;if(!(`toJSON`in e)){t[r]=e;let i=kn(e)?[]:{};return $n(e,(e,t)=>{let a=n(e,r+1);!An(a)&&(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},wr=Dn(`AsyncFunction`),Tr=e=>e&&(Ln(e)||Fn(e))&&Fn(e.then)&&Fn(e.catch),Er=((e,t)=>e?setImmediate:t?((e,t)=>(tr.addEventListener(`message`,({source:n,data:r})=>{n===tr&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),tr.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,Fn(tr.postMessage));var q={isArray:kn,isArrayBuffer:Mn,isBuffer:jn,isFormData:Kn,isArrayBufferView:Nn,isString:Pn,isNumber:In,isBoolean:Rn,isObject:Ln,isPlainObject:zn,isEmptyObject:Bn,isReadableStream:Jn,isRequest:Yn,isResponse:Xn,isHeaders:Zn,isUndefined:An,isDate:Vn,isFile:Hn,isBlob:Un,isRegExp:gr,isFunction:Fn,isStream:Gn,isURLSearchParams:qn,isTypedArray:ur,isFileList:Wn,forEach:$n,merge:rr,extend:ir,trim:Qn,stripBOM:ar,inherits:or,toFlatObject:sr,kindOf:En,kindOfTest:Dn,endsWith:cr,toArray:lr,forEachEntry:dr,matchAll:fr,isHTMLForm:pr,hasOwnProperty:hr,hasOwnProp:hr,reduceDescriptors:_r,freezeMethods:vr,toObjectSet:yr,toCamelCase:mr,noop:br,toFiniteNumber:xr,findKey:er,global:tr,isContextDefined:nr,isSpecCompliantForm:Sr,toJSONObject:Cr,isAsyncFn:wr,isThenable:Tr,setImmediate:Er,asap:typeof queueMicrotask<`u`?queueMicrotask.bind(tr):typeof process<`u`&&process.nextTick||Er,isIterable:e=>e!=null&&Fn(e[wn])};function Dr(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name=`AxiosError`,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}q.inherits(Dr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const Or=Dr.prototype,kr={};[`ERR_BAD_OPTION_VALUE`,`ERR_BAD_OPTION`,`ECONNABORTED`,`ETIMEDOUT`,`ERR_NETWORK`,`ERR_FR_TOO_MANY_REDIRECTS`,`ERR_DEPRECATED`,`ERR_BAD_RESPONSE`,`ERR_BAD_REQUEST`,`ERR_CANCELED`,`ERR_NOT_SUPPORT`,`ERR_INVALID_URL`].forEach(e=>{kr[e]={value:e}}),Object.defineProperties(Dr,kr),Object.defineProperty(Or,`isAxiosError`,{value:!0}),Dr.from=(e,t,n,r,i,a)=>{let o=Object.create(Or);q.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>e!==`isAxiosError`);let s=e&&e.message?e.message:`Error`,c=t==null&&e?e.code:t;return Dr.call(o,s,c,n,r,i),e&&o.cause==null&&Object.defineProperty(o,`cause`,{value:e,configurable:!0}),o.name=e&&e.name||`Error`,a&&Object.assign(o,a),o};var Ar=Dr,jr=I(((e,t)=>{var n=R(`stream`).Stream,r=R(`util`);t.exports=i;function i(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}r.inherits(i,n),i.create=function(e,t){var n=new this;for(var r in t||={},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(i.prototype,`readable`,{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},i.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)},i.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`,Error(e))}}})),Mr=I(((e,t)=>{var n=R(`util`),r=R(`stream`).Stream,i=jr();t.exports=a;function a(){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}n.inherits(a,r),a.create=function(e){var t=new this;for(var n in e||={},e)t[n]=e[n];return t},a.isStreamLike=function(e){return typeof e!=`function`&&typeof e!=`string`&&typeof e!=`boolean`&&typeof e!=`number`&&!Buffer.isBuffer(e)},a.prototype.append=function(e){if(a.isStreamLike(e)){if(!(e instanceof i)){var t=i.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(`data`,this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},a.prototype.pipe=function(e,t){return r.prototype.pipe.call(this,e,t),this.resume(),e},a.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}},a.prototype._realGetNext=function(){var e=this._streams.shift();if(e===void 0){this.end();return}if(typeof e!=`function`){this._pipeNext(e);return}e(function(e){a.isStreamLike(e)&&(e.on(`data`,this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},a.prototype._pipeNext=function(e){if(this._currentStream=e,a.isStreamLike(e)){e.on(`end`,this._getNext.bind(this)),e.pipe(this,{end:!1});return}var t=e;this.write(t),this._getNext()},a.prototype._handleErrors=function(e){var t=this;e.on(`error`,function(e){t._emitError(e)})},a.prototype.write=function(e){this.emit(`data`,e)},a.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause==`function`&&this._currentStream.pause(),this.emit(`pause`))},a.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`)},a.prototype.end=function(){this._reset(),this.emit(`end`)},a.prototype.destroy=function(){this._reset(),this.emit(`close`)},a.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},a.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=`DelayedStream#maxDataSize of `+this.maxDataSize+` bytes exceeded.`;this._emitError(Error(e))}},a.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)},a.prototype._emitError=function(e){this._reset(),this.emit(`error`,e)}})),Nr=I(((e,t)=>{t.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/city+json":{source:`iana`,compressible:!0},"application/clr":{source:`iana`},"application/clue+xml":{source:`iana`,compressible:!0},"application/clue_info+xml":{source:`iana`,compressible:!0},"application/cms":{source:`iana`},"application/cnrp+xml":{source:`iana`,compressible:!0},"application/coap-group+json":{source:`iana`,compressible:!0},"application/coap-payload":{source:`iana`},"application/commonground":{source:`iana`},"application/conference-info+xml":{source:`iana`,compressible:!0},"application/cose":{source:`iana`},"application/cose-key":{source:`iana`},"application/cose-key-set":{source:`iana`},"application/cpl+xml":{source:`iana`,compressible:!0,extensions:[`cpl`]},"application/csrattrs":{source:`iana`},"application/csta+xml":{source:`iana`,compressible:!0},"application/cstadata+xml":{source:`iana`,compressible:!0},"application/csvm+json":{source:`iana`,compressible:!0},"application/cu-seeme":{source:`apache`,extensions:[`cu`]},"application/cwt":{source:`iana`},"application/cybercash":{source:`iana`},"application/dart":{compressible:!0},"application/dash+xml":{source:`iana`,compressible:!0,extensions:[`mpd`]},"application/dash-patch+xml":{source:`iana`,compressible:!0,extensions:[`mpp`]},"application/dashdelta":{source:`iana`},"application/davmount+xml":{source:`iana`,compressible:!0,extensions:[`davmount`]},"application/dca-rft":{source:`iana`},"application/dcd":{source:`iana`},"application/dec-dx":{source:`iana`},"application/dialog-info+xml":{source:`iana`,compressible:!0},"application/dicom":{source:`iana`},"application/dicom+json":{source:`iana`,compressible:!0},"application/dicom+xml":{source:`iana`,compressible:!0},"application/dii":{source:`iana`},"application/dit":{source:`iana`},"application/dns":{source:`iana`},"application/dns+json":{source:`iana`,compressible:!0},"application/dns-message":{source:`iana`},"application/docbook+xml":{source:`apache`,compressible:!0,extensions:[`dbk`]},"application/dots+cbor":{source:`iana`},"application/dskpp+xml":{source:`iana`,compressible:!0},"application/dssc+der":{source:`iana`,extensions:[`dssc`]},"application/dssc+xml":{source:`iana`,compressible:!0,extensions:[`xdssc`]},"application/dvcs":{source:`iana`},"application/ecmascript":{source:`iana`,compressible:!0,extensions:[`es`,`ecma`]},"application/edi-consent":{source:`iana`},"application/edi-x12":{source:`iana`,compressible:!1},"application/edifact":{source:`iana`,compressible:!1},"application/efi":{source:`iana`},"application/elm+json":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/elm+xml":{source:`iana`,compressible:!0},"application/emergencycalldata.cap+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/emergencycalldata.comment+xml":{source:`iana`,compressible:!0},"application/emergencycalldata.control+xml":{source:`iana`,compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:`iana`,compressible:!0},"application/emergencycalldata.ecall.msd":{source:`iana`},"application/emergencycalldata.providerinfo+xml":{source:`iana`,compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:`iana`,compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:`iana`,compressible:!0},"application/emergencycalldata.veds+xml":{source:`iana`,compressible:!0},"application/emma+xml":{source:`iana`,compressible:!0,extensions:[`emma`]},"application/emotionml+xml":{source:`iana`,compressible:!0,extensions:[`emotionml`]},"application/encaprtp":{source:`iana`},"application/epp+xml":{source:`iana`,compressible:!0},"application/epub+zip":{source:`iana`,compressible:!1,extensions:[`epub`]},"application/eshop":{source:`iana`},"application/exi":{source:`iana`,extensions:[`exi`]},"application/expect-ct-report+json":{source:`iana`,compressible:!0},"application/express":{source:`iana`,extensions:[`exp`]},"application/fastinfoset":{source:`iana`},"application/fastsoap":{source:`iana`},"application/fdt+xml":{source:`iana`,compressible:!0,extensions:[`fdt`]},"application/fhir+json":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/fhir+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:`iana`},"application/flexfec":{source:`iana`},"application/font-sfnt":{source:`iana`},"application/font-tdpfr":{source:`iana`,extensions:[`pfr`]},"application/font-woff":{source:`iana`,compressible:!1},"application/framework-attributes+xml":{source:`iana`,compressible:!0},"application/geo+json":{source:`iana`,compressible:!0,extensions:[`geojson`]},"application/geo+json-seq":{source:`iana`},"application/geopackage+sqlite3":{source:`iana`},"application/geoxacml+xml":{source:`iana`,compressible:!0},"application/gltf-buffer":{source:`iana`},"application/gml+xml":{source:`iana`,compressible:!0,extensions:[`gml`]},"application/gpx+xml":{source:`apache`,compressible:!0,extensions:[`gpx`]},"application/gxf":{source:`apache`,extensions:[`gxf`]},"application/gzip":{source:`iana`,compressible:!1,extensions:[`gz`]},"application/h224":{source:`iana`},"application/held+xml":{source:`iana`,compressible:!0},"application/hjson":{extensions:[`hjson`]},"application/http":{source:`iana`},"application/hyperstudio":{source:`iana`,extensions:[`stk`]},"application/ibe-key-request+xml":{source:`iana`,compressible:!0},"application/ibe-pkg-reply+xml":{source:`iana`,compressible:!0},"application/ibe-pp-data":{source:`iana`},"application/iges":{source:`iana`},"application/im-iscomposing+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/index":{source:`iana`},"application/index.cmd":{source:`iana`},"application/index.obj":{source:`iana`},"application/index.response":{source:`iana`},"application/index.vnd":{source:`iana`},"application/inkml+xml":{source:`iana`,compressible:!0,extensions:[`ink`,`inkml`]},"application/iotp":{source:`iana`},"application/ipfix":{source:`iana`,extensions:[`ipfix`]},"application/ipp":{source:`iana`},"application/isup":{source:`iana`},"application/its+xml":{source:`iana`,compressible:!0,extensions:[`its`]},"application/java-archive":{source:`apache`,compressible:!1,extensions:[`jar`,`war`,`ear`]},"application/java-serialized-object":{source:`apache`,compressible:!1,extensions:[`ser`]},"application/java-vm":{source:`apache`,compressible:!1,extensions:[`class`]},"application/javascript":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`js`,`mjs`]},"application/jf2feed+json":{source:`iana`,compressible:!0},"application/jose":{source:`iana`},"application/jose+json":{source:`iana`,compressible:!0},"application/jrd+json":{source:`iana`,compressible:!0},"application/jscalendar+json":{source:`iana`,compressible:!0},"application/json":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`json`,`map`]},"application/json-patch+json":{source:`iana`,compressible:!0},"application/json-seq":{source:`iana`},"application/json5":{extensions:[`json5`]},"application/jsonml+json":{source:`apache`,compressible:!0,extensions:[`jsonml`]},"application/jwk+json":{source:`iana`,compressible:!0},"application/jwk-set+json":{source:`iana`,compressible:!0},"application/jwt":{source:`iana`},"application/kpml-request+xml":{source:`iana`,compressible:!0},"application/kpml-response+xml":{source:`iana`,compressible:!0},"application/ld+json":{source:`iana`,compressible:!0,extensions:[`jsonld`]},"application/lgr+xml":{source:`iana`,compressible:!0,extensions:[`lgr`]},"application/link-format":{source:`iana`},"application/load-control+xml":{source:`iana`,compressible:!0},"application/lost+xml":{source:`iana`,compressible:!0,extensions:[`lostxml`]},"application/lostsync+xml":{source:`iana`,compressible:!0},"application/lpf+zip":{source:`iana`,compressible:!1},"application/lxf":{source:`iana`},"application/mac-binhex40":{source:`iana`,extensions:[`hqx`]},"application/mac-compactpro":{source:`apache`,extensions:[`cpt`]},"application/macwriteii":{source:`iana`},"application/mads+xml":{source:`iana`,compressible:!0,extensions:[`mads`]},"application/manifest+json":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`webmanifest`]},"application/marc":{source:`iana`,extensions:[`mrc`]},"application/marcxml+xml":{source:`iana`,compressible:!0,extensions:[`mrcx`]},"application/mathematica":{source:`iana`,extensions:[`ma`,`nb`,`mb`]},"application/mathml+xml":{source:`iana`,compressible:!0,extensions:[`mathml`]},"application/mathml-content+xml":{source:`iana`,compressible:!0},"application/mathml-presentation+xml":{source:`iana`,compressible:!0},"application/mbms-associated-procedure-description+xml":{source:`iana`,compressible:!0},"application/mbms-deregister+xml":{source:`iana`,compressible:!0},"application/mbms-envelope+xml":{source:`iana`,compressible:!0},"application/mbms-msk+xml":{source:`iana`,compressible:!0},"application/mbms-msk-response+xml":{source:`iana`,compressible:!0},"application/mbms-protection-description+xml":{source:`iana`,compressible:!0},"application/mbms-reception-report+xml":{source:`iana`,compressible:!0},"application/mbms-register+xml":{source:`iana`,compressible:!0},"application/mbms-register-response+xml":{source:`iana`,compressible:!0},"application/mbms-schedule+xml":{source:`iana`,compressible:!0},"application/mbms-user-service-description+xml":{source:`iana`,compressible:!0},"application/mbox":{source:`iana`,extensions:[`mbox`]},"application/media-policy-dataset+xml":{source:`iana`,compressible:!0,extensions:[`mpf`]},"application/media_control+xml":{source:`iana`,compressible:!0},"application/mediaservercontrol+xml":{source:`iana`,compressible:!0,extensions:[`mscml`]},"application/merge-patch+json":{source:`iana`,compressible:!0},"application/metalink+xml":{source:`apache`,compressible:!0,extensions:[`metalink`]},"application/metalink4+xml":{source:`iana`,compressible:!0,extensions:[`meta4`]},"application/mets+xml":{source:`iana`,compressible:!0,extensions:[`mets`]},"application/mf4":{source:`iana`},"application/mikey":{source:`iana`},"application/mipc":{source:`iana`},"application/missing-blocks+cbor-seq":{source:`iana`},"application/mmt-aei+xml":{source:`iana`,compressible:!0,extensions:[`maei`]},"application/mmt-usd+xml":{source:`iana`,compressible:!0,extensions:[`musd`]},"application/mods+xml":{source:`iana`,compressible:!0,extensions:[`mods`]},"application/moss-keys":{source:`iana`},"application/moss-signature":{source:`iana`},"application/mosskey-data":{source:`iana`},"application/mosskey-request":{source:`iana`},"application/mp21":{source:`iana`,extensions:[`m21`,`mp21`]},"application/mp4":{source:`iana`,extensions:[`mp4s`,`m4p`]},"application/mpeg4-generic":{source:`iana`},"application/mpeg4-iod":{source:`iana`},"application/mpeg4-iod-xmt":{source:`iana`},"application/mrb-consumer+xml":{source:`iana`,compressible:!0},"application/mrb-publish+xml":{source:`iana`,compressible:!0},"application/msc-ivr+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/msc-mixer+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/msword":{source:`iana`,compressible:!1,extensions:[`doc`,`dot`]},"application/mud+json":{source:`iana`,compressible:!0},"application/multipart-core":{source:`iana`},"application/mxf":{source:`iana`,extensions:[`mxf`]},"application/n-quads":{source:`iana`,extensions:[`nq`]},"application/n-triples":{source:`iana`,extensions:[`nt`]},"application/nasdata":{source:`iana`},"application/news-checkgroups":{source:`iana`,charset:`US-ASCII`},"application/news-groupinfo":{source:`iana`,charset:`US-ASCII`},"application/news-transmission":{source:`iana`},"application/nlsml+xml":{source:`iana`,compressible:!0},"application/node":{source:`iana`,extensions:[`cjs`]},"application/nss":{source:`iana`},"application/oauth-authz-req+jwt":{source:`iana`},"application/oblivious-dns-message":{source:`iana`},"application/ocsp-request":{source:`iana`},"application/ocsp-response":{source:`iana`},"application/octet-stream":{source:`iana`,compressible:!1,extensions:[`bin`,`dms`,`lrf`,`mar`,`so`,`dist`,`distz`,`pkg`,`bpk`,`dump`,`elc`,`deploy`,`exe`,`dll`,`deb`,`dmg`,`iso`,`img`,`msi`,`msp`,`msm`,`buffer`]},"application/oda":{source:`iana`,extensions:[`oda`]},"application/odm+xml":{source:`iana`,compressible:!0},"application/odx":{source:`iana`},"application/oebps-package+xml":{source:`iana`,compressible:!0,extensions:[`opf`]},"application/ogg":{source:`iana`,compressible:!1,extensions:[`ogx`]},"application/omdoc+xml":{source:`apache`,compressible:!0,extensions:[`omdoc`]},"application/onenote":{source:`apache`,extensions:[`onetoc`,`onetoc2`,`onetmp`,`onepkg`]},"application/opc-nodeset+xml":{source:`iana`,compressible:!0},"application/oscore":{source:`iana`},"application/oxps":{source:`iana`,extensions:[`oxps`]},"application/p21":{source:`iana`},"application/p21+zip":{source:`iana`,compressible:!1},"application/p2p-overlay+xml":{source:`iana`,compressible:!0,extensions:[`relo`]},"application/parityfec":{source:`iana`},"application/passport":{source:`iana`},"application/patch-ops-error+xml":{source:`iana`,compressible:!0,extensions:[`xer`]},"application/pdf":{source:`iana`,compressible:!1,extensions:[`pdf`]},"application/pdx":{source:`iana`},"application/pem-certificate-chain":{source:`iana`},"application/pgp-encrypted":{source:`iana`,compressible:!1,extensions:[`pgp`]},"application/pgp-keys":{source:`iana`,extensions:[`asc`]},"application/pgp-signature":{source:`iana`,extensions:[`asc`,`sig`]},"application/pics-rules":{source:`apache`,extensions:[`prf`]},"application/pidf+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/pidf-diff+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/pkcs10":{source:`iana`,extensions:[`p10`]},"application/pkcs12":{source:`iana`},"application/pkcs7-mime":{source:`iana`,extensions:[`p7m`,`p7c`]},"application/pkcs7-signature":{source:`iana`,extensions:[`p7s`]},"application/pkcs8":{source:`iana`,extensions:[`p8`]},"application/pkcs8-encrypted":{source:`iana`},"application/pkix-attr-cert":{source:`iana`,extensions:[`ac`]},"application/pkix-cert":{source:`iana`,extensions:[`cer`]},"application/pkix-crl":{source:`iana`,extensions:[`crl`]},"application/pkix-pkipath":{source:`iana`,extensions:[`pkipath`]},"application/pkixcmp":{source:`iana`,extensions:[`pki`]},"application/pls+xml":{source:`iana`,compressible:!0,extensions:[`pls`]},"application/poc-settings+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/postscript":{source:`iana`,compressible:!0,extensions:[`ai`,`eps`,`ps`]},"application/ppsp-tracker+json":{source:`iana`,compressible:!0},"application/problem+json":{source:`iana`,compressible:!0},"application/problem+xml":{source:`iana`,compressible:!0},"application/provenance+xml":{source:`iana`,compressible:!0,extensions:[`provx`]},"application/prs.alvestrand.titrax-sheet":{source:`iana`},"application/prs.cww":{source:`iana`,extensions:[`cww`]},"application/prs.cyn":{source:`iana`,charset:`7-BIT`},"application/prs.hpub+zip":{source:`iana`,compressible:!1},"application/prs.nprend":{source:`iana`},"application/prs.plucker":{source:`iana`},"application/prs.rdf-xml-crypt":{source:`iana`},"application/prs.xsf+xml":{source:`iana`,compressible:!0},"application/pskc+xml":{source:`iana`,compressible:!0,extensions:[`pskcxml`]},"application/pvd+json":{source:`iana`,compressible:!0},"application/qsig":{source:`iana`},"application/raml+yaml":{compressible:!0,extensions:[`raml`]},"application/raptorfec":{source:`iana`},"application/rdap+json":{source:`iana`,compressible:!0},"application/rdf+xml":{source:`iana`,compressible:!0,extensions:[`rdf`,`owl`]},"application/reginfo+xml":{source:`iana`,compressible:!0,extensions:[`rif`]},"application/relax-ng-compact-syntax":{source:`iana`,extensions:[`rnc`]},"application/remote-printing":{source:`iana`},"application/reputon+json":{source:`iana`,compressible:!0},"application/resource-lists+xml":{source:`iana`,compressible:!0,extensions:[`rl`]},"application/resource-lists-diff+xml":{source:`iana`,compressible:!0,extensions:[`rld`]},"application/rfc+xml":{source:`iana`,compressible:!0},"application/riscos":{source:`iana`},"application/rlmi+xml":{source:`iana`,compressible:!0},"application/rls-services+xml":{source:`iana`,compressible:!0,extensions:[`rs`]},"application/route-apd+xml":{source:`iana`,compressible:!0,extensions:[`rapd`]},"application/route-s-tsid+xml":{source:`iana`,compressible:!0,extensions:[`sls`]},"application/route-usd+xml":{source:`iana`,compressible:!0,extensions:[`rusd`]},"application/rpki-ghostbusters":{source:`iana`,extensions:[`gbr`]},"application/rpki-manifest":{source:`iana`,extensions:[`mft`]},"application/rpki-publication":{source:`iana`},"application/rpki-roa":{source:`iana`,extensions:[`roa`]},"application/rpki-updown":{source:`iana`},"application/rsd+xml":{source:`apache`,compressible:!0,extensions:[`rsd`]},"application/rss+xml":{source:`apache`,compressible:!0,extensions:[`rss`]},"application/rtf":{source:`iana`,compressible:!0,extensions:[`rtf`]},"application/rtploopback":{source:`iana`},"application/rtx":{source:`iana`},"application/samlassertion+xml":{source:`iana`,compressible:!0},"application/samlmetadata+xml":{source:`iana`,compressible:!0},"application/sarif+json":{source:`iana`,compressible:!0},"application/sarif-external-properties+json":{source:`iana`,compressible:!0},"application/sbe":{source:`iana`},"application/sbml+xml":{source:`iana`,compressible:!0,extensions:[`sbml`]},"application/scaip+xml":{source:`iana`,compressible:!0},"application/scim+json":{source:`iana`,compressible:!0},"application/scvp-cv-request":{source:`iana`,extensions:[`scq`]},"application/scvp-cv-response":{source:`iana`,extensions:[`scs`]},"application/scvp-vp-request":{source:`iana`,extensions:[`spq`]},"application/scvp-vp-response":{source:`iana`,extensions:[`spp`]},"application/sdp":{source:`iana`,extensions:[`sdp`]},"application/secevent+jwt":{source:`iana`},"application/senml+cbor":{source:`iana`},"application/senml+json":{source:`iana`,compressible:!0},"application/senml+xml":{source:`iana`,compressible:!0,extensions:[`senmlx`]},"application/senml-etch+cbor":{source:`iana`},"application/senml-etch+json":{source:`iana`,compressible:!0},"application/senml-exi":{source:`iana`},"application/sensml+cbor":{source:`iana`},"application/sensml+json":{source:`iana`,compressible:!0},"application/sensml+xml":{source:`iana`,compressible:!0,extensions:[`sensmlx`]},"application/sensml-exi":{source:`iana`},"application/sep+xml":{source:`iana`,compressible:!0},"application/sep-exi":{source:`iana`},"application/session-info":{source:`iana`},"application/set-payment":{source:`iana`},"application/set-payment-initiation":{source:`iana`,extensions:[`setpay`]},"application/set-registration":{source:`iana`},"application/set-registration-initiation":{source:`iana`,extensions:[`setreg`]},"application/sgml":{source:`iana`},"application/sgml-open-catalog":{source:`iana`},"application/shf+xml":{source:`iana`,compressible:!0,extensions:[`shf`]},"application/sieve":{source:`iana`,extensions:[`siv`,`sieve`]},"application/simple-filter+xml":{source:`iana`,compressible:!0},"application/simple-message-summary":{source:`iana`},"application/simplesymbolcontainer":{source:`iana`},"application/sipc":{source:`iana`},"application/slate":{source:`iana`},"application/smil":{source:`iana`},"application/smil+xml":{source:`iana`,compressible:!0,extensions:[`smi`,`smil`]},"application/smpte336m":{source:`iana`},"application/soap+fastinfoset":{source:`iana`},"application/soap+xml":{source:`iana`,compressible:!0},"application/sparql-query":{source:`iana`,extensions:[`rq`]},"application/sparql-results+xml":{source:`iana`,compressible:!0,extensions:[`srx`]},"application/spdx+json":{source:`iana`,compressible:!0},"application/spirits-event+xml":{source:`iana`,compressible:!0},"application/sql":{source:`iana`},"application/srgs":{source:`iana`,extensions:[`gram`]},"application/srgs+xml":{source:`iana`,compressible:!0,extensions:[`grxml`]},"application/sru+xml":{source:`iana`,compressible:!0,extensions:[`sru`]},"application/ssdl+xml":{source:`apache`,compressible:!0,extensions:[`ssdl`]},"application/ssml+xml":{source:`iana`,compressible:!0,extensions:[`ssml`]},"application/stix+json":{source:`iana`,compressible:!0},"application/swid+xml":{source:`iana`,compressible:!0,extensions:[`swidtag`]},"application/tamp-apex-update":{source:`iana`},"application/tamp-apex-update-confirm":{source:`iana`},"application/tamp-community-update":{source:`iana`},"application/tamp-community-update-confirm":{source:`iana`},"application/tamp-error":{source:`iana`},"application/tamp-sequence-adjust":{source:`iana`},"application/tamp-sequence-adjust-confirm":{source:`iana`},"application/tamp-status-query":{source:`iana`},"application/tamp-status-response":{source:`iana`},"application/tamp-update":{source:`iana`},"application/tamp-update-confirm":{source:`iana`},"application/tar":{compressible:!0},"application/taxii+json":{source:`iana`,compressible:!0},"application/td+json":{source:`iana`,compressible:!0},"application/tei+xml":{source:`iana`,compressible:!0,extensions:[`tei`,`teicorpus`]},"application/tetra_isi":{source:`iana`},"application/thraud+xml":{source:`iana`,compressible:!0,extensions:[`tfi`]},"application/timestamp-query":{source:`iana`},"application/timestamp-reply":{source:`iana`},"application/timestamped-data":{source:`iana`,extensions:[`tsd`]},"application/tlsrpt+gzip":{source:`iana`},"application/tlsrpt+json":{source:`iana`,compressible:!0},"application/tnauthlist":{source:`iana`},"application/token-introspection+jwt":{source:`iana`},"application/toml":{compressible:!0,extensions:[`toml`]},"application/trickle-ice-sdpfrag":{source:`iana`},"application/trig":{source:`iana`,extensions:[`trig`]},"application/ttml+xml":{source:`iana`,compressible:!0,extensions:[`ttml`]},"application/tve-trigger":{source:`iana`},"application/tzif":{source:`iana`},"application/tzif-leap":{source:`iana`},"application/ubjson":{compressible:!1,extensions:[`ubj`]},"application/ulpfec":{source:`iana`},"application/urc-grpsheet+xml":{source:`iana`,compressible:!0},"application/urc-ressheet+xml":{source:`iana`,compressible:!0,extensions:[`rsheet`]},"application/urc-targetdesc+xml":{source:`iana`,compressible:!0,extensions:[`td`]},"application/urc-uisocketdesc+xml":{source:`iana`,compressible:!0},"application/vcard+json":{source:`iana`,compressible:!0},"application/vcard+xml":{source:`iana`,compressible:!0},"application/vemmi":{source:`iana`},"application/vividence.scriptfile":{source:`apache`},"application/vnd.1000minds.decision-model+xml":{source:`iana`,compressible:!0,extensions:[`1km`]},"application/vnd.3gpp-prose+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:`iana`},"application/vnd.3gpp.5gnas":{source:`iana`},"application/vnd.3gpp.access-transfer-events+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.bsf+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.gmop+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.gtpc":{source:`iana`},"application/vnd.3gpp.interworking-data":{source:`iana`},"application/vnd.3gpp.lpp":{source:`iana`},"application/vnd.3gpp.mc-signalling-ear":{source:`iana`},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:`iana`},"application/vnd.3gpp.mcdata-service-config+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:`iana`},"application/vnd.3gpp.mcdata-ue-config+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.ngap":{source:`iana`},"application/vnd.3gpp.pfcp":{source:`iana`},"application/vnd.3gpp.pic-bw-large":{source:`iana`,extensions:[`plb`]},"application/vnd.3gpp.pic-bw-small":{source:`iana`,extensions:[`psb`]},"application/vnd.3gpp.pic-bw-var":{source:`iana`,extensions:[`pvb`]},"application/vnd.3gpp.s1ap":{source:`iana`},"application/vnd.3gpp.sms":{source:`iana`},"application/vnd.3gpp.sms+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp.ussd+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:`iana`,compressible:!0},"application/vnd.3gpp2.sms":{source:`iana`},"application/vnd.3gpp2.tcap":{source:`iana`,extensions:[`tcap`]},"application/vnd.3lightssoftware.imagescal":{source:`iana`},"application/vnd.3m.post-it-notes":{source:`iana`,extensions:[`pwn`]},"application/vnd.accpac.simply.aso":{source:`iana`,extensions:[`aso`]},"application/vnd.accpac.simply.imp":{source:`iana`,extensions:[`imp`]},"application/vnd.acucobol":{source:`iana`,extensions:[`acu`]},"application/vnd.acucorp":{source:`iana`,extensions:[`atc`,`acutc`]},"application/vnd.adobe.air-application-installer-package+zip":{source:`apache`,compressible:!1,extensions:[`air`]},"application/vnd.adobe.flash.movie":{source:`iana`},"application/vnd.adobe.formscentral.fcdt":{source:`iana`,extensions:[`fcdt`]},"application/vnd.adobe.fxp":{source:`iana`,extensions:[`fxp`,`fxpl`]},"application/vnd.adobe.partial-upload":{source:`iana`},"application/vnd.adobe.xdp+xml":{source:`iana`,compressible:!0,extensions:[`xdp`]},"application/vnd.adobe.xfdf":{source:`iana`,extensions:[`xfdf`]},"application/vnd.aether.imp":{source:`iana`},"application/vnd.afpc.afplinedata":{source:`iana`},"application/vnd.afpc.afplinedata-pagedef":{source:`iana`},"application/vnd.afpc.cmoca-cmresource":{source:`iana`},"application/vnd.afpc.foca-charset":{source:`iana`},"application/vnd.afpc.foca-codedfont":{source:`iana`},"application/vnd.afpc.foca-codepage":{source:`iana`},"application/vnd.afpc.modca":{source:`iana`},"application/vnd.afpc.modca-cmtable":{source:`iana`},"application/vnd.afpc.modca-formdef":{source:`iana`},"application/vnd.afpc.modca-mediummap":{source:`iana`},"application/vnd.afpc.modca-objectcontainer":{source:`iana`},"application/vnd.afpc.modca-overlay":{source:`iana`},"application/vnd.afpc.modca-pagesegment":{source:`iana`},"application/vnd.age":{source:`iana`,extensions:[`age`]},"application/vnd.ah-barcode":{source:`iana`},"application/vnd.ahead.space":{source:`iana`,extensions:[`ahead`]},"application/vnd.airzip.filesecure.azf":{source:`iana`,extensions:[`azf`]},"application/vnd.airzip.filesecure.azs":{source:`iana`,extensions:[`azs`]},"application/vnd.amadeus+json":{source:`iana`,compressible:!0},"application/vnd.amazon.ebook":{source:`apache`,extensions:[`azw`]},"application/vnd.amazon.mobi8-ebook":{source:`iana`},"application/vnd.americandynamics.acc":{source:`iana`,extensions:[`acc`]},"application/vnd.amiga.ami":{source:`iana`,extensions:[`ami`]},"application/vnd.amundsen.maze+xml":{source:`iana`,compressible:!0},"application/vnd.android.ota":{source:`iana`},"application/vnd.android.package-archive":{source:`apache`,compressible:!1,extensions:[`apk`]},"application/vnd.anki":{source:`iana`},"application/vnd.anser-web-certificate-issue-initiation":{source:`iana`,extensions:[`cii`]},"application/vnd.anser-web-funds-transfer-initiation":{source:`apache`,extensions:[`fti`]},"application/vnd.antix.game-component":{source:`iana`,extensions:[`atx`]},"application/vnd.apache.arrow.file":{source:`iana`},"application/vnd.apache.arrow.stream":{source:`iana`},"application/vnd.apache.thrift.binary":{source:`iana`},"application/vnd.apache.thrift.compact":{source:`iana`},"application/vnd.apache.thrift.json":{source:`iana`},"application/vnd.api+json":{source:`iana`,compressible:!0},"application/vnd.aplextor.warrp+json":{source:`iana`,compressible:!0},"application/vnd.apothekende.reservation+json":{source:`iana`,compressible:!0},"application/vnd.apple.installer+xml":{source:`iana`,compressible:!0,extensions:[`mpkg`]},"application/vnd.apple.keynote":{source:`iana`,extensions:[`key`]},"application/vnd.apple.mpegurl":{source:`iana`,extensions:[`m3u8`]},"application/vnd.apple.numbers":{source:`iana`,extensions:[`numbers`]},"application/vnd.apple.pages":{source:`iana`,extensions:[`pages`]},"application/vnd.apple.pkpass":{compressible:!1,extensions:[`pkpass`]},"application/vnd.arastra.swi":{source:`iana`},"application/vnd.aristanetworks.swi":{source:`iana`,extensions:[`swi`]},"application/vnd.artisan+json":{source:`iana`,compressible:!0},"application/vnd.artsquare":{source:`iana`},"application/vnd.astraea-software.iota":{source:`iana`,extensions:[`iota`]},"application/vnd.audiograph":{source:`iana`,extensions:[`aep`]},"application/vnd.autopackage":{source:`iana`},"application/vnd.avalon+json":{source:`iana`,compressible:!0},"application/vnd.avistar+xml":{source:`iana`,compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:`iana`,compressible:!0,extensions:[`bmml`]},"application/vnd.balsamiq.bmpr":{source:`iana`},"application/vnd.banana-accounting":{source:`iana`},"application/vnd.bbf.usp.error":{source:`iana`},"application/vnd.bbf.usp.msg":{source:`iana`},"application/vnd.bbf.usp.msg+json":{source:`iana`,compressible:!0},"application/vnd.bekitzur-stech+json":{source:`iana`,compressible:!0},"application/vnd.bint.med-content":{source:`iana`},"application/vnd.biopax.rdf+xml":{source:`iana`,compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:`iana`},"application/vnd.blueice.multipass":{source:`iana`,extensions:[`mpm`]},"application/vnd.bluetooth.ep.oob":{source:`iana`},"application/vnd.bluetooth.le.oob":{source:`iana`},"application/vnd.bmi":{source:`iana`,extensions:[`bmi`]},"application/vnd.bpf":{source:`iana`},"application/vnd.bpf3":{source:`iana`},"application/vnd.businessobjects":{source:`iana`,extensions:[`rep`]},"application/vnd.byu.uapi+json":{source:`iana`,compressible:!0},"application/vnd.cab-jscript":{source:`iana`},"application/vnd.canon-cpdl":{source:`iana`},"application/vnd.canon-lips":{source:`iana`},"application/vnd.capasystems-pg+json":{source:`iana`,compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:`iana`},"application/vnd.century-systems.tcp_stream":{source:`iana`},"application/vnd.chemdraw+xml":{source:`iana`,compressible:!0,extensions:[`cdxml`]},"application/vnd.chess-pgn":{source:`iana`},"application/vnd.chipnuts.karaoke-mmd":{source:`iana`,extensions:[`mmd`]},"application/vnd.ciedi":{source:`iana`},"application/vnd.cinderella":{source:`iana`,extensions:[`cdy`]},"application/vnd.cirpack.isdn-ext":{source:`iana`},"application/vnd.citationstyles.style+xml":{source:`iana`,compressible:!0,extensions:[`csl`]},"application/vnd.claymore":{source:`iana`,extensions:[`cla`]},"application/vnd.cloanto.rp9":{source:`iana`,extensions:[`rp9`]},"application/vnd.clonk.c4group":{source:`iana`,extensions:[`c4g`,`c4d`,`c4f`,`c4p`,`c4u`]},"application/vnd.cluetrust.cartomobile-config":{source:`iana`,extensions:[`c11amc`]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:`iana`,extensions:[`c11amz`]},"application/vnd.coffeescript":{source:`iana`},"application/vnd.collabio.xodocuments.document":{source:`iana`},"application/vnd.collabio.xodocuments.document-template":{source:`iana`},"application/vnd.collabio.xodocuments.presentation":{source:`iana`},"application/vnd.collabio.xodocuments.presentation-template":{source:`iana`},"application/vnd.collabio.xodocuments.spreadsheet":{source:`iana`},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:`iana`},"application/vnd.collection+json":{source:`iana`,compressible:!0},"application/vnd.collection.doc+json":{source:`iana`,compressible:!0},"application/vnd.collection.next+json":{source:`iana`,compressible:!0},"application/vnd.comicbook+zip":{source:`iana`,compressible:!1},"application/vnd.comicbook-rar":{source:`iana`},"application/vnd.commerce-battelle":{source:`iana`},"application/vnd.commonspace":{source:`iana`,extensions:[`csp`]},"application/vnd.contact.cmsg":{source:`iana`,extensions:[`cdbcmsg`]},"application/vnd.coreos.ignition+json":{source:`iana`,compressible:!0},"application/vnd.cosmocaller":{source:`iana`,extensions:[`cmc`]},"application/vnd.crick.clicker":{source:`iana`,extensions:[`clkx`]},"application/vnd.crick.clicker.keyboard":{source:`iana`,extensions:[`clkk`]},"application/vnd.crick.clicker.palette":{source:`iana`,extensions:[`clkp`]},"application/vnd.crick.clicker.template":{source:`iana`,extensions:[`clkt`]},"application/vnd.crick.clicker.wordbank":{source:`iana`,extensions:[`clkw`]},"application/vnd.criticaltools.wbs+xml":{source:`iana`,compressible:!0,extensions:[`wbs`]},"application/vnd.cryptii.pipe+json":{source:`iana`,compressible:!0},"application/vnd.crypto-shade-file":{source:`iana`},"application/vnd.cryptomator.encrypted":{source:`iana`},"application/vnd.cryptomator.vault":{source:`iana`},"application/vnd.ctc-posml":{source:`iana`,extensions:[`pml`]},"application/vnd.ctct.ws+xml":{source:`iana`,compressible:!0},"application/vnd.cups-pdf":{source:`iana`},"application/vnd.cups-postscript":{source:`iana`},"application/vnd.cups-ppd":{source:`iana`,extensions:[`ppd`]},"application/vnd.cups-raster":{source:`iana`},"application/vnd.cups-raw":{source:`iana`},"application/vnd.curl":{source:`iana`},"application/vnd.curl.car":{source:`apache`,extensions:[`car`]},"application/vnd.curl.pcurl":{source:`apache`,extensions:[`pcurl`]},"application/vnd.cyan.dean.root+xml":{source:`iana`,compressible:!0},"application/vnd.cybank":{source:`iana`},"application/vnd.cyclonedx+json":{source:`iana`,compressible:!0},"application/vnd.cyclonedx+xml":{source:`iana`,compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:`iana`,compressible:!1},"application/vnd.d3m-dataset":{source:`iana`},"application/vnd.d3m-problem":{source:`iana`},"application/vnd.dart":{source:`iana`,compressible:!0,extensions:[`dart`]},"application/vnd.data-vision.rdz":{source:`iana`,extensions:[`rdz`]},"application/vnd.datapackage+json":{source:`iana`,compressible:!0},"application/vnd.dataresource+json":{source:`iana`,compressible:!0},"application/vnd.dbf":{source:`iana`,extensions:[`dbf`]},"application/vnd.debian.binary-package":{source:`iana`},"application/vnd.dece.data":{source:`iana`,extensions:[`uvf`,`uvvf`,`uvd`,`uvvd`]},"application/vnd.dece.ttml+xml":{source:`iana`,compressible:!0,extensions:[`uvt`,`uvvt`]},"application/vnd.dece.unspecified":{source:`iana`,extensions:[`uvx`,`uvvx`]},"application/vnd.dece.zip":{source:`iana`,extensions:[`uvz`,`uvvz`]},"application/vnd.denovo.fcselayout-link":{source:`iana`,extensions:[`fe_launch`]},"application/vnd.desmume.movie":{source:`iana`},"application/vnd.dir-bi.plate-dl-nosuffix":{source:`iana`},"application/vnd.dm.delegation+xml":{source:`iana`,compressible:!0},"application/vnd.dna":{source:`iana`,extensions:[`dna`]},"application/vnd.document+json":{source:`iana`,compressible:!0},"application/vnd.dolby.mlp":{source:`apache`,extensions:[`mlp`]},"application/vnd.dolby.mobile.1":{source:`iana`},"application/vnd.dolby.mobile.2":{source:`iana`},"application/vnd.doremir.scorecloud-binary-document":{source:`iana`},"application/vnd.dpgraph":{source:`iana`,extensions:[`dpg`]},"application/vnd.dreamfactory":{source:`iana`,extensions:[`dfac`]},"application/vnd.drive+json":{source:`iana`,compressible:!0},"application/vnd.ds-keypoint":{source:`apache`,extensions:[`kpxx`]},"application/vnd.dtg.local":{source:`iana`},"application/vnd.dtg.local.flash":{source:`iana`},"application/vnd.dtg.local.html":{source:`iana`},"application/vnd.dvb.ait":{source:`iana`,extensions:[`ait`]},"application/vnd.dvb.dvbisl+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.dvbj":{source:`iana`},"application/vnd.dvb.esgcontainer":{source:`iana`},"application/vnd.dvb.ipdcdftnotifaccess":{source:`iana`},"application/vnd.dvb.ipdcesgaccess":{source:`iana`},"application/vnd.dvb.ipdcesgaccess2":{source:`iana`},"application/vnd.dvb.ipdcesgpdd":{source:`iana`},"application/vnd.dvb.ipdcroaming":{source:`iana`},"application/vnd.dvb.iptv.alfec-base":{source:`iana`},"application/vnd.dvb.iptv.alfec-enhancement":{source:`iana`},"application/vnd.dvb.notif-aggregate-root+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.notif-container+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.notif-init+xml":{source:`iana`,compressible:!0},"application/vnd.dvb.pfr":{source:`iana`},"application/vnd.dvb.service":{source:`iana`,extensions:[`svc`]},"application/vnd.dxr":{source:`iana`},"application/vnd.dynageo":{source:`iana`,extensions:[`geo`]},"application/vnd.dzr":{source:`iana`},"application/vnd.easykaraoke.cdgdownload":{source:`iana`},"application/vnd.ecdis-update":{source:`iana`},"application/vnd.ecip.rlp":{source:`iana`},"application/vnd.eclipse.ditto+json":{source:`iana`,compressible:!0},"application/vnd.ecowin.chart":{source:`iana`,extensions:[`mag`]},"application/vnd.ecowin.filerequest":{source:`iana`},"application/vnd.ecowin.fileupdate":{source:`iana`},"application/vnd.ecowin.series":{source:`iana`},"application/vnd.ecowin.seriesrequest":{source:`iana`},"application/vnd.ecowin.seriesupdate":{source:`iana`},"application/vnd.efi.img":{source:`iana`},"application/vnd.efi.iso":{source:`iana`},"application/vnd.emclient.accessrequest+xml":{source:`iana`,compressible:!0},"application/vnd.enliven":{source:`iana`,extensions:[`nml`]},"application/vnd.enphase.envoy":{source:`iana`},"application/vnd.eprints.data+xml":{source:`iana`,compressible:!0},"application/vnd.epson.esf":{source:`iana`,extensions:[`esf`]},"application/vnd.epson.msf":{source:`iana`,extensions:[`msf`]},"application/vnd.epson.quickanime":{source:`iana`,extensions:[`qam`]},"application/vnd.epson.salt":{source:`iana`,extensions:[`slt`]},"application/vnd.epson.ssf":{source:`iana`,extensions:[`ssf`]},"application/vnd.ericsson.quickcall":{source:`iana`},"application/vnd.espass-espass+zip":{source:`iana`,compressible:!1},"application/vnd.eszigno3+xml":{source:`iana`,compressible:!0,extensions:[`es3`,`et3`]},"application/vnd.etsi.aoc+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.asic-e+zip":{source:`iana`,compressible:!1},"application/vnd.etsi.asic-s+zip":{source:`iana`,compressible:!1},"application/vnd.etsi.cug+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.mcid+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.mheg5":{source:`iana`},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.pstn+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.sci+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.simservs+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.timestamp-token":{source:`iana`},"application/vnd.etsi.tsl+xml":{source:`iana`,compressible:!0},"application/vnd.etsi.tsl.der":{source:`iana`},"application/vnd.eu.kasparian.car+json":{source:`iana`,compressible:!0},"application/vnd.eudora.data":{source:`iana`},"application/vnd.evolv.ecig.profile":{source:`iana`},"application/vnd.evolv.ecig.settings":{source:`iana`},"application/vnd.evolv.ecig.theme":{source:`iana`},"application/vnd.exstream-empower+zip":{source:`iana`,compressible:!1},"application/vnd.exstream-package":{source:`iana`},"application/vnd.ezpix-album":{source:`iana`,extensions:[`ez2`]},"application/vnd.ezpix-package":{source:`iana`,extensions:[`ez3`]},"application/vnd.f-secure.mobile":{source:`iana`},"application/vnd.familysearch.gedcom+zip":{source:`iana`,compressible:!1},"application/vnd.fastcopy-disk-image":{source:`iana`},"application/vnd.fdf":{source:`iana`,extensions:[`fdf`]},"application/vnd.fdsn.mseed":{source:`iana`,extensions:[`mseed`]},"application/vnd.fdsn.seed":{source:`iana`,extensions:[`seed`,`dataless`]},"application/vnd.ffsns":{source:`iana`},"application/vnd.ficlab.flb+zip":{source:`iana`,compressible:!1},"application/vnd.filmit.zfc":{source:`iana`},"application/vnd.fints":{source:`iana`},"application/vnd.firemonkeys.cloudcell":{source:`iana`},"application/vnd.flographit":{source:`iana`,extensions:[`gph`]},"application/vnd.fluxtime.clip":{source:`iana`,extensions:[`ftc`]},"application/vnd.font-fontforge-sfd":{source:`iana`},"application/vnd.framemaker":{source:`iana`,extensions:[`fm`,`frame`,`maker`,`book`]},"application/vnd.frogans.fnc":{source:`iana`,extensions:[`fnc`]},"application/vnd.frogans.ltf":{source:`iana`,extensions:[`ltf`]},"application/vnd.fsc.weblaunch":{source:`iana`,extensions:[`fsc`]},"application/vnd.fujifilm.fb.docuworks":{source:`iana`},"application/vnd.fujifilm.fb.docuworks.binder":{source:`iana`},"application/vnd.fujifilm.fb.docuworks.container":{source:`iana`},"application/vnd.fujifilm.fb.jfi+xml":{source:`iana`,compressible:!0},"application/vnd.fujitsu.oasys":{source:`iana`,extensions:[`oas`]},"application/vnd.fujitsu.oasys2":{source:`iana`,extensions:[`oa2`]},"application/vnd.fujitsu.oasys3":{source:`iana`,extensions:[`oa3`]},"application/vnd.fujitsu.oasysgp":{source:`iana`,extensions:[`fg5`]},"application/vnd.fujitsu.oasysprs":{source:`iana`,extensions:[`bh2`]},"application/vnd.fujixerox.art-ex":{source:`iana`},"application/vnd.fujixerox.art4":{source:`iana`},"application/vnd.fujixerox.ddd":{source:`iana`,extensions:[`ddd`]},"application/vnd.fujixerox.docuworks":{source:`iana`,extensions:[`xdw`]},"application/vnd.fujixerox.docuworks.binder":{source:`iana`,extensions:[`xbd`]},"application/vnd.fujixerox.docuworks.container":{source:`iana`},"application/vnd.fujixerox.hbpl":{source:`iana`},"application/vnd.fut-misnet":{source:`iana`},"application/vnd.futoin+cbor":{source:`iana`},"application/vnd.futoin+json":{source:`iana`,compressible:!0},"application/vnd.fuzzysheet":{source:`iana`,extensions:[`fzs`]},"application/vnd.genomatix.tuxedo":{source:`iana`,extensions:[`txd`]},"application/vnd.gentics.grd+json":{source:`iana`,compressible:!0},"application/vnd.geo+json":{source:`iana`,compressible:!0},"application/vnd.geocube+xml":{source:`iana`,compressible:!0},"application/vnd.geogebra.file":{source:`iana`,extensions:[`ggb`]},"application/vnd.geogebra.slides":{source:`iana`},"application/vnd.geogebra.tool":{source:`iana`,extensions:[`ggt`]},"application/vnd.geometry-explorer":{source:`iana`,extensions:[`gex`,`gre`]},"application/vnd.geonext":{source:`iana`,extensions:[`gxt`]},"application/vnd.geoplan":{source:`iana`,extensions:[`g2w`]},"application/vnd.geospace":{source:`iana`,extensions:[`g3w`]},"application/vnd.gerber":{source:`iana`},"application/vnd.globalplatform.card-content-mgt":{source:`iana`},"application/vnd.globalplatform.card-content-mgt-response":{source:`iana`},"application/vnd.gmx":{source:`iana`,extensions:[`gmx`]},"application/vnd.google-apps.document":{compressible:!1,extensions:[`gdoc`]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:[`gslides`]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:[`gsheet`]},"application/vnd.google-earth.kml+xml":{source:`iana`,compressible:!0,extensions:[`kml`]},"application/vnd.google-earth.kmz":{source:`iana`,compressible:!1,extensions:[`kmz`]},"application/vnd.gov.sk.e-form+xml":{source:`iana`,compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:`iana`,compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:`iana`,compressible:!0},"application/vnd.grafeq":{source:`iana`,extensions:[`gqf`,`gqs`]},"application/vnd.gridmp":{source:`iana`},"application/vnd.groove-account":{source:`iana`,extensions:[`gac`]},"application/vnd.groove-help":{source:`iana`,extensions:[`ghf`]},"application/vnd.groove-identity-message":{source:`iana`,extensions:[`gim`]},"application/vnd.groove-injector":{source:`iana`,extensions:[`grv`]},"application/vnd.groove-tool-message":{source:`iana`,extensions:[`gtm`]},"application/vnd.groove-tool-template":{source:`iana`,extensions:[`tpl`]},"application/vnd.groove-vcard":{source:`iana`,extensions:[`vcg`]},"application/vnd.hal+json":{source:`iana`,compressible:!0},"application/vnd.hal+xml":{source:`iana`,compressible:!0,extensions:[`hal`]},"application/vnd.handheld-entertainment+xml":{source:`iana`,compressible:!0,extensions:[`zmm`]},"application/vnd.hbci":{source:`iana`,extensions:[`hbci`]},"application/vnd.hc+json":{source:`iana`,compressible:!0},"application/vnd.hcl-bireports":{source:`iana`},"application/vnd.hdt":{source:`iana`},"application/vnd.heroku+json":{source:`iana`,compressible:!0},"application/vnd.hhe.lesson-player":{source:`iana`,extensions:[`les`]},"application/vnd.hl7cda+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/vnd.hl7v2+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/vnd.hp-hpgl":{source:`iana`,extensions:[`hpgl`]},"application/vnd.hp-hpid":{source:`iana`,extensions:[`hpid`]},"application/vnd.hp-hps":{source:`iana`,extensions:[`hps`]},"application/vnd.hp-jlyt":{source:`iana`,extensions:[`jlt`]},"application/vnd.hp-pcl":{source:`iana`,extensions:[`pcl`]},"application/vnd.hp-pclxl":{source:`iana`,extensions:[`pclxl`]},"application/vnd.httphone":{source:`iana`},"application/vnd.hydrostatix.sof-data":{source:`iana`,extensions:[`sfd-hdstx`]},"application/vnd.hyper+json":{source:`iana`,compressible:!0},"application/vnd.hyper-item+json":{source:`iana`,compressible:!0},"application/vnd.hyperdrive+json":{source:`iana`,compressible:!0},"application/vnd.hzn-3d-crossword":{source:`iana`},"application/vnd.ibm.afplinedata":{source:`iana`},"application/vnd.ibm.electronic-media":{source:`iana`},"application/vnd.ibm.minipay":{source:`iana`,extensions:[`mpy`]},"application/vnd.ibm.modcap":{source:`iana`,extensions:[`afp`,`listafp`,`list3820`]},"application/vnd.ibm.rights-management":{source:`iana`,extensions:[`irm`]},"application/vnd.ibm.secure-container":{source:`iana`,extensions:[`sc`]},"application/vnd.iccprofile":{source:`iana`,extensions:[`icc`,`icm`]},"application/vnd.ieee.1905":{source:`iana`},"application/vnd.igloader":{source:`iana`,extensions:[`igl`]},"application/vnd.imagemeter.folder+zip":{source:`iana`,compressible:!1},"application/vnd.imagemeter.image+zip":{source:`iana`,compressible:!1},"application/vnd.immervision-ivp":{source:`iana`,extensions:[`ivp`]},"application/vnd.immervision-ivu":{source:`iana`,extensions:[`ivu`]},"application/vnd.ims.imsccv1p1":{source:`iana`},"application/vnd.ims.imsccv1p2":{source:`iana`},"application/vnd.ims.imsccv1p3":{source:`iana`},"application/vnd.ims.lis.v2.result+json":{source:`iana`,compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:`iana`,compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:`iana`,compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:`iana`,compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:`iana`,compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:`iana`,compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:`iana`,compressible:!0},"application/vnd.informix-visionary":{source:`iana`},"application/vnd.infotech.project":{source:`iana`},"application/vnd.infotech.project+xml":{source:`iana`,compressible:!0},"application/vnd.innopath.wamp.notification":{source:`iana`},"application/vnd.insors.igm":{source:`iana`,extensions:[`igm`]},"application/vnd.intercon.formnet":{source:`iana`,extensions:[`xpw`,`xpx`]},"application/vnd.intergeo":{source:`iana`,extensions:[`i2g`]},"application/vnd.intertrust.digibox":{source:`iana`},"application/vnd.intertrust.nncp":{source:`iana`},"application/vnd.intu.qbo":{source:`iana`,extensions:[`qbo`]},"application/vnd.intu.qfx":{source:`iana`,extensions:[`qfx`]},"application/vnd.iptc.g2.catalogitem+xml":{source:`iana`,compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:`iana`,compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:`iana`,compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:`iana`,compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:`iana`,compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:`iana`,compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:`iana`,compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:`iana`,extensions:[`rcprofile`]},"application/vnd.irepository.package+xml":{source:`iana`,compressible:!0,extensions:[`irp`]},"application/vnd.is-xpr":{source:`iana`,extensions:[`xpr`]},"application/vnd.isac.fcs":{source:`iana`,extensions:[`fcs`]},"application/vnd.iso11783-10+zip":{source:`iana`,compressible:!1},"application/vnd.jam":{source:`iana`,extensions:[`jam`]},"application/vnd.japannet-directory-service":{source:`iana`},"application/vnd.japannet-jpnstore-wakeup":{source:`iana`},"application/vnd.japannet-payment-wakeup":{source:`iana`},"application/vnd.japannet-registration":{source:`iana`},"application/vnd.japannet-registration-wakeup":{source:`iana`},"application/vnd.japannet-setstore-wakeup":{source:`iana`},"application/vnd.japannet-verification":{source:`iana`},"application/vnd.japannet-verification-wakeup":{source:`iana`},"application/vnd.jcp.javame.midlet-rms":{source:`iana`,extensions:[`rms`]},"application/vnd.jisp":{source:`iana`,extensions:[`jisp`]},"application/vnd.joost.joda-archive":{source:`iana`,extensions:[`joda`]},"application/vnd.jsk.isdn-ngn":{source:`iana`},"application/vnd.kahootz":{source:`iana`,extensions:[`ktz`,`ktr`]},"application/vnd.kde.karbon":{source:`iana`,extensions:[`karbon`]},"application/vnd.kde.kchart":{source:`iana`,extensions:[`chrt`]},"application/vnd.kde.kformula":{source:`iana`,extensions:[`kfo`]},"application/vnd.kde.kivio":{source:`iana`,extensions:[`flw`]},"application/vnd.kde.kontour":{source:`iana`,extensions:[`kon`]},"application/vnd.kde.kpresenter":{source:`iana`,extensions:[`kpr`,`kpt`]},"application/vnd.kde.kspread":{source:`iana`,extensions:[`ksp`]},"application/vnd.kde.kword":{source:`iana`,extensions:[`kwd`,`kwt`]},"application/vnd.kenameaapp":{source:`iana`,extensions:[`htke`]},"application/vnd.kidspiration":{source:`iana`,extensions:[`kia`]},"application/vnd.kinar":{source:`iana`,extensions:[`kne`,`knp`]},"application/vnd.koan":{source:`iana`,extensions:[`skp`,`skd`,`skt`,`skm`]},"application/vnd.kodak-descriptor":{source:`iana`,extensions:[`sse`]},"application/vnd.las":{source:`iana`},"application/vnd.las.las+json":{source:`iana`,compressible:!0},"application/vnd.las.las+xml":{source:`iana`,compressible:!0,extensions:[`lasxml`]},"application/vnd.laszip":{source:`iana`},"application/vnd.leap+json":{source:`iana`,compressible:!0},"application/vnd.liberty-request+xml":{source:`iana`,compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:`iana`,extensions:[`lbd`]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:`iana`,compressible:!0,extensions:[`lbe`]},"application/vnd.logipipe.circuit+zip":{source:`iana`,compressible:!1},"application/vnd.loom":{source:`iana`},"application/vnd.lotus-1-2-3":{source:`iana`,extensions:[`123`]},"application/vnd.lotus-approach":{source:`iana`,extensions:[`apr`]},"application/vnd.lotus-freelance":{source:`iana`,extensions:[`pre`]},"application/vnd.lotus-notes":{source:`iana`,extensions:[`nsf`]},"application/vnd.lotus-organizer":{source:`iana`,extensions:[`org`]},"application/vnd.lotus-screencam":{source:`iana`,extensions:[`scm`]},"application/vnd.lotus-wordpro":{source:`iana`,extensions:[`lwp`]},"application/vnd.macports.portpkg":{source:`iana`,extensions:[`portpkg`]},"application/vnd.mapbox-vector-tile":{source:`iana`,extensions:[`mvt`]},"application/vnd.marlin.drm.actiontoken+xml":{source:`iana`,compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:`iana`,compressible:!0},"application/vnd.marlin.drm.license+xml":{source:`iana`,compressible:!0},"application/vnd.marlin.drm.mdcf":{source:`iana`},"application/vnd.mason+json":{source:`iana`,compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:`iana`,compressible:!1},"application/vnd.maxmind.maxmind-db":{source:`iana`},"application/vnd.mcd":{source:`iana`,extensions:[`mcd`]},"application/vnd.medcalcdata":{source:`iana`,extensions:[`mc1`]},"application/vnd.mediastation.cdkey":{source:`iana`,extensions:[`cdkey`]},"application/vnd.meridian-slingshot":{source:`iana`},"application/vnd.mfer":{source:`iana`,extensions:[`mwf`]},"application/vnd.mfmp":{source:`iana`,extensions:[`mfm`]},"application/vnd.micro+json":{source:`iana`,compressible:!0},"application/vnd.micrografx.flo":{source:`iana`,extensions:[`flo`]},"application/vnd.micrografx.igx":{source:`iana`,extensions:[`igx`]},"application/vnd.microsoft.portable-executable":{source:`iana`},"application/vnd.microsoft.windows.thumbnail-cache":{source:`iana`},"application/vnd.miele+json":{source:`iana`,compressible:!0},"application/vnd.mif":{source:`iana`,extensions:[`mif`]},"application/vnd.minisoft-hp3000-save":{source:`iana`},"application/vnd.mitsubishi.misty-guard.trustweb":{source:`iana`},"application/vnd.mobius.daf":{source:`iana`,extensions:[`daf`]},"application/vnd.mobius.dis":{source:`iana`,extensions:[`dis`]},"application/vnd.mobius.mbk":{source:`iana`,extensions:[`mbk`]},"application/vnd.mobius.mqy":{source:`iana`,extensions:[`mqy`]},"application/vnd.mobius.msl":{source:`iana`,extensions:[`msl`]},"application/vnd.mobius.plc":{source:`iana`,extensions:[`plc`]},"application/vnd.mobius.txf":{source:`iana`,extensions:[`txf`]},"application/vnd.mophun.application":{source:`iana`,extensions:[`mpn`]},"application/vnd.mophun.certificate":{source:`iana`,extensions:[`mpc`]},"application/vnd.motorola.flexsuite":{source:`iana`},"application/vnd.motorola.flexsuite.adsi":{source:`iana`},"application/vnd.motorola.flexsuite.fis":{source:`iana`},"application/vnd.motorola.flexsuite.gotap":{source:`iana`},"application/vnd.motorola.flexsuite.kmr":{source:`iana`},"application/vnd.motorola.flexsuite.ttc":{source:`iana`},"application/vnd.motorola.flexsuite.wem":{source:`iana`},"application/vnd.motorola.iprm":{source:`iana`},"application/vnd.mozilla.xul+xml":{source:`iana`,compressible:!0,extensions:[`xul`]},"application/vnd.ms-3mfdocument":{source:`iana`},"application/vnd.ms-artgalry":{source:`iana`,extensions:[`cil`]},"application/vnd.ms-asf":{source:`iana`},"application/vnd.ms-cab-compressed":{source:`iana`,extensions:[`cab`]},"application/vnd.ms-color.iccprofile":{source:`apache`},"application/vnd.ms-excel":{source:`iana`,compressible:!1,extensions:[`xls`,`xlm`,`xla`,`xlc`,`xlt`,`xlw`]},"application/vnd.ms-excel.addin.macroenabled.12":{source:`iana`,extensions:[`xlam`]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:`iana`,extensions:[`xlsb`]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:`iana`,extensions:[`xlsm`]},"application/vnd.ms-excel.template.macroenabled.12":{source:`iana`,extensions:[`xltm`]},"application/vnd.ms-fontobject":{source:`iana`,compressible:!0,extensions:[`eot`]},"application/vnd.ms-htmlhelp":{source:`iana`,extensions:[`chm`]},"application/vnd.ms-ims":{source:`iana`,extensions:[`ims`]},"application/vnd.ms-lrm":{source:`iana`,extensions:[`lrm`]},"application/vnd.ms-office.activex+xml":{source:`iana`,compressible:!0},"application/vnd.ms-officetheme":{source:`iana`,extensions:[`thmx`]},"application/vnd.ms-opentype":{source:`apache`,compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:[`msg`]},"application/vnd.ms-package.obfuscated-opentype":{source:`apache`},"application/vnd.ms-pki.seccat":{source:`apache`,extensions:[`cat`]},"application/vnd.ms-pki.stl":{source:`apache`,extensions:[`stl`]},"application/vnd.ms-playready.initiator+xml":{source:`iana`,compressible:!0},"application/vnd.ms-powerpoint":{source:`iana`,compressible:!1,extensions:[`ppt`,`pps`,`pot`]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:`iana`,extensions:[`ppam`]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:`iana`,extensions:[`pptm`]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:`iana`,extensions:[`sldm`]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:`iana`,extensions:[`ppsm`]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:`iana`,extensions:[`potm`]},"application/vnd.ms-printdevicecapabilities+xml":{source:`iana`,compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:`apache`,compressible:!0},"application/vnd.ms-printschematicket+xml":{source:`iana`,compressible:!0},"application/vnd.ms-project":{source:`iana`,extensions:[`mpp`,`mpt`]},"application/vnd.ms-tnef":{source:`iana`},"application/vnd.ms-windows.devicepairing":{source:`iana`},"application/vnd.ms-windows.nwprinting.oob":{source:`iana`},"application/vnd.ms-windows.printerpairing":{source:`iana`},"application/vnd.ms-windows.wsd.oob":{source:`iana`},"application/vnd.ms-wmdrm.lic-chlg-req":{source:`iana`},"application/vnd.ms-wmdrm.lic-resp":{source:`iana`},"application/vnd.ms-wmdrm.meter-chlg-req":{source:`iana`},"application/vnd.ms-wmdrm.meter-resp":{source:`iana`},"application/vnd.ms-word.document.macroenabled.12":{source:`iana`,extensions:[`docm`]},"application/vnd.ms-word.template.macroenabled.12":{source:`iana`,extensions:[`dotm`]},"application/vnd.ms-works":{source:`iana`,extensions:[`wps`,`wks`,`wcm`,`wdb`]},"application/vnd.ms-wpl":{source:`iana`,extensions:[`wpl`]},"application/vnd.ms-xpsdocument":{source:`iana`,compressible:!1,extensions:[`xps`]},"application/vnd.msa-disk-image":{source:`iana`},"application/vnd.mseq":{source:`iana`,extensions:[`mseq`]},"application/vnd.msign":{source:`iana`},"application/vnd.multiad.creator":{source:`iana`},"application/vnd.multiad.creator.cif":{source:`iana`},"application/vnd.music-niff":{source:`iana`},"application/vnd.musician":{source:`iana`,extensions:[`mus`]},"application/vnd.muvee.style":{source:`iana`,extensions:[`msty`]},"application/vnd.mynfc":{source:`iana`,extensions:[`taglet`]},"application/vnd.nacamar.ybrid+json":{source:`iana`,compressible:!0},"application/vnd.ncd.control":{source:`iana`},"application/vnd.ncd.reference":{source:`iana`},"application/vnd.nearst.inv+json":{source:`iana`,compressible:!0},"application/vnd.nebumind.line":{source:`iana`},"application/vnd.nervana":{source:`iana`},"application/vnd.netfpx":{source:`iana`},"application/vnd.neurolanguage.nlu":{source:`iana`,extensions:[`nlu`]},"application/vnd.nimn":{source:`iana`},"application/vnd.nintendo.nitro.rom":{source:`iana`},"application/vnd.nintendo.snes.rom":{source:`iana`},"application/vnd.nitf":{source:`iana`,extensions:[`ntf`,`nitf`]},"application/vnd.noblenet-directory":{source:`iana`,extensions:[`nnd`]},"application/vnd.noblenet-sealer":{source:`iana`,extensions:[`nns`]},"application/vnd.noblenet-web":{source:`iana`,extensions:[`nnw`]},"application/vnd.nokia.catalogs":{source:`iana`},"application/vnd.nokia.conml+wbxml":{source:`iana`},"application/vnd.nokia.conml+xml":{source:`iana`,compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:`iana`,compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:`iana`},"application/vnd.nokia.landmark+wbxml":{source:`iana`},"application/vnd.nokia.landmark+xml":{source:`iana`,compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:`iana`,compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:`iana`,compressible:!0,extensions:[`ac`]},"application/vnd.nokia.n-gage.data":{source:`iana`,extensions:[`ngdat`]},"application/vnd.nokia.n-gage.symbian.install":{source:`iana`,extensions:[`n-gage`]},"application/vnd.nokia.ncd":{source:`iana`},"application/vnd.nokia.pcd+wbxml":{source:`iana`},"application/vnd.nokia.pcd+xml":{source:`iana`,compressible:!0},"application/vnd.nokia.radio-preset":{source:`iana`,extensions:[`rpst`]},"application/vnd.nokia.radio-presets":{source:`iana`,extensions:[`rpss`]},"application/vnd.novadigm.edm":{source:`iana`,extensions:[`edm`]},"application/vnd.novadigm.edx":{source:`iana`,extensions:[`edx`]},"application/vnd.novadigm.ext":{source:`iana`,extensions:[`ext`]},"application/vnd.ntt-local.content-share":{source:`iana`},"application/vnd.ntt-local.file-transfer":{source:`iana`},"application/vnd.ntt-local.ogw_remote-access":{source:`iana`},"application/vnd.ntt-local.sip-ta_remote":{source:`iana`},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:`iana`},"application/vnd.oasis.opendocument.chart":{source:`iana`,extensions:[`odc`]},"application/vnd.oasis.opendocument.chart-template":{source:`iana`,extensions:[`otc`]},"application/vnd.oasis.opendocument.database":{source:`iana`,extensions:[`odb`]},"application/vnd.oasis.opendocument.formula":{source:`iana`,extensions:[`odf`]},"application/vnd.oasis.opendocument.formula-template":{source:`iana`,extensions:[`odft`]},"application/vnd.oasis.opendocument.graphics":{source:`iana`,compressible:!1,extensions:[`odg`]},"application/vnd.oasis.opendocument.graphics-template":{source:`iana`,extensions:[`otg`]},"application/vnd.oasis.opendocument.image":{source:`iana`,extensions:[`odi`]},"application/vnd.oasis.opendocument.image-template":{source:`iana`,extensions:[`oti`]},"application/vnd.oasis.opendocument.presentation":{source:`iana`,compressible:!1,extensions:[`odp`]},"application/vnd.oasis.opendocument.presentation-template":{source:`iana`,extensions:[`otp`]},"application/vnd.oasis.opendocument.spreadsheet":{source:`iana`,compressible:!1,extensions:[`ods`]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:`iana`,extensions:[`ots`]},"application/vnd.oasis.opendocument.text":{source:`iana`,compressible:!1,extensions:[`odt`]},"application/vnd.oasis.opendocument.text-master":{source:`iana`,extensions:[`odm`]},"application/vnd.oasis.opendocument.text-template":{source:`iana`,extensions:[`ott`]},"application/vnd.oasis.opendocument.text-web":{source:`iana`,extensions:[`oth`]},"application/vnd.obn":{source:`iana`},"application/vnd.ocf+cbor":{source:`iana`},"application/vnd.oci.image.manifest.v1+json":{source:`iana`,compressible:!0},"application/vnd.oftn.l10n+json":{source:`iana`,compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:`iana`},"application/vnd.oipf.dae.svg+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.pae.gem":{source:`iana`},"application/vnd.oipf.spdiscovery+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.spdlist+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:`iana`,compressible:!0},"application/vnd.oipf.userprofile+xml":{source:`iana`,compressible:!0},"application/vnd.olpc-sugar":{source:`iana`,extensions:[`xo`]},"application/vnd.oma-scws-config":{source:`iana`},"application/vnd.oma-scws-http-request":{source:`iana`},"application/vnd.oma-scws-http-response":{source:`iana`},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:`iana`,compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:`iana`,compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:`iana`,compressible:!0},"application/vnd.oma.bcast.ltkm":{source:`iana`},"application/vnd.oma.bcast.notification+xml":{source:`iana`,compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:`iana`},"application/vnd.oma.bcast.sgboot":{source:`iana`},"application/vnd.oma.bcast.sgdd+xml":{source:`iana`,compressible:!0},"application/vnd.oma.bcast.sgdu":{source:`iana`},"application/vnd.oma.bcast.simple-symbol-container":{source:`iana`},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:`iana`,compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:`iana`,compressible:!0},"application/vnd.oma.bcast.stkm":{source:`iana`},"application/vnd.oma.cab-address-book+xml":{source:`iana`,compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:`iana`,compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:`iana`,compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:`iana`,compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:`iana`,compressible:!0},"application/vnd.oma.dcd":{source:`iana`},"application/vnd.oma.dcdc":{source:`iana`},"application/vnd.oma.dd2+xml":{source:`iana`,compressible:!0,extensions:[`dd2`]},"application/vnd.oma.drm.risd+xml":{source:`iana`,compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:`iana`,compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:`iana`},"application/vnd.oma.lwm2m+json":{source:`iana`,compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:`iana`},"application/vnd.oma.pal+xml":{source:`iana`,compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:`iana`,compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:`iana`,compressible:!0},"application/vnd.oma.poc.groups+xml":{source:`iana`,compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:`iana`,compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:`iana`,compressible:!0},"application/vnd.oma.push":{source:`iana`},"application/vnd.oma.scidm.messages+xml":{source:`iana`,compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:`iana`,compressible:!0},"application/vnd.omads-email+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/vnd.omads-file+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/vnd.omads-folder+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/vnd.omaloc-supl-init":{source:`iana`},"application/vnd.onepager":{source:`iana`},"application/vnd.onepagertamp":{source:`iana`},"application/vnd.onepagertamx":{source:`iana`},"application/vnd.onepagertat":{source:`iana`},"application/vnd.onepagertatp":{source:`iana`},"application/vnd.onepagertatx":{source:`iana`},"application/vnd.openblox.game+xml":{source:`iana`,compressible:!0,extensions:[`obgx`]},"application/vnd.openblox.game-binary":{source:`iana`},"application/vnd.openeye.oeb":{source:`iana`},"application/vnd.openofficeorg.extension":{source:`apache`,extensions:[`oxt`]},"application/vnd.openstreetmap.data+xml":{source:`iana`,compressible:!0,extensions:[`osm`]},"application/vnd.opentimestamps.ots":{source:`iana`},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:`iana`,compressible:!1,extensions:[`pptx`]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:`iana`,extensions:[`sldx`]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:`iana`,extensions:[`ppsx`]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:`iana`,extensions:[`potx`]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:`iana`,compressible:!1,extensions:[`xlsx`]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:`iana`,extensions:[`xltx`]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:`iana`},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:`iana`,compressible:!1,extensions:[`docx`]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:`iana`,extensions:[`dotx`]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:`iana`,compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:`iana`,compressible:!0},"application/vnd.oracle.resource+json":{source:`iana`,compressible:!0},"application/vnd.orange.indata":{source:`iana`},"application/vnd.osa.netdeploy":{source:`iana`},"application/vnd.osgeo.mapguide.package":{source:`iana`,extensions:[`mgp`]},"application/vnd.osgi.bundle":{source:`iana`},"application/vnd.osgi.dp":{source:`iana`,extensions:[`dp`]},"application/vnd.osgi.subsystem":{source:`iana`,extensions:[`esa`]},"application/vnd.otps.ct-kip+xml":{source:`iana`,compressible:!0},"application/vnd.oxli.countgraph":{source:`iana`},"application/vnd.pagerduty+json":{source:`iana`,compressible:!0},"application/vnd.palm":{source:`iana`,extensions:[`pdb`,`pqa`,`oprc`]},"application/vnd.panoply":{source:`iana`},"application/vnd.paos.xml":{source:`iana`},"application/vnd.patentdive":{source:`iana`},"application/vnd.patientecommsdoc":{source:`iana`},"application/vnd.pawaafile":{source:`iana`,extensions:[`paw`]},"application/vnd.pcos":{source:`iana`},"application/vnd.pg.format":{source:`iana`,extensions:[`str`]},"application/vnd.pg.osasli":{source:`iana`,extensions:[`ei6`]},"application/vnd.piaccess.application-licence":{source:`iana`},"application/vnd.picsel":{source:`iana`,extensions:[`efif`]},"application/vnd.pmi.widget":{source:`iana`,extensions:[`wg`]},"application/vnd.poc.group-advertisement+xml":{source:`iana`,compressible:!0},"application/vnd.pocketlearn":{source:`iana`,extensions:[`plf`]},"application/vnd.powerbuilder6":{source:`iana`,extensions:[`pbd`]},"application/vnd.powerbuilder6-s":{source:`iana`},"application/vnd.powerbuilder7":{source:`iana`},"application/vnd.powerbuilder7-s":{source:`iana`},"application/vnd.powerbuilder75":{source:`iana`},"application/vnd.powerbuilder75-s":{source:`iana`},"application/vnd.preminet":{source:`iana`},"application/vnd.previewsystems.box":{source:`iana`,extensions:[`box`]},"application/vnd.proteus.magazine":{source:`iana`,extensions:[`mgz`]},"application/vnd.psfs":{source:`iana`},"application/vnd.publishare-delta-tree":{source:`iana`,extensions:[`qps`]},"application/vnd.pvi.ptid1":{source:`iana`,extensions:[`ptid`]},"application/vnd.pwg-multiplexed":{source:`iana`},"application/vnd.pwg-xhtml-print+xml":{source:`iana`,compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:`iana`},"application/vnd.quarantainenet":{source:`iana`},"application/vnd.quark.quarkxpress":{source:`iana`,extensions:[`qxd`,`qxt`,`qwd`,`qwt`,`qxl`,`qxb`]},"application/vnd.quobject-quoxdocument":{source:`iana`},"application/vnd.radisys.moml+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:`iana`,compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:`iana`,compressible:!0},"application/vnd.rainstor.data":{source:`iana`},"application/vnd.rapid":{source:`iana`},"application/vnd.rar":{source:`iana`,extensions:[`rar`]},"application/vnd.realvnc.bed":{source:`iana`,extensions:[`bed`]},"application/vnd.recordare.musicxml":{source:`iana`,extensions:[`mxl`]},"application/vnd.recordare.musicxml+xml":{source:`iana`,compressible:!0,extensions:[`musicxml`]},"application/vnd.renlearn.rlprint":{source:`iana`},"application/vnd.resilient.logic":{source:`iana`},"application/vnd.restful+json":{source:`iana`,compressible:!0},"application/vnd.rig.cryptonote":{source:`iana`,extensions:[`cryptonote`]},"application/vnd.rim.cod":{source:`apache`,extensions:[`cod`]},"application/vnd.rn-realmedia":{source:`apache`,extensions:[`rm`]},"application/vnd.rn-realmedia-vbr":{source:`apache`,extensions:[`rmvb`]},"application/vnd.route66.link66+xml":{source:`iana`,compressible:!0,extensions:[`link66`]},"application/vnd.rs-274x":{source:`iana`},"application/vnd.ruckus.download":{source:`iana`},"application/vnd.s3sms":{source:`iana`},"application/vnd.sailingtracker.track":{source:`iana`,extensions:[`st`]},"application/vnd.sar":{source:`iana`},"application/vnd.sbm.cid":{source:`iana`},"application/vnd.sbm.mid2":{source:`iana`},"application/vnd.scribus":{source:`iana`},"application/vnd.sealed.3df":{source:`iana`},"application/vnd.sealed.csf":{source:`iana`},"application/vnd.sealed.doc":{source:`iana`},"application/vnd.sealed.eml":{source:`iana`},"application/vnd.sealed.mht":{source:`iana`},"application/vnd.sealed.net":{source:`iana`},"application/vnd.sealed.ppt":{source:`iana`},"application/vnd.sealed.tiff":{source:`iana`},"application/vnd.sealed.xls":{source:`iana`},"application/vnd.sealedmedia.softseal.html":{source:`iana`},"application/vnd.sealedmedia.softseal.pdf":{source:`iana`},"application/vnd.seemail":{source:`iana`,extensions:[`see`]},"application/vnd.seis+json":{source:`iana`,compressible:!0},"application/vnd.sema":{source:`iana`,extensions:[`sema`]},"application/vnd.semd":{source:`iana`,extensions:[`semd`]},"application/vnd.semf":{source:`iana`,extensions:[`semf`]},"application/vnd.shade-save-file":{source:`iana`},"application/vnd.shana.informed.formdata":{source:`iana`,extensions:[`ifm`]},"application/vnd.shana.informed.formtemplate":{source:`iana`,extensions:[`itp`]},"application/vnd.shana.informed.interchange":{source:`iana`,extensions:[`iif`]},"application/vnd.shana.informed.package":{source:`iana`,extensions:[`ipk`]},"application/vnd.shootproof+json":{source:`iana`,compressible:!0},"application/vnd.shopkick+json":{source:`iana`,compressible:!0},"application/vnd.shp":{source:`iana`},"application/vnd.shx":{source:`iana`},"application/vnd.sigrok.session":{source:`iana`},"application/vnd.simtech-mindmapper":{source:`iana`,extensions:[`twd`,`twds`]},"application/vnd.siren+json":{source:`iana`,compressible:!0},"application/vnd.smaf":{source:`iana`,extensions:[`mmf`]},"application/vnd.smart.notebook":{source:`iana`},"application/vnd.smart.teacher":{source:`iana`,extensions:[`teacher`]},"application/vnd.snesdev-page-table":{source:`iana`},"application/vnd.software602.filler.form+xml":{source:`iana`,compressible:!0,extensions:[`fo`]},"application/vnd.software602.filler.form-xml-zip":{source:`iana`},"application/vnd.solent.sdkm+xml":{source:`iana`,compressible:!0,extensions:[`sdkm`,`sdkd`]},"application/vnd.spotfire.dxp":{source:`iana`,extensions:[`dxp`]},"application/vnd.spotfire.sfs":{source:`iana`,extensions:[`sfs`]},"application/vnd.sqlite3":{source:`iana`},"application/vnd.sss-cod":{source:`iana`},"application/vnd.sss-dtf":{source:`iana`},"application/vnd.sss-ntf":{source:`iana`},"application/vnd.stardivision.calc":{source:`apache`,extensions:[`sdc`]},"application/vnd.stardivision.draw":{source:`apache`,extensions:[`sda`]},"application/vnd.stardivision.impress":{source:`apache`,extensions:[`sdd`]},"application/vnd.stardivision.math":{source:`apache`,extensions:[`smf`]},"application/vnd.stardivision.writer":{source:`apache`,extensions:[`sdw`,`vor`]},"application/vnd.stardivision.writer-global":{source:`apache`,extensions:[`sgl`]},"application/vnd.stepmania.package":{source:`iana`,extensions:[`smzip`]},"application/vnd.stepmania.stepchart":{source:`iana`,extensions:[`sm`]},"application/vnd.street-stream":{source:`iana`},"application/vnd.sun.wadl+xml":{source:`iana`,compressible:!0,extensions:[`wadl`]},"application/vnd.sun.xml.calc":{source:`apache`,extensions:[`sxc`]},"application/vnd.sun.xml.calc.template":{source:`apache`,extensions:[`stc`]},"application/vnd.sun.xml.draw":{source:`apache`,extensions:[`sxd`]},"application/vnd.sun.xml.draw.template":{source:`apache`,extensions:[`std`]},"application/vnd.sun.xml.impress":{source:`apache`,extensions:[`sxi`]},"application/vnd.sun.xml.impress.template":{source:`apache`,extensions:[`sti`]},"application/vnd.sun.xml.math":{source:`apache`,extensions:[`sxm`]},"application/vnd.sun.xml.writer":{source:`apache`,extensions:[`sxw`]},"application/vnd.sun.xml.writer.global":{source:`apache`,extensions:[`sxg`]},"application/vnd.sun.xml.writer.template":{source:`apache`,extensions:[`stw`]},"application/vnd.sus-calendar":{source:`iana`,extensions:[`sus`,`susp`]},"application/vnd.svd":{source:`iana`,extensions:[`svd`]},"application/vnd.swiftview-ics":{source:`iana`},"application/vnd.sycle+xml":{source:`iana`,compressible:!0},"application/vnd.syft+json":{source:`iana`,compressible:!0},"application/vnd.symbian.install":{source:`apache`,extensions:[`sis`,`sisx`]},"application/vnd.syncml+xml":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`xsm`]},"application/vnd.syncml.dm+wbxml":{source:`iana`,charset:`UTF-8`,extensions:[`bdm`]},"application/vnd.syncml.dm+xml":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`xdm`]},"application/vnd.syncml.dm.notification":{source:`iana`},"application/vnd.syncml.dmddf+wbxml":{source:`iana`},"application/vnd.syncml.dmddf+xml":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`ddf`]},"application/vnd.syncml.dmtnds+wbxml":{source:`iana`},"application/vnd.syncml.dmtnds+xml":{source:`iana`,charset:`UTF-8`,compressible:!0},"application/vnd.syncml.ds.notification":{source:`iana`},"application/vnd.tableschema+json":{source:`iana`,compressible:!0},"application/vnd.tao.intent-module-archive":{source:`iana`,extensions:[`tao`]},"application/vnd.tcpdump.pcap":{source:`iana`,extensions:[`pcap`,`cap`,`dmp`]},"application/vnd.think-cell.ppttc+json":{source:`iana`,compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:`iana`,compressible:!0},"application/vnd.tml":{source:`iana`},"application/vnd.tmobile-livetv":{source:`iana`,extensions:[`tmo`]},"application/vnd.tri.onesource":{source:`iana`},"application/vnd.trid.tpt":{source:`iana`,extensions:[`tpt`]},"application/vnd.triscape.mxs":{source:`iana`,extensions:[`mxs`]},"application/vnd.trueapp":{source:`iana`,extensions:[`tra`]},"application/vnd.truedoc":{source:`iana`},"application/vnd.ubisoft.webplayer":{source:`iana`},"application/vnd.ufdl":{source:`iana`,extensions:[`ufd`,`ufdl`]},"application/vnd.uiq.theme":{source:`iana`,extensions:[`utz`]},"application/vnd.umajin":{source:`iana`,extensions:[`umj`]},"application/vnd.unity":{source:`iana`,extensions:[`unityweb`]},"application/vnd.uoml+xml":{source:`iana`,compressible:!0,extensions:[`uoml`]},"application/vnd.uplanet.alert":{source:`iana`},"application/vnd.uplanet.alert-wbxml":{source:`iana`},"application/vnd.uplanet.bearer-choice":{source:`iana`},"application/vnd.uplanet.bearer-choice-wbxml":{source:`iana`},"application/vnd.uplanet.cacheop":{source:`iana`},"application/vnd.uplanet.cacheop-wbxml":{source:`iana`},"application/vnd.uplanet.channel":{source:`iana`},"application/vnd.uplanet.channel-wbxml":{source:`iana`},"application/vnd.uplanet.list":{source:`iana`},"application/vnd.uplanet.list-wbxml":{source:`iana`},"application/vnd.uplanet.listcmd":{source:`iana`},"application/vnd.uplanet.listcmd-wbxml":{source:`iana`},"application/vnd.uplanet.signal":{source:`iana`},"application/vnd.uri-map":{source:`iana`},"application/vnd.valve.source.material":{source:`iana`},"application/vnd.vcx":{source:`iana`,extensions:[`vcx`]},"application/vnd.vd-study":{source:`iana`},"application/vnd.vectorworks":{source:`iana`},"application/vnd.vel+json":{source:`iana`,compressible:!0},"application/vnd.verimatrix.vcas":{source:`iana`},"application/vnd.veritone.aion+json":{source:`iana`,compressible:!0},"application/vnd.veryant.thin":{source:`iana`},"application/vnd.ves.encrypted":{source:`iana`},"application/vnd.vidsoft.vidconference":{source:`iana`},"application/vnd.visio":{source:`iana`,extensions:[`vsd`,`vst`,`vss`,`vsw`]},"application/vnd.visionary":{source:`iana`,extensions:[`vis`]},"application/vnd.vividence.scriptfile":{source:`iana`},"application/vnd.vsf":{source:`iana`,extensions:[`vsf`]},"application/vnd.wap.sic":{source:`iana`},"application/vnd.wap.slc":{source:`iana`},"application/vnd.wap.wbxml":{source:`iana`,charset:`UTF-8`,extensions:[`wbxml`]},"application/vnd.wap.wmlc":{source:`iana`,extensions:[`wmlc`]},"application/vnd.wap.wmlscriptc":{source:`iana`,extensions:[`wmlsc`]},"application/vnd.webturbo":{source:`iana`,extensions:[`wtb`]},"application/vnd.wfa.dpp":{source:`iana`},"application/vnd.wfa.p2p":{source:`iana`},"application/vnd.wfa.wsc":{source:`iana`},"application/vnd.windows.devicepairing":{source:`iana`},"application/vnd.wmc":{source:`iana`},"application/vnd.wmf.bootstrap":{source:`iana`},"application/vnd.wolfram.mathematica":{source:`iana`},"application/vnd.wolfram.mathematica.package":{source:`iana`},"application/vnd.wolfram.player":{source:`iana`,extensions:[`nbp`]},"application/vnd.wordperfect":{source:`iana`,extensions:[`wpd`]},"application/vnd.wqd":{source:`iana`,extensions:[`wqd`]},"application/vnd.wrq-hp3000-labelled":{source:`iana`},"application/vnd.wt.stf":{source:`iana`,extensions:[`stf`]},"application/vnd.wv.csp+wbxml":{source:`iana`},"application/vnd.wv.csp+xml":{source:`iana`,compressible:!0},"application/vnd.wv.ssp+xml":{source:`iana`,compressible:!0},"application/vnd.xacml+json":{source:`iana`,compressible:!0},"application/vnd.xara":{source:`iana`,extensions:[`xar`]},"application/vnd.xfdl":{source:`iana`,extensions:[`xfdl`]},"application/vnd.xfdl.webform":{source:`iana`},"application/vnd.xmi+xml":{source:`iana`,compressible:!0},"application/vnd.xmpie.cpkg":{source:`iana`},"application/vnd.xmpie.dpkg":{source:`iana`},"application/vnd.xmpie.plan":{source:`iana`},"application/vnd.xmpie.ppkg":{source:`iana`},"application/vnd.xmpie.xlim":{source:`iana`},"application/vnd.yamaha.hv-dic":{source:`iana`,extensions:[`hvd`]},"application/vnd.yamaha.hv-script":{source:`iana`,extensions:[`hvs`]},"application/vnd.yamaha.hv-voice":{source:`iana`,extensions:[`hvp`]},"application/vnd.yamaha.openscoreformat":{source:`iana`,extensions:[`osf`]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:`iana`,compressible:!0,extensions:[`osfpvg`]},"application/vnd.yamaha.remote-setup":{source:`iana`},"application/vnd.yamaha.smaf-audio":{source:`iana`,extensions:[`saf`]},"application/vnd.yamaha.smaf-phrase":{source:`iana`,extensions:[`spf`]},"application/vnd.yamaha.through-ngn":{source:`iana`},"application/vnd.yamaha.tunnel-udpencap":{source:`iana`},"application/vnd.yaoweme":{source:`iana`},"application/vnd.yellowriver-custom-menu":{source:`iana`,extensions:[`cmp`]},"application/vnd.youtube.yt":{source:`iana`},"application/vnd.zul":{source:`iana`,extensions:[`zir`,`zirz`]},"application/vnd.zzazz.deck+xml":{source:`iana`,compressible:!0,extensions:[`zaz`]},"application/voicexml+xml":{source:`iana`,compressible:!0,extensions:[`vxml`]},"application/voucher-cms+json":{source:`iana`,compressible:!0},"application/vq-rtcpxr":{source:`iana`},"application/wasm":{source:`iana`,compressible:!0,extensions:[`wasm`]},"application/watcherinfo+xml":{source:`iana`,compressible:!0,extensions:[`wif`]},"application/webpush-options+json":{source:`iana`,compressible:!0},"application/whoispp-query":{source:`iana`},"application/whoispp-response":{source:`iana`},"application/widget":{source:`iana`,extensions:[`wgt`]},"application/winhlp":{source:`apache`,extensions:[`hlp`]},"application/wita":{source:`iana`},"application/wordperfect5.1":{source:`iana`},"application/wsdl+xml":{source:`iana`,compressible:!0,extensions:[`wsdl`]},"application/wspolicy+xml":{source:`iana`,compressible:!0,extensions:[`wspolicy`]},"application/x-7z-compressed":{source:`apache`,compressible:!1,extensions:[`7z`]},"application/x-abiword":{source:`apache`,extensions:[`abw`]},"application/x-ace-compressed":{source:`apache`,extensions:[`ace`]},"application/x-amf":{source:`apache`},"application/x-apple-diskimage":{source:`apache`,extensions:[`dmg`]},"application/x-arj":{compressible:!1,extensions:[`arj`]},"application/x-authorware-bin":{source:`apache`,extensions:[`aab`,`x32`,`u32`,`vox`]},"application/x-authorware-map":{source:`apache`,extensions:[`aam`]},"application/x-authorware-seg":{source:`apache`,extensions:[`aas`]},"application/x-bcpio":{source:`apache`,extensions:[`bcpio`]},"application/x-bdoc":{compressible:!1,extensions:[`bdoc`]},"application/x-bittorrent":{source:`apache`,extensions:[`torrent`]},"application/x-blorb":{source:`apache`,extensions:[`blb`,`blorb`]},"application/x-bzip":{source:`apache`,compressible:!1,extensions:[`bz`]},"application/x-bzip2":{source:`apache`,compressible:!1,extensions:[`bz2`,`boz`]},"application/x-cbr":{source:`apache`,extensions:[`cbr`,`cba`,`cbt`,`cbz`,`cb7`]},"application/x-cdlink":{source:`apache`,extensions:[`vcd`]},"application/x-cfs-compressed":{source:`apache`,extensions:[`cfs`]},"application/x-chat":{source:`apache`,extensions:[`chat`]},"application/x-chess-pgn":{source:`apache`,extensions:[`pgn`]},"application/x-chrome-extension":{extensions:[`crx`]},"application/x-cocoa":{source:`nginx`,extensions:[`cco`]},"application/x-compress":{source:`apache`},"application/x-conference":{source:`apache`,extensions:[`nsc`]},"application/x-cpio":{source:`apache`,extensions:[`cpio`]},"application/x-csh":{source:`apache`,extensions:[`csh`]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:`apache`,extensions:[`deb`,`udeb`]},"application/x-dgc-compressed":{source:`apache`,extensions:[`dgc`]},"application/x-director":{source:`apache`,extensions:[`dir`,`dcr`,`dxr`,`cst`,`cct`,`cxt`,`w3d`,`fgd`,`swa`]},"application/x-doom":{source:`apache`,extensions:[`wad`]},"application/x-dtbncx+xml":{source:`apache`,compressible:!0,extensions:[`ncx`]},"application/x-dtbook+xml":{source:`apache`,compressible:!0,extensions:[`dtb`]},"application/x-dtbresource+xml":{source:`apache`,compressible:!0,extensions:[`res`]},"application/x-dvi":{source:`apache`,compressible:!1,extensions:[`dvi`]},"application/x-envoy":{source:`apache`,extensions:[`evy`]},"application/x-eva":{source:`apache`,extensions:[`eva`]},"application/x-font-bdf":{source:`apache`,extensions:[`bdf`]},"application/x-font-dos":{source:`apache`},"application/x-font-framemaker":{source:`apache`},"application/x-font-ghostscript":{source:`apache`,extensions:[`gsf`]},"application/x-font-libgrx":{source:`apache`},"application/x-font-linux-psf":{source:`apache`,extensions:[`psf`]},"application/x-font-pcf":{source:`apache`,extensions:[`pcf`]},"application/x-font-snf":{source:`apache`,extensions:[`snf`]},"application/x-font-speedo":{source:`apache`},"application/x-font-sunos-news":{source:`apache`},"application/x-font-type1":{source:`apache`,extensions:[`pfa`,`pfb`,`pfm`,`afm`]},"application/x-font-vfont":{source:`apache`},"application/x-freearc":{source:`apache`,extensions:[`arc`]},"application/x-futuresplash":{source:`apache`,extensions:[`spl`]},"application/x-gca-compressed":{source:`apache`,extensions:[`gca`]},"application/x-glulx":{source:`apache`,extensions:[`ulx`]},"application/x-gnumeric":{source:`apache`,extensions:[`gnumeric`]},"application/x-gramps-xml":{source:`apache`,extensions:[`gramps`]},"application/x-gtar":{source:`apache`,extensions:[`gtar`]},"application/x-gzip":{source:`apache`},"application/x-hdf":{source:`apache`,extensions:[`hdf`]},"application/x-httpd-php":{compressible:!0,extensions:[`php`]},"application/x-install-instructions":{source:`apache`,extensions:[`install`]},"application/x-iso9660-image":{source:`apache`,extensions:[`iso`]},"application/x-iwork-keynote-sffkey":{extensions:[`key`]},"application/x-iwork-numbers-sffnumbers":{extensions:[`numbers`]},"application/x-iwork-pages-sffpages":{extensions:[`pages`]},"application/x-java-archive-diff":{source:`nginx`,extensions:[`jardiff`]},"application/x-java-jnlp-file":{source:`apache`,compressible:!1,extensions:[`jnlp`]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:[`kdbx`]},"application/x-latex":{source:`apache`,compressible:!1,extensions:[`latex`]},"application/x-lua-bytecode":{extensions:[`luac`]},"application/x-lzh-compressed":{source:`apache`,extensions:[`lzh`,`lha`]},"application/x-makeself":{source:`nginx`,extensions:[`run`]},"application/x-mie":{source:`apache`,extensions:[`mie`]},"application/x-mobipocket-ebook":{source:`apache`,extensions:[`prc`,`mobi`]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:`apache`,extensions:[`application`]},"application/x-ms-shortcut":{source:`apache`,extensions:[`lnk`]},"application/x-ms-wmd":{source:`apache`,extensions:[`wmd`]},"application/x-ms-wmz":{source:`apache`,extensions:[`wmz`]},"application/x-ms-xbap":{source:`apache`,extensions:[`xbap`]},"application/x-msaccess":{source:`apache`,extensions:[`mdb`]},"application/x-msbinder":{source:`apache`,extensions:[`obd`]},"application/x-mscardfile":{source:`apache`,extensions:[`crd`]},"application/x-msclip":{source:`apache`,extensions:[`clp`]},"application/x-msdos-program":{extensions:[`exe`]},"application/x-msdownload":{source:`apache`,extensions:[`exe`,`dll`,`com`,`bat`,`msi`]},"application/x-msmediaview":{source:`apache`,extensions:[`mvb`,`m13`,`m14`]},"application/x-msmetafile":{source:`apache`,extensions:[`wmf`,`wmz`,`emf`,`emz`]},"application/x-msmoney":{source:`apache`,extensions:[`mny`]},"application/x-mspublisher":{source:`apache`,extensions:[`pub`]},"application/x-msschedule":{source:`apache`,extensions:[`scd`]},"application/x-msterminal":{source:`apache`,extensions:[`trm`]},"application/x-mswrite":{source:`apache`,extensions:[`wri`]},"application/x-netcdf":{source:`apache`,extensions:[`nc`,`cdf`]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:[`pac`]},"application/x-nzb":{source:`apache`,extensions:[`nzb`]},"application/x-perl":{source:`nginx`,extensions:[`pl`,`pm`]},"application/x-pilot":{source:`nginx`,extensions:[`prc`,`pdb`]},"application/x-pkcs12":{source:`apache`,compressible:!1,extensions:[`p12`,`pfx`]},"application/x-pkcs7-certificates":{source:`apache`,extensions:[`p7b`,`spc`]},"application/x-pkcs7-certreqresp":{source:`apache`,extensions:[`p7r`]},"application/x-pki-message":{source:`iana`},"application/x-rar-compressed":{source:`apache`,compressible:!1,extensions:[`rar`]},"application/x-redhat-package-manager":{source:`nginx`,extensions:[`rpm`]},"application/x-research-info-systems":{source:`apache`,extensions:[`ris`]},"application/x-sea":{source:`nginx`,extensions:[`sea`]},"application/x-sh":{source:`apache`,compressible:!0,extensions:[`sh`]},"application/x-shar":{source:`apache`,extensions:[`shar`]},"application/x-shockwave-flash":{source:`apache`,compressible:!1,extensions:[`swf`]},"application/x-silverlight-app":{source:`apache`,extensions:[`xap`]},"application/x-sql":{source:`apache`,extensions:[`sql`]},"application/x-stuffit":{source:`apache`,compressible:!1,extensions:[`sit`]},"application/x-stuffitx":{source:`apache`,extensions:[`sitx`]},"application/x-subrip":{source:`apache`,extensions:[`srt`]},"application/x-sv4cpio":{source:`apache`,extensions:[`sv4cpio`]},"application/x-sv4crc":{source:`apache`,extensions:[`sv4crc`]},"application/x-t3vm-image":{source:`apache`,extensions:[`t3`]},"application/x-tads":{source:`apache`,extensions:[`gam`]},"application/x-tar":{source:`apache`,compressible:!0,extensions:[`tar`]},"application/x-tcl":{source:`apache`,extensions:[`tcl`,`tk`]},"application/x-tex":{source:`apache`,extensions:[`tex`]},"application/x-tex-tfm":{source:`apache`,extensions:[`tfm`]},"application/x-texinfo":{source:`apache`,extensions:[`texinfo`,`texi`]},"application/x-tgif":{source:`apache`,extensions:[`obj`]},"application/x-ustar":{source:`apache`,extensions:[`ustar`]},"application/x-virtualbox-hdd":{compressible:!0,extensions:[`hdd`]},"application/x-virtualbox-ova":{compressible:!0,extensions:[`ova`]},"application/x-virtualbox-ovf":{compressible:!0,extensions:[`ovf`]},"application/x-virtualbox-vbox":{compressible:!0,extensions:[`vbox`]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:[`vbox-extpack`]},"application/x-virtualbox-vdi":{compressible:!0,extensions:[`vdi`]},"application/x-virtualbox-vhd":{compressible:!0,extensions:[`vhd`]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:[`vmdk`]},"application/x-wais-source":{source:`apache`,extensions:[`src`]},"application/x-web-app-manifest+json":{compressible:!0,extensions:[`webapp`]},"application/x-www-form-urlencoded":{source:`iana`,compressible:!0},"application/x-x509-ca-cert":{source:`iana`,extensions:[`der`,`crt`,`pem`]},"application/x-x509-ca-ra-cert":{source:`iana`},"application/x-x509-next-ca-cert":{source:`iana`},"application/x-xfig":{source:`apache`,extensions:[`fig`]},"application/x-xliff+xml":{source:`apache`,compressible:!0,extensions:[`xlf`]},"application/x-xpinstall":{source:`apache`,compressible:!1,extensions:[`xpi`]},"application/x-xz":{source:`apache`,extensions:[`xz`]},"application/x-zmachine":{source:`apache`,extensions:[`z1`,`z2`,`z3`,`z4`,`z5`,`z6`,`z7`,`z8`]},"application/x400-bp":{source:`iana`},"application/xacml+xml":{source:`iana`,compressible:!0},"application/xaml+xml":{source:`apache`,compressible:!0,extensions:[`xaml`]},"application/xcap-att+xml":{source:`iana`,compressible:!0,extensions:[`xav`]},"application/xcap-caps+xml":{source:`iana`,compressible:!0,extensions:[`xca`]},"application/xcap-diff+xml":{source:`iana`,compressible:!0,extensions:[`xdf`]},"application/xcap-el+xml":{source:`iana`,compressible:!0,extensions:[`xel`]},"application/xcap-error+xml":{source:`iana`,compressible:!0},"application/xcap-ns+xml":{source:`iana`,compressible:!0,extensions:[`xns`]},"application/xcon-conference-info+xml":{source:`iana`,compressible:!0},"application/xcon-conference-info-diff+xml":{source:`iana`,compressible:!0},"application/xenc+xml":{source:`iana`,compressible:!0,extensions:[`xenc`]},"application/xhtml+xml":{source:`iana`,compressible:!0,extensions:[`xhtml`,`xht`]},"application/xhtml-voice+xml":{source:`apache`,compressible:!0},"application/xliff+xml":{source:`iana`,compressible:!0,extensions:[`xlf`]},"application/xml":{source:`iana`,compressible:!0,extensions:[`xml`,`xsl`,`xsd`,`rng`]},"application/xml-dtd":{source:`iana`,compressible:!0,extensions:[`dtd`]},"application/xml-external-parsed-entity":{source:`iana`},"application/xml-patch+xml":{source:`iana`,compressible:!0},"application/xmpp+xml":{source:`iana`,compressible:!0},"application/xop+xml":{source:`iana`,compressible:!0,extensions:[`xop`]},"application/xproc+xml":{source:`apache`,compressible:!0,extensions:[`xpl`]},"application/xslt+xml":{source:`iana`,compressible:!0,extensions:[`xsl`,`xslt`]},"application/xspf+xml":{source:`apache`,compressible:!0,extensions:[`xspf`]},"application/xv+xml":{source:`iana`,compressible:!0,extensions:[`mxml`,`xhvml`,`xvml`,`xvm`]},"application/yang":{source:`iana`,extensions:[`yang`]},"application/yang-data+json":{source:`iana`,compressible:!0},"application/yang-data+xml":{source:`iana`,compressible:!0},"application/yang-patch+json":{source:`iana`,compressible:!0},"application/yang-patch+xml":{source:`iana`,compressible:!0},"application/yin+xml":{source:`iana`,compressible:!0,extensions:[`yin`]},"application/zip":{source:`iana`,compressible:!1,extensions:[`zip`]},"application/zlib":{source:`iana`},"application/zstd":{source:`iana`},"audio/1d-interleaved-parityfec":{source:`iana`},"audio/32kadpcm":{source:`iana`},"audio/3gpp":{source:`iana`,compressible:!1,extensions:[`3gpp`]},"audio/3gpp2":{source:`iana`},"audio/aac":{source:`iana`},"audio/ac3":{source:`iana`},"audio/adpcm":{source:`apache`,extensions:[`adp`]},"audio/amr":{source:`iana`,extensions:[`amr`]},"audio/amr-wb":{source:`iana`},"audio/amr-wb+":{source:`iana`},"audio/aptx":{source:`iana`},"audio/asc":{source:`iana`},"audio/atrac-advanced-lossless":{source:`iana`},"audio/atrac-x":{source:`iana`},"audio/atrac3":{source:`iana`},"audio/basic":{source:`iana`,compressible:!1,extensions:[`au`,`snd`]},"audio/bv16":{source:`iana`},"audio/bv32":{source:`iana`},"audio/clearmode":{source:`iana`},"audio/cn":{source:`iana`},"audio/dat12":{source:`iana`},"audio/dls":{source:`iana`},"audio/dsr-es201108":{source:`iana`},"audio/dsr-es202050":{source:`iana`},"audio/dsr-es202211":{source:`iana`},"audio/dsr-es202212":{source:`iana`},"audio/dv":{source:`iana`},"audio/dvi4":{source:`iana`},"audio/eac3":{source:`iana`},"audio/encaprtp":{source:`iana`},"audio/evrc":{source:`iana`},"audio/evrc-qcp":{source:`iana`},"audio/evrc0":{source:`iana`},"audio/evrc1":{source:`iana`},"audio/evrcb":{source:`iana`},"audio/evrcb0":{source:`iana`},"audio/evrcb1":{source:`iana`},"audio/evrcnw":{source:`iana`},"audio/evrcnw0":{source:`iana`},"audio/evrcnw1":{source:`iana`},"audio/evrcwb":{source:`iana`},"audio/evrcwb0":{source:`iana`},"audio/evrcwb1":{source:`iana`},"audio/evs":{source:`iana`},"audio/flexfec":{source:`iana`},"audio/fwdred":{source:`iana`},"audio/g711-0":{source:`iana`},"audio/g719":{source:`iana`},"audio/g722":{source:`iana`},"audio/g7221":{source:`iana`},"audio/g723":{source:`iana`},"audio/g726-16":{source:`iana`},"audio/g726-24":{source:`iana`},"audio/g726-32":{source:`iana`},"audio/g726-40":{source:`iana`},"audio/g728":{source:`iana`},"audio/g729":{source:`iana`},"audio/g7291":{source:`iana`},"audio/g729d":{source:`iana`},"audio/g729e":{source:`iana`},"audio/gsm":{source:`iana`},"audio/gsm-efr":{source:`iana`},"audio/gsm-hr-08":{source:`iana`},"audio/ilbc":{source:`iana`},"audio/ip-mr_v2.5":{source:`iana`},"audio/isac":{source:`apache`},"audio/l16":{source:`iana`},"audio/l20":{source:`iana`},"audio/l24":{source:`iana`,compressible:!1},"audio/l8":{source:`iana`},"audio/lpc":{source:`iana`},"audio/melp":{source:`iana`},"audio/melp1200":{source:`iana`},"audio/melp2400":{source:`iana`},"audio/melp600":{source:`iana`},"audio/mhas":{source:`iana`},"audio/midi":{source:`apache`,extensions:[`mid`,`midi`,`kar`,`rmi`]},"audio/mobile-xmf":{source:`iana`,extensions:[`mxmf`]},"audio/mp3":{compressible:!1,extensions:[`mp3`]},"audio/mp4":{source:`iana`,compressible:!1,extensions:[`m4a`,`mp4a`]},"audio/mp4a-latm":{source:`iana`},"audio/mpa":{source:`iana`},"audio/mpa-robust":{source:`iana`},"audio/mpeg":{source:`iana`,compressible:!1,extensions:[`mpga`,`mp2`,`mp2a`,`mp3`,`m2a`,`m3a`]},"audio/mpeg4-generic":{source:`iana`},"audio/musepack":{source:`apache`},"audio/ogg":{source:`iana`,compressible:!1,extensions:[`oga`,`ogg`,`spx`,`opus`]},"audio/opus":{source:`iana`},"audio/parityfec":{source:`iana`},"audio/pcma":{source:`iana`},"audio/pcma-wb":{source:`iana`},"audio/pcmu":{source:`iana`},"audio/pcmu-wb":{source:`iana`},"audio/prs.sid":{source:`iana`},"audio/qcelp":{source:`iana`},"audio/raptorfec":{source:`iana`},"audio/red":{source:`iana`},"audio/rtp-enc-aescm128":{source:`iana`},"audio/rtp-midi":{source:`iana`},"audio/rtploopback":{source:`iana`},"audio/rtx":{source:`iana`},"audio/s3m":{source:`apache`,extensions:[`s3m`]},"audio/scip":{source:`iana`},"audio/silk":{source:`apache`,extensions:[`sil`]},"audio/smv":{source:`iana`},"audio/smv-qcp":{source:`iana`},"audio/smv0":{source:`iana`},"audio/sofa":{source:`iana`},"audio/sp-midi":{source:`iana`},"audio/speex":{source:`iana`},"audio/t140c":{source:`iana`},"audio/t38":{source:`iana`},"audio/telephone-event":{source:`iana`},"audio/tetra_acelp":{source:`iana`},"audio/tetra_acelp_bb":{source:`iana`},"audio/tone":{source:`iana`},"audio/tsvcis":{source:`iana`},"audio/uemclip":{source:`iana`},"audio/ulpfec":{source:`iana`},"audio/usac":{source:`iana`},"audio/vdvi":{source:`iana`},"audio/vmr-wb":{source:`iana`},"audio/vnd.3gpp.iufp":{source:`iana`},"audio/vnd.4sb":{source:`iana`},"audio/vnd.audiokoz":{source:`iana`},"audio/vnd.celp":{source:`iana`},"audio/vnd.cisco.nse":{source:`iana`},"audio/vnd.cmles.radio-events":{source:`iana`},"audio/vnd.cns.anp1":{source:`iana`},"audio/vnd.cns.inf1":{source:`iana`},"audio/vnd.dece.audio":{source:`iana`,extensions:[`uva`,`uvva`]},"audio/vnd.digital-winds":{source:`iana`,extensions:[`eol`]},"audio/vnd.dlna.adts":{source:`iana`},"audio/vnd.dolby.heaac.1":{source:`iana`},"audio/vnd.dolby.heaac.2":{source:`iana`},"audio/vnd.dolby.mlp":{source:`iana`},"audio/vnd.dolby.mps":{source:`iana`},"audio/vnd.dolby.pl2":{source:`iana`},"audio/vnd.dolby.pl2x":{source:`iana`},"audio/vnd.dolby.pl2z":{source:`iana`},"audio/vnd.dolby.pulse.1":{source:`iana`},"audio/vnd.dra":{source:`iana`,extensions:[`dra`]},"audio/vnd.dts":{source:`iana`,extensions:[`dts`]},"audio/vnd.dts.hd":{source:`iana`,extensions:[`dtshd`]},"audio/vnd.dts.uhd":{source:`iana`},"audio/vnd.dvb.file":{source:`iana`},"audio/vnd.everad.plj":{source:`iana`},"audio/vnd.hns.audio":{source:`iana`},"audio/vnd.lucent.voice":{source:`iana`,extensions:[`lvp`]},"audio/vnd.ms-playready.media.pya":{source:`iana`,extensions:[`pya`]},"audio/vnd.nokia.mobile-xmf":{source:`iana`},"audio/vnd.nortel.vbk":{source:`iana`},"audio/vnd.nuera.ecelp4800":{source:`iana`,extensions:[`ecelp4800`]},"audio/vnd.nuera.ecelp7470":{source:`iana`,extensions:[`ecelp7470`]},"audio/vnd.nuera.ecelp9600":{source:`iana`,extensions:[`ecelp9600`]},"audio/vnd.octel.sbc":{source:`iana`},"audio/vnd.presonus.multitrack":{source:`iana`},"audio/vnd.qcelp":{source:`iana`},"audio/vnd.rhetorex.32kadpcm":{source:`iana`},"audio/vnd.rip":{source:`iana`,extensions:[`rip`]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:`iana`},"audio/vnd.vmx.cvsd":{source:`iana`},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:`iana`,compressible:!1},"audio/vorbis-config":{source:`iana`},"audio/wav":{compressible:!1,extensions:[`wav`]},"audio/wave":{compressible:!1,extensions:[`wav`]},"audio/webm":{source:`apache`,compressible:!1,extensions:[`weba`]},"audio/x-aac":{source:`apache`,compressible:!1,extensions:[`aac`]},"audio/x-aiff":{source:`apache`,extensions:[`aif`,`aiff`,`aifc`]},"audio/x-caf":{source:`apache`,compressible:!1,extensions:[`caf`]},"audio/x-flac":{source:`apache`,extensions:[`flac`]},"audio/x-m4a":{source:`nginx`,extensions:[`m4a`]},"audio/x-matroska":{source:`apache`,extensions:[`mka`]},"audio/x-mpegurl":{source:`apache`,extensions:[`m3u`]},"audio/x-ms-wax":{source:`apache`,extensions:[`wax`]},"audio/x-ms-wma":{source:`apache`,extensions:[`wma`]},"audio/x-pn-realaudio":{source:`apache`,extensions:[`ram`,`ra`]},"audio/x-pn-realaudio-plugin":{source:`apache`,extensions:[`rmp`]},"audio/x-realaudio":{source:`nginx`,extensions:[`ra`]},"audio/x-tta":{source:`apache`},"audio/x-wav":{source:`apache`,extensions:[`wav`]},"audio/xm":{source:`apache`,extensions:[`xm`]},"chemical/x-cdx":{source:`apache`,extensions:[`cdx`]},"chemical/x-cif":{source:`apache`,extensions:[`cif`]},"chemical/x-cmdf":{source:`apache`,extensions:[`cmdf`]},"chemical/x-cml":{source:`apache`,extensions:[`cml`]},"chemical/x-csml":{source:`apache`,extensions:[`csml`]},"chemical/x-pdb":{source:`apache`},"chemical/x-xyz":{source:`apache`,extensions:[`xyz`]},"font/collection":{source:`iana`,extensions:[`ttc`]},"font/otf":{source:`iana`,compressible:!0,extensions:[`otf`]},"font/sfnt":{source:`iana`},"font/ttf":{source:`iana`,compressible:!0,extensions:[`ttf`]},"font/woff":{source:`iana`,extensions:[`woff`]},"font/woff2":{source:`iana`,extensions:[`woff2`]},"image/aces":{source:`iana`,extensions:[`exr`]},"image/apng":{compressible:!1,extensions:[`apng`]},"image/avci":{source:`iana`,extensions:[`avci`]},"image/avcs":{source:`iana`,extensions:[`avcs`]},"image/avif":{source:`iana`,compressible:!1,extensions:[`avif`]},"image/bmp":{source:`iana`,compressible:!0,extensions:[`bmp`]},"image/cgm":{source:`iana`,extensions:[`cgm`]},"image/dicom-rle":{source:`iana`,extensions:[`drle`]},"image/emf":{source:`iana`,extensions:[`emf`]},"image/fits":{source:`iana`,extensions:[`fits`]},"image/g3fax":{source:`iana`,extensions:[`g3`]},"image/gif":{source:`iana`,compressible:!1,extensions:[`gif`]},"image/heic":{source:`iana`,extensions:[`heic`]},"image/heic-sequence":{source:`iana`,extensions:[`heics`]},"image/heif":{source:`iana`,extensions:[`heif`]},"image/heif-sequence":{source:`iana`,extensions:[`heifs`]},"image/hej2k":{source:`iana`,extensions:[`hej2`]},"image/hsj2":{source:`iana`,extensions:[`hsj2`]},"image/ief":{source:`iana`,extensions:[`ief`]},"image/jls":{source:`iana`,extensions:[`jls`]},"image/jp2":{source:`iana`,compressible:!1,extensions:[`jp2`,`jpg2`]},"image/jpeg":{source:`iana`,compressible:!1,extensions:[`jpeg`,`jpg`,`jpe`]},"image/jph":{source:`iana`,extensions:[`jph`]},"image/jphc":{source:`iana`,extensions:[`jhc`]},"image/jpm":{source:`iana`,compressible:!1,extensions:[`jpm`]},"image/jpx":{source:`iana`,compressible:!1,extensions:[`jpx`,`jpf`]},"image/jxr":{source:`iana`,extensions:[`jxr`]},"image/jxra":{source:`iana`,extensions:[`jxra`]},"image/jxrs":{source:`iana`,extensions:[`jxrs`]},"image/jxs":{source:`iana`,extensions:[`jxs`]},"image/jxsc":{source:`iana`,extensions:[`jxsc`]},"image/jxsi":{source:`iana`,extensions:[`jxsi`]},"image/jxss":{source:`iana`,extensions:[`jxss`]},"image/ktx":{source:`iana`,extensions:[`ktx`]},"image/ktx2":{source:`iana`,extensions:[`ktx2`]},"image/naplps":{source:`iana`},"image/pjpeg":{compressible:!1},"image/png":{source:`iana`,compressible:!1,extensions:[`png`]},"image/prs.btif":{source:`iana`,extensions:[`btif`]},"image/prs.pti":{source:`iana`,extensions:[`pti`]},"image/pwg-raster":{source:`iana`},"image/sgi":{source:`apache`,extensions:[`sgi`]},"image/svg+xml":{source:`iana`,compressible:!0,extensions:[`svg`,`svgz`]},"image/t38":{source:`iana`,extensions:[`t38`]},"image/tiff":{source:`iana`,compressible:!1,extensions:[`tif`,`tiff`]},"image/tiff-fx":{source:`iana`,extensions:[`tfx`]},"image/vnd.adobe.photoshop":{source:`iana`,compressible:!0,extensions:[`psd`]},"image/vnd.airzip.accelerator.azv":{source:`iana`,extensions:[`azv`]},"image/vnd.cns.inf2":{source:`iana`},"image/vnd.dece.graphic":{source:`iana`,extensions:[`uvi`,`uvvi`,`uvg`,`uvvg`]},"image/vnd.djvu":{source:`iana`,extensions:[`djvu`,`djv`]},"image/vnd.dvb.subtitle":{source:`iana`,extensions:[`sub`]},"image/vnd.dwg":{source:`iana`,extensions:[`dwg`]},"image/vnd.dxf":{source:`iana`,extensions:[`dxf`]},"image/vnd.fastbidsheet":{source:`iana`,extensions:[`fbs`]},"image/vnd.fpx":{source:`iana`,extensions:[`fpx`]},"image/vnd.fst":{source:`iana`,extensions:[`fst`]},"image/vnd.fujixerox.edmics-mmr":{source:`iana`,extensions:[`mmr`]},"image/vnd.fujixerox.edmics-rlc":{source:`iana`,extensions:[`rlc`]},"image/vnd.globalgraphics.pgb":{source:`iana`},"image/vnd.microsoft.icon":{source:`iana`,compressible:!0,extensions:[`ico`]},"image/vnd.mix":{source:`iana`},"image/vnd.mozilla.apng":{source:`iana`},"image/vnd.ms-dds":{compressible:!0,extensions:[`dds`]},"image/vnd.ms-modi":{source:`iana`,extensions:[`mdi`]},"image/vnd.ms-photo":{source:`apache`,extensions:[`wdp`]},"image/vnd.net-fpx":{source:`iana`,extensions:[`npx`]},"image/vnd.pco.b16":{source:`iana`,extensions:[`b16`]},"image/vnd.radiance":{source:`iana`},"image/vnd.sealed.png":{source:`iana`},"image/vnd.sealedmedia.softseal.gif":{source:`iana`},"image/vnd.sealedmedia.softseal.jpg":{source:`iana`},"image/vnd.svf":{source:`iana`},"image/vnd.tencent.tap":{source:`iana`,extensions:[`tap`]},"image/vnd.valve.source.texture":{source:`iana`,extensions:[`vtf`]},"image/vnd.wap.wbmp":{source:`iana`,extensions:[`wbmp`]},"image/vnd.xiff":{source:`iana`,extensions:[`xif`]},"image/vnd.zbrush.pcx":{source:`iana`,extensions:[`pcx`]},"image/webp":{source:`apache`,extensions:[`webp`]},"image/wmf":{source:`iana`,extensions:[`wmf`]},"image/x-3ds":{source:`apache`,extensions:[`3ds`]},"image/x-cmu-raster":{source:`apache`,extensions:[`ras`]},"image/x-cmx":{source:`apache`,extensions:[`cmx`]},"image/x-freehand":{source:`apache`,extensions:[`fh`,`fhc`,`fh4`,`fh5`,`fh7`]},"image/x-icon":{source:`apache`,compressible:!0,extensions:[`ico`]},"image/x-jng":{source:`nginx`,extensions:[`jng`]},"image/x-mrsid-image":{source:`apache`,extensions:[`sid`]},"image/x-ms-bmp":{source:`nginx`,compressible:!0,extensions:[`bmp`]},"image/x-pcx":{source:`apache`,extensions:[`pcx`]},"image/x-pict":{source:`apache`,extensions:[`pic`,`pct`]},"image/x-portable-anymap":{source:`apache`,extensions:[`pnm`]},"image/x-portable-bitmap":{source:`apache`,extensions:[`pbm`]},"image/x-portable-graymap":{source:`apache`,extensions:[`pgm`]},"image/x-portable-pixmap":{source:`apache`,extensions:[`ppm`]},"image/x-rgb":{source:`apache`,extensions:[`rgb`]},"image/x-tga":{source:`apache`,extensions:[`tga`]},"image/x-xbitmap":{source:`apache`,extensions:[`xbm`]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:`apache`,extensions:[`xpm`]},"image/x-xwindowdump":{source:`apache`,extensions:[`xwd`]},"message/cpim":{source:`iana`},"message/delivery-status":{source:`iana`},"message/disposition-notification":{source:`iana`,extensions:[`disposition-notification`]},"message/external-body":{source:`iana`},"message/feedback-report":{source:`iana`},"message/global":{source:`iana`,extensions:[`u8msg`]},"message/global-delivery-status":{source:`iana`,extensions:[`u8dsn`]},"message/global-disposition-notification":{source:`iana`,extensions:[`u8mdn`]},"message/global-headers":{source:`iana`,extensions:[`u8hdr`]},"message/http":{source:`iana`,compressible:!1},"message/imdn+xml":{source:`iana`,compressible:!0},"message/news":{source:`iana`},"message/partial":{source:`iana`,compressible:!1},"message/rfc822":{source:`iana`,compressible:!0,extensions:[`eml`,`mime`]},"message/s-http":{source:`iana`},"message/sip":{source:`iana`},"message/sipfrag":{source:`iana`},"message/tracking-status":{source:`iana`},"message/vnd.si.simp":{source:`iana`},"message/vnd.wfa.wsc":{source:`iana`,extensions:[`wsc`]},"model/3mf":{source:`iana`,extensions:[`3mf`]},"model/e57":{source:`iana`},"model/gltf+json":{source:`iana`,compressible:!0,extensions:[`gltf`]},"model/gltf-binary":{source:`iana`,compressible:!0,extensions:[`glb`]},"model/iges":{source:`iana`,compressible:!1,extensions:[`igs`,`iges`]},"model/mesh":{source:`iana`,compressible:!1,extensions:[`msh`,`mesh`,`silo`]},"model/mtl":{source:`iana`,extensions:[`mtl`]},"model/obj":{source:`iana`,extensions:[`obj`]},"model/step":{source:`iana`},"model/step+xml":{source:`iana`,compressible:!0,extensions:[`stpx`]},"model/step+zip":{source:`iana`,compressible:!1,extensions:[`stpz`]},"model/step-xml+zip":{source:`iana`,compressible:!1,extensions:[`stpxz`]},"model/stl":{source:`iana`,extensions:[`stl`]},"model/vnd.collada+xml":{source:`iana`,compressible:!0,extensions:[`dae`]},"model/vnd.dwf":{source:`iana`,extensions:[`dwf`]},"model/vnd.flatland.3dml":{source:`iana`},"model/vnd.gdl":{source:`iana`,extensions:[`gdl`]},"model/vnd.gs-gdl":{source:`apache`},"model/vnd.gs.gdl":{source:`iana`},"model/vnd.gtw":{source:`iana`,extensions:[`gtw`]},"model/vnd.moml+xml":{source:`iana`,compressible:!0},"model/vnd.mts":{source:`iana`,extensions:[`mts`]},"model/vnd.opengex":{source:`iana`,extensions:[`ogex`]},"model/vnd.parasolid.transmit.binary":{source:`iana`,extensions:[`x_b`]},"model/vnd.parasolid.transmit.text":{source:`iana`,extensions:[`x_t`]},"model/vnd.pytha.pyox":{source:`iana`},"model/vnd.rosette.annotated-data-model":{source:`iana`},"model/vnd.sap.vds":{source:`iana`,extensions:[`vds`]},"model/vnd.usdz+zip":{source:`iana`,compressible:!1,extensions:[`usdz`]},"model/vnd.valve.source.compiled-map":{source:`iana`,extensions:[`bsp`]},"model/vnd.vtu":{source:`iana`,extensions:[`vtu`]},"model/vrml":{source:`iana`,compressible:!1,extensions:[`wrl`,`vrml`]},"model/x3d+binary":{source:`apache`,compressible:!1,extensions:[`x3db`,`x3dbz`]},"model/x3d+fastinfoset":{source:`iana`,extensions:[`x3db`]},"model/x3d+vrml":{source:`apache`,compressible:!1,extensions:[`x3dv`,`x3dvz`]},"model/x3d+xml":{source:`iana`,compressible:!0,extensions:[`x3d`,`x3dz`]},"model/x3d-vrml":{source:`iana`,extensions:[`x3dv`]},"multipart/alternative":{source:`iana`,compressible:!1},"multipart/appledouble":{source:`iana`},"multipart/byteranges":{source:`iana`},"multipart/digest":{source:`iana`},"multipart/encrypted":{source:`iana`,compressible:!1},"multipart/form-data":{source:`iana`,compressible:!1},"multipart/header-set":{source:`iana`},"multipart/mixed":{source:`iana`},"multipart/multilingual":{source:`iana`},"multipart/parallel":{source:`iana`},"multipart/related":{source:`iana`,compressible:!1},"multipart/report":{source:`iana`},"multipart/signed":{source:`iana`,compressible:!1},"multipart/vnd.bint.med-plus":{source:`iana`},"multipart/voice-message":{source:`iana`},"multipart/x-mixed-replace":{source:`iana`},"text/1d-interleaved-parityfec":{source:`iana`},"text/cache-manifest":{source:`iana`,compressible:!0,extensions:[`appcache`,`manifest`]},"text/calendar":{source:`iana`,extensions:[`ics`,`ifb`]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:[`coffee`,`litcoffee`]},"text/cql":{source:`iana`},"text/cql-expression":{source:`iana`},"text/cql-identifier":{source:`iana`},"text/css":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`css`]},"text/csv":{source:`iana`,compressible:!0,extensions:[`csv`]},"text/csv-schema":{source:`iana`},"text/directory":{source:`iana`},"text/dns":{source:`iana`},"text/ecmascript":{source:`iana`},"text/encaprtp":{source:`iana`},"text/enriched":{source:`iana`},"text/fhirpath":{source:`iana`},"text/flexfec":{source:`iana`},"text/fwdred":{source:`iana`},"text/gff3":{source:`iana`},"text/grammar-ref-list":{source:`iana`},"text/html":{source:`iana`,compressible:!0,extensions:[`html`,`htm`,`shtml`]},"text/jade":{extensions:[`jade`]},"text/javascript":{source:`iana`,compressible:!0},"text/jcr-cnd":{source:`iana`},"text/jsx":{compressible:!0,extensions:[`jsx`]},"text/less":{compressible:!0,extensions:[`less`]},"text/markdown":{source:`iana`,compressible:!0,extensions:[`markdown`,`md`]},"text/mathml":{source:`nginx`,extensions:[`mml`]},"text/mdx":{compressible:!0,extensions:[`mdx`]},"text/mizar":{source:`iana`},"text/n3":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`n3`]},"text/parameters":{source:`iana`,charset:`UTF-8`},"text/parityfec":{source:`iana`},"text/plain":{source:`iana`,compressible:!0,extensions:[`txt`,`text`,`conf`,`def`,`list`,`log`,`in`,`ini`]},"text/provenance-notation":{source:`iana`,charset:`UTF-8`},"text/prs.fallenstein.rst":{source:`iana`},"text/prs.lines.tag":{source:`iana`,extensions:[`dsc`]},"text/prs.prop.logic":{source:`iana`},"text/raptorfec":{source:`iana`},"text/red":{source:`iana`},"text/rfc822-headers":{source:`iana`},"text/richtext":{source:`iana`,compressible:!0,extensions:[`rtx`]},"text/rtf":{source:`iana`,compressible:!0,extensions:[`rtf`]},"text/rtp-enc-aescm128":{source:`iana`},"text/rtploopback":{source:`iana`},"text/rtx":{source:`iana`},"text/sgml":{source:`iana`,extensions:[`sgml`,`sgm`]},"text/shaclc":{source:`iana`},"text/shex":{source:`iana`,extensions:[`shex`]},"text/slim":{extensions:[`slim`,`slm`]},"text/spdx":{source:`iana`,extensions:[`spdx`]},"text/strings":{source:`iana`},"text/stylus":{extensions:[`stylus`,`styl`]},"text/t140":{source:`iana`},"text/tab-separated-values":{source:`iana`,compressible:!0,extensions:[`tsv`]},"text/troff":{source:`iana`,extensions:[`t`,`tr`,`roff`,`man`,`me`,`ms`]},"text/turtle":{source:`iana`,charset:`UTF-8`,extensions:[`ttl`]},"text/ulpfec":{source:`iana`},"text/uri-list":{source:`iana`,compressible:!0,extensions:[`uri`,`uris`,`urls`]},"text/vcard":{source:`iana`,compressible:!0,extensions:[`vcard`]},"text/vnd.a":{source:`iana`},"text/vnd.abc":{source:`iana`},"text/vnd.ascii-art":{source:`iana`},"text/vnd.curl":{source:`iana`,extensions:[`curl`]},"text/vnd.curl.dcurl":{source:`apache`,extensions:[`dcurl`]},"text/vnd.curl.mcurl":{source:`apache`,extensions:[`mcurl`]},"text/vnd.curl.scurl":{source:`apache`,extensions:[`scurl`]},"text/vnd.debian.copyright":{source:`iana`,charset:`UTF-8`},"text/vnd.dmclientscript":{source:`iana`},"text/vnd.dvb.subtitle":{source:`iana`,extensions:[`sub`]},"text/vnd.esmertec.theme-descriptor":{source:`iana`,charset:`UTF-8`},"text/vnd.familysearch.gedcom":{source:`iana`,extensions:[`ged`]},"text/vnd.ficlab.flt":{source:`iana`},"text/vnd.fly":{source:`iana`,extensions:[`fly`]},"text/vnd.fmi.flexstor":{source:`iana`,extensions:[`flx`]},"text/vnd.gml":{source:`iana`},"text/vnd.graphviz":{source:`iana`,extensions:[`gv`]},"text/vnd.hans":{source:`iana`},"text/vnd.hgl":{source:`iana`},"text/vnd.in3d.3dml":{source:`iana`,extensions:[`3dml`]},"text/vnd.in3d.spot":{source:`iana`,extensions:[`spot`]},"text/vnd.iptc.newsml":{source:`iana`},"text/vnd.iptc.nitf":{source:`iana`},"text/vnd.latex-z":{source:`iana`},"text/vnd.motorola.reflex":{source:`iana`},"text/vnd.ms-mediapackage":{source:`iana`},"text/vnd.net2phone.commcenter.command":{source:`iana`},"text/vnd.radisys.msml-basic-layout":{source:`iana`},"text/vnd.senx.warpscript":{source:`iana`},"text/vnd.si.uricatalogue":{source:`iana`},"text/vnd.sosi":{source:`iana`},"text/vnd.sun.j2me.app-descriptor":{source:`iana`,charset:`UTF-8`,extensions:[`jad`]},"text/vnd.trolltech.linguist":{source:`iana`,charset:`UTF-8`},"text/vnd.wap.si":{source:`iana`},"text/vnd.wap.sl":{source:`iana`},"text/vnd.wap.wml":{source:`iana`,extensions:[`wml`]},"text/vnd.wap.wmlscript":{source:`iana`,extensions:[`wmls`]},"text/vtt":{source:`iana`,charset:`UTF-8`,compressible:!0,extensions:[`vtt`]},"text/x-asm":{source:`apache`,extensions:[`s`,`asm`]},"text/x-c":{source:`apache`,extensions:[`c`,`cc`,`cxx`,`cpp`,`h`,`hh`,`dic`]},"text/x-component":{source:`nginx`,extensions:[`htc`]},"text/x-fortran":{source:`apache`,extensions:[`f`,`for`,`f77`,`f90`]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:[`hbs`]},"text/x-java-source":{source:`apache`,extensions:[`java`]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:[`lua`]},"text/x-markdown":{compressible:!0,extensions:[`mkd`]},"text/x-nfo":{source:`apache`,extensions:[`nfo`]},"text/x-opml":{source:`apache`,extensions:[`opml`]},"text/x-org":{compressible:!0,extensions:[`org`]},"text/x-pascal":{source:`apache`,extensions:[`p`,`pas`]},"text/x-processing":{compressible:!0,extensions:[`pde`]},"text/x-sass":{extensions:[`sass`]},"text/x-scss":{extensions:[`scss`]},"text/x-setext":{source:`apache`,extensions:[`etx`]},"text/x-sfv":{source:`apache`,extensions:[`sfv`]},"text/x-suse-ymp":{compressible:!0,extensions:[`ymp`]},"text/x-uuencode":{source:`apache`,extensions:[`uu`]},"text/x-vcalendar":{source:`apache`,extensions:[`vcs`]},"text/x-vcard":{source:`apache`,extensions:[`vcf`]},"text/xml":{source:`iana`,compressible:!0,extensions:[`xml`]},"text/xml-external-parsed-entity":{source:`iana`},"text/yaml":{compressible:!0,extensions:[`yaml`,`yml`]},"video/1d-interleaved-parityfec":{source:`iana`},"video/3gpp":{source:`iana`,extensions:[`3gp`,`3gpp`]},"video/3gpp-tt":{source:`iana`},"video/3gpp2":{source:`iana`,extensions:[`3g2`]},"video/av1":{source:`iana`},"video/bmpeg":{source:`iana`},"video/bt656":{source:`iana`},"video/celb":{source:`iana`},"video/dv":{source:`iana`},"video/encaprtp":{source:`iana`},"video/ffv1":{source:`iana`},"video/flexfec":{source:`iana`},"video/h261":{source:`iana`,extensions:[`h261`]},"video/h263":{source:`iana`,extensions:[`h263`]},"video/h263-1998":{source:`iana`},"video/h263-2000":{source:`iana`},"video/h264":{source:`iana`,extensions:[`h264`]},"video/h264-rcdo":{source:`iana`},"video/h264-svc":{source:`iana`},"video/h265":{source:`iana`},"video/iso.segment":{source:`iana`,extensions:[`m4s`]},"video/jpeg":{source:`iana`,extensions:[`jpgv`]},"video/jpeg2000":{source:`iana`},"video/jpm":{source:`apache`,extensions:[`jpm`,`jpgm`]},"video/jxsv":{source:`iana`},"video/mj2":{source:`iana`,extensions:[`mj2`,`mjp2`]},"video/mp1s":{source:`iana`},"video/mp2p":{source:`iana`},"video/mp2t":{source:`iana`,extensions:[`ts`]},"video/mp4":{source:`iana`,compressible:!1,extensions:[`mp4`,`mp4v`,`mpg4`]},"video/mp4v-es":{source:`iana`},"video/mpeg":{source:`iana`,compressible:!1,extensions:[`mpeg`,`mpg`,`mpe`,`m1v`,`m2v`]},"video/mpeg4-generic":{source:`iana`},"video/mpv":{source:`iana`},"video/nv":{source:`iana`},"video/ogg":{source:`iana`,compressible:!1,extensions:[`ogv`]},"video/parityfec":{source:`iana`},"video/pointer":{source:`iana`},"video/quicktime":{source:`iana`,compressible:!1,extensions:[`qt`,`mov`]},"video/raptorfec":{source:`iana`},"video/raw":{source:`iana`},"video/rtp-enc-aescm128":{source:`iana`},"video/rtploopback":{source:`iana`},"video/rtx":{source:`iana`},"video/scip":{source:`iana`},"video/smpte291":{source:`iana`},"video/smpte292m":{source:`iana`},"video/ulpfec":{source:`iana`},"video/vc1":{source:`iana`},"video/vc2":{source:`iana`},"video/vnd.cctv":{source:`iana`},"video/vnd.dece.hd":{source:`iana`,extensions:[`uvh`,`uvvh`]},"video/vnd.dece.mobile":{source:`iana`,extensions:[`uvm`,`uvvm`]},"video/vnd.dece.mp4":{source:`iana`},"video/vnd.dece.pd":{source:`iana`,extensions:[`uvp`,`uvvp`]},"video/vnd.dece.sd":{source:`iana`,extensions:[`uvs`,`uvvs`]},"video/vnd.dece.video":{source:`iana`,extensions:[`uvv`,`uvvv`]},"video/vnd.directv.mpeg":{source:`iana`},"video/vnd.directv.mpeg-tts":{source:`iana`},"video/vnd.dlna.mpeg-tts":{source:`iana`},"video/vnd.dvb.file":{source:`iana`,extensions:[`dvb`]},"video/vnd.fvt":{source:`iana`,extensions:[`fvt`]},"video/vnd.hns.video":{source:`iana`},"video/vnd.iptvforum.1dparityfec-1010":{source:`iana`},"video/vnd.iptvforum.1dparityfec-2005":{source:`iana`},"video/vnd.iptvforum.2dparityfec-1010":{source:`iana`},"video/vnd.iptvforum.2dparityfec-2005":{source:`iana`},"video/vnd.iptvforum.ttsavc":{source:`iana`},"video/vnd.iptvforum.ttsmpeg2":{source:`iana`},"video/vnd.motorola.video":{source:`iana`},"video/vnd.motorola.videop":{source:`iana`},"video/vnd.mpegurl":{source:`iana`,extensions:[`mxu`,`m4u`]},"video/vnd.ms-playready.media.pyv":{source:`iana`,extensions:[`pyv`]},"video/vnd.nokia.interleaved-multimedia":{source:`iana`},"video/vnd.nokia.mp4vr":{source:`iana`},"video/vnd.nokia.videovoip":{source:`iana`},"video/vnd.objectvideo":{source:`iana`},"video/vnd.radgamettools.bink":{source:`iana`},"video/vnd.radgamettools.smacker":{source:`iana`},"video/vnd.sealed.mpeg1":{source:`iana`},"video/vnd.sealed.mpeg4":{source:`iana`},"video/vnd.sealed.swf":{source:`iana`},"video/vnd.sealedmedia.softseal.mov":{source:`iana`},"video/vnd.uvvu.mp4":{source:`iana`,extensions:[`uvu`,`uvvu`]},"video/vnd.vivo":{source:`iana`,extensions:[`viv`]},"video/vnd.youtube.yt":{source:`iana`},"video/vp8":{source:`iana`},"video/vp9":{source:`iana`},"video/webm":{source:`apache`,compressible:!1,extensions:[`webm`]},"video/x-f4v":{source:`apache`,extensions:[`f4v`]},"video/x-fli":{source:`apache`,extensions:[`fli`]},"video/x-flv":{source:`apache`,compressible:!1,extensions:[`flv`]},"video/x-m4v":{source:`apache`,extensions:[`m4v`]},"video/x-matroska":{source:`apache`,compressible:!1,extensions:[`mkv`,`mk3d`,`mks`]},"video/x-mng":{source:`apache`,extensions:[`mng`]},"video/x-ms-asf":{source:`apache`,extensions:[`asf`,`asx`]},"video/x-ms-vob":{source:`apache`,extensions:[`vob`]},"video/x-ms-wm":{source:`apache`,extensions:[`wm`]},"video/x-ms-wmv":{source:`apache`,compressible:!1,extensions:[`wmv`]},"video/x-ms-wmx":{source:`apache`,extensions:[`wmx`]},"video/x-ms-wvx":{source:`apache`,extensions:[`wvx`]},"video/x-msvideo":{source:`apache`,extensions:[`avi`]},"video/x-sgi-movie":{source:`apache`,extensions:[`movie`]},"video/x-smv":{source:`apache`,extensions:[`smv`]},"x-conference/x-cooltalk":{source:`apache`,extensions:[`ice`]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}})),Pr=I(((e,t)=>{
/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*/
t.exports=Nr()})),Fr=I((e=>{var t=Pr(),n=R(`path`).extname,r=/^\s*([^;\s]*)(?:;|\s|$)/,i=/^text\//i;e.charset=a,e.charsets={lookup:a},e.contentType=o,e.extension=s,e.extensions=Object.create(null),e.lookup=c,e.types=Object.create(null),l(e.extensions,e.types);function a(e){if(!e||typeof e!=`string`)return!1;var n=r.exec(e),a=n&&t[n[1].toLowerCase()];return a&&a.charset?a.charset:n&&i.test(n[1])?`UTF-8`:!1}function o(t){if(!t||typeof t!=`string`)return!1;var n=t.indexOf(`/`)===-1?e.lookup(t):t;if(!n)return!1;if(n.indexOf(`charset`)===-1){var r=e.charset(n);r&&(n+=`; charset=`+r.toLowerCase())}return n}function s(t){if(!t||typeof t!=`string`)return!1;var n=r.exec(t),i=n&&e.extensions[n[1].toLowerCase()];return!i||!i.length?!1:i[0]}function c(t){if(!t||typeof t!=`string`)return!1;var r=n(`x.`+t).toLowerCase().substr(1);return r&&e.types[r]||!1}function l(e,n){var r=[`nginx`,`apache`,void 0,`iana`];Object.keys(t).forEach(function(i){var a=t[i],o=a.extensions;if(!(!o||!o.length)){e[i]=o;for(var s=0;s<o.length;s++){var c=o[s];if(n[c]){var l=r.indexOf(t[n[c]].source),u=r.indexOf(a.source);if(n[c]!==`application/octet-stream`&&(l>u||l===u&&n[c].substr(0,12)===`application/`))continue}n[c]=i}}})}})),Ir=I(((e,t)=>{t.exports=n;function n(e){var t=typeof setImmediate==`function`?setImmediate:typeof process==`object`&&typeof process.nextTick==`function`?process.nextTick:null;t?t(e):setTimeout(e,0)}})),Lr=I(((e,t)=>{var n=Ir();t.exports=r;function r(e){var t=!1;return n(function(){t=!0}),function(r,i){t?e(r,i):n(function(){e(r,i)})}}})),Rr=I(((e,t)=>{t.exports=n;function n(e){Object.keys(e.jobs).forEach(r.bind(e)),e.jobs={}}function r(e){typeof this.jobs[e]==`function`&&this.jobs[e]()}})),zr=I(((e,t)=>{var n=Lr(),r=Rr();t.exports=i;function i(e,t,n,i){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=a(t,o,e[o],function(e,t){o in n.jobs&&(delete n.jobs[o],e?r(n):n.results[o]=t,i(e,n.results))})}function a(e,t,r,i){return e.length==2?e(r,n(i)):e(r,t,n(i))}})),Br=I(((e,t)=>{t.exports=n;function n(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(n,r){return t(e[n],e[r])}),r}})),Vr=I(((e,t)=>{var n=Rr(),r=Lr();t.exports=i;function i(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),r(e)(null,this.results))}})),Hr=I(((e,t)=>{var n=zr(),r=Br(),i=Vr();t.exports=a;function a(e,t,a){for(var o=r(e);o.index<(o.keyedList||e).length;)n(e,t,o,function(e,t){if(e){a(e,t);return}if(Object.keys(o.jobs).length===0){a(null,o.results);return}}),o.index++;return i.bind(o,a)}})),Ur=I(((e,t)=>{var n=zr(),r=Br(),i=Vr();t.exports=a,t.exports.ascending=o,t.exports.descending=s;function a(e,t,a,o){var s=r(e,a);return n(e,t,s,function r(i,a){if(i){o(i,a);return}if(s.index++,s.index<(s.keyedList||e).length){n(e,t,s,r);return}o(null,s.results)}),i.bind(s,o)}function o(e,t){return e<t?-1:e>t?1:0}function s(e,t){return-1*o(e,t)}})),Wr=I(((e,t)=>{var n=Ur();t.exports=r;function r(e,t,r){return n(e,t,null,r)}})),Gr=I(((e,t)=>{t.exports={parallel:Hr(),serial:Wr(),serialOrdered:Ur()}})),Kr=I(((e,t)=>{t.exports=Object})),qr=I(((e,t)=>{t.exports=Error})),Jr=I(((e,t)=>{t.exports=EvalError})),Yr=I(((e,t)=>{t.exports=RangeError})),Xr=I(((e,t)=>{t.exports=ReferenceError})),Zr=I(((e,t)=>{t.exports=SyntaxError})),Qr=I(((e,t)=>{t.exports=TypeError})),$r=I(((e,t)=>{t.exports=URIError})),ei=I(((e,t)=>{t.exports=Math.abs})),ti=I(((e,t)=>{t.exports=Math.floor})),ni=I(((e,t)=>{t.exports=Math.max})),ri=I(((e,t)=>{t.exports=Math.min})),ii=I(((e,t)=>{t.exports=Math.pow})),ai=I(((e,t)=>{t.exports=Math.round})),oi=I(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),si=I(((e,t)=>{var n=oi();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),ci=I(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),li=I(((e,t)=>{var n=ci();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),ui=I(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),di=I(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),fi=I(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=di();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),pi=I(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),mi=I(((e,t)=>{t.exports=Kr().getPrototypeOf||null})),hi=I(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),gi=I(((e,t)=>{var n=hi();t.exports=Function.prototype.bind||n})),_i=I(((e,t)=>{t.exports=Function.prototype.call})),vi=I(((e,t)=>{t.exports=Function.prototype.apply})),yi=I(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),bi=I(((e,t)=>{var n=gi(),r=vi(),i=_i();t.exports=yi()||n.call(i,r)})),xi=I(((e,t)=>{var n=gi(),r=Qr(),i=_i(),a=bi();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),Si=I(((e,t)=>{var n=xi(),r=li(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1})),Ci=I(((e,t)=>{var n=pi(),r=mi(),i=Si();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),wi=I(((e,t)=>{let n=async function(){}.constructor;t.exports=()=>n})),Ti=I(((e,t)=>{let n=function*(){}.constructor;t.exports=()=>n})),Ei=I(((e,t)=>{let n=async function*(){}.constructor;t.exports=()=>n})),Di=I(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=gi().call(n,r)})),Oi=I(((e,t)=>{var n,r=Kr(),i=qr(),a=Jr(),o=Yr(),s=Xr(),c=Zr(),l=Qr(),u=$r(),d=ei(),f=ti(),p=ni(),m=ri(),h=ii(),g=ai(),_=si(),v=li(),y=ui(),b=function(){throw new l},x=v?function(){try{return arguments.callee,b}catch{try{return v(arguments,`callee`).get}catch{return b}}}():b,S=fi()(),C=Ci(),w=mi(),T=pi(),E=vi(),D=_i(),O={},k=typeof Uint8Array>`u`||!C?n:C(Uint8Array),A={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":S&&C?C([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":Function,"%GeneratorFunction%":O,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&C?C(C([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!S||!C?n:C(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":v,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!S||!C?n:C(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&C?C(``[Symbol.iterator]()):n,"%Symbol%":S?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":x,"%TypedArray%":k,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":E,"%Object.defineProperty%":y,"%Object.getPrototypeOf%":w,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":T};if(C)try{null.error}catch(e){A[`%Error.prototype%`]=C(C(e))}var j=wi(),ee=Ti(),te=Ei(),ne=function e(t){var n;if(t===`%AsyncFunction%`)n=j()||void 0;else if(t===`%GeneratorFunction%`)n=ee()||void 0;else if(t===`%AsyncGeneratorFunction%`)n=te()||void 0;else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&C&&(n=C(i.prototype))}return A[t]=n,n},re={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},M=gi(),ie=Di(),ae=M.call(D,Array.prototype.concat),N=M.call(E,Array.prototype.splice),oe=M.call(D,String.prototype.replace),P=M.call(D,String.prototype.slice),F=M.call(D,RegExp.prototype.exec),se=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ce=/\\(\\)?/g,le=function(e){var t=P(e,0,1),n=P(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return oe(e,se,function(e,t,n,i){r[r.length]=n?oe(i,ce,`$1`):t||e}),r},ue=function(e,t){var n=e,r;if(ie(re,n)&&(r=re[n],n=`%`+r[0]+`%`),ie(A,n)){var i=A[n];if(i===O&&(i=ne(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(F(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=le(e),r=n.length>0?n[0]:``,i=ue(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],N(n,ae([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=P(p,0,1),h=P(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,ie(A,a))o=A[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(v&&d+1>=n.length){var g=v(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=ie(o,p),o=o[p];f&&!s&&(A[a]=o)}}return o}})),ki=I(((e,t)=>{var n=di();t.exports=function(){return n()&&!!Symbol.toStringTag}})),Ai=I(((e,t)=>{var n=Oi()(`%Object.defineProperty%`,!0),r=ki()(),i=Di(),a=Qr(),o=r?Symbol.toStringTag:null;t.exports=function(e,t){var r=arguments.length>2&&!!arguments[2]&&arguments[2].force,s=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(r!==void 0&&typeof r!=`boolean`||s!==void 0&&typeof s!=`boolean`)throw new a("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");o&&(r||!i(e,o))&&(n?n(e,o,{configurable:!s,enumerable:!1,value:t,writable:!1}):e[o]=t)}})),ji=I(((e,t)=>{t.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}})),Mi=L(I(((e,t)=>{var n=Mr(),r=R(`util`),i=R(`path`),a=R(`http`),o=R(`https`),s=R(`url`).parse,c=R(`fs`),l=R(`stream`).Stream,u=R(`crypto`),d=Fr(),f=Gr(),p=Ai(),m=Di(),h=ji();function g(e){if(!(this instanceof g))return new g(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],n.call(this),e||={},e)this[t]=e[t]}r.inherits(g,n),g.LINE_BREAK=`\r
`,g.DEFAULT_CONTENT_TYPE=`application/octet-stream`,g.prototype.append=function(e,t,r){r||={},typeof r==`string`&&(r={filename:r});var i=n.prototype.append.bind(this);if((typeof t==`number`||t==null)&&(t=String(t)),Array.isArray(t)){this._error(Error(`Arrays are not supported.`));return}var a=this._multiPartHeader(e,t,r),o=this._multiPartFooter();i(a),i(t),i(o),this._trackLength(a,t,r)},g.prototype._trackLength=function(e,t,n){var r=0;n.knownLength==null?Buffer.isBuffer(t)?r=t.length:typeof t==`string`&&(r=Buffer.byteLength(t)):r+=Number(n.knownLength),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+g.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&m(t,`httpVersion`))&&!(t instanceof l))&&(n.knownLength||this._valuesToMeasure.push(t))},g.prototype._lengthRetriever=function(e,t){m(e,`fd`)?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):c.stat(e.path,function(n,r){if(n){t(n);return}t(null,r.size-(e.start?e.start:0))}):m(e,`httpVersion`)?t(null,Number(e.headers[`content-length`])):m(e,`httpModule`)?(e.on(`response`,function(n){e.pause(),t(null,Number(n.headers[`content-length`]))}),e.resume()):t(`Unknown stream`)},g.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=``,o={"Content-Disposition":[`form-data`,`name="`+e+`"`].concat(r||[]),"Content-Type":[].concat(i||[])};typeof n.header==`object`&&h(o,n.header);var s;for(var c in o)if(m(o,c)){if(s=o[c],s==null)continue;Array.isArray(s)||(s=[s]),s.length&&(a+=c+`: `+s.join(`; `)+g.LINE_BREAK)}return`--`+this.getBoundary()+g.LINE_BREAK+a+g.LINE_BREAK},g.prototype._getContentDisposition=function(e,t){var n;if(typeof t.filepath==`string`?n=i.normalize(t.filepath).replace(/\\/g,`/`):t.filename||e&&(e.name||e.path)?n=i.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&m(e,`httpVersion`)&&(n=i.basename(e.client._httpMessage.path||``)),n)return`filename="`+n+`"`},g.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=d.lookup(e.name)),!n&&e&&e.path&&(n=d.lookup(e.path)),!n&&e&&e.readable&&m(e,`httpVersion`)&&(n=e.headers[`content-type`]),!n&&(t.filepath||t.filename)&&(n=d.lookup(t.filepath||t.filename)),!n&&e&&typeof e==`object`&&(n=g.DEFAULT_CONTENT_TYPE),n},g.prototype._multiPartFooter=function(){return function(e){var t=g.LINE_BREAK;this._streams.length===0&&(t+=this._lastBoundary()),e(t)}.bind(this)},g.prototype._lastBoundary=function(){return`--`+this.getBoundary()+`--`+g.LINE_BREAK},g.prototype.getHeaders=function(e){var t,n={"content-type":`multipart/form-data; boundary=`+this.getBoundary()};for(t in e)m(e,t)&&(n[t.toLowerCase()]=e[t]);return n},g.prototype.setBoundary=function(e){if(typeof e!=`string`)throw TypeError(`FormData boundary must be a string`);this._boundary=e},g.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},g.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`&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):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(g.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},g.prototype._generateBoundary=function(){this._boundary=`--------------------------`+u.randomBytes(12).toString(`hex`)},g.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(Error(`Cannot calculate proper length in synchronous way.`)),e},g.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},g.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}f.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,r){if(n){e(n);return}r.forEach(function(e){t+=e}),e(null,t)})},g.prototype.submit=function(e,t){var n,r,i={method:`post`};return typeof e==`string`?(e=s(e),r=h({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=h(e,i),r.port||=r.protocol===`https:`?443:80),r.headers=this.getHeaders(e.headers),n=r.protocol===`https:`?o.request(r):a.request(r),this.getLength(function(e,r){if(e&&e!==`Unknown stream`){this._error(e);return}if(r&&n.setHeader(`Content-Length`,r),this.pipe(n),t){var i,a=function(e,r){return n.removeListener(`error`,a),n.removeListener(`response`,i),t.call(this,e,r)};i=a.bind(this,null),n.on(`error`,a),n.on(`response`,i)}}.bind(this)),n},g.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(`error`,e))},g.prototype.toString=function(){return`[object FormData]`},p(g.prototype,`FormData`),t.exports=g}))(),1).default;function Ni(e){return q.isPlainObject(e)||q.isArray(e)}function Pi(e){return q.endsWith(e,`[]`)?e.slice(0,-2):e}function Fi(e,t,n){return e?e.concat(t).map(function(e,t){return e=Pi(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function Ii(e){return q.isArray(e)&&!e.some(Ni)}const Li=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function Ri(e,t,n){if(!q.isObject(e))throw TypeError(`target must be an object`);t||=new(Mi||FormData),n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||l,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<`u`&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw TypeError(`visitor must be a function`);function c(e){if(e===null)return``;if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!s&&q.isBlob(e))throw new Ar(`Blob is not supported. Use a Buffer instead.`);return q.isArrayBuffer(e)||q.isTypedArray(e)?s&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function l(e,n,i){let s=e;if(e&&!i&&typeof e==`object`){if(q.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(q.isArray(e)&&Ii(e)||(q.isFileList(e)||q.endsWith(n,`[]`))&&(s=q.toArray(e)))return n=Pi(n),s.forEach(function(e,r){!(q.isUndefined(e)||e===null)&&t.append(o===!0?Fi([n],r,a):o===null?n:n+`[]`,c(e))}),!1}return Ni(e)?!0:(t.append(Fi(i,n,a),c(e)),!1)}let u=[],d=Object.assign(Li,{defaultVisitor:l,convertValue:c,isVisitable:Ni});function f(e,n){if(!q.isUndefined(e)){if(u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),q.forEach(e,function(e,r){(!(q.isUndefined(e)||e===null)&&i.call(t,e,q.isString(r)?r.trim():r,n,d))===!0&&f(e,n?n.concat(r):[r])}),u.pop()}}if(!q.isObject(e))throw TypeError(`data must be an object`);return f(e),t}var zi=Ri;function Bi(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`,"%00":`\0`};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Vi(e,t){this._pairs=[],e&&zi(e,this,t)}const Hi=Vi.prototype;Hi.append=function(e,t){this._pairs.push([e,t])},Hi.toString=function(e){let t=e?function(t){return e.call(this,t,Bi)}:Bi;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};var Ui=Vi;function Wi(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function Gi(e,t,n){if(!t)return e;let r=n&&n.encode||Wi;q.isFunction(n)&&(n={serialize:n});let i=n&&n.serialize,a;if(a=i?i(t,n):q.isURLSearchParams(t)?t.toString():new Ui(t,n).toString(r),a){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+a}return e}var Ki=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){q.forEach(this.handlers,function(t){t!==null&&e(t)})}},qi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ji=f.URLSearchParams;const Yi=`abcdefghijklmnopqrstuvwxyz`,Xi={DIGIT:`0123456789`,ALPHA:Yi,ALPHA_DIGIT:Yi+`ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`};var Zi={isNode:!0,classes:{URLSearchParams:Ji,FormData:Mi,Blob:typeof Blob<`u`&&Blob||null},ALPHABET:Xi,generateString:(e=16,t=Xi.ALPHA_DIGIT)=>{let n=``,{length:r}=t,i=new Uint32Array(e);_.randomFillSync(i);for(let a=0;a<e;a++)n+=t[i[a]%r];return n},protocols:[`http`,`https`,`file`,`data`]},Qi=fe({hasBrowserEnv:()=>$i,hasStandardBrowserEnv:()=>ta,hasStandardBrowserWebWorkerEnv:()=>na,navigator:()=>ea,origin:()=>ra});const $i=typeof window<`u`&&typeof document<`u`,ea=typeof navigator==`object`&&navigator||void 0,ta=$i&&(!ea||[`ReactNative`,`NativeScript`,`NS`].indexOf(ea.product)<0),na=(()=>typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`)(),ra=$i&&window.location.href||`http://localhost`;var ia={...Qi,...Zi};function aa(e,t){return zi(e,new ia.classes.URLSearchParams,{visitor:function(e,t,n,r){return ia.isNode&&q.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}function oa(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(e=>e[0]===`[]`?``:e[1]||e[0])}function sa(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function ca(e){function t(e,n,r,i){let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&q.isArray(r)?r.length:a,s?(q.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o):((!r[a]||!q.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&q.isArray(r[a])&&(r[a]=sa(r[a])),!o)}if(q.isFormData(e)&&q.isFunction(e.entries)){let n={};return q.forEachEntry(e,(e,r)=>{t(oa(e),r,n,0)}),n}return null}var la=ca;function ua(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}const da={transitional:qi,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=q.isObject(e);if(i&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(la(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return aa(e,this.formSerializer).toString();if((a=q.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let t=this.env&&this.env.FormData;return zi(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType(`application/json`,!1),ua(e)):e}],transformResponse:[function(e){let t=this.transitional||da.transitional,n=t&&t.forcedJSONParsing,r=this.responseType===`json`;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!this.responseType||r)){let n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n)throw e.name===`SyntaxError`?Ar.from(e,Ar.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:ia.classes.FormData,Blob:ia.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`],e=>{da.headers[e]={}});var fa=da;const pa=q.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]);var ma=e=>{let t={},n,r,i;return e&&e.split(`
`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&pa[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};const ha=Symbol(`internals`);function ga(e){return e&&String(e).trim().toLowerCase()}function _a(e){return e===!1||e==null?e:q.isArray(e)?e.map(_a):String(e)}function va(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ya=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ba(e,t,n,r,i){if(q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function xa(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function Sa(e,t){let n=q.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var Ca=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=ga(t);if(!i)throw Error(`header name must be a non-empty string`);let a=q.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=_a(e))}let a=(e,t)=>q.forEach(e,(e,n)=>i(e,n,t));if(q.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(q.isString(e)&&(e=e.trim())&&!ya(e))a(ma(e),t);else if(q.isObject(e)&&q.isIterable(e)){let n={},r,i;for(let t of e){if(!q.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);n[i=t[0]]=(r=n[i])?q.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=ga(e),e){let n=q.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return va(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=ga(e),e){let n=q.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||ba(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=ga(e),e){let i=q.findKey(n,e);i&&(!t||ba(n,n[i],i,t))&&(delete n[i],r=!0)}}return q.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||ba(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return q.forEach(this,(r,i)=>{let a=q.findKey(n,i);if(a){t[a]=_a(r),delete t[i];return}let o=e?xa(i):String(i).trim();o!==i&&delete t[i],t[o]=_a(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&q.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
`)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[ha]=this[ha]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=ga(e);t[r]||(Sa(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}};Ca.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),q.reduceDescriptors(Ca.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),q.freezeMethods(Ca);var wa=Ca;function Ta(e,t){let n=this||fa,r=t||n,i=wa.from(r.headers),a=r.data;return q.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Ea(e){return!!(e&&e.__CANCEL__)}function Da(e,t,n){Ar.call(this,e??`canceled`,Ar.ERR_CANCELED,t,n),this.name=`CanceledError`}q.inherits(Da,Ar,{__CANCEL__:!0});var Oa=Da;function ka(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ar(`Request failed with status code `+n.status,[Ar.ERR_BAD_REQUEST,Ar.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Aa(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ja(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}function Ma(e,t,n){let r=!Aa(t);return e&&(r||n==0)?ja(e,t):t}var Na=I((e=>{var t=R(`url`).parse,n={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},r=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function i(e){var r=typeof e==`string`?t(e):e||{},i=r.protocol,s=r.host,c=r.port;if(typeof s!=`string`||!s||typeof i!=`string`||(i=i.split(`:`,1)[0],s=s.replace(/:\d*$/,``),c=parseInt(c)||n[i]||0,!a(s,c)))return``;var l=o(`npm_config_`+i+`_proxy`)||o(i+`_proxy`)||o(`npm_config_proxy`)||o(`all_proxy`);return l&&l.indexOf(`://`)===-1&&(l=i+`://`+l),l}function a(e,t){var n=(o(`npm_config_no_proxy`)||o(`no_proxy`)).toLowerCase();return n?n===`*`?!1:n.split(/[,\s]/).every(function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),a=i?i[1]:n,o=i?parseInt(i[2]):0;return o&&o!==t?!0:/^[.*]/.test(a)?(a.charAt(0)===`*`&&(a=a.slice(1)),!r.call(e,a)):e!==a}):!0}function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||``}e.getProxyForUrl=i})),Pa=I(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return c(e);if(n===`number`&&isFinite(e))return t.long?u(e):l(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function c(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 c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function l(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function u(e){var t=Math.abs(e);return t>=a?d(e,t,a,`day`):t>=i?d(e,t,i,`hour`):t>=r?d(e,t,r,`minute`):t>=n?d(e,t,n,`second`):e+` ms`}function d(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),Fa=I(((e,t)=>{function n(e){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=i,n.enabled=s,n.humanize=Pa(),n.destroy=l,Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={};function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return n.colors[Math.abs(t)%n.colors.length]}n.selectColor=t;function n(e){let t,i=null,a,o;function s(...e){if(!s.enabled)return;let r=s,i=Number(new Date);r.diff=i-(t||i),r.prev=t,r.curr=i,t=i,e[0]=n.coerce(e[0]),typeof e[0]!=`string`&&e.unshift(`%O`);let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,i)=>{if(t===`%%`)return`%`;a++;let o=n.formatters[i];if(typeof o==`function`){let n=e[a];t=o.call(r,n),e.splice(a,1),a--}return t}),n.formatArgs.call(r,e),(r.log||n.log).apply(r,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=r,s.destroy=n.destroy,Object.defineProperty(s,`enabled`,{enumerable:!0,configurable:!1,get:()=>i===null?(a!==n.namespaces&&(a=n.namespaces,o=n.enabled(e)),o):i,set:e=>{i=e}}),typeof n.init==`function`&&n.init(s),s}function r(e,t){let r=n(this.namespace+(t===void 0?`:`:t)+e);return r.log=this.log,r}function i(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?n.skips.push(e.slice(1)):n.names.push(e)}function a(e,t){let n=0,r=0,i=-1,a=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||t[r]===`*`))t[r]===`*`?(i=r,a=n,r++):(n++,r++);else if(i!==-1)r=i+1,a++,n=a;else return!1;for(;r<t.length&&t[r]===`*`;)r++;return r===t.length}function o(){let e=[...n.names,...n.skips.map(e=>`-`+e)].join(`,`);return n.enable(``),e}function s(e){for(let t of n.skips)if(a(e,t))return!1;for(let t of n.names)if(a(e,t))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}function l(){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}t.exports=n})),Ia=I(((e,t)=>{e.formatArgs=r,e.save=i,e.load=a,e.useColors=n,e.storage=o(),e.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`."))}})(),e.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`.split(`.`);function n(){if(typeof window<`u`&&window.process&&(window.process.type===`renderer`||window.process.__nwjs))return!0;if(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return 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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+t.exports.humanize(this.diff),!this.useColors)return;let n=`color: `+this.color;e.splice(1,0,n,`color: inherit`);let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{e!==`%%`&&(r++,e===`%c`&&(i=r))}),e.splice(i,0,n)}e.log=console.debug||console.log||(()=>{});function i(t){try{t?e.storage.setItem(`debug`,t):e.storage.removeItem(`debug`)}catch{}}function a(){let t;try{t=e.storage.getItem(`debug`)||e.storage.getItem(`DEBUG`)}catch{}return!t&&typeof process<`u`&&`env`in process&&(t=process.env.DEBUG),t}function o(){try{return localStorage}catch{}}t.exports=Fa()(e);let{formatters:s}=t.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return`[UnexpectedJSONParseError]: `+e.message}}})),La=I(((e,t)=>{t.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)}})),Ra=I(((e,t)=>{let n=R(`os`),r=R(`tty`),i=La(),{env:a}=process,o;i(`no-color`)||i(`no-colors`)||i(`color=false`)||i(`color=never`)?o=0:(i(`color`)||i(`colors`)||i(`color=true`)||i(`color=always`))&&(o=1),`FORCE_COLOR`in a&&(o=a.FORCE_COLOR===`true`?1:a.FORCE_COLOR===`false`?0:a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3));function s(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function c(e,t){if(o===0)return 0;if(i(`color=16m`)||i(`color=full`)||i(`color=truecolor`))return 3;if(i(`color=256`))return 2;if(e&&!t&&o===void 0)return 0;let r=o||0;if(a.TERM===`dumb`)return r;if(process.platform===`win32`){let e=n.release().split(`.`);return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if(`CI`in a)return[`TRAVIS`,`CIRCLECI`,`APPVEYOR`,`GITLAB_CI`,`GITHUB_ACTIONS`,`BUILDKITE`].some(e=>e in a)||a.CI_NAME===`codeship`?1:r;if(`TEAMCITY_VERSION`in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if(a.COLORTERM===`truecolor`)return 3;if(`TERM_PROGRAM`in a){let e=parseInt((a.TERM_PROGRAM_VERSION||``).split(`.`)[0],10);switch(a.TERM_PROGRAM){case`iTerm.app`:return e>=3?3:2;case`Apple_Terminal`:return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||`COLORTERM`in a?1:r}function l(e){return s(c(e,e&&e.isTTY))}t.exports={supportsColor:l,stdout:s(c(!0,r.isatty(1))),stderr:s(c(!0,r.isatty(2)))}})),za=I(((e,t)=>{let n=R(`tty`),r=R(`util`);e.init=u,e.log=s,e.formatArgs=a,e.save=c,e.load=l,e.useColors=i,e.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let t=Ra();t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),r=process.env[t];return r=/^(yes|on|true|enabled)$/i.test(r)?!0:/^(no|off|false|disabled)$/i.test(r)?!1:r===`null`?null:Number(r),e[n]=r,e},{});function i(){return`colors`in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)}function a(e){let{namespace:n,useColors:r}=this;if(r){let r=this.color,i=`\x1B[3`+(r<8?r:`8;5;`+r),a=` ${i};1m${n} \u001B[0m`;e[0]=a+e[0].split(`
`).join(`
`+a),e.push(i+`m+`+t.exports.humanize(this.diff)+`\x1B[0m`)}else e[0]=o()+n+` `+e[0]}function o(){return e.inspectOpts.hideDate?``:new Date().toISOString()+` `}function s(...t){return process.stderr.write(r.formatWithOptions(e.inspectOpts,...t)+`
`)}function c(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function l(){return process.env.DEBUG}function u(t){t.inspectOpts={};let n=Object.keys(e.inspectOpts);for(let r=0;r<n.length;r++)t.inspectOpts[n[r]]=e.inspectOpts[n[r]]}t.exports=Fa()(e);let{formatters:d}=t.exports;d.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split(`
`).map(e=>e.trim()).join(` `)},d.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}})),Ba=I(((e,t)=>{typeof process>`u`||process.type===`renderer`||process.browser===!0||process.__nwjs?t.exports=Ia():t.exports=za()})),Va=I(((e,t)=>{var n;t.exports=function(){if(!n){try{n=Ba()(`follow-redirects`)}catch{}typeof n!=`function`&&(n=function(){})}n.apply(null,arguments)}})),Ha=I(((e,t)=>{var n=R(`url`),r=n.URL,i=R(`http`),a=R(`https`),o=R(`stream`).Writable,s=R(`assert`),c=Va();(function(){var e=typeof process<`u`,t=typeof window<`u`&&typeof document<`u`,n=j(Error.captureStackTrace);!e&&(t||!n)&&console.warn(`The follow-redirects package should be excluded from browser builds.`)})();var l=!1;try{s(new r(``))}catch(e){l=e.code===`ERR_INVALID_URL`}var u=[`auth`,`host`,`hostname`,`href`,`path`,`pathname`,`port`,`protocol`,`query`,`search`,`hash`],d=[`abort`,`aborted`,`connect`,`error`,`socket`,`timeout`],f=Object.create(null);d.forEach(function(e){f[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}});var p=D(`ERR_INVALID_URL`,`Invalid URL`,TypeError),m=D(`ERR_FR_REDIRECTION_FAILURE`,`Redirected request failed`),h=D(`ERR_FR_TOO_MANY_REDIRECTS`,`Maximum number of redirects exceeded`,m),g=D(`ERR_FR_MAX_BODY_LENGTH_EXCEEDED`,`Request body larger than maxBodyLength limit`),_=D(`ERR_STREAM_WRITE_AFTER_END`,`write after end`),v=o.prototype.destroy||x;function y(e,t){o.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(e){try{n._processResponse(e)}catch(e){n.emit(`error`,e instanceof m?e:new m({cause:e}))}},this._performRequest()}y.prototype=Object.create(o.prototype),y.prototype.abort=function(){O(this._currentRequest),this._currentRequest.abort(),this.emit(`abort`)},y.prototype.destroy=function(e){return O(this._currentRequest,e),v.call(this,e),this},y.prototype.write=function(e,t,n){if(this._ending)throw new _;if(!A(e)&&!ee(e))throw TypeError(`data should be a string, Buffer or Uint8Array`);if(j(t)&&(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 g),this.abort())},y.prototype.end=function(e,t,n){if(j(e)?(n=e,e=t=null):j(t)&&(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}},y.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,t){var n=this;function r(t){t.setTimeout(e),t.removeListener(`timeout`,t.destroy),t.addListener(`timeout`,t.destroy)}function i(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit(`timeout`),a()},e),r(t)}function a(){n._timeout&&=(clearTimeout(n._timeout),null),n.removeListener(`abort`,a),n.removeListener(`error`,a),n.removeListener(`response`,a),n.removeListener(`close`,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.on(`close`,a),this},[`flushHeaders`,`getHeader`,`setNoDelay`,`setSocketKeepAlive`].forEach(function(e){y.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}}),[`aborted`,`connection`,`socket`].forEach(function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})}),y.prototype._sanitizeOptions=function(e){if(e.headers||={},e.host&&(e.hostname||=e.host,delete e.host),!e.pathname&&e.path){var t=e.path.indexOf(`?`);t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},y.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw TypeError(`Unsupported protocol `+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);i._redirectable=this;for(var a of d)i.on(a,f[a]);if(this._currentUrl=/^\//.test(this._options.path)?n.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,c=this._requestBodyBuffers;(function e(t){if(i===s._currentRequest)if(t)s.emit(`error`,t);else if(o<c.length){var n=c[o++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()})()}},y.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit(`response`,e),this._requestBodyBuffers=[];return}if(O(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new h;var i,a=this._options.beforeRedirect;a&&(i=Object.assign({Host:e.req.getHeader(`host`)},this._options.headers));var o=this._options.method;((t===301||t===302)&&this._options.method===`POST`||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method=`GET`,this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var s=E(/^host$/i,this._options.headers),l=S(this._currentUrl),u=s||l.host,d=/^\w+:/.test(r)?this._currentUrl:n.format(Object.assign(l,{host:u})),f=C(r,d);if(c(`redirecting to`,f.href),this._isRedirect=!0,T(f,this._options),(f.protocol!==l.protocol&&f.protocol!==`https:`||f.host!==u&&!k(f.host,u))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),j(a)){var p={headers:e.headers,statusCode:t},m={url:d,method:o,headers:i};a(this._options,p,m),this._sanitizeOptions(this._options)}this._performRequest()};function b(e){var t={maxRedirects:21,maxBodyLength:10*1024*1024},n={};return Object.keys(e).forEach(function(r){var i=r+`:`,a=n[i]=e[r],o=t[r]=Object.create(a);function l(e,r,a){return te(e)?e=T(e):A(e)?e=T(S(e)):(a=r,r=w(e),e={protocol:i}),j(r)&&(a=r,r=null),r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r),r.nativeProtocols=n,!A(r.host)&&!A(r.hostname)&&(r.hostname=`::1`),s.equal(r.protocol,i,`protocol mismatch`),c(`options`,r),new y(r,a)}function u(e,t,n){var r=o.request(e,t,n);return r.end(),r}Object.defineProperties(o,{request:{value:l,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}})}),t}function x(){}function S(e){var t;if(l)t=new r(e);else if(t=w(n.parse(e)),!A(t.protocol))throw new p({input:e});return t}function C(e,t){return l?new r(e,t):S(n.resolve(t,e))}function w(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname)||/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new p({input:e.href||e});return e}function T(e,t){var n=t||{};for(var r of u)n[r]=e[r];return n.hostname.startsWith(`[`)&&(n.hostname=n.hostname.slice(1,-1)),n.port!==``&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function E(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return n==null?void 0:String(n).trim()}function D(e,t,n){function r(n){j(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+`: `+this.cause.message:t}return r.prototype=new(n||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:`Error [`+e+`]`,enumerable:!1}}),r}function O(e,t){for(var n of d)e.removeListener(n,f[n]);e.on(`error`,x),e.destroy(t)}function k(e,t){s(A(e)&&A(t));var n=e.length-t.length-1;return n>0&&e[n]===`.`&&e.endsWith(t)}function A(e){return typeof e==`string`||e instanceof String}function j(e){return typeof e==`function`}function ee(e){return typeof e==`object`&&`length`in e}function te(e){return r&&e instanceof r}t.exports=b({http:i,https:a}),t.exports.wrap=b}));const Ua=`1.13.2`;function Wa(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||``}const Ga=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Ka(e,t,n){let r=n&&n.Blob||ia.classes.Blob,i=Wa(e);if(t===void 0&&r&&(t=!0),i===`data`){e=i.length?e.slice(i.length+1):e;let n=Ga.exec(e);if(!n)throw new Ar(`Invalid URL`,Ar.ERR_INVALID_URL);let a=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?`base64`:`utf8`);if(t){if(!r)throw new Ar(`Blob is not supported`,Ar.ERR_NOT_SUPPORT);return new r([c],{type:a})}return c}throw new Ar(`Unsupported protocol `+i,Ar.ERR_NOT_SUPPORT)}const qa=Symbol(`internals`);var Ja=class extends c.Transform{constructor(e){e=q.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!q.isUndefined(t[e])),super({readableHighWaterMark:e.chunkSize});let t=this[qa]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on(`newListener`,e=>{e===`progress`&&(t.isCaptured||=!0)})}_read(e){let t=this[qa];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){let r=this[qa],i=r.maxRate,a=this.readableHighWaterMark,o=r.timeWindow,s=i/(1e3/o),c=r.minChunkSize===!1?0:Math.max(r.minChunkSize,s*.01),l=(e,t)=>{let n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&this.emit(`progress`,r.bytesSeen),this.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}},u=(e,t)=>{let n=Buffer.byteLength(e),u=null,d=a,f,p=0;if(i){let e=Date.now();(!r.ts||(p=e-r.ts)>=o)&&(r.ts=e,f=s-r.bytes,r.bytes=f<0?-f:0,p=0),f=s-r.bytes}if(i){if(f<=0)return setTimeout(()=>{t(null,e)},o-p);f<d&&(d=f)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),l(e,u?()=>{process.nextTick(t,null,u)}:t)};u(e,function e(t,r){if(t)return n(t);r?u(r,e):n(null)})}};const{asyncIterator:Ya}=Symbol;var Xa=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Ya]?yield*e[Ya]():yield e};const Za=ia.ALPHABET.ALPHA_DIGIT+`-_`,Qa=typeof TextEncoder==`function`?new TextEncoder:new s.TextEncoder,$a=Qa.encode(`\r
`);var eo=class{constructor(e,t){let{escapeName:n}=this.constructor,r=q.isString(t),i=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:``}\r
`;r?t=Qa.encode(String(t).replace(/\r?\n|\r\n?/g,`\r
`)):i+=`Content-Type: ${t.type||`application/octet-stream`}\r
`,this.headers=Qa.encode(i+`\r
`),this.contentLength=r?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;q.isTypedArray(e)?yield e:yield*Xa(e),yield $a}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":`%0D`,"\n":`%0A`,'"':`%22`})[e])}},to=(e,t,n)=>{let{tag:r=`form-data-boundary`,size:i=25,boundary:a=r+`-`+ia.generateString(i,Za)}=n||{};if(!q.isFormData(e))throw TypeError(`FormData instance required`);if(a.length<1||a.length>70)throw Error(`boundary must be 10-70 characters long`);let o=Qa.encode(`--`+a+`\r
`),s=Qa.encode(`--`+a+`--\r
`),c=s.byteLength,u=Array.from(e.entries()).map(([e,t])=>{let n=new eo(e,t);return c+=n.size,n});c+=o.byteLength*u.length,c=q.toFiniteNumber(c);let d={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c)&&(d[`Content-Length`]=c),t&&t(d),l.from((async function*(){for(let e of u)yield o,yield*e.encode();yield s})())},no=class extends c.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}},ro=(e,t)=>q.isAsyncFn(e)?function(...n){let r=n.pop();e.apply(this,n).then(e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}},r)}:e;function io(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}var ao=io;function oo(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var so=oo;const co=(e,t,n=3)=>{let r=0,i=ao(50,250);return so(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,c=i(s),l=a<=o;r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&l?(o-a)/c:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},lo=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},uo=e=>(...t)=>q.asap(()=>e(...t));function fo(e){if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let t=e.indexOf(`,`);if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(r.charCodeAt(n)===37&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102)&&(e-=2,n+=2)}let n=0,i=t-1,a=e=>e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}return Buffer.byteLength(r,`utf8`)}var po=L(Na(),1),mo=L(Ha(),1);const ho={flush:b.constants.Z_SYNC_FLUSH,finishFlush:b.constants.Z_SYNC_FLUSH},go={flush:b.constants.BROTLI_OPERATION_FLUSH,finishFlush:b.constants.BROTLI_OPERATION_FLUSH},_o=q.isFunction(b.createBrotliDecompress),{http:vo,https:yo}=mo.default,bo=/https:?/,xo=ia.protocols.map(e=>e+`:`),So=(e,[t,n])=>(e.on(`end`,n).on(`error`,n),t),Co=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let e=n.length;for(let r=0;r<e;r++){let[e,i]=n[r];if(!e.destroyed&&!e.closed&&s.isDeepStrictEqual(i,t))return e}}let r=y.connect(e,t),i,a=()=>{if(i)return;i=!0;let t=n,a=t.length,o=a;for(;o--;)if(t[o][0]===r){a===1?delete this.sessions[e]:t.splice(o,1);return}},o=r.request,{sessionTimeout:c}=t;if(c!=null){let e,t=0;r.request=function(){let n=o.apply(this,arguments);return t++,e&&=(clearTimeout(e),null),n.once(`close`,()=>{--t||(e=setTimeout(()=>{e=null,a()},c))}),n}}r.once(`close`,a);let l=[r,t];return n?n.push(l):n=this.sessions[e]=[l],r}};function wo(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function To(e,t,n){let r=t;if(!r&&r!==!1){let e=po.getProxyForUrl(n);e&&(r=new URL(e))}if(r){if(r.username&&(r.auth=(r.username||``)+`:`+(r.password||``)),r.auth){(r.auth.username||r.auth.password)&&(r.auth=(r.auth.username||``)+`:`+(r.auth.password||``));let t=Buffer.from(r.auth,`utf8`).toString(`base64`);e.headers[`Proxy-Authorization`]=`Basic `+t}e.headers.host=e.hostname+(e.port?`:`+e.port:``);let t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(`:`)?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){To(e,t,e.href)}}const Eo=typeof process<`u`&&q.kindOf(process)===`process`,Do=e=>new Promise((t,n)=>{let r,i,a=(e,t)=>{i||(i=!0,r&&r(e,t))},o=e=>{a(e),t(e)},s=e=>{a(e,!0),n(e)};e(o,s,e=>r=e).catch(s)}),Oo=({address:e,family:t})=>{if(!q.isString(e))throw TypeError(`address must be a string`);return{address:e,family:t||(e.indexOf(`.`)<0?6:4)}},ko=(e,t)=>Oo(q.isObject(e)?e:{address:e,family:t}),Ao={request(e,t){let n=e.protocol+`//`+e.hostname+`:`+(e.port||80),{http2Options:r,headers:i}=e,a=Co.getSession(n,r),{HTTP2_HEADER_SCHEME:o,HTTP2_HEADER_METHOD:s,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:l}=y.constants,u={[o]:e.protocol.replace(`:`,``),[s]:e.method,[c]:e.path};q.forEach(i,(e,t)=>{t.charAt(0)!==`:`&&(u[t]=e)});let d=a.request(u);return d.once(`response`,e=>{let n=d;e=Object.assign({},e);let r=e[l];delete e[l],n.headers=e,n.statusCode=+r,t(n)}),d}};var jo=Eo&&function(e){return Do(async function(t,n,r){let{data:i,lookup:a,family:o,httpVersion:l=1,http2Options:f}=e,{responseType:p,responseEncoding:m}=e,h=e.method.toUpperCase(),g,_=!1,v;if(l=+l,Number.isNaN(l))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(l!==1&&l!==2)throw TypeError(`Unsupported protocol version '${l}'`);let y=l===2;if(a){let e=ro(a,e=>q.isArray(e)?e:[e]);a=(t,n,r)=>{e(t,n,(e,t,i)=>{if(e)return r(e);let a=q.isArray(t)?t.map(e=>ko(e)):[ko(t,i)];n.all?r(e,a):r(e,a[0].address,a[0].family)})}}let S=new x;function C(t){try{S.emit(`abort`,!t||t.type?new Oa(null,e,v):t)}catch(e){console.warn(`emit error`,e)}}S.once(`abort`,n);let w=()=>{e.cancelToken&&e.cancelToken.unsubscribe(C),e.signal&&e.signal.removeEventListener(`abort`,C),S.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(C),e.signal&&(e.signal.aborted?C():e.signal.addEventListener(`abort`,C))),r((e,t)=>{if(g=!0,t){_=!0,w();return}let{data:n}=e;if(n instanceof c.Readable||n instanceof c.Duplex){let e=c.finished(n,()=>{e(),w()})}else w()});let T=Ma(e.baseURL,e.url,e.allowAbsoluteUrls),E=new URL(T,ia.hasBrowserEnv?ia.origin:void 0),D=E.protocol||xo[0];if(D===`data:`){if(e.maxContentLength>-1&&fo(String(e.url||T||``))>e.maxContentLength)return n(new Ar(`maxContentLength size of `+e.maxContentLength+` exceeded`,Ar.ERR_BAD_RESPONSE,e));let r;if(h!==`GET`)return ka(t,n,{status:405,statusText:`method not allowed`,headers:{},config:e});try{r=Ka(e.url,p===`blob`,{Blob:e.env&&e.env.Blob})}catch(t){throw Ar.from(t,Ar.ERR_BAD_REQUEST,e)}return p===`text`?(r=r.toString(m),(!m||m===`utf8`)&&(r=q.stripBOM(r))):p===`stream`&&(r=c.Readable.from(r)),ka(t,n,{data:r,status:200,statusText:`OK`,headers:new wa,config:e})}if(xo.indexOf(D)===-1)return n(new Ar(`Unsupported protocol `+D,Ar.ERR_BAD_REQUEST,e));let O=wa.from(e.headers).normalize();O.set(`User-Agent`,`axios/`+Ua,!1);let{onUploadProgress:k,onDownloadProgress:A}=e,j=e.maxRate,ee,te;if(q.isSpecCompliantForm(i)){let e=O.getContentType(/boundary=([-_\w\d]{10,70})/i);i=to(i,e=>{O.set(e)},{tag:`axios-${Ua}-boundary`,boundary:e&&e[1]||void 0})}else if(q.isFormData(i)&&q.isFunction(i.getHeaders)){if(O.set(i.getHeaders()),!O.hasContentLength())try{let e=await s.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&O.setContentLength(e)}catch{}}else if(q.isBlob(i)||q.isFile(i))i.size&&O.setContentType(i.type||`application/octet-stream`),O.setContentLength(i.size||0),i=c.Readable.from(Xa(i));else if(i&&!q.isStream(i)){if(!Buffer.isBuffer(i))if(q.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else if(q.isString(i))i=Buffer.from(i,`utf-8`);else return n(new Ar(`Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream`,Ar.ERR_BAD_REQUEST,e));if(O.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new Ar(`Request body larger than maxBodyLength limit`,Ar.ERR_BAD_REQUEST,e))}let ne=q.toFiniteNumber(O.getContentLength());q.isArray(j)?(ee=j[0],te=j[1]):ee=te=j,i&&(k||ee)&&(q.isStream(i)||(i=c.Readable.from(i,{objectMode:!1})),i=c.pipeline([i,new Ja({maxRate:q.toFiniteNumber(ee)})],q.noop),k&&i.on(`progress`,So(i,lo(ne,co(uo(k),!1,3)))));let re;if(e.auth){let t=e.auth.username||``,n=e.auth.password||``;re=t+`:`+n}if(!re&&E.username){let e=E.username,t=E.password;re=e+`:`+t}re&&O.delete(`authorization`);let M;try{M=Gi(E.pathname+E.search,e.params,e.paramsSerializer).replace(/^\?/,``)}catch(t){let r=Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}O.set(`Accept-Encoding`,`gzip, compress, deflate`+(_o?`, br`:``),!1);let ie={path:M,method:h,headers:O.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:re,protocol:D,family:o,beforeRedirect:wo,beforeRedirects:{},http2Options:f};!q.isUndefined(a)&&(ie.lookup=a),e.socketPath?ie.socketPath=e.socketPath:(ie.hostname=E.hostname.startsWith(`[`)?E.hostname.slice(1,-1):E.hostname,ie.port=E.port,To(ie,e.proxy,D+`//`+E.hostname+(E.port?`:`+E.port:``)+ie.path));let ae,N=bo.test(ie.protocol);if(ie.agent=N?e.httpsAgent:e.httpAgent,y?ae=Ao:e.transport?ae=e.transport:e.maxRedirects===0?ae=N?d:u:(e.maxRedirects&&(ie.maxRedirects=e.maxRedirects),e.beforeRedirect&&(ie.beforeRedirects.config=e.beforeRedirect),ae=N?yo:vo),e.maxBodyLength>-1?ie.maxBodyLength=e.maxBodyLength:ie.maxBodyLength=1/0,e.insecureHTTPParser&&(ie.insecureHTTPParser=e.insecureHTTPParser),v=ae.request(ie,function(r){if(v.destroyed)return;let i=[r],a=q.toFiniteNumber(r.headers[`content-length`]);if(A||te){let e=new Ja({maxRate:q.toFiniteNumber(te)});A&&e.on(`progress`,So(e,lo(a,co(uo(A),!0,3)))),i.push(e)}let o=r,s=r.req||v;if(e.decompress!==!1&&r.headers[`content-encoding`])switch((h===`HEAD`||r.statusCode===204)&&delete r.headers[`content-encoding`],(r.headers[`content-encoding`]||``).toLowerCase()){case`gzip`:case`x-gzip`:case`compress`:case`x-compress`:i.push(b.createUnzip(ho)),delete r.headers[`content-encoding`];break;case`deflate`:i.push(new no),i.push(b.createUnzip(ho)),delete r.headers[`content-encoding`];break;case`br`:_o&&(i.push(b.createBrotliDecompress(go)),delete r.headers[`content-encoding`])}o=i.length>1?c.pipeline(i,q.noop):i[0];let l={status:r.statusCode,statusText:r.statusMessage,headers:new wa(r.headers),config:e,request:s};if(p===`stream`)l.data=o,ka(t,n,l);else{let r=[],i=0;o.on(`data`,function(t){r.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(_=!0,o.destroy(),C(new Ar(`maxContentLength size of `+e.maxContentLength+` exceeded`,Ar.ERR_BAD_RESPONSE,e,s)))}),o.on(`aborted`,function(){if(_)return;let t=new Ar(`stream has been aborted`,Ar.ERR_BAD_RESPONSE,e,s);o.destroy(t),n(t)}),o.on(`error`,function(t){v.destroyed||n(Ar.from(t,null,e,s))}),o.on(`end`,function(){try{let e=r.length===1?r[0]:Buffer.concat(r);p!==`arraybuffer`&&(e=e.toString(m),(!m||m===`utf8`)&&(e=q.stripBOM(e))),l.data=e}catch(t){return n(Ar.from(t,null,e,l.request,l))}ka(t,n,l)})}S.once(`abort`,e=>{o.destroyed||(o.emit(`error`,e),o.destroy())})}),S.once(`abort`,e=>{v.close?v.close():v.destroy(e)}),v.on(`error`,function(t){n(Ar.from(t,null,e,v))}),v.on(`socket`,function(e){e.setKeepAlive(!0,1e3*60)}),e.timeout){let t=parseInt(e.timeout,10);if(Number.isNaN(t)){C(new Ar("error trying to parse `config.timeout` to int",Ar.ERR_BAD_OPTION_VALUE,e,v));return}v.setTimeout(t,function(){if(g)return;let t=e.timeout?`timeout of `+e.timeout+`ms exceeded`:`timeout exceeded`,n=e.transitional||qi;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),C(new Ar(t,n.clarifyTimeoutError?Ar.ETIMEDOUT:Ar.ECONNABORTED,e,v))})}else v.setTimeout(0);if(q.isStream(i)){let t=!1,n=!1;i.on(`end`,()=>{t=!0}),i.once(`error`,e=>{n=!0,v.destroy(e)}),i.on(`close`,()=>{!t&&!n&&C(new Oa(`Request stream has been aborted`,e,v))}),i.pipe(v)}else i&&v.write(i),v.end()})},Mo=ia.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ia.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ia.origin),ia.navigator&&/(msie|trident)/i.test(ia.navigator.userAgent)):()=>!0,No=ia.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&s.push(`path=${r}`),q.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),q.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.match(RegExp(`(?:^|; )`+e+`=([^;]*)`));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};const Po=e=>e instanceof wa?{...e}:e;function Fo(e,t){t||={};let n={};function r(e,t,n,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,n,i){if(q.isUndefined(t)){if(!q.isUndefined(e))return r(void 0,e,n,i)}else return r(e,t,n,i)}function a(e,t){if(!q.isUndefined(t))return r(void 0,t)}function o(e,t){if(q.isUndefined(t)){if(!q.isUndefined(e))return r(void 0,e)}else return r(void 0,t)}function s(n,i,a){if(a in t)return r(n,i);if(a in e)return r(void 0,n)}let c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(Po(e),Po(t),n,!0)};return q.forEach(Object.keys({...e,...t}),function(r){let a=c[r]||i,o=a(e[r],t[r],r);q.isUndefined(o)&&a!==s||(n[r]=o)}),n}var Io=e=>{let t=Fo({},e),{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=wa.from(o),t.url=Gi(Ma(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set(`Authorization`,`Basic `+btoa((s.username||``)+`:`+(s.password?unescape(encodeURIComponent(s.password)):``))),q.isFormData(n)){if(ia.hasStandardBrowserEnv||ia.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(q.isFunction(n.getHeaders)){let e=n.getHeaders(),t=[`content-type`,`content-length`];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}}if(ia.hasStandardBrowserEnv&&(r&&q.isFunction(r)&&(r=r(t)),r||r!==!1&&Mo(t.url))){let e=i&&a&&No.read(a);e&&o.set(i,e)}return t},Lo=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=Io(e),i=r.data,a=wa.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=wa.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());ka(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf(`file:`)===0)||setTimeout(g)},h.onabort=function(){h&&=(n(new Ar(`Request aborted`,Ar.ECONNABORTED,e,h)),null)},h.onerror=function(t){let r=new Ar(t&&t.message?t.message:`Network Error`,Ar.ERR_NETWORK,e,h);r.event=t||null,n(r),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||qi;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Ar(t,i.clarifyTimeoutError?Ar.ETIMEDOUT:Ar.ECONNABORTED,e,h)),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&q.forEach(a.toJSON(),function(e,t){h.setRequestHeader(t,e)}),q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=co(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=co(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new Oa(null,e,h):t),h.abort(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=Wa(r.url);if(_&&ia.protocols.indexOf(_)===-1){n(new Ar(`Unsupported protocol `+_+`:`,Ar.ERR_BAD_REQUEST,e));return}h.send(i||null)})},Ro=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController,r,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof Ar?t:new Oa(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new Ar(`timeout ${t} of ms exceeded`,Ar.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i));let{signal:s}=n;return s.unsubscribe=()=>q.asap(o),s}};const zo=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Bo=async function*(e,t){for await(let n of Vo(e))yield*zo(n,t)},Vo=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Ho=(e,t,n,r)=>{let i=Bo(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},Uo=64*1024,{isFunction:Wo}=q,Go=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:Ko,TextEncoder:qo}=q.global,Jo=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Yo=e=>{e=q.merge.call({skipUndefined:!0},Go,e);let{fetch:t,Request:n,Response:r}=e,i=t?Wo(t):typeof fetch==`function`,a=Wo(n),o=Wo(r);if(!i)return!1;let s=i&&Wo(Ko),c=i&&(typeof qo==`function`?(e=>t=>e.encode(t))(new qo):async e=>new Uint8Array(await new n(e).arrayBuffer())),l=a&&s&&Jo(()=>{let e=!1,t=new n(ia.origin,{body:new Ko,method:`POST`,get duplex(){return e=!0,`half`}}).headers.has(`Content-Type`);return e&&!t}),u=o&&s&&Jo(()=>q.isReadableStream(new r(``).body)),d={stream:u&&(e=>e.body)};i&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!d[e]&&(d[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Ar(`Response type '${e}' is not supported`,Ar.ERR_NOT_SUPPORT,n)})});let f=async e=>{if(e==null)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e))return(await new n(ia.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(q.isArrayBufferView(e)||q.isArrayBuffer(e))return e.byteLength;if(q.isURLSearchParams(e)&&(e+=``),q.isString(e))return(await c(e)).byteLength},p=async(e,t)=>q.toFiniteNumber(e.getContentLength())??f(t);return async e=>{let{url:i,method:o,data:s,signal:c,cancelToken:f,timeout:m,onDownloadProgress:h,onUploadProgress:g,responseType:_,headers:v,withCredentials:y=`same-origin`,fetchOptions:b}=Io(e),x=t||fetch;_=_?(_+``).toLowerCase():`text`;let S=Ro([c,f&&f.toAbortSignal()],m),C=null,w=S&&S.unsubscribe&&(()=>{S.unsubscribe()}),T;try{if(g&&l&&o!==`get`&&o!==`head`&&(T=await p(v,s))!==0){let e=new n(i,{method:`POST`,body:s,duplex:`half`}),t;if(q.isFormData(s)&&(t=e.headers.get(`content-type`))&&v.setContentType(t),e.body){let[t,n]=lo(T,co(uo(g)));s=Ho(e.body,Uo,t,n)}}q.isString(y)||(y=y?`include`:`omit`);let t=a&&`credentials`in n.prototype,c={...b,signal:S,method:o.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:`half`,credentials:t?y:void 0};C=a&&new n(i,c);let f=await(a?x(C,b):x(i,c)),m=u&&(_===`stream`||_===`response`);if(u&&(h||m&&w)){let e={};[`status`,`statusText`,`headers`].forEach(t=>{e[t]=f[t]});let t=q.toFiniteNumber(f.headers.get(`content-length`)),[n,i]=h&&lo(t,co(uo(h),!0))||[];f=new r(Ho(f.body,Uo,n,()=>{i&&i(),w&&w()}),e)}_||=`text`;let E=await d[q.findKey(d,_)||`text`](f,e);return!m&&w&&w(),await new Promise((t,n)=>{ka(t,n,{data:E,headers:wa.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:C})})}catch(t){throw w&&w(),t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)?Object.assign(new Ar(`Network Error`,Ar.ERR_NETWORK,e,C),{cause:t.cause||t}):Ar.from(t,t&&t.code,e,C)}}},Xo=new Map,Zo=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=Xo;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:Yo(t)),l=c;return c};Zo();const Qo={http:jo,xhr:Lo,fetch:{get:Zo}};q.forEach(Qo,(e,t)=>{if(e){try{Object.defineProperty(e,`name`,{value:t})}catch{}Object.defineProperty(e,`adapterName`,{value:t})}});const $o=e=>`- ${e}`,es=e=>q.isFunction(e)||e===null||e===!1;function ts(e,t){e=q.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!es(r)&&(i=Qo[(n=String(r)).toLowerCase()],i===void 0))throw new Ar(`Unknown adapter '${n}'`);if(i&&(q.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new Ar(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
`+e.map($o).join(`
`):` `+$o(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var ns={getAdapter:ts,adapters:Qo};function rs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oa(null,e)}function is(e){return rs(e),e.headers=wa.from(e.headers),e.data=Ta.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),ns.getAdapter(e.adapter||fa.adapter,e)(e).then(function(t){return rs(e),t.data=Ta.call(e,e.transformResponse,t),t.headers=wa.from(t.headers),t},function(t){return Ea(t)||(rs(e),t&&t.response&&(t.response.data=Ta.call(e,e.transformResponse,t.response),t.response.headers=wa.from(t.response.headers))),Promise.reject(t)})}const as={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{as[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});const os={};as.transitional=function(e,t,n){function r(e,t){return`[Axios v`+Ua+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new Ar(r(i,` has been removed`+(t?` in `+t:``)),Ar.ERR_DEPRECATED);return t&&!os[i]&&(os[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,a):!0}},as.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function ss(e,t,n){if(typeof e!=`object`)throw new Ar(`options must be an object`,Ar.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new Ar(`option `+a+` must be `+n,Ar.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ar(`Unknown option `+a,Ar.ERR_BAD_OPTION)}}var cs={assertOptions:ss,validators:as};const ls=cs.validators;var us=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Ki,response:new Ki}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,``):``;try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,``))&&(e.stack+=`
`+n):e.stack=n}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Fo(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&cs.assertOptions(n,{silentJSONParsing:ls.transitional(ls.boolean),forcedJSONParsing:ls.transitional(ls.boolean),clarifyTimeoutError:ls.transitional(ls.boolean)},!1),r!=null&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:cs.assertOptions(r,{encode:ls.function,serialize:ls.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),cs.assertOptions(t,{baseUrl:ls.spelling(`baseURL`),withXsrfToken:ls.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&q.merge(i.common,i[t.method]);i&&q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=wa.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){typeof e.runWhen==`function`&&e.runWhen(t)===!1||(s&&=e.synchronous,o.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[is.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=is.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Fo(this.defaults,e),Gi(Ma(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};q.forEach([`delete`,`get`,`head`,`options`],function(e){us.prototype[e]=function(t,n){return this.request(Fo(n||{},{method:e,url:t,data:(n||{}).data}))}}),q.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Fo(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}us.prototype[e]=t(),us.prototype[e+`Form`]=t(!0)});var ds=us,fs=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Oa(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function ps(e){return function(t){return e.apply(null,t)}}function ms(e){return q.isObject(e)&&e.isAxiosError===!0}const hs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hs).forEach(([e,t])=>{hs[t]=e});var gs=hs;function _s(e){let t=new ds(e),n=xn(ds.prototype.request,t);return q.extend(n,ds.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return _s(Fo(e,t))},n}const vs=_s(fa);vs.Axios=ds,vs.CanceledError=Oa,vs.CancelToken=fs,vs.isCancel=Ea,vs.VERSION=Ua,vs.toFormData=zi,vs.AxiosError=Ar,vs.Cancel=vs.CanceledError,vs.all=function(e){return Promise.all(e)},vs.spread=ps,vs.isAxiosError=ms,vs.mergeConfig=Fo,vs.AxiosHeaders=wa,vs.formToJSON=e=>la(q.isHTMLForm(e)?new FormData(e):e),vs.getAdapter=ns.getAdapter,vs.HttpStatusCode=gs,vs.default=vs;var ys=vs;function bs(e,t,n={}){let{timeout:r=3e4,cwd:i,env:a={},maxOutputSize:o,removeEnvVars:s=[`NODE_OPTIONS`]}=n;return new Promise(n=>{let c={killed:!1,stdout:``,stderr:``,totalOutputSize:0},l={...process.env,...a};for(let e of s)l[e]=void 0;let u={cwd:i,env:l,stdio:[`ignore`,`pipe`,`pipe`],timeout:r},d;try{d=S(e,t,u)}catch(t){n({stdout:``,stderr:``,exitCode:null,success:!1,error:t instanceof Error?t:Error(`Failed to spawn command '${e}'`)});return}let f=setTimeout(()=>{c.killed||(c.killed=!0,d.kill(`SIGTERM`),n({stdout:c.stdout,stderr:c.stderr,exitCode:null,success:!1,error:Error(`Command timeout after ${r}ms`),timedOut:!0}))},r),p=()=>o&&c.totalOutputSize>o?(c.killed||(c.killed=!0,d.kill(`SIGKILL`),clearTimeout(f),n({stdout:c.stdout,stderr:c.stderr,exitCode:null,success:!1,error:Error(`Output size limit exceeded`),outputLimitExceeded:!0})),!0):!1;d.stdout?.on(`data`,e=>{if(c.killed)return;let t=e.toString();c.totalOutputSize+=Buffer.byteLength(t),!p()&&(c.stdout+=t)}),d.stderr?.on(`data`,e=>{if(c.killed)return;let t=e.toString();c.totalOutputSize+=Buffer.byteLength(t),!p()&&(c.stderr+=t)}),d.on(`close`,e=>{c.killed||(clearTimeout(f),n({stdout:c.stdout,stderr:c.stderr,exitCode:e,success:e===0}))}),d.on(`error`,e=>{c.killed||(c.killed=!0,clearTimeout(f),n({stdout:c.stdout,stderr:c.stderr,exitCode:null,success:!1,error:e}))})})}function xs(e,t,n=1e4){return new Promise(r=>{let i=!1,a=S(e,t,{stdio:[`ignore`,`pipe`,`pipe`],timeout:n,env:{...process.env,NODE_OPTIONS:void 0}});a.on(`close`,e=>{i||r(e===0)}),a.on(`error`,()=>{i||r(!1)});let o=setTimeout(()=>{i||(i=!0,a.kill(`SIGTERM`),r(!1))},n);a.on(`close`,()=>{clearTimeout(o)})})}function Ss(e,t,n=1e4){return new Promise(r=>{let i=!1,a=``,o=S(e,t,{stdio:[`ignore`,`pipe`,`pipe`],timeout:n,env:{...process.env,NODE_OPTIONS:void 0}});o.stdout?.on(`data`,e=>{a+=e.toString()}),o.stderr?.on(`data`,()=>{}),o.on(`close`,e=>{i||r(e===0&&a.trim()||null)}),o.on(`error`,()=>{i||r(null)});let s=setTimeout(()=>{i||(i=!0,o.kill(`SIGTERM`),r(null))},n);o.on(`close`,()=>{clearTimeout(s)})})}function Cs(e,t=1e3){for(let n of e){if(n.includes(`\0`))return{valid:!1,error:`Null bytes not allowed in arguments`};if(n.length>t)return{valid:!1,error:`Argument too long`}}return{valid:!0}}function ws(){return i(r(process.execPath),process.platform===`win32`?`npm.cmd`:`npm`)}async function Ts(){return Ss(`gh`,[`auth`,`token`],1e4)}const Es=[`view`,`search`,`ping`,`config`,`whoami`];async function Ds(e=1e4){return xs(ws(),[`--version`],e)}async function Os(e,t,n={}){if(!Es.includes(e))return{stdout:``,stderr:``,error:Error(`Command '${e}' is not allowed`)};let r=Cs(t);if(!r.valid)return{stdout:``,stderr:``,error:Error(`Invalid arguments: ${r.error}`)};let{timeout:i=3e4,cwd:a,env:o}=n,s=await bs(ws(),[e,...t],{timeout:i,cwd:a,env:o,removeEnvVars:[`NODE_OPTIONS`,`NPM_CONFIG_SCRIPT_SHELL`]});return{stdout:s.stdout,stderr:s.stderr,exitCode:s.exitCode??void 0,error:s.error}}const ks=[`rg`,`ls`,`find`],As=[/[;&|`$(){}[\]<>]/,/\${/,/\$\(/],js=[/\${/,/\$\(/,/`/,/;/];function Ms(e,t){return ks.includes(e)?Ns(e,t):{isValid:!1,error:`Command '${e}' is not allowed. Allowed commands: ${ks.join(`, `)}`}}function Ns(e,t){let n=Ps(e,t);for(let e=0;e<t.length;e++){let r=t[e],i=n.has(e),a=i?js:As;for(let e of a)if(e.test(r))return{isValid:!1,error:`Dangerous pattern detected in ${i?`search pattern`:`argument`}: '${r}'. This may be a command injection attempt.`}}return{isValid:!0}}function Ps(e,t){let n=new Set;if(e===`rg`){let e=!1;for(let r=0;r<t.length;r++){let i=t[r];if(i.startsWith(`-`)){if([`-g`,`--glob`,`--include`,`--exclude`,`--exclude-dir`].includes(i)){r++,n.add(r);continue}[`-A`,`-B`,`-C`,`-m`,`-t`,`--type`,`-T`,`--type-not`,`-j`,`--threads`,`--sort`,`--sortr`,`--max-filesize`,`-E`,`--encoding`,`--color`].includes(i)&&r++;continue}e||=(n.add(r),!0)}}else if(e===`find`)for(let e=0;e<t.length;e++){let r=t[e],i=e>0?t[e-1]:``;[`-name`,`-iname`,`-path`,`-regex`,`-size`,`-perm`].includes(i)&&n.add(e),(r===`(`||r===`)`||r===`-o`)&&n.add(e)}return n}function Fs(e){return e?n.resolve(e):process.env.WORKSPACE_ROOT?n.resolve(process.env.WORKSPACE_ROOT):process.cwd()}function Is(e,t){let r=Fs(t);if(e===void 0)return{isValid:!0};if(e.trim()===``)return{isValid:!1,error:`Execution context (cwd) cannot be empty`};let i=n.resolve(e);if(i!==r&&!i.startsWith(r+n.sep))return{isValid:!1,error:`Can only execute commands within workspace directory: ${r}. Attempted execution in: ${i}`};try{p.lstatSync(i);let e=p.realpathSync(i);if(e!==r&&!e.startsWith(r+n.sep))return{isValid:!1,error:`Symlink target '${e}' is outside workspace directory: ${r}`}}catch(e){return e&&typeof e==`object`&&`code`in e&&e.code===`ENOENT`?{isValid:!0,sanitizedPath:i}:{isValid:!1,error:`Cannot validate execution context: ${e instanceof Error?e.message:String(e)}`}}return{isValid:!0,sanitizedPath:i}}async function Ls(e,t=[],n={}){let r=Ms(e,t);if(!r.isValid)throw Error(`Command validation failed: ${r.error||`Command not allowed`}`);let i=Is(n.cwd,process.env.WORKSPACE_ROOT);if(!i.isValid)throw Error(`Execution context validation failed: ${i.error||`Invalid working directory`}`);let{timeout:a=3e4,cwd:o,env:s,maxOutputSize:c=10*1024*1024}=n,l=await bs(e,t,{timeout:a,cwd:o,env:s,maxOutputSize:c,removeEnvVars:[`NODE_OPTIONS`]});if(l.error)throw l.error;return{success:l.success,code:l.exitCode,stdout:l.stdout,stderr:l.stderr}}const Rs=new Map,zs={rg:{name:`ripgrep`,versionFlag:`--version`,tool:`localSearchCode`},grep:{name:`grep`,versionFlag:`--version`,tool:`localSearchCode (fallback)`},find:{name:`find`,versionFlag:`--version`,tool:`localFindFiles`},ls:{name:`ls`,versionFlag:`--version`,tool:`localViewStructure`}};async function Bs(e,t=!1){if(!t&&Rs.has(e))return Rs.get(e);let n=zs[e];try{let t;t=e===`find`&&process.platform===`darwin`?await xs(`find`,[`.`,`-maxdepth`,`0`],5e3):e===`ls`?await xs(`ls`,[`-la`,`.`],5e3):e===`grep`?await xs(`grep`,[`--help`],5e3):await xs(e,[n.versionFlag],5e3);let r={available:t,command:e,...t?{}:{error:`${n.name} (${e}) is not installed or not in PATH`}};return Rs.set(e,r),r}catch(t){let n={available:!1,command:e,error:t instanceof Error?t.message:`Failed to check ${e} availability`};return Rs.set(e,n),n}}function Vs(e){return`${zs[e].name} (${e}) is not available. ${{rg:`Install ripgrep: brew install ripgrep (macOS), apt install ripgrep (Ubuntu), or see https://github.com/BurntSushi/ripgrep#installation`,grep:`grep should be available on all Unix systems. Check your PATH configuration.`,find:`find should be available on all Unix systems. Check your PATH configuration.`,ls:`ls should be available on all Unix systems. Check your PATH configuration.`}[e]}`}M.platform(),M.platform(),M.platform();const Hs=M.homedir();function Us(){return!0}async function Ws(e,t,n){await new ie(e,t).setPassword(n)}async function Gs(e,t){try{return await new ie(e,t).getPassword()??null}catch{return null}}const Ks=3e3;var qs=class extends Error{constructor(e){super(e),this.name=`TimeoutError`}};async function Js(e,t){return Promise.race([e,new Promise((e,n)=>setTimeout(()=>n(new qs(`Operation timed out after ${t}ms`)),t))])}let Ys=null;function Xs(){return Ys===null&&(Ys=Us()),Ys}const Zs=`octocode-cli`,Qs=O(Hs,`.octocode`),$s=O(Qs,`credentials.json`),ec=O(Qs,`.key`),tc=`aes-256-gcm`,nc=[`OCTOCODE_TOKEN`,`GH_TOKEN`,`GITHUB_TOKEN`];function rc(){for(let e of nc){let t=process.env[e];if(t&&t.trim())return t.trim()}return null}let ic=null;function ac(){return ic===null&&(ic=Xs()),ic}async function oc(e,t){if(!Xs())throw Error(`Keychain not available`);await Ws(Zs,e,JSON.stringify(t))}async function sc(e){if(!Xs())return null;try{let t=await Gs(Zs,e);return t?JSON.parse(t):null}catch{return null}}function cc(){if(dc(),C(ec))return Buffer.from(T(ec,`utf8`),`hex`);let e=te(32);return D(ec,e.toString(`hex`),{mode:384}),e}function lc(e){let t=cc(),n=te(16),r=k(tc,t,n),i=r.update(e,`utf8`,`hex`);i+=r.final(`hex`);let a=r.getAuthTag();return`${n.toString(`hex`)}:${a.toString(`hex`)}:${i}`}function uc(e){let t=cc(),[n,r,i]=e.split(`:`);if(!n||!r||!i)throw Error(`Invalid encrypted data format`);let a=Buffer.from(n,`hex`),o=Buffer.from(r,`hex`),s=A(tc,t,a);s.setAuthTag(o);let c=s.update(i,`hex`,`utf8`);return c+=s.final(`utf8`),c}function dc(){C(Qs)||w(Qs,{recursive:!0,mode:448})}function fc(){if(dc(),!C($s))return{version:1,credentials:{}};try{let e=uc(T($s,`utf8`));return JSON.parse(e)}catch(e){return console.error(`
⚠ Warning: Could not read credentials file. You may need to login again.`),console.error(` File: ${$s}`),e instanceof Error&&e.message&&console.error(` Reason: ${e.message}\n`),{version:1,credentials:{}}}}function pc(e){dc(),D($s,lc(JSON.stringify(e,null,2)),{mode:384})}function mc(e){try{let t=fc();return t.credentials[e]?(delete t.credentials[e],Object.keys(t.credentials).length===0?hc():pc(t),!0):!1}catch(e){return console.warn(`[token-storage] Failed to remove from file storage: ${e instanceof Error?e.message:String(e)}`),!1}}function hc(){try{C($s)&&E($s),C(ec)&&E(ec)}catch{}}async function gc(e,t){try{await Js(oc(e,t),Ks),mc(e)}catch{}}function _c(e){return e.toLowerCase().replace(/^https?:\/\//,``).replace(/\/$/,``)}async function vc(e=`github.com`){let t=_c(e);if(ac())try{let e=await Js(sc(t),Ks);if(e)return e}catch(e){e instanceof qs||console.warn(`[token-storage] Keyring read failed: ${e instanceof Error?e.message:String(e)}`)}let n=fc().credentials[t];return n?(ac()&&gc(t,n).catch(()=>{}),n):null}function yc(e){if(!e.token.expiresAt)return!1;let t=new Date(e.token.expiresAt);if(isNaN(t.getTime()))return!0;let n=new Date;return t.getTime()-n.getTime()<300*1e3}async function bc(e=`github.com`){let t=await vc(e);return!t||!t.token||yc(t)?null:t.token.token}O(Qs,`session.json`);const xc=[{name:`openaiApiKey`,description:`OpenAI API key`,regex:/\b(sk-[a-zA-Z0-9_-]+T3BlbkFJ[a-zA-Z0-9_-]+)\b/g,matchAccuracy:`high`},{name:`openaiOrgId`,description:`OpenAI organization ID`,regex:/\borg-[a-zA-Z0-9]{20,}\b/g,matchAccuracy:`high`},{name:`groqApiKey`,description:`Groq API key`,regex:/\bgsk_[a-zA-Z0-9-_]{51,52}\b/g,matchAccuracy:`high`},{name:`cohereApiKey`,description:`Cohere API key`,regex:/\bco-[a-zA-Z0-9-_]{38,64}\b/g,matchAccuracy:`high`},{name:`huggingFaceToken`,description:`Hugging Face API token`,regex:/\bhf_[a-zA-Z0-9]{34}\b/g,matchAccuracy:`high`},{name:`perplexityApiKey`,description:`Perplexity AI API key`,regex:/\bpplx-[a-zA-Z0-9]{30,64}\b/g,matchAccuracy:`high`},{name:`replicateApiToken`,description:`Replicate API token`,regex:/\br8_[a-zA-Z0-9]{30,}\b/g,matchAccuracy:`high`},{name:`anthropicApiKey`,description:`Anthropic API key`,regex:/\b(sk-ant-(?:admin01|api03)-[\w-]{93}AA)\b/g,matchAccuracy:`high`},{name:`mistralApiKey`,description:`Mistral AI API key`,regex:/\b(?:mistral-|mist_)[a-zA-Z0-9]{32,}\b/g,matchAccuracy:`high`},{name:`tavilyApiKey`,description:`Tavily API key`,regex:/\btvly-[a-zA-Z0-9]{30,}\b/g,matchAccuracy:`high`},{name:`deepseekApiKey`,description:`DeepSeek API key`,regex:/\bsk-[a-zA-Z0-9]{32,64}\b/g,matchAccuracy:`medium`},{name:`togetherApiKey`,description:`Together AI API key`,regex:/\b['"]?(?:TOGETHER|together)_?(?:API|api)?_?(?:KEY|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{40,64}['"]?\b/g,matchAccuracy:`medium`},{name:`fireworksApiKey`,description:`Fireworks AI API key`,regex:/\b['"]?(?:FIREWORKS|fireworks)_?(?:API|api)?_?(?:KEY|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{40,64}['"]?\b/g,matchAccuracy:`medium`},{name:`xaiApiKey`,description:`xAI (Grok) API key`,regex:/\bxai-[a-zA-Z0-9]{48,}\b/g,matchAccuracy:`high`},{name:`openRouterApiKey`,description:`OpenRouter API key`,regex:/\bsk-or-v1-[a-zA-Z0-9]{64}\b/g,matchAccuracy:`high`},{name:`amazonBedrockApiKey`,description:`Amazon Bedrock API key`,regex:/\bABSK[A-Za-z0-9+/]{109,269}={0,2}\b/g,matchAccuracy:`high`},{name:`ai21ApiKey`,description:`AI21 Labs API key`,regex:/\b['"]?(?:AI21|ai21)_?(?:API|api)?_?(?:KEY|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{40,64}['"]?\b/g,matchAccuracy:`medium`},{name:`stabilityApiKey`,description:`Stability AI API key`,regex:/\bsk-[a-zA-Z0-9]{48,}\b/g,matchAccuracy:`medium`},{name:`voyageApiKey`,description:`Voyage AI API key`,regex:/\bpa-[a-zA-Z0-9]{40,}\b/g,matchAccuracy:`high`}],Sc=[{name:`awsAccessKeyId`,description:`AWS access key ID`,regex:/\b((?:AKIA|ABIA|ACCA)[A-Z0-9]{16})\b/g,matchAccuracy:`high`},{name:`awsAccountId`,description:`AWS account ID`,regex:/\b['"]?(?:AWS|aws|Aws)?_?(?:ACCOUNT|account|Account)_?(?:ID|id|Id)?['"]?\s*(?::|=>|=)\s*['"]?[0-9]{12}['"]?\b/g,matchAccuracy:`high`},{name:`awsAppSyncApiKey`,description:`AWS AppSync GraphQL API key`,regex:/\bda2-[a-z0-9]{26}\b/g,matchAccuracy:`high`},{name:`awsIamRoleArn`,description:`AWS IAM role ARN`,regex:/\barn:aws:iam::[0-9]{12}:role\/[a-zA-Z0-9_+=,.@-]+\b/g,matchAccuracy:`high`},{name:`awsLambdaFunctionArn`,description:`AWS Lambda function ARN`,regex:/\barn:aws:lambda:[a-z0-9-]+:[0-9]{12}:function:[a-zA-Z0-9_-]+\b/g,matchAccuracy:`high`},{name:`awsMwsAuthToken`,description:`AWS MWS authentication token`,regex:/\bamzn\.mws\.[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\b/g,matchAccuracy:`high`},{name:`awsS3BucketArn`,description:`AWS S3 bucket ARN`,regex:/\barn:aws:s3:::[a-zA-Z0-9._-]+\b/g,matchAccuracy:`high`},{name:`alibabaAccessKeyId`,description:`Alibaba Cloud AccessKey ID`,regex:/\bLTAI[a-zA-Z0-9]{20}\b/g,matchAccuracy:`high`},{name:`awsSecretAccessKey`,description:`AWS secret access key`,regex:/\b['"]?(?:AWS|aws|Aws)?_?(?:SECRET|secret|Secret)_?(?:ACCESS|access|Access)_?(?:KEY|key|Key)['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9/+=]{40}['"]?\b/g,matchAccuracy:`high`},{name:`awsSessionToken`,description:`AWS session token`,regex:/\b['"]?(?:AWS|aws|Aws)?_?(?:SESSION|session|Session)_?(?:TOKEN|token|Token)['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9/+=]{200,}['"]?\b/g,matchAccuracy:`high`},{name:`awsSecretsManagerArn`,description:`AWS Secrets Manager secret ARN`,regex:/\barn:aws:secretsmanager:[a-z0-9-]+:[0-9]{12}:secret:[a-zA-Z0-9/_+=.@-]+\b/g,matchAccuracy:`high`}],Cc=[{name:`vercelToken`,description:`Vercel API token`,regex:/\bvercel_[a-zA-Z0-9]{24}\b/g},{name:`posthogApiKey`,description:`PostHog API key`,regex:/\bphc_[a-zA-Z0-9_-]{39}\b/g,matchAccuracy:`high`},{name:`posthogPersonalApiKey`,description:`PostHog personal API key`,regex:/\bphx_[a-zA-Z0-9_-]{39}\b/g,matchAccuracy:`high`},{name:`datadogApiKey`,description:`Datadog API and application keys (with context)`,regex:/\bdatadog[\s\w]*(?:api|app)[\s\w]*key[\s:=]*["']?[a-fA-F0-9]{32,40}["']?/gi,matchAccuracy:`medium`},{name:`honeycombApiKey`,description:`Honeycomb API key`,regex:/\bhcaik_[a-zA-Z0-9_-]{32,64}\b/g,matchAccuracy:`high`}],wc=[{name:`jwtToken`,description:`JWT (JSON Web Token - 3-part)`,regex:/\b(ey[a-zA-Z0-9]{17,}\.ey[a-zA-Z0-9/_-]{17,}\.(?:[a-zA-Z0-9/_-]{10,}={0,2})?)\b/g,matchAccuracy:`high`},{name:`sessionIds`,description:`Session IDs / Cookies`,regex:/(?:JSESSIONID|PHPSESSID|ASP\.NET_SessionId|connect\.sid|session_id)=([a-zA-Z0-9%:._-]+)/gi,matchAccuracy:`high`},{name:`googleOauthToken`,description:`Google OAuth token`,regex:/\bya29\.[a-zA-Z0-9_-]+\b/g,matchAccuracy:`high`},{name:`onePasswordSecretKey`,description:`1Password secret key`,regex:/\bA3-[A-Z0-9]{6}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}\b/g,matchAccuracy:`high`},{name:`onePasswordServiceAccountToken`,description:`1Password service account token`,regex:/\bops_eyJ[a-zA-Z0-9+/]+={0,2}\b/g,matchAccuracy:`high`},{name:`jsonWebTokenEnhanced`,description:`JSON Web Token with enhanced detection`,regex:/\bey[a-zA-Z0-9]+\.ey[a-zA-Z0-9/_-]+\.(?:[a-zA-Z0-9/_-]+={0,2})?\b/g,matchAccuracy:`high`},{name:`authressServiceClientAccessKey`,description:`Authress service client access key`,regex:/\b(?:sc|ext|scauth|authress)_[a-z0-9]+\.[a-z0-9]+\.acc[_-][a-z0-9-]+\.[a-z0-9+/_=-]+\b/gi,matchAccuracy:`high`}],Tc=[{name:`googleApiKey`,description:`Google API key`,regex:/\bAIza[a-zA-Z0-9_-]{30,}\b/g,matchAccuracy:`high`},{name:`googleAiApiKey`,description:`Google AI API key`,regex:/\bAIza[0-9A-Za-z_-]{30,}\b/g,matchAccuracy:`high`},{name:`googleOAuth2ClientId`,description:`Google OAuth2 client ID`,regex:/\b[0-9]+-[a-z0-9]+\.apps\.googleusercontent\.com\b/g,matchAccuracy:`high`},{name:`googleOAuthClientSecret`,description:`Google OAuth client secret`,regex:/\b"client_secret":\s*"[a-zA-Z0-9-_]{24}"\b/g,matchAccuracy:`high`},{name:`gcpServiceAccountEmail`,description:`GCP service account email`,regex:/\b[a-z0-9-]+@[a-z0-9-]+\.iam\.gserviceaccount\.com\b/g,matchAccuracy:`high`},{name:`azureStorageConnectionString`,description:`Azure storage account connection string`,regex:/\bDefaultEndpointsProtocol=https?;AccountName=[a-z0-9]+;AccountKey=[a-zA-Z0-9+/]+={0,2};EndpointSuffix=core\.windows\.net\b/g,matchAccuracy:`high`},{name:`azureSubscriptionId`,description:`Azure subscription ID`,regex:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.onmicrosoft\.com\b/g,matchAccuracy:`high`},{name:`azureCosmosDbConnectionString`,description:`Azure Cosmos DB connection string`,regex:/\bAccountEndpoint=https:\/\/[a-z0-9-]+\.documents\.azure\.com:443\/;AccountKey=[a-zA-Z0-9+/]+={0,2}\b/g,matchAccuracy:`high`},{name:`azureServiceBusConnectionString`,description:`Azure Service Bus connection string`,regex:/\bEndpoint=sb:\/\/[a-z0-9-]+\.servicebus\.windows\.net\/;SharedAccessKeyName=[a-zA-Z0-9]+;SharedAccessKey=[a-zA-Z0-9+/]+={0,2}\b/g,matchAccuracy:`high`},{name:`dropboxAccessToken`,description:`Dropbox access token`,regex:/\bsl\.[a-zA-Z0-9_-]{64}\b/g,matchAccuracy:`high`},{name:`dropboxAppKey`,description:`Dropbox app key`,regex:/\b[a-z0-9]{15}\.(?:app|apps)\.dropbox\.com\b/g,matchAccuracy:`high`},{name:`supabaseServiceKey`,description:`Supabase service role key`,regex:/\bsbp_[a-f0-9]{40}\b/g,matchAccuracy:`high`},{name:`planetScaleConnectionString`,description:`PlanetScale connection string`,regex:/\bmysql:\/\/[a-zA-Z0-9_-]+:[a-zA-Z0-9_=-]+@[a-z0-9.-]+\.psdb\.cloud\/[a-zA-Z0-9_-]+\?sslaccept=strict\b/g,matchAccuracy:`high`},{name:`planetScaleToken`,description:`PlanetScale API token`,regex:/\bpscale_tkn_[a-zA-Z0-9_-]{38,43}\b/g,matchAccuracy:`high`},{name:`sendgridApiKey`,description:`SendGrid API key`,regex:/\bSG\.[A-Za-z0-9_-]{20,22}\.[A-Za-z0-9_-]{43}\b/g,matchAccuracy:`high`},{name:`mailgunApiKey`,description:`Mailgun API key`,regex:/\bkey-[0-9a-z]{32}\b/g,matchAccuracy:`high`},{name:`mailchimpApiKey`,description:`MailChimp API key`,regex:/\b[0-9a-f]{32}-us[0-9]{1,2}\b/g,matchAccuracy:`high`},{name:`discordBotToken`,description:`Discord bot token`,regex:/\b[MN][A-Za-z\d]{23}\.[\w-]{6}\.[\w-]{27}\b/g,matchAccuracy:`high`},{name:`discordWebhookUrl`,description:`Discord webhook URL`,regex:/\bhttps:\/\/discord\.com\/api\/webhooks\/[0-9]{18}\/[A-Za-z0-9_-]{68}\b/g,matchAccuracy:`high`},{name:`telegramBotToken`,description:`Telegram bot token`,regex:/\b[0-9]{8,10}:[A-Za-z0-9_-]{35}\b/g,matchAccuracy:`high`},{name:`twilioApiKey`,description:`Twilio API key`,regex:/\bSK[a-z0-9]{32}\b/g,matchAccuracy:`high`},{name:`twilioAccountSid`,description:`Twilio account SID`,regex:/\bAC[0-9a-fA-F]{32}\b/g,matchAccuracy:`high`},{name:`dockerHubToken`,description:`Docker Hub personal access token`,regex:/\bdckr_pat_[a-zA-Z0-9_]{36}\b/g,matchAccuracy:`high`},{name:`pypiApiToken`,description:`PyPI API token`,regex:/\bpypi-[a-zA-Z0-9_-]{84}\b/g,matchAccuracy:`high`},{name:`figmaToken`,description:`Figma personal access token`,regex:/\bfigd_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:`high`},{name:`renderToken`,description:`Render API token`,regex:/\brnd_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:`high`},{name:`airtablePersonalAccessToken`,description:`Airtable personal access token`,regex:/\bpat[a-zA-Z0-9]{14}\.[a-zA-Z0-9]{64}\b/g,matchAccuracy:`high`},{name:`typeformToken`,description:`Typeform API token`,regex:/\btfp_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:`high`},{name:`intercomAccessToken`,description:`Intercom access token`,regex:/\bdG9rOi[a-zA-Z0-9+/]{46,48}={0,2}\b/g,matchAccuracy:`high`},{name:`digitalOceanToken`,description:`DigitalOcean API token`,regex:/\bdop_v1_[a-f0-9]{64}\b/g,matchAccuracy:`high`},{name:`digitalOceanOAuthToken`,description:`DigitalOcean OAuth access token`,regex:/\bdoo_v1_[a-f0-9]{64}\b/g,matchAccuracy:`high`},{name:`digitalOceanRefreshToken`,description:`DigitalOcean OAuth refresh token`,regex:/\bdor_v1_[a-f0-9]{64}\b/g,matchAccuracy:`high`},{name:`cloudflareApiKey`,description:`Cloudflare API key`,regex:/\b['"]?(?:cloudflare)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9_-]{40}['"]?\b/gi,matchAccuracy:`medium`},{name:`cloudflareGlobalApiKey`,description:`Cloudflare Global API key`,regex:/\b['"]?(?:cloudflare)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{37}['"]?\b/gi,matchAccuracy:`medium`},{name:`cloudflareOriginCaKey`,description:`Cloudflare Origin CA key`,regex:/\bv1\.0-[a-f0-9]{24}-[a-f0-9]{146}\b/g,matchAccuracy:`high`},{name:`flyioAccessToken`,description:`Fly.io API access token`,regex:/\bfo1_[\w-]{43}\b/g,matchAccuracy:`high`},{name:`flyioMachineToken`,description:`Fly.io machine token`,regex:/\bfm[12][ar]?_[a-zA-Z0-9+/]{100,}={0,3}\b/g,matchAccuracy:`high`},{name:`dopplerApiToken`,description:`Doppler API token`,regex:/\bdp\.pt\.[a-z0-9]{43}\b/gi,matchAccuracy:`high`},{name:`dynatraceApiToken`,description:`Dynatrace API token`,regex:/\bdt0c01\.[a-z0-9]{24}\.[a-z0-9]{64}\b/gi,matchAccuracy:`high`},{name:`netlifyAccessToken`,description:`Netlify access token`,regex:/\b['"]?(?:netlify)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9=_-]{40,46}['"]?\b/gi,matchAccuracy:`medium`},{name:`scalingoApiToken`,description:`Scalingo API token`,regex:/\btk-us-[\w-]{48}\b/g,matchAccuracy:`high`},{name:`infracostApiToken`,description:`Infracost API token`,regex:/\bico-[a-zA-Z0-9]{32}\b/g,matchAccuracy:`high`},{name:`harnessApiKey`,description:`Harness Access Token (PAT or SAT)`,regex:/\b(?:pat|sat)\.[a-zA-Z0-9_-]{22}\.[a-zA-Z0-9]{24}\.[a-zA-Z0-9]{20}\b/g,matchAccuracy:`high`},{name:`azureAdClientSecret`,description:`Azure AD client secret`,regex:/(?:^|[\\'"` \s>=:(,)])([a-zA-Z0-9_~.]{3}\dQ~[a-zA-Z0-9_~.-]{31,34})(?:$|[\\'"` \s<),])/g,matchAccuracy:`high`},{name:`herokuApiKeyV2`,description:`Heroku API key (new format)`,regex:/\bHRKU-AA[0-9a-zA-Z_-]{58}\b/g,matchAccuracy:`high`},{name:`microsoftTeamsWebhook`,description:`Microsoft Teams incoming webhook URL`,regex:/https:\/\/[a-z0-9]+\.webhook\.office\.com\/webhookb2\/[a-z0-9]{8}-(?:[a-z0-9]{4}-){3}[a-z0-9]{12}@[a-z0-9]{8}-(?:[a-z0-9]{4}-){3}[a-z0-9]{12}\/IncomingWebhook\/[a-z0-9]{32}\/[a-z0-9]{8}-(?:[a-z0-9]{4}-){3}[a-z0-9]{12}/gi,matchAccuracy:`high`},{name:`oktaAccessToken`,description:`Okta access token`,regex:/\b['"]?(?:okta)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?00[\w=-]{40}['"]?\b/gi,matchAccuracy:`high`},{name:`openshiftUserToken`,description:`OpenShift user token`,regex:/\bsha256~[\w-]{43}\b/g,matchAccuracy:`high`}],Ec=[{name:`jwtSecrets`,description:`JWT secrets`,regex:/\bjwt[_-]?secret\s*[:=]\s*['"][^'"]{16,}['"]\b/gi,matchAccuracy:`high`},{name:`kubernetesSecrets`,description:`Kubernetes secrets in YAML`,regex:/\bkind:\s*["']?Secret["']?[\s\S]{0,2000}?\bdata:\s*[\s\S]{0,2000}?[a-zA-Z0-9_-]+:\s*[a-zA-Z0-9+/]{16,}={0,3}\b/gi,matchAccuracy:`high`,fileContext:/\.ya?ml$/i},{name:`dockerComposeSecrets`,description:`Docker Compose secrets`,regex:/\b(?:MYSQL_ROOT_PASSWORD|POSTGRES_PASSWORD|REDIS_PASSWORD|MONGODB_PASSWORD)\s*[:=]\s*['"][^'"]{4,}['"]\b/gi,matchAccuracy:`medium`,fileContext:/docker-compose\.ya?ml$/i},{name:`springBootSecrets`,description:`Spring Boot application secrets`,regex:/\b(?:spring\.datasource\.password|spring\.security\.oauth2\.client\.registration\..*\.client-secret)\s*[:=]\s*['"][^'"]{4,}['"]\b/gi,matchAccuracy:`medium`,fileContext:/(?:application|bootstrap)(?:-\w+)?\.(?:properties|ya?ml)$/i},{name:`dotnetConnectionStrings`,description:`.NET connection strings with credentials`,regex:/\b(?:ConnectionStrings?|connectionString)\s*[:=]\s*['"][^'"]*(?:password|pwd)\s*=\s*[^;'"]{4,}[^'"]*['"]\b/gi,matchAccuracy:`medium`,fileContext:/(?:appsettings|web\.config).*\.(?:json|config)$/i},{name:`base64EncodedSecrets`,description:`Base64 encoded secrets in config`,regex:/\b(?:secret|password|key|token)[_-]?(?:base64|encoded)?\s*[:=]\s*['"][A-Za-z0-9+/]{32,}={0,3}['"]\b/gi,matchAccuracy:`medium`}],Dc=[{name:`rsaPrivateKey`,description:`RSA private key`,regex:/-----BEGIN (?:RSA )?PRIVATE KEY-----[\s\S]*?-----END (?:RSA )?PRIVATE KEY-----/g,matchAccuracy:`high`},{name:`pkcs8PrivateKey`,description:`PKCS#8 private key`,regex:/\b-----BEGIN (?:ENCRYPTED )?PRIVATE KEY-----\s*[\s\S]*?-----END (?:ENCRYPTED )?PRIVATE KEY-----\b/g,matchAccuracy:`high`},{name:`ecPrivateKey`,description:`Elliptic Curve private key`,regex:/\b-----BEGIN EC PRIVATE KEY-----\s*[\s\S]*?-----END EC PRIVATE KEY-----\b/g,matchAccuracy:`high`},{name:`dsaPrivateKey`,description:`DSA private key`,regex:/\b-----BEGIN DSA PRIVATE KEY-----\s*[\s\S]*?-----END DSA PRIVATE KEY-----\b/g,matchAccuracy:`high`},{name:`opensshPrivateKey`,description:`OpenSSH private key`,regex:/-----BEGIN OPENSSH PRIVATE KEY-----[\s\S]*?-----END OPENSSH PRIVATE KEY-----/g,matchAccuracy:`high`},{name:`sshPrivateKeyEncrypted`,description:`SSH private key (SSH2 encrypted format)`,regex:/\b-----BEGIN SSH2 ENCRYPTED PRIVATE KEY-----\s*[\s\S]*?-----END SSH2 ENCRYPTED PRIVATE KEY-----\b/g,matchAccuracy:`high`},{name:`puttyPrivateKey`,description:`PuTTY private key file`,regex:/\bPuTTY-User-Key-File-[23]:\s*[\s\S]*?Private-MAC:\b/g,matchAccuracy:`high`},{name:`pgpPrivateKey`,description:`PGP private key block`,regex:/\b-----BEGIN PGP PRIVATE KEY BLOCK-----\s*[\s\S]*?-----END PGP PRIVATE KEY BLOCK-----\b/g,matchAccuracy:`high`},{name:`firebaseServiceAccountPrivateKey`,description:`Firebase service account private key (JSON format)`,regex:/\b"private_key":\s*"-----BEGIN PRIVATE KEY-----\\n[a-zA-Z0-9+/=\\n]+\\n-----END PRIVATE KEY-----"\b/g,matchAccuracy:`high`},{name:`openvpnClientPrivateKey`,description:`OpenVPN client private key`,regex:/\b<key>\s*-----BEGIN[^<]*-----END[^<]*<\/key>\b/g,matchAccuracy:`high`},{name:`dhParameters`,description:`Diffie-Hellman parameters`,regex:/\b-----BEGIN DH PARAMETERS-----\s*[\s\S]*?-----END DH PARAMETERS-----\b/g,matchAccuracy:`high`},{name:`ageSecretKey`,description:`Age encryption secret key`,regex:/\bAGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}\b/g,matchAccuracy:`high`},{name:`vaultBatchToken`,description:`HashiCorp Vault batch token`,regex:/\bhvb\.[a-zA-Z0-9_-]{20,}\b/g,matchAccuracy:`high`},{name:`vaultServiceToken`,description:`HashiCorp Vault service token`,regex:/\bhvs\.[a-zA-Z0-9_-]{20,}\b/g,matchAccuracy:`high`},{name:`vaultPeriodicToken`,description:`HashiCorp Vault periodic token`,regex:/\bhvp\.[a-zA-Z0-9_-]{20,}\b/g,matchAccuracy:`high`},{name:`base64PrivateKeyContent`,description:`Base64 encoded private key content`,regex:/\b(?:private[_-]?key|secret[_-]?key)\s*[:=]\s*["'][A-Za-z0-9+/]{64,}={0,2}["']\b/gi,matchAccuracy:`medium`},{name:`hexEncodedKey`,description:`Hexadecimal encoded cryptographic key`,regex:/\b(?:key|secret)\s*[:=]\s*["'][a-fA-F0-9]{32,}["']\b/gi,matchAccuracy:`medium`}],Oc=[{name:`postgresqlConnectionString`,description:`PostgreSQL connection string with credentials`,regex:/\bpostgresql:\/\/[^:]+:[^@]+@[^/\s]+\/[^?\s]+\b/gi,matchAccuracy:`high`},{name:`mysqlConnectionString`,description:`MySQL connection string with credentials`,regex:/\bmysql:\/\/[^:]+:[^@]+@[^/\s]+\/[^?\s]+\b/gi,matchAccuracy:`high`},{name:`mongodbConnectionString`,description:`MongoDB connection string with credentials`,regex:/\bmongodb:\/\/[a-zA-Z0-9._-]+:[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+:[0-9]+\/[a-zA-Z0-9._-]+\b/g,matchAccuracy:`high`},{name:`redisConnectionString`,description:`Redis connection string with credentials`,regex:/\bredis:\/\/[a-zA-Z0-9._-]+:[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+:[0-9]+\b/g,matchAccuracy:`high`},{name:`redisAuthPassword`,description:`Redis AUTH password command`,regex:/\bAUTH\s+[a-zA-Z0-9_-]{8,}\b/gi,matchAccuracy:`medium`},{name:`elasticsearchCredentials`,description:`Elasticsearch credentials in URL`,regex:/\bhttps?:\/\/[^:]+:[^@]+@[^/\s]+:9200\b/gi,matchAccuracy:`high`},{name:`couchdbCredentials`,description:`CouchDB credentials in URL`,regex:/\bhttp[s]?:\/\/[^:]+:[^@]+@[^/\s]+:5984\b/gi,matchAccuracy:`high`},{name:`neo4jCredentials`,description:`Neo4j database credentials in URL`,regex:/\bbolt[s]?:\/\/[^:]+:[^@]+@[^/\s]+:7687\b/gi,matchAccuracy:`high`},{name:`timescaledbConnectionString`,description:`TimescaleDB connection string with credentials`,regex:/\btimescaledb:\/\/[^:]+:[^@]+@[^/\s]+\/[^?\s]+\b/gi,matchAccuracy:`high`},{name:`clickhouseCredentials`,description:`ClickHouse connection string with credentials`,regex:/\bclickhouse:\/\/[^:]+:[^@]+@[^/\s]+:8123\b/gi,matchAccuracy:`high`},{name:`cassandraConnectionString`,description:`Cassandra connection string with credentials`,regex:/\bcassandra:\/\/[^:]+:[^@]+@[^/\s]+:9042\b/gi,matchAccuracy:`high`},{name:`faunadbKey`,description:`FaunaDB secret key`,regex:/\bfn[a-zA-Z0-9]{40}\b/g,matchAccuracy:`high`},{name:`databricksApiToken`,description:`Databricks API token`,regex:/\bdapi[a-f0-9]{32}(?:-\d)?\b/g,matchAccuracy:`high`},{name:`pineconeApiKey`,description:`Pinecone API key`,regex:/\bpinecone[\s\w]*(?:api|key|env)[\s:=]*["']?[a-zA-Z0-9_-]{32}["']?\b/gi,matchAccuracy:`medium`},{name:`databaseUrlWithCredentials`,description:`Generic database URL with embedded credentials`,regex:/\b(?:postgres|mysql|mongodb|redis):\/\/[^:]+:[^@]+@[^/\s]+\b/gi,matchAccuracy:`medium`},{name:`clickhouseCloudApiKey`,description:`ClickHouse Cloud API secret key`,regex:/\b4b1d[A-Za-z0-9]{38}\b/g,matchAccuracy:`high`},{name:`neonDatabaseConnectionString`,description:`Neon database connection string`,regex:/\bpostgres:\/\/[^:]+:[^@]+@[^/\s]*neon\.tech[^?\s]*\b/gi,matchAccuracy:`high`},{name:`tursoDatabaseToken`,description:`Turso database auth token`,regex:/\b['"]?(?:turso|libsql)(?:[\s\w.-]{0,20})(?:token|auth)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9._-]{50,}['"]?\b/gi,matchAccuracy:`medium`},{name:`upstashRedisToken`,description:`Upstash Redis REST token`,regex:/\b['"]?(?:upstash)(?:[\s\w.-]{0,20})(?:token|key)['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9=]{40,}['"]?\b/gi,matchAccuracy:`medium`}],kc=[{name:`npmAccessToken`,description:`NPM access token`,regex:/\bnpm_[a-zA-Z0-9]{36}\b/g,matchAccuracy:`high`},{name:`nugetApiKey`,description:`NuGet API key`,regex:/\boy2[a-z0-9]{43}\b/g,matchAccuracy:`high`},{name:`artifactoryApiKey`,description:`JFrog Artifactory API key`,regex:/\bAKCp[A-Za-z0-9]{69}\b/g,matchAccuracy:`high`},{name:`herokuApiKey`,description:`Heroku API key`,regex:/\bheroku.*[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\b/gi,matchAccuracy:`high`},{name:`terraformCloudToken`,description:`Terraform Cloud API token`,regex:/\b[a-zA-Z0-9]{14}\.[a-zA-Z0-9]{6}\.[a-zA-Z0-9]{16}\b/g,matchAccuracy:`high`},{name:`pulumiAccessToken`,description:`Pulumi access token`,regex:/\bpul-[a-f0-9]{40}\b/g,matchAccuracy:`high`},{name:`atlassianApiToken`,description:`Atlassian API token (Jira/Confluence)`,regex:/\bATATT3[A-Za-z0-9_\-=]{186}\b/g,matchAccuracy:`high`},{name:`sourcegraphApiKey`,description:`Sourcegraph API key`,regex:/\bsgp_[a-zA-Z0-9]{32}\b/g,matchAccuracy:`high`},{name:`linearApiKey`,description:`Linear API key`,regex:/\blin_api_[0-9A-Za-z]{40}\b/g,matchAccuracy:`high`},{name:`notionIntegrationToken`,description:`Notion integration token`,regex:/\bntn_[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:`high`},{name:`stackhawkApiKey`,description:`StackHawk API key`,regex:/\bhawk\.[0-9A-Za-z\-_]{20}\.[0-9A-Za-z\-_]{20}\b/g,matchAccuracy:`high`},{name:`sentryAuthToken`,description:`Sentry authentication token`,regex:/\bsentry[\s\w]*(?:auth|token)[\s:=]*["']?[a-f0-9]{64}["']?\b/gi,matchAccuracy:`medium`},{name:`bugsnagApiKey`,description:`Bugsnag API key`,regex:/\bbugsnag[\s\w]*(?:api|key)[\s:=]*["']?[a-f0-9]{32}["']?\b/gi,matchAccuracy:`medium`},{name:`rollbarAccessToken`,description:`Rollbar access token`,regex:/\brollbar[\s\w]*(?:access|token)[\s:=]*["']?[a-f0-9]{32}["']?\b/gi,matchAccuracy:`medium`},{name:`postmanApiToken`,description:`Postman API token`,regex:/\bPMAK-[a-f0-9]{24}-[a-f0-9]{34}\b/gi,matchAccuracy:`high`},{name:`prefectApiToken`,description:`Prefect API token`,regex:/\bpnu_[a-zA-Z0-9]{36}\b/g,matchAccuracy:`high`},{name:`readmeApiToken`,description:`Readme API token`,regex:/\brdme_[a-z0-9]{70}\b/g,matchAccuracy:`high`},{name:`rubygemsApiToken`,description:`RubyGems API token`,regex:/\brubygems_[a-f0-9]{48}\b/g,matchAccuracy:`high`},{name:`clojarsApiToken`,description:`Clojars API token`,regex:/\bCLOJARS_[a-z0-9]{60}\b/gi,matchAccuracy:`high`},{name:`snykApiToken`,description:`Snyk API token`,regex:/\b['"]?(?:snyk[_.-]?(?:(?:api|oauth)[_.-]?)?(?:key|token))['"]?\s*(?::|=>|=)\s*['"]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}['"]?\b/gi,matchAccuracy:`high`},{name:`sonarqubeToken`,description:`SonarQube/SonarCloud token`,regex:/\b(?:squ_|sqp_|sqa_)[a-z0-9=_-]{40}\b/gi,matchAccuracy:`high`},{name:`travisciAccessToken`,description:`Travis CI access token`,regex:/\b['"]?(?:travis)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{22}['"]?\b/gi,matchAccuracy:`medium`},{name:`codecovAccessToken`,description:`Codecov access token`,regex:/\b['"]?(?:codecov)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:`medium`},{name:`droneCiAccessToken`,description:`DroneCI access token`,regex:/\b['"]?(?:droneci|drone)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:`medium`},{name:`octopusDeployApiKey`,description:`Octopus Deploy API key`,regex:/\bAPI-[A-Z0-9]{26}\b/g,matchAccuracy:`high`},{name:`circleciToken`,description:`CircleCI personal API token`,regex:/\b['"]?(?:circleci|circle)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{40}['"]?\b/gi,matchAccuracy:`medium`},{name:`buildkiteAgentToken`,description:`Buildkite agent token`,regex:/\bbkagent_[a-f0-9]{40}\b/g,matchAccuracy:`high`},{name:`launchdarklyAccessToken`,description:`LaunchDarkly access token`,regex:/\b['"]?(?:launchdarkly)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9=_-]{40}['"]?\b/gi,matchAccuracy:`medium`},{name:`algoliaApiKey`,description:`Algolia API key`,regex:/\b['"]?(?:algolia)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:`medium`}],Ac=[{name:`shopifyStorefrontAccessToken`,description:`Shopify storefront API access token`,regex:/\bshpatf_[0-9a-f]{32}\b/g,matchAccuracy:`high`},{name:`woocommerceConsumerKey`,description:`WooCommerce consumer key`,regex:/\bck_[a-f0-9]{40}\b/g,matchAccuracy:`high`},{name:`woocommerceConsumerSecret`,description:`WooCommerce consumer secret`,regex:/\bcs_[a-f0-9]{40}\b/g,matchAccuracy:`high`},{name:`contentfulAccessToken`,description:`Contentful access token`,regex:/\bCFPAT-[0-9a-zA-Z]{20}\b/g,matchAccuracy:`high`},{name:`mailchimpEcommerceApiKey`,description:`MailChimp E-commerce API key`,regex:/\b[0-9a-f]{32}-[a-z]{2,3}[0-9]{1,2}\b/g,matchAccuracy:`high`}],jc=[{name:`gitlabPersonalAccessToken`,description:`GitLab personal access token`,regex:/\bglpat-[A-Za-z0-9_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabDeployToken`,description:`GitLab deploy token`,regex:/\bgldt-[A-Za-z0-9_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabRunnerToken`,description:`GitLab runner registration token`,regex:/\bglrt-[A-Za-z0-9_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabCiJobToken`,description:`GitLab CI/CD job token`,regex:/\bglcbt-[0-9a-zA-Z]{1,5}_[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabRunnerAuthToken`,description:`GitLab runner authentication token`,regex:/\bglrt-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabPipelineTriggerToken`,description:`GitLab pipeline trigger token`,regex:/\bglptt-[0-9a-f]{40}\b/g,matchAccuracy:`high`},{name:`bitbucketAppPassword`,description:`Bitbucket app password`,regex:/\bATBB[a-zA-Z0-9]{24}\b/g,matchAccuracy:`high`},{name:`githubTokens`,description:`GitHub personal access token (classic)`,regex:/\b((?:ghp|gho|ghu|ghs|ghr|github_pat)_[a-zA-Z0-9_]{36,255})\b/g,matchAccuracy:`high`},{name:`githubAppInstallationToken`,description:`GitHub App installation token`,regex:/\bghs_[0-9a-zA-Z]{37}\b/g,matchAccuracy:`high`},{name:`gitlabScimToken`,description:`GitLab SCIM token`,regex:/\bglsoat-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabFeatureFlagToken`,description:`GitLab feature flag client token`,regex:/\bglffct-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabFeedToken`,description:`GitLab feed token`,regex:/\bglft-[0-9a-zA-Z_-]{20}\b/g,matchAccuracy:`high`},{name:`gitlabIncomingMailToken`,description:`GitLab incoming mail token`,regex:/\bglimt-[0-9a-zA-Z_-]{25}\b/g,matchAccuracy:`high`},{name:`gitlabK8sAgentToken`,description:`GitLab Kubernetes agent token`,regex:/\bglagent-[0-9a-zA-Z_-]{50}\b/g,matchAccuracy:`high`},{name:`gitlabOAuthAppSecret`,description:`GitLab OAuth application secret`,regex:/\bgloas-[0-9a-zA-Z_-]{64}\b/g,matchAccuracy:`high`},{name:`gitlabSessionCookie`,description:`GitLab session cookie`,regex:/_gitlab_session=[0-9a-z]{32}/g,matchAccuracy:`high`},{name:`bitbucketRepoToken`,description:`Bitbucket repository access token`,regex:/\bATCTT3[a-zA-Z0-9]{24}\b/g,matchAccuracy:`high`}],Mc=[{name:`mapboxSecretToken`,description:`Mapbox secret access token`,regex:/\bsk\.eyJ[a-zA-Z0-9._-]{87}\b/g,matchAccuracy:`high`},{name:`grafanaCloudApiKey`,description:`Grafana Cloud API key`,regex:/\bglc_[a-zA-Z0-9]{32}\b/g,matchAccuracy:`high`},{name:`newRelicApiKey`,description:`New Relic API key`,regex:/\bNRAK-[A-Z0-9]{27}\b/g,matchAccuracy:`high`},{name:`newRelicInsightKey`,description:`New Relic Insights query key`,regex:/\bNRIK-[A-Z0-9]{32}\b/g,matchAccuracy:`high`},{name:`newRelicBrowserApiToken`,description:`New Relic browser API token`,regex:/\bNRJS-[a-f0-9]{19}\b/g,matchAccuracy:`high`},{name:`newRelicInsertKey`,description:`New Relic ingest insert key`,regex:/\bNRII-[a-z0-9-]{32}\b/gi,matchAccuracy:`high`},{name:`grafanaApiKey`,description:`Grafana API key`,regex:/\beyJrIjoi[A-Za-z0-9]{70,400}={0,3}\b/gi,matchAccuracy:`high`},{name:`grafanaServiceAccountToken`,description:`Grafana service account token`,regex:/\bglsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8}\b/g,matchAccuracy:`high`},{name:`sentryOrgToken`,description:`Sentry organization token`,regex:/\bsntrys_eyJpYXQiO[a-zA-Z0-9+/]{10,200}(?:LCJyZWdpb25fdXJs|InJlZ2lvbl91cmwi|cmVnaW9uX3VybCI6)[a-zA-Z0-9+/]{10,200}={0,2}_[a-zA-Z0-9+/]{43}\b/g,matchAccuracy:`high`},{name:`sentryUserToken`,description:`Sentry user token`,regex:/\bsntryu_[a-f0-9]{64}\b/g,matchAccuracy:`high`},{name:`sumoLogicAccessId`,description:`SumoLogic access ID`,regex:/\b['"]?(?:sumo)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?su[a-zA-Z0-9]{12}['"]?\b/gi,matchAccuracy:`high`},{name:`splunkApiToken`,description:`Splunk HEC token`,regex:/\b['"]?(?:splunk)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}['"]?\b/gi,matchAccuracy:`medium`},{name:`logdnaApiKey`,description:`LogDNA/Mezmo API key`,regex:/\b['"]?(?:logdna|mezmo)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{32}['"]?\b/gi,matchAccuracy:`medium`},{name:`logglyToken`,description:`Loggly customer token`,regex:/\b['"]?(?:loggly)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}['"]?\b/gi,matchAccuracy:`medium`}],Nc=[{name:`stripeSecretKey`,description:`Stripe secret key (sk_*, rk_*)`,regex:/\b[rs]k_live_[a-zA-Z0-9]{20,247}\b/g,matchAccuracy:`high`},{name:`stripeWebhookSecret`,description:`Stripe webhook signing secret`,regex:/\bwhsec_[a-zA-Z0-9]{32,}\b/g,matchAccuracy:`high`},{name:`paypalAccessToken`,description:`PayPal access token`,regex:/\bA21AA[a-zA-Z0-9_-]{50,}\b/g,matchAccuracy:`high`},{name:`paypalBraintreeAccessToken`,description:`PayPal Braintree access token`,regex:/\baccess_token\$(?:production|sandbox)\$[0-9a-z]{16}\$[0-9a-f]{32}\b/g,matchAccuracy:`high`},{name:`squareAccessToken`,description:`Square access token (all formats)`,regex:/\b(?:EAAAE[A-Za-z0-9_-]{94,}|sq0[a-z]?atp-[0-9A-Za-z\-_]{22,26})\b/g,matchAccuracy:`high`},{name:`squareOauthSecret`,description:`Square OAuth secret`,regex:/\bsq0csp-[0-9A-Za-z\-_]{43}\b/g,matchAccuracy:`high`},{name:`squareApplicationId`,description:`Square application ID`,regex:/\bsq0ids-[a-zA-Z0-9_-]{43}\b/g,matchAccuracy:`high`},{name:`shopifyPrivateAppPassword`,description:`Shopify private app password`,regex:/\bshppa_[a-fA-F0-9]{32}\b/g,matchAccuracy:`high`},{name:`shopifyAccessToken`,description:`Shopify access token`,regex:/\bshpat_[a-fA-F0-9]{32}\b/g,matchAccuracy:`high`},{name:`shopifyWebhookToken`,description:`Shopify webhook token`,regex:/\bshpwh_[a-fA-F0-9]{32}\b/g,matchAccuracy:`high`},{name:`adyenApiKey`,description:`Adyen API key`,regex:/\bAQE[a-zA-Z0-9]{70,}\b/g,matchAccuracy:`high`},{name:`razorpayApiKey`,description:`Razorpay API key`,regex:/\brzp_(?:test|live)_[a-zA-Z0-9]{14}\b/g,matchAccuracy:`high`},{name:`flutterwaveKeys`,description:`Flutterwave API keys`,regex:/\bFLW(?:PUBK|SECK)_(?:TEST|LIVE)-[a-h0-9]{32}-X\b/g,matchAccuracy:`high`},{name:`coinbaseAccessToken`,description:`Coinbase access token`,regex:/\b['"]?(?:coinbase)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9_-]{64}['"]?\b/gi,matchAccuracy:`medium`},{name:`krakenAccessToken`,description:`Kraken access token`,regex:/\b['"]?(?:kraken)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9/=_+-]{80,90}['"]?\b/gi,matchAccuracy:`medium`},{name:`kucoinAccessToken`,description:`Kucoin access token`,regex:/\b['"]?(?:kucoin)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{24}['"]?\b/gi,matchAccuracy:`medium`},{name:`kucoinSecretKey`,description:`Kucoin secret key`,regex:/\b['"]?(?:kucoin)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}['"]?\b/gi,matchAccuracy:`medium`},{name:`bittrexAccessKey`,description:`Bittrex access key`,regex:/\b['"]?(?:bittrex)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{32}['"]?\b/gi,matchAccuracy:`medium`},{name:`binanceApiKey`,description:`Binance API key`,regex:/\b['"]?(?:binance)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9]{64}['"]?\b/gi,matchAccuracy:`medium`},{name:`bybitApiKey`,description:`Bybit API key`,regex:/\b['"]?(?:bybit)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[A-Za-z0-9]{18,24}['"]?\b/gi,matchAccuracy:`medium`},{name:`gocardlessApiToken`,description:`GoCardless API token`,regex:/\blive_[a-z0-9\-_=]{40}\b/gi,matchAccuracy:`high`},{name:`plaidApiToken`,description:`Plaid API token`,regex:/\baccess-(?:sandbox|development|production)-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/g,matchAccuracy:`high`}],Pc=[{name:`privateKeyPem`,description:`Private key in PEM format (comprehensive)`,regex:/-----BEGIN\s?(?:(?:RSA|DSA|EC|OPENSSH|ENCRYPTED)\s+)?PRIVATE\s+KEY(?:\s+BLOCK)?-----[\s\S]*?-----END\s?(?:(?:RSA|DSA|EC|OPENSSH|ENCRYPTED)\s+)?PRIVATE\s+KEY(?:\s+BLOCK)?-----/g,matchAccuracy:`high`},{name:`pgpPrivateKeyBlock`,description:`PGP private key block (comprehensive)`,regex:/-----BEGIN\s+PGP\s+PRIVATE\s+KEY\s+BLOCK-----[\s\S]*?-----END\s+PGP\s+PRIVATE\s+KEY\s+BLOCK-----/g,matchAccuracy:`high`}],Fc=[{name:`credentialsInUrl`,description:`Credentials embedded in URL`,regex:/\b[a-zA-Z]{3,10}:\/\/[^\\/\s:@]{3,20}:[^\\/\s:@]{3,20}@[^\s'"]+\b/g,matchAccuracy:`high`},{name:`envVarSecrets`,description:`Environment variable secrets (KEY, SECRET, TOKEN, PASSWORD)`,regex:/\b(?:\w+_)?(?:SECRET|secret|password|key|token|jwt_secret)(?:_\w+)?\s*=\s*["'][^"']{16,}["']/gi,matchAccuracy:`medium`}],Ic=[{name:`slackBotToken`,description:`Slack bot token`,regex:/\bxoxb-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:`high`},{name:`slackUserToken`,description:`Slack user token`,regex:/\bxoxp-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:`high`},{name:`slackWorkspaceToken`,description:`Slack workspace token`,regex:/\bxoxa-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:`high`},{name:`slackRefreshToken`,description:`Slack refresh token`,regex:/\bxoxr-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*\b/g,matchAccuracy:`high`},{name:`slackWebhookUrl`,description:`Slack incoming webhook URL`,regex:/(?:https?:\/\/)?hooks\.slack\.com\/(?:services|workflows|triggers)\/[A-Za-z0-9+/]{43,56}/gi,matchAccuracy:`high`},{name:`slackAppToken`,description:`Slack app-level token`,regex:/\bxapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+\b/gi,matchAccuracy:`high`},{name:`slackConfigAccessToken`,description:`Slack configuration access token`,regex:/\bxoxe\.xox[bp]-\d-[A-Z0-9]{163,166}\b/gi,matchAccuracy:`high`},{name:`sendbirdAccessToken`,description:`Sendbird access token`,regex:/\b['"]?(?:sendbird)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{40}['"]?\b/gi,matchAccuracy:`medium`},{name:`messagebirdApiToken`,description:`MessageBird API token`,regex:/\b['"]?(?:messagebird|message_bird|message-bird)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{25}['"]?\b/gi,matchAccuracy:`medium`},{name:`mattermostAccessToken`,description:`Mattermost access token`,regex:/\b['"]?(?:mattermost)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{26}['"]?\b/gi,matchAccuracy:`medium`},{name:`zendeskSecretKey`,description:`Zendesk secret key`,regex:/\b['"]?(?:zendesk)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{40}['"]?\b/gi,matchAccuracy:`medium`},{name:`freshdeskApiKey`,description:`Freshdesk API key`,regex:/\b['"]?(?:freshdesk)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{20}['"]?\b/gi,matchAccuracy:`medium`},{name:`sendinblueApiToken`,description:`Sendinblue (Brevo) API token`,regex:/\bxkeysib-[a-f0-9]{64}-[a-z0-9]{16}\b/g,matchAccuracy:`high`}],Lc=[{name:`twitterBearerToken`,description:`Twitter/X Bearer token`,regex:/\bAAAAAAAAAAAAAAAAAAAAA[a-zA-Z0-9%]{50,}\b/g,matchAccuracy:`high`},{name:`facebookAccessToken`,description:`Facebook/Meta access token`,regex:/\bEAA[a-zA-Z0-9]{80,120}\b/g,matchAccuracy:`high`},{name:`facebookPageAccessToken`,description:`Facebook/Meta page access token`,regex:/\bEAAB[a-zA-Z0-9+/]{100,}\b/g,matchAccuracy:`high`},{name:`instagramAccessToken`,description:`Instagram access token`,regex:/\bIGQV[a-zA-Z0-9_-]{100,}\b/g,matchAccuracy:`high`},{name:`discordSocialBotToken`,description:`Discord social bot token`,regex:/\b[MN][A-Za-z\d]{23}\.[A-Za-z\d-_]{6}\.[A-Za-z\d-_]{27}\b/g,matchAccuracy:`high`},{name:`discordSocialWebhookUrl`,description:`Discord social webhook URL`,regex:/\bhttps:\/\/discord(?:app)?\.com\/api\/webhooks\/[0-9]{17,19}\/[A-Za-z0-9_-]{68}\b/g,matchAccuracy:`high`},{name:`pinterestAccessToken`,description:`Pinterest access token`,regex:/\bpina_[a-zA-Z0-9]{32}\b/g,matchAccuracy:`high`},{name:`linkedinApiToken`,description:`LinkedIn API token`,regex:/\b['"]?(?:linkedin|linked_in|linked-in)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-z0-9]{14,16}['"]?\b/gi,matchAccuracy:`medium`},{name:`youtubeApiKey`,description:`YouTube Data API key`,regex:/\b['"]?(?:youtube)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?AIza[a-zA-Z0-9_-]{35}['"]?\b/gi,matchAccuracy:`high`},{name:`tiktokApiToken`,description:`TikTok API token`,regex:/\b['"]?(?:tiktok)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9_-]{40,}['"]?\b/gi,matchAccuracy:`medium`}],Rc=[{name:`shippoApiToken`,description:`Shippo API token`,regex:/\bshippo_(?:live|test)_[a-fA-F0-9]{40}\b/g,matchAccuracy:`high`},{name:`easypostApiToken`,description:`EasyPost API token`,regex:/\bEZAK[a-z0-9]{54}\b/gi,matchAccuracy:`high`},{name:`easypostTestApiToken`,description:`EasyPost test API token`,regex:/\bEZTK[a-z0-9]{54}\b/gi,matchAccuracy:`high`},{name:`duffelApiToken`,description:`Duffel travel API token`,regex:/\bduffel_(?:test|live)_[a-z0-9_\-=]{43}\b/gi,matchAccuracy:`high`},{name:`frameioApiToken`,description:`Frame.io API token`,regex:/\bfio-u-[a-z0-9\-_=]{64}\b/gi,matchAccuracy:`high`},{name:`maxmindLicenseKey`,description:`MaxMind license key`,regex:/\b[A-Za-z0-9]{6}_[A-Za-z0-9]{29}_mmk\b/g,matchAccuracy:`high`},{name:`asanaPersonalAccessToken`,description:`Asana personal access token`,regex:/\b['"]?(?:asana)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[0-9]{16}['"]?\b/gi,matchAccuracy:`medium`},{name:`mondayApiToken`,description:`Monday.com API token`,regex:/\b['"]?(?:monday)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?eyJ[a-zA-Z0-9_-]{100,}['"]?\b/gi,matchAccuracy:`medium`},{name:`trelloApiKey`,description:`Trello API key`,regex:/\b['"]?(?:trello)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-f0-9]{32}['"]?\b/gi,matchAccuracy:`medium`},{name:`jiraApiToken`,description:`Jira API token`,regex:/\b['"]?(?:jira)(?:[\s\w.-]{0,20})['"]?\s*(?::|=>|=)\s*['"]?[a-zA-Z0-9]{24}['"]?\b/gi,matchAccuracy:`medium`},{name:`settlemintApplicationAccessToken`,description:`SettleMint application access token`,regex:/\bsm_aat_[a-zA-Z0-9]{16}\b/g,matchAccuracy:`high`},{name:`settlemintPersonalAccessToken`,description:`SettleMint personal access token`,regex:/\bsm_pat_[a-zA-Z0-9]{16}\b/g,matchAccuracy:`high`},{name:`settlemintServiceAccessToken`,description:`SettleMint service access token`,regex:/\bsm_sat_[a-zA-Z0-9]{16}\b/g,matchAccuracy:`high`}],zc=[...xc,...Cc,...wc,...Sc,...Tc,...Ec,...Dc,...Oc,...kc,...Ac,...Fc,...Mc,...Nc,...Pc,...Rc,...Ic,...Lc,...jc];let Bc=null,Vc=[];function Hc(e){if(!e)return e;let t=Uc(),n=[],r;for(;(r=t.exec(e))!==null;){for(let e=0;e<Vc.length;e++)if(r.groups?.[`p${e}`]){n.push({start:r.index,end:r.index+r[0].length,accuracy:Vc[e]?.matchAccuracy||`medium`});break}r[0].length===0&&t.lastIndex++}if(n.length===0)return e;n.sort((e,t)=>e.start-t.start);let i=[],a=-1;for(let e of n)e.start>=a&&(i.push(e),a=e.end);let o=e;for(let t=i.length-1;t>=0;t--){let n=i[t];if(n){let t=Wc(e.slice(n.start,n.end));o=o.slice(0,n.start)+t+o.slice(n.end)}}return o}function Uc(){return Bc||(Bc=Gc(zc),Vc=zc),Bc}function Wc(e){let t=``;for(let n=0;n<e.length;n++)n%2==0?t+=`*`:t+=e[n];return t}function Gc(e){let t=e.map((e,t)=>`(?<p${t}>${e.regex.source})`);return new RegExp(t.join(`|`),`gi`)}let Kc=null,qc=null,Jc=rc,Yc=bc,Xc=Ts;async function Zc(){let e=Jc();if(e)return e;try{let e=await Xc();if(e?.trim())return e.trim()}catch(e){e instanceof Error&&e.message&&(e.message=Hc(e.message))}try{let e=await Yc();if(e)return e}catch(e){e instanceof Error&&e.message&&(e.message=Hc(e.message))}return null}function Qc(){{let e=Hc(rn.NOT_INITIALIZED.message);throw Error(e)}return null}async function $c(){return Kc||qc||(qc=(async()=>{try{return Kc=await Zc(),Kc}finally{qc=null}})(),qc)}function el(){return Qc().enableLocal}function tl(){return!1}function nl(){return null}async function rl(e,t,n,r,i){let a=nl();a&&await a.logToolCall(e,t,n,r,i)}async function il(e){let t=nl();t&&await t.logPromptCall(e)}async function al(e,t){let n=nl();n&&await n.logError(e,t)}async function ol(e){let t=nl();t&&await t.logRateLimit(e)}async function sl(e,t={}){let{maxRetries:n=10,initialDelayMs:r=1e3,headers:i={},method:a=`GET`,includeVersion:o=!1}=t,s=e;o&&(s=`${e}${e.includes(`?`)?`&`:`?`}version=${encodeURIComponent(en)}`);let c={"User-Agent":`Octocode-MCP/${en}`,...i},l=globalThis.fetch;if(!l)throw al(`fetchWithRetries`,on.FETCH_NOT_AVAILABLE.code).catch(()=>{}),Error(on.FETCH_NOT_AVAILABLE.message);let u,d=n+1;for(let e=1;e<=d;e++)try{let e=await l(s,{method:a,headers:c});if(!e.ok){al(`fetchWithRetries`,on.FETCH_HTTP_ERROR.code).catch(()=>{});let t=Error(on.FETCH_HTTP_ERROR.message(e.status,e.statusText));throw t.status=e.status,t.headers=e.headers,t.retryable=e.status===429||e.status>=500&&e.status<600,t}return e.status===204?null:await e.json()}catch(t){let n=t;if(n&&n.retryable===!1)throw t;if(u=t instanceof Error?t:Error(String(t)),e===d)break;let i=r*2**(e-1);if(n&&n.headers&&typeof n.headers.get==`function`){let e=n.headers.get(`Retry-After`);if(e){let t=parseInt(e,10);isNaN(t)||(i=t*1e3)}}await new Promise(e=>setTimeout(e,i))}throw await al(`fetchWithRetries`,on.FETCH_FAILED_AFTER_RETRIES.code),Error(on.FETCH_FAILED_AFTER_RETRIES.message(d,u?.message||``))}const cl={hasResults:[`Follow 'mainResearchGoal', 'researchGoal', 'reasoning', 'hints' to navigate research`,`Do findings answer your question? If partial, identify gaps and continue`,`Got 3+ examples? Consider stopping to avoid over-research`,`Check last modified dates - skip stale content`],empty:[`Try broader terms or related concepts`,`Remove filters one at a time to find what blocks results`,`Separate concerns into multiple simpler queries`,`<AGENT_INSTRUCTION>If stuck in loop - STOP and ask user</AGENT_INSTRUCTION>`]};let ll=null,ul=null;const dl=Jt({name:K(),description:K(),required:Kt().optional()}),fl=Jt({name:K(),description:K(),content:K(),args:qt(dl).optional()}),pl=Jt({name:K(),description:K(),schema:Zt(K()),hints:Jt({hasResults:qt(K()),empty:qt(K()),dynamic:Zt(qt(K()).optional()).optional()})}),ml=Jt({mainResearchGoal:K(),researchGoal:K(),reasoning:K(),bulkQueryTemplate:K()}),hl=Jt({instructions:Jt({base:K().optional(),hasResults:K().optional(),empty:K().optional(),error:K().optional()}).optional()}),gl=Jt({instructions:K(),prompts:Zt(fl),toolNames:Zt(K()),baseSchema:ml,tools:Zt(pl),baseHints:Jt({hasResults:qt(K()),empty:qt(K())}),genericErrorHints:qt(K()),bulkOperations:hl.optional()});function _l(){if(!ll)throw al(`toolMetadata`,sn.INVALID_FORMAT.code).catch(()=>{}),Error(`Tool metadata not initialized. Call and await initializeToolMetadata() before using tool metadata.`);return ll}function vl(e){return e&&typeof e==`object`&&(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let n=e[t];n!==null&&(typeof n==`object`||typeof n==`function`)&&!Object.isFrozen(n)&&vl(n)})),e}async function yl(){if(!ll){if(ul)return ul;ul=(async()=>{let e=await sl(`https://octocodeai.com/api/mcpContent`,{maxRetries:3,includeVersion:!0}),t=gl.safeParse(e);if(!t.success)throw await al(`toolMetadata`,sn.INVALID_API_RESPONSE.code),Error(sn.INVALID_FORMAT.message);let n=t.data,r=n.toolNames,i=n.baseSchema;ll=vl({instructions:n.instructions,prompts:n.prompts,toolNames:r,baseSchema:{mainResearchGoal:i.mainResearchGoal,researchGoal:i.researchGoal,reasoning:i.reasoning,bulkQuery:e=>i.bulkQueryTemplate.replace(`{toolName}`,e)},tools:n.tools,baseHints:n.baseHints,genericErrorHints:n.genericErrorHints,bulkOperations:n.bulkOperations})})(),await ul}}async function bl(){return ll||await yl(),_l()}const J=new Proxy({},{get(e,t){if(ll){let e=ll.toolNames[t];if(e!==void 0)return e}return z[t]},ownKeys(){return ll?Object.keys(ll.toolNames):Object.keys(z)},getOwnPropertyDescriptor(e,t){if(ll)return t in ll.toolNames?{enumerable:!0,configurable:!0,value:ll.toolNames[t]}:void 0;if(t in z)return{enumerable:!0,configurable:!0,value:z[t]}}}),xl=new Proxy({},{get(e,t){return ll?ll.baseSchema[t]:t===`bulkQuery`?e=>`Research queries for ${e} (1-3 queries per call for optimal resource management). Review schema before use for optimal results`:``}}),Sl=new Proxy([],{get(e,t){return ll?ll.genericErrorHints[t]:[][t]}});function Cl(e){if(!ll)return!1;let t=ll.tools??{};return Object.prototype.hasOwnProperty.call(t,e)}function wl(e,t){if(!ll||!ll.tools[e])return[];let n=he(e)?cl[t]??[]:ll.baseHints[t]??[],r=ll.tools[e]?.hints[t]??[];return[...n,...r]}function Tl(){return ll?_l().genericErrorHints:[]}function El(e,t){return ll?ll.tools[e]?.hints?.dynamic?.[t]??[]:[]}const Dl=new Proxy({},{get(e,t){return ll?.tools[t]?.description??``}}),Ol=new Proxy({},{get(e,t){return ll?t===`base`?ll.baseHints:ll.tools[t]?.hints??{hasResults:[],empty:[]}:{hasResults:[],empty:[]}},ownKeys(){return[`base`,...Object.keys(ll?.tools??{})]},getOwnPropertyDescriptor(e,t){if(!ll)return t===`base`?{enumerable:!0,configurable:!0,value:{hasResults:[],empty:[]}}:void 0;if(t===`base`||ll.tools[t])return{enumerable:!0,configurable:!0,value:t===`base`?ll.baseHints:ll.tools[t]?.hints??{hasResults:[],empty:[]}}}});function kl(e){return new Proxy({},{get(t,n){return new Proxy({},{get(t,n){return ll?(ll.tools[e]?.schema??{})[n]??``:``}})}})}const Al=kl(J.GITHUB_FETCH_CONTENT),jl=kl(J.GITHUB_SEARCH_CODE),Ml=kl(J.GITHUB_SEARCH_REPOSITORIES),Nl=kl(J.GITHUB_SEARCH_PULL_REQUESTS),Pl=kl(J.GITHUB_VIEW_REPO_STRUCTURE),Fl=kl(J.PACKAGE_SEARCH),Il=kl(J.LOCAL_RIPGREP),Ll=kl(J.LOCAL_FETCH_CONTENT),Rl=kl(J.LOCAL_FIND_FILES),zl=kl(J.LOCAL_VIEW_STRUCTURE),Bl=kl(z.LSP_GOTO_DEFINITION),Vl=kl(z.LSP_FIND_REFERENCES),Hl=kl(z.LSP_CALL_HIERARCHY);var Ul=class{static sanitizeContent(e){let t=this.detectSecrets(e);return{content:t.sanitizedContent,hasSecrets:t.hasSecrets,secretsDetected:t.secretsDetected,warnings:t.secretsDetected}}static detectSecrets(e){let t=e,n=new Set;try{for(let e of zc){let r=t.match(e.regex);r&&r.length>0&&(r.forEach(t=>n.add(e.name)),t=t.replace(e.regex,`[REDACTED-${e.name.toUpperCase()}]`))}}catch{return{hasSecrets:!0,secretsDetected:[`detection-error`],sanitizedContent:`[CONTENT-REDACTED-DETECTION-ERROR]`}}let r=Array.from(n);return{hasSecrets:r.length>0,secretsDetected:r,sanitizedContent:t}}static validateInputParameters(e){if(!e||typeof e!=`object`)return{sanitizedParams:{},isValid:!1,hasSecrets:!1,warnings:[`Invalid parameters: must be an object`]};let t={},n=new Set,r=!1,i=!1;for(let[a,o]of Object.entries(e)){if(typeof a!=`string`||a.trim()===``){i=!0,n.add(`Invalid parameter key: ${a}`);continue}if([`__proto__`,`constructor`,`prototype`].includes(a)){i=!0,n.add(`Dangerous parameter key blocked: ${a}`);continue}if(typeof o==`string`){let e=o;o.length>1e4&&(n.add(`Parameter ${a} exceeds maximum length (10,000 characters)`),e=o.substring(0,1e4));let i=this.detectSecrets(e);i.hasSecrets&&(r=!0,i.secretsDetected.forEach(e=>n.add(`Secrets detected in ${a}: ${e}`))),t[a]=i.sanitizedContent}else if(Array.isArray(o))o.length>100?(n.add(`Parameter ${a} array exceeds maximum length (100 items)`),t[a]=o.slice(0,100)):t[a]=o;else if(typeof o==`object`&&o){let e=this.validateInputParameters(o);if(!e.isValid){i=!0,n.add(`Invalid nested object in parameter ${a}: ${e.warnings.join(`, `)}`);continue}t[a]=e.sanitizedParams,r||=e.hasSecrets}else t[a]=o}return{sanitizedParams:t,isValid:!i,hasSecrets:r,warnings:Array.from(n)}}};
/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
function Wl(e){return e==null}function Gl(e){return typeof e==`object`&&!!e}function Kl(e){return Array.isArray(e)?e:Wl(e)?[]:[e]}function ql(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;n<r;n+=1)i=a[n],e[i]=t[i];return e}function Jl(e,t){var n=``,r;for(r=0;r<t;r+=1)n+=e;return n}function Yl(e){return e===0&&1/e==-1/0}var Xl={isNothing:Wl,isObject:Gl,toArray:Kl,repeat:Jl,isNegativeZero:Yl,extend:ql};function Zl(e,t){var n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
`+e.mark.snippet),r+` `+n):r}function Ql(e,t){Error.call(this),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=Zl(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}Ql.prototype=Object.create(Error.prototype),Ql.prototype.constructor=Ql,Ql.prototype.toString=function(e){return this.name+`: `+Zl(this,e)};var $l=Ql;function eu(e,t,n,r,i){var a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function tu(e,t){return Xl.repeat(` `,t-e.length)+e}function nu(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||=79,typeof t.indent!=`number`&&(t.indent=1),typeof t.linesBefore!=`number`&&(t.linesBefore=3),typeof t.linesAfter!=`number`&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a,o=-1;a=n.exec(e.buffer);)i.push(a.index),r.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s=``,c,l,u=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+u+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)l=eu(e.buffer,r[o-c],i[o-c],e.position-(r[o]-r[o-c]),d),s=Xl.repeat(` `,t.indent)+tu((e.line-c+1).toString(),u)+` | `+l.str+`
`+s;for(l=eu(e.buffer,r[o],i[o],e.position,d),s+=Xl.repeat(` `,t.indent)+tu((e.line+1).toString(),u)+` | `+l.str+`
`,s+=Xl.repeat(`-`,t.indent+u+3+l.pos)+`^
`,c=1;c<=t.linesAfter&&!(o+c>=i.length);c++)l=eu(e.buffer,r[o+c],i[o+c],e.position-(r[o]-r[o+c]),d),s+=Xl.repeat(` `,t.indent)+tu((e.line+c+1).toString(),u)+` | `+l.str+`
`;return s.replace(/\n$/,``)}var ru=nu,iu=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],au=[`scalar`,`sequence`,`mapping`];function ou(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function su(e,t){if(t||={},Object.keys(t).forEach(function(t){if(iu.indexOf(t)===-1)throw new $l(`Unknown option "`+t+`" is met in definition of "`+e+`" YAML type.`)}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=ou(t.styleAliases||null),au.indexOf(this.kind)===-1)throw new $l(`Unknown kind "`+this.kind+`" is specified for "`+e+`" YAML type.`)}var cu=su;function lu(e,t){var n=[];return e[t].forEach(function(e){var t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function uu(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(r);return e}function du(e){return this.extend(e)}du.prototype.extend=function(e){var t=[],n=[];if(e instanceof cu)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new $l(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);t.forEach(function(e){if(!(e instanceof cu))throw new $l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(e.loadKind&&e.loadKind!==`scalar`)throw new $l(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(e.multi)throw new $l(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),n.forEach(function(e){if(!(e instanceof cu))throw new $l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});var r=Object.create(du.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=lu(r,`implicit`),r.compiledExplicit=lu(r,`explicit`),r.compiledTypeMap=uu(r.compiledImplicit,r.compiledExplicit),r};var fu=new du({explicit:[new cu(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:function(e){return e===null?``:e}}),new cu(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:function(e){return e===null?[]:e}}),new cu(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:function(e){return e===null?{}:e}})]});function pu(e){if(e===null)return!0;var t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}function mu(){return null}function hu(e){return e===null}var gu=new cu(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:pu,construct:mu,predicate:hu,represent:{canonical:function(){return`~`},lowercase:function(){return`null`},uppercase:function(){return`NULL`},camelcase:function(){return`Null`},empty:function(){return``}},defaultStyle:`lowercase`});function _u(e){if(e===null)return!1;var t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}function vu(e){return e===`true`||e===`True`||e===`TRUE`}function yu(e){return Object.prototype.toString.call(e)===`[object Boolean]`}var bu=new cu(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:_u,construct:vu,predicate:yu,represent:{lowercase:function(e){return e?`true`:`false`},uppercase:function(e){return e?`TRUE`:`FALSE`},camelcase:function(e){return e?`True`:`False`}},defaultStyle:`lowercase`});function xu(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Su(e){return 48<=e&&e<=55}function Cu(e){return 48<=e&&e<=57}function wu(e){if(e===null)return!1;var t=e.length,n=0,r=!1,i;if(!t)return!1;if(i=e[n],(i===`-`||i===`+`)&&(i=e[++n]),i===`0`){if(n+1===t)return!0;if(i=e[++n],i===`b`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(i!==`0`&&i!==`1`)return!1;r=!0}return r&&i!==`_`}if(i===`x`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!xu(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}if(i===`o`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!Su(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}}if(i===`_`)return!1;for(;n<t;n++)if(i=e[n],i!==`_`){if(!Cu(e.charCodeAt(n)))return!1;r=!0}return!(!r||i===`_`)}function Tu(e){var t=e,n=1,r;if(t.indexOf(`_`)!==-1&&(t=t.replace(/_/g,``)),r=t[0],(r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`)return 0;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function Eu(e){return Object.prototype.toString.call(e)===`[object Number]`&&e%1==0&&!Xl.isNegativeZero(e)}var Du=new cu(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:wu,construct:Tu,predicate:Eu,represent:{binary:function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},octal:function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)}},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),Ou=RegExp(`^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function ku(e){return!(e===null||!Ou.test(e)||e[e.length-1]===`_`)}function Au(e){var t=e.replace(/_/g,``).toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}var ju=/^[-+]?[0-9]+e/;function Mu(e,t){var n;if(isNaN(e))switch(t){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(e===1/0)switch(t){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(e===-1/0)switch(t){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(Xl.isNegativeZero(e))return`-0.0`;return n=e.toString(10),ju.test(n)?n.replace(`e`,`.e`):n}function Nu(e){return Object.prototype.toString.call(e)===`[object Number]`&&(e%1!=0||Xl.isNegativeZero(e))}var Pu=new cu(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:ku,construct:Au,predicate:Nu,represent:Mu,defaultStyle:`lowercase`}),Fu=fu.extend({implicit:[gu,bu,Du,Pu]}),Iu=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),Lu=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function Ru(e){return e===null?!1:Iu.exec(e)!==null||Lu.exec(e)!==null}function zu(e){var t,n,r,i,a,o,s,c=0,l=null,u,d,f;if(t=Iu.exec(e),t===null&&(t=Lu.exec(e)),t===null)throw Error(`Date resolve error`);if(n=+t[1],r=t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+=`0`;c=+c}return t[9]&&(u=+t[10],d=+(t[11]||0),l=(u*60+d)*6e4,t[9]===`-`&&(l=-l)),f=new Date(Date.UTC(n,r,i,a,o,s,c)),l&&f.setTime(f.getTime()-l),f}function Bu(e){return e.toISOString()}var Vu=new cu(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:Ru,construct:zu,instanceOf:Date,represent:Bu});function Hu(e){return e===`<<`||e===null}var Uu=new cu(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:Hu}),Wu=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function Gu(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=Wu;for(n=0;n<i;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8==0}function Ku(e){var t,n,r=e.replace(/[\r\n=]/g,``),i=r.length,a=Wu,o=0,s=[];for(t=0;t<i;t++)t%4==0&&t&&(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}function qu(e){var t=``,n=0,r,i,a=e.length,o=Wu;for(r=0;r<a;r++)r%3==0&&r&&(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=a%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}function Ju(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}var Yu=new cu(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:Gu,construct:Ku,predicate:Ju,represent:qu}),Xu=Object.prototype.hasOwnProperty,Zu=Object.prototype.toString;function Qu(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n<r;n+=1){if(i=s[n],o=!1,Zu.call(i)!==`[object Object]`)return!1;for(a in i)if(Xu.call(i,a))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}function $u(e){return e===null?[]:e}var ed=new cu(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:Qu,construct:$u}),td=Object.prototype.toString;function nd(e){if(e===null)return!0;var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],td.call(r)!==`[object Object]`||(i=Object.keys(r),i.length!==1))return!1;a[t]=[i[0],r[i[0]]]}return!0}function rd(e){if(e===null)return[];var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}var id=new cu(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:nd,construct:rd}),ad=Object.prototype.hasOwnProperty;function od(e){if(e===null)return!0;var t,n=e;for(t in n)if(ad.call(n,t)&&n[t]!==null)return!1;return!0}function sd(e){return e===null?{}:e}var cd=new cu(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:od,construct:sd}),ld=Fu.extend({implicit:[Vu,Uu],explicit:[Yu,ed,id,cd]}),ud=Object.prototype.hasOwnProperty,dd=1,fd=2,pd=3,md=4,hd=1,gd=2,_d=3,vd=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,yd=/[\x85\u2028\u2029]/,bd=/[,\[\]\{\}]/,xd=/^(?:!|!!|![a-z\-]+!)$/i,Sd=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Cd(e){return Object.prototype.toString.call(e)}function wd(e){return e===10||e===13}function Td(e){return e===9||e===32}function Ed(e){return e===9||e===32||e===10||e===13}function Dd(e){return e===44||e===91||e===93||e===123||e===125}function Od(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function kd(e){return e===120?2:e===117?4:e===85?8:0}function Ad(e){return 48<=e&&e<=57?e-48:-1}function jd(e){return e===48?`\0`:e===97?`\x07`:e===98?`\b`:e===116||e===9?` `:e===110?`
`:e===118?`\v`:e===102?`\f`:e===114?`\r`:e===101?`\x1B`:e===32?` `:e===34?`"`:e===47?`/`:e===92?`\\`:e===78?`
`:e===95?`\xA0`:e===76?`\u2028`:e===80?`\u2029`:``}function Md(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function Nd(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}for(var Pd=Array(256),Fd=Array(256),Id=0;Id<256;Id++)Pd[Id]=jd(Id)?1:0,Fd[Id]=jd(Id);function Ld(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||ld,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Rd(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=ru(n),new $l(t,n)}function zd(e,t){throw Rd(e,t)}function Bd(e,t){e.onWarning&&e.onWarning.call(null,Rd(e,t))}var Vd={YAML:function(e,t,n){var r,i,a;e.version!==null&&zd(e,`duplication of %YAML directive`),n.length!==1&&zd(e,`YAML directive accepts exactly one argument`),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&zd(e,`ill-formed argument of the YAML directive`),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&zd(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&Bd(e,`unsupported YAML version of the document`)},TAG:function(e,t,n){var r,i;n.length!==2&&zd(e,`TAG directive accepts exactly two arguments`),r=n[0],i=n[1],xd.test(r)||zd(e,`ill-formed tag handle (first argument) of the TAG directive`),ud.call(e.tagMap,r)&&zd(e,`there is a previously declared suffix for "`+r+`" tag handle`),Sd.test(i)||zd(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{i=decodeURIComponent(i)}catch{zd(e,`tag prefix is malformed: `+i)}e.tagMap[r]=i}};function Hd(e,t,n,r){var i,a,o,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;i<a;i+=1)o=s.charCodeAt(i),o===9||32<=o&&o<=1114111||zd(e,`expected valid JSON character`);else vd.test(s)&&zd(e,`the stream contains non-printable characters`);e.result+=s}}function Ud(e,t,n,r){var i,a,o,s;for(Xl.isObject(n)||zd(e,`cannot merge mappings; the provided source object is unacceptable`),i=Object.keys(n),o=0,s=i.length;o<s;o+=1)a=i[o],ud.call(t,a)||(Nd(t,a,n[a]),r[a]=!0)}function Wd(e,t,n,r,i,a,o,s,c){var l,u;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,u=i.length;l<u;l+=1)Array.isArray(i[l])&&zd(e,`nested arrays are not supported inside keys`),typeof i==`object`&&Cd(i[l])===`[object Object]`&&(i[l]=`[object Object]`);if(typeof i==`object`&&Cd(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`)if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)Ud(e,t,a[l],n);else Ud(e,t,a,n);else !e.json&&!ud.call(n,i)&&ud.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=c||e.position,zd(e,`duplicated mapping key`)),Nd(t,i,a),delete n[i];return t}function Gd(e){var t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):zd(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Kd(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;Td(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(wd(i))for(Gd(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&Bd(e,`deficient indentation`),r}function qd(e){var t=e.position,n=e.input.charCodeAt(t);return!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||Ed(n)))}function Jd(e,t){t===1?e.result+=` `:t>1&&(e.result+=Xl.repeat(`
`,t-1))}function Yd(e,t,n){var r,i,a,o,s,c,l,u,d=e.kind,f=e.result,p=e.input.charCodeAt(e.position);if(Ed(p)||Dd(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),Ed(i)||n&&Dd(i)))return!1;for(e.kind=`scalar`,e.result=``,a=o=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),Ed(i)||n&&Dd(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),Ed(r))break}else if(e.position===e.lineStart&&qd(e)||n&&Dd(p))break;else if(wd(p))if(c=e.line,l=e.lineStart,u=e.lineIndent,Kd(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=l,e.lineIndent=u;break}s&&=(Hd(e,a,o,!1),Jd(e,e.line-c),a=o=e.position,!1),Td(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return Hd(e,a,o,!1),e.result?!0:(e.kind=d,e.result=f,!1)}function Xd(e,t){var n=e.input.charCodeAt(e.position),r,i;if(n!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(Hd(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else wd(n)?(Hd(e,r,i,!0),Jd(e,Kd(e,!1,t)),r=i=e.position):e.position===e.lineStart&&qd(e)?zd(e,`unexpected end of the document within a single quoted scalar`):(e.position++,i=e.position);zd(e,`unexpected end of the stream within a single quoted scalar`)}function Zd(e,t){var n,r,i,a,o,s=e.input.charCodeAt(e.position);if(s!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;)if(s===34)return Hd(e,n,e.position,!0),e.position++,!0;else if(s===92){if(Hd(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),wd(s))Kd(e,!1,t);else if(s<256&&Pd[s])e.result+=Fd[s],e.position++;else if((o=kd(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=Od(s))>=0?a=(a<<4)+o:zd(e,`expected hexadecimal character`);e.result+=Md(a),e.position++}else zd(e,`unknown escape sequence`);n=r=e.position}else wd(s)?(Hd(e,n,r,!0),Jd(e,Kd(e,!1,t)),n=r=e.position):e.position===e.lineStart&&qd(e)?zd(e,`unexpected end of the document within a double quoted scalar`):(e.position++,r=e.position);zd(e,`unexpected end of the stream within a double quoted scalar`)}function Qd(e,t){var n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p,m=Object.create(null),h,g,_,v=e.input.charCodeAt(e.position);if(v===91)u=93,p=!1,s=[];else if(v===123)u=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(Kd(e,!0,t),v=e.input.charCodeAt(e.position),v===u)return e.position++,e.tag=o,e.anchor=c,e.kind=p?`mapping`:`sequence`,e.result=s,!0;n?v===44&&zd(e,`expected the node content, but found ','`):zd(e,`missed comma between flow collection entries`),g=h=_=null,d=f=!1,v===63&&(l=e.input.charCodeAt(e.position+1),Ed(l)&&(d=f=!0,e.position++,Kd(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,of(e,t,dd,!1,!0),g=e.tag,h=e.result,Kd(e,!0,t),v=e.input.charCodeAt(e.position),(f||e.line===r)&&v===58&&(d=!0,v=e.input.charCodeAt(++e.position),Kd(e,!0,t),of(e,t,dd,!1,!0),_=e.result),p?Wd(e,s,m,g,h,_,r,i,a):d?s.push(Wd(e,null,m,g,h,_,r,i,a)):s.push(h),Kd(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}zd(e,`unexpected end of the stream within a flow collection`)}function $d(e,t){var n,r,i=hd,a=!1,o=!1,s=t,c=0,l=!1,u,d=e.input.charCodeAt(e.position);if(d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind=`scalar`,e.result=``;d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)hd===i?i=d===43?_d:gd:zd(e,`repeat of a chomping mode identifier`);else if((u=Ad(d))>=0)u===0?zd(e,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?zd(e,`repeat of an indentation width identifier`):(s=t+u-1,o=!0);else break;if(Td(d)){do d=e.input.charCodeAt(++e.position);while(Td(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!wd(d)&&d!==0)}for(;d!==0;){for(Gd(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),wd(d)){c++;continue}if(e.lineIndent<s){i===_d?e.result+=Xl.repeat(`
`,a?1+c:c):i===hd&&a&&(e.result+=`
`);break}for(r?Td(d)?(l=!0,e.result+=Xl.repeat(`
`,a?1+c:c)):l?(l=!1,e.result+=Xl.repeat(`
`,c+1)):c===0?a&&(e.result+=` `):e.result+=Xl.repeat(`
`,c):e.result+=Xl.repeat(`
`,a?1+c:c),a=!0,o=!0,c=0,n=e.position;!wd(d)&&d!==0;)d=e.input.charCodeAt(++e.position);Hd(e,n,e.position,!1)}return!0}function ef(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,zd(e,`tab characters must not be used in indentation`)),!(c!==45||(o=e.input.charCodeAt(e.position+1),!Ed(o))));){if(s=!0,e.position++,Kd(e,!0,-1)&&e.lineIndent<=t){a.push(null),c=e.input.charCodeAt(e.position);continue}if(n=e.line,of(e,t,pd,!1,!0),a.push(e.result),Kd(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&c!==0)zd(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return s?(e.tag=r,e.anchor=i,e.kind=`sequence`,e.result=a,!0):!1}function tf(e,t,n){var r,i,a,o,s,c,l=e.tag,u=e.anchor,d={},f=Object.create(null),p=null,m=null,h=null,g=!1,_=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=d),v=e.input.charCodeAt(e.position);v!==0;){if(!g&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,zd(e,`tab characters must not be used in indentation`)),r=e.input.charCodeAt(e.position+1),a=e.line,(v===63||v===58)&&Ed(r))v===63?(g&&(Wd(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!0,i=!0):g?(g=!1,i=!0):zd(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=r;else{if(o=e.line,s=e.lineStart,c=e.position,!of(e,n,fd,!1,!0))break;if(e.line===a){for(v=e.input.charCodeAt(e.position);Td(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),Ed(v)||zd(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(Wd(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!1,i=!1,p=e.tag,m=e.result;else if(_)zd(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=l,e.anchor=u,!0}else if(_)zd(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=l,e.anchor=u,!0}if((e.line===a||e.lineIndent>t)&&(g&&(o=e.line,s=e.lineStart,c=e.position),of(e,t,md,!0,i)&&(g?m=e.result:h=e.result),g||(Wd(e,d,f,p,m,h,o,s,c),p=m=h=null),Kd(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)zd(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&Wd(e,d,f,p,m,null,o,s,c),_&&(e.tag=l,e.anchor=u,e.kind=`mapping`,e.result=d),_}function nf(e){var t,n=!1,r=!1,i,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;if(e.tag!==null&&zd(e,`duplication of a tag property`),o=e.input.charCodeAt(++e.position),o===60?(n=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,i=`!!`,o=e.input.charCodeAt(++e.position)):i=`!`,t=e.position,n){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):zd(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!Ed(o);)o===33&&(r?zd(e,`tag suffix cannot contain exclamation marks`):(i=e.input.slice(t-1,e.position+1),xd.test(i)||zd(e,`named tag handle cannot contain such characters`),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),bd.test(a)&&zd(e,`tag suffix cannot contain flow indicator characters`)}a&&!Sd.test(a)&&zd(e,`tag name cannot contain such characters: `+a);try{a=decodeURIComponent(a)}catch{zd(e,`tag name is malformed: `+a)}return n?e.tag=a:ud.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i===`!`?e.tag=`!`+a:i===`!!`?e.tag=`tag:yaml.org,2002:`+a:zd(e,`undeclared tag handle "`+i+`"`),!0}function rf(e){var t,n=e.input.charCodeAt(e.position);if(n!==38)return!1;for(e.anchor!==null&&zd(e,`duplication of an anchor property`),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!Ed(n)&&!Dd(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&zd(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(t,e.position),!0}function af(e){var t,n,r=e.input.charCodeAt(e.position);if(r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Ed(r)&&!Dd(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&zd(e,`name of an alias node must contain at least one character`),n=e.input.slice(t,e.position),ud.call(e.anchorMap,n)||zd(e,`unidentified alias "`+n+`"`),e.result=e.anchorMap[n],Kd(e,!0,-1),!0}function of(e,t,n,r,i){var a,o,s,c=1,l=!1,u=!1,d,f,p,m,h,g;if(e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=md===n||pd===n,r&&Kd(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;nf(e)||rf(e);)Kd(e,!0,-1)?(l=!0,s=a,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1;if(s&&=l||i,(c===1||md===n)&&(h=dd===n||fd===n?t:t+1,g=e.position-e.lineStart,c===1?s&&(ef(e,g)||tf(e,g,h))||Qd(e,h)?u=!0:(o&&$d(e,h)||Xd(e,h)||Zd(e,h)?u=!0:af(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&zd(e,`alias node should not have any properties`)):Yd(e,h,dd===n)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(u=s&&ef(e,g))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag===`?`){for(e.result!==null&&e.kind!==`scalar`&&zd(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`),d=0,f=e.implicitTypes.length;d<f;d+=1)if(m=e.implicitTypes[d],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!==`!`){if(ud.call(e.typeMap[e.kind||`fallback`],e.tag))m=e.typeMap[e.kind||`fallback`][e.tag];else for(m=null,p=e.typeMap.multi[e.kind||`fallback`],d=0,f=p.length;d<f;d+=1)if(e.tag.slice(0,p[d].tag.length)===p[d].tag){m=p[d];break}m||zd(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&m.kind!==e.kind&&zd(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+m.kind+`", not "`+e.kind+`"`),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):zd(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),e.tag!==null||e.anchor!==null||u}function sf(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Kd(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!Ed(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&zd(e,`directive name must not be less than one character in length`);o!==0;){for(;Td(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!wd(o));break}if(wd(o))break;for(n=e.position;o!==0&&!Ed(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&Gd(e),ud.call(Vd,r)?Vd[r](e,r,i):Bd(e,`unknown document directive "`+r+`"`)}if(Kd(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Kd(e,!0,-1)):a&&zd(e,`directives end mark is expected`),of(e,e.lineIndent-1,md,!1,!0),Kd(e,!0,-1),e.checkLineBreaks&&yd.test(e.input.slice(t,e.position))&&Bd(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&qd(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Kd(e,!0,-1));return}if(e.position<e.length-1)zd(e,`end of the stream or a document separator is expected`);else return}function cf(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new Ld(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,zd(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)sf(n);return n.documents}function lf(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);var r=cf(e,n);if(typeof t!=`function`)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}function uf(e,t){var n=cf(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new $l(`expected a single document in the stream, but found more`)}}var df={loadAll:lf,load:uf},ff=Object.prototype.toString,pf=Object.prototype.hasOwnProperty,mf=65279,hf=9,gf=10,_f=13,vf=32,yf=33,bf=34,xf=35,Sf=37,Cf=38,wf=39,Tf=42,Ef=44,Df=45,Of=58,kf=61,Af=62,jf=63,Mf=64,Nf=91,Pf=93,Ff=96,If=123,Lf=124,Rf=125,zf={};zf[0]=`\\0`,zf[7]=`\\a`,zf[8]=`\\b`,zf[9]=`\\t`,zf[10]=`\\n`,zf[11]=`\\v`,zf[12]=`\\f`,zf[13]=`\\r`,zf[27]=`\\e`,zf[34]=`\\"`,zf[92]=`\\\\`,zf[133]=`\\N`,zf[160]=`\\_`,zf[8232]=`\\L`,zf[8233]=`\\P`;var Bf=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],Vf=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Hf(e,t){var n,r,i,a,o,s,c;if(t===null)return{};for(n={},r=Object.keys(t),i=0,a=r.length;i<a;i+=1)o=r[i],s=String(t[o]),o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&pf.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s;return n}function Uf(e){var t=e.toString(16).toUpperCase(),n,r;if(e<=255)n=`x`,r=2;else if(e<=65535)n=`u`,r=4;else if(e<=4294967295)n=`U`,r=8;else throw new $l(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+n+Xl.repeat(`0`,r-t.length)+t}var Wf=1,Gf=2;function Kf(e){this.schema=e.schema||ld,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Xl.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=Hf(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType===`"`?Gf:Wf,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer==`function`?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}function qf(e,t){for(var n=Xl.repeat(` `,t),r=0,i=-1,a=``,o,s=e.length;r<s;)i=e.indexOf(`
`,r),i===-1?(o=e.slice(r),r=s):(o=e.slice(r,i+1),r=i+1),o.length&&o!==`
`&&(a+=n),a+=o;return a}function Jf(e,t){return`
`+Xl.repeat(` `,e.indent*t)}function Yf(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}function Xf(e){return e===vf||e===hf}function Zf(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==mf||65536<=e&&e<=1114111}function Qf(e){return Zf(e)&&e!==mf&&e!==_f&&e!==gf}function $f(e,t,n){var r=Qf(e),i=r&&!Xf(e);return(n?r:r&&e!==Ef&&e!==Nf&&e!==Pf&&e!==If&&e!==Rf)&&e!==xf&&!(t===Of&&!i)||Qf(t)&&!Xf(t)&&e===xf||t===Of&&i}function ep(e){return Zf(e)&&e!==mf&&!Xf(e)&&e!==Df&&e!==jf&&e!==Of&&e!==Ef&&e!==Nf&&e!==Pf&&e!==If&&e!==Rf&&e!==xf&&e!==Cf&&e!==Tf&&e!==yf&&e!==Lf&&e!==kf&&e!==Af&&e!==wf&&e!==bf&&e!==Sf&&e!==Mf&&e!==Ff}function tp(e){return!Xf(e)&&e!==Of}function np(e,t){var n=e.charCodeAt(t),r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function rp(e){return/^\n* /.test(e)}var ip=1,ap=2,op=3,sp=4,cp=5;function lp(e,t,n,r,i,a,o,s){var c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=ep(np(e,0))&&tp(np(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=np(e,c),!Zf(l))return cp;h&&=$f(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=np(e,c),l===gf)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!Zf(l))return cp;h&&=$f(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?ip:a===Gf?cp:ap:n>9&&rp(e)?cp:o?a===Gf?cp:ap:f?sp:op}function up(e,t,n,r,i){e.dump=function(){if(t.length===0)return e.quotingType===Gf?`""`:`''`;if(!e.noCompatMode&&(Bf.indexOf(t)!==-1||Vf.test(t)))return e.quotingType===Gf?`"`+t+`"`:`'`+t+`'`;var a=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=r||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return Yf(e,t)}switch(lp(t,s,e.indent,o,c,e.quotingType,e.forceQuotes&&!r,i)){case ip:return t;case ap:return`'`+t.replace(/'/g,`''`)+`'`;case op:return`|`+dp(t,e.indent)+fp(qf(t,a));case sp:return`>`+dp(t,e.indent)+fp(qf(pp(t,o),a));case cp:return`"`+hp(t)+`"`;default:throw new $l(`impossible error: invalid scalar style`)}}()}function dp(e,t){var n=rp(e)?String(t):``,r=e[e.length-1]===`
`;return n+(r&&(e[e.length-2]===`
`||e===`
`)?`+`:r?``:`-`)+`
`}function fp(e){return e[e.length-1]===`
`?e.slice(0,-1):e}function pp(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var r=e.indexOf(`
`);return r=r===-1?e.length:r,n.lastIndex=r,mp(e.slice(0,r),t)}(),i=e[0]===`
`||e[0]===` `,a,o;o=n.exec(e);){var s=o[1],c=o[2];a=c[0]===` `,r+=s+(!i&&!a&&c!==``?`
`:``)+mp(c,t),i=a}return r}function mp(e,t){if(e===``||e[0]===` `)return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
`+e.slice(i,a),i=a+1),o=s;return c+=`
`,e.length-i>t&&o>i?c+=e.slice(i,o)+`
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}function hp(e){for(var t=``,n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=np(e,i),r=zf[n],!r&&Zf(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||Uf(n);return t}function gp(e,t,n){var r=``,i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1)s=n[a],e.replacer&&(s=e.replacer.call(n,String(a),s)),(xp(e,t,s,!1,!1)||s===void 0&&xp(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump);e.tag=i,e.dump=`[`+r+`]`}function _p(e,t,n,r){var i=``,a=e.tag,o,s,c;for(o=0,s=n.length;o<s;o+=1)c=n[o],e.replacer&&(c=e.replacer.call(n,String(o),c)),(xp(e,t+1,c,!0,!0,!1,!0)||c===void 0&&xp(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=Jf(e,t)),e.dump&&gf===e.dump.charCodeAt(0)?i+=`-`:i+=`- `,i+=e.dump);e.tag=a,e.dump=i||`[]`}function vp(e,t,n){var r=``,i=e.tag,a=Object.keys(n),o,s,c,l,u;for(o=0,s=a.length;o<s;o+=1)u=``,r!==``&&(u+=`, `),e.condenseFlow&&(u+=`"`),c=a[o],l=n[c],e.replacer&&(l=e.replacer.call(n,c,l)),xp(e,t,c,!1,!1)&&(e.dump.length>1024&&(u+=`? `),u+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),xp(e,t,l,!1,!1)&&(u+=e.dump,r+=u));e.tag=i,e.dump=`{`+r+`}`}function yp(e,t,n,r){var i=``,a=e.tag,o=Object.keys(n),s,c,l,u,d,f;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys==`function`)o.sort(e.sortKeys);else if(e.sortKeys)throw new $l(`sortKeys must be a boolean or a function`);for(s=0,c=o.length;s<c;s+=1)f=``,(!r||i!==``)&&(f+=Jf(e,t)),l=o[s],u=n[l],e.replacer&&(u=e.replacer.call(n,l,u)),xp(e,t+1,l,!0,!0,!0)&&(d=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024,d&&(e.dump&&gf===e.dump.charCodeAt(0)?f+=`?`:f+=`? `),f+=e.dump,d&&(f+=Jf(e,t)),xp(e,t+1,u,!0,d)&&(e.dump&&gf===e.dump.charCodeAt(0)?f+=`:`:f+=`: `,f+=e.dump,i+=f));e.tag=a,e.dump=i||`{}`}function bp(e,t,n){var r,i=n?e.explicitTypes:e.implicitTypes,a,o,s,c;for(a=0,o=i.length;a<o;a+=1)if(s=i[a],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t==`object`&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(n?s.multi&&s.representName?e.tag=s.representName(t):e.tag=s.tag:e.tag=`?`,s.represent){if(c=e.styleMap[s.tag]||s.defaultStyle,ff.call(s.represent)===`[object Function]`)r=s.represent(t,c);else if(pf.call(s.represent,c))r=s.represent[c](t,c);else throw new $l(`!<`+s.tag+`> tag resolver accepts not "`+c+`" style`);e.dump=r}return!0}return!1}function xp(e,t,n,r,i,a,o){e.tag=null,e.dump=n,bp(e,n,!1)||bp(e,n,!0);var s=ff.call(e.dump),c=r,l;r&&=e.flowLevel<0||e.flowLevel>t;var u=s===`[object Object]`||s===`[object Array]`,d,f;if(u&&(d=e.duplicates.indexOf(n),f=d!==-1),(e.tag!==null&&e.tag!==`?`||f||e.indent!==2&&t>0)&&(i=!1),f&&e.usedDuplicates[d])e.dump=`*ref_`+d;else{if(u&&f&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),s===`[object Object]`)r&&Object.keys(e.dump).length!==0?(yp(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(vp(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object Array]`)r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?_p(e,t-1,e.dump,i):_p(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(gp(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object String]`)e.tag!==`?`&&up(e,e.dump,t,a,c);else if(s===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new $l(`unacceptable kind of an object to dump `+s)}e.tag!==null&&e.tag!==`?`&&(l=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`),l=e.tag[0]===`!`?`!`+l:l.slice(0,18)===`tag:yaml.org,2002:`?`!!`+l.slice(18):`!<`+l+`>`,e.dump=l+` `+e.dump)}return!0}function Sp(e,t){var n=[],r=[],i,a;for(Cp(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=Array(a)}function Cp(e,t,n){var r,i,a;if(typeof e==`object`&&e)if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)Cp(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)Cp(e[r[i]],t,n)}function wp(e,t){t||={};var n=new Kf(t);n.noRefs||Sp(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),xp(n,0,r,!0,!0)?n.dump+`
`:``}var Tp={dump:wp};df.load,df.loadAll;var Ep=Tp.dump;function Dp(e,t){let n=()=>{if(!t?.sortKeys&&!t?.keysPriority)return!1;if(t.keysPriority&&t.keysPriority.length>0){let e=t.keysPriority;return(n,r)=>{let i=e.indexOf(n),a=e.indexOf(r);return i!==-1&&a!==-1?i-a:i!==-1&&a===-1?-1:i===-1&&a!==-1?1:t.sortKeys?n.localeCompare(r):0}}return t.sortKeys?(e,t)=>e.localeCompare(t):!1};try{return Ep(e,{forceQuotes:!0,quotingType:`"`,lineWidth:-1,noRefs:!0,sortKeys:n(),indent:2,noCompatMode:!0,flowLevel:-1,skipInvalid:!1})}catch(t){let n=t instanceof Error?t.message:`Unknown error`;try{return JSON.stringify(e,null,2)}catch(e){return`# YAML conversion failed: ${n}\n# JSON conversion also failed: ${e instanceof Error?e.message:`Unknown error`}\n# Object: [Unconvertible]`}}}function Op(e){return e.split(``)}function kp(e,t){return t.includes(e)}var Ap=class extends Error{constructor(e,t){super(),this.name=`DefaultsError`,this.message=e,this.defs=t}};function jp(e,t,n){e===!0?e={}:typeof e==`object`&&e&&(e={...e});let r=e||{};if(n){for(let e in r)if(Kp(r,e)&&!Kp(t,e))throw new Ap("`"+e+"` is not a supported option",t)}for(let n in t)if(Kp(t,n))if(!e||!Kp(e,n))r[n]=t[n];else if(n===`ecma`){let t=e[n]|0;t>5&&t<2015&&(t+=2009),r[n]=t}else r[n]=e&&Kp(e,n)?e[n]:t[n];return r}function Mp(){}function Np(){return!1}function Pp(){return!0}function Fp(){return this}function Ip(){return null}var Lp=(function(){function e(e,n,r=!0){let i=[];for(let a=0;a<e.length;++a){let o=e[a].transform(n,r);o instanceof Z?i.push(o):o instanceof t&&i.push(...o.v)}return i}e.splice=function(e){return new t(e)},e.skip={};function t(e){this.v=e}return e})();function Y(e,t,n){return n||={},t&&(n.start||=t.start,n.end||=t.end),new e(n)}function Rp(e,t){e.includes(t)||e.push(t)}function zp(e,t){return e.replace(/{(.+?)}/g,function(e,n){return t&&t[n]})}function Bp(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function Vp(e,t){if(e.length<2)return e.slice();function n(e,n){for(var r=[],i=0,a=0,o=0;i<e.length&&a<n.length;)t(e[i],n[a])<=0?r[o++]=e[i++]:r[o++]=n[a++];return i<e.length&&r.push.apply(r,e.slice(i)),a<n.length&&r.push.apply(r,n.slice(a)),r}function r(e){if(e.length<=1)return e;var t=Math.floor(e.length/2),i=e.slice(0,t),a=e.slice(t);return i=r(i),a=r(a),n(i,a)}return r(e)}function Hp(e){return Array.isArray(e)||(e=e.split(` `)),new Set(e.sort())}function Up(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}function Wp(e){var t=new Map;for(var n in e)Kp(e,n)&&n.charAt(0)===`$`&&t.set(n.substr(1),e[n]);return t}function Gp(e){var t=Object.create(null);return e.forEach(function(e,n){t[`$`+n]=e}),t}function Kp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function qp(e,t){return e===!0||e instanceof RegExp&&e.test(t)}var Jp={"\0":`0`,"\n":`n`,"\r":`r`,"\u2028":`u2028`,"\u2029":`u2029`};function Yp(e){return e.replace(/[\0\n\r\u2028\u2029]/g,function(t,n){return(e[n-1]==`\\`&&(e[n-2]!=`\\`||/(?:^|[^\\])(?:\\{2})*$/.test(e.slice(0,n-1)))?``:`\\`)+Jp[t]})}const Xp=/^[\\/|\0\s\w^$.[\]()]*$/,Zp=e=>Xp.test(e);function Qp(e){let t=new Set(e.split(``)),n=``;for(let e of`dgimsuyv`)t.has(e)&&(n+=e,t.delete(e));return t.size&&t.forEach(e=>{n+=e}),n}function $p(e,t){return e._annotations&t}function em(e,t){e._annotations|=t}function tm(e,t){e._annotations&=~t}var nm=``,rm=new Map,im=`break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with`,am=`false null true`,om=`enum import super this `+am+` `+im,sm=`implements interface package private protected public static `+om,cm=`return new delete throw else case yield await`;im=Hp(im),om=Hp(om),cm=Hp(cm),am=Hp(am),sm=Hp(sm);var lm=Hp(Op(`+-*&%=<>!?|~^`)),um=/^0x[0-9a-f]+$/i,dm=/^0[0-7]+$/,fm=/^0o[0-7]+$/i,pm=/^0b[01]+$/i,mm=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,hm=/^(0[xob])?[0-9a-f]+n$/i,gm=/in(?:stanceof)?/y,_m=Hp(`in.instanceof.typeof.new.void.delete.++.--.+.-.!.~.&.|.^.*.**./.%.>>.<<.>>>.<.>.<=.>=.==.===.!=.!==.?.=.+=.-=.||=.&&=.??=./=.*=.**=.%=.>>=.<<=.>>>=.|=.^=.&=.&&.??.||`.split(`.`)),vm=Hp(Op(` \xA0
\r \f\v \u2028\u2029 `)),ym=Hp(Op(`
\r\u2028\u2029`)),bm=Hp(Op(`;]),:`)),xm=Hp(Op(`[{(,;:`)),Sm=Hp(Op(`[]{}(),;:`)),Cm={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function wm(e,t){if(Om(e.charCodeAt(t))){if(km(e.charCodeAt(t+1)))return e.charAt(t)+e.charAt(t+1)}else if(km(e.charCodeAt(t))&&Om(e.charCodeAt(t-1)))return e.charAt(t-1)+e.charAt(t);return e.charAt(t)}function Tm(e,t){return Om(e.charCodeAt(t))?65536+(e.charCodeAt(t)-55296<<10)+e.charCodeAt(t+1)-56320:e.charCodeAt(t)}function Em(e){for(var t=0,n=0;n<e.length;n++)Om(e.charCodeAt(n))&&km(e.charCodeAt(n+1))&&(t++,n++);return e.length-t}function Dm(e){return e>65535?(e-=65536,String.fromCharCode((e>>10)+55296)+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)}function Om(e){return e>=55296&&e<=56319}function km(e){return e>=56320&&e<=57343}function Am(e){return e>=48&&e<=57}function jm(e){return Cm.ID_Start.test(e)}function Mm(e){return Cm.ID_Continue.test(e)}const Nm=/^[a-z_$][a-z0-9_$]*$/i;function Pm(e){return Nm.test(e)}function Fm(e,t){if(Nm.test(e))return!0;if(!t&&/[\ud800-\udfff]/.test(e))return!1;var n=Cm.ID_Start.exec(e);return!n||n.index!==0?!1:(e=e.slice(n[0].length),e?(n=Cm.ID_Continue.exec(e),!!n&&n[0].length===e.length):!0)}function Im(e,t=!0){if(!t&&e.includes(`e`))return NaN;if(um.test(e))return parseInt(e.substr(2),16);if(dm.test(e))return parseInt(e.substr(1),8);if(fm.test(e))return parseInt(e.substr(2),8);if(pm.test(e))return parseInt(e.substr(2),2);if(mm.test(e))return parseFloat(e);var n=parseFloat(e);if(n==e)return n}var Lm=class extends Error{constructor(e,t,n,r,i){super(),this.name=`SyntaxError`,this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=i}};function Rm(e,t,n,r,i){throw new Lm(e,t,n,r,i)}function zm(e,t,n){return e.type==t&&(n==null||e.value==n)}var Bm={};function Vm(e,t,n,r){var i={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function a(){return wm(i.text,i.pos)}function o(){if(i.text.charCodeAt(i.pos+1)!==46)return!1;let e=i.text.charCodeAt(i.pos+2);return e<48||e>57}function s(e,t){var n=wm(i.text,i.pos++);if(e&&!n)throw Bm;return ym.has(n)?(i.newline_before=i.newline_before||!t,++i.line,i.col=0,n==`\r`&&a()==`
`&&(++i.pos,n=`
`)):(n.length>1&&(++i.pos,++i.col),++i.col),n}function c(e){for(;e--;)s()}function l(e){return i.text.substr(i.pos,e.length)==e}function u(){for(var e=i.text,t=i.pos,n=i.text.length;t<n;++t){var r=e[t];if(ym.has(r))return t}return-1}function d(e,t){var n=i.text.indexOf(e,i.pos);if(t&&n==-1)throw Bm;return n}function f(){i.tokline=i.line,i.tokcol=i.col,i.tokpos=i.pos}var p=!1,m=null;function h(e,n,r){i.regex_allowed=e==`operator`&&!Um.has(n)||e==`keyword`&&cm.has(n)||e==`punc`&&xm.has(n)||e==`arrow`,e==`punc`&&(n==`.`||n==`?.`)?p=!0:r||(p=!1);let a=i.tokline,o=i.tokcol,s=i.tokpos,c=i.newline_before,l=t,u=[],d=[];r||(u=i.comments_before,d=i.comments_before=[]),i.newline_before=!1;let f=new Zm(e,n,a,o,s,c,u,d,l);return r||(m=f),f}function g(){for(;vm.has(a());)s()}function _(){for(var e=i.pos,t=!1;e<i.text.length;){var n=wm(i.text,e);if(ym.has(n))return{char:n,pos:e};if(t)n==`*`&&wm(i.text,e+1)==`/`?(e+=2,t=!1):e++;else if(vm.has(n))e++;else{if(n==`/`){var r=wm(i.text,e+1);if(r==`/`)return e=u(),{char:wm(i.text,e),pos:e};if(r==`*`){t=!0,e+=2;continue}}return{char:n,pos:e}}}return{char:null,pos:e}}function v(e,t){if(e==`\\`)return!0;if(jm(e)){if(gm.lastIndex=t,gm.test(i.text)){var n=wm(i.text,gm.lastIndex);if(!Mm(n)&&n!=`\\`)return!1}return!0}return!1}function y(e){for(var t=``,n,r=0;(n=a())&&e(n,r++);)t+=s();return t}function b(e){Rm(e,t,i.tokline,i.tokcol,i.tokpos)}function x(e){var t=!1,n=!1,r=!1,i=e==`.`,a=!1,o=!1,s=y(function(s,c){if(a)return!1;var l=s.charCodeAt(0);switch(l){case 95:return o=!0;case 98:case 66:return r=!0;case 111:case 79:case 120:case 88:return r?!1:r=!0;case 101:case 69:return r?!0:t?!1:t=n=!0;case 45:return n||c==0&&!e;case 43:return n;case n=!1,46:return!i&&!r&&!t?i=!0:!1;case 110:return a=!0,!0}return l>=48&&l<=57||l>=97&&l<=102||l>=65&&l<=70});if(e&&(s=e+s),nm=s,dm.test(s)&&oe.has_directive(`use strict`)&&b(`Legacy octal literals are not allowed in strict mode`),o&&(s.endsWith(`_`)?b(`Numeric separators are not allowed at the end of numeric literals`):s.includes(`__`)&&b(`Only one underscore is allowed as numeric separator`),s=s.replace(/_/g,``)),a){let e=s.slice(0,-1),t=Im(e,um.test(e));if(!i&&hm.test(s)&&!isNaN(t))return h(`big_int`,e);b(`Invalid or unexpected token`)}var c=Im(s);if(isNaN(c))b(`Invalid syntax: `+s);else return h(`num`,c)}function S(e){return e>=`0`&&e<=`7`}function C(e,t,n){var r=s(!0,e);switch(r.charCodeAt(0)){case 110:return`
`;case 114:return`\r`;case 116:return` `;case 98:return`\b`;case 118:return`\v`;case 102:return`\f`;case 120:return String.fromCharCode(T(2,t));case 117:if(a()==`{`){for(s(!0),a()===`}`&&b(`Expecting hex-character between {}`);a()==`0`;)s(!0);var o,c=d(`}`,!0)-i.pos;return(c>6||(o=T(c,t))>1114111)&&b(`Unicode reference out of bounds`),s(!0),Dm(o)}return String.fromCharCode(T(4,t));case 10:return``;case 13:if(a()==`
`)return s(!0,e),``}return S(r)?(n&&t&&(r===`0`&&!S(a())||b(`Octal escape sequences are not allowed in template strings`)),w(r,t)):r}function w(e,t){var n=a();return n>=`0`&&n<=`7`&&(e+=s(!0),e[0]<=`3`&&(n=a())>=`0`&&n<=`7`&&(e+=s(!0))),e===`0`?`\0`:(e.length>0&&oe.has_directive(`use strict`)&&t&&b(`Legacy octal escape sequences are not allowed in strict mode`),String.fromCharCode(parseInt(e,8)))}function T(e,t){for(var n=0;e>0;--e){if(!t&&isNaN(parseInt(a(),16)))return parseInt(n,16)||``;var r=s(!0);isNaN(parseInt(r,16))&&b(`Invalid hex-character pattern in string`),n+=r}return parseInt(n,16)}var E=N(`Unterminated string constant`,function(){let e=i.pos;for(var t=s(),n=[];;){var r=s(!0,!0);if(r==`\\`)r=C(!0,!0);else if(r==`\r`||r==`
`)b(`Unterminated string constant`);else if(r==t)break;n.push(r)}var a=h(`string`,n.join(``));return nm=i.text.slice(e,i.pos),a.quote=t,a}),D=N(`Unterminated template`,function(e){e&&i.template_braces.push(i.brace_counter);var t=``,n=``,r,o;for(s(!0,!0);(r=s(!0,!0))!="`";){if(r==`\r`)a()==`
`&&++i.pos,r=`
`;else if(r==`$`&&a()==`{`)return s(!0,!0),i.brace_counter++,o=h(e?`template_head`:`template_cont`,t),rm.set(o,n),o.template_end=!1,o;if(n+=r,r==`\\`){var c=i.pos;r=C(!0,!(m&&(m.type===`name`||m.type===`punc`&&(m.value===`)`||m.value===`]`))),!0),n+=i.text.substr(c,i.pos-c)}t+=r}return i.template_braces.pop(),o=h(e?`template_head`:`template_cont`,t),rm.set(o,n),o.template_end=!0,o});function O(e){var t=i.regex_allowed,n=u(),r;return n==-1?(r=i.text.substr(i.pos),i.pos=i.text.length):(r=i.text.substring(i.pos,n),i.pos=n),i.col=i.tokcol+(i.pos-i.tokpos),i.comments_before.push(h(e,r,!0)),i.regex_allowed=t,oe}var k=N(`Unterminated multiline comment`,function(){var e=i.regex_allowed,t=d(`*/`,!0),n=i.text.substring(i.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,`
`);return c(Em(n)+2),i.comments_before.push(h(`comment2`,n,!0)),i.newline_before=i.newline_before||n.includes(`
`),i.regex_allowed=e,oe}),A=function(){let e=i.pos,t=e-1,n=`c`;for(;(n=i.text.charAt(++t))&&(n>=`a`&&n<=`z`||n>=`A`&&n<=`Z`););return t>e+1&&n&&n!==`\\`&&!Mm(n)&&n<=`~`?(i.pos+=t-e,i.col+=t-e,i.text.slice(e,i.pos)):j()},j=N(`Unterminated identifier name`,function(){var e=[],t,n=!1,r=function(){return n=!0,s(),a()!==`u`&&b(`Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}`),C(!1,!0)};if((t=a())===`\\`)t=r(),jm(t)||b(`First identifier char is an invalid identifier char`);else if(jm(t))s();else return``;for(e.push(t);(t=a())!=null;){if((t=a())===`\\`)t=r(),Mm(t)||b(`Invalid escaped identifier char`);else{if(!Mm(t))break;s()}e.push(t)}let i=e.join(``);return om.has(i)&&n&&b(`Escaped characters are not allowed in keywords`),i}),ee=N(`Unterminated regular expression`,function(e){for(var t=!1,n,r=!1;n=s(!0);)if(ym.has(n))b(`Unexpected line terminator`);else if(t)/^[\u0000-\u007F]$/.test(n)?e+=`\\`+n:e+=n,t=!1;else if(n==`[`)r=!0,e+=n;else if(n==`]`&&r)r=!1,e+=n;else if(n==`/`&&!r)break;else n==`\\`?t=!0:e+=n;let i=A();return h(`regexp`,`/`+e+`/`+i)});function te(e){function t(e){if(!a())return e;var n=e+a();return _m.has(n)?(s(),t(n)):e}return h(`operator`,t(e||s()))}function ne(){switch(s(),a()){case`/`:return s(),O(`comment1`);case`*`:return s(),k()}return i.regex_allowed?ee(``):te(`/`)}function re(){return s(),a()===`>`?(s(),h(`arrow`,`=>`)):te(`=`)}function M(){return s(),Am(a().charCodeAt(0))?x(`.`):a()===`.`?(s(),s(),h(`expand`,`...`)):h(`punc`,`.`)}function ie(){var e=A();return p?h(`name`,e):am.has(e)?h(`atom`,e):im.has(e)?_m.has(e)?h(`operator`,e):h(`keyword`,e):h(`name`,e)}function ae(){return s(),h(`privatename`,A())}function N(e,t){return function(n){try{return t(n)}catch(t){if(t===Bm)b(e);else throw t}}}function oe(e){if(e!=null)return ee(e);for(r&&i.pos==0&&l(`#!`)&&(f(),c(2),O(`comment5`));;){if(g(),f(),n){if(l(`<!--`)){c(4),O(`comment3`);continue}if(l(`-->`)&&i.newline_before){c(3),O(`comment4`);continue}}var t=a();if(!t)return h(`eof`);var u=t.charCodeAt(0);switch(u){case 34:case 39:return E();case 46:return M();case 47:var d=ne();if(d===oe)continue;return d;case 61:return re();case 63:if(!o())break;return s(),s(),h(`punc`,`?.`);case 96:return D(!0);case 123:i.brace_counter++;break;case 125:if(i.brace_counter--,i.template_braces.length>0&&i.template_braces[i.template_braces.length-1]===i.brace_counter)return D(!1);break}if(Am(u))return x();if(Sm.has(t))return h(`punc`,s());if(lm.has(t))return te();if(u==92||jm(t))return ie();if(u==35)return ae();break}b(`Unexpected character '`+t+`'`)}return oe.next=s,oe.peek=a,oe.context=function(e){return e&&(i=e),i},oe.add_directive=function(e){i.directive_stack[i.directive_stack.length-1].push(e),i.directives[e]===void 0?i.directives[e]=1:i.directives[e]++},oe.push_directives_stack=function(){i.directive_stack.push([])},oe.pop_directives_stack=function(){for(var e=i.directive_stack[i.directive_stack.length-1],t=0;t<e.length;t++)i.directives[e[t]]--;i.directive_stack.pop()},oe.has_directive=function(e){return i.directives[e]>0},oe.peek_next_token_start_or_newline=_,oe.ch_starts_binding_identifier=v,oe}var Hm=Hp([`typeof`,`void`,`delete`,`--`,`++`,`!`,`~`,`-`,`+`]),Um=Hp([`--`,`++`]),Wm=Hp([`=`,`+=`,`-=`,`??=`,`&&=`,`||=`,`/=`,`*=`,`**=`,`%=`,`>>=`,`<<=`,`>>>=`,`|=`,`^=`,`&=`]),Gm=Hp([`??=`,`&&=`,`||=`]),Km=(function(e,t){for(var n=0;n<e.length;++n)for(let r of e[n])t[r]=n+1;return t})([[`||`],[`??`],[`&&`],[`|`],[`^`],[`&`],[`==`,`===`,`!=`,`!==`],[`<`,`>`,`<=`,`>=`,`in`,`instanceof`],[`>>`,`<<`,`>>>`],[`+`,`-`],[`*`,`/`,`%`],[`**`]],{}),qm=Hp([`atom`,`num`,`big_int`,`string`,`regexp`,`name`]);function Jm(e,t){let n=new WeakMap;t=jp(t,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var r={input:typeof e==`string`?Vm(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:!0,in_loop:0,labels:[]};r.token=o();function i(e,t){return zm(r.token,e,t)}function a(){return r.peeked||=r.input()}function o(){return r.prev=r.token,r.peeked||a(),r.token=r.peeked,r.peeked=null,r.in_directives=r.in_directives&&(r.token.type==`string`||i(`punc`,`;`)),r.token}function s(){return r.prev}function c(e,t,n,i){var a=r.input.context();Rm(e,a.filename,t??a.tokline,n??a.tokcol,i??a.tokpos)}function l(e,t){c(t,e.line,e.col)}function u(e){e??=r.token,l(e,`Unexpected token: `+e.type+` (`+e.value+`)`)}function d(e,t){if(i(e,t))return o();l(r.token,`Unexpected token `+r.token.type+` «`+r.token.value+`», expected `+e+` «`+t+`»`)}function f(e){return d(`punc`,e)}function p(e){return e.nlb||!e.comments_before.every(e=>!e.nlb)}function m(){return!t.strict&&(i(`eof`)||i(`punc`,`}`)||p(r.token))}function h(){return r.in_generator===r.in_function}function g(){return r.in_async===r.in_function}function _(){return r.in_async===r.in_function||r.in_function===0&&r.input.has_directive(`use strict`)}function v(e){i(`punc`,`;`)?o():!e&&!m()&&u()}function y(){f(`(`);var e=Ve(!0);return f(`)`),e}function b(e){return function(...t){let n=r.token,i=e(...t);return i.start=n,i.end=s(),i}}function x(){(i(`operator`,`/`)||i(`operator`,`/=`))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}var S=b(function e(n,l,f){switch(x(),r.token.type){case`string`:if(r.in_directives){var h=a();!nm.includes(`\\`)&&(zm(h,`punc`,`;`)||zm(h,`punc`,`}`)||p(h)||zm(h,`eof`))?r.input.add_directive(r.token.value):r.in_directives=!1}var g=r.in_directives,b=w();return g&&b.body instanceof l_?new eh(b.body):b;case`template_head`:case`num`:case`big_int`:case`regexp`:case`operator`:case`atom`:return w();case`name`:if(r.token.value==`async`&&zm(a(),`keyword`,`function`))return o(),o(),l&&c(`functions are not allowed as the body of a loop`),j(wh,!1,!0,n);if(r.token.value==`import`&&!zm(a(),`punc`,`(`)&&!zm(a(),`punc`,`.`)){o();var S=xe();return v(),S}if(r.token.value==`using`&&zm(a(),`name`)&&!p(a())){o();var S=I();return v(),S}if(r.token.value==`await`&&_()&&zm(a(),`name`,`using`)&&!p(a())){var D=r.input.peek_next_token_start_or_newline();if(r.input.ch_starts_binding_identifier(D.char,D.pos)){o();var S=fe();return v(),S}}return zm(a(),`punc`,`:`)?C():w();case`privatename`:return r.in_class||c(`Private field must be used in an enclosing class`),w();case`punc`:switch(r.token.value){case`{`:return new ah({start:r.token,body:P(),end:s()});case`[`:case`(`:return w();case`;`:return r.in_directives=!1,o(),new oh;default:u()}case`keyword`:switch(r.token.value){case`break`:return o(),T(Ph);case`continue`:return o(),T(Fh);case`debugger`:return o(),v(),new $m;case`do`:o();var O=He(e);d(`keyword`,`while`);var k=y();return v(!0),new dh({body:O,condition:k});case`while`:return o(),new fh({condition:y(),body:He(function(){return e(!1,!0)})});case`for`:return o(),E();case`class`:return o(),l&&c(`classes are not allowed as the body of a loop`),f&&c(`classes are not allowed as the body of an if`),ve(Pg,n);case`function`:return o(),l&&c(`functions are not allowed as the body of a loop`),j(wh,!1,!1,n);case`if`:return o(),oe();case`return`:r.in_function==0&&!t.bare_returns&&c(`'return' outside of function`),o();var A=null;return i(`punc`,`;`)?o():m()||(A=Ve(!0),v()),new jh({value:A});case`switch`:return o(),new zh({expression:y(),body:He(F)});case`throw`:o(),p(r.token)&&c(`Illegal newline after 'throw'`);var A=Ve(!0);return v(),new Mh({value:A});case`try`:return o(),se();case`var`:o();var S=le();return v(),S;case`let`:o();var S=ue();return v(),S;case`const`:o();var S=de();return v(),S;case`with`:return r.input.has_directive(`use strict`)&&c(`Strict mode may not include a with statement`),o(),new gh({expression:y(),body:e()});case`export`:if(!zm(a(),`punc`,`(`)){o();var S=U();return i(`punc`,`;`)&&v(),S}}}u()});function C(){var e=ke(t_);e.name===`await`&&g()&&l(r.prev,`await cannot be used as label inside async function`),r.labels.some(t=>t.name===e.name)&&c(`Label `+e.name+` defined twice`),f(`:`),r.labels.push(e);var t=S();return r.labels.pop(),t instanceof lh||e.references.forEach(function(t){t instanceof Fh&&(t=t.label.start,c("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new ch({body:t,label:e})}function w(e){return new th({body:(e=Ve(!0),v(),e)})}function T(e){var t=null,n;m()||(t=ke(i_,!0)),t==null?r.in_loop==0&&c(e.TYPE+` not inside a loop or switch`):(n=r.labels.find(e=>e.name===t.name),n||c(`Undefined label `+t.name),t.thedef=n),v();var i=new e({label:t});return n&&n.references.push(i),i}function E(){var e="`for await` invalid in this context",t=r.token;t.type==`name`&&t.value==`await`?(_()||l(t,e),o()):t=!1,f(`(`);var n=null;if(i(`punc`,`;`))t&&l(t,e);else{n=i(`keyword`,`var`)?(o(),le(!0)):i(`keyword`,`let`)?(o(),ue(!0)):i(`keyword`,`const`)?(o(),de(!0)):i(`name`,`using`)&&zm(a(),`name`)&&(a().value!=`of`||r.input.peek_next_token_start_or_newline().char==`=`)?(o(),I(!0)):i(`name`,`await`)&&_()&&zm(a(),`name`,`using`)?(o(),fe(!0)):Ve(!0,!0);var s=i(`operator`,`in`),c=i(`name`,`of`);if(t&&!c&&l(t,e),s||c)return n instanceof qh?(n.definitions.length>1&&l(n.start,`Only one variable declaration allowed in for..in loop`),s&&n instanceof Qh&&l(n.start,`Invalid using declaration in for..in loop`)):Re(n)||(n=G(n))instanceof Th||l(n.start,`Invalid left-hand side in for..in loop`),o(),s?k(n):O(n,!!t)}return D(n)}function D(e){f(`;`);var t=i(`punc`,`;`)?null:Ve(!0);f(`;`);var n=i(`punc`,`)`)?null:Ve(!0);return f(`)`),new ph({init:e,condition:t,step:n,body:He(function(){return S(!1,!0)})})}function O(e,t){var n=e instanceof qh?e.definitions[0].name:null,r=Ve(!0);return f(`)`),new hh({await:t,init:e,name:n,object:r,body:He(function(){return S(!1,!0)})})}function k(e){var t=Ve(!0);return f(`)`),new mh({init:e,object:t,body:He(function(){return S(!1,!0)})})}var A=function(e,t,n){p(r.token)&&c(`Unexpected newline before arrow (=>)`),d(`arrow`,`=>`);var a=ie(i(`punc`,`{`),!1,n);return new Ch({start:e,end:a.end,async:n,argnames:t,body:a})},j=function(e,t,n,r){var a=e===wh;i(`operator`,`*`)&&(t=!0,o());var c=i(`name`)?ke(a?Kg:Yg):null;a&&!c&&(r?e=Sh:u()),c&&e!==xh&&!(c instanceof zg)&&u(s());var l=[],d=ie(!0,t,n,c,l);return new e({start:l.start,end:d.end,is_generator:t,async:n,name:c,argnames:l,body:d})};class ee{constructor(e,t,n=!1){this.is_parameter=e,this.duplicates_ok=n,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!t}add_parameter(e){if(this.parameters.has(e.value))this.duplicate===null&&(this.duplicate=e),this.check_strict();else if(this.parameters.add(e.value),this.is_parameter)switch(e.value){case`arguments`:case`eval`:case`yield`:this.strict_mode&&l(e,`Unexpected `+e.value+` identifier as parameter inside strict mode`);break;default:om.has(e.value)&&u()}}mark_default_assignment(e){this.default_assignment===!1&&(this.default_assignment=e)}mark_spread(e){this.spread===!1&&(this.spread=e)}mark_strict_mode(){this.strict_mode=!0}is_strict(){return this.default_assignment!==!1||this.spread!==!1||this.strict_mode}check_strict(){this.is_strict()&&this.duplicate!==null&&!this.duplicates_ok&&l(this.duplicate,`Parameter `+this.duplicate.value+` was used already`)}}function te(e){var t=new ee(!0,r.input.has_directive(`use strict`));for(f(`(`);!i(`punc`,`)`);){var n=ne(t);if(e.push(n),i(`punc`,`)`)||f(`,`),n instanceof yh)break}o()}function ne(e,t){var n,a=!1;return e===void 0&&(e=new ee(!0,r.input.has_directive(`use strict`))),i(`expand`,`...`)&&(a=r.token,e.mark_spread(r.token),o()),n=re(e,t),i(`operator`,`=`)&&a===!1&&(e.mark_default_assignment(r.token),o(),n=new yg({start:n.start,left:n,operator:`=`,right:Ve(!1),end:r.token})),a!==!1&&(i(`punc`,`)`)||u(),n=new yh({start:a,expression:n,end:a})),e.check_strict(),n}function re(e,t){var n=[],l=!0,d=!1,p,m=r.token;if(e===void 0&&(e=new ee(!1,r.input.has_directive(`use strict`),t===Bg)),t=t===void 0?Gg:t,i(`punc`,`[`)){for(o();!i(`punc`,`]`);){if(l?l=!1:f(`,`),i(`expand`,`...`)&&(d=!0,p=r.token,e.mark_spread(r.token),o()),i(`punc`))switch(r.token.value){case`,`:n.push(new __({start:r.token,end:r.token}));continue;case`]`:break;case`[`:case`{`:n.push(re(e,t));break;default:u()}else i(`name`)?(e.add_parameter(r.token),n.push(ke(t))):c(`Invalid function parameter`);i(`operator`,`=`)&&d===!1&&(e.mark_default_assignment(r.token),o(),n[n.length-1]=new yg({start:n[n.length-1].start,left:n[n.length-1],operator:`=`,right:Ve(!1),end:r.token})),d&&(i(`punc`,`]`)||c(`Rest element must be last element`),n[n.length-1]=new yh({start:p,expression:n[n.length-1],end:p}))}return f(`]`),e.check_strict(),new Th({start:m,names:n,is_array:!0,end:s()})}else if(i(`punc`,`{`)){for(o();!i(`punc`,`}`);){if(l?l=!1:f(`,`),i(`expand`,`...`)&&(d=!0,p=r.token,e.mark_spread(r.token),o()),i(`name`)&&(zm(a(),`punc`)||zm(a(),`operator`))&&[`,`,`}`,`=`].includes(a().value)){e.add_parameter(r.token);var h=s(),g=ke(t);d?n.push(new yh({start:p,expression:g,end:g.end})):n.push(new Cg({start:h,key:g.name,value:g,end:g.end}))}else if(i(`punc`,`}`))continue;else{var _=r.token,v=Te();v===null?u(s()):s().type===`name`&&!i(`punc`,`:`)?n.push(new Cg({start:s(),key:v,value:new t({start:s(),name:v,end:s()}),end:s()})):(f(`:`),n.push(new Cg({start:_,quote:_.quote,key:v,value:re(e,t),end:s()})))}d?i(`punc`,`}`)||c(`Rest element must be last element`):i(`operator`,`=`)&&(e.mark_default_assignment(r.token),o(),n[n.length-1].value=new yg({start:n[n.length-1].value.start,left:n[n.length-1].value,operator:`=`,right:Ve(!1),end:r.token}))}return f(`}`),e.check_strict(),new Th({start:m,names:n,is_array:!1,end:s()})}else if(i(`name`))return e.add_parameter(r.token),ke(t);else c(`Invalid function parameter`)}function M(e,t){var n,a,c,l=[];for(f(`(`);!i(`punc`,`)`);)n&&u(n),i(`expand`,`...`)?(n=r.token,t&&(a=r.token),o(),l.push(new yh({start:s(),expression:Ve(),end:r.token}))):l.push(Ve()),i(`punc`,`)`)||(f(`,`),i(`punc`,`)`)&&(c=s(),t&&(a=c)));return f(`)`),e&&i(`arrow`,`=>`)?n&&c&&u(c):a&&u(a),l}function ie(e,t,n,i,a){var o=r.in_loop,s=r.labels,c=r.in_generator,l=r.in_async;if(++r.in_function,t&&(r.in_generator=r.in_function),n&&(r.in_async=r.in_function),a&&te(a),e&&(r.in_directives=!0),r.in_loop=0,r.labels=[],e){r.input.push_directives_stack();var u=P();i&&Oe(i),a&&a.forEach(Oe),r.input.pop_directives_stack()}else var u=[new jh({start:r.token,value:Ve(!1),end:r.token})];return--r.in_function,r.in_loop=o,r.labels=s,r.in_generator=c,r.in_async=l,u}function ae(){return _()||c(`Unexpected await expression outside async function`,r.prev.line,r.prev.col,r.prev.pos),new Ih({start:s(),end:r.token,expression:Ne(!0)})}function N(){var e=r.token,t=!1,n=!0;return m()||i(`punc`)&&bm.has(r.token.value)||i(`template_cont`)?n=!1:i(`operator`,`*`)&&(t=!0,o()),new Lh({start:e,is_star:t,expression:n?Ve():null,end:s()})}function oe(){var e=y(),t=S(!1,!1,!0),n=null;return i(`keyword`,`else`)&&(o(),n=S(!1,!1,!0)),new Rh({condition:e,body:t,alternative:n})}function P(){f(`{`);for(var e=[];!i(`punc`,`}`);)i(`eof`)&&u(),e.push(S());return o(),e}function F(){f(`{`);for(var e=[],t=null,n=null,a;!i(`punc`,`}`);)i(`eof`)&&u(),i(`keyword`,`case`)?(n&&(n.end=s()),t=[],n=new Hh({start:(a=r.token,o(),a),expression:Ve(!0),body:t}),e.push(n),f(`:`)):i(`keyword`,`default`)?(n&&(n.end=s()),t=[],n=new Vh({start:(a=r.token,o(),f(`:`),a),body:t}),e.push(n)):(t||u(),t.push(S()));return n&&(n.end=s()),o(),e}function se(){var e,t=null,n=null;if(e=new Wh({start:r.token,body:P(),end:s()}),i(`keyword`,`catch`)){var a=r.token;if(o(),i(`punc`,`{`))var l=null;else{f(`(`);var l=ne(void 0,Qg);f(`)`)}t=new Gh({start:a,argname:l,body:P(),end:s()})}if(i(`keyword`,`finally`)){var a=r.token;o(),n=new Kh({start:a,body:P(),end:s()})}return!t&&!n&&c(`Missing catch/finally blocks`),new Uh({body:e,bcatch:t,bfinally:n})}function ce(e,t){for(var n=[],a;;){var l=t===`var`?Bg:t===`const`?Hg:t===`let`?Wg:t===`using`||t===`await using`?Ug:null,u=t===`using`||t===`await using`?tg:eg;if(i(`punc`,`{`)||i(`punc`,`[`)?a=new u({start:r.token,name:re(void 0,l),value:i(`operator`,`=`)?(d(`operator`,`=`),Ve(!1,e)):null,end:s()}):(a=new u({start:r.token,name:ke(l),value:i(`operator`,`=`)?(o(),Ve(!1,e)):!e&&(t===`const`||t===`using`||t===`await using`)?c(`Missing initializer in `+t+` declaration`):null,end:s()}),a.name.name==`import`&&c(`Unexpected token: import`)),n.push(a),!i(`punc`,`,`))break;o()}return n}var le=function(e){return new Yh({start:s(),definitions:ce(e,`var`),end:s()})},ue=function(e){return new Xh({start:s(),definitions:ce(e,`let`),end:s()})},de=function(e){return new Zh({start:s(),definitions:ce(e,`const`),end:s()})},I=function(e){return new Qh({start:s(),await:!1,definitions:ce(e,`using`),end:s()})},fe=function(e){return new Qh({start:s(),await:!0,definitions:(o(),ce(e,`await using`)),end:s()})},pe=function(e){var t=r.token;if(d(`operator`,`new`),i(`punc`,`.`))return o(),d(`name`,`target`),je(new Rg({start:t,end:s()}),e);var n=z(!1),a;i(`punc`,`(`)?(o(),a=he(`)`,!0)):a=[];var c=new sg({start:t,expression:n,args:a,end:s()});return W(c),je(c,e)};function L(){var e=r.token,t;switch(e.type){case`name`:t=De($);break;case`num`:t=new u_({start:e,end:e,value:e.value,raw:nm});break;case`big_int`:t=new d_({start:e,end:e,value:e.value,raw:nm});break;case`string`:t=new l_({start:e,end:e,value:e.value,quote:e.quote}),W(t);break;case`regexp`:let[n,r,i]=e.value.match(/^\/(.*)\/(\w*)$/);t=new f_({start:e,end:e,value:{source:r,flags:i}});break;case`atom`:switch(e.value){case`false`:t=new b_({start:e,end:e});break;case`true`:t=new x_({start:e,end:e});break;case`null`:t=new m_({start:e,end:e});break}break}return o(),t}function R(e,t){var n=function(e,t){return t?new yg({start:e.start,left:e,operator:`=`,right:t,end:t.end}):e};if(e instanceof xg)return n(new Th({start:e.start,end:e.end,is_array:!1,names:e.properties.map(e=>R(e))}),t);if(e instanceof Cg)return e.value=R(e.value),n(e,t);if(e instanceof __)return e;if(e instanceof Th)return e.names=e.names.map(e=>R(e)),n(e,t);if(e instanceof $)return n(new Gg({name:e.name,start:e.start,end:e.end}),t);if(e instanceof yh)return e.expression=R(e.expression),n(e,t);if(e instanceof bg)return n(new Th({start:e.start,end:e.end,is_array:!0,names:e.elements.map(e=>R(e))}),t);if(e instanceof vg)return n(R(e.left,e.right),t);if(e instanceof yg)return e.left=R(e.left),e;c(`Invalid function parameter`,e.start.line,e.start.col)}var z=function(e,t){if(i(`operator`,`new`))return pe(e);if(i(`name`,`import`)&&zm(a(),`punc`,`.`))return Se(e);var c=r.token,l,d=i(`name`,`async`)&&(l=a()).value!=`[`&&l.type!=`arrow`&&L();if(i(`punc`)){switch(r.token.value){case`(`:if(d&&!e)break;var f=M(t,!d);if(t&&i(`arrow`,`=>`))return A(c,f.map(e=>R(e)),!!d);var p=d?new og({expression:d,args:f}):Be(c,f);if(p.start){let e=c.comments_before.length;if(n.set(c,e),p.start.comments_before.unshift(...c.comments_before),c.comments_before=p.start.comments_before,e==0&&c.comments_before.length>0){var m=c.comments_before[0];m.nlb||(m.nlb=c.nlb,c.nlb=!1)}c.comments_after=p.start.comments_after}p.start=c;var h=s();return p.end&&(h.comments_before=p.end.comments_before,p.end.comments_after.push(...h.comments_after),h.comments_after=p.end.comments_after),p.end=h,p instanceof og&&W(p),je(p,e);case`[`:return je(ge(),e);case`{`:return je(B(),e)}d||u()}if(t&&i(`name`)&&zm(a(),`arrow`)){var g=new Gg({name:r.token.value,start:c,end:c});return o(),A(c,[g],!!d)}if(i(`keyword`,`function`)){o();var _=j(Sh,!1,!!d);return _.start=c,_.end=s(),je(_,e)}if(d)return je(d,e);if(i(`keyword`,`class`)){o();var v=ve(Ig);return v.start=c,v.end=s(),je(v,e)}if(i(`template_head`))return je(me(),e);if(qm.has(r.token.type))return je(L(),e);u()};function me(){var e=[],t=r.token;for(e.push(new Oh({start:r.token,raw:rm.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)o(),x(),e.push(Ve(!0)),e.push(new Oh({start:r.token,raw:rm.get(r.token),value:r.token.value,end:r.token}));return o(),new Dh({start:t,segments:e,end:r.token})}function he(e,t,n){for(var a=!0,c=[];!i(`punc`,e)&&(a?a=!1:f(`,`),!(t&&i(`punc`,e)));)i(`punc`,`,`)&&n?c.push(new __({start:r.token,end:r.token})):i(`expand`,`...`)?(o(),c.push(new yh({start:s(),expression:Ve(),end:r.token}))):c.push(Ve(!1));return o(),c}var ge=b(function(){return f(`[`),new bg({elements:he(`]`,!t.strict,!0)})}),_e=b((e,t)=>j(xh,e,t)),B=b(function(){var e=r.token,n=!0,a=[];for(f(`{`);!i(`punc`,`}`)&&(n?n=!1:f(`,`),!(!t.strict&&i(`punc`,`}`)));){if(e=r.token,e.type==`expand`){o(),a.push(new yh({start:e,expression:Ve(!1),end:s()}));continue}i(`privatename`)&&c(`private fields are not allowed in an object`);var l=Te(),d;if(i(`punc`,`:`))l===null?u(s()):(o(),d=Ve(!1));else{var p=V(l,e);if(p){a.push(p);continue}d=new $({start:s(),name:l,end:s()})}i(`operator`,`=`)&&(o(),d=new vg({start:e,left:d,operator:`=`,right:Ve(!1),logical:!1,end:s()}));let t=new Cg({start:e,quote:e.quote,key:l,value:d,end:s()});a.push(W(t))}return o(),new xg({properties:a})});function ve(e,t){var n,a,c,l,d=[];r.input.push_directives_stack(),r.input.add_directive(`use strict`),r.token.type==`name`&&r.token.value!=`extends`&&(c=ke(e===Pg?Xg:Zg)),e===Pg&&!c&&(t?e=Ig:u()),r.token.value==`extends`&&(o(),l=Ve(!0)),f(`{`);let p=r.in_class;for(r.in_class=!0;i(`punc`,`;`);)o();for(;!i(`punc`,`}`);)for(n=r.token,a=V(Te(),n,!0),a||u(),d.push(a);i(`punc`,`;`);)o();return r.in_class=p,r.input.pop_directives_stack(),o(),new e({start:n,name:c,extends:l,properties:d,end:s()})}function V(e,t,n){let r=(e,n)=>typeof e==`string`?new n({start:t,name:e,end:s()}):(e===null&&u(),e);var a=s().type===`privatename`;let c=()=>!i(`punc`,`(`)&&!i(`punc`,`,`)&&!i(`punc`,`}`)&&!i(`punc`,`;`)&&!i(`operator`,`=`)&&!a;var l=!1,d=!1,f=!1,p=null;if(n&&e===`static`&&c()){let t=ye();if(t!=null)return t;d=!0,e=Te()}e===`async`&&c()&&(l=!0,e=Te()),s().type===`operator`&&s().value===`*`&&(f=!0,e=Te()),(e===`get`||e===`set`)&&c()&&(p=e,e=Te()),!a&&s().type===`privatename`&&(a=!0);let m=s();if(p!=null){if(a)return W(new(p===`get`?Tg:wg)({start:t,static:d,key:r(e,qg),value:_e(),end:s()}));{let n=p===`get`?Dg:Eg;return e=r(e,qg),W(new n({start:t,static:d,key:e,quote:e instanceof qg?m.quote:void 0,value:_e(),end:s()}))}}if(i(`punc`,`(`))return e=r(e,qg),W(new(a?kg:Og)({start:t,static:d,key:e,quote:e instanceof qg?m.quote:void 0,value:_e(f,l),end:s()}));if(n){let n=a?a_:Jg,c=a?Mg:jg,l=r(e,n),u=l instanceof Jg?m.quote:void 0;if(i(`operator`,`=`))return o(),W(new c({start:t,static:d,quote:u,key:l,value:Ve(!1),end:s()}));if(i(`name`)||i(`privatename`)||i(`punc`,`[`)||i(`operator`,`*`)||i(`punc`,`;`)||i(`punc`,`}`)||i(`string`)||i(`num`)||i(`big_int`))return W(new c({start:t,static:d,quote:u,key:l,end:s()}))}}function ye(){if(!i(`punc`,`{`))return null;let e=r.token,t=[];for(o();!i(`punc`,`}`);)t.push(S());return o(),new Fg({start:e,body:t,end:s()})}function be(){return(i(`keyword`,`with`)||i(`name`,`assert`))&&!p(r.token)?(o(),B()):null}function xe(){var e=s(),t,n;i(`name`)&&(t=ke($g)),i(`punc`,`,`)&&o(),n=we(!0),(n||t)&&d(`name`,`from`);var a=r.token;a.type!==`string`&&u(),o();let c=be();return new rg({start:e,imported_name:t,imported_names:n,module_name:new l_({start:a,value:a.value,quote:a.quote,end:a}),attributes:c,end:r.token})}function Se(e){var t=r.token;return d(`name`,`import`),d(`punc`,`.`),d(`name`,`meta`),je(new ig({start:t,end:s()}),e)}function Ce(e){function t(e,t){return new e({name:Te(),quote:t||void 0,start:s(),end:s()})}var n=e?e_:r_,a=e?$g:n_,c=r.token,l,u;return e?l=t(n,c.quote):u=t(a,c.quote),i(`name`,`as`)?(o(),e?u=t(a):l=t(n,r.token.quote)):e?u=new a(l):l=new n(u),new ng({start:c,foreign_name:l,name:u,end:s()})}function H(e,t){var n=e?e_:r_,i=e?$g:n_,a=r.token,o,c,l=s();return e?o=t:c=t,o||=new i({start:a,name:`*`,end:l}),c||=new n({start:a,name:`*`,end:l}),new ng({start:a,foreign_name:c,name:o,end:l})}function we(e){var t;if(i(`punc`,`{`)){for(o(),t=[];!i(`punc`,`}`);)t.push(Ce(e)),i(`punc`,`,`)&&o();o()}else if(i(`operator`,`*`)){var n;o(),i(`name`,`as`)&&(o(),n=e?ke($g):Ae(r_)),t=[H(e,n)]}return t}function U(){var e=r.token,t,n;if(i(`keyword`,`default`))t=!0,o();else if(n=we(!1))if(i(`name`,`from`)){o();var c=r.token;c.type!==`string`&&u(),o();let i=be();return new ag({start:e,is_default:t,exported_names:n,module_name:new l_({start:c,value:c.value,quote:c.quote,end:c}),end:s(),attributes:i})}else return new ag({start:e,is_default:t,exported_names:n,end:s()});var l,d,f;return i(`punc`,`{`)||t&&(i(`keyword`,`class`)||i(`keyword`,`function`))&&zm(a(),`punc`)?(d=Ve(!1),v()):(l=S(t))instanceof Jh&&t?u(l.start):l instanceof Jh||l instanceof wh||l instanceof Pg?f=l:l instanceof Ig||l instanceof Sh?d=l:l instanceof th?d=l.body:u(l.start),new ag({start:e,is_default:t,exported_value:d,exported_definition:f,end:s(),attributes:null})}function Te(){var e=r.token;switch(e.type){case`punc`:if(e.value===`[`){o();var t=Ve(!1);return f(`]`),t}else u(e);case`operator`:if(e.value===`*`)return o(),null;[`delete`,`in`,`instanceof`,`new`,`typeof`,`void`].includes(e.value)||u(e);case`name`:case`privatename`:case`string`:case`keyword`:case`atom`:return o(),e.value;case`num`:case`big_int`:return o(),``+e.value;default:u(e)}}function Ee(){var e=r.token;return e.type!=`name`&&e.type!=`privatename`&&u(),o(),e.value}function De(e){var t=r.token.value;return new(t==`this`?o_:t==`super`?s_:e)({name:String(t),start:r.token,end:r.token})}function Oe(e){var t=e.name;h()&&t==`yield`&&l(e.start,`Yield cannot be used as identifier inside generators`),r.input.has_directive(`use strict`)&&(t==`yield`&&l(e.start,`Unexpected yield identifier inside strict mode`),e instanceof zg&&(t==`arguments`||t==`eval`)&&l(e.start,`Unexpected `+t+` in strict mode`))}function ke(e,t){if(!i(`name`))return t||c(`Name expected`),null;var n=De(e);return Oe(n),o(),n}function Ae(e){if(!i(`name`)){i(`string`)||c(`Name or string expected`);var t=r.token,n=new e({start:t,end:t,name:t.value,quote:t.quote});return o(),n}var a=De(e);return Oe(a),o(),a}function W(e,t=e.start){for(var r=t.comments_before,i=n.get(t)??r.length;--i>=0;){var a=r[i];if(/[@#]__/.test(a.value)){if(/[@#]__PURE__/.test(a.value)){em(e,D_);break}if(/[@#]__INLINE__/.test(a.value)){em(e,O_);break}if(/[@#]__NOINLINE__/.test(a.value)){em(e,k_);break}if(/[@#]__KEY__/.test(a.value)){em(e,A_);break}if(/[@#]__MANGLE_PROP__/.test(a.value)){em(e,j_);break}}}return e}var je=function(e,t,n){var a=e.start;if(i(`punc`,`.`))return o(),i(`privatename`)&&!r.in_class&&c(`Private field must be used in an enclosing class`),W(je(new(i(`privatename`)?dg:ug)({start:a,expression:e,optional:!1,property:Ee(),end:s()}),t,n));if(i(`punc`,`[`)){o();var l=Ve(!0);return f(`]`),W(je(new fg({start:a,expression:e,optional:!1,property:l,end:s()}),t,n))}if(t&&i(`punc`,`(`)){o();var d=new og({start:a,expression:e,optional:!1,args:Me(),end:s()});return W(d),je(d,!0,n)}if(i(`punc`,`?.`)){o();let n;if(t&&i(`punc`,`(`)){o();let t=new og({start:a,optional:!0,expression:e,args:Me(),end:s()});W(t),n=je(t,!0,!0)}else if(i(`name`)||i(`privatename`))i(`privatename`)&&!r.in_class&&c(`Private field must be used in an enclosing class`),n=W(je(new(i(`privatename`)?dg:ug)({start:a,expression:e,optional:!0,property:Ee(),end:s()}),t,!0));else if(i(`punc`,`[`)){o();let r=Ve(!0);f(`]`),n=W(je(new fg({start:a,expression:e,optional:!0,property:r,end:s()}),t,!0))}return n||u(),n instanceof pg?n:new pg({start:a,expression:n,end:s()})}return i(`template_head`)?(n&&u(),je(new Eh({start:a,prefix:e,template_string:me(),end:s()}),t)):e};function Me(){for(var e=[];!i(`punc`,`)`);)i(`expand`,`...`)?(o(),e.push(new yh({start:s(),expression:Ve(!1),end:s()}))):e.push(Ve(!1)),i(`punc`,`)`)||f(`,`);return o(),e}var Ne=function(e,t){var n=r.token;if(n.type==`name`&&n.value==`await`&&_())return o(),ae();if(i(`operator`)&&Hm.has(n.value)){o(),x();var a=Pe(hg,n,Ne(e));return a.start=n,a.end=s(),a}for(var c=z(e,t);i(`operator`)&&Um.has(r.token.value)&&!p(r.token);)c instanceof Ch&&u(),c=Pe(gg,r.token,c),c.start=n,c.end=r.token,o();return c};function Pe(e,t,n){var i=t.value;switch(i){case`++`:case`--`:Re(n)||c(`Invalid use of `+i+` operator`,t.line,t.col,t.pos);break;case`delete`:n instanceof $&&r.input.has_directive(`use strict`)&&c(`Calling delete on expression not allowed in strict mode`,n.start.line,n.start.col,n.start.pos);break}return new e({operator:i,expression:n})}var Fe=function(e,t,n){var a=i(`operator`)?r.token.value:null;a==`in`&&n&&(a=null),a==`**`&&e instanceof hg&&!zm(e.start,`punc`,`(`)&&e.operator!==`--`&&e.operator!==`++`&&u(e.start);var s=a==null?null:Km[a];if(s!=null&&(s>t||a===`**`&&t===s)){o();var c=Ie(n,s,!0);return Fe(new Q({start:e.start,left:e,operator:a,right:c,end:c.end}),t,n)}return e};function Ie(e,t,n,a){if(!e&&t<Km.in&&i(`privatename`)){r.in_class||c(`Private field must be used in an enclosing class`);let t=r.token,n=new a_({start:t,name:t.value,end:t});return o(),d(`operator`,`in`),Fe(new Ng({start:t,key:n,value:Ie(e,Km.in,!0),end:s()}),0,e)}else return Fe(Ne(n,a),t,e)}var Le=function(e){var t=r.token,n=Ie(e,0,!0,!0);if(i(`operator`,`?`)){o();var a=Ve(!1);return f(`:`),new _g({start:t,condition:n,consequent:a,alternative:Ve(!1,e),end:s()})}return n};function Re(e){return e instanceof lg||e instanceof $}function G(e){if(e instanceof xg)e=new Th({start:e.start,names:e.properties.map(G),is_array:!1,end:e.end});else if(e instanceof bg){for(var t=[],n=0;n<e.elements.length;n++)e.elements[n]instanceof yh&&(n+1!==e.elements.length&&l(e.elements[n].start,`Spread must the be last element in destructuring array`),e.elements[n].expression=G(e.elements[n].expression)),t.push(G(e.elements[n]));e=new Th({start:e.start,names:t,is_array:!0,end:e.end})}else e instanceof Sg?e.value=G(e.value):e instanceof vg&&(e=new yg({start:e.start,left:e.left,operator:`=`,right:e.right,end:e.end}));return e}var ze=function(e){x();var t=r.token;if(t.type==`name`&&t.value==`yield`){if(h())return o(),N();r.input.has_directive(`use strict`)&&l(r.token,`Unexpected yield identifier inside strict mode`)}var n=Le(e),a=r.token.value;if(i(`operator`)&&Wm.has(a)){if(Re(n)||(n=G(n))instanceof Th)return o(),new vg({start:t,left:n,operator:a,right:ze(e),logical:Gm.has(a),end:s()});c(`Invalid assignment`)}return n},Be=function(e,t){if(t.length===1)return t[0];if(t.length>1)return new cg({start:e,expressions:t,end:a()});c(`Invalid parenthesized expression`)},Ve=function(e,t){for(var n=r.token,a=[];a.push(ze(t)),!(!e||!i(`punc`,`,`));)o(),e=!0;return Be(n,a)};function He(e){++r.in_loop;var t=e();return--r.in_loop,t}return t.expression?Ve(!0):(function(){var e=r.token,n=[];for(r.input.push_directives_stack(),t.module&&r.input.add_directive(`use strict`);!i(`eof`);)n.push(S());r.input.pop_directives_stack();var a=s(),o=t.toplevel;return o?(o.body=o.body.concat(n),o.end=a):o=new vh({start:e,body:n,end:a}),rm=new Map,o})()}function X(e,t,n,r,i=Z){t=t?t.split(/\s+/):[];var a=t;i&&i.PROPS&&(t=t.concat(i.PROPS));let o=i&&Object.create(i.prototype);if(o&&(n.prototype=o,n.BASE=i),i&&i.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=t||null,n.SELF_PROPS=a,n.SUBCLASSES=[],e&&(n.prototype.TYPE=n.TYPE=e),r)for(let e in r)Kp(r,e)&&(e[0]===`$`?n[e.substr(1)]=r[e]:n.prototype[e]=r[e]);return n.DEFMETHOD=function(e,t){this.prototype[e]=t},n}const Ym=(e,t)=>!!(e.flags&t),Xm=(e,t,n)=>{n?e.flags|=t:e.flags&=~t};var Zm=class{constructor(e,t,n,r,i,a,o,s,c){this.flags=a?1:0,this.type=e,this.value=t,this.line=n,this.col=r,this.pos=i,this.comments_before=o,this.comments_after=s,this.file=c,Object.seal(this)}[Symbol.for(`nodejs.util.inspect.custom`)](e,t){let n=e=>t.stylize(e,`special`),r=typeof this.value==`string`&&this.value.includes("`")?`'`:"`",i=`${r}${this.value}${r}`;return`${n(`[AST_Token`)} ${i} at ${this.line}:${this.col}${n(`]`)}`}get nlb(){return Ym(this,1)}set nlb(e){Xm(this,1,e)}get quote(){return Ym(this,4)?Ym(this,2)?`'`:`"`:``}set quote(e){Xm(this,2,e===`'`),Xm(this,4,!!e)}get template_end(){return Ym(this,8)}set template_end(e){Xm(this,8,e)}},Z=X(`Node`,`start end`,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{_clone:function(e){if(e){var t=this.clone();return t.transform(new E_(function(e){if(e!==t)return e.clone(!0)}))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:`Base class of all AST nodes`,$propdoc:{start:`[AST_Token] The first token of this node`,end:`[AST_Token] The last token of this node`},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)},_children_backwards:()=>{}},null),Qm=X(`Statement`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class of all statements`}),$m=X(`Debugger`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Represents a debugger statement`},Qm),eh=X(`Directive`,`value quote`,function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Represents a directive, like "use strict";`,$propdoc:{value:`[string] The value of this directive as a plain string (it's not an AST_String!)`,quote:`[string] the original quote character`}},Qm),th=X(`SimpleStatement`,`body`,function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A statement consisting of an expression, i.e. a = 1 + 2`,$propdoc:{body:`[AST_Node] an expression node (should not be instanceof AST_Statement)`},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})},_children_backwards(e){e(this.body)}},Qm);function nh(e,t){let n=e.body;for(var r=0,i=n.length;r<i;r++)n[r]._walk(t)}function rh(e){var t=this._clone(e);return this.block_scope&&(t.block_scope=this.block_scope.clone()),t}var ih=X(`Block`,`body block_scope`,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A body of statements (usually braced)`,$propdoc:{body:`[AST_Statement*] an array of statements`,block_scope:`[AST_Scope] the block scope`},_walk:function(e){return e._visit(this,function(){nh(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:rh},Qm),ah=X(`BlockStatement`,null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A block statement`},ih),oh=X(`EmptyStatement`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`The empty statement (empty block or simply a semicolon)`},Qm),sh=X(`StatementWithBody`,`body`,function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:`[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement`}},Qm),ch=X(`LabeledStatement`,`label`,function(e){e&&(this.label=e.label,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Statement with a label`,$propdoc:{label:`[AST_Label] a label definition`},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.label)},clone:function(e){var t=this._clone(e);if(e){var n=t.label,r=this.label;t.walk(new T_(function(e){e instanceof Nh&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},sh),lh=X(`IterationStatement`,`block_scope`,function(e){e&&(this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Internal class. All loops inherit from it.`,$propdoc:{block_scope:`[AST_Scope] the block scope for this iteration statement.`},clone:rh},sh),uh=X(`DWLoop`,`condition`,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for do/while statements`,$propdoc:{condition:`[AST_Node] the loop condition. Should not be instanceof AST_Statement`}},lh),dh=X(`Do`,null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})},_children_backwards(e){e(this.condition),e(this.body)}},uh),fh=X(`While`,null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.condition)}},uh),ph=X(`For`,`init condition step`,function(e){e&&(this.init=e.init,this.condition=e.condition,this.step=e.step,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),this.step&&e(this.step),this.condition&&e(this.condition),this.init&&e(this.init)}},lh),mh=X(`ForIn`,`init object`,function(e){e&&(this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:`[AST_Node] the object that we're looping through`},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),this.object&&e(this.object),this.init&&e(this.init)}},lh),hh=X(`ForOf`,`await`,function(e){e&&(this.await=e.await,this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... of` statement"},mh),gh=X(`With`,`expression`,function(e){e&&(this.expression=e.expression,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})},_children_backwards(e){e(this.body),e(this.expression)}},sh),_h=X(`Scope`,`variables uses_with uses_eval parent_scope enclosed cname`,function(e){e&&(this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for all statements introducing a lexical scope`,$propdoc:{variables:`[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope`,uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:`[AST_Scope?/S] link to the parent scope`,enclosed:`[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes`,cname:`[integer/S] current index for mangling variables (used internally by the mangler)`},get_defun_scope:function(){for(var e=this;e.is_block_scope();)e=e.parent_scope;return e},clone:function(e,t){var n=this._clone(e);return e&&this.variables&&t&&!this._block_scope?n.figure_out_scope({},{toplevel:t,parent_scope:this.parent_scope}):(this.variables&&(n.variables=new Map(this.variables)),this.enclosed&&(n.enclosed=this.enclosed.slice()),this._block_scope&&(n._block_scope=this._block_scope)),n},pinned:function(){return this.uses_eval||this.uses_with}},ih),vh=X(`Toplevel`,`globals`,function(e){e&&(this.globals=e.globals,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`The toplevel scope`,$propdoc:{globals:`[Map/S] a map of name -> SymbolDef for all undeclared names`},wrap_commonjs:function(e){var t=this.body,n=`(function(exports){'$ORIG';})(typeof `+e+`=='undefined'?(`+e+`={}):`+e+`);`;return n=Jm(n),n=n.transform(new E_(function(e){if(e instanceof eh&&e.value==`$ORIG`)return Lp.splice(t)})),n},wrap_enclose:function(e){typeof e!=`string`&&(e=``);var t=e.indexOf(`:`);t<0&&(t=e.length);var n=this.body;return Jm([`(function(`,e.slice(0,t),`){"$ORIG"})(`,e.slice(t+1),`)`].join(``)).transform(new E_(function(e){if(e instanceof eh&&e.value==`$ORIG`)return Lp.splice(n)}))}},_h),yh=X(`Expansion`,`expression`,function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list`,$propdoc:{expression:`[AST_Node] the thing to be expanded`},_walk:function(e){return e._visit(this,function(){this.expression.walk(e)})},_children_backwards(e){e(this.expression)}}),bh=X(`Lambda`,`name argnames uses_arguments is_generator async`,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for functions`,$propdoc:{name:`[AST_SymbolDeclaration?] the name of this function`,argnames:`[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments`,uses_arguments:`[boolean/S] tells whether this function accesses the arguments array`,is_generator:`[boolean] is this a generator method`,async:`[boolean] is this method async`},args_as_names:function(){for(var e=[],t=0;t<this.argnames.length;t++)this.argnames[t]instanceof Th?e.push(...this.argnames[t].all_symbols()):e.push(this.argnames[t]);return e},_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e);for(var t=this.argnames,n=0,r=t.length;n<r;n++)t[n]._walk(e);nh(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);for(t=this.argnames.length;t--;)e(this.argnames[t]);this.name&&e(this.name)},is_braceless(){return this.body[0]instanceof jh&&this.body[0].value},length_property(){let e=0;for(let t of this.argnames)(t instanceof Gg||t instanceof Th)&&e++;return e}},_h),xh=X(`Accessor`,null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A setter/getter function. The `name` property is always null."},bh),Sh=X(`Function`,null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A function expression`},bh),Ch=X(`Arrow`,null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`An ES6 Arrow function ((a) => b)`},bh),wh=X(`Defun`,null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A function definition`},bh),Th=X(`Destructuring`,`names is_array`,function(e){e&&(this.names=e.names,this.is_array=e.is_array,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A destructuring of several names. Used in destructuring assignment and with destructuring function argument names`,$propdoc:{names:`[AST_Node*] Array of properties or elements`,is_array:`[Boolean] Whether the destructuring represents an object or array`},_walk:function(e){return e._visit(this,function(){this.names.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.names.length;for(;t--;)e(this.names[t])},all_symbols:function(){var e=[];return S_(this,t=>{if(t instanceof zg&&e.push(t),t instanceof bh)return!0}),e}}),Eh=X(`PrefixedTemplateString`,`template_string prefix`,function(e){e&&(this.template_string=e.template_string,this.prefix=e.prefix,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:`[AST_TemplateString] The template string`,prefix:`[AST_Node] The prefix, which will get called.`},_walk:function(e){return e._visit(this,function(){this.prefix._walk(e),this.template_string._walk(e)})},_children_backwards(e){e(this.template_string),e(this.prefix)}}),Dh=X(`TemplateString`,`segments`,function(e){e&&(this.segments=e.segments,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A template string literal`,$propdoc:{segments:`[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment.`},_walk:function(e){return e._visit(this,function(){this.segments.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.segments.length;for(;t--;)e(this.segments[t])}}),Oh=X(`TemplateSegment`,`value raw`,function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A segment of a template string literal`,$propdoc:{value:`Content of the segment`,raw:`Raw source of the segment`}}),kh=X(`Jump`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},Qm),Ah=X(`Exit`,`value`,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:`[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return`},_walk:function(e){return e._visit(this,this.value&&function(){this.value._walk(e)})},_children_backwards(e){this.value&&e(this.value)}},kh),jh=X(`Return`,null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},Ah),Mh=X(`Throw`,null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},Ah),Nh=X(`LoopControl`,`label`,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:`[AST_LabelRef?] the label, or null if none`},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})},_children_backwards(e){this.label&&e(this.label)}},kh),Ph=X(`Break`,null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},Nh),Fh=X(`Continue`,null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},Nh),Ih=X(`Await`,`expression`,function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `await` statement",$propdoc:{expression:`[AST_Node] the mandatory expression being awaited`},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),Lh=X(`Yield`,`expression is_star`,function(e){e&&(this.expression=e.expression,this.is_star=e.is_star,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `yield` statement",$propdoc:{expression:`[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false`,is_star:`[Boolean] Whether this is a yield or yield* statement`},_walk:function(e){return e._visit(this,this.expression&&function(){this.expression._walk(e)})},_children_backwards(e){this.expression&&e(this.expression)}}),Rh=X(`If`,`condition alternative`,function(e){e&&(this.condition=e.condition,this.alternative=e.alternative,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})},_children_backwards(e){this.alternative&&e(this.alternative),e(this.body),e(this.condition)}},sh),zh=X(`Switch`,`expression`,function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),nh(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},ih),Bh=X(`SwitchBranch`,null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `switch` branches"},ih),Vh=X(`Default`,null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `default` switch branch"},Bh),Hh=X(`Case`,`expression`,function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),nh(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);e(this.expression)}},Bh),Uh=X(`Try`,`body bcatch bfinally`,function(e){e&&(this.body=e.body,this.bcatch=e.bcatch,this.bfinally=e.bfinally,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `try` statement",$propdoc:{body:`[AST_TryBlock] the try block`,bcatch:`[AST_Catch?] the catch block, or null if not present`,bfinally:`[AST_Finally?] the finally block, or null if not present`},_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})},_children_backwards(e){this.bfinally&&e(this.bfinally),this.bcatch&&e(this.bcatch),e(this.body)}},Qm),Wh=X(`TryBlock`,null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `try` block of a try statement"},ih),Gh=X(`Catch`,`argname`,function(e){e&&(this.argname=e.argname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:`[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception`},_walk:function(e){return e._visit(this,function(){this.argname&&this.argname._walk(e),nh(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t]);this.argname&&e(this.argname)}},ih),Kh=X(`Finally`,null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},ih),qh=X(`DefinitionsLike`,`definitions`,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for variable definitions and `using`",$propdoc:{definitions:`[AST_VarDef*|AST_UsingDef*] array of variable definitions`},_walk:function(e){return e._visit(this,function(){for(var t=this.definitions,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.definitions.length;for(;t--;)e(this.definitions[t])}},Qm),Jh=X(`Definitions`,null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)"},qh),Yh=X(`Var`,null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},Jh),Xh=X(`Let`,null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},Jh),Zh=X(`Const`,null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},Jh),Qh=X(`Using`,`await`,function(e){e&&(this.await=e.await,this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `using` statement",$propdoc:{await:"[boolean] Whether it's `await using`"}},qh),$h=X(`VarDefLike`,`name value`,function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A name=value pair in a variable definition statement or `using`",$propdoc:{name:`[AST_Destructuring|AST_SymbolDeclaration] name of the variable`,value:`[AST_Node?] initializer, or null of there's no initializer`},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})},_children_backwards(e){this.value&&e(this.value),e(this.name)},declarations_as_names(){return this.name instanceof zg?[this.name]:this.name.all_symbols()}}),eg=X(`VarDef`,null,function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A variable declaration; only appears in a AST_Definitions node`},$h),tg=X(`UsingDef`,null,function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Like VarDef but specific to AST_Using`},$h),ng=X(`NameMapping`,`foreign_name name`,function(e){e&&(this.foreign_name=e.foreign_name,this.name=e.name,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`The part of the export/import statement that declare names from a module.`,$propdoc:{foreign_name:`[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)`,name:`[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module.`},_walk:function(e){return e._visit(this,function(){this.foreign_name._walk(e),this.name._walk(e)})},_children_backwards(e){e(this.name),e(this.foreign_name)}}),rg=X(`Import`,`imported_name imported_names module_name attributes`,function(e){e&&(this.imported_name=e.imported_name,this.imported_names=e.imported_names,this.module_name=e.module_name,this.attributes=e.attributes,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `import` statement",$propdoc:{imported_name:`[AST_SymbolImport] The name of the variable holding the module's default export.`,imported_names:`[AST_NameMapping*] The names of non-default imported variables`,module_name:`[AST_String] String literal describing where this module came from`,attributes:`[AST_Object?] The import attributes (with {...})`},_walk:function(e){return e._visit(this,function(){this.imported_name&&this.imported_name._walk(e),this.imported_names&&this.imported_names.forEach(function(t){t._walk(e)}),this.module_name._walk(e)})},_children_backwards(e){if(e(this.module_name),this.imported_names){let t=this.imported_names.length;for(;t--;)e(this.imported_names[t])}this.imported_name&&e(this.imported_name)}}),ig=X(`ImportMeta`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A reference to import.meta`}),ag=X(`Export`,`exported_definition exported_value is_default exported_names module_name attributes`,function(e){e&&(this.exported_definition=e.exported_definition,this.exported_value=e.exported_value,this.is_default=e.is_default,this.exported_names=e.exported_names,this.module_name=e.module_name,this.attributes=e.attributes,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `export` statement",$propdoc:{exported_definition:`[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition`,exported_value:`[AST_Node?] An exported value`,exported_names:`[AST_NameMapping*?] List of exported names`,module_name:`[AST_String?] Name of the file to load exports from`,is_default:`[Boolean] Whether this is the default exported value of this module`,attributes:`[AST_Object?] The import attributes`},_walk:function(e){return e._visit(this,function(){this.exported_definition&&this.exported_definition._walk(e),this.exported_value&&this.exported_value._walk(e),this.exported_names&&this.exported_names.forEach(function(t){t._walk(e)}),this.module_name&&this.module_name._walk(e)})},_children_backwards(e){if(this.module_name&&e(this.module_name),this.exported_names){let t=this.exported_names.length;for(;t--;)e(this.exported_names[t])}this.exported_value&&e(this.exported_value),this.exported_definition&&e(this.exported_definition)}},Qm),og=X(`Call`,`expression args optional _annotations`,function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:`A function call expression`,$propdoc:{expression:`[AST_Node] expression to invoke as function`,args:`[AST_Node*] array of arguments`,optional:`[boolean] whether this is an optional call (IE ?.() )`,_annotations:`[number] bitfield containing information about the call`},initialize(){this._annotations??=0},_walk(e){return e._visit(this,function(){for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e);this.expression._walk(e)})},_children_backwards(e){let t=this.args.length;for(;t--;)e(this.args[t]);e(this.expression)}}),sg=X(`New`,null,function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:`An object instantiation. Derives from a function call since it has exactly the same properties`},og),cg=X(`Sequence`,`expressions`,function(e){e&&(this.expressions=e.expressions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A sequence expression (comma-separated expressions)`,$propdoc:{expressions:`[AST_Node*] array of expressions (at least two)`},_walk:function(e){return e._visit(this,function(){this.expressions.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.expressions.length;for(;t--;)e(this.expressions[t])}}),lg=X(`PropAccess`,`expression property optional`,function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:`[AST_Node] the “container” expression`,property:`[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node`,optional:`[boolean] whether this is an optional property access (IE ?.)`}}),ug=X(`Dot`,`quote`,function(e){e&&(this.quote=e.quote,this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A dotted property access expression`,$propdoc:{quote:`[string] the original quote character when transformed from AST_Sub`},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}},lg),dg=X(`DotHash`,``,function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A dotted property access to a private property`,_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}},lg),fg=X(`Sub`,null,function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})},_children_backwards(e){e(this.property),e(this.expression)}},lg),pg=X(`Chain`,`expression`,function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A chain expression like a?.b?.(c)?.[d]`,$propdoc:{expression:`[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element.`},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),mg=X(`Unary`,`operator expression`,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for unary expressions`,$propdoc:{operator:`[string] the operator`,expression:`[AST_Node] expression that this unary operator applies to`},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}}),hg=X(`UnaryPrefix`,null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},mg),gg=X(`UnaryPostfix`,null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary postfix expression, i.e. `i++`"},mg),Q=X(`Binary`,`operator left right`,function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:`[AST_Node] left-hand side expression`,operator:`[string] the operator`,right:`[AST_Node] right-hand side expression`},_walk:function(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})},_children_backwards(e){e(this.right),e(this.left)}}),_g=X(`Conditional`,`condition consequent alternative`,function(e){e&&(this.condition=e.condition,this.consequent=e.consequent,this.alternative=e.alternative,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:`[AST_Node]`,consequent:`[AST_Node]`,alternative:`[AST_Node]`},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})},_children_backwards(e){e(this.alternative),e(this.consequent),e(this.condition)}}),vg=X(`Assign`,`logical`,function(e){e&&(this.logical=e.logical,this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:`Whether it's a logical assignment`}},Q),yg=X(`DefaultAssign`,null,function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A default assignment expression like in `(a = 3) => a`"},Q),bg=X(`Array`,`elements`,function(e){e&&(this.elements=e.elements,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`An array literal`,$propdoc:{elements:`[AST_Node*] array of elements`},_walk:function(e){return e._visit(this,function(){for(var t=this.elements,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.elements.length;for(;t--;)e(this.elements[t])}}),xg=X(`Object`,`properties`,function(e){e&&(this.properties=e.properties,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`An object literal`,$propdoc:{properties:`[AST_ObjectProperty*] array of properties`},_walk:function(e){return e._visit(this,function(){for(var t=this.properties,n=0,r=t.length;n<r;n++)t[n]._walk(e)})},_children_backwards(e){let t=this.properties.length;for(;t--;)e(this.properties[t])}}),Sg=X(`ObjectProperty`,`key value`,function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:`Base class for literal object properties`,$propdoc:{key:`[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.`,value:`[AST_Node] property value. For getters, setters and methods this is an AST_Accessor.`},_walk:function(e){return e._visit(this,function(){this.key instanceof Z&&this.key._walk(e),this.value._walk(e)})},_children_backwards(e){e(this.value),this.key instanceof Z&&e(this.key)}}),Cg=X(`ObjectKeyVal`,`quote`,function(e){e&&(this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:`A key: value object property`,$propdoc:{quote:`[string] the original quote character`},computed_key(){return this.key instanceof Z}},Sg),wg=X(`PrivateSetter`,`static`,function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:`[boolean] whether this is a static private setter`},$documentation:`A private setter property`,computed_key(){return!1}},Sg),Tg=X(`PrivateGetter`,`static`,function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:`[boolean] whether this is a static private getter`},$documentation:`A private getter property`,computed_key(){return!1}},Sg),Eg=X(`ObjectSetter`,`quote static`,function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:`[string|undefined] the original quote character, if any`,static:`[boolean] whether this is a static setter (classes only)`},$documentation:`An object setter property`,computed_key(){return!(this.key instanceof qg)}},Sg),Dg=X(`ObjectGetter`,`quote static`,function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:`[string|undefined] the original quote character, if any`,static:`[boolean] whether this is a static getter (classes only)`},$documentation:`An object getter property`,computed_key(){return!(this.key instanceof qg)}},Sg),Og=X(`ConciseMethod`,`quote static`,function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:`[string|undefined] the original quote character, if any`,static:`[boolean] is this method static (classes only)`},$documentation:`An ES6 concise method inside an object or class`,computed_key(){return!(this.key instanceof qg)}},Sg),kg=X(`PrivateMethod`,`static`,function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A private class method inside a class`,$propdoc:{static:`[boolean] is this a static private method`},computed_key(){return!1}},Sg),Ag=X(`Class`,`name extends properties`,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:`[AST_SymbolClass|AST_SymbolDefClass?] optional class name.`,extends:`[AST_Node]? optional parent class`,properties:`[AST_ObjectProperty|AST_ClassStaticBlock]* array of properties or static blocks`},$documentation:`An ES6 class`,_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e),this.extends&&this.extends._walk(e),this.properties.forEach(t=>t._walk(e))})},_children_backwards(e){let t=this.properties.length;for(;t--;)e(this.properties[t]);this.extends&&e(this.extends),this.name&&e(this.name)},visit_nondeferred_class_parts(e){this.extends&&this.extends._walk(e),this.properties.forEach(t=>{if(t instanceof Fg){t._walk(e);return}t.computed_key()&&(e.push(t),t.key._walk(e),e.pop()),(t instanceof Mg&&t.static&&t.value||t instanceof jg&&t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop())})},visit_deferred_class_parts(e){this.properties.forEach(t=>{t instanceof Og||t instanceof kg?t.walk(e):(t instanceof jg&&!t.static&&t.value||t instanceof Mg&&!t.static&&t.value)&&(e.push(t),t.value._walk(e),e.pop())})},is_self_referential:function(){let e=this.name&&this.name.definition().id,t=!1,n=!0;return this.visit_nondeferred_class_parts(new T_((r,i)=>{if(t)return!0;if(r instanceof o_)return t=n;if(r instanceof $)return t=r.definition().id===e;if(r instanceof bh&&!(r instanceof Ch)){let e=n;return n=!1,i(),n=e,!0}})),t}},_h),jg=X(`ClassProperty`,`static quote`,function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:`A class property`,$propdoc:{static:`[boolean] whether this is a static key`,quote:`[string] which quote is being used`},_walk:function(e){return e._visit(this,function(){this.key instanceof Z&&this.key._walk(e),this.value instanceof Z&&this.value._walk(e)})},_children_backwards(e){this.value instanceof Z&&e(this.value),this.key instanceof Z&&e(this.key)},computed_key(){return!(this.key instanceof Jg)}},Sg),Mg=X(`ClassPrivateProperty`,``,function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A class property for a private property`,_walk:function(e){return e._visit(this,function(){this.value instanceof Z&&this.value._walk(e)})},_children_backwards(e){this.value instanceof Z&&e(this.value)},computed_key(){return!1}},Sg),Ng=X(`PrivateIn`,`key value`,function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `in` binop when the key is private, eg #x in this",_walk:function(e){return e._visit(this,function(){this.key._walk(e),this.value._walk(e)})},_children_backwards(e){e(this.value),e(this.key)}}),Pg=X(`DefClass`,null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A class definition`},Ag),Fg=X(`ClassStaticBlock`,`body block_scope`,function(e){this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end},{$documentation:`A block containing statements to be executed in the context of the class`,$propdoc:{body:`[AST_Statement*] an array of statements`},_walk:function(e){return e._visit(this,function(){nh(this,e)})},_children_backwards(e){let t=this.body.length;for(;t--;)e(this.body[t])},clone:rh,computed_key(){return!1}},_h),Ig=X(`ClassExpression`,null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A class expression.`},Ag),Lg=X(`Symbol`,`scope name thedef`,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:`[string] name of this symbol`,scope:`[AST_Scope/S] the current scope (not necessarily the definition scope)`,thedef:`[SymbolDef/S] the definition of this symbol`},$documentation:`Base class for all symbols`}),Rg=X(`NewTarget`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A reference to new.target`}),zg=X(`SymbolDeclaration`,`init`,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A declaration symbol (symbol in var/const, function name or argument, symbol in catch)`},Lg),Bg=X(`SymbolVar`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol defining a variable`},zg),Vg=X(`SymbolBlockDeclaration`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for block-scoped declaration symbols`},zg),Hg=X(`SymbolConst`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A constant declaration`},Vg),Ug=X(`SymbolUsing`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `using` declaration"},Vg),Wg=X(`SymbolLet`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block-scoped `let` declaration"},Vg),Gg=X(`SymbolFunarg`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol naming a function argument`},Bg),Kg=X(`SymbolDefun`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol defining a function`},zg),qg=X(`SymbolMethod`,null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol in an object defining a method`},Lg),Jg=X(`SymbolClassProperty`,null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol for a class property`},Lg),Yg=X(`SymbolLambda`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol naming a function expression`},zg),Xg=X(`SymbolDefClass`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class.`},Vg),Zg=X(`SymbolClass`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol naming a class's name. Lexically scoped to the class.`},zg),Qg=X(`SymbolCatch`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol naming the exception in catch`},Vg),$g=X(`SymbolImport`,null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol referring to an imported name`},Vg),e_=X(`SymbolImportForeign`,`quote`,function(e){e&&(this.quote=e.quote,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes`},Lg),t_=X(`Label`,`references`,function(e){e&&(this.references=e.references,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:`Symbol naming a label (declaration)`,$propdoc:{references:`[AST_LoopControl*] a list of nodes referring to this label`},initialize:function(){this.references=[],this.thedef=this}},Lg),$=X(`SymbolRef`,null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Reference to some symbol (not definition/declaration)`},Lg),n_=X(`SymbolExport`,`quote`,function(e){e&&(this.quote=e.quote,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Symbol referring to a name to export`},$),r_=X(`SymbolExportForeign`,`quote`,function(e){e&&(this.quote=e.quote,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes`},Lg),i_=X(`LabelRef`,null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Reference to a label symbol`},Lg),a_=X(`SymbolPrivateProperty`,null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A symbol that refers to a private property`},Lg),o_=X(`This`,null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `this` symbol"},Lg),s_=X(`Super`,null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `super` symbol"},o_),c_=X(`Constant`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for all constants`,getValue:function(){return this.value}}),l_=X(`String`,`value quote`,function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:`A string literal`,$propdoc:{value:`[string] the contents of this string`,quote:`[string] the original quote character`}},c_),u_=X(`Number`,`value raw`,function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A number literal`,$propdoc:{value:`[number] the numeric value`,raw:`[string] numeric value as string`}},c_),d_=X(`BigInt`,`value raw`,function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A big int literal`,$propdoc:{value:`[string] big int value, represented as a string`,raw:`[string] the original format preserved`}},c_),f_=X(`RegExp`,`value`,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A regexp literal`,$propdoc:{value:`[RegExp] the actual regexp`}},c_),p_=X(`Atom`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for atoms`},c_),m_=X(`Null`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},p_),h_=X(`NaN`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`The impossible value`,value:NaN},p_),g_=X(`Undefined`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},p_),__=X(`Hole`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`A hole in an array`,value:function(){}()},p_),v_=X(`Infinity`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},p_),y_=X(`Boolean`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:`Base class for booleans`},p_),b_=X(`False`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},y_),x_=X(`True`,null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},y_);function S_(e,t,n=[e]){let r=n.push.bind(n);for(;n.length;){let e=n.pop(),i=t(e,n);if(i){if(i===w_)return!0;continue}e._children_backwards(r)}return!1}function C_(e,t,n){let r=[e],i=r.push.bind(r),a=n?n.slice():[],o=[],s,c={parent:(e=0)=>e===-1?s:n&&e>=a.length?(e-=a.length,n[n.length-(e+1)]):a[a.length-(1+e)]};for(;r.length;){for(s=r.pop();o.length&&r.length==o[o.length-1];)a.pop(),o.pop();let e=t(s,c);if(e){if(e===w_)return!0;continue}let n=r.length;s._children_backwards(i),r.length>n&&(a.push(s),o.push(n-1))}return!1}const w_=Symbol(`abort walk`);var T_=class{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:Mp);return!n&&t&&t.call(e),this.pop(),n}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof bh?this.directives=Object.create(this.directives):e instanceof eh&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof Ag&&(this.directives=Object.create(this.directives),this.directives[`use strict`]||(this.directives[`use strict`]=e)),this.stack.push(e)}pop(){var e=this.stack.pop();(e instanceof bh||e instanceof Ag)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var t=this.stack,n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}}is_within_loop(){let e=this.stack.length-1,t=this.stack[e];for(;e--;){let n=this.stack[e];if(n instanceof bh)return!1;if(n instanceof lh&&!(n instanceof ph&&t===n.init)&&!((n instanceof mh||n instanceof hh)&&t===n.object))return!0;t=n}return!1}find_scope(){for(var e=this.stack,t=e.length;--t>=0;){let n=e[t];if(n instanceof vh||n instanceof bh)return n;if(n.block_scope)return n.block_scope}}has_directive(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof _h&&n.body)for(var r=0;r<n.body.length;++r){var i=n.body[r];if(!(i instanceof eh))break;if(i.value==e)return i}}loopcontrol_target(e){var t=this.stack;if(e.label)for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof ch&&r.label.name==e.label.name)return r.body}else for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof lh||e instanceof Ph&&r instanceof zh)return r}}},E_=class extends T_{constructor(e,t){super(),this.before=e,this.after=t}};const D_=1,O_=2,k_=4,A_=8,j_=16;function M_(e,t){e.DEFMETHOD(`transform`,function(e,n){let r;if(e.push(this),e.before&&(r=e.before(this,t,n)),r===void 0&&(r=this,t(r,e),e.after)){let t=e.after(r,n);t!==void 0&&(r=t)}return e.pop(),r})}M_(Z,Mp),M_(ch,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),M_(th,function(e,t){e.body=e.body.transform(t)}),M_(ih,function(e,t){e.body=Lp(e.body,t)}),M_(dh,function(e,t){e.body=e.body.transform(t),e.condition=e.condition.transform(t)}),M_(fh,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),M_(ph,function(e,t){e.init&&=e.init.transform(t),e.condition&&=e.condition.transform(t),e.step&&=e.step.transform(t),e.body=e.body.transform(t)}),M_(mh,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),M_(gh,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),M_(Ah,function(e,t){e.value&&=e.value.transform(t)}),M_(Nh,function(e,t){e.label&&=e.label.transform(t)}),M_(Rh,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&=e.alternative.transform(t)}),M_(zh,function(e,t){e.expression=e.expression.transform(t),e.body=Lp(e.body,t)}),M_(Hh,function(e,t){e.expression=e.expression.transform(t),e.body=Lp(e.body,t)}),M_(Uh,function(e,t){e.body=e.body.transform(t),e.bcatch&&=e.bcatch.transform(t),e.bfinally&&=e.bfinally.transform(t)}),M_(Gh,function(e,t){e.argname&&=e.argname.transform(t),e.body=Lp(e.body,t)}),M_(qh,function(e,t){e.definitions=Lp(e.definitions,t)}),M_($h,function(e,t){e.name=e.name.transform(t),e.value&&=e.value.transform(t)}),M_(Th,function(e,t){e.names=Lp(e.names,t)}),M_(bh,function(e,t){e.name&&=e.name.transform(t),e.argnames=Lp(e.argnames,t,!1),e.body instanceof Z?e.body=e.body.transform(t):e.body=Lp(e.body,t)}),M_(og,function(e,t){e.expression=e.expression.transform(t),e.args=Lp(e.args,t,!1)}),M_(cg,function(e,t){let n=Lp(e.expressions,t);e.expressions=n.length?n:[new u_({value:0})]}),M_(lg,function(e,t){e.expression=e.expression.transform(t)}),M_(fg,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),M_(pg,function(e,t){e.expression=e.expression.transform(t)}),M_(Lh,function(e,t){e.expression&&=e.expression.transform(t)}),M_(Ih,function(e,t){e.expression=e.expression.transform(t)}),M_(mg,function(e,t){e.expression=e.expression.transform(t)}),M_(Q,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),M_(Ng,function(e,t){e.key=e.key.transform(t),e.value=e.value.transform(t)}),M_(_g,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),M_(bg,function(e,t){e.elements=Lp(e.elements,t)}),M_(xg,function(e,t){e.properties=Lp(e.properties,t)}),M_(Sg,function(e,t){e.key instanceof Z&&(e.key=e.key.transform(t)),e.value&&=e.value.transform(t)}),M_(Ag,function(e,t){e.name&&=e.name.transform(t),e.extends&&=e.extends.transform(t),e.properties=Lp(e.properties,t)}),M_(Fg,function(e,t){e.body=Lp(e.body,t)}),M_(yh,function(e,t){e.expression=e.expression.transform(t)}),M_(ng,function(e,t){e.foreign_name=e.foreign_name.transform(t),e.name=e.name.transform(t)}),M_(rg,function(e,t){e.imported_name&&=e.imported_name.transform(t),e.imported_names&&Lp(e.imported_names,t),e.module_name=e.module_name.transform(t)}),M_(ag,function(e,t){e.exported_definition&&=e.exported_definition.transform(t),e.exported_value&&=e.exported_value.transform(t),e.exported_names&&Lp(e.exported_names,t),e.module_name&&=e.module_name.transform(t)}),M_(Dh,function(e,t){e.segments=Lp(e.segments,t)}),M_(Eh,function(e,t){e.prefix=e.prefix.transform(t),e.template_string=e.template_string.transform(t)}),(function(){var e=function(e){for(var t=0;t<e.length;t++)if(e[t]instanceof Qm&&e[t].body instanceof l_)e[t]=new eh({start:e[t].start,end:e[t].end,quote:`"`,value:e[t].body.value});else return e;return e};function t(e){return e&&e.length>0?new xg({start:i(e),end:a(e),properties:e.map(e=>new Cg({start:i(e),end:a(e),key:e.key.name||e.key.value,value:s(e.value)}))}):null}var n={Program:function(t){return new vh({start:i(t),end:a(t),body:e(t.body.map(s))})},ArrayPattern:function(e){return new Th({start:i(e),end:a(e),names:e.elements.map(function(e){return e===null?new __:s(e)}),is_array:!0})},ObjectPattern:function(e){return new Th({start:i(e),end:a(e),names:e.properties.map(s),is_array:!1})},AssignmentPattern:function(e){return new yg({start:i(e),end:a(e),left:s(e.left),operator:`=`,right:s(e.right)})},SpreadElement:function(e){return new yh({start:i(e),end:a(e),expression:s(e.argument)})},RestElement:function(e){return new yh({start:i(e),end:a(e),expression:s(e.argument)})},TemplateElement:function(e){return new Oh({start:i(e),end:a(e),value:e.value.cooked,raw:e.value.raw})},TemplateLiteral:function(e){for(var t=[],n=0;n<e.quasis.length;n++)t.push(s(e.quasis[n])),e.expressions[n]&&t.push(s(e.expressions[n]));return new Dh({start:i(e),end:a(e),segments:t})},TaggedTemplateExpression:function(e){return new Eh({start:i(e),end:a(e),template_string:s(e.quasi),prefix:s(e.tag)})},FunctionDeclaration:function(t){return new wh({start:i(t),end:a(t),name:t.id&&l(Kg,t.id),argnames:t.params.map(e=>d(e,Gg)),is_generator:t.generator,async:t.async,body:e(s(t.body).body)})},FunctionExpression:function(e){return u(e,!1)},ArrowFunctionExpression:function(e){let t=e.body.type===`BlockStatement`?s(e.body).body:[Y(jh,{},{value:s(e.body)})];return new Ch({start:i(e),end:a(e),argnames:e.params.map(e=>d(e,Gg)),body:t,async:e.async})},ExpressionStatement:function(e){return new th({start:i(e),end:a(e),body:s(e.expression)})},TryStatement:function(e){var t=e.handlers||[e.handler];if(t.length>1||e.guardedHandlers&&e.guardedHandlers.length)throw Error(`Multiple catch clauses are not supported.`);return new Uh({start:i(e),end:a(e),body:new Wh(s(e.block)),bcatch:s(t[0]),bfinally:e.finalizer?new Kh(s(e.finalizer)):null})},Property:function(e){if(e.kind==`init`&&!e.method){var t={start:i(e.key||e.value),end:a(e.value),key:e.computed?s(e.key):e.key.name||String(e.key.value),quote:c(e.key,e.computed),static:!1,value:s(e.value)};return new Cg(t)}else{var n=u(e.value,!0),t={start:i(e.key||e.value),end:a(e.value),key:e.computed?s(e.key):l(qg,e.key),quote:c(e.key,e.computed),static:!1,value:n};if(e.kind==`get`)return new Dg(t);if(e.kind==`set`)return new Eg(t);if(e.method)return new Og(t)}},MethodDefinition:function(e){let t=e.key.type===`PrivateIdentifier`,n=e.computed?s(e.key):new qg({name:e.key.name||String(e.key.value)});var r={start:i(e),end:a(e),key:n,quote:c(e.key,e.computed),value:u(e.value,!0),static:e.static};return e.kind==`get`?new(t?Tg:Dg)(r):e.kind==`set`?new(t?wg:Eg)(r):new(t?kg:Og)(r)},FieldDefinition:function(e){let t;if(e.computed)t=s(e.key);else{if(e.key.type!==`Identifier`)throw Error(`Non-Identifier key in FieldDefinition`);t=s(e.key)}return new jg({start:i(e),end:a(e),quote:c(e.key,e.computed),key:t,value:s(e.value),static:e.static})},PropertyDefinition:function(e){let t;if(e.computed)t=s(e.key);else if(e.key.type===`PrivateIdentifier`)return new Mg({start:i(e),end:a(e),key:s(e.key),value:s(e.value),static:e.static});else t=l(Jg,e.key);return new jg({start:i(e),end:a(e),quote:c(e.key,e.computed),key:t,value:s(e.value),static:e.static})},PrivateIdentifier:function(e){return new a_({start:i(e),end:a(e),name:e.name})},StaticBlock:function(e){return new Fg({start:i(e),end:a(e),body:e.body.map(s)})},ArrayExpression:function(e){return new bg({start:i(e),end:a(e),elements:e.elements.map(function(e){return e===null?new __:s(e)})})},ObjectExpression:function(e){return new xg({start:i(e),end:a(e),properties:e.properties.map(function(e){return e.type===`SpreadElement`||(e.type=`Property`),s(e)})})},SequenceExpression:function(e){return new cg({start:i(e),end:a(e),expressions:e.expressions.map(s)})},MemberExpression:function(e){return e.property.type===`PrivateIdentifier`?new dg({start:i(e),end:a(e),property:e.property.name,expression:s(e.object),optional:e.optional||!1}):new(e.computed?fg:ug)({start:i(e),end:a(e),property:e.computed?s(e.property):e.property.name,expression:s(e.object),optional:e.optional||!1})},ChainExpression:function(e){return new pg({start:i(e),end:a(e),expression:s(e.expression)})},SwitchCase:function(e){return new(e.test?Hh:Vh)({start:i(e),end:a(e),expression:s(e.test),body:e.consequent.map(s)})},VariableDeclaration:function(e){let t,n=eg,r,o=!1;e.kind===`const`?(t=Zh,r=Hg):e.kind===`let`?(t=Xh,r=Wg):e.kind===`using`?(t=Qh,n=tg,r=Ug):e.kind===`await using`?(t=Qh,n=tg,r=Ug,o=!0):(t=Yh,r=Bg);let c=e.declarations.map(e=>new n({start:i(e),end:a(e),name:d(e.id,r),value:s(e.init)}));return new t({start:i(e),end:a(e),definitions:c,await:o})},ImportDeclaration:function(e){var n=null,r=null;return e.specifiers.forEach(function(e){e.type===`ImportSpecifier`||e.type===`ImportNamespaceSpecifier`?(r||=[],r.push(s(e))):e.type===`ImportDefaultSpecifier`&&(n=s(e))}),new rg({start:i(e),end:a(e),imported_name:n,imported_names:r,module_name:s(e.source),attributes:t(e.attributes||e.assertions)})},ImportSpecifier:function(e){return new ng({start:i(e),end:a(e),foreign_name:l(e_,e.imported,e.imported.type===`Literal`),name:l($g,e.local)})},ImportDefaultSpecifier:function(e){return l($g,e.local)},ImportNamespaceSpecifier:function(e){return new ng({start:i(e),end:a(e),foreign_name:new e_({name:`*`}),name:l($g,e.local)})},ImportExpression:function(e){let t=[s(e.source)];return e.options&&t.push(s(e.options)),new og({start:i(e),end:a(e),expression:s({type:`Identifier`,name:`import`}),optional:!1,args:t})},ExportAllDeclaration:function(e){var n=e.exported==null?new r_({name:`*`}):l(r_,e.exported,e.exported.type===`Literal`);return new ag({start:i(e),end:a(e),exported_names:[new ng({start:i(e),end:a(e),name:new n_({name:`*`}),foreign_name:n})],module_name:s(e.source),attributes:t(e.attributes||e.assertions)})},ExportNamedDeclaration:function(e){return e.declaration?new ag({start:i(e),end:a(e),exported_definition:s(e.declaration),exported_names:null,module_name:null,attributes:null}):new ag({start:i(e),end:a(e),exported_definition:null,exported_names:e.specifiers&&e.specifiers.length?e.specifiers.map(s):[],module_name:s(e.source),attributes:t(e.attributes||e.assertions)})},ExportDefaultDeclaration:function(e){return new ag({start:i(e),end:a(e),exported_value:s(e.declaration),is_default:!0})},ExportSpecifier:function(e){return new ng({start:i(e),end:a(e),foreign_name:l(r_,e.exported,e.exported.type===`Literal`),name:l(n_,e.local,e.local.type===`Literal`)})},Literal:function(e){var t=e.value,n={start:i(e),end:a(e)},r=e.regex;if(r&&r.pattern)return n.value={source:r.pattern,flags:r.flags},new f_(n);if(r){let r=e.raw||t,i=r.match(/^\/(.*)\/(\w*)$/);if(!i)throw Error(`Invalid regex source `+r);let[a,o,s]=i;return n.value={source:o,flags:s},new f_(n)}let o=typeof e.value==`bigint`?e.value.toString():e.bigint;if(typeof o==`string`)return n.value=o,n.raw=e.raw,new d_(n);if(t===null)return new m_(n);switch(typeof t){case`string`:return n.quote=`"`,n.value=t,new l_(n);case`number`:return n.value=t,n.raw=e.raw||t.toString(),new u_(n);case`boolean`:return new(t?x_:b_)(n)}},MetaProperty:function(e){if(e.meta.name===`new`&&e.property.name===`target`)return new Rg({start:i(e),end:a(e)});if(e.meta.name===`import`&&e.property.name===`meta`)return new ig({start:i(e),end:a(e)})},Identifier:function(e){return new $({start:i(e),end:a(e),name:e.name})},EmptyStatement:function(e){return new oh({start:i(e),end:a(e)})},BlockStatement:function(e){return new ah({start:i(e),end:a(e),body:e.body.map(s)})},IfStatement:function(e){return new Rh({start:i(e),end:a(e),condition:s(e.test),body:s(e.consequent),alternative:s(e.alternate)})},LabeledStatement:function(e){try{let t=l(t_,e.label);return o.push(t),new ch({start:i(e),end:a(e),label:t,body:s(e.body)})}finally{o.pop()}},BreakStatement:function(e){return new Ph({start:i(e),end:a(e),label:f(e.label)})},ContinueStatement:function(e){return new Fh({start:i(e),end:a(e),label:f(e.label)})},WithStatement:function(e){return new gh({start:i(e),end:a(e),expression:s(e.object),body:s(e.body)})},SwitchStatement:function(e){return new zh({start:i(e),end:a(e),expression:s(e.discriminant),body:e.cases.map(s)})},ReturnStatement:function(e){return new jh({start:i(e),end:a(e),value:s(e.argument)})},ThrowStatement:function(e){return new Mh({start:i(e),end:a(e),value:s(e.argument)})},WhileStatement:function(e){return new fh({start:i(e),end:a(e),condition:s(e.test),body:s(e.body)})},DoWhileStatement:function(e){return new dh({start:i(e),end:a(e),condition:s(e.test),body:s(e.body)})},ForStatement:function(e){return new ph({start:i(e),end:a(e),init:s(e.init),condition:s(e.test),step:s(e.update),body:s(e.body)})},ForInStatement:function(e){return new mh({start:i(e),end:a(e),init:s(e.left),object:s(e.right),body:s(e.body)})},ForOfStatement:function(e){return new hh({start:i(e),end:a(e),init:s(e.left),object:s(e.right),body:s(e.body),await:e.await})},AwaitExpression:function(e){return new Ih({start:i(e),end:a(e),expression:s(e.argument)})},YieldExpression:function(e){return new Lh({start:i(e),end:a(e),expression:s(e.argument),is_star:e.delegate})},DebuggerStatement:function(e){return new $m({start:i(e),end:a(e)})},CatchClause:function(e){return new Gh({start:i(e),end:a(e),argname:e.param?d(e.param,Qg):null,body:s(e.body).body})},ThisExpression:function(e){return new o_({start:i(e),name:`this`,end:a(e)})},Super:function(e){return new s_({start:i(e),end:a(e),name:`super`})},BinaryExpression:function(e){return e.left.type===`PrivateIdentifier`?new Ng({start:i(e),end:a(e),key:new a_({start:i(e.left),end:a(e.left),name:e.left.name}),value:s(e.right)}):new Q({start:i(e),end:a(e),operator:e.operator,left:s(e.left),right:s(e.right)})},LogicalExpression:function(e){return new Q({start:i(e),end:a(e),operator:e.operator,left:s(e.left),right:s(e.right)})},AssignmentExpression:function(e){return new vg({start:i(e),end:a(e),operator:e.operator,logical:e.operator===`??=`||e.operator===`&&=`||e.operator===`||=`,left:s(e.left),right:s(e.right)})},ConditionalExpression:function(e){return new _g({start:i(e),end:a(e),condition:s(e.test),consequent:s(e.consequent),alternative:s(e.alternate)})},NewExpression:function(e){return new sg({start:i(e),end:a(e),expression:s(e.callee),args:e.arguments.map(s)})},CallExpression:function(e){return new og({start:i(e),end:a(e),expression:s(e.callee),optional:e.optional,args:e.arguments.map(s)})}};n.UpdateExpression=n.UnaryExpression=function(e){return new((`prefix`in e?e.prefix:e.type==`UnaryExpression`)?hg:gg)({start:i(e),end:a(e),operator:e.operator,expression:s(e.argument)})},n.ClassDeclaration=n.ClassExpression=function(e){return new(e.type===`ClassDeclaration`?Pg:Ig)({start:i(e),end:a(e),name:e.id&&l(e.type===`ClassDeclaration`?Xg:Zg,e.id),extends:s(e.superClass),properties:e.body.body.map(s)})},m(oh,function(){return{type:`EmptyStatement`}}),m(ah,function(e){return{type:`BlockStatement`,body:e.body.map(g)}}),m(Rh,function(e){return{type:`IfStatement`,test:g(e.condition),consequent:g(e.body),alternate:g(e.alternative)}}),m(ch,function(e){return{type:`LabeledStatement`,label:g(e.label),body:g(e.body)}}),m(Ph,function(e){return{type:`BreakStatement`,label:g(e.label)}}),m(Fh,function(e){return{type:`ContinueStatement`,label:g(e.label)}}),m(gh,function(e){return{type:`WithStatement`,object:g(e.expression),body:g(e.body)}}),m(zh,function(e){return{type:`SwitchStatement`,discriminant:g(e.expression),cases:e.body.map(g)}}),m(jh,function(e){return{type:`ReturnStatement`,argument:g(e.value)}}),m(Mh,function(e){return{type:`ThrowStatement`,argument:g(e.value)}}),m(fh,function(e){return{type:`WhileStatement`,test:g(e.condition),body:g(e.body)}}),m(dh,function(e){return{type:`DoWhileStatement`,test:g(e.condition),body:g(e.body)}}),m(ph,function(e){return{type:`ForStatement`,init:g(e.init),test:g(e.condition),update:g(e.step),body:g(e.body)}}),m(mh,function(e){return{type:`ForInStatement`,left:g(e.init),right:g(e.object),body:g(e.body)}}),m(hh,function(e){return{type:`ForOfStatement`,left:g(e.init),right:g(e.object),body:g(e.body),await:e.await}}),m(Ih,function(e){return{type:`AwaitExpression`,argument:g(e.expression)}}),m(Lh,function(e){return{type:`YieldExpression`,argument:g(e.expression),delegate:e.is_star}}),m($m,function(){return{type:`DebuggerStatement`}}),m($h,function(e){return{type:`VariableDeclarator`,id:g(e.name),init:g(e.value)}}),m(o_,function(){return{type:`ThisExpression`}}),m(s_,function(){return{type:`Super`}}),m(_g,function(e){return{type:`ConditionalExpression`,test:g(e.condition),consequent:g(e.consequent),alternate:g(e.alternative)}}),m(sg,function(e){return{type:`NewExpression`,callee:g(e.expression),arguments:e.args.map(g)}}),m(og,function(e){if(e.expression instanceof $&&e.expression.name===`import`){let[t,n]=e.args.map(g);return{type:`ImportExpression`,source:t,options:n||null}}return{type:`CallExpression`,callee:g(e.expression),optional:e.optional,arguments:e.args.map(g)}}),m(vh,function(e){return x(`Program`,e)}),m(yh,function(e){return{type:y()?`RestElement`:`SpreadElement`,argument:g(e.expression)}}),m(Eh,function(e){return{type:`TaggedTemplateExpression`,tag:g(e.prefix),quasi:g(e.template_string)}}),m(Dh,function(e){for(var t=[],n=[],r=0;r<e.segments.length;r++)r%2==0?t.push({type:`TemplateElement`,value:{raw:e.segments[r].raw,cooked:e.segments[r].value},tail:r===e.segments.length-1}):n.push(g(e.segments[r]));return{type:`TemplateLiteral`,quasis:t,expressions:n}}),m(wh,function(e){return{type:`FunctionDeclaration`,id:g(e.name),params:e.argnames.map(v),generator:e.is_generator,async:e.async,body:x(`BlockStatement`,e)}}),m(Sh,function(e){return{type:`FunctionExpression`,id:g(e.name),params:e.argnames.map(v),generator:e.is_generator||!1,async:e.async||!1,body:x(`BlockStatement`,e)}}),m(Ch,function(e){var t=e.body.length===1&&e.body[0]instanceof jh&&e.body[0].value?g(e.body[0].value):{type:`BlockStatement`,body:e.body.map(g)};return{type:`ArrowFunctionExpression`,params:e.argnames.map(v),async:e.async,body:t}}),m(Th,function(e){return e.is_array?{type:`ArrayPattern`,elements:e.names.map(e=>e instanceof __?null:v(e))}:{type:`ObjectPattern`,properties:e.names.map(e=>{if(e instanceof Cg){var t=e.computed_key();let[n,r]=_(e.key,t,e.quote,e.value);return{type:`Property`,computed:t,kind:`init`,key:r,method:!1,shorthand:n,value:v(e.value)}}else return v(e)})}}),m(yg,function(e){return{type:`AssignmentPattern`,left:v(e.left),right:g(e.right)}}),m(eh,function(e){return{type:`ExpressionStatement`,expression:{type:`Literal`,value:e.value,raw:e.print_to_string()},directive:e.value}}),m(th,function(e){return{type:`ExpressionStatement`,expression:g(e.body)}}),m(Bh,function(e){return{type:`SwitchCase`,test:g(e.expression),consequent:e.body.map(g)}}),m(Uh,function(e){return{type:`TryStatement`,block:b(e.body),handler:g(e.bcatch),guardedHandlers:[],finalizer:g(e.bfinally)}}),m(Gh,function(e){return{type:`CatchClause`,param:e.argname==null?null:v(e.argname),body:b(e)}}),m(qh,function(e){return{type:`VariableDeclaration`,kind:e instanceof Zh?`const`:e instanceof Xh?`let`:e instanceof Qh?e.await?`await using`:`using`:`var`,declarations:e.definitions.map(g)}});function r(e){let t=[];if(e)for(let{key:n,value:r}of e.properties){let e=Pm(n)?{type:`Identifier`,name:n}:{type:`Literal`,value:n,raw:JSON.stringify(n)};t.push({type:`ImportAttribute`,key:e,value:g(r)})}return t}m(ag,function(e){if(e.exported_names){var t=e.exported_names[0];if(t&&t.name.name===`*`&&!t.name.quote){var n=t.foreign_name,i=n.name===`*`&&!n.quote?null:g(n);return{type:`ExportAllDeclaration`,source:g(e.module_name),exported:i,attributes:r(e.attributes)}}return{type:`ExportNamedDeclaration`,specifiers:e.exported_names.map(function(e){return{type:`ExportSpecifier`,exported:g(e.foreign_name),local:g(e.name)}}),declaration:g(e.exported_definition),source:g(e.module_name),attributes:r(e.attributes)}}return e.is_default?{type:`ExportDefaultDeclaration`,declaration:g(e.exported_value||e.exported_definition)}:{type:`ExportNamedDeclaration`,declaration:g(e.exported_value||e.exported_definition),specifiers:[],source:null}}),m(rg,function(e){var t=[];if(e.imported_name&&t.push({type:`ImportDefaultSpecifier`,local:g(e.imported_name)}),e.imported_names){var n=e.imported_names[0].foreign_name;n.name===`*`&&!n.quote?t.push({type:`ImportNamespaceSpecifier`,local:g(e.imported_names[0].name)}):e.imported_names.forEach(function(e){t.push({type:`ImportSpecifier`,local:g(e.name),imported:g(e.foreign_name)})})}return{type:`ImportDeclaration`,specifiers:t,source:g(e.module_name),attributes:r(e.attributes)}}),m(ig,function(){return{type:`MetaProperty`,meta:{type:`Identifier`,name:`import`},property:{type:`Identifier`,name:`meta`}}}),m(cg,function(e){return{type:`SequenceExpression`,expressions:e.expressions.map(g)}}),m(dg,function(e){return{type:`MemberExpression`,object:g(e.expression),computed:!1,property:{type:`PrivateIdentifier`,name:e.property},optional:e.optional}}),m(lg,function(e){var t=e instanceof fg;return{type:`MemberExpression`,object:g(e.expression),computed:t,property:t?g(e.property):{type:`Identifier`,name:e.property},optional:e.optional}}),m(pg,function(e){return{type:`ChainExpression`,expression:g(e.expression)}}),m(mg,function(e){return{type:e.operator==`++`||e.operator==`--`?`UpdateExpression`:`UnaryExpression`,operator:e.operator,prefix:e instanceof hg,argument:g(e.expression)}}),m(Q,function(e){return e.operator==`=`&&y()?{type:`AssignmentPattern`,left:g(e.left),right:g(e.right)}:{type:e.operator==`&&`||e.operator==`||`||e.operator===`??`?`LogicalExpression`:`BinaryExpression`,left:g(e.left),operator:e.operator,right:g(e.right)}}),m(vg,function(e){return{type:`AssignmentExpression`,operator:e.operator,left:g(e.left),right:g(e.right)}}),m(Ng,function(e){return{type:`BinaryExpression`,left:{type:`PrivateIdentifier`,name:e.key.name},operator:`in`,right:g(e.value)}}),m(bg,function(e){return{type:`ArrayExpression`,elements:e.elements.map(g)}}),m(xg,function(e){return{type:`ObjectExpression`,properties:e.properties.map(g)}}),m(Sg,function(e,t){var n=e.computed_key();let[r,i]=_(e.key,n,e.quote,e.value);var a;return e instanceof Dg?a=`get`:e instanceof Eg&&(a=`set`),e instanceof Tg||e instanceof wg?{type:`MethodDefinition`,computed:!1,kind:e instanceof Tg?`get`:`set`,static:e.static,key:{type:`PrivateIdentifier`,name:e.key.name},value:g(e.value)}:e instanceof Mg?{type:`PropertyDefinition`,key:{type:`PrivateIdentifier`,name:e.key.name},value:g(e.value),computed:!1,static:e.static}:e instanceof jg?{type:`PropertyDefinition`,key:i,value:g(e.value),computed:n,static:e.static}:t instanceof Ag?{type:`MethodDefinition`,computed:n,kind:a,static:e.static,key:g(e.key),value:g(e.value)}:{type:`Property`,computed:n,method:!1,shorthand:r,kind:a,key:i,value:g(e.value)}}),m(Cg,function(e){var t=e.computed_key();let[n,r]=_(e.key,t,e.quote,e.value);return{type:`Property`,computed:t,shorthand:n,method:!1,kind:`init`,key:r,value:g(e.value)}}),m(Og,function(e,t){let n=e.computed_key(),[r,i]=_(e.key,n,e.quote,e.value);return t instanceof xg?{type:`Property`,kind:`init`,computed:n,method:!0,shorthand:!1,key:i,value:g(e.value)}:{type:`MethodDefinition`,kind:!n&&e.key.name===`constructor`?`constructor`:`method`,computed:n,key:i,value:g(e.value),static:e.static}}),m(kg,function(e){return{type:`MethodDefinition`,kind:`method`,key:{type:`PrivateIdentifier`,name:e.key.name},value:g(e.value),computed:!1,static:e.static}}),m(Ag,function(e){return{type:e instanceof Ig?`ClassExpression`:`ClassDeclaration`,superClass:g(e.extends),id:e.name?g(e.name):null,body:{type:`ClassBody`,body:e.properties.map(g)}}}),m(Fg,function(e){return{type:`StaticBlock`,body:e.body.map(g)}}),m(Rg,function(){return{type:`MetaProperty`,meta:{type:`Identifier`,name:`new`},property:{type:`Identifier`,name:`target`}}}),m(Lg,function(e,t){if(e instanceof qg&&t.quote||(e instanceof e_||e instanceof r_||e instanceof n_)&&e.quote)return{type:`Literal`,value:e.name};var n=e.definition();return{type:`Identifier`,name:n?n.mangled_name||n.name:e.name}}),m(f_,function(e){let t=e.value.source,n=e.value.flags;return{type:`Literal`,value:null,raw:e.print_to_string(),regex:{pattern:t,flags:n}}}),m(c_,function(e){return{type:`Literal`,value:e.value,raw:e.raw||e.print_to_string()}}),m(p_,function(e){return{type:`Identifier`,name:String(e.value)}}),m(d_,e=>({type:`Literal`,value:null,bigint:typeof BigInt==`function`?BigInt(e.value).toString():e.value,raw:e.raw})),y_.DEFMETHOD(`to_mozilla_ast`,c_.prototype.to_mozilla_ast),m_.DEFMETHOD(`to_mozilla_ast`,c_.prototype.to_mozilla_ast),__.DEFMETHOD(`to_mozilla_ast`,function(){return null}),ih.DEFMETHOD(`to_mozilla_ast`,ah.prototype.to_mozilla_ast),bh.DEFMETHOD(`to_mozilla_ast`,Sh.prototype.to_mozilla_ast);function i(e){var t=e.loc,n=t&&t.start,r=e.range;return new Zm(``,``,n&&n.line||0,n&&n.column||0,r?r[0]:e.start,!1,[],[],t&&t.source)}function a(e){var t=e.loc,n=t&&t.end,r=e.range;return new Zm(``,``,n&&n.line||0,n&&n.column||0,r?r[0]:e.end,!1,[],[],t&&t.source)}var o=null;function s(e){return e==null?null:n[e.type](e)}function c(e,t){return!t&&e.type===`Literal`&&typeof e.value==`string`?`"`:``}function l(e,t,n){return new e({start:i(t),quote:n?`"`:void 0,name:t.type===`Identifier`?t.name:String(t.value),end:a(t)})}function u(t,n){return new(n?xh:Sh)({start:i(t),end:a(t),name:t.id&&l(n?qg:Yg,t.id),argnames:t.params.map(e=>d(e,Gg)),is_generator:t.generator,async:t.async,body:e(s(t.body).body)})}function d(e,t){switch(e.type){case`ObjectPattern`:return new Th({start:i(e),end:a(e),names:e.properties.map(e=>d(e,t)),is_array:!1});case`Property`:var n=e.key,r={start:i(n||e.value),end:a(e.value),key:n.type==`Identifier`?n.name:String(n.value),quote:!e.computed&&n.type===`Literal`&&typeof n.value==`string`?`"`:``,value:d(e.value,t)};return e.computed&&(r.key=s(e.key)),new Cg(r);case`ArrayPattern`:return new Th({start:i(e),end:a(e),names:e.elements.map(function(e){return e===null?new __:d(e,t)}),is_array:!0});case`SpreadElement`:case`RestElement`:return new yh({start:i(e),end:a(e),expression:d(e.argument,t)});case`AssignmentPattern`:return new yg({start:i(e),end:a(e),left:d(e.left,t),operator:`=`,right:s(e.right)});case`Identifier`:return new t({start:i(e),end:a(e),name:e.name});default:throw Error(`Invalid node type for destructuring: `+e.type)}}function f(e){if(!e)return null;let t=l(i_,e),n=o.length;for(;n--;){let e=o[n];if(t.name===e.name){t.thedef=e;break}}return t}Z.from_mozilla_ast=function(e){var t=o;o=[];var n=s(e);return o=t,n};function p(e,t){var n=e.start,r=e.end;return n&&r?(n.pos!=null&&r.endpos!=null&&(t.range=[n.pos,r.endpos]),n.line&&(t.loc={start:{line:n.line,column:n.col},end:r.endline?{line:r.endline,column:r.endcol}:null},n.file&&(t.loc.source=n.file)),t):t}function m(e,t){e.DEFMETHOD(`to_mozilla_ast`,function(e){return p(this,t(this,e))})}var h=null;function g(e){h===null&&(h=[]),h.push(e);var t=e==null?null:e.to_mozilla_ast(h[h.length-2]);return h.pop(),h.length===0&&(h=null),t}function _(e,t=!1,n=!1,r=null){if(t)return[!1,g(e)];let i=typeof e==`string`?e:e.name,a;return a=n?{type:`Literal`,value:i,raw:JSON.stringify(i)}:``+ +i===i&&+i>=0?{type:`Literal`,value:+i,raw:JSON.stringify(+i)}:{type:`Identifier`,name:i},[a.type===`Identifier`&&a.name===i&&(r instanceof Lg&&r.name===i||r instanceof yg&&r.left.name===i),a]}function v(e){if(e instanceof yh)return{type:`RestElement`,argument:v(e.expression)};if(e instanceof Lg||e instanceof Th||e instanceof yg||e instanceof lg)return g(e);throw Error(e.TYPE)}function y(){for(var e=h.length;e--;)if(h[e]instanceof Th)return!0;return!1}function b(e){return{type:`BlockStatement`,body:e.body.map(g)}}function x(e,t){var n=t.body.map(g);return t.body[0]instanceof th&&t.body[0].body instanceof l_&&n.unshift(g(new oh(t.body[0]))),{type:e,body:n}}})();function N_(e){let t=e.parent(-1);for(let n=0,r;r=e.parent(n);n++){if(r instanceof Qm&&r.body===t)return!0;if(r instanceof cg&&r.expressions[0]===t||r.TYPE===`Call`&&r.expression===t||r instanceof Eh&&r.prefix===t||r instanceof ug&&r.expression===t||r instanceof fg&&r.expression===t||r instanceof pg&&r.expression===t||r instanceof _g&&r.condition===t||r instanceof Q&&r.left===t||r instanceof gg&&r.expression===t)t=r;else return!1}}function P_(e){return e instanceof xg?!0:e instanceof cg?P_(e.expressions[0]):e.TYPE===`Call`?P_(e.expression):e instanceof Eh?P_(e.prefix):e instanceof ug||e instanceof fg||e instanceof pg?P_(e.expression):e instanceof _g?P_(e.condition):e instanceof Q?P_(e.left):e instanceof gg?P_(e.expression):!1}const F_=/[@#]__(PURE|INLINE|NOINLINE)__/;function I_(e){return(e.type===`comment2`||e.type===`comment1`)&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(e.value)}var L_=class{constructor(){this.committed=``,this.current=``}append(e){this.current.length>8e3?(this.committed+=this.current+e,this.current=``):this.current+=e}insertAt(e,t){let{committed:n,current:r}=this;t<n.length?this.committed=n.slice(0,t)+e+n.slice(t):t===n.length?this.committed+=e:(t-=n.length,this.committed+=r.slice(0,t)+e,this.current=r.slice(t))}charAt(e){let{committed:t}=this;return e<t.length?t[e]:this.current[e-t.length]}charCodeAt(e){let{committed:t}=this;return e<t.length?t.charCodeAt(e):this.current.charCodeAt(e-t.length)}length(){return this.committed.length+this.current.length}expectDirective(){let e,t=this.length();if(t<=0)return!0;for(;(e=this.charCodeAt(--t))&&(e==32||e==10););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){let t=this.charCodeAt(e--);if(t===10)return!0;if(t!==32)return!1}return!0}toString(){return this.committed+this.current}};function R_(e){var t=!e;e=jp(e,{ascii_only:!1,beautify:!1,braces:!1,comments:`some`,ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!1,_destroy_ast:!1},!0),e.shorthand===void 0&&(e.shorthand=e.ecma>5);var n=Np;if(e.comments){let t=e.comments;if(typeof e.comments==`string`&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var r=e.comments.lastIndexOf(`/`);t=new RegExp(e.comments.substr(1,r-1),e.comments.substr(r+1))}n=t instanceof RegExp?function(e){return e.type!=`comment5`&&t.test(e.value)}:typeof t==`function`?function(e){return e.type!=`comment5`&&t(this,e)}:t===`some`?I_:Pp}if(e.preserve_annotations){let e=n;n=function(t){return F_.test(t.value)||e.apply(this,arguments)}}var i=0,a=0,o=1,s=0,c=new L_;let l=new Set;var u=e.ascii_only?function(t,n=!1,r=!1){return e.ecma>=2015&&!e.safari10&&!r&&(t=t.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(e){return`\\u{`+Tm(e,0).toString(16)+`}`})),t.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(e){var t=e.charCodeAt(0).toString(16);if(t.length<=2&&!n){for(;t.length<2;)t=`0`+t;return`\\x`+t}else{for(;t.length<4;)t=`0`+t;return`\\u`+t}})}:function(e){return e.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(e,t){return t?`\\u`+t.charCodeAt(0).toString(16):e})};function d(t,n){var r=0,i=0;t=t.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(n,a){switch(n){case`"`:return++r,`"`;case`'`:return++i,`'`;case`\\`:return`\\\\`;case`
`:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;case`\b`:return`\\b`;case`\f`:return`\\f`;case`\v`:return e.ie8?`\\x0B`:`\\v`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;case``:return`\\ufeff`;case`\0`:return/[0-9]/.test(wm(t,a+1))?`\\x00`:`\\0`}return n});function a(){return`'`+t.replace(/\x27/g,`\\'`)+`'`}function o(){return`"`+t.replace(/\x22/g,`\\"`)+`"`}function s(){return"`"+t.replace(/`/g,"\\`")+"`"}if(t=u(t),n==="`")return s();switch(e.quote_style){case 1:return a();case 2:return o();case 3:return n==`'`?a():o();default:return r>i?a():o()}}function f(t,n){var r=d(t,n);return e.inline_script&&(r=r.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,`<\\/$1$2`),r=r.replace(/\x3c!--/g,`\\x3c!--`),r=r.replace(/--\x3e/g,`--\\x3e`)),r}function p(e){return e=e.toString(),e=u(e,!0),e}function m(t){return` `.repeat(e.indent_start+i-t*e.indent_level)}var h=!1,g=!1,_=!1,v=0,y=!1,b=!1,x=-1,S=``,C,w,T=e.source_map&&[],E=T?function(){T.forEach(function(t){try{let{name:n,token:r}=t;n!==!1&&(r.type==`name`||r.type===`privatename`?n=r.value:n instanceof Lg&&(n=r.type===`string`?r.value:n.name)),e.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,Pm(n)?n:void 0)}catch{}}),T=[]}:Mp,D=e.max_line_len?function(){if(a>e.max_line_len&&v){c.insertAt(`
`,v);let e=c.length()-v-1;if(T){var t=e-a;T.forEach(function(e){e.line++,e.col+=t})}o++,s++,a=e}v&&(v=0,E())}:Mp,O=Hp("( [ + * / - , . `");function k(t){t=String(t);var n=wm(t,0);y&&n&&(y=!1,n!==`
`&&(k(`
`),ee())),b&&n&&(b=!1,/[\s;})]/.test(n)||j()),x=-1;var r=S.charAt(S.length-1);_&&(_=!1,(r===`:`&&n===`}`||(!n||!`;}`.includes(n))&&r!==`;`)&&(e.semicolons||O.has(n)?(c.append(`;`),a++,s++):(D(),a>0&&(c.append(`
`),s++,o++,a=0),/^\s+$/.test(t)&&(_=!0)),e.beautify||(g=!1))),g&&=((Mm(r)&&(Mm(n)||n==`\\`)||n==`/`&&n==r||(n==`+`||n==`-`)&&n==S)&&(c.append(` `),a++,s++),!1),C&&(T.push({token:C,name:w,line:o,col:a}),C=!1,v||E()),c.append(t),h=t[t.length-1]==`(`,s+=t.length;var i=t.split(/\r?\n/),l=i.length-1;o+=l,a+=i[0].length,l>0&&(D(),a=i[l].length),S=t}var A=function(){k(`*`)},j=e.beautify?function(){k(` `)}:function(){g=!0},ee=e.beautify?function(t){e.beautify&&k(m(t?.5:0))}:Mp,te=e.beautify?function(e,t){e===!0&&(e=ie());var n=i;i=e;var r=t();return i=n,r}:function(e,t){return t()},ne=e.beautify?function(){if(x<0)return k(`
`);c.charAt(x)!=`
`&&(c.insertAt(`
`,x),s++,o++),x++}:e.max_line_len?function(){D(),v=c.length()}:Mp,re=e.beautify?function(){k(`;`)}:function(){_=!0};function M(){_=!1,k(`;`)}function ie(){return i+e.indent_level}function ae(e){var t;return k(`{`),ne(),te(ie(),function(){t=e()}),ee(),k(`}`),t}function N(e){k(`(`);var t=e();return k(`)`),t}function oe(e){k(`[`);var t=e();return k(`]`),t}function P(){k(`,`),j()}function F(){k(`:`),j()}var se=T?function(e,t){C=e,w=t}:Mp;function ce(){return v&&D(),c.toString()}function le(t){return e.preserve_annotations||(t=t.replace(F_,` `)),/^\s*$/.test(t)?``:t.replace(/(<\s*\/\s*)(script)/i,`<\\/$2`)}function ue(t){var r=this,i=t.start;if(!i)return;var a=r.printed_comments;let o=t instanceof Ah&&t.value||(t instanceof Ih||t instanceof Lh)&&t.expression;if(i.comments_before&&a.has(i.comments_before))if(o)i.comments_before=[];else return;var l=i.comments_before;if(l||=i.comments_before=[],a.add(l),o){var u=new T_(function(e){var t=u.parent();if(t instanceof Ah||t instanceof Ih||t instanceof Lh||t instanceof Q&&t.left===e||t.TYPE==`Call`&&t.expression===e||t instanceof _g&&t.condition===e||t instanceof ug&&t.expression===e||t instanceof cg&&t.expressions[0]===e||t instanceof fg&&t.expression===e||t instanceof gg){if(!e.start)return;var n=e.start.comments_before;n&&!a.has(n)&&(a.add(n),l=l.concat(n))}else return!0});u.push(t),o.walk(u)}if(s==0){l.length>0&&e.shebang&&l[0].type===`comment5`&&!a.has(l[0])&&(k(`#!`+l.shift().value+`
`),ee());var d=e.preamble;d&&k(d.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,`
`))}if(l=l.filter(n,t).filter(e=>!a.has(e)),l.length!=0){var f=c.hasNLB();l.forEach(function(e,t){if(a.add(e),f||(e.nlb?(k(`
`),ee(),f=!0):t>0&&j()),/comment[134]/.test(e.type)){var n=le(e.value);n&&(k(`//`+n+`
`),ee()),f=!0}else if(e.type==`comment2`){var n=le(e.value);n&&k(`/*`+n+`*/`),f=!1}}),f||(i.nlb?(k(`
`),ee()):j())}}function de(e,t){var r=this,i=e.end;if(i){var a=r.printed_comments,o=i[t?`comments_before`:`comments_after`];if(!(!o||a.has(o))&&(e instanceof Qm||o.every(e=>!/comment[134]/.test(e.type)))){a.add(o);var s=c.length();o.filter(n,e).forEach(function(e,n){if(!a.has(e)){if(a.add(e),b=!1,y?(k(`
`),ee(),y=!1):e.nlb&&(n>0||!c.hasNLB())?(k(`
`),ee()):(n>0||!t)&&j(),/comment[134]/.test(e.type)){let t=le(e.value);t&&k(`//`+t),y=!0}else if(e.type==`comment2`){let t=le(e.value);t&&k(`/*`+t+`*/`),b=!0}}}),c.length()>s&&(x=s)}}}let I=e._destroy_ast?function(e){e.body.length=0,e.argnames.length=0}:Mp;var fe=[];return{get:ce,toString:ce,indent:ee,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return i},current_width:function(){return a-i},should_break:function(){return e.width&&this.current_width()>=e.width},has_parens:function(){return h},newline:ne,print:k,star:A,space:j,comma:P,colon:F,last:function(){return S},semicolon:re,force_semicolon:M,to_utf8:u,print_name:function(e){k(p(e))},print_string:function(e,t,n){var r=f(e,t);n===!0&&!r.includes(`\\`)&&(c.expectDirective()||M(),M()),k(r)},print_template_string_chars:function(e){var t=f(e,"`").replace(/\${/g,"\\${");return k(t.substr(1,t.length-2))},encode_string:f,next_indent:ie,with_indent:te,with_block:ae,with_parens:N,with_square:oe,add_mapping:se,option:function(t){return e[t]},gc_scope:I,printed_comments:l,prepend_comments:t?Mp:ue,append_comments:t||n===Np?Mp:de,line:function(){return o},col:function(){return a},pos:function(){return s},push_node:function(e){fe.push(e)},pop_node:function(){return fe.pop()},parent:function(e){return fe[fe.length-2-(e||0)]}}}(function(){function e(e,t){e.DEFMETHOD(`_codegen`,t)}Z.DEFMETHOD(`print`,function(e,t){var n=this,r=n._codegen;n instanceof _h?e.active_scope=n:!e.use_asm&&n instanceof eh&&n.value==`use asm`&&(e.use_asm=e.active_scope);function i(){e.prepend_comments(n),n.add_source_map(e),r(n,e),e.append_comments(n)}e.push_node(n),t||n.needs_parens(e)?e.with_parens(i):i(),e.pop_node(),n===e.use_asm&&(e.use_asm=null)}),Z.DEFMETHOD(`_print`,Z.prototype.print),Z.DEFMETHOD(`print_to_string`,function(e){var t=R_(e);return this.print(t),t.get()});function t(e,n){Array.isArray(e)?e.forEach(function(e){t(e,n)}):e.DEFMETHOD(`needs_parens`,n)}t(Z,Np),t(Sh,function(e){if(!e.has_parens()&&N_(e))return!0;if(e.option(`webkit`)){var t=e.parent();if(t instanceof lg&&t.expression===this)return!0}if(e.option(`wrap_iife`)){var t=e.parent();if(t instanceof og&&t.expression===this)return!0}if(e.option(`wrap_func_args`)){var t=e.parent();if(t instanceof og&&t.args.includes(this))return!0}return!1}),t(Ch,function(e){var t=e.parent();return e.option(`wrap_func_args`)&&t instanceof og&&t.args.includes(this)?!0:t instanceof lg&&t.expression===this||t instanceof _g&&t.condition===this}),t(xg,function(e){return!e.has_parens()&&N_(e)}),t(Ig,N_),t(mg,function(e){var t=e.parent();return t instanceof lg&&t.expression===this||t instanceof og&&t.expression===this||t instanceof Q&&t.operator===`**`&&this instanceof hg&&t.left===this&&this.operator!==`++`&&this.operator!==`--`}),t(Ih,function(e){var t=e.parent();return t instanceof lg&&t.expression===this||t instanceof og&&t.expression===this||t instanceof Q&&t.operator===`**`&&t.left===this||e.option(`safari10`)&&t instanceof hg}),t(cg,function(e){var t=e.parent();return t instanceof og||t instanceof mg||t instanceof Q||t instanceof $h||t instanceof lg||t instanceof bg||t instanceof Sg||t instanceof _g||t instanceof Ch||t instanceof yg||t instanceof yh||t instanceof hh&&this===t.object||t instanceof Lh||t instanceof ag}),t(Q,function(e){var t=e.parent();if(t instanceof og&&t.expression===this||t instanceof mg||t instanceof lg&&t.expression===this)return!0;if(t instanceof Q){let e=t.operator,n=this.operator;if(n===`??`&&(e===`||`||e===`&&`)||e===`??`&&(n===`||`||n===`&&`))return!0;let r=Km[e],i=Km[n];if(r>i||r==i&&(this===t.right||e==`**`))return!0}if(t instanceof Ng){let e=this.operator,n=Km.in,r=Km[e];if(n>r||n==r&&this===t.value)return!0}}),t(Ng,function(e){var t=e.parent();if(t instanceof og&&t.expression===this||t instanceof mg||t instanceof lg&&t.expression===this)return!0;if(t instanceof Q){let e=t.operator,n=Km[e],r=Km.in;if(n>r||n==r&&(this===t.right||e==`**`))return!0}if(t instanceof Ng&&this===t.value)return!0}),t(Lh,function(e){var t=e.parent();if(t instanceof Q&&t.operator!==`=`||t instanceof og&&t.expression===this||t instanceof _g&&t.condition===this||t instanceof mg||t instanceof lg&&t.expression===this)return!0}),t(pg,function(e){var t=e.parent();return t instanceof og||t instanceof lg?t.expression===this:!1}),t(lg,function(e){var t=e.parent();if(t instanceof sg&&t.expression===this)return S_(this,e=>{if(e instanceof _h)return!0;if(e instanceof og)return w_})}),t(og,function(e){var t=e.parent(),n;return t instanceof sg&&t.expression===this||t instanceof ag&&t.is_default&&this.expression instanceof Sh?!0:this.expression instanceof Sh&&t instanceof lg&&t.expression===this&&(n=e.parent(1))instanceof vg&&n.left===t}),t(sg,function(e){var t=e.parent();if(this.args.length===0&&(t instanceof lg||t instanceof og&&t.expression===this||t instanceof Eh&&t.prefix===this))return!0}),t(u_,function(e){var t=e.parent();if(t instanceof lg&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(p(n)))return!0}}),t(d_,function(e){var t=e.parent();if(t instanceof lg&&t.expression===this&&this.getValue().startsWith(`-`))return!0}),t([vg,_g],function(e){var t=e.parent();if(t instanceof mg||t instanceof Q&&!(t instanceof vg)||t instanceof og&&t.expression===this||t instanceof _g&&t.condition===this||t instanceof lg&&t.expression===this||this instanceof vg&&this.left instanceof Th&&this.left.is_array===!1)return!0}),e(eh,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(yh,function(e,t){t.print(`...`),e.expression.print(t)}),e(Th,function(e,t){t.print(e.is_array?`[`:`{`);var n=e.names.length;e.names.forEach(function(e,r){r>0&&t.comma(),e.print(t),r==n-1&&e instanceof __&&t.comma()}),t.print(e.is_array?`]`:`}`)}),e($m,function(e,t){t.print(`debugger`),t.semicolon()});function n(e,t,n,r){var i=e.length-1;n.in_directive=r,e.forEach(function(e,r){n.in_directive===!0&&!(e instanceof eh||e instanceof oh||e instanceof th&&e.body instanceof l_)&&(n.in_directive=!1),e instanceof oh||(n.indent(),e.print(n),r==i&&t||(n.newline(),t&&n.newline())),n.in_directive===!0&&e instanceof th&&e.body instanceof l_&&(n.in_directive=!1)}),n.in_directive=!1}sh.DEFMETHOD(`_do_print_body`,function(e){d(this.body,e)}),e(Qm,function(e,t){e.body.print(t),t.semicolon()}),e(vh,function(e,t){n(e.body,!0,t,!0),t.print(``)}),e(ch,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(th,function(e,t){e.body.print(t),t.semicolon()});function r(e,t){t.print(`{`),t.with_indent(t.next_indent(),function(){t.append_comments(e,!0)}),t.add_mapping(e.end),t.print(`}`)}function i(e,t,i){e.body.length>0?t.with_block(function(){n(e.body,!1,t,i),t.add_mapping(e.end)}):r(e,t)}e(ah,function(e,t){i(e,t)}),e(oh,function(e,t){t.semicolon()}),e(dh,function(e,t){t.print(`do`),t.space(),m(e.body,t),t.space(),t.print(`while`),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(fh,function(e,t){t.print(`while`),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(ph,function(e,t){t.print(`for`),t.space(),t.with_parens(function(){e.init?(e.init instanceof qh?e.init.print(t):o(e.init,t,!0),t.print(`;`),t.space()):t.print(`;`),e.condition?(e.condition.print(t),t.print(`;`),t.space()):t.print(`;`),e.step&&e.step.print(t)}),t.space(),e._do_print_body(t)}),e(mh,function(e,t){t.print(`for`),e.await&&(t.space(),t.print(`await`)),t.space(),t.with_parens(function(){e.init.print(t),t.space(),t.print(e instanceof hh?`of`:`in`),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(gh,function(e,t){t.print(`with`),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),bh.DEFMETHOD(`_do_print`,function(e,t){var n=this;t||(n.async&&(e.print(`async`),e.space()),e.print(`function`),n.is_generator&&e.star(),n.name&&e.space()),n.name instanceof Lg?n.name.print(e):t&&n.name instanceof Z&&e.with_square(function(){n.name.print(e)}),e.with_parens(function(){n.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),i(n,e,!0)}),e(bh,function(e,t){e._do_print(t),t.gc_scope(e)}),e(Eh,function(e,t){var n=e.prefix,r=n instanceof bh||n instanceof Q||n instanceof _g||n instanceof cg||n instanceof mg||n instanceof ug&&n.expression instanceof xg;r&&t.print(`(`),e.prefix.print(t),r&&t.print(`)`),e.template_string.print(t)}),e(Dh,function(e,t){var n=t.parent()instanceof Eh;t.print("`");for(var r=0;r<e.segments.length;r++)e.segments[r]instanceof Oh?n?t.print(e.segments[r].raw):t.print_template_string_chars(e.segments[r].value):(t.print("${"),e.segments[r].print(t),t.print(`}`));t.print("`")}),e(Oh,function(e,t){t.print_template_string_chars(e.value)}),Ch.DEFMETHOD(`_do_print`,function(e){var t=this,n=e.parent(),r=n instanceof Q&&!(n instanceof vg)&&!(n instanceof yg)||n instanceof mg||n instanceof og&&t===n.expression;r&&e.print(`(`),t.async&&(e.print(`async`),e.space()),t.argnames.length===1&&t.argnames[0]instanceof Lg?t.argnames[0].print(e):e.with_parens(function(){t.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),e.print(`=>`),e.space();let a=t.body[0];if(t.body.length===1&&a instanceof jh){let t=a.value;t?P_(t)?(e.print(`(`),t.print(e),e.print(`)`)):t.print(e):e.print(`{}`)}else i(t,e);r&&e.print(`)`),e.gc_scope(t)}),Ah.DEFMETHOD(`_do_print`,function(e,t){if(e.print(t),this.value){e.space();let t=this.value.start.comments_before;t&&t.length&&!e.printed_comments.has(t)?(e.print(`(`),this.value.print(e),e.print(`)`)):this.value.print(e)}e.semicolon()}),e(jh,function(e,t){e._do_print(t,`return`)}),e(Mh,function(e,t){e._do_print(t,`throw`)}),e(Lh,function(e,t){var n=e.is_star?`*`:``;t.print(`yield`+n),e.expression&&(t.space(),e.expression.print(t))}),e(Ih,function(e,t){t.print(`await`),t.space();var n=e.expression,r=!(n instanceof og||n instanceof $||n instanceof lg||n instanceof mg||n instanceof c_||n instanceof Ih||n instanceof xg);r&&t.print(`(`),e.expression.print(t),r&&t.print(`)`)}),Nh.DEFMETHOD(`_do_print`,function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(Ph,function(e,t){e._do_print(t,`break`)}),e(Fh,function(e,t){e._do_print(t,`continue`)});function a(e,t){var n=e.body;if(t.option(`braces`)||t.option(`ie8`)&&n instanceof dh)return m(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof Rh){if(!n.alternative){m(e.body,t);return}n=n.alternative}else if(n instanceof sh)n=n.body;else break;d(e.body,t)}e(Rh,function(e,t){t.print(`if`),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e.alternative?(a(e,t),t.space(),t.print(`else`),t.space(),e.alternative instanceof Rh?e.alternative.print(t):d(e.alternative,t)):e._do_print_body(t)}),e(zh,function(e,t){t.print(`switch`),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space();var n=e.body.length-1;n<0?r(e,t):t.with_block(function(){e.body.forEach(function(e,r){t.indent(!0),e.print(t),r<n&&e.body.length>0&&t.newline()})})}),Bh.DEFMETHOD(`_do_print_body`,function(e){e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()})}),e(Vh,function(e,t){t.print(`default:`),e._do_print_body(t)}),e(Hh,function(e,t){t.print(`case`),t.space(),e.expression.print(t),t.print(`:`),e._do_print_body(t)}),e(Uh,function(e,t){t.print(`try`),t.space(),e.body.print(t),e.bcatch&&(t.space(),e.bcatch.print(t)),e.bfinally&&(t.space(),e.bfinally.print(t))}),e(Wh,function(e,t){i(e,t)}),e(Gh,function(e,t){t.print(`catch`),e.argname&&(t.space(),t.with_parens(function(){e.argname.print(t)})),t.space(),i(e,t)}),e(Kh,function(e,t){t.print(`finally`),t.space(),i(e,t)}),qh.DEFMETHOD(`_do_print`,function(e,t){e.print(t),e.space(),this.definitions.forEach(function(t,n){n&&e.comma(),t.print(e)});var n=e.parent();(!(n instanceof ph||n instanceof mh)||n&&n.init!==this)&&e.semicolon()}),e(Xh,function(e,t){e._do_print(t,`let`)}),e(Yh,function(e,t){e._do_print(t,`var`)}),e(Zh,function(e,t){e._do_print(t,`const`)}),e(Qh,function(e,t){e._do_print(t,e.await?`await using`:`using`)}),e(rg,function(e,t){t.print(`import`),t.space(),e.imported_name&&e.imported_name.print(t),e.imported_name&&e.imported_names&&(t.print(`,`),t.space()),e.imported_names&&(e.imported_names.length===1&&e.imported_names[0].foreign_name.name===`*`&&!e.imported_names[0].foreign_name.quote?e.imported_names[0].print(t):(t.print(`{`),e.imported_names.forEach(function(n,r){t.space(),n.print(t),r<e.imported_names.length-1&&t.print(`,`)}),t.space(),t.print(`}`))),(e.imported_name||e.imported_names)&&(t.space(),t.print(`from`),t.space()),e.module_name.print(t),e.attributes&&(t.print(`with`),e.attributes.print(t)),t.semicolon()}),e(ig,function(e,t){t.print(`import.meta`)}),e(ng,function(e,t){var n=t.parent()instanceof rg,r=e.name.definition(),i=e.foreign_name,a=(r&&r.mangled_name||e.name.name)!==i.name;!a&&i.name===`*`&&!!i.quote!=!!e.name.quote&&(a=!0);var o=!i.quote;a?(n?o?t.print(i.name):t.print_string(i.name,i.quote):e.name.quote?t.print_string(e.name.name,e.name.quote):e.name.print(t),t.space(),t.print(`as`),t.space(),n?e.name.print(t):o?t.print(i.name):t.print_string(i.name,i.quote)):e.name.quote?t.print_string(e.name.name,e.name.quote):e.name.print(t)}),e(ag,function(e,t){if(t.print(`export`),t.space(),e.is_default&&(t.print(`default`),t.space()),e.exported_names)e.exported_names.length===1&&e.exported_names[0].name.name===`*`&&!e.exported_names[0].name.quote?e.exported_names[0].print(t):(t.print(`{`),e.exported_names.forEach(function(n,r){t.space(),n.print(t),r<e.exported_names.length-1&&t.print(`,`)}),t.space(),t.print(`}`));else if(e.exported_value)e.exported_value.print(t);else if(e.exported_definition&&(e.exported_definition.print(t),e.exported_definition instanceof Jh))return;e.module_name&&(t.space(),t.print(`from`),t.space(),e.module_name.print(t)),e.attributes&&(t.print(`with`),e.attributes.print(t)),(e.exported_value&&!(e.exported_value instanceof wh||e.exported_value instanceof Sh||e.exported_value instanceof Ag)||e.module_name||e.exported_names)&&t.semicolon()});function o(e,t,n){var r=!1;n&&(r=S_(e,e=>{if(e instanceof _h&&!(e instanceof Ch))return!0;if(e instanceof Q&&e.operator==`in`||e instanceof Ng)return w_})),e.print(t,r)}e($h,function(e,t){if(e.name.print(t),e.value){t.space(),t.print(`=`),t.space();var n=t.parent(1),r=n instanceof ph||n instanceof mh;o(e.value,t,r)}}),e(og,function(e,t){e.expression.print(t),!(e instanceof sg&&e.args.length===0)&&((e.expression instanceof og||e.expression instanceof bh)&&t.add_mapping(e.start),e.optional&&t.print(`?.`),t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})}))}),e(sg,function(e,t){t.print(`new`),t.space(),og.prototype._codegen(e,t)}),cg.DEFMETHOD(`_do_print`,function(e){this.expressions.forEach(function(t,n){n>0&&(e.comma(),e.should_break()&&(e.newline(),e.indent())),t.print(e)})}),e(cg,function(e,t){e._do_print(t)}),e(ug,function(e,t){var n=e.expression;n.print(t);var r=e.property,i=sm.has(r)?t.option(`ie8`):!Fm(r,t.option(`ecma`)>=2015&&!t.option(`safari10`));e.optional&&t.print(`?.`),i?(t.print(`[`),t.add_mapping(e.end),t.print_string(r),t.print(`]`)):(n instanceof u_&&n.getValue()>=0&&(/[xa-f.)]/i.test(t.last())||t.print(`.`)),e.optional||t.print(`.`),t.add_mapping(e.end),t.print_name(r))}),e(dg,function(e,t){e.expression.print(t);var n=e.property;e.optional&&t.print(`?`),t.print(`.#`),t.add_mapping(e.end),t.print_name(n)}),e(fg,function(e,t){e.expression.print(t),e.optional&&t.print(`?.`),t.print(`[`),e.property.print(t),t.print(`]`)}),e(pg,function(e,t){e.expression.print(t)}),e(hg,function(e,t){var n=e.operator;n===`--`&&t.last().endsWith(`!`)&&t.print(` `),t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof hg&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(gg,function(e,t){e.expression.print(t),t.print(e.operator)}),e(Q,function(e,t){var n=e.operator;e.left.print(t),n[0]==`>`&&t.last().endsWith(`--`)?t.print(` `):t.space(),t.print(n),t.space(),e.right.print(t)}),e(_g,function(e,t){e.condition.print(t),t.space(),t.print(`?`),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(bg,function(e,t){t.with_square(function(){var n=e.elements,r=n.length;r>0&&t.space(),n.forEach(function(e,n){n&&t.comma(),e.print(t),n===r-1&&e instanceof __&&t.comma()}),r>0&&t.space()})}),e(xg,function(e,t){e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&(t.print(`,`),t.newline()),t.indent(),e.print(t)}),t.newline()}):r(e,t)}),e(Ag,function(e,t){if(t.print(`class`),t.space(),e.name&&(e.name.print(t),t.space()),e.extends){var n=!(e.extends instanceof $)&&!(e.extends instanceof lg)&&!(e.extends instanceof Ig)&&!(e.extends instanceof Sh);t.print(`extends`),n?t.print(`(`):t.space(),e.extends.print(t),n?t.print(`)`):t.space()}e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&t.newline(),t.indent(),e.print(t)}),t.newline()}):t.print(`{}`)}),e(Rg,function(e,t){t.print(`new.target`)});function s(e,t,n){return n.option(`quote_keys`)?(n.print_string(e),!1):``+ +e==e&&e>=0?n.option(`keep_numbers`)?(n.print(e),!1):(n.print(p(e)),!1):(sm.has(e)?n.option(`ie8`):n.option(`ecma`)<2015||n.option(`safari10`)?!Pm(e):!Fm(e,!0))||t&&n.option(`keep_quoted_props`)?(n.print_string(e,t),!1):(n.print_name(e),!0)}e(Cg,function(e,t){function n(e){var t=e.definition();return t?t.mangled_name||t.name:e.name}let r=t.option(`shorthand`)&&!(e.key instanceof Z);r&&e.value instanceof Lg&&n(e.value)===e.key&&!sm.has(e.key)?s(e.key,e.quote,t)||(t.colon(),e.value.print(t)):r&&e.value instanceof yg&&e.value.left instanceof Lg&&n(e.value.left)===e.key?(s(e.key,e.quote,t)||(t.colon(),e.value.left.print(t)),t.space(),t.print(`=`),t.space(),e.value.right.print(t)):(e.key instanceof Z?t.with_square(function(){e.key.print(t)}):s(e.key,e.quote,t),t.colon(),e.value.print(t))}),e(Mg,(e,t)=>{e.static&&(t.print(`static`),t.space()),t.print(`#`),s(e.key.name,void 0,t),e.value&&(t.print(`=`),e.value.print(t)),t.semicolon()}),e(jg,(e,t)=>{e.static&&(t.print(`static`),t.space()),e.key instanceof Jg?s(e.key.name,e.quote,t):(t.print(`[`),e.key.print(t),t.print(`]`)),e.value&&(t.print(`=`),e.value.print(t)),t.semicolon()}),Sg.DEFMETHOD(`_print_getter_setter`,function(e,t,n){var r=this;r.static&&(n.print(`static`),n.space()),e&&(n.print(e),n.space()),r.key instanceof qg?(t&&n.print(`#`),s(r.key.name,r.quote,n),r.key.add_source_map(n)):n.with_square(function(){r.key.print(n)}),r.value._do_print(n,!0)}),e(Eg,function(e,t){e._print_getter_setter(`set`,!1,t)}),e(Dg,function(e,t){e._print_getter_setter(`get`,!1,t)}),e(wg,function(e,t){e._print_getter_setter(`set`,!0,t)}),e(Tg,function(e,t){e._print_getter_setter(`get`,!0,t)}),e(Og,function(e,t){var n;e.value.is_generator&&e.value.async?n=`async*`:e.value.is_generator?n=`*`:e.value.async&&(n=`async`),e._print_getter_setter(n,!1,t)}),e(kg,function(e,t){var n;e.value.is_generator&&e.value.async?n=`async*`:e.value.is_generator?n=`*`:e.value.async&&(n=`async`),e._print_getter_setter(n,!0,t)}),e(Ng,function(e,t){e.key.print(t),t.space(),t.print(`in`),t.space(),e.value.print(t)}),e(a_,function(e,t){t.print(`#`+e.name)}),e(Fg,function(e,t){t.print(`static`),t.space(),i(e,t)}),Lg.DEFMETHOD(`_do_print`,function(e){var t=this.definition();e.print_name(t?t.mangled_name||t.name:this.name)}),e(Lg,function(e,t){e._do_print(t)}),e(__,Mp),e(o_,function(e,t){t.print(`this`)}),e(s_,function(e,t){t.print(`super`)}),e(c_,function(e,t){t.print(e.getValue())}),e(l_,function(e,t){t.print_string(e.getValue(),e.quote,t.in_directive)}),e(u_,function(e,t){(t.option(`keep_numbers`)||t.use_asm)&&e.raw?t.print(e.raw):t.print(p(e.getValue()))}),e(d_,function(e,t){t.option(`keep_numbers`)&&e.raw?t.print(e.raw):t.print(e.getValue()+`n`)});let c=/(<\s*\/\s*script)/i,l=/^\s*script/i,u=(e,t)=>t.replace(`/`,`\\/`);e(f_,function(e,t){let{source:n,flags:r}=e.getValue();n=Yp(n),r=r?Qp(r):``,n=n.replace(c,u),l.test(n)&&t.last().endsWith(`<`)&&t.print(` `),t.print(t.to_utf8(`/${n}/${r}`,!1,!0));let i=t.parent();i instanceof Q&&/^\w/.test(i.operator)&&i.left===e&&t.print(` `)});function d(e,t){t.option(`braces`)?m(e,t):!e||e instanceof oh?t.force_semicolon():e instanceof qh&&!(e instanceof Yh)||e instanceof Ag?m(e,t):e.print(t)}function f(e){for(var t=e[0],n=t.length,r=1;r<e.length;++r)e[r].length<n&&(t=e[r],n=t.length);return t}function p(e){var t=e.toString(10).replace(/^0\./,`.`).replace(`e+`,`e`),n=[t];Math.floor(e)===e&&(e<0?n.push(`-0x`+(-e).toString(16).toLowerCase()):n.push(`0x`+e.toString(16).toLowerCase()));var r,i,a;return(r=/^\.0+/.exec(t))?(i=r[0].length,a=t.slice(i),n.push(a+`e-`+(a.length+i-1))):(r=/0+$/.exec(t))?(i=r[0].length,n.push(t.slice(0,-i)+`e`+i)):(r=/^(\d)\.(\d+)e(-?\d+)$/.exec(t))&&n.push(r[1]+r[2]+`e`+(r[3]-r[2].length)),f(n)}function m(e,t){!e||e instanceof oh?t.print(`{}`):e instanceof ah?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function h(e,t){e.forEach(function(e){e.DEFMETHOD(`add_source_map`,t)})}h([Z,ch,vh],Mp),h([bg,ah,Gh,Ag,c_,$m,qh,eh,Kh,kh,bh,sg,xg,sh,Lg,zh,Bh,Dh,Oh,Uh],function(e){e.add_mapping(this.start)}),h([Dg,Eg,Tg,wg,Og,kg],function(e){e.add_mapping(this.start,!1)}),h([qg,a_],function(e){let t=this.end&&this.end.type;t===`name`||t===`privatename`?e.add_mapping(this.end,this.name):e.add_mapping(this.end)}),h([Sg],function(e){e.add_mapping(this.start,this.key)})})();const z_=(e,t)=>e===null&&t===null||e.TYPE===t.TYPE&&e.shallow_cmp(t),B_=(e,t)=>{if(!z_(e,t))return!1;let n=[e],r=[t],i=n.push.bind(n),a=r.push.bind(r);for(;n.length&&r.length;){let e=n.pop(),t=r.pop();if(!z_(e,t)||(e._children_backwards(i),t._children_backwards(a),n.length!==r.length))return!1}return n.length==0&&r.length==0},V_=()=>!0;Z.prototype.shallow_cmp=function(){throw Error(`did not find a shallow_cmp function for `+this.constructor.name)},$m.prototype.shallow_cmp=V_,eh.prototype.shallow_cmp=function(e){return this.value===e.value},th.prototype.shallow_cmp=V_,ih.prototype.shallow_cmp=V_,oh.prototype.shallow_cmp=V_,ch.prototype.shallow_cmp=function(e){return this.label.name===e.label.name},dh.prototype.shallow_cmp=V_,fh.prototype.shallow_cmp=V_,ph.prototype.shallow_cmp=function(e){return(this.init==null?e.init==null:this.init===e.init)&&(this.condition==null?e.condition==null:this.condition===e.condition)&&(this.step==null?e.step==null:this.step===e.step)},mh.prototype.shallow_cmp=V_,hh.prototype.shallow_cmp=V_,gh.prototype.shallow_cmp=V_,vh.prototype.shallow_cmp=V_,yh.prototype.shallow_cmp=V_,bh.prototype.shallow_cmp=function(e){return this.is_generator===e.is_generator&&this.async===e.async},Th.prototype.shallow_cmp=function(e){return this.is_array===e.is_array},Eh.prototype.shallow_cmp=V_,Dh.prototype.shallow_cmp=V_,Oh.prototype.shallow_cmp=function(e){return this.value===e.value},kh.prototype.shallow_cmp=V_,Nh.prototype.shallow_cmp=V_,Ih.prototype.shallow_cmp=V_,Lh.prototype.shallow_cmp=function(e){return this.is_star===e.is_star},Rh.prototype.shallow_cmp=function(e){return this.alternative==null?e.alternative==null:this.alternative===e.alternative},zh.prototype.shallow_cmp=V_,Bh.prototype.shallow_cmp=V_,Uh.prototype.shallow_cmp=function(e){return this.body===e.body&&(this.bcatch==null?e.bcatch==null:this.bcatch===e.bcatch)&&(this.bfinally==null?e.bfinally==null:this.bfinally===e.bfinally)},Gh.prototype.shallow_cmp=function(e){return this.argname==null?e.argname==null:this.argname===e.argname},Kh.prototype.shallow_cmp=V_,qh.prototype.shallow_cmp=V_,$h.prototype.shallow_cmp=function(e){return this.value==null?e.value==null:this.value===e.value},ng.prototype.shallow_cmp=V_,rg.prototype.shallow_cmp=function(e){return(this.imported_name==null?e.imported_name==null:this.imported_name===e.imported_name)&&(this.imported_names==null?e.imported_names==null:this.imported_names===e.imported_names)&&(this.attributes==null?e.attributes==null:this.attributes===e.attributes)},ig.prototype.shallow_cmp=V_,ag.prototype.shallow_cmp=function(e){return(this.exported_definition==null?e.exported_definition==null:this.exported_definition===e.exported_definition)&&(this.exported_value==null?e.exported_value==null:this.exported_value===e.exported_value)&&(this.exported_names==null?e.exported_names==null:this.exported_names===e.exported_names)&&(this.attributes==null?e.attributes==null:this.attributes===e.attributes)&&this.module_name===e.module_name&&this.is_default===e.is_default},og.prototype.shallow_cmp=V_,cg.prototype.shallow_cmp=V_,lg.prototype.shallow_cmp=V_,pg.prototype.shallow_cmp=V_,ug.prototype.shallow_cmp=function(e){return this.property===e.property},dg.prototype.shallow_cmp=function(e){return this.property===e.property},mg.prototype.shallow_cmp=function(e){return this.operator===e.operator},Q.prototype.shallow_cmp=function(e){return this.operator===e.operator},Ng.prototype.shallow_cmp=V_,_g.prototype.shallow_cmp=V_,bg.prototype.shallow_cmp=V_,xg.prototype.shallow_cmp=V_,Sg.prototype.shallow_cmp=V_,Cg.prototype.shallow_cmp=function(e){return this.key===e.key&&this.quote===e.quote},Eg.prototype.shallow_cmp=function(e){return this.static===e.static},Dg.prototype.shallow_cmp=function(e){return this.static===e.static},Og.prototype.shallow_cmp=function(e){return this.static===e.static},kg.prototype.shallow_cmp=function(e){return this.static===e.static},Ag.prototype.shallow_cmp=function(e){return(this.name==null?e.name==null:this.name===e.name)&&(this.extends==null?e.extends==null:this.extends===e.extends)},jg.prototype.shallow_cmp=function(e){return this.static===e.static&&(typeof this.key==`string`?this.key===e.key:!0)},Mg.prototype.shallow_cmp=function(e){return this.static===e.static},Lg.prototype.shallow_cmp=function(e){return this.name===e.name},Rg.prototype.shallow_cmp=V_,o_.prototype.shallow_cmp=V_,s_.prototype.shallow_cmp=V_,l_.prototype.shallow_cmp=function(e){return this.value===e.value},u_.prototype.shallow_cmp=function(e){return this.value===e.value},d_.prototype.shallow_cmp=function(e){return this.value===e.value},f_.prototype.shallow_cmp=function(e){return this.value.flags===e.value.flags&&this.value.source===e.value.source},p_.prototype.shallow_cmp=V_;let H_=null,U_=null,W_=null;var G_=class e{constructor(t,n,r){this.name=n.name,this.orig=[n],this.init=r,this.eliminated=0,this.assignments=0,this.scope=t,this.replaced=0,this.global=!1,this.export=0,this.mangled_name=null,this.undeclared=!1,this.id=e.next_id++,this.chained=!1,this.direct_access=!1,this.escaped=0,this.recursive_refs=0,this.references=[],this.should_replace=void 0,this.single_use=!1,this.fixed=!1,Object.seal(this)}fixed_value(){return!this.fixed||this.fixed instanceof Z?this.fixed:this.fixed()}unmangleable(e){return e||={},H_&&H_.has(this.id)&&qp(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&1||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof Yg||this.orig[0]instanceof Kg)&&qp(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof qg||(this.orig[0]instanceof Zg||this.orig[0]instanceof Xg)&&qp(e.keep_classnames,this.orig[0].name)}mangle(e){let t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name))this.mangled_name=t.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope,r=this.orig[0];e.ie8&&r instanceof Yg&&(n=n.parent_scope);let i=K_(this);this.mangled_name=i?i.mangled_name||i.name:n.next_mangled(e,this),this.global&&t&&t.set(this.name,this.mangled_name)}}};G_.next_id=1;function K_(e){if(e.orig[0]instanceof Qg&&e.scope.is_block_scope())return e.scope.get_defun_scope().variables.get(e.name)}_h.DEFMETHOD(`figure_out_scope`,function(e,{parent_scope:t=void 0,toplevel:n=this}={}){if(e=jp(e,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof vh))throw Error(`Invalid toplevel scope`);var r=this.parent_scope=t,i=new Map,a=null,o=null,s=[],c=new T_((t,n)=>{if(t.is_block_scope()){let i=r;if(t.block_scope=r=new _h(t),r._block_scope=!0,r.init_scope_vars(i),r.uses_with=i.uses_with,r.uses_eval=i.uses_eval,e.safari10&&(t instanceof ph||t instanceof mh||t instanceof hh)&&s.push(r),t instanceof zh){let e=r;r=i,t.expression.walk(c),r=e;for(let e=0;e<t.body.length;e++)t.body[e].walk(c)}else n();return r=i,!0}if(t instanceof Th){let e=o;return o=t,n(),o=e,!0}if(t instanceof _h){t.init_scope_vars(r);var u=r,d=a,f=i;return a=r=t,i=new Map,n(),r=u,a=d,i=f,!0}if(t instanceof ch){var p=t.label;if(i.has(p.name))throw Error(zp(`Label {name} defined twice`,p));return i.set(p.name,p),n(),i.delete(p.name),!0}if(t instanceof gh){for(var m=r;m;m=m.parent_scope)m.uses_with=!0;return}if(t instanceof Lg&&(t.scope=r),t instanceof t_&&(t.thedef=t,t.references=[]),t instanceof Yg)a.def_function(t,t.name==`arguments`?void 0:a);else if(t instanceof Kg){let e=a.parent_scope;t.scope=c.directives[`use strict`]?e:e.get_defun_scope(),l(t.scope.def_function(t,a),1)}else if(t instanceof Zg)l(a.def_variable(t,a),1);else if(t instanceof $g)r.def_variable(t);else if(t instanceof Xg)l((t.scope=a.parent_scope).def_function(t,a),1);else if(t instanceof Bg||t instanceof Wg||t instanceof Hg||t instanceof Ug||t instanceof Qg){var h=t instanceof Vg?r.def_variable(t,null):a.def_variable(t,t.TYPE==`SymbolVar`?null:void 0);if(h.orig.every(e=>e===t?!0:t instanceof Vg?e instanceof Yg:!(e instanceof Wg||e instanceof Hg||e instanceof Ug))||Rm(`"${t.name}" is redeclared`,t.start.file,t.start.line,t.start.col,t.start.pos),t instanceof Gg||l(h,2),a!==r){t.mark_enclosed();var h=r.find_variable(t);t.thedef!==h&&(t.thedef=h,t.reference())}}else if(t instanceof i_){var g=i.get(t.name);if(!g)throw Error(zp(`Undefined label {name} [{line},{col}]`,{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=g}!(r instanceof vh)&&(t instanceof ag||t instanceof rg)&&Rm(`"${t.TYPE}" statement may only appear at the top level`,t.start.file,t.start.line,t.start.col,t.start.pos)});e.module&&(c.directives[`use strict`]=!0),this.walk(c);function l(e,t){if(o){var n=0;do t++;while(c.parent(n++)!==o)}var r=c.parent(t);if(e.export=r instanceof ag?1:0){var i=r.exported_definition;(i instanceof wh||i instanceof Pg)&&r.is_default&&(e.export=2)}}this instanceof vh&&(this.globals=new Map);var c=new T_(e=>{if(e instanceof Nh&&e.label)return e.label.thedef.references.push(e),!0;if(e instanceof $){var t=e.name;if(t==`eval`&&c.parent()instanceof og)for(var r=e.scope;r&&!r.uses_eval;r=r.parent_scope)r.uses_eval=!0;var i;return c.parent()instanceof ng&&c.parent(1).module_name||!(i=e.scope.find_variable(t))?(i=n.def_global(e),e instanceof n_&&(i.export=1)):i.scope instanceof bh&&t==`arguments`&&(i.scope.get_defun_scope().uses_arguments=!0),e.thedef=i,e.reference(),e.scope.is_block_scope()&&!(i.orig[0]instanceof Vg)&&(e.scope=e.scope.get_defun_scope()),!0}var a;if(e instanceof Qg&&(a=K_(e.definition())))for(var r=e.scope;r&&(Rp(r.enclosed,a),r!==a.scope);)r=r.parent_scope});if(this.walk(c),(e.ie8||e.safari10)&&S_(this,e=>{if(e instanceof Qg){var t=e.name,r=e.thedef.references,i=e.scope.get_defun_scope(),a=i.find_variable(t)||n.globals.get(t)||i.def_variable(e);return r.forEach(function(e){e.thedef=a,e.reference()}),e.thedef=a,e.reference(),!0}}),e.safari10)for(let e of s)e.parent_scope.variables.forEach(function(t){Rp(e.enclosed,t)})}),vh.DEFMETHOD(`def_global`,function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new G_(this,e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),_h.DEFMETHOD(`init_scope_vars`,function(e){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1}),_h.DEFMETHOD(`conflicting_def`,function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)||this.parent_scope&&this.parent_scope.conflicting_def(e)}),_h.DEFMETHOD(`conflicting_def_shallow`,function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)}),_h.DEFMETHOD(`add_child_scope`,function(e){if(e.parent_scope===this)return;e.parent_scope=this,e instanceof Ch&&this instanceof bh&&!this.uses_arguments&&(this.uses_arguments=S_(e,e=>{if(e instanceof $&&e.scope instanceof bh&&e.name===`arguments`)return w_;if(e instanceof bh&&!(e instanceof Ch))return!0})),this.uses_with=this.uses_with||e.uses_with,this.uses_eval=this.uses_eval||e.uses_eval;let t=(()=>{let e=[],t=this;do e.push(t);while(t=t.parent_scope);return e.reverse(),e})(),n=new Set(e.enclosed),r=[];for(let e of t){r.forEach(t=>Rp(e.enclosed,t));for(let t of e.variables.values())n.has(t)&&(Rp(r,t),Rp(e.enclosed,t))}});function q_(e){let t=new Set;for(let n of new Set(e))(function e(n){n==null||t.has(n)||(t.add(n),e(n.parent_scope))})(n);return[...t]}_h.DEFMETHOD(`create_symbol`,function(e,{source:t,tentative_name:n,scope:r,conflict_scopes:i=[r],init:a=null}={}){let o;if(i=q_(i),n){n=o=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,`_`);let e=0;for(;i.find(e=>e.conflicting_def_shallow(o));)o=n+`$`+ e++}if(!o)throw Error(`No symbol name could be generated in create_symbol()`);let s=Y(e,t,{name:o,scope:r});return this.def_variable(s,a||null),s.mark_enclosed(),s}),Z.DEFMETHOD(`is_block_scope`,Np),Ag.DEFMETHOD(`is_block_scope`,Np),bh.DEFMETHOD(`is_block_scope`,Np),vh.DEFMETHOD(`is_block_scope`,Np),Bh.DEFMETHOD(`is_block_scope`,Np),ih.DEFMETHOD(`is_block_scope`,Pp),_h.DEFMETHOD(`is_block_scope`,function(){return this._block_scope||!1}),lh.DEFMETHOD(`is_block_scope`,Pp),bh.DEFMETHOD(`init_scope_vars`,function(){_h.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new Gg({name:`arguments`,start:this.start,end:this.end}))}),Ch.DEFMETHOD(`init_scope_vars`,function(){_h.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),Lg.DEFMETHOD(`mark_enclosed`,function(){for(var e=this.definition(),t=this.scope;t&&(Rp(t.enclosed,e),t!==e.scope);)t=t.parent_scope}),Lg.DEFMETHOD(`reference`,function(){this.definition().references.push(this),this.mark_enclosed()}),_h.DEFMETHOD(`find_variable`,function(e){return e instanceof Lg&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),_h.DEFMETHOD(`def_function`,function(e,t){var n=this.def_variable(e,t);return(!n.init||n.init instanceof wh)&&(n.init=t),n}),_h.DEFMETHOD(`def_variable`,function(e,t){var n=this.variables.get(e.name);return n?(n.orig.push(e),n.init&&(n.scope!==e.scope||n.init instanceof Sh)&&(n.init=t)):(n=new G_(this,e,t),this.variables.set(e.name,n),n.global=!this.parent_scope),e.thedef=n});function J_(e,t){let n;W_&&(n=e.get_defun_scope())&&W_.has(n)&&(e=n);var r=e.enclosed,i=t.nth_identifier;out:for(;;){var a=i.get(++e.cname);if(!sm.has(a)&&!t.reserved.has(a)){if(U_&&U_.has(a))continue out;for(let e=r.length;--e>=0;){let n=r[e];if(a==(n.mangled_name||n.unmangleable(t)&&n.name))continue out}return a}}}_h.DEFMETHOD(`next_mangled`,function(e){return J_(this,e)}),vh.DEFMETHOD(`next_mangled`,function(e){let t,n=this.mangled_names;do t=J_(this,e);while(n.has(t));return t}),Sh.DEFMETHOD(`next_mangled`,function(e,t){for(var n=t.orig[0]instanceof Gg&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var i=J_(this,e);if(!r||r!=i)return i}}),Lg.DEFMETHOD(`unmangleable`,function(e){var t=this.definition();return!t||t.unmangleable(e)}),t_.DEFMETHOD(`unmangleable`,Np),Lg.DEFMETHOD(`unreferenced`,function(){return!this.definition().references.length&&!this.scope.pinned()}),Lg.DEFMETHOD(`definition`,function(){return this.thedef}),Lg.DEFMETHOD(`global`,function(){return this.thedef.global});function Y_(e){return e=jp(e,{eval:!1,nth_identifier:X_,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1}),e.module&&(e.toplevel=!0),!Array.isArray(e.reserved)&&!(e.reserved instanceof Set)&&(e.reserved=[]),e.reserved=new Set(e.reserved),e.reserved.add(`arguments`),e}vh.DEFMETHOD(`mangle_names`,function(e){e=Y_(e);var t=e.nth_identifier,n=-1,r=[];e.keep_fnames&&(H_=new Set);let i=this.mangled_names=new Set;U_=new Set,e.cache&&(this.globals.forEach(o),e.cache.props&&e.cache.props.forEach(function(e){i.add(e)}));var a=new T_(function(i,s){if(i instanceof ch){var c=n;return s(),n=c,!0}if(i instanceof wh&&!(a.parent()instanceof _h)&&(W_||=new Set,W_.add(i.parent_scope.get_defun_scope())),i instanceof _h){i.variables.forEach(o);return}if(i.is_block_scope()){i.block_scope.variables.forEach(o);return}if(H_&&i instanceof eg&&i.value instanceof bh&&!i.value.name&&qp(e.keep_fnames,i.name.name)){H_.add(i.name.definition().id);return}if(i instanceof t_){let e;do e=t.get(++n);while(sm.has(e));return i.mangled_name=e,!0}if(!(e.ie8||e.safari10)&&i instanceof Qg){r.push(i.definition());return}});this.walk(a),(e.keep_fnames||e.keep_classnames)&&r.forEach(t=>{t.name.length<6&&t.unmangleable(e)&&U_.add(t.name)}),r.forEach(t=>{t.mangle(e)}),H_=null,U_=null,W_=null;function o(t){t.export&1?U_.add(t.name):e.reserved.has(t.name)||r.push(t)}}),vh.DEFMETHOD(`find_colliding_names`,function(e){let t=e.cache&&e.cache.props,n=new Set;return e.reserved.forEach(r),this.globals.forEach(i),this.walk(new T_(function(e){e instanceof _h&&e.variables.forEach(i),e instanceof Qg&&i(e.definition())})),n;function r(e){n.add(e)}function i(n){var i=n.name;if(n.global&&t&&t.has(i))i=t.get(i);else if(!n.unmangleable(e))return;r(i)}}),vh.DEFMETHOD(`expand_names`,function(e){e=Y_(e);var t=e.nth_identifier;t.reset&&t.sort&&(t.reset(),t.sort());var n=this.find_colliding_names(e),r=0;this.globals.forEach(a),this.walk(new T_(function(e){e instanceof _h&&e.variables.forEach(a),e instanceof Qg&&a(e.definition())}));function i(){var e;do e=t.get(r++);while(n.has(e)||sm.has(e));return e}function a(t){if(t.global&&e.cache||t.unmangleable(e)||e.reserved.has(t.name))return;let n=K_(t),r=t.name=n?n.name:i();t.orig.forEach(function(e){e.name=r}),t.references.forEach(function(e){e.name=r})}}),Z.DEFMETHOD(`tail_node`,Fp),cg.DEFMETHOD(`tail_node`,function(){return this.expressions[this.expressions.length-1]}),vh.DEFMETHOD(`compute_char_frequency`,function(e){e=Y_(e);var t=e.nth_identifier;if(!t.reset||!t.consider||!t.sort)return;t.reset();try{Z.prototype.print=function(r,i){this._print(r,i),this instanceof Lg&&!this.unmangleable(e)?t.consider(this.name,-1):e.properties&&(this instanceof dg?t.consider(`#`+this.property,-1):this instanceof ug?t.consider(this.property,-1):this instanceof fg&&n(this.property))},t.consider(this.print_to_string(),1)}finally{Z.prototype.print=Z.prototype._print}t.sort();function n(e){e instanceof l_?t.consider(e.value,-1):e instanceof _g?(n(e.consequent),n(e.alternative)):e instanceof cg&&n(e.tail_node())}});const X_=(()=>{let e=`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_`.split(``),t=`0123456789`.split(``),n,r;function i(){r=new Map,e.forEach(function(e){r.set(e,0)}),t.forEach(function(e){r.set(e,0)})}function a(e,t){for(var n=e.length;--n>=0;)r.set(e[n],r.get(e[n])+t)}function o(e,t){return r.get(t)-r.get(e)}function s(){n=Vp(e,o).concat(Vp(t,o))}i(),s();function c(e){var t=``,r=54;e++;do e--,t+=n[e%r],e=Math.floor(e/r),r=64;while(e>0);return t}return{get:c,consider:a,reset:i,sort:s}})();let Z_;Z.prototype.size=function(e,t){Z_=e&&e._mangle_options;let n=0;return C_(this,(e,t)=>{if(n+=e._size(t),e instanceof Ch&&e.is_braceless())return n+=e.body[0].value._size(t),!0},t||e&&e.stack),Z_=void 0,n},Z.prototype._size=()=>0,$m.prototype._size=()=>8,eh.prototype._size=function(){return 2+this.value.length};const Q_=e=>e.length&&e.length-1;ih.prototype._size=function(){return 2+Q_(this.body)},vh.prototype._size=function(){return Q_(this.body)},oh.prototype._size=()=>1,ch.prototype._size=()=>2,dh.prototype._size=()=>9,fh.prototype._size=()=>7,ph.prototype._size=()=>8,mh.prototype._size=()=>8,gh.prototype._size=()=>6,yh.prototype._size=()=>3;const $_=e=>(e.is_generator?1:0)+(e.async?6:0);xh.prototype._size=function(){return $_(this)+4+Q_(this.argnames)+Q_(this.body)},Sh.prototype._size=function(e){return!!N_(e)*2+$_(this)+12+Q_(this.argnames)+Q_(this.body)},wh.prototype._size=function(){return $_(this)+13+Q_(this.argnames)+Q_(this.body)},Ch.prototype._size=function(){let e=2+Q_(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof Lg||(e+=2);let t=this.is_braceless()?0:Q_(this.body)+2;return $_(this)+e+t},Th.prototype._size=()=>2,Dh.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},Oh.prototype._size=function(){return this.value.length},jh.prototype._size=function(){return this.value?7:6},Mh.prototype._size=()=>6,Ph.prototype._size=function(){return this.label?6:5},Fh.prototype._size=function(){return this.label?9:8},Rh.prototype._size=()=>4,zh.prototype._size=function(){return 8+Q_(this.body)},Hh.prototype._size=function(){return 5+Q_(this.body)},Vh.prototype._size=function(){return 8+Q_(this.body)},Uh.prototype._size=()=>3,Gh.prototype._size=function(){let e=7+Q_(this.body);return this.argname&&(e+=2),e},Kh.prototype._size=function(){return 7+Q_(this.body)},Yh.prototype._size=function(){return 4+Q_(this.definitions)},Xh.prototype._size=function(){return 4+Q_(this.definitions)},Zh.prototype._size=function(){return 6+Q_(this.definitions)},Qh.prototype._size=function(){return(this.await?6:0)+6+Q_(this.definitions)},$h.prototype._size=function(){return this.value?1:0},ng.prototype._size=function(){return this.name?4:0},rg.prototype._size=function(){let e=6;return this.imported_name&&(e+=1),(this.imported_name||this.imported_names)&&(e+=5),this.imported_names&&(e+=2+Q_(this.imported_names)),e},ig.prototype._size=()=>11,ag.prototype._size=function(){let e=7+(this.is_default?8:0);return this.exported_value&&(e+=this.exported_value._size()),this.exported_names&&(e+=2+Q_(this.exported_names)),this.module_name&&(e+=5),e},og.prototype._size=function(){return this.optional?4+Q_(this.args):2+Q_(this.args)},sg.prototype._size=function(){return 6+Q_(this.args)},cg.prototype._size=function(){return Q_(this.expressions)},ug.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},dg.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},fg.prototype._size=function(){return this.optional?4:2},mg.prototype._size=function(){return this.operator===`typeof`?7:this.operator===`void`?5:this.operator.length},Q.prototype._size=function(e){if(this.operator===`in`)return 4;let t=this.operator.length;return(this.operator===`+`||this.operator===`-`)&&this.right instanceof mg&&this.right.operator===this.operator&&(t+=1),this.needs_parens(e)&&(t+=2),t},_g.prototype._size=()=>3,bg.prototype._size=function(){return 2+Q_(this.elements)},xg.prototype._size=function(e){let t=2;return N_(e)&&(t+=2),t+Q_(this.properties)};const ev=e=>typeof e==`string`?e.length:0;Cg.prototype._size=function(){return ev(this.key)+1};const tv=e=>e?7:0;Dg.prototype._size=function(){return 5+tv(this.static)+ev(this.key)},Eg.prototype._size=function(){return 5+tv(this.static)+ev(this.key)},Og.prototype._size=function(){return tv(this.static)+ev(this.key)},kg.prototype._size=function(){return Og.prototype._size.call(this)+1},Tg.prototype._size=function(){return Og.prototype._size.call(this)+4},wg.prototype._size=function(){return Og.prototype._size.call(this)+4},Ng.prototype._size=function(){return 5},Ag.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Fg.prototype._size=function(){return 8+Q_(this.body)},jg.prototype._size=function(){return tv(this.static)+(typeof this.key==`string`?this.key.length+2:0)+(this.value?1:0)},Mg.prototype._size=function(){return jg.prototype._size.call(this)+1},Lg.prototype._size=function(){return Z_&&this.thedef&&!this.thedef.unmangleable(Z_)?1:this.name.length},Jg.prototype._size=function(){return this.name.length},$.prototype._size=zg.prototype._size=function(){return this.name===`arguments`?9:Lg.prototype._size.call(this)},Rg.prototype._size=()=>10,e_.prototype._size=function(){return this.name.length},r_.prototype._size=function(){return this.name.length},o_.prototype._size=()=>4,s_.prototype._size=()=>5,l_.prototype._size=function(){return this.value.length+2},u_.prototype._size=function(){let{value:e}=this;return e===0?1:e>0&&Math.floor(e)===e?Math.floor(Math.log10(e)+1):e.toString().length},d_.prototype._size=function(){return this.value.length},f_.prototype._size=function(){return this.value.toString().length},m_.prototype._size=()=>4,h_.prototype._size=()=>3,g_.prototype._size=()=>6,__.prototype._size=()=>0,v_.prototype._size=()=>8,x_.prototype._size=()=>4,b_.prototype._size=()=>5,Ih.prototype._size=()=>6,Lh.prototype._size=()=>6;const nv=1024,rv=(e,t)=>e.flags&t,iv=(e,t)=>{e.flags|=t},av=(e,t)=>{e.flags&=~t};function ov(e,t){return t instanceof cg?e.push(...t.expressions):e.push(t),e}function sv(e,t){if(t.length==1)return t[0];if(t.length==0)throw Error(`trying to create a sequence with length zero!`);return Y(cg,e,{expressions:t.reduce(ov,[])})}function cv(e){return Y(Sh,e,{uses_arguments:!1,argnames:[],body:[],is_generator:!1,async:!1,variables:new Map,uses_with:!1,uses_eval:!1,parent_scope:null,enclosed:[],cname:0,block_scope:void 0})}function lv(e,t){switch(typeof e){case`string`:return Y(l_,t,{value:e});case`number`:return isNaN(e)?Y(h_,t):isFinite(e)?1/e<0?Y(hg,t,{operator:`-`,expression:Y(u_,t,{value:-e})}):Y(u_,t,{value:e}):e<0?Y(hg,t,{operator:`-`,expression:Y(v_,t)}):Y(v_,t);case`bigint`:return Y(d_,t,{value:e.toString()});case`boolean`:return Y(e?x_:b_,t);case`undefined`:return Y(g_,t);default:if(e===null)return Y(m_,t,{value:null});if(e instanceof RegExp)return Y(f_,t,{value:{source:Yp(e.source),flags:e.flags}});throw Error(zp(`Can't handle constant of type: {type}`,{type:typeof e}))}}function uv(e,t){return e.size()>t.size()?t:e}function dv(e,t){return uv(Y(th,e,{body:e}),Y(th,t,{body:t})).body}function fv(e,t,n){return N_(e)?dv(t,n):uv(t,n)}function pv(e){if(e instanceof c_)return e.getValue();if(!(e instanceof hg&&e.operator==`void`&&e.expression instanceof c_))return e}function mv(e,t){if(t=pv(t),!(t instanceof Z)){var n;if(e instanceof bg){var r=e.elements;if(t==`length`)return lv(r.length,e);typeof t==`number`&&t in r&&(n=r[t])}else if(e instanceof xg){t=``+t;for(var i=e.properties,a=i.length;--a>=0;){if(!(i[a]instanceof Cg))return;!n&&i[a].key===t&&(n=i[a].value)}}return n instanceof $&&n.fixed_value()||n}}function hv(e,t){var n=!1,r=new T_(function(t){if(n||t instanceof _h)return!0;if(t instanceof Nh&&r.loopcontrol_target(t)===e)return n=!0});return t instanceof ch&&r.push(t),r.push(e),e.body.walk(r),n}function gv(e,t,n){return _v(e,t,n)?sv(t,[Y(u_,t,{value:0}),n]):n}function _v(e,t,n){return e instanceof hg&&e.operator==`delete`||e instanceof og&&e.expression===t&&(n instanceof pg||n instanceof lg||n instanceof $&&n.name==`eval`)}function vv(e){return e instanceof Ch||e instanceof Sh}function yv(e){return e.TYPE==`Call`?e.expression instanceof Sh||yv(e.expression):!1}function bv(e){return e===null||e instanceof oh?!0:e instanceof ah?e.body.length==0:!1}const xv=Hp(`Infinity NaN undefined`);function Sv(e){return e instanceof v_||e instanceof h_||e instanceof g_}function Cv(e,t){if(!(e instanceof $))return!1;for(var n=e.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof t)return!0}function wv(e){return!(e instanceof Pg||e instanceof wh||e instanceof Xh||e instanceof Zh||e instanceof Qh||e instanceof ag||e instanceof rg)}function Tv(e){if(e===null)return[];if(e instanceof ah)return e.body;if(e instanceof oh)return[];if(e instanceof Qm)return[e];throw Error(`Can't convert thing to statement array`)}function Ev(e,t){let n=e=>{if(e instanceof $&&t.includes(e.definition()))return w_};return C_(e,(t,r)=>{if(t instanceof _h&&t!==e){var i=r.parent();return i instanceof og&&i.expression===t&&!(t.async||t.is_generator)?void 0:S_(t,n)?w_:!0}})}function Dv(e,t){for(var n,r=0;n=e.parent(r);r++)if(n instanceof bh||n instanceof Ag){var i=n.name;if(i&&i.definition()===t)return!0}return!1}function Ov(e,t){return t.top_retain&&e instanceof wh&&rv(e,nv)&&e.name&&t.top_retain(e.name.definition())}function kv(e){let t=new Map;for(var n of Object.keys(e))t.set(n,Hp(e[n]));return(e,n)=>{let r=t.get(e);return r!=null&&r.has(n)}}const Av=new Set([`Number`,`String`,`Array`,`Object`,`Function`,`Promise`]),jv=[`constructor`,`toString`,`valueOf`],Mv=kv({Array:[`at`,`flat`,`includes`,`indexOf`,`join`,`lastIndexOf`,`slice`,...jv],Boolean:jv,Function:jv,Number:[`toExponential`,`toFixed`,`toPrecision`,...jv],Object:jv,RegExp:[`test`,...jv],String:[`at`,`charAt`,`charCodeAt`,`charPointAt`,`concat`,`endsWith`,`fromCharCode`,`fromCodePoint`,`includes`,`indexOf`,`italics`,`lastIndexOf`,`localeCompare`,`match`,`matchAll`,`normalize`,`padStart`,`padEnd`,`repeat`,`replace`,`replaceAll`,`search`,`slice`,`split`,`startsWith`,`substr`,`substring`,`repeat`,`toLocaleLowerCase`,`toLocaleUpperCase`,`toLowerCase`,`toUpperCase`,`trim`,`trimEnd`,`trimStart`,...jv]}),Nv=kv({Array:[`isArray`],Math:[`abs`,`acos`,`asin`,`atan`,`ceil`,`cos`,`exp`,`floor`,`log`,`round`,`sin`,`sqrt`,`tan`,`atan2`,`pow`,`max`,`min`],Number:[`isFinite`,`isNaN`],Object:[`create`,`getOwnPropertyDescriptor`,`getOwnPropertyNames`,`getPrototypeOf`,`isExtensible`,`isFrozen`,`isSealed`,`hasOwn`,`keys`],String:[`fromCharCode`]}),Pv=kv({Math:[`E`,`LN10`,`LN2`,`LOG2E`,`LOG10E`,`PI`,`SQRT1_2`,`SQRT2`],Number:[`MAX_VALUE`,`MIN_VALUE`,`NaN`,`NEGATIVE_INFINITY`,`POSITIVE_INFINITY`]}),Fv=e=>e instanceof $&&e.definition().undeclared,Iv=Hp(`<<< >> << & | ^ ~`),Lv=Hp(`&& || ??`),Rv=Hp(`delete ++ --`);(function(e){let t=Hp(`! delete`),n=Hp(`in instanceof == != === !== < <= >= >`);e(Z,Np),e(hg,function(){return t.has(this.operator)}),e(Q,function(){return n.has(this.operator)||Lv.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(_g,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(vg,function(){return this.operator==`=`&&this.right.is_boolean()}),e(cg,function(){return this.tail_node().is_boolean()}),e(x_,Pp),e(b_,Pp)})(function(e,t){e.DEFMETHOD(`is_boolean`,t)}),(function(e){e(Z,Np),e(u_,Pp);let t=Hp(`+ - ~ ++ --`);e(mg,function(e){return t.has(this.operator)&&this.expression.is_number(e)});let n=Hp(`- * / % & | ^ << >> >>>`);e(Q,function(e){return this.operator===`+`?this.left.is_number(e)&&this.right.is_number_or_bigint(e)||this.right.is_number(e)&&this.left.is_number_or_bigint(e):n.has(this.operator)?this.left.is_number(e)||this.right.is_number(e):!1}),e(vg,function(e){return(this.operator===`=`||n.has(this.operator.slice(0,-1)))&&this.right.is_number(e)}),e(cg,function(e){return this.tail_node().is_number(e)}),e(_g,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})})(function(e,t){e.DEFMETHOD(`is_number`,t)}),(function(e){e(Z,Np),e(d_,Pp);let t=Hp(`+ - ~ ++ --`);e(mg,function(e){return t.has(this.operator)&&this.expression.is_bigint(e)});let n=Hp(`- * / % & | ^ << >>`);e(Q,function(e){return this.operator===`+`?this.left.is_bigint(e)&&this.right.is_number_or_bigint(e)||this.right.is_bigint(e)&&this.left.is_number_or_bigint(e):n.has(this.operator)?this.left.is_bigint(e)||this.right.is_bigint(e):!1}),e(vg,function(e){return(n.has(this.operator.slice(0,-1))||this.operator==`=`)&&this.right.is_bigint(e)}),e(cg,function(e){return this.tail_node().is_bigint(e)}),e(_g,function(e){return this.consequent.is_bigint(e)&&this.alternative.is_bigint(e)})})(function(e,t){e.DEFMETHOD(`is_bigint`,t)}),(function(e){e(Z,Np),e(u_,Pp),e(d_,Pp);let t=Hp(`+ - ~ ++ --`);e(mg,function(e){return t.has(this.operator)});let n=Hp(`- * / % & | ^ << >>`);e(Q,function(e){return this.operator===`+`?this.left.is_number_or_bigint(e)&&this.right.is_number_or_bigint(e):n.has(this.operator)}),e(vg,function(e){return n.has(this.operator.slice(0,-1))||this.operator==`=`&&this.right.is_number_or_bigint(e)}),e(cg,function(e){return this.tail_node().is_number_or_bigint(e)}),e(_g,function(e){return this.consequent.is_number_or_bigint(e)&&this.alternative.is_number_or_bigint(e)})})(function(e,t){e.DEFMETHOD(`is_number_or_bigint`,t)}),(function(e){e(Z,Np),e(u_,function(e){return this.value===(this.value|0)}),e(hg,function(e){return this.operator==`~`?this.expression.is_number(e):this.operator===`+`?this.expression.is_32_bit_integer(e):!1}),e(Q,function(e){return Iv.has(this.operator)&&(this.left.is_number(e)||this.right.is_number(e))})})(function(e,t){e.DEFMETHOD(`is_32_bit_integer`,t)}),(function(e){e(Z,Np),e(l_,Pp),e(Dh,Pp),e(hg,function(){return this.operator==`typeof`}),e(Q,function(e){return this.operator==`+`&&(this.left.is_string(e)||this.right.is_string(e))}),e(vg,function(e){return(this.operator==`=`||this.operator==`+=`)&&this.right.is_string(e)}),e(cg,function(e){return this.tail_node().is_string(e)}),e(_g,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})})(function(e,t){e.DEFMETHOD(`is_string`,t)});function zv(e,t){return rv(e,8)||e instanceof g_||e instanceof hg&&e.operator==`void`&&!e.expression.has_side_effects(t)}function Bv(e,t){let n;return e instanceof m_||zv(e,t)||e instanceof $&&(n=e.definition().fixed)instanceof Z&&Hv(n,t)}function Vv(e,t){return e instanceof lg||e instanceof og?e.optional&&Bv(e.expression,t)||Vv(e.expression,t):e instanceof pg?Vv(e.expression,t):!1}function Hv(e,t){return Bv(e,t)?!0:Vv(e,t)}(function(e){e(Z,Pp),e(oh,Np),e(c_,Np),e(o_,Np);function t(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return!0;return!1}e(ih,function(e){return t(this.body,e)}),e(og,function(e){return!this.is_callee_pure(e)&&(!this.expression.is_call_pure(e)||this.expression.has_side_effects(e))?!0:t(this.args,e)}),e(zh,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Hh,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Uh,function(e){return this.body.has_side_effects(e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Rh,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(ig,Np),e(ch,function(e){return this.body.has_side_effects(e)}),e(th,function(e){return this.body.has_side_effects(e)}),e(bh,Np),e(Ag,function(e){return this.extends&&this.extends.has_side_effects(e)?!0:t(this.properties,e)}),e(Fg,function(e){return t(this.body,e)}),e(Q,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(vg,Pp),e(_g,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(mg,function(e){return Rv.has(this.operator)||this.expression.has_side_effects(e)}),e($,function(e){return!this.is_declared(e)&&!Av.has(this.name)}),e(Jg,Np),e(zg,Np),e(xg,function(e){return t(this.properties,e)}),e(Cg,function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.value&&this.value.has_side_effects(e)}),e([jg,Mg],function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.static&&this.value&&this.value.has_side_effects(e)}),e([kg,Tg,wg,Og,Dg,Eg],function(e){return this.computed_key()&&this.key.has_side_effects(e)}),e(bg,function(e){return t(this.elements,e)}),e(ug,function(e){return Hv(this,e)?this.expression.has_side_effects(e):!this.optional&&this.expression.may_throw_on_access(e)?!0:this.expression.has_side_effects(e)}),e(fg,function(e){if(Hv(this,e))return this.expression.has_side_effects(e);if(!this.optional&&this.expression.may_throw_on_access(e))return!0;var t=this.property.has_side_effects(e);return t&&this.optional?!0:t||this.expression.has_side_effects(e)}),e(pg,function(e){return this.expression.has_side_effects(e)}),e(cg,function(e){return t(this.expressions,e)}),e(Jh,function(e){return t(this.definitions,e)}),e(eg,function(){return this.value!=null}),e(Oh,Np),e(Dh,function(e){return t(this.segments,e)})})(function(e,t){for(let n of[].concat(e))n.DEFMETHOD(`has_side_effects`,t)}),(function(e){e(Z,Pp),e(c_,Np),e(oh,Np),e(bh,Np),e(zg,Np),e(o_,Np),e(ig,Np);function t(e,t){for(var n=e.length;--n>=0;)if(e[n].may_throw(t))return!0;return!1}e(Ag,function(e){return this.extends&&this.extends.may_throw(e)?!0:t(this.properties,e)}),e(Fg,function(e){return t(this.body,e)}),e(bg,function(e){return t(this.elements,e)}),e(vg,function(e){return this.right.may_throw(e)?!0:!e.has_directive(`use strict`)&&this.operator==`=`&&this.left instanceof $?!1:this.left.may_throw(e)}),e(Q,function(e){return this.left.may_throw(e)||this.right.may_throw(e)}),e(ih,function(e){return t(this.body,e)}),e(og,function(e){return Hv(this,e)?!1:t(this.args,e)?!0:this.is_callee_pure(e)?!1:this.expression.may_throw(e)?!0:!(this.expression instanceof bh)||t(this.expression.body,e)}),e(Hh,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e(_g,function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)}),e(Jh,function(e){return t(this.definitions,e)}),e(Rh,function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)}),e(ch,function(e){return this.body.may_throw(e)}),e(xg,function(e){return t(this.properties,e)}),e(Cg,function(e){return this.computed_key()&&this.key.may_throw(e)||this.value?this.value.may_throw(e):!1}),e([jg,Mg],function(e){return this.computed_key()&&this.key.may_throw(e)||this.static&&this.value&&this.value.may_throw(e)}),e([Og,Dg,Eg],function(e){return this.computed_key()&&this.key.may_throw(e)}),e([kg,Tg,wg],Np),e(jh,function(e){return this.value&&this.value.may_throw(e)}),e(cg,function(e){return t(this.expressions,e)}),e(th,function(e){return this.body.may_throw(e)}),e(ug,function(e){return Hv(this,e)?!1:!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e)}),e(fg,function(e){return Hv(this,e)?!1:!this.optional&&this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e)}),e(pg,function(e){return this.expression.may_throw(e)}),e(zh,function(e){return this.expression.may_throw(e)||t(this.body,e)}),e($,function(e){return!this.is_declared(e)&&!Av.has(this.name)}),e(Jg,Np),e(Uh,function(e){return this.bcatch?this.bcatch.may_throw(e):this.body.may_throw(e)||this.bfinally&&this.bfinally.may_throw(e)}),e(mg,function(e){return this.operator==`typeof`&&this.expression instanceof $?!1:this.expression.may_throw(e)}),e(eg,function(e){return this.value?this.value.may_throw(e):!1})})(function(e,t){for(let n of[].concat(e))n.DEFMETHOD(`may_throw`,t)}),(function(e){function t(e){let t=!0;return S_(this,n=>{if(n instanceof $){if(rv(this,16))return t=!1,w_;var r=n.definition();if(kp(r,this.enclosed)&&!this.variables.has(r.name)){if(e){var i=e.find_variable(n);if(r.undeclared?!i:i===r)return t=`f`,!0}return t=!1,w_}return!0}if(n instanceof o_&&this instanceof Ch)return t=!1,w_}),t}e(Z,Np),e(c_,Pp),e(Ag,function(e){if(this.extends&&!this.extends.is_constant_expression(e))return!1;for(let t of this.properties)if(t.computed_key()&&!t.key.is_constant_expression(e)||t.static&&t.value&&!t.value.is_constant_expression(e)||t instanceof Fg)return!1;return t.call(this,e)}),e(bh,t),e(mg,function(){return this.expression.is_constant_expression()}),e(Q,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(bg,function(){return this.elements.every(e=>e.is_constant_expression())}),e(xg,function(){return this.properties.every(e=>e.is_constant_expression())}),e(Sg,function(){return!!(!(this.key instanceof Z)&&this.value&&this.value.is_constant_expression())})})(function(e,t){e.DEFMETHOD(`is_constant_expression`,t)}),(function(e){Z.DEFMETHOD(`may_throw_on_access`,function(e){return!e.option(`pure_getters`)||this._dot_throw(e)});function t(e){return/strict/.test(e.option(`pure_getters`))}e(Z,t),e(m_,Pp),e(g_,Pp),e(c_,Np),e(bg,Np),e(xg,function(e){if(!t(e))return!1;for(var n=this.properties.length;--n>=0;)if(this.properties[n]._dot_throw(e))return!0;return!1}),e(Ag,Np),e(Sg,Np),e(Dg,Pp),e(yh,function(e){return this.expression._dot_throw(e)}),e(Sh,Np),e(Ch,Np),e(gg,Np),e(hg,function(){return this.operator==`void`}),e(Q,function(e){return(this.operator==`&&`||this.operator==`||`||this.operator==`??`)&&(this.left._dot_throw(e)||this.right._dot_throw(e))}),e(vg,function(e){return this.logical?!0:this.operator==`=`&&this.right._dot_throw(e)}),e(_g,function(e){return this.consequent._dot_throw(e)||this.alternative._dot_throw(e)}),e(ug,function(e){return t(e)?this.property==`prototype`?!(this.expression instanceof Sh||this.expression instanceof Ag):!0:!1}),e(pg,function(e){return this.expression._dot_throw(e)}),e(cg,function(e){return this.tail_node()._dot_throw(e)}),e($,function(e){if(this.name===`arguments`&&this.scope instanceof bh)return!1;if(rv(this,8))return!0;if(!t(e)||Fv(this)&&this.is_declared(e)||this.is_immutable())return!1;var n=this.fixed_value();return!n||n._dot_throw(e)})})(function(e,t){e.DEFMETHOD(`_dot_throw`,t)});function Uv(e,t){if(t instanceof mg&&Rv.has(t.operator))return t.expression;if(t instanceof vg&&t.left===e||t instanceof mh&&t.init===e)return e}(function(e){function t(e){return Y(hg,e,{operator:`!`,expression:e})}function n(e,n,r){var i=t(e);if(r){var a=Y(th,n,{body:n});return uv(i,a)===a?n:i}return uv(i,n)}e(Z,function(){return t(this)}),e(Qm,function(){throw Error(`Cannot negate a statement`)}),e(Sh,function(){return t(this)}),e(Ag,function(){return t(this)}),e(Ch,function(){return t(this)}),e(hg,function(){return this.operator==`!`?this.expression:t(this)}),e(cg,function(e){var t=this.expressions.slice();return t.push(t.pop().negate(e)),sv(this,t)}),e(_g,function(e,t){var r=this.clone();return r.consequent=r.consequent.negate(e),r.alternative=r.alternative.negate(e),n(this,r,t)}),e(Q,function(e,r){var i=this.clone(),a=this.operator;if(e.option(`unsafe_comps`))switch(a){case`<=`:return i.operator=`>`,i;case`<`:return i.operator=`>=`,i;case`>=`:return i.operator=`<`,i;case`>`:return i.operator=`<=`,i}switch(a){case`==`:return i.operator=`!=`,i;case`!=`:return i.operator=`==`,i;case`===`:return i.operator=`!==`,i;case`!==`:return i.operator=`===`,i;case`&&`:return i.operator=`||`,i.left=i.left.negate(e,r),i.right=i.right.negate(e),n(this,i,r);case`||`:return i.operator=`&&`,i.left=i.left.negate(e,r),i.right=i.right.negate(e),n(this,i,r)}return t(this)})})(function(e,t){e.DEFMETHOD(`negate`,function(e,n){return t.call(this,e,n)})}),(function(e){function t(e){return Y(hg,e,{operator:`~`,expression:e})}e(Z,function(e){return t(this)}),e(u_,function(e){let n=~this.value;return n.toString().length>this.value.toString().length?t(this):Y(u_,this,{value:n})}),e(hg,function(e,n){return this.operator==`~`&&(this.expression.is_32_bit_integer(e)||(n??e.in_32_bit_context()))?this.expression:t(this)})})(function(e,t){e.DEFMETHOD(`bitwise_negate`,t)});var Wv=Hp(`Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError`);og.DEFMETHOD(`is_callee_pure`,function(e){if(e.option(`unsafe`)){var t=this.expression,n=this.args&&this.args[0]&&this.args[0].evaluate(e);if(t.expression&&t.expression.name===`hasOwnProperty`&&(n==null||n.thedef&&n.thedef.undeclared))return!1;if(Fv(t)&&Wv.has(t.name)||t instanceof ug&&Fv(t.expression)&&Nv(t.expression.name,t.property))return!0}return this instanceof sg&&e.option(`pure_new`)||e.option(`side_effects`)&&$p(this,1)?!0:!e.pure_funcs(this)}),Z.DEFMETHOD(`is_call_pure`,Np),ug.DEFMETHOD(`is_call_pure`,function(e){if(!e.option(`unsafe`))return;let t=this.expression,n;return t instanceof bg?n=`Array`:t.is_boolean()?n=`Boolean`:t.is_number(e)?n=`Number`:t instanceof f_?n=`RegExp`:t.is_string(e)?n=`String`:this.may_throw_on_access(e)||(n=`Object`),n!=null&&Mv(n,this.property)});const Gv=e=>e&&e.aborts();(function(e){e(Qm,Ip),e(kh,Fp);function t(){for(var e=0;e<this.body.length;e++)if(Gv(this.body[e]))return this.body[e];return null}e(rg,Ip),e(ah,t),e(Bh,t),e(Pg,function(){for(let e of this.properties)if(e instanceof Fg&&e.aborts())return e;return null}),e(Fg,t),e(Rh,function(){return this.alternative&&Gv(this.body)&&Gv(this.alternative)&&this})})(function(e,t){e.DEFMETHOD(`aborts`,t)}),Z.DEFMETHOD(`contains_this`,function(){return S_(this,e=>{if(e instanceof o_)return w_;if(e!==this&&e instanceof _h&&!(e instanceof Ch))return!0})});function Kv(e,t,n,r,i,a){var o=t.parent(i),s=Uv(n,o);if(s)return s;if(!a&&o instanceof og&&o.expression===n&&!(r instanceof Ch)&&!(r instanceof Ag)&&!o.is_callee_pure(e)&&(!(r instanceof Sh)||!(o instanceof sg)&&r.contains_this()))return!0;if(o instanceof bg)return Kv(e,t,o,o,i+1);if(o instanceof Cg&&n===o.value){var c=t.parent(i+1);return Kv(e,t,c,c,i+2)}if(o instanceof lg&&o.expression===n){var l=mv(r,o.property);return!a&&Kv(e,t,o,l,i+1)}}function qv(e){for(let t=-1,n,r;n=e.parent(t),r=e.parent(t+1);t++){if(r instanceof cg)if(r.expressions.indexOf(n)!==r.expressions.length-1){let n=e.parent(t+2);return!(r.expressions.length>2||r.expressions.length===1||!_v(n,r,r.expressions[1]))}else continue;if(r instanceof mg){let e=r.operator;if(e===`void`)return!1;if(e===`typeof`||e===`+`||e===`-`||e===`!`||e===`~`)continue}return!(r instanceof th||r instanceof ch||r instanceof _h)}return!0}function Jv(e,t){e.DEFMETHOD(`_eval`,t)}const Yv=Symbol(`This AST_Chain is nullish`);Z.DEFMETHOD(`evaluate`,function(e){if(!e.option(`evaluate`))return this;var t=this._eval(e,1);if(!t||t instanceof RegExp)return t;if(typeof t==`function`||typeof t==`object`||t==Yv)return this;if(typeof t==`string`){let n=this.size(e);if(t.length+2>n)return this}return t});var Xv=Hp(`! ~ - + void`);Z.DEFMETHOD(`is_constant`,function(){return this instanceof c_?!(this instanceof f_):this instanceof hg&&Xv.has(this.operator)&&(this.expression instanceof c_||this.expression.is_constant())}),Jv(Qm,function(){throw Error(zp(`Cannot evaluate a statement [{file}:{line},{col}]`,this.start))}),Jv(bh,Fp),Jv(Ag,Fp),Jv(Z,Fp),Jv(c_,function(){return this.getValue()});const Zv=typeof BigInt==`function`;Jv(d_,function(){return Zv?BigInt(this.value):this}),Jv(f_,function(e){let t=e.evaluated_regexps.get(this.value);if(t===void 0&&Zp(this.value.source)){try{let{source:e,flags:n}=this.value;t=new RegExp(e,n)}catch{t=null}e.evaluated_regexps.set(this.value,t)}return t||this}),Jv(Dh,function(){return this.segments.length===1?this.segments[0].value:this}),Jv(Sh,function(e){if(e.option(`unsafe`)){var t=function(){};return t.node=this,t.toString=()=>this.print_to_string(),t}return this}),Jv(bg,function(e,t){if(e.option(`unsafe`)){for(var n=[],r=0,i=this.elements.length;r<i;r++){var a=this.elements[r],o=a._eval(e,t);if(a===o)return this;n.push(o)}return n}return this}),Jv(xg,function(e,t){if(e.option(`unsafe`)){for(var n={},r=0,i=this.properties.length;r<i;r++){var a=this.properties[r];if(a instanceof yh)return this;var o=a.key;if(o instanceof Lg)o=o.name;else if(o instanceof Z&&(o=o._eval(e,t),o===a.key))return this;if(typeof Object.prototype[o]==`function`||!(a.value instanceof Sh)&&(n[o]=a.value._eval(e,t),n[o]===a.value))return this}return n}return this});var Qv=Hp(`! typeof void`);Jv(hg,function(e,t){var n=this.expression;if(e.option(`typeofs`)&&this.operator==`typeof`){if(n instanceof bh||n instanceof $&&n.fixed_value()instanceof bh)return`function`;if((n instanceof xg||n instanceof bg||n instanceof $&&(n.fixed_value()instanceof xg||n.fixed_value()instanceof bg))&&!n.has_side_effects(e))return`object`}if(Qv.has(this.operator)||t++,n=n._eval(e,t),n===this.expression)return this;switch(this.operator){case`!`:return!n;case`typeof`:return n instanceof RegExp?this:typeof n;case`void`:return;case`~`:return~n;case`-`:return-n;case`+`:return+n}return this});var $v=Hp(`&& || ?? === !==`);const ey=Hp(`== != === !==`),ty=e=>typeof e==`object`||typeof e==`function`||typeof e==`symbol`;Jv(Q,function(e,t){$v.has(this.operator)||t++;var n=this.left._eval(e,t);if(n===this.left)return this;var r=this.right._eval(e,t);if(r===this.right||n!=null&&r!=null&&ey.has(this.operator)&&ty(n)&&ty(r)&&typeof n==typeof r||typeof n==`bigint`!=(typeof r==`bigint`)||typeof n==`bigint`&&(this.operator===`>>>`||this.operator===`/`&&Number(r)===0))return this;var i;switch(this.operator){case`&&`:i=n&&r;break;case`||`:i=n||r;break;case`??`:i=n??r;break;case`|`:i=n|r;break;case`&`:i=n&r;break;case`^`:i=n^r;break;case`+`:i=n+r;break;case`*`:i=n*r;break;case`**`:i=n**r;break;case`/`:i=n/r;break;case`%`:i=n%r;break;case`-`:i=n-r;break;case`<<`:i=n<<r;break;case`>>`:i=n>>r;break;case`>>>`:i=n>>>r;break;case`==`:i=n==r;break;case`===`:i=n===r;break;case`!=`:i=n!=r;break;case`!==`:i=n!==r;break;case`<`:i=n<r;break;case`<=`:i=n<=r;break;case`>`:i=n>r;break;case`>=`:i=n>=r;break;default:return this}return typeof i==`number`&&isNaN(i)&&e.find_parent(gh)?this:i}),Jv(_g,function(e,t){var n=this.condition._eval(e,t);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,i=r._eval(e,t);return i===r?this:i});const ny=new Set;Jv($,function(e,t){if(ny.has(this))return this;var n=this.fixed_value();if(!n)return this;ny.add(this);let r=n._eval(e,t);if(ny.delete(this),r===n)return this;if(r&&typeof r==`object`){var i=this.definition().escaped;if(i&&t>i)return this}return r});const ry={Array,Math,Number,Object,String},iy=new Set([`dotAll`,`global`,`ignoreCase`,`multiline`,`sticky`,`unicode`]);Jv(lg,function(e,t){let n=this.expression._eval(e,t+1);if(n===Yv||this.optional&&n==null)return Yv;if(this.property===`length`){if(typeof n==`string`)return n.length;if(n instanceof bg&&n.elements.every(e=>!(e instanceof yh))&&n.elements.every(t=>!t.has_side_effects(e)))return n.elements.length}if(e.option(`unsafe`)){var r=this.property;if(r instanceof Z&&(r=r._eval(e,t),r===this.property))return this;var i=this.expression;if(Fv(i)){var a,o=i.name===`hasOwnProperty`&&r===`call`&&(a=e.parent()&&e.parent().args)&&a&&a[0]&&a[0].evaluate(e);if(o=o instanceof ug?o.expression:o,o==null||o.thedef&&o.thedef.undeclared)return this.clone();if(!Pv(i.name,r))return this;n=ry[i.name]}else{if(n instanceof RegExp){if(r==`source`)return Yp(n.source);if(r==`flags`||iy.has(r))return n[r]}if(!n||n===i||!Kp(n,r))return this;if(typeof n==`function`)switch(r){case`name`:return n.node.name?n.node.name.name:``;case`length`:return n.node.length_property();default:return this}}return n[r]}return this}),Jv(pg,function(e,t){let n=this.expression._eval(e,t);return n===Yv?void 0:n===this.expression?this:n}),Jv(og,function(e,t){var n=this.expression;let r=n._eval(e,t);if(r===Yv||this.optional&&r==null)return Yv;if(e.option(`unsafe`)&&n instanceof lg){var i=n.property;if(i instanceof Z&&(i=i._eval(e,t),i===n.property))return this;var a,o=n.expression;if(Fv(o)){var s=o.name===`hasOwnProperty`&&i===`call`&&this.args[0]&&this.args[0].evaluate(e);if(s=s instanceof ug?s.expression:s,s==null||s.thedef&&s.thedef.undeclared)return this.clone();if(!Nv(o.name,i))return this;a=ry[o.name]}else if(a=o._eval(e,t+1),a===o||!a||!Mv(a.constructor.name,i))return this;for(var c=[],l=0,u=this.args.length;l<u;l++){var d=this.args[l],f=d._eval(e,t);if(d===f||d instanceof bh)return this;c.push(f)}try{return a[i].apply(a,c)}catch{}}return this}),Jv(sg,Fp);function ay(e,t){for(let n of[].concat(e))n.DEFMETHOD(`drop_side_effect_free`,t)}function oy(e,t,n){var r=e.length;if(!r)return null;for(var i=[],a=!1,o=0;o<r;o++){var s=e[o].drop_side_effect_free(t,n);a|=s!==e[o],s&&(i.push(s),n=!1)}return a?i.length?i:null:e}ay(Z,Fp),ay(c_,Ip),ay(o_,Ip),ay(og,function(e,t){if(Vv(this,e))return this.expression.drop_side_effect_free(e,t);if(!this.is_callee_pure(e)){if(this.expression.is_call_pure(e)){var n=this.args.slice();return n.unshift(this.expression.expression),n=oy(n,e,t),n&&sv(this,n)}if(vv(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,e),r}return this}var i=oy(this.args,e,t);return i&&sv(this,i)}),ay(xh,Ip),ay(Sh,Ip),ay(Ch,Ip),ay(Ag,function(e){let t=[];if(this.is_self_referential()&&this.has_side_effects(e))return this;let n=this.extends&&this.extends.drop_side_effect_free(e);n&&t.push(n);for(let n of this.properties)if(n instanceof Fg){if(n.has_side_effects(e))return this}else{let r=n.drop_side_effect_free(e);r&&t.push(r)}if(!t.length)return null;let r=sv(this,t);return this instanceof Pg?Y(th,this,{body:r}):r}),ay([jg,Mg],function(e){let t=this.computed_key()&&this.key.drop_side_effect_free(e),n=this.static&&this.value&&this.value.drop_side_effect_free(e);return t&&n?sv(this,[t,n]):t||n||null}),ay(Q,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);if(Lv.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}else{var i=this.left.drop_side_effect_free(e,t);return i?sv(this,[i,n]):this.right.drop_side_effect_free(e,t)}}),ay(vg,function(e){if(this.logical)return this;var t=this.left;if(t.has_side_effects(e)||e.has_directive(`use strict`)&&t instanceof lg&&t.expression.is_constant())return this;for(iv(this,32);t instanceof lg;)t=t.expression;return t.is_constant_expression(e.find_parent(_h))?this.right.drop_side_effect_free(e):this}),ay(_g,function(e){var t=this.consequent.drop_side_effect_free(e),n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?Y(Q,this,{operator:`||`,left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return Y(Q,this,{operator:`&&`,left:this.condition,right:t});var r=this.clone();return r.consequent=t,r.alternative=n,r}),ay(mg,function(e,t){if(Rv.has(this.operator))return this.expression.has_side_effects(e)?av(this,32):iv(this,32),this;if(this.operator==`typeof`&&this.expression instanceof $)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&n&&yv(n)?n===this.expression&&this.operator==`!`?this:n.negate(e,t):n}),ay($,function(e){return this.is_declared(e)||Av.has(this.name)?null:this}),ay(xg,function(e,t){var n=oy(this.properties,e,t);return n&&sv(this,n)}),ay(Cg,function(e,t){let n=this.key instanceof Z&&this.key.drop_side_effect_free(e,t),r=this.value.drop_side_effect_free(e,t);return n&&r?sv(this,[n,r]):n||r}),ay([Og,Dg,Eg],function(){return this.computed_key()?this.key:null}),ay([kg,Tg,wg],function(){return null}),ay(bg,function(e,t){var n=oy(this.elements,e,t);return n&&sv(this,n)}),ay(ug,function(e,t){return Vv(this,e)?this.expression.drop_side_effect_free(e,t):!this.optional&&this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)}),ay(fg,function(e,t){if(Vv(this,e))return this.expression.drop_side_effect_free(e,t);if(!this.optional&&this.expression.may_throw_on_access(e))return this;var n=this.property.drop_side_effect_free(e);if(n&&this.optional)return this;var r=this.expression.drop_side_effect_free(e,t);return r&&n?sv(this,[r,n]):r||n}),ay(pg,function(e,t){return this.expression.drop_side_effect_free(e,t)}),ay(cg,function(e){var t=this.tail_node(),n=t.drop_side_effect_free(e);if(n===t)return this;var r=this.expressions.slice(0,-1);return n&&r.push(n),r.length?sv(this,r):Y(u_,this,{value:0})}),ay(yh,function(e,t){return this.expression.drop_side_effect_free(e,t)}),ay(Oh,Ip),ay(Dh,function(e){var t=oy(this.segments,e,N_);return t&&sv(this,t)});const sy=/keep_assign/;_h.DEFMETHOD(`drop_unused`,function(e){if(!e.option(`unused`)||e.has_directive(`use asm`)||!this.variables)return;var t=this;if(t.pinned())return;var n=!(t instanceof vh)||e.toplevel.funcs,r=!(t instanceof vh)||e.toplevel.vars;let i=sy.test(e.option(`unused`))?Np:function(e){if(e instanceof vg&&!e.logical&&(rv(e,32)||e.operator==`=`))return e.left;if(e instanceof mg&&rv(e,32))return e.expression};var a=new Map,o=new Map;t instanceof vh&&e.top_retain&&t.variables.forEach(function(t){e.top_retain(t)&&a.set(t.id,t)});var s=new Map,c=new Map,l=this,u=new T_(function(i,d){if(i instanceof bh&&i.uses_arguments&&!u.has_directive(`use strict`)&&i.argnames.forEach(function(e){if(e instanceof zg){var t=e.definition();a.set(t.id,t)}}),i===t)return;if(i instanceof Ag&&i.has_side_effects(e)&&(i.is_self_referential()?d():i.visit_nondeferred_class_parts(u)),i instanceof wh||i instanceof Pg){var p=i.name.definition();return(u.parent()instanceof ag||!n&&l===t)&&p.global&&a.set(p.id,p),Up(c,p.id,i),!0}let m=l===t;if(i instanceof Gg&&m&&Up(s,i.definition().id,i),i instanceof Jh&&m){let t=u.parent()instanceof ag;return i.definitions.forEach(function(n){if(n.name instanceof Bg&&Up(s,n.name.definition().id,n),(t||!r)&&S_(n.name,e=>{if(e instanceof zg){let t=e.definition();t.global&&a.set(t.id,t)}}),n.name instanceof Th&&n.walk(u),n.name instanceof zg&&n.value){var i=n.name.definition();Up(c,i.id,n.value),!i.chained&&n.name.fixed_value()===n.value&&o.set(i.id,n),n.value.has_side_effects(e)&&n.value.walk(u)}}),!0}return f(i,d)});t.walk(u),u=new T_(f),a.forEach(function(e){var t=c.get(e.id);t&&t.forEach(function(e){e.walk(u)})});var d=new E_(function(c,u,f){var p=d.parent();if(r){let t=i(c);if(t instanceof $){var m=t.definition(),h=a.has(m.id);if(c instanceof vg){if(!h||o.has(m.id)&&o.get(m.id)!==c){let t=c.right.transform(d);return!h&&!t.has_side_effects(e)&&!qv(d)?f?Lp.skip:Y(u_,c,{value:0}):gv(p,c,t)}}else if(!h)return f?Lp.skip:Y(u_,c,{value:0})}}if(l===t){var m;if(c.name&&(c instanceof Ig&&!qp(e.option(`keep_classnames`),(m=c.name.definition()).name)||c instanceof Sh&&!qp(e.option(`keep_fnames`),(m=c.name.definition()).name))&&(!a.has(m.id)||m.orig.length>1)&&(c.name=null),c instanceof bh&&!(c instanceof xh))for(var g=!e.option(`keep_fargs`)||p instanceof og&&p.expression===c&&!c.pinned()&&(!c.name||c.name.unreferenced()),_=c.argnames,v=_.length;--v>=0;){var y=_[v];y instanceof yh&&(y=y.expression),y instanceof yg&&(y=y.left),!(y instanceof Th)&&!a.has(y.definition().id)?(iv(y,1),g&&_.pop()):g=!1}if(c instanceof Pg&&c!==t){let t=c.name.definition();return u(c,this),t.global&&!n||a.has(t.id)?c:c.drop_side_effect_free(e)??(t.eliminated++,f?Lp.skip:Y(oh,c))}if(c instanceof wh&&c!==t){let e=c.name.definition();if(!(e.global&&!n||a.has(e.id)))return e.eliminated++,f?Lp.skip:Y(oh,c)}if(c instanceof Jh&&!(p instanceof mh&&p.init===c)){var b=!(p instanceof vh)&&!(c instanceof Yh),x=[],S=[],C=[],w=[];switch(c.definitions.forEach(function(t){t.value&&=t.value.transform(d);var n=t.name instanceof Th,i=n?new G_(null,{name:`<destructure>`}):t.name.definition();if(b&&i.global)return C.push(t);if(!(r||b)||n&&(t.name.names.length||t.name.is_array||e.option(`pure_getters`)!=1)||a.has(i.id)){if(t.value&&o.has(i.id)&&o.get(i.id)!==t&&(t.value=t.value.drop_side_effect_free(e)),t.name instanceof Bg){var l=s.get(i.id);if(l.length>1&&(!t.value||i.orig.indexOf(t.name)>i.eliminated)){if(t.value){var u=Y($,t.name,t.name);i.references.push(u);var f=Y(vg,t,{operator:`=`,logical:!1,left:u,right:t.value});o.get(i.id)===t&&o.set(i.id,f),w.push(f.transform(d))}Bp(l,t),i.eliminated++;return}}t.value?(w.length>0&&(C.length>0?(w.push(t.value),t.value=sv(t.value,w)):x.push(Y(th,c,{body:sv(c,w)})),w=[]),C.push(t)):S.push(t)}else if(i.orig[0]instanceof Qg){var p=t.value&&t.value.drop_side_effect_free(e);p&&w.push(p),t.value=null,S.push(t)}else{var p=t.value&&t.value.drop_side_effect_free(e);p&&w.push(p),i.eliminated++}}),(S.length>0||C.length>0)&&(c.definitions=S.concat(C),x.push(c)),w.length>0&&x.push(Y(th,c,{body:sv(c,w)})),x.length){case 0:return f?Lp.skip:Y(oh,c);case 1:return x[0];default:return f?Lp.splice(x):Y(ah,c,{body:x})}}if(c instanceof ph){u(c,this);var T;return c.init instanceof ah&&(T=c.init,c.init=T.body.pop(),T.body.push(c)),c.init instanceof th?c.init=c.init.body:bv(c.init)&&(c.init=null),T?f?Lp.splice(T.body):T:c}if(c instanceof ch&&c.body instanceof ph){if(u(c,this),c.body instanceof ah){var T=c.body;return c.body=T.body.pop(),T.body.push(c),f?Lp.splice(T.body):T}return c}if(c instanceof ah)return u(c,this),f&&c.body.every(wv)?Lp.splice(c.body):c;if(c instanceof _h&&!(c instanceof Fg)){let e=l;return l=c,u(c,this),l=e,c}}},function(e,t){if(e instanceof cg)switch(e.expressions.length){case 0:return t?Lp.skip:Y(u_,e,{value:0});case 1:return e.expressions[0]}});t.transform(d);function f(e,n){var r;let s=i(e);if(s instanceof $&&!Cv(e.left,Vg)&&t.variables.get(s.name)===(r=s.definition()))return e instanceof vg&&(e.right.walk(u),!r.chained&&e.left.fixed_value()===e.right&&o.set(r.id,e)),!0;if(e instanceof $){if(r=e.definition(),!a.has(r.id)&&(a.set(r.id,r),r.orig[0]instanceof Qg)){let e=r.scope.is_block_scope()&&r.scope.get_defun_scope().variables.get(r.name);e&&a.set(e.id,e)}return!0}if(e instanceof Ag)return n(),!0;if(e instanceof _h&&!(e instanceof Fg)){var c=l;return l=e,n(),l=c,!0}}});function cy(e,t){e.DEFMETHOD(`reduce_vars`,t)}cy(Z,Mp);function ly(e,t){t.assignments=0,t.chained=!1,t.direct_access=!1,t.escaped=0,t.recursive_refs=0,t.references=[],t.single_use=void 0,t.scope.pinned()||t.orig[0]instanceof Gg&&t.scope.uses_arguments?t.fixed=!1:t.orig[0]instanceof Hg||!e.exposed(t)?t.fixed=t.init:t.fixed=!1}function uy(e,t,n){n.variables.forEach(function(n){ly(t,n),n.fixed===null?(e.defs_to_safe_ids.set(n.id,e.safe_ids),my(e,n,!0)):n.fixed&&(e.loop_ids.set(n.id,e.in_loop),my(e,n,!0))})}function dy(e,t){t.block_scope&&t.block_scope.variables.forEach(t=>{ly(e,t)})}function fy(e){e.safe_ids=Object.create(e.safe_ids)}function py(e){e.safe_ids=Object.getPrototypeOf(e.safe_ids)}function my(e,t,n){e.safe_ids[t.id]=n}function hy(e,t){if(t.single_use==`m`)return!1;if(e.safe_ids[t.id]){if(t.fixed==null){var n=t.orig[0];if(n instanceof Gg||n.name==`arguments`)return!1;t.fixed=Y(g_,n)}return!0}return t.fixed instanceof wh}function gy(e,t,n,r){if(t.fixed===void 0)return!0;let i;return t.fixed===null&&(i=e.defs_to_safe_ids.get(t.id))?(i[t.id]=!1,e.defs_to_safe_ids.delete(t.id),!0):!Kp(e.safe_ids,t.id)||!hy(e,t)||t.fixed===!1||t.fixed!=null&&(!r||t.references.length>t.assignments)?!1:t.fixed instanceof wh?r instanceof Z&&t.fixed.parent_scope===n:t.orig.every(e=>!(e instanceof Hg||e instanceof Kg||e instanceof Yg))}function _y(e,t,n){return t.option(`unused`)&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&e.loop_ids.get(n.id)===e.in_loop}function vy(e){return e?e.is_constant()||e instanceof bh||e instanceof o_:!1}function yy(e,t,n,r,i,a=0,o=1){var s=e.parent(a);if(!(i&&(i.is_constant()||i instanceof Ig))){if(s instanceof vg&&(s.operator===`=`||s.logical)&&r===s.right||s instanceof og&&(r!==s.expression||s instanceof sg)||s instanceof Ah&&r===s.value&&r.scope!==t.scope||s instanceof $h&&r===s.value||s instanceof Lh&&r===s.value&&r.scope!==t.scope){o>1&&!(i&&i.is_constant_expression(n))&&(o=1),(!t.escaped||t.escaped>o)&&(t.escaped=o);return}else if(s instanceof bg||s instanceof Ih||s instanceof Q&&Lv.has(s.operator)||s instanceof _g&&r!==s.condition||s instanceof yh||s instanceof cg&&r===s.tail_node())yy(e,t,n,s,s,a+1,o);else if(s instanceof Cg&&r===s.value){var c=e.parent(a+1);yy(e,t,n,c,c,a+2,o)}else if(s instanceof lg&&r===s.expression&&(i=mv(i,s.property),yy(e,t,n,s,i,a+1,o+1),i))return;a>0||s instanceof cg&&r!==s.tail_node()||s instanceof th||(t.direct_access=!0)}}const by=e=>S_(e,e=>{if(e instanceof Lg){var t=e.definition();t&&(e instanceof $&&t.references.push(e),t.fixed=!1)}});cy(xh,function(e,t,n){return fy(e),uy(e,n,this),t(),py(e),!0}),cy(vg,function(e,t,n){var r=this;if(r.left instanceof Th){by(r.left);return}let i=()=>{if(r.logical)return r.left.walk(e),fy(e),r.right.walk(e),py(e),!0};var a=r.left;if(!(a instanceof $))return i();var o=a.definition(),s=gy(e,o,a.scope,r.right);if(o.assignments++,!s)return i();var c=o.fixed;if(!c&&r.operator!=`=`&&!r.logical)return i();var l=r.operator==`=`,u=l?r.right:r;return Kv(n,e,r,u,0)?i():(o.references.push(a),r.logical||(l||(o.chained=!0),o.fixed=l?function(){return r.right}:function(){return Y(Q,r,{operator:r.operator.slice(0,-1),left:c instanceof Z?c:c(),right:r.right})}),r.logical?(my(e,o,!1),fy(e),r.right.walk(e),py(e),!0):(my(e,o,!1),r.right.walk(e),my(e,o,!0),yy(e,o,a.scope,r,u,0,1),!0))}),cy(Q,function(e){if(Lv.has(this.operator))return this.left.walk(e),fy(e),this.right.walk(e),py(e),!0}),cy(ih,function(e,t,n){dy(n,this)}),cy(Hh,function(e){return fy(e),this.expression.walk(e),py(e),fy(e),nh(this,e),py(e),!0}),cy(Ag,function(e,t){return av(this,16),fy(e),t(),py(e),!0}),cy(Fg,function(e,t,n){dy(n,this)}),cy(_g,function(e){return this.condition.walk(e),fy(e),this.consequent.walk(e),py(e),fy(e),this.alternative.walk(e),py(e),!0}),cy(pg,function(e,t){let n=e.safe_ids;return t(),e.safe_ids=n,!0}),cy(og,function(e){this.expression.walk(e),this.optional&&fy(e);for(let t of this.args)t.walk(e);return!0}),cy(lg,function(e){if(this.optional)return this.expression.walk(e),fy(e),this.property instanceof Z&&this.property.walk(e),!0}),cy(Vh,function(e,t){return fy(e),t(),py(e),!0});function xy(e,t,n){av(this,16),fy(e),uy(e,n,this);var r;return!this.name&&!this.uses_arguments&&!this.pinned()&&(r=e.parent())instanceof og&&r.expression===this&&!r.args.some(e=>e instanceof yh)&&this.argnames.every(e=>e instanceof Lg)&&this.argnames.forEach((t,n)=>{if(t.definition){var i=t.definition();i.orig.length>1||(i.fixed===void 0&&(!this.uses_arguments||e.has_directive(`use strict`))?(i.fixed=function(){return r.args[n]||Y(g_,r)},e.loop_ids.set(i.id,e.in_loop),my(e,i,!0)):i.fixed=!1)}}),t(),py(e),Sy(this),!0}function Sy(e){let t=[];S_(e,n=>{if(n!==e){if(n instanceof wh)return t.push(n),!0;if(n instanceof _h||n instanceof th)return!0}});let n=new Map,r=new Map,i=new Set,a=new Set;for(let o of t){let t=o.name.definition(),s=[];for(let r of o.enclosed)if(!(r.fixed===!1||r===t||r.scope.get_defun_scope()!==e)){if(i.add(r.id),r.assignments===0&&r.orig.length===1&&r.orig[0]instanceof Kg){a.add(r.id),i.add(r.id),a.add(t.id),i.add(t.id),n.has(t.id)||n.set(t.id,[]),n.get(t.id).push(r.id);continue}s.push(r)}s.length&&(r.set(t.id,s),a.add(t.id),i.add(t.id))}if(!r.size)return;let o=1,s=new Map,c=new Map;C_(e,(e,t)=>{if(e instanceof Lg&&e.thedef){let n=e.definition().id;o++,i.has(n)&&(e instanceof zg||Uv(e,t.parent()))&&c.set(n,o),a.has(n)&&!s.has(n)&&!Dv(t,n)&&s.set(n,o)}});for(let[e,t]of s){let r=new Set(n.get(e));for(let e of r){let i=s.get(e);if(!(i!=null&&i<t)){s.set(e,t);for(let t of n.get(e)||[])r.add(t)}}}for(let[e,t]of r){let n=s.get(e);if(n!==void 0)for(let e of t)e.fixed!==!1&&n<(c.get(e.id)||0)&&(e.fixed=!1)}}cy(bh,xy),cy(dh,function(e,t,n){dy(n,this);let r=e.in_loop;return e.in_loop=this,fy(e),this.body.walk(e),hv(this)&&(py(e),fy(e)),this.condition.walk(e),py(e),e.in_loop=r,!0}),cy(ph,function(e,t,n){dy(n,this),this.init&&this.init.walk(e);let r=e.in_loop;return e.in_loop=this,fy(e),this.condition&&this.condition.walk(e),this.body.walk(e),this.step&&(hv(this)&&(py(e),fy(e)),this.step.walk(e)),py(e),e.in_loop=r,!0}),cy(mh,function(e,t,n){dy(n,this),by(this.init),this.object.walk(e);let r=e.in_loop;return e.in_loop=this,fy(e),this.body.walk(e),py(e),e.in_loop=r,!0}),cy(Rh,function(e){return this.condition.walk(e),fy(e),this.body.walk(e),py(e),this.alternative&&(fy(e),this.alternative.walk(e),py(e)),!0}),cy(ch,function(e){return fy(e),this.body.walk(e),py(e),!0}),cy(Qg,function(){this.definition().fixed=!1}),cy($,function(e,t,n){var r=this.definition();r.references.push(this),r.references.length==1&&!r.fixed&&r.orig[0]instanceof Kg&&e.loop_ids.set(r.id,e.in_loop);var i;r.fixed===void 0||!hy(e,r)?r.fixed=!1:r.fixed&&(i=this.fixed_value(),i instanceof bh&&Dv(e,r)?r.recursive_refs++:i&&!n.exposed(r)&&_y(e,n,r)?r.single_use=i instanceof bh&&!i.pinned()||i instanceof Ag||r.scope===this.scope&&i.is_constant_expression():r.single_use=!1,Kv(n,e,this,i,0,vy(i))&&(r.single_use?r.single_use=`m`:r.fixed=!1)),yy(e,r,this.scope,this,i,0,1)}),cy(vh,function(e,t,n){return this.globals.forEach(function(e){ly(n,e)}),uy(e,n,this),t(),Sy(this),!0}),cy(Uh,function(e,t,n){return dy(n,this),fy(e),this.body.walk(e),py(e),this.bcatch&&(fy(e),this.bcatch.walk(e),py(e)),this.bfinally&&this.bfinally.walk(e),!0}),cy(mg,function(e){var t=this;if(!(t.operator!==`++`&&t.operator!==`--`)){var n=t.expression;if(n instanceof $){var r=n.definition(),i=gy(e,r,n.scope,!0);if(r.assignments++,i){var a=r.fixed;if(a)return r.references.push(n),r.chained=!0,r.fixed=function(){return Y(Q,t,{operator:t.operator.slice(0,-1),left:Y(hg,t,{operator:`+`,expression:a instanceof Z?a:a()}),right:Y(u_,t,{value:1})})},my(e,r,!0),!0}}}}),cy(eg,function(e,t){var n=this;if(n.name instanceof Th){by(n.name);return}var r=n.name.definition();if(n.value){if(gy(e,r,n.name.scope,n.value))return r.fixed=function(){return n.value},e.loop_ids.set(r.id,e.in_loop),my(e,r,!1),t(),my(e,r,!0),!0;r.fixed=!1}}),cy(tg,function(){by(this.name)}),cy(fh,function(e,t,n){dy(n,this);let r=e.in_loop;return e.in_loop=this,fy(e),t(),py(e),e.in_loop=r,!0});function Cy(e){return e instanceof lh&&e.body instanceof ah?e.body:e}function wy(e){if(e instanceof o_)return!0;if(e instanceof $)return e.definition().orig[0]instanceof Yg;if(e instanceof lg){if(e=e.expression,e instanceof $){if(e.is_immutable())return!1;e=e.fixed_value()}return e?e instanceof f_?!1:e instanceof c_?!0:wy(e):!0}return!1}function Ty(e){var t=[];return e.definitions.forEach(function(e){e.name instanceof zg?(e.value=null,t.push(e)):e.declarations_as_names().forEach(n=>{t.push(Y(eg,e,{name:n,value:null}))})}),t.length?Y(Yh,e,{definitions:t}):null}function Ey(e,t,n){S_(t,r=>{if(r instanceof Yh){let e=Ty(r);return e&&n.push(e),!0}if(r instanceof wh&&(r===t||!e.has_directive(`use strict`)))return n.push(r===t?r:Y(Yh,r,{definitions:[Y(eg,r,{name:Y(Bg,r.name,r.name),value:null})]})),!0;if(r instanceof ag||r instanceof rg)return n.push(r),!0;if(r instanceof _h||r instanceof Ag)return!0})}function Dy(e,t){let n=t.find_scope(),r=n.get_defun_scope(),{in_loop:i,in_try:a}=c();var o,s=10;do o=!1,u(e),t.option(`dead_code`)&&f(e,t),t.option(`if_return`)&&d(e,t),t.sequences_limit>0&&(m(e,t),g(e,t)),t.option(`join_vars`)&&v(e),t.option(`collapse_vars`)&&l(e,t);while(o&&s-- >0);function c(){var e=t.self(),n=0,r=!1,i=!1;do if(e instanceof lh)r=!0;else if(e instanceof _h)break;else e instanceof Wh&&(i=!0);while(e=t.parent(n++));return{in_loop:r,in_try:i}}function l(e,t){if(n.pinned()||r.pinned())return e;for(var s,c=[],l=e.length,u=new E_(function(e){if(E)return e;if(!T)return e===f[p]?(p++,p<f.length?j(e):(T=!0,g=ie(e,0),g===e&&(E=!0),e)):e;var r=u.parent();if(e instanceof vg&&(e.logical||e.operator!=`=`&&v.equivalent_to(e.left))||e instanceof Ih||e instanceof Qh||e instanceof og&&v instanceof lg&&v.equivalent_to(e.expression)||(e instanceof og||e instanceof lg)&&e.optional||e instanceof $m||e instanceof Th||e instanceof yh&&e.expression instanceof Lg&&(e.expression instanceof o_||e.expression.definition().references.length>1)||e instanceof lh&&!(e instanceof ph)||e instanceof Nh||e instanceof Uh||e instanceof gh||e instanceof Lh||e instanceof ag||e instanceof Ag||r instanceof ph&&e!==r.init||!S&&e instanceof $&&!e.is_declared(t)&&!Av.has(e)||e instanceof $&&r instanceof og&&$p(r,4)||e instanceof Sg&&e.key instanceof Z)return E=!0,e;if(!_&&(!b||!S)&&(r instanceof Q&&Lv.has(r.operator)&&r.left!==e||r instanceof _g&&r.condition!==e||r instanceof Rh&&r.condition!==e)&&(_=r),O&&!(e instanceof zg)&&v.equivalent_to(e)&&!I(u.find_scope()||n,y)){if(_)return E=!0,e;if(Uv(e,r))return h&&D++,e;if(D++,h&&m instanceof eg)return e;if(o=E=!0,m instanceof gg)return Y(hg,m,m);if(m instanceof eg){var i=m.name.definition(),s=m.value;return i.references.length-i.replaced==1&&!t.exposed(i)?(i.replaced++,w&&Sv(s)?s.transform(t):gv(r,e,s)):Y(vg,m,{operator:`=`,logical:!1,left:Y($,m.name,m.name),right:s})}return av(m,32),m}var c;return(e instanceof og||e instanceof Ah&&(x||v instanceof lg||ue(v))||e instanceof lg&&(x||e.expression.may_throw_on_access(t))||e instanceof $&&(y.has(e.name)&&y.get(e.name).modified||x&&ue(e))||e instanceof eg&&e.value&&(y.has(e.name.name)||x&&ue(e.name))||e instanceof Qh||(c=Uv(e.left,e))&&(c instanceof lg||y.has(c.name))||C&&(a?e.has_side_effects(t):de(e)))&&(g=e,e instanceof _h&&(E=!0)),j(e)},function(e){E||(g===e&&(E=!0),_===e&&(_=null))}),d=new E_(function(e){if(E)return e;if(!T)return e===f[p]?(p++,p<f.length?void 0:(T=!0,e)):e;if(e instanceof $&&e.name==A.name)return--D||(E=!0),Uv(e,d.parent())?e:(A.replaced++,h.replaced--,m.value);if(e instanceof Vh||e instanceof _h)return e});--l>=0;){l==0&&t.option(`unused`)&&re();var f=[];for(M(e[l]);c.length>0;){f=c.pop();var p=0,m=f[f.length-1],h=null,g=null,_=null,v=N(m);if(!(!v||wy(v)||v.has_side_effects(t))){var y=P(m),b=se(v);v instanceof $&&y.set(v.name,{def:v.definition(),modified:!1});var x=ce(m),S=le(),C=m.may_throw(t),w=m.name instanceof Gg,T=w,E=!1,D=0,O=!s||!T;if(!O){for(let e=t.self().argnames.lastIndexOf(m.name)+1;!E&&e<s.length;e++)s[e].transform(u);O=!0}for(var k=l;!E&&k<e.length;k++)e[k].transform(u);if(h){var A=m.name.definition();if(E&&A.references.length-A.replaced>D)D=!1;else{E=!1,p=0,T=w;for(var k=l;!E&&k<e.length;k++)e[k].transform(d);h.single_use=!1}}D&&!F(m)&&e.splice(l,1)}}}function j(e){if(e instanceof _h)return e;if(e instanceof zh){e.expression=e.expression.transform(u);for(var t=0,n=e.body.length;!E&&t<n;t++){var r=e.body[t];if(r instanceof Hh){if(!T){if(r!==f[p])continue;p++}if(r.expression=r.expression.transform(u),!S)break}}return E=!0,e}}function ee(e,t){if(e.global)return!1;let n=e.scope;for(;n&&n!==t;){if(n.variables.has(e.name))return!0;n=n.parent_scope}return!1}function te(e,t,n){var i=!1,a=!(e instanceof Ch);return t.walk(new T_(function(t,o){if(i)return!0;if(t instanceof $&&(e.variables.has(t.name)||ee(t.definition(),e))){var s=t.definition().scope;if(s!==r){for(;s=s.parent_scope;)if(s===r)return!0}return i=!0}if((n||a)&&t instanceof o_)return i=!0;if(t instanceof _h&&!(t instanceof Ch)){var c=a;return a=!1,o(),a=c,!0}})),i}function ne(e){return!(e instanceof yh||S_(e,e=>{if(e instanceof Ih)return w_}))}function re(){var e,n=t.self();if(vv(n)&&!n.name&&!n.uses_arguments&&!n.pinned()&&(e=t.parent())instanceof og&&e.expression===n&&e.args.every(ne)){var r=t.has_directive(`use strict`);r&&!kp(r,n.body)&&(r=!1);var i=n.argnames.length;s=e.args.slice(i);for(var a=new Set,o=i;--o>=0;){var l=n.argnames[o],u=e.args[o];let i=l.definition&&l.definition();if(!(i&&i.orig.length>1)&&(s.unshift(Y(eg,l,{name:l,value:u})),!a.has(l.name)))if(a.add(l.name),l instanceof yh){var d=e.args.slice(o);d.every(e=>!te(n,e,r))&&c.unshift([Y(eg,l,{name:l.expression,value:Y(bg,e,{elements:d})})])}else u?(u instanceof bh&&u.pinned()||te(n,u,r))&&(u=null):u=Y(g_,l).transform(t),u&&c.unshift([Y(eg,l,{name:l,value:u})])}}}function M(e){if(f.push(e),e instanceof vg)!e.left.has_side_effects(t)&&!(e.right instanceof pg)&&c.push(f.slice()),M(e.right);else if(e instanceof Q)M(e.left),M(e.right);else if(e instanceof og&&!$p(e,4))M(e.expression),e.args.forEach(M);else if(e instanceof Hh)M(e.expression);else if(e instanceof _g)M(e.condition),M(e.consequent),M(e.alternative);else if(e instanceof Jh){var n=e.definitions.length,r=n-200;for(r<0&&(r=0);r<n;r++)M(e.definitions[r])}else e instanceof uh?(M(e.condition),e.body instanceof ih||M(e.body)):e instanceof Ah?e.value&&M(e.value):e instanceof ph?(e.init&&M(e.init),e.condition&&M(e.condition),e.step&&M(e.step),e.body instanceof ih||M(e.body)):e instanceof mh?(M(e.object),e.body instanceof ih||M(e.body)):e instanceof Rh?(M(e.condition),e.body instanceof ih||M(e.body),e.alternative&&!(e.alternative instanceof ih)&&M(e.alternative)):e instanceof cg?e.expressions.forEach(M):e instanceof th?M(e.body):e instanceof zh?(M(e.expression),e.body.forEach(M)):e instanceof mg?(e.operator==`++`||e.operator==`--`)&&c.push(f.slice()):e instanceof eg&&e.value&&!(e.value instanceof pg)&&(c.push(f.slice()),M(e.value));f.pop()}function ie(e,t,n){var r=u.parent(t);return r instanceof vg?n&&!r.logical&&!(r.left instanceof lg||y.has(r.left.name))?ie(r,t+1,n):e:r instanceof Q?n&&(!Lv.has(r.operator)||r.left===e)?ie(r,t+1,n):e:r instanceof og||r instanceof Hh?e:r instanceof _g?n&&r.condition===e?ie(r,t+1,n):e:r instanceof Jh?ie(r,t+1,!0):r instanceof Ah?n?ie(r,t+1,n):e:r instanceof Rh?n&&r.condition===e?ie(r,t+1,n):e:r instanceof lh?e:r instanceof cg?ie(r,t+1,r.tail_node()!==e):r instanceof th?ie(r,t+1,!0):r instanceof zh||r instanceof eg?e:null}function ae(e){var t=e.value;if(t instanceof $&&t.name!=`arguments`){var n=t.definition();if(!n.undeclared)return h=n}}function N(e){if(e instanceof vg&&e.logical)return!1;if(e instanceof eg&&e.name instanceof zg){var n=e.name.definition();if(!kp(e.name,n.orig))return;var r=n.references.length-n.replaced;if(!r)return;if(n.orig.length-n.eliminated>1&&!(e.name instanceof Gg)||(r>1?ae(e):!t.exposed(n)))return Y($,e.name,e.name)}else{let t=e instanceof vg?e.left:e.expression;return!Cv(t,Hg)&&!Cv(t,Wg)&&!Cv(t,Ug)&&t}}function oe(e){return e instanceof vg?e.right:e.value}function P(e){var n=new Map;if(e instanceof mg)return n;var r=new T_(function(e){for(var i=e;i instanceof lg;)i=i.expression;if(i instanceof $){let a=n.get(i.name);(!a||!a.modified)&&n.set(i.name,{def:i.definition(),modified:Kv(t,r,e,e,0)})}});return oe(e).walk(r),n}function F(n){if(n.name instanceof Gg){var r=t.parent(),i=t.self().argnames,a=i.indexOf(n.name);if(a<0)r.args.length=Math.min(r.args.length,i.length-1);else{var o=r.args;o[a]&&(o[a]=Y(u_,o[a],{value:0}))}return!0}var s=!1;return e[l].transform(new E_(function(e,t,r){if(s)return e;if(e===n||e.body===n)return s=!0,e instanceof eg?(e.value=e.name instanceof Hg?Y(g_,e.value):null,e):r?Lp.skip:null},function(e){if(e instanceof cg)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}}))}function se(e){for(;e instanceof lg;)e=e.expression;return e instanceof $&&e.definition().scope.get_defun_scope()===r&&!(i&&(y.has(e.name)||m instanceof mg||m instanceof vg&&!m.logical&&m.operator!=`=`))}function ce(e){return e instanceof mg?Rv.has(e.operator):oe(e).has_side_effects(t)}function le(){if(x)return!1;if(h)return!0;if(v instanceof $){var e=v.definition();if(e.references.length-e.replaced==(m instanceof eg?1:2))return!0}return!1}function ue(e){if(!e.definition)return!0;var t=e.definition();return t.orig.length==1&&t.orig[0]instanceof Kg?!1:t.scope.get_defun_scope()===r?t.references.some(e=>e.scope.get_defun_scope()!==r):!0}function de(e,t){if(e instanceof vg)return de(e.left,!0);if(e instanceof mg)return de(e.expression,!0);if(e instanceof eg)return e.value&&de(e.value);if(t){if(e instanceof ug||e instanceof fg)return de(e.expression,!0);if(e instanceof $)return e.definition().scope.get_defun_scope()!==r}return!1}function I(e,t){for(let{def:n}of t.values()){let t=e.find_variable(n.name);if(t){if(t===n)continue;return!0}}return!1}}function u(e){for(var t=[],n=0;n<e.length;){var r=e[n];r instanceof ah&&r.body.every(wv)?(o=!0,u(r.body),e.splice(n,1,...r.body),n+=r.body.length):r instanceof oh?(o=!0,e.splice(n,1)):r instanceof eh?t.indexOf(r.value)<0?(n++,t.push(r.value)):(o=!0,e.splice(n,1)):n++}}function d(e,t){for(var n=t.self(),r=f(e),i=n instanceof bh,a=Math.min(e.length,500);--a>=0;){var s=e[a],c=v(a),l=e[c];if(i&&!l&&s instanceof jh){if(!s.value){o=!0,e.splice(a,1);continue}if(s.value instanceof hg&&s.value.operator==`void`){o=!0,e[a]=Y(th,s,{body:s.value.expression});continue}}if(s instanceof Rh){let n,r;if(n=Gv(s.body),h(n)&&(r=_(s.body,n))){n.label&&Bp(n.label.thedef.references,n),o=!0,s=s.clone(),s.condition=s.condition.negate(t),s.body=Y(ah,s,{body:Tv(s.alternative).concat(g())}),s.alternative=Y(ah,s,{body:r}),e[a]=s.transform(t);continue}if(n=Gv(s.alternative),h(n)&&(r=_(s.alternative,n))){n.label&&Bp(n.label.thedef.references,n),o=!0,s=s.clone(),s.body=Y(ah,s.body,{body:Tv(s.body).concat(g())}),s.alternative=Y(ah,s.alternative,{body:r}),e[a]=s.transform(t);continue}}if(s instanceof Rh&&s.body instanceof jh){var u=s.body.value;if(!u&&!s.alternative&&(i&&!l||l instanceof jh&&!l.value)){o=!0,e[a]=Y(th,s.condition,{body:s.condition});continue}if(u&&!s.alternative&&l instanceof jh&&l.value){o=!0,s=s.clone(),s.alternative=l,e[a]=s.transform(t),e.splice(c,1);continue}if(u&&!s.alternative&&(!l&&i&&r||l instanceof jh)){o=!0,s=s.clone(),s.alternative=l||Y(jh,s,{value:null}),e[a]=s.transform(t),l&&e.splice(c,1);continue}var d=e[y(a)];if(t.option(`sequences`)&&i&&!s.alternative&&d instanceof Rh&&d.body instanceof jh&&v(c)==e.length&&l instanceof th){o=!0,s=s.clone(),s.alternative=Y(ah,l,{body:[l,Y(jh,l,{value:null})]}),e[a]=s.transform(t),e.splice(c,1);continue}}}function f(e){for(var t=0,n=e.length;--n>=0;){var r=e[n];if(r instanceof Rh&&r.body instanceof jh&&++t>1)return!0}return!1}function m(e){return!e||e instanceof hg&&e.operator==`void`}function h(r){if(!r)return!1;for(var o=a+1,s=e.length;o<s;o++){var c=e[o];if(c instanceof qh&&!(c instanceof Yh))return!1}var l=r instanceof Nh?t.loopcontrol_target(r):null;return r instanceof jh&&i&&m(r.value)||r instanceof Fh&&n===Cy(l)||r instanceof Ph&&l instanceof ah&&n===l}function g(){var t=e.slice(a+1);return e.length=a+1,t.filter(function(t){return t instanceof wh?(e.push(t),!1):!0})}function _(e,t){var n=Tv(e);if(t===n[n.length-1]&&(n=n.slice(0,-1),n.every(e=>wv(e))))return t.value&&n.push(Y(th,t.value,{body:t.value.expression})),n}function v(t){for(var n=t+1,r=e.length;n<r;n++){var i=e[n];if(!(i instanceof Yh&&p(i)))break}return n}function y(t){for(var n=t;--n>=0;){var r=e[n];if(!(r instanceof Yh&&p(r)))break}return n}}function f(e,t){for(var n,r=t.self(),i=0,a=0,s=e.length;i<s;i++){var c=e[i];if(c instanceof Nh){var l=t.loopcontrol_target(c);c instanceof Ph&&!(l instanceof lh)&&Cy(l)===r||c instanceof Fh&&Cy(l)===r?c.label&&Bp(c.label.thedef.references,c):e[a++]=c}else e[a++]=c;if(Gv(c)){n=e.slice(i+1);break}}e.length=a,o=a!=s,n&&n.forEach(function(n){Ey(t,n,e)})}function p(e){return e.definitions.every(e=>!e.value)}function m(e,t){if(e.length<2)return;var n=[],r=0;function i(){if(n.length){var t=sv(n[0],n);e[r++]=Y(th,t,{body:t}),n=[]}}for(var a=0,s=e.length;a<s;a++){var c=e[a];if(c instanceof th){n.length>=t.sequences_limit&&i();var l=c.body;n.length>0&&(l=l.drop_side_effect_free(t)),l&&ov(n,l)}else c instanceof Jh&&p(c)||c instanceof wh||i(),e[r++]=c}i(),e.length=r,r!=s&&(o=!0)}function h(e,t){if(!(e instanceof ah))return e;for(var n=null,r=0,i=e.body.length;r<i;r++){var a=e.body[r];if(a instanceof Yh&&p(a))t.push(a);else if(n||a instanceof qh&&!(a instanceof Yh))return!1;else n=a}return n}function g(e,t){function n(e){r--,o=!0;var n=i.body;return sv(n,[n,e]).transform(t)}for(var r=0,i,a=0;a<e.length;a++){var s=e[a];if(i&&(s instanceof Ah?s.value=n(s.value||Y(g_,s).transform(t)):s instanceof ph?s.init instanceof qh||S_(i.body,e=>{if(e instanceof _h)return!0;if(e instanceof Q&&e.operator===`in`)return w_})||(s.init?s.init=n(s.init):(s.init=i.body,r--,o=!0)):s instanceof mh?(!(s.init instanceof qh)||s.init instanceof Yh)&&(s.object=n(s.object)):s instanceof Rh?s.condition=n(s.condition):(s instanceof zh||s instanceof gh)&&(s.expression=n(s.expression))),t.option(`conditionals`)&&s instanceof Rh){var c=[],l=h(s.body,c),u=h(s.alternative,c);if(l!==!1&&u!==!1&&c.length>0){var d=c.length;c.push(Y(Rh,s,{condition:s.condition,body:l||Y(oh,s.body),alternative:u})),c.unshift(r,1),[].splice.apply(e,c),a+=d,r+=d+1,i=null,o=!0;continue}}e[r++]=s,i=s instanceof th?s:null}e.length=r}function _(e,r){if(e instanceof Jh){var i=e.definitions[e.definitions.length-1];if(i.value instanceof xg){var a;if(r instanceof vg&&!r.logical?a=[r]:r instanceof cg&&(a=r.expressions.slice()),a){var o=!1;do{var s=a[0];if(!(s instanceof vg)||s.operator!=`=`||!(s.left instanceof lg))break;var c=s.left.expression;if(!(c instanceof $)||i.name.name!=c.name||!s.right.is_constant_expression(n))break;var l=s.left.property;if(l instanceof Z&&(l=l.evaluate(t)),l instanceof Z)break;l=``+l;var u=t.option(`ecma`)<2015&&t.has_directive(`use strict`)?function(e){return e.key!=l&&e.key&&e.key.name!=l}:function(e){return e.key&&e.key.name!=l};if(!i.value.properties.every(u))break;var d=i.value.properties.filter(function(e){return e.key===l})[0];d?d.value=new cg({start:d.start,expressions:[d.value.clone(),s.right.clone()],end:d.end}):i.value.properties.push(Y(Cg,s,{key:l,value:s.right})),a.shift(),o=!0}while(a.length);return o&&a}}}}function v(e){for(var t,n=0,r=-1,i=e.length;n<i;n++){var a=e[n],s=e[r];if(a instanceof Jh)s&&s.TYPE==a.TYPE?(s.definitions=s.definitions.concat(a.definitions),o=!0):t&&t.TYPE==a.TYPE&&p(a)?(t.definitions=t.definitions.concat(a.definitions),o=!0):(e[++r]=a,t=a);else if(a instanceof Qh&&s instanceof Qh&&s.await===a.await)s.definitions=s.definitions.concat(a.definitions);else if(a instanceof Ah)a.value=l(a.value);else if(a instanceof ph){var c=_(s,a.init);c?(o=!0,a.init=c.length?sv(a.init,c):null,e[++r]=a):s instanceof Yh&&(!a.init||a.init.TYPE==s.TYPE)?(a.init&&(s.definitions=s.definitions.concat(a.init.definitions)),a.init=s,e[r]=a,o=!0):t instanceof Yh&&a.init instanceof Yh&&p(a.init)?(t.definitions=t.definitions.concat(a.init.definitions),a.init=null,e[++r]=a,o=!0):e[++r]=a}else if(a instanceof mh)a.object=l(a.object);else if(a instanceof Rh)a.condition=l(a.condition);else if(a instanceof th){var c=_(s,a.body);if(c){if(o=!0,!c.length)continue;a.body=sv(a.body,c)}e[++r]=a}else a instanceof zh||a instanceof gh?a.expression=l(a.expression):e[++r]=a}e.length=r+1;function l(t){e[++r]=a;var n=_(s,t);return n?(o=!0,n.length?sv(t,n):t instanceof cg?t.tail_node().left:t.left):t}}}function Oy(e){for(var t,n=0;t=e.parent(n++);){if(t instanceof Qm)return!1;if(t instanceof bg||t instanceof Cg||t instanceof xg)return!0}return!1}function ky(e,t){for(let n of t.enclosed){if(t.variables.has(n.name))continue;let r=e.find_variable(n.name);if(r){if(r===n)continue;return!0}}return!1}function Ay(e,t){return e.orig.length===1&&t?t.size()>e.name.length:!0}function jy(e,t){if(t.in_computed_key())return e;let n=t.parent(),r=e.definition(),i=t.find_scope(),a=e.fixed_value();if(t.top_retain&&r.global&&t.top_retain(r)&&Ay(r,a))return r.fixed=!1,r.single_use=!1,e;if(Ny(t,a))return e;let o=r.single_use&&!(n instanceof og&&n.is_callee_pure(t)||$p(n,4))&&!(n instanceof ag&&a instanceof bh&&a.name);if(o&&a instanceof Z&&(o=!a.has_side_effects(t)&&!a.may_throw(t)),a instanceof Ag&&r.scope!==e.scope)return e;if(o&&(a instanceof bh||a instanceof Ag)){if(Ov(a,t))o=!1;else if(r.scope!==e.scope&&(r.escaped==1||rv(a,16)||Oy(t)||!t.option(`reduce_funcs`)))o=!1;else if(Dv(t,r))o=!1;else if((r.scope!==e.scope||r.orig[0]instanceof Gg)&&(o=a.is_constant_expression(e.scope),o==`f`)){var s=e.scope;do(s instanceof wh||vv(s))&&iv(s,16);while(s=s.parent_scope)}}if(o&&(a instanceof bh||a instanceof Ag)&&(o=r.scope===e.scope&&!ky(i,a)||n instanceof og&&n.expression===e&&!ky(i,a)&&!(a.name&&a.name.definition().recursive_refs>0)),o&&a){if(a instanceof Pg&&(iv(a,256),a=Y(Ig,a,a)),a instanceof wh&&(iv(a,256),a=Y(Sh,a,a)),r.recursive_refs>0&&a.name instanceof Kg){let e=a.name.definition(),t=a.variables.get(a.name.name),n=t&&t.orig[0];n instanceof Yg||(n=Y(Yg,a.name,a.name),n.scope=a,a.name=n,t=a.def_function(n)),S_(a,n=>{n instanceof $&&n.definition()===e&&(n.thedef=t,t.references.push(n))})}return(a instanceof bh||a instanceof Ag)&&a.parent_scope!==i&&(a=a.clone(!0,t.get_toplevel()),i.add_child_scope(a)),a.optimize(t)}if(a){let n;if(a instanceof o_)!(r.orig[0]instanceof Gg)&&r.references.every(e=>r.scope===e.scope)&&(n=a);else{var c=a.evaluate(t);c!==a&&(t.option(`unsafe_regexp`)||!(c instanceof RegExp))&&(n=lv(c,a))}if(n){let i=e.size(t),o=n.size(t),s=0;if(t.option(`unused`)&&!t.exposed(r)&&(s=(i+2+a.size(t))/(r.references.length-r.assignments)),o<=i+s)return n}}return e}function My(e,t){if(t.in_computed_key())return e;var n=e.expression,r=n,i=e.args.every(e=>!(e instanceof yh));if(t.option(`reduce_vars`)&&r instanceof $&&!$p(e,4)){let i=r.fixed_value();if(Ov(i,t)||!t.toplevel.funcs&&n.definition().global)return e;r=i}if(Ny(t,r)&&!$p(e,2))return e;var a=r instanceof bh,o=a&&r.body[0],s=a&&!r.is_generator&&!r.async,c=s&&t.option(`inline`)&&!e.is_callee_pure(t);if(c&&o instanceof jh){let n=o.value;if(!n||n.is_constant_expression())return n=n?n.clone(!0):Y(g_,e),sv(e,e.args.concat(n)).optimize(t);if(r.argnames.length===1&&r.argnames[0]instanceof Gg&&e.args.length<2&&!(e.args[0]instanceof yh)&&n instanceof $&&n.name===r.argnames[0].name){let n=(e.args[0]||Y(g_)).optimize(t),r;return n instanceof lg&&(r=t.parent())instanceof og&&r.expression===e?sv(e,[Y(u_,e,{value:0}),n]):n}}if(c){var l,u,d=-1;let a,s,c;if(i&&!r.uses_arguments&&!(t.parent()instanceof Ag)&&!(r.name&&r instanceof Sh)&&(s=m(o))&&(n===r||$p(e,2)||t.option(`unused`)&&(a=n.definition()).references.length==1&&!Dv(t,a)&&r.is_constant_expression(n.scope))&&!$p(e,5)&&!r.contains_this()&&_()&&(c=t.find_scope())&&!ky(c,r)&&!(function(){let e=0,n;for(;n=t.parent(e++);){if(n instanceof yg)return!0;if(n instanceof ih)break}return!1})()&&!(l instanceof Ag))return iv(r,256),c.add_child_scope(r),sv(e,x(s)).optimize(t)}if(c&&$p(e,2))return iv(r,256),r=Y(r.CTOR===wh?Sh:r.CTOR,r,r),r=r.clone(!0),r.figure_out_scope({},{parent_scope:t.find_scope(),toplevel:t.get_toplevel()}),Y(og,e,{expression:r,args:e.args}).optimize(t);if(s&&t.option(`side_effects`)&&r.body.every(bv))return sv(e,e.args.concat(Y(g_,e))).optimize(t);if(t.option(`negate_iife`)&&t.parent()instanceof th&&yv(e))return e.negate(t,!0);var f=e.evaluate(t);if(f!==e)return f=lv(f,e).optimize(t),fv(t,f,e);return e;function p(t){if(!t)return Y(g_,e);if(t instanceof jh)return t.value?t.value.clone(!0):Y(g_,e);if(t instanceof th)return Y(hg,t,{operator:`void`,expression:t.body.clone(!0)})}function m(e){var n=r.body,i=n.length;if(t.option(`inline`)<3)return i==1&&p(e);e=null;for(var a=0;a<i;a++){var o=n[a];if(o instanceof Yh){if(e&&!o.definitions.every(e=>!e.value))return!1}else if(e)return!1;else o instanceof oh||(e=o)}return p(e)}function h(e,t){for(var n=0,i=r.argnames.length;n<i;n++){var a=r.argnames[n];if(a instanceof yg){if(rv(a.left,1))continue;return!1}if(a instanceof Th)return!1;if(a instanceof yh){if(rv(a.expression,1))continue;return!1}if(!rv(a,1)){if(!t||e.has(a.name)||xv.has(a.name)||l.conflicting_def(a.name))return!1;u&&u.push(a.definition())}}return!0}function g(e,t){for(var n=r.body.length,i=0;i<n;i++){var a=r.body[i];if(a instanceof Yh){if(!t)return!1;for(var o=a.definitions.length;--o>=0;){var s=a.definitions[o].name;if(s instanceof Th||e.has(s.name)||xv.has(s.name)||l.conflicting_def(s.name))return!1;u&&u.push(s.definition())}}}return!0}function _(){var e=new Set;do if(l=t.parent(++d),l.is_block_scope()&&l.block_scope&&l.block_scope.variables.forEach(function(t){e.add(t.name)}),l instanceof Gh)l.argname&&e.add(l.argname.name);else if(l instanceof lh)u=[];else if(l instanceof $&&l.fixed_value()instanceof _h)return!1;while(!(l instanceof _h));var n=!(l instanceof vh)||t.toplevel.vars,i=t.option(`inline`);return!g(e,i>=3&&n)||!h(e,i>=2&&n)?!1:!u||u.length==0||!Ev(r,u)}function v(t,n,r,i){var a=r.definition();l.variables.has(r.name)||(l.variables.set(r.name,a),l.enclosed.push(a),t.push(Y(eg,r,{name:r,value:null})));var o=Y($,r,r);a.references.push(o),i&&n.push(Y(vg,e,{operator:`=`,logical:!1,left:o,right:i.clone()}))}function y(t,n){for(var i=r.argnames.length,a=e.args.length;--a>=i;)n.push(e.args[a]);for(a=i;--a>=0;){var o=r.argnames[a],s=e.args[a];if(rv(o,1)||!o.name||l.conflicting_def(o.name))s&&n.push(s);else{var c=Y(Bg,o,o);o.definition().orig.push(c),!s&&u&&(s=Y(g_,e)),v(t,n,c,s)}}t.reverse(),n.reverse()}function b(e,t){for(var n=t.length,i=0,a=r.body.length;i<a;i++){var o=r.body[i];if(o instanceof Yh)for(var s=0,c=o.definitions.length;s<c;s++){var l=o.definitions[s],d=l.name;if(v(e,t,d,l.value),u&&r.argnames.every(e=>e.name!=d.name)){var f=r.variables.get(d.name),p=Y($,d,d);f.references.push(p),t.splice(n++,0,Y(vg,l,{operator:`=`,logical:!1,left:p,right:Y(g_,d)}))}}}}function x(e){var n=[],i=[];if(y(n,i),b(n,i),i.push(e),n.length){let e=l.body.indexOf(t.parent(d-1))+1;l.body.splice(e,0,Y(Yh,r,{definitions:n}))}return i.map(e=>e.clone(!0))}}function Ny(e,t){return(t instanceof bh||t instanceof Ag)&&!!e.is_within_loop()}(function(e){function t(e,n){if(e instanceof Z)return e instanceof c_||(e=e.clone(!0)),Y(e.CTOR,n,e);if(Array.isArray(e))return Y(bg,n,{elements:e.map(function(e){return t(e,n)})});if(e&&typeof e==`object`){var r=[];for(var i in e)Kp(e,i)&&r.push(Y(Cg,n,{key:i,value:t(e[i],n)}));return Y(xg,n,{properties:r})}return lv(e,n)}vh.DEFMETHOD(`resolve_defines`,function(e){return e.option(`global_defs`)?(this.figure_out_scope({ie8:e.option(`ie8`)}),this.transform(new E_(function(t){var n=t._find_defs(e,``);if(n){for(var r=0,i=t,a;(a=this.parent(r++))&&!(!(a instanceof lg)||a.expression!==i);)i=a;if(!Uv(i,a))return n}}))):this}),e(Z,Mp),e(pg,function(e,t){return this.expression._find_defs(e,t)}),e(ug,function(e,t){return this.expression._find_defs(e,`.`+this.property+t)}),e(zg,function(){this.global()}),e($,function(e,n){if(this.global()){var r=e.option(`global_defs`),i=this.name+n;if(Kp(r,i))return t(r[i],this)}}),e(ig,function(e,n){var r=e.option(`global_defs`),i=`import.meta`+n;if(Kp(r,i))return t(r[i],this)})})(function(e,t){e.DEFMETHOD(`_find_defs`,t)});var Py=class extends T_{constructor(e,{false_by_default:t=!1,mangle_options:n=!1}){super(),e.defaults!==void 0&&!e.defaults&&(t=!0),this.options=jp(e,{arguments:!1,arrows:!t,booleans:!t,booleans_as_integers:!1,collapse_vars:!t,comparisons:!t,computed_props:!t,conditionals:!t,dead_code:!t,defaults:!0,directives:!t,drop_console:!1,drop_debugger:!t,ecma:5,evaluate:!t,expression:!1,global_defs:!1,hoist_funs:!1,hoist_props:!t,hoist_vars:!1,ie8:!1,if_return:!t,inline:!t,join_vars:!t,keep_classnames:!1,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,lhs_constants:!t,loops:!t,module:!1,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&`strict`,pure_funcs:null,pure_new:!1,reduce_funcs:!t,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!!(e&&e.top_retain),typeofs:!t,unsafe:!1,unsafe_arrows:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_symbols:!1,unsafe_methods:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!t,warnings:!1},!0);var r=this.options.global_defs;if(typeof r==`object`)for(var i in r)i[0]===`@`&&Kp(r,i)&&(r[i.slice(1)]=Jm(r[i],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var a=this.options.pure_funcs;typeof a==`function`?this.pure_funcs=a:this.pure_funcs=a?function(e){return!a.includes(e.expression.print_to_string())}:Pp;var o=this.options.top_retain;o instanceof RegExp?this.top_retain=function(e){return o.test(e.name)}:typeof o==`function`?this.top_retain=o:o&&(typeof o==`string`&&(o=o.split(/,/)),this.top_retain=function(e){return o.includes(e.name)}),this.options.module&&(this.directives[`use strict`]=!0,this.options.toplevel=!0);var s=this.options.toplevel;this.toplevel=typeof s==`string`?{funcs:/funcs/.test(s),vars:/vars/.test(s)}:{funcs:s,vars:s};var c=this.options.sequences;this.sequences_limit=c==1?800:c|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=n&&Y_(n)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||X_,t=this._mangle_options&&this._mangle_options.module||this.option(`module`);return{ie8:this.option(`ie8`),nth_identifier:e,module:t}}option(e){return this.options[e]}exposed(e){if(e.export)return!0;if(e.global){for(var t=0,n=e.orig.length;t<n;t++)if(!this.toplevel[e.orig[t]instanceof Kg?`funcs`:`vars`])return!0}return!1}in_boolean_context(){if(!this.option(`booleans`))return!1;for(var e=this.self(),t=0,n;n=this.parent(t);t++){if(n instanceof th||n instanceof _g&&n.condition===e||n instanceof uh&&n.condition===e||n instanceof ph&&n.condition===e||n instanceof Rh&&n.condition===e||n instanceof hg&&n.operator==`!`&&n.expression===e)return!0;if(n instanceof Q&&(n.operator==`&&`||n.operator==`||`||n.operator==`??`)||n instanceof _g||n.tail_node()===e)e=n;else return!1}}in_32_bit_context(e){if(!this.option(`evaluate`))return!1;for(var t=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof Q&&Iv.has(r.operator))return e?(t===r.left?r.right:r.left).is_number(this):!0;if(r instanceof hg)return r.operator===`~`;if(r instanceof Q&&(r.operator==`&&`&&r.right===t||r.operator==`||`&&r.right===t||r.operator==`??`&&r.right===t)||r instanceof _g&&r.condition!==t||r.tail_node()===t)t=r;else return!1}}in_computed_key(){if(!this.option(`evaluate`))return!1;for(var e=this.self(),t=0,n;n=this.parent(t);t++)if(n instanceof Sg&&n.key===e)return!0;return!1}get_toplevel(){return this._toplevel}compress(e){e=e.resolve_defines(this),this._toplevel=e,this.option(`expression`)&&this._toplevel.process_expression(!0);for(var t=+this.options.passes||1,n=1/0,r=!1,i=this.mangle_options(),a=0;a<t;a++)if(this._toplevel.figure_out_scope(i),a===0&&this.option(`drop_console`)&&(this._toplevel=this._toplevel.drop_console(this.option(`drop_console`))),(a>0||this.option(`reduce_vars`))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),t>1){let e=0;if(S_(this._toplevel,()=>{e++}),e<n)n=e,r=!1;else if(r)break;else r=!0}return this.option(`expression`)&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,t){if(rv(e,256))return e;var n=!1;e instanceof _h&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),n=!0),t(e,this),t(e,this);var r=e.optimize(this);return n&&r instanceof _h&&(r.drop_unused(this),t(r,this)),r===e&&iv(r,256),r}is_lhs(){let e=this.stack[this.stack.length-1],t=this.stack[this.stack.length-2];return Uv(e,t)}};function Fy(e,t){e.DEFMETHOD(`optimize`,function(e){var n=this;if(rv(n,512)||e.has_directive(`use asm`))return n;var r=t(n,e);return iv(r,512),r})}Fy(Z,function(e){return e}),vh.DEFMETHOD(`drop_console`,function(e){let t=Array.isArray(e),n=new E_(function(r){if(r.TYPE===`Call`){var i=r.expression;if(i instanceof lg){for(var a=i.expression,o=i.property,s=2;a.expression;)o=a.property,a=a.expression,s++;if(!(t&&!e.includes(o))&&Fv(a)&&a.name==`console`)if(s===3&&![`call`,`apply`].includes(i.property)&&qv(n))i.expression=cv(r),iv(i.expression,256),r.args=[];else return Y(g_,r)}}});return this.transform(n)}),Z.DEFMETHOD(`equivalent_to`,function(e){return B_(this,e)}),_h.DEFMETHOD(`process_expression`,function(e,t){var n=this,r=new E_(function(i){if(e&&i instanceof th)return Y(jh,i,{value:i.body});if(!e&&i instanceof jh){if(t){var a=i.value&&i.value.drop_side_effect_free(t,!0);return a?Y(th,i,{body:a}):Y(oh,i)}return Y(th,i,{body:i.value||Y(hg,i,{operator:`void`,expression:Y(u_,i,{value:0})})})}if(i instanceof Ag||i instanceof bh&&i!==n)return i;if(i instanceof ih){var o=i.body.length-1;o>=0&&(i.body[o]=i.body[o].transform(r))}else i instanceof Rh?(i.body=i.body.transform(r),i.alternative&&=i.alternative.transform(r)):i instanceof gh&&(i.body=i.body.transform(r));return i});n.transform(r)}),vh.DEFMETHOD(`reset_opt_flags`,function(e){let t=this,n=e.option(`reduce_vars`),r=new T_(function(i,a){if(av(i,1792),n)return e.top_retain&&i instanceof wh&&r.parent()===t&&iv(i,nv),i.reduce_vars(r,a,e)});r.safe_ids=Object.create(null),r.in_loop=null,r.loop_ids=new Map,r.defs_to_safe_ids=new Map,t.walk(r)}),Lg.DEFMETHOD(`fixed_value`,function(){var e=this.thedef.fixed;return!e||e instanceof Z?e:e()}),$.DEFMETHOD(`is_immutable`,function(){var e=this.definition().orig;return e.length==1&&e[0]instanceof Yg});function Iy(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof _h);)if(n instanceof Gh&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(t)}var Ly=Hp(`Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError`);$.DEFMETHOD(`is_declared`,function(e){return!this.definition().undeclared||e.option(`unsafe`)&&Ly.has(this.name)});var Ry=new Set([`use asm`,`use strict`]);Fy(eh,function(e,t){return t.option(`directives`)&&(!Ry.has(e.value)||t.has_directive(e.value)!==e)?Y(oh,e):e}),Fy($m,function(e,t){return t.option(`drop_debugger`)?Y(oh,e):e}),Fy(ch,function(e,t){return e.body instanceof Ph&&t.loopcontrol_target(e.body)===e.body?Y(oh,e):e.label.references.length==0?e.body:e}),Fy(ih,function(e,t){return Dy(e.body,t),e});function zy(e){return!(e instanceof Zh||e instanceof Xh||e instanceof Qh||e instanceof Ag)}Fy(ah,function(e,t){switch(Dy(e.body,t),e.body.length){case 1:if(!t.has_directive(`use strict`)&&t.parent()instanceof Rh&&zy(e.body[0])||wv(e.body[0]))return e.body[0];break;case 0:return Y(oh,e)}return e});function By(e,t){return Dy(e.body,t),t.option(`side_effects`)&&e.body.length==1&&e.body[0]===t.has_directive(`use strict`)&&(e.body.length=0),e}Fy(bh,By),_h.DEFMETHOD(`hoist_declarations`,function(e){var t=this;if(e.has_directive(`use asm`))return t;var n=e.option(`hoist_funs`),r=e.option(`hoist_vars`);if(n||r){var i=[],a=[],o=new Map,s=0,c=0;S_(t,e=>{if(e instanceof _h&&e!==t)return!0;if(e instanceof Yh)return++c,!0}),r&&=c>1;var l=new E_(function(c){if(c!==t){if(c instanceof eh)return i.push(c),Y(oh,c);if(n&&c instanceof wh&&!(l.parent()instanceof ag)&&l.parent()===t)return a.push(c),Y(oh,c);if(r&&c instanceof Yh&&!c.definitions.some(e=>e.name instanceof Th)){c.definitions.forEach(function(e){o.set(e.name.name,e),++s});var u=c.to_assignments(e),d=l.parent();if(d instanceof mh&&d.init===c){if(u==null){var f=c.definitions[0].name;return Y($,f,f)}return u}return d instanceof ph&&d.init===c?u:u?Y(th,c,{body:u}):Y(oh,c)}if(c instanceof _h)return c}});if(t=t.transform(l),s>0){var u=[];let e=t instanceof bh,n=e?t.args_as_names():null;if(o.forEach((t,r)=>{e&&n.some(e=>e.name===t.name.name)?o.delete(r):(t=t.clone(),t.value=null,u.push(t),o.set(r,t))}),u.length>0){for(var d=0;d<t.body.length;){if(t.body[d]instanceof th){var f=t.body[d].body,p,m;if(f instanceof vg&&f.operator==`=`&&(p=f.left)instanceof Lg&&o.has(p.name)){var h=o.get(p.name);if(h.value)break;h.value=f.right,Bp(u,h),u.push(h),t.body.splice(d,1);continue}if(f instanceof cg&&(m=f.expressions[0])instanceof vg&&m.operator==`=`&&(p=m.left)instanceof Lg&&o.has(p.name)){var h=o.get(p.name);if(h.value)break;h.value=m.right,Bp(u,h),u.push(h),t.body[d].body=sv(f,f.expressions.slice(1));continue}}if(t.body[d]instanceof oh){t.body.splice(d,1);continue}if(t.body[d]instanceof ah){t.body.splice(d,1,...t.body[d].body);continue}break}u=Y(Yh,t,{definitions:u}),a.push(u)}}t.body=i.concat(a,t.body)}return t}),_h.DEFMETHOD(`hoist_properties`,function(e){var t=this;if(!e.option(`hoist_props`)||e.has_directive(`use asm`))return t;var n=t instanceof vh&&e.top_retain||Np,r=new Map,i=new E_(function(a,o){if(a instanceof eg){let s=a.name,c,l;if(s.scope===t&&!(s instanceof Ug)&&(c=s.definition()).escaped!=1&&!c.assignments&&!c.direct_access&&!c.single_use&&!e.exposed(c)&&!n(c)&&(l=s.fixed_value())===a.value&&l instanceof xg&&!l.properties.some(e=>e instanceof yh||e.computed_key())){o(a,this);let e=new Map,n=[];return l.properties.forEach(({key:r,value:o})=>{let c=i.find_scope(),l=t.create_symbol(s.CTOR,{source:s,scope:c,conflict_scopes:new Set([c,...s.definition().references.map(e=>e.scope)]),tentative_name:s.name+`_`+r});e.set(String(r),l.definition()),n.push(Y(eg,a,{name:l,value:o}))}),r.set(c.id,e),Lp.splice(n)}}else if(a instanceof lg&&a.expression instanceof $){let e=r.get(a.expression.definition().id);if(e){let t=e.get(String(pv(a.property))),n=Y($,a,{name:t.name,scope:a.expression.scope,thedef:t});return n.reference({}),n}}});return t.transform(i)}),Fy(th,function(e,t){if(t.option(`side_effects`)){var n=e.body,r=n.drop_side_effect_free(t,!0);if(!r)return Y(oh,e);if(r!==n)return Y(th,e,{body:r})}return e}),Fy(fh,function(e,t){return t.option(`loops`)?Y(ph,e,e).optimize(t):e}),Fy(dh,function(e,t){if(!t.option(`loops`))return e;var n=e.condition.tail_node().evaluate(t);if(!(n instanceof Z)){if(n)return Y(ph,e,{body:Y(ah,e.body,{body:[e.body,Y(th,e.condition,{body:e.condition})]})}).optimize(t);if(!hv(e,t.parent()))return Y(ah,e.body,{body:[e.body,Y(th,e.condition,{body:e.condition})]}).optimize(t)}return e});function Vy(e,t){var n=e.body instanceof ah?e.body.body[0]:e.body;if(t.option(`dead_code`)&&i(n)){var r=[];return e.init instanceof Qm?r.push(e.init):e.init&&r.push(Y(th,e.init,{body:e.init})),e.condition&&r.push(Y(th,e.condition,{body:e.condition})),Ey(t,e.body,r),Y(ah,e,{body:r})}return n instanceof Rh&&(i(n.body)?(e.condition?e.condition=Y(Q,e.condition,{left:e.condition,operator:`&&`,right:n.condition.negate(t)}):e.condition=n.condition.negate(t),a(n.alternative)):i(n.alternative)&&(e.condition?e.condition=Y(Q,e.condition,{left:e.condition,operator:`&&`,right:n.condition}):e.condition=n.condition,a(n.body))),e;function i(e){return e instanceof Ph&&t.loopcontrol_target(e)===t.self()}function a(n){n=Tv(n),e.body instanceof ah?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=Y(ah,e.body,{body:n}).transform(t),e=Vy(e,t)}}Fy(ph,function(e,t){if(!t.option(`loops`))return e;if(t.option(`side_effects`)&&e.init&&(e.init=e.init.drop_side_effect_free(t)),e.condition){var n=e.condition.evaluate(t);if(!(n instanceof Z)){if(n)e.condition=null;else if(!t.option(`dead_code`)){var r=e.condition;e.condition=lv(n,e.condition),e.condition=uv(e.condition.transform(t),r)}}if(t.option(`dead_code`)&&(n instanceof Z&&(n=e.condition.tail_node().evaluate(t)),!n)){var i=[];return Ey(t,e.body,i),e.init instanceof Qm?i.push(e.init):e.init&&i.push(Y(th,e.init,{body:e.init})),i.push(Y(th,e.condition,{body:e.condition})),Y(ah,e,{body:i}).optimize(t)}}return Vy(e,t)}),Fy(Rh,function(e,t){if(bv(e.alternative)&&(e.alternative=null),!t.option(`conditionals`))return e;var n=e.condition.evaluate(t);if(!t.option(`dead_code`)&&!(n instanceof Z)){var r=e.condition;e.condition=lv(n,r),e.condition=uv(e.condition.transform(t),r)}if(t.option(`dead_code`))if(n instanceof Z&&(n=e.condition.tail_node().evaluate(t)),n){if(!(n instanceof Z)){var i=[];return i.push(Y(th,e.condition,{body:e.condition})),i.push(e.body),e.alternative&&Ey(t,e.alternative,i),Y(ah,e,{body:i}).optimize(t)}}else{var i=[];return Ey(t,e.body,i),i.push(Y(th,e.condition,{body:e.condition})),e.alternative&&i.push(e.alternative),Y(ah,e,{body:i}).optimize(t)}var a=e.condition.negate(t),o=e.condition.size(),s=a.size(),c=s<o;if(e.alternative&&c){c=!1,e.condition=a;var l=e.body;e.body=e.alternative||Y(oh,e),e.alternative=l}if(bv(e.body)&&bv(e.alternative))return Y(th,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof th&&e.alternative instanceof th)return Y(th,e,{body:Y(_g,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(bv(e.alternative)&&e.body instanceof th)return o===s&&!c&&e.condition instanceof Q&&e.condition.operator==`||`&&(c=!0),c?Y(th,e,{body:Y(Q,e,{operator:`||`,left:a,right:e.body.body})}).optimize(t):Y(th,e,{body:Y(Q,e,{operator:`&&`,left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof oh&&e.alternative instanceof th)return Y(th,e,{body:Y(Q,e,{operator:`||`,left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof Ah&&e.alternative instanceof Ah&&e.body.TYPE==e.alternative.TYPE)return Y(e.body.CTOR,e,{value:Y(_g,e,{condition:e.condition,consequent:e.body.value||Y(g_,e.body),alternative:e.alternative.value||Y(g_,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Rh&&!e.body.alternative&&!e.alternative&&(e=Y(Rh,e,{condition:Y(Q,e.condition,{operator:`&&`,left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),Gv(e.body)&&e.alternative){var u=e.alternative;return e.alternative=null,Y(ah,e,{body:[e,u]}).optimize(t)}if(Gv(e.alternative)){var i=e.body;return e.body=e.alternative,e.condition=c?a:e.condition.negate(t),e.alternative=null,Y(ah,e,{body:[e,i]}).optimize(t)}return e}),Fy(zh,function(e,t){if(!t.option(`switches`))return e;var n,r=e.expression.evaluate(t);if(!(r instanceof Z)){var i=e.expression;e.expression=lv(r,i),e.expression=uv(e.expression.transform(t),i)}if(!t.option(`dead_code`))return e;r instanceof Z&&(r=e.expression.tail_node().evaluate(t));for(var a=[],o=[],s,c,l=0,u=e.body.length;l<u&&!c;l++){if(n=e.body[l],n instanceof Vh)s?m(n,o[o.length-1]):s=n;else if(!(r instanceof Z)){var d=n.expression.evaluate(t);if(!(d instanceof Z)&&d!==r){m(n,o[o.length-1]);continue}if(d instanceof Z&&!d.has_side_effects(t)&&(d=n.expression.tail_node().evaluate(t)),d===r&&(c=n,s)){var f=o.indexOf(s);o.splice(f,1),m(s,o[f-1]),s=null}}o.push(n)}for(;l<u;)m(e.body[l++],o[o.length-1]);e.body=o;let p=s||c;if(s=null,c=null,o.every((e,t)=>(e===p||e.expression instanceof c_)&&(e.body.length===0||Gv(e)||o.length-1===t)))for(let e=0;e<o.length;e++){let t=o[e];for(let n=e+1;n<o.length;n++){let r=o[n];if(r.body.length===0)continue;let i=n===o.length-1,a=h(r,t,!1);if(a||i&&h(r,t,!0)){!a&&i&&r.body.push(Y(Ph));let t=n-1,s=0;for(;t>e&&y(o[t--]);)s++;let c=o.splice(n-s,1+s);o.splice(e+1,0,...c),e+=c.length}}}for(let e=0;e<o.length;e++){let t=o[e];if(t.body.length!==0&&Gv(t))for(let n=e+1;n<o.length;e++,n++){let e=o[n];if(e.body.length!==0){if(h(e,t,!1)||n===o.length-1&&h(e,t,!0)){t.body=[],t=e;continue}break}}}{let e=o.length-1;for(;e>=0;e--){let n=o[e].body;for(;v(n[n.length-1],t);)n.pop();if(!y(o[e]))break}if(e++,!p||o.indexOf(p)>=e)for(let n=o.length-1;n>=e;n--){let e=o[n];if(e===p)p=null,m(o.pop());else if(!e.expression.has_side_effects(t))m(o.pop());else break}}DEFAULT:if(p){let e=o.indexOf(p),n=e;for(;n<o.length-1&&y(o[n]);n++);if(n<o.length-1)break DEFAULT;let r=o.length-1;for(;r>=0;r--){let e=o[r];if(e!==p&&e.expression.has_side_effects(t))break}if(n>r){let t=e-1;for(;t>=0&&y(o[t]);t--);let i=Math.max(r,t)+1,a=e;r>e?(a=r,o[r].body=o[n].body):p.body=o[n].body,o.splice(a+1,n-a),o.splice(i,e-i)}}DEFAULT:if(p){let n=o.findIndex(e=>!y(e)),r;if(n===o.length-1){let t=o[n];if(_(e))break DEFAULT;r=Y(ah,t,{body:t.body}),t.body=[]}else if(n!==-1)break DEFAULT;if(!o.find(e=>e!==p&&e.expression.has_side_effects(t)))return Y(ah,e,{body:a.concat(g(e.expression),p.expression?g(p.expression):[],r||[])}).optimize(t);let i=o.indexOf(p);if(o.splice(i,1),p=null,r)return Y(ah,e,{body:a.concat(e,r)}).optimize(t)}if(o.length>0&&(o[0].body=a.concat(o[0].body)),o.length==0)return Y(ah,e,{body:a.concat(g(e.expression))}).optimize(t);if(o.length==1&&!_(e)){let n=o[0];return Y(Rh,e,{condition:Y(Q,e,{operator:`===`,left:e.expression,right:n.expression}),body:Y(ah,n,{body:n.body}),alternative:null}).optimize(t)}if(o.length===2&&p&&!_(e)){let n=o[0]===p?o[1]:o[0],r=p.expression&&g(p.expression);if(Gv(o[0])){let i=o[0];return v(i.body[i.body.length-1],t)&&i.body.pop(),Y(Rh,e,{condition:Y(Q,e,{operator:`===`,left:e.expression,right:n.expression}),body:Y(ah,n,{body:n.body}),alternative:Y(ah,p,{body:[].concat(r||[],p.body)})}).optimize(t)}let i=`===`,a=Y(ah,n,{body:n.body}),s=Y(ah,p,{body:[].concat(r||[],p.body)});if(o[0]===p){i=`!==`;let e=s;s=a,a=e}return Y(ah,e,{body:[Y(Rh,e,{condition:Y(Q,e,{operator:i,left:e.expression,right:n.expression}),body:a,alternative:null}),s]}).optimize(t)}return e;function m(e,n){n&&!Gv(n)?n.body=n.body.concat(e.body):Ey(t,e,a)}function h(e,t,n){let r=e.body,i=t.body;if(n&&(r=r.concat(Y(Ph))),r.length!==i.length)return!1;let a=Y(ah,e,{body:r}),o=Y(ah,t,{body:i});return a.equivalent_to(o)}function g(e){return Y(th,e,{body:e})}function _(e){let t=!1,n=new T_(e=>{if(t||e instanceof bh||e instanceof th)return!0;if(!v(e,n))return;let r=n.parent();r instanceof Bh&&r.body[r.body.length-1]===e||(t=!0)});return e.walk(n),t}function v(t,n){return t instanceof Ph&&n.loopcontrol_target(t)===e}function y(e){return!Gv(e)&&!Y(ah,e,{body:e.body}).has_side_effects(t)}}),Fy(Uh,function(e,t){if(e.bcatch&&e.bfinally&&e.bfinally.body.every(bv)&&(e.bfinally=null),t.option(`dead_code`)&&e.body.body.every(bv)){var n=[];return e.bcatch&&Ey(t,e.bcatch,n),e.bfinally&&n.push(...e.bfinally.body),Y(ah,e,{body:n}).optimize(t)}return e}),Jh.DEFMETHOD(`to_assignments`,function(e){var t=e.option(`reduce_vars`),n=[];for(let e of this.definitions){if(e.value){var r=Y($,e.name,e.name);n.push(Y(vg,e,{operator:`=`,logical:!1,left:r,right:e.value})),t&&(r.definition().fixed=!1)}let i=e.name.definition();i.eliminated++,i.replaced--}return n.length==0?null:sv(this,n)}),Fy(Jh,function(e){return e.definitions.length==0?Y(oh,e):e}),Fy(eg,function(e,t){return e.name instanceof Wg&&e.value!=null&&zv(e.value,t)&&(e.value=null),e}),Fy(rg,function(e){return e}),Fy(og,function(e,t){var n=e.expression,r=n;Xy(e.args);var i=e.args.every(e=>!(e instanceof yh));t.option(`reduce_vars`)&&r instanceof $&&(r=r.fixed_value());var a=r instanceof bh;if(a&&r.pinned())return e;if(t.option(`unused`)&&i&&a&&!r.uses_arguments){for(var o=0,s=0,c=0,l=e.args.length;c<l;c++){if(r.argnames[c]instanceof yh){if(rv(r.argnames[c].expression,1))for(;c<l;){var u=e.args[c++].drop_side_effect_free(t);u&&(e.args[o++]=u)}else for(;c<l;)e.args[o++]=e.args[c++];s=o;break}var d=c>=r.argnames.length;if(d||rv(r.argnames[c],1)){var u=e.args[c].drop_side_effect_free(t);if(u)e.args[o++]=u;else if(!d){e.args[o++]=Y(u_,e.args[c],{value:0});continue}}else e.args[o++]=e.args[c];s=o}e.args.length=s}if(n instanceof ug&&n.expression instanceof $&&n.expression.name===`console`&&n.expression.definition().undeclared&&n.property===`assert`){let n=e.args[0];if(n){let r=n.evaluate(t);if(r===1||r===!0)return Y(g_,e)}}if(t.option(`unsafe`)&&!n.contains_optional()){if(n instanceof ug&&n.start.value===`Array`&&n.property===`from`&&e.args.length===1){let[n]=e.args;if(n instanceof bg)return Y(bg,n,{elements:n.elements}).optimize(t)}if(Fv(n))switch(n.name){case`Array`:if(e.args.length!=1)return Y(bg,e,{elements:e.args}).optimize(t);if(e.args[0]instanceof u_&&e.args[0].value<=11){let t=[];for(let n=0;n<e.args[0].value;n++)t.push(new __);return new bg({elements:t})}break;case`Object`:if(e.args.length==0)return Y(xg,e,{properties:[]});break;case`String`:if(e.args.length==0)return Y(l_,e,{value:``});if(e.args.length<=1)return Y(Q,e,{left:e.args[0],operator:`+`,right:Y(l_,e,{value:``})}).optimize(t);break;case`Number`:if(e.args.length==0)return Y(u_,e,{value:0});if(e.args.length==1&&t.option(`unsafe_math`))return Y(hg,e,{expression:e.args[0],operator:`+`}).optimize(t);break;case`Symbol`:e.args.length==1&&e.args[0]instanceof l_&&t.option(`unsafe_symbols`)&&(e.args.length=0);break;case`Boolean`:if(e.args.length==0)return Y(b_,e);if(e.args.length==1)return Y(hg,e,{expression:Y(hg,e,{expression:e.args[0],operator:`!`}),operator:`!`}).optimize(t);break;case`RegExp`:var f=[];if(e.args.length>=1&&e.args.length<=2&&e.args.every(e=>{var n=e.evaluate(t);return f.push(n),e!==n})&&Zp(f[0])){let[n,r]=f;n=Yp(new RegExp(n).source);let i=Y(f_,e,{value:{source:n,flags:r}});if(i._eval(t)!==i)return i}break}else if(n instanceof ug)switch(n.property){case`toString`:if(e.args.length==0&&!n.expression.may_throw_on_access(t))return Y(Q,e,{left:Y(l_,e,{value:``}),operator:`+`,right:n.expression}).optimize(t);break;case`join`:if(n.expression instanceof bg)EXIT:{var p;if(e.args.length>0&&(p=e.args[0].evaluate(t),p===e.args[0]))break EXIT;for(var m=[],h=[],c=0,l=n.expression.elements.length;c<l;c++){var g=n.expression.elements[c];if(g instanceof yh)break EXIT;var _=g.evaluate(t);_===g?(h.length>0&&(m.push(Y(l_,e,{value:h.join(p)})),h.length=0),m.push(g)):h.push(_)}if(h.length>0&&m.push(Y(l_,e,{value:h.join(p)})),m.length==0)return Y(l_,e,{value:``});if(m.length==1)return m[0].is_string(t)?m[0]:Y(Q,m[0],{operator:`+`,left:Y(l_,e,{value:``}),right:m[0]});if(p==``){var v=m[0].is_string(t)||m[1].is_string(t)?m.shift():Y(l_,e,{value:``});return m.reduce(function(e,t){return Y(Q,t,{operator:`+`,left:e,right:t})},v).optimize(t)}var u=e.clone();return u.expression=u.expression.clone(),u.expression.expression=u.expression.expression.clone(),u.expression.expression.elements=m,fv(t,e,u)}break;case`charAt`:if(n.expression.is_string(t)){var y=e.args[0],b=y?y.evaluate(t):0;if(b!==y)return Y(fg,n,{expression:n.expression,property:lv(b|0,y||n)}).optimize(t)}break;case`apply`:if(e.args.length==2&&e.args[1]instanceof bg){var x=e.args[1].elements.slice();return x.unshift(e.args[0]),Y(og,e,{expression:Y(ug,n,{expression:n.expression,optional:!1,property:`call`}),args:x}).optimize(t)}break;case`call`:var S=n.expression;if(S instanceof $&&(S=S.fixed_value()),S instanceof bh&&!S.contains_this())return(e.args.length?sv(this,[e.args[0],Y(og,e,{expression:n.expression,args:e.args.slice(1)})]):Y(og,e,{expression:n.expression,args:[]})).optimize(t);break}}if(t.option(`unsafe_Function`)&&Fv(n)&&n.name==`Function`){if(e.args.length==0)return cv(e).optimize(t);if(e.args.every(e=>e instanceof l_))try{var C=`n(function(`+e.args.slice(0,-1).map(function(e){return e.value}).join(`,`)+`){`+e.args[e.args.length-1].value+`})`,w=Jm(C),T=t.mangle_options();w.figure_out_scope(T);var E=new Py(t.options,{mangle_options:t._mangle_options});w=w.transform(E),w.figure_out_scope(T),w.compute_char_frequency(T),w.mangle_names(T);var D;S_(w,e=>{if(vv(e))return D=e,w_});var C=R_();return ah.prototype._codegen.call(D,D,C),e.args=[Y(l_,e,{value:D.argnames.map(function(e){return e.print_to_string()}).join(`,`)}),Y(l_,e.args[e.args.length-1],{value:C.get().replace(/^{|}$/g,``)})],e}catch(e){if(!(e instanceof Lm))throw e}}return My(e,t)}),Z.DEFMETHOD(`contains_optional`,function(){return this instanceof lg||this instanceof og||this instanceof pg?this.optional?!0:this.expression.contains_optional():!1}),Fy(sg,function(e,t){return t.option(`unsafe`)&&Fv(e.expression)&&[`Object`,`RegExp`,`Function`,`Error`,`Array`].includes(e.expression.name)?Y(og,e,e).transform(t):e}),Fy(cg,function(e,t){if(!t.option(`side_effects`))return e;var n=[];i();var r=n.length-1;if(a(),r==0)return e=gv(t.parent(),t.self(),n[0]),e instanceof cg||(e=e.optimize(t)),e;return e.expressions=n,e;function i(){var r=N_(t),i=e.expressions.length-1;e.expressions.forEach(function(e,a){a<i&&(e=e.drop_side_effect_free(t,r)),e&&(ov(n,e),r=!1)})}function a(){for(;r>0&&zv(n[r],t);)r--;r<n.length-1&&(n[r]=Y(hg,e,{operator:`void`,expression:n[r]}),n.length=r+1)}}),mg.DEFMETHOD(`lift_sequences`,function(e){if(e.option(`sequences`)&&this.expression instanceof cg){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),sv(this,t).optimize(e)}return this}),Fy(gg,function(e,t){return e.lift_sequences(t)}),Fy(hg,function(e,t){var n=e.expression;if(e.operator==`delete`&&!(n instanceof $||n instanceof lg||n instanceof pg||Sv(n)))return sv(e,[n,Y(x_,e)]).optimize(t);var r=e.lift_sequences(t);if(r!==e)return r;if(t.option(`side_effects`)&&e.operator==`void`)return n=n.drop_side_effect_free(t),n?(e.expression=n,e):Y(g_,e).optimize(t);if(t.in_boolean_context())switch(e.operator){case`!`:if(n instanceof hg&&n.operator==`!`)return n.expression;n instanceof Q&&(e=fv(t,e,n.negate(t,N_(t))));break;case`typeof`:return(n instanceof $?Y(x_,e):sv(e,[n,Y(x_,e)])).optimize(t)}if(e.operator==`-`&&n instanceof v_&&(n=n.transform(t)),n instanceof Q&&(e.operator==`+`||e.operator==`-`)&&(n.operator==`*`||n.operator==`/`||n.operator==`%`))return Y(Q,e,{operator:n.operator,left:Y(hg,n.left,{operator:e.operator,expression:n.left}),right:n.right});if(t.option(`evaluate`)){if(e.operator===`~`&&e.expression instanceof hg&&e.expression.operator===`~`&&(t.in_32_bit_context(!1)||e.expression.expression.is_32_bit_integer(t)))return e.expression.expression;if(e.operator===`~`&&n instanceof Q&&n.operator===`^`)return n.left instanceof hg&&n.left.operator===`~`?n.left=n.left.bitwise_negate(t,!0):n.right=n.right.bitwise_negate(t,!0),n}if(e.operator!=`-`||!(n instanceof u_||n instanceof v_||n instanceof d_)){var i=e.evaluate(t);if(i!==e)return i=lv(i,e).optimize(t),fv(t,i,e)}return e}),Q.DEFMETHOD(`lift_sequences`,function(e){if(e.option(`sequences`)){if(this.left instanceof cg){var t=this.left.expressions.slice(),n=this.clone();return n.left=t.pop(),t.push(n),sv(this,t).optimize(e)}if(this.right instanceof cg&&!this.left.has_side_effects(e)){for(var r=this.operator==`=`&&this.left instanceof $,t=this.right.expressions,i=t.length-1,a=0;a<i&&!(!r&&t[a].has_side_effects(e));a++);if(a==i){t=t.slice();var n=this.clone();return n.right=t.pop(),t.push(n),sv(this,t).optimize(e)}else if(a>0){var n=this.clone();return n.right=sv(this.right,t.slice(a)),t=t.slice(0,a),t.push(n),sv(this,t).optimize(e)}}}return this});var Hy=Hp(`== === != !== * & | ^`);function Uy(e){return e instanceof bg||e instanceof bh||e instanceof xg||e instanceof Ag}Fy(Q,function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function r(t){if(n()){t&&(e.operator=t);var r=e.left;e.left=e.right,e.right=r}}if(t.option(`lhs_constants`)&&Hy.has(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof Q&&Km[e.left.operator]>=Km[e.operator]||r()),e=e.lift_sequences(t),t.option(`comparisons`))switch(e.operator){case`===`:case`!==`:var i=!0;(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_bigint(t)&&e.right.is_bigint(t)||e.left.is_boolean()&&e.right.is_boolean()||e.left.equivalent_to(e.right))&&(e.operator=e.operator.substr(0,2));case`==`:case`!=`:if(!i&&zv(e.left,t))e.left=Y(m_,e.left);else if(!i&&zv(e.right,t))e.right=Y(m_,e.right);else if(t.option(`typeofs`)&&e.left instanceof l_&&e.left.value==`undefined`&&e.right instanceof hg&&e.right.operator==`typeof`){var a=e.right.expression;(a instanceof $?a.is_declared(t):!(a instanceof lg&&t.option(`ie8`)))&&(e.right=a,e.left=Y(g_,e.left).optimize(t),e.operator.length==2&&(e.operator+=`=`))}else if(t.option(`typeofs`)&&e.left instanceof hg&&e.left.operator==`typeof`&&e.right instanceof l_&&e.right.value==`undefined`){var a=e.left.expression;(a instanceof $?a.is_declared(t):!(a instanceof lg&&t.option(`ie8`)))&&(e.left=a,e.right=Y(g_,e.right).optimize(t),e.operator.length==2&&(e.operator+=`=`))}else if(e.left instanceof $&&e.right instanceof $&&e.left.definition()===e.right.definition()&&Uy(e.left.fixed_value()))return Y(e.operator[0]==`=`?x_:b_,e);else if(e.left.is_32_bit_integer(t)&&e.right.is_32_bit_integer(t)){let n=e=>Y(hg,e,{operator:`!`,expression:e}),r=(e,r)=>r?t.in_boolean_context()?e:n(n(e)):n(e);if(e.left instanceof u_&&e.left.value===0)return r(e.right,e.operator[0]===`!`);if(e.right instanceof u_&&e.right.value===0)return r(e.left,e.operator[0]===`!`);let i,a,o;if((i=e.left instanceof Q?e.left:e.right instanceof Q?e.right:null)&&(o=i===e.left?e.right:e.left)&&i.operator===`&`&&o instanceof u_&&o.is_32_bit_integer(t)&&(a=i.left.equivalent_to(o)?i.right:i.right.equivalent_to(o)?i.left:null))return fv(t,r(Y(Q,e,{operator:`&`,left:o,right:Y(hg,e,{operator:`~`,expression:a})}),e.operator[0]===`!`),e)}break;case`&&`:case`||`:var o=e.left;if(o.operator==e.operator&&(o=o.right),o instanceof Q&&o.operator==(e.operator==`&&`?`!==`:`===`)&&e.right instanceof Q&&o.operator==e.right.operator&&(zv(o.left,t)&&e.right.left instanceof m_||o.left instanceof m_&&zv(e.right.left,t))&&!o.right.has_side_effects(t)&&o.right.equivalent_to(e.right.right)){var s=Y(Q,e,{operator:o.operator.slice(0,-1),left:Y(m_,e),right:o.right});return o!==e.left&&(s=Y(Q,e,{operator:e.operator,left:e.left.left,right:s})),s}break}if(e.operator==`+`&&t.in_boolean_context()){var c=e.left.evaluate(t),l=e.right.evaluate(t);if(c&&typeof c==`string`)return sv(e,[e.right,Y(x_,e)]).optimize(t);if(l&&typeof l==`string`)return sv(e,[e.left,Y(x_,e)]).optimize(t)}if(t.option(`comparisons`)&&e.is_boolean()){if(!(t.parent()instanceof Q)||t.parent()instanceof vg){var u=Y(hg,e,{operator:`!`,expression:e.negate(t,N_(t))});e=fv(t,e,u)}if(t.option(`unsafe_comps`))switch(e.operator){case`<`:r(`>`);break;case`<=`:r(`>=`);break}}if(e.operator==`+`){if(e.right instanceof l_&&e.right.getValue()==``&&e.left.is_string(t))return e.left;if(e.left instanceof l_&&e.left.getValue()==``&&e.right.is_string(t))return e.right;if(e.left instanceof Q&&e.left.operator==`+`&&e.left.left instanceof l_&&e.left.left.getValue()==``&&e.right.is_string(t))return e.left=e.left.right,e}if(t.option(`evaluate`)){switch(e.operator){case`&&`:var c=rv(e.left,2)?!0:rv(e.left,4)?!1:e.left.evaluate(t);if(c){if(!(c instanceof Z))return sv(e,[e.left,e.right]).optimize(t)}else return gv(t.parent(),t.self(),e.left).optimize(t);var l=e.right.evaluate(t);if(l){if(!(l instanceof Z)){var d=t.parent();if(d.operator==`&&`&&d.left===t.self()||t.in_boolean_context())return e.left.optimize(t)}}else{if(t.in_boolean_context())return sv(e,[e.left,Y(b_,e)]).optimize(t);iv(e,4)}if(e.left.operator==`||`){var f=e.left.right.evaluate(t);if(!f)return Y(_g,e,{condition:e.left.left,consequent:e.right,alternative:e.left.right}).optimize(t)}break;case`||`:var c=rv(e.left,2)?!0:rv(e.left,4)?!1:e.left.evaluate(t);if(c){if(!(c instanceof Z))return gv(t.parent(),t.self(),e.left).optimize(t)}else return sv(e,[e.left,e.right]).optimize(t);var l=e.right.evaluate(t);if(l){if(!(l instanceof Z)){if(t.in_boolean_context())return sv(e,[e.left,Y(x_,e)]).optimize(t);iv(e,2)}}else{var d=t.parent();if(d.operator==`||`&&d.left===t.self()||t.in_boolean_context())return e.left.optimize(t)}if(e.left.operator==`&&`){var f=e.left.right.evaluate(t);if(f&&!(f instanceof Z))return Y(_g,e,{condition:e.left.left,consequent:e.left.right,alternative:e.right}).optimize(t)}break;case`??`:if(Hv(e.left,t))return e.right;var c=e.left.evaluate(t);if(!(c instanceof Z))return c==null?e.right:e.left;if(t.in_boolean_context()){let n=e.right.evaluate(t);if(!(n instanceof Z)&&!n)return e.left}}var p=!0;switch(e.operator){case`+`:if(e.right instanceof c_&&e.left instanceof Q&&e.left.operator==`+`&&e.left.is_string(t)){var m=Y(Q,e,{operator:`+`,left:e.left.right,right:e.right}),h=m.optimize(t);m!==h&&(e=Y(Q,e,{operator:`+`,left:e.left.left,right:h}))}if(e.left instanceof Q&&e.left.operator==`+`&&e.left.is_string(t)&&e.right instanceof Q&&e.right.operator==`+`&&e.right.is_string(t)){var m=Y(Q,e,{operator:`+`,left:e.left.right,right:e.right.left}),g=m.optimize(t);m!==g&&(e=Y(Q,e,{operator:`+`,left:Y(Q,e.left,{operator:`+`,left:e.left.left,right:g}),right:e.right.right}))}if(e.right instanceof hg&&e.right.operator==`-`&&e.left.is_number_or_bigint(t)){e=Y(Q,e,{operator:`-`,left:e.left,right:e.right.expression});break}if(e.left instanceof hg&&e.left.operator==`-`&&n()&&e.right.is_number_or_bigint(t)){e=Y(Q,e,{operator:`-`,left:e.right,right:e.left.expression});break}if(e.left instanceof Dh){var _=e.left,h=e.right.evaluate(t);if(h!=e.right)return _.segments[_.segments.length-1].value+=String(h),_}if(e.right instanceof Dh){var h=e.right,_=e.left.evaluate(t);if(_!=e.left)return h.segments[0].value=String(_)+h.segments[0].value,h}if(e.left instanceof Dh&&e.right instanceof Dh){var _=e.left,v=_.segments,h=e.right;v[v.length-1].value+=h.segments[0].value;for(var y=1;y<h.segments.length;y++)v.push(h.segments[y]);return _}case`*`:p=t.option(`unsafe_math`);case`&`:case`|`:case`^`:if(e.left.is_number_or_bigint(t)&&e.right.is_number_or_bigint(t)&&n()&&!(e.left instanceof Q&&e.left.operator!=e.operator&&Km[e.left.operator]>=Km[e.operator])){var b=Y(Q,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof c_&&!(e.left instanceof c_)?fv(t,b,e):fv(t,e,b)}p&&e.is_number_or_bigint(t)&&(e.right instanceof Q&&e.right.operator==e.operator&&(e=Y(Q,e,{operator:e.operator,left:Y(Q,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof c_&&e.left instanceof Q&&e.left.operator==e.operator&&(e.left.left instanceof c_?e=Y(Q,e,{operator:e.operator,left:Y(Q,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof c_&&(e=Y(Q,e,{operator:e.operator,left:Y(Q,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof Q&&e.left.operator==e.operator&&e.left.right instanceof c_&&e.right instanceof Q&&e.right.operator==e.operator&&e.right.left instanceof c_&&(e=Y(Q,e,{operator:e.operator,left:Y(Q,e.left,{operator:e.operator,left:Y(Q,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}if(Iv.has(e.operator)){let n,r,i,a,o=e.left;if(e.operator===`&`&&e.right instanceof Q&&e.right.operator===`|`&&typeof(r=e.left.evaluate(t))==`number`&&(typeof(n=e.right.right.evaluate(t))==`number`?(i=e.right.left,a=e.right.right):typeof(n=e.right.left.evaluate(t))==`number`&&(i=e.right.right,a=e.right.left),i&&a))if((n&r)===0)e=Y(Q,e,{operator:e.operator,left:o,right:i});else{let s=Y(Q,e,{operator:`|`,left:Y(Q,e,{operator:`&`,left:i,right:o}),right:lv(n&r,a)});e=fv(t,e,s)}(e.operator===`|`||e.operator===`&`)&&e.left.equivalent_to(e.right)&&!e.left.has_side_effects(t)&&t.in_32_bit_context(!0)&&(e.left=Y(u_,e,{value:0}),e.operator=`|`),e.operator===`^`&&e.left instanceof hg&&e.left.operator===`~`&&e.right instanceof hg&&e.right.operator===`~`&&(e=Y(Q,e,{operator:`^`,left:e.left.expression,right:e.right.expression})),(e.operator===`<<`||e.operator===`>>`)&&e.right instanceof u_&&e.right.value===0&&(e.operator=`|`);let s=e.right instanceof u_&&e.right.value===0?e.right:e.left instanceof u_&&e.left.value===0?e.left:null,c=s&&(s===e.right?e.left:e.right);if(s&&(e.operator===`|`||e.operator===`^`)&&(c.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return c;if(s&&e.operator===`&`&&!c.has_side_effects(t)&&c.is_32_bit_integer(t))return s;let l=e=>e instanceof u_&&e.value===-1||e instanceof hg&&e.operator===`-`&&e.expression instanceof u_&&e.expression.value===1,u=l(e.right)?e.right:l(e.left)?e.left:null,d=u===e.right?e.left:e.right;if(u&&e.operator===`&`&&(d.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return d;if(u&&e.operator===`^`&&(d.is_32_bit_integer(t)||t.in_32_bit_context(!0)))return d.bitwise_negate(t)}}if(e.right instanceof Q&&e.right.operator==e.operator&&(Lv.has(e.operator)||e.operator==`+`&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=Y(Q,e.left,{operator:e.operator,left:e.left.transform(t),right:e.right.left.transform(t)}),e.right=e.right.right.transform(t),e.transform(t);var x=e.evaluate(t);return x===e?e:(x=lv(x,e).optimize(t),fv(t,x,e))}),Fy(n_,function(e){return e}),Fy($,function(e,t){if(!t.option(`ie8`)&&Fv(e)&&!t.find_parent(gh))switch(e.name){case`undefined`:return Y(g_,e).optimize(t);case`NaN`:return Y(h_,e).optimize(t);case`Infinity`:return Y(v_,e).optimize(t)}return t.option(`reduce_vars`)&&!t.is_lhs()?jy(e,t):e});function Wy(e,t){return e instanceof $||e.TYPE===t.TYPE}Fy(g_,function(e,t){if(t.option(`unsafe_undefined`)){var n=Iy(t,`undefined`);if(n){var r=Y($,e,{name:`undefined`,scope:n.scope,thedef:n});return iv(r,8),r}}var i=t.is_lhs();return i&&Wy(i,e)?e:Y(hg,e,{operator:`void`,expression:Y(u_,e,{value:0})})}),Fy(v_,function(e,t){var n=t.is_lhs();return n&&Wy(n,e)||t.option(`keep_infinity`)&&!(n&&!Wy(n,e))&&!Iy(t,`Infinity`)?e:Y(Q,e,{operator:`/`,left:Y(u_,e,{value:1}),right:Y(u_,e,{value:0})})}),Fy(h_,function(e,t){var n=t.is_lhs();return n&&!Wy(n,e)||Iy(t,`NaN`)?Y(Q,e,{operator:`/`,left:Y(u_,e,{value:0}),right:Y(u_,e,{value:0})}):e});const Gy=Hp(`+ - / * % >> << >>> | ^ &`),Ky=Hp(`* | ^ &`);Fy(vg,function(e,t){if(e.logical)return e.lift_sequences(t);var n;if(e.operator===`=`&&e.left instanceof $&&e.left.name!==`arguments`&&!(n=e.left.definition()).undeclared&&e.right.equivalent_to(e.left))return e.right;if(t.option(`dead_code`)&&e.left instanceof $&&(n=e.left.definition()).scope===t.find_parent(bh)){var r=0,i,a=e;do if(i=a,a=t.parent(r++),a instanceof Ah){if(o(r,a)||Ev(n.scope,[n]))break;return e.operator==`=`?e.right:(n.fixed=!1,Y(Q,e,{operator:e.operator.slice(0,-1),left:e.left,right:e.right}).optimize(t))}while(a instanceof Q&&a.right===i||a instanceof cg&&a.tail_node()===i)}return e=e.lift_sequences(t),e.operator==`=`&&e.left instanceof $&&e.right instanceof Q&&(e.right.left instanceof $&&e.right.left.name==e.left.name&&Gy.has(e.right.operator)?(e.operator=e.right.operator+`=`,e.right=e.right.right):e.right.right instanceof $&&e.right.right.name==e.left.name&&Ky.has(e.right.operator)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+`=`,e.right=e.right.left)),e;function o(n,r){function i(){let n=e.right;e.right=Y(m_,n);let i=r.may_throw(t);return e.right=n,i}for(var a=e.left.definition().scope.get_defun_scope(),o;(o=t.parent(n++))!==a;)if(o instanceof Uh&&(o.bfinally||o.bcatch&&i()))return!0}}),Fy(yg,function(e,t){if(!t.option(`evaluate`))return e;var n=e.right.evaluate(t);let r,i;return n===void 0?(!((r=t.parent())instanceof bh)||t.option(`keep_fargs`)===!1||(i=t.parent(1)).TYPE===`Call`&&i.expression===r)&&(e=e.left):n!==e.right&&(n=lv(n,e.right),e.right=uv(n,e.right)),e});function qy(e,t,n){if(t.may_throw(n))return!1;let r;if(e instanceof Q&&e.operator===`==`&&((r=Hv(e.left,n)&&e.left)||(r=Hv(e.right,n)&&e.right))&&(r===e.left?e.right:e.left).equivalent_to(t))return!0;if(e instanceof Q&&e.operator===`||`){let r,i,a=e=>{if(!(e instanceof Q&&(e.operator===`===`||e.operator===`==`)))return!1;let a=0,o;return e.left instanceof m_&&(a++,r=e,o=e.right),e.right instanceof m_&&(a++,r=e,o=e.left),zv(e.left,n)&&(a++,i=e,o=e.right),zv(e.right,n)&&(a++,i=e,o=e.left),!(a!==1||!o.equivalent_to(t))};if(!a(e.left)||!a(e.right))return!1;if(r&&i&&r!==i)return!0}return!1}Fy(_g,function(e,t){if(!t.option(`conditionals`))return e;if(e.condition instanceof cg){var n=e.condition.expressions.slice();return e.condition=n.pop(),n.push(e),sv(e,n)}var r=e.condition.evaluate(t);if(r!==e.condition)return r?gv(t.parent(),t.self(),e.consequent):gv(t.parent(),t.self(),e.alternative);var i=r.negate(t,N_(t));fv(t,r,i)===i&&(e=Y(_g,e,{condition:i,consequent:e.alternative,alternative:e.consequent}));var a=e.condition,o=e.consequent,s=e.alternative;if(a instanceof $&&o instanceof $&&a.definition()===o.definition())return Y(Q,e,{operator:`||`,left:a,right:s});if(o instanceof vg&&s instanceof vg&&o.operator===s.operator&&o.logical===s.logical&&o.left.equivalent_to(s.left)&&(!e.condition.has_side_effects(t)||o.operator==`=`&&!o.left.has_side_effects(t)))return Y(vg,e,{operator:o.operator,left:o.left,logical:o.logical,right:Y(_g,e,{condition:e.condition,consequent:o.right,alternative:s.right})});var c;if(o instanceof og&&s.TYPE===o.TYPE&&o.args.length>0&&o.args.length==s.args.length&&o.expression.equivalent_to(s.expression)&&!e.condition.has_side_effects(t)&&!o.expression.has_side_effects(t)&&typeof(c=m())==`number`){var l=o.clone();return l.args[c]=Y(_g,e,{condition:e.condition,consequent:o.args[c],alternative:s.args[c]}),l}if(s instanceof _g&&o.equivalent_to(s.consequent))return Y(_g,e,{condition:Y(Q,e,{operator:`||`,left:a,right:s.condition}),consequent:o,alternative:s.alternative}).optimize(t);if(t.option(`ecma`)>=2020&&qy(a,s,t))return Y(Q,e,{operator:`??`,left:s,right:o}).optimize(t);if(s instanceof cg&&o.equivalent_to(s.expressions[s.expressions.length-1]))return sv(e,[Y(Q,e,{operator:`||`,left:a,right:sv(e,s.expressions.slice(0,-1))}),o]).optimize(t);if(s instanceof Q&&s.operator==`&&`&&o.equivalent_to(s.right))return Y(Q,e,{operator:`&&`,left:Y(Q,e,{operator:`||`,left:a,right:s.left}),right:o}).optimize(t);if(o instanceof _g&&o.alternative.equivalent_to(s))return Y(_g,e,{condition:Y(Q,e,{left:e.condition,operator:`&&`,right:o.condition}),consequent:o.consequent,alternative:s});if(o.equivalent_to(s))return sv(e,[e.condition,o]).optimize(t);if(o instanceof Q&&o.operator==`||`&&o.right.equivalent_to(s))return Y(Q,e,{operator:`||`,left:Y(Q,e,{operator:`&&`,left:e.condition,right:o.left}),right:s}).optimize(t);let u=t.in_boolean_context();if(f(e.consequent))return p(e.alternative)?d(e.condition):Y(Q,e,{operator:`||`,left:d(e.condition),right:e.alternative});if(p(e.consequent))return f(e.alternative)?d(e.condition.negate(t)):Y(Q,e,{operator:`&&`,left:d(e.condition.negate(t)),right:e.alternative});if(f(e.alternative))return Y(Q,e,{operator:`||`,left:d(e.condition.negate(t)),right:e.consequent});if(p(e.alternative))return Y(Q,e,{operator:`&&`,left:d(e.condition),right:e.consequent});return e;function d(e){return e.is_boolean()?e:Y(hg,e,{operator:`!`,expression:e.negate(t)})}function f(e){return e instanceof x_||u&&e instanceof c_&&e.getValue()||e instanceof hg&&e.operator==`!`&&e.expression instanceof c_&&!e.expression.getValue()}function p(e){return e instanceof b_||u&&e instanceof c_&&!e.getValue()||e instanceof hg&&e.operator==`!`&&e.expression instanceof c_&&e.expression.getValue()}function m(){for(var e=o.args,t=s.args,n=0,r=e.length;n<r;n++){if(e[n]instanceof yh)return;if(!e[n].equivalent_to(t[n])){if(t[n]instanceof yh)return;for(var i=n+1;i<r;i++)if(e[i]instanceof yh||!e[i].equivalent_to(t[i]))return;return n}}}}),Fy(y_,function(e,t){if(t.in_boolean_context())return Y(u_,e,{value:+e.value});var n=t.parent();return t.option(`booleans_as_integers`)?(n instanceof Q&&(n.operator==`===`||n.operator==`!==`)&&(n.operator=n.operator.replace(/=$/,``)),Y(u_,e,{value:+e.value})):t.option(`booleans`)?n instanceof Q&&(n.operator==`==`||n.operator==`!=`)?Y(u_,e,{value:+e.value}):Y(hg,e,{operator:`!`,expression:Y(u_,e,{value:1-e.value})}):e});function Jy(e,t){return e instanceof $&&(e=e.fixed_value()),e?!(e instanceof bh||e instanceof Ag)||!(e instanceof bh&&e.contains_this())?!0:t.parent()instanceof sg:!1}lg.DEFMETHOD(`flatten_object`,function(e,t){if(t.option(`properties`)&&e!==`__proto__`&&!(this instanceof dg)){var n=t.option(`unsafe_arrows`)&&t.option(`ecma`)>=2015,r=this.expression;if(r instanceof xg)for(var i=r.properties,a=i.length;--a>=0;){var o=i[a];if(``+(o instanceof Og?o.key.name:o.key)==e)return!i.every(e=>(e instanceof Cg||n&&e instanceof Og&&!e.value.is_generator)&&!e.computed_key())||!Jy(o.value,t)?void 0:Y(fg,this,{expression:Y(bg,r,{elements:i.map(function(e){var t=e.value;t instanceof xh&&(t=Y(Sh,t,t));var n=e.key;return n instanceof Z&&!(n instanceof qg)?sv(e,[n,t]):t})}),property:Y(u_,this,{value:a})})}}}),Fy(fg,function(e,t){var n=e.expression,r=e.property;if(t.option(`properties`)){var i=r.evaluate(t);if(i!==r){if(typeof i==`string`)if(i==`undefined`)i=void 0;else{var a=parseFloat(i);a.toString()==i&&(i=a)}r=e.property=uv(r,lv(i,r).transform(t));var o=``+i;if(Pm(o)&&o.length<=r.size()+1)return Y(ug,e,{expression:n,optional:e.optional,property:o,quote:r.quote}).optimize(t)}}var s;OPT_ARGUMENTS:if(t.option(`arguments`)&&n instanceof $&&n.name==`arguments`&&n.definition().orig.length==1&&(s=n.scope)instanceof bh&&s.uses_arguments&&!(s instanceof Ch)&&r instanceof u_){for(var c=r.getValue(),l=new Set,u=s.argnames,d=0;d<u.length;d++){if(!(u[d]instanceof Gg))break OPT_ARGUMENTS;var f=u[d].name;if(l.has(f))break OPT_ARGUMENTS;l.add(f)}var p=s.argnames[c];if(p&&t.has_directive(`use strict`)){var m=p.definition();(!t.option(`reduce_vars`)||m.assignments||m.orig.length>1)&&(p=null)}else if(!p&&!t.option(`keep_fargs`)&&c<s.argnames.length+5)for(;c>=s.argnames.length;)p=s.create_symbol(Gg,{source:s,scope:s,tentative_name:`argument_`+s.argnames.length}),s.argnames.push(p);if(p){var h=Y($,e,p);return h.reference({}),av(p,1),h}}if(t.is_lhs())return e;if(i!==r){var g=e.flatten_object(o,t);g&&(n=e.expression=g.expression,r=e.property=g.property)}if(t.option(`properties`)&&t.option(`side_effects`)&&r instanceof u_&&n instanceof bg){var c=r.getValue(),_=n.elements,v=_[c];FLATTEN:if(Jy(v,t)){for(var y=!0,b=[],x=_.length;--x>c;){var a=_[x].drop_side_effect_free(t);a&&(b.unshift(a),y&&a.has_side_effects(t)&&(y=!1))}if(v instanceof yh)break FLATTEN;for(v=v instanceof __?Y(g_,v):v,y||b.unshift(v);--x>=0;){var a=_[x];if(a instanceof yh)break FLATTEN;a=a.drop_side_effect_free(t),a?b.unshift(a):c--}return y?(b.push(v),sv(e,b).optimize(t)):Y(fg,e,{expression:Y(bg,n,{elements:b}),property:Y(u_,r,{value:c})})}}var S=e.evaluate(t);return S===e?e:(S=lv(S,e).optimize(t),fv(t,S,e))}),Fy(pg,function(e,t){if(Hv(e.expression,t)){let n=t.parent();return n instanceof hg&&n.operator===`delete`?lv(0,e):Y(g_,e)}return e.expression instanceof lg||e.expression instanceof og?e:e.expression}),Fy(ug,function(e,t){let n=t.parent();if(t.is_lhs())return e;if(t.option(`unsafe_proto`)&&e.expression instanceof ug&&e.expression.property==`prototype`){var r=e.expression.expression;if(Fv(r))switch(r.name){case`Array`:e.expression=Y(bg,e.expression,{elements:[]});break;case`Function`:e.expression=cv(e.expression);break;case`Number`:e.expression=Y(u_,e.expression,{value:0});break;case`Object`:e.expression=Y(xg,e.expression,{properties:[]});break;case`RegExp`:e.expression=Y(f_,e.expression,{value:{source:`t`,flags:``}});break;case`String`:e.expression=Y(l_,e.expression,{value:``});break}}if(!(n instanceof og)||!$p(n,4)){let n=e.flatten_object(e.property,t);if(n)return n.optimize(t)}if(e.expression instanceof lg&&n instanceof lg)return e;let i=e.evaluate(t);return i===e?e:(i=lv(i,e).optimize(t),fv(t,i,e))});function Yy(e,t){return t.in_boolean_context()?fv(t,e,sv(e,[e,Y(x_,e)]).optimize(t)):e}function Xy(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof yh){var r=n.expression;r instanceof bg&&!r.elements.some(e=>e instanceof __)&&(e.splice(t,1,...r.elements),t--)}}}Fy(bg,function(e,t){var n=Yy(e,t);return n===e?(Xy(e.elements),e):n});function Zy(e){for(var t=0;t<e.length;t++){var n=e[t];if(n instanceof yh){let r=n.expression;r instanceof xg&&r.properties.every(e=>e instanceof Cg)?(e.splice(t,1,...r.properties),t--):(r instanceof c_||r.is_constant())&&!(r instanceof l_)&&(e.splice(t,1),t--)}}}Fy(xg,function(e,t){var n=Yy(e,t);return n===e?(Zy(e.properties),e):n}),Fy(f_,Yy),Fy(jh,function(e,t){return e.value&&zv(e.value,t)&&(e.value=null),e}),Fy(Ch,By),Fy(Sh,function(e,t){return e=By(e,t),t.option(`unsafe_arrows`)&&t.option(`ecma`)>=2015&&!e.name&&!e.is_generator&&!e.uses_arguments&&!e.pinned()&&!S_(e,e=>{if(e instanceof o_)return w_})?Y(Ch,e,e).optimize(t):e}),Fy(Ag,function(e){for(let t=0;t<e.properties.length;t++){let n=e.properties[t];n instanceof Fg&&n.body.length==0&&(e.properties.splice(t,1),t--)}return e}),Fy(Fg,function(e,t){return Dy(e.body,t),e}),Fy(Lh,function(e,t){return e.expression&&!e.is_star&&zv(e.expression,t)&&(e.expression=null),e}),Fy(Dh,function(e,t){if(!t.option(`evaluate`)||t.parent()instanceof Eh)return e;for(var n=[],r=0;r<e.segments.length;r++){var i=e.segments[r];if(i instanceof Z){var a=i.evaluate(t);if(a!==i&&(a+``).length<=i.size()+3){n[n.length-1].value=n[n.length-1].value+a+e.segments[++r].value;continue}if(i instanceof Dh){var o=i.segments;n[n.length-1].value+=o[0].value;for(var s=1;s<o.length;s++)i=o[s],n.push(i);continue}}n.push(i)}if(e.segments=n,n.length==1)return Y(l_,e,n[0]);if(n.length===3&&n[1]instanceof Z&&(n[1].is_string(t)||n[1].is_number_or_bigint(t)||Hv(n[1],t)||t.option(`unsafe`))){if(n[2].value===``)return Y(Q,e,{operator:`+`,left:Y(l_,e,{value:n[0].value}),right:n[1]});if(n[0].value===``)return Y(Q,e,{operator:`+`,left:n[1],right:Y(l_,e,{value:n[2].value})})}return e}),Fy(Eh,function(e){return e});function Qy(e,t){if(!t.option(`computed_props`)||!(e.key instanceof c_))return e;if(e.key instanceof l_||e.key instanceof u_){let n=e.key.value.toString();if(n===`__proto__`||n==`constructor`&&t.parent()instanceof Ag)return e;e instanceof Cg?(e.quote=e.key.quote,e.key=n):e instanceof jg?(e.quote=e.key.quote,e.key=Y(Jg,e.key,{name:n})):(e.quote=e.key.quote,e.key=Y(qg,e.key,{name:n}))}return e}Fy(Sg,Qy),Fy(Og,function(e,t){if(Qy(e,t),t.option(`arrows`)&&t.parent()instanceof xg&&!e.value.is_generator&&!e.value.uses_arguments&&!e.value.pinned()&&e.value.body.length==1&&e.value.body[0]instanceof jh&&e.value.body[0].value&&!e.value.contains_this()){var n=Y(Ch,e.value,e.value);return n.async=e.value.async,n.is_generator=e.value.is_generator,Y(Cg,e,{key:e.key instanceof qg?e.key.name:e.key,value:n,quote:e.quote})}return e}),Fy(Cg,function(e,t){Qy(e,t);var n=t.option(`unsafe_methods`);if(n&&t.option(`ecma`)>=2015&&(!(n instanceof RegExp)||n.test(e.key+``))){var r=e.key,i=e.value;if((i instanceof Ch&&Array.isArray(i.body)&&!i.contains_this()||i instanceof Sh)&&!i.name)return Y(Og,e,{key:r instanceof Z?r:Y(qg,e,{name:r}),value:Y(xh,i,i),quote:e.quote})}return e}),Fy(Th,function(e,t){if(t.option(`pure_getters`)==1&&t.option(`unused`)&&!e.is_array&&Array.isArray(e.names)&&!a(t)&&!(e.names[e.names.length-1]instanceof yh)){for(var n=[],r=0;r<e.names.length;r++){var i=e.names[r];i instanceof Cg&&typeof i.key==`string`&&i.value instanceof zg&&!o(t,i.value.definition())||n.push(i)}n.length!=e.names.length&&(e.names=n)}return e;function a(e){for(var t=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],n=0,r=0,i=t.length;n<i;r++){var a=e.parent(r);if(!a)return!1;if(!(n===0&&a.TYPE==`Destructuring`)){if(!t[n].test(a.TYPE))return!1;n++}}return!0}function o(e,t){return t.references.length?!0:t.global?e.toplevel.vars?e.top_retain?e.top_retain(t):!1:!0:!1}});var $y=44,eb=59,tb=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,nb=new Uint8Array(64),rb=new Uint8Array(128);for(let e=0;e<tb.length;e++){let t=tb.charCodeAt(e);nb[e]=t,rb[t]=e}function ib(e,t){let n=0,r=0,i=0;do i=rb[e.next()],n|=(i&31)<<r,r+=5;while(i&32);let a=n&1;return n>>>=1,a&&(n=-2147483648|-n),t+n}function ab(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=r&31;r>>>=5,r>0&&(t|=32),e.write(nb[t])}while(r>0);return t}function ob(e,t){return e.pos>=t?!1:e.peek()!==$y}var sb=1024*16,cb=typeof TextDecoder<`u`?new TextDecoder:typeof Buffer<`u`?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},lb=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(sb)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===sb&&(this.out+=cb.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+cb.decode(e.subarray(0,n)):t}},ub=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:n}=this,r=t.indexOf(e,n);return r===-1?t.length:r}};function db(e){let{length:t}=e,n=new ub(e),r=[],i=0,a=0,o=0,s=0,c=0;do{let e=n.indexOf(`;`),t=[],l=!0,u=0;for(i=0;n.pos<e;){let r;i=ib(n,i),i<u&&(l=!1),u=i,ob(n,e)?(a=ib(n,a),o=ib(n,o),s=ib(n,s),ob(n,e)?(c=ib(n,c),r=[i,a,o,s,c]):r=[i,a,o,s]):r=[i],t.push(r),n.pos++}l||fb(t),r.push(t),n.pos=e+1}while(n.pos<=t);return r}function fb(e){e.sort(pb)}function pb(e,t){return e[0]-t[0]}function mb(e){let t=new lb,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(eb),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write($y),c=ab(t,o[0],c),o.length!==1&&(n=ab(t,o[1],n),r=ab(t,o[2],r),i=ab(t,o[3],i),o.length!==4&&(a=ab(t,o[4],a)))}}return t.flush()}const hb=/^[\w+.-]+:\/\//,gb=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,_b=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function vb(e){return hb.test(e)}function yb(e){return e.startsWith(`//`)}function bb(e){return e.startsWith(`/`)}function xb(e){return e.startsWith(`file:`)}function Sb(e){return/^[.?#]/.test(e)}function Cb(e){let t=gb.exec(e);return Tb(t[1],t[2]||``,t[3],t[4]||``,t[5]||`/`,t[6]||``,t[7]||``)}function wb(e){let t=_b.exec(e),n=t[2];return Tb(`file:`,``,t[1]||``,``,bb(n)?n:`/`+n,t[3]||``,t[4]||``)}function Tb(e,t,n,r,i,a,o){return{scheme:e,user:t,host:n,port:r,path:i,query:a,hash:o,type:7}}function Eb(e){if(yb(e)){let t=Cb(`http:`+e);return t.scheme=``,t.type=6,t}if(bb(e)){let t=Cb(`http://foo.com`+e);return t.scheme=``,t.host=``,t.type=5,t}if(xb(e))return wb(e);if(vb(e))return Cb(e);let t=Cb(`http://foo.com/`+e);return t.scheme=``,t.host=``,t.type=e?e.startsWith(`?`)?3:e.startsWith(`#`)?2:4:1,t}function Db(e){if(e.endsWith(`/..`))return e;let t=e.lastIndexOf(`/`);return e.slice(0,t+1)}function Ob(e,t){kb(t,t.type),e.path===`/`?e.path=t.path:e.path=Db(t.path)+e.path}function kb(e,t){let n=t<=4,r=e.path.split(`/`),i=1,a=0,o=!1;for(let e=1;e<r.length;e++){let t=r[e];if(!t){o=!0;continue}if(o=!1,t!==`.`){if(t===`..`){a?(o=!0,a--,i--):n&&(r[i++]=t);continue}r[i++]=t,a++}}let s=``;for(let e=1;e<i;e++)s+=`/`+r[e];(!s||o&&!s.endsWith(`/..`))&&(s+=`/`),e.path=s}function Ab(e,t){if(!e&&!t)return``;let n=Eb(e),r=n.type;if(t&&r!==7){let e=Eb(t),i=e.type;switch(r){case 1:n.hash=e.hash;case 2:n.query=e.query;case 3:case 4:Ob(n,e);case 5:n.user=e.user,n.host=e.host,n.port=e.port;case 6:n.scheme=e.scheme}i>r&&(r=i)}kb(n,r);let i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{let r=n.path.slice(1);return r?Sb(t||e)&&!Sb(r)?`./`+r+i:r+i:i||`.`}case 5:return n.path+i;default:return n.scheme+`//`+n.user+n.host+n.port+n.path+i}}function jb(e){if(!e)return``;let t=e.lastIndexOf(`/`);return e.slice(0,t+1)}function Mb(e,t){let n=jb(e),r=t?t+`/`:``;return e=>Ab(r+(e||``),n)}var Nb=0,Pb=1,Fb=2,Ib=3,Lb=4,Rb=1,zb=2;function Bb(e,t){let n=Vb(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=Vb(e,r+1))e[r]=Ub(e[r],t);return e}function Vb(e,t){for(let n=t;n<e.length;n++)if(!Hb(e[n]))return n;return e.length}function Hb(e){for(let t=1;t<e.length;t++)if(e[t][Nb]<e[t-1][Nb])return!1;return!0}function Ub(e,t){return t||(e=e.slice()),e.sort(Wb)}function Wb(e,t){return e[Nb]-t[Nb]}function Gb(e,t){let n=t.map(()=>[]);for(let t=0;t<e.length;t++){let r=e[t];for(let e=0;e<r.length;e++){let i=r[e];if(i.length===1)continue;let a=i[Pb],o=i[Fb],s=i[Ib],c=n[a];(c[o]||(c[o]=[])).push([s,t,i[Nb]])}}for(let e=0;e<n.length;e++){let t=n[e];for(let e=0;e<t.length;e++){let n=t[e];n&&n.sort(Wb)}}return n}var Kb=!1;function qb(e,t,n,r){for(;n<=r;){let i=n+(r-n>>1),a=e[i][Nb]-t;if(a===0)return Kb=!0,i;a<0?n=i+1:r=i-1}return Kb=!1,n-1}function Jb(e,t,n){for(let r=n+1;r<e.length&&e[r][Nb]===t;n=r++);return n}function Yb(e,t,n){for(let r=n-1;r>=0&&e[r][Nb]===t;n=r--);return n}function Xb(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Zb(e,t,n,r){let{lastKey:i,lastNeedle:a,lastIndex:o}=n,s=0,c=e.length-1;if(r===i){if(t===a)return Kb=o!==-1&&e[o][Nb]===t,o;t>=a?s=o===-1?0:o:c=o}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=qb(e,t,s,c)}function Qb(e){return typeof e==`string`?JSON.parse(e):e}var $b=function(e,t){let n=Qb(e);if(!(`sections`in n))return new cx(n,t);let r=[],i=[],a=[],o=[],s=[];return ex(n,t,r,i,a,o,s,0,0,1/0,1/0),vx({version:3,file:n.file,names:o,sources:i,sourcesContent:a,mappings:r,ignoreList:s})};function ex(e,t,n,r,i,a,o,s,c,l,u){let{sections:d}=e;for(let e=0;e<d.length;e++){let{map:f,offset:p}=d[e],m=l,h=u;if(e+1<d.length){let t=d[e+1].offset;m=Math.min(l,s+t.line),m===l?h=Math.min(u,c+t.column):m<l&&(h=c+t.column)}tx(f,t,n,r,i,a,o,s+p.line,c+p.column,m,h)}}function tx(e,t,n,r,i,a,o,s,c,l,u){let d=Qb(e);if(`sections`in d)return ex(...arguments);let f=new cx(d,t),p=r.length,m=a.length,h=dx(f),{resolvedSources:g,sourcesContent:_,ignoreList:v}=f;if(nx(r,g),nx(a,f.names),_)nx(i,_);else for(let e=0;e<g.length;e++)i.push(null);if(v)for(let e=0;e<v.length;e++)o.push(v[e]+p);for(let e=0;e<h.length;e++){let t=s+e;if(t>l)return;let r=rx(n,t),i=e===0?c:0,a=h[e];for(let e=0;e<a.length;e++){let n=a[e],o=i+n[Nb];if(t===l&&o>=u)return;if(n.length===1){r.push([o]);continue}let s=p+n[Pb],c=n[Fb],d=n[Ib];r.push(n.length===4?[o,s,c,d]:[o,s,c,d,m+n[Lb]])}}}function nx(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}function rx(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}var ix="`line` must be greater than 0 (lines start at line 1)",ax="`column` must be greater than or equal to 0 (columns start at column 0)",ox=-1,sx=1,cx=class{constructor(e,t){let n=typeof e==`string`;if(!n&&e._decodedMemo)return e;let r=Qb(e),{version:i,file:a,names:o,sourceRoot:s,sources:c,sourcesContent:l}=r;this.version=i,this.file=a,this.names=o||[],this.sourceRoot=s,this.sources=c,this.sourcesContent=l,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;let u=Mb(t,s);this.resolvedSources=c.map(u);let{mappings:d}=r;if(typeof d==`string`)this._encoded=d,this._decoded=void 0;else if(Array.isArray(d))this._encoded=void 0,this._decoded=Bb(d,n);else if(r.sections)throw Error(`TraceMap passed sectioned source map, please use FlattenMap export instead`);else throw Error(`invalid source map: ${JSON.stringify(r)}`);this._decodedMemo=Xb(),this._bySources=void 0,this._bySourceMemos=void 0}};function lx(e){return e}function ux(e){var t;return(t=lx(e))._encoded??(t._encoded=mb(lx(e)._decoded))}function dx(e){var t;return(t=lx(e))._decoded||(t._decoded=db(lx(e)._encoded))}function fx(e,t){let{line:n,column:r,bias:i}=t;if(n--,n<0)throw Error(ix);if(r<0)throw Error(ax);let a=dx(e);if(n>=a.length)return bx(null,null,null,null);let o=a[n],s=Sx(o,lx(e)._decodedMemo,n,r,i||sx);if(s===-1)return bx(null,null,null,null);let c=o[s];if(c.length===1)return bx(null,null,null,null);let{names:l,resolvedSources:u}=e;return bx(u[c[Pb]],c[Fb]+1,c[Ib],c.length===5?l[c[Lb]]:null)}function px(e,t){let{source:n,line:r,column:i,bias:a}=t;return wx(e,n,r,i,a||sx,!1)}function mx(e,t){let{source:n,line:r,column:i,bias:a}=t;return wx(e,n,r,i,a||ox,!0)}function hx(e,t){let n=dx(e),{names:r,resolvedSources:i}=e;for(let e=0;e<n.length;e++){let a=n[e];for(let n=0;n<a.length;n++){let o=a[n],s=e+1,c=o[0],l=null,u=null,d=null,f=null;o.length!==1&&(l=i[o[1]],u=o[2]+1,d=o[3]),o.length===5&&(f=r[o[4]]),t({generatedLine:s,generatedColumn:c,source:l,originalLine:u,originalColumn:d,name:f})}}}function gx(e,t){let{sources:n,resolvedSources:r}=e,i=n.indexOf(t);return i===-1&&(i=r.indexOf(t)),i}function _x(e,t){let{sourcesContent:n}=e;if(n==null)return null;let r=gx(e,t);return r===-1?null:n[r]}function vx(e,t){let n=new cx(yx(e,[]),t);return lx(n)._decoded=e.mappings,n}function yx(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function bx(e,t,n,r){return{source:e,line:t,column:n,name:r}}function xx(e,t){return{line:e,column:t}}function Sx(e,t,n,r,i){let a=Zb(e,r,t,n);return Kb?a=(i===ox?Jb:Yb)(e,r,a):i===ox&&a++,a===-1||a===e.length?-1:a}function Cx(e,t,n,r,i){let a=Sx(e,t,n,r,sx);if(!Kb&&i===ox&&a++,a===-1||a===e.length)return[];let o=Kb?r:e[a][Nb];Kb||(a=Yb(e,o,a));let s=Jb(e,o,a),c=[];for(;a<=s;a++){let t=e[a];c.push(xx(t[Rb]+1,t[zb]))}return c}function wx(e,t,n,r,i,a){var o,s;if(n--,n<0)throw Error(ix);if(r<0)throw Error(ax);let{sources:c,resolvedSources:l}=e,u=c.indexOf(t);if(u===-1&&(u=l.indexOf(t)),u===-1)return a?[]:xx(null,null);let d=(o=lx(e))._bySourceMemos||(o._bySourceMemos=c.map(Xb)),f=((s=lx(e))._bySources||(s._bySources=Gb(dx(e),d)))[u][n];if(f==null)return a?[]:xx(null,null);let p=d[u];if(a)return Cx(f,p,n,r,i);let m=Sx(f,p,n,r,i);if(m===-1)return xx(null,null);let h=f[m];return xx(h[Rb]+1,h[zb])}var Tx=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function Ex(e){return e}function Dx(e,t){return Ex(e)._indexes[t]}function Ox(e,t){let n=Dx(e,t);if(n!==void 0)return n;let{array:r,_indexes:i}=Ex(e);return i[t]=r.push(t)-1}var kx=0,Ax=1,jx=2,Mx=3,Nx=4,Px=-1,Fx=class{constructor({file:e,sourceRoot:t}={}){this._names=new Tx,this._sources=new Tx,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new Tx}};function Ix(e){return e}var Lx=(e,t)=>Xx(!0,e,t);function Rx(e,t,n){let{_sources:r,_sourcesContent:i}=Ix(e),a=Ox(r,t);i[a]=n}function zx(e){let{_mappings:t,_sources:n,_sourcesContent:r,_names:i,_ignoreList:a}=Ix(e);return Kx(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:t,ignoreList:a.array}}function Bx(e){let t=zx(e);return Object.assign({},t,{mappings:mb(t.mappings)})}function Vx(e){let t=new cx(e),n=new Fx({file:t.file,sourceRoot:t.sourceRoot});return qx(Ix(n)._names,t.names),qx(Ix(n)._sources,t.sources),Ix(n)._sourcesContent=t.sourcesContent||t.sources.map(()=>null),Ix(n)._mappings=dx(t),t.ignoreList&&qx(Ix(n)._ignoreList,t.ignoreList),n}function Hx(e,t,n,r,i,a,o,s,c){let{_mappings:l,_sources:u,_sourcesContent:d,_names:f}=Ix(t),p=Ux(l,n),m=Wx(p,r);if(!i)return e&&Jx(p,m)?void 0:Gx(p,m,[r]);let h=Ox(u,i),g=s?Ox(f,s):Px;if(h===d.length&&(d[h]=c??null),!(e&&Yx(p,m,h,a,o,g)))return Gx(p,m,s?[r,h,a,o,g]:[r,h,a,o])}function Ux(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}function Wx(e,t){let n=e.length;for(let r=n-1;r>=0&&!(t>=e[r][kx]);n=r--);return n}function Gx(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function Kx(e){let{length:t}=e,n=t;for(let t=n-1;t>=0&&!(e[t].length>0);n=t,t--);n<t&&(e.length=n)}function qx(e,t){for(let n=0;n<t.length;n++)Ox(e,t[n])}function Jx(e,t){return t===0?!0:e[t-1].length===1}function Yx(e,t,n,r,i,a){if(t===0)return!1;let o=e[t-1];return o.length===1?!1:n===o[Ax]&&r===o[jx]&&i===o[Mx]&&a===(o.length===5?o[Nx]:Px)}function Xx(e,t,n){let{generated:r,source:i,original:a,name:o,content:s}=n;return i?Hx(e,t,r.line-1,r.column,i,a.line-1,a.column,o,s):Hx(e,t,r.line-1,r.column,null,null,null,null,null)}var Zx=class e{constructor(e,t){let n=this._map=new $b(e,t);this.file=n.file,this.names=n.names,this.sourceRoot=n.sourceRoot,this.sources=n.resolvedSources,this.sourcesContent=n.sourcesContent,this.version=n.version}static fromSourceMap(t,n){return t.toDecodedMap?new e(t.toDecodedMap(),n):new e(t.toJSON(),n)}get mappings(){return ux(this._map)}originalPositionFor(e){return fx(this._map,e)}generatedPositionFor(e){return px(this._map,e)}allGeneratedPositionsFor(e){return mx(this._map,e)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(let e of this.sourcesContent)if(e==null)return!1;return!0}sourceContentFor(e,t){let n=_x(this._map,e);if(n!=null)return n;if(t)return null;throw Error(`"${e}" is not in the SourceMap.`)}eachMapping(e,t){hx(this._map,t?e.bind(t):e)}destroy(){}},Qx=class e{constructor(e){this._map=e instanceof Fx?e:new Fx(e)}static fromSourceMap(t){return new e(Vx(t))}addMapping(e){Lx(this._map,e)}setSourceContent(e,t){Rx(this._map,e,t)}toJSON(){return Bx(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return zx(this._map)}};function*$x(e){e=jp(e,{file:null,root:null,orig:null,files:{}});var t,n=new Qx({file:e.file,sourceRoot:e.root});let r={__proto__:null},i=e.files;for(var a in i)Kp(i,a)&&(r[a]=i[a]);e.orig&&(t=yield new Zx(e.orig),t.sourcesContent&&t.sources.forEach(function(e,n){var i=t.sourcesContent[n];i&&(r[e]=i)}));function o(e,i,a,o,s,c){let l={line:i,column:a};if(t){var u=t.originalPositionFor({line:o,column:s});if(u.source===null){n.addMapping({generated:l,original:null,source:null,name:null});return}e=u.source,o=u.line,s=u.column,c=u.name||c}n.addMapping({generated:l,original:{line:o,column:s},source:e,name:c}),n.setSourceContent(e,r[e])}function s(e){return e.sourcesContent&&e.sourcesContent.every(e=>e==null)&&delete e.sourcesContent,e.file===void 0&&delete e.file,e.sourceRoot===void 0&&delete e.sourceRoot,e}function c(){return n.toDecodedMap?s(n.toDecodedMap()):null}function l(){return s(n.toJSON())}function u(){t&&t.destroy&&t.destroy()}return{add:o,getDecoded:c,getEncoded:l,destroy:u}}var eS="$&.$'.$*.$+.$1.$2.$3.$4.$5.$6.$7.$8.$9.$_.$`.$input.-moz-animation.-moz-animation-delay.-moz-animation-direction.-moz-animation-duration.-moz-animation-fill-mode.-moz-animation-iteration-count.-moz-animation-name.-moz-animation-play-state.-moz-animation-timing-function.-moz-appearance.-moz-backface-visibility.-moz-border-end.-moz-border-end-color.-moz-border-end-style.-moz-border-end-width.-moz-border-image.-moz-border-start.-moz-border-start-color.-moz-border-start-style.-moz-border-start-width.-moz-box-align.-moz-box-direction.-moz-box-flex.-moz-box-ordinal-group.-moz-box-orient.-moz-box-pack.-moz-box-sizing.-moz-float-edge.-moz-font-feature-settings.-moz-font-language-override.-moz-force-broken-image-icon.-moz-hyphens.-moz-image-region.-moz-margin-end.-moz-margin-start.-moz-orient.-moz-osx-font-smoothing.-moz-outline-radius.-moz-outline-radius-bottomleft.-moz-outline-radius-bottomright.-moz-outline-radius-topleft.-moz-outline-radius-topright.-moz-padding-end.-moz-padding-start.-moz-perspective.-moz-perspective-origin.-moz-tab-size.-moz-text-size-adjust.-moz-transform.-moz-transform-origin.-moz-transform-style.-moz-transition.-moz-transition-delay.-moz-transition-duration.-moz-transition-property.-moz-transition-timing-function.-moz-user-focus.-moz-user-input.-moz-user-modify.-moz-user-select.-moz-window-dragging.-webkit-align-content.-webkit-align-items.-webkit-align-self.-webkit-animation.-webkit-animation-delay.-webkit-animation-direction.-webkit-animation-duration.-webkit-animation-fill-mode.-webkit-animation-iteration-count.-webkit-animation-name.-webkit-animation-play-state.-webkit-animation-timing-function.-webkit-appearance.-webkit-backface-visibility.-webkit-background-clip.-webkit-background-origin.-webkit-background-size.-webkit-border-bottom-left-radius.-webkit-border-bottom-right-radius.-webkit-border-image.-webkit-border-radius.-webkit-border-top-left-radius.-webkit-border-top-right-radius.-webkit-box-align.-webkit-box-direction.-webkit-box-flex.-webkit-box-ordinal-group.-webkit-box-orient.-webkit-box-pack.-webkit-box-shadow.-webkit-box-sizing.-webkit-clip-path.-webkit-filter.-webkit-flex.-webkit-flex-basis.-webkit-flex-direction.-webkit-flex-flow.-webkit-flex-grow.-webkit-flex-shrink.-webkit-flex-wrap.-webkit-font-feature-settings.-webkit-justify-content.-webkit-line-clamp.-webkit-mask.-webkit-mask-clip.-webkit-mask-composite.-webkit-mask-image.-webkit-mask-origin.-webkit-mask-position.-webkit-mask-position-x.-webkit-mask-position-y.-webkit-mask-repeat.-webkit-mask-size.-webkit-order.-webkit-perspective.-webkit-perspective-origin.-webkit-text-fill-color.-webkit-text-security.-webkit-text-size-adjust.-webkit-text-stroke.-webkit-text-stroke-color.-webkit-text-stroke-width.-webkit-transform.-webkit-transform-origin.-webkit-transform-style.-webkit-transition.-webkit-transition-delay.-webkit-transition-duration.-webkit-transition-property.-webkit-transition-timing-function.-webkit-user-select.@@iterator.ABORT_ERR.ACTIVE.ACTIVE_ATTRIBUTES.ACTIVE_TEXTURE.ACTIVE_UNIFORMS.ACTIVE_UNIFORM_BLOCKS.ADDITION.ALIASED_LINE_WIDTH_RANGE.ALIASED_POINT_SIZE_RANGE.ALL.ALLOW_KEYBOARD_INPUT.ALLPASS.ALPHA.ALPHA_BITS.ALREADY_SIGNALED.ALT_MASK.ALWAYS.ANY_SAMPLES_PASSED.ANY_SAMPLES_PASSED_CONSERVATIVE.ANY_TYPE.ANY_UNORDERED_NODE_TYPE.ARRAY_BUFFER.ARRAY_BUFFER_BINDING.ATTACHED_SHADERS.ATTRIBUTE_NODE.AT_TARGET.AbortController.AbortSignal.AbsoluteOrientationSensor.AbstractRange.Accelerometer.AddSearchProvider.AggregateError.AnalyserNode.Animation.AnimationEffect.AnimationEvent.AnimationPlaybackEvent.AnimationTimeline.AnonXMLHttpRequest.Any.AnyPermissions.ApplicationCache.ApplicationCacheErrorEvent.Array.ArrayBuffer.ArrayType.Atomics.Attr.Audio.AudioBuffer.AudioBufferSourceNode.AudioContext.AudioData.AudioDecoder.AudioDestinationNode.AudioEncoder.AudioListener.AudioNode.AudioParam.AudioParamMap.AudioProcessingEvent.AudioScheduledSourceNode.AudioSinkInfo.AudioStreamTrack.AudioWorklet.AudioWorkletNode.AuthenticatorAssertionResponse.AuthenticatorAttestationResponse.AuthenticatorResponse.AutocompleteErrorEvent.BACK.BAD_BOUNDARYPOINTS_ERR.BAD_REQUEST.BANDPASS.BLEND.BLEND_COLOR.BLEND_DST_ALPHA.BLEND_DST_RGB.BLEND_EQUATION.BLEND_EQUATION_ALPHA.BLEND_EQUATION_RGB.BLEND_SRC_ALPHA.BLEND_SRC_RGB.BLUE.BLUE_BITS.BLUR.BOOL.BOOLEAN_TYPE.BOOL_VEC2.BOOL_VEC3.BOOL_VEC4.BOTH.BROWSER_DEFAULT_WEBGL.BUBBLING_PHASE.BUFFER_SIZE.BUFFER_USAGE.BYTE.BYTES_PER_ELEMENT.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BarProp.BarcodeDetector.BaseAudioContext.BaseHref.BatteryManager.BeforeInstallPromptEvent.BeforeLoadEvent.BeforeUnloadEvent.BigInt.BigInt64Array.BigUint64Array.BiquadFilterNode.Blob.BlobEvent.Bluetooth.BluetoothCharacteristicProperties.BluetoothDevice.BluetoothRemoteGATTCharacteristic.BluetoothRemoteGATTDescriptor.BluetoothRemoteGATTServer.BluetoothRemoteGATTService.BluetoothUUID.Boolean.BroadcastChannel.BrowserCaptureMediaStreamTrack.BrowserInfo.ByteLengthQueuingStrategy.CAPTURING_PHASE.CCW.CDATASection.CDATA_SECTION_NODE.CHANGE.CHARSET_RULE.CHECKING.CLAMP_TO_EDGE.CLICK.CLOSED.CLOSING.COLOR.COLOR_ATTACHMENT0.COLOR_ATTACHMENT1.COLOR_ATTACHMENT10.COLOR_ATTACHMENT11.COLOR_ATTACHMENT12.COLOR_ATTACHMENT13.COLOR_ATTACHMENT14.COLOR_ATTACHMENT15.COLOR_ATTACHMENT2.COLOR_ATTACHMENT3.COLOR_ATTACHMENT4.COLOR_ATTACHMENT5.COLOR_ATTACHMENT6.COLOR_ATTACHMENT7.COLOR_ATTACHMENT8.COLOR_ATTACHMENT9.COLOR_BUFFER_BIT.COLOR_CLEAR_VALUE.COLOR_WRITEMASK.COMMENT_NODE.COMPARE_REF_TO_TEXTURE.COMPILE_STATUS.COMPLETION_STATUS_KHR.COMPRESSED_RGBA_S3TC_DXT1_EXT.COMPRESSED_RGBA_S3TC_DXT3_EXT.COMPRESSED_RGBA_S3TC_DXT5_EXT.COMPRESSED_RGB_S3TC_DXT1_EXT.COMPRESSED_TEXTURE_FORMATS.COMPUTE.CONDITION_SATISFIED.CONFIGURATION_UNSUPPORTED.CONNECTING.CONSTANT_ALPHA.CONSTANT_COLOR.CONSTRAINT_ERR.CONTEXT_LOST_WEBGL.CONTROL_MASK.COPY_DST.COPY_READ_BUFFER.COPY_READ_BUFFER_BINDING.COPY_SRC.COPY_WRITE_BUFFER.COPY_WRITE_BUFFER_BINDING.COUNTER_STYLE_RULE.CSS.CSS2Properties.CSSAnimation.CSSCharsetRule.CSSConditionRule.CSSContainerRule.CSSCounterStyleRule.CSSFontFaceRule.CSSFontFeatureValuesRule.CSSFontPaletteValuesRule.CSSGroupingRule.CSSImageValue.CSSImportRule.CSSKeyframeRule.CSSKeyframesRule.CSSKeywordValue.CSSLayerBlockRule.CSSLayerStatementRule.CSSMarginRule.CSSMathClamp.CSSMathInvert.CSSMathMax.CSSMathMin.CSSMathNegate.CSSMathProduct.CSSMathSum.CSSMathValue.CSSMatrixComponent.CSSMediaRule.CSSMozDocumentRule.CSSNameSpaceRule.CSSNamespaceRule.CSSNestedDeclarations.CSSNumericArray.CSSNumericValue.CSSPageDescriptors.CSSPageRule.CSSPerspective.CSSPositionTryDescriptors.CSSPositionTryRule.CSSPositionValue.CSSPrimitiveValue.CSSPropertyRule.CSSRotate.CSSRule.CSSRuleList.CSSScale.CSSScopeRule.CSSSkew.CSSSkewX.CSSSkewY.CSSStartingStyleRule.CSSStyleDeclaration.CSSStyleRule.CSSStyleSheet.CSSStyleValue.CSSSupportsRule.CSSTransformComponent.CSSTransformValue.CSSTransition.CSSTranslate.CSSUnitValue.CSSUnknownRule.CSSUnparsedValue.CSSValue.CSSValueList.CSSVariableReferenceValue.CSSVariablesDeclaration.CSSVariablesRule.CSSViewTransitionRule.CSSViewportRule.CSS_ATTR.CSS_CM.CSS_COUNTER.CSS_CUSTOM.CSS_DEG.CSS_DIMENSION.CSS_EMS.CSS_EXS.CSS_FILTER_BLUR.CSS_FILTER_BRIGHTNESS.CSS_FILTER_CONTRAST.CSS_FILTER_CUSTOM.CSS_FILTER_DROP_SHADOW.CSS_FILTER_GRAYSCALE.CSS_FILTER_HUE_ROTATE.CSS_FILTER_INVERT.CSS_FILTER_OPACITY.CSS_FILTER_REFERENCE.CSS_FILTER_SATURATE.CSS_FILTER_SEPIA.CSS_GRAD.CSS_HZ.CSS_IDENT.CSS_IN.CSS_INHERIT.CSS_KHZ.CSS_MATRIX.CSS_MATRIX3D.CSS_MM.CSS_MS.CSS_NUMBER.CSS_PC.CSS_PERCENTAGE.CSS_PERSPECTIVE.CSS_PRIMITIVE_VALUE.CSS_PT.CSS_PX.CSS_RAD.CSS_RECT.CSS_RGBCOLOR.CSS_ROTATE.CSS_ROTATE3D.CSS_ROTATEX.CSS_ROTATEY.CSS_ROTATEZ.CSS_S.CSS_SCALE.CSS_SCALE3D.CSS_SCALEX.CSS_SCALEY.CSS_SCALEZ.CSS_SKEW.CSS_SKEWX.CSS_SKEWY.CSS_STRING.CSS_TRANSLATE.CSS_TRANSLATE3D.CSS_TRANSLATEX.CSS_TRANSLATEY.CSS_TRANSLATEZ.CSS_UNKNOWN.CSS_URI.CSS_VALUE_LIST.CSS_VH.CSS_VMAX.CSS_VMIN.CSS_VW.CULL_FACE.CULL_FACE_MODE.CURRENT_PROGRAM.CURRENT_QUERY.CURRENT_VERTEX_ATTRIB.CUSTOM.CW.Cache.CacheStorage.CanvasCaptureMediaStream.CanvasCaptureMediaStreamTrack.CanvasGradient.CanvasPattern.CanvasRenderingContext2D.CaptureController.CaretPosition.ChannelMergerNode.ChannelSplitterNode.ChapterInformation.CharacterBoundsUpdateEvent.CharacterData.ClientRect.ClientRectList.Clipboard.ClipboardEvent.ClipboardItem.CloseEvent.CloseWatcher.Collator.ColorArray.ColorValue.CommandEvent.Comment.CompileError.CompositionEvent.CompressionStream.Console.ConstantSourceNode.ContentVisibilityAutoStateChangeEvent.ContextFilter.ContextType.Controllers.ConvolverNode.CookieChangeEvent.CookieStore.CookieStoreManager.CountQueuingStrategy.Counter.CreateType.Credential.CredentialsContainer.CropTarget.Crypto.CryptoKey.CustomElementRegistry.CustomEvent.CustomStateSet.DATABASE_ERR.DATA_CLONE_ERR.DATA_ERR.DBLCLICK.DECR.DECR_WRAP.DELETE_STATUS.DEPTH.DEPTH24_STENCIL8.DEPTH32F_STENCIL8.DEPTH_ATTACHMENT.DEPTH_BITS.DEPTH_BUFFER_BIT.DEPTH_CLEAR_VALUE.DEPTH_COMPONENT.DEPTH_COMPONENT16.DEPTH_COMPONENT24.DEPTH_COMPONENT32F.DEPTH_FUNC.DEPTH_RANGE.DEPTH_STENCIL.DEPTH_STENCIL_ATTACHMENT.DEPTH_TEST.DEPTH_WRITEMASK.DEVICE_INELIGIBLE.DIRECTION_DOWN.DIRECTION_LEFT.DIRECTION_RIGHT.DIRECTION_UP.DISABLED.DISPATCH_REQUEST_ERR.DITHER.DOCUMENT_FRAGMENT_NODE.DOCUMENT_NODE.DOCUMENT_POSITION_CONTAINED_BY.DOCUMENT_POSITION_CONTAINS.DOCUMENT_POSITION_DISCONNECTED.DOCUMENT_POSITION_FOLLOWING.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC.DOCUMENT_POSITION_PRECEDING.DOCUMENT_TYPE_NODE.DOMCursor.DOMError.DOMException.DOMImplementation.DOMImplementationLS.DOMMatrix.DOMMatrixReadOnly.DOMParser.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectList.DOMRectReadOnly.DOMRequest.DOMSTRING_SIZE_ERR.DOMSettableTokenList.DOMStringList.DOMStringMap.DOMTokenList.DOMTransactionEvent.DOM_DELTA_LINE.DOM_DELTA_PAGE.DOM_DELTA_PIXEL.DOM_INPUT_METHOD_DROP.DOM_INPUT_METHOD_HANDWRITING.DOM_INPUT_METHOD_IME.DOM_INPUT_METHOD_KEYBOARD.DOM_INPUT_METHOD_MULTIMODAL.DOM_INPUT_METHOD_OPTION.DOM_INPUT_METHOD_PASTE.DOM_INPUT_METHOD_SCRIPT.DOM_INPUT_METHOD_UNKNOWN.DOM_INPUT_METHOD_VOICE.DOM_KEY_LOCATION_JOYSTICK.DOM_KEY_LOCATION_LEFT.DOM_KEY_LOCATION_MOBILE.DOM_KEY_LOCATION_NUMPAD.DOM_KEY_LOCATION_RIGHT.DOM_KEY_LOCATION_STANDARD.DOM_VK_0.DOM_VK_1.DOM_VK_2.DOM_VK_3.DOM_VK_4.DOM_VK_5.DOM_VK_6.DOM_VK_7.DOM_VK_8.DOM_VK_9.DOM_VK_A.DOM_VK_ACCEPT.DOM_VK_ADD.DOM_VK_ALT.DOM_VK_ALTGR.DOM_VK_AMPERSAND.DOM_VK_ASTERISK.DOM_VK_AT.DOM_VK_ATTN.DOM_VK_B.DOM_VK_BACKSPACE.DOM_VK_BACK_QUOTE.DOM_VK_BACK_SLASH.DOM_VK_BACK_SPACE.DOM_VK_C.DOM_VK_CANCEL.DOM_VK_CAPS_LOCK.DOM_VK_CIRCUMFLEX.DOM_VK_CLEAR.DOM_VK_CLOSE_BRACKET.DOM_VK_CLOSE_CURLY_BRACKET.DOM_VK_CLOSE_PAREN.DOM_VK_COLON.DOM_VK_COMMA.DOM_VK_CONTEXT_MENU.DOM_VK_CONTROL.DOM_VK_CONVERT.DOM_VK_CRSEL.DOM_VK_CTRL.DOM_VK_D.DOM_VK_DECIMAL.DOM_VK_DELETE.DOM_VK_DIVIDE.DOM_VK_DOLLAR.DOM_VK_DOUBLE_QUOTE.DOM_VK_DOWN.DOM_VK_E.DOM_VK_EISU.DOM_VK_END.DOM_VK_ENTER.DOM_VK_EQUALS.DOM_VK_EREOF.DOM_VK_ESCAPE.DOM_VK_EXCLAMATION.DOM_VK_EXECUTE.DOM_VK_EXSEL.DOM_VK_F.DOM_VK_F1.DOM_VK_F10.DOM_VK_F11.DOM_VK_F12.DOM_VK_F13.DOM_VK_F14.DOM_VK_F15.DOM_VK_F16.DOM_VK_F17.DOM_VK_F18.DOM_VK_F19.DOM_VK_F2.DOM_VK_F20.DOM_VK_F21.DOM_VK_F22.DOM_VK_F23.DOM_VK_F24.DOM_VK_F25.DOM_VK_F26.DOM_VK_F27.DOM_VK_F28.DOM_VK_F29.DOM_VK_F3.DOM_VK_F30.DOM_VK_F31.DOM_VK_F32.DOM_VK_F33.DOM_VK_F34.DOM_VK_F35.DOM_VK_F36.DOM_VK_F4.DOM_VK_F5.DOM_VK_F6.DOM_VK_F7.DOM_VK_F8.DOM_VK_F9.DOM_VK_FINAL.DOM_VK_FRONT.DOM_VK_G.DOM_VK_GREATER_THAN.DOM_VK_H.DOM_VK_HANGUL.DOM_VK_HANJA.DOM_VK_HASH.DOM_VK_HELP.DOM_VK_HK_TOGGLE.DOM_VK_HOME.DOM_VK_HYPHEN_MINUS.DOM_VK_I.DOM_VK_INSERT.DOM_VK_J.DOM_VK_JUNJA.DOM_VK_K.DOM_VK_KANA.DOM_VK_KANJI.DOM_VK_L.DOM_VK_LEFT.DOM_VK_LEFT_TAB.DOM_VK_LESS_THAN.DOM_VK_M.DOM_VK_META.DOM_VK_MODECHANGE.DOM_VK_MULTIPLY.DOM_VK_N.DOM_VK_NONCONVERT.DOM_VK_NUMPAD0.DOM_VK_NUMPAD1.DOM_VK_NUMPAD2.DOM_VK_NUMPAD3.DOM_VK_NUMPAD4.DOM_VK_NUMPAD5.DOM_VK_NUMPAD6.DOM_VK_NUMPAD7.DOM_VK_NUMPAD8.DOM_VK_NUMPAD9.DOM_VK_NUM_LOCK.DOM_VK_O.DOM_VK_OEM_1.DOM_VK_OEM_102.DOM_VK_OEM_2.DOM_VK_OEM_3.DOM_VK_OEM_4.DOM_VK_OEM_5.DOM_VK_OEM_6.DOM_VK_OEM_7.DOM_VK_OEM_8.DOM_VK_OEM_COMMA.DOM_VK_OEM_MINUS.DOM_VK_OEM_PERIOD.DOM_VK_OEM_PLUS.DOM_VK_OPEN_BRACKET.DOM_VK_OPEN_CURLY_BRACKET.DOM_VK_OPEN_PAREN.DOM_VK_P.DOM_VK_PA1.DOM_VK_PAGEDOWN.DOM_VK_PAGEUP.DOM_VK_PAGE_DOWN.DOM_VK_PAGE_UP.DOM_VK_PAUSE.DOM_VK_PERCENT.DOM_VK_PERIOD.DOM_VK_PIPE.DOM_VK_PLAY.DOM_VK_PLUS.DOM_VK_PRINT.DOM_VK_PRINTSCREEN.DOM_VK_PROCESSKEY.DOM_VK_PROPERITES.DOM_VK_Q.DOM_VK_QUESTION_MARK.DOM_VK_QUOTE.DOM_VK_R.DOM_VK_REDO.DOM_VK_RETURN.DOM_VK_RIGHT.DOM_VK_S.DOM_VK_SCROLL_LOCK.DOM_VK_SELECT.DOM_VK_SEMICOLON.DOM_VK_SEPARATOR.DOM_VK_SHIFT.DOM_VK_SLASH.DOM_VK_SLEEP.DOM_VK_SPACE.DOM_VK_SUBTRACT.DOM_VK_T.DOM_VK_TAB.DOM_VK_TILDE.DOM_VK_U.DOM_VK_UNDERSCORE.DOM_VK_UNDO.DOM_VK_UNICODE.DOM_VK_UP.DOM_VK_V.DOM_VK_VOLUME_DOWN.DOM_VK_VOLUME_MUTE.DOM_VK_VOLUME_UP.DOM_VK_W.DOM_VK_WIN.DOM_VK_WINDOW.DOM_VK_WIN_ICO_00.DOM_VK_WIN_ICO_CLEAR.DOM_VK_WIN_ICO_HELP.DOM_VK_WIN_OEM_ATTN.DOM_VK_WIN_OEM_AUTO.DOM_VK_WIN_OEM_BACKTAB.DOM_VK_WIN_OEM_CLEAR.DOM_VK_WIN_OEM_COPY.DOM_VK_WIN_OEM_CUSEL.DOM_VK_WIN_OEM_ENLW.DOM_VK_WIN_OEM_FINISH.DOM_VK_WIN_OEM_FJ_JISHO.DOM_VK_WIN_OEM_FJ_LOYA.DOM_VK_WIN_OEM_FJ_MASSHOU.DOM_VK_WIN_OEM_FJ_ROYA.DOM_VK_WIN_OEM_FJ_TOUROKU.DOM_VK_WIN_OEM_JUMP.DOM_VK_WIN_OEM_PA1.DOM_VK_WIN_OEM_PA2.DOM_VK_WIN_OEM_PA3.DOM_VK_WIN_OEM_RESET.DOM_VK_WIN_OEM_WSCTRL.DOM_VK_X.DOM_VK_XF86XK_ADD_FAVORITE.DOM_VK_XF86XK_APPLICATION_LEFT.DOM_VK_XF86XK_APPLICATION_RIGHT.DOM_VK_XF86XK_AUDIO_CYCLE_TRACK.DOM_VK_XF86XK_AUDIO_FORWARD.DOM_VK_XF86XK_AUDIO_LOWER_VOLUME.DOM_VK_XF86XK_AUDIO_MEDIA.DOM_VK_XF86XK_AUDIO_MUTE.DOM_VK_XF86XK_AUDIO_NEXT.DOM_VK_XF86XK_AUDIO_PAUSE.DOM_VK_XF86XK_AUDIO_PLAY.DOM_VK_XF86XK_AUDIO_PREV.DOM_VK_XF86XK_AUDIO_RAISE_VOLUME.DOM_VK_XF86XK_AUDIO_RANDOM_PLAY.DOM_VK_XF86XK_AUDIO_RECORD.DOM_VK_XF86XK_AUDIO_REPEAT.DOM_VK_XF86XK_AUDIO_REWIND.DOM_VK_XF86XK_AUDIO_STOP.DOM_VK_XF86XK_AWAY.DOM_VK_XF86XK_BACK.DOM_VK_XF86XK_BACK_FORWARD.DOM_VK_XF86XK_BATTERY.DOM_VK_XF86XK_BLUE.DOM_VK_XF86XK_BLUETOOTH.DOM_VK_XF86XK_BOOK.DOM_VK_XF86XK_BRIGHTNESS_ADJUST.DOM_VK_XF86XK_CALCULATOR.DOM_VK_XF86XK_CALENDAR.DOM_VK_XF86XK_CD.DOM_VK_XF86XK_CLOSE.DOM_VK_XF86XK_COMMUNITY.DOM_VK_XF86XK_CONTRAST_ADJUST.DOM_VK_XF86XK_COPY.DOM_VK_XF86XK_CUT.DOM_VK_XF86XK_CYCLE_ANGLE.DOM_VK_XF86XK_DISPLAY.DOM_VK_XF86XK_DOCUMENTS.DOM_VK_XF86XK_DOS.DOM_VK_XF86XK_EJECT.DOM_VK_XF86XK_EXCEL.DOM_VK_XF86XK_EXPLORER.DOM_VK_XF86XK_FAVORITES.DOM_VK_XF86XK_FINANCE.DOM_VK_XF86XK_FORWARD.DOM_VK_XF86XK_FRAME_BACK.DOM_VK_XF86XK_FRAME_FORWARD.DOM_VK_XF86XK_GAME.DOM_VK_XF86XK_GO.DOM_VK_XF86XK_GREEN.DOM_VK_XF86XK_HIBERNATE.DOM_VK_XF86XK_HISTORY.DOM_VK_XF86XK_HOME_PAGE.DOM_VK_XF86XK_HOT_LINKS.DOM_VK_XF86XK_I_TOUCH.DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN.DOM_VK_XF86XK_KBD_BRIGHTNESS_UP.DOM_VK_XF86XK_KBD_LIGHT_ON_OFF.DOM_VK_XF86XK_LAUNCH0.DOM_VK_XF86XK_LAUNCH1.DOM_VK_XF86XK_LAUNCH2.DOM_VK_XF86XK_LAUNCH3.DOM_VK_XF86XK_LAUNCH4.DOM_VK_XF86XK_LAUNCH5.DOM_VK_XF86XK_LAUNCH6.DOM_VK_XF86XK_LAUNCH7.DOM_VK_XF86XK_LAUNCH8.DOM_VK_XF86XK_LAUNCH9.DOM_VK_XF86XK_LAUNCH_A.DOM_VK_XF86XK_LAUNCH_B.DOM_VK_XF86XK_LAUNCH_C.DOM_VK_XF86XK_LAUNCH_D.DOM_VK_XF86XK_LAUNCH_E.DOM_VK_XF86XK_LAUNCH_F.DOM_VK_XF86XK_LIGHT_BULB.DOM_VK_XF86XK_LOG_OFF.DOM_VK_XF86XK_MAIL.DOM_VK_XF86XK_MAIL_FORWARD.DOM_VK_XF86XK_MARKET.DOM_VK_XF86XK_MEETING.DOM_VK_XF86XK_MEMO.DOM_VK_XF86XK_MENU_KB.DOM_VK_XF86XK_MENU_PB.DOM_VK_XF86XK_MESSENGER.DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN.DOM_VK_XF86XK_MON_BRIGHTNESS_UP.DOM_VK_XF86XK_MUSIC.DOM_VK_XF86XK_MY_COMPUTER.DOM_VK_XF86XK_MY_SITES.DOM_VK_XF86XK_NEW.DOM_VK_XF86XK_NEWS.DOM_VK_XF86XK_OFFICE_HOME.DOM_VK_XF86XK_OPEN.DOM_VK_XF86XK_OPEN_URL.DOM_VK_XF86XK_OPTION.DOM_VK_XF86XK_PASTE.DOM_VK_XF86XK_PHONE.DOM_VK_XF86XK_PICTURES.DOM_VK_XF86XK_POWER_DOWN.DOM_VK_XF86XK_POWER_OFF.DOM_VK_XF86XK_RED.DOM_VK_XF86XK_REFRESH.DOM_VK_XF86XK_RELOAD.DOM_VK_XF86XK_REPLY.DOM_VK_XF86XK_ROCKER_DOWN.DOM_VK_XF86XK_ROCKER_ENTER.DOM_VK_XF86XK_ROCKER_UP.DOM_VK_XF86XK_ROTATE_WINDOWS.DOM_VK_XF86XK_ROTATION_KB.DOM_VK_XF86XK_ROTATION_PB.DOM_VK_XF86XK_SAVE.DOM_VK_XF86XK_SCREEN_SAVER.DOM_VK_XF86XK_SCROLL_CLICK.DOM_VK_XF86XK_SCROLL_DOWN.DOM_VK_XF86XK_SCROLL_UP.DOM_VK_XF86XK_SEARCH.DOM_VK_XF86XK_SEND.DOM_VK_XF86XK_SHOP.DOM_VK_XF86XK_SPELL.DOM_VK_XF86XK_SPLIT_SCREEN.DOM_VK_XF86XK_STANDBY.DOM_VK_XF86XK_START.DOM_VK_XF86XK_STOP.DOM_VK_XF86XK_SUBTITLE.DOM_VK_XF86XK_SUPPORT.DOM_VK_XF86XK_SUSPEND.DOM_VK_XF86XK_TASK_PANE.DOM_VK_XF86XK_TERMINAL.DOM_VK_XF86XK_TIME.DOM_VK_XF86XK_TOOLS.DOM_VK_XF86XK_TOP_MENU.DOM_VK_XF86XK_TO_DO_LIST.DOM_VK_XF86XK_TRAVEL.DOM_VK_XF86XK_USER1KB.DOM_VK_XF86XK_USER2KB.DOM_VK_XF86XK_USER_PB.DOM_VK_XF86XK_UWB.DOM_VK_XF86XK_VENDOR_HOME.DOM_VK_XF86XK_VIDEO.DOM_VK_XF86XK_VIEW.DOM_VK_XF86XK_WAKE_UP.DOM_VK_XF86XK_WEB_CAM.DOM_VK_XF86XK_WHEEL_BUTTON.DOM_VK_XF86XK_WLAN.DOM_VK_XF86XK_WORD.DOM_VK_XF86XK_WWW.DOM_VK_XF86XK_XFER.DOM_VK_XF86XK_YELLOW.DOM_VK_XF86XK_ZOOM_IN.DOM_VK_XF86XK_ZOOM_OUT.DOM_VK_Y.DOM_VK_Z.DOM_VK_ZOOM.DONE.DONT_CARE.DOWNLOADING.DRAGDROP.DRAW_BUFFER0.DRAW_BUFFER1.DRAW_BUFFER10.DRAW_BUFFER11.DRAW_BUFFER12.DRAW_BUFFER13.DRAW_BUFFER14.DRAW_BUFFER15.DRAW_BUFFER2.DRAW_BUFFER3.DRAW_BUFFER4.DRAW_BUFFER5.DRAW_BUFFER6.DRAW_BUFFER7.DRAW_BUFFER8.DRAW_BUFFER9.DRAW_FRAMEBUFFER.DRAW_FRAMEBUFFER_BINDING.DST_ALPHA.DST_COLOR.DYNAMIC_COPY.DYNAMIC_DRAW.DYNAMIC_READ.DataChannel.DataTransfer.DataTransferItem.DataTransferItemList.DataView.Date.DateTimeFormat.DecompressionStream.DelayNode.DelegatedInkTrailPresenter.DeprecationReportBody.DesktopNotification.DesktopNotificationCenter.Details.DeviceLightEvent.DeviceMotionEvent.DeviceMotionEventAcceleration.DeviceMotionEventRotationRate.DeviceOrientationEvent.DeviceProximityEvent.DeviceStorage.DeviceStorageChangeEvent.Directory.DisplayNames.Document.DocumentFragment.DocumentPictureInPicture.DocumentPictureInPictureEvent.DocumentTimeline.DocumentType.DragEvent.DurationFormat.DynamicsCompressorNode.E.ELEMENT_ARRAY_BUFFER.ELEMENT_ARRAY_BUFFER_BINDING.ELEMENT_NODE.EMPTY.ENCODING_ERR.ENDED.END_TO_END.END_TO_START.ENTITY_NODE.ENTITY_REFERENCE_NODE.EPSILON.EQUAL.EQUALPOWER.ERROR.EXPONENTIAL_DISTANCE.EditContext.Element.ElementInternals.ElementQuery.EncodedAudioChunk.EncodedVideoChunk.EnterPictureInPictureEvent.Entity.EntityReference.Error.ErrorEvent.EvalError.Event.EventCounts.EventException.EventSource.EventTarget.Exception.ExtensionContext.ExtensionDisabledReason.ExtensionInfo.ExtensionInstallType.ExtensionType.External.EyeDropper.FASTEST.FIDOSDK.FILTER_ACCEPT.FILTER_INTERRUPT.FILTER_REJECT.FILTER_SKIP.FINISHED_STATE.FIRST_ORDERED_NODE_TYPE.FLOAT.FLOAT_32_UNSIGNED_INT_24_8_REV.FLOAT_MAT2.FLOAT_MAT2x3.FLOAT_MAT2x4.FLOAT_MAT3.FLOAT_MAT3x2.FLOAT_MAT3x4.FLOAT_MAT4.FLOAT_MAT4x2.FLOAT_MAT4x3.FLOAT_VEC2.FLOAT_VEC3.FLOAT_VEC4.FOCUS.FONT_FACE_RULE.FONT_FEATURE_VALUES_RULE.FRAGMENT.FRAGMENT_SHADER.FRAGMENT_SHADER_DERIVATIVE_HINT.FRAGMENT_SHADER_DERIVATIVE_HINT_OES.FRAMEBUFFER.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE.FRAMEBUFFER_ATTACHMENT_RED_SIZE.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL.FRAMEBUFFER_BINDING.FRAMEBUFFER_COMPLETE.FRAMEBUFFER_DEFAULT.FRAMEBUFFER_INCOMPLETE_ATTACHMENT.FRAMEBUFFER_INCOMPLETE_DIMENSIONS.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE.FRAMEBUFFER_UNSUPPORTED.FRONT.FRONT_AND_BACK.FRONT_FACE.FUNC_ADD.FUNC_REVERSE_SUBTRACT.FUNC_SUBTRACT.FeaturePolicy.FeaturePolicyViolationReportBody.FederatedCredential.Feed.FeedEntry.Fence.FencedFrameConfig.File.FileError.FileList.FileReader.FileSystem.FileSystemDirectoryEntry.FileSystemDirectoryHandle.FileSystemDirectoryReader.FileSystemEntry.FileSystemFileEntry.FileSystemFileHandle.FileSystemHandle.FileSystemWritableFileStream.FinalizationRegistry.FindInPage.Float16Array.Float32Array.Float64Array.FocusEvent.FontData.FontFace.FontFaceSet.FontFaceSetLoadEvent.FormData.FormDataEvent.FragmentDirective.Function.GENERATE_MIPMAP_HINT.GEQUAL.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.GREATER.GREEN.GREEN_BITS.GainNode.Gamepad.GamepadAxisMoveEvent.GamepadButton.GamepadButtonEvent.GamepadEvent.GamepadHapticActuator.GamepadPose.Geolocation.GeolocationCoordinates.GeolocationPosition.GeolocationPositionError.GestureEvent.GetInfo.Global.GravitySensor.Gyroscope.HALF_FLOAT.HAVE_CURRENT_DATA.HAVE_ENOUGH_DATA.HAVE_FUTURE_DATA.HAVE_METADATA.HAVE_NOTHING.HEADERS_RECEIVED.HID.HIDConnectionEvent.HIDDEN.HIDDevice.HIDInputReportEvent.HIERARCHY_REQUEST_ERR.HIGHPASS.HIGHSHELF.HIGH_FLOAT.HIGH_INT.HORIZONTAL.HORIZONTAL_AXIS.HRTF.HTMLAllCollection.HTMLAnchorElement.HTMLAppletElement.HTMLAreaElement.HTMLAudioElement.HTMLBRElement.HTMLBaseElement.HTMLBaseFontElement.HTMLBlockquoteElement.HTMLBodyElement.HTMLButtonElement.HTMLCanvasElement.HTMLCollection.HTMLCommandElement.HTMLContentElement.HTMLDListElement.HTMLDataElement.HTMLDataListElement.HTMLDetailsElement.HTMLDialogElement.HTMLDirectoryElement.HTMLDivElement.HTMLDocument.HTMLElement.HTMLEmbedElement.HTMLFencedFrameElement.HTMLFieldSetElement.HTMLFontElement.HTMLFormControlsCollection.HTMLFormElement.HTMLFrameElement.HTMLFrameSetElement.HTMLHRElement.HTMLHeadElement.HTMLHeadingElement.HTMLHtmlElement.HTMLIFrameElement.HTMLImageElement.HTMLInputElement.HTMLIsIndexElement.HTMLKeygenElement.HTMLLIElement.HTMLLabelElement.HTMLLegendElement.HTMLLinkElement.HTMLMapElement.HTMLMarqueeElement.HTMLMediaElement.HTMLMenuElement.HTMLMenuItemElement.HTMLMetaElement.HTMLMeterElement.HTMLModElement.HTMLOListElement.HTMLObjectElement.HTMLOptGroupElement.HTMLOptionElement.HTMLOptionsCollection.HTMLOutputElement.HTMLParagraphElement.HTMLParamElement.HTMLPictureElement.HTMLPreElement.HTMLProgressElement.HTMLPropertiesCollection.HTMLQuoteElement.HTMLScriptElement.HTMLSelectElement.HTMLShadowElement.HTMLSlotElement.HTMLSourceElement.HTMLSpanElement.HTMLStyleElement.HTMLTableCaptionElement.HTMLTableCellElement.HTMLTableColElement.HTMLTableElement.HTMLTableRowElement.HTMLTableSectionElement.HTMLTemplateElement.HTMLTextAreaElement.HTMLTimeElement.HTMLTitleElement.HTMLTrackElement.HTMLUListElement.HTMLUnknownElement.HTMLVideoElement.HashChangeEvent.Headers.Highlight.HighlightRegistry.History.Hz.ICE_CHECKING.ICE_CLOSED.ICE_COMPLETED.ICE_CONNECTED.ICE_FAILED.ICE_GATHERING.ICE_WAITING.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBDatabaseException.IDBFactory.IDBFileHandle.IDBFileRequest.IDBIndex.IDBKeyRange.IDBMutableFile.IDBObjectStore.IDBOpenDBRequest.IDBRequest.IDBTransaction.IDBVersionChangeEvent.IDLE.IIRFilterNode.IMPLEMENTATION_COLOR_READ_FORMAT.IMPLEMENTATION_COLOR_READ_TYPE.IMPORT_RULE.INCR.INCR_WRAP.INDEX.INDEX_SIZE_ERR.INDIRECT.INT.INTERLEAVED_ATTRIBS.INT_2_10_10_10_REV.INT_SAMPLER_2D.INT_SAMPLER_2D_ARRAY.INT_SAMPLER_3D.INT_SAMPLER_CUBE.INT_VEC2.INT_VEC3.INT_VEC4.INUSE_ATTRIBUTE_ERR.INVALID_ACCESS_ERR.INVALID_CHARACTER_ERR.INVALID_ENUM.INVALID_EXPRESSION_ERR.INVALID_FRAMEBUFFER_OPERATION.INVALID_INDEX.INVALID_MODIFICATION_ERR.INVALID_NODE_TYPE_ERR.INVALID_OPERATION.INVALID_STATE_ERR.INVALID_VALUE.INVERSE_DISTANCE.INVERT.IceCandidate.IconInfo.IdentityCredential.IdentityCredentialError.IdentityProvider.IdleDeadline.IdleDetector.Image.ImageBitmap.ImageBitmapRenderingContext.ImageCapture.ImageData.ImageDataType.ImageDecoder.ImageTrack.ImageTrackList.Infinity.Ink.InputDeviceCapabilities.InputDeviceInfo.InputEvent.InputMethodContext.InstallTrigger.InstallTriggerImpl.Instance.Int16Array.Int32Array.Int8Array.Intent.InternalError.IntersectionObserver.IntersectionObserverEntry.Intl.IsSearchProviderInstalled.Iterator.JSON.JSTag.KEEP.KEYDOWN.KEYFRAMES_RULE.KEYFRAME_RULE.KEYPRESS.KEYUP.KeyEvent.Keyboard.KeyboardEvent.KeyboardLayoutMap.KeyframeEffect.LENGTHADJUST_SPACING.LENGTHADJUST_SPACINGANDGLYPHS.LENGTHADJUST_UNKNOWN.LEQUAL.LESS.LINEAR.LINEAR_DISTANCE.LINEAR_MIPMAP_LINEAR.LINEAR_MIPMAP_NEAREST.LINES.LINE_LOOP.LINE_STRIP.LINE_WIDTH.LINK_STATUS.LIVE.LN10.LN2.LOADED.LOADING.LOG10E.LOG2E.LOWPASS.LOWSHELF.LOW_FLOAT.LOW_INT.LSException.LSParserFilter.LUMINANCE.LUMINANCE_ALPHA.LanguageCode.LargestContentfulPaint.LaunchParams.LaunchQueue.LaunchType.LayoutShift.LayoutShiftAttribution.LinearAccelerationSensor.LinkError.ListFormat.LocalMediaStream.Locale.Location.Lock.LockManager.MAP_READ.MAP_WRITE.MARGIN_RULE.MAX.MAX_3D_TEXTURE_SIZE.MAX_ARRAY_TEXTURE_LAYERS.MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND.MAX_CLIENT_WAIT_TIMEOUT_WEBGL.MAX_COLOR_ATTACHMENTS.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS.MAX_COMBINED_TEXTURE_IMAGE_UNITS.MAX_COMBINED_UNIFORM_BLOCKS.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS.MAX_CUBE_MAP_TEXTURE_SIZE.MAX_DRAW_BUFFERS.MAX_ELEMENTS_INDICES.MAX_ELEMENTS_VERTICES.MAX_ELEMENT_INDEX.MAX_FRAGMENT_INPUT_COMPONENTS.MAX_FRAGMENT_UNIFORM_BLOCKS.MAX_FRAGMENT_UNIFORM_COMPONENTS.MAX_FRAGMENT_UNIFORM_VECTORS.MAX_PROGRAM_TEXEL_OFFSET.MAX_RENDERBUFFER_SIZE.MAX_SAFE_INTEGER.MAX_SAMPLES.MAX_SERVER_WAIT_TIMEOUT.MAX_TEXTURE_IMAGE_UNITS.MAX_TEXTURE_LOD_BIAS.MAX_TEXTURE_MAX_ANISOTROPY_EXT.MAX_TEXTURE_SIZE.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS.MAX_UNIFORM_BLOCK_SIZE.MAX_UNIFORM_BUFFER_BINDINGS.MAX_VALUE.MAX_VARYING_COMPONENTS.MAX_VARYING_VECTORS.MAX_VERTEX_ATTRIBS.MAX_VERTEX_OUTPUT_COMPONENTS.MAX_VERTEX_TEXTURE_IMAGE_UNITS.MAX_VERTEX_UNIFORM_BLOCKS.MAX_VERTEX_UNIFORM_COMPONENTS.MAX_VERTEX_UNIFORM_VECTORS.MAX_VIEWPORT_DIMS.MEDIA_ERR_ABORTED.MEDIA_ERR_DECODE.MEDIA_ERR_ENCRYPTED.MEDIA_ERR_NETWORK.MEDIA_ERR_SRC_NOT_SUPPORTED.MEDIA_KEYERR_CLIENT.MEDIA_KEYERR_DOMAIN.MEDIA_KEYERR_HARDWARECHANGE.MEDIA_KEYERR_OUTPUT.MEDIA_KEYERR_SERVICE.MEDIA_KEYERR_UNKNOWN.MEDIA_RULE.MEDIUM_FLOAT.MEDIUM_INT.META_MASK.MIDIAccess.MIDIConnectionEvent.MIDIInput.MIDIInputMap.MIDIMessageEvent.MIDIOutput.MIDIOutputMap.MIDIPort.MIN.MIN_PROGRAM_TEXEL_OFFSET.MIN_SAFE_INTEGER.MIN_VALUE.MIRRORED_REPEAT.MODE_ASYNCHRONOUS.MODE_SYNCHRONOUS.MODIFICATION.MOUSEDOWN.MOUSEDRAG.MOUSEMOVE.MOUSEOUT.MOUSEOVER.MOUSEUP.MOZ_KEYFRAMES_RULE.MOZ_KEYFRAME_RULE.MOZ_SOURCE_CURSOR.MOZ_SOURCE_ERASER.MOZ_SOURCE_KEYBOARD.MOZ_SOURCE_MOUSE.MOZ_SOURCE_PEN.MOZ_SOURCE_TOUCH.MOZ_SOURCE_UNKNOWN.MSGESTURE_FLAG_BEGIN.MSGESTURE_FLAG_CANCEL.MSGESTURE_FLAG_END.MSGESTURE_FLAG_INERTIA.MSGESTURE_FLAG_NONE.MSPOINTER_TYPE_MOUSE.MSPOINTER_TYPE_PEN.MSPOINTER_TYPE_TOUCH.MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE.MS_ASYNC_CALLBACK_STATUS_CANCEL.MS_ASYNC_CALLBACK_STATUS_CHOOSEANY.MS_ASYNC_CALLBACK_STATUS_ERROR.MS_ASYNC_CALLBACK_STATUS_JOIN.MS_ASYNC_OP_STATUS_CANCELED.MS_ASYNC_OP_STATUS_ERROR.MS_ASYNC_OP_STATUS_SUCCESS.MS_MANIPULATION_STATE_ACTIVE.MS_MANIPULATION_STATE_CANCELLED.MS_MANIPULATION_STATE_COMMITTED.MS_MANIPULATION_STATE_DRAGGING.MS_MANIPULATION_STATE_INERTIA.MS_MANIPULATION_STATE_PRESELECT.MS_MANIPULATION_STATE_SELECTING.MS_MANIPULATION_STATE_STOPPED.MS_MEDIA_ERR_ENCRYPTED.MS_MEDIA_KEYERR_CLIENT.MS_MEDIA_KEYERR_DOMAIN.MS_MEDIA_KEYERR_HARDWARECHANGE.MS_MEDIA_KEYERR_OUTPUT.MS_MEDIA_KEYERR_SERVICE.MS_MEDIA_KEYERR_UNKNOWN.Map.Math.MathMLElement.MediaCapabilities.MediaCapabilitiesInfo.MediaController.MediaDeviceInfo.MediaDevices.MediaElementAudioSourceNode.MediaEncryptedEvent.MediaError.MediaKeyError.MediaKeyEvent.MediaKeyMessageEvent.MediaKeyNeededEvent.MediaKeySession.MediaKeyStatusMap.MediaKeySystemAccess.MediaKeys.MediaList.MediaMetadata.MediaQueryList.MediaQueryListEvent.MediaRecorder.MediaRecorderErrorEvent.MediaSession.MediaSettingsRange.MediaSource.MediaSourceHandle.MediaStream.MediaStreamAudioDestinationNode.MediaStreamAudioSourceNode.MediaStreamEvent.MediaStreamTrack.MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioStats.MediaStreamTrackEvent.MediaStreamTrackGenerator.MediaStreamTrackProcessor.MediaStreamTrackVideoStats.Memory.MessageChannel.MessageEvent.MessagePort.MessageSender.Methods.MimeType.MimeTypeArray.Module.MouseEvent.MouseScrollEvent.MozAnimation.MozAnimationDelay.MozAnimationDirection.MozAnimationDuration.MozAnimationFillMode.MozAnimationIterationCount.MozAnimationName.MozAnimationPlayState.MozAnimationTimingFunction.MozAppearance.MozBackfaceVisibility.MozBinding.MozBorderBottomColors.MozBorderEnd.MozBorderEndColor.MozBorderEndStyle.MozBorderEndWidth.MozBorderImage.MozBorderLeftColors.MozBorderRightColors.MozBorderStart.MozBorderStartColor.MozBorderStartStyle.MozBorderStartWidth.MozBorderTopColors.MozBoxAlign.MozBoxDirection.MozBoxFlex.MozBoxOrdinalGroup.MozBoxOrient.MozBoxPack.MozBoxSizing.MozCSSKeyframeRule.MozCSSKeyframesRule.MozColumnCount.MozColumnFill.MozColumnGap.MozColumnRule.MozColumnRuleColor.MozColumnRuleStyle.MozColumnRuleWidth.MozColumnWidth.MozColumns.MozContactChangeEvent.MozFloatEdge.MozFontFeatureSettings.MozFontLanguageOverride.MozForceBrokenImageIcon.MozHyphens.MozImageRegion.MozMarginEnd.MozMarginStart.MozMmsEvent.MozMmsMessage.MozMobileMessageThread.MozOSXFontSmoothing.MozOrient.MozOsxFontSmoothing.MozOutlineRadius.MozOutlineRadiusBottomleft.MozOutlineRadiusBottomright.MozOutlineRadiusTopleft.MozOutlineRadiusTopright.MozPaddingEnd.MozPaddingStart.MozPerspective.MozPerspectiveOrigin.MozPowerManager.MozSettingsEvent.MozSmsEvent.MozSmsMessage.MozStackSizing.MozTabSize.MozTextAlignLast.MozTextDecorationColor.MozTextDecorationLine.MozTextDecorationStyle.MozTextSizeAdjust.MozTransform.MozTransformOrigin.MozTransformStyle.MozTransition.MozTransitionDelay.MozTransitionDuration.MozTransitionProperty.MozTransitionTimingFunction.MozUserFocus.MozUserInput.MozUserModify.MozUserSelect.MozWindowDragging.MozWindowShadow.MutationEvent.MutationObserver.MutationRecord.MutedInfo.MutedInfoReason.NAMESPACE_ERR.NAMESPACE_RULE.NEAREST.NEAREST_MIPMAP_LINEAR.NEAREST_MIPMAP_NEAREST.NEGATIVE_INFINITY.NETWORK_EMPTY.NETWORK_ERR.NETWORK_IDLE.NETWORK_LOADED.NETWORK_LOADING.NETWORK_NO_SOURCE.NEVER.NEW.NEXT.NEXT_NO_DUPLICATE.NICEST.NODE_AFTER.NODE_BEFORE.NODE_BEFORE_AND_AFTER.NODE_INSIDE.NONE.NON_TRANSIENT_ERR.NOTATION_NODE.NOTCH.NOTEQUAL.NOT_ALLOWED_ERR.NOT_FOUND_ERR.NOT_READABLE_ERR.NOT_SUPPORTED_ERR.NO_DATA_ALLOWED_ERR.NO_ERR.NO_ERROR.NO_MODIFICATION_ALLOWED_ERR.NUMBER_TYPE.NUM_COMPRESSED_TEXTURE_FORMATS.NaN.NamedNodeMap.NavigateEvent.Navigation.NavigationActivation.NavigationCurrentEntryChangeEvent.NavigationDestination.NavigationHistoryEntry.NavigationPreloadManager.NavigationTransition.Navigator.NavigatorLogin.NavigatorManagedData.NavigatorUAData.NearbyLinks.NetworkInformation.Node.NodeFilter.NodeIterator.NodeList.NotRestoredReasonDetails.NotRestoredReasons.Notation.Notification.NotifyPaintEvent.Number.NumberFormat.OBJECT_TYPE.OBSOLETE.OK.ONE.ONE_MINUS_CONSTANT_ALPHA.ONE_MINUS_CONSTANT_COLOR.ONE_MINUS_DST_ALPHA.ONE_MINUS_DST_COLOR.ONE_MINUS_SRC_ALPHA.ONE_MINUS_SRC_COLOR.OPEN.OPENED.OPENING.ORDERED_NODE_ITERATOR_TYPE.ORDERED_NODE_SNAPSHOT_TYPE.OTHER_ERROR.OTPCredential.OUT_OF_MEMORY.Object.OfflineAudioCompletionEvent.OfflineAudioContext.OfflineResourceList.OffscreenCanvas.OffscreenCanvasRenderingContext2D.OnClickData.OnInstalledReason.OnPerformanceWarningCategory.OnPerformanceWarningSeverity.OnRestartRequiredReason.Option.OrientationSensor.OscillatorNode.OverconstrainedError.OverflowEvent.PACK_ALIGNMENT.PACK_ROW_LENGTH.PACK_SKIP_PIXELS.PACK_SKIP_ROWS.PAGE_RULE.PARSE_ERR.PATHSEG_ARC_ABS.PATHSEG_ARC_REL.PATHSEG_CLOSEPATH.PATHSEG_CURVETO_CUBIC_ABS.PATHSEG_CURVETO_CUBIC_REL.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS.PATHSEG_CURVETO_CUBIC_SMOOTH_REL.PATHSEG_CURVETO_QUADRATIC_ABS.PATHSEG_CURVETO_QUADRATIC_REL.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL.PATHSEG_LINETO_ABS.PATHSEG_LINETO_HORIZONTAL_ABS.PATHSEG_LINETO_HORIZONTAL_REL.PATHSEG_LINETO_REL.PATHSEG_LINETO_VERTICAL_ABS.PATHSEG_LINETO_VERTICAL_REL.PATHSEG_MOVETO_ABS.PATHSEG_MOVETO_REL.PATHSEG_UNKNOWN.PATH_EXISTS_ERR.PEAKING.PERMISSION_DENIED.PERSISTENT.PI.PIXEL_PACK_BUFFER.PIXEL_PACK_BUFFER_BINDING.PIXEL_UNPACK_BUFFER.PIXEL_UNPACK_BUFFER_BINDING.PLAYING_STATE.POINTS.POLYGON_OFFSET_FACTOR.POLYGON_OFFSET_FILL.POLYGON_OFFSET_UNITS.POSITION_UNAVAILABLE.POSITIVE_INFINITY.PREV.PREV_NO_DUPLICATE.PROCESSING_INSTRUCTION_NODE.PageChangeEvent.PageRevealEvent.PageSettings.PageSwapEvent.PageTransitionEvent.PaintRequest.PaintRequestList.PannerNode.PasswordCredential.Path2D.PaymentAddress.PaymentInstruments.PaymentManager.PaymentMethodChangeEvent.PaymentRequest.PaymentRequestUpdateEvent.PaymentResponse.Performance.PerformanceElementTiming.PerformanceEntry.PerformanceEventTiming.PerformanceLongAnimationFrameTiming.PerformanceLongTaskTiming.PerformanceMark.PerformanceMeasure.PerformanceNavigation.PerformanceNavigationTiming.PerformanceObserver.PerformanceObserverEntryList.PerformancePaintTiming.PerformanceResourceTiming.PerformanceScriptTiming.PerformanceServerTiming.PerformanceTiming.PeriodicSyncManager.PeriodicWave.PermissionStatus.Permissions.PhotoCapabilities.PictureInPictureEvent.PictureInPictureWindow.PlatformArch.PlatformInfo.PlatformNaclArch.PlatformOs.Plugin.PluginArray.PluralRules.PointerEvent.PopStateEvent.PopupBlockedEvent.Port.Presentation.PresentationAvailability.PresentationConnection.PresentationConnectionAvailableEvent.PresentationConnectionCloseEvent.PresentationConnectionList.PresentationReceiver.PresentationRequest.PressureObserver.PressureRecord.ProcessingInstruction.Profiler.ProgressEvent.Promise.PromiseRejectionEvent.PropertyNodeList.ProtectedAudience.Proxy.PublicKeyCredential.PushManager.PushSubscription.PushSubscriptionOptions.Q.QUERY_RESOLVE.QUERY_RESULT.QUERY_RESULT_AVAILABLE.QUOTA_ERR.QUOTA_EXCEEDED_ERR.QueryInterface.R11F_G11F_B10F.R16F.R16I.R16UI.R32F.R32I.R32UI.R8.R8I.R8UI.R8_SNORM.RASTERIZER_DISCARD.READ.READ_BUFFER.READ_FRAMEBUFFER.READ_FRAMEBUFFER_BINDING.READ_ONLY.READ_ONLY_ERR.READ_WRITE.RED.RED_BITS.RED_INTEGER.REMOVAL.RENDERBUFFER.RENDERBUFFER_ALPHA_SIZE.RENDERBUFFER_BINDING.RENDERBUFFER_BLUE_SIZE.RENDERBUFFER_DEPTH_SIZE.RENDERBUFFER_GREEN_SIZE.RENDERBUFFER_HEIGHT.RENDERBUFFER_INTERNAL_FORMAT.RENDERBUFFER_RED_SIZE.RENDERBUFFER_SAMPLES.RENDERBUFFER_STENCIL_SIZE.RENDERBUFFER_WIDTH.RENDERER.RENDERING_INTENT_ABSOLUTE_COLORIMETRIC.RENDERING_INTENT_AUTO.RENDERING_INTENT_PERCEPTUAL.RENDERING_INTENT_RELATIVE_COLORIMETRIC.RENDERING_INTENT_SATURATION.RENDERING_INTENT_UNKNOWN.RENDER_ATTACHMENT.REPEAT.REPLACE.RG.RG16F.RG16I.RG16UI.RG32F.RG32I.RG32UI.RG8.RG8I.RG8UI.RG8_SNORM.RGB.RGB10_A2.RGB10_A2UI.RGB16F.RGB16I.RGB16UI.RGB32F.RGB32I.RGB32UI.RGB565.RGB5_A1.RGB8.RGB8I.RGB8UI.RGB8_SNORM.RGB9_E5.RGBA.RGBA16F.RGBA16I.RGBA16UI.RGBA32F.RGBA32I.RGBA32UI.RGBA4.RGBA8.RGBA8I.RGBA8UI.RGBA8_SNORM.RGBA_INTEGER.RGBColor.RGB_INTEGER.RG_INTEGER.ROTATION_CLOCKWISE.ROTATION_COUNTERCLOCKWISE.RTCCertificate.RTCDTMFSender.RTCDTMFToneChangeEvent.RTCDataChannel.RTCDataChannelEvent.RTCDtlsTransport.RTCEncodedAudioFrame.RTCEncodedVideoFrame.RTCError.RTCErrorEvent.RTCIceCandidate.RTCIceTransport.RTCPeerConnection.RTCPeerConnectionIceErrorEvent.RTCPeerConnectionIceEvent.RTCRtpReceiver.RTCRtpScriptTransform.RTCRtpSender.RTCRtpTransceiver.RTCSctpTransport.RTCSessionDescription.RTCStatsReport.RTCTrackEvent.RadioNodeList.Range.RangeError.RangeException.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.RecordErrorEvent.Rect.ReferenceError.Reflect.RegExp.RelativeOrientationSensor.RelativeTimeFormat.RemotePlayback.Report.ReportBody.ReportingObserver.Request.RequestUpdateCheckStatus.ResizeObserver.ResizeObserverEntry.ResizeObserverSize.Response.RuntimeError.SAMPLER_2D.SAMPLER_2D_ARRAY.SAMPLER_2D_ARRAY_SHADOW.SAMPLER_2D_SHADOW.SAMPLER_3D.SAMPLER_BINDING.SAMPLER_CUBE.SAMPLER_CUBE_SHADOW.SAMPLES.SAMPLE_ALPHA_TO_COVERAGE.SAMPLE_BUFFERS.SAMPLE_COVERAGE.SAMPLE_COVERAGE_INVERT.SAMPLE_COVERAGE_VALUE.SAWTOOTH.SCHEDULED_STATE.SCISSOR_BOX.SCISSOR_TEST.SCROLL_PAGE_DOWN.SCROLL_PAGE_UP.SDP_ANSWER.SDP_OFFER.SDP_PRANSWER.SECURITY_ERR.SELECT.SEPARATE_ATTRIBS.SERIALIZE_ERR.SEVERITY_ERROR.SEVERITY_FATAL_ERROR.SEVERITY_WARNING.SHADER_COMPILER.SHADER_TYPE.SHADING_LANGUAGE_VERSION.SHIFT_MASK.SHORT.SHOWING.SHOW_ALL.SHOW_ATTRIBUTE.SHOW_CDATA_SECTION.SHOW_COMMENT.SHOW_DOCUMENT.SHOW_DOCUMENT_FRAGMENT.SHOW_DOCUMENT_TYPE.SHOW_ELEMENT.SHOW_ENTITY.SHOW_ENTITY_REFERENCE.SHOW_NOTATION.SHOW_PROCESSING_INSTRUCTION.SHOW_TEXT.SIGNALED.SIGNED_NORMALIZED.SINE.SOUNDFIELD.SQLException.SQRT1_2.SQRT2.SQUARE.SRC_ALPHA.SRC_ALPHA_SATURATE.SRC_COLOR.SRGB.SRGB8.SRGB8_ALPHA8.START_TO_END.START_TO_START.STATIC_COPY.STATIC_DRAW.STATIC_READ.STENCIL.STENCIL_ATTACHMENT.STENCIL_BACK_FAIL.STENCIL_BACK_FUNC.STENCIL_BACK_PASS_DEPTH_FAIL.STENCIL_BACK_PASS_DEPTH_PASS.STENCIL_BACK_REF.STENCIL_BACK_VALUE_MASK.STENCIL_BACK_WRITEMASK.STENCIL_BITS.STENCIL_BUFFER_BIT.STENCIL_CLEAR_VALUE.STENCIL_FAIL.STENCIL_FUNC.STENCIL_INDEX.STENCIL_INDEX8.STENCIL_PASS_DEPTH_FAIL.STENCIL_PASS_DEPTH_PASS.STENCIL_REF.STENCIL_TEST.STENCIL_VALUE_MASK.STENCIL_WRITEMASK.STORAGE.STORAGE_BINDING.STREAM_COPY.STREAM_DRAW.STREAM_READ.STRING_TYPE.STYLE_RULE.SUBPIXEL_BITS.SUPPORTS_RULE.SVGAElement.SVGAltGlyphDefElement.SVGAltGlyphElement.SVGAltGlyphItemElement.SVGAngle.SVGAnimateColorElement.SVGAnimateElement.SVGAnimateMotionElement.SVGAnimateTransformElement.SVGAnimatedAngle.SVGAnimatedBoolean.SVGAnimatedEnumeration.SVGAnimatedInteger.SVGAnimatedLength.SVGAnimatedLengthList.SVGAnimatedNumber.SVGAnimatedNumberList.SVGAnimatedPreserveAspectRatio.SVGAnimatedRect.SVGAnimatedString.SVGAnimatedTransformList.SVGAnimationElement.SVGCircleElement.SVGClipPathElement.SVGColor.SVGComponentTransferFunctionElement.SVGCursorElement.SVGDefsElement.SVGDescElement.SVGDiscardElement.SVGDocument.SVGElement.SVGElementInstance.SVGElementInstanceList.SVGEllipseElement.SVGException.SVGFEBlendElement.SVGFEColorMatrixElement.SVGFEComponentTransferElement.SVGFECompositeElement.SVGFEConvolveMatrixElement.SVGFEDiffuseLightingElement.SVGFEDisplacementMapElement.SVGFEDistantLightElement.SVGFEDropShadowElement.SVGFEFloodElement.SVGFEFuncAElement.SVGFEFuncBElement.SVGFEFuncGElement.SVGFEFuncRElement.SVGFEGaussianBlurElement.SVGFEImageElement.SVGFEMergeElement.SVGFEMergeNodeElement.SVGFEMorphologyElement.SVGFEOffsetElement.SVGFEPointLightElement.SVGFESpecularLightingElement.SVGFESpotLightElement.SVGFETileElement.SVGFETurbulenceElement.SVGFilterElement.SVGFontElement.SVGFontFaceElement.SVGFontFaceFormatElement.SVGFontFaceNameElement.SVGFontFaceSrcElement.SVGFontFaceUriElement.SVGForeignObjectElement.SVGGElement.SVGGeometryElement.SVGGlyphElement.SVGGlyphRefElement.SVGGradientElement.SVGGraphicsElement.SVGHKernElement.SVGImageElement.SVGLength.SVGLengthList.SVGLineElement.SVGLinearGradientElement.SVGMPathElement.SVGMarkerElement.SVGMaskElement.SVGMatrix.SVGMetadataElement.SVGMissingGlyphElement.SVGNumber.SVGNumberList.SVGPaint.SVGPathElement.SVGPathSeg.SVGPathSegArcAbs.SVGPathSegArcRel.SVGPathSegClosePath.SVGPathSegCurvetoCubicAbs.SVGPathSegCurvetoCubicRel.SVGPathSegCurvetoCubicSmoothAbs.SVGPathSegCurvetoCubicSmoothRel.SVGPathSegCurvetoQuadraticAbs.SVGPathSegCurvetoQuadraticRel.SVGPathSegCurvetoQuadraticSmoothAbs.SVGPathSegCurvetoQuadraticSmoothRel.SVGPathSegLinetoAbs.SVGPathSegLinetoHorizontalAbs.SVGPathSegLinetoHorizontalRel.SVGPathSegLinetoRel.SVGPathSegLinetoVerticalAbs.SVGPathSegLinetoVerticalRel.SVGPathSegList.SVGPathSegMovetoAbs.SVGPathSegMovetoRel.SVGPatternElement.SVGPoint.SVGPointList.SVGPolygonElement.SVGPolylineElement.SVGPreserveAspectRatio.SVGRadialGradientElement.SVGRect.SVGRectElement.SVGRenderingIntent.SVGSVGElement.SVGScriptElement.SVGSetElement.SVGStopElement.SVGStringList.SVGStyleElement.SVGSwitchElement.SVGSymbolElement.SVGTRefElement.SVGTSpanElement.SVGTextContentElement.SVGTextElement.SVGTextPathElement.SVGTextPositioningElement.SVGTitleElement.SVGTransform.SVGTransformList.SVGUnitTypes.SVGUseElement.SVGVKernElement.SVGViewElement.SVGViewSpec.SVGZoomAndPan.SVGZoomEvent.SVG_ANGLETYPE_DEG.SVG_ANGLETYPE_GRAD.SVG_ANGLETYPE_RAD.SVG_ANGLETYPE_UNKNOWN.SVG_ANGLETYPE_UNSPECIFIED.SVG_CHANNEL_A.SVG_CHANNEL_B.SVG_CHANNEL_G.SVG_CHANNEL_R.SVG_CHANNEL_UNKNOWN.SVG_COLORTYPE_CURRENTCOLOR.SVG_COLORTYPE_RGBCOLOR.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR.SVG_COLORTYPE_UNKNOWN.SVG_EDGEMODE_DUPLICATE.SVG_EDGEMODE_NONE.SVG_EDGEMODE_UNKNOWN.SVG_EDGEMODE_WRAP.SVG_FEBLEND_MODE_COLOR.SVG_FEBLEND_MODE_COLOR_BURN.SVG_FEBLEND_MODE_COLOR_DODGE.SVG_FEBLEND_MODE_DARKEN.SVG_FEBLEND_MODE_DIFFERENCE.SVG_FEBLEND_MODE_EXCLUSION.SVG_FEBLEND_MODE_HARD_LIGHT.SVG_FEBLEND_MODE_HUE.SVG_FEBLEND_MODE_LIGHTEN.SVG_FEBLEND_MODE_LUMINOSITY.SVG_FEBLEND_MODE_MULTIPLY.SVG_FEBLEND_MODE_NORMAL.SVG_FEBLEND_MODE_OVERLAY.SVG_FEBLEND_MODE_SATURATION.SVG_FEBLEND_MODE_SCREEN.SVG_FEBLEND_MODE_SOFT_LIGHT.SVG_FEBLEND_MODE_UNKNOWN.SVG_FECOLORMATRIX_TYPE_HUEROTATE.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA.SVG_FECOLORMATRIX_TYPE_MATRIX.SVG_FECOLORMATRIX_TYPE_SATURATE.SVG_FECOLORMATRIX_TYPE_UNKNOWN.SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE.SVG_FECOMPONENTTRANSFER_TYPE_GAMMA.SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY.SVG_FECOMPONENTTRANSFER_TYPE_LINEAR.SVG_FECOMPONENTTRANSFER_TYPE_TABLE.SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC.SVG_FECOMPOSITE_OPERATOR_ATOP.SVG_FECOMPOSITE_OPERATOR_IN.SVG_FECOMPOSITE_OPERATOR_LIGHTER.SVG_FECOMPOSITE_OPERATOR_OUT.SVG_FECOMPOSITE_OPERATOR_OVER.SVG_FECOMPOSITE_OPERATOR_UNKNOWN.SVG_FECOMPOSITE_OPERATOR_XOR.SVG_INVALID_VALUE_ERR.SVG_LENGTHTYPE_CM.SVG_LENGTHTYPE_EMS.SVG_LENGTHTYPE_EXS.SVG_LENGTHTYPE_IN.SVG_LENGTHTYPE_MM.SVG_LENGTHTYPE_NUMBER.SVG_LENGTHTYPE_PC.SVG_LENGTHTYPE_PERCENTAGE.SVG_LENGTHTYPE_PT.SVG_LENGTHTYPE_PX.SVG_LENGTHTYPE_UNKNOWN.SVG_MARKERUNITS_STROKEWIDTH.SVG_MARKERUNITS_UNKNOWN.SVG_MARKERUNITS_USERSPACEONUSE.SVG_MARKER_ORIENT_ANGLE.SVG_MARKER_ORIENT_AUTO.SVG_MARKER_ORIENT_AUTO_START_REVERSE.SVG_MARKER_ORIENT_UNKNOWN.SVG_MASKTYPE_ALPHA.SVG_MASKTYPE_LUMINANCE.SVG_MATRIX_NOT_INVERTABLE.SVG_MEETORSLICE_MEET.SVG_MEETORSLICE_SLICE.SVG_MEETORSLICE_UNKNOWN.SVG_MORPHOLOGY_OPERATOR_DILATE.SVG_MORPHOLOGY_OPERATOR_ERODE.SVG_MORPHOLOGY_OPERATOR_UNKNOWN.SVG_PAINTTYPE_CURRENTCOLOR.SVG_PAINTTYPE_NONE.SVG_PAINTTYPE_RGBCOLOR.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR.SVG_PAINTTYPE_UNKNOWN.SVG_PAINTTYPE_URI.SVG_PAINTTYPE_URI_CURRENTCOLOR.SVG_PAINTTYPE_URI_NONE.SVG_PAINTTYPE_URI_RGBCOLOR.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR.SVG_PRESERVEASPECTRATIO_NONE.SVG_PRESERVEASPECTRATIO_UNKNOWN.SVG_PRESERVEASPECTRATIO_XMAXYMAX.SVG_PRESERVEASPECTRATIO_XMAXYMID.SVG_PRESERVEASPECTRATIO_XMAXYMIN.SVG_PRESERVEASPECTRATIO_XMIDYMAX.SVG_PRESERVEASPECTRATIO_XMIDYMID.SVG_PRESERVEASPECTRATIO_XMIDYMIN.SVG_PRESERVEASPECTRATIO_XMINYMAX.SVG_PRESERVEASPECTRATIO_XMINYMID.SVG_PRESERVEASPECTRATIO_XMINYMIN.SVG_SPREADMETHOD_PAD.SVG_SPREADMETHOD_REFLECT.SVG_SPREADMETHOD_REPEAT.SVG_SPREADMETHOD_UNKNOWN.SVG_STITCHTYPE_NOSTITCH.SVG_STITCHTYPE_STITCH.SVG_STITCHTYPE_UNKNOWN.SVG_TRANSFORM_MATRIX.SVG_TRANSFORM_ROTATE.SVG_TRANSFORM_SCALE.SVG_TRANSFORM_SKEWX.SVG_TRANSFORM_SKEWY.SVG_TRANSFORM_TRANSLATE.SVG_TRANSFORM_UNKNOWN.SVG_TURBULENCE_TYPE_FRACTALNOISE.SVG_TURBULENCE_TYPE_TURBULENCE.SVG_TURBULENCE_TYPE_UNKNOWN.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX.SVG_UNIT_TYPE_UNKNOWN.SVG_UNIT_TYPE_USERSPACEONUSE.SVG_WRONG_TYPE_ERR.SVG_ZOOMANDPAN_DISABLE.SVG_ZOOMANDPAN_MAGNIFY.SVG_ZOOMANDPAN_UNKNOWN.SYNC_CONDITION.SYNC_FENCE.SYNC_FLAGS.SYNC_FLUSH_COMMANDS_BIT.SYNC_GPU_COMMANDS_COMPLETE.SYNC_STATUS.SYNTAX_ERR.SavedPages.Scheduler.Scheduling.Screen.ScreenDetailed.ScreenDetails.ScreenOrientation.Script.ScriptProcessorNode.ScrollAreaEvent.ScrollTimeline.SecurityPolicyViolationEvent.Segmenter.Selection.Sensor.SensorErrorEvent.Serial.SerialPort.ServiceWorker.ServiceWorkerContainer.ServiceWorkerRegistration.SessionDescription.Set.ShadowRoot.SharedArrayBuffer.SharedStorage.SharedStorageWorklet.SharedWorker.SharingState.SimpleGestureEvent.SnapEvent.SourceBuffer.SourceBufferList.SpeechSynthesis.SpeechSynthesisErrorEvent.SpeechSynthesisEvent.SpeechSynthesisUtterance.SpeechSynthesisVoice.StaticRange.StereoPannerNode.StopIteration.Storage.StorageBucket.StorageBucketManager.StorageEvent.StorageManager.String.StructType.StylePropertyMap.StylePropertyMapReadOnly.StyleSheet.StyleSheetList.SubmitEvent.SubtleCrypto.Symbol.SyncManager.SyntaxError.TAB_ID_NONE.TAB_INDEX_NONE.TEMPORARY.TEXTPATH_METHODTYPE_ALIGN.TEXTPATH_METHODTYPE_STRETCH.TEXTPATH_METHODTYPE_UNKNOWN.TEXTPATH_SPACINGTYPE_AUTO.TEXTPATH_SPACINGTYPE_EXACT.TEXTPATH_SPACINGTYPE_UNKNOWN.TEXTURE.TEXTURE0.TEXTURE1.TEXTURE10.TEXTURE11.TEXTURE12.TEXTURE13.TEXTURE14.TEXTURE15.TEXTURE16.TEXTURE17.TEXTURE18.TEXTURE19.TEXTURE2.TEXTURE20.TEXTURE21.TEXTURE22.TEXTURE23.TEXTURE24.TEXTURE25.TEXTURE26.TEXTURE27.TEXTURE28.TEXTURE29.TEXTURE3.TEXTURE30.TEXTURE31.TEXTURE4.TEXTURE5.TEXTURE6.TEXTURE7.TEXTURE8.TEXTURE9.TEXTURE_2D.TEXTURE_2D_ARRAY.TEXTURE_3D.TEXTURE_BASE_LEVEL.TEXTURE_BINDING.TEXTURE_BINDING_2D.TEXTURE_BINDING_2D_ARRAY.TEXTURE_BINDING_3D.TEXTURE_BINDING_CUBE_MAP.TEXTURE_COMPARE_FUNC.TEXTURE_COMPARE_MODE.TEXTURE_CUBE_MAP.TEXTURE_CUBE_MAP_NEGATIVE_X.TEXTURE_CUBE_MAP_NEGATIVE_Y.TEXTURE_CUBE_MAP_NEGATIVE_Z.TEXTURE_CUBE_MAP_POSITIVE_X.TEXTURE_CUBE_MAP_POSITIVE_Y.TEXTURE_CUBE_MAP_POSITIVE_Z.TEXTURE_IMMUTABLE_FORMAT.TEXTURE_IMMUTABLE_LEVELS.TEXTURE_MAG_FILTER.TEXTURE_MAX_ANISOTROPY_EXT.TEXTURE_MAX_LEVEL.TEXTURE_MAX_LOD.TEXTURE_MIN_FILTER.TEXTURE_MIN_LOD.TEXTURE_WRAP_R.TEXTURE_WRAP_S.TEXTURE_WRAP_T.TEXT_NODE.TIMEOUT.TIMEOUT_ERR.TIMEOUT_EXPIRED.TIMEOUT_IGNORED.TOO_LARGE_ERR.TRANSACTION_INACTIVE_ERR.TRANSFORM_FEEDBACK.TRANSFORM_FEEDBACK_ACTIVE.TRANSFORM_FEEDBACK_BINDING.TRANSFORM_FEEDBACK_BUFFER.TRANSFORM_FEEDBACK_BUFFER_BINDING.TRANSFORM_FEEDBACK_BUFFER_MODE.TRANSFORM_FEEDBACK_BUFFER_SIZE.TRANSFORM_FEEDBACK_BUFFER_START.TRANSFORM_FEEDBACK_PAUSED.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN.TRANSFORM_FEEDBACK_VARYINGS.TRIANGLE.TRIANGLES.TRIANGLE_FAN.TRIANGLE_STRIP.TYPE_BACK_FORWARD.TYPE_ERR.TYPE_MISMATCH_ERR.TYPE_NAVIGATE.TYPE_RELOAD.TYPE_RESERVED.Tab.TabStatus.Table.Tag.TaskAttributionTiming.TaskController.TaskPriorityChangeEvent.TaskSignal.Text.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextEvent.TextFormat.TextFormatUpdateEvent.TextMetrics.TextTrack.TextTrackCue.TextTrackCueList.TextTrackList.TextUpdateEvent.TimeEvent.TimeRanges.ToggleEvent.Touch.TouchEvent.TouchList.TrackEvent.TransformStream.TransformStreamDefaultController.TransitionEvent.TreeWalker.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.TypeError.TypedObject.U2F.UIEvent.UNCACHED.UNIFORM.UNIFORM_ARRAY_STRIDE.UNIFORM_BLOCK_ACTIVE_UNIFORMS.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES.UNIFORM_BLOCK_BINDING.UNIFORM_BLOCK_DATA_SIZE.UNIFORM_BLOCK_INDEX.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER.UNIFORM_BUFFER.UNIFORM_BUFFER_BINDING.UNIFORM_BUFFER_OFFSET_ALIGNMENT.UNIFORM_BUFFER_SIZE.UNIFORM_BUFFER_START.UNIFORM_IS_ROW_MAJOR.UNIFORM_MATRIX_STRIDE.UNIFORM_OFFSET.UNIFORM_SIZE.UNIFORM_TYPE.UNKNOWN_ERR.UNKNOWN_RULE.UNMASKED_RENDERER_WEBGL.UNMASKED_VENDOR_WEBGL.UNORDERED_NODE_ITERATOR_TYPE.UNORDERED_NODE_SNAPSHOT_TYPE.UNPACK_ALIGNMENT.UNPACK_COLORSPACE_CONVERSION_WEBGL.UNPACK_FLIP_Y_WEBGL.UNPACK_IMAGE_HEIGHT.UNPACK_PREMULTIPLY_ALPHA_WEBGL.UNPACK_ROW_LENGTH.UNPACK_SKIP_IMAGES.UNPACK_SKIP_PIXELS.UNPACK_SKIP_ROWS.UNSCHEDULED_STATE.UNSENT.UNSIGNALED.UNSIGNED_BYTE.UNSIGNED_INT.UNSIGNED_INT_10F_11F_11F_REV.UNSIGNED_INT_24_8.UNSIGNED_INT_2_10_10_10_REV.UNSIGNED_INT_5_9_9_9_REV.UNSIGNED_INT_SAMPLER_2D.UNSIGNED_INT_SAMPLER_2D_ARRAY.UNSIGNED_INT_SAMPLER_3D.UNSIGNED_INT_SAMPLER_CUBE.UNSIGNED_INT_VEC2.UNSIGNED_INT_VEC3.UNSIGNED_INT_VEC4.UNSIGNED_NORMALIZED.UNSIGNED_SHORT.UNSIGNED_SHORT_4_4_4_4.UNSIGNED_SHORT_5_5_5_1.UNSIGNED_SHORT_5_6_5.UNSPECIFIED_EVENT_TYPE_ERR.UPDATEREADY.URIError.URL.URLPattern.URLSearchParams.URLUnencoded.URL_MISMATCH_ERR.USB.USBAlternateInterface.USBConfiguration.USBConnectionEvent.USBDevice.USBEndpoint.USBInTransferResult.USBInterface.USBIsochronousInTransferPacket.USBIsochronousInTransferResult.USBIsochronousOutTransferPacket.USBIsochronousOutTransferResult.USBOutTransferResult.UTC.Uint16Array.Uint32Array.Uint8Array.Uint8ClampedArray.UpdateFilter.UpdatePropertyName.UserActivation.UserMessageHandler.UserMessageHandlersNamespace.UserProximityEvent.VALIDATE_STATUS.VALIDATION_ERR.VARIABLES_RULE.VENDOR.VERSION.VERSION_CHANGE.VERSION_ERR.VERTEX.VERTEX_ARRAY_BINDING.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING.VERTEX_ATTRIB_ARRAY_DIVISOR.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE.VERTEX_ATTRIB_ARRAY_ENABLED.VERTEX_ATTRIB_ARRAY_INTEGER.VERTEX_ATTRIB_ARRAY_NORMALIZED.VERTEX_ATTRIB_ARRAY_POINTER.VERTEX_ATTRIB_ARRAY_SIZE.VERTEX_ATTRIB_ARRAY_STRIDE.VERTEX_ATTRIB_ARRAY_TYPE.VERTEX_SHADER.VERTICAL.VERTICAL_AXIS.VER_ERR.VIEWPORT.VIEWPORT_RULE.VRDisplay.VRDisplayCapabilities.VRDisplayEvent.VREyeParameters.VRFieldOfView.VRFrameData.VRPose.VRStageParameters.VTTCue.VTTRegion.ValidityState.VideoColorSpace.VideoDecoder.VideoEncoder.VideoFrame.VideoPlaybackQuality.VideoStreamTrack.ViewTimeline.ViewTransition.ViewTransitionTypeSet.ViewType.VirtualKeyboard.VirtualKeyboardGeometryChangeEvent.VisibilityStateEntry.VisualViewport.WAIT_FAILED.WEBKIT_FILTER_RULE.WEBKIT_KEYFRAMES_RULE.WEBKIT_KEYFRAME_RULE.WEBKIT_REGION_RULE.WGSLLanguageFeatures.WINDOW_ID_CURRENT.WINDOW_ID_NONE.WRITE.WRONG_DOCUMENT_ERR.WakeLock.WakeLockSentinel.WasmAnyRef.WaveShaperNode.WeakMap.WeakRef.WeakSet.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArray.WebGLVertexArrayObject.WebKitAnimationEvent.WebKitBlobBuilder.WebKitCSSFilterRule.WebKitCSSFilterValue.WebKitCSSKeyframeRule.WebKitCSSKeyframesRule.WebKitCSSMatrix.WebKitCSSRegionRule.WebKitCSSTransformValue.WebKitDataCue.WebKitGamepad.WebKitMediaKeyError.WebKitMediaKeyMessageEvent.WebKitMediaKeySession.WebKitMediaKeys.WebKitMediaSource.WebKitMutationObserver.WebKitNamespace.WebKitPlaybackTargetAvailabilityEvent.WebKitPoint.WebKitShadowRoot.WebKitSourceBuffer.WebKitSourceBufferList.WebKitTransitionEvent.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.WebTransportReceiveStream.WebTransportSendStream.WebkitAlignContent.WebkitAlignItems.WebkitAlignSelf.WebkitAnimation.WebkitAnimationDelay.WebkitAnimationDirection.WebkitAnimationDuration.WebkitAnimationFillMode.WebkitAnimationIterationCount.WebkitAnimationName.WebkitAnimationPlayState.WebkitAnimationTimingFunction.WebkitAppearance.WebkitBackfaceVisibility.WebkitBackgroundClip.WebkitBackgroundOrigin.WebkitBackgroundSize.WebkitBorderBottomLeftRadius.WebkitBorderBottomRightRadius.WebkitBorderImage.WebkitBorderRadius.WebkitBorderTopLeftRadius.WebkitBorderTopRightRadius.WebkitBoxAlign.WebkitBoxDirection.WebkitBoxFlex.WebkitBoxOrdinalGroup.WebkitBoxOrient.WebkitBoxPack.WebkitBoxShadow.WebkitBoxSizing.WebkitClipPath.WebkitFilter.WebkitFlex.WebkitFlexBasis.WebkitFlexDirection.WebkitFlexFlow.WebkitFlexGrow.WebkitFlexShrink.WebkitFlexWrap.WebkitFontFeatureSettings.WebkitJustifyContent.WebkitLineClamp.WebkitMask.WebkitMaskClip.WebkitMaskComposite.WebkitMaskImage.WebkitMaskOrigin.WebkitMaskPosition.WebkitMaskPositionX.WebkitMaskPositionY.WebkitMaskRepeat.WebkitMaskSize.WebkitOrder.WebkitPerspective.WebkitPerspectiveOrigin.WebkitTextFillColor.WebkitTextSecurity.WebkitTextSizeAdjust.WebkitTextStroke.WebkitTextStrokeColor.WebkitTextStrokeWidth.WebkitTransform.WebkitTransformOrigin.WebkitTransformStyle.WebkitTransition.WebkitTransitionDelay.WebkitTransitionDuration.WebkitTransitionProperty.WebkitTransitionTimingFunction.WebkitUserSelect.WheelEvent.Window.WindowControlsOverlay.WindowControlsOverlayGeometryChangeEvent.WindowState.WindowType.Worker.Worklet.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.XMLDocument.XMLHttpRequest.XMLHttpRequestEventTarget.XMLHttpRequestException.XMLHttpRequestProgressEvent.XMLHttpRequestUpload.XMLSerializer.XMLStylesheetProcessingInstruction.XPathEvaluator.XPathException.XPathExpression.XPathNSResolver.XPathResult.XRAnchor.XRAnchorSet.XRBoundedReferenceSpace.XRCPUDepthInformation.XRCamera.XRDOMOverlayState.XRDepthInformation.XRFrame.XRHand.XRHitTestResult.XRHitTestSource.XRInputSource.XRInputSourceArray.XRInputSourceEvent.XRInputSourcesChangeEvent.XRJointPose.XRJointSpace.XRLayer.XRLightEstimate.XRLightProbe.XRPose.XRRay.XRReferenceSpace.XRReferenceSpaceEvent.XRRenderState.XRRigidTransform.XRSession.XRSessionEvent.XRSpace.XRSystem.XRTransientInputHitTestResult.XRTransientInputHitTestSource.XRView.XRViewerPose.XRViewport.XRWebGLBinding.XRWebGLDepthInformation.XRWebGLLayer.XSLTProcessor.ZERO.ZoomSettings.ZoomSettingsMode.ZoomSettingsScope._XD0M_._YD0M_.__REACT_DEVTOOLS_GLOBAL_HOOK__.__brand.__defineGetter__.__defineSetter__.__lookupGetter__.__lookupSetter__.__opera.__proto__._browserjsran.a.aLink.abbr.abort.aborted.aboutConfigPrefs.abs.absolute.acceleration.accelerationIncludingGravity.accelerator.accent-color.accentColor.accept.acceptCharset.acceptNode.access.accessKey.accessKeyLabel.accuracy.acos.acosh.action.actionURL.actions.activated.activation.activationStart.active.activeCues.activeElement.activeSourceBuffers.activeSourceCount.activeTexture.activeVRDisplays.activityLog.actualBoundingBoxAscent.actualBoundingBoxDescent.actualBoundingBoxLeft.actualBoundingBoxRight.adAuctionComponents.adAuctionHeaders.add.addAll.addBehavior.addCandidate.addColorStop.addCue.addElement.addEventListener.addFilter.addFromString.addFromUri.addIceCandidate.addImport.addListener.addModule.addNamed.addPageRule.addPath.addPointer.addRange.addRegion.addRule.addSearchEngine.addSourceBuffer.addStream.addTextTrack.addTrack.addTransceiver.addWakeLockListener.added.addedNodes.additionalName.additiveSymbols.addons.address.addressLine.addressModeU.addressModeV.addressModeW.adoptNode.adoptedCallback.adoptedStyleSheets.adr.advance.after.alarms.album.alert.algorithm.align.align-content.align-items.align-self.alignContent.alignItems.alignSelf.alignmentBaseline.alinkColor.all.allSettled.allocationSize.allow.allowFullscreen.allowPaymentRequest.allowedDirections.allowedFeatures.allowedToPlay.allowsFeature.alpha.alphaMode.alphaToCoverageEnabled.alphabeticBaseline.alt.altGraphKey.altHtml.altKey.altLeft.alternate.alternateSetting.alternates.altitude.altitudeAccuracy.altitudeAngle.amplitude.ancestorOrigins.anchor.anchorNode.anchorOffset.anchorSpace.anchors.and.angle.angularAcceleration.angularVelocity.animVal.animate.animated.animatedInstanceRoot.animatedNormalizedPathSegList.animatedPathSegList.animatedPoints.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-timing-function.animationComposition.animationDelay.animationDirection.animationDuration.animationFillMode.animationIterationCount.animationName.animationPlayState.animationStartTime.animationTimingFunction.animationsPaused.anniversary.antialias.anticipatedRemoval.any.app.appCodeName.appMinorVersion.appName.appNotifications.appVersion.appearance.append.appendBuffer.appendChild.appendData.appendItem.appendMedium.appendNamed.appendRule.appendStream.appendWindowEnd.appendWindowStart.applets.applicationCache.applicationServerKey.apply.applyConstraints.applyElement.arc.arcTo.arch.architecture.archive.areas.arguments.ariaAtomic.ariaAutoComplete.ariaBrailleLabel.ariaBrailleRoleDescription.ariaBusy.ariaChecked.ariaColCount.ariaColIndex.ariaColIndexText.ariaColSpan.ariaCurrent.ariaDescription.ariaDisabled.ariaExpanded.ariaHasPopup.ariaHidden.ariaInvalid.ariaKeyShortcuts.ariaLabel.ariaLevel.ariaLive.ariaModal.ariaMultiLine.ariaMultiSelectable.ariaOrientation.ariaPlaceholder.ariaPosInSet.ariaPressed.ariaReadOnly.ariaRelevant.ariaRequired.ariaRoleDescription.ariaRowCount.ariaRowIndex.ariaRowIndexText.ariaRowSpan.ariaSelected.ariaSetSize.ariaSort.ariaValueMax.ariaValueMin.ariaValueNow.ariaValueText.arrayBuffer.arrayLayerCount.arrayStride.artist.artwork.as.asIntN.asUintN.ascentOverride.asin.asinh.aspect.aspect-ratio.aspectRatio.assert.assign.assignedElements.assignedNodes.assignedSlot.async.asyncDispose.asyncIterator.at.atEnd.atan.atan2.atanh.atob.attachEvent.attachInternals.attachShader.attachShadow.attachedElements.attachments.attack.attestationObject.attrChange.attrName.attributeChangedCallback.attributeFilter.attributeName.attributeNamespace.attributeOldValue.attributeStyleMap.attributes.attribution.attributionSrc.audioBitrateMode.audioBitsPerSecond.audioTracks.audioWorklet.authenticatedSignedWrites.authenticatorAttachment.authenticatorData.autoIncrement.autobuffer.autocapitalize.autocomplete.autocorrect.autofocus.automationRate.autoplay.availHeight.availLeft.availTop.availWidth.availability.available.averageLatency.aversion.ax.axes.axis.ay.azimuth.azimuthAngle.b.back.backdrop-filter.backdropFilter.backends.backface-visibility.backfaceVisibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.backgroundAttachment.backgroundBlendMode.backgroundClip.backgroundColor.backgroundFetch.backgroundImage.backgroundOrigin.backgroundPosition.backgroundPositionX.backgroundPositionY.backgroundRepeat.backgroundSize.badInput.badge.balance.baseArrayLayer.baseFrequencyX.baseFrequencyY.baseLatency.baseLayer.baseMipLevel.baseNode.baseOffset.basePalette.baseURI.baseVal.baseline-source.baselineShift.baselineSource.battery.bday.before.beginComputePass.beginElement.beginElementAt.beginOcclusionQuery.beginPath.beginQuery.beginRenderPass.beginTransformFeedback.beginningOfPassWriteIndex.behavior.behaviorCookie.behaviorPart.behaviorUrns.beta.bezierCurveTo.bgColor.bgProperties.bias.big.bigint64.biguint64.binaryType.bind.bindAttribLocation.bindBuffer.bindBufferBase.bindBufferRange.bindFramebuffer.bindGroupLayouts.bindRenderbuffer.bindSampler.bindTexture.bindTransformFeedback.bindVertexArray.binding.bitness.blend.blendColor.blendEquation.blendEquationSeparate.blendFunc.blendFuncSeparate.blink.blitFramebuffer.blob.block-size.blockDirection.blockSize.blockedURI.blocking.blockingDuration.blue.bluetooth.blur.body.bodyUsed.bold.bookmarks.booleanValue.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.borderBlock.borderBlockColor.borderBlockEnd.borderBlockEndColor.borderBlockEndStyle.borderBlockEndWidth.borderBlockStart.borderBlockStartColor.borderBlockStartStyle.borderBlockStartWidth.borderBlockStyle.borderBlockWidth.borderBottom.borderBottomColor.borderBottomLeftRadius.borderBottomRightRadius.borderBottomStyle.borderBottomWidth.borderBoxSize.borderCollapse.borderColor.borderColorDark.borderColorLight.borderEndEndRadius.borderEndStartRadius.borderImage.borderImageOutset.borderImageRepeat.borderImageSlice.borderImageSource.borderImageWidth.borderInline.borderInlineColor.borderInlineEnd.borderInlineEndColor.borderInlineEndStyle.borderInlineEndWidth.borderInlineStart.borderInlineStartColor.borderInlineStartStyle.borderInlineStartWidth.borderInlineStyle.borderInlineWidth.borderLeft.borderLeftColor.borderLeftStyle.borderLeftWidth.borderRadius.borderRight.borderRightColor.borderRightStyle.borderRightWidth.borderSpacing.borderStartEndRadius.borderStartStartRadius.borderStyle.borderTop.borderTopColor.borderTopLeftRadius.borderTopRightRadius.borderTopStyle.borderTopWidth.borderWidth.bottom.bottomMargin.bound.boundElements.boundingClientRect.boundingHeight.boundingLeft.boundingRect.boundingTop.boundingWidth.bounds.boundsGeometry.box-decoration-break.box-shadow.box-sizing.boxDecorationBreak.boxShadow.boxSizing.brand.brands.break-after.break-before.break-inside.breakAfter.breakBefore.breakInside.broadcast.browser.browserLanguage.browserSettings.browsingData.browsingTopics.btoa.bubbles.buffer.bufferData.bufferDepth.bufferSize.bufferSubData.buffered.bufferedAmount.bufferedAmountLowThreshold.buffers.buildID.buildNumber.button.buttonID.buttons.byobRequest.byteLength.byteOffset.bytes.bytesPerRow.bytesWritten.c.cache.caches.call.caller.camera.canBeFormatted.canBeMounted.canBeShared.canConstructInDedicatedWorker.canGoBack.canGoForward.canHaveChildren.canHaveHTML.canInsertDTMF.canIntercept.canLoadAdAuctionFencedFrame.canLoadOpaqueURL.canMakePayment.canParse.canPlayType.canPresent.canShare.canTransition.canTrickleIceCandidates.cancel.cancelAndHoldAtTime.cancelAnimationFrame.cancelBubble.cancelIdleCallback.cancelScheduledValues.cancelVideoFrameCallback.cancelWatchAvailability.cancelable.candidate.canonicalUUID.canvas.cap.capabilities.caption.caption-side.captionSide.captivePortal.capture.captureEvents.captureStackTrace.captureStream.captureTab.captureVisibleTab.caret-color.caretBidiLevel.caretColor.caretPositionFromPoint.caretRangeFromPoint.cast.catch.category.cbrt.cd.ceil.cellIndex.cellPadding.cellSpacing.cells.ch.chOff.chain.challenge.changeType.changed.changedTouches.channel.channelCount.channelCountMode.channelInterpretation.chapterInfo.char.charAt.charCode.charCodeAt.charIndex.charLength.characterBounds.characterBoundsRangeStart.characterData.characterDataOldValue.characterSet.characteristic.charging.chargingTime.charset.check.checkDCE.checkEnclosure.checkFramebufferStatus.checkIntersection.checkValidity.checkVisibility.checked.childElementCount.childList.childNodes.children.chrome.ciphertext.cite.city.claimInterface.claimed.classList.className.classid.clear.clearAppBadge.clearAttributes.clearBuffer.clearBufferfi.clearBufferfv.clearBufferiv.clearBufferuiv.clearColor.clearData.clearDepth.clearHalt.clearImmediate.clearInterval.clearLiveSeekableRange.clearMarks.clearMaxGCPauseAccumulator.clearMeasures.clearOriginJoinedAdInterestGroups.clearParameters.clearRect.clearResourceTimings.clearShadow.clearStencil.clearTimeout.clearValue.clearWatch.click.clickCount.clientDataJSON.clientHeight.clientInformation.clientLeft.clientRect.clientRects.clientTop.clientWaitSync.clientWidth.clientX.clientY.clip.clip-path.clip-rule.clipBottom.clipLeft.clipPath.clipPathUnits.clipRight.clipRule.clipTop.clipboard.clipboardData.clonable.clone.cloneContents.cloneNode.cloneRange.close.closeCode.closePath.closed.closest.clz.clz32.cm.cmp.code.codeBase.codePointAt.codeType.codedHeight.codedRect.codedWidth.colSpan.collapse.collapseToEnd.collapseToStart.collapsed.collect.collections.colno.color.color-adjust.color-interpolation.color-interpolation-filters.color-scheme.colorAdjust.colorAttachments.colorDepth.colorFormats.colorInterpolation.colorInterpolationFilters.colorMask.colorScheme.colorSpace.colorType.cols.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columnCount.columnFill.columnGap.columnNumber.columnRule.columnRuleColor.columnRuleStyle.columnRuleWidth.columnSpan.columnWidth.columns.command.commands.commit.commitLoadTime.commitPreferences.commitStyles.commonAncestorContainer.compact.compare.compareBoundaryPoints.compareDocumentPosition.compareEndPoints.compareExchange.compareNode.comparePoint.compatMode.compatible.compile.compileShader.compileStreaming.complete.completed.component.componentFromPoint.composed.composedPath.composite.compositionEndOffset.compositionStartOffset.compressedTexImage2D.compressedTexImage3D.compressedTexSubImage2D.compressedTexSubImage3D.compute.computedStyleMap.concat.conditionText.coneInnerAngle.coneOuterAngle.coneOuterGain.config.configurable.configuration.configurationName.configurationValue.configurations.configure.confirm.confirmComposition.confirmSiteSpecificTrackingException.confirmWebWideTrackingException.congestionControl.connect.connectEnd.connectNative.connectShark.connectStart.connected.connectedCallback.connection.connectionInfo.connectionList.connectionSpeed.connectionState.connections.console.consolidate.constants.constraint.constrictionActive.construct.constructor.contactID.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.containIntrinsicBlockSize.containIntrinsicHeight.containIntrinsicInlineSize.containIntrinsicSize.containIntrinsicWidth.container.container-name.container-type.containerId.containerName.containerQuery.containerSrc.containerType.contains.containsNode.content.content-visibility.contentBoxSize.contentDocument.contentEditable.contentHint.contentOverflow.contentRect.contentScriptType.contentStyleType.contentType.contentVisibility.contentWindow.context.contextId.contextIds.contextMenu.contextMenus.contextType.contextTypes.contextmenu.contextualIdentities.continue.continuePrimaryKey.continuous.control.controlTransferIn.controlTransferOut.controller.controls.controlsList.convertPointFromNode.convertQuadFromNode.convertRectFromNode.convertToBlob.convertToSpecifiedUnits.cookie.cookieEnabled.cookieStore.cookies.coords.copyBufferSubData.copyBufferToBuffer.copyBufferToTexture.copyExternalImageToTexture.copyFromChannel.copyTexImage2D.copyTexSubImage2D.copyTexSubImage3D.copyTextureToBuffer.copyTextureToTexture.copyTo.copyToChannel.copyWithin.correspondingElement.correspondingUseElement.corruptedVideoFrames.cos.cosh.count.countReset.counter-increment.counter-reset.counter-set.counterIncrement.counterReset.counterSet.country.cpuClass.cpuSleepAllowed.cqb.cqh.cqi.cqmax.cqmin.cqw.create.createAnalyser.createAnchor.createAnswer.createAttribute.createAttributeNS.createAuctionNonce.createBidirectionalStream.createBindGroup.createBindGroupLayout.createBiquadFilter.createBuffer.createBufferSource.createCDATASection.createCSSStyleSheet.createCaption.createChannelMerger.createChannelSplitter.createCommandEncoder.createComment.createComputePipeline.createComputePipelineAsync.createConicGradient.createConstantSource.createContextualFragment.createControlRange.createConvolver.createDTMFSender.createDataChannel.createDelay.createDelayNode.createDocument.createDocumentFragment.createDocumentType.createDynamicsCompressor.createElement.createElementNS.createEncodedStreams.createEntityReference.createEvent.createEventObject.createExpression.createFramebuffer.createFunction.createGain.createGainNode.createHTML.createHTMLDocument.createIIRFilter.createImageBitmap.createImageData.createIndex.createJavaScriptNode.createLinearGradient.createMediaElementSource.createMediaKeys.createMediaStreamDestination.createMediaStreamSource.createMediaStreamTrackSource.createMutableFile.createNSResolver.createNodeIterator.createNotification.createObjectStore.createObjectURL.createOffer.createOscillator.createPanner.createPattern.createPeriodicWave.createPipelineLayout.createPolicy.createPopup.createProcessingInstruction.createProgram.createQuery.createQuerySet.createRadialGradient.createRange.createRangeCollection.createReader.createRenderBundleEncoder.createRenderPipeline.createRenderPipelineAsync.createRenderbuffer.createSVGAngle.createSVGLength.createSVGMatrix.createSVGNumber.createSVGPathSegArcAbs.createSVGPathSegArcRel.createSVGPathSegClosePath.createSVGPathSegCurvetoCubicAbs.createSVGPathSegCurvetoCubicRel.createSVGPathSegCurvetoCubicSmoothAbs.createSVGPathSegCurvetoCubicSmoothRel.createSVGPathSegCurvetoQuadraticAbs.createSVGPathSegCurvetoQuadraticRel.createSVGPathSegCurvetoQuadraticSmoothAbs.createSVGPathSegCurvetoQuadraticSmoothRel.createSVGPathSegLinetoAbs.createSVGPathSegLinetoHorizontalAbs.createSVGPathSegLinetoHorizontalRel.createSVGPathSegLinetoRel.createSVGPathSegLinetoVerticalAbs.createSVGPathSegLinetoVerticalRel.createSVGPathSegMovetoAbs.createSVGPathSegMovetoRel.createSVGPoint.createSVGRect.createSVGTransform.createSVGTransformFromMatrix.createSampler.createScript.createScriptProcessor.createScriptURL.createSession.createShader.createShaderModule.createShadowRoot.createStereoPanner.createStyleSheet.createTBody.createTFoot.createTHead.createTask.createTextNode.createTextRange.createTexture.createTouch.createTouchList.createTransformFeedback.createTreeWalker.createUnidirectionalStream.createVertexArray.createView.createWaveShaper.createWorklet.createWritable.creationTime.credentialless.credentials.criticalCHRestart.cropTo.crossOrigin.crossOriginIsolated.crypto.csi.csp.cssFloat.cssRules.cssText.cssValueType.ctrlKey.ctrlLeft.cues.cullFace.cullMode.currentCSSZoom.currentDirection.currentEntry.currentLocalDescription.currentNode.currentPage.currentRect.currentRemoteDescription.currentScale.currentScreen.currentScript.currentSrc.currentState.currentStyle.currentTarget.currentTime.currentTranslate.currentView.cursor.curve.customElements.customError.cx.cy.d.data.dataFld.dataFormatAs.dataLoss.dataLossMessage.dataPageSize.dataSrc.dataTransfer.database.databases.datagrams.dataset.dateTime.db.debug.debuggerEnabled.declarativeNetRequest.declare.decode.decodeAudioData.decodeQueueSize.decodeURI.decodeURIComponent.decodedBodySize.decoding.decodingInfo.decrypt.default.defaultCharset.defaultChecked.defaultMuted.defaultPlaybackRate.defaultPolicy.defaultPrevented.defaultQueue.defaultRequest.defaultSelected.defaultStatus.defaultURL.defaultValue.defaultView.defaultstatus.defer.define.defineMagicFunction.defineMagicVariable.defineProperties.defineProperty.deg.delay.delayTime.delegatesFocus.delete.deleteBuffer.deleteCaption.deleteCell.deleteContents.deleteData.deleteDatabase.deleteFramebuffer.deleteFromDocument.deleteIndex.deleteMedium.deleteObjectStore.deleteProgram.deleteProperty.deleteQuery.deleteRenderbuffer.deleteRow.deleteRule.deleteSampler.deleteShader.deleteSync.deleteTFoot.deleteTHead.deleteTexture.deleteTransformFeedback.deleteVertexArray.deleted.deliverChangeRecords.deliveredFrames.deliveredFramesDuration.delivery.deliveryInfo.deliveryStatus.deliveryTimestamp.deliveryType.delta.deltaMode.deltaX.deltaY.deltaZ.dependentLocality.deprecatedReplaceInURN.deprecatedRunAdAuctionEnforcesKAnonymity.deprecatedURNToURL.depthBias.depthBiasClamp.depthBiasSlopeScale.depthClearValue.depthCompare.depthDataFormat.depthFailOp.depthFar.depthFunc.depthLoadOp.depthMask.depthNear.depthOrArrayLayers.depthRange.depthReadOnly.depthStencil.depthStencilAttachment.depthStencilFormat.depthStoreOp.depthUsage.depthWriteEnabled.deref.deriveBits.deriveKey.descentOverride.description.deselectAll.designMode.desiredSize.destination.destinationURL.destroy.detach.detachEvent.detachShader.detached.detail.details.detect.detectLanguage.detune.device.deviceClass.deviceId.deviceMemory.devicePixelContentBoxSize.devicePixelRatio.deviceProtocol.deviceSubclass.deviceVersionMajor.deviceVersionMinor.deviceVersionSubminor.deviceXDPI.deviceYDPI.devtools.devtools_panels.didTimeout.difference.diffuseConstant.digest.dimension.dimensions.dir.dirName.direction.dirxml.disable.disablePictureInPicture.disableRemotePlayback.disableVertexAttribArray.disabled.discard.discardedFrames.dischargingTime.disconnect.disconnectShark.disconnectedCallback.dispatchEvent.dispatchWorkgroups.dispatchWorkgroupsIndirect.display.displayHeight.displayId.displayName.displayWidth.dispose.disposition.distanceModel.div.divisor.djsapi.djsproxy.dns.doImport.doNotTrack.doScroll.doctype.document.documentElement.documentId.documentIds.documentLifecycle.documentMode.documentOrigin.documentOrigins.documentPictureInPicture.documentURI.documentUrl.documentUrls.dolphin.dolphinGameCenter.dolphininfo.dolphinmeta.dom.domComplete.domContentLoadedEventEnd.domContentLoadedEventStart.domInteractive.domLoading.domOverlayState.domain.domainLookupEnd.domainLookupStart.dominant-baseline.dominantBaseline.done.dopplerFactor.dotAll.downDegrees.downlink.download.downloadRequest.downloadTotal.downloaded.downloads.dpcm.dpi.dppx.dragDrop.draggable.draw.drawArrays.drawArraysInstanced.drawArraysInstancedANGLE.drawBuffers.drawCustomFocusRing.drawElements.drawElementsInstanced.drawElementsInstancedANGLE.drawFocusIfNeeded.drawImage.drawImageFromRect.drawIndexed.drawIndexedIndirect.drawIndirect.drawRangeElements.drawSystemFocusRing.drawingBufferColorSpace.drawingBufferFormat.drawingBufferHeight.drawingBufferStorage.drawingBufferWidth.drop.dropEffect.droppedVideoFrames.dropzone.dstFactor.dtmf.dump.dumpProfile.duplex.duplicate.durability.duration.dvb.dvh.dvi.dvmax.dvmin.dvname.dvnum.dvw.dx.dy.dynamicId.dynsrc.e.edgeMode.editContext.effect.effectAllowed.effectiveDirective.effectiveType.effects.elapsedTime.element.elementFromPoint.elementTiming.elements.elementsFromPoint.elevation.ellipse.em.emHeightAscent.emHeightDescent.email.embeds.emit.emma.empty.empty-cells.emptyCells.emptyHTML.emptyScript.emulatedPosition.enable.enableBackground.enableDelegations.enableStyleSheetsForSet.enableVertexAttribArray.enabled.enabledFeatures.enabledPlugin.encode.encodeInto.encodeQueueSize.encodeURI.encodeURIComponent.encodedBodySize.encoding.encodingInfo.encrypt.enctype.end.endContainer.endElement.endElementAt.endOcclusionQuery.endOfPassWriteIndex.endOfStream.endOffset.endQuery.endTime.endTransformFeedback.ended.endpoint.endpointNumber.endpoints.endsWith.enqueue.enterKeyHint.entities.entries.entry.entryPoint.entryType.enumerable.enumerate.enumerateDevices.enumerateEditable.environmentBlendMode.equals.error.errorCode.errorDetail.errorText.escape.estimate.eval.evaluate.event.eventCounts.eventPhase.events.every.ex.exception.exchange.exec.execCommand.execCommandShowHelp.execScript.executeBundles.executionStart.exitFullscreen.exitPictureInPicture.exitPointerLock.exitPresent.exp.expand.expandEntityReferences.expando.expansion.expectedImprovement.experiments.expiration.expirationTime.expires.expiryDate.explicitOriginalTarget.expm1.exponent.exponentialRampToValueAtTime.exportKey.exports.extend.extension.extensionTypes.extensions.extentNode.extentOffset.external.externalResourcesRequired.externalTexture.extractContents.extractable.eye.f.f16round.face.factoryReset.failOp.failureReason.fallback.family.familyName.farthestViewportElement.fastSeek.fatal.featureId.featurePolicy.featureSettings.features.fence.fenceSync.fetch.fetchPriority.fetchStart.fftSize.fgColor.fieldOfView.file.fileCreatedDate.fileHandle.fileModifiedDate.fileName.fileSize.fileUpdatedDate.filename.files.filesystem.fill.fill-opacity.fill-rule.fillJointRadii.fillLightMode.fillOpacity.fillPoses.fillRect.fillRule.fillStyle.fillText.filter.filterResX.filterResY.filterUnits.filters.finally.find.findIndex.findLast.findLastIndex.findRule.findText.finish.finishDocumentLoadTime.finishLoadTime.finished.fireEvent.firesTouchEvents.firstChild.firstElementChild.firstInterimResponseStart.firstPage.firstPaintAfterLoadTime.firstPaintTime.firstUIEventTimestamp.fixed.flags.flat.flatMap.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.flexBasis.flexDirection.flexFlow.flexGrow.flexShrink.flexWrap.flipX.flipY.float.float32.float64.flood-color.flood-opacity.floodColor.floodOpacity.floor.flush.focus.focusNode.focusOffset.font.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.fontBoundingBoxAscent.fontBoundingBoxDescent.fontFamily.fontFeatureSettings.fontKerning.fontLanguageOverride.fontOpticalSizing.fontPalette.fontSize.fontSizeAdjust.fontSmoothingEnabled.fontStretch.fontStyle.fontSynthesis.fontSynthesisPosition.fontSynthesisSmallCaps.fontSynthesisStyle.fontSynthesisWeight.fontVariant.fontVariantAlternates.fontVariantCaps.fontVariantEastAsian.fontVariantLigatures.fontVariantNumeric.fontVariantPosition.fontVariationSettings.fontWeight.fontcolor.fontfaces.fonts.fontsize.for.forEach.force.forceFallbackAdapter.forceRedraw.forced-color-adjust.forcedColorAdjust.forcedStyleAndLayoutDuration.forget.form.formAction.formData.formEnctype.formMethod.formNoValidate.formTarget.format.formatToParts.forms.forward.forwardX.forwardY.forwardZ.foundation.fr.fragment.fragmentDirective.frame.frameBorder.frameCount.frameElement.frameId.frameIds.frameSpacing.framebuffer.framebufferHeight.framebufferRenderbuffer.framebufferTexture2D.framebufferTextureLayer.framebufferWidth.frames.freeSpace.freeze.frequency.frequencyBinCount.from.fromAsync.fromBase64.fromCharCode.fromCodePoint.fromElement.fromEntries.fromFloat32Array.fromFloat64Array.fromHex.fromMatrix.fromPoint.fromQuad.fromRect.frontFace.fround.fullName.fullPath.fullRange.fullScreen.fullVersionList.fullscreen.fullscreenElement.fullscreenEnabled.fx.fy.g.gain.gamepad.gamma.gap.gatheringState.gatt.geckoProfiler.genderIdentity.generateCertificate.generateKey.generateMipmap.generateRequest.geolocation.gestureObject.get.getAcceptLanguages.getActiveAttrib.getActiveUniform.getActiveUniformBlockName.getActiveUniformBlockParameter.getActiveUniforms.getAdjacentText.getAll.getAllKeys.getAllResponseHeaders.getAllowlistForFeature.getAnimations.getAsFile.getAsFileSystemHandle.getAsString.getAttachedShaders.getAttribLocation.getAttribute.getAttributeNS.getAttributeNames.getAttributeNode.getAttributeNodeNS.getAttributeType.getAudioTracks.getAuthenticatorData.getAutoplayPolicy.getAvailability.getBBox.getBackgroundPage.getBadgeBackgroundColor.getBadgeText.getBadgeTextColor.getBattery.getBigInt64.getBigUint64.getBindGroupLayout.getBlob.getBookmark.getBoundingClientRect.getBounds.getBoxQuads.getBrowserInfo.getBufferParameter.getBufferSubData.getByteFrequencyData.getByteTimeDomainData.getCSSCanvasContext.getCTM.getCameraImage.getCandidateWindowClientRect.getCanonicalLocales.getCapabilities.getCaptureHandle.getChannelData.getCharNumAtPosition.getCharacteristic.getCharacteristics.getClientExtensionResults.getClientRect.getClientRects.getCoalescedEvents.getCompilationInfo.getCompositionAlternatives.getComputedStyle.getComputedTextLength.getComputedTiming.getConfiguration.getConstraints.getContext.getContextAttributes.getContexts.getContributingSources.getCounterValue.getCueAsHTML.getCueById.getCurrent.getCurrentPosition.getCurrentTexture.getCurrentTime.getData.getDatabaseNames.getDate.getDay.getDefaultComputedStyle.getDepthInMeters.getDepthInformation.getDescriptor.getDescriptors.getDestinationInsertionPoints.getDevices.getDirectory.getDirectoryHandle.getDisplayMedia.getDistributedNodes.getEditable.getElementById.getElementsByClassName.getElementsByName.getElementsByTagName.getElementsByTagNameNS.getEnclosureList.getEndPositionOfChar.getEntries.getEntriesByName.getEntriesByType.getError.getExtension.getExtentOfChar.getEyeParameters.getFeature.getFiberRoots.getFile.getFileHandle.getFiles.getFilesAndDirectories.getFingerprints.getFloat16.getFloat32.getFloat64.getFloatFrequencyData.getFloatTimeDomainData.getFloatValue.getFragDataLocation.getFrameData.getFrameId.getFramebufferAttachmentParameter.getFrequencyResponse.getFullYear.getGamepads.getHTML.getHeaderExtensionsToNegotiate.getHighEntropyValues.getHitTestResults.getHitTestResultsForTransientInput.getHours.getIdentityAssertion.getIds.getImageData.getIndexedParameter.getInfo.getInnerHTML.getInstalledRelatedApps.getInt16.getInt32.getInt8.getInterestGroupAdAuctionData.getInternalModuleRanges.getInternalformatParameter.getIntersectionList.getItem.getItems.getJointPose.getKey.getKeyframes.getLastFocused.getLayers.getLayoutMap.getLightEstimate.getLineDash.getLocalCandidates.getLocalParameters.getLocalStreams.getManagedConfiguration.getManifest.getMappedRange.getMarks.getMatchedCSSRules.getMaxGCPauseSinceClear.getMeasures.getMessage.getMetadata.getMilliseconds.getMinutes.getModifierState.getMonth.getName.getNamedItem.getNamedItemNS.getNativeFramebufferScaleFactor.getNegotiatedHeaderExtensions.getNestedConfigs.getNotifications.getNotifier.getNumberOfChars.getOffsetReferenceSpace.getOutputTimestamp.getOverrideHistoryNavigationMode.getOverrideStyle.getOwnPropertyDescriptor.getOwnPropertyDescriptors.getOwnPropertyNames.getOwnPropertySymbols.getPackageDirectoryEntry.getParameter.getParameters.getParent.getPathSegAtLength.getPermissionWarningsByManifest.getPhotoCapabilities.getPhotoSettings.getPlatformInfo.getPointAtLength.getPopup.getPorts.getPose.getPredictedEvents.getPreference.getPreferenceDefault.getPreferredCanvasFormat.getPresentationAttribute.getPreventDefault.getPrimaryService.getPrimaryServices.getProgramInfoLog.getProgramParameter.getPropertyCSSValue.getPropertyPriority.getPropertyShorthand.getPropertyType.getPropertyValue.getPrototypeOf.getPublicKey.getPublicKeyAlgorithm.getQuery.getQueryParameter.getRGBColorValue.getRandomValues.getRangeAt.getReader.getReceivers.getRectValue.getReflectionCubeMap.getRegistration.getRegistrations.getRemoteCandidates.getRemoteCertificates.getRemoteParameters.getRemoteStreams.getRenderbufferParameter.getResponseHeader.getRoot.getRootNode.getRotationOfChar.getSVGDocument.getSamplerParameter.getScreenCTM.getScreenDetails.getSeconds.getSelectedCandidatePair.getSelection.getSelf.getSenders.getService.getSetCookie.getSettings.getShaderInfoLog.getShaderParameter.getShaderPrecisionFormat.getShaderSource.getSignals.getSimpleDuration.getSiteIcons.getSources.getSpeculativeParserUrls.getStartPositionOfChar.getStartTime.getState.getStats.getStatusForPolicy.getStorageUpdates.getStreamById.getStringValue.getSubStringLength.getSubscription.getSubscriptions.getSupportedConstraints.getSupportedExtensions.getSupportedFormats.getSyncParameter.getSynchronizationSources.getTags.getTargetRanges.getTexParameter.getTextFormats.getTime.getTimezoneOffset.getTiming.getTitle.getTitlebarAreaRect.getTotalLength.getTrackById.getTracks.getTransceivers.getTransform.getTransformFeedbackVarying.getTransformToElement.getTransports.getType.getTypeMapping.getUILanguage.getURL.getUTCDate.getUTCDay.getUTCFullYear.getUTCHours.getUTCMilliseconds.getUTCMinutes.getUTCMonth.getUTCSeconds.getUint16.getUint32.getUint8.getUniform.getUniformBlockIndex.getUniformIndices.getUniformLocation.getUserInfo.getUserMedia.getUserSettings.getVRDisplays.getValues.getVarDate.getVariableValue.getVertexAttrib.getVertexAttribOffset.getVideoPlaybackQuality.getVideoTracks.getViewerPose.getViewport.getViews.getVoices.getWakeLockState.getWriter.getYear.getZoom.getZoomSettings.givenName.global.globalAlpha.globalCompositeOperation.globalPrivacyControl.globalThis.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.go.goBack.goForward.gpu.grabFrame.grad.gradientTransform.gradientUnits.grammars.green.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-gap.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-gap.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.gridArea.gridAutoColumns.gridAutoFlow.gridAutoRows.gridColumn.gridColumnEnd.gridColumnGap.gridColumnStart.gridGap.gridRow.gridRowEnd.gridRowGap.gridRowStart.gridTemplate.gridTemplateAreas.gridTemplateColumns.gridTemplateRows.gripSpace.group.groupBy.groupCollapsed.groupEnd.groupId.groups.grow.growable.guestProcessId.guestRenderFrameRoutingId.hadRecentInput.hand.handedness.hangingBaseline.hapticActuators.hardwareConcurrency.has.hasAttribute.hasAttributeNS.hasAttributes.hasBeenActive.hasChildNodes.hasComposition.hasDynamicOffset.hasEnrolledInstrument.hasExtension.hasExternalDisplay.hasFeature.hasFocus.hasIndices.hasInstance.hasLayout.hasOrientation.hasOwn.hasOwnProperty.hasPointerCapture.hasPosition.hasPrivateToken.hasReading.hasRedemptionRecord.hasRegExpGroups.hasStorageAccess.hasUAVisualTransition.hasUnpartitionedCookieAccess.hash.hashChange.head.headers.heading.height.hid.hidden.hide.hideFocus.hidePopover.high.highWaterMark.highlight.highlights.hint.hints.history.honorificPrefix.honorificSuffix.horizontalOverflow.host.hostCandidate.hostname.href.hrefTranslate.hreflang.hspace.html5TagCheckInerface.htmlFor.htmlText.httpEquiv.httpRequestStatusCode.hwTimestamp.hyphenate-character.hyphenateCharacter.hyphens.hypot.i18n.ic.iccId.iceConnectionState.iceGatheringState.iceTransport.icon.iconURL.id.identifier.identity.ideographicBaseline.idle.idpLoginUrl.ignoreBOM.ignoreCase.ignoreDepthValues.image.image-orientation.image-rendering.imageHeight.imageOrientation.imageRendering.imageSizes.imageSmoothingEnabled.imageSmoothingQuality.imageSrcset.imageWidth.images.ime-mode.imeMode.implementation.importExternalTexture.importKey.importNode.importStylesheet.imports.impp.imul.in.in1.in2.inBandMetadataTrackDispatchType.inIncognitoContext.inRange.includes.incognito.incomingBidirectionalStreams.incomingHighWaterMark.incomingMaxAge.incomingUnidirectionalStreams.incremental.indeterminate.index.indexNames.indexOf.indexedDB.indicate.indices.inert.inertiaDestinationX.inertiaDestinationY.info.inherits.init.initAnimationEvent.initBeforeLoadEvent.initClipboardEvent.initCloseEvent.initCommandEvent.initCompositionEvent.initCustomEvent.initData.initDataType.initDeviceMotionEvent.initDeviceOrientationEvent.initDragEvent.initErrorEvent.initEvent.initFocusEvent.initGestureEvent.initHashChangeEvent.initKeyEvent.initKeyboardEvent.initMSManipulationEvent.initMessageEvent.initMouseEvent.initMouseScrollEvent.initMouseWheelEvent.initMutationEvent.initNSMouseEvent.initOverflowEvent.initPageEvent.initPageTransitionEvent.initPointerEvent.initPopStateEvent.initProgressEvent.initScrollAreaEvent.initSimpleGestureEvent.initStorageEvent.initTextEvent.initTimeEvent.initTouchEvent.initTransitionEvent.initUIEvent.initWebKitAnimationEvent.initWebKitTransitionEvent.initWebKitWheelEvent.initWheelEvent.initialTime.initialValue.initialize.initiatorType.inject.ink.inline-size.inlineSize.inlineVerticalFieldOfView.inner.innerHTML.innerHeight.innerText.innerWidth.input.inputBuffer.inputEncoding.inputMethod.inputMode.inputSource.inputSources.inputType.inputs.insertAdjacentElement.insertAdjacentHTML.insertAdjacentText.insertBefore.insertCell.insertDTMF.insertData.insertDebugMarker.insertItemBefore.insertNode.insertRow.insertRule.inset.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.insetBlock.insetBlockEnd.insetBlockStart.insetInline.insetInlineEnd.insetInlineStart.install.installing.instanceRoot.instantiate.instantiateStreaming.instruments.int16.int32.int8.integrity.interactionId.interactionMode.intercept.interfaceClass.interfaceName.interfaceNumber.interfaceProtocol.interfaceSubclass.interfaces.interimResults.internalSubset.interpretation.intersection.intersectionRatio.intersectionRect.intersectsNode.interval.invalidIteratorState.invalidateFramebuffer.invalidateSubFramebuffer.inverse.invertSelf.invoker.invokerType.is.is2D.isActive.isAllowedFileSchemeAccess.isAllowedIncognitoAccess.isAlternate.isArray.isAutoSelected.isBingCurrentSearchDefault.isBuffer.isCandidateWindowVisible.isChar.isCollapsed.isComposing.isConcatSpreadable.isConditionalMediationAvailable.isConfigSupported.isConnected.isContentEditable.isContentHandlerRegistered.isContextLost.isDefaultNamespace.isDirectory.isDisabled.isDisjointFrom.isEnabled.isEqual.isEqualNode.isExtended.isExtensible.isExternalCTAP2SecurityKeySupported.isFallbackAdapter.isFile.isFinite.isFirstPersonObserver.isFramebuffer.isFrozen.isGenerator.isHTML.isHistoryNavigation.isId.isIdentity.isInjected.isInputPending.isInteger.isInternal.isIntersecting.isLockFree.isMap.isMultiLine.isNaN.isOpen.isPointInFill.isPointInPath.isPointInRange.isPointInStroke.isPrefAlternate.isPresenting.isPrimary.isProgram.isPropertyImplicit.isProtocolHandlerRegistered.isPrototypeOf.isQuery.isRawJSON.isRenderbuffer.isSafeInteger.isSameEntry.isSameNode.isSampler.isScript.isScriptURL.isSealed.isSecureContext.isSessionSupported.isShader.isSubsetOf.isSupersetOf.isSupported.isSync.isTextEdit.isTexture.isTransformFeedback.isTrusted.isTypeSupported.isUserVerifyingPlatformAuthenticatorAvailable.isVertexArray.isView.isVisible.isWellFormed.isochronousTransferIn.isochronousTransferOut.isolation.italics.item.itemId.itemProp.itemRef.itemScope.itemType.itemValue.items.iterateNext.iterationComposite.iterator.javaEnabled.jitterBufferTarget.jobTitle.join.joinAdInterestGroup.jointName.json.justify-content.justify-items.justify-self.justifyContent.justifyItems.justifySelf.k1.k2.k3.k4.kHz.keepalive.kernelMatrix.kernelUnitLengthX.kernelUnitLengthY.kerning.key.keyCode.keyFor.keyIdentifier.keyLightEnabled.keyLocation.keyPath.keyStatuses.keySystem.keyText.keyUsage.keyboard.keys.keytype.kind.knee.knownSources.label.labels.lang.language.languages.largeArcFlag.lastChild.lastElementChild.lastError.lastEventId.lastIndex.lastIndexOf.lastInputTime.lastMatch.lastMessageSubject.lastMessageType.lastModified.lastModifiedDate.lastPage.lastParen.lastState.lastStyleSheetSet.latency.latitude.launchQueue.layerName.layerX.layerY.layout.layoutFlow.layoutGrid.layoutGridChar.layoutGridLine.layoutGridMode.layoutGridType.lbound.leaveAdInterestGroup.left.leftContext.leftDegrees.leftMargin.leftProjectionMatrix.leftViewMatrix.length.lengthAdjust.lengthComputable.letter-spacing.letterSpacing.level.lh.lighting-color.lightingColor.limitingConeAngle.limits.line.line-break.line-height.lineAlign.lineBreak.lineCap.lineDashOffset.lineGapOverride.lineHeight.lineJoin.lineNum.lineNumber.linePos.lineTo.lineWidth.linearAcceleration.linearRampToValueAtTime.linearVelocity.lineno.lines.link.linkColor.linkProgram.links.list.list-style.list-style-image.list-style-position.list-style-type.listStyle.listStyleImage.listStylePosition.listStyleType.listener.listeners.load.loadEventEnd.loadEventStart.loadOp.loadTime.loadTimes.loaded.loading.localDescription.localName.localService.localStorage.locale.localeCompare.location.locationbar.lock.locked.lockedFile.locks.lodMaxClamp.lodMinClamp.log.log10.log1p.log2.logicalXDPI.logicalYDPI.login.loglevel.longDesc.longitude.lookupNamespaceURI.lookupPrefix.loop.loopEnd.loopStart.looping.lost.low.lower.lowerBound.lowerOpen.lowsrc.lvb.lvh.lvi.lvmax.lvmin.lvw.m11.m12.m13.m14.m21.m22.m23.m24.m31.m32.m33.m34.m41.m42.m43.m44.magFilter.makeXRCompatible.managed.management.manifest.manufacturer.manufacturerName.map.mapAsync.mapState.mappedAtCreation.mapping.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.marginBlock.marginBlockEnd.marginBlockStart.marginBottom.marginHeight.marginInline.marginInlineEnd.marginInlineStart.marginLeft.marginRight.marginTop.marginWidth.mark.marker.marker-end.marker-mid.marker-offset.marker-start.markerEnd.markerHeight.markerMid.markerOffset.markerStart.markerUnits.markerWidth.marks.mask.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-position-x.mask-position-y.mask-repeat.mask-size.mask-type.maskClip.maskComposite.maskContentUnits.maskImage.maskMode.maskOrigin.maskPosition.maskPositionX.maskPositionY.maskRepeat.maskSize.maskType.maskUnits.match.matchAll.matchMedia.matchMedium.matchPatterns.matches.math-depth.math-style.mathDepth.mathStyle.matrix.matrixTransform.max.max-block-size.max-height.max-inline-size.max-width.maxActions.maxAlternatives.maxAnisotropy.maxBindGroups.maxBindGroupsPlusVertexBuffers.maxBindingsPerBindGroup.maxBlockSize.maxBufferSize.maxByteLength.maxChannelCount.maxChannels.maxColorAttachmentBytesPerSample.maxColorAttachments.maxComputeInvocationsPerWorkgroup.maxComputeWorkgroupSizeX.maxComputeWorkgroupSizeY.maxComputeWorkgroupSizeZ.maxComputeWorkgroupStorageSize.maxComputeWorkgroupsPerDimension.maxConnectionsPerServer.maxDatagramSize.maxDecibels.maxDistance.maxDrawCount.maxDynamicStorageBuffersPerPipelineLayout.maxDynamicUniformBuffersPerPipelineLayout.maxHeight.maxInlineSize.maxInterStageShaderComponents.maxInterStageShaderVariables.maxLayers.maxLength.maxMessageSize.maxPacketLifeTime.maxRetransmits.maxSampledTexturesPerShaderStage.maxSamplersPerShaderStage.maxStorageBufferBindingSize.maxStorageBuffersPerShaderStage.maxStorageTexturesPerShaderStage.maxTextureArrayLayers.maxTextureDimension1D.maxTextureDimension2D.maxTextureDimension3D.maxTouchPoints.maxUniformBufferBindingSize.maxUniformBuffersPerShaderStage.maxValue.maxVertexAttributes.maxVertexBufferArrayStride.maxVertexBuffers.maxWidth.maximumLatency.measure.measureText.media.mediaCapabilities.mediaDevices.mediaElement.mediaGroup.mediaKeys.mediaSession.mediaStream.mediaText.meetOrSlice.memory.menubar.menus.menusChild.menusInternal.mergeAttributes.message.messageClass.messageHandlers.messageType.messages.metaKey.metadata.method.methodDetails.methodName.mid.mimeType.mimeTypes.min.min-block-size.min-height.min-inline-size.min-width.minBindingSize.minBlockSize.minDecibels.minFilter.minHeight.minInlineSize.minLength.minStorageBufferOffsetAlignment.minUniformBufferOffsetAlignment.minValue.minWidth.minimumLatency.mipLevel.mipLevelCount.mipmapFilter.miterLimit.mix-blend-mode.mixBlendMode.mm.mobile.mode.model.modify.module.mount.move.moveBy.moveEnd.moveFirst.moveFocusDown.moveFocusLeft.moveFocusRight.moveFocusUp.moveInSuccession.moveNext.moveRow.moveStart.moveTo.moveToBookmark.moveToElementText.moveToPoint.movementX.movementY.mozAdd.mozAnimationStartTime.mozAnon.mozApps.mozAudioCaptured.mozAudioChannelType.mozAutoplayEnabled.mozCancelAnimationFrame.mozCancelFullScreen.mozCancelRequestAnimationFrame.mozCaptureStream.mozCaptureStreamUntilEnded.mozClearDataAt.mozContact.mozContacts.mozCreateFileHandle.mozCurrentTransform.mozCurrentTransformInverse.mozCursor.mozDash.mozDashOffset.mozDecodedFrames.mozExitPointerLock.mozFillRule.mozFragmentEnd.mozFrameDelay.mozFullScreen.mozFullScreenElement.mozFullScreenEnabled.mozGetAll.mozGetAllKeys.mozGetAsFile.mozGetDataAt.mozGetMetadata.mozGetUserMedia.mozHasAudio.mozHasItem.mozHidden.mozImageSmoothingEnabled.mozIndexedDB.mozInnerScreenX.mozInnerScreenY.mozInputSource.mozIsTextField.mozItem.mozItemCount.mozItems.mozLength.mozLockOrientation.mozMatchesSelector.mozMovementX.mozMovementY.mozOpaque.mozOrientation.mozPaintCount.mozPaintedFrames.mozParsedFrames.mozPay.mozPointerLockElement.mozPresentedFrames.mozPreservesPitch.mozPressure.mozPrintCallback.mozRTCIceCandidate.mozRTCPeerConnection.mozRTCSessionDescription.mozRemove.mozRequestAnimationFrame.mozRequestFullScreen.mozRequestPointerLock.mozSetDataAt.mozSetImageElement.mozSourceNode.mozSrcObject.mozSystem.mozTCPSocket.mozTextStyle.mozTypesAt.mozUnlockOrientation.mozUserCancelled.mozVisibilityState.ms.msAnimation.msAnimationDelay.msAnimationDirection.msAnimationDuration.msAnimationFillMode.msAnimationIterationCount.msAnimationName.msAnimationPlayState.msAnimationStartTime.msAnimationTimingFunction.msBackfaceVisibility.msBlockProgression.msCSSOMElementFloatMetrics.msCaching.msCachingEnabled.msCancelRequestAnimationFrame.msCapsLockWarningOff.msClearImmediate.msClose.msContentZoomChaining.msContentZoomFactor.msContentZoomLimit.msContentZoomLimitMax.msContentZoomLimitMin.msContentZoomSnap.msContentZoomSnapPoints.msContentZoomSnapType.msContentZooming.msConvertURL.msCrypto.msDoNotTrack.msElementsFromPoint.msElementsFromRect.msExitFullscreen.msExtendedCode.msFillRule.msFirstPaint.msFlex.msFlexAlign.msFlexDirection.msFlexFlow.msFlexItemAlign.msFlexLinePack.msFlexNegative.msFlexOrder.msFlexPack.msFlexPositive.msFlexPreferredSize.msFlexWrap.msFlowFrom.msFlowInto.msFontFeatureSettings.msFullscreenElement.msFullscreenEnabled.msGetInputContext.msGetRegionContent.msGetUntransformedBounds.msGraphicsTrustStatus.msGridColumn.msGridColumnAlign.msGridColumnSpan.msGridColumns.msGridRow.msGridRowAlign.msGridRowSpan.msGridRows.msHidden.msHighContrastAdjust.msHyphenateLimitChars.msHyphenateLimitLines.msHyphenateLimitZone.msHyphens.msImageSmoothingEnabled.msImeAlign.msIndexedDB.msInterpolationMode.msIsStaticHTML.msKeySystem.msKeys.msLaunchUri.msLockOrientation.msManipulationViewsEnabled.msMatchMedia.msMatchesSelector.msMaxTouchPoints.msOrientation.msOverflowStyle.msPerspective.msPerspectiveOrigin.msPlayToDisabled.msPlayToPreferredSourceUri.msPlayToPrimary.msPointerEnabled.msRegionOverflow.msReleasePointerCapture.msRequestAnimationFrame.msRequestFullscreen.msSaveBlob.msSaveOrOpenBlob.msScrollChaining.msScrollLimit.msScrollLimitXMax.msScrollLimitXMin.msScrollLimitYMax.msScrollLimitYMin.msScrollRails.msScrollSnapPointsX.msScrollSnapPointsY.msScrollSnapType.msScrollSnapX.msScrollSnapY.msScrollTranslation.msSetImmediate.msSetMediaKeys.msSetPointerCapture.msTextCombineHorizontal.msTextSizeAdjust.msToBlob.msTouchAction.msTouchSelect.msTraceAsyncCallbackCompleted.msTraceAsyncCallbackStarting.msTraceAsyncOperationCompleted.msTraceAsyncOperationStarting.msTransform.msTransformOrigin.msTransformStyle.msTransition.msTransitionDelay.msTransitionDuration.msTransitionProperty.msTransitionTimingFunction.msUnlockOrientation.msUpdateAsyncCallbackRelation.msUserSelect.msVisibilityState.msWrapFlow.msWrapMargin.msWrapThrough.msWriteProfilerMark.msZoom.msZoomTo.mt.mul.multiEntry.multiSelectionObj.multiline.multiple.multiply.multiplySelf.multisample.multisampled.mutableFile.muted.n.nacl_arch.name.nameList.nameProp.namedItem.namedRecordset.names.namespaceURI.namespaces.nativeApplication.nativeMap.nativeObjectCreate.nativeSet.nativeWeakMap.naturalHeight.naturalWidth.navigate.navigation.navigationMode.navigationPreload.navigationStart.navigationType.navigator.near.nearestViewportElement.negative.negotiated.netscape.networkState.networkStatus.newScale.newState.newTranslate.newURL.newValue.newValueSpecifiedUnits.newVersion.newhome.next.nextElementSibling.nextHopProtocol.nextNode.nextPage.nextSibling.nickname.noHref.noModule.noResize.noShade.noValidate.noWrap.node.nodeName.nodeType.nodeValue.nonce.normDepthBufferFromNormView.normalize.normalizedPathSegList.normandyAddonStudy.notRestoredReasons.notationName.notations.note.noteGrainOn.noteOff.noteOn.notifications.notify.now.npnNegotiatedProtocol.numOctaves.number.numberOfChannels.numberOfFrames.numberOfInputs.numberOfItems.numberOfOutputs.numberValue.oMatchesSelector.object.object-fit.object-position.objectFit.objectPosition.objectStore.objectStoreNames.objectType.observe.occlusionQuerySet.of.off.offscreenBuffering.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.offsetAnchor.offsetDistance.offsetHeight.offsetLeft.offsetNode.offsetParent.offsetPath.offsetPosition.offsetRotate.offsetTop.offsetWidth.offsetX.offsetY.ok.oldState.oldURL.oldValue.oldVersion.olderShadowRoot.omnibox.on.onActivated.onAdded.onAttached.onBoundsChanged.onBrowserUpdateAvailable.onClicked.onCommitFiberRoot.onCommitFiberUnmount.onConnect.onConnectExternal.onConnectNative.onCreated.onDetached.onDisabled.onEnabled.onFocusChanged.onHighlighted.onInstalled.onLine.onMessage.onMessageExternal.onMoved.onPerformanceWarning.onPostCommitFiberRoot.onRemoved.onReplaced.onRestartRequired.onStartup.onSubmittedWorkDone.onSuspend.onSuspendCanceled.onUninstalled.onUpdateAvailable.onUpdated.onUserScriptConnect.onUserScriptMessage.onUserSettingsChanged.onZoomChange.onabort.onabsolutedeviceorientation.onactivate.onactive.onaddsourcebuffer.onaddstream.onaddtrack.onafterprint.onafterscriptexecute.onafterupdate.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onappinstalled.onaudioend.onaudioprocess.onaudiostart.onautocomplete.onautocompleteerror.onauxclick.onbeforeactivate.onbeforecopy.onbeforecut.onbeforedeactivate.onbeforeeditfocus.onbeforeinput.onbeforeinstallprompt.onbeforematch.onbeforepaste.onbeforeprint.onbeforescriptexecute.onbeforetoggle.onbeforeunload.onbeforeupdate.onbeforexrselect.onbegin.onblocked.onblur.onbounce.onboundary.onbufferedamountlow.oncached.oncancel.oncandidatewindowhide.oncandidatewindowshow.oncandidatewindowupdate.oncanplay.oncanplaythrough.oncapturehandlechange.once.oncellchange.onchange.oncharacterboundsupdate.oncharacteristicvaluechanged.onchargingchange.onchargingtimechange.onchecking.onclick.onclose.onclosing.oncompassneedscalibration.oncomplete.oncompositionend.oncompositionstart.onconnect.onconnecting.onconnectionavailable.onconnectionstatechange.oncontentvisibilityautostatechange.oncontextlost.oncontextmenu.oncontextrestored.oncontrollerchange.oncontrolselect.oncopy.oncuechange.oncurrententrychange.oncurrentscreenchange.oncut.ondataavailable.ondatachannel.ondatasetchanged.ondatasetcomplete.ondblclick.ondeactivate.ondequeue.ondevicechange.ondevicelight.ondevicemotion.ondeviceorientation.ondeviceorientationabsolute.ondeviceproximity.ondischargingtimechange.ondisconnect.ondisplay.ondispose.ondownloading.ondrag.ondragend.ondragenter.ondragexit.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onencrypted.onend.onended.onenter.onenterpictureinpicture.onerror.onerrorupdate.onexit.onfencedtreeclick.onfilterchange.onfinish.onfocus.onfocusin.onfocusout.onformdata.onfreeze.onfullscreenchange.onfullscreenerror.ongamepadconnected.ongamepaddisconnected.ongatheringstatechange.ongattserverdisconnected.ongeometrychange.ongesturechange.ongestureend.ongesturestart.ongotpointercapture.onhashchange.onhelp.onicecandidate.onicecandidateerror.oniceconnectionstatechange.onicegatheringstatechange.oninactive.oninput.oninputreport.oninputsourceschange.oninvalid.onkeydown.onkeypress.onkeystatuseschange.onkeyup.onlanguagechange.onlayoutcomplete.onleavepictureinpicture.onlevelchange.onload.onloadT.onloadeddata.onloadedmetadata.onloadend.onloading.onloadingdone.onloadingerror.onloadstart.onlosecapture.onlostpointercapture.only.onmanagedconfigurationchange.onmark.onmessage.onmessageerror.onmidimessage.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onmousewheel.onmove.onmoveend.onmovestart.onmozfullscreenchange.onmozfullscreenerror.onmozorientationchange.onmozpointerlockchange.onmozpointerlockerror.onmscontentzoom.onmsfullscreenchange.onmsfullscreenerror.onmsgesturechange.onmsgesturedoubletap.onmsgestureend.onmsgesturehold.onmsgesturestart.onmsgesturetap.onmsgotpointercapture.onmsinertiastart.onmslostpointercapture.onmsmanipulationstatechanged.onmsneedkey.onmsorientationchange.onmspointercancel.onmspointerdown.onmspointerenter.onmspointerhover.onmspointerleave.onmspointermove.onmspointerout.onmspointerover.onmspointerup.onmssitemodejumplistitemremoved.onmsthumbnailclick.onmute.onnavigate.onnavigateerror.onnavigatesuccess.onnegotiationneeded.onnomatch.onnoupdate.onobsolete.onoffline.ononline.onopen.onorientationchange.onpagechange.onpagehide.onpagereveal.onpageshow.onpageswap.onpaste.onpause.onpayerdetailchange.onpaymentmethodchange.onplay.onplaying.onpluginstreamstart.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointerlockchange.onpointerlockerror.onpointermove.onpointerout.onpointerover.onpointerrawupdate.onpointerup.onpopstate.onprerenderingchange.onprioritychange.onprocessorerror.onprogress.onpropertychange.onratechange.onreading.onreadystatechange.onreflectionchange.onrejectionhandled.onrelease.onremove.onremovesourcebuffer.onremovestream.onremovetrack.onrepeat.onreset.onresize.onresizeend.onresizestart.onresourcetimingbufferfull.onresult.onresume.onrowenter.onrowexit.onrowsdelete.onrowsinserted.onscreenschange.onscroll.onscrollend.onscrollsnapchange.onscrollsnapchanging.onsearch.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectedcandidatepairchange.onselectend.onselectionchange.onselectstart.onshippingaddresschange.onshippingoptionchange.onshow.onsignalingstatechange.onsinkchange.onslotchange.onsoundend.onsoundstart.onsourceclose.onsourceclosed.onsourceended.onsourceopen.onspeechend.onspeechstart.onsqueeze.onsqueezeend.onsqueezestart.onstalled.onstart.onstatechange.onstop.onstorage.onstoragecommit.onsubmit.onsuccess.onsuspend.onterminate.ontextformatupdate.ontextinput.ontextupdate.ontimeout.ontimeupdate.ontoggle.ontonechange.ontouchcancel.ontouchend.ontouchmove.ontouchstart.ontrack.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onuncapturederror.onunhandledrejection.onunload.onunmute.onupdate.onupdateend.onupdatefound.onupdateready.onupdatestart.onupgradeneeded.onuserproximity.onversionchange.onvisibilitychange.onvoiceschanged.onvolumechange.onvrdisplayactivate.onvrdisplayconnect.onvrdisplaydeactivate.onvrdisplaydisconnect.onvrdisplaypresentchange.onwaiting.onwaitingforkey.onwarning.onwebkitanimationend.onwebkitanimationiteration.onwebkitanimationstart.onwebkitcurrentplaybacktargetiswirelesschanged.onwebkitfullscreenchange.onwebkitfullscreenerror.onwebkitkeyadded.onwebkitkeyerror.onwebkitkeymessage.onwebkitneedkey.onwebkitorientationchange.onwebkitplaybacktargetavailabilitychanged.onwebkitpointerlockchange.onwebkitpointerlockerror.onwebkitresourcetimingbufferfull.onwebkittransitionend.onwheel.onzoom.opacity.open.openCursor.openDatabase.openKeyCursor.openOptionsPage.openOrClosedShadowRoot.openPopup.opened.opener.opera.operation.operationType.operator.opr.optimum.options.or.order.orderX.orderY.ordered.org.organization.orient.orientAngle.orientType.orientation.orientationX.orientationY.orientationZ.origin.originAgentCluster.originalPolicy.originalTarget.orphans.os.oscpu.outerHTML.outerHeight.outerText.outerWidth.outgoingHighWaterMark.outgoingMaxAge.outline.outline-color.outline-offset.outline-style.outline-width.outlineColor.outlineOffset.outlineStyle.outlineWidth.outputBuffer.outputChannelCount.outputLatency.outputs.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overflowAnchor.overflowBlock.overflowClipMargin.overflowInline.overflowWrap.overflowX.overflowY.overlaysContent.overrideColors.overrideMimeType.oversample.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.overscrollBehavior.overscrollBehaviorBlock.overscrollBehaviorInline.overscrollBehaviorX.overscrollBehaviorY.ownKeys.ownerDocument.ownerElement.ownerNode.ownerRule.ownerSVGElement.owningElement.p1.p2.p3.p4.packetSize.packets.pad.padEnd.padStart.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.paddingBlock.paddingBlockEnd.paddingBlockStart.paddingBottom.paddingInline.paddingInlineEnd.paddingInlineStart.paddingLeft.paddingRight.paddingTop.page.page-break-after.page-break-before.page-break-inside.page-orientation.pageAction.pageBreakAfter.pageBreakBefore.pageBreakInside.pageCount.pageLeft.pageOrientation.pageT.pageTop.pageX.pageXOffset.pageY.pageYOffset.pages.paint-order.paintOrder.paintRequests.paintType.paintWorklet.palette.pan.panningModel.parameterData.parameters.parent.parentElement.parentNode.parentRule.parentStyleSheet.parentTextEdit.parentWindow.parse.parseAll.parseCreationOptionsFromJSON.parseFloat.parseFromString.parseHTMLUnsafe.parseInt.parseRequestOptionsFromJSON.part.participants.passOp.passive.password.pasteHTML.path.pathLength.pathSegList.pathSegType.pathSegTypeAsLetter.pathname.pattern.patternContentUnits.patternMismatch.patternTransform.patternUnits.pause.pauseAnimations.pauseDuration.pauseOnExit.pauseProfilers.pauseTransformFeedback.paused.payerEmail.payerName.payerPhone.paymentManager.pc.pdfViewerEnabled.peerIdentity.pending.pendingLocalDescription.pendingRemoteDescription.percent.performance.periodicSync.permission.permissionState.permissions.persist.persisted.persistentDeviceId.personalbar.perspective.perspective-origin.perspectiveOrigin.phone.phoneticFamilyName.phoneticGivenName.photo.pictureInPictureChild.pictureInPictureElement.pictureInPictureEnabled.pictureInPictureWindow.ping.pipeThrough.pipeTo.pitch.pixelBottom.pixelDepth.pixelHeight.pixelLeft.pixelRight.pixelStorei.pixelTop.pixelUnitToMillimeterX.pixelUnitToMillimeterY.pixelWidth.pkcs11.place-content.place-items.place-self.placeContent.placeItems.placeSelf.placeholder.platform.platformVersion.platforms.play.playEffect.playState.playbackRate.playbackState.playbackTime.played.playoutDelayHint.playsInline.plugins.pluginspage.pname.pointer-events.pointerBeforeReferenceNode.pointerEnabled.pointerEvents.pointerId.pointerLockElement.pointerType.points.pointsAtX.pointsAtY.pointsAtZ.polygonOffset.pop.popDebugGroup.popErrorScope.popover.popoverTargetAction.popoverTargetElement.populateMatrix.popupWindowFeatures.popupWindowName.popupWindowURI.port.port1.port2.ports.posBottom.posHeight.posLeft.posRight.posTop.posWidth.pose.position.position-anchor.position-area.positionAlign.positionAnchor.positionArea.positionX.positionY.positionZ.postError.postMessage.postTask.postalCode.poster.postscriptName.pow.powerEfficient.powerOff.powerPreference.preMultiplySelf.precision.preferredReflectionFormat.preferredStyleSheetSet.preferredStylesheetSet.prefix.preload.premultipliedAlpha.prepend.prerendering.presentation.presentationArea.presentationStyle.preserveAlpha.preserveAspectRatio.preserveAspectRatioString.preservesPitch.pressed.pressure.prevValue.preventDefault.preventExtensions.preventSilentAccess.previousElementSibling.previousNode.previousPage.previousPriority.previousRect.previousScale.previousSibling.previousTranslate.primaries.primaryKey.primaryLightDirection.primaryLightIntensity.primitive.primitiveType.primitiveUnits.principals.print.print-color-adjust.printColorAdjust.printPreview.priority.privacy.privateKey.privateToken.probablySupportsContext.probeSpace.process.processIceMessage.processingEnd.processingStart.processorOptions.product.productId.productName.productSub.profile.profileEnd.profiles.projectionMatrix.promise.prompt.properties.propertyIsEnumerable.propertyName.protectedAudience.protocol.protocolLong.prototype.provider.proxy.pseudoClass.pseudoElement.pt.publicId.publicKey.published.pulse.push.pushDebugGroup.pushErrorScope.pushManager.pushNotification.pushState.put.putImageData.px.quadraticCurveTo.qualifier.quaternion.query.queryCommandEnabled.queryCommandIndeterm.queryCommandState.queryCommandSupported.queryCommandText.queryCommandValue.queryFeatureSupport.queryLocalFonts.queryPermission.querySelector.querySelectorAll.querySet.queue.queueMicrotask.quote.quotes.r.r1.r2.race.rad.radiogroup.radius.radiusX.radiusY.random.randomUUID.range.rangeCount.rangeEnd.rangeMax.rangeMin.rangeOffset.rangeOverflow.rangeParent.rangeStart.rangeUnderflow.rate.ratio.raw.rawId.rawJSON.rawValueToMeters.rcap.rch.read.readAsArrayBuffer.readAsBinaryString.readAsBlob.readAsDataURL.readAsText.readBuffer.readEntries.readOnly.readPixels.readReportRequested.readText.readValue.readable.ready.readyState.reason.reasons.reboot.receiveFeatureReport.receivedAlert.receiver.receivers.recipient.recommendedViewportScale.reconnect.recordNumber.recordsAvailable.recordset.rect.red.redEyeReduction.redirect.redirectCount.redirectEnd.redirectStart.redirected.reduce.reduceRight.reduction.refDistance.refX.refY.referenceNode.referenceSpace.referrer.referrerPolicy.refresh.region.regionAnchorX.regionAnchorY.regionId.regions.register.registerContentHandler.registerElement.registerInternalModuleStart.registerInternalModuleStop.registerProperty.registerProtocolHandler.reject.rel.relList.relatedAddress.relatedNode.relatedPort.relatedTarget.relayProtocol.release.releaseCapture.releaseEvents.releaseInterface.releaseLock.releasePointerCapture.releaseShaderCompiler.released.reliability.reliable.reliableWrite.reload.rem.remainingSpace.remote.remoteDescription.remove.removeAllRanges.removeAttribute.removeAttributeNS.removeAttributeNode.removeBehavior.removeChild.removeCue.removeEntry.removeEventListener.removeFilter.removeImport.removeItem.removeListener.removeNamedItem.removeNamedItemNS.removeNode.removeParameter.removeProperty.removeRange.removeRegion.removeRule.removeSiteSpecificTrackingException.removeSourceBuffer.removeStream.removeTrack.removeVariable.removeWakeLockListener.removeWebWideTrackingException.removed.removedNodes.renderBlockingStatus.renderHeight.renderStart.renderState.renderTime.renderWidth.renderbufferStorage.renderbufferStorageMultisample.renderedBuffer.rendererInterfaces.renderers.renderingMode.renotify.repeat.repetitionCount.replace.replaceAdjacentText.replaceAll.replaceChild.replaceChildren.replaceData.replaceId.replaceItem.replaceNode.replaceState.replaceSync.replaceTrack.replaceWholeText.replaceWith.reportError.reportEvent.reportId.reportValidity.request.requestAdapter.requestAdapterInfo.requestAnimationFrame.requestAutocomplete.requestClose.requestData.requestDevice.requestFrame.requestFullscreen.requestHitTestSource.requestHitTestSourceForTransientInput.requestId.requestIdleCallback.requestLightProbe.requestMIDIAccess.requestMediaKeySystemAccess.requestPermission.requestPictureInPicture.requestPointerLock.requestPort.requestPresent.requestPresenter.requestReferenceSpace.requestSession.requestStart.requestStorageAccess.requestStorageAccessFor.requestSubmit.requestTime.requestUpdateCheck.requestVideoFrameCallback.requestViewportScale.requestWindow.requestingWindow.requireInteraction.required.requiredExtensions.requiredFeatures.requiredLimits.reset.resetLatency.resetPose.resetTransform.resizable.resize.resizeBy.resizeTo.resolve.resolveQuerySet.resolveTarget.resource.respond.respondWithNewView.response.responseBody.responseEnd.responseReady.responseStart.responseStatus.responseText.responseType.responseURL.responseXML.restart.restartAfterDelay.restartIce.restore.result.resultIndex.resultType.results.resume.resumeProfilers.resumeTransformFeedback.retry.returnValue.rev.reverse.reversed.revocable.revokeObjectURL.rex.rgbColor.ric.right.rightContext.rightDegrees.rightMargin.rightProjectionMatrix.rightViewMatrix.rlh.role.rolloffFactor.root.rootBounds.rootElement.rootMargin.rotate.rotateAxisAngle.rotateAxisAngleSelf.rotateFromVector.rotateFromVectorSelf.rotateSelf.rotation.rotationAngle.rotationRate.round.roundRect.row-gap.rowGap.rowIndex.rowSpan.rows.rowsPerImage.rtcpTransport.rtt.ruby-align.ruby-position.rubyAlign.rubyOverhang.rubyPosition.rules.run.runAdAuction.runtime.runtimeStyle.rx.ry.s.safari.sameDocument.sample.sampleCount.sampleCoverage.sampleInterval.sampleRate.sampleType.sampler.samplerParameterf.samplerParameteri.sandbox.save.saveAsPDF.saveData.scale.scale3d.scale3dSelf.scaleNonUniform.scaleNonUniformSelf.scaleSelf.scheduler.scheduling.scheme.scissor.scope.scopeName.scoped.screen.screenBrightness.screenEnabled.screenLeft.screenPixelToMillimeterX.screenPixelToMillimeterY.screenState.screenTop.screenX.screenY.screens.scriptURL.scripting.scripts.scroll.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scrollAmount.scrollBehavior.scrollBy.scrollByLines.scrollByPages.scrollDelay.scrollHeight.scrollIntoView.scrollIntoViewIfNeeded.scrollLeft.scrollLeftMax.scrollMargin.scrollMarginBlock.scrollMarginBlockEnd.scrollMarginBlockStart.scrollMarginBottom.scrollMarginInline.scrollMarginInlineEnd.scrollMarginInlineStart.scrollMarginLeft.scrollMarginRight.scrollMarginTop.scrollMaxX.scrollMaxY.scrollPadding.scrollPaddingBlock.scrollPaddingBlockEnd.scrollPaddingBlockStart.scrollPaddingBottom.scrollPaddingInline.scrollPaddingInlineEnd.scrollPaddingInlineStart.scrollPaddingLeft.scrollPaddingRight.scrollPaddingTop.scrollRestoration.scrollSnapAlign.scrollSnapStop.scrollSnapType.scrollTo.scrollTop.scrollTopMax.scrollWidth.scrollX.scrollY.scrollbar-color.scrollbar-gutter.scrollbar-width.scrollbar3dLightColor.scrollbarArrowColor.scrollbarBaseColor.scrollbarColor.scrollbarDarkShadowColor.scrollbarFaceColor.scrollbarGutter.scrollbarHighlightColor.scrollbarShadowColor.scrollbarTrackColor.scrollbarWidth.scrollbars.scrolling.scrollingElement.sctp.sctpCauseCode.sdp.sdpLineNumber.sdpMLineIndex.sdpMid.seal.search.searchBox.searchBoxJavaBridge_.searchParams.sectionRowIndex.secureConnectionStart.security.seed.seek.seekToNextFrame.seekable.seeking.select.selectAllChildren.selectAlternateInterface.selectAudioOutput.selectConfiguration.selectNode.selectNodeContents.selectNodes.selectSingleNode.selectSubString.selectURL.selected.selectedIndex.selectedOptions.selectedStyleSheetSet.selectedStylesheetSet.selectedTrack.selection.selectionDirection.selectionEnd.selectionStart.selector.selectorText.self.send.sendAsBinary.sendBeacon.sendFeatureReport.sendMessage.sendNativeMessage.sendOrder.sendReport.sender.sentAlert.sentTimestamp.separator.serial.serialNumber.serializable.serializeToString.serverTiming.service.serviceWorker.session.sessionId.sessionStorage.sessions.set.setActionHandler.setActive.setAlpha.setAppBadge.setAttribute.setAttributeNS.setAttributeNode.setAttributeNodeNS.setAttributionReporting.setBadgeBackgroundColor.setBadgeText.setBadgeTextColor.setBaseAndExtent.setBigInt64.setBigUint64.setBindGroup.setBingCurrentSearchDefault.setBlendConstant.setCameraActive.setCapture.setCaptureHandleConfig.setCodecPreferences.setColor.setCompositeOperation.setConfiguration.setConsumer.setCurrentTime.setCustomValidity.setData.setDate.setDragImage.setEnabled.setEnd.setEndAfter.setEndBefore.setEndPoint.setExpires.setFillColor.setFilterRes.setFloat16.setFloat32.setFloat64.setFloatValue.setFocusBehavior.setFormValue.setFromBase64.setFromHex.setFullYear.setHTMLUnsafe.setHeaderExtensionsToNegotiate.setHeaderValue.setHours.setIcon.setIdentityProvider.setImmediate.setIndexBuffer.setInt16.setInt32.setInt8.setInterval.setItem.setKeyframes.setLineCap.setLineDash.setLineJoin.setLineWidth.setLiveSeekableRange.setLocalDescription.setMatrix.setMatrixValue.setMediaKeys.setMicrophoneActive.setMilliseconds.setMinutes.setMiterLimit.setMonth.setNamedItem.setNamedItemNS.setNonUserCodeExceptions.setOrientToAngle.setOrientToAuto.setOrientation.setOverrideHistoryNavigationMode.setPaint.setParameter.setParameters.setPeriodicWave.setPipeline.setPointerCapture.setPopup.setPosition.setPositionState.setPreference.setPriority.setPrivateToken.setProperty.setPrototypeOf.setRGBColor.setRGBColorICCColor.setRadius.setRangeText.setRemoteDescription.setReportEventDataForAutomaticBeacons.setRequestHeader.setResizable.setResourceTimingBufferSize.setRotate.setScale.setScissorRect.setSeconds.setSelectionRange.setServerCertificate.setShadow.setSharedStorageContext.setSignals.setSinkId.setSkewX.setSkewY.setStart.setStartAfter.setStartBefore.setStatus.setStdDeviation.setStencilReference.setStreams.setStrictMode.setStringValue.setStrokeColor.setSuggestResult.setTargetAtTime.setTargetValueAtTime.setTime.setTimeout.setTitle.setTransform.setTranslate.setUTCDate.setUTCFullYear.setUTCHours.setUTCMilliseconds.setUTCMinutes.setUTCMonth.setUTCSeconds.setUint16.setUint32.setUint8.setUninstallURL.setUpdateUrlData.setUri.setValidity.setValueAtTime.setValueCurveAtTime.setVariable.setVelocity.setVersion.setVertexBuffer.setViewport.setYear.setZoom.setZoomSettings.settingName.settingValue.sex.shaderLocation.shaderSource.shadowBlur.shadowColor.shadowOffsetX.shadowOffsetY.shadowRoot.shadowRootClonable.shadowRootDelegatesFocus.shadowRootMode.shadowRootSerializable.shape.shape-image-threshold.shape-margin.shape-outside.shape-rendering.shapeImageThreshold.shapeMargin.shapeOutside.shapeRendering.share.sharedStorage.sharedStorageWritable.sheet.shift.shiftKey.shiftLeft.shippingAddress.shippingOption.shippingType.show.showDirectoryPicker.showHelp.showModal.showModalDialog.showModelessDialog.showNotification.showOpenFilePicker.showPicker.showPopover.showSaveFilePicker.sidebar.sidebarAction.sign.signal.signalingState.signature.silent.sin.singleNodeValue.sinh.sinkId.sittingToStandingTransform.size.sizeAdjust.sizeToContent.sizeX.sizeZ.sizes.skewX.skewXSelf.skewY.skewYSelf.skipTransition.skipped.slice.slope.slot.slotAssignment.small.smil.smooth.smoothingTimeConstant.snapTargetBlock.snapTargetInline.snapToLines.snapshotItem.snapshotLength.some.sort.sortingCode.source.sourceBuffer.sourceBuffers.sourceCapabilities.sourceCharPosition.sourceFile.sourceFunctionName.sourceIndex.sourceMap.sourceURL.sources.spacing.span.speak.speakAs.speaking.species.specified.specularConstant.specularExponent.speechSynthesis.speed.speedOfSound.spellcheck.sphericalHarmonicsCoefficients.splice.split.splitText.spreadMethod.sqrt.src.srcElement.srcFactor.srcFilter.srcObject.srcUrn.srcdoc.srclang.srcset.stack.stackTraceLimit.stacktrace.stageParameters.standalone.standby.start.startContainer.startE.startIce.startLoadTime.startMessages.startNotifications.startOffset.startProfiling.startRendering.startShark.startTime.startViewTransition.startsWith.state.states.stats.status.statusCode.statusMessage.statusText.statusbar.stdDeviationX.stdDeviationY.stencilBack.stencilClearValue.stencilFront.stencilFunc.stencilFuncSeparate.stencilLoadOp.stencilMask.stencilMaskSeparate.stencilOp.stencilOpSeparate.stencilReadMask.stencilReadOnly.stencilStoreOp.stencilWriteMask.step.stepDown.stepMismatch.stepMode.stepUp.sticky.stitchTiles.stop.stop-color.stop-opacity.stopColor.stopImmediatePropagation.stopNotifications.stopOpacity.stopProfiling.stopPropagation.stopShark.stopped.storage.storageArea.storageBuckets.storageName.storageStatus.storageTexture.store.storeOp.storeSiteSpecificTrackingException.storeWebWideTrackingException.stpVersion.stream.streamErrorCode.streams.stretch.strike.string.stringValue.stringify.stripIndexFormat.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeRect.strokeStyle.strokeText.strokeWidth.structuredClone.style.styleAndLayoutStart.styleFloat.styleMap.styleMedia.styleSheet.styleSheetSets.styleSheets.sub.subarray.subject.submit.submitFrame.submitter.subscribe.substr.substring.substringData.subtle.subtree.suffix.suffixes.summary.sup.supported.supportedContentEncodings.supportedEntryTypes.supportedValuesOf.supports.supportsFiber.supportsSession.supportsText.surfaceScale.surroundContents.suspend.suspendRedraw.svb.svh.svi.svmax.svmin.svw.swapCache.swapNode.sweepFlag.symbols.symmetricDifference.sync.syntax.sysexEnabled.system.systemCode.systemId.systemLanguage.systemXDPI.systemYDPI.tBodies.tFoot.tHead.tab.tab-size.tabId.tabIds.tabIndex.tabSize.table.table-layout.tableLayout.tableValues.tabs.tag.tagName.tagUrn.tags.taintEnabled.take.takePhoto.takeRecords.tan.tangentialPressure.tanh.target.targetAddressSpace.targetElement.targetRayMode.targetRaySpace.targetTouches.targetURL.targetX.targetY.targets.tcpType.tee.tel.telemetry.terminate.test.texImage2D.texImage3D.texParameterf.texParameteri.texStorage2D.texStorage3D.texSubImage2D.texSubImage3D.text.text-align.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.textAlign.textAlignLast.textAnchor.textAutospace.textBaseline.textCombineUpright.textContent.textDecoration.textDecorationBlink.textDecorationColor.textDecorationLine.textDecorationLineThrough.textDecorationNone.textDecorationOverline.textDecorationSkipInk.textDecorationStyle.textDecorationThickness.textDecorationUnderline.textEmphasis.textEmphasisColor.textEmphasisPosition.textEmphasisStyle.textIndent.textJustify.textJustifyTrim.textKashida.textKashidaSpace.textLength.textOrientation.textOverflow.textRendering.textShadow.textTracks.textTransform.textUnderlineOffset.textUnderlinePosition.textWrap.textWrapMode.textWrapStyle.texture.theme.then.threadId.threshold.thresholds.throwIfAborted.tiltX.tiltY.time.timeEnd.timeLog.timeOrigin.timeRemaining.timeStamp.timecode.timeline.timelineTime.timeout.timestamp.timestampOffset.timestampWrites.timing.title.titlebarAreaRect.tlsChannelId.to.toArray.toBase64.toBlob.toDataURL.toDateString.toElement.toExponential.toFixed.toFloat32Array.toFloat64Array.toGMTString.toHex.toISOString.toJSON.toLocaleDateString.toLocaleFormat.toLocaleLowerCase.toLocaleString.toLocaleTimeString.toLocaleUpperCase.toLowerCase.toMatrix.toMethod.toPrecision.toPrimitive.toReversed.toSdp.toSorted.toSource.toSpliced.toStaticHTML.toString.toStringTag.toSum.toTimeString.toUTCString.toUpperCase.toWellFormed.toggle.toggleAttribute.toggleLongPressEnabled.togglePopover.toggleReaderMode.token.tone.toneBuffer.tooLong.tooShort.toolbar.top.topMargin.topSites.topology.total.totalFrameDelay.totalFrames.totalFramesDuration.totalVideoFrames.touch-action.touchAction.touched.touches.trace.track.trackVisibility.trackedAnchors.tracks.tran.transaction.transactions.transceiver.transfer.transferControlToOffscreen.transferFromImageBitmap.transferImageBitmap.transferIn.transferOut.transferSize.transferToFixedLength.transferToImageBitmap.transform.transform-box.transform-origin.transform-style.transformBox.transformFeedbackVaryings.transformOrigin.transformPoint.transformString.transformStyle.transformToDocument.transformToFragment.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.transitionBehavior.transitionDelay.transitionDuration.transitionProperty.transitionTimingFunction.translate.translateSelf.translationX.translationY.transport.traverseTo.trim.trimEnd.trimLeft.trimRight.trimStart.trueSpeed.trunc.truncate.trustedTypes.try.turn.twist.type.typeDetail.typeMismatch.typeMustMatch.types.u2f.ubound.uint16.uint32.uint8.uint8Clamped.unadjustedMovement.unclippedDepth.unconfigure.undefined.underlineStyle.underlineThickness.unescape.uneval.ungroup.unicode.unicode-bidi.unicodeBidi.unicodeRange.unicodeSets.uniform1f.uniform1fv.uniform1i.uniform1iv.uniform1ui.uniform1uiv.uniform2f.uniform2fv.uniform2i.uniform2iv.uniform2ui.uniform2uiv.uniform3f.uniform3fv.uniform3i.uniform3iv.uniform3ui.uniform3uiv.uniform4f.uniform4fv.uniform4i.uniform4iv.uniform4ui.uniform4uiv.uniformBlockBinding.uniformMatrix2fv.uniformMatrix2x3fv.uniformMatrix2x4fv.uniformMatrix3fv.uniformMatrix3x2fv.uniformMatrix3x4fv.uniformMatrix4fv.uniformMatrix4x2fv.uniformMatrix4x3fv.uninstallSelf.union.unique.uniqueID.uniqueNumber.unit.unitType.units.unloadEventEnd.unloadEventStart.unlock.unmap.unmount.unobserve.unpackColorSpace.unpause.unpauseAnimations.unreadCount.unregister.unregisterContentHandler.unregisterProtocolHandler.unscopables.unselectable.unshift.unsubscribe.unsuspendRedraw.unsuspendRedrawAll.unwatch.unwrapKey.upDegrees.upX.upY.upZ.update.updateAdInterestGroups.updateCallbackDone.updateCharacterBounds.updateCommands.updateControlBounds.updateCurrentEntry.updateIce.updateInkTrailStartPoint.updateInterval.updatePlaybackRate.updateRangeEnd.updateRangeStart.updateRenderState.updateSelection.updateSelectionBounds.updateSettings.updateText.updateTiming.updateViaCache.updateWith.updated.updating.upgrade.upload.uploadTotal.uploaded.upper.upperBound.upperOpen.uri.url.urn.urns.usage.usages.usb.usbVersionMajor.usbVersionMinor.usbVersionSubminor.useCurrentView.useMap.useProgram.usedSpace.user-select.userActivation.userAgent.userAgentData.userChoice.userHandle.userHint.userInitiated.userLanguage.userSelect.userState.userVisibleOnly.username.usernameFragment.utterance.uuid.v8BreakIterator.vAlign.vLink.valid.validate.validateProgram.validationMessage.validity.value.valueAsDate.valueAsNumber.valueAsString.valueInSpecifiedUnits.valueMissing.valueOf.valueText.valueType.values.variable.variant.variationSettings.vb.vector-effect.vectorEffect.velocityAngular.velocityExpansion.velocityX.velocityY.vendor.vendorId.vendorSub.verify.version.vertex.vertexAttrib1f.vertexAttrib1fv.vertexAttrib2f.vertexAttrib2fv.vertexAttrib3f.vertexAttrib3fv.vertexAttrib4f.vertexAttrib4fv.vertexAttribDivisor.vertexAttribDivisorANGLE.vertexAttribI4i.vertexAttribI4iv.vertexAttribI4ui.vertexAttribI4uiv.vertexAttribIPointer.vertexAttribPointer.vertical.vertical-align.verticalAlign.verticalOverflow.vh.vi.vibrate.vibrationActuator.videoBitsPerSecond.videoHeight.videoTracks.videoWidth.view.viewBox.viewBoxString.viewDimension.viewFormats.viewTarget.viewTargetString.viewTransition.viewport.viewportAnchorX.viewportAnchorY.viewportElement.views.violatedDirective.virtualKeyboard.virtualKeyboardPolicy.visibility.visibilityState.visible.visibleRect.visualViewport.vlinkColor.vmax.vmin.voice.voiceURI.volume.vrml.vspace.vw.w.wait.waitAsync.waitSync.waiting.wake.wakeLock.wand.warmup.warn.wasAlternateProtocolAvailable.wasClean.wasDiscarded.wasFetchedViaSpdy.wasNpnNegotiated.watch.watchAvailability.watchPosition.webNavigation.webRequest.webdriver.webkitAddKey.webkitAlignContent.webkitAlignItems.webkitAlignSelf.webkitAnimation.webkitAnimationDelay.webkitAnimationDirection.webkitAnimationDuration.webkitAnimationFillMode.webkitAnimationIterationCount.webkitAnimationName.webkitAnimationPlayState.webkitAnimationTimingFunction.webkitAppearance.webkitAudioContext.webkitAudioDecodedByteCount.webkitAudioPannerNode.webkitBackfaceVisibility.webkitBackground.webkitBackgroundAttachment.webkitBackgroundClip.webkitBackgroundColor.webkitBackgroundImage.webkitBackgroundOrigin.webkitBackgroundPosition.webkitBackgroundPositionX.webkitBackgroundPositionY.webkitBackgroundRepeat.webkitBackgroundSize.webkitBackingStorePixelRatio.webkitBorderBottomLeftRadius.webkitBorderBottomRightRadius.webkitBorderImage.webkitBorderImageOutset.webkitBorderImageRepeat.webkitBorderImageSlice.webkitBorderImageSource.webkitBorderImageWidth.webkitBorderRadius.webkitBorderTopLeftRadius.webkitBorderTopRightRadius.webkitBoxAlign.webkitBoxDirection.webkitBoxFlex.webkitBoxOrdinalGroup.webkitBoxOrient.webkitBoxPack.webkitBoxShadow.webkitBoxSizing.webkitCancelAnimationFrame.webkitCancelFullScreen.webkitCancelKeyRequest.webkitCancelRequestAnimationFrame.webkitClearResourceTimings.webkitClipPath.webkitClosedCaptionsVisible.webkitConvertPointFromNodeToPage.webkitConvertPointFromPageToNode.webkitCreateShadowRoot.webkitCurrentFullScreenElement.webkitCurrentPlaybackTargetIsWireless.webkitDecodedFrameCount.webkitDirectionInvertedFromDevice.webkitDisplayingFullscreen.webkitDroppedFrameCount.webkitEnterFullScreen.webkitEnterFullscreen.webkitEntries.webkitExitFullScreen.webkitExitFullscreen.webkitExitPointerLock.webkitFilter.webkitFlex.webkitFlexBasis.webkitFlexDirection.webkitFlexFlow.webkitFlexGrow.webkitFlexShrink.webkitFlexWrap.webkitFontFeatureSettings.webkitFullScreenKeyboardInputAllowed.webkitFullscreenElement.webkitFullscreenEnabled.webkitGenerateKeyRequest.webkitGetAsEntry.webkitGetDatabaseNames.webkitGetEntries.webkitGetEntriesByName.webkitGetEntriesByType.webkitGetFlowByName.webkitGetGamepads.webkitGetImageDataHD.webkitGetNamedFlows.webkitGetRegionFlowRanges.webkitGetUserMedia.webkitHasClosedCaptions.webkitHidden.webkitIDBCursor.webkitIDBDatabase.webkitIDBDatabaseError.webkitIDBDatabaseException.webkitIDBFactory.webkitIDBIndex.webkitIDBKeyRange.webkitIDBObjectStore.webkitIDBRequest.webkitIDBTransaction.webkitImageSmoothingEnabled.webkitIndexedDB.webkitInitMessageEvent.webkitIsFullScreen.webkitJustifyContent.webkitKeys.webkitLineClamp.webkitLineDashOffset.webkitLockOrientation.webkitMask.webkitMaskClip.webkitMaskComposite.webkitMaskImage.webkitMaskOrigin.webkitMaskPosition.webkitMaskPositionX.webkitMaskPositionY.webkitMaskRepeat.webkitMaskSize.webkitMatchesSelector.webkitMediaStream.webkitNotifications.webkitOfflineAudioContext.webkitOrder.webkitOrientation.webkitPeerConnection00.webkitPersistentStorage.webkitPerspective.webkitPerspectiveOrigin.webkitPointerLockElement.webkitPostMessage.webkitPreservesPitch.webkitPutImageDataHD.webkitRTCPeerConnection.webkitRegionOverset.webkitRelativePath.webkitRequestAnimationFrame.webkitRequestFileSystem.webkitRequestFullScreen.webkitRequestFullscreen.webkitRequestPointerLock.webkitResolveLocalFileSystemURL.webkitSetMediaKeys.webkitSetResourceTimingBufferSize.webkitShadowRoot.webkitShowPlaybackTargetPicker.webkitSlice.webkitSpeechGrammar.webkitSpeechGrammarList.webkitSpeechRecognition.webkitSpeechRecognitionError.webkitSpeechRecognitionEvent.webkitStorageInfo.webkitSupportsFullscreen.webkitTemporaryStorage.webkitTextFillColor.webkitTextSecurity.webkitTextSizeAdjust.webkitTextStroke.webkitTextStrokeColor.webkitTextStrokeWidth.webkitTransform.webkitTransformOrigin.webkitTransformStyle.webkitTransition.webkitTransitionDelay.webkitTransitionDuration.webkitTransitionProperty.webkitTransitionTimingFunction.webkitURL.webkitUnlockOrientation.webkitUserSelect.webkitVideoDecodedByteCount.webkitVisibilityState.webkitWirelessVideoPlaybackDisabled.webkitdirectory.webkitdropzone.webstore.weight.wgslLanguageFeatures.whatToShow.wheelDelta.wheelDeltaX.wheelDeltaY.whenDefined.which.white-space.white-space-collapse.whiteSpace.whiteSpaceCollapse.wholeText.widows.width.will-change.willChange.willValidate.window.windowAttribution.windowControlsOverlay.windowId.windowIds.windows.with.withCredentials.withResolvers.word-break.word-spacing.word-wrap.wordBreak.wordSpacing.wordWrap.workerStart.worklet.wow64.wrap.wrapKey.writable.writableAuxiliaries.write.writeBuffer.writeMask.writeText.writeTexture.writeTimestamp.writeValue.writeValueWithResponse.writeValueWithoutResponse.writeWithoutResponse.writeln.writing-mode.writingMode.writingSuggestions.x.x1.x2.xChannelSelector.xmlEncoding.xmlStandalone.xmlVersion.xmlbase.xmllang.xmlspace.xor.xr.y.y1.y2.yChannelSelector.yandex.yield.z.z-index.zIndex.zoom.zoomAndPan.zoomRectScreen".split(`.`);function tS(e){eS.forEach(i);var t=[`Symbol`,`Map`,`Promise`,`Proxy`,`Reflect`,`Set`,`WeakMap`,`WeakSet`],n={},r=typeof global==`object`?global:self;t.forEach(function(e){n[e]=r[e]||function(){}}),[`null`,`true`,`false`,`NaN`,`Infinity`,`-Infinity`,`undefined`].forEach(i),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,n.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,n.Map,parseFloat,parseInt,n.Promise,n.Proxy,RangeError,ReferenceError,n.Reflect,n.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,n.WeakMap,n.WeakSet].forEach(function(e){Object.getOwnPropertyNames(e).map(i),e.prototype&&Object.getOwnPropertyNames(e.prototype).map(i)});function i(t){e.add(t)}}function nS(e,t){function n(e){Rp(t,e)}e.walk(new T_(function(e){e instanceof Cg&&e.quote?n(e.key):e instanceof Sg&&e.quote?n(e.key.name):e instanceof fg&&rS(e.property,n)}))}function rS(e,t){e.walk(new T_(function(e){return e instanceof cg?rS(e.tail_node(),t):e instanceof l_?t(e.value):e instanceof _g&&(rS(e.consequent,t),rS(e.alternative,t)),!0}))}function iS(e,t){var n=-1,r=new Map,i=t.nth_identifier||X_;return e=e.transform(new E_(function(e){e instanceof Mg||e instanceof kg||e instanceof Tg||e instanceof wg||e instanceof Ng?e.key.name=a(e.key.name):e instanceof dg&&(e.property=a(e.property))})),e;function a(e){let t=r.get(e);return t||(t=i.get(++n),r.set(e,t)),t}}function aS(e){var t=new Set;return S_(e,e=>{e instanceof Mg||e instanceof kg||e instanceof Tg||e instanceof wg||e instanceof dg||(e instanceof Cg?typeof e.key==`string`&&$p(e,16)&&t.add(e.key):e instanceof Sg?$p(e,16)&&t.add(e.key.name):e instanceof ug?$p(e,16)&&t.add(e.property):e instanceof fg&&e.property instanceof l_&&$p(e,16)&&t.add(e.property.value))}),t}function oS(e,t,n=aS(e)){t=jp(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:X_,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var r=t.nth_identifier,i=t.reserved;Array.isArray(i)||(i=[i]);var a=new Set(i);t.builtins||tS(a);var o=-1,s=t.cache?t.cache.props:new Map,c=t.only_annotated,l=t.regex&&new RegExp(t.regex),u=t.debug!==!1,d;u&&(d=t.debug===!0?``:t.debug);var f=new Set,p=new Set;s.forEach(e=>p.add(e));var m=!!t.keep_quoted;return e.walk(new T_(function(e){if(!(e instanceof Mg||e instanceof kg||e instanceof Tg||e instanceof wg||e instanceof dg))if(e instanceof Cg)typeof e.key==`string`&&(!m||!e.quote)&&_(e.key);else if(e instanceof Sg)(!m||!e.quote)&&_(e.key.name);else if(e instanceof ug){var n=!!t.undeclared;if(!n){for(var r=e;r.expression;)r=r.expression;n=!(r.thedef&&r.thedef.undeclared)}n&&(!m||!e.quote)&&_(e.property)}else e instanceof fg?m||rS(e.property,_):e instanceof og&&e.expression.print_to_string()==`Object.defineProperty`?rS(e.args[1],_):e instanceof Q&&e.operator===`in`?rS(e.left,_):e instanceof l_&&$p(e,8)&&_(e.value)})),e.transform(new E_(function(e){e instanceof Mg||e instanceof kg||e instanceof Tg||e instanceof wg||e instanceof dg||(e instanceof Cg?typeof e.key==`string`&&(!m||!e.quote)&&(e.key=v(e.key)):e instanceof Sg?(!m||!e.quote)&&(e.computed_key()||(e.key.name=v(e.key.name))):e instanceof ug?(!m||!e.quote)&&(e.property=v(e.property)):!m&&e instanceof fg?e.property=y(e.property):e instanceof og&&e.expression.print_to_string()==`Object.defineProperty`?e.args[1]=y(e.args[1]):e instanceof Q&&e.operator===`in`?e.left=y(e.left):e instanceof l_&&$p(e,8)&&(tm(e,8),e.value=v(e.value)))}));function h(e){return p.has(e)||a.has(e)?!1:t.only_cache?s.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e)}function g(e){return c&&!n.has(e)?!1:l&&!l.test(e)?n.has(e):a.has(e)?!1:s.has(e)||f.has(e)}function _(e){h(e)&&f.add(e),g(e)||p.add(e)}function v(e){if(!g(e))return e;var t=s.get(e);if(!t){if(u){var n=`_$`+e+`$`+d+`_`;h(n)&&(t=n)}if(!t)do t=r.get(++o);while(!h(t));s.set(e,t)}return t}function y(e){return e.transform(new E_(function(e){if(e instanceof cg){var t=e.expressions.length-1;e.expressions[t]=y(e.expressions[t])}else e instanceof l_?(tm(e,8),e.value=v(e.value)):e instanceof _g&&(e.consequent=y(e.consequent),e.alternative=y(e.alternative));return e}))}}var sS=typeof Buffer<`u`?e=>Buffer.from(e,`base64`).toString():e=>decodeURIComponent(escape(atob(e))),cS=typeof Buffer<`u`?e=>Buffer.from(e).toString(`base64`):e=>btoa(unescape(encodeURIComponent(e)));function lS(e){var t=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(e);return t?sS(t[2]):(console.warn(`inline source map not found`),null)}function uS(e,t,n){t[e]&&n.forEach(function(n){t[n]&&(typeof t[n]!=`object`&&(t[n]={}),e in t[n]||(t[n][e]=t[e]))})}function dS(e){e&&(`props`in e?e.props instanceof Map||(e.props=Wp(e.props)):e.props=new Map)}function fS(e){return{props:Gp(e.props)}}function pS(e,t,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(e){if(e.code!==`EEXIST`)throw e}let i=`${r}/terser-debug-${Math.random()*9999999|0}.log`;t||={};let a=JSON.stringify(t,(e,t)=>typeof t==`function`?`[Function `+t.toString()+`]`:t instanceof RegExp?`[RegExp `+t.toString()+`]`:t,4),o=e=>typeof e==`object`&&t.parse&&t.parse.spidermonkey?JSON.stringify(e,null,2):typeof e==`object`?Object.keys(e).map(t=>t+`: `+o(e[t])).join(`
`):typeof e==`string`?"```\n"+e+"\n```":e;n.writeFileSync(i,`Options:
`+a+`
Input files:
`+o(e)+`
`)}function*mS(e,t,n){n&&typeof process==`object`&&process.env&&typeof process.env.TERSER_DEBUG_DIR==`string`&&pS(e,t,n,process.env.TERSER_DEBUG_DIR),t=jp(t,{compress:{},ecma:void 0,enclose:!1,ie8:!1,keep_classnames:void 0,keep_fnames:!1,mangle:{},module:!1,nameCache:null,output:null,format:null,parse:{},rename:void 0,safari10:!1,sourceMap:!1,spidermonkey:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0);var r=t.timings&&{start:Date.now()};if(t.keep_classnames===void 0&&(t.keep_classnames=t.keep_fnames),t.rename===void 0&&(t.rename=t.compress&&t.mangle),t.output&&t.format)throw Error(`Please only specify either output or format option, preferrably format.`);t.format=t.format||t.output||{},uS(`ecma`,t,[`parse`,`compress`,`format`]),uS(`ie8`,t,[`compress`,`mangle`,`format`]),uS(`keep_classnames`,t,[`compress`,`mangle`]),uS(`keep_fnames`,t,[`compress`,`mangle`]),uS(`module`,t,[`parse`,`compress`,`mangle`]),uS(`safari10`,t,[`mangle`,`format`]),uS(`toplevel`,t,[`compress`,`mangle`]),uS(`warnings`,t,[`compress`]);var i;t.mangle&&(t.mangle=jp(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:X_,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),t.mangle.properties&&(typeof t.mangle.properties!=`object`&&(t.mangle.properties={}),t.mangle.properties.keep_quoted&&(i=t.mangle.properties.reserved,Array.isArray(i)||(i=[]),t.mangle.properties.reserved=i),t.nameCache&&!(`cache`in t.mangle.properties)&&(t.mangle.properties.cache=t.nameCache.props||{})),dS(t.mangle.cache),dS(t.mangle.properties.cache)),t.sourceMap&&=jp(t.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0),r&&(r.parse=Date.now());var a;if(e instanceof vh)a=e;else{if((typeof e==`string`||t.parse.spidermonkey&&!Array.isArray(e))&&(e=[e]),t.parse=t.parse||{},t.parse.toplevel=null,t.parse.spidermonkey)t.parse.toplevel=Z.from_mozilla_ast(Object.keys(e).reduce(function(t,n){return t?(t.body=t.body.concat(e[n].body),t):e[n]},null));else for(var o in delete t.parse.spidermonkey,e)if(Kp(e,o)&&(t.parse.filename=o,t.parse.toplevel=Jm(e[o],t.parse),t.sourceMap&&t.sourceMap.content==`inline`)){if(Object.keys(e).length>1)throw Error(`inline source map only works with singular input`);t.sourceMap.content=lS(e[o])}if(t.parse.toplevel===null)throw Error(`no source file given`);a=t.parse.toplevel}i&&t.mangle.properties.keep_quoted!==`strict`&&nS(a,i);var s;t.mangle&&t.mangle.properties&&(s=aS(a)),t.wrap&&(a=a.wrap_commonjs(t.wrap)),t.enclose&&(a=a.wrap_enclose(t.enclose)),r&&(r.rename=Date.now()),r&&(r.compress=Date.now()),t.compress&&(a=new Py(t.compress,{mangle_options:t.mangle}).compress(a)),r&&(r.scope=Date.now()),t.mangle&&a.figure_out_scope(t.mangle),r&&(r.mangle=Date.now()),t.mangle&&(a.compute_char_frequency(t.mangle),a.mangle_names(t.mangle),a=iS(a,t.mangle)),r&&(r.properties=Date.now()),t.mangle&&t.mangle.properties&&(a=oS(a,t.mangle.properties,s)),r&&(r.format=Date.now());var c={};t.format.ast&&(c.ast=a),t.format.spidermonkey&&(c.ast=a.to_mozilla_ast());let l;if(!Kp(t.format,`code`)||t.format.code){if(l={...t.format},l.ast||(l._destroy_ast=!0,S_(a,e=>{e instanceof _h&&(e.variables=void 0,e.enclosed=void 0,e.parent_scope=void 0),e.block_scope&&(e.block_scope.variables=void 0,e.block_scope.enclosed=void 0,e.block_scope.parent_scope=void 0)})),t.sourceMap){if(t.sourceMap.includeSources&&e instanceof vh)throw Error(`original source content unavailable`);l.source_map=yield*$x({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root,files:t.sourceMap.includeSources?e:null})}delete l.ast,delete l.code,delete l.spidermonkey;var u=R_(l);if(a.print(u),c.code=u.get(),t.sourceMap)if(Object.defineProperty(c,`map`,{configurable:!0,enumerable:!0,get(){let e=l.source_map.getEncoded();return c.map=t.sourceMap.asObject?e:JSON.stringify(e)},set(e){Object.defineProperty(c,`map`,{value:e,writable:!0})}}),c.decoded_map=l.source_map.getDecoded(),t.sourceMap.url==`inline`){var d=typeof c.map==`object`?JSON.stringify(c.map):c.map;c.code+=`
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+cS(d)}else t.sourceMap.url&&(c.code+=`
//# sourceMappingURL=`+t.sourceMap.url)}return t.nameCache&&t.mangle&&(t.mangle.cache&&(t.nameCache.vars=fS(t.mangle.cache)),t.mangle.properties&&t.mangle.properties.cache&&(t.nameCache.props=fS(t.mangle.properties.cache))),l&&l.source_map&&l.source_map.destroy(),r&&(r.end=Date.now(),c.timings={parse:.001*(r.rename-r.parse),rename:.001*(r.compress-r.rename),compress:.001*(r.scope-r.compress),scope:.001*(r.mangle-r.scope),mangle:.001*(r.properties-r.mangle),properties:.001*(r.format-r.properties),format:.001*(r.end-r.format),total:.001*(r.end-r.start)}),c}async function hS(e,t,n){let r=mS(e,t,n),i,a;do a=r.next(await i),i=a.value;while(!a.done);return a.value}var gS=I(((e,t)=>{function n(e){return e}t.exports=n})),_S=I(((e,t)=>{var n=/([0-9]+)/;function r(e,t){var r=(``+e).split(n).map(i),a=(``+t).split(n).map(i),o,s,c=Math.min(r.length,a.length),l,u;for(l=0,u=c;l<u;l++)if(o=r[l],s=a[l],o!=s)return o>s?1:-1;return r.length>a.length?1:r.length==a.length?0:-1}function i(e){return``+parseInt(e)==e?parseInt(e):e}t.exports=r})),vS=I(((e,t)=>{var n=_S();function r(e,t){return n(e[1],t[1])}function i(e,t){return e[1]>t[1]?1:-1}function a(e,t){switch(t){case`natural`:return e.sort(r);case`standard`:return e.sort(i);case`none`:case!1:return e}}t.exports=a})),yS=I(((e,t)=>{function n(e,t){var r={},i,a,o;for(i in e)o=e[i],Array.isArray(o)?r[i]=o.slice(0):typeof o==`object`&&o?r[i]=n(o,{}):r[i]=o;for(a in t)o=t[a],a in r&&Array.isArray(o)?r[a]=o.slice(0):a in r&&typeof o==`object`&&o?r[a]=n(r[a],o):r[a]=o;return r}t.exports=n})),bS=I(((e,t)=>{var n=yS();function r(){var e=`
`;try{e=R(`os`).EOL}catch{}return e}var i={AfterAtRule:`afterAtRule`,AfterBlockBegins:`afterBlockBegins`,AfterBlockEnds:`afterBlockEnds`,AfterComment:`afterComment`,AfterProperty:`afterProperty`,AfterRuleBegins:`afterRuleBegins`,AfterRuleEnds:`afterRuleEnds`,BeforeBlockEnds:`beforeBlockEnds`,BetweenSelectors:`betweenSelectors`},a={CarriageReturnLineFeed:`\r
`,LineFeed:`
`,System:r()},o={Space:` `,Tab:` `},s={AroundSelectorRelation:`aroundSelectorRelation`,BeforeBlockBegins:`beforeBlockBegins`,BeforeValue:`beforeValue`},c={breaks:y(!1),breakWith:a.System,indentBy:0,indentWith:o.Space,spaces:b(!1),wrapAt:!1,semicolonAfterLastProperty:!1},l=`beautify`,u=`keep-breaks`,d=`;`,f=`:`,p=`,`,m=`=`,h=`false`,g=`off`,_=`true`,v=`on`;function y(e){var t={};return t[i.AfterAtRule]=e,t[i.AfterBlockBegins]=e,t[i.AfterBlockEnds]=e,t[i.AfterComment]=e,t[i.AfterProperty]=e,t[i.AfterRuleBegins]=e,t[i.AfterRuleEnds]=e,t[i.BeforeBlockEnds]=e,t[i.BetweenSelectors]=e,t}function b(e){var t={};return t[s.AroundSelectorRelation]=e,t[s.BeforeBlockBegins]=e,t[s.BeforeValue]=e,t}function x(e){return e===void 0||e===!1?!1:(typeof e==`object`&&`breakWith`in e&&(e=n(e,{breakWith:T(e.breakWith)})),typeof e==`object`&&`indentBy`in e&&(e=n(e,{indentBy:parseInt(e.indentBy)})),typeof e==`object`&&`indentWith`in e&&(e=n(e,{indentWith:E(e.indentWith)})),typeof e==`object`?D(n(c,e)):typeof e==`string`&&e==l?D(n(c,{breaks:y(!0),indentBy:2,spaces:b(!0)})):typeof e==`string`&&e==u?D(n(c,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}})):typeof e==`string`?D(n(c,S(e))):c)}function S(e){return e.split(d).reduce(function(e,t){var n=t.split(f),r=n[0],i=n[1];return r==`breaks`||r==`spaces`?e[r]=C(i):r==`indentBy`||r==`wrapAt`?e[r]=parseInt(i):r==`indentWith`?e[r]=E(i):r==`breakWith`&&(e[r]=T(i)),e},{})}function C(e){return e.split(p).reduce(function(e,t){var n=t.split(m),r=n[0],i=n[1];return e[r]=w(i),e},{})}function w(e){switch(e){case h:case g:return!1;case _:case v:return!0;default:return e}}function T(e){switch(e){case`windows`:case`crlf`:case a.CarriageReturnLineFeed:return a.CarriageReturnLineFeed;case`unix`:case`lf`:case a.LineFeed:return a.LineFeed;default:return a.System}}function E(e){switch(e){case`space`:return o.Space;case`tab`:return o.Tab;default:return e}}function D(e){for(var t in i){var n=i[t],r=e.breaks[n];r===!0?e.breaks[n]=e.breakWith:r===!1?e.breaks[n]=``:e.breaks[n]=e.breakWith.repeat(parseInt(r))}return e}t.exports={Breaks:i,Spaces:s,formatFrom:x}})),xS=I(((e,t)=>{t.exports={ASTERISK:`*`,AT:`@`,BACK_SLASH:`\\`,CARRIAGE_RETURN:`\r`,CLOSE_CURLY_BRACKET:`}`,CLOSE_ROUND_BRACKET:`)`,CLOSE_SQUARE_BRACKET:`]`,COLON:`:`,COMMA:`,`,DOUBLE_QUOTE:`"`,EXCLAMATION:`!`,FORWARD_SLASH:`/`,INTERNAL:`-clean-css-`,NEW_LINE_NIX:`
`,OPEN_CURLY_BRACKET:`{`,OPEN_ROUND_BRACKET:`(`,OPEN_SQUARE_BRACKET:`[`,SEMICOLON:`;`,SINGLE_QUOTE:`'`,SPACE:` `,TAB:` `,UNDERSCORE:`_`}})),SS=I(((e,t)=>{function n(e){var t=e[0],n=e[1],r=e[2];return r?r+`:`+t+`:`+n:t+`:`+n}t.exports=n})),CS=I(((e,t)=>{var n=bS().Spaces,r=xS(),i=SS(),a=/[\s"'][iI]\s*\]/,o=/([\d\w])([iI])\]/g,s=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,c=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,l=/^(?:(?:<!--|-->)\s*)+/,u=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,d=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,f=/[>+~]/,p=/\s/,m=`*+html `,h=`*:first-child+html `,g=`<`,_=[`:current`,`:future`,`:has`,`:host`,`:host-context`,`:is`,`:not`,`:past`,`:where`];function v(e){var t,n=!1,i,a=!1,o,s;for(o=0,s=e.length;o<s;o++){if(i=e[o],!t){if(i==r.SINGLE_QUOTE||i==r.DOUBLE_QUOTE)a=!a;else if(!a&&(i==r.CLOSE_CURLY_BRACKET||i==r.EXCLAMATION||i==g||i==r.SEMICOLON)){n=!0;break}else if(!a&&o===0&&f.test(i)){n=!0;break}}t=i==r.BACK_SLASH}return n}function y(e,t){var i=[],s,c,l,u,d,m,h,g,_,v,y,x,S=0,C=!1,w=!1,T=!1,E=a.test(e),D=t&&t.spaces[n.AroundSelectorRelation],O,k;for(O=0,k=e.length;O<k;O++){if(s=e[O],c=s==r.NEW_LINE_NIX,l=s==r.NEW_LINE_NIX&&e[O-1]==r.CARRIAGE_RETURN,m=h||g,v=!_&&!u&&S===0&&f.test(s),y=p.test(s),x=S==1&&s==r.CLOSE_ROUND_BRACKET?!1:x||S===0&&s==r.COLON&&b(e,O),d&&m&&l)i.pop(),i.pop();else if(u&&m&&c)i.pop();else if(u)i.push(s);else if(s==r.OPEN_SQUARE_BRACKET&&!m)i.push(s),_=!0;else if(s==r.CLOSE_SQUARE_BRACKET&&!m)i.push(s),_=!1;else if(s==r.OPEN_ROUND_BRACKET&&!m)i.push(s),S++;else if(s==r.CLOSE_ROUND_BRACKET&&!m)i.push(s),S--;else if(s==r.SINGLE_QUOTE&&!m)i.push(s),h=!0;else if(s==r.DOUBLE_QUOTE&&!m)i.push(s),g=!0;else if(s==r.SINGLE_QUOTE&&m)i.push(s),h=!1;else if(s==r.DOUBLE_QUOTE&&m)i.push(s),g=!1;else if(y&&w&&!D)continue;else !y&&w&&D?(i.push(r.SPACE),i.push(s)):y&&!T&&C&&S>0&&x||(y&&!T&&S>0&&x?i.push(s):y&&(_||S>0)&&!m||y&&T&&!m||(l||c)&&(_||S>0)&&m||(v&&T&&!D?(i.pop(),i.push(s)):v&&!T&&D?(i.push(r.SPACE),i.push(s)):y?i.push(r.SPACE):i.push(s)));d=u,u=s==r.BACK_SLASH,w=v,T=y,C=s==r.COMMA}return E?i.join(``).replace(o,`$1 $2]`):i.join(``)}function b(e,t){var n=e.substring(t,e.indexOf(r.OPEN_ROUND_BRACKET,t));return _.indexOf(n)>-1}function x(e){return e.indexOf(`'`)==-1&&e.indexOf(`"`)==-1?e:e.replace(u,`=$1 $2`).replace(d,`=$1$2`).replace(s,`=$1 $2`).replace(c,`=$1$2`)}function S(e){return e.replace(`nth-child(1)`,`first-child`).replace(`nth-of-type(1)`,`first-of-type`).replace(`nth-of-type(even)`,`nth-of-type(2n)`).replace(`nth-child(even)`,`nth-child(2n)`).replace(`nth-of-type(2n+1)`,`nth-of-type(odd)`).replace(`nth-child(2n+1)`,`nth-child(odd)`).replace(`nth-last-child(1)`,`last-child`).replace(`nth-last-of-type(1)`,`last-of-type`).replace(`nth-last-of-type(even)`,`nth-last-of-type(2n)`).replace(`nth-last-child(even)`,`nth-last-child(2n)`).replace(`nth-last-of-type(2n+1)`,`nth-last-of-type(odd)`).replace(`nth-last-child(2n+1)`,`nth-last-child(odd)`)}function C(e,t,n,r,a){var o=[],s=[];function c(e,t){return a.push(`HTML comment '`+t+`' at `+i(e[2][0])+`. Removing.`),``}for(var u=0,d=e.length;u<d;u++){var f=e[u],p=f[1];if(p=p.replace(l,c.bind(null,f)),v(p)){a.push(`Invalid selector '`+f[1]+`' at `+i(f[2][0])+`. Ignoring.`);continue}p=y(p,r),p=x(p),n&&p.indexOf(`nav`)>0&&(p=p.replace(/\+nav(\S|$)/,`+ nav$1`)),!(t&&p.indexOf(m)>-1)&&(t&&p.indexOf(h)>-1||(p.indexOf(`*`)>-1&&(p=p.replace(/\*([:#.[])/g,`$1`).replace(/^(:first-child)?\+html/,`*$1+html`)),!(s.indexOf(p)>-1)&&(p=S(p),f[1]=p,s.push(p),o.push(f))))}return o.length==1&&o[0][1].length===0&&(a.push(`Empty selector '`+o[0][1]+`' at `+i(o[0][2][0])+`. Ignoring.`),o=[]),o}t.exports=C})),wS=I(((e,t)=>{var n=/^@media\W/,r=/^@(?:keyframes|-moz-keyframes|-o-keyframes|-webkit-keyframes)\W/;function i(e,t){var i,a,o;for(o=e.length-1;o>=0;o--)i=!t&&n.test(e[o][1]),a=r.test(e[o][1]),e[o][1]=e[o][1].replace(/\n|\r\n/g,` `).replace(/\s+/g,` `).replace(/(,|:|\() /g,`$1`).replace(/ \)/g,`)`),a&&(e[o][1]=e[o][1].replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,`$1`).replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,`$1`)),i&&(e[o][1]=e[o][1].replace(/\) /g,`)`));return e}t.exports=i})),TS=I(((e,t)=>{function n(e){return e.replace(/\s+/g,` `).replace(/url\(\s+/g,`url(`).replace(/\s+\)/g,`)`).trim()}t.exports=n})),ES=I(((e,t)=>{t.exports={ASTERISK:`asterisk`,BANG:`bang`,BACKSLASH:`backslash`,UNDERSCORE:`underscore`}})),DS=I(((e,t)=>{function n(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}t.exports=n})),OS=I(((e,t)=>{var n=ES(),r=xS(),i=`*`,a=`\\`,o=`!important`,s=`_`,c=`!ie`;function l(e,t){var n,r,i,a;for(a=e.length-1;a>=0;a--){if(n=e[a],n.dynamic&&n.important){u(n);continue}n.dynamic||n.unused||!n.dirty&&!n.important&&!n.hack||(n.optimizable&&t?(r=t(n),n.value=r):r=n.value,n.important&&u(n),n.hack&&d(n),`all`in n&&(i=n.all[n.position],i[1][1]=n.name,i.splice(2,i.length-1),Array.prototype.push.apply(i,r)))}}function u(e){e.value[e.value.length-1][1]+=o}function d(e){e.hack[0]==n.UNDERSCORE?e.name=s+e.name:e.hack[0]==n.ASTERISK?e.name=i+e.name:e.hack[0]==n.BACKSLASH?e.value[e.value.length-1][1]+=a+e.hack[1]:e.hack[0]==n.BANG&&(e.value[e.value.length-1][1]+=r.SPACE+c)}t.exports=l})),kS=I(((e,t)=>{t.exports={AT_RULE:`at-rule`,AT_RULE_BLOCK:`at-rule-block`,AT_RULE_BLOCK_SCOPE:`at-rule-block-scope`,COMMENT:`comment`,NESTED_BLOCK:`nested-block`,NESTED_BLOCK_SCOPE:`nested-block-scope`,PROPERTY:`property`,PROPERTY_BLOCK:`property-block`,PROPERTY_NAME:`property-name`,PROPERTY_VALUE:`property-value`,RAW:`raw`,RULE:`rule`,RULE_SCOPE:`rule-scope`}})),AS=I(((e,t)=>{var n=ES(),r=xS(),i=kS(),a={ASTERISK:`*`,BACKSLASH:`\\`,BANG:`!`,BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:`!important`,IMPORTANT_TOKEN_PATTERN:RegExp(`!important$`,`i`),IMPORTANT_WORD:`important`,IMPORTANT_WORD_PATTERN:RegExp(`important$`,`i`),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:`_`,VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};function o(e,t){var n=[],r,a,o;for(o=e.length-1;o>=0;o--)a=e[o],a[0]==i.PROPERTY&&(t&&t.indexOf(a[1][1])>-1||(r=h(a),r.all=e,r.position=o,n.unshift(r)));return n}function s(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if(r=e[t],r[0]==i.PROPERTY_VALUE&&c(r[1]))return!0;return!1}function c(e){return a.VARIABLE_REFERENCE_PATTERN.test(e)}function l(e){var t,n,a;for(n=3,a=e.length;n<a;n++)if(t=e[n],t[0]==i.PROPERTY_VALUE&&(t[1]==r.COMMA||t[1]==r.FORWARD_SLASH))return!0;return!1}function u(e){var t=!1,r=e[1][1],i=e[e.length-1];return r[0]==a.UNDERSCORE?t=[n.UNDERSCORE]:r[0]==a.ASTERISK?t=[n.ASTERISK]:i[1][0]==a.BANG&&!i[1].match(a.IMPORTANT_WORD_PATTERN)||i[1].indexOf(a.BANG)>0&&!i[1].match(a.IMPORTANT_WORD_PATTERN)&&a.BANG_SUFFIX_PATTERN.test(i[1])?t=[n.BANG]:i[1].indexOf(a.BACKSLASH)>0&&i[1].indexOf(a.BACKSLASH)==i[1].length-a.BACKSLASH.length-1?t=[n.BACKSLASH,i[1].substring(i[1].indexOf(a.BACKSLASH)+1)]:i[1].indexOf(a.BACKSLASH)===0&&i[1].length==2&&(t=[n.BACKSLASH,i[1].substring(1)]),t}function d(e){if(e.length<3)return!1;var t=e[e.length-1];return!!(a.IMPORTANT_TOKEN_PATTERN.test(t[1])||a.IMPORTANT_WORD_PATTERN.test(t[1])&&a.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}function f(e){var t=e[e.length-1],n=e[e.length-2];a.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(a.IMPORTANT_TOKEN_PATTERN,``):(t[1]=t[1].replace(a.IMPORTANT_WORD_PATTERN,``),n[1]=n[1].replace(a.SUFFIX_BANG_PATTERN,``)),t[1].length===0&&e.pop(),n[1].length===0&&e.pop()}function p(e){e[1][1]=e[1][1].substring(1)}function m(e,t){var r=e[e.length-1];r[1]=r[1].substring(0,r[1].indexOf(t[0]==n.BACKSLASH?a.BACKSLASH:a.BANG)).trim(),r[1].length===0&&e.pop()}function h(e){var t=d(e);t&&f(e);var r=u(e);return r[0]==n.ASTERISK||r[0]==n.UNDERSCORE?p(e):(r[0]==n.BACKSLASH||r[0]==n.BANG)&&m(e,r),{block:e[2]&&e[2][0]==i.PROPERTY_BLOCK,components:[],dirty:!1,dynamic:s(e),hack:r,important:t,name:e[1][1],multiplex:e.length>3?l(e):!1,optimizable:!0,position:0,shorthand:!1,unused:!1,value:e.slice(2)}}t.exports={all:o,single:h}})),jS=I(((e,t)=>{function n(e){this.name=`InvalidPropertyError`,this.message=e,this.stack=Error().stack}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,t.exports=n})),MS=I(((e,t)=>{var n=jS(),r=AS().single,i=kS(),a=xS(),o=SS();function s(e){var t,n;for(t=0,n=e.length;t<n;t++)if(e[t][1]==`inherit`)return!0;return!1}function c(e){return function(t){return t[1]==`invert`||e.isColor(t[1])||e.isPrefixed(t[1])}}function l(e){return function(t){return t[1]!=`inherit`&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function u(e,t,n){var a=n[e];return a.doubleValues&&a.defaultValue.length==2?r([i.PROPERTY,[i.PROPERTY_NAME,e],[i.PROPERTY_VALUE,a.defaultValue[0]],[i.PROPERTY_VALUE,a.defaultValue[1]]]):a.doubleValues&&a.defaultValue.length==1?r([i.PROPERTY,[i.PROPERTY_NAME,e],[i.PROPERTY_VALUE,a.defaultValue[0]]]):r([i.PROPERTY,[i.PROPERTY_NAME,e],[i.PROPERTY_VALUE,a.defaultValue]])}function d(e){return function(t){return t[1]!=`inherit`&&(e.isWidth(t[1])||e.isUnit(t[1])||e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function f(e,t,r){var i=u(e.name+`-duration`,e,t),a=u(e.name+`-timing-function`,e,t),c=u(e.name+`-delay`,e,t),l=u(e.name+`-iteration-count`,e,t),d=u(e.name+`-direction`,e,t),f=u(e.name+`-fill-mode`,e,t),p=u(e.name+`-play-state`,e,t),m=u(e.name+`-name`,e,t),h=[i,a,c,l,d,f,p,m],g=e.value,_,v=!1,y=!1,b=!1,x=!1,S=!1,C=!1,w=!1,T=!1,E,D;if(e.value.length==1&&e.value[0][1]==`inherit`)return i.value=a.value=c.value=l.value=d.value=f.value=p.value=m.value=e.value,h;if(g.length>1&&s(g))throw new n(`Invalid animation values at `+o(g[0][2][0])+`. Ignoring.`);for(E=0,D=g.length;E<D;E++)if(_=g[E],r.isTime(_[1])&&!v)i.value=[_],v=!0;else if(r.isTime(_[1])&&!b)c.value=[_],b=!0;else if((r.isGlobal(_[1])||r.isTimingFunction(_[1]))&&!y)a.value=[_],y=!0;else if((r.isAnimationIterationCountKeyword(_[1])||r.isPositiveNumber(_[1]))&&!x)l.value=[_],x=!0;else if(r.isAnimationDirectionKeyword(_[1])&&!S)d.value=[_],S=!0;else if(r.isAnimationFillModeKeyword(_[1])&&!C)f.value=[_],C=!0;else if(r.isAnimationPlayStateKeyword(_[1])&&!w)p.value=[_],w=!0;else if((r.isAnimationNameKeyword(_[1])||r.isIdentifier(_[1]))&&!T)m.value=[_],T=!0;else throw new n(`Invalid animation value at `+o(_[2][0])+`. Ignoring.`);return h}function p(e,t,r){var i=u(`background-image`,e,t),s=u(`background-position`,e,t),c=u(`background-size`,e,t),l=u(`background-repeat`,e,t),d=u(`background-attachment`,e,t),f=u(`background-origin`,e,t),p=u(`background-clip`,e,t),m=u(`background-color`,e,t),h=[i,s,c,l,d,f,p,m],g=e.value,_=!1,v=!1,y=!1,b=!1,x=!1;if(e.value.length==1&&e.value[0][1]==`inherit`)return m.value=i.value=l.value=s.value=c.value=f.value=p.value=e.value,h;if(e.value.length==1&&e.value[0][1]==`0 0`)return h;for(var S=g.length-1;S>=0;S--){var C=g[S];if(r.isBackgroundAttachmentKeyword(C[1]))d.value=[C],x=!0;else if(r.isBackgroundClipKeyword(C[1])||r.isBackgroundOriginKeyword(C[1]))v?(f.value=[C],y=!0):(p.value=[C],v=!0),x=!0;else if(r.isBackgroundRepeatKeyword(C[1]))b?l.value.unshift(C):(l.value=[C],b=!0),x=!0;else if(r.isBackgroundPositionKeyword(C[1])||r.isBackgroundSizeKeyword(C[1])||r.isUnit(C[1])||r.isDynamicUnit(C[1])){if(S>0){var w=g[S-1];w[1]==a.FORWARD_SLASH?c.value=[C]:S>1&&g[S-2][1]==a.FORWARD_SLASH?(c.value=[w,C],S-=2):(_||(s.value=[]),s.value.unshift(C),_=!0)}else _||(s.value=[]),s.value.unshift(C),_=!0;x=!0}else (m.value[0][1]==t[m.name].defaultValue||m.value[0][1]==`none`)&&(r.isColor(C[1])||r.isPrefixed(C[1]))?(m.value=[C],x=!0):(r.isUrl(C[1])||r.isFunction(C[1]))&&(i.value=[C],x=!0)}if(v&&!y&&(f.value=p.value.slice(0)),!x)throw new n(`Invalid background value at `+o(g[0][2][0])+`. Ignoring.`);return h}function m(e,t){for(var r=e.value,i=-1,s=0,c=r.length;s<c;s++)if(r[s][1]==a.FORWARD_SLASH){i=s;break}if(i===0||i===r.length-1)throw new n(`Invalid border-radius value at `+o(r[0][2][0])+`. Ignoring.`);var l=u(e.name,e,t);l.value=i>-1?r.slice(0,i):r.slice(0),l.components=v(l,t);var d=u(e.name,e,t);d.value=i>-1?r.slice(i+1):r.slice(0),d.components=v(d,t);for(var f=0;f<4;f++)l.components[f].multiplex=!0,l.components[f].value=l.components[f].value.concat(d.components[f].value);return l.components}function h(e,t,r){var i=u(`font-style`,e,t),c=u(`font-variant`,e,t),l=u(`font-weight`,e,t),d=u(`font-stretch`,e,t),f=u(`font-size`,e,t),p=u(`line-height`,e,t),m=u(`font-family`,e,t),h=[i,c,l,d,f,p,m],v=e.value,y=4,b=0,x=!1,S,C=!1,w,T=!1,E,D=!1,O,k=!1;if(!v[b])throw new n(`Missing font values at `+o(e.all[e.position][1][2][0])+`. Ignoring.`);if(v.length==1&&v[0][1]==`inherit`)return i.value=c.value=l.value=d.value=f.value=p.value=m.value=v,h;if(v.length==1&&(r.isFontKeyword(v[0][1])||r.isGlobal(v[0][1])||r.isPrefixed(v[0][1])))return v[0][1]=a.INTERNAL+v[0][1],i.value=c.value=l.value=d.value=f.value=p.value=m.value=v,h;if(v.length<2||!g(v,r)||!_(v,r))throw new n(`Invalid font values at `+o(e.all[e.position][1][2][0])+`. Ignoring.`);if(v.length>1&&s(v))throw new n(`Invalid font values at `+o(v[0][2][0])+`. Ignoring.`);for(;b<y;){if(S=r.isFontStretchKeyword(v[b][1])||r.isGlobal(v[b][1]),w=r.isFontStyleKeyword(v[b][1])||r.isGlobal(v[b][1]),E=r.isFontVariantKeyword(v[b][1])||r.isGlobal(v[b][1]),O=r.isFontWeightKeyword(v[b][1])||r.isGlobal(v[b][1]),w&&!C)i.value=[v[b]],C=!0;else if(E&&!T)c.value=[v[b]],T=!0;else if(O&&!D)l.value=[v[b]],D=!0;else if(S&&!x)d.value=[v[b]],x=!0;else if(w&&C||E&&T||O&&D||S&&x)throw new n(`Invalid font style / variant / weight / stretch value at `+o(v[0][2][0])+`. Ignoring.`);else break;b++}if(r.isFontSizeKeyword(v[b][1])||r.isUnit(v[b][1])&&!r.isDynamicUnit(v[b][1]))f.value=[v[b]],b++;else throw new n(`Missing font size at `+o(v[0][2][0])+`. Ignoring.`);if(!v[b])throw new n(`Missing font family at `+o(v[0][2][0])+`. Ignoring.`);for(v[b]&&v[b][1]==a.FORWARD_SLASH&&v[b+1]&&(r.isLineHeightKeyword(v[b+1][1])||r.isUnit(v[b+1][1])||r.isNumber(v[b+1][1]))&&(p.value=[v[b+1]],b++,b++),m.value=[];v[b];)v[b][1]==a.COMMA?k=!1:(k?m.value[m.value.length-1][1]+=a.SPACE+v[b][1]:m.value.push(v[b]),k=!0),b++;if(m.value.length===0)throw new n(`Missing font family at `+o(v[0][2][0])+`. Ignoring.`);return h}function g(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isFontSizeKeyword(n[1])||t.isUnit(n[1])&&!t.isDynamicUnit(n[1])||t.isFunction(n[1]))return!0;return!1}function _(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],t.isIdentifier(n[1])||t.isQuotedText(n[1]))return!0;return!1}function v(e,t){var n=t[e.name].components,a=[],o=e.value;if(o.length<1)return[];o.length<2&&(o[1]=o[0].slice(0)),o.length<3&&(o[2]=o[0].slice(0)),o.length<4&&(o[3]=o[1].slice(0));for(var s=n.length-1;s>=0;s--){var c=r([i.PROPERTY,[i.PROPERTY_NAME,n[s]]]);c.value=[o[s]],a.unshift(c)}return a}function y(e){return function(t,n,r){var o=[],s=t.value,c,l,d,f;for(c=0,d=s.length;c<d;c++)s[c][1]==`,`&&o.push(c);if(o.length===0)return e(t,n,r);var p=[];for(c=0,d=o.length;c<=d;c++){var m=c===0?0:o[c-1]+1,h=c<d?o[c]:s.length,g=u(t.name,t,n);g.value=s.slice(m,h),g.value.length>0&&p.push(e(g,n,r))}var _=p[0];for(c=0,d=_.length;c<d;c++)for(_[c].multiplex=!0,l=1,f=p.length;l<f;l++)_[c].value.push([i.PROPERTY_VALUE,a.COMMA]),Array.prototype.push.apply(_[c].value,p[l][c].value);return _}}function b(e,t,n){var r=u(`list-style-type`,e,t),i=u(`list-style-position`,e,t),a=u(`list-style-image`,e,t),o=[r,i,a];if(e.value.length==1&&e.value[0][1]==`inherit`)return r.value=i.value=a.value=[e.value[0]],o;var s=e.value.slice(0),c=s.length,l=0;for(l=0,c=s.length;l<c;l++)if(n.isUrl(s[l][1])||s[l][1]==`0`){a.value=[s[l]],s.splice(l,1);break}for(l=0,c=s.length;l<c;l++)if(n.isListStylePositionKeyword(s[l][1])){i.value=[s[l]],s.splice(l,1);break}return s.length>0&&(n.isListStyleTypeKeyword(s[0][1])||n.isIdentifier(s[0][1]))&&(r.value=[s[0]]),o}function x(e,t,r){var i=u(e.name+`-property`,e,t),a=u(e.name+`-duration`,e,t),c=u(e.name+`-timing-function`,e,t),l=u(e.name+`-delay`,e,t),d=[i,a,c,l],f=e.value,p,m=!1,h=!1,g=!1,_=!1,v,y;if(e.value.length==1&&e.value[0][1]==`inherit`)return i.value=a.value=c.value=l.value=e.value,d;if(f.length>1&&s(f))throw new n(`Invalid animation values at `+o(f[0][2][0])+`. Ignoring.`);for(v=0,y=f.length;v<y;v++)if(p=f[v],r.isTime(p[1])&&!m)a.value=[p],m=!0;else if(r.isTime(p[1])&&!h)l.value=[p],h=!0;else if((r.isGlobal(p[1])||r.isTimingFunction(p[1]))&&!_)c.value=[p],_=!0;else if(r.isIdentifier(p[1])&&!g)i.value=[p],g=!0;else throw new n(`Invalid animation value at `+o(p[2][0])+`. Ignoring.`);return d}function S(e,t,n){for(var r=t[e.name],i=[u(r.components[0],e,t),u(r.components[1],e,t),u(r.components[2],e,t)],a,o,s,f=0;f<3;f++){var p=i[f];p.name.indexOf(`color`)>0?a=p:p.name.indexOf(`style`)>0?o=p:s=p}if(e.value.length==1&&e.value[0][1]==`inherit`||e.value.length==3&&e.value[0][1]==`inherit`&&e.value[1][1]==`inherit`&&e.value[2][1]==`inherit`)return a.value=o.value=s.value=[e.value[0]],i;var m=e.value.slice(0),h,g;return m.length>0&&(g=m.filter(d(n)),h=g.length>1&&(g[0][1]==`none`||g[0][1]==`auto`)?g[1]:g[0],h&&(s.value=[h],m.splice(m.indexOf(h),1))),m.length>0&&(h=m.filter(l(n))[0],h&&(o.value=[h],m.splice(m.indexOf(h),1))),m.length>0&&(h=m.filter(c(n))[0],h&&(a.value=[h],m.splice(m.indexOf(h),1))),i}t.exports={animation:f,background:p,border:S,borderRadius:m,font:h,fourValues:v,listStyle:b,multiplex:y,outline:S,transition:x}})),NS=I(((e,t)=>{var n=/(?:^|\W)(-\w+-)/g;function r(e){for(var t=[],r;(r=n.exec(e))!==null;)t.indexOf(r[0])==-1&&t.push(r[0]);return t}function i(e,t){return r(e).sort().join(`,`)==r(t).sort().join(`,`)}t.exports={unique:r,same:i}})),PS=I(((e,t)=>{var n=NS().same;function r(e,t,r,i,a){return!(!n(t,r)||a&&e.isVariable(t)!==e.isVariable(r))}t.exports=r})),FS=I(((e,t)=>{var n=PS();function r(e,t,r){return!n(e,t,r,0,!0)&&!(e.isAnimationIterationCountKeyword(r)||e.isPositiveNumber(r))?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isAnimationIterationCountKeyword(r)||e.isPositiveNumber(r)}function i(e,t,r){return!n(e,t,r,0,!0)&&!(e.isAnimationNameKeyword(r)||e.isIdentifier(r))?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isAnimationNameKeyword(r)||e.isIdentifier(r)}function a(e,t,n){if(!e.isFunction(t)||!e.isFunction(n))return!1;var r=t.substring(0,t.indexOf(`(`)),i=n.substring(0,n.indexOf(`(`)),o=t.substring(r.length+1,t.length-1),s=n.substring(i.length+1,n.length-1);return e.isFunction(o)||e.isFunction(s)?r===i&&a(e,o,s):r===i}function o(e,t,r){return!n(e,t,r,0,!0)&&!(e.isBackgroundPositionKeyword(r)||e.isGlobal(r))?!1:e.isVariable(t)&&e.isVariable(r)||e.isBackgroundPositionKeyword(r)||e.isGlobal(r)?!0:y(e,t,r)}function s(e,t,r){return!n(e,t,r,0,!0)&&!(e.isBackgroundSizeKeyword(r)||e.isGlobal(r))?!1:e.isVariable(t)&&e.isVariable(r)||e.isBackgroundSizeKeyword(r)||e.isGlobal(r)?!0:y(e,t,r)}function c(e,t,r){return!n(e,t,r,0,!0)&&!e.isColor(r)?!1:e.isVariable(t)&&e.isVariable(r)?!0:!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t))||!e.colorOpacity&&(e.isRgbColor(r)||e.isHslColor(r))||!e.colorHexAlpha&&(e.isHexAlphaColor(t)||e.isHexAlphaColor(r))?!1:e.isColor(t)&&e.isColor(r)?!0:h(e,t,r)}function l(e){return function(t,n,r,i){return e[i](t,n,r)}}function u(e,t,r){return n(e,t,r,0,!0)}function d(e,t,r){return!n(e,t,r,0,!0)&&!e.isImage(r)?!1:e.isVariable(t)&&e.isVariable(r)||e.isImage(r)?!0:e.isImage(t)?!1:h(e,t,r)}function f(e){return function(t,r,i){return!n(t,r,i,0,!0)&&!t.isKeyword(e)(i)?!1:t.isVariable(r)&&t.isVariable(i)?!0:t.isKeyword(e)(i)}}function p(e){return function(t,r,i){return!n(t,r,i,0,!0)&&!(t.isKeyword(e)(i)||t.isGlobal(i))?!1:t.isVariable(r)&&t.isVariable(i)?!0:t.isKeyword(e)(i)||t.isGlobal(i)}}function m(e,t,r){return!n(e,t,r,0,!0)&&!e.isIdentifier(r)?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isIdentifier(r)}function h(e,t,n){return a(e,t,n)?!0:t===n}function g(e,t,r){return!n(e,t,r,0,!0)&&!(e.isUnit(r)||e.isColor(r)||e.isGlobal(r))?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isUnit(r)||e.isColor(r)||e.isGlobal(r)}function _(e,t,r){return!n(e,t,r,0,!0)&&!e.isTime(r)?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isTime(t)&&!e.isTime(r)?!1:e.isTime(r)?!0:e.isTime(t)?!1:e.isFunction(t)&&!e.isPrefixed(t)&&e.isFunction(r)&&!e.isPrefixed(r)?!0:h(e,t,r)}function v(e,t,r){return!n(e,t,r,0,!0)&&!(e.isTimingFunction(r)||e.isGlobal(r))?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isTimingFunction(r)||e.isGlobal(r)}function y(e,t,r){return!n(e,t,r,0,!0)&&!e.isUnit(r)?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isUnit(t)&&!e.isUnit(r)?!1:e.isUnit(r)?!0:e.isUnit(t)?!1:e.isFunction(t)&&!e.isPrefixed(t)&&e.isFunction(r)&&!e.isPrefixed(r)?!0:h(e,t,r)}function b(e){var t=p(e);return function(e,n,r){return y(e,n,r)||t(e,n,r)}}function x(e,t,r){return!n(e,t,r,0,!0)&&!(e.isUnit(r)||e.isNumber(r))?!1:e.isVariable(t)&&e.isVariable(r)?!0:(e.isUnit(t)||e.isNumber(t))&&!(e.isUnit(r)||e.isNumber(r))?!1:e.isUnit(r)||e.isNumber(r)?!0:e.isUnit(t)||e.isNumber(t)?!1:e.isFunction(t)&&!e.isPrefixed(t)&&e.isFunction(r)&&!e.isPrefixed(r)?!0:h(e,t,r)}function S(e,t,r){return!n(e,t,r,0,!0)&&!e.isZIndex(r)?!1:e.isVariable(t)&&e.isVariable(r)?!0:e.isZIndex(r)}t.exports={generic:{color:c,components:l,image:d,propertyName:m,time:_,timingFunction:v,unit:y,unitOrNumber:x},property:{animationDirection:p(`animation-direction`),animationFillMode:f(`animation-fill-mode`),animationIterationCount:r,animationName:i,animationPlayState:p(`animation-play-state`),backgroundAttachment:f(`background-attachment`),backgroundClip:p(`background-clip`),backgroundOrigin:f(`background-origin`),backgroundPosition:o,backgroundRepeat:f(`background-repeat`),backgroundSize:s,bottom:b(`bottom`),borderCollapse:f(`border-collapse`),borderStyle:p(`*-style`),clear:p(`clear`),cursor:p(`cursor`),display:p(`display`),float:p(`float`),left:b(`left`),fontFamily:u,fontStretch:p(`font-stretch`),fontStyle:p(`font-style`),fontVariant:p(`font-variant`),fontWeight:p(`font-weight`),listStyleType:p(`list-style-type`),listStylePosition:p(`list-style-position`),outlineStyle:p(`*-style`),overflow:p(`overflow`),position:p(`position`),right:b(`right`),textAlign:p(`text-align`),textDecoration:p(`text-decoration`),textOverflow:p(`text-overflow`),textShadow:g,top:b(`top`),transform:h,verticalAlign:b(`vertical-align`),visibility:p(`visibility`),whiteSpace:p(`white-space`),zIndex:S}}})),IS=I(((e,t)=>{var n=AS().single,r=kS();function i(e){for(var t=a(e),n=e.components.length-1;n>=0;n--){var r=a(e.components[n]);r.value=e.components[n].value.slice(0),t.components.unshift(r)}return t.dirty=!0,t.value=e.value.slice(0),t}function a(e){var t=n([r.PROPERTY,[r.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}t.exports={deep:i,shallow:a}})),LS=I(((e,t)=>{var n=IS().shallow,r=kS(),i=xS();function a(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if(r!=`inherit`&&r!=i.COMMA&&r!=i.FORWARD_SLASH)return!1}return!0}function o(e,t,n){var o=e.components,s=[],c,l;function u(e){Array.prototype.unshift.apply(s,e.value)}function d(e){var n=t[e.name];return n.doubleValues&&n.defaultValue.length==1?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]==n.defaultValue[0]:!0):n.doubleValues&&n.defaultValue.length!=1?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==n.defaultValue[1]:e.value[0][1]==n.defaultValue}for(var f=o.length-1;f>=0;f--){var p=o[f],m=d(p);if(p.name==`background-clip`){var h=o[f-1],g=d(h);c=p.value[0][1]==h.value[0][1],l=!c&&(g&&!m||!g&&!m||!g&&m&&p.value[0][1]!=h.value[0][1]),c?u(h):l&&(u(p),u(h)),f--}else if(p.name==`background-size`){var _=o[f-1],v=d(_);c=!v&&m,l=!c&&(v&&!m||!v&&!m),c?u(_):l?(u(p),s.unshift([r.PROPERTY_VALUE,i.FORWARD_SLASH]),u(_)):_.value.length==1&&u(_),f--}else{if(m||t[p.name].multiplexLastOnly&&!n)continue;u(p)}}return s.length===0&&e.value.length==1&&e.value[0][1]==`0`&&s.push(e.value[0]),s.length===0&&s.push([r.PROPERTY_VALUE,t[e.name].defaultValue]),a(s)?[s[0]]:s}function s(e){if(e.multiplex){for(var t=n(e),a=n(e),o=0;o<4;o++){var s=e.components[o],c=n(e);c.value=[s.value[0]],t.components.push(c);var u=n(e);u.value=[s.value[1]||s.value[0]],a.components.push(u)}var d=l(t),f=l(a);return d.length==f.length&&d[0][1]==f[0][1]&&(!(d.length>1)||d[1][1]==f[1][1])&&(!(d.length>2)||d[2][1]==f[2][1])&&(!(d.length>3)||d[3][1]==f[3][1])?d:d.concat([[r.PROPERTY_VALUE,i.FORWARD_SLASH]]).concat(f)}return l(e)}function c(e,t){var n=e.components,o=[],s,c=0,l=0;if(e.value[0][1].indexOf(i.INTERNAL)===0)return e.value[0][1]=e.value[0][1].substring(i.INTERNAL.length),e.value;for(;c<4;)s=n[c],s.value[0][1]!=t[s.name].defaultValue&&Array.prototype.push.apply(o,s.value),c++;for(Array.prototype.push.apply(o,n[c].value),c++,n[c].value[0][1]!=t[n[c].name].defaultValue&&(Array.prototype.push.apply(o,[[r.PROPERTY_VALUE,i.FORWARD_SLASH]]),Array.prototype.push.apply(o,n[c].value)),c++;n[c].value[l];)o.push(n[c].value[l]),n[c].value[l+1]&&o.push([r.PROPERTY_VALUE,i.COMMA]),l++;return a(o)?[o[0]]:o}function l(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],i=t[2].value[0],a=t[3].value[0];return n[1]==r[1]&&n[1]==i[1]&&n[1]==a[1]?[n]:n[1]==i[1]&&r[1]==a[1]?[n,r]:r[1]==a[1]?[n,r,i]:[n,r,i,a]}function u(e){return function(t,a){if(!t.multiplex)return e(t,a,!0);var o=0,s=[],c={},l,u;for(l=0,u=t.components[0].value.length;l<u;l++)t.components[0].value[l][1]==i.COMMA&&o++;for(l=0;l<=o;l++){for(var d=n(t),f=0,p=t.components.length;f<p;f++){var m=t.components[f],h=n(m);d.components.push(h);for(var g=c[h.name]||0,_=m.value.length;g<_;g++){if(m.value[g][1]==i.COMMA){c[h.name]=g+1;break}h.value.push(m.value[g])}}var v=e(d,a,l==o);Array.prototype.push.apply(s,v),l<o&&s.push([r.PROPERTY_VALUE,i.COMMA])}return s}}function d(e,t){for(var n=e.components,i=[],o=n.length-1;o>=0;o--){var s=n[o],c=t[s.name];(s.value[0][1]!=c.defaultValue||`keepUnlessDefault`in c&&!f(n,t,c.keepUnlessDefault))&&i.unshift(s.value[0])}return i.length===0&&i.push([r.PROPERTY_VALUE,t[e.name].defaultValue]),a(i)?[i[0]]:i}function f(e,t,n){var r,i,a;for(i=0,a=e.length;i<a;i++)if(r=e[i],r.name==n&&r.value[0][1]==t[n].defaultValue)return!0;return!1}t.exports={background:o,borderRadius:s,font:c,fourValues:l,multiplex:u,withoutDefaults:d}})),RS=I(((e,t)=>{var n=yS(),r=/^\d+$/,i=[`*`,`all`],a=`off`,o=`,`,s=`=`;function c(e){return n(l(a),u(e))}function l(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}function u(e){return e==null||typeof e==`boolean`?{}:typeof e==`number`&&e==-1?l(a):typeof e==`number`?l(e):typeof e==`string`&&r.test(e)?l(parseInt(e)):typeof e==`string`&&e==a?l(a):typeof e==`object`?e:e.split(o).reduce(function(e,t){var r=t.split(s),o=r[0],c=parseInt(r[1]);return(Number.isNaN(c)||c==-1)&&(c=a),i.indexOf(o)>-1?e=n(e,l(c)):e[o]=c,e},{})}t.exports={DEFAULT:a,roundingPrecisionFrom:c}})),zS=I(((e,t)=>{var n=RS().roundingPrecisionFrom,r=yS(),i={Zero:`0`,One:`1`,Two:`2`},a={};a[i.Zero]={},a[i.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:n(void 0),selectorsSortingMethod:`standard`,specialComments:`all`,tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,variableValueOptimizers:[]},a[i.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var o=`*`,s=`all`,c=`false`,l=`off`,u=`true`,d=`on`,f=`,`,p=`;`,m=`:`;function h(e){var t=r(a,{}),c=i.Zero,l=i.One,u=i.Two;return e===void 0?(delete t[u],t):(typeof e==`string`&&(e=parseInt(e)),typeof e==`number`&&e===parseInt(u)?t:typeof e==`number`&&e===parseInt(l)?(delete t[u],t):typeof e==`number`&&e===parseInt(c)?(delete t[u],delete t[l],t):(typeof e==`object`&&(e=v(e)),l in e&&`roundingPrecision`in e[l]&&(e[l].roundingPrecision=n(e[l].roundingPrecision)),u in e&&`skipProperties`in e[u]&&typeof e[u].skipProperties==`string`&&(e[u].skipProperties=e[u].skipProperties.split(f)),(c in e||l in e||u in e)&&(t[c]=r(t[c],e[c])),l in e&&o in e[l]&&(t[l]=r(t[l],g(l,_(e[l][o]))),delete e[l][o]),l in e&&s in e[l]&&(t[l]=r(t[l],g(l,_(e[l][s]))),delete e[l][s]),l in e||u in e?t[l]=r(t[l],e[l]):delete t[l],u in e&&o in e[u]&&(t[u]=r(t[u],g(u,_(e[u][o]))),delete e[u][o]),u in e&&s in e[u]&&(t[u]=r(t[u],g(u,_(e[u][s]))),delete e[u][s]),u in e?t[u]=r(t[u],e[u]):delete t[u],t))}function g(e,t){var n=r(a[e],{}),i;for(i in n)typeof n[i]==`boolean`&&(n[i]=t);return n}function _(e){switch(e){case c:case l:return!1;case u:case d:return!0;default:return e}}function v(e){var t=r(e,{}),n,i;for(i=0;i<=2;i++)n=``+i,n in t&&(t[n]===void 0||t[n]===!1)&&delete t[n],n in t&&t[n]===!0&&(t[n]={}),n in t&&typeof t[n]==`string`&&(t[n]=y(t[n],n));return t}function y(e,t){return e.split(p).reduce(function(e,n){var i=n.split(m),a=i[0],c=i[1],l=_(c);return o==a||s==a?e=r(e,g(t,l)):e[a]=l,e},{})}t.exports={OptimizationLevel:i,optimizationLevelFrom:h}})),BS=I(((e,t)=>{var n=zS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].optimizeBackground&&(i.length==1&&i[0][1]==`none`&&(i[0][1]=`0 0`),i.length==1&&i[0][1]==`transparent`&&(i[0][1]=`0 0`))}}}})),VS=I(((e,t)=>{t.exports={level1:{property:function(e,t){var n=t.value;n.length==4&&n[0][1]===`0`&&n[1][1]===`0`&&n[2][1]===`0`&&n[3][1]===`0`&&(t.value.splice(2),t.dirty=!0)}}}})),HS=I(((e,t)=>{var n=zS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].optimizeBorderRadius&&(i.length==3&&i[1][1]==`/`&&i[0][1]==i[2][1]?(t.value.splice(1),t.dirty=!0):i.length==5&&i[2][1]==`/`&&i[0][1]==i[3][1]&&i[1][1]==i[4][1]?(t.value.splice(2),t.dirty=!0):i.length==7&&i[3][1]==`/`&&i[0][1]==i[4][1]&&i[1][1]==i[5][1]&&i[2][1]==i[6][1]?(t.value.splice(3),t.dirty=!0):i.length==9&&i[4][1]==`/`&&i[0][1]==i[5][1]&&i[1][1]==i[6][1]&&i[2][1]==i[7][1]&&i[3][1]==i[8][1]&&(t.value.splice(4),t.dirty=!0))}}}})),US=I(((e,t)=>{var n=zS().OptimizationLevel,r=/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,i=/,(\S)/g,a=/ ?= ?/g;t.exports={level1:{property:function(e,t,o){o.compatibility.properties.ieFilters&&o.level[n.One].optimizeFilter&&(t.value.length==1&&(t.value[0][1]=t.value[0][1].replace(r,function(e,t,n){return t.toLowerCase()+n})),t.value[0][1]=t.value[0][1].replace(i,`, $1`).replace(a,`=`))}}}})),WS=I(((e,t)=>{var n=zS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value[0][1];r.level[n.One].optimizeFontWeight&&(i==`normal`?i=`400`:i==`bold`&&(i=`700`),t.value[0][1]=i)}}}})),GS=I(((e,t)=>{var n=zS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].replaceMultipleZeros&&i.length==4&&i[0][1]===`0`&&i[1][1]===`0`&&i[2][1]===`0`&&i[3][1]===`0`&&(t.value.splice(1),t.dirty=!0)}}}})),KS=I(((e,t)=>{var n=zS().OptimizationLevel;t.exports={level1:{property:function(e,t,r){var i=t.value;r.level[n.One].optimizeOutline&&i.length==1&&i[0][1]==`none`&&(i[0][1]=`0`)}}}})),qS=I(((e,t)=>{var n=zS().OptimizationLevel;function r(e){return e&&e[1][0]==`-`&&parseFloat(e[1])<0}t.exports={level1:{property:function(e,t,i){var a=t.value;a.length==4&&a[0][1]===`0`&&a[1][1]===`0`&&a[2][1]===`0`&&a[3][1]===`0`&&(t.value.splice(1),t.dirty=!0),i.level[n.One].removeNegativePaddings&&(r(t.value[0])||r(t.value[1])||r(t.value[2])||r(t.value[3]))&&(t.unused=!0)}}}})),JS=I(((e,t)=>{t.exports={background:BS().level1.property,boxShadow:VS().level1.property,borderRadius:HS().level1.property,filter:US().level1.property,fontWeight:WS().level1.property,margin:GS().level1.property,outline:KS().level1.property,padding:qS().level1.property}})),YS=I(((e,t)=>{var n={aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#0ff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000`,blanchedalmond:`#ffebcd`,blue:`#00f`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#0ff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#f0f`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,gold:`#ffd700`,goldenrod:`#daa520`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavender:`#e6e6fa`,lavenderblush:`#fff0f5`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#0f0`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#f00`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#fff`,whitesmoke:`#f5f5f5`,yellow:`#ff0`,yellowgreen:`#9acd32`},r={},i={};for(var a in n){var o=n[a];a.length<o.length?i[o]=a:r[a]=o}var s=RegExp(`(^| |,|\\))(`+Object.keys(r).join(`|`)+`)( |,|\\)|$)`,`ig`),c=RegExp(`(`+Object.keys(i).join(`|`)+`)([^a-f0-9]|$)`,`ig`);function l(e,t,n,i){return t+r[n.toLowerCase()]+i}function u(e,t,n){return i[t.toLowerCase()]+n}function d(e){var t=e.indexOf(`#`)>-1,n=e.replace(s,l);return n!=e&&(n=n.replace(s,l)),t?n.replace(c,u):n}t.exports=d})),XS=I(((e,t)=>{function n(e,t,n){var i,a,o;if(e%=360,e<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),t=~~t/100,n<0?n=0:n>100&&(n=100),n=~~n/100,t===0)i=a=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=r(c,s,e+1/3),a=r(c,s,e),o=r(c,s,e-1/3)}return[~~(i*255),~~(a*255),~~(o*255)]}function r(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i(e,t,r){var i=n(e,t,r),a=i[0].toString(16),o=i[1].toString(16),s=i[2].toString(16);return`#`+((a.length==1?`0`:``)+a)+((o.length==1?`0`:``)+o)+((s.length==1?`0`:``)+s)}t.exports=i})),ZS=I(((e,t)=>{function n(e,t,n){var r=Math.max(0,Math.min(parseInt(e),255)),i=Math.max(0,Math.min(parseInt(t),255)),a=Math.max(0,Math.min(parseInt(n),255));return`#`+(`00000`+(r<<16|i<<8|a).toString(16)).slice(-6)}t.exports=n})),QS=I(((e,t)=>{var n=xS();function r(e,t,n){return n?t.test(e):e===t}function i(e,t){var i=n.OPEN_ROUND_BRACKET,a=n.CLOSE_ROUND_BRACKET,o=0,s=0,c=0,l,u,d=e.length,f=[],p=typeof t==`object`&&`exec`in t;if(!p&&e.indexOf(t)==-1)return[e];if(e.indexOf(i)==-1)return e.split(t);for(;s<d;)e[s]==i?o++:e[s]==a&&o--,o===0&&s>0&&s+1<d&&r(e[s],t,p)&&(f.push(e.substring(c,s)),p&&t.exec(e[s]).length>1&&f.push(e[s]),c=s+1),s++;return c<s+1&&(l=e.substring(c),u=l[l.length-1],r(u,t,p)&&(l=l.substring(0,l.length-1)),f.push(l)),f}t.exports=i})),$S=I(((e,t)=>{var n=YS(),r=XS(),i=ZS(),a=QS(),o=/(rgb|rgba|hsl|hsla)\(([^()]+)\)/gi,s=/#|rgb|hsl/gi,c=/(^|[^='"])#([0-9a-f]{6})/gi,l=/(^|[^='"])#([0-9a-f]{3})/gi,u=/[0-9a-f]/i,d=/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/gi,f=/(rgb|hsl)a?\((-?\d+),(-?\d+%?),(-?\d+%?),(0*[1-9]+[0-9]*(\.?\d*)?)\)/gi,p=/rgb\((-?\d+),(-?\d+),(-?\d+)\)/gi,m=/(?:rgba|hsla)\(0,0%?,0%?,0\)/g;t.exports={level1:{value:function(e,t,h){return h.compatibility.properties.colors?t.match(s)?(t=t.replace(f,function(e,t,n,r,i,a){return parseInt(a)>=1?t+`(`+[n,r,i].join(`,`)+`)`:e}).replace(p,function(e,t,n,r){return i(t,n,r)}).replace(d,function(e,t,n,i){return r(t,n,i)}).replace(c,function(e,t,n,r,i){var a=i[r+e.length];return a&&u.test(a)?e:n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?(t+`#`+n[0]+n[2]+n[4]).toLowerCase():(t+`#`+n).toLowerCase()}).replace(l,function(e,t,n){return t+`#`+n.toLowerCase()}).replace(o,function(e,t,n){var r=n.split(`,`),i=t&&t.toLowerCase();return i==`hsl`&&r.length==3||i==`hsla`&&r.length==4||i==`rgb`&&r.length===3&&n.indexOf(`%`)>0||i==`rgba`&&r.length==4&&r[0].indexOf(`%`)>0?(r[1].indexOf(`%`)==-1&&(r[1]+=`%`),r[2].indexOf(`%`)==-1&&(r[2]+=`%`),t+`(`+r.join(`,`)+`)`):e}),h.compatibility.colors.opacity&&e.indexOf(`background`)==-1&&(t=t.replace(m,function(e){return a(t,`,`).pop().indexOf(`gradient(`)>-1?e:`transparent`})),n(t)):n(t):t}}}})),eC=I(((e,t)=>{var n=/\(0deg\)/g;t.exports={level1:{value:function(e,t,r){return!r.compatibility.properties.zeroUnits||t.indexOf(`0deg`)==-1?t:t.replace(n,`(0)`)}}}})),tC=I(((e,t)=>{var n=/^url\(/i;function r(e){return n.test(e)}t.exports=r})),nC=I(((e,t)=>{var n=QS(),r=tC(),i=zS().OptimizationLevel,a=/^expression\(.*\)$/,o=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,s=/([\s,/])/,c=/(^|\D)\.0+(\D|$)/g,l=/\.([1-9]*)0+(\D|$)/g,u=/(^|\D)0\.(\d)/g,d=/([^\w\d-]|^)-0([^.]|$)/g,f=/(^|\s)0+([1-9])/g;function p(e){var t,i;return r(e)||a.test(e)?e:(t=o.exec(e),t?(i=n(t[2],s).map(function(e){return p(e)}),t[1]+`(`+i.join(``)+`)`):m(e))}function m(e){return e.indexOf(`0`)==-1?e:(e.indexOf(`-`)>-1&&(e=e.replace(d,`$10$2`).replace(d,`$10$2`)),e.replace(f,`$1$2`).replace(c,`$10$2`).replace(l,function(e,t,n){return(t.length>0?`.`:``)+t+n}).replace(u,`$1.$2`))}t.exports={level1:{value:function(e,t,n){return n.level[i.One].replaceZeroUnits?p(t):t}}}})),rC=I(((e,t)=>{t.exports={level1:{value:function(e,t,n){return!n.precision.enabled||t.indexOf(`.`)===-1?t:t.replace(n.precision.decimalPointMatcher,`$1$2$3`).replace(n.precision.zeroMatcher,function(e,t,r,i){var a=n.precision.units[i].multiplier,o=parseInt(t),s=Number.isNaN(o)?0:o,c=parseFloat(r);return Math.round((s+c)*a)/a+i})}}}})),iC=I(((e,t)=>{var n=zS().OptimizationLevel,r=/^local\(/i,i=/^('.*'|".*")$/,a=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,o=/^['"](?:cursive|default|emoji|fangsong|fantasy|inherit|initial|math|monospace|revert|revert-layer|sans-serif|serif|system-ui|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|unset)['"]$/;t.exports={level1:{value:function(e,t,s){return(e==`font-family`||e==`font`)&&o.test(t)||!s.level[n.One].removeQuotes||!i.test(t)&&!r.test(t)?t:a.test(t)?t.substring(1,t.length-1):t}}}})),aC=I(((e,t)=>{var n=zS().OptimizationLevel,r=/^(-?[\d.]+)(m?s)$/;t.exports={level1:{value:function(e,t,i){return!i.level[n.One].replaceTimeUnits||!r.test(t)?t:t.replace(r,function(e,t,n){var r;return n==`ms`?r=parseInt(t)/1e3+`s`:n==`s`&&(r=parseFloat(t)*1e3+`ms`),r.length<e.length?r:e})}}}})),oC=I(((e,t)=>{var n=/(?:^|\s|\()(-?\d+)px/;t.exports={level1:{value:function(e,t,r){return n.test(t)?t.replace(n,function(e,t){var n,i=parseInt(t);return i===0?e:(r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.pt&&i*3%4==0&&(n=i*3/4+`pt`),r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.pc&&i%16==0&&(n=i/16+`pc`),r.compatibility.properties.shorterLengthUnits&&r.compatibility.units.in&&i%96==0&&(n=i/96+`in`),n&&=e.substring(0,e.indexOf(t))+n,n&&n.length<e.length?n:e)}):t}}}})),sC=I(((e,t)=>{var n=tC(),r=zS().OptimizationLevel,i=/^url\(/i;t.exports={level1:{value:function(e,t,a){return!a.level[r.One].normalizeUrls||!n(t)?t:t.replace(i,`url(`)}}}})),cC=I(((e,t)=>{var n=/^url\(['"].+['"]\)$/,r=/^url\(['"].*[*\s()'"].*['"]\)$/,i=/["']/g,a=/^url\(['"]data:[^;]+;charset/;t.exports={level1:{value:function(e,t,o){return o.compatibility.properties.urlQuotes?t:n.test(t)&&!r.test(t)&&!a.test(t)?t.replace(i,``):t}}}})),lC=I(((e,t)=>{var n=tC(),r=/\\?\n|\\?\r\n/g,i=/(\()\s+/g,a=/\s+(\))/g;t.exports={level1:{value:function(e,t){return n(t)?t.replace(r,``).replace(i,`$1`).replace(a,`$1`):t}}}})),uC=I(((e,t)=>{var n=zS().OptimizationLevel,r=xS(),i=/\) ?\/ ?/g,a=/, /g,o=/\r?\n/g,s=/\s+/g,c=/\s+(;?\))/g,l=/(\(;?)\s+/g,u=/^--\S+$/,d=/^var\(\s*--\S+\s*\)$/;t.exports={level1:{value:function(e,t,f){return!f.level[n.One].removeWhitespace||u.test(e)&&!d.test(t)||t.indexOf(` `)==-1&&t.indexOf(`
`)==-1||t.indexOf(`expression`)===0||t.indexOf(r.SINGLE_QUOTE)>-1||t.indexOf(r.DOUBLE_QUOTE)>-1?t:(t=t.replace(o,``),t=t.replace(s,` `),t.indexOf(`calc`)>-1&&(t=t.replace(i,`)/ `)),t.replace(l,`$1`).replace(c,`$1`).replace(a,`,`))}}}})),dC=I(((e,t)=>{var n=QS(),r=/^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/,i=/^(?:-moz-calc|-webkit-calc|calc|rgb|hsl|rgba|hsla|min|max|clamp|expression)\(/,a=/([\s,/])/;function o(e,t){var c,l;return i.test(e)?e:(c=r.exec(e),c?(l=n(c[2],a).map(function(e){return o(e,t)}),c[1]+`(`+l.join(``)+`)`):s(e,t))}function s(e,t){return e.replace(t.unitsRegexp,`$10$2`).replace(t.unitsRegexp,`$10$2`)}t.exports={level1:{value:function(e,t,n){return!n.compatibility.properties.zeroUnits||t.indexOf(`%`)>0&&(e==`height`||e==`max-height`||e==`width`||e==`max-width`)?t:o(t,n)}}}})),fC=I(((e,t)=>{t.exports={color:$S().level1.value,degrees:eC().level1.value,fraction:nC().level1.value,precision:rC().level1.value,textQuotes:iC().level1.value,time:aC().level1.value,unit:oC().level1.value,urlPrefix:sC().level1.value,urlQuotes:cC().level1.value,urlWhiteSpace:lC().level1.value,whiteSpace:uC().level1.value,zero:dC().level1.value}})),pC=I(((e,t)=>{var n=MS(),r=FS(),i=LS(),a=JS(),o=fC(),s=yS(),c={animation:{canOverride:r.generic.components([r.generic.time,r.generic.timingFunction,r.generic.time,r.property.animationIterationCount,r.property.animationDirection,r.property.animationFillMode,r.property.animationPlayState,r.property.animationName]),components:[`animation-duration`,`animation-timing-function`,`animation-delay`,`animation-iteration-count`,`animation-direction`,`animation-fill-mode`,`animation-play-state`,`animation-name`],breakUp:n.multiplex(n.animation),defaultValue:`none`,restore:i.multiplex(i.withoutDefaults),shorthand:!0,valueOptimizers:[o.whiteSpace,o.textQuotes,o.time,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-delay":{canOverride:r.generic.time,componentOf:[`animation`],defaultValue:`0s`,intoMultiplexMode:`real`,valueOptimizers:[o.time,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-direction":{canOverride:r.property.animationDirection,componentOf:[`animation`],defaultValue:`normal`,intoMultiplexMode:`real`,vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-duration":{canOverride:r.generic.time,componentOf:[`animation`],defaultValue:`0s`,intoMultiplexMode:`real`,keepUnlessDefault:`animation-delay`,valueOptimizers:[o.time,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-fill-mode":{canOverride:r.property.animationFillMode,componentOf:[`animation`],defaultValue:`none`,intoMultiplexMode:`real`,vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-iteration-count":{canOverride:r.property.animationIterationCount,componentOf:[`animation`],defaultValue:`1`,intoMultiplexMode:`real`,vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-name":{canOverride:r.property.animationName,componentOf:[`animation`],defaultValue:`none`,intoMultiplexMode:`real`,valueOptimizers:[o.textQuotes],vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-play-state":{canOverride:r.property.animationPlayState,componentOf:[`animation`],defaultValue:`running`,intoMultiplexMode:`real`,vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},"animation-timing-function":{canOverride:r.generic.timingFunction,componentOf:[`animation`],defaultValue:`ease`,intoMultiplexMode:`real`,vendorPrefixes:[`-moz-`,`-o-`,`-webkit-`]},background:{canOverride:r.generic.components([r.generic.image,r.property.backgroundPosition,r.property.backgroundSize,r.property.backgroundRepeat,r.property.backgroundAttachment,r.property.backgroundOrigin,r.property.backgroundClip,r.generic.color]),components:[`background-image`,`background-position`,`background-size`,`background-repeat`,`background-attachment`,`background-origin`,`background-clip`,`background-color`],breakUp:n.multiplex(n.background),defaultValue:`0 0`,propertyOptimizer:a.background,restore:i.multiplex(i.background),shortestValue:`0`,shorthand:!0,valueOptimizers:[o.whiteSpace,o.urlWhiteSpace,o.fraction,o.zero,o.color,o.urlPrefix,o.urlQuotes]},"background-attachment":{canOverride:r.property.backgroundAttachment,componentOf:[`background`],defaultValue:`scroll`,intoMultiplexMode:`real`},"background-clip":{canOverride:r.property.backgroundClip,componentOf:[`background`],defaultValue:`border-box`,intoMultiplexMode:`real`,shortestValue:`border-box`},"background-color":{canOverride:r.generic.color,componentOf:[`background`],defaultValue:`transparent`,intoMultiplexMode:`real`,multiplexLastOnly:!0,nonMergeableValue:`none`,shortestValue:`red`,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"background-image":{canOverride:r.generic.image,componentOf:[`background`],defaultValue:`none`,intoMultiplexMode:`default`,valueOptimizers:[o.urlWhiteSpace,o.urlPrefix,o.urlQuotes,o.whiteSpace,o.fraction,o.precision,o.unit,o.zero,o.color]},"background-origin":{canOverride:r.property.backgroundOrigin,componentOf:[`background`],defaultValue:`padding-box`,intoMultiplexMode:`real`,shortestValue:`border-box`},"background-position":{canOverride:r.property.backgroundPosition,componentOf:[`background`],defaultValue:[`0`,`0`],doubleValues:!0,intoMultiplexMode:`real`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"background-repeat":{canOverride:r.property.backgroundRepeat,componentOf:[`background`],defaultValue:[`repeat`],doubleValues:!0,intoMultiplexMode:`real`},"background-size":{canOverride:r.property.backgroundSize,componentOf:[`background`],defaultValue:[`auto`],doubleValues:!0,intoMultiplexMode:`real`,shortestValue:`0 0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},bottom:{canOverride:r.property.bottom,defaultValue:`auto`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},border:{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:[`border-width`,`border-style`,`border-color`],defaultValue:`none`,overridesShorthands:[`border-bottom`,`border-left`,`border-right`,`border-top`],restore:i.withoutDefaults,shorthand:!0,shorthandComponents:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.zero,o.color]},"border-bottom":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:[`border-bottom-width`,`border-bottom-style`,`border-bottom-color`],defaultValue:`none`,restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.zero,o.color]},"border-bottom-color":{canOverride:r.generic.color,componentOf:[`border-bottom`,`border-color`],defaultValue:`none`,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"border-bottom-left-radius":{canOverride:r.generic.unit,componentOf:[`border-radius`],defaultValue:`0`,propertyOptimizer:a.borderRadius,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`]},"border-bottom-right-radius":{canOverride:r.generic.unit,componentOf:[`border-radius`],defaultValue:`0`,propertyOptimizer:a.borderRadius,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`]},"border-bottom-style":{canOverride:r.property.borderStyle,componentOf:[`border-bottom`,`border-style`],defaultValue:`none`},"border-bottom-width":{canOverride:r.generic.unit,componentOf:[`border-bottom`,`border-width`],defaultValue:`medium`,oppositeTo:`border-top-width`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"border-collapse":{canOverride:r.property.borderCollapse,defaultValue:`separate`},"border-color":{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.color,r.generic.color,r.generic.color,r.generic.color]),componentOf:[`border`],components:[`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],defaultValue:`none`,restore:i.fourValues,shortestValue:`red`,shorthand:!0,singleTypeComponents:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"border-left":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:[`border-left-width`,`border-left-style`,`border-left-color`],defaultValue:`none`,restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.zero,o.color]},"border-left-color":{canOverride:r.generic.color,componentOf:[`border-color`,`border-left`],defaultValue:`none`,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"border-left-style":{canOverride:r.property.borderStyle,componentOf:[`border-left`,`border-style`],defaultValue:`none`},"border-left-width":{canOverride:r.generic.unit,componentOf:[`border-left`,`border-width`],defaultValue:`medium`,oppositeTo:`border-right-width`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"border-radius":{breakUp:n.borderRadius,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),components:[`border-top-left-radius`,`border-top-right-radius`,`border-bottom-right-radius`,`border-bottom-left-radius`],defaultValue:`0`,propertyOptimizer:a.borderRadius,restore:i.borderRadius,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`]},"border-right":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:[`border-right-width`,`border-right-style`,`border-right-color`],defaultValue:`none`,restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"border-right-color":{canOverride:r.generic.color,componentOf:[`border-color`,`border-right`],defaultValue:`none`,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"border-right-style":{canOverride:r.property.borderStyle,componentOf:[`border-right`,`border-style`],defaultValue:`none`},"border-right-width":{canOverride:r.generic.unit,componentOf:[`border-right`,`border-width`],defaultValue:`medium`,oppositeTo:`border-left-width`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"border-style":{breakUp:n.fourValues,canOverride:r.generic.components([r.property.borderStyle,r.property.borderStyle,r.property.borderStyle,r.property.borderStyle]),componentOf:[`border`],components:[`border-top-style`,`border-right-style`,`border-bottom-style`,`border-left-style`],defaultValue:`none`,restore:i.fourValues,shorthand:!0,singleTypeComponents:!0},"border-top":{breakUp:n.border,canOverride:r.generic.components([r.generic.unit,r.property.borderStyle,r.generic.color]),components:[`border-top-width`,`border-top-style`,`border-top-color`],defaultValue:`none`,restore:i.withoutDefaults,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.zero,o.color,o.unit]},"border-top-color":{canOverride:r.generic.color,componentOf:[`border-color`,`border-top`],defaultValue:`none`,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"border-top-left-radius":{canOverride:r.generic.unit,componentOf:[`border-radius`],defaultValue:`0`,propertyOptimizer:a.borderRadius,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`]},"border-top-right-radius":{canOverride:r.generic.unit,componentOf:[`border-radius`],defaultValue:`0`,propertyOptimizer:a.borderRadius,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-o-`]},"border-top-style":{canOverride:r.property.borderStyle,componentOf:[`border-style`,`border-top`],defaultValue:`none`},"border-top-width":{canOverride:r.generic.unit,componentOf:[`border-top`,`border-width`],defaultValue:`medium`,oppositeTo:`border-bottom-width`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"border-width":{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),componentOf:[`border`],components:[`border-top-width`,`border-right-width`,`border-bottom-width`,`border-left-width`],defaultValue:`medium`,restore:i.fourValues,shortestValue:`0`,shorthand:!0,singleTypeComponents:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"box-shadow":{propertyOptimizer:a.boxShadow,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero,o.color],vendorPrefixes:[`-moz-`,`-ms-`,`-o-`,`-webkit-`]},clear:{canOverride:r.property.clear,defaultValue:`none`},clip:{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},color:{canOverride:r.generic.color,defaultValue:`transparent`,shortestValue:`red`,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"column-gap":{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},cursor:{canOverride:r.property.cursor,defaultValue:`auto`},display:{canOverride:r.property.display},filter:{propertyOptimizer:a.filter,valueOptimizers:[o.fraction]},float:{canOverride:r.property.float,defaultValue:`none`},font:{breakUp:n.font,canOverride:r.generic.components([r.property.fontStyle,r.property.fontVariant,r.property.fontWeight,r.property.fontStretch,r.generic.unit,r.generic.unit,r.property.fontFamily]),components:[`font-style`,`font-variant`,`font-weight`,`font-stretch`,`font-size`,`line-height`,`font-family`],restore:i.font,shorthand:!0,valueOptimizers:[o.textQuotes]},"font-family":{canOverride:r.property.fontFamily,defaultValue:`user|agent|specific`,valueOptimizers:[o.textQuotes]},"font-size":{canOverride:r.generic.unit,defaultValue:`medium`,shortestValue:`0`,valueOptimizers:[o.fraction]},"font-stretch":{canOverride:r.property.fontStretch,defaultValue:`normal`},"font-style":{canOverride:r.property.fontStyle,defaultValue:`normal`},"font-variant":{canOverride:r.property.fontVariant,defaultValue:`normal`},"font-weight":{canOverride:r.property.fontWeight,defaultValue:`normal`,propertyOptimizer:a.fontWeight,shortestValue:`400`},gap:{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},height:{canOverride:r.generic.unit,defaultValue:`auto`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},left:{canOverride:r.property.left,defaultValue:`auto`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"letter-spacing":{valueOptimizers:[o.fraction,o.zero]},"line-height":{canOverride:r.generic.unitOrNumber,defaultValue:`normal`,shortestValue:`0`,valueOptimizers:[o.fraction,o.zero]},"list-style":{canOverride:r.generic.components([r.property.listStyleType,r.property.listStylePosition,r.property.listStyleImage]),components:[`list-style-type`,`list-style-position`,`list-style-image`],breakUp:n.listStyle,restore:i.withoutDefaults,defaultValue:`outside`,shortestValue:`none`,shorthand:!0},"list-style-image":{canOverride:r.generic.image,componentOf:[`list-style`],defaultValue:`none`},"list-style-position":{canOverride:r.property.listStylePosition,componentOf:[`list-style`],defaultValue:`outside`,shortestValue:`inside`},"list-style-type":{canOverride:r.property.listStyleType,componentOf:[`list-style`],defaultValue:`decimal|disc`,shortestValue:`none`},margin:{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),components:[`margin-top`,`margin-right`,`margin-bottom`,`margin-left`],defaultValue:`0`,propertyOptimizer:a.margin,restore:i.fourValues,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"margin-bottom":{canOverride:r.generic.unit,componentOf:[`margin`],defaultValue:`0`,oppositeTo:`margin-top`,propertyOptimizer:a.margin,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"margin-inline-end":{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"margin-inline-start":{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"margin-left":{canOverride:r.generic.unit,componentOf:[`margin`],defaultValue:`0`,oppositeTo:`margin-right`,propertyOptimizer:a.margin,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"margin-right":{canOverride:r.generic.unit,componentOf:[`margin`],defaultValue:`0`,oppositeTo:`margin-left`,propertyOptimizer:a.margin,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"margin-top":{canOverride:r.generic.unit,componentOf:[`margin`],defaultValue:`0`,oppositeTo:`margin-bottom`,propertyOptimizer:a.margin,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"max-height":{canOverride:r.generic.unit,defaultValue:`none`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"max-width":{canOverride:r.generic.unit,defaultValue:`none`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"min-height":{canOverride:r.generic.unit,defaultValue:`0`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"min-width":{canOverride:r.generic.unit,defaultValue:`0`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},opacity:{valueOptimizers:[o.fraction,o.precision]},outline:{canOverride:r.generic.components([r.generic.color,r.property.outlineStyle,r.generic.unit]),components:[`outline-color`,`outline-style`,`outline-width`],breakUp:n.outline,restore:i.withoutDefaults,defaultValue:`0`,propertyOptimizer:a.outline,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"outline-color":{canOverride:r.generic.color,componentOf:[`outline`],defaultValue:`invert`,shortestValue:`red`,valueOptimizers:[o.whiteSpace,o.fraction,o.color]},"outline-style":{canOverride:r.property.outlineStyle,componentOf:[`outline`],defaultValue:`none`},"outline-width":{canOverride:r.generic.unit,componentOf:[`outline`],defaultValue:`medium`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},overflow:{canOverride:r.property.overflow,defaultValue:`visible`},"overflow-x":{canOverride:r.property.overflow,defaultValue:`visible`},"overflow-y":{canOverride:r.property.overflow,defaultValue:`visible`},padding:{breakUp:n.fourValues,canOverride:r.generic.components([r.generic.unit,r.generic.unit,r.generic.unit,r.generic.unit]),components:[`padding-top`,`padding-right`,`padding-bottom`,`padding-left`],defaultValue:`0`,propertyOptimizer:a.padding,restore:i.fourValues,shorthand:!0,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"padding-bottom":{canOverride:r.generic.unit,componentOf:[`padding`],defaultValue:`0`,oppositeTo:`padding-top`,propertyOptimizer:a.padding,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"padding-left":{canOverride:r.generic.unit,componentOf:[`padding`],defaultValue:`0`,oppositeTo:`padding-right`,propertyOptimizer:a.padding,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"padding-right":{canOverride:r.generic.unit,componentOf:[`padding`],defaultValue:`0`,oppositeTo:`padding-left`,propertyOptimizer:a.padding,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"padding-top":{canOverride:r.generic.unit,componentOf:[`padding`],defaultValue:`0`,oppositeTo:`padding-bottom`,propertyOptimizer:a.padding,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},position:{canOverride:r.property.position,defaultValue:`static`},right:{canOverride:r.property.right,defaultValue:`auto`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"row-gap":{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},src:{valueOptimizers:[o.urlWhiteSpace,o.urlPrefix,o.urlQuotes]},"stroke-width":{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"text-align":{canOverride:r.property.textAlign,defaultValue:`left|right`},"text-decoration":{canOverride:r.property.textDecoration,defaultValue:`none`},"text-indent":{canOverride:r.property.textOverflow,defaultValue:`none`,valueOptimizers:[o.fraction,o.zero]},"text-overflow":{canOverride:r.property.textOverflow,defaultValue:`none`},"text-shadow":{canOverride:r.property.textShadow,defaultValue:`none`,valueOptimizers:[o.whiteSpace,o.fraction,o.zero,o.color]},top:{canOverride:r.property.top,defaultValue:`auto`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},transform:{canOverride:r.property.transform,valueOptimizers:[o.whiteSpace,o.degrees,o.fraction,o.precision,o.unit,o.zero],vendorPrefixes:[`-moz-`,`-ms-`,`-o-`,`-webkit-`]},transition:{breakUp:n.multiplex(n.transition),canOverride:r.generic.components([r.property.transitionProperty,r.generic.time,r.generic.timingFunction,r.generic.time]),components:[`transition-property`,`transition-duration`,`transition-timing-function`,`transition-delay`],defaultValue:`none`,restore:i.multiplex(i.withoutDefaults),shorthand:!0,valueOptimizers:[o.time,o.fraction],vendorPrefixes:[`-moz-`,`-ms-`,`-o-`,`-webkit-`]},"transition-delay":{canOverride:r.generic.time,componentOf:[`transition`],defaultValue:`0s`,intoMultiplexMode:`real`,valueOptimizers:[o.time],vendorPrefixes:[`-moz-`,`-ms-`,`-o-`,`-webkit-`]},"transition-duration":{canOverride:r.generic.time,componentOf:[`transition`],defaultValue:`0s`,intoMultiplexMode:`real`,keepUnlessDefault:`transition-delay`,valueOptimizers:[o.time,o.fraction],vendorPrefixes:[`-moz-`,`-ms-`,`-o-`,`-webkit-`]},"transition-property":{canOverride:r.generic.propertyName,componentOf:[`transition`],defaultValue:`all`,intoMultiplexMode:`placeholder`,placeholderValue:`_`,vendorPrefixes:[`-moz-`,`-ms-`,`-o-`,`-webkit-`]},"transition-timing-function":{canOverride:r.generic.timingFunction,componentOf:[`transition`],defaultValue:`ease`,intoMultiplexMode:`real`,vendorPrefixes:[`-moz-`,`-ms-`,`-o-`,`-webkit-`]},"vertical-align":{canOverride:r.property.verticalAlign,defaultValue:`baseline`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},visibility:{canOverride:r.property.visibility,defaultValue:`visible`},"-webkit-tap-highlight-color":{valueOptimizers:[o.whiteSpace,o.color]},"-webkit-margin-end":{valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"white-space":{canOverride:r.property.whiteSpace,defaultValue:`normal`},width:{canOverride:r.generic.unit,defaultValue:`auto`,shortestValue:`0`,valueOptimizers:[o.whiteSpace,o.fraction,o.precision,o.unit,o.zero]},"z-index":{canOverride:r.property.zIndex,defaultValue:`auto`}},l={};function u(e,t){var n=s(c[e],{});return`componentOf`in n&&(n.componentOf=n.componentOf.map(function(e){return t+e})),`components`in n&&(n.components=n.components.map(function(e){return t+e})),`keepUnlessDefault`in n&&(n.keepUnlessDefault=t+n.keepUnlessDefault),n}for(var d in c){var f=c[d];if(`vendorPrefixes`in f){for(var p=0;p<f.vendorPrefixes.length;p++){var m=f.vendorPrefixes[p],h=u(d,m);delete h.vendorPrefixes,l[m+d]=h}delete f.vendorPrefixes}}t.exports=s(c,l)})),mC=I(((e,t)=>{var n=``,r=bS().Breaks,i=bS().Spaces,a=xS(),o=kS();function s(e){return e[1][1]==`background`||e[1][1]==`transform`||e[1][1]==`src`}function c(e,t){return e[t][1][e[t][1].length-1]==a.CLOSE_ROUND_BRACKET}function l(e,t){return e[t][1]==a.COMMA}function u(e,t){return e[t][1]==a.FORWARD_SLASH}function d(e,t){return e[t+1]&&e[t+1][1]==a.COMMA}function f(e,t){return e[t+1]&&e[t+1][1]==a.FORWARD_SLASH}function p(e){return e[1][1]==`filter`||e[1][1]==`-ms-filter`}function m(e,t,n){return!e.spaceAfterClosingBrace&&s(t)&&c(t,n)||f(t,n)||u(t,n)||d(t,n)||l(t,n)}function h(e,t){for(var n=e.store,r=0,i=t.length;r<i;r++)n(e,t[r]),r<i-1&&n(e,E(e))}function g(e,t){for(var n=_(t),r=0,i=t.length;r<i;r++)v(e,t,r,n)}function _(e){for(var t=e.length-1;t>=0&&e[t][0]==o.COMMENT;t--);return t}function v(e,t,i,a){var s=e.store,c=t[i],l=c[2],u=l&&l[0]===o.PROPERTY_BLOCK,d=e.format?e.format.semicolonAfterLastProperty||u?!0:i<a:i<a||u,f=i===a;switch(c[0]){case o.AT_RULE:s(e,c),s(e,T(e,r.AfterProperty,!1));break;case o.AT_RULE_BLOCK:h(e,c[1]),s(e,S(e,r.AfterRuleBegins,!0)),g(e,c[2]),s(e,C(e,r.AfterRuleEnds,!1,f));break;case o.COMMENT:s(e,c),s(e,b(e,r.AfterComment)+e.indentWith);break;case o.PROPERTY:s(e,c[1]),s(e,w(e)),l&&y(e,c),s(e,d?T(e,r.AfterProperty,f):n);break;case o.RAW:s(e,c)}}function y(e,t){var n=e.store,i,s;if(t[2][0]==o.PROPERTY_BLOCK)n(e,S(e,r.AfterBlockBegins,!1)),g(e,t[2][1]),n(e,C(e,r.AfterBlockEnds,!1,!0));else for(i=2,s=t.length;i<s;i++)n(e,t[i]),i<s-1&&(p(t)||!m(e,t,i))&&n(e,a.SPACE)}function b(e,t){return e.format?e.format.breaks[t]:n}function x(e,t){return e.format&&e.format.spaces[t]}function S(e,t,r){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(r&&x(e,i.BeforeBlockBegins)?a.SPACE:n)+a.OPEN_CURLY_BRACKET+b(e,t)+e.indentWith):a.OPEN_CURLY_BRACKET}function C(e,t,i,o){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(i?b(e,r.BeforeBlockEnds):b(e,r.AfterProperty))+e.indentWith+a.CLOSE_CURLY_BRACKET+(o?n:b(e,t)+e.indentWith)):a.CLOSE_CURLY_BRACKET}function w(e){return e.format?a.COLON+(x(e,i.BeforeValue)?a.SPACE:n):a.COLON}function T(e,t,r){return e.format?a.SEMICOLON+(r?n:b(e,t)+e.indentWith):a.SEMICOLON}function E(e){return e.format?a.COMMA+b(e,r.BetweenSelectors)+e.indentWith:a.COMMA}function D(e,t){var n=e.store,i,a,s,c;for(s=0,c=t.length;s<c;s++)switch(i=t[s],a=s==c-1,i[0]){case o.AT_RULE:n(e,i),n(e,T(e,r.AfterAtRule,a));break;case o.AT_RULE_BLOCK:h(e,i[1]),n(e,S(e,r.AfterRuleBegins,!0)),g(e,i[2]),n(e,C(e,r.AfterRuleEnds,!1,a));break;case o.NESTED_BLOCK:h(e,i[1]),n(e,S(e,r.AfterBlockBegins,!0)),D(e,i[2]),n(e,C(e,r.AfterBlockEnds,!0,a));break;case o.COMMENT:n(e,i),n(e,b(e,r.AfterComment)+e.indentWith);break;case o.RAW:n(e,i);break;case o.RULE:h(e,i[1]),n(e,S(e,r.AfterRuleBegins,!0)),g(e,i[2]),n(e,C(e,r.AfterRuleEnds,!1,a));break}}t.exports={all:D,body:g,property:v,rules:h,value:y}})),hC=I(((e,t)=>{var n=mC();function r(e,t){e.output.push(typeof t==`string`?t:t[1])}function i(){return{output:[],store:r}}function a(e){var t=i();return n.all(t,e),t.output.join(``)}function o(e){var t=i();return n.body(t,e),t.output.join(``)}function s(e,t){var r=i();return n.property(r,e,t,!0),r.output.join(``)}function c(e){var t=i();return n.rules(t,e),t.output.join(``)}function l(e){var t=i();return n.value(t,e),t.output.join(``)}t.exports={all:a,body:o,property:s,rules:c,value:l}})),gC=I(((e,t)=>{var n=vS(),r=CS(),i=wS(),a=TS(),o=ES(),s=DS(),c=OS(),l=AS().all,u=pC(),d=fC(),f=zS().OptimizationLevel,p=kS(),m=xS(),h=SS(),g=hC().rules,_=`@charset`,v=RegExp(`^`+_,`i`),y=RS().DEFAULT,b=/^--\S+$/,x=/^(?:-chrome-|-[\w-]+\w|\w[\w-]+\w|\w{1,})$/,S=/^@import/i,C=/^url\(/i;function w(e){return C.test(e)}function T(e){return S.test(e[1])}function E(e){var t;return e.name==`filter`||e.name==`-ms-filter`?(t=e.value[0][1],t.indexOf(`progid`)>-1||t.indexOf(`alpha`)===0||t.indexOf(`chroma`)===0):!1}function D(){}function O(e,t,n){return t}function k(e,t,n){var r=n.options,i,a,f,m,_,v,y,S=g(e),C=l(t),T=n.options.plugins.level1Value,O=n.options.plugins.level1Property,j,ee,te;for(ee=0,te=C.length;ee<te;ee++){var ne,re,M,ie;if(a=C[ee],f=a.name,y=u[f]&&u[f].propertyOptimizer||D,i=u[f]&&u[f].valueOptimizers||[d.whiteSpace],j=b.test(f),j&&(i=r.variableOptimizers.length>0?r.variableOptimizers:[d.whiteSpace]),!j&&!x.test(f)){v=a.all[a.position],n.warnings.push(`Invalid property name '`+f+`' at `+h(v[1][2][0])+`. Ignoring.`),a.unused=!0;continue}if(a.value.length===0){v=a.all[a.position],n.warnings.push(`Empty property '`+f+`' at `+h(v[1][2][0])+`. Ignoring.`),a.unused=!0;continue}if(a.hack&&((a.hack[0]==o.ASTERISK||a.hack[0]==o.UNDERSCORE)&&!r.compatibility.properties.iePrefixHack||a.hack[0]==o.BACKSLASH&&!r.compatibility.properties.ieSuffixHack||a.hack[0]==o.BANG&&!r.compatibility.properties.ieBangHack)){a.unused=!0;continue}if(!r.compatibility.properties.ieFilters&&E(a)){a.unused=!0;continue}if(a.block){k(e,a.value[0][1],n);continue}for(ne=0,M=a.value.length;ne<M;ne++){if(m=a.value[ne][0],_=a.value[ne][1],m==p.PROPERTY_BLOCK){a.unused=!0,n.warnings.push(`Invalid value token at `+h(_[0][1][2][0])+`. Ignoring.`);break}if(w(_)&&!n.validator.isUrl(_)){a.unused=!0,n.warnings.push(`Broken URL '`+_+`' at `+h(a.value[ne][2][0])+`. Ignoring.`);break}for(re=0,ie=i.length;re<ie;re++)_=i[re](f,_,r);for(re=0,ie=T.length;re<ie;re++)_=T[re](f,_,r);a.value[ne][1]=_}for(y(S,a,r),ne=0,M=O.length;ne<M;ne++)O[ne](S,a,r)}c(C),s(C),A(t,r)}function A(e,t){var n,r;for(r=0;r<e.length;r++)n=e[r],n[0]==p.COMMENT&&(j(n,t),n[1].length===0&&(e.splice(r,1),r--))}function j(e,t){if(e[1][2]==m.EXCLAMATION&&(t.level[f.One].specialComments==`all`||t.commentsKept<t.level[f.One].specialComments)){t.commentsKept++;return}e[1]=[]}function ee(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];i[0]==p.AT_RULE&&v.test(i[1])&&(t||i[1].indexOf(_)==-1?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([p.AT_RULE,i[1].replace(v,_)])))}}function te(e){var t=[`px`,`em`,`ex`,`cm`,`mm`,`in`,`pt`,`pc`,`%`];return[`ch`,`rem`,`vh`,`vm`,`vmax`,`vmin`,`vw`].forEach(function(n){e.compatibility.units[n]&&t.push(n)}),RegExp(`(^|\\s|\\(|,)0(?:`+t.join(`|`)+`)(\\W|$)`,`g`)}function ne(e){var t={matcher:null,units:{}},n=[],r,i;for(r in e)i=e[r],i!=y&&(t.units[r]={},t.units[r].value=i,t.units[r].multiplier=10**i,n.push(r));return n.length>0&&(t.enabled=!0,t.decimalPointMatcher=RegExp(`(\\d)\\.($|`+n.join(`|`)+`)($|\\W)`,`g`),t.zeroMatcher=RegExp(`(\\d*)(\\.\\d+)(`+n.join(`|`)+`)`,`g`)),t}function re(e){return e.level[f.One].variableValueOptimizers.map(function(e){return typeof e==`string`?d[e]||O:e})}function M(e,t){var o=t.options,s=o.level[f.One],c=o.compatibility.selectors.ie7Hack,l=o.compatibility.selectors.adjacentSpace,u=o.compatibility.properties.spaceAfterClosingBrace,d=o.format,m=!1,h=!1;o.unitsRegexp=o.unitsRegexp||te(o),o.precision=o.precision||ne(s.roundingPrecision),o.commentsKept=o.commentsKept||0,o.variableOptimizers=o.variableOptimizers||re(o);for(var g=0,_=e.length;g<_;g++){var v=e[g];switch(v[0]){case p.AT_RULE:v[1]=T(v)&&h?``:v[1],v[1]=s.tidyAtRules?a(v[1]):v[1],m=!0;break;case p.AT_RULE_BLOCK:k(v[1],v[2],t),h=!0;break;case p.NESTED_BLOCK:v[1]=s.tidyBlockScopes?i(v[1],u):v[1],M(v[2],t),h=!0;break;case p.COMMENT:j(v,o);break;case p.RULE:v[1]=s.tidySelectors?r(v[1],!c,l,d,t.warnings):v[1],v[1]=v[1].length>1?n(v[1],s.selectorsSortingMethod):v[1],k(v[1],v[2],t),h=!0;break}(v[0]==p.COMMENT&&v[1].length===0||s.removeEmpty&&(v[1].length===0||v[2]&&v[2].length===0))&&(e.splice(g,1),g--,_--)}return s.cleanupCharsets&&m&&ee(e),e}t.exports=M})),_C=I(((e,t)=>{var n=xS(),r=QS(),i=/\/deep\//,a=/^::/,o=/:(-moz-|-ms-|-o-|-webkit-)/,s=`:not`,c=[`:dir`,`:lang`,`:not`,`:nth-child`,`:nth-last-child`,`:nth-last-of-type`,`:nth-of-type`],l=/[>+~]/,u=[`:after`,`:before`,`:first-letter`,`:first-line`,`:lang`],d=[`::after`,`::before`,`::first-letter`,`::first-line`],f={DOUBLE_QUOTE:`double-quote`,SINGLE_QUOTE:`single-quote`,ROOT:`root`};function p(e,t,i,a){var o=r(e,n.COMMA),s,c,l;for(c=0,l=o.length;c<l;c++)if(s=o[c],s.length===0||m(s)||h(s)||s.indexOf(n.COLON)>-1&&!_(s,g(s),t,i,a))return!1;return!0}function m(e){return i.test(e)}function h(e){return o.test(e)}function g(e){var t=[],r,i=[],a=f.ROOT,o=0,s,c,u=!1,d,p=!1,m,h;for(m=0,h=e.length;m<h;m++)r=e[m],d=!c&&l.test(r),s=a==f.DOUBLE_QUOTE||a==f.SINGLE_QUOTE,c?i.push(r):r==n.DOUBLE_QUOTE&&a==f.ROOT?(i.push(r),a=f.DOUBLE_QUOTE):r==n.DOUBLE_QUOTE&&a==f.DOUBLE_QUOTE?(i.push(r),a=f.ROOT):r==n.SINGLE_QUOTE&&a==f.ROOT?(i.push(r),a=f.SINGLE_QUOTE):r==n.SINGLE_QUOTE&&a==f.SINGLE_QUOTE?(i.push(r),a=f.ROOT):s?i.push(r):r==n.OPEN_ROUND_BRACKET?(i.push(r),o++):r==n.CLOSE_ROUND_BRACKET&&o==1&&u?(i.push(r),t.push(i.join(``)),o--,i=[],u=!1):r==n.CLOSE_ROUND_BRACKET?(i.push(r),o--):r==n.COLON&&o===0&&u&&!p?(t.push(i.join(``)),i=[],i.push(r)):r==n.COLON&&o===0&&!p?(i=[],i.push(r),u=!0):r==n.SPACE&&o===0&&u||d&&o===0&&u?(t.push(i.join(``)),i=[],u=!1):i.push(r),c=r==n.BACK_SLASH,p=r==n.COLON;return i.length>0&&u&&t.push(i.join(``)),t}function _(e,t,n,r,i){return v(t,n,r)&&y(t)&&(t.length<2||!b(e,t))&&(t.length<2||i&&x(t))}function v(e,t,r){var i,a,o,s;for(o=0,s=e.length;o<s;o++)if(i=e[o],a=i.indexOf(n.OPEN_ROUND_BRACKET)>-1?i.substring(0,i.indexOf(n.OPEN_ROUND_BRACKET)):i,t.indexOf(a)===-1&&r.indexOf(a)===-1)return!1;return!0}function y(e){var t,r,i,a,o,s;for(o=0,s=e.length;o<s;o++)if(t=e[o],i=t.indexOf(n.OPEN_ROUND_BRACKET),a=i>-1,r=a?t.substring(0,i):t,a&&c.indexOf(r)==-1||!a&&c.indexOf(r)>-1)return!1;return!0}function b(e,t){var r=0,i,a,o,c,l,u,d,f,p;for(f=0,p=t.length;f<p&&(i=t[f],o=t[f+1],o);f++)if(a=e.indexOf(i,r),c=e.indexOf(i,a+1),r=c,d=a+i.length==c,d&&(l=i.indexOf(n.OPEN_ROUND_BRACKET)>-1?i.substring(0,i.indexOf(n.OPEN_ROUND_BRACKET)):i,u=o.indexOf(n.OPEN_ROUND_BRACKET)>-1?o.substring(0,o.indexOf(n.OPEN_ROUND_BRACKET)):o,l!=s||u!=s))return!0;return!1}function x(e){var t=0,n,r,i;for(r=0,i=e.length;r<i;r++)if(n=e[r],S(n)?t+=d.indexOf(n)>-1?1:0:t+=u.indexOf(n)>-1?1:0,t>1)return!1;return!0}function S(e){return a.test(e)}t.exports=p})),vC=I(((e,t)=>{var n=xS();function r(e,t,r){var i=t.value.length,a=r.value.length,o=Math.max(i,a),s=Math.min(i,a)-1,c,l,u;for(u=0;u<o;u++)if(c=t.value[u]&&t.value[u][1]||c,l=r.value[u]&&r.value[u][1]||l,!(c==n.COMMA||l==n.COMMA)&&!e(c,l,u,u<=s))return!1;return!0}t.exports=r})),yC=I(((e,t)=>{function n(e){for(var t=e.value.length-1;t>=0;t--)if(e.value[t][1]==`inherit`)return!0;return!1}t.exports=n})),bC=I(((e,t)=>{function n(e){var t=e.value[0][1],n,r;for(n=1,r=e.value.length;n<r;n++)if(e.value[n][1]!=t)return!1;return!0}t.exports=n})),xC=I(((e,t)=>{var n=pC(),r=jS();function i(e,t,i){for(var s,c,l,u=e.length-1;u>=0;u--){var d=e[u],f=n[d.name];if(!d.dynamic&&f&&f.shorthand){if(a(d,t)||o(d,t)){d.optimizable=!1;continue}d.shorthand=!0,d.dirty=!0;try{if(d.components=f.breakUp(d,n,t),f.shorthandComponents)for(c=0,l=d.components.length;c<l;c++)s=d.components[c],s.components=n[s.name].breakUp(s,n,t)}catch(e){if(e instanceof r)d.components=[],i.push(e.message);else throw e}d.components.length>0?d.multiplex=d.components[0].multiplex:d.unused=!0}}}function a(e,t){return e.value.length==1&&t.isVariable(e.value[0][1])}function o(e,t){return e.value.length>1&&e.value.filter(function(e){return t.isVariable(e[1])}).length>1}t.exports=i})),SC=I(((e,t)=>{var n=pC();function r(e){var t=n[e.name];return t&&t.shorthand?t.restore(e,n):e.value}t.exports=r})),CC=I(((e,t)=>{var n=vC(),r=yC(),i=bC(),a=xC(),o=pC(),s=IS().deep,c=SC(),l=OS(),u=AS().single,d=hC().body,f=kS();function p(e,t){var n={},r,a,s,c,l,u,d;if(!(e.length<3)){for(c=0,l=e.length;c<l;c++)if(s=e[c],r=o[s.name],!s.dynamic&&!s.unused&&!s.hack&&!s.block&&!(r&&r.singleTypeComponents&&!i(s))&&(m(e,c,n,t),r&&r.componentOf))for(u=0,d=r.componentOf.length;u<d;u++)a=r.componentOf[u],n[a]=n[a]||{},n[a][s.name]=s;m(e,c,n,t)}}function m(e,t,n,r){var i=e[t],a,s,c,l=[],u;for(a in n)if(!(i!==void 0&&a==i.name)){if(s=o[a],c=n[a],i&&h(n,a,i)){delete n[a];continue}s.components.length>Object.keys(c).length||g(c)||_(c,a,r)&&y(c)&&(b(c)?x(e,c,a,r):O(e,c,a,r),l.push(a))}for(u=l.length-1;u>=0;u--)delete n[l[u]]}function h(e,t,n){var r=o[t],i=o[n.name],a;if(`overridesShorthands`in r&&r.overridesShorthands.indexOf(n.name)>-1)return!0;if(i&&`componentOf`in i){for(a in e[t])if(i.componentOf.indexOf(a)>-1)return!0}return!1}function g(e){var t,n;for(n in e){if(t!==void 0&&e[n].important!=t)return!0;t=e[n].important}return!1}function _(e,t,r){var i=o[t],s=u([f.PROPERTY,[f.PROPERTY_NAME,t],[f.PROPERTY_VALUE,i.defaultValue]]),c,l,d,p;for(a([s],r,[]),d=0,p=i.components.length;d<p;d++)if(c=e[i.components[d]],l=o[c.name].canOverride||v,!n(l.bind(null,r),s.components[d],c))return!1;return!0}function v(e,t,n){return t===n}function y(e){var t=null,n,r,i,a,s;for(r in e)if(i=e[r],a=o[r],`restore`in a){if(l([i.all[i.position]],c),s=a.restore(i,o),n=s.length,t!==null&&n!==t)return!1;t=n}return!0}function b(e){var t,n=null,i;for(t in e){if(i=r(e[t]),n!==null&&n!==i)return!0;n=i}return!1}function x(e,t,n,r){var i=S(t,n,r),a=E(t,n,r),o=i[0],s=a[0],c=d(o).length<d(s).length,l=c?o:s,u=c?i[1]:a[1],f=c?i[2]:a[2],p=t[Object.keys(t).pop()],m=p.all,h=p.position,g,_,v,y;for(g in u.position=h,u.shorthand=!0,u.important=p.important,u.multiplex=!1,u.dirty=!0,u.all=m,u.all[h]=l[0],e.splice(h,1,u),t)_=t[g],_.unused=!0,u.multiplex=u.multiplex||_.multiplex,_.name in f&&(v=f[_.name],y=D(l,g),v.position=m.length,v.all=m,v.all.push(y),e.push(v))}function S(e,t,n){var i=[],d={},p={},m=o[t],h=[f.PROPERTY,[f.PROPERTY_NAME,t],[f.PROPERTY_VALUE,m.defaultValue]],g=u(h),_,v,y,b,x,S;for(a([g],n,[]),x=0,S=m.components.length;x<S;x++)_=e[m.components[x]],r(_)?(v=_.all[_.position].slice(0,2),Array.prototype.push.apply(v,_.value),i.push(v),y=s(_),y.value=C(e,y.name),g.components[x]=y,d[_.name]=s(_)):(y=s(_),y.all=_.all,g.components[x]=y,p[_.name]=_);return g.important=e[Object.keys(e).pop()].important,b=w(p,1),h[1].push(b),l([g],c),h=h.slice(0,2),Array.prototype.push.apply(h,g.value),i.unshift(h),[i,g,d]}function C(e,t){var n=o[t];return`oppositeTo`in n?e[n.oppositeTo].value:[[f.PROPERTY_VALUE,n.defaultValue]]}function w(e,t){var n=[],r,i,a,o;for(o in e)r=e[o],i=r.all[r.position],a=i[t][i[t].length-1],Array.prototype.push.apply(n,a);return n.sort(T)}function T(e,t){var n=e[0],r=t[0],i=e[1],a=t[1];return n<r||n===r&&i<a?-1:1}function E(e,t,n){var i=[],c={},l={},d=o[t],p=[f.PROPERTY,[f.PROPERTY_NAME,t],[f.PROPERTY_VALUE,`inherit`]],m=u(p),h,g,_,v,y,b;for(a([m],n,[]),y=0,b=d.components.length;y<b;y++)h=e[d.components[y]],r(h)?c[h.name]=h:(g=h.all[h.position].slice(0,2),Array.prototype.push.apply(g,h.value),i.push(g),l[h.name]=s(h));return _=w(c,1),p[1].push(_),v=w(c,2),p[2].push(v),i.unshift(p),[i,m,l]}function D(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function O(e,t,n,r){var i=o[n],c,l,d=[f.PROPERTY,[f.PROPERTY_NAME,n],[f.PROPERTY_VALUE,i.defaultValue]],p,m=k(e,t,n),h=u(d);h.shorthand=!0,h.dirty=!0,h.multiplex=!1,a([h],r,[]);for(var g=0,_=i.components.length;g<_;g++){var v=t[i.components[g]];h.components[g]=s(v),h.important=v.important,h.multiplex=h.multiplex||v.multiplex,p=v.all}for(var y in t)t[y].unused=!0;c=w(t,1),d[1].push(c),l=w(t,2),d[2].push(l),h.position=m,h.all=p,h.all[m]=d,e.splice(m,1,h)}function k(e,t,n){var r=Object.keys(t),i=t[r[0]].position,a=t[r[r.length-1]].position;return n==`border`&&A(e.slice(i,a),`border-image`)?i:a}function A(e,t){for(var n=e.length-1;n>=0;n--)if(e[n].name==t)return!0;return!1}t.exports=p})),wC=I(((e,t)=>{function n(e){for(var t=e.value.length-1;t>=0;t--)if(e.value[t][1]==`unset`)return!0;return!1}t.exports=n})),TC=I(((e,t)=>{var n=pC();function r(e,t){var n=i(t);return a(e,n)||o(e,n)}function i(e){return function(t){return e.name===t.name}}function a(e,t){return e.components.filter(t)[0]}function o(e,t){var r,i,o,s;if(n[e.name].shorthandComponents){for(o=0,s=e.components.length;o<s;o++)if(r=e.components[o],i=a(r,t),i)return i}}t.exports=r})),EC=I(((e,t)=>{var n=pC();function r(e,t,r){return i(e,t)||!r&&!!n[e.name].shorthandComponents&&a(e,t)}function i(e,t){var r=n[e.name];return`components`in r&&r.components.indexOf(t.name)>-1}function a(e,t){return e.components.some(function(e){return i(e,t)})}t.exports=r})),DC=I(((e,t)=>{var n=xS();function r(e){return e.name==`font`?e.value[0][1].indexOf(n.INTERNAL)==-1:!0}t.exports=r})),OC=I(((e,t)=>{var n=pC();function r(e,t){return e.name in n&&`overridesShorthands`in n[e.name]&&n[e.name].overridesShorthands.indexOf(t.name)>-1}t.exports=r})),kC=I(((e,t)=>{var n=yC(),r=wC(),i=vC(),a=TC(),o=EC(),s=DC(),c=OC(),l=NS().same,u=pC(),d=IS().deep,f=SC(),p=IS().shallow,m=OS(),h=kS(),g=xS(),_=hC().property;function v(e,t,n){return t===n}function y(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],a=u[r.name],o=a&&a.canOverride||v,s=p(r);if(s.value=[[h.PROPERTY_VALUE,a.defaultValue]],!i(o.bind(null,t),s,r))return!0}return!1}function b(e,t){t.unused=!0,T(t,O(e)),e.value=t.value}function x(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function S(e,t){t.unused=!0,e.value=t.value}function C(e,t){t.multiplex?x(e,t):e.multiplex?b(e,t):S(e,t)}function w(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)C(e.components[n],t.components[n])}function T(e,t){e.multiplex=!0,u[e.name].shorthand?E(e,t):D(e,t)}function E(e,t){var n,r,i;for(r=0,i=e.components.length;r<i;r++)n=e.components[r],n.multiplex||D(n,t)}function D(e,t){for(var n=u[e.name],r=n.intoMultiplexMode==`real`,i=n.intoMultiplexMode==`real`?e.value.slice(0):n.intoMultiplexMode==`placeholder`?n.placeholderValue:n.defaultValue,a=O(e),o,s=i.length;a<t;a++)if(e.value.push([h.PROPERTY_VALUE,g.COMMA]),Array.isArray(i))for(o=0;o<s;o++)e.value.push(r?i[o]:[h.PROPERTY_VALUE,i[o]]);else e.value.push(r?i:[h.PROPERTY_VALUE,i])}function O(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==g.COMMA&&t++;return t+1}function k(e){return _([[h.PROPERTY,[h.PROPERTY_NAME,e.name]].concat(e.value)],0).length}function A(e,t,n){for(var r=0,i=t;i>=0&&(e[i].name==n&&!e[i].unused&&r++,!(r>1));i--);return r>1}function j(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!ee(t.isUrl,e.components[n])&&ee(t.isFunction,e.components[n]))return!0;return!1}function ee(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=g.COMMA&&e(t.value[n][1]))return!0;return!1}function te(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n=e.multiplex?e:t,r=e.multiplex?t:e,i,o=d(n);m([o],f);var s=d(r);m([s],f);var c=k(o)+1+k(s);return e.multiplex?(i=a(o,s),b(i,s)):(i=a(s,o),T(s,O(o)),x(i,o)),m([s],f),c<=k(s)}function ne(e){return e.name in u}function re(e,t){return!e.multiplex&&(e.name==`background`||e.name==`background-image`)&&t.multiplex&&(t.name==`background`||t.name==`background-image`)&&M(t.value)}function M(e){for(var t=ie(e),n=0,r=t.length;n<r;n++)if(t[n].length==1&&t[n][0][1]==`none`)return!0;return!1}function ie(e){for(var t=[],n=0,r=[],i=e.length;n<i;n++){var a=e[n];a[1]==g.COMMA?(t.push(r),r=[]):r.push(a)}return t.push(r),t}function ae(e,t,d,f){var p,m,h,g,_,b,x,S,E,D,k;propertyLoop:for(E=e.length-1;E>=0;E--)if(m=e[E],ne(m)&&!m.block){p=u[m.name].canOverride||v;traverseLoop:for(D=E-1;D>=0;D--)if(h=e[D],ne(h)&&!h.block&&!(h.dynamic||m.dynamic)&&!(h.unused||m.unused)&&!(h.hack&&!m.hack&&!m.important||!h.hack&&!h.important&&m.hack)&&!(h.important==m.important&&h.hack[0]!=m.hack[0])&&!(h.important==m.important&&(h.hack[0]!=m.hack[0]||h.hack[1]&&h.hack[1]!=m.hack[1]))&&!n(m)&&!re(h,m)){if(m.shorthand&&o(m,h)){if(!m.important&&h.important||!l([h],m.components)||!ee(f.isFunction,h)&&j(m,f))continue;if(!s(m)){h.unused=!0;continue}g=a(m,h),p=u[h.name].canOverride||v,i(p.bind(null,f),h,g)&&(h.unused=!0)}else if(m.shorthand&&c(m,h)){if(!m.important&&h.important||!l([h],m.components)||!ee(f.isFunction,h)&&j(m,f))continue;for(_=h.shorthand?h.components:[h],k=_.length-1;k>=0;k--)if(b=_[k],x=a(m,b),p=u[b.name].canOverride||v,!i(p.bind(null,f),h,x))continue traverseLoop;h.unused=!0}else if(t&&h.shorthand&&!m.shorthand&&o(h,m,!0)){if(m.important&&!h.important)continue;if(!m.important&&h.important){m.unused=!0;continue}if(A(e,E-1,h.name)||j(h,f)||!s(h)||r(h)||r(m))continue;if(g=a(h,m),i(p.bind(null,f),g,m)){var M=!d.properties.backgroundClipMerging&&g.name.indexOf(`background-clip`)>-1||!d.properties.backgroundOriginMerging&&g.name.indexOf(`background-origin`)>-1||!d.properties.backgroundSizeMerging&&g.name.indexOf(`background-size`)>-1,ie=u[m.name].nonMergeableValue===m.value[0][1];if(M||ie||!d.properties.merging&&y(h,f)||g.value[0][1]!=m.value[0][1]&&(n(h)||n(m))||te(h,m))continue;!h.multiplex&&m.multiplex&&T(h,O(m)),C(g,m),h.dirty=!0}}else if(t&&h.shorthand&&m.shorthand&&h.name==m.name){if(!h.multiplex&&m.multiplex)continue;if(!m.important&&h.important){m.unused=!0;continue propertyLoop}if(m.important&&!h.important){h.unused=!0;continue}if(!s(m)){h.unused=!0;continue}for(k=h.components.length-1;k>=0;k--){var ae=h.components[k],N=m.components[k];if(p=u[ae.name].canOverride||v,!i(p.bind(null,f),ae,N))continue propertyLoop}w(h,m),h.dirty=!0}else if(t&&h.shorthand&&m.shorthand&&o(h,m)){if(!h.important&&m.important||(g=a(h,m),p=u[m.name].canOverride||v,!i(p.bind(null,f),g,m)))continue;if(h.important&&!m.important){m.unused=!0;continue}if(u[m.name].restore(m,u).length>1)continue;g=a(h,m),C(g,m),m.dirty=!0}else if(h.name==m.name){if(S=!0,m.shorthand)for(k=m.components.length-1;k>=0&&S;k--)b=h.components[k],x=m.components[k],p=u[x.name].canOverride||v,S=i(p.bind(null,f),b,x);else p=u[m.name].canOverride||v,S=i(p.bind(null,f),h,m);if(h.important&&!m.important&&S){m.unused=!0;continue}if(!h.important&&m.important&&S){h.unused=!0;continue}if(!S)continue;h.unused=!0}}}}t.exports=ae})),AC=I(((e,t)=>{var n=CC(),r=kC(),i=xC(),a=SC(),o=AS().all,s=DS(),c=OS(),l=zS().OptimizationLevel;function u(e,t,d,f){var p=f.options.level[l.Two],m=o(e,p.skipProperties),h,g,_;for(i(m,f.validator,f.warnings),g=0,_=m.length;g<_;g++)h=m[g],h.block&&u(h.value[0][1],t,d,f);d&&p.mergeIntoShorthands&&n(m,f.validator),t&&p.overrideProperties&&r(m,d,f.options.compatibility,f.validator),c(m,a),s(m)}t.exports=u})),jC=I(((e,t)=>{var n=_C(),r=AC(),i=vS(),a=CS(),o=zS().OptimizationLevel,s=hC().body,c=hC().rules,l=kS();function u(e,t){for(var u=[null,[],[]],d=t.options,f=d.compatibility.selectors.adjacentSpace,p=d.level[o.One].selectorsSortingMethod,m=d.compatibility.selectors.mergeablePseudoClasses,h=d.compatibility.selectors.mergeablePseudoElements,g=d.compatibility.selectors.mergeLimit,_=d.compatibility.selectors.multiplePseudoMerging,v=0,y=e.length;v<y;v++){var b=e[v];if(b[0]!=l.RULE){u=[null,[],[]];continue}u[0]==l.RULE&&c(b[1])==c(u[1])?(Array.prototype.push.apply(u[2],b[2]),r(u[2],!0,!0,t),b[2]=[]):u[0]==l.RULE&&s(b[2])==s(u[2])&&n(c(b[1]),m,h,_)&&n(c(u[1]),m,h,_)&&u[1].length<g?(u[1]=a(u[1].concat(b[1]),!1,f,!1,t.warnings),u[1]=u.length>1?i(u[1],p):u[1],b[2]=[]):u=b}}t.exports=u})),MC=I(((e,t)=>{var n=/--.+$/;function r(e,t,n){var r,a,o,s,c,l;for(o=0,s=e.length;o<s;o++)for(r=e[o][1],c=0,l=t.length;c<l;c++)if(a=t[c][1],r==a||n&&i(r)==i(a))return!0;return!1}function i(e){return e.replace(n,``)}t.exports=r})),NC=I(((e,t)=>{var n=xS(),r={ADJACENT_SIBLING:`+`,DESCENDANT:`>`,DOT:`.`,HASH:`#`,NON_ADJACENT_SIBLING:`~`,PSEUDO:`:`},i=/[a-zA-Z]/,a=`:not(`,o=/[\s,(>~+]/;function s(e){var t=[0,0,0],a,s,l,u,d=0,f,p=!1,m=!1,h,g;for(h=0,g=e.length;h<g;h++){if(a=e[h],!s)if(a==n.SINGLE_QUOTE&&!u&&!l)l=!0;else if(a==n.SINGLE_QUOTE&&!u&&l)l=!1;else if(a==n.DOUBLE_QUOTE&&!u&&!l)u=!0;else if(a==n.DOUBLE_QUOTE&&u&&!l)u=!1;else if(l||u)continue;else d>0&&!p||(a==n.OPEN_ROUND_BRACKET?d++:a==n.CLOSE_ROUND_BRACKET&&d==1?(d--,p=!1):a==n.CLOSE_ROUND_BRACKET?d--:a==r.HASH?t[0]++:a==r.DOT||a==n.OPEN_SQUARE_BRACKET?t[1]++:a==r.PSEUDO&&!m&&!c(e,h)?(t[1]++,p=!1):a==r.PSEUDO?p=!0:(h===0||f)&&i.test(a)&&t[2]++);s=a==n.BACK_SLASH,m=a==r.PSEUDO,f=!s&&o.test(a)}return t}function c(e,t){return e.indexOf(a,t)===t}t.exports=s})),PC=I(((e,t)=>{var n=NC();function r(e,t,n){var r,a,o,s,c,l;for(o=0,s=e.length;o<s;o++)for(r=i(e[o][1],n),c=0,l=t.length;c<l;c++)if(a=i(t[c][1],n),r[0]===a[0]&&r[1]===a[1]&&r[2]===a[2])return!0;return!1}function i(e,t){var r;return e in t||(t[e]=r=n(e)),r||t[e]}t.exports=r})),FC=I(((e,t)=>{var n=MC(),r=PC(),i=/align-items|box-align|box-pack|flex|justify/,a=/^border-(top|right|bottom|left|color|style|width|radius)/;function o(e,t,n){for(var r=t.length-1;r>=0;r--)for(var i=e.length-1;i>=0;i--)if(!s(e[i],t[r],n))return!1;return!0}function s(e,t,o){var s=e[0],h=e[1],g=e[2],_=e[5],v=e[6],y=t[0],b=t[1],x=t[2],S=t[5],C=t[6];return s==`font`&&y==`line-height`||y==`font`&&s==`line-height`||i.test(s)&&i.test(y)||g==x&&l(s)==l(y)&&c(s)^c(y)||g==`border`&&a.test(x)&&(s==`border`||s==x||h!=b&&u(s,y))||x==`border`&&a.test(g)&&(y==`border`||y==g||h!=b&&u(s,y))||g==`border`&&x==`border`&&s!=y&&(d(s)&&f(y)||f(s)&&d(y))?!1:!!(g!=x||s==y&&g==x&&(h==b||p(h,b))||s!=y&&g==x&&s!=g&&y!=x||s!=y&&g==x&&h==b||C&&v&&!m(g)&&!m(x)&&!n(S,_,!1)||!r(_,S,o))}function c(e){return/^-(?:moz|webkit|ms|o)-/.test(e)}function l(e){return e.replace(/^-(?:moz|webkit|ms|o)-/,``)}function u(e,t){return e.split(`-`).pop()==t.split(`-`).pop()}function d(e){return e==`border-top`||e==`border-right`||e==`border-bottom`||e==`border-left`}function f(e){return e==`border-color`||e==`border-style`||e==`border-width`}function p(e,t){return c(e)&&c(t)&&e.split(`-`)[1]!=t.split(`-`)[2]}function m(e){return e==`font`||e==`line-height`||e==`list-style`}t.exports={canReorder:o,canReorderSingle:s}})),IC=I(((e,t)=>{var n=kS(),r=hC().rules,i=hC().value;function a(e){var t=[],s,c,l,u,d,f;if(e[0]==n.RULE)for(s=!/[.+>~]/.test(r(e[1])),d=0,f=e[2].length;d<f;d++)c=e[2][d],c[0]==n.PROPERTY&&(l=c[1][1],l.length!==0&&(u=i(c,d),t.push([l,u,o(l),e[2][d],l+`:`+u,e[1],s])));else if(e[0]==n.NESTED_BLOCK)for(d=0,f=e[2].length;d<f;d++)t=t.concat(a(e[2][d]));return t}function o(e){return e==`list-style`?e:e.indexOf(`-radius`)>0?`border-radius`:e==`border-collapse`||e==`border-spacing`||e==`border-image`?e:e.indexOf(`border-`)===0&&/^border-\w+-\w+$/.test(e)?e.match(/border-\w+/)[0]:e.indexOf(`border-`)===0&&/^border-\w+$/.test(e)?`border`:e.indexOf(`text-`)===0||e==`-chrome-`?e:e.replace(/^-\w+-/,``).match(/([a-zA-Z]+)/)[0].toLowerCase()}t.exports=a})),LC=I(((e,t)=>{var n=FC().canReorder,r=FC().canReorderSingle,i=IC(),a=MC(),o=hC().rules,s=zS().OptimizationLevel,c=kS();function l(e,t){for(var r=t.options.level[s.Two].mergeSemantically,a=t.cache.specificity,l={},d=[],f=e.length-1;f>=0;f--){var p=e[f];if(p[0]==c.NESTED_BLOCK){var m=o(p[1]),h=l[m];h||(h=[],l[m]=h),h.push(f)}}for(var g in l){var _=l[g];positionLoop:for(var v=_.length-1;v>0;v--){var y=_[v],b=e[y],x=_[v-1],S=e[x];directionLoop:for(var C=1;C>=-1;C-=2){for(var w=C==1,T=w?y+1:x-1,E=w?x:y,D=w?1:-1,O=w?b:S,k=w?S:b,A=i(O);T!=E;){var j=i(e[T]);if(T+=D,!(r&&u(A,j,a))&&!n(A,j,a))continue directionLoop}k[2]=w?O[2].concat(k[2]):k[2].concat(O[2]),O[2]=[],d.push(k);continue positionLoop}}}return d}function u(e,t,n){var i,o,s,c,l,u,d,f;for(l=0,u=e.length;l<u;l++)for(i=e[l],o=i[5],d=0,f=t.length;d<f;d++)if(s=t[d],c=s[5],a(o,c,!0)&&!r(i,s,n))return!1;return!0}t.exports=l})),RC=I(((e,t)=>{var n=_C(),r=vS(),i=CS(),a=zS().OptimizationLevel,o=hC().body,s=hC().rules,c=kS();function l(e){return/\.|\*| :/.test(e)}function u(e){var t=s(e[1]);return t.indexOf(`__`)>-1||t.indexOf(`--`)>-1}function d(e){return e.replace(/--[^ ,>+~:]+/g,``)}function f(e,t){var n=d(s(e[1]));for(var r in t){var i=t[r],a=d(s(i[1]));(a.indexOf(n)>-1||n.indexOf(a)>-1)&&delete t[r]}}function p(e,t){for(var d=t.options,p=d.level[a.Two].mergeSemantically,m=d.compatibility.selectors.adjacentSpace,h=d.level[a.One].selectorsSortingMethod,g=d.compatibility.selectors.mergeablePseudoClasses,_=d.compatibility.selectors.mergeablePseudoElements,v=d.compatibility.selectors.multiplePseudoMerging,y={},b=e.length-1;b>=0;b--){var x=e[b];if(x[0]==c.RULE){x[2].length>0&&!p&&l(s(x[1]))&&(y={}),x[2].length>0&&p&&u(x)&&f(x,y);var S=o(x[2]),C=y[S];C&&n(s(x[1]),g,_,v)&&n(s(C[1]),g,_,v)&&(x[2].length>0?(x[1]=i(C[1].concat(x[1]),!1,m,!1,t.warnings),x[1]=x[1].length>1?r(x[1],h):x[1]):x[1]=C[1].concat(x[1]),C[2]=[],y[S]=null),y[o(x[2])]=x}}}t.exports=p})),zC=I(((e,t)=>{var n=FC().canReorder,r=IC(),i=AC(),a=hC().rules,o=kS();function s(e,t){var s=t.cache.specificity,c={},l=[],u;for(u=e.length-1;u>=0;u--)if(e[u][0]==o.RULE&&e[u][2].length!==0){var d=a(e[u][1]);c[d]=[u].concat(c[d]||[]),c[d].length==2&&l.push(d)}for(u=l.length-1;u>=0;u--){var f=c[l[u]];selectorIterator:for(var p=f.length-1;p>0;p--){var m=f[p-1],h=e[m],g=f[p],_=e[g];directionIterator:for(var v=1;v>=-1;v-=2){for(var y=v==1,b=y?m+1:g-1,x=y?g:m,S=y?1:-1,C=y?h:_,w=y?_:h,T=r(C);b!=x;){var E=r(e[b]);b+=S;var D=y?n(T,E,s):n(E,T,s);if(!D&&!y)continue selectorIterator;if(!D&&y)continue directionIterator}y?(Array.prototype.push.apply(C[2],w[2]),w[2]=C[2]):Array.prototype.push.apply(w[2],C[2]),i(w[2],!0,!0,t),C[2]=[]}}}}t.exports=s})),BC=I(((e,t)=>{function n(e){for(var t=e.slice(0),r=0,i=t.length;r<i;r++)Array.isArray(t[r])&&(t[r]=n(t[r]));return t}t.exports=n})),VC=I(((e,t)=>{var n=_C(),r=AC(),i=BC(),a=kS(),o=hC().body,s=hC().rules;function c(e,t){for(var r=t.options,i=r.compatibility.selectors.mergeablePseudoClasses,o=r.compatibility.selectors.mergeablePseudoElements,c=r.compatibility.selectors.multiplePseudoMerging,f={},p=[],m=e.length-1;m>=0;m--){var h=e[m];if(h[0]==a.RULE&&h[2].length!==0)for(var g=s(h[1]),_=h[1].length>1&&n(g,i,o,c),v=l(h[1]),y=_?[g].concat(v):[g],b=0,x=y.length;b<x;b++){var S=y[b];f[S]?p.push(S):f[S]=[],f[S].push({where:m,list:v,isPartial:_&&b>0,isComplex:_&&b===0})}}u(e,p,f,r,t),d(e,f,r,t)}function l(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function u(e,t,n,r,i){function a(e,t){return l[e].isPartial&&t.length===0}function o(e,t,n,r){l[n-r-1].isPartial||(e[2]=t)}for(var s=0,c=t.length;s<c;s++){var l=n[t[s]];f(e,l,{filterOut:a,callback:o},r,i)}}function d(e,t,r,i){var a=r.compatibility.selectors.mergeablePseudoClasses,s=r.compatibility.selectors.mergeablePseudoElements,c=r.compatibility.selectors.multiplePseudoMerging,l={};function u(e){return l.data[e].where<l.intoPosition}function d(e,t,n,r){r===0&&l.reducedBodies.push(t)}allSelectors:for(var p in t){var m=t[p];if(m[0].isComplex){var h=m[m.length-1].where,g=e[h],_=[],v=n(p,a,s,c)?m[0].list:[p];l.intoPosition=h,l.reducedBodies=_;for(var y=0,b=v.length;y<b;y++){var x=t[v[y]];if(x.length<2||(l.data=x,f(e,x,{filterOut:u,callback:d},r,i),o(_[_.length-1])!=o(_[0])))continue allSelectors}g[2]=_[0]}}}function f(e,t,n,a,o){for(var s=[],c=[],l=[],u=t.length-1;u>=0;u--)if(!n.filterOut(u,s)){var d=t[u].where,f=e[d],p=i(f[2]);s=s.concat(p),c.push(p),l.push(d)}r(s,!0,!1,o);for(var m=l.length,h=s.length-1,g=m-1;g>=0;){if((g===0||s[h]&&c[g].indexOf(s[h])>-1)&&h>-1){h--;continue}var _=s.splice(h+1);n.callback(e[l[g]],_,m,g),g--}}t.exports=c})),HC=I(((e,t)=>{var n=kS(),r=hC().all,i=`@font-face`;function a(e){var t=[],a,o,s,c;for(s=0,c=e.length;s<c;s++)a=e[s],!(a[0]!=n.AT_RULE_BLOCK&&a[1][0][1]!=i)&&(o=r([a]),t.indexOf(o)>-1?a[2]=[]:t.push(o))}t.exports=a})),UC=I(((e,t)=>{var n=kS(),r=hC().all,i=hC().rules;function a(e){var t={},a,o,s,c,l;for(c=0,l=e.length;c<l;c++)o=e[c],o[0]==n.NESTED_BLOCK&&(s=i(o[1])+`%`+r(o[2]),a=t[s],a&&(a[2]=[]),t[s]=o)}t.exports=a})),WC=I(((e,t)=>{var n=kS(),r=hC().body,i=hC().rules;function a(e){for(var t={},a=[],o,s,c,l,u=0,d=e.length;u<d;u++)s=e[u],s[0]==n.RULE&&(o=i(s[1]),t[o]&&t[o].length==1?a.push(o):t[o]=t[o]||[],t[o].push(u));for(u=0,d=a.length;u<d;u++){o=a[u],l=[];for(var f=t[o].length-1;f>=0;f--)s=e[t[o][f]],c=r(s[2]),l.indexOf(c)>-1?s[2]=[]:l.push(c)}}t.exports=a})),GC=I(((e,t)=>{var n=xC(),r=AS().single,i=OS(),a=kS(),o=/^(-moz-|-o-|-webkit-)?animation-name$/,s=/^(-moz-|-o-|-webkit-)?animation$/,c=/^@(-moz-|-o-|-webkit-)?keyframes /,l=/\s{0,31}!important$/,u=/^(['"]?)(.*)\1$/;function d(e){return e.replace(u,`$2`).replace(l,``)}function f(e,t){p(e,h,g,t),p(e,_,v,t),p(e,y,b,t),p(e,x,S,t)}function p(e,t,n,r){var i={},o,s,c,l,u,d;for(u=0,d=e.length;u<d;u++)t(e[u],i);if(Object.keys(i).length!==0)for(o in m(e,n,i,r),i)for(s=i[o],u=0,d=s.length;u<d;u++)c=s[u],l=c[0]==a.AT_RULE?1:2,c[l]=[]}function m(e,t,n,r){var i=t(n),o,s;for(o=0,s=e.length;o<s;o++)switch(e[o][0]){case a.RULE:i(e[o],r);break;case a.NESTED_BLOCK:m(e[o][2],t,n,r)}}function h(e,t){var n;e[0]==a.AT_RULE_BLOCK&&e[1][0][1].indexOf(`@counter-style`)===0&&(n=e[1][0][1].split(` `)[1],t[n]=t[n]||[],t[n].push(e))}function g(e){return function(t,a){var o,s,c,l;for(c=0,l=t[2].length;c<l;c++)o=t[2][c],o[1][1]==`list-style`&&(s=r(o),n([s],a.validator,a.warnings),s.components[0].value[0][1]in e&&delete e[o[2][1]],i([s])),o[1][1]==`list-style-type`&&o[2][1]in e&&delete e[o[2][1]]}}function _(e,t){var n,r,i,o;if(e[0]==a.AT_RULE_BLOCK&&e[1][0][1]==`@font-face`){for(i=0,o=e[2].length;i<o;i++)if(n=e[2][i],n[1][1]==`font-family`){r=d(n[2][1].toLowerCase()),t[r]=t[r]||[],t[r].push(e);break}}}function v(e){return function(t,a){var o,s,c,l,u,f,p,m;for(u=0,f=t[2].length;u<f;u++){if(o=t[2][u],o[1][1]==`font`){for(s=r(o),n([s],a.validator,a.warnings),c=s.components[6],p=0,m=c.value.length;p<m;p++)l=d(c.value[p][1].toLowerCase()),l in e&&delete e[l];i([s])}if(o[1][1]==`font-family`)for(p=2,m=o.length;p<m;p++)l=d(o[p][1].toLowerCase()),l in e&&delete e[l]}}}function y(e,t){var n;e[0]==a.NESTED_BLOCK&&c.test(e[1][0][1])&&(n=e[1][0][1].split(` `)[1],t[n]=t[n]||[],t[n].push(e))}function b(e){return function(t,a){var c,l,u,d,f,p,m;for(d=0,f=t[2].length;d<f;d++){if(c=t[2][d],s.test(c[1][1])){for(l=r(c),n([l],a.validator,a.warnings),u=l.components[7],p=0,m=u.value.length;p<m;p++)u.value[p][1]in e&&delete e[u.value[p][1]];i([l])}if(o.test(c[1][1]))for(p=2,m=c.length;p<m;p++)c[p][1]in e&&delete e[c[p][1]]}}}function x(e,t){var n;e[0]==a.AT_RULE&&e[1].indexOf(`@namespace`)===0&&(n=e[1].split(` `)[1],t[n]=t[n]||[],t[n].push(e))}function S(e){var t=RegExp(Object.keys(e).join(`\\||`)+`\\|`,`g`);return function(n){var r,i,a,o,s,c,l;for(o=0,s=n[1].length;o<s;o++)for(i=n[1][o],r=i[1].match(t),c=0,l=r.length;c<l;c++)a=r[c].substring(0,r[c].length-1),a in e&&delete e[a]}}t.exports=f})),KC=I(((e,t)=>{function n(e,t){return e[1]>t[1]?1:-1}function r(e){for(var t=[],r=[],i=0,a=e.length;i<a;i++){var o=e[i];r.indexOf(o[1])==-1&&(r.push(o[1]),t.push(o))}return t.sort(n)}t.exports=r})),qC=I(((e,t)=>{var n=FC().canReorderSingle,r=IC(),i=_C(),a=KC(),o=kS(),s=BC(),c=hC().body,l=hC().rules;function u(e,t){return e>t?1:-1}function d(e,t){var n=s(e);return n[5]=n[5].concat(t[5]),n}function f(e,t){var s=t.options,f=s.compatibility.selectors.mergeablePseudoClasses,p=s.compatibility.selectors.mergeablePseudoElements,m=s.compatibility.selectors.mergeLimit,h=s.compatibility.selectors.multiplePseudoMerging,g=t.cache.specificity,_={},v=[],y={},b=[],x=2,S=`%`;function C(e,t,n){for(var r=n.length-1;r>=0;r--){var i=n[r][0],a=w(t,i);if(y[a].length>1&&M(e,y[a])){T(a);break}}}function w(e,t){var n=E(t);return y[n]=y[n]||[],y[n].push([e,t]),n}function T(e){var t=e.split(S),n=[],r;for(var i in y){var a=i.split(S);for(r=a.length-1;r>=0;r--)if(t.indexOf(a[r])>-1){n.push(i);break}}for(r=n.length-1;r>=0;r--)delete y[n[r]]}function E(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(l(e[n][1]));return t.join(S)}function D(e){for(var t=[],n=[],r=e.length-1;r>=0;r--)i(l(e[r][1]),f,p,h)&&(n.unshift(e[r]),e[r][2].length>0&&t.indexOf(e[r])==-1&&t.push(e[r]));return t.length>1?n:[]}function O(e,t){var n=t[0],r=t[1],i=t[4],o=n.length+r.length+1,s=[],c=[],l=D(_[i]);if(!(l.length<2)){var u=A(l,o,1),d=u[0];if(d[1]>0)return C(e,t,u);for(var f=d[0].length-1;f>=0;f--)s=d[0][f][1].concat(s),c.unshift(d[0][f]);s=a(s),te(e,[t],s,c)}}function k(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function A(e,t,n){return j(e,t,n,x-1).sort(k)}function j(e,t,n,r){var i=[[e,ee(e,t,n)]];if(e.length>2&&r>0)for(var a=e.length-1;a>=0;a--){var o=Array.prototype.slice.call(e,0);o.splice(a,1),i=i.concat(j(o,t,n,r-1))}return i}function ee(e,t,n){for(var r=0,i=e.length-1;i>=0;i--)r+=e[i][2].length>n?l(e[i][1]).length:-1;return r-(e.length-1)*t+1}function te(t,n,r,i){var a,s,l,u,d=[];for(a=i.length-1;a>=0;a--){var f=i[a];for(s=f[2].length-1;s>=0;s--){var p=f[2][s];for(l=0,u=n.length;l<u;l++){var m=n[l],h=p[1][1],g=m[0],_=m[4];if(h==g&&c([p])==_){f[2].splice(s,1);break}}}}for(a=n.length-1;a>=0;a--)d.unshift(n[a][3]);var v=[o.RULE,r,d];e.splice(t,0,v)}function ne(e,t){var n=_[t[4]];n&&n.length>1&&(re(e,t)||O(e,t))}function re(e,t){var n=[],r=[],i=t[4],a,o,s=D(_[i]);if(!(s.length<2)){movableLoop:for(var c in _){var l=_[c];for(a=s.length-1;a>=0;a--)if(l.indexOf(s[a])==-1)continue movableLoop;n.push(c)}if(n.length<2)return!1;for(a=n.length-1;a>=0;a--)for(o=v.length-1;o>=0;o--)if(v[o][4]==n[a]){r.unshift([v[o],s]);break}return M(e,r)}}function M(e,t){for(var n=0,r=[],i,o=t.length-1;o>=0;o--){i=t[o][0];var s=i[4];n+=s.length+(o>0?1:0),r.push(i)}var c=t[0][1],l=A(c,n,r.length)[0];if(l[1]>0)return!1;var u=[],d=[];for(o=l[0].length-1;o>=0;o--)u=l[0][o][1].concat(u),d.unshift(l[0][o]);for(u=a(u),te(e,r,u,d),o=r.length-1;o>=0;o--){i=r[o];var f=v.indexOf(i);delete _[i[4]],f>-1&&b.indexOf(f)==-1&&b.push(f)}return!0}function ie(e,t,n){if(e[0]!=t[0])return!1;var r=_[t[4]];return r&&r.indexOf(n)>-1}for(var ae=e.length-1;ae>=0;ae--){var N=e[ae],oe,P,F,se,ce;if(N[0]==o.RULE)oe=!0;else if(N[0]==o.NESTED_BLOCK)oe=!1;else continue;var le=v.length,ue=r(N);b=[];var de=[];for(P=ue.length-1;P>=0;P--)for(F=P-1;F>=0;F--)if(!n(ue[P],ue[F],g)){de.push(P);break}for(P=ue.length-1;P>=0;P--){var I=ue[P],fe=!1;for(F=0;F<le;F++){var pe=v[F];b.indexOf(F)==-1&&(!n(I,pe,g)&&!ie(I,pe,N)||_[pe[4]]&&_[pe[4]].length===m)&&(ne(ae+1,pe),b.indexOf(F)==-1&&(b.push(F),delete _[pe[4]])),fe||(fe=I[0]==pe[0]&&I[1]==pe[1],fe&&(ce=F))}if(!(!oe||de.indexOf(P)>-1)){var L=I[4];fe&&v[ce][5].length+I[5].length>m?(ne(ae+1,v[ce]),v.splice(ce,1),_[L]=[N],fe=!1):(_[L]=_[L]||[],_[L].push(N)),fe?v[ce]=d(v[ce],I):v.push(I)}}for(b=b.sort(u),P=0,se=b.length;P<se;P++){var R=b[P]-P;v.splice(R,1)}}for(var z=e[0]&&e[0][0]==o.AT_RULE&&e[0][1].indexOf(`@charset`)===0?1:0;z<e.length-1;z++){var me=e[z][0]===o.AT_RULE&&e[z][1].indexOf(`@import`)===0,he=e[z][0]===o.COMMENT;if(!(me||he))break}for(ae=0;ae<v.length;ae++)ne(z,v[ae])}t.exports=f})),JC=I(((e,t)=>{var n=jC(),r=LC(),i=RC(),a=zC(),o=VC(),s=HC(),c=UC(),l=WC(),u=GC(),d=qC(),f=AC(),p=zS().OptimizationLevel,m=kS();function h(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=!1;switch(r[0]){case m.RULE:i=r[1].length===0||r[2].length===0;break;case m.NESTED_BLOCK:h(r[2]),i=r[2].length===0;break;case m.AT_RULE:i=r[1].length===0;break;case m.AT_RULE_BLOCK:i=r[2].length===0}i&&(e.splice(t,1),t--,n--)}}function g(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i[0]==m.NESTED_BLOCK){var a=/@(-moz-|-o-|-webkit-)?keyframes/.test(i[1][0][1]);v(i[2],t,!a)}}}function _(e,t){for(var n=0,r=e.length;n<r;n++){var i=e[n];switch(i[0]){case m.RULE:f(i[2],!0,!0,t);break;case m.NESTED_BLOCK:_(i[2],t)}}}function v(e,t,f){var m=t.options.level[p.Two],y=t.options.plugins.level2Block,b,x;if(g(e,t),_(e,t),m.removeDuplicateRules&&l(e,t),m.mergeAdjacentRules&&n(e,t),m.reduceNonAdjacentRules&&o(e,t),m.mergeNonAdjacentRules&&m.mergeNonAdjacentRules!=`body`&&a(e,t),m.mergeNonAdjacentRules&&m.mergeNonAdjacentRules!=`selector`&&i(e,t),m.restructureRules&&m.mergeAdjacentRules&&f&&(d(e,t),n(e,t)),m.restructureRules&&!m.mergeAdjacentRules&&f&&d(e,t),m.removeDuplicateFontRules&&s(e,t),m.removeDuplicateMediaBlocks&&c(e,t),m.removeUnusedAtRules&&u(e,t),m.mergeMedia)for(b=r(e,t),x=b.length-1;x>=0;x--)v(b[x][2],t,!1);for(x=0;x<y.length;x++)y[x](e);return m.removeEmpty&&h(e),e}t.exports=v})),YC=I(((e,t)=>{var n=`[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)`,r=`\\-(\\-|[A-Z]|[0-9])+\\(.*?\\)`,i=`var\\(\\-\\-[^\\)]+\\)`,a=`(`+i+`|`+n+`|`+r+`)`,o=RegExp(`^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$`,`i`),s=/[0-9]/,c=RegExp(`^`+a+`$`,`i`),l=/^#(?:[0-9a-f]{4}|[0-9a-f]{8})$/i,u=/^hsl\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\.?\d+\s{0,31}\)$/,d=/^hsl\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{1,31}\/\s{1,31}\d*\.?\d+%?\s{0,31}\)$/,f=/^(-[a-z0-9_][a-z0-9\-_]*|[a-z_][a-z0-9\-_]*)$/i,p=/^[a-z]+$/i,m=/^-([a-z0-9]|-)*$/i,h=/^("[^"]*"|'[^']*')$/i,g=/^rgb\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[.\d]+\s{0,31}\)$/i,_=/^rgb\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}\/\s{1,31}[\d]*\.?[.\d]+%?\s{0,31}\)$/i,v=/\d+(s|ms)/,y=/^(cubic-bezier|steps)\([^)]+\)$/,b=[`ms`,`s`],x=/^url\([\s\S]+\)$/i,S=RegExp(`^`+i+`$`,`i`),C=/^#[0-9a-f]{8}$/i,w=/^#[0-9a-f]{4}$/i,T=/^#[0-9a-f]{6}$/i,E=/^#[0-9a-f]{3}$/i,D=`.`,O=`-`,k=`+`,A={"^":[`inherit`,`initial`,`unset`],"*-style":[`auto`,`dashed`,`dotted`,`double`,`groove`,`hidden`,`inset`,`none`,`outset`,`ridge`,`solid`],"*-timing-function":[`ease`,`ease-in`,`ease-in-out`,`ease-out`,`linear`,`step-end`,`step-start`],"animation-direction":[`alternate`,`alternate-reverse`,`normal`,`reverse`],"animation-fill-mode":[`backwards`,`both`,`forwards`,`none`],"animation-iteration-count":[`infinite`],"animation-name":[`none`],"animation-play-state":[`paused`,`running`],"background-attachment":[`fixed`,`inherit`,`local`,`scroll`],"background-clip":[`border-box`,`content-box`,`inherit`,`padding-box`,`text`],"background-origin":[`border-box`,`content-box`,`inherit`,`padding-box`],"background-position":[`bottom`,`center`,`left`,`right`,`top`],"background-repeat":[`no-repeat`,`inherit`,`repeat`,`repeat-x`,`repeat-y`,`round`,`space`],"background-size":[`auto`,`cover`,`contain`],"border-collapse":[`collapse`,`inherit`,`separate`],bottom:[`auto`],clear:[`both`,`left`,`none`,`right`],color:[`transparent`],cursor:[`all-scroll`,`auto`,`col-resize`,`crosshair`,`default`,`e-resize`,`help`,`move`,`n-resize`,`ne-resize`,`no-drop`,`not-allowed`,`nw-resize`,`pointer`,`progress`,`row-resize`,`s-resize`,`se-resize`,`sw-resize`,`text`,`vertical-text`,`w-resize`,`wait`],display:[`block`,`inline`,`inline-block`,`inline-table`,`list-item`,`none`,`table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row`,`table-row-group`],float:[`left`,`none`,`right`],left:[`auto`],font:[`caption`,`icon`,`menu`,`message-box`,`small-caption`,`status-bar`,`unset`],"font-size":[`large`,`larger`,`medium`,`small`,`smaller`,`x-large`,`x-small`,`xx-large`,`xx-small`],"font-stretch":[`condensed`,`expanded`,`extra-condensed`,`extra-expanded`,`normal`,`semi-condensed`,`semi-expanded`,`ultra-condensed`,`ultra-expanded`],"font-style":[`italic`,`normal`,`oblique`],"font-variant":[`normal`,`small-caps`],"font-weight":[`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`,`bold`,`bolder`,`lighter`,`normal`],"line-height":[`normal`],"list-style-position":[`inside`,`outside`],"list-style-type":[`armenian`,`circle`,`decimal`,`decimal-leading-zero`,`disc`,`decimal|disc`,`georgian`,`lower-alpha`,`lower-greek`,`lower-latin`,`lower-roman`,`none`,`square`,`upper-alpha`,`upper-latin`,`upper-roman`],overflow:[`auto`,`hidden`,`scroll`,`visible`],position:[`absolute`,`fixed`,`relative`,`static`],right:[`auto`],"text-align":[`center`,`justify`,`left`,`left|right`,`right`],"text-decoration":[`line-through`,`none`,`overline`,`underline`],"text-overflow":[`clip`,`ellipsis`],top:[`auto`],"vertical-align":[`baseline`,`bottom`,`middle`,`sub`,`super`,`text-bottom`,`text-top`,`top`],visibility:[`collapse`,`hidden`,`visible`],"white-space":[`normal`,`nowrap`,`pre`],width:[`inherit`,`initial`,`medium`,`thick`,`thin`]},j=[`%`,`ch`,`cm`,`em`,`ex`,`in`,`mm`,`pc`,`pt`,`px`,`rem`,`vh`,`vm`,`vmax`,`vmin`,`vw`];function ee(e){return e!=`auto`&&(F(`color`)(e)||M(e)||te(e)||se(e))}function te(e){return le(e)||ie(e)}function ne(e){return o.test(e)}function re(e){return c.test(e)}function M(e){return E.test(e)||w.test(e)||T.test(e)||C.test(e)}function ie(e){return u.test(e)||d.test(e)}function ae(e){return l.test(e)}function N(e){return f.test(e)}function oe(e){return h.test(e)}function P(e){return e==`none`||e==`inherit`||z(e)}function F(e){return function(t){return A[e].indexOf(t)>-1}}function se(e){return p.test(e)}function ce(e){return he(e)==e.length}function le(e){return g.test(e)||_.test(e)}function ue(e){return m.test(e)}function de(e){return ce(e)&&parseFloat(e)>=0}function I(e){return S.test(e)}function fe(e){var t=he(e);return t==e.length&&parseInt(e)===0||t>-1&&b.indexOf(e.slice(t+1))>-1||pe(e)}function pe(e){return re(e)&&v.test(e)}function L(){var e=F(`*-timing-function`);return function(t){return e(t)||y.test(t)}}function R(e,t){var n=he(t);return n==t.length&&parseInt(t)===0||n>-1&&e.indexOf(t.slice(n+1).toLowerCase())>-1||t==`auto`||t==`inherit`}function z(e){return x.test(e)}function me(e){return e==`auto`||ce(e)||F(`^`)(e)}function he(e){var t=!1,n=!1,r,i,a;for(i=0,a=e.length;i<a;i++)if(r=e[i],i===0&&(r==k||r==O))n=!0;else if(i>0&&n&&(r==k||r==O))return i-1;else if(r==D&&!t)t=!0;else if(r==D&&t)return i-1;else if(s.test(r))continue;else return i-1;return i}function ge(e){var t=j.slice(0).filter(function(t){return!(t in e.units)||e.units[t]===!0});return e.customUnits.rpx&&t.push(`rpx`),{colorOpacity:e.colors.opacity,colorHexAlpha:e.colors.hexAlpha,isAnimationDirectionKeyword:F(`animation-direction`),isAnimationFillModeKeyword:F(`animation-fill-mode`),isAnimationIterationCountKeyword:F(`animation-iteration-count`),isAnimationNameKeyword:F(`animation-name`),isAnimationPlayStateKeyword:F(`animation-play-state`),isTimingFunction:L(),isBackgroundAttachmentKeyword:F(`background-attachment`),isBackgroundClipKeyword:F(`background-clip`),isBackgroundOriginKeyword:F(`background-origin`),isBackgroundPositionKeyword:F(`background-position`),isBackgroundRepeatKeyword:F(`background-repeat`),isBackgroundSizeKeyword:F(`background-size`),isColor:ee,isColorFunction:te,isDynamicUnit:ne,isFontKeyword:F(`font`),isFontSizeKeyword:F(`font-size`),isFontStretchKeyword:F(`font-stretch`),isFontStyleKeyword:F(`font-style`),isFontVariantKeyword:F(`font-variant`),isFontWeightKeyword:F(`font-weight`),isFunction:re,isGlobal:F(`^`),isHexAlphaColor:ae,isHslColor:ie,isIdentifier:N,isImage:P,isKeyword:F,isLineHeightKeyword:F(`line-height`),isListStylePositionKeyword:F(`list-style-position`),isListStyleTypeKeyword:F(`list-style-type`),isNumber:ce,isPrefixed:ue,isPositiveNumber:de,isQuotedText:oe,isRgbColor:le,isStyleKeyword:F(`*-style`),isTime:fe,isUnit:R.bind(null,t),isUrl:z,isVariable:I,isWidth:F(`width`),isZIndex:me}}t.exports=ge})),XC=I(((e,t)=>{var n={"*":{colors:{hexAlpha:!1,opacity:!0},customUnits:{rpx:!1},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!0,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:`:active.:after.:before.:empty.:checked.:disabled.:empty.:enabled.:first-child.:first-letter.:first-line.:first-of-type.:focus.:hover.:lang.:last-child.:last-of-type.:link.:not.:nth-child.:nth-last-child.:nth-last-of-type.:nth-of-type.:only-child.:only-of-type.:root.:target.:visited`.split(`.`),mergeablePseudoElements:[`::after`,`::before`,`::first-letter`,`::first-line`],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};n.ie11=i(n[`*`],{properties:{ieSuffixHack:!0}}),n.ie10=i(n[`*`],{properties:{ieSuffixHack:!0}}),n.ie9=i(n[`*`],{properties:{ieFilters:!0,ieSuffixHack:!0}}),n.ie8=i(n.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[`:after`,`:before`,`:first-child`,`:first-letter`,`:focus`,`:hover`,`:visited`],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}),n.ie7=i(n.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[`:first-child`,`:first-letter`,`:hover`,`:visited`]}});function r(e){return i(n[`*`],a(e))}function i(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];Object.prototype.hasOwnProperty.call(t,n)&&typeof r==`object`&&!Array.isArray(r)?t[n]=i(r,t[n]||{}):t[n]=n in t?t[n]:r}return t}function a(e){if(typeof e==`object`)return e;if(!/[,+-]/.test(e))return n[e]||n[`*`];var t=e.split(`,`),r=t[0]in n?n[t.shift()]:n[`*`];return e={},t.forEach(function(t){var n=t[0]==`+`,r=t.substring(1).split(`.`),i=r[0],a=r[1];e[i]=e[i]||{},e[i][a]=n}),i(r,e)}t.exports=r})),ZC=I(((e,t)=>{var n=/^http:\/\//;function r(e){return n.test(e)}t.exports=r})),QC=I(((e,t)=>{var n=/^https:\/\//;function r(e){return n.test(e)}t.exports=r})),$C=I(((e,t)=>{var n=R(`http`),r=R(`https`),i=R(`url`),a=ZC(),o=QC(),s=yS(),c=`http:`;function l(e,t,u,d){var f=t.protocol||t.hostname,p=!1,m=s(i.parse(e),t||{}),h;t.hostname!==void 0&&(m.protocol=t.protocol||c,m.path=m.href),h=f&&!o(f)||a(e)?n.get:r.get,h(m,function(n){var r=[],a;if(!p){if(n.statusCode<200||n.statusCode>399)return d(n.statusCode,null);if(n.statusCode>299)return a=i.resolve(e,n.headers.location),l(a,t,u,d);n.on(`data`,function(e){r.push(e.toString())}),n.on(`end`,function(){d(null,r.join(``))})}}).on(`error`,function(e){p||(p=!0,d(e.message,null))}).on(`timeout`,function(){p||(p=!0,d(`timeout`,null))}).setTimeout(u)}t.exports=l})),ew=I(((e,t)=>{var n=$C();function r(e){return e||n}t.exports=r})),tw=I(((e,t)=>{function n(e){return Array.isArray(e)?e:e===!1?[`none`]:e===void 0?[`local`]:e.split(`,`)}t.exports=n})),nw=I(((e,t)=>{var n=R(`url`),r=yS();function i(e){return r(a(process.env.HTTP_PROXY||process.env.http_proxy),e||{})}function a(e){return e?{hostname:n.parse(e).hostname,port:parseInt(n.parse(e).port)}:{}}t.exports=i})),rw=I(((e,t)=>{var n=5e3;function r(e){return e||n}t.exports=r})),iw=I(((e,t)=>{function n(e){var t={level1Value:[],level1Property:[],level2Block:[]};return e||=[],t.level1Value=e.map(function(e){return e.level1&&e.level1.value}).filter(function(e){return e!=null}),t.level1Property=e.map(function(e){return e.level1&&e.level1.property}).filter(function(e){return e!=null}),t.level2Block=e.map(function(e){return e.level2&&e.level2.block}).filter(function(e){return e!=null}),t}t.exports=n})),aw=I(((e,t)=>{function n(e,t){return t===void 0?e===void 0?!1:!!e:!0}t.exports=n})),ow=I(((e,t)=>{var n=R(`path`);function r(e){return e?n.resolve(e):process.cwd()}t.exports=r})),sw=I((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}})),cw=I((e=>{var t=sw(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),lw=I((e=>{function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;function o(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=n.split(/\/+/),c,l=0,u=s.length-1;u>=0;u--)c=s[u],c===`.`?s.splice(u,1):c===`..`?l++:l>0&&(c===``?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n}e.normalize=o;function s(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),s=i(e);if(s&&(e=s.path||`/`),n&&!n.scheme)return s&&(n.scheme=s.scheme),a(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var c=t.charAt(0)===`/`?t:o(e.replace(/\/+$/,``)+`/`+t);return s?(s.path=c,a(s)):c}e.join=s,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function c(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=c;var l=function(){return!(`__proto__`in Object.create(null))}();function u(e){return e}function d(e){return p(e)?`$`+e:e}e.toSetString=l?u:d;function f(e){return p(e)?e.slice(1):e}e.fromSetString=l?u:f;function p(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function m(e,t,n){var r=g(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:g(e.name,t.name)}e.compareByOriginalPositions=m;function h(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=g(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:g(e.name,t.name)}e.compareByGeneratedPositionsDeflated=h;function g(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function _(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=g(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:g(e.name,t.name)}e.compareByGeneratedPositionsInflated=_;function v(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=v;function y(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var c=r.path.lastIndexOf(`/`);c>=0&&(r.path=r.path.substring(0,c+1))}t=s(a(r),t)}return o(t)}e.computeSourceURL=y})),uw=I((e=>{var t=lw(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i})),dw=I((e=>{var t=lw();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r})),fw=I((e=>{var t=cw(),n=lw(),r=uw().ArraySet,i=dw().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e){var t=e.sourceRoot,r=new a({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(i.source=e.source,t!=null&&(i.source=n.relative(t,i.source)),i.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(i.name=e.name)),r.addMapping(i)}),e.sources.forEach(function(i){var a=i;t!==null&&(a=n.relative(t,i)),r._sources.has(a)||r._sources.add(a);var o=e.sourceContentFor(i);o!=null&&r.setSourceContent(i,o)}),r},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);this._skipValidation||this._validateMapping(t,r,i,a),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a})},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`)throw Error(`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`);if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw Error(`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r}))},a.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a})),pw=I((e=>{e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})),mw=I((e=>{function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return Math.round(e+Math.random()*(t-e))}function r(e,i,a,o){if(a<o){var s=n(a,o),c=a-1;t(e,s,o);for(var l=e[o],u=a;u<o;u++)i(e[u],l)<=0&&(c+=1,t(e,c,u));t(e,c+1,u);var d=c+1;r(e,i,a,d-1),r(e,i,d+1,o)}}e.quickSort=function(e,t){r(e,t,0,e.length-1)}})),hw=I((e=>{var t=lw(),n=pw(),r=uw().ArraySet,i=cw(),a=mw().quickSort;function o(e,n){var r=e;return typeof e==`string`&&(r=t.parseSourceMapInput(e)),r.sections==null?new s(r,n):new l(r,n)}o.fromSourceMap=function(e,t){return s.fromSourceMap(e,t)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,`_generatedMappings`,{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,`_originalMappings`,{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},o.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(e,n,r){var i=n||null,a=r||o.GENERATED_ORDER,s;switch(a){case o.GENERATED_ORDER:s=this._generatedMappings;break;case o.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}var c=this.sourceRoot;s.map(function(e){var n=e.source===null?null:this._sources.at(e.source);return n=t.computeSourceURL(c,n,this._sourceMapURL),{source:n,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}},this).forEach(e,i)},o.prototype.allGeneratedPositionsFor=function(e){var r=t.getArg(e,`line`),i={source:t.getArg(e,`source`),originalLine:r,originalColumn:t.getArg(e,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},e.SourceMapConsumer=o;function s(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),o=t.getArg(i,`sources`),s=t.getArg(i,`names`,[]),c=t.getArg(i,`sourceRoot`,null),l=t.getArg(i,`sourcesContent`,null),u=t.getArg(i,`mappings`),d=t.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=t.normalize(c),o=o.map(String).map(t.normalize).map(function(e){return c&&t.isAbsolute(c)&&t.isAbsolute(e)?t.relative(c,e):e}),this._names=r.fromArray(s.map(String),!0),this._sources=r.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return t.computeSourceURL(c,e,n)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=n,this.file=d}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.prototype._findSourceIndex=function(e){var n=e;if(this.sourceRoot!=null&&(n=t.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==e)return r;return-1},s.fromSourceMap=function(e,n){var i=Object.create(s.prototype),o=i._names=r.fromArray(e._names.toArray(),!0),l=i._sources=r.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(e){return t.computeSourceURL(i.sourceRoot,e,n)});for(var u=e._mappings.toArray().slice(),d=i.__generatedMappings=[],f=i.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new c;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=l.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=o.indexOf(h.name)),f.push(g)),d.push(g)}return a(i.__originalMappings,t.compareByOriginalPositions),i},s.prototype._version=3,Object.defineProperty(s.prototype,`sources`,{get:function(){return this._absoluteSources.slice()}});function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(e,n){for(var r=1,o=0,s=0,l=0,u=0,d=0,f=e.length,p=0,m={},h={},g=[],_=[],v,y,b,x,S;p<f;)if(e.charAt(p)===`;`)r++,p++,o=0;else if(e.charAt(p)===`,`)p++;else{for(v=new c,v.generatedLine=r,x=p;x<f&&!this._charIsMappingSeparator(e,x);x++);if(y=e.slice(p,x),b=m[y],b)p+=y.length;else{for(b=[];p<x;)i.decode(e,p,h),S=h.value,p=h.rest,b.push(S);if(b.length===2)throw Error(`Found a source, but no line and column`);if(b.length===3)throw Error(`Found a source and line, but no column`);m[y]=b}v.generatedColumn=o+b[0],o=v.generatedColumn,b.length>1&&(v.source=u+b[1],u+=b[1],v.originalLine=s+b[2],s=v.originalLine,v.originalLine+=1,v.originalColumn=l+b[3],l=v.originalColumn,b.length>4&&(v.name=d+b[4],d+=b[4])),_.push(v),typeof v.originalLine==`number`&&g.push(v)}a(_,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,a(g,t.compareByOriginalPositions),this.__originalMappings=g},s.prototype._findMapping=function(e,t,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return n.search(e,t,a,o)},s.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(e){var n={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,t.compareByGeneratedPositionsDeflated,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var a=t.getArg(i,`source`,null);a!==null&&(a=this._sources.at(a),a=t.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=t.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:a,line:t.getArg(i,`originalLine`,null),column:t.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},s.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=t.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=t.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},s.prototype.generatedPositionFor=function(e){var n=t.getArg(e,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:t.getArg(e,`line`),originalColumn:t.getArg(e,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:t.getArg(a,`generatedLine`,null),column:t.getArg(a,`generatedColumn`,null),lastColumn:t.getArg(a,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s;function l(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),s=t.getArg(i,`sections`);if(a!=this._version)throw Error(`Unsupported version: `+a);this._sources=new r,this._names=new r;var c={line:-1,column:0};this._sections=s.map(function(e){if(e.url)throw Error(`Support for url field in sections not implemented.`);var r=t.getArg(e,`offset`),i=t.getArg(r,`line`),a=t.getArg(r,`column`);if(i<c.line||i===c.line&&a<c.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return c=r,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new o(t.getArg(e,`map`),n)}})}l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,`sources`,{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),l.prototype.originalPositionFor=function(e){var r={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},i=n.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},l.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(t.getArg(e,`source`))!==-1){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},l.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=i.consumer._sources.at(c.source);l=t.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=l})),gw=I((e=>{var t=fw().SourceMapGenerator,n=lw(),r=/(\r?\n)/,i=10,a=`$$$isSourceNode$$$`;function o(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=i??null,this[a]=!0,r!=null&&this.add(r)}o.fromStringWithSourceMap=function(e,t,i){var a=new o,s=e.split(r),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return t.eachMapping(function(e){if(f!==null)if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}for(;u<e.generatedLine;)a.add(l()),u++;if(d<e.generatedColumn){var t=s[c]||``;a.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),a.add(s.splice(c).join(``))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);r!=null&&(i!=null&&(e=n.join(i,e)),a.setSourceContent(e,r))}),a;function p(e,t){if(e===null||e.source===void 0)a.add(t);else{var r=i?n.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[a]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[a]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[a]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},o.prototype.setSourceContent=function(e,t){this.sourceContents[n.toSetString(e)]=t},o.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(n.fromSetString(i[t]),this.sourceContents[i[t]])},o.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(e){var n={code:``,line:1,column:0},r=new t(e),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(r.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===i?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:n.code,map:r}},e.SourceNode=o})),_w=I((e=>{e.SourceMapGenerator=fw().SourceMapGenerator,e.SourceMapConsumer=hw().SourceMapConsumer,e.SourceNode=gw().SourceNode})),vw=I(((e,t)=>{var n=_w().SourceMapConsumer;function r(){var e={};return{all:i.bind(null,e),isTracking:a.bind(null,e),originalPositionFor:o.bind(null,e),track:c.bind(null,e)}}function i(e){return e}function a(e,t){return t in e}function o(e,t,n,r){for(var i=t[0],a=t[1],c=t[2],l={line:i,column:a+n},u;!u&&l.column>a;)l.column--,u=e[c].originalPositionFor(l);return!u||u.column<0?t:u.line===null&&i>1&&r>0?o(e,[i-1,a,c],n,r-1):u.line===null?t:s(u)}function s(e){return[e.line,e.column,e.source]}function c(e,t,r){e[t]=new n(r)}t.exports=r})),yw=I(((e,t)=>{var n=/^(\w+:\/\/|\/\/)/,r=/^file:\/\//;function i(e){return n.test(e)&&!r.test(e)}t.exports=i})),bw=I(((e,t)=>{var n=/^\/\//;function r(e){return!n.test(e)}t.exports=r})),xw=I(((e,t)=>{var n=R(`path`),r=R(`url`),i=yw(),a=bw(),o=`http:`;function s(e,t,i){var l,u,d=!t,f,p,m,h;if(i.length===0)return!1;for(t&&!a(e)&&(e=o+e),l=t?r.parse(e).host:e,u=t?e:n.resolve(e),h=0;h<i.length;h++)f=i[h],p=f[0]==`!`,m=f.substring(1),p&&t&&c(m)?d&&=!s(e,!0,[m]):p&&!t&&!c(m)?d&&=!s(e,!1,[m]):p?d&&=!0:f==`all`?d=!0:t&&f==`local`?d||=!1:t&&f==`remote`?d=!0:!t&&f==`remote`?d=!1:!t&&f==`local`||f===l||f===e||t&&u.indexOf(f)===0||!t&&u.indexOf(n.resolve(f))===0?d=!0:t==c(m)?d=!1:d&&=!0;return d}function c(e){return i(e)||r.parse(o+`//`+e).host==e}t.exports=s})),Sw=I(((e,t)=>{var n=/^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;function r(e){return n.exec(e)}t.exports=r})),Cw=I(((e,t)=>{var n=R(`path`);function r(e,t,r){var i=n.resolve(``),a=n.resolve(i,t),o=n.dirname(a);return e.sources=e.sources.map(function(e){return n.relative(r,n.resolve(o,e))}),e}t.exports=r})),ww=I(((e,t)=>{var n=R(`path`),r=R(`url`);function i(e,t){var i=n.dirname(t);return e.sources=e.sources.map(function(e){return r.resolve(i,e)}),e}t.exports=i})),Tw=I(((e,t)=>{var n=/^data:(\S{0,31}?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/;function r(e){return n.test(e)}t.exports=r})),Ew=I(((e,t)=>{var n=R(`fs`),r=R(`path`),i=xw(),a=Sw(),o=Cw(),s=ww(),c=kS(),l=bw(),u=Tw(),d=yw(),f=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function p(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?m(r):n(e)}function m(e){var t=[],n=h(e.sourceTokens[0]),r,i,a;for(a=e.sourceTokens.length;e.index<a;e.index++)if(i=e.sourceTokens[e.index],r=h(i),r!=n&&(t=[],n=r),t.push(i),e.processedTokens.push(i),i[0]==c.COMMENT&&f.test(i[1]))return g(i[1],r,t,e);return e.callback(e.processedTokens)}function h(e){var t,n;return e[0]==c.AT_RULE||e[0]==c.COMMENT||e[0]==c.RAW?n=e[2][0]:(t=e[1][0],n=t[2][0]),n[2]}function g(e,t,n,r){return _(e,r,function(e){return e&&(r.inputSourceMapTracker.track(t,e),x(n,r.inputSourceMapTracker)),r.index++,m(r)})}function _(e,t,n){var i=f.exec(e)[1],a,c,l;return u(i)?(c=v(i),n(c)):d(i)?y(i,t,function(e){var t;e?(t=JSON.parse(e),l=s(t,i),n(l)):n(null)}):(a=r.resolve(t.rebaseTo,i),c=b(a,t),c?(l=o(c,a,t.rebaseTo),n(l)):n(null))}function v(e){var t=a(e),n=t[2]?t[2].split(/[=;]/)[2]:`us-ascii`,r=t[3]?t[3].split(`;`)[1]:`utf8`,i=r==`utf8`?global.unescape(t[4]):t[4],o=Buffer.from(i,r);return o.charset=n,JSON.parse(o.toString())}function y(e,t,n){var r=i(e,!0,t.inline),a=!l(e);if(t.localOnly)return t.warnings.push(`Cannot fetch remote resource from "`+e+`" as no callback given.`),n(null);if(a)return t.warnings.push(`Cannot fetch "`+e+`" as no protocol given.`),n(null);if(!r)return t.warnings.push(`Cannot fetch "`+e+`" as resource is not allowed.`),n(null);t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,i){if(r)return t.warnings.push(`Missing source map at "`+e+`" - `+r),n(null);n(i)})}function b(e,t){var r=i(e,!1,t.inline),a;return!n.existsSync(e)||!n.statSync(e).isFile()?(t.warnings.push(`Ignoring local source map at "`+e+`" as resource is missing.`),null):r?n.statSync(e).size?(a=n.readFileSync(e,`utf-8`),JSON.parse(a)):(t.warnings.push(`Cannot fetch "`+e+`" as resource is empty.`),null):(t.warnings.push(`Cannot fetch "`+e+`" as resource is not allowed.`),null)}function x(e,t){var n,r,i;for(r=0,i=e.length;r<i;r++)switch(n=e[r],n[0]){case c.AT_RULE:S(n,t);break;case c.AT_RULE_BLOCK:x(n[1],t),x(n[2],t);break;case c.AT_RULE_BLOCK_SCOPE:S(n,t);break;case c.NESTED_BLOCK:x(n[1],t),x(n[2],t);break;case c.NESTED_BLOCK_SCOPE:S(n,t);break;case c.COMMENT:S(n,t);break;case c.PROPERTY:x(n,t);break;case c.PROPERTY_BLOCK:x(n[1],t);break;case c.PROPERTY_NAME:S(n,t);break;case c.PROPERTY_VALUE:S(n,t);break;case c.RULE:x(n[1],t),x(n[2],t);break;case c.RULE_SCOPE:S(n,t)}return e}function S(e,t){var n=e[1],r=e[2],i=[],a,o;for(a=0,o=r.length;a<o;a++)i.push(t.originalPositionFor(r[a],n.length));e[2]=i}t.exports=p})),Dw=I(((e,t)=>{var n=QS(),r=/^\(/,i=/\)$/,a=/^@import/i,o=/['"]\s{0,31}/,s=/\s{0,31}['"]/,c=/^url\(\s{0,31}/i,l=/\s{0,31}\)/i;function u(e){var t,u,d=n(e.replace(a,``).trim().replace(c,`(`).replace(l,`) `).replace(o,``).replace(s,``),` `);return t=d[0].replace(r,``).replace(i,``),u=d.slice(1).join(` `),[t,u]}t.exports=u})),Ow=I(((e,t)=>{var n=R(`fs`),r=R(`path`),i=xw(),a=bw(),o=yw();function s(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:c(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?l(n):t()}function c(e){var t={},n,r,i,a,o;for(i in e)for(n=e[i],a=0,o=n.sources.length;a<o;a++)r=n.sources[a],i=n.sourceContentFor(r,!0),t[r]=i;return t}function l(e){var t=Object.keys(e.uriToSource),n,r,i;for(i=t.length;e.index<i;e.index++)if(n=t[e.index],r=e.uriToSource[n],r)e.sourcesContent[n]=r;else return u(n,e);return e.callback()}function u(e,t){var n;return o(e)?d(e,t,function(n){return t.index++,t.sourcesContent[e]=n,l(t)}):(n=f(e,t),t.index++,t.sourcesContent[e]=n,l(t))}function d(e,t,n){var r=i(e,!0,t.inline),o=!a(e);if(t.localOnly)return t.warnings.push(`Cannot fetch remote resource from "`+e+`" as no callback given.`),n(null);if(o)return t.warnings.push(`Cannot fetch "`+e+`" as no protocol given.`),n(null);if(!r)return t.warnings.push(`Cannot fetch "`+e+`" as resource is not allowed.`),n(null);t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,i){r&&t.warnings.push(`Missing original source at "`+e+`" - `+r),n(i)})}function f(e,t){var a=i(e,!1,t.inline),o=r.resolve(t.rebaseTo,e);if(!n.existsSync(o)||!n.statSync(o).isFile())return t.warnings.push(`Ignoring local source map at "`+o+`" as resource is missing.`),null;if(!a)return t.warnings.push(`Cannot fetch "`+o+`" as resource is not allowed.`),null;var s=n.readFileSync(o,`utf8`);return s.charCodeAt(0)===65279&&(s=s.substring(1)),s}t.exports=s})),kw=I(((e,t)=>{var n=`/`,r=/\\/g;function i(e){return e.replace(r,n)}t.exports=i})),Aw=I(((e,t)=>{function n(e,t){return(`@import `+e+` `+t).trim()}t.exports=n})),jw=I(((e,t)=>{var n=R(`path`),r=R(`url`),i=Tw(),a=`"`,o=`'`,s=`url(`,c=`)`,l=/^[^\w\d]*\/\//,u=/^["']/,d=/["']$/,f=/[()]/,p=/^url\(/i,m=/\)$/,h=/\s/,g=process.platform==`win32`;function _(e,t){return!t||v(e)&&!x(t.toBase)||x(e)||y(e)||b(e)||i(e)?e:x(t.toBase)?r.resolve(t.toBase,e):t.absolute?w(S(e,t)):w(C(e,t))}function v(e){return n.isAbsolute(e)}function y(e){return e[0]==`#`}function b(e){return/^\w+:\w+/.test(e)}function x(e){return/^[^:]+?:\/\//.test(e)||l.test(e)}function S(e,t){return n.resolve(n.join(t.fromBase||``,e)).replace(t.toBase,``)}function C(e,t){return n.relative(t.toBase,n.join(t.fromBase||``,e))}function w(e){return g?e.replace(/\\/g,`/`):e}function T(e){return e.indexOf(o)>-1?a:e.indexOf(a)>-1||E(e)||D(e)?o:``}function E(e){return h.test(e)}function D(e){return f.test(e)}function O(e,t,n){var r=e.replace(p,``).replace(m,``).trim(),i=r.replace(u,``).replace(d,``).trim(),l=r[0]==o||r[0]==a?r[0]:T(i);return n?_(i,t):s+l+_(i,t)+l+c}t.exports=O})),Mw=I(((e,t)=>{var n=/^@import/i;function r(e){return n.test(e)}t.exports=r})),Nw=I(((e,t)=>{var n=Dw(),r=Aw(),i=jw(),a=kS(),o=Mw(),s=/^\/\*# sourceMappingURL=(\S+) \*\/$/;function c(e,t,n,r){return t?l(e,n,r):u(e,n,r)}function l(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)switch(r=e[i],r[0]){case a.AT_RULE:d(r,t,n);break;case a.AT_RULE_BLOCK:p(r[2],t,n);break;case a.COMMENT:f(r,n);break;case a.NESTED_BLOCK:l(r[2],t,n);break;case a.RULE:p(r[2],t,n);break}return e}function u(e,t,n){var r,i,o;for(i=0,o=e.length;i<o;i++)switch(r=e[i],r[0]){case a.AT_RULE:d(r,t,n);break}return e}function d(e,t,a){if(o(e[1])){var s=n(e[1]),c=i(s[0],a),l=s[1];e[1]=r(c,l)}}function f(e,t){var n=s.exec(e[1]);n&&n[1].indexOf(`data:`)===-1&&(e[1]=e[1].replace(n[1],i(n[1],t,!0)))}function p(e,t,n){var r,a,o,s,c,l;for(o=0,s=e.length;o<s;o++)for(r=e[o],c=2,l=r.length;c<l;c++)a=r[c][1],t.isUrl(a)&&(r[c][1]=i(a,n))}t.exports=c})),Pw=I(((e,t)=>{var n=xS(),r=kS(),i=SS(),a={BLOCK:`block`,COMMENT:`comment`,DOUBLE_QUOTE:`double-quote`,RULE:`rule`,SINGLE_QUOTE:`single-quote`},o=[`@charset`,`@import`],s=[`@-moz-document`,`@document`,`@-moz-keyframes`,`@-ms-keyframes`,`@-o-keyframes`,`@-webkit-keyframes`,`@keyframes`,`@media`,`@supports`,`@container`,`@layer`],c=/\/\* clean-css ignore:end \*\/$/,l=/^\/\* clean-css ignore:start \*\//,u=[`@bottom-center`,`@bottom-left`,`@bottom-left-corner`,`@bottom-right`,`@bottom-right-corner`,`@left-bottom`,`@left-middle`,`@left-top`,`@right-bottom`,`@right-middle`,`@right-top`,`@top-center`,`@top-left`,`@top-left-corner`,`@top-right`,`@top-right-corner`],d=[`@footnote`,`@footnotes`,`@left`,`@page-float-bottom`,`@page-float-top`,`@right`],f=/^\[\s{0,31}\d+\s{0,31}\]$/,p=/([^}])\}*$/,m=/[\s(]/;function h(e,t){return g(e,t,{level:a.BLOCK,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)}function g(e,t,o,s){for(var c=[],l=c,u,d,f=[],m,h,w=[],T=o.level,E=[],D=[],O=[],k=!0,A,j,ee=0,te,ne,re,M,ie,ae,N=!1,oe,P=!1,F,se,ce=!1,le,ue=!1,de=!1,I=!1,fe=!1,pe=!1,L=o.position,R;L.index<e.length;L.index++){var z=e[L.index];if(te=T==a.SINGLE_QUOTE||T==a.DOUBLE_QUOTE,ne=z==n.SPACE||z==n.TAB,re=z==n.NEW_LINE_NIX,M=z==n.NEW_LINE_NIX&&e[L.index-1]==n.CARRIAGE_RETURN,ie=z==n.CARRIAGE_RETURN&&e[L.index+1]&&e[L.index+1]!=n.NEW_LINE_NIX,ae=!P&&T!=a.COMMENT&&!te&&z==n.ASTERISK&&e[L.index-1]==n.FORWARD_SLASH,F=!N&&!te&&z==n.FORWARD_SLASH&&e[L.index-1]==n.ASTERISK,oe=T==a.COMMENT&&F,le=!ne&&!ie&&(z>=`A`&&z<=`Z`||z>=`a`&&z<=`z`||z>=`0`&&z<=`9`||z==`-`),de||=T!=a.COMMENT&&!fe&&ue&&z===`-`&&D.length===1,ue=z===`-`,ee=Math.max(ee,0),h=k?[L.line,L.column,L.source]:h,se)D.push(z),k=!1;else if(le)D.push(z),k=!1;else if((ne||re&&!M)&&(te||T==a.COMMENT))D.push(z),k=!1;else if(!((ne||re&&!M)&&k)){if(!oe&&T==a.COMMENT)D.push(z),k=!1;else if(!ae&&!oe&&I)D.push(z),k=!1;else if(ae&&de&&(T==a.BLOCK||T==a.RULE)&&D.length>1)D.push(z),k=!1,E.push(T),T=a.COMMENT;else if(ae&&(T==a.BLOCK||T==a.RULE)&&D.length>1)w.push(h),D.push(z),O.push(D.slice(0,-2)),k=!1,D=D.slice(-2),h=[L.line,L.column-1,L.source],E.push(T),T=a.COMMENT;else if(ae)E.push(T),T=a.COMMENT,D.push(z),k=!1;else if(oe&&de)D.push(z),T=E.pop();else if(oe&&_(D))A=D.join(``).trim()+z,u=[r.COMMENT,A,[y(h,A,t)]],l.push(u),I=!0,h=w.pop()||null,D=O.pop()||[],k=D.length===0;else if(oe&&v(D))A=D.join(``)+z,R=A.lastIndexOf(n.FORWARD_SLASH+n.ASTERISK),j=A.substring(0,R),u=[r.RAW,j,[y(h,j,t)]],l.push(u),j=A.substring(R),h=[L.line,L.column-j.length+1,L.source],u=[r.COMMENT,j,[y(h,j,t)]],l.push(u),I=!1,T=E.pop(),h=w.pop()||null,D=O.pop()||[],k=D.length===0;else if(oe)A=D.join(``).trim()+z,u=[r.COMMENT,A,[y(h,A,t)]],l.push(u),T=E.pop(),h=w.pop()||null,D=O.pop()||[],k=D.length===0;else if(F&&e[L.index+1]!=n.ASTERISK)t.warnings.push(`Unexpected '*/' at `+i([L.line,L.column,L.source])+`.`),D=[],k=!0;else if(z==n.SINGLE_QUOTE&&!te)E.push(T),T=a.SINGLE_QUOTE,D.push(z),k=!1;else if(z==n.SINGLE_QUOTE&&T==a.SINGLE_QUOTE)T=E.pop(),D.push(z),k=!1;else if(z==n.DOUBLE_QUOTE&&!te)E.push(T),T=a.DOUBLE_QUOTE,D.push(z),k=!1;else if(z==n.DOUBLE_QUOTE&&T==a.DOUBLE_QUOTE)T=E.pop(),D.push(z),k=!1;else if(z!=n.CLOSE_ROUND_BRACKET&&z!=n.OPEN_ROUND_BRACKET&&T!=a.COMMENT&&!te&&ee>0)D.push(z),k=!1;else if(z==n.OPEN_ROUND_BRACKET&&!te&&T!=a.COMMENT&&!fe)D.push(z),k=!1,ee++;else if(z==n.CLOSE_ROUND_BRACKET&&!te&&T!=a.COMMENT&&!fe)D.push(z),k=!1,ee--;else if(z==n.SEMICOLON&&T==a.BLOCK&&D[0]==n.AT)A=D.join(``).trim(),c.push([r.AT_RULE,A,[y(h,A,t)]]),D=[],k=!0;else if(z==n.COMMA&&T==a.BLOCK&&d)A=D.join(``).trim(),d[1].push([x(d[0]),A,[y(h,A,t,d[1].length)]]),D=[],k=!0;else if(z==n.COMMA&&T==a.BLOCK&&b(D)==r.AT_RULE)D.push(z),k=!1;else if(z==n.COMMA&&T==a.BLOCK)d=[b(D),[],[]],A=D.join(``).trim(),d[1].push([x(d[0]),A,[y(h,A,t,0)]]),D=[],k=!0;else if(z==n.OPEN_CURLY_BRACKET&&T==a.BLOCK&&d&&d[0]==r.NESTED_BLOCK)A=D.join(``).trim(),d[1].push([r.NESTED_BLOCK_SCOPE,A,[y(h,A,t)]]),c.push(d),E.push(T),L.column++,L.index++,D=[],k=!0,d[2]=g(e,t,o,!0),d=null;else if(z==n.OPEN_CURLY_BRACKET&&T==a.BLOCK&&b(D)==r.NESTED_BLOCK)A=D.join(``).trim(),d||=[r.NESTED_BLOCK,[],[]],d[1].push([r.NESTED_BLOCK_SCOPE,A,[y(h,A,t)]]),c.push(d),E.push(T),L.column++,L.index++,D=[],k=!0,de=!1,d[2]=g(e,t,o,!0),d=null;else if(z==n.OPEN_CURLY_BRACKET&&T==a.BLOCK)A=D.join(``).trim(),d||=[b(D),[],[]],d[1].push([x(d[0]),A,[y(h,A,t,d[1].length)]]),l=d[2],c.push(d),E.push(T),T=a.RULE,D=[],k=!0;else if(z==n.OPEN_CURLY_BRACKET&&T==a.RULE&&fe)f.push(d),d=[r.PROPERTY_BLOCK,[]],m.push(d),l=d[1],E.push(T),T=a.RULE,fe=!1;else if(z==n.OPEN_CURLY_BRACKET&&T==a.RULE&&S(D))A=D.join(``).trim(),f.push(d),d=[r.AT_RULE_BLOCK,[],[]],d[1].push([r.AT_RULE_BLOCK_SCOPE,A,[y(h,A,t)]]),l.push(d),l=d[2],E.push(T),T=a.RULE,D=[],k=!0;else if(z==n.COLON&&T==a.RULE&&!fe)A=D.join(``).trim(),m=[r.PROPERTY,[r.PROPERTY_NAME,A,[y(h,A,t)]]],l.push(m),fe=!0,D=[],k=!0;else if(z==n.SEMICOLON&&T==a.RULE&&m&&f.length>0&&!k&&D[0]==n.AT)A=D.join(``).trim(),d[1].push([r.AT_RULE,A,[y(h,A,t)]]),D=[],k=!0;else if(z==n.SEMICOLON&&T==a.RULE&&m&&!k)A=D.join(``).trim(),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),m=null,fe=!1,D=[],k=!0,de=!1;else if(z==n.SEMICOLON&&T==a.RULE&&m&&k&&de&&!m[2])m.push([r.PROPERTY_VALUE,` `,[y(h,` `,t)]]),de=!1,m=null,fe=!1;else if(z==n.SEMICOLON&&T==a.RULE&&m&&k)m=null,fe=!1;else if(z==n.SEMICOLON&&T==a.RULE&&!k&&D[0]==n.AT)A=D.join(``),l.push([r.AT_RULE,A,[y(h,A,t)]]),fe=!1,D=[],k=!0;else if(z==n.SEMICOLON&&T==a.RULE&&pe)pe=!1,D=[],k=!0;else if(!(z==n.SEMICOLON&&T==a.RULE&&k))if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE&&m&&fe&&!k&&f.length>0)A=D.join(``),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),m=null,d=f.pop(),l=d[2],T=E.pop(),fe=!1,D=[],k=!0;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE&&m&&!k&&D[0]==n.AT&&f.length>0)A=D.join(``),d[1].push([r.AT_RULE,A,[y(h,A,t)]]),m=null,d=f.pop(),l=d[2],T=E.pop(),fe=!1,D=[],k=!0;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE&&m&&f.length>0)m=null,d=f.pop(),l=d[2],T=E.pop(),fe=!1;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE&&m&&!k)A=D.join(``),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),m=null,d=f.pop(),l=c,T=E.pop(),fe=!1,D=[],k=!0;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE&&!k&&D[0]==n.AT)m=null,d=null,A=D.join(``).trim(),l.push([r.AT_RULE,A,[y(h,A,t)]]),l=c,T=E.pop(),fe=!1,D=[],k=!0;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE&&E[E.length-1]==a.RULE)m=null,d=f.pop(),l=d[2],T=E.pop(),fe=!1,pe=!0,D=[],k=!0;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE&&de&&m&&!m[2])m.push([r.PROPERTY_VALUE,` `,[y(h,` `,t)]]),de=!1,m=null,d=null,l=c,T=E.pop(),fe=!1,de=!1;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.RULE)m=null,d=null,l=c,T=E.pop(),fe=!1,de=!1;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.BLOCK&&!s&&L.index<=e.length-1)t.warnings.push(`Unexpected '}' at `+i([L.line,L.column,L.source])+`.`),D.push(z),k=!1;else if(z==n.CLOSE_CURLY_BRACKET&&T==a.BLOCK)break;else z==n.OPEN_ROUND_BRACKET&&T==a.RULE&&fe?(D.push(z),k=!1,ee++):z==n.CLOSE_ROUND_BRACKET&&T==a.RULE&&fe&&ee==1?(D.push(z),k=!1,A=D.join(``).trim(),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),ee--,D=[],k=!0,de=!1):z==n.CLOSE_ROUND_BRACKET&&T==a.RULE&&fe?(D.push(z),k=!1,de=!1,ee--):z==n.FORWARD_SLASH&&e[L.index+1]!=n.ASTERISK&&T==a.RULE&&fe&&!k?(A=D.join(``).trim(),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),m.push([r.PROPERTY_VALUE,z,[[L.line,L.column,L.source]]]),D=[],k=!0):z==n.FORWARD_SLASH&&e[L.index+1]!=n.ASTERISK&&T==a.RULE&&fe?(m.push([r.PROPERTY_VALUE,z,[[L.line,L.column,L.source]]]),D=[],k=!0):z==n.COMMA&&T==a.RULE&&fe&&!k?(A=D.join(``).trim(),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),m.push([r.PROPERTY_VALUE,z,[[L.line,L.column,L.source]]]),D=[],k=!0):z==n.COMMA&&T==a.RULE&&fe?(m.push([r.PROPERTY_VALUE,z,[[L.line,L.column,L.source]]]),D=[],k=!0):z==n.CLOSE_SQUARE_BRACKET&&m&&m.length>1&&!k&&C(D)?(D.push(z),A=D.join(``).trim(),m[m.length-1][1]+=A,D=[],k=!0):(ne||re&&!M)&&T==a.RULE&&fe&&m&&!k||M&&T==a.RULE&&fe&&m&&D.length>1?(A=D.join(``).trim(),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),D=[],k=!0):M&&T==a.RULE&&fe?(D=[],k=!0):M&&D.length==1?(D.pop(),k=D.length===0):(!k||!ne&&!re&&!M&&!ie)&&(D.push(z),k=!1)}ce=se,se=!ce&&z==n.BACK_SLASH,N=ae,P=oe,L.line=M||re||ie?L.line+1:L.line,L.column=M||re||ie?0:L.column+1}return fe&&t.warnings.push(`Missing '}' at `+i([L.line,L.column,L.source])+`.`),fe&&D.length>0&&(A=D.join(``).trimRight().replace(p,`$1`).trimRight(),m.push([r.PROPERTY_VALUE,A,[y(h,A,t)]]),D=[]),D.length>0&&t.warnings.push(`Invalid character(s) '`+D.join(``)+`' at `+i(h)+`. Ignoring.`),c}function _(e){return l.test(e.join(``)+n.FORWARD_SLASH)}function v(e){return c.test(e.join(``)+n.FORWARD_SLASH)}function y(e,t,n,r){var i=e[2];return n.inputSourceMapTracker.isTracking(i)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function b(e){var t=e[0]==n.AT||e[0]==n.UNDERSCORE,i=e.join(``).split(m)[0];return t&&s.indexOf(i)>-1?r.NESTED_BLOCK:t&&o.indexOf(i)>-1?r.AT_RULE:t?r.AT_RULE_BLOCK:r.RULE}function x(e){if(e==r.RULE)return r.RULE_SCOPE;if(e==r.NESTED_BLOCK)return r.NESTED_BLOCK_SCOPE;if(e==r.AT_RULE_BLOCK)return r.AT_RULE_BLOCK_SCOPE}function S(e){var t=e.join(``).trim();return u.indexOf(t)>-1||d.indexOf(t)>-1}function C(e){return f.test(e.join(``)+n.CLOSE_SQUARE_BRACKET)}t.exports=h})),Fw=I(((e,t)=>{var n=R(`fs`),r=R(`path`),i=Ew(),a=Dw(),o=xw(),s=Ow(),c=kw(),l=Nw(),u=Cw(),d=ww(),f=Aw(),p=Pw(),m=kS(),h=xS(),g=bw(),_=Mw(),v=yw(),y=`uri:unknown`,b=`file://`;function x(e,t,n){return S(e,t,function(e){return i(e,t,function(){return s(t,function(){return n(e)})})})}function S(e,t,n){if(typeof e==`string`)return C(e,t,n);if(Buffer.isBuffer(e))return C(e.toString(),t,n);if(Array.isArray(e))return w(e,t,n);if(typeof e==`object`)return T(e,t,n)}function C(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,j(e,t,{inline:t.options.inline},n)}function w(e,t,n){return j(e.reduce(function(e,n){return typeof n==`string`?E(n,e):D(n,t,e)},[]).join(``),t,{inline:[`all`]},n)}function T(e,t,n){return j(D(e,t,[]).join(``),t,{inline:[`all`]},n)}function E(e,t){return t.push(A(O(e))),t}function D(e,t,n){var r,i,a;for(r in e)a=e[r],i=O(r),n.push(A(i)),t.sourcesContent[i]=a.styles,a.sourceMap&&k(a.sourceMap,i,t);return n}function O(e){var t=r.resolve(``),n,i,a;return v(e)?e:(n=r.isAbsolute(e)?e:r.resolve(e),i=r.relative(t,n),a=c(i),a)}function k(e,t,n){var r=typeof e==`string`?JSON.parse(e):e,i=v(t)?d(r,t):u(r,t||y,n.options.rebaseTo);n.inputSourceMapTracker.track(t,i)}function A(e){return f(`url(`+e+`)`,``)+h.SEMICOLON}function j(e,t,n,i){var a,o={};return t.source?v(t.source)?(o.fromBase=t.source,o.toBase=t.source):r.isAbsolute(t.source)?(o.fromBase=r.dirname(t.source),o.toBase=t.options.rebaseTo):(o.fromBase=r.dirname(r.resolve(t.source)),o.toBase=t.options.rebaseTo):(o.fromBase=r.resolve(``),o.toBase=t.options.rebaseTo),a=p(e,t),a=l(a,t.options.rebase,t.validator,o),ee(n.inline)?te(a,t,n,i):i(a)}function ee(e){return!(e.length==1&&e[0]==`none`)}function te(e,t,n,r){return ne({afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings})}function ne(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if(t=e.sourceTokens[n],t[0]==m.AT_RULE&&_(t[1]))return e.sourceTokens.splice(0,n),re(t,e);t[0]==m.AT_RULE||t[0]==m.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function re(e,t){var n=a(e[1]),r=n[0],i=n[1],o=e[2];return v(r)?M(r,i,o,t):ie(r,i,o,t)}function M(e,t,n,r){var i=o(e,!0,r.inline),a=e,s=e in r.externalContext.sourcesContent,c=!g(e);if(r.inlinedStylesheets.indexOf(e)>-1)return r.warnings.push(`Ignoring remote @import of "`+e+`" as it has already been imported.`),r.sourceTokens=r.sourceTokens.slice(1),ne(r);if(r.localOnly&&r.afterContent)return r.warnings.push(`Ignoring remote @import of "`+e+`" as no callback given and after other content.`),r.sourceTokens=r.sourceTokens.slice(1),ne(r);if(c)return r.warnings.push(`Skipping remote @import of "`+e+`" as no protocol given.`),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),ne(r);if(r.localOnly&&!s)return r.warnings.push(`Skipping remote @import of "`+e+`" as no callback given.`),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),ne(r);if(!i&&r.afterContent)return r.warnings.push(`Ignoring remote @import of "`+e+`" as resource is not allowed and after other content.`),r.sourceTokens=r.sourceTokens.slice(1),ne(r);if(!i)return r.warnings.push(`Skipping remote @import of "`+e+`" as resource is not allowed.`),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),ne(r);r.inlinedStylesheets.push(e);function l(i,o){return i?(r.errors.push(`Broken @import declaration of "`+e+`" - `+i),process.nextTick(function(){r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1)),r.sourceTokens=r.sourceTokens.slice(1),ne(r)})):(r.inline=r.externalContext.options.inline,r.isRemote=!0,r.externalContext.source=a,r.externalContext.sourcesContent[e]=o,r.externalContext.stats.originalSize+=o.length,j(o,r.externalContext,r,function(e){return e=ae(e,t,n),r.outputTokens=r.outputTokens.concat(e),r.sourceTokens=r.sourceTokens.slice(1),ne(r)}))}return s?l(null,r.externalContext.sourcesContent[e]):r.fetch(e,r.inlineRequest,r.inlineTimeout,l)}function ie(e,t,i,a){var s=e.replace(b,``),l=r.resolve(``),u=r.isAbsolute(s)?r.resolve(l,s[0]==`/`?s.substring(1):s):r.resolve(a.rebaseTo,s),d=r.relative(l,u),f,p=o(s,!1,a.inline),m=c(d),h=m in a.externalContext.sourcesContent;if(a.inlinedStylesheets.indexOf(u)>-1)a.warnings.push(`Ignoring local @import of "`+s+`" as it has already been imported.`);else if(p&&!h&&(!n.existsSync(u)||!n.statSync(u).isFile()))a.errors.push(`Ignoring local @import of "`+s+`" as resource is missing.`);else if(!p&&a.afterContent)a.warnings.push(`Ignoring local @import of "`+s+`" as resource is not allowed and after other content.`);else if(a.afterContent)a.warnings.push(`Ignoring local @import of "`+s+`" as after other content.`);else if(!p)a.warnings.push(`Skipping local @import of "`+s+`" as resource is not allowed.`),a.outputTokens=a.outputTokens.concat(a.sourceTokens.slice(0,1));else return f=h?a.externalContext.sourcesContent[m]:n.readFileSync(u,`utf-8`),f.charCodeAt(0)===65279&&(f=f.substring(1)),a.inlinedStylesheets.push(u),a.inline=a.externalContext.options.inline,a.externalContext.source=m,a.externalContext.sourcesContent[m]=f,a.externalContext.stats.originalSize+=f.length,j(f,a.externalContext,a,function(e){return e=ae(e,t,i),a.outputTokens=a.outputTokens.concat(e),a.sourceTokens=a.sourceTokens.slice(1),ne(a)});return a.sourceTokens=a.sourceTokens.slice(1),ne(a)}function ae(e,t,n){return t?[[m.NESTED_BLOCK,[[m.NESTED_BLOCK_SCOPE,`@media `+t,n]],e]]:e}t.exports=x})),Iw=I(((e,t)=>{var n=mC().all;function r(e,t){var n=typeof t==`string`?t:t[1],r=e.wrap;r(e,n),a(e,n),e.output.push(n)}function i(e,t){e.column+t.length>e.format.wrapAt&&(a(e,e.format.breakWith),e.output.push(e.format.breakWith))}function a(e,t){var n=t.split(`
`);e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}function o(e,t){var a={column:0,format:t.options.format,indentBy:0,indentWith:``,line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?i:function(){}};return n(a,e),{styles:a.output.join(``)}}t.exports=o})),Lw=I(((e,t)=>{var n=_w().SourceMapGenerator,r=mC().all,i=yw(),a=process.platform==`win32`,o=/\//g,s=`$stdin`,c=`\\`;function l(e,t){var n=typeof t==`string`,r=n?t:t[1],i=n?null:t[2],a=e.wrap;a(e,r),d(e,r,i),e.output.push(r)}function u(e,t){e.column+t.length>e.format.wrapAt&&(d(e,e.format.breakWith,!1),e.output.push(e.format.breakWith))}function d(e,t,n){var r=t.split(`
`);n&&f(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function f(e,t){for(var n=0,r=t.length;n<r;n++)p(e,t[n])}function p(e,t){var n=t[0],r=t[1],l=t[2],u=l,d=u||s;a&&u&&!i(u)&&(d=u.replace(o,c)),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:d,original:{line:n,column:r}}),e.inlineSources&&l in e.sourcesContent&&e.outputMap.setSourceContent(d,e.sourcesContent[l])}function m(e,t){var i={column:0,format:t.options.format,indentBy:0,indentWith:``,inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new n,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:l,wrap:t.options.format.wrapAt?u:function(){}};return r(i,e),{sourceMap:i.outputMap,styles:i.output.join(``)}}t.exports=m})),Rw=I(((e,t)=>{var n=gS(),r=gC(),i=JC(),a=YC(),o=XC(),s=ew(),c=bS().formatFrom,l=tw(),u=nw(),d=rw(),f=zS().OptimizationLevel,p=zS().optimizationLevelFrom,m=iw(),h=aw(),g=ow(),_=vw(),v=Fw(),y=Iw(),b=Lw(),x=t.exports=function(e){e||={},this.options={batch:!!e.batch,compatibility:o(e.compatibility),explicitRebaseTo:`rebaseTo`in e,fetch:s(e.fetch),format:c(e.format),inline:l(e.inline),inlineRequest:u(e.inlineRequest),inlineTimeout:d(e.inlineTimeout),level:p(e.level),plugins:m(e.plugins),rebase:h(e.rebase,e.rebaseTo),rebaseTo:g(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}};x.process=function(e,t){var n,r=t.to;return delete t.to,n=new x(Object.assign({returnPromise:!0,rebaseTo:r},t)),n.minify(e).then(function(e){return{css:e.styles}})},x.prototype.minify=function(e,t,n){var r=this.options;return r.returnPromise?new Promise(function(n,i){S(e,r,t,function(e,t){return e?i(e):n(t)})}):S(e,r,t,n)};function S(e,t,n,r){return t.batch&&Array.isArray(e)?C(e,t,n,r):t.batch&&typeof e==`object`?w(e,t,n,r):T(e,t,n,r)}function C(e,t,n,r){var i=typeof r==`function`?r:typeof n==`function`?n:null,a=[],o={},s,c,l;function u(e,t){o=Object.assign(o,t),e!==null&&(a=a.concat(e))}for(c=0,l=e.length;c<l;c++)typeof e[c]==`object`?w(e[c],t,u):(s=e[c],o[s]=T([s],t),a=a.concat(o[s].errors));return i?i(a.length>0?a:null,o):o}function w(e,t,n,r){var i=typeof r==`function`?r:typeof n==`function`?n:null,a=[],o={},s,c;for(s in e)c=e[s],o[s]=T(c.styles,t,c.sourceMap),a=a.concat(o[s].errors);return i?i(a.length>0?a:null,o):o}function T(e,t,n,r){var i=typeof n==`function`?null:n,o=typeof r==`function`?r:typeof n==`function`?n:null,s={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:_(),localOnly:!o,options:t,source:null,sourcesContent:{},validator:a(t.compatibility),warnings:[]},c;return i&&s.inputSourceMapTracker.track(void 0,i),t.rebase&&!t.explicitRebaseTo&&(c="You have set `rebase: true` without giving `rebaseTo` option, which, in this case, defaults to the current working directory. You are then warned this can lead to unexpected URL rebasing (aka here be dragons)! If you are OK with the clean-css output, then you can get rid of this warning by giving clean-css a `rebaseTo: process.cwd()` option.",s.warnings.push(c)),E(s.localOnly)(function(){return v(e,s,function(e){var t=O((s.options.sourceMap?b:y)(D(e,s),s),s);return o?o(s.errors.length>0?s.errors:null,t):t})})}function E(e){return e?function(e){return e()}:process.nextTick}function D(e,t){var a=n(e,t);return a=f.One in t.options.level?r(e,t):e,a=f.Two in t.options.level?i(e,t,!0):a,a}function O(e,t){return e.stats=k(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}function k(e,t){var n=Date.now()-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=n,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}})),zw=I(((e,t)=>{t.exports=Rw()})),Bw=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),Vw=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(e=>e.charCodeAt(0)));const Hw=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Uw=String.fromCodePoint??function(e){let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Ww(e){return e>=55296&&e<=57343||e>1114111?65533:Hw.get(e)??e}var Gw;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(Gw||={});var Kw;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Kw||={});function qw(e){return e>=Gw.ZERO&&e<=Gw.NINE}function Jw(e){return e>=Gw.UPPER_A&&e<=Gw.UPPER_F||e>=Gw.LOWER_A&&e<=Gw.LOWER_F}function Yw(e){return e>=Gw.UPPER_A&&e<=Gw.UPPER_Z||e>=Gw.LOWER_A&&e<=Gw.LOWER_Z||qw(e)}function Xw(e){return e===Gw.EQUALS||Yw(e)}var Zw;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Zw||={});var Qw;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Qw||={});var $w=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Zw.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Qw.Strict}startEntity(e){this.decodeMode=e,this.state=Zw.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Zw.EntityStart:return e.charCodeAt(t)===Gw.NUM?(this.state=Zw.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Zw.NamedEntity,this.stateNamedEntity(e,t));case Zw.NumericStart:return this.stateNumericStart(e,t);case Zw.NumericDecimal:return this.stateNumericDecimal(e,t);case Zw.NumericHex:return this.stateNumericHex(e,t);case Zw.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===Gw.LOWER_X?(this.state=Zw.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Zw.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(qw(r)||Jw(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(qw(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Gw.SEMI)this.consumed+=1;else if(this.decodeMode===Qw.Strict)return 0;return this.emitCodePoint(Ww(this.result),this.consumed),this.errors&&(e!==Gw.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Kw.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=tT(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Qw.Attribute&&(i===0||Xw(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Kw.VALUE_LENGTH)>>14,i!==0){if(a===Gw.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Qw.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Kw.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~Kw.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Zw.NamedEntity:return this.result!==0&&(this.decodeMode!==Qw.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Zw.NumericDecimal:return this.emitNumericEntity(0,2);case Zw.NumericHex:return this.emitNumericEntity(0,3);case Zw.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Zw.EntityStart:return 0}}};function eT(e){let t=``,n=new $w(e,e=>t+=Uw(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function tT(e,t,n,r){let i=(t&Kw.BRANCH_LENGTH)>>7,a=t&Kw.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}const nT=eT(Bw);eT(Vw);function rT(e,t=Qw.Legacy){return nT(e,t)}function iT(e){return nT(e,Qw.Strict)}var aT=I(((e,t)=>{t.exports={ABSOLUTE:`absolute`,PATH_RELATIVE:`pathRelative`,ROOT_RELATIVE:`rootRelative`,SHORTEST:`shortest`}})),oT=I(((e,t)=>{var n=aT();function r(e,t){return e.auth&&!t.removeAuth&&(e.extra.relation.maximumHost||t.output===n.ABSOLUTE)?e.auth+`@`:``}function i(e,t){return e.hash?e.hash:``}function a(e,t){return e.host.full&&(e.extra.relation.maximumAuth||t.output===n.ABSOLUTE)?e.host.full:``}function o(e,t){var r=``,i=e.path.absolute.string,a=e.path.relative.string,o=m(e,t);if(e.extra.relation.maximumHost||t.output===n.ABSOLUTE||t.output===n.ROOT_RELATIVE)r=i;else if(a.length<=i.length&&t.output===n.SHORTEST||t.output===n.PATH_RELATIVE){if(r=a,r===``){var s=p(e,t)&&!!f(e,t);(e.extra.relation.maximumPath&&!o||e.extra.relation.overridesQuery&&!o&&!s)&&(r=`./`)}}else r=i;return r===`/`&&!o&&t.removeRootTrailingSlash&&(!e.extra.relation.minimumPort||t.output===n.ABSOLUTE)&&(r=``),r}function s(e,t){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?`:`+e.port:``}function c(e,t){return p(e,t)?f(e,t):``}function l(e,t){return m(e,t)?e.resource:``}function u(e,t){var r=``;return(e.extra.relation.maximumHost||t.output===n.ABSOLUTE)&&(!e.extra.relation.minimumScheme||!t.schemeRelative||t.output===n.ABSOLUTE?r+=e.scheme+`://`:r+=`//`),r}function d(e,t){var n=``;return n+=u(e,t),n+=r(e,t),n+=a(e,t),n+=s(e,t),n+=o(e,t),n+=l(e,t),n+=c(e,t),n+=i(e,t),n}function f(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?`stripped`:`full`]}function p(e,t){return!e.extra.relation.minimumQuery||t.output===n.ABSOLUTE||t.output===n.ROOT_RELATIVE}function m(e,t){var r=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,i=e.extra.relation.minimumResource&&t.output!==n.ABSOLUTE&&t.output!==n.ROOT_RELATIVE;return!!e.resource&&!i&&!r}t.exports=d})),sT=I(((e,t)=>{function n(e){if(e instanceof Object){var t=e instanceof Array?[]:{};for(var r in e)e.hasOwnProperty(r)&&(t[r]=n(e[r]));return t}return e}function r(e){return!!e&&typeof e==`object`&&e.constructor===Object}function i(e,t){if(e instanceof Object&&t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}t.exports={clone:n,isPlainObject:r,shallowMerge:i}})),cT=I(((e,t)=>{var n=sT();function r(e,t){if(n.isPlainObject(e)){var r={};for(var a in t)t.hasOwnProperty(a)&&(e[a]===void 0?r[a]=t[a]:r[a]=i(e[a],t[a]));return r}else return t}function i(e,t){return t instanceof Object&&e instanceof Object?t instanceof Array&&e instanceof Array?t.concat(e):n.shallowMerge(e,t):e}t.exports=r})),lT=I(((e,t)=>{function n(e){var t=!e.scheme&&!e.auth&&!e.host.full&&!e.port,n=t&&!e.path.absolute.string,r=n&&!e.resource,i=r&&!e.query.string.full.length,a=i&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=i,e.extra.hrefInfo.empty=a}t.exports=n})),uT=I(((e,t)=>{function n(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;n.indexOf(`www.`)===0&&(r=n.substr(4)),e.host.stripped=r}}}t.exports=n})),dT=I(((e,t)=>{function n(e,t){var n=!1;return t.directoryIndexes.every(function(t){return t===e?(n=!0,!1):!0}),n}function r(e,t){var r=e.path.absolute.string;if(r){var a=r.lastIndexOf(`/`);if(a>-1){if(++a<r.length){var o=r.substr(a);o!==`.`&&o!==`..`?(e.resource=o,r=r.substr(0,a)):r+=`/`}e.path.absolute.string=r,e.path.absolute.array=i(r)}else r===`.`||r===`..`?(r+=`/`,e.path.absolute.string=r,e.path.absolute.array=i(r)):(e.resource=r,e.path.absolute.string=null);e.extra.resourceIsIndex=n(e.resource,t)}}function i(e){if(e!==`/`){var t=[];return e.split(`/`).forEach(function(e){e!==``&&t.push(e)}),t}else return[]}t.exports=r})),fT=I(((e,t)=>{function n(e,t){var n=-1;for(var r in t.defaultPorts)if(r===e.scheme&&t.defaultPorts.hasOwnProperty(r)){n=t.defaultPorts[r];break}n>-1&&(n=n.toString(),e.port===null&&(e.port=n),e.extra.portIsDefault=e.port===n)}t.exports=n})),pT=I(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e,t){e.query.string.full=i(e.query.object,!1),t.removeEmptyQueries&&(e.query.string.stripped=i(e.query.object,!0))}function i(e,t){var r=0,i=``;for(var a in e)if(a!==``&&n.call(e,a)===!0){var o=e[a];(o!==``||!t)&&(i+=++r===1?`?`:`&`,a=encodeURIComponent(a),o===``?i+=a:i+=a+`=`+encodeURIComponent(o).replace(/%20/g,`+`))}return i}t.exports=r})),mT=I(((e,t)=>{var n=R(`url`).parse;function r(e){var t=e.protocol;return t&&t.indexOf(`:`)===t.length-1&&(t=t.substr(0,t.length-1)),e.host={full:e.hostname,stripped:null},e.path={absolute:{array:null,string:e.pathname},relative:{array:null,string:null}},e.query={object:e.query,string:{full:null,stripped:null}},e.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:e.search===`?`},portIsDefault:null,relation:{maximumScheme:null,maximumAuth:null,maximumHost:null,maximumPort:null,maximumPath:null,maximumResource:null,maximumQuery:null,maximumHash:null,minimumScheme:null,minimumAuth:null,minimumHost:null,minimumPort:null,minimumPath:null,minimumResource:null,minimumQuery:null,minimumHash:null,overridesQuery:null},resourceIsIndex:null,slashes:e.slashes},e.resource=null,e.scheme=t,delete e.hostname,delete e.pathname,delete e.protocol,delete e.search,delete e.slashes,e}function i(e,t){var n=!0;return t.rejectedSchemes.every(function(t){return n=e.indexOf(t+`:`)!==0,n}),n}function a(e,t){return i(e,t)?r(n(e,!0,t.slashesDenoteHost)):{href:e,valid:!1}}t.exports=a})),hT=I(((e,t)=>{function n(e){return e.length>0?e.join(`/`)+`/`:``}function r(e){var t=[];return e.forEach(function(e){e===`..`?t.length>0&&t.splice(t.length-1,1):e!==`.`&&t.push(e)}),t}t.exports={join:n,resolveDotSegments:r}})),gT=I(((e,t)=>{var n=lT(),r=uT(),i=dT(),a=fT(),o=pT(),s=mT(),c=hT();function l(e,t,n){if(e){var r=u(e,t),i=c.resolveDotSegments(r.path.absolute.array);return r.path.absolute.array=i,r.path.absolute.string=`/`+c.join(i),r}else return n}function u(e,t){var c=s(e,t);return c.valid===!1?c:(r(c,t),a(c,t),i(c,t),o(c,t),n(c),c)}t.exports={from:l,to:u}})),_T=I(((e,t)=>{function n(e,t,n){var r=e.extra.hrefInfo.minimumPathOnly,i=e.scheme===t.scheme||!e.scheme,a=i&&(e.auth===t.auth||n.removeAuth||r),o=n.ignore_www?`stripped`:`full`,s=a&&(e.host[o]===t.host[o]||r),c=s&&(e.port===t.port||r);e.extra.relation.minimumScheme=i,e.extra.relation.minimumAuth=a,e.extra.relation.minimumHost=s,e.extra.relation.minimumPort=c,e.extra.relation.maximumScheme=!i||i&&!a,e.extra.relation.maximumAuth=!i||i&&!s,e.extra.relation.maximumHost=!i||i&&!c}function r(e,t,n){var r=e.extra.hrefInfo.minimumQueryOnly,i=e.extra.hrefInfo.minimumHashOnly,a=e.extra.hrefInfo.empty,o=e.extra.relation.minimumPort,s=e.extra.relation.minimumScheme,c=o&&e.path.absolute.string===t.path.absolute.string,l=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,u=c&&(l||r||i||a),d=n.removeEmptyQueries?`stripped`:`full`,f=e.query.string[d],p=t.query.string[d],m=u&&!!f&&f===p||(i||a)&&!e.extra.hrefInfo.separatorOnlyQuery,h=m&&e.hash===t.hash;e.extra.relation.minimumPath=c,e.extra.relation.minimumResource=u,e.extra.relation.minimumQuery=m,e.extra.relation.minimumHash=h,e.extra.relation.maximumPort=!s||s&&!c,e.extra.relation.maximumPath=!s||s&&!u,e.extra.relation.maximumResource=!s||s&&!m,e.extra.relation.maximumQuery=!s||s&&!h,e.extra.relation.maximumHash=!s||s&&!h,e.extra.relation.overridesQuery=c&&e.extra.relation.maximumResource&&!m&&!!p}t.exports={pathOn:r,upToPath:n}})),vT=I(((e,t)=>{var n=_T(),r=sT(),i=hT();function a(e,t,i){n.upToPath(e,t,i),e.extra.relation.minimumScheme&&(e.scheme=t.scheme),e.extra.relation.minimumAuth&&(e.auth=t.auth),e.extra.relation.minimumHost&&(e.host=r.clone(t.host)),e.extra.relation.minimumPort&&s(e,t),e.extra.relation.minimumScheme&&o(e,t),n.pathOn(e,t,i),e.extra.relation.minimumResource&&c(e,t),e.extra.relation.minimumQuery&&(e.query=r.clone(t.query)),e.extra.relation.minimumHash&&(e.hash=t.hash)}function o(e,t){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var n=e.path.absolute.array,a=`/`;n?(e.extra.hrefInfo.minimumPathOnly&&e.path.absolute.string.indexOf(`/`)!==0&&(n=t.path.absolute.array.concat(n)),n=i.resolveDotSegments(n),a+=i.join(n)):n=[],e.path.absolute.array=n,e.path.absolute.string=a}else e.path=r.clone(t.path)}function s(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}function c(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}t.exports=a})),yT=I(((e,t)=>{var n=hT();function r(e,t){var n=[],r=!0,i=-1;return t.forEach(function(t,a){r&&(e[a]===t?i=a:r=!1),r||n.push(`..`)}),e.forEach(function(e,t){t>i&&n.push(e)}),n}function i(e,t,i){if(e.extra.relation.minimumScheme){var a=r(e.path.absolute.array,t.path.absolute.array);e.path.relative.array=a,e.path.relative.string=n.join(a)}}t.exports=i})),bT=I(((e,t)=>{var n=vT(),r=yT();function i(e,t,i){return n(t,e,i),r(t,e,i),t}t.exports=i})),xT=L(I(((e,t)=>{var n=aT(),r=oT(),i=cT(),a=sT(),o=gT(),s=bT();function c(e,t){this.options=i(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:[`index.html`],ignore_www:!1,output:c.SHORTEST,rejectedSchemes:[`data`,`javascript`,`mailto`],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=o.from(e,this.options,null)}c.prototype.relate=function(e,t,n){if(a.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=i(n,this.options),e||=n.site,e=o.from(e,n,this.from),!e||!e.href)throw Error(`from value not defined.`);if(e.extra.hrefInfo.minimumPathOnly)throw Error(`from value supplied is not absolute: `+e.href);return t=o.to(t,n),t.valid===!1?t.href:(t=s(e,t,n),t=r(t,n),t)},c.relate=function(e,t,n){return new c().relate(e,t,n)},a.shallowMerge(c,n),t.exports=c}))(),1),ST=L(zw(),1);async function CT(e,t,n){let r=[];e.replace(t,(e,...t)=>{let i=n(e,...t);r.push(i)});let i=await Promise.all(r);return e.replace(t,()=>i.shift())}
/*!
* HTML Parser By John Resig (ejohn.org)
* Modified by Juriy "kangax" Zaytsev
* Original code by Erik Arvidsson, Mozilla Public License
* http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
*/
var wT=class extends Set{has(e){return super.has(e.toLowerCase())}};const TT=/([^\s"'<>/=]+)/,ET=[/=/],DT=[`"([^"]*)"+`,`'([^']*)'+`,`([^ \\t\\n\\f\\r"'\`=<>]+)`],OT=(function(){return`((?:[A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A3_][A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A30-9\\u0660-\\u0669\\u06F0-\\u06F9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE7-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\.\\-_\\u0300-\\u0345\\u0360\\u0361\\u0483-\\u0486\\u0591-\\u05A1\\u05A3-\\u05B9\\u05BB-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u064B-\\u0652\\u0670\\u06D6-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0901-\\u0903\\u093C\\u093E-\\u094D\\u0951-\\u0954\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A02\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A70\\u0A71\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B43\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B82\\u0B83\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C01-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C82\\u0C83\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D43\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F8B\\u0F90-\\u0F95\\u0F97\\u0F99-\\u0FAD\\u0FB1-\\u0FB7\\u0FB9\\u20D0-\\u20DC\\u20E1\\u302A-\\u302F\\u3099\\u309A\\xB7\\u02D0\\u02D1\\u0387\\u0640\\u0E46\\u0EC6\\u3005\\u3031-\\u3035\\u309D\\u309E\\u30FC-\\u30FE]*\\:)?[A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A3_][A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A30-9\\u0660-\\u0669\\u06F0-\\u06F9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE7-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\.\\-_\\u0300-\\u0345\\u0360\\u0361\\u0483-\\u0486\\u0591-\\u05A1\\u05A3-\\u05B9\\u05BB-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u064B-\\u0652\\u0670\\u06D6-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0901-\\u0903\\u093C\\u093E-\\u094D\\u0951-\\u0954\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A02\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A70\\u0A71\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B43\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B82\\u0B83\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C01-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C82\\u0C83\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D43\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F8B\\u0F90-\\u0F95\\u0F97\\u0F99-\\u0FAD\\u0FB1-\\u0FB7\\u0FB9\\u20D0-\\u20DC\\u20E1\\u302A-\\u302F\\u3099\\u309A\\xB7\\u02D0\\u02D1\\u0387\\u0640\\u0E46\\u0EC6\\u3005\\u3031-\\u3035\\u309D\\u309E\\u30FC-\\u30FE]*)`})(),kT=RegExp(`^<`+OT),AT=/^\s*(\/?)>/,jT=RegExp(`^<\\/`+OT+`[^>]*>`),MT=/^<!DOCTYPE\s?[^>]+>/i;let NT=!1;`x`.replace(/x(.)?/g,function(e,t){NT=t===``});const PT=new wT([`area`,`base`,`basefont`,`br`,`col`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),FT=new wT(`a.abbr.acronym.applet.b.basefont.bdo.big.br.button.cite.code.del.dfn.em.font.i.iframe.img.input.ins.kbd.label.map.noscript.object.q.s.samp.script.select.small.span.strike.strong.sub.sup.svg.textarea.tt.u.var`.split(`.`)),IT=new wT([`colgroup`,`dd`,`dt`,`li`,`option`,`p`,`td`,`tfoot`,`th`,`thead`,`tr`,`source`]),LT=new wT([`checked`,`compact`,`declare`,`defer`,`disabled`,`ismap`,`multiple`,`nohref`,`noresize`,`noshade`,`nowrap`,`readonly`,`selected`]),RT=new wT([`script`,`style`]),zT=new wT(`address.article.aside.base.blockquote.body.caption.col.colgroup.dd.details.dialog.div.dl.dt.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.menuitem.meta.ol.optgroup.option.param.rp.rt.source.style.summary.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`)),BT={};function VT(e){let t=TT.source+`(?:\\s*(`+HT(e)+`)[ \\t\\n\\f\\r]*(?:`+DT.join(`|`)+`))?`;if(e.customAttrSurround){let n=[];for(let r=e.customAttrSurround.length-1;r>=0;r--)n[r]=`(?:(`+e.customAttrSurround[r][0].source+`)\\s*`+t+`\\s*(`+e.customAttrSurround[r][1].source+`))`;n.push(`(?:`+t+`)`),t=`(?:`+n.join(`|`)+`)`}return RegExp(`^\\s*`+t)}function HT(e){return ET.concat(e.customAttrAssign||[]).map(function(e){return`(?:`+e.source+`)`}).join(`|`)}var UT=class{constructor(e,t){this.html=e,this.handler=t}async parse(){let e=this.html,t=this.handler,n=[],r,i=VT(t),a,o,s;for(;e;){if(a=e,!r||!RT.has(r)){let n=e.indexOf(`<`);if(n===0){if(/^<!--/.test(e)){let n=e.indexOf(`-->`);if(n>=0){t.comment&&await t.comment(e.substring(4,n)),e=e.substring(n+3),o=``;continue}}if(/^<!\[/.test(e)){let n=e.indexOf(`]>`);if(n>=0){t.comment&&await t.comment(e.substring(2,n+1),!0),e=e.substring(n+2),o=``;continue}}let r=e.match(MT);if(r){t.doctype&&t.doctype(r[0]),e=e.substring(r[0].length),o=``;continue}let i=e.match(jT);if(i){e=e.substring(i[0].length),await CT(i[0],jT,f),o=`/`+i[1].toLowerCase();continue}let a=c(e);if(a){e=a.rest,await u(a),o=a.tagName.toLowerCase();continue}t.continueOnParseError&&(n=e.indexOf(`<`,1))}let r;n>=0?(r=e.substring(0,n),e=e.substring(n)):(r=e,e=``);let i=c(e);i?s=i.tagName:(i=e.match(jT),s=i?`/`+i[1]:``),t.chars&&await t.chars(r,o,s),o=``}else{let n=r.toLowerCase(),i=BT[n]||(BT[n]=RegExp(`([\\s\\S]*?)</`+n+`[^>]*>`,`i`));e=await CT(e,i,async(e,r)=>(n!==`script`&&n!==`style`&&n!==`noscript`&&(r=r.replace(/<!--([\s\S]*?)-->/g,`$1`).replace(/<!\[CDATA\[([\s\S]*?)]]>/g,`$1`)),t.chars&&await t.chars(r),``)),await f(`</`+n+`>`,n)}if(e===a)throw Error(`Parse Error: `+e)}t.partialMarkup||await f();function c(e){let t=e.match(kT);if(t){let n={tagName:t[1],attrs:[]};e=e.slice(t[0].length);let r,a;for(;!(r=e.match(AT))&&(a=e.match(i));)e=e.slice(a[0].length),n.attrs.push(a);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}async function l(e){if(d(e)>=0)return await f(``,e),!0}async function u(e){let i=e.tagName,a=e.unarySlash;if(t.html5&&(r===`p`&&zT.has(i)?await f(``,r):i===`tbody`?await l(`thead`):i===`tfoot`&&(await l(`tbody`)||await l(`thead`)),i===`col`&&d(`colgroup`)<0&&(r=`colgroup`,n.push({tag:r,attrs:[]}),t.start&&await t.start(r,[],!1,``))),!t.html5&&!FT.has(i))for(;r&&FT.has(r);)await f(``,r);IT.has(i)&&r===i&&await f(``,i);let o=PT.has(i)||i===`html`&&r===`head`||!!a,s=e.attrs.map(function(e){let n,r,i,a,o,s;NT&&e[0].indexOf(`""`)===-1&&(e[3]===``&&delete e[3],e[4]===``&&delete e[4],e[5]===``&&delete e[5]);function c(t){return o=e[t],r=e[t+1],r===void 0?(r=e[t+2],r===void 0?(r=e[t+3],r===void 0&<.has(n)&&(r=n),``):`'`):`"`}let l=1;if(t.customAttrSurround){for(let r=0,o=t.customAttrSurround.length;r<o;r++,l+=7)if(n=e[l+1],n){s=c(l+2),i=e[l],a=e[l+6];break}}return!n&&(n=e[l])&&(s=c(l+1)),{name:n,value:r,customAssign:o||`=`,customOpen:i||``,customClose:a||``,quote:s||``}});o||(n.push({tag:i,attrs:s}),r=i,a=``),t.start&&await t.start(i,s,o,a)}function d(e){let t,r=e.toLowerCase();for(t=n.length-1;t>=0&&n[t].tag.toLowerCase()!==r;t--);return t}async function f(e,i){let a;if(a=i?d(i):0,a>=0){for(let r=n.length-1;r>=a;r--)t.end&&t.end(n[r].tag,n[r].attrs,r>a||!e);n.length=a,r=a&&n[a-1].tag}else i.toLowerCase()===`br`?t.start&&await t.start(i,[],!0,``):i.toLowerCase()===`p`&&(t.start&&await t.start(i,[],!1,``,!0),t.end&&t.end(i,[]))}}},WT=class{sort(e,t=0){for(let n=0,r=this.keys.length;n<r;n++){let r=this.keys[n],i=r.slice(1),a=e.indexOf(i,t);if(a!==-1){do a!==t&&(e.splice(a,1),e.splice(t,0,i)),t++;while((a=e.indexOf(i,t))!==-1);return this[r].sort(e,t)}}return e}},GT=class e{add(e){e.forEach(t=>{let n=`$`+t;this[n]||(this[n]=[],this[n].processed=0),this[n].push(e)})}createSorter(){let t=new WT;return t.keys=Object.keys(this).sort((e,t)=>{let n=this[e].length,r=this[t].length;return n<r?1:n>r||e<t?-1:e>t?1:0}).filter(n=>{if(this[n].processed<this[n].length){let r=n.slice(1),i=new e;return this[n].forEach(e=>{let t;for(;(t=e.indexOf(r))!==-1;)e.splice(t,1);e.forEach(e=>{this[`$`+e].processed++}),i.add(e.slice(0))}),t[n]=i.createSorter(),!0}return!1}),t}};function KT(e){return e&&e.replace(/^[ \n\r\t\f]+/,``).replace(/[ \n\r\t\f]+$/,``)}function qT(e){return e&&e.replace(/[ \n\r\t\f\xA0]+/g,function(e){return e===` `?` `:e.replace(/(^|\xA0+)[^\xA0]+/g,`$1 `)})}function JT(e,t,n,r,i){let a=``,o=``;return t.preserveLineBreaks&&(e=e.replace(/^[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*/,function(){return a=`
`,``}).replace(/[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*$/,function(){return o=`
`,``})),n&&(e=e.replace(/^[ \n\r\t\f\xA0]+/,function(e){let n=!a&&t.conservativeCollapse;return n&&e===` `?` `:e.replace(/^[^\xA0]+/,``).replace(/(\xA0+)[^\xA0]+/g,`$1 `)||(n?` `:``)})),r&&(e=e.replace(/[ \n\r\t\f\xA0]+$/,function(e){let n=!o&&t.conservativeCollapse;return n&&e===` `?` `:e.replace(/[^\xA0]+(\xA0+)/g,` $1`).replace(/[^\xA0]+$/,``)||(n?` `:``)})),i&&(e=qT(e)),a+e+o}const YT=new Set(`a.abbr.acronym.b.bdi.bdo.big.button.cite.code.del.dfn.em.font.i.ins.kbd.label.mark.math.nobr.object.q.rp.rt.rtc.ruby.s.samp.select.small.span.strike.strong.sub.sup.svg.textarea.time.tt.u.var`.split(`.`)),XT=new Set(`a.abbr.acronym.b.big.del.em.font.i.ins.kbd.mark.nobr.rp.s.samp.small.span.strike.strong.sub.sup.time.tt.u.var`.split(`.`)),ZT=new Set([`comment`,`img`,`input`,`wbr`]);function QT(e,t,n,r){let i=t&&!ZT.has(t);i&&!r.collapseInlineTagWhitespace&&(i=t.charAt(0)===`/`?!YT.has(t.slice(1)):!XT.has(t));let a=n&&!ZT.has(n);return a&&!r.collapseInlineTagWhitespace&&(a=n.charAt(0)===`/`?!XT.has(n.slice(1)):!YT.has(n)),JT(e,r,i,a,t&&n)}function $T(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}function eE(e,t){for(let n=0,r=t.ignoreCustomComments.length;n<r;n++)if(t.ignoreCustomComments[n].test(e))return!0;return!1}function tE(e,t){let n=t.customEventAttributes;if(n){for(let t=n.length;t--;)if(n[t].test(e))return!0;return!1}return/^on[a-z]{3,}$/.test(e)}function nE(e){return/^[^ \t\n\f\r"'`=<>]+$/.test(e)}function rE(e,t){for(let n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}function iE(e,t,n,r){return n=n?KT(n.toLowerCase()):``,e===`script`&&t===`language`&&n===`javascript`||e===`form`&&t===`method`&&n===`get`||e===`input`&&t===`type`&&n===`text`||e===`script`&&t===`charset`&&!rE(r,`src`)||e===`a`&&t===`name`&&rE(r,`id`)||e===`area`&&t===`shape`&&n===`rect`}const aE=new Set([`text/javascript`,`text/ecmascript`,`text/jscript`,`application/javascript`,`application/x-javascript`,`application/ecmascript`,`module`]),oE=new Set([`module`]);function sE(e=``){return e=KT(e.split(/;/,2)[0]).toLowerCase(),e===``||aE.has(e)}function cE(e=``){return e=KT(e.split(/;/,2)[0]).toLowerCase(),oE.has(e)}function lE(e,t){if(e!==`script`)return!1;for(let e=0,n=t.length;e<n;e++)if(t[e].name.toLowerCase()===`type`)return sE(t[e].value);return!0}function uE(e=``){return e=KT(e).toLowerCase(),e===``||e===`text/css`}function dE(e,t){if(e!==`style`)return!1;for(let e=0,n=t.length;e<n;e++)if(t[e].name.toLowerCase()===`type`)return uE(t[e].value);return!0}const fE=new Set(`allowfullscreen.async.autofocus.autoplay.checked.compact.controls.declare.default.defaultchecked.defaultmuted.defaultselected.defer.disabled.enabled.formnovalidate.hidden.indeterminate.inert.ismap.itemscope.loop.multiple.muted.nohref.noresize.noshade.novalidate.nowrap.open.pauseonexit.readonly.required.reversed.scoped.seamless.selected.sortable.truespeed.typemustmatch.visible`.split(`.`)),pE=new Set([`true`,`false`]);function mE(e,t){return fE.has(e)||e===`draggable`&&!pE.has(t)}function hE(e,t){return/^(?:a|area|link|base)$/.test(t)&&e===`href`||t===`img`&&/^(?:src|longdesc|usemap)$/.test(e)||t===`object`&&/^(?:classid|codebase|data|usemap)$/.test(e)||t===`q`&&e===`cite`||t===`blockquote`&&e===`cite`||(t===`ins`||t===`del`)&&e===`cite`||t===`form`&&e===`action`||t===`input`&&(e===`src`||e===`usemap`)||t===`head`&&e===`profile`||t===`script`&&(e===`src`||e===`for`)}function gE(e,t){return/^(?:a|area|object|button)$/.test(t)&&e===`tabindex`||t===`input`&&(e===`maxlength`||e===`tabindex`)||t===`select`&&(e===`size`||e===`tabindex`)||t===`textarea`&&/^(?:rows|cols|tabindex)$/.test(e)||t===`colgroup`&&e===`span`||t===`col`&&e===`span`||(t===`th`||t===`td`)&&(e===`rowspan`||e===`colspan`)}function _E(e,t,n){if(e!==`link`)return!1;for(let e=0,r=t.length;e<r;e++)if(t[e].name===`rel`&&t[e].value===n)return!0}function vE(e,t,n){return n===`media`&&(_E(e,t,`stylesheet`)||dE(e,t))}const yE=new Set([`img`,`source`]);function bE(e,t){return e===`srcset`&&yE.has(t)}async function xE(e,t,n,r,i){if(tE(t,r))return n=KT(n).replace(/^javascript:\s*/i,``),r.minifyJS(n,!0);if(t===`class`)return n=KT(n),n=r.sortClassName?r.sortClassName(n):qT(n),n;if(hE(t,e))return n=KT(n),_E(e,i,`canonical`)?n:r.minifyURLs(n);if(gE(t,e))return KT(n);if(t===`style`)return n=KT(n),n&&=(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,`;`)),await r.minifyCSS(n,`inline`)),n;if(bE(t,e))n=KT(n).split(/\s+,\s*|\s*,\s+/).map(function(e){let t=e,n=``,i=e.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(i){t=t.slice(0,-i[0].length);let e=+i[1].slice(0,-1),r=i[1].slice(-1);(e!==1||r!==`x`)&&(n=` `+e+r)}return r.minifyURLs(t)+n}).join(`, `);else if(SE(e,i)&&t===`content`)n=n.replace(/\s+/g,``).replace(/[0-9]+\.[0-9]+/g,function(e){return(+e).toString()});else if(CE(e,i)&&t.toLowerCase()===`content`)return qT(n);else if(r.customAttrCollapse&&r.customAttrCollapse.test(t))n=KT(n.replace(/ ?[\n\r]+ ?/g,``).replace(/\s{2,}/g,r.conservativeCollapse?` `:``));else if(e===`script`&&t===`type`)n=KT(n.replace(/\s*;\s*/g,`;`));else if(vE(e,i,t))return n=KT(n),r.minifyCSS(n,`media`);return n}function SE(e,t){if(e!==`meta`)return!1;for(let e=0,n=t.length;e<n;e++)if(t[e].name===`name`&&t[e].value===`viewport`)return!0}function CE(e,t){if(e!==`meta`)return!1;for(let e=0,n=t.length;e<n;e++)if(t[e].name.toLowerCase()===`http-equiv`&&t[e].value.toLowerCase()===`content-security-policy`)return!0}function wE(e){return`/* clean-css ignore:start */`+e+`/* clean-css ignore:end */`}function TE(e,t){switch(t){case`inline`:return`*{`+e+`}`;case`media`:return`@media `+e+`{a{top:0}}`;default:return e}}function EE(e,t){let n;switch(t){case`inline`:n=e.match(/^\*\{([\s\S]*)\}$/);break;case`media`:n=e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/);break}return n?n[1]:e}async function DE(e,t){return t.processConditionalComments?await CT(e,/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,async function(e,n,r,i){return n+await lD(r,t,!0)+i}):e}async function OE(e,t,n){for(let r=0,i=n.length;r<i;r++)if(n[r].name.toLowerCase()===`type`&&t.processScripts.indexOf(n[r].value)>-1)return await lD(e,t);return e}const kE=new Set([`html`,`head`,`body`,`colgroup`,`tbody`]),AE=new Set([`html`,`head`,`body`,`li`,`dt`,`dd`,`p`,`rb`,`rt`,`rtc`,`rp`,`optgroup`,`option`,`colgroup`,`caption`,`thead`,`tbody`,`tfoot`,`tr`,`td`,`th`]),jE=new Set([`meta`,`link`,`script`,`style`,`template`,`noscript`]),ME=new Set([`dt`,`dd`]),NE=new Set(`address.article.aside.blockquote.details.div.dl.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.main.menu.nav.ol.p.pre.section.table.ul`.split(`.`)),PE=new Set([`a`,`audio`,`del`,`ins`,`map`,`noscript`,`video`]),FE=new Set([`rb`,`rt`,`rtc`,`rp`]),IE=new Set([`rb`,`rtc`,`rp`]),LE=new Set([`option`,`optgroup`]),RE=new Set([`tbody`,`tfoot`]),zE=new Set([`thead`,`tbody`,`tfoot`]),BE=new Set([`td`,`th`]),VE=new Set([`html`,`head`,`body`]),HE=new Set([`html`,`body`]),UE=new Set([`head`,`colgroup`,`caption`]),WE=new Set([`dt`,`thead`]),GE=new Set(`a.abbr.acronym.address.applet.area.article.aside.audio.b.base.basefont.bdi.bdo.bgsound.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.command.content.data.datalist.dd.del.details.dfn.dialog.dir.div.dl.dt.element.em.embed.fieldset.figcaption.figure.font.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.image.img.input.ins.isindex.kbd.keygen.label.legend.li.link.listing.main.map.mark.marquee.menu.menuitem.meta.meter.multicol.nav.nobr.noembed.noframes.noscript.object.ol.optgroup.option.output.p.param.picture.plaintext.pre.progress.q.rb.rp.rt.rtc.ruby.s.samp.script.section.select.shadow.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.tt.u.ul.var.video.wbr.xmp`.split(`.`));function KE(e,t){switch(e){case`html`:case`head`:return!0;case`body`:return!jE.has(t);case`colgroup`:return t===`col`;case`tbody`:return t===`tr`}return!1}function qE(e,t){switch(t){case`colgroup`:return e===`colgroup`;case`tbody`:return zE.has(e)}return!1}function JE(e,t){switch(e){case`html`:case`head`:case`body`:case`colgroup`:case`caption`:return!0;case`li`:case`optgroup`:case`tr`:return t===e;case`dt`:case`dd`:return ME.has(t);case`p`:return NE.has(t);case`rb`:case`rt`:case`rp`:return FE.has(t);case`rtc`:return IE.has(t);case`option`:return LE.has(t);case`thead`:case`tbody`:return RE.has(t);case`tfoot`:return t===`tbody`;case`td`:case`th`:return BE.has(t)}return!1}const YE=RegExp(`^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$`);function XE(e,t,n,r){return!n||/^\s*$/.test(n)?typeof r.removeEmptyAttributes==`function`?r.removeEmptyAttributes(t,e):e===`input`&&t===`value`||YE.test(t):!1}function ZE(e,t){for(let n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function QE(e,t){switch(e){case`textarea`:return!1;case`audio`:case`script`:case`video`:if(ZE(`src`,t))return!1;break;case`iframe`:if(ZE(`src`,t)||ZE(`srcdoc`,t))return!1;break;case`object`:if(ZE(`data`,t))return!1;break;case`applet`:if(ZE(`code`,t))return!1;break}return!0}function $E(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function eD(e){return!/^(?:pre|textarea)$/.test(e)}async function tD(e,t,n,r){let i=r.name(e.name),a=e.value;if(r.decodeEntities&&a&&(a=iT(a)),!(r.removeRedundantAttributes&&iE(n,i,a,t)||r.removeScriptTypeAttributes&&n===`script`&&i===`type`&&sE(a)&&!cE(a)||r.removeStyleLinkTypeAttributes&&(n===`style`||n===`link`)&&i===`type`&&uE(a))&&(a&&=await xE(n,i,a,r,t),!(r.removeEmptyAttributes&&XE(n,i,a,r))))return r.decodeEntities&&a&&(a=a.replace(/&(#?[0-9a-zA-Z]+;)/g,`&$1`)),{attr:e,name:i,value:a}}function nD(e,t,n,r,i){let a=e.name,o=e.value,s=e.attr,c=s.quote,l,u;return o!==void 0&&(!n.removeAttributeQuotes||~o.indexOf(i)||!nE(o))?(n.preventAttributesEscaping||(c=n.quoteCharacter===void 0?(o.match(/'/g)||[]).length<(o.match(/"/g)||[]).length?`'`:`"`:n.quoteCharacter===`'`?`'`:`"`,o=c===`"`?o.replace(/"/g,`"`):o.replace(/'/g,`'`)),u=c+o+c,!r&&!n.removeTagWhitespace&&(u+=` `)):u=r&&!t&&!/\/$/.test(o)?o:o+` `,o===void 0||n.collapseBooleanAttributes&&mE(a.toLowerCase(),o.toLowerCase())?(l=a,r||(l+=` `)):l=a+s.customAssign+u,s.customOpen+l+s.customClose}function rD(e){return e}function iD(e){return Promise.resolve(e)}const aD=e=>{let t={name:function(e){return e.toLowerCase()},canCollapseWhitespace:$E,canTrimWhitespace:eD,html5:!0,ignoreCustomComments:[/^!/,/^\s*#/],ignoreCustomFragments:[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/],includeAutoGeneratedTags:!0,log:rD,minifyCSS:iD,minifyJS:rD,minifyURLs:rD};return Object.keys(e).forEach(function(n){let r=e[n];if(n===`caseSensitive`)r&&(t.name=rD);else if(n===`log`)typeof r==`function`&&(t.log=r);else if(n===`minifyCSS`&&typeof r!=`function`){if(!r)return;let e=typeof r==`object`?r:{};t.minifyCSS=async function(n,r){n=n.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(e,n,r,i,a){return n+r+t.minifyURLs(i)+r+a});let i=TE(n,r);return new Promise(a=>{new ST.default(e).minify(i,(e,i)=>{i.errors.length>0&&(i.errors.forEach(t.log),a(n)),a(EE(i.styles,r))})})}}else if(n===`minifyJS`&&typeof r!=`function`){if(!r)return;let e=typeof r==`object`?r:{};e.parse={...e.parse,bare_returns:!1},t.minifyJS=async function(n,r){let i=n.match(/^\s*<!--.*/),a=i?n.slice(i[0].length).replace(/\n\s*-->\s*$/,``):n;e.parse.bare_returns=r;try{return(await hS(a,e)).code.replace(/;$/,``)}catch(e){return t.log(e),n}}}else if(n===`minifyURLs`&&typeof r!=`function`){if(!r)return;let e=r;typeof r==`string`?e={site:r}:typeof r!=`object`&&(e={}),t.minifyURLs=function(n){try{return xT.default.relate(n,e)}catch(e){return t.log(e),n}}}else t[n]=r}),t};function oD(e){let t;do t=Math.random().toString(36).replace(/^0\.[0-9]*/,``);while(~e.indexOf(t));return t}const sD=new Set([`script`,`style`]);async function cD(e,t,n,r){let i=t.sortAttributes&&Object.create(null),a=t.sortClassName&&new GT;function o(e){return e.map(function(e){return t.name(e.name)})}function s(e,t){return!t||e.indexOf(t)===-1}function c(e){return s(e,n)&&s(e,r)}async function l(e){let n,r;await new UT(e,{start:function(e,s){i&&(i[e]||(i[e]=new GT),i[e].add(o(s).filter(c)));for(let i=0,o=s.length;i<o;i++){let o=s[i];a&&o.value&&t.name(o.name)===`class`?a.add(KT(o.value).split(/[ \t\n\f\r]+/).filter(c)):t.processScripts&&o.name.toLowerCase()===`type`&&(n=e,r=o.value)}},end:function(){n=``},chars:async function(e){t.processScripts&&sD.has(n)&&t.processScripts.indexOf(r)>-1&&await l(e)}}).parse()}let u=t.log;if(t.log=rD,t.sortAttributes=!1,t.sortClassName=!1,await l(await lD(e,t)),t.log=u,i){let e=Object.create(null);for(let t in i)e[t]=i[t].createSorter();t.sortAttributes=function(t,n){let r=e[t];if(r){let e=Object.create(null),t=o(n);t.forEach(function(t,r){(e[t]||(e[t]=[])).push(n[r])}),r.sort(t).forEach(function(t,r){n[r]=e[t].shift()})}}}if(a){let e=a.createSorter();t.sortClassName=function(t){return e.sort(t.split(/[ \n\f\r]+/)).join(` `)}}}async function lD(e,t,n){t.collapseWhitespace&&(e=JT(e,t,!0,!0));let r=[],i,a=``,o,s=``,c=[],l=[],u=[],d=``,f=``,p=[],m=[],h,g,_;e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(n,r){if(!h){h=oD(e);let n=RegExp(`^`+h+`([0-9]+)$`);t.ignoreCustomComments?t.ignoreCustomComments=t.ignoreCustomComments.slice():t.ignoreCustomComments=[],t.ignoreCustomComments.push(n)}let i=`<!--`+h+p.length+`-->`;return p.push(r),i});let v=t.ignoreCustomFragments.map(function(e){return e.source});if(v.length){let n=RegExp(`\\s*(?:`+v.join(`|`)+`)+\\s*`,`g`);e=e.replace(n,function(n){g||(g=oD(e),_=RegExp(`(\\s*)`+g+`([0-9]+)`+g+`(\\s*)`,`g`),t.minifyCSS&&=(function(e){return function(t,n){t=t.replace(_,function(e,t,n){let r=m[+n];return r[1]+g+n+g+r[2]});let r=[];return new ST.default().minify(TE(t,n)).warnings.forEach(function(e){let n=_.exec(e);if(n){let e=g+n[2]+g;t=t.replace(e,wE(e)),r.push(e)}}),e(t,n).then(e=>(r.forEach(function(t){e=e.replace(wE(t),t)}),e))}})(t.minifyCSS),t.minifyJS&&=(function(e){return function(t,n){return e(t.replace(_,function(e,t,n){let r=m[+n];return r[1]+g+n+g+r[2]}),n)}})(t.minifyJS));let r=g+m.length+g;return m.push(/^(\s*)[\s\S]*?(\s*)$/.exec(n)),` `+r+` `})}(t.sortAttributes&&typeof t.sortAttributes!=`function`||t.sortClassName&&typeof t.sortClassName!=`function`)&&await cD(e,t,h,g);function y(e,n){return t.canCollapseWhitespace(e,n,$E)}function b(e,n){return t.canTrimWhitespace(e,n,eD)}function x(){let e=r.length-1;for(;e>0&&!/^<[^/!]/.test(r[e]);)e--;r.length=Math.max(0,e)}function S(){let e=r.length-1;for(;e>0&&!/^<\//.test(r[e]);)e--;r.length=Math.max(0,e)}function C(e,n){for(let i=null;e>=0&&b(i);e--){let a=r[e],o=a.match(/^<\/([\w:-]+)>$/);if(o)i=o[1];else if(/>$/.test(a)||(r[e]=QT(a,null,n,t)))break}}function w(e){let t=r.length-1;if(r.length>1){let e=r[r.length-1];/^(?:<!|$)/.test(e)&&e.indexOf(h)===-1&&t--}C(t,e)}return await new UT(e,{partialMarkup:n,continueOnParseError:t.continueOnParseError,customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround,html5:t.html5,start:async function(e,n,p,m,h){e.toLowerCase()===`svg`&&(t=Object.create(t),t.caseSensitive=!0,t.keepClosingSlash=!0,t.name=rD),e=t.name(e),s=e,i=e,XT.has(e)||(a=``),o=!1,c=n;let _=t.removeOptionalTags;if(_){let t=GE.has(e);t&&KE(d,e)&&x(),d=``,t&&JE(f,e)&&(S(),_=!qE(f,e)),f=``}t.collapseWhitespace&&(l.length||w(e),p||((!b(e,n)||l.length)&&l.push(e),(!y(e,n)||u.length)&&u.push(e)));let v=`<`+e,C=m&&t.keepClosingSlash;r.push(v),t.sortAttributes&&t.sortAttributes(e,n);let T=[];for(let r=n.length,i=!0;--r>=0;){let a=await tD(n[r],n,e,t);a&&(T.unshift(nD(a,C,t,i,g)),i=!1)}T.length>0?(r.push(` `),r.push.apply(r,T)):_&&kE.has(e)&&(d=e),r.push(r.pop()+(C?`/`:``)+`>`),h&&!t.includeAutoGeneratedTags&&(x(),d=``)},end:function(e,n,c){e.toLowerCase()===`svg`&&(t=Object.getPrototypeOf(t)),e=t.name(e),t.collapseWhitespace&&(l.length?e===l[l.length-1]&&l.pop():w(`/`+e),u.length&&e===u[u.length-1]&&u.pop());let p=!1;e===s&&(s=``,p=!o),t.removeOptionalTags&&(p&&VE.has(d)&&x(),d=``,GE.has(e)&&f&&!WE.has(f)&&(f!==`p`||!PE.has(e))&&S(),f=AE.has(e)?e:``),t.removeEmptyElements&&p&&QE(e,n)?(x(),d=``,f=``):(c&&!t.includeAutoGeneratedTags?f=``:r.push(`</`+e+`>`),i=`/`+e,YT.has(e)?p&&(a+=`|`):a=``)},chars:async function(e,n,p){if(n=n===``?`comment`:n,p=p===``?`comment`:p,t.decodeEntities&&e&&!sD.has(s)&&(e=rT(e)),t.collapseWhitespace){if(!l.length){if(n===`comment`){let o=r[r.length-1];if(o.indexOf(h)===-1&&(o||(n=i),r.length>1&&(!o||!t.conservativeCollapse&&/ $/.test(a)))){let t=r.length-2;r[t]=r[t].replace(/\s+$/,function(t){return e=t+e,``})}}if(n)if(n===`/nobr`||n===`wbr`){if(/^\s/.test(e)){let e=r.length-1;for(;e>0&&r[e].lastIndexOf(`<`+n)!==0;)e--;C(e-1,`br`)}}else XT.has(n.charAt(0)===`/`?n.slice(1):n)&&(e=JT(e,t,/(?:^|\s)$/.test(a)));e=n||p?QT(e,n,p,t):JT(e,t,!0,!0),!e&&/\s$/.test(a)&&n&&n.charAt(0)===`/`&&C(r.length-1,p)}!u.length&&p!==`html`&&!(n&&p)&&(e=JT(e,t,!1,!1,!0))}t.processScripts&&sD.has(s)&&(e=await OE(e,t,c)),lE(s,c)&&(e=await t.minifyJS(e)),dE(s,c)&&(e=await t.minifyCSS(e)),t.removeOptionalTags&&e&&((d===`html`||d===`body`&&!/^\s/.test(e))&&x(),d=``,(HE.has(f)||UE.has(f)&&!/^\s/.test(e))&&S(),f=``),i=/^\s*$/.test(e)?n:`comment`,t.decodeEntities&&e&&!sD.has(s)&&(e=e.replace(/&((?:Iacute|aacute|uacute|plusmn|Otilde|otilde|agrave|Agrave|Yacute|yacute|Oslash|oslash|atilde|Atilde|brvbar|ccedil|Ccedil|Ograve|curren|divide|eacute|Eacute|ograve|Oacute|egrave|Egrave|Ugrave|frac12|frac14|frac34|ugrave|oacute|iacute|Ntilde|ntilde|Uacute|middot|igrave|Igrave|iquest|Aacute|cedil|laquo|micro|iexcl|Icirc|icirc|acirc|Ucirc|Ecirc|ocirc|Ocirc|ecirc|ucirc|Aring|aring|AElig|aelig|acute|pound|raquo|Acirc|times|THORN|szlig|thorn|COPY|auml|ordf|ordm|Uuml|macr|uuml|Auml|ouml|Ouml|para|nbsp|euml|quot|QUOT|Euml|yuml|cent|sect|copy|sup1|sup2|sup3|iuml|Iuml|ETH|shy|reg|not|yen|amp|AMP|REG|uml|eth|deg|gt|GT|LT|lt)(?!;)|(?:#?[0-9a-zA-Z]+;))/g,`&$1`).replace(/</g,`<`)),_&&t.collapseWhitespace&&l.length&&(e=e.replace(_,function(e,t,n){return m[+n][0]})),a+=e,e&&(o=!0),r.push(e)},comment:async function(e,n){let i=n?`<!`:`<!--`,a=n?`>`:`-->`;e=$T(e)?i+await DE(e,t)+a:t.removeComments?eE(e,t)?`<!--`+e+`-->`:``:i+e+a,t.removeOptionalTags&&e&&(d=``,f=``),r.push(e)},doctype:function(e){r.push(t.useShortDoctype?`<!doctype`+(t.removeTagWhitespace?``:` `)+`html>`:qT(e))}}).parse(),t.removeOptionalTags&&(VE.has(d)&&x(),f&&!WE.has(f)&&S()),t.collapseWhitespace&&w(`br`),uD(r,t,_?function(e){return e.replace(_,function(e,n,r,i){let a=m[+r][0];return t.collapseWhitespace?(n!==` `&&(a=n+a),i!==` `&&(a+=i),JT(a,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^[ \n\r\t\f]/.test(a),/[ \n\r\t\f]$/.test(a))):a})}:rD,h?function(e){return e.replace(RegExp(`<!--`+h+`([0-9]+)-->`,`g`),function(e,t){return p[+t]})}:rD)}function uD(e,t,n,r){let i,a=t.maxLineLength,o=t.noNewlinesBeforeTagClose;if(a){let t=``,s=[];for(;e.length;){let i=t.length,c=e[0].indexOf(`
`),l=!!e[0].match(jT),u=o&&l;c<0?t+=r(n(e.shift())):(t+=r(n(e[0].slice(0,c))),e[0]=e[0].slice(c+1)),i>0&&t.length>a&&!u?(s.push(t.slice(0,i)),t=t.slice(i)):c>=0&&(s.push(t),t=``)}t&&s.push(t),i=s.join(`
`)}else i=r(n(e.join(``)));return t.collapseWhitespace?JT(i,t,!0,!0):i}const dD=async function(e,t){let n=Date.now();t=aD(t||{});let r=await lD(e,t);return t.log(`minified in: `+(Date.now()-n)+`ms`),r},fD=`.github,.git,.vscode,.devcontainer,.config,.cargo,.changeset,.husky,.aspect,.eslint-plugin-local,.yarn,.gemini,.ng-dev,.configurations,.tx,dist,build,out,output,target,release,node_modules,vendor,third_party,tmp,temp,cache,.cache,.tmp,.pytest_cache,.tox,.venv,.mypy_cache,.next,.svelte-kit,.turbo,.angular,.dart_tool,__pycache__,.ruff_cache,.nox,htmlcov,cover,.gradle,.m2,.sbt,.bloop,.metals,.bsp,bin,obj,TestResults,BenchmarkDotNet.Artifacts,.vendor-new,Godeps,composer.phar,.phpunit.result.cache,.bundle,.byebug_history,.rspec_status,.mvn,.aws,.gcp,fastlane,DerivedData,xcuserdata,local.properties,.navigation,captures,.externalNativeBuild,.cxx,.idea,.idea_modules,.vs,.history,coverage,.nyc_output,logs,log,.DS_Store`.split(`,`),pD=`package-lock.json,.secrets,.secret,secrets.json,secrets.yaml,secrets.yml,credentials.json,credentials.yaml,credentials.yml,auth.json,auth.yaml,auth.yml,api-keys.json,api_keys.json,service-account.json,service_account.json,private-key.pem,private_key.pem,id_rsa,id_dsa,id_ecdsa,id_ed25519,keyfile,keyfile.json,gcloud-service-key.json,firebase-adminsdk.json,google-services.json,GoogleService-Info.plist,.DS_Store,Thumbs.db,db.sqlite3,db.sqlite3-journal,.eslintcache,.stylelintcache,.node_repl_history,.yarn-integrity,celerybeat-schedule,celerybeat.pid,ThirdPartyNoticeText.txt,ThirdPartyNotices.txt,cglicenses.json,cgmanifest.json`.split(`,`),mD=`.lock,.log,.tmp,.temp,.cache,.bak,.backup,.orig,.swp,.swo,.rej,.pid,.seed,.old,.save,.temporary,.exe,.dll,.so,.dylib,.a,.lib,.o,.obj,.bin,.class,.pdb,.dSYM,.pyc,.pyo,.pyd,.jar,.war,.ear,.nar,.db,.sqlite,.sqlite3,.mdb,.accdb,.zip,.tar,.gz,.bz2,.xz,.lz,.lzma,.Z,.tgz,.rar,.7z,.deb,.rpm,.pkg,.dmg,.msi,.appx,.snap,.map,.d.ts.map,.min.js,.min.css,.key,.pem,.p12,.pfx,.crt,.cer,.der,.csr,.jks,.keystore,.truststore,.kate-swp,.gnome-desktop,.sublime-project,.sublime-workspace,.iml,.iws,.ipr,.patch,.diff,.prof,.profile,.trace,.perf,.coverage,.egg-info,.egg,.mo,.pot,.setup,.paket.template`.split(`,`);function hD(e){return fD.includes(e)}function gD(e){let t=e.split(`/`).pop()||``;for(let e of mD)if(t.endsWith(e))return!0;if(pD.includes(t))return!0;let n=e.split(`/`);for(let e of n)if(fD.includes(e))return!0;return!1}function _D(e,t){let n=e.split(`.`);if(n.length<=1||n.length===2&&n[0]===``)return t?.fallback??``;let r=n[n.length-1];return t?.lowercase?r.toLowerCase():r}const vD={commentPatterns:{"c-style":[/\/\*[\s\S]*?\*\//g,/^\s*\/\/.*$/gm,/\s+\/\/.*$/gm],hash:[/^\s*#(?!!).*$/gm,/\s+#.*$/gm],html:[/<!--[\s\S]*?-->/g],sql:[/--.*$/gm,/\/\*[\s\S]*?\*\//g],lua:[/^\s*--.*$/gm,/--\[\[[\s\S]*?\]\]/g],template:[/\{\{!--[\s\S]*?--\}\}/g,/\{\{![\s\S]*?\}\}/g,/<%#[\s\S]*?%>/g,/\{#[\s\S]*?#\}/g],haskell:[/^\s*--.*$/gm,/\s+--.*$/gm,/\{-[\s\S]*?-\}/g]},fileTypes:{js:{strategy:`terser`},jsx:{strategy:`terser`},mjs:{strategy:`terser`},cjs:{strategy:`terser`},ts:{strategy:`aggressive`,comments:`c-style`},tsx:{strategy:`aggressive`,comments:`c-style`},py:{strategy:`conservative`,comments:`hash`},yaml:{strategy:`conservative`,comments:`hash`},yml:{strategy:`conservative`,comments:`hash`},coffee:{strategy:`conservative`,comments:`hash`},nim:{strategy:`conservative`,comments:`hash`},haml:{strategy:`conservative`,comments:`hash`},slim:{strategy:`conservative`,comments:`hash`},sass:{strategy:`conservative`,comments:`c-style`},styl:{strategy:`conservative`,comments:`c-style`},html:{strategy:`aggressive`,comments:`html`},htm:{strategy:`aggressive`,comments:`html`},xml:{strategy:`aggressive`,comments:`html`},svg:{strategy:`aggressive`,comments:`html`},css:{strategy:`aggressive`,comments:`c-style`},less:{strategy:`aggressive`,comments:`c-style`},scss:{strategy:`aggressive`,comments:`c-style`},json:{strategy:`json`},go:{strategy:`aggressive`,comments:`c-style`},java:{strategy:`aggressive`,comments:`c-style`},c:{strategy:`aggressive`,comments:`c-style`},cpp:{strategy:`aggressive`,comments:`c-style`},cs:{strategy:`aggressive`,comments:`c-style`},rust:{strategy:`aggressive`,comments:`c-style`},rs:{strategy:`aggressive`,comments:`c-style`},swift:{strategy:`aggressive`,comments:`c-style`},kotlin:{strategy:`aggressive`,comments:`c-style`},scala:{strategy:`aggressive`,comments:`c-style`},dart:{strategy:`aggressive`,comments:`c-style`},php:{strategy:`aggressive`,comments:[`c-style`,`hash`]},rb:{strategy:`aggressive`,comments:`hash`},perl:{strategy:`aggressive`,comments:`hash`},sh:{strategy:`conservative`,comments:`hash`},bash:{strategy:`conservative`,comments:`hash`},sql:{strategy:`aggressive`,comments:`sql`},lua:{strategy:`aggressive`,comments:`lua`},r:{strategy:`aggressive`,comments:`hash`},hbs:{strategy:`aggressive`,comments:`template`},handlebars:{strategy:`aggressive`,comments:`template`},ejs:{strategy:`aggressive`,comments:`template`},pug:{strategy:`conservative`,comments:`c-style`},jade:{strategy:`conservative`,comments:`c-style`},mustache:{strategy:`aggressive`,comments:`template`},twig:{strategy:`aggressive`,comments:`template`},jinja:{strategy:`aggressive`,comments:`template`},jinja2:{strategy:`aggressive`,comments:`template`},erb:{strategy:`aggressive`,comments:`template`},vue:{strategy:`aggressive`,comments:`html`},svelte:{strategy:`aggressive`,comments:`html`},graphql:{strategy:`aggressive`,comments:`hash`},gql:{strategy:`aggressive`,comments:`hash`},proto:{strategy:`aggressive`,comments:`c-style`},csv:{strategy:`conservative`},toml:{strategy:`aggressive`,comments:`hash`},ini:{strategy:`aggressive`,comments:`hash`},conf:{strategy:`aggressive`,comments:`hash`},config:{strategy:`aggressive`,comments:`hash`},env:{strategy:`aggressive`,comments:`hash`},properties:{strategy:`aggressive`,comments:`hash`},tf:{strategy:`aggressive`,comments:[`hash`,`c-style`]},tfvars:{strategy:`aggressive`,comments:[`hash`,`c-style`]},pp:{strategy:`aggressive`,comments:`hash`},md:{strategy:`markdown`},markdown:{strategy:`markdown`},rst:{strategy:`conservative`,comments:`hash`},star:{strategy:`conservative`,comments:`hash`},bzl:{strategy:`conservative`,comments:`hash`},cmake:{strategy:`conservative`,comments:`hash`},pl:{strategy:`aggressive`,comments:`hash`},pm:{strategy:`aggressive`,comments:`hash`},fs:{strategy:`conservative`,comments:`c-style`},fsx:{strategy:`conservative`,comments:`c-style`},hs:{strategy:`conservative`,comments:`haskell`},lhs:{strategy:`conservative`,comments:`haskell`},elm:{strategy:`conservative`,comments:`c-style`},clj:{strategy:`aggressive`,comments:`hash`},cljs:{strategy:`aggressive`,comments:`hash`},ex:{strategy:`aggressive`,comments:`hash`},exs:{strategy:`aggressive`,comments:`hash`},erl:{strategy:`aggressive`,comments:`hash`},hrl:{strategy:`aggressive`,comments:`hash`},txt:{strategy:`general`},log:{strategy:`general`},cfg:{strategy:`aggressive`,comments:`hash`},gitignore:{strategy:`aggressive`,comments:`hash`},dockerignore:{strategy:`aggressive`,comments:`hash`}}},yD=new Set([`makefile`,`dockerfile`,`procfile`,`justfile`,`rakefile`,`gemfile`,`podfile`,`fastfile`,`vagrantfile`,`jenkinsfile`,`cakefile`,`pipfile`,`buildfile`,`capfile`,`brewfile`]),bD={lowercase:!0,fallback:`txt`};function xD(e){let t=_D(e,bD),n=(e.split(`/`).pop()||``).toLowerCase();return yD.has(n)?{strategy:`conservative`,comments:`hash`}:vD.fileTypes[t]||{strategy:`general`}}function SD(e,t){try{let n=e,r=Array.isArray(t)?t:[t];for(let e of r){let t=vD.commentPatterns[e];if(t)for(let e of t)try{n=n.replace(e,``)}catch{continue}}return n}catch{return e}}function CD(e,t){try{let n=e;return t.comments&&(n=SD(n,t.comments)),n.replace(/[ \t]+$/gm,``).replace(/\n\s*\n\s*\n+/g,`
`).trim()}catch{return e}}function wD(e,t){try{let n=e;return t.comments&&(n=SD(n,t.comments)),n.replace(/\s+/g,` `).replace(/\s*([{}:;,])\s*/g,`$1`).replace(/>\s+</g,`><`).trim()}catch{return e}}function TD(e){try{return{content:JSON.stringify(JSON.parse(e)),failed:!1}}catch{try{let t=SD(e,`c-style`);return{content:JSON.stringify(JSON.parse(t)),failed:!1}}catch{return{content:e.trim(),failed:!1}}}}function ED(e){try{return e.replace(/[ \t]+$/gm,``).replace(/\r\n/g,`
`).replace(/\n\s*\n\s*\n+/g,`
`).replace(/[ \t]{3,}/g,` `).trim()}catch{return e}}function DD(e){try{return e.replace(/<!--[\s\S]*?-->/g,``).replace(/[ \t]+$/gm,``).replace(/\r\n/g,`
`).replace(/\n\s*\n\s*\n+/g,`
`).replace(/([^\n])[ \t]{5,}([^\n])/g,`$1 $2`).replace(/\s*\|\s*/g,` | `).replace(/^(#{1,6})[ \t]+/gm,`$1 `).replace(/^(\s*)([-*+]|\d+\.)[ \t]+/gm,`$1$2 `).replace(/\n{3,}(```)/g,`
$1`).replace(/(```)\n{3,}/g,`$1
`).trim()}catch{return e}}function OD(e){try{return SD(e,`c-style`).replace(/\s+/g,` `).replace(/\s*([{}:;,])\s*/g,`$1`).trim()}catch{return e}}function kD(e){try{return SD(e,`html`).replace(/\s+/g,` `).replace(/>\s+</g,`><`).trim()}catch{return e}}function AD(e){try{return SD(e,`c-style`).replace(/\s+/g,` `).replace(/\s*([{}();,:])\s*/g,`$1`).split(`
`).map(e=>e.trim()).filter(e=>e.length>0).join(`
`)}catch{return e}}function jD(e,t){let n=xD(t),r=_D(t,bD);try{switch(n.strategy){case`terser`:return AD(e);case`json`:return TD(e).content;case`conservative`:return CD(e,n);case`markdown`:return DD(e);case`aggressive`:return[`css`,`less`,`scss`].includes(r)?OD(e):[`html`,`htm`,`xml`,`svg`].includes(r)?kD(e):wD(e,n);case`general`:default:return ED(e)}}catch{return e}}async function MD(e){try{return e.trim()?{content:(await hS(e,{compress:{drop_console:!1,drop_debugger:!1,sequences:!0,conditionals:!0,comparisons:!0,evaluate:!0,booleans:!0,loops:!1,unused:!1,dead_code:!0,side_effects:!1},mangle:!1,format:{comments:!1,beautify:!1,semicolons:!0},sourceMap:!1})).code||e,failed:!1}:{content:e,failed:!1}}catch(t){return{content:e,failed:!0,reason:`Terser minification failed: ${t instanceof Error?t.message:`Unknown error`}`}}}async function ND(e){try{let t=new ST.default({level:2,format:!1,inline:!1,rebase:!1}).minify(e);if(t.errors&&t.errors.length>0)throw Error(t.errors.join(`, `));return{content:t.styles,failed:!1}}catch(t){return{content:OD(e),failed:!1,reason:`CleanCSS fallback: ${t instanceof Error?t.message:`unknown`}`}}}async function PD(e){try{return{content:await dD(e,{collapseWhitespace:!0,removeComments:!0,removeRedundantAttributes:!0,removeScriptTypeAttributes:!0,removeStyleLinkTypeAttributes:!0,minifyCSS:!1,minifyJS:!1,caseSensitive:!1}),failed:!1}}catch(t){return{content:kD(e),failed:!1,reason:`html-minifier fallback: ${t instanceof Error?t.message:`unknown`}`}}}async function FD(e,t){try{let n=Buffer.byteLength(e,`utf8`);if(n>1048576)return{content:e,failed:!0,type:`failed`,reason:`File too large: ${(n/1024/1024).toFixed(2)}MB exceeds 1MB limit`};let r=xD(t),i=_D(t,bD);switch(r.strategy){case`terser`:{let t=await MD(e);return{content:t.content,failed:t.failed,type:t.failed?`failed`:`terser`,...t.reason&&{reason:t.reason}}}case`json`:{let t=TD(e);return{content:t.content,failed:t.failed,type:t.failed?`failed`:`json`,...t.reason&&{reason:t.reason}}}case`conservative`:return{content:CD(e,r),failed:!1,type:`conservative`};case`general`:return{content:ED(e),failed:!1,type:`general`};case`markdown`:return{content:DD(e),failed:!1,type:`markdown`};case`aggressive`:if([`css`,`less`,`scss`].includes(i)){let t=await ND(e);return{content:t.content,failed:!1,type:`aggressive`,...t.reason&&{reason:t.reason}}}if([`html`,`htm`].includes(i)){let t=await PD(e);return{content:t.content,failed:!1,type:`aggressive`,...t.reason&&{reason:t.reason}}}return{content:wD(e,r),failed:!1,type:`aggressive`}}}catch(t){return{content:e,failed:!0,type:`failed`,reason:`Unexpected minification error: ${t instanceof Error?t.message:`Unknown error`}`}}}function ID(e){let{data:t,instructions:n,isError:r}=e;return{content:[{type:`text`,text:LD({data:t,instructions:n})}],isError:!!r}}function LD(e,t){let n=Dp(RD(e),{keysPriority:t||[`instructions`,`results`,`hasResultsStatusHints`,`emptyStatusHints`,`errorStatusHints`,`mainResearchGoal`,`researchGoal`,`reasoning`,`status`,`data`]});return Hc(Ul.sanitizeContent(n).content)}function RD(e,t={}){if(e==null||Number.isNaN(e))return;let{inFilesObject:n=!1,depth:r=0}=t;if(Array.isArray(e)){let t=e.map(e=>RD(e,{inFilesObject:n,depth:r+1})).filter(e=>e!==void 0),i=n&&r>=2;return t.length>0||i?t:void 0}if(typeof e==`object`&&e){let t={},i=!1;for(let[a,o]of Object.entries(e)){let e=(a===`files`||a===`repositories`)&&!n,s=RD(o,{inFilesObject:n||e,depth:e?0:r+1});s!==void 0&&(t[a]=s,i=!0)}return i?t:void 0}return e}function zD(e,t){return async(n,{authInfo:r,sessionId:i})=>{try{let a=Ul.validateInputParameters(n);if(!a.isValid)return ID({data:{error:`Security validation failed: ${a.warnings.join(`; `)}`},isError:!0});let o=a.sanitizedParams;return tl()&&BD(e,o),await t(a.sanitizedParams,r,i)}catch(t){return al(e,pn.SECURITY_VALIDATION_FAILED.code).catch(()=>{}),ID({data:{error:`Security validation error: ${t instanceof Error?t.message:`Unknown error`}`},isError:!0})}}}function BD(e,t){let n=UD(t);if(n)for(let t of n)VD(e,t);else HD(e,t)}function VD(e,t){let n=KD(t);if(n.length===0)return;let r=WD(t);rl(e,n,r.mainResearchGoal,r.researchGoal,r.reasoning).catch(()=>{})}function HD(e,t){let n=qD(t);if(n.length===0)return;let r=GD(t);rl(e,n,r.mainResearchGoal,r.researchGoal,r.reasoning).catch(()=>{})}function UD(e){let t=e.queries;if(t&&Array.isArray(t)&&t.length>0)return t}function WD(e){return{...typeof e.mainResearchGoal==`string`&&e.mainResearchGoal&&{mainResearchGoal:e.mainResearchGoal},...typeof e.researchGoal==`string`&&e.researchGoal&&{researchGoal:e.researchGoal},...typeof e.reasoning==`string`&&e.reasoning&&{reasoning:e.reasoning}}}function GD(e){let t=new Set,n=new Set,r=new Set,i=e=>{typeof e.mainResearchGoal==`string`&&e.mainResearchGoal&&t.add(e.mainResearchGoal),typeof e.researchGoal==`string`&&e.researchGoal&&n.add(e.researchGoal),typeof e.reasoning==`string`&&e.reasoning&&r.add(e.reasoning)};if(e.queries&&Array.isArray(e.queries)&&e.queries.length>0)for(let t of e.queries)i(t);else i(e);return{...t.size>0&&{mainResearchGoal:Array.from(t).join(`; `)},...n.size>0&&{researchGoal:Array.from(n).join(`; `)},...r.size>0&&{reasoning:Array.from(r).join(`; `)}}}function KD(e){let t=[],n=typeof e.repository==`string`?e.repository:void 0;if(n&&n.includes(`/`))t.push(n);else{let n=typeof e.repo==`string`?e.repo:void 0,r=typeof e.owner==`string`?e.owner:void 0;r&&n?t.push(`${r}/${n}`):r&&t.push(r)}return t}function qD(e){let t=new Set;if(e.queries&&Array.isArray(e.queries)&&e.queries.length>0)for(let n of e.queries){let e=n,r=typeof e.repository==`string`?e.repository:void 0;if(r&&r.includes(`/`))t.add(r);else{let n=typeof e.repo==`string`?e.repo:void 0,r=typeof e.owner==`string`?e.owner:void 0;r&&n?t.add(`${r}/${n}`):r&&t.add(r)}}else{let n=typeof e.repository==`string`?e.repository:void 0;if(n&&n.includes(`/`))t.add(n);else{let n=typeof e.repo==`string`?e.repo:void 0,r=typeof e.owner==`string`?e.owner:void 0;r&&n?t.add(`${r}/${n}`):r&&t.add(r)}}return Array.from(t)}const JD=Jt({mainResearchGoal:K().describe(xl.mainResearchGoal),researchGoal:K().describe(xl.researchGoal),reasoning:K().describe(xl.reasoning)}),YD=Jt({researchGoal:K().optional().describe(`Goal of the search`),reasoning:K().optional().describe(`Why this approach helps reach the goal`)});function XD(e,t,n={}){let{maxQueries:r=3,descriptionPrefix:i}=n,a=i??(r===3?xl.bulkQuery(e):`Queries for ${e} (1–${r} per call). Review schema before use.`);return Jt({queries:qt(t).min(1).max(r).describe(a)})}const ZD=JD.extend({keywordsToSearch:qt(K()).min(1).max(5).describe(jl.search.keywordsToSearch),owner:K().optional().describe(jl.scope.owner),repo:K().optional().describe(jl.scope.repo),extension:K().optional().describe(jl.filters.extension),filename:K().optional().describe(jl.filters.filename),path:K().optional().describe(jl.filters.path),match:$t([`file`,`path`]).optional().describe(jl.filters.match),limit:Gt().int().min(1).max(100).default(10).optional().describe(jl.resultLimit.limit),page:Gt().int().min(1).max(10).default(1).optional().describe(jl.pagination.page)}),QD=XD(J.GITHUB_SEARCH_CODE,ZD);function $D(){return typeof navigator==`object`&&`userAgent`in navigator?navigator.userAgent:typeof process==`object`&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:`<environment undetectable>`}function eO(e,t,n,r){if(typeof n!=`function`)throw Error(`method for before hook must be a function`);return r||={},Array.isArray(t)?t.reverse().reduce((t,n)=>eO.bind(null,e,n,t,r),n)():Promise.resolve().then(()=>e.registry[t]?e.registry[t].reduce((e,t)=>t.hook.bind(null,e,r),n)():n(r))}function tO(e,t,n,r){let i=r;e.registry[n]||(e.registry[n]=[]),t===`before`&&(r=(e,t)=>Promise.resolve().then(i.bind(null,t)).then(e.bind(null,t))),t===`after`&&(r=(e,t)=>{let n;return Promise.resolve().then(e.bind(null,t)).then(e=>(n=e,i(n,t))).then(()=>n)}),t===`error`&&(r=(e,t)=>Promise.resolve().then(e.bind(null,t)).catch(e=>i(e,t))),e.registry[n].push({hook:r,orig:i})}function nO(e,t,n){if(!e.registry[t])return;let r=e.registry[t].map(e=>e.orig).indexOf(n);r!==-1&&e.registry[t].splice(r,1)}const rO=Function.bind,iO=rO.bind(rO);function aO(e,t,n){let r=iO(nO,null).apply(null,n?[t,n]:[t]);e.api={remove:r},e.remove=r,[`before`,`error`,`after`,`wrap`].forEach(r=>{let i=n?[t,r,n]:[t,r];e[r]=e.api[r]=iO(tO,null).apply(null,i)})}function oO(){let e=Symbol(`Singular`),t={registry:{}},n=eO.bind(null,t,e);return aO(n,t,e),n}function sO(){let e={registry:{}},t=eO.bind(null,e);return aO(t,e),t}var cO={Singular:oO,Collection:sO},lO=`octokit-endpoint.js/0.0.0-development ${$D()}`,uO={method:`GET`,baseUrl:`https://api.github.com`,headers:{accept:`application/vnd.github.v3+json`,"user-agent":lO},mediaType:{format:``}};function dO(e){return e?Object.keys(e).reduce((t,n)=>(t[n.toLowerCase()]=e[n],t),{}):{}}function fO(e){if(typeof e!=`object`||!e||Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let n=Object.prototype.hasOwnProperty.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}function pO(e,t){let n=Object.assign({},e);return Object.keys(t).forEach(r=>{fO(t[r])&&r in e?n[r]=pO(e[r],t[r]):Object.assign(n,{[r]:t[r]})}),n}function mO(e){for(let t in e)e[t]===void 0&&delete e[t];return e}function hO(e,t,n){if(typeof t==`string`){let[e,r]=t.split(` `);n=Object.assign(r?{method:e,url:r}:{url:e},n)}else n=Object.assign({},t);n.headers=dO(n.headers),mO(n),mO(n.headers);let r=pO(e||{},n);return n.url===`/graphql`&&(e&&e.mediaType.previews?.length&&(r.mediaType.previews=e.mediaType.previews.filter(e=>!r.mediaType.previews.includes(e)).concat(r.mediaType.previews)),r.mediaType.previews=(r.mediaType.previews||[]).map(e=>e.replace(/-preview/,``))),r}function gO(e,t){let n=/\?/.test(e)?`&`:`?`,r=Object.keys(t);return r.length===0?e:e+n+r.map(e=>e===`q`?`q=`+t.q.split(`+`).map(encodeURIComponent).join(`+`):`${e}=${encodeURIComponent(t[e])}`).join(`&`)}var _O=/\{[^{}}]+\}/g;function vO(e){return e.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,``).split(/,/)}function yO(e){let t=e.match(_O);return t?t.map(vO).reduce((e,t)=>e.concat(t),[]):[]}function bO(e,t){let n={__proto__:null};for(let r of Object.keys(e))t.indexOf(r)===-1&&(n[r]=e[r]);return n}function xO(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,`[`).replace(/%5D/g,`]`)),e}).join(``)}function SO(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return`%`+e.charCodeAt(0).toString(16).toUpperCase()})}function CO(e,t,n){return t=e===`+`||e===`#`?xO(t):SO(t),n?SO(n)+`=`+t:t}function wO(e){return e!=null}function TO(e){return e===`;`||e===`&`||e===`?`}function EO(e,t,n,r){var i=e[n],a=[];if(wO(i)&&i!==``)if(typeof i==`string`||typeof i==`number`||typeof i==`boolean`)i=i.toString(),r&&r!==`*`&&(i=i.substring(0,parseInt(r,10))),a.push(CO(t,i,TO(t)?n:``));else if(r===`*`)Array.isArray(i)?i.filter(wO).forEach(function(e){a.push(CO(t,e,TO(t)?n:``))}):Object.keys(i).forEach(function(e){wO(i[e])&&a.push(CO(t,i[e],e))});else{let e=[];Array.isArray(i)?i.filter(wO).forEach(function(n){e.push(CO(t,n))}):Object.keys(i).forEach(function(n){wO(i[n])&&(e.push(SO(n)),e.push(CO(t,i[n].toString())))}),TO(t)?a.push(SO(n)+`=`+e.join(`,`)):e.length!==0&&a.push(e.join(`,`))}else t===`;`?wO(i)&&a.push(SO(n)):i===``&&(t===`&`||t===`?`)?a.push(SO(n)+`=`):i===``&&a.push(``);return a}function DO(e){return{expand:OO.bind(null,e)}}function OO(e,t){var n=[`+`,`#`,`.`,`/`,`;`,`?`,`&`];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,r,i){if(r){let e=``,i=[];if(n.indexOf(r.charAt(0))!==-1&&(e=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(n){var r=/([^:\*]*)(?::(\d+)|(\*))?/.exec(n);i.push(EO(t,e,r[1],r[2]||r[3]))}),e&&e!==`+`){var a=`,`;return e===`?`?a=`&`:e!==`#`&&(a=e),(i.length===0?``:e)+i.join(a)}else return i.join(`,`)}else return xO(i)}),e===`/`?e:e.replace(/\/$/,``)}function kO(e){let t=e.method.toUpperCase(),n=(e.url||`/`).replace(/:([a-z]\w+)/g,`{$1}`),r=Object.assign({},e.headers),i,a=bO(e,[`method`,`baseUrl`,`url`,`headers`,`request`,`mediaType`]),o=yO(n);n=DO(n).expand(a),/^http/.test(n)||(n=e.baseUrl+n);let s=bO(a,Object.keys(e).filter(e=>o.includes(e)).concat(`baseUrl`));return/application\/octet-stream/i.test(r.accept)||(e.mediaType.format&&(r.accept=r.accept.split(/,/).map(t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(`,`)),n.endsWith(`/graphql`)&&e.mediaType.previews?.length&&(r.accept=(r.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g)||[]).concat(e.mediaType.previews).map(t=>`application/vnd.github.${t}-preview${e.mediaType.format?`.${e.mediaType.format}`:`+json`}`).join(`,`))),[`GET`,`HEAD`].includes(t)?n=gO(n,s):`data`in s?i=s.data:Object.keys(s).length&&(i=s),!r[`content-type`]&&i!==void 0&&(r[`content-type`]=`application/json; charset=utf-8`),[`PATCH`,`PUT`].includes(t)&&i===void 0&&(i=``),Object.assign({method:t,url:n,headers:r},i===void 0?null:{body:i},e.request?{request:e.request}:null)}function AO(e,t,n){return kO(hO(e,t,n))}function jO(e,t){let n=hO(e,t),r=AO.bind(null,n);return Object.assign(r,{DEFAULTS:n,defaults:jO.bind(null,n),merge:hO.bind(null,n),parse:kO})}var MO=jO(null,uO),NO=I(((e,t)=>{let n=function(){};n.prototype=Object.create(null);let r=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,i=/\\([\v\u0020-\u00ff])/gu,a=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,o={type:``,parameters:new n};Object.freeze(o.parameters),Object.freeze(o);function s(e){if(typeof e!=`string`)throw TypeError(`argument header is required and must be a string`);let t=e.indexOf(`;`),o=t===-1?e.trim():e.slice(0,t).trim();if(a.test(o)===!1)throw TypeError(`invalid media type`);let s={type:o.toLowerCase(),parameters:new n};if(t===-1)return s;let c,l,u;for(r.lastIndex=t;l=r.exec(e);){if(l.index!==t)throw TypeError(`invalid parameter format`);t+=l[0].length,c=l[1].toLowerCase(),u=l[2],u[0]===`"`&&(u=u.slice(1,u.length-1),i.test(u)&&(u=u.replace(i,`$1`))),s.parameters[c]=u}if(t!==e.length)throw TypeError(`invalid parameter format`);return s}function c(e){if(typeof e!=`string`)return o;let t=e.indexOf(`;`),s=t===-1?e.trim():e.slice(0,t).trim();if(a.test(s)===!1)return o;let c={type:s.toLowerCase(),parameters:new n};if(t===-1)return c;let l,u,d;for(r.lastIndex=t;u=r.exec(e);){if(u.index!==t)return o;t+=u[0].length,l=u[1].toLowerCase(),d=u[2],d[0]===`"`&&(d=d.slice(1,d.length-1),i.test(d)&&(d=d.replace(i,`$1`))),c.parameters[l]=d}return t===e.length?c:o}t.exports.default={parse:s,safeParse:c},t.exports.parse=s,t.exports.safeParse=c,t.exports.defaultContentType=o}))(),PO=class extends Error{name;status;request;response;constructor(e,t,n){super(e,{cause:n.cause}),this.name=`HttpError`,this.status=Number.parseInt(t),Number.isNaN(this.status)&&(this.status=0),`response`in n&&(this.response=n.response);let r=Object.assign({},n.request);n.request.headers.authorization&&(r.headers=Object.assign({},n.request.headers,{authorization:n.request.headers.authorization.replace(/(?<! ) .*$/,` [REDACTED]`)})),r.url=r.url.replace(/\bclient_secret=\w+/g,`client_secret=[REDACTED]`).replace(/\baccess_token=\w+/g,`access_token=[REDACTED]`),this.request=r}},FO=`10.0.7`,IO={headers:{"user-agent":`octokit-request.js/${FO} ${$D()}`}};function LO(e){if(typeof e!=`object`||!e||Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);if(t===null)return!0;let n=Object.prototype.hasOwnProperty.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Function.prototype.call(n)===Function.prototype.call(e)}var RO=()=>``;async function zO(e){let t=e.request?.fetch||globalThis.fetch;if(!t)throw Error(`fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing`);let n=e.request?.log||console,r=e.request?.parseSuccessResponseBody!==!1,i=LO(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body,a=Object.fromEntries(Object.entries(e.headers).map(([e,t])=>[e,String(t)])),o;try{o=await t(e.url,{method:e.method,body:i,redirect:e.request?.redirect,headers:a,signal:e.request?.signal,...e.body&&{duplex:`half`}})}catch(t){let n=`Unknown Error`;if(t instanceof Error){if(t.name===`AbortError`)throw t.status=500,t;n=t.message,t.name===`TypeError`&&`cause`in t&&(t.cause instanceof Error?n=t.cause.message:typeof t.cause==`string`&&(n=t.cause))}let r=new PO(n,500,{request:e});throw r.cause=t,r}let s=o.status,c=o.url,l={};for(let[e,t]of o.headers)l[e]=t;let u={url:c,status:s,headers:l,data:``};if(`deprecation`in l){let t=l.link&&l.link.match(/<([^<>]+)>; rel="deprecation"/),r=t&&t.pop();n.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${l.sunset}${r?`. See ${r}`:``}`)}if(s===204||s===205)return u;if(e.method===`HEAD`){if(s<400)return u;throw new PO(o.statusText,s,{response:u,request:e})}if(s===304)throw u.data=await BO(o),new PO(`Not modified`,s,{response:u,request:e});if(s>=400)throw u.data=await BO(o),new PO(HO(u.data),s,{response:u,request:e});return u.data=r?await BO(o):o.body,u}async function BO(e){let t=e.headers.get(`content-type`);if(!t)return e.text().catch(RO);let n=(0,NO.safeParse)(t);if(VO(n)){let t=``;try{return t=await e.text(),JSON.parse(t)}catch{return t}}else if(n.type.startsWith(`text/`)||n.parameters.charset?.toLowerCase()===`utf-8`)return e.text().catch(RO);else return e.arrayBuffer().catch(()=>new ArrayBuffer(0))}function VO(e){return e.type===`application/json`||e.type===`application/scim+json`}function HO(e){if(typeof e==`string`)return e;if(e instanceof ArrayBuffer)return`Unknown error`;if(`message`in e){let t=`documentation_url`in e?` - ${e.documentation_url}`:``;return Array.isArray(e.errors)?`${e.message}: ${e.errors.map(e=>JSON.stringify(e)).join(`, `)}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function UO(e,t){let n=e.defaults(t);return Object.assign(function(e,t){let r=n.merge(e,t);if(!r.request||!r.request.hook)return zO(n.parse(r));let i=(e,t)=>zO(n.parse(n.merge(e,t)));return Object.assign(i,{endpoint:n,defaults:UO.bind(null,n)}),r.request.hook(i,r)},{endpoint:n,defaults:UO.bind(null,n)})}var WO=UO(MO,IO),GO=`0.0.0-development`;function KO(e){return`Request failed due to following response errors:
`+e.errors.map(e=>` - ${e.message}`).join(`
`)}var qO=class extends Error{constructor(e,t,n){super(KO(n)),this.request=e,this.headers=t,this.response=n,this.errors=n.errors,this.data=n.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name=`GraphqlResponseError`;errors;data},JO=[`method`,`baseUrl`,`url`,`headers`,`request`,`query`,`mediaType`,`operationName`],YO=[`query`,`method`,`url`],XO=/\/api\/v3\/?$/;function ZO(e,t,n){if(n){if(typeof t==`string`&&`query`in n)return Promise.reject(Error(`[@octokit/graphql] "query" cannot be used as variable name`));for(let e in n)if(YO.includes(e))return Promise.reject(Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}let r=typeof t==`string`?Object.assign({query:t},n):t,i=Object.keys(r).reduce((e,t)=>JO.includes(t)?(e[t]=r[t],e):(e.variables||={},e.variables[t]=r[t],e),{}),a=r.baseUrl||e.endpoint.DEFAULTS.baseUrl;return XO.test(a)&&(i.url=a.replace(XO,`/api/graphql`)),e(i).then(e=>{if(e.data.errors){let t={};for(let n of Object.keys(e.headers))t[n]=e.headers[n];throw new qO(i,t,e.data)}return e.data.data})}function QO(e,t){let n=e.defaults(t);return Object.assign((e,t)=>ZO(n,e,t),{defaults:QO.bind(null,n),endpoint:n.endpoint})}QO(WO,{headers:{"user-agent":`octokit-graphql.js/${GO} ${$D()}`},method:`POST`,url:`/graphql`});function $O(e){return QO(e,{method:`POST`,url:`/graphql`})}var ek=`(?:[a-zA-Z0-9_-]+)`,tk=`\\.`,nk=RegExp(`^${ek}${tk}${ek}${tk}${ek}$`),rk=nk.test.bind(nk);async function ik(e){let t=rk(e),n=e.startsWith(`v1.`)||e.startsWith(`ghs_`),r=e.startsWith(`ghu_`);return{type:`token`,token:e,tokenType:t?`app`:n?`installation`:r?`user-to-server`:`oauth`}}function ak(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function ok(e,t,n,r){let i=t.endpoint.merge(n,r);return i.headers.authorization=ak(e),t(i)}var sk=function(e){if(!e)throw Error(`[@octokit/auth-token] No token passed to createTokenAuth`);if(typeof e!=`string`)throw Error(`[@octokit/auth-token] Token passed to createTokenAuth is not a string`);return e=e.replace(/^(token|bearer) +/i,``),Object.assign(ik.bind(null,e),{hook:ok.bind(null,e)})};const ck=`7.0.6`,lk=()=>{},uk=console.warn.bind(console),dk=console.error.bind(console);function fk(e={}){return typeof e.debug!=`function`&&(e.debug=lk),typeof e.info!=`function`&&(e.info=lk),typeof e.warn!=`function`&&(e.warn=uk),typeof e.error!=`function`&&(e.error=dk),e}const pk=`octokit-core.js/${ck} ${$D()}`;var mk=class{static VERSION=ck;static defaults(e){return class extends this{constructor(...t){let n=t[0]||{};if(typeof e==`function`){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let t=this.plugins;return class extends this{static plugins=t.concat(e.filter(e=>!t.includes(e)))}}constructor(e={}){let t=new cO.Collection,n={baseUrl:WO.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,`request`)}),mediaType:{previews:[],format:``}};if(n.headers[`user-agent`]=e.userAgent?`${e.userAgent} ${pk}`:pk,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers[`time-zone`]=e.timeZone),this.request=WO.defaults(n),this.graphql=$O(this.request).defaults(n),this.log=fk(e.log),this.hook=t,e.authStrategy){let{authStrategy:n,...r}=e,i=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:r},e.auth));t.wrap(`request`,i.hook),this.auth=i}else if(!e.auth)this.auth=async()=>({type:`unauthenticated`});else{let n=sk(e.auth);t.wrap(`request`,n.hook),this.auth=n}let r=this.constructor;for(let t=0;t<r.plugins.length;++t)Object.assign(this,r.plugins[t](this,e))}request;graphql;log;hook;auth},hk=`0.0.0-development`;function gk(e){if(!e.data)return{...e,data:[]};if(!((`total_count`in e.data||`total_commits`in e.data)&&!(`url`in e.data)))return e;let t=e.data.incomplete_results,n=e.data.repository_selection,r=e.data.total_count,i=e.data.total_commits;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count,delete e.data.total_commits;let a=Object.keys(e.data)[0];return e.data=e.data[a],t!==void 0&&(e.data.incomplete_results=t),n!==void 0&&(e.data.repository_selection=n),e.data.total_count=r,e.data.total_commits=i,e}function _k(e,t,n){let r=typeof t==`function`?t.endpoint(n):e.request.endpoint(t,n),i=typeof t==`function`?t:e.request,a=r.method,o=r.headers,s=r.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!s)return{done:!0};try{let e=gk(await i({method:a,url:s,headers:o}));if(s=((e.headers.link||``).match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!s&&`total_commits`in e.data){let t=new URL(e.url),n=t.searchParams,r=parseInt(n.get(`page`)||`1`,10);r*parseInt(n.get(`per_page`)||`250`,10)<e.data.total_commits&&(n.set(`page`,String(r+1)),s=t.toString())}return{value:e}}catch(e){if(e.status!==409)throw e;return s=``,{value:{status:200,headers:{},data:[]}}}}})}}function vk(e,t,n,r){return typeof n==`function`&&(r=n,n=void 0),yk(e,[],_k(e,t,n)[Symbol.asyncIterator](),r)}function yk(e,t,n,r){return n.next().then(i=>{if(i.done)return t;let a=!1;function o(){a=!0}return t=t.concat(r?r(i.value,o):i.value.data),a?t:yk(e,t,n,r)})}var bk=Object.assign(vk,{iterator:_k});function xk(e){return{paginate:Object.assign(vk.bind(null,e),{iterator:_k.bind(null,e)})}}xk.VERSION=hk;var Sk=(e,t)=>`The cursor at "${e.join(`,`)}" did not change its value "${t}" after a page transition. Please make sure your that your query is set up correctly.`,Ck=class extends Error{constructor(e,t){super(Sk(e.pathInQuery,t)),this.pageInfo=e,this.cursorValue=t,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name=`MissingCursorChangeError`},wk=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`),this.response=e,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name=`MissingPageInfo`},Tk=e=>Object.prototype.toString.call(e)===`[object Object]`;function Ek(e){let t=Dk(e,`pageInfo`);if(t.length===0)throw new wk(e);return t}var Dk=(e,t,n=[])=>{for(let r of Object.keys(e)){let i=[...n,r],a=e[r];if(Tk(a)){if(a.hasOwnProperty(t))return i;let e=Dk(a,t,i);if(e.length>0)return e}}return[]},Ok=(e,t)=>t.reduce((e,t)=>e[t],e),kk=(e,t,n)=>{let r=t[t.length-1],i=Ok(e,[...t].slice(0,-1));typeof n==`function`?i[r]=n(i[r]):i[r]=n},Ak=e=>{let t=Ek(e);return{pathInQuery:t,pageInfo:Ok(e,[...t,`pageInfo`])}},jk=e=>e.hasOwnProperty(`hasNextPage`),Mk=e=>jk(e)?e.endCursor:e.startCursor,Nk=e=>jk(e)?e.hasNextPage:e.hasPreviousPage,Pk=e=>(t,n={})=>{let r=!0,i={...n};return{[Symbol.asyncIterator]:()=>({async next(){if(!r)return{done:!0,value:{}};let n=await e.graphql(t,i),a=Ak(n),o=Mk(a.pageInfo);if(r=Nk(a.pageInfo),r&&o===i.cursor)throw new Ck(a,o);return i={...i,cursor:o},{done:!1,value:n}}})}},Fk=(e,t)=>{if(Object.keys(e).length===0)return Object.assign(e,t);let n=Ek(e),r=[...n,`nodes`],i=Ok(t,r);i&&kk(e,r,e=>[...e,...i]);let a=[...n,`edges`],o=Ok(t,a);o&&kk(e,a,e=>[...e,...o]);let s=[...n,`pageInfo`];return kk(e,s,Ok(t,s)),e},Ik=e=>{let t=Pk(e);return async(e,n={})=>{let r={};for await(let i of t(e,n))r=Fk(r,i);return r}};function Lk(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(Ik(e),{iterator:Pk(e)})})}}const Rk=`17.0.0`;var zk={actions:{addCustomLabelsToSelfHostedRunnerForOrg:[`POST /orgs/{org}/actions/runners/{runner_id}/labels`],addCustomLabelsToSelfHostedRunnerForRepo:[`POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels`],addRepoAccessToSelfHostedRunnerGroupInOrg:[`PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}`],addSelectedRepoToOrgSecret:[`PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}`],addSelectedRepoToOrgVariable:[`PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}`],approveWorkflowRun:[`POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve`],cancelWorkflowRun:[`POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel`],createEnvironmentVariable:[`POST /repos/{owner}/{repo}/environments/{environment_name}/variables`],createHostedRunnerForOrg:[`POST /orgs/{org}/actions/hosted-runners`],createOrUpdateEnvironmentSecret:[`PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}`],createOrUpdateOrgSecret:[`PUT /orgs/{org}/actions/secrets/{secret_name}`],createOrUpdateRepoSecret:[`PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}`],createOrgVariable:[`POST /orgs/{org}/actions/variables`],createRegistrationTokenForOrg:[`POST /orgs/{org}/actions/runners/registration-token`],createRegistrationTokenForRepo:[`POST /repos/{owner}/{repo}/actions/runners/registration-token`],createRemoveTokenForOrg:[`POST /orgs/{org}/actions/runners/remove-token`],createRemoveTokenForRepo:[`POST /repos/{owner}/{repo}/actions/runners/remove-token`],createRepoVariable:[`POST /repos/{owner}/{repo}/actions/variables`],createWorkflowDispatch:[`POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches`],deleteActionsCacheById:[`DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}`],deleteActionsCacheByKey:[`DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}`],deleteArtifact:[`DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}`],deleteCustomImageFromOrg:[`DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}`],deleteCustomImageVersionFromOrg:[`DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}`],deleteEnvironmentSecret:[`DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}`],deleteEnvironmentVariable:[`DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}`],deleteHostedRunnerForOrg:[`DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}`],deleteOrgSecret:[`DELETE /orgs/{org}/actions/secrets/{secret_name}`],deleteOrgVariable:[`DELETE /orgs/{org}/actions/variables/{name}`],deleteRepoSecret:[`DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}`],deleteRepoVariable:[`DELETE /repos/{owner}/{repo}/actions/variables/{name}`],deleteSelfHostedRunnerFromOrg:[`DELETE /orgs/{org}/actions/runners/{runner_id}`],deleteSelfHostedRunnerFromRepo:[`DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}`],deleteWorkflowRun:[`DELETE /repos/{owner}/{repo}/actions/runs/{run_id}`],deleteWorkflowRunLogs:[`DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs`],disableSelectedRepositoryGithubActionsOrganization:[`DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}`],disableWorkflow:[`PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable`],downloadArtifact:[`GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}`],downloadJobLogsForWorkflowRun:[`GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs`],downloadWorkflowRunAttemptLogs:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs`],downloadWorkflowRunLogs:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs`],enableSelectedRepositoryGithubActionsOrganization:[`PUT /orgs/{org}/actions/permissions/repositories/{repository_id}`],enableWorkflow:[`PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable`],forceCancelWorkflowRun:[`POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel`],generateRunnerJitconfigForOrg:[`POST /orgs/{org}/actions/runners/generate-jitconfig`],generateRunnerJitconfigForRepo:[`POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig`],getActionsCacheList:[`GET /repos/{owner}/{repo}/actions/caches`],getActionsCacheUsage:[`GET /repos/{owner}/{repo}/actions/cache/usage`],getActionsCacheUsageByRepoForOrg:[`GET /orgs/{org}/actions/cache/usage-by-repository`],getActionsCacheUsageForOrg:[`GET /orgs/{org}/actions/cache/usage`],getAllowedActionsOrganization:[`GET /orgs/{org}/actions/permissions/selected-actions`],getAllowedActionsRepository:[`GET /repos/{owner}/{repo}/actions/permissions/selected-actions`],getArtifact:[`GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}`],getCustomImageForOrg:[`GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}`],getCustomImageVersionForOrg:[`GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}`],getCustomOidcSubClaimForRepo:[`GET /repos/{owner}/{repo}/actions/oidc/customization/sub`],getEnvironmentPublicKey:[`GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key`],getEnvironmentSecret:[`GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}`],getEnvironmentVariable:[`GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}`],getGithubActionsDefaultWorkflowPermissionsOrganization:[`GET /orgs/{org}/actions/permissions/workflow`],getGithubActionsDefaultWorkflowPermissionsRepository:[`GET /repos/{owner}/{repo}/actions/permissions/workflow`],getGithubActionsPermissionsOrganization:[`GET /orgs/{org}/actions/permissions`],getGithubActionsPermissionsRepository:[`GET /repos/{owner}/{repo}/actions/permissions`],getHostedRunnerForOrg:[`GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}`],getHostedRunnersGithubOwnedImagesForOrg:[`GET /orgs/{org}/actions/hosted-runners/images/github-owned`],getHostedRunnersLimitsForOrg:[`GET /orgs/{org}/actions/hosted-runners/limits`],getHostedRunnersMachineSpecsForOrg:[`GET /orgs/{org}/actions/hosted-runners/machine-sizes`],getHostedRunnersPartnerImagesForOrg:[`GET /orgs/{org}/actions/hosted-runners/images/partner`],getHostedRunnersPlatformsForOrg:[`GET /orgs/{org}/actions/hosted-runners/platforms`],getJobForWorkflowRun:[`GET /repos/{owner}/{repo}/actions/jobs/{job_id}`],getOrgPublicKey:[`GET /orgs/{org}/actions/secrets/public-key`],getOrgSecret:[`GET /orgs/{org}/actions/secrets/{secret_name}`],getOrgVariable:[`GET /orgs/{org}/actions/variables/{name}`],getPendingDeploymentsForRun:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`],getRepoPermissions:[`GET /repos/{owner}/{repo}/actions/permissions`,{},{renamed:[`actions`,`getGithubActionsPermissionsRepository`]}],getRepoPublicKey:[`GET /repos/{owner}/{repo}/actions/secrets/public-key`],getRepoSecret:[`GET /repos/{owner}/{repo}/actions/secrets/{secret_name}`],getRepoVariable:[`GET /repos/{owner}/{repo}/actions/variables/{name}`],getReviewsForRun:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals`],getSelfHostedRunnerForOrg:[`GET /orgs/{org}/actions/runners/{runner_id}`],getSelfHostedRunnerForRepo:[`GET /repos/{owner}/{repo}/actions/runners/{runner_id}`],getWorkflow:[`GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}`],getWorkflowAccessToRepository:[`GET /repos/{owner}/{repo}/actions/permissions/access`],getWorkflowRun:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}`],getWorkflowRunAttempt:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}`],getWorkflowRunUsage:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing`],getWorkflowUsage:[`GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing`],listArtifactsForRepo:[`GET /repos/{owner}/{repo}/actions/artifacts`],listCustomImageVersionsForOrg:[`GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions`],listCustomImagesForOrg:[`GET /orgs/{org}/actions/hosted-runners/images/custom`],listEnvironmentSecrets:[`GET /repos/{owner}/{repo}/environments/{environment_name}/secrets`],listEnvironmentVariables:[`GET /repos/{owner}/{repo}/environments/{environment_name}/variables`],listGithubHostedRunnersInGroupForOrg:[`GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners`],listHostedRunnersForOrg:[`GET /orgs/{org}/actions/hosted-runners`],listJobsForWorkflowRun:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs`],listJobsForWorkflowRunAttempt:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs`],listLabelsForSelfHostedRunnerForOrg:[`GET /orgs/{org}/actions/runners/{runner_id}/labels`],listLabelsForSelfHostedRunnerForRepo:[`GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels`],listOrgSecrets:[`GET /orgs/{org}/actions/secrets`],listOrgVariables:[`GET /orgs/{org}/actions/variables`],listRepoOrganizationSecrets:[`GET /repos/{owner}/{repo}/actions/organization-secrets`],listRepoOrganizationVariables:[`GET /repos/{owner}/{repo}/actions/organization-variables`],listRepoSecrets:[`GET /repos/{owner}/{repo}/actions/secrets`],listRepoVariables:[`GET /repos/{owner}/{repo}/actions/variables`],listRepoWorkflows:[`GET /repos/{owner}/{repo}/actions/workflows`],listRunnerApplicationsForOrg:[`GET /orgs/{org}/actions/runners/downloads`],listRunnerApplicationsForRepo:[`GET /repos/{owner}/{repo}/actions/runners/downloads`],listSelectedReposForOrgSecret:[`GET /orgs/{org}/actions/secrets/{secret_name}/repositories`],listSelectedReposForOrgVariable:[`GET /orgs/{org}/actions/variables/{name}/repositories`],listSelectedRepositoriesEnabledGithubActionsOrganization:[`GET /orgs/{org}/actions/permissions/repositories`],listSelfHostedRunnersForOrg:[`GET /orgs/{org}/actions/runners`],listSelfHostedRunnersForRepo:[`GET /repos/{owner}/{repo}/actions/runners`],listWorkflowRunArtifacts:[`GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts`],listWorkflowRuns:[`GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs`],listWorkflowRunsForRepo:[`GET /repos/{owner}/{repo}/actions/runs`],reRunJobForWorkflowRun:[`POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun`],reRunWorkflow:[`POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun`],reRunWorkflowFailedJobs:[`POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs`],removeAllCustomLabelsFromSelfHostedRunnerForOrg:[`DELETE /orgs/{org}/actions/runners/{runner_id}/labels`],removeAllCustomLabelsFromSelfHostedRunnerForRepo:[`DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels`],removeCustomLabelFromSelfHostedRunnerForOrg:[`DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}`],removeCustomLabelFromSelfHostedRunnerForRepo:[`DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}`],removeSelectedRepoFromOrgSecret:[`DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}`],removeSelectedRepoFromOrgVariable:[`DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}`],reviewCustomGatesForRun:[`POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule`],reviewPendingDeploymentsForRun:[`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`],setAllowedActionsOrganization:[`PUT /orgs/{org}/actions/permissions/selected-actions`],setAllowedActionsRepository:[`PUT /repos/{owner}/{repo}/actions/permissions/selected-actions`],setCustomLabelsForSelfHostedRunnerForOrg:[`PUT /orgs/{org}/actions/runners/{runner_id}/labels`],setCustomLabelsForSelfHostedRunnerForRepo:[`PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels`],setCustomOidcSubClaimForRepo:[`PUT /repos/{owner}/{repo}/actions/oidc/customization/sub`],setGithubActionsDefaultWorkflowPermissionsOrganization:[`PUT /orgs/{org}/actions/permissions/workflow`],setGithubActionsDefaultWorkflowPermissionsRepository:[`PUT /repos/{owner}/{repo}/actions/permissions/workflow`],setGithubActionsPermissionsOrganization:[`PUT /orgs/{org}/actions/permissions`],setGithubActionsPermissionsRepository:[`PUT /repos/{owner}/{repo}/actions/permissions`],setSelectedReposForOrgSecret:[`PUT /orgs/{org}/actions/secrets/{secret_name}/repositories`],setSelectedReposForOrgVariable:[`PUT /orgs/{org}/actions/variables/{name}/repositories`],setSelectedRepositoriesEnabledGithubActionsOrganization:[`PUT /orgs/{org}/actions/permissions/repositories`],setWorkflowAccessToRepository:[`PUT /repos/{owner}/{repo}/actions/permissions/access`],updateEnvironmentVariable:[`PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}`],updateHostedRunnerForOrg:[`PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}`],updateOrgVariable:[`PATCH /orgs/{org}/actions/variables/{name}`],updateRepoVariable:[`PATCH /repos/{owner}/{repo}/actions/variables/{name}`]},activity:{checkRepoIsStarredByAuthenticatedUser:[`GET /user/starred/{owner}/{repo}`],deleteRepoSubscription:[`DELETE /repos/{owner}/{repo}/subscription`],deleteThreadSubscription:[`DELETE /notifications/threads/{thread_id}/subscription`],getFeeds:[`GET /feeds`],getRepoSubscription:[`GET /repos/{owner}/{repo}/subscription`],getThread:[`GET /notifications/threads/{thread_id}`],getThreadSubscriptionForAuthenticatedUser:[`GET /notifications/threads/{thread_id}/subscription`],listEventsForAuthenticatedUser:[`GET /users/{username}/events`],listNotificationsForAuthenticatedUser:[`GET /notifications`],listOrgEventsForAuthenticatedUser:[`GET /users/{username}/events/orgs/{org}`],listPublicEvents:[`GET /events`],listPublicEventsForRepoNetwork:[`GET /networks/{owner}/{repo}/events`],listPublicEventsForUser:[`GET /users/{username}/events/public`],listPublicOrgEvents:[`GET /orgs/{org}/events`],listReceivedEventsForUser:[`GET /users/{username}/received_events`],listReceivedPublicEventsForUser:[`GET /users/{username}/received_events/public`],listRepoEvents:[`GET /repos/{owner}/{repo}/events`],listRepoNotificationsForAuthenticatedUser:[`GET /repos/{owner}/{repo}/notifications`],listReposStarredByAuthenticatedUser:[`GET /user/starred`],listReposStarredByUser:[`GET /users/{username}/starred`],listReposWatchedByUser:[`GET /users/{username}/subscriptions`],listStargazersForRepo:[`GET /repos/{owner}/{repo}/stargazers`],listWatchedReposForAuthenticatedUser:[`GET /user/subscriptions`],listWatchersForRepo:[`GET /repos/{owner}/{repo}/subscribers`],markNotificationsAsRead:[`PUT /notifications`],markRepoNotificationsAsRead:[`PUT /repos/{owner}/{repo}/notifications`],markThreadAsDone:[`DELETE /notifications/threads/{thread_id}`],markThreadAsRead:[`PATCH /notifications/threads/{thread_id}`],setRepoSubscription:[`PUT /repos/{owner}/{repo}/subscription`],setThreadSubscription:[`PUT /notifications/threads/{thread_id}/subscription`],starRepoForAuthenticatedUser:[`PUT /user/starred/{owner}/{repo}`],unstarRepoForAuthenticatedUser:[`DELETE /user/starred/{owner}/{repo}`]},apps:{addRepoToInstallation:[`PUT /user/installations/{installation_id}/repositories/{repository_id}`,{},{renamed:[`apps`,`addRepoToInstallationForAuthenticatedUser`]}],addRepoToInstallationForAuthenticatedUser:[`PUT /user/installations/{installation_id}/repositories/{repository_id}`],checkToken:[`POST /applications/{client_id}/token`],createFromManifest:[`POST /app-manifests/{code}/conversions`],createInstallationAccessToken:[`POST /app/installations/{installation_id}/access_tokens`],deleteAuthorization:[`DELETE /applications/{client_id}/grant`],deleteInstallation:[`DELETE /app/installations/{installation_id}`],deleteToken:[`DELETE /applications/{client_id}/token`],getAuthenticated:[`GET /app`],getBySlug:[`GET /apps/{app_slug}`],getInstallation:[`GET /app/installations/{installation_id}`],getOrgInstallation:[`GET /orgs/{org}/installation`],getRepoInstallation:[`GET /repos/{owner}/{repo}/installation`],getSubscriptionPlanForAccount:[`GET /marketplace_listing/accounts/{account_id}`],getSubscriptionPlanForAccountStubbed:[`GET /marketplace_listing/stubbed/accounts/{account_id}`],getUserInstallation:[`GET /users/{username}/installation`],getWebhookConfigForApp:[`GET /app/hook/config`],getWebhookDelivery:[`GET /app/hook/deliveries/{delivery_id}`],listAccountsForPlan:[`GET /marketplace_listing/plans/{plan_id}/accounts`],listAccountsForPlanStubbed:[`GET /marketplace_listing/stubbed/plans/{plan_id}/accounts`],listInstallationReposForAuthenticatedUser:[`GET /user/installations/{installation_id}/repositories`],listInstallationRequestsForAuthenticatedApp:[`GET /app/installation-requests`],listInstallations:[`GET /app/installations`],listInstallationsForAuthenticatedUser:[`GET /user/installations`],listPlans:[`GET /marketplace_listing/plans`],listPlansStubbed:[`GET /marketplace_listing/stubbed/plans`],listReposAccessibleToInstallation:[`GET /installation/repositories`],listSubscriptionsForAuthenticatedUser:[`GET /user/marketplace_purchases`],listSubscriptionsForAuthenticatedUserStubbed:[`GET /user/marketplace_purchases/stubbed`],listWebhookDeliveries:[`GET /app/hook/deliveries`],redeliverWebhookDelivery:[`POST /app/hook/deliveries/{delivery_id}/attempts`],removeRepoFromInstallation:[`DELETE /user/installations/{installation_id}/repositories/{repository_id}`,{},{renamed:[`apps`,`removeRepoFromInstallationForAuthenticatedUser`]}],removeRepoFromInstallationForAuthenticatedUser:[`DELETE /user/installations/{installation_id}/repositories/{repository_id}`],resetToken:[`PATCH /applications/{client_id}/token`],revokeInstallationAccessToken:[`DELETE /installation/token`],scopeToken:[`POST /applications/{client_id}/token/scoped`],suspendInstallation:[`PUT /app/installations/{installation_id}/suspended`],unsuspendInstallation:[`DELETE /app/installations/{installation_id}/suspended`],updateWebhookConfigForApp:[`PATCH /app/hook/config`]},billing:{getGithubActionsBillingOrg:[`GET /orgs/{org}/settings/billing/actions`],getGithubActionsBillingUser:[`GET /users/{username}/settings/billing/actions`],getGithubBillingPremiumRequestUsageReportOrg:[`GET /organizations/{org}/settings/billing/premium_request/usage`],getGithubBillingPremiumRequestUsageReportUser:[`GET /users/{username}/settings/billing/premium_request/usage`],getGithubBillingUsageReportOrg:[`GET /organizations/{org}/settings/billing/usage`],getGithubBillingUsageReportUser:[`GET /users/{username}/settings/billing/usage`],getGithubPackagesBillingOrg:[`GET /orgs/{org}/settings/billing/packages`],getGithubPackagesBillingUser:[`GET /users/{username}/settings/billing/packages`],getSharedStorageBillingOrg:[`GET /orgs/{org}/settings/billing/shared-storage`],getSharedStorageBillingUser:[`GET /users/{username}/settings/billing/shared-storage`]},campaigns:{createCampaign:[`POST /orgs/{org}/campaigns`],deleteCampaign:[`DELETE /orgs/{org}/campaigns/{campaign_number}`],getCampaignSummary:[`GET /orgs/{org}/campaigns/{campaign_number}`],listOrgCampaigns:[`GET /orgs/{org}/campaigns`],updateCampaign:[`PATCH /orgs/{org}/campaigns/{campaign_number}`]},checks:{create:[`POST /repos/{owner}/{repo}/check-runs`],createSuite:[`POST /repos/{owner}/{repo}/check-suites`],get:[`GET /repos/{owner}/{repo}/check-runs/{check_run_id}`],getSuite:[`GET /repos/{owner}/{repo}/check-suites/{check_suite_id}`],listAnnotations:[`GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations`],listForRef:[`GET /repos/{owner}/{repo}/commits/{ref}/check-runs`],listForSuite:[`GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs`],listSuitesForRef:[`GET /repos/{owner}/{repo}/commits/{ref}/check-suites`],rerequestRun:[`POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest`],rerequestSuite:[`POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest`],setSuitesPreferences:[`PATCH /repos/{owner}/{repo}/check-suites/preferences`],update:[`PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}`]},codeScanning:{commitAutofix:[`POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits`],createAutofix:[`POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix`],createVariantAnalysis:[`POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses`],deleteAnalysis:[`DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}`],deleteCodeqlDatabase:[`DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}`],getAlert:[`GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}`,{},{renamedParameters:{alert_id:`alert_number`}}],getAnalysis:[`GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}`],getAutofix:[`GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix`],getCodeqlDatabase:[`GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}`],getDefaultSetup:[`GET /repos/{owner}/{repo}/code-scanning/default-setup`],getSarif:[`GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}`],getVariantAnalysis:[`GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}`],getVariantAnalysisRepoTask:[`GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}`],listAlertInstances:[`GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances`],listAlertsForOrg:[`GET /orgs/{org}/code-scanning/alerts`],listAlertsForRepo:[`GET /repos/{owner}/{repo}/code-scanning/alerts`],listAlertsInstances:[`GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances`,{},{renamed:[`codeScanning`,`listAlertInstances`]}],listCodeqlDatabases:[`GET /repos/{owner}/{repo}/code-scanning/codeql/databases`],listRecentAnalyses:[`GET /repos/{owner}/{repo}/code-scanning/analyses`],updateAlert:[`PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}`],updateDefaultSetup:[`PATCH /repos/{owner}/{repo}/code-scanning/default-setup`],uploadSarif:[`POST /repos/{owner}/{repo}/code-scanning/sarifs`]},codeSecurity:{attachConfiguration:[`POST /orgs/{org}/code-security/configurations/{configuration_id}/attach`],attachEnterpriseConfiguration:[`POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach`],createConfiguration:[`POST /orgs/{org}/code-security/configurations`],createConfigurationForEnterprise:[`POST /enterprises/{enterprise}/code-security/configurations`],deleteConfiguration:[`DELETE /orgs/{org}/code-security/configurations/{configuration_id}`],deleteConfigurationForEnterprise:[`DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}`],detachConfiguration:[`DELETE /orgs/{org}/code-security/configurations/detach`],getConfiguration:[`GET /orgs/{org}/code-security/configurations/{configuration_id}`],getConfigurationForRepository:[`GET /repos/{owner}/{repo}/code-security-configuration`],getConfigurationsForEnterprise:[`GET /enterprises/{enterprise}/code-security/configurations`],getConfigurationsForOrg:[`GET /orgs/{org}/code-security/configurations`],getDefaultConfigurations:[`GET /orgs/{org}/code-security/configurations/defaults`],getDefaultConfigurationsForEnterprise:[`GET /enterprises/{enterprise}/code-security/configurations/defaults`],getRepositoriesForConfiguration:[`GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories`],getRepositoriesForEnterpriseConfiguration:[`GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories`],getSingleConfigurationForEnterprise:[`GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}`],setConfigurationAsDefault:[`PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults`],setConfigurationAsDefaultForEnterprise:[`PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults`],updateConfiguration:[`PATCH /orgs/{org}/code-security/configurations/{configuration_id}`],updateEnterpriseConfiguration:[`PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}`]},codesOfConduct:{getAllCodesOfConduct:[`GET /codes_of_conduct`],getConductCode:[`GET /codes_of_conduct/{key}`]},codespaces:{addRepositoryForSecretForAuthenticatedUser:[`PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}`],addSelectedRepoToOrgSecret:[`PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}`],checkPermissionsForDevcontainer:[`GET /repos/{owner}/{repo}/codespaces/permissions_check`],codespaceMachinesForAuthenticatedUser:[`GET /user/codespaces/{codespace_name}/machines`],createForAuthenticatedUser:[`POST /user/codespaces`],createOrUpdateOrgSecret:[`PUT /orgs/{org}/codespaces/secrets/{secret_name}`],createOrUpdateRepoSecret:[`PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}`],createOrUpdateSecretForAuthenticatedUser:[`PUT /user/codespaces/secrets/{secret_name}`],createWithPrForAuthenticatedUser:[`POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces`],createWithRepoForAuthenticatedUser:[`POST /repos/{owner}/{repo}/codespaces`],deleteForAuthenticatedUser:[`DELETE /user/codespaces/{codespace_name}`],deleteFromOrganization:[`DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}`],deleteOrgSecret:[`DELETE /orgs/{org}/codespaces/secrets/{secret_name}`],deleteRepoSecret:[`DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}`],deleteSecretForAuthenticatedUser:[`DELETE /user/codespaces/secrets/{secret_name}`],exportForAuthenticatedUser:[`POST /user/codespaces/{codespace_name}/exports`],getCodespacesForUserInOrg:[`GET /orgs/{org}/members/{username}/codespaces`],getExportDetailsForAuthenticatedUser:[`GET /user/codespaces/{codespace_name}/exports/{export_id}`],getForAuthenticatedUser:[`GET /user/codespaces/{codespace_name}`],getOrgPublicKey:[`GET /orgs/{org}/codespaces/secrets/public-key`],getOrgSecret:[`GET /orgs/{org}/codespaces/secrets/{secret_name}`],getPublicKeyForAuthenticatedUser:[`GET /user/codespaces/secrets/public-key`],getRepoPublicKey:[`GET /repos/{owner}/{repo}/codespaces/secrets/public-key`],getRepoSecret:[`GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}`],getSecretForAuthenticatedUser:[`GET /user/codespaces/secrets/{secret_name}`],listDevcontainersInRepositoryForAuthenticatedUser:[`GET /repos/{owner}/{repo}/codespaces/devcontainers`],listForAuthenticatedUser:[`GET /user/codespaces`],listInOrganization:[`GET /orgs/{org}/codespaces`,{},{renamedParameters:{org_id:`org`}}],listInRepositoryForAuthenticatedUser:[`GET /repos/{owner}/{repo}/codespaces`],listOrgSecrets:[`GET /orgs/{org}/codespaces/secrets`],listRepoSecrets:[`GET /repos/{owner}/{repo}/codespaces/secrets`],listRepositoriesForSecretForAuthenticatedUser:[`GET /user/codespaces/secrets/{secret_name}/repositories`],listSecretsForAuthenticatedUser:[`GET /user/codespaces/secrets`],listSelectedReposForOrgSecret:[`GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories`],preFlightWithRepoForAuthenticatedUser:[`GET /repos/{owner}/{repo}/codespaces/new`],publishForAuthenticatedUser:[`POST /user/codespaces/{codespace_name}/publish`],removeRepositoryForSecretForAuthenticatedUser:[`DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}`],removeSelectedRepoFromOrgSecret:[`DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}`],repoMachinesForAuthenticatedUser:[`GET /repos/{owner}/{repo}/codespaces/machines`],setRepositoriesForSecretForAuthenticatedUser:[`PUT /user/codespaces/secrets/{secret_name}/repositories`],setSelectedReposForOrgSecret:[`PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories`],startForAuthenticatedUser:[`POST /user/codespaces/{codespace_name}/start`],stopForAuthenticatedUser:[`POST /user/codespaces/{codespace_name}/stop`],stopInOrganization:[`POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop`],updateForAuthenticatedUser:[`PATCH /user/codespaces/{codespace_name}`]},copilot:{addCopilotSeatsForTeams:[`POST /orgs/{org}/copilot/billing/selected_teams`],addCopilotSeatsForUsers:[`POST /orgs/{org}/copilot/billing/selected_users`],cancelCopilotSeatAssignmentForTeams:[`DELETE /orgs/{org}/copilot/billing/selected_teams`],cancelCopilotSeatAssignmentForUsers:[`DELETE /orgs/{org}/copilot/billing/selected_users`],copilotMetricsForOrganization:[`GET /orgs/{org}/copilot/metrics`],copilotMetricsForTeam:[`GET /orgs/{org}/team/{team_slug}/copilot/metrics`],getCopilotOrganizationDetails:[`GET /orgs/{org}/copilot/billing`],getCopilotSeatDetailsForUser:[`GET /orgs/{org}/members/{username}/copilot`],listCopilotSeats:[`GET /orgs/{org}/copilot/billing/seats`]},credentials:{revoke:[`POST /credentials/revoke`]},dependabot:{addSelectedRepoToOrgSecret:[`PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}`],createOrUpdateOrgSecret:[`PUT /orgs/{org}/dependabot/secrets/{secret_name}`],createOrUpdateRepoSecret:[`PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}`],deleteOrgSecret:[`DELETE /orgs/{org}/dependabot/secrets/{secret_name}`],deleteRepoSecret:[`DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}`],getAlert:[`GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}`],getOrgPublicKey:[`GET /orgs/{org}/dependabot/secrets/public-key`],getOrgSecret:[`GET /orgs/{org}/dependabot/secrets/{secret_name}`],getRepoPublicKey:[`GET /repos/{owner}/{repo}/dependabot/secrets/public-key`],getRepoSecret:[`GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}`],listAlertsForEnterprise:[`GET /enterprises/{enterprise}/dependabot/alerts`],listAlertsForOrg:[`GET /orgs/{org}/dependabot/alerts`],listAlertsForRepo:[`GET /repos/{owner}/{repo}/dependabot/alerts`],listOrgSecrets:[`GET /orgs/{org}/dependabot/secrets`],listRepoSecrets:[`GET /repos/{owner}/{repo}/dependabot/secrets`],listSelectedReposForOrgSecret:[`GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories`],removeSelectedRepoFromOrgSecret:[`DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}`],repositoryAccessForOrg:[`GET /organizations/{org}/dependabot/repository-access`],setRepositoryAccessDefaultLevel:[`PUT /organizations/{org}/dependabot/repository-access/default-level`],setSelectedReposForOrgSecret:[`PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories`],updateAlert:[`PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}`],updateRepositoryAccessForOrg:[`PATCH /organizations/{org}/dependabot/repository-access`]},dependencyGraph:{createRepositorySnapshot:[`POST /repos/{owner}/{repo}/dependency-graph/snapshots`],diffRange:[`GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}`],exportSbom:[`GET /repos/{owner}/{repo}/dependency-graph/sbom`]},emojis:{get:[`GET /emojis`]},enterpriseTeamMemberships:{add:[`PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}`],bulkAdd:[`POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add`],bulkRemove:[`POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove`],get:[`GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}`],list:[`GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships`],remove:[`DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}`]},enterpriseTeamOrganizations:{add:[`PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}`],bulkAdd:[`POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add`],bulkRemove:[`POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove`],delete:[`DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}`],getAssignment:[`GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}`],getAssignments:[`GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations`]},enterpriseTeams:{create:[`POST /enterprises/{enterprise}/teams`],delete:[`DELETE /enterprises/{enterprise}/teams/{team_slug}`],get:[`GET /enterprises/{enterprise}/teams/{team_slug}`],list:[`GET /enterprises/{enterprise}/teams`],update:[`PATCH /enterprises/{enterprise}/teams/{team_slug}`]},gists:{checkIsStarred:[`GET /gists/{gist_id}/star`],create:[`POST /gists`],createComment:[`POST /gists/{gist_id}/comments`],delete:[`DELETE /gists/{gist_id}`],deleteComment:[`DELETE /gists/{gist_id}/comments/{comment_id}`],fork:[`POST /gists/{gist_id}/forks`],get:[`GET /gists/{gist_id}`],getComment:[`GET /gists/{gist_id}/comments/{comment_id}`],getRevision:[`GET /gists/{gist_id}/{sha}`],list:[`GET /gists`],listComments:[`GET /gists/{gist_id}/comments`],listCommits:[`GET /gists/{gist_id}/commits`],listForUser:[`GET /users/{username}/gists`],listForks:[`GET /gists/{gist_id}/forks`],listPublic:[`GET /gists/public`],listStarred:[`GET /gists/starred`],star:[`PUT /gists/{gist_id}/star`],unstar:[`DELETE /gists/{gist_id}/star`],update:[`PATCH /gists/{gist_id}`],updateComment:[`PATCH /gists/{gist_id}/comments/{comment_id}`]},git:{createBlob:[`POST /repos/{owner}/{repo}/git/blobs`],createCommit:[`POST /repos/{owner}/{repo}/git/commits`],createRef:[`POST /repos/{owner}/{repo}/git/refs`],createTag:[`POST /repos/{owner}/{repo}/git/tags`],createTree:[`POST /repos/{owner}/{repo}/git/trees`],deleteRef:[`DELETE /repos/{owner}/{repo}/git/refs/{ref}`],getBlob:[`GET /repos/{owner}/{repo}/git/blobs/{file_sha}`],getCommit:[`GET /repos/{owner}/{repo}/git/commits/{commit_sha}`],getRef:[`GET /repos/{owner}/{repo}/git/ref/{ref}`],getTag:[`GET /repos/{owner}/{repo}/git/tags/{tag_sha}`],getTree:[`GET /repos/{owner}/{repo}/git/trees/{tree_sha}`],listMatchingRefs:[`GET /repos/{owner}/{repo}/git/matching-refs/{ref}`],updateRef:[`PATCH /repos/{owner}/{repo}/git/refs/{ref}`]},gitignore:{getAllTemplates:[`GET /gitignore/templates`],getTemplate:[`GET /gitignore/templates/{name}`]},hostedCompute:{createNetworkConfigurationForOrg:[`POST /orgs/{org}/settings/network-configurations`],deleteNetworkConfigurationFromOrg:[`DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}`],getNetworkConfigurationForOrg:[`GET /orgs/{org}/settings/network-configurations/{network_configuration_id}`],getNetworkSettingsForOrg:[`GET /orgs/{org}/settings/network-settings/{network_settings_id}`],listNetworkConfigurationsForOrg:[`GET /orgs/{org}/settings/network-configurations`],updateNetworkConfigurationForOrg:[`PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}`]},interactions:{getRestrictionsForAuthenticatedUser:[`GET /user/interaction-limits`],getRestrictionsForOrg:[`GET /orgs/{org}/interaction-limits`],getRestrictionsForRepo:[`GET /repos/{owner}/{repo}/interaction-limits`],getRestrictionsForYourPublicRepos:[`GET /user/interaction-limits`,{},{renamed:[`interactions`,`getRestrictionsForAuthenticatedUser`]}],removeRestrictionsForAuthenticatedUser:[`DELETE /user/interaction-limits`],removeRestrictionsForOrg:[`DELETE /orgs/{org}/interaction-limits`],removeRestrictionsForRepo:[`DELETE /repos/{owner}/{repo}/interaction-limits`],removeRestrictionsForYourPublicRepos:[`DELETE /user/interaction-limits`,{},{renamed:[`interactions`,`removeRestrictionsForAuthenticatedUser`]}],setRestrictionsForAuthenticatedUser:[`PUT /user/interaction-limits`],setRestrictionsForOrg:[`PUT /orgs/{org}/interaction-limits`],setRestrictionsForRepo:[`PUT /repos/{owner}/{repo}/interaction-limits`],setRestrictionsForYourPublicRepos:[`PUT /user/interaction-limits`,{},{renamed:[`interactions`,`setRestrictionsForAuthenticatedUser`]}]},issues:{addAssignees:[`POST /repos/{owner}/{repo}/issues/{issue_number}/assignees`],addBlockedByDependency:[`POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by`],addLabels:[`POST /repos/{owner}/{repo}/issues/{issue_number}/labels`],addSubIssue:[`POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues`],checkUserCanBeAssigned:[`GET /repos/{owner}/{repo}/assignees/{assignee}`],checkUserCanBeAssignedToIssue:[`GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}`],create:[`POST /repos/{owner}/{repo}/issues`],createComment:[`POST /repos/{owner}/{repo}/issues/{issue_number}/comments`],createLabel:[`POST /repos/{owner}/{repo}/labels`],createMilestone:[`POST /repos/{owner}/{repo}/milestones`],deleteComment:[`DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}`],deleteLabel:[`DELETE /repos/{owner}/{repo}/labels/{name}`],deleteMilestone:[`DELETE /repos/{owner}/{repo}/milestones/{milestone_number}`],get:[`GET /repos/{owner}/{repo}/issues/{issue_number}`],getComment:[`GET /repos/{owner}/{repo}/issues/comments/{comment_id}`],getEvent:[`GET /repos/{owner}/{repo}/issues/events/{event_id}`],getLabel:[`GET /repos/{owner}/{repo}/labels/{name}`],getMilestone:[`GET /repos/{owner}/{repo}/milestones/{milestone_number}`],getParent:[`GET /repos/{owner}/{repo}/issues/{issue_number}/parent`],list:[`GET /issues`],listAssignees:[`GET /repos/{owner}/{repo}/assignees`],listComments:[`GET /repos/{owner}/{repo}/issues/{issue_number}/comments`],listCommentsForRepo:[`GET /repos/{owner}/{repo}/issues/comments`],listDependenciesBlockedBy:[`GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by`],listDependenciesBlocking:[`GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking`],listEvents:[`GET /repos/{owner}/{repo}/issues/{issue_number}/events`],listEventsForRepo:[`GET /repos/{owner}/{repo}/issues/events`],listEventsForTimeline:[`GET /repos/{owner}/{repo}/issues/{issue_number}/timeline`],listForAuthenticatedUser:[`GET /user/issues`],listForOrg:[`GET /orgs/{org}/issues`],listForRepo:[`GET /repos/{owner}/{repo}/issues`],listLabelsForMilestone:[`GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels`],listLabelsForRepo:[`GET /repos/{owner}/{repo}/labels`],listLabelsOnIssue:[`GET /repos/{owner}/{repo}/issues/{issue_number}/labels`],listMilestones:[`GET /repos/{owner}/{repo}/milestones`],listSubIssues:[`GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues`],lock:[`PUT /repos/{owner}/{repo}/issues/{issue_number}/lock`],removeAllLabels:[`DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels`],removeAssignees:[`DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees`],removeDependencyBlockedBy:[`DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}`],removeLabel:[`DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}`],removeSubIssue:[`DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue`],reprioritizeSubIssue:[`PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority`],setLabels:[`PUT /repos/{owner}/{repo}/issues/{issue_number}/labels`],unlock:[`DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock`],update:[`PATCH /repos/{owner}/{repo}/issues/{issue_number}`],updateComment:[`PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}`],updateLabel:[`PATCH /repos/{owner}/{repo}/labels/{name}`],updateMilestone:[`PATCH /repos/{owner}/{repo}/milestones/{milestone_number}`]},licenses:{get:[`GET /licenses/{license}`],getAllCommonlyUsed:[`GET /licenses`],getForRepo:[`GET /repos/{owner}/{repo}/license`]},markdown:{render:[`POST /markdown`],renderRaw:[`POST /markdown/raw`,{headers:{"content-type":`text/plain; charset=utf-8`}}]},meta:{get:[`GET /meta`],getAllVersions:[`GET /versions`],getOctocat:[`GET /octocat`],getZen:[`GET /zen`],root:[`GET /`]},migrations:{deleteArchiveForAuthenticatedUser:[`DELETE /user/migrations/{migration_id}/archive`],deleteArchiveForOrg:[`DELETE /orgs/{org}/migrations/{migration_id}/archive`],downloadArchiveForOrg:[`GET /orgs/{org}/migrations/{migration_id}/archive`],getArchiveForAuthenticatedUser:[`GET /user/migrations/{migration_id}/archive`],getStatusForAuthenticatedUser:[`GET /user/migrations/{migration_id}`],getStatusForOrg:[`GET /orgs/{org}/migrations/{migration_id}`],listForAuthenticatedUser:[`GET /user/migrations`],listForOrg:[`GET /orgs/{org}/migrations`],listReposForAuthenticatedUser:[`GET /user/migrations/{migration_id}/repositories`],listReposForOrg:[`GET /orgs/{org}/migrations/{migration_id}/repositories`],listReposForUser:[`GET /user/migrations/{migration_id}/repositories`,{},{renamed:[`migrations`,`listReposForAuthenticatedUser`]}],startForAuthenticatedUser:[`POST /user/migrations`],startForOrg:[`POST /orgs/{org}/migrations`],unlockRepoForAuthenticatedUser:[`DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock`],unlockRepoForOrg:[`DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock`]},oidc:{getOidcCustomSubTemplateForOrg:[`GET /orgs/{org}/actions/oidc/customization/sub`],updateOidcCustomSubTemplateForOrg:[`PUT /orgs/{org}/actions/oidc/customization/sub`]},orgs:{addSecurityManagerTeam:[`PUT /orgs/{org}/security-managers/teams/{team_slug}`,{},{deprecated:`octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team`}],assignTeamToOrgRole:[`PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}`],assignUserToOrgRole:[`PUT /orgs/{org}/organization-roles/users/{username}/{role_id}`],blockUser:[`PUT /orgs/{org}/blocks/{username}`],cancelInvitation:[`DELETE /orgs/{org}/invitations/{invitation_id}`],checkBlockedUser:[`GET /orgs/{org}/blocks/{username}`],checkMembershipForUser:[`GET /orgs/{org}/members/{username}`],checkPublicMembershipForUser:[`GET /orgs/{org}/public_members/{username}`],convertMemberToOutsideCollaborator:[`PUT /orgs/{org}/outside_collaborators/{username}`],createArtifactStorageRecord:[`POST /orgs/{org}/artifacts/metadata/storage-record`],createInvitation:[`POST /orgs/{org}/invitations`],createIssueType:[`POST /orgs/{org}/issue-types`],createWebhook:[`POST /orgs/{org}/hooks`],customPropertiesForOrgsCreateOrUpdateOrganizationValues:[`PATCH /organizations/{org}/org-properties/values`],customPropertiesForOrgsGetOrganizationValues:[`GET /organizations/{org}/org-properties/values`],customPropertiesForReposCreateOrUpdateOrganizationDefinition:[`PUT /orgs/{org}/properties/schema/{custom_property_name}`],customPropertiesForReposCreateOrUpdateOrganizationDefinitions:[`PATCH /orgs/{org}/properties/schema`],customPropertiesForReposCreateOrUpdateOrganizationValues:[`PATCH /orgs/{org}/properties/values`],customPropertiesForReposDeleteOrganizationDefinition:[`DELETE /orgs/{org}/properties/schema/{custom_property_name}`],customPropertiesForReposGetOrganizationDefinition:[`GET /orgs/{org}/properties/schema/{custom_property_name}`],customPropertiesForReposGetOrganizationDefinitions:[`GET /orgs/{org}/properties/schema`],customPropertiesForReposGetOrganizationValues:[`GET /orgs/{org}/properties/values`],delete:[`DELETE /orgs/{org}`],deleteAttestationsBulk:[`POST /orgs/{org}/attestations/delete-request`],deleteAttestationsById:[`DELETE /orgs/{org}/attestations/{attestation_id}`],deleteAttestationsBySubjectDigest:[`DELETE /orgs/{org}/attestations/digest/{subject_digest}`],deleteIssueType:[`DELETE /orgs/{org}/issue-types/{issue_type_id}`],deleteWebhook:[`DELETE /orgs/{org}/hooks/{hook_id}`],disableSelectedRepositoryImmutableReleasesOrganization:[`DELETE /orgs/{org}/settings/immutable-releases/repositories/{repository_id}`],enableSelectedRepositoryImmutableReleasesOrganization:[`PUT /orgs/{org}/settings/immutable-releases/repositories/{repository_id}`],get:[`GET /orgs/{org}`],getImmutableReleasesSettings:[`GET /orgs/{org}/settings/immutable-releases`],getImmutableReleasesSettingsRepositories:[`GET /orgs/{org}/settings/immutable-releases/repositories`],getMembershipForAuthenticatedUser:[`GET /user/memberships/orgs/{org}`],getMembershipForUser:[`GET /orgs/{org}/memberships/{username}`],getOrgRole:[`GET /orgs/{org}/organization-roles/{role_id}`],getOrgRulesetHistory:[`GET /orgs/{org}/rulesets/{ruleset_id}/history`],getOrgRulesetVersion:[`GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}`],getWebhook:[`GET /orgs/{org}/hooks/{hook_id}`],getWebhookConfigForOrg:[`GET /orgs/{org}/hooks/{hook_id}/config`],getWebhookDelivery:[`GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}`],list:[`GET /organizations`],listAppInstallations:[`GET /orgs/{org}/installations`],listArtifactStorageRecords:[`GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records`],listAttestationRepositories:[`GET /orgs/{org}/attestations/repositories`],listAttestations:[`GET /orgs/{org}/attestations/{subject_digest}`],listAttestationsBulk:[`POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}`],listBlockedUsers:[`GET /orgs/{org}/blocks`],listFailedInvitations:[`GET /orgs/{org}/failed_invitations`],listForAuthenticatedUser:[`GET /user/orgs`],listForUser:[`GET /users/{username}/orgs`],listInvitationTeams:[`GET /orgs/{org}/invitations/{invitation_id}/teams`],listIssueTypes:[`GET /orgs/{org}/issue-types`],listMembers:[`GET /orgs/{org}/members`],listMembershipsForAuthenticatedUser:[`GET /user/memberships/orgs`],listOrgRoleTeams:[`GET /orgs/{org}/organization-roles/{role_id}/teams`],listOrgRoleUsers:[`GET /orgs/{org}/organization-roles/{role_id}/users`],listOrgRoles:[`GET /orgs/{org}/organization-roles`],listOrganizationFineGrainedPermissions:[`GET /orgs/{org}/organization-fine-grained-permissions`],listOutsideCollaborators:[`GET /orgs/{org}/outside_collaborators`],listPatGrantRepositories:[`GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories`],listPatGrantRequestRepositories:[`GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories`],listPatGrantRequests:[`GET /orgs/{org}/personal-access-token-requests`],listPatGrants:[`GET /orgs/{org}/personal-access-tokens`],listPendingInvitations:[`GET /orgs/{org}/invitations`],listPublicMembers:[`GET /orgs/{org}/public_members`],listSecurityManagerTeams:[`GET /orgs/{org}/security-managers`,{},{deprecated:`octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams`}],listWebhookDeliveries:[`GET /orgs/{org}/hooks/{hook_id}/deliveries`],listWebhooks:[`GET /orgs/{org}/hooks`],pingWebhook:[`POST /orgs/{org}/hooks/{hook_id}/pings`],redeliverWebhookDelivery:[`POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts`],removeMember:[`DELETE /orgs/{org}/members/{username}`],removeMembershipForUser:[`DELETE /orgs/{org}/memberships/{username}`],removeOutsideCollaborator:[`DELETE /orgs/{org}/outside_collaborators/{username}`],removePublicMembershipForAuthenticatedUser:[`DELETE /orgs/{org}/public_members/{username}`],removeSecurityManagerTeam:[`DELETE /orgs/{org}/security-managers/teams/{team_slug}`,{},{deprecated:`octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team`}],reviewPatGrantRequest:[`POST /orgs/{org}/personal-access-token-requests/{pat_request_id}`],reviewPatGrantRequestsInBulk:[`POST /orgs/{org}/personal-access-token-requests`],revokeAllOrgRolesTeam:[`DELETE /orgs/{org}/organization-roles/teams/{team_slug}`],revokeAllOrgRolesUser:[`DELETE /orgs/{org}/organization-roles/users/{username}`],revokeOrgRoleTeam:[`DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}`],revokeOrgRoleUser:[`DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}`],setImmutableReleasesSettings:[`PUT /orgs/{org}/settings/immutable-releases`],setImmutableReleasesSettingsRepositories:[`PUT /orgs/{org}/settings/immutable-releases/repositories`],setMembershipForUser:[`PUT /orgs/{org}/memberships/{username}`],setPublicMembershipForAuthenticatedUser:[`PUT /orgs/{org}/public_members/{username}`],unblockUser:[`DELETE /orgs/{org}/blocks/{username}`],update:[`PATCH /orgs/{org}`],updateIssueType:[`PUT /orgs/{org}/issue-types/{issue_type_id}`],updateMembershipForAuthenticatedUser:[`PATCH /user/memberships/orgs/{org}`],updatePatAccess:[`POST /orgs/{org}/personal-access-tokens/{pat_id}`],updatePatAccesses:[`POST /orgs/{org}/personal-access-tokens`],updateWebhook:[`PATCH /orgs/{org}/hooks/{hook_id}`],updateWebhookConfigForOrg:[`PATCH /orgs/{org}/hooks/{hook_id}/config`]},packages:{deletePackageForAuthenticatedUser:[`DELETE /user/packages/{package_type}/{package_name}`],deletePackageForOrg:[`DELETE /orgs/{org}/packages/{package_type}/{package_name}`],deletePackageForUser:[`DELETE /users/{username}/packages/{package_type}/{package_name}`],deletePackageVersionForAuthenticatedUser:[`DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}`],deletePackageVersionForOrg:[`DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}`],deletePackageVersionForUser:[`DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}`],getAllPackageVersionsForAPackageOwnedByAnOrg:[`GET /orgs/{org}/packages/{package_type}/{package_name}/versions`,{},{renamed:[`packages`,`getAllPackageVersionsForPackageOwnedByOrg`]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:[`GET /user/packages/{package_type}/{package_name}/versions`,{},{renamed:[`packages`,`getAllPackageVersionsForPackageOwnedByAuthenticatedUser`]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:[`GET /user/packages/{package_type}/{package_name}/versions`],getAllPackageVersionsForPackageOwnedByOrg:[`GET /orgs/{org}/packages/{package_type}/{package_name}/versions`],getAllPackageVersionsForPackageOwnedByUser:[`GET /users/{username}/packages/{package_type}/{package_name}/versions`],getPackageForAuthenticatedUser:[`GET /user/packages/{package_type}/{package_name}`],getPackageForOrganization:[`GET /orgs/{org}/packages/{package_type}/{package_name}`],getPackageForUser:[`GET /users/{username}/packages/{package_type}/{package_name}`],getPackageVersionForAuthenticatedUser:[`GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}`],getPackageVersionForOrganization:[`GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}`],getPackageVersionForUser:[`GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}`],listDockerMigrationConflictingPackagesForAuthenticatedUser:[`GET /user/docker/conflicts`],listDockerMigrationConflictingPackagesForOrganization:[`GET /orgs/{org}/docker/conflicts`],listDockerMigrationConflictingPackagesForUser:[`GET /users/{username}/docker/conflicts`],listPackagesForAuthenticatedUser:[`GET /user/packages`],listPackagesForOrganization:[`GET /orgs/{org}/packages`],listPackagesForUser:[`GET /users/{username}/packages`],restorePackageForAuthenticatedUser:[`POST /user/packages/{package_type}/{package_name}/restore{?token}`],restorePackageForOrg:[`POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}`],restorePackageForUser:[`POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}`],restorePackageVersionForAuthenticatedUser:[`POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore`],restorePackageVersionForOrg:[`POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore`],restorePackageVersionForUser:[`POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore`]},privateRegistries:{createOrgPrivateRegistry:[`POST /orgs/{org}/private-registries`],deleteOrgPrivateRegistry:[`DELETE /orgs/{org}/private-registries/{secret_name}`],getOrgPrivateRegistry:[`GET /orgs/{org}/private-registries/{secret_name}`],getOrgPublicKey:[`GET /orgs/{org}/private-registries/public-key`],listOrgPrivateRegistries:[`GET /orgs/{org}/private-registries`],updateOrgPrivateRegistry:[`PATCH /orgs/{org}/private-registries/{secret_name}`]},projects:{addItemForOrg:[`POST /orgs/{org}/projectsV2/{project_number}/items`],addItemForUser:[`POST /users/{username}/projectsV2/{project_number}/items`],deleteItemForOrg:[`DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}`],deleteItemForUser:[`DELETE /users/{username}/projectsV2/{project_number}/items/{item_id}`],getFieldForOrg:[`GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}`],getFieldForUser:[`GET /users/{username}/projectsV2/{project_number}/fields/{field_id}`],getForOrg:[`GET /orgs/{org}/projectsV2/{project_number}`],getForUser:[`GET /users/{username}/projectsV2/{project_number}`],getOrgItem:[`GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}`],getUserItem:[`GET /users/{username}/projectsV2/{project_number}/items/{item_id}`],listFieldsForOrg:[`GET /orgs/{org}/projectsV2/{project_number}/fields`],listFieldsForUser:[`GET /users/{username}/projectsV2/{project_number}/fields`],listForOrg:[`GET /orgs/{org}/projectsV2`],listForUser:[`GET /users/{username}/projectsV2`],listItemsForOrg:[`GET /orgs/{org}/projectsV2/{project_number}/items`],listItemsForUser:[`GET /users/{username}/projectsV2/{project_number}/items`],updateItemForOrg:[`PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}`],updateItemForUser:[`PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}`]},pulls:{checkIfMerged:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/merge`],create:[`POST /repos/{owner}/{repo}/pulls`],createReplyForReviewComment:[`POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies`],createReview:[`POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews`],createReviewComment:[`POST /repos/{owner}/{repo}/pulls/{pull_number}/comments`],deletePendingReview:[`DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}`],deleteReviewComment:[`DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}`],dismissReview:[`PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals`],get:[`GET /repos/{owner}/{repo}/pulls/{pull_number}`],getReview:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}`],getReviewComment:[`GET /repos/{owner}/{repo}/pulls/comments/{comment_id}`],list:[`GET /repos/{owner}/{repo}/pulls`],listCommentsForReview:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments`],listCommits:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/commits`],listFiles:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/files`],listRequestedReviewers:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers`],listReviewComments:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/comments`],listReviewCommentsForRepo:[`GET /repos/{owner}/{repo}/pulls/comments`],listReviews:[`GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews`],merge:[`PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge`],removeRequestedReviewers:[`DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers`],requestReviewers:[`POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers`],submitReview:[`POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events`],update:[`PATCH /repos/{owner}/{repo}/pulls/{pull_number}`],updateBranch:[`PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch`],updateReview:[`PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}`],updateReviewComment:[`PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}`]},rateLimit:{get:[`GET /rate_limit`]},reactions:{createForCommitComment:[`POST /repos/{owner}/{repo}/comments/{comment_id}/reactions`],createForIssue:[`POST /repos/{owner}/{repo}/issues/{issue_number}/reactions`],createForIssueComment:[`POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions`],createForPullRequestReviewComment:[`POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions`],createForRelease:[`POST /repos/{owner}/{repo}/releases/{release_id}/reactions`],createForTeamDiscussionCommentInOrg:[`POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions`],createForTeamDiscussionInOrg:[`POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions`],deleteForCommitComment:[`DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}`],deleteForIssue:[`DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}`],deleteForIssueComment:[`DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}`],deleteForPullRequestComment:[`DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}`],deleteForRelease:[`DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}`],deleteForTeamDiscussion:[`DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}`],deleteForTeamDiscussionComment:[`DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}`],listForCommitComment:[`GET /repos/{owner}/{repo}/comments/{comment_id}/reactions`],listForIssue:[`GET /repos/{owner}/{repo}/issues/{issue_number}/reactions`],listForIssueComment:[`GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions`],listForPullRequestReviewComment:[`GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions`],listForRelease:[`GET /repos/{owner}/{repo}/releases/{release_id}/reactions`],listForTeamDiscussionCommentInOrg:[`GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions`],listForTeamDiscussionInOrg:[`GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions`]},repos:{acceptInvitation:[`PATCH /user/repository_invitations/{invitation_id}`,{},{renamed:[`repos`,`acceptInvitationForAuthenticatedUser`]}],acceptInvitationForAuthenticatedUser:[`PATCH /user/repository_invitations/{invitation_id}`],addAppAccessRestrictions:[`POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`,{},{mapToData:`apps`}],addCollaborator:[`PUT /repos/{owner}/{repo}/collaborators/{username}`],addStatusCheckContexts:[`POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`,{},{mapToData:`contexts`}],addTeamAccessRestrictions:[`POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`,{},{mapToData:`teams`}],addUserAccessRestrictions:[`POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`,{},{mapToData:`users`}],cancelPagesDeployment:[`POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel`],checkAutomatedSecurityFixes:[`GET /repos/{owner}/{repo}/automated-security-fixes`],checkCollaborator:[`GET /repos/{owner}/{repo}/collaborators/{username}`],checkImmutableReleases:[`GET /repos/{owner}/{repo}/immutable-releases`],checkPrivateVulnerabilityReporting:[`GET /repos/{owner}/{repo}/private-vulnerability-reporting`],checkVulnerabilityAlerts:[`GET /repos/{owner}/{repo}/vulnerability-alerts`],codeownersErrors:[`GET /repos/{owner}/{repo}/codeowners/errors`],compareCommits:[`GET /repos/{owner}/{repo}/compare/{base}...{head}`],compareCommitsWithBasehead:[`GET /repos/{owner}/{repo}/compare/{basehead}`],createAttestation:[`POST /repos/{owner}/{repo}/attestations`],createAutolink:[`POST /repos/{owner}/{repo}/autolinks`],createCommitComment:[`POST /repos/{owner}/{repo}/commits/{commit_sha}/comments`],createCommitSignatureProtection:[`POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures`],createCommitStatus:[`POST /repos/{owner}/{repo}/statuses/{sha}`],createDeployKey:[`POST /repos/{owner}/{repo}/keys`],createDeployment:[`POST /repos/{owner}/{repo}/deployments`],createDeploymentBranchPolicy:[`POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies`],createDeploymentProtectionRule:[`POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules`],createDeploymentStatus:[`POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses`],createDispatchEvent:[`POST /repos/{owner}/{repo}/dispatches`],createForAuthenticatedUser:[`POST /user/repos`],createFork:[`POST /repos/{owner}/{repo}/forks`],createInOrg:[`POST /orgs/{org}/repos`],createOrUpdateEnvironment:[`PUT /repos/{owner}/{repo}/environments/{environment_name}`],createOrUpdateFileContents:[`PUT /repos/{owner}/{repo}/contents/{path}`],createOrgRuleset:[`POST /orgs/{org}/rulesets`],createPagesDeployment:[`POST /repos/{owner}/{repo}/pages/deployments`],createPagesSite:[`POST /repos/{owner}/{repo}/pages`],createRelease:[`POST /repos/{owner}/{repo}/releases`],createRepoRuleset:[`POST /repos/{owner}/{repo}/rulesets`],createUsingTemplate:[`POST /repos/{template_owner}/{template_repo}/generate`],createWebhook:[`POST /repos/{owner}/{repo}/hooks`],customPropertiesForReposCreateOrUpdateRepositoryValues:[`PATCH /repos/{owner}/{repo}/properties/values`],customPropertiesForReposGetRepositoryValues:[`GET /repos/{owner}/{repo}/properties/values`],declineInvitation:[`DELETE /user/repository_invitations/{invitation_id}`,{},{renamed:[`repos`,`declineInvitationForAuthenticatedUser`]}],declineInvitationForAuthenticatedUser:[`DELETE /user/repository_invitations/{invitation_id}`],delete:[`DELETE /repos/{owner}/{repo}`],deleteAccessRestrictions:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions`],deleteAdminBranchProtection:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins`],deleteAnEnvironment:[`DELETE /repos/{owner}/{repo}/environments/{environment_name}`],deleteAutolink:[`DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}`],deleteBranchProtection:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection`],deleteCommitComment:[`DELETE /repos/{owner}/{repo}/comments/{comment_id}`],deleteCommitSignatureProtection:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures`],deleteDeployKey:[`DELETE /repos/{owner}/{repo}/keys/{key_id}`],deleteDeployment:[`DELETE /repos/{owner}/{repo}/deployments/{deployment_id}`],deleteDeploymentBranchPolicy:[`DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}`],deleteFile:[`DELETE /repos/{owner}/{repo}/contents/{path}`],deleteInvitation:[`DELETE /repos/{owner}/{repo}/invitations/{invitation_id}`],deleteOrgRuleset:[`DELETE /orgs/{org}/rulesets/{ruleset_id}`],deletePagesSite:[`DELETE /repos/{owner}/{repo}/pages`],deletePullRequestReviewProtection:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews`],deleteRelease:[`DELETE /repos/{owner}/{repo}/releases/{release_id}`],deleteReleaseAsset:[`DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}`],deleteRepoRuleset:[`DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}`],deleteWebhook:[`DELETE /repos/{owner}/{repo}/hooks/{hook_id}`],disableAutomatedSecurityFixes:[`DELETE /repos/{owner}/{repo}/automated-security-fixes`],disableDeploymentProtectionRule:[`DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}`],disableImmutableReleases:[`DELETE /repos/{owner}/{repo}/immutable-releases`],disablePrivateVulnerabilityReporting:[`DELETE /repos/{owner}/{repo}/private-vulnerability-reporting`],disableVulnerabilityAlerts:[`DELETE /repos/{owner}/{repo}/vulnerability-alerts`],downloadArchive:[`GET /repos/{owner}/{repo}/zipball/{ref}`,{},{renamed:[`repos`,`downloadZipballArchive`]}],downloadTarballArchive:[`GET /repos/{owner}/{repo}/tarball/{ref}`],downloadZipballArchive:[`GET /repos/{owner}/{repo}/zipball/{ref}`],enableAutomatedSecurityFixes:[`PUT /repos/{owner}/{repo}/automated-security-fixes`],enableImmutableReleases:[`PUT /repos/{owner}/{repo}/immutable-releases`],enablePrivateVulnerabilityReporting:[`PUT /repos/{owner}/{repo}/private-vulnerability-reporting`],enableVulnerabilityAlerts:[`PUT /repos/{owner}/{repo}/vulnerability-alerts`],generateReleaseNotes:[`POST /repos/{owner}/{repo}/releases/generate-notes`],get:[`GET /repos/{owner}/{repo}`],getAccessRestrictions:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions`],getAdminBranchProtection:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins`],getAllDeploymentProtectionRules:[`GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules`],getAllEnvironments:[`GET /repos/{owner}/{repo}/environments`],getAllStatusCheckContexts:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`],getAllTopics:[`GET /repos/{owner}/{repo}/topics`],getAppsWithAccessToProtectedBranch:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`],getAutolink:[`GET /repos/{owner}/{repo}/autolinks/{autolink_id}`],getBranch:[`GET /repos/{owner}/{repo}/branches/{branch}`],getBranchProtection:[`GET /repos/{owner}/{repo}/branches/{branch}/protection`],getBranchRules:[`GET /repos/{owner}/{repo}/rules/branches/{branch}`],getClones:[`GET /repos/{owner}/{repo}/traffic/clones`],getCodeFrequencyStats:[`GET /repos/{owner}/{repo}/stats/code_frequency`],getCollaboratorPermissionLevel:[`GET /repos/{owner}/{repo}/collaborators/{username}/permission`],getCombinedStatusForRef:[`GET /repos/{owner}/{repo}/commits/{ref}/status`],getCommit:[`GET /repos/{owner}/{repo}/commits/{ref}`],getCommitActivityStats:[`GET /repos/{owner}/{repo}/stats/commit_activity`],getCommitComment:[`GET /repos/{owner}/{repo}/comments/{comment_id}`],getCommitSignatureProtection:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures`],getCommunityProfileMetrics:[`GET /repos/{owner}/{repo}/community/profile`],getContent:[`GET /repos/{owner}/{repo}/contents/{path}`],getContributorsStats:[`GET /repos/{owner}/{repo}/stats/contributors`],getCustomDeploymentProtectionRule:[`GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}`],getDeployKey:[`GET /repos/{owner}/{repo}/keys/{key_id}`],getDeployment:[`GET /repos/{owner}/{repo}/deployments/{deployment_id}`],getDeploymentBranchPolicy:[`GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}`],getDeploymentStatus:[`GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}`],getEnvironment:[`GET /repos/{owner}/{repo}/environments/{environment_name}`],getLatestPagesBuild:[`GET /repos/{owner}/{repo}/pages/builds/latest`],getLatestRelease:[`GET /repos/{owner}/{repo}/releases/latest`],getOrgRuleSuite:[`GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}`],getOrgRuleSuites:[`GET /orgs/{org}/rulesets/rule-suites`],getOrgRuleset:[`GET /orgs/{org}/rulesets/{ruleset_id}`],getOrgRulesets:[`GET /orgs/{org}/rulesets`],getPages:[`GET /repos/{owner}/{repo}/pages`],getPagesBuild:[`GET /repos/{owner}/{repo}/pages/builds/{build_id}`],getPagesDeployment:[`GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}`],getPagesHealthCheck:[`GET /repos/{owner}/{repo}/pages/health`],getParticipationStats:[`GET /repos/{owner}/{repo}/stats/participation`],getPullRequestReviewProtection:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews`],getPunchCardStats:[`GET /repos/{owner}/{repo}/stats/punch_card`],getReadme:[`GET /repos/{owner}/{repo}/readme`],getReadmeInDirectory:[`GET /repos/{owner}/{repo}/readme/{dir}`],getRelease:[`GET /repos/{owner}/{repo}/releases/{release_id}`],getReleaseAsset:[`GET /repos/{owner}/{repo}/releases/assets/{asset_id}`],getReleaseByTag:[`GET /repos/{owner}/{repo}/releases/tags/{tag}`],getRepoRuleSuite:[`GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}`],getRepoRuleSuites:[`GET /repos/{owner}/{repo}/rulesets/rule-suites`],getRepoRuleset:[`GET /repos/{owner}/{repo}/rulesets/{ruleset_id}`],getRepoRulesetHistory:[`GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history`],getRepoRulesetVersion:[`GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}`],getRepoRulesets:[`GET /repos/{owner}/{repo}/rulesets`],getStatusChecksProtection:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`],getTeamsWithAccessToProtectedBranch:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`],getTopPaths:[`GET /repos/{owner}/{repo}/traffic/popular/paths`],getTopReferrers:[`GET /repos/{owner}/{repo}/traffic/popular/referrers`],getUsersWithAccessToProtectedBranch:[`GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`],getViews:[`GET /repos/{owner}/{repo}/traffic/views`],getWebhook:[`GET /repos/{owner}/{repo}/hooks/{hook_id}`],getWebhookConfigForRepo:[`GET /repos/{owner}/{repo}/hooks/{hook_id}/config`],getWebhookDelivery:[`GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}`],listActivities:[`GET /repos/{owner}/{repo}/activity`],listAttestations:[`GET /repos/{owner}/{repo}/attestations/{subject_digest}`],listAutolinks:[`GET /repos/{owner}/{repo}/autolinks`],listBranches:[`GET /repos/{owner}/{repo}/branches`],listBranchesForHeadCommit:[`GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head`],listCollaborators:[`GET /repos/{owner}/{repo}/collaborators`],listCommentsForCommit:[`GET /repos/{owner}/{repo}/commits/{commit_sha}/comments`],listCommitCommentsForRepo:[`GET /repos/{owner}/{repo}/comments`],listCommitStatusesForRef:[`GET /repos/{owner}/{repo}/commits/{ref}/statuses`],listCommits:[`GET /repos/{owner}/{repo}/commits`],listContributors:[`GET /repos/{owner}/{repo}/contributors`],listCustomDeploymentRuleIntegrations:[`GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps`],listDeployKeys:[`GET /repos/{owner}/{repo}/keys`],listDeploymentBranchPolicies:[`GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies`],listDeploymentStatuses:[`GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses`],listDeployments:[`GET /repos/{owner}/{repo}/deployments`],listForAuthenticatedUser:[`GET /user/repos`],listForOrg:[`GET /orgs/{org}/repos`],listForUser:[`GET /users/{username}/repos`],listForks:[`GET /repos/{owner}/{repo}/forks`],listInvitations:[`GET /repos/{owner}/{repo}/invitations`],listInvitationsForAuthenticatedUser:[`GET /user/repository_invitations`],listLanguages:[`GET /repos/{owner}/{repo}/languages`],listPagesBuilds:[`GET /repos/{owner}/{repo}/pages/builds`],listPublic:[`GET /repositories`],listPullRequestsAssociatedWithCommit:[`GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls`],listReleaseAssets:[`GET /repos/{owner}/{repo}/releases/{release_id}/assets`],listReleases:[`GET /repos/{owner}/{repo}/releases`],listTags:[`GET /repos/{owner}/{repo}/tags`],listTeams:[`GET /repos/{owner}/{repo}/teams`],listWebhookDeliveries:[`GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries`],listWebhooks:[`GET /repos/{owner}/{repo}/hooks`],merge:[`POST /repos/{owner}/{repo}/merges`],mergeUpstream:[`POST /repos/{owner}/{repo}/merge-upstream`],pingWebhook:[`POST /repos/{owner}/{repo}/hooks/{hook_id}/pings`],redeliverWebhookDelivery:[`POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts`],removeAppAccessRestrictions:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`,{},{mapToData:`apps`}],removeCollaborator:[`DELETE /repos/{owner}/{repo}/collaborators/{username}`],removeStatusCheckContexts:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`,{},{mapToData:`contexts`}],removeStatusCheckProtection:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`],removeTeamAccessRestrictions:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`,{},{mapToData:`teams`}],removeUserAccessRestrictions:[`DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`,{},{mapToData:`users`}],renameBranch:[`POST /repos/{owner}/{repo}/branches/{branch}/rename`],replaceAllTopics:[`PUT /repos/{owner}/{repo}/topics`],requestPagesBuild:[`POST /repos/{owner}/{repo}/pages/builds`],setAdminBranchProtection:[`POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins`],setAppAccessRestrictions:[`PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`,{},{mapToData:`apps`}],setStatusCheckContexts:[`PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts`,{},{mapToData:`contexts`}],setTeamAccessRestrictions:[`PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams`,{},{mapToData:`teams`}],setUserAccessRestrictions:[`PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users`,{},{mapToData:`users`}],testPushWebhook:[`POST /repos/{owner}/{repo}/hooks/{hook_id}/tests`],transfer:[`POST /repos/{owner}/{repo}/transfer`],update:[`PATCH /repos/{owner}/{repo}`],updateBranchProtection:[`PUT /repos/{owner}/{repo}/branches/{branch}/protection`],updateCommitComment:[`PATCH /repos/{owner}/{repo}/comments/{comment_id}`],updateDeploymentBranchPolicy:[`PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}`],updateInformationAboutPagesSite:[`PUT /repos/{owner}/{repo}/pages`],updateInvitation:[`PATCH /repos/{owner}/{repo}/invitations/{invitation_id}`],updateOrgRuleset:[`PUT /orgs/{org}/rulesets/{ruleset_id}`],updatePullRequestReviewProtection:[`PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews`],updateRelease:[`PATCH /repos/{owner}/{repo}/releases/{release_id}`],updateReleaseAsset:[`PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}`],updateRepoRuleset:[`PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}`],updateStatusCheckPotection:[`PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`,{},{renamed:[`repos`,`updateStatusCheckProtection`]}],updateStatusCheckProtection:[`PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks`],updateWebhook:[`PATCH /repos/{owner}/{repo}/hooks/{hook_id}`],updateWebhookConfigForRepo:[`PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config`],uploadReleaseAsset:[`POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}`,{baseUrl:`https://uploads.github.com`}]},search:{code:[`GET /search/code`],commits:[`GET /search/commits`],issuesAndPullRequests:[`GET /search/issues`],labels:[`GET /search/labels`],repos:[`GET /search/repositories`],topics:[`GET /search/topics`],users:[`GET /search/users`]},secretScanning:{createPushProtectionBypass:[`POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses`],getAlert:[`GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}`],getScanHistory:[`GET /repos/{owner}/{repo}/secret-scanning/scan-history`],listAlertsForOrg:[`GET /orgs/{org}/secret-scanning/alerts`],listAlertsForRepo:[`GET /repos/{owner}/{repo}/secret-scanning/alerts`],listLocationsForAlert:[`GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations`],listOrgPatternConfigs:[`GET /orgs/{org}/secret-scanning/pattern-configurations`],updateAlert:[`PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}`],updateOrgPatternConfigs:[`PATCH /orgs/{org}/secret-scanning/pattern-configurations`]},securityAdvisories:{createFork:[`POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks`],createPrivateVulnerabilityReport:[`POST /repos/{owner}/{repo}/security-advisories/reports`],createRepositoryAdvisory:[`POST /repos/{owner}/{repo}/security-advisories`],createRepositoryAdvisoryCveRequest:[`POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve`],getGlobalAdvisory:[`GET /advisories/{ghsa_id}`],getRepositoryAdvisory:[`GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}`],listGlobalAdvisories:[`GET /advisories`],listOrgRepositoryAdvisories:[`GET /orgs/{org}/security-advisories`],listRepositoryAdvisories:[`GET /repos/{owner}/{repo}/security-advisories`],updateRepositoryAdvisory:[`PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}`]},teams:{addOrUpdateMembershipForUserInOrg:[`PUT /orgs/{org}/teams/{team_slug}/memberships/{username}`],addOrUpdateRepoPermissionsInOrg:[`PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}`],checkPermissionsForRepoInOrg:[`GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}`],create:[`POST /orgs/{org}/teams`],createDiscussionCommentInOrg:[`POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments`],createDiscussionInOrg:[`POST /orgs/{org}/teams/{team_slug}/discussions`],deleteDiscussionCommentInOrg:[`DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}`],deleteDiscussionInOrg:[`DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}`],deleteInOrg:[`DELETE /orgs/{org}/teams/{team_slug}`],getByName:[`GET /orgs/{org}/teams/{team_slug}`],getDiscussionCommentInOrg:[`GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}`],getDiscussionInOrg:[`GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}`],getMembershipForUserInOrg:[`GET /orgs/{org}/teams/{team_slug}/memberships/{username}`],list:[`GET /orgs/{org}/teams`],listChildInOrg:[`GET /orgs/{org}/teams/{team_slug}/teams`],listDiscussionCommentsInOrg:[`GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments`],listDiscussionsInOrg:[`GET /orgs/{org}/teams/{team_slug}/discussions`],listForAuthenticatedUser:[`GET /user/teams`],listMembersInOrg:[`GET /orgs/{org}/teams/{team_slug}/members`],listPendingInvitationsInOrg:[`GET /orgs/{org}/teams/{team_slug}/invitations`],listReposInOrg:[`GET /orgs/{org}/teams/{team_slug}/repos`],removeMembershipForUserInOrg:[`DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}`],removeRepoInOrg:[`DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}`],updateDiscussionCommentInOrg:[`PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}`],updateDiscussionInOrg:[`PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}`],updateInOrg:[`PATCH /orgs/{org}/teams/{team_slug}`]},users:{addEmailForAuthenticated:[`POST /user/emails`,{},{renamed:[`users`,`addEmailForAuthenticatedUser`]}],addEmailForAuthenticatedUser:[`POST /user/emails`],addSocialAccountForAuthenticatedUser:[`POST /user/social_accounts`],block:[`PUT /user/blocks/{username}`],checkBlocked:[`GET /user/blocks/{username}`],checkFollowingForUser:[`GET /users/{username}/following/{target_user}`],checkPersonIsFollowedByAuthenticated:[`GET /user/following/{username}`],createGpgKeyForAuthenticated:[`POST /user/gpg_keys`,{},{renamed:[`users`,`createGpgKeyForAuthenticatedUser`]}],createGpgKeyForAuthenticatedUser:[`POST /user/gpg_keys`],createPublicSshKeyForAuthenticated:[`POST /user/keys`,{},{renamed:[`users`,`createPublicSshKeyForAuthenticatedUser`]}],createPublicSshKeyForAuthenticatedUser:[`POST /user/keys`],createSshSigningKeyForAuthenticatedUser:[`POST /user/ssh_signing_keys`],deleteAttestationsBulk:[`POST /users/{username}/attestations/delete-request`],deleteAttestationsById:[`DELETE /users/{username}/attestations/{attestation_id}`],deleteAttestationsBySubjectDigest:[`DELETE /users/{username}/attestations/digest/{subject_digest}`],deleteEmailForAuthenticated:[`DELETE /user/emails`,{},{renamed:[`users`,`deleteEmailForAuthenticatedUser`]}],deleteEmailForAuthenticatedUser:[`DELETE /user/emails`],deleteGpgKeyForAuthenticated:[`DELETE /user/gpg_keys/{gpg_key_id}`,{},{renamed:[`users`,`deleteGpgKeyForAuthenticatedUser`]}],deleteGpgKeyForAuthenticatedUser:[`DELETE /user/gpg_keys/{gpg_key_id}`],deletePublicSshKeyForAuthenticated:[`DELETE /user/keys/{key_id}`,{},{renamed:[`users`,`deletePublicSshKeyForAuthenticatedUser`]}],deletePublicSshKeyForAuthenticatedUser:[`DELETE /user/keys/{key_id}`],deleteSocialAccountForAuthenticatedUser:[`DELETE /user/social_accounts`],deleteSshSigningKeyForAuthenticatedUser:[`DELETE /user/ssh_signing_keys/{ssh_signing_key_id}`],follow:[`PUT /user/following/{username}`],getAuthenticated:[`GET /user`],getById:[`GET /user/{account_id}`],getByUsername:[`GET /users/{username}`],getContextForUser:[`GET /users/{username}/hovercard`],getGpgKeyForAuthenticated:[`GET /user/gpg_keys/{gpg_key_id}`,{},{renamed:[`users`,`getGpgKeyForAuthenticatedUser`]}],getGpgKeyForAuthenticatedUser:[`GET /user/gpg_keys/{gpg_key_id}`],getPublicSshKeyForAuthenticated:[`GET /user/keys/{key_id}`,{},{renamed:[`users`,`getPublicSshKeyForAuthenticatedUser`]}],getPublicSshKeyForAuthenticatedUser:[`GET /user/keys/{key_id}`],getSshSigningKeyForAuthenticatedUser:[`GET /user/ssh_signing_keys/{ssh_signing_key_id}`],list:[`GET /users`],listAttestations:[`GET /users/{username}/attestations/{subject_digest}`],listAttestationsBulk:[`POST /users/{username}/attestations/bulk-list{?per_page,before,after}`],listBlockedByAuthenticated:[`GET /user/blocks`,{},{renamed:[`users`,`listBlockedByAuthenticatedUser`]}],listBlockedByAuthenticatedUser:[`GET /user/blocks`],listEmailsForAuthenticated:[`GET /user/emails`,{},{renamed:[`users`,`listEmailsForAuthenticatedUser`]}],listEmailsForAuthenticatedUser:[`GET /user/emails`],listFollowedByAuthenticated:[`GET /user/following`,{},{renamed:[`users`,`listFollowedByAuthenticatedUser`]}],listFollowedByAuthenticatedUser:[`GET /user/following`],listFollowersForAuthenticatedUser:[`GET /user/followers`],listFollowersForUser:[`GET /users/{username}/followers`],listFollowingForUser:[`GET /users/{username}/following`],listGpgKeysForAuthenticated:[`GET /user/gpg_keys`,{},{renamed:[`users`,`listGpgKeysForAuthenticatedUser`]}],listGpgKeysForAuthenticatedUser:[`GET /user/gpg_keys`],listGpgKeysForUser:[`GET /users/{username}/gpg_keys`],listPublicEmailsForAuthenticated:[`GET /user/public_emails`,{},{renamed:[`users`,`listPublicEmailsForAuthenticatedUser`]}],listPublicEmailsForAuthenticatedUser:[`GET /user/public_emails`],listPublicKeysForUser:[`GET /users/{username}/keys`],listPublicSshKeysForAuthenticated:[`GET /user/keys`,{},{renamed:[`users`,`listPublicSshKeysForAuthenticatedUser`]}],listPublicSshKeysForAuthenticatedUser:[`GET /user/keys`],listSocialAccountsForAuthenticatedUser:[`GET /user/social_accounts`],listSocialAccountsForUser:[`GET /users/{username}/social_accounts`],listSshSigningKeysForAuthenticatedUser:[`GET /user/ssh_signing_keys`],listSshSigningKeysForUser:[`GET /users/{username}/ssh_signing_keys`],setPrimaryEmailVisibilityForAuthenticated:[`PATCH /user/email/visibility`,{},{renamed:[`users`,`setPrimaryEmailVisibilityForAuthenticatedUser`]}],setPrimaryEmailVisibilityForAuthenticatedUser:[`PATCH /user/email/visibility`],unblock:[`DELETE /user/blocks/{username}`],unfollow:[`DELETE /user/following/{username}`],updateAuthenticated:[`PATCH /user`]}};const Bk=new Map;for(let[e,t]of Object.entries(zk))for(let[n,r]of Object.entries(t)){let[t,i,a]=r,[o,s]=t.split(/ /),c=Object.assign({method:o,url:s},i);Bk.has(e)||Bk.set(e,new Map),Bk.get(e).set(n,{scope:e,methodName:n,endpointDefaults:c,decorations:a})}const Vk={has({scope:e},t){return Bk.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty(e,t,n){return Object.defineProperty(e.cache,t,n),!0},deleteProperty(e,t){return delete e.cache[t],!0},ownKeys({scope:e}){return[...Bk.get(e).keys()]},set(e,t,n){return e.cache[t]=n},get({octokit:e,scope:t,cache:n},r){if(n[r])return n[r];let i=Bk.get(t).get(r);if(!i)return;let{endpointDefaults:a,decorations:o}=i;return o?n[r]=Uk(e,t,r,a,o):n[r]=e.request.defaults(a),n[r]}};function Hk(e){let t={};for(let n of Bk.keys())t[n]=new Proxy({octokit:e,scope:n,cache:{}},Vk);return t}function Uk(e,t,n,r,i){let a=e.request.defaults(r);function o(...r){let o=a.endpoint.merge(...r);if(i.mapToData)return o=Object.assign({},o,{data:o[i.mapToData],[i.mapToData]:void 0}),a(o);if(i.renamed){let[r,a]=i.renamed;e.log.warn(`octokit.${t}.${n}() has been renamed to octokit.${r}.${a}()`)}if(i.deprecated&&e.log.warn(i.deprecated),i.renamedParameters){let o=a.endpoint.merge(...r);for(let[r,a]of Object.entries(i.renamedParameters))r in o&&(e.log.warn(`"${r}" parameter is deprecated for "octokit.${t}.${n}()". Use "${a}" instead`),a in o||(o[a]=o[r]),delete o[r]);return a(o)}return a(...r)}return Object.assign(o,a)}function Wk(e){return{rest:Hk(e)}}Wk.VERSION=Rk;function Gk(e){let t=Hk(e);return{...t,rest:t}}Gk.VERSION=Rk;var Kk=L(I(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):n.Bottleneck=r()})(e,(function(){var e=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function t(e){return e&&e.default||e}var n={load:function(e,t,n={}){var r,i;for(r in t)i=t[r],n[r]=e[r]??i;return n},overwrite:function(e,t,n={}){var r,i;for(r in e)i=e[r],t[r]!==void 0&&(n[r]=i);return n}},r=class{constructor(e,t){this.incr=e,this.decr=t,this._first=null,this._last=null,this.length=0}push(e){var t;this.length++,typeof this.incr==`function`&&this.incr(),t={value:e,prev:this._last,next:null},this._last==null?this._first=this._last=t:(this._last.next=t,this._last=t)}shift(){var e;if(this._first!=null)return this.length--,typeof this.decr==`function`&&this.decr(),e=this._first.value,(this._first=this._first.next)==null?this._last=null:this._first.prev=null,e}first(){if(this._first!=null)return this._first.value}getArray(){for(var e=this._first,t,n=[];e!=null;)n.push((t=e,e=e.next,t.value));return n}forEachShift(e){for(var t=this.shift();t!=null;)e(t),t=this.shift()}debug(){for(var e=this._first,t,n=[];e!=null;)n.push((t=e,e=e.next,{value:t.value,prev:t.prev?.value,next:t.next?.value}));return n}},i=class{constructor(e){if(this.instance=e,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw Error(`An Emitter already exists for this object`);this.instance.on=(e,t)=>this._addListener(e,`many`,t),this.instance.once=(e,t)=>this._addListener(e,`once`,t),this.instance.removeAllListeners=(e=null)=>e==null?this._events={}:delete this._events[e]}_addListener(e,t,n){var r;return(r=this._events)[e]??(r[e]=[]),this._events[e].push({cb:n,status:t}),this.instance}listenerCount(e){return this._events[e]==null?0:this._events[e].length}async trigger(e,...t){var n,r;try{return e!==`debug`&&this.trigger(`debug`,`Event triggered: ${e}`,t),this._events[e]==null?void 0:(this._events[e]=this._events[e].filter(function(e){return e.status!==`none`}),r=this._events[e].map(async e=>{var n,r;if(e.status!==`none`){e.status===`once`&&(e.status=`none`);try{return r=typeof e.cb==`function`?e.cb(...t):void 0,typeof r?.then==`function`?await r:r}catch(e){return n=e,this.trigger(`error`,n),null}}}),(await Promise.all(r)).find(function(e){return e!=null}))}catch(e){return n=e,this.trigger(`error`,n),null}}},a=r,o=i,s=class{constructor(e){this.Events=new o(this),this._length=0,this._lists=(function(){var t,n,r=[];for(t=1,n=e;1<=n?t<=n:t>=n;1<=n?++t:--t)r.push(new a((()=>this.incr()),(()=>this.decr())));return r}).call(this)}incr(){if(this._length++===0)return this.Events.trigger(`leftzero`)}decr(){if(--this._length===0)return this.Events.trigger(`zero`)}push(e){return this._lists[e.options.priority].push(e)}queued(e){return e==null?this._length:this._lists[e].length}shiftAll(e){return this._lists.forEach(function(t){return t.forEachShift(e)})}getFirst(e=this._lists){var t,n,r;for(t=0,n=e.length;t<n;t++)if(r=e[t],r.length>0)return r;return[]}shiftLastFrom(e){return this.getFirst(this._lists.slice(e).reverse()).shift()}},c=class extends Error{},l,u,d,f=10,p;u=5,p=n,l=c,d=class{constructor(e,t,n,r,i,a,o,s){this.task=e,this.args=t,this.rejectOnDrop=i,this.Events=a,this._states=o,this.Promise=s,this.options=p.load(n,r),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===r.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((e,t)=>{this._resolve=e,this._reject=t}),this.retryCount=0}_sanitizePriority(e){var t=~~e===e?e:u;return t<0?0:t>f-1?f-1:t}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:e,message:t=`This job has been dropped by Bottleneck`}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(e??new l(t)),this.Events.trigger(`dropped`,{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(e){var t=this._states.jobStatus(this.options.id);if(!(t===e||e===`DONE`&&t===null))throw new l(`Invalid job status ${t}, expected ${e}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger(`received`,{args:this.args,options:this.options})}doQueue(e,t){return this._assertStatus(`RECEIVED`),this._states.next(this.options.id),this.Events.trigger(`queued`,{args:this.args,options:this.options,reachedHWM:e,blocked:t})}doRun(){return this.retryCount===0?(this._assertStatus(`QUEUED`),this._states.next(this.options.id)):this._assertStatus(`EXECUTING`),this.Events.trigger(`scheduled`,{args:this.args,options:this.options})}async doExecute(e,t,n,r){var i,a,o;this.retryCount===0?(this._assertStatus(`RUNNING`),this._states.next(this.options.id)):this._assertStatus(`EXECUTING`),a={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger(`executing`,a);try{if(o=await(e==null?this.task(...this.args):e.schedule(this.options,this.task,...this.args)),t())return this.doDone(a),await r(this.options,a),this._assertStatus(`DONE`),this._resolve(o)}catch(e){return i=e,this._onFailure(i,a,t,n,r)}}doExpire(e,t,n){var r,i;return this._states.jobStatus(this.options.id===`RUNNING`)&&this._states.next(this.options.id),this._assertStatus(`EXECUTING`),i={args:this.args,options:this.options,retryCount:this.retryCount},r=new l(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(r,i,e,t,n)}async _onFailure(e,t,n,r,i){var a,o;if(n())return a=await this.Events.trigger(`failed`,e,t),a==null?(this.doDone(t),await i(this.options,t),this._assertStatus(`DONE`),this._reject(e)):(o=~~a,this.Events.trigger(`retry`,`Retrying ${this.options.id} after ${o} ms`,t),this.retryCount++,r(o))}doDone(e){return this._assertStatus(`EXECUTING`),this._states.next(this.options.id),this.Events.trigger(`done`,e)}};var m=d,h,g,_=n;h=c,g=class{constructor(e,t,n){this.instance=e,this.storeOptions=t,this.clientId=this.instance._randomIndex(),_.load(n,n,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var e;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(e=this.heartbeat=setInterval(()=>{var e,t,n,r=Date.now(),i;if(this.storeOptions.reservoirRefreshInterval!=null&&r>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=r,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&r>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:e,reservoirIncreaseMaximum:n,reservoir:i}=this.storeOptions,this._lastReservoirIncrease=r,t=n==null?e:Math.min(e,n-i),t>0))return this.storeOptions.reservoir+=t,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref==`function`?e.unref():void 0:clearInterval(this.heartbeat)}async __publish__(e){return await this.yieldLoop(),this.instance.Events.trigger(`message`,e.toString())}async __disconnect__(e){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(e=0){return new this.Promise(function(t,n){return setTimeout(t,e)})}computePenalty(){return this.storeOptions.penalty??(15*this.storeOptions.minTime||5e3)}async __updateSettings__(e){return await this.yieldLoop(),_.overwrite(e,e,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(e){return await this.yieldLoop(),this._nextRequest+this.timeout<e}computeCapacity(){var e,t;return{maxConcurrent:e,reservoir:t}=this.storeOptions,e!=null&&t!=null?Math.min(e-this._running,t):e==null?t??null:e-this._running}conditionsCheck(e){var t=this.computeCapacity();return t==null||e<=t}async __incrementReservoir__(e){var t;return await this.yieldLoop(),t=this.storeOptions.reservoir+=e,this.instance._drainAll(this.computeCapacity()),t}async __currentReservoir__(){return await this.yieldLoop(),this.storeOptions.reservoir}isBlocked(e){return this._unblockTime>=e}check(e,t){return this.conditionsCheck(e)&&this._nextRequest-t<=0}async __check__(e){var t;return await this.yieldLoop(),t=Date.now(),this.check(e,t)}async __register__(e,t,n){var r,i;return await this.yieldLoop(),r=Date.now(),this.conditionsCheck(t)?(this._running+=t,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=t),i=Math.max(this._nextRequest-r,0),this._nextRequest=r+i+this.storeOptions.minTime,{success:!0,wait:i,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(e,t){var n,r,i;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&t>this.storeOptions.maxConcurrent)throw new h(`Impossible to add a job having a weight of ${t} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return r=Date.now(),i=this.storeOptions.highWater!=null&&e===this.storeOptions.highWater&&!this.check(t,r),n=this.strategyIsBlock()&&(i||this.isBlocked(r)),n&&(this._unblockTime=r+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:i,blocked:n,strategy:this.storeOptions.strategy}}async __free__(e,t){return await this.yieldLoop(),this._running-=t,this._done+=t,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var v=g,y=c,b=class{constructor(e){this.status=e,this._jobs={},this.counts=this.status.map(function(){return 0})}next(e){var t=this._jobs[e],n=t+1;if(t!=null&&n<this.status.length)return this.counts[t]--,this.counts[n]++,this._jobs[e]++;if(t!=null)return this.counts[t]--,delete this._jobs[e]}start(e){var t=0;return this._jobs[e]=t,this.counts[t]++}remove(e){var t=this._jobs[e];return t!=null&&(this.counts[t]--,delete this._jobs[e]),t!=null}jobStatus(e){return this.status[this._jobs[e]]??null}statusJobs(e){var t,n,r,i,a;if(e!=null){if(n=this.status.indexOf(e),n<0)throw new y(`status must be one of ${this.status.join(`, `)}`);for(t in r=this._jobs,i=[],r)a=r[t],a===n&&i.push(t);return i}else return Object.keys(this._jobs)}statusCounts(){return this.counts.reduce(((e,t,n)=>(e[this.status[n]]=t,e)),{})}},x=r,S=class{constructor(e,t){this.schedule=this.schedule.bind(this),this.name=e,this.Promise=t,this._running=0,this._queue=new x}isEmpty(){return this._queue.length===0}async _tryToRun(){var e,t,n,r,i,a,o;if(this._running<1&&this._queue.length>0)return this._running++,{task:o,args:e,resolve:i,reject:r}=this._queue.shift(),t=await(async function(){try{return a=await o(...e),function(){return i(a)}}catch(e){return n=e,function(){return r(n)}}})(),this._running--,this._tryToRun(),t()}schedule(e,...t){var n,r,i=r=null;return n=new this.Promise(function(e,t){return i=e,r=t}),this._queue.push({task:e,args:t,resolve:i,reject:r}),this._tryToRun(),n}},C=`2.19.5`,w={version:C},T=Object.freeze({version:C,default:w}),E=()=>console.log(`You must import the full version of Bottleneck in order to use this feature.`),D=()=>console.log(`You must import the full version of Bottleneck in order to use this feature.`),O=()=>console.log(`You must import the full version of Bottleneck in order to use this feature.`),k,A,j,ee,te,ne=n;k=i,ee=E,j=D,te=O,A=(function(){class e{constructor(e={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=e,ne.load(this.limiterOptions,this.defaults,this),this.Events=new k(this),this.instances={},this.Bottleneck=me,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection??(this.limiterOptions.datastore===`redis`?this.connection=new ee(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore===`ioredis`&&(this.connection=new j(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(e=``){return this.instances[e]??(()=>{var t=this.instances[e]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${e}`,timeout:this.timeout,connection:this.connection}));return this.Events.trigger(`created`,t,e),t})()}async deleteKey(e=``){var t,n=this.instances[e];return this.connection&&(t=await this.connection.__runCommand__([`del`,...te.allKeys(`${this.id}-${e}`)])),n!=null&&(delete this.instances[e],await n.disconnect()),n!=null||t>0}limiters(){var e,t=this.instances,n=[],r;for(e in t)r=t[e],n.push({key:e,limiter:r});return n}keys(){return Object.keys(this.instances)}async clusterKeys(){var e,t,n,r,i,a,o,s,c;if(this.connection==null)return this.Promise.resolve(this.keys());for(a=[],e=null,c=`b_${this.id}-`.length,t=9;e!==0;)for([s,n]=await this.connection.__runCommand__([`scan`,e??0,`match`,`b_${this.id}-*_settings`,`count`,1e4]),e=~~s,r=0,o=n.length;r<o;r++)i=n[r],a.push(i.slice(c,-t));return a}_startAutoCleanup(){var e;return clearInterval(this.interval),typeof(e=this.interval=setInterval(async()=>{var e,t,n,r,i=Date.now(),a;for(t in n=this.instances,r=[],n){a=n[t];try{await a._store.__groupCheck__(i)?r.push(this.deleteKey(t)):r.push(void 0)}catch(t){e=t,r.push(a.Events.trigger(`error`,e))}}return r},this.timeout/2)).unref==`function`?e.unref():void 0}updateSettings(e={}){if(ne.overwrite(e,this.defaults,this),ne.overwrite(e,e,this.limiterOptions),e.timeout!=null)return this._startAutoCleanup()}disconnect(e=!0){if(!this.sharedConnection)return this.connection?.disconnect(e)}}return e.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:`group-key`},e}).call(e);var re=A,M,ie,ae=n;ie=i,M=(function(){class e{constructor(e={}){this.options=e,ae.load(this.options,this.defaults,this),this.Events=new ie(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((e,t)=>this._resolve=e)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger(`batch`,this._arr),this._arr=[],this._resetPromise()}add(e){var t;return this._arr.push(e),t=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),t}}return e.prototype.defaults={maxTime:null,maxSize:null,Promise},e}).call(e);var N=M,oe=()=>console.log(`You must import the full version of Bottleneck in order to use this feature.`),P=t(T),F,se,ce,le,ue,de,I,fe,pe,L,R,z=[].splice;de=10,se=5,R=n,I=s,le=m,ue=v,fe=oe,ce=i,pe=b,L=S,F=(function(){class e{constructor(t={},...n){var r,i;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(t,n),R.load(t,this.instanceDefaults,this),this._queues=new I(de),this._scheduled={},this._states=new pe([`RECEIVED`,`QUEUED`,`RUNNING`,`EXECUTING`].concat(this.trackDoneStatus?[`DONE`]:[])),this._limiter=null,this.Events=new ce(this),this._submitLock=new L(`submit`,this.Promise),this._registerLock=new L(`register`,this.Promise),i=R.load(t,this.storeDefaults,{}),this._store=(function(){if(this.datastore===`redis`||this.datastore===`ioredis`||this.connection!=null)return r=R.load(t,this.redisStoreDefaults,{}),new fe(this,i,r);if(this.datastore===`local`)return r=R.load(t,this.localStoreDefaults,{}),new ue(this,i,r);throw new e.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}).call(this),this._queues.on(`leftzero`,()=>{var e;return(e=this._store.heartbeat)==null?void 0:typeof e.ref==`function`?e.ref():void 0}),this._queues.on(`zero`,()=>{var e;return(e=this._store.heartbeat)==null?void 0:typeof e.unref==`function`?e.unref():void 0})}_validateOptions(t,n){if(!(typeof t==`object`&&t&&n.length===0))throw new e.prototype.BottleneckError(`Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.`)}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(e){return this._store.__publish__(e)}disconnect(e=!0){return this._store.__disconnect__(e)}chain(e){return this._limiter=e,this}queued(e){return this._queues.queued(e)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(e){return this._states.jobStatus(e)}jobs(e){return this._states.statusJobs(e)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(e=1){return this._store.__check__(e)}_clearGlobalState(e){return this._scheduled[e]==null?!1:(clearTimeout(this._scheduled[e].expiration),delete this._scheduled[e],!0)}async _free(e,t,n,r){var i,a;try{if({running:a}=await this._store.__free__(e,n.weight),this.Events.trigger(`debug`,`Freed ${n.id}`,r),a===0&&this.empty())return this.Events.trigger(`idle`)}catch(e){return i=e,this.Events.trigger(`error`,i)}}_run(e,t,n){var r,i,a;return t.doRun(),r=this._clearGlobalState.bind(this,e),a=this._run.bind(this,e,t),i=this._free.bind(this,e,t),this._scheduled[e]={timeout:setTimeout(()=>t.doExecute(this._limiter,r,a,i),n),expiration:t.options.expiration==null?void 0:setTimeout(function(){return t.doExpire(r,a,i)},n+t.options.expiration),job:t}}_drainOne(e){return this._registerLock.schedule(()=>{var t,n,r,i,a;return this.queued()===0||(a=this._queues.getFirst(),{options:i,args:t}=r=a.first(),e!=null&&i.weight>e)?this.Promise.resolve(null):(this.Events.trigger(`debug`,`Draining ${i.id}`,{args:t,options:i}),n=this._randomIndex(),this._store.__register__(n,i.weight,i.expiration).then(({success:e,wait:o,reservoir:s})=>{var c;return this.Events.trigger(`debug`,`Drained ${i.id}`,{success:e,args:t,options:i}),e?(a.shift(),c=this.empty(),c&&this.Events.trigger(`empty`),s===0&&this.Events.trigger(`depleted`,c),this._run(n,r,o),this.Promise.resolve(i.weight)):this.Promise.resolve(null)}))})}_drainAll(e,t=0){return this._drainOne(e).then(n=>{var r;return n==null?this.Promise.resolve(t):(r=e==null?e:e-n,this._drainAll(r,t+n))}).catch(e=>this.Events.trigger(`error`,e))}_dropAllQueued(e){return this._queues.shiftAll(function(t){return t.doDrop({message:e})})}stop(t={}){var n,r;return t=R.load(t,this.stopDefaults),r=e=>{var t=()=>{var t=this._states.counts;return t[0]+t[1]+t[2]+t[3]===e};return new this.Promise((e,n)=>t()?e():this.on(`done`,()=>{if(t())return this.removeAllListeners(`done`),e()}))},n=t.dropWaitingJobs?(this._run=function(e,n){return n.doDrop({message:t.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var e,n=this._scheduled,i;for(e in n)i=n[e],this.jobStatus(i.job.options.id)===`RUNNING`&&(clearTimeout(i.timeout),clearTimeout(i.expiration),i.job.doDrop({message:t.dropErrorMessage}));return this._dropAllQueued(t.dropErrorMessage),r(0)}))):this.schedule({priority:de-1,weight:0},()=>r(1)),this._receive=function(n){return n._reject(new e.prototype.BottleneckError(t.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new e.prototype.BottleneckError(`stop() has already been called`)),n}async _addToQueue(t){var n,r,i,a,o,s,c;({args:n,options:a}=t);try{({reachedHWM:o,blocked:r,strategy:c}=await this._store.__submit__(this.queued(),a.weight))}catch(e){return i=e,this.Events.trigger(`debug`,`Could not queue ${a.id}`,{args:n,options:a,error:i}),t.doDrop({error:i}),!1}return r?(t.doDrop(),!0):o&&(s=c===e.prototype.strategy.LEAK?this._queues.shiftLastFrom(a.priority):c===e.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(a.priority+1):c===e.prototype.strategy.OVERFLOW?t:void 0,s?.doDrop(),s==null||c===e.prototype.strategy.OVERFLOW)?(s??t.doDrop(),o):(t.doQueue(o,r),this._queues.push(t),await this._drainAll(),o)}_receive(t){return this._states.jobStatus(t.options.id)==null?(t.doReceive(),this._submitLock.schedule(this._addToQueue,t)):(t._reject(new e.prototype.BottleneckError(`A job with the same id already exists (id=${t.options.id})`)),!1)}submit(...e){var t,n,r,i,a,o,s;return typeof e[0]==`function`?(a=e,[n,...e]=a,[t]=z.call(e,-1),i=R.load({},this.jobDefaults)):(o=e,[i,n,...e]=o,[t]=z.call(e,-1),i=R.load(i,this.jobDefaults)),s=(...e)=>new this.Promise(function(t,r){return n(...e,function(...e){return(e[0]==null?t:r)(e)})}),r=new le(s,e,i,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),r.promise.then(function(e){return typeof t==`function`?t(...e):void 0}).catch(function(e){return Array.isArray(e)?typeof t==`function`?t(...e):void 0:typeof t==`function`?t(e):void 0}),this._receive(r)}schedule(...e){var t,n,r;return typeof e[0]==`function`?([r,...e]=e,n={}):[n,r,...e]=e,t=new le(r,e,n,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(t),t.promise}wrap(e){var t=this.schedule.bind(this),n=function(...n){return t(e.bind(this),...n)};return n.withOptions=function(n,...r){return t(n,e,...r)},n}async updateSettings(e={}){return await this._store.__updateSettings__(R.overwrite(e,this.storeDefaults)),R.overwrite(e,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(e=0){return this._store.__incrementReservoir__(e)}}return e.default=e,e.Events=ce,e.version=e.prototype.version=P.version,e.strategy=e.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},e.BottleneckError=e.prototype.BottleneckError=c,e.Group=e.prototype.Group=re,e.RedisConnection=e.prototype.RedisConnection=E,e.IORedisConnection=e.prototype.IORedisConnection=D,e.Batcher=e.prototype.Batcher=N,e.prototype.jobDefaults={priority:se,weight:1,expiration:null,id:`<no-id>`},e.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:e.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},e.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},e.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},e.prototype.instanceDefaults={datastore:`local`,connection:null,id:`<no-id>`,rejectOnDrop:!0,trackDoneStatus:!1,Promise},e.prototype.stopDefaults={enqueueErrorMessage:`This limiter has been stopped and cannot accept new jobs.`,dropWaitingJobs:!0,dropErrorMessage:`This limiter has been stopped.`},e}).call(e);var me=F;return me}))}))(),1),qk=`0.0.0-development`;async function Jk(e,t,n,r){if(!n.request||!n.request.request)throw n;if(n.status>=400&&!e.doNotRetry.includes(n.status)){let i=r.request.retries==null?e.retries:r.request.retries,a=((r.request.retryCount||0)+1)**2;throw t.retry.retryRequest(n,i,a)}throw n}async function Yk(e,t,n,r){let i=new Kk.default;return i.on(`failed`,function(t,n){let i=~~t.request.request.retries,a=~~t.request.request.retryAfter;if(r.request.retryCount=n.retryCount+1,i>n.retryCount)return a*e.retryAfterBaseValue}),i.schedule(Xk.bind(null,e,t,n),r)}async function Xk(e,t,n,r){let i=await n(n,r);return i.data&&i.data.errors&&i.data.errors.length>0&&/Something went wrong while executing your query/.test(i.data.errors[0].message)?Jk(e,t,new PO(i.data.errors[0].message,500,{request:r,response:i}),r):i}function Zk(e,t){let n=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,410,422,451],retries:3},t.retry);return n.enabled&&(e.hook.error(`request`,Jk.bind(null,n,e)),e.hook.wrap(`request`,Yk.bind(null,n,e))),{retry:{retryRequest:(e,t,n)=>(e.request.request=Object.assign({},e.request.request,{retries:t,retryAfter:n}),e)}}}Zk.VERSION=qk;var Qk=`0.0.0-development`,$k=()=>Promise.resolve();function eA(e,t,n){return e.retryLimiter.schedule(tA,e,t,n)}async function tA(e,t,n){let{pathname:r}=new URL(n.url,`http://github.test`),i=nA(n.method,r),a=!i&&n.method!==`GET`&&n.method!==`HEAD`,o=n.method===`GET`&&r.startsWith(`/search/`),s=r.startsWith(`/graphql`),c=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(c.expiration=1e3*60),(a||s)&&await e.write.key(e.id).schedule(c,$k),a&&e.triggersNotification(r)&&await e.notifications.key(e.id).schedule(c,$k),o&&await e.search.key(e.id).schedule(c,$k);let l=(i?e.auth:e.global).key(e.id).schedule(c,t,n);if(s){let e=await l;if(e.data.errors!=null&&e.data.errors.some(e=>e.type===`RATE_LIMITED`))throw Object.assign(Error(`GraphQL Rate Limit Exceeded`),{response:e,data:e.data})}return l}function nA(e,t){return e===`PATCH`&&/^\/applications\/[^/]+\/token\/scoped$/.test(t)||e===`POST`&&(/^\/applications\/[^/]+\/token$/.test(t)||/^\/app\/installations\/[^/]+\/access_tokens$/.test(t)||t===`/login/oauth/access_token`)}var rA=[`/orgs/{org}/invitations`,`/orgs/{org}/invitations/{invitation_id}`,`/orgs/{org}/teams/{team_slug}/discussions`,`/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments`,`/repos/{owner}/{repo}/collaborators/{username}`,`/repos/{owner}/{repo}/commits/{commit_sha}/comments`,`/repos/{owner}/{repo}/issues`,`/repos/{owner}/{repo}/issues/{issue_number}/comments`,`/repos/{owner}/{repo}/issues/{issue_number}/sub_issue`,`/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority`,`/repos/{owner}/{repo}/pulls`,`/repos/{owner}/{repo}/pulls/{pull_number}/comments`,`/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies`,`/repos/{owner}/{repo}/pulls/{pull_number}/merge`,`/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers`,`/repos/{owner}/{repo}/pulls/{pull_number}/reviews`,`/repos/{owner}/{repo}/releases`,`/teams/{team_id}/discussions`,`/teams/{team_id}/discussions/{discussion_number}/comments`];function iA(e){let t=`^(?:${e.map(e=>e.split(`/`).map(e=>e.startsWith(`{`)?`(?:.+?)`:e).join(`/`)).map(e=>`(?:${e})`).join(`|`)})[^/]*$`;return new RegExp(t,`i`)}var aA=iA(rA),oA=aA.test.bind(aA),sA={},cA=function(e,t){sA.global=new e.Group({id:`octokit-global`,maxConcurrent:10,...t}),sA.auth=new e.Group({id:`octokit-auth`,maxConcurrent:1,...t}),sA.search=new e.Group({id:`octokit-search`,maxConcurrent:1,minTime:2e3,...t}),sA.write=new e.Group({id:`octokit-write`,maxConcurrent:1,minTime:1e3,...t}),sA.notifications=new e.Group({id:`octokit-notifications`,maxConcurrent:1,minTime:3e3,...t})};function lA(e,t){let{enabled:n=!0,Bottleneck:r=Kk.default,id:i=`no-id`,timeout:a=1e3*60*2,connection:o}=t.throttle||{};if(!n)return{};let s={timeout:a};o!==void 0&&(s.connection=o),sA.global??cA(r,s);let c=Object.assign({clustering:o!=null,triggersNotification:oA,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new r,id:i,...sA},t.throttle);if(typeof c.onSecondaryRateLimit!=`function`||typeof c.onRateLimit!=`function`)throw Error(`octokit/plugin-throttling error:
You must pass the onSecondaryRateLimit and onRateLimit error handlers.
See https://octokit.github.io/rest.js/#throttling
const octokit = new Octokit({
throttle: {
onSecondaryRateLimit: (retryAfter, options) => {/* ... */},
onRateLimit: (retryAfter, options) => {/* ... */}
}
})
`);let l={},u=new r.Events(l);return l.on(`secondary-limit`,c.onSecondaryRateLimit),l.on(`rate-limit`,c.onRateLimit),l.on(`error`,t=>e.log.warn(`Error in throttling-plugin limit handler`,t)),c.retryLimiter.on(`failed`,async function(t,n){let[r,i,a]=n.args,{pathname:o}=new URL(a.url,`http://github.test`);if(!(o.startsWith(`/graphql`)&&t.status!==401||t.status===403||t.status===429))return;let s=~~i.retryCount;i.retryCount=s,a.request.retryCount=s;let{wantRetry:c,retryAfter:l=0}=await(async function(){if(/\bsecondary rate\b/i.test(t.message)){let n=Number(t.response.headers[`retry-after`])||r.fallbackSecondaryRateRetryAfter;return{wantRetry:await u.trigger(`secondary-limit`,n,a,e,s),retryAfter:n}}if(t.response.headers!=null&&t.response.headers[`x-ratelimit-remaining`]===`0`||(t.response.data?.errors??[]).some(e=>e.type===`RATE_LIMITED`)){let n=new Date(~~t.response.headers[`x-ratelimit-reset`]*1e3).getTime(),r=Math.max(Math.ceil((n-Date.now())/1e3)+1,0);return{wantRetry:await u.trigger(`rate-limit`,r,a,e,s),retryAfter:r}}return{}})();if(c)return i.retryCount++,l*r.retryAfterBaseValue}),e.hook.wrap(`request`,eA.bind(null,c)),{}}lA.VERSION=Qk,lA.triggersNotification=oA;function uA(e){let t=e.clientType||`oauth-app`,n=e.baseUrl||`https://github.com`,r={clientType:t,allowSignup:e.allowSignup!==!1,clientId:e.clientId,login:e.login||null,redirectUrl:e.redirectUrl||null,state:e.state||Math.random().toString(36).substr(2),url:``};if(t===`oauth-app`){let t=`scopes`in e?e.scopes:[];r.scopes=typeof t==`string`?t.split(/[,\s]+/).filter(Boolean):t}return r.url=dA(`${n}/login/oauth/authorize`,r),r}function dA(e,t){let n={allowSignup:`allow_signup`,clientId:`client_id`,login:`login`,redirectUrl:`redirect_uri`,scopes:`scope`,state:`state`},r=e;return Object.keys(n).filter(e=>t[e]!==null).filter(e=>e===`scopes`?t.clientType===`github-app`?!1:!Array.isArray(t[e])||t[e].length>0:!0).map(e=>[n[e],`${t[e]}`]).forEach(([e,t],n)=>{r+=n===0?`?`:`&`,r+=`${e}=${encodeURIComponent(t)}`}),r}function fA(e){let t=e.endpoint.DEFAULTS;return/^https:\/\/(api\.)?github\.com$/.test(t.baseUrl)?`https://github.com`:t.baseUrl.replace(`/api/v3`,``)}async function pA(e,t,n){let r={baseUrl:fA(e),headers:{accept:`application/json`},...n},i=await e(t,r);if(`error`in i.data){let n=new PO(`${i.data.error_description} (${i.data.error}, ${i.data.error_uri})`,400,{request:e.endpoint.merge(t,r)});throw n.response=i,n}return i}function mA({request:e=WO,...t}){let n=fA(e);return uA({...t,baseUrl:n})}async function hA(e){let t=await pA(e.request||WO,`POST /login/oauth/access_token`,{client_id:e.clientId,client_secret:e.clientSecret,code:e.code,redirect_uri:e.redirectUrl}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:t.data.access_token,scopes:t.data.scope.split(/\s+/).filter(Boolean)};if(e.clientType===`github-app`){if(`refresh_token`in t.data){let e=new Date(t.headers.date).getTime();n.refreshToken=t.data.refresh_token,n.expiresAt=gA(e,t.data.expires_in),n.refreshTokenExpiresAt=gA(e,t.data.refresh_token_expires_in)}delete n.scopes}return{...t,authentication:n}}function gA(e,t){return new Date(e+t*1e3).toISOString()}async function _A(e){let t=e.request||WO,n={client_id:e.clientId};return`scopes`in e&&Array.isArray(e.scopes)&&(n.scope=e.scopes.join(` `)),pA(t,`POST /login/device/code`,n)}async function vA(e){let t=await pA(e.request||WO,`POST /login/oauth/access_token`,{client_id:e.clientId,device_code:e.code,grant_type:`urn:ietf:params:oauth:grant-type:device_code`}),n={clientType:e.clientType,clientId:e.clientId,token:t.data.access_token,scopes:t.data.scope.split(/\s+/).filter(Boolean)};if(`clientSecret`in e&&(n.clientSecret=e.clientSecret),e.clientType===`github-app`){if(`refresh_token`in t.data){let e=new Date(t.headers.date).getTime();n.refreshToken=t.data.refresh_token,n.expiresAt=yA(e,t.data.expires_in),n.refreshTokenExpiresAt=yA(e,t.data.refresh_token_expires_in)}delete n.scopes}return{...t,authentication:n}}function yA(e,t){return new Date(e+t*1e3).toISOString()}async function bA(e){let t=await(e.request||WO)(`POST /applications/{client_id}/token`,{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.token,scopes:t.data.scopes};return t.data.expires_at&&(n.expiresAt=t.data.expires_at),e.clientType===`github-app`&&delete n.scopes,{...t,authentication:n}}async function xA(e){let t=await pA(e.request||WO,`POST /login/oauth/access_token`,{client_id:e.clientId,client_secret:e.clientSecret,grant_type:`refresh_token`,refresh_token:e.refreshToken}),n=new Date(t.headers.date).getTime(),r={clientType:`github-app`,clientId:e.clientId,clientSecret:e.clientSecret,token:t.data.access_token,refreshToken:t.data.refresh_token,expiresAt:SA(n,t.data.expires_in),refreshTokenExpiresAt:SA(n,t.data.refresh_token_expires_in)};return{...t,authentication:r}}function SA(e,t){return new Date(e+t*1e3).toISOString()}async function CA(e){let{request:t,clientType:n,clientId:r,clientSecret:i,token:a,...o}=e,s=await(e.request||WO)(`POST /applications/{client_id}/token/scoped`,{headers:{authorization:`basic ${btoa(`${r}:${i}`)}`},client_id:r,access_token:a,...o}),c=Object.assign({clientType:n,clientId:r,clientSecret:i,token:s.data.token},s.data.expires_at?{expiresAt:s.data.expires_at}:{});return{...s,authentication:c}}async function wA(e){let t=await(e.request||WO)(`PATCH /applications/{client_id}/token`,{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:t.data.token,scopes:t.data.scopes};return t.data.expires_at&&(n.expiresAt=t.data.expires_at),e.clientType===`github-app`&&delete n.scopes,{...t,authentication:n}}async function TA(e){return(e.request||WO)(`DELETE /applications/{client_id}/token`,{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token})}async function EA(e){return(e.request||WO)(`DELETE /applications/{client_id}/grant`,{headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token})}async function DA(e,t){let n=OA(e,t.auth);if(n)return n;let{data:r}=await _A({clientType:e.clientType,clientId:e.clientId,request:t.request||e.request,scopes:t.auth.scopes||e.scopes});await e.onVerification(r);let i=await AA(t.request||e.request,e.clientId,e.clientType,r);return e.authentication=i,i}function OA(e,t){if(t.refresh===!0||!e.authentication)return!1;if(e.clientType===`github-app`)return e.authentication;let n=e.authentication;return(`scopes`in t&&t.scopes||e.scopes).join(` `)===n.scopes.join(` `)?n:!1}async function kA(e){await new Promise(t=>setTimeout(t,e*1e3))}async function AA(e,t,n,r){try{let i={clientId:t,request:e,code:r.device_code},{authentication:a}=n===`oauth-app`?await vA({...i,clientType:`oauth-app`}):await vA({...i,clientType:`github-app`});return{type:`token`,tokenType:`oauth`,...a}}catch(i){if(!i.response)throw i;let a=i.response.data.error;if(a===`authorization_pending`)return await kA(r.interval),AA(e,t,n,r);if(a===`slow_down`)return await kA(r.interval+7),AA(e,t,n,r);throw i}}async function jA(e,t){return DA(e,{auth:t})}async function MA(e,t,n,r){let i=t.endpoint.merge(n,r);if(/\/login\/(oauth\/access_token|device\/code)$/.test(i.url))return t(i);let{token:a}=await DA(e,{request:t,auth:{type:`oauth`}});return i.headers.authorization=`token ${a}`,t(i)}var NA=`0.0.0-development`;function PA(e){let t=e.request||WO.defaults({headers:{"user-agent":`octokit-auth-oauth-device.js/${NA} ${$D()}`}}),{request:n=t,...r}=e,i=e.clientType===`github-app`?{...r,clientType:`github-app`,request:n}:{...r,clientType:`oauth-app`,request:n,scopes:e.scopes||[]};if(!e.clientId)throw Error(`[@octokit/auth-oauth-device] "clientId" option must be set (https://github.com/octokit/auth-oauth-device.js#usage)`);if(!e.onVerification)throw Error(`[@octokit/auth-oauth-device] "onVerification" option must be a function (https://github.com/octokit/auth-oauth-device.js#usage)`);return Object.assign(jA.bind(null,i),{hook:MA.bind(null,i)})}var FA=`0.0.0-development`;async function IA(e){if(`code`in e.strategyOptions){let{authentication:t}=await hA({clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request});return{type:`token`,tokenType:`oauth`,...t}}if(`onVerification`in e.strategyOptions){let t=await PA({clientType:e.clientType,clientId:e.clientId,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request})({type:`oauth`});return{clientSecret:e.clientSecret,...t}}if(`token`in e.strategyOptions)return{type:`token`,tokenType:`oauth`,clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions};throw Error(`[@octokit/auth-oauth-user] Invalid strategy options`)}async function LA(e,t={}){if(e.authentication||=(e.clientType,await IA(e)),e.authentication.invalid)throw Error(`[@octokit/auth-oauth-user] Token is invalid`);let n=e.authentication;if(`expiresAt`in n&&(t.type===`refresh`||new Date(n.expiresAt)<new Date)){let{authentication:t}=await xA({clientType:`github-app`,clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:n.refreshToken,request:e.request});e.authentication={tokenType:`oauth`,type:`token`,...t}}if(t.type===`refresh`){if(e.clientType===`oauth-app`)throw Error(`[@octokit/auth-oauth-user] OAuth Apps do not support expiring tokens`);if(!n.hasOwnProperty(`expiresAt`))throw Error(`[@octokit/auth-oauth-user] Refresh token missing`);await e.onTokenCreated?.(e.authentication,{type:t.type})}if(t.type===`check`||t.type===`reset`){let n=t.type===`check`?bA:wA;try{let{authentication:r}=await n({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.authentication.token,request:e.request});return e.authentication={tokenType:`oauth`,type:`token`,...r},t.type===`reset`&&await e.onTokenCreated?.(e.authentication,{type:t.type}),e.authentication}catch(t){throw t.status===404&&(t.message=`[@octokit/auth-oauth-user] Token is invalid`,e.authentication.invalid=!0),t}}if(t.type===`delete`||t.type===`deleteAuthorization`){let n=t.type===`delete`?TA:EA;try{await n({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.authentication.token,request:e.request})}catch(e){if(e.status!==404)throw e}return e.authentication.invalid=!0,e.authentication}return e.authentication}var RA=/\/applications\/[^/]+\/(token|grant)s?/;function zA(e){return e&&RA.test(e)}async function BA(e,t,n,r={}){let i=t.endpoint.merge(n,r);if(/\/login\/(oauth\/access_token|device\/code)$/.test(i.url))return t(i);if(zA(i.url)){let n=btoa(`${e.clientId}:${e.clientSecret}`);return i.headers.authorization=`basic ${n}`,t(i)}let{token:a}=(e.clientType,await LA({...e,request:t}));return i.headers.authorization=`token `+a,t(i)}function VA({clientId:e,clientSecret:t,clientType:n=`oauth-app`,request:r=WO.defaults({headers:{"user-agent":`octokit-auth-oauth-app.js/${FA} ${$D()}`}}),onTokenCreated:i,...a}){let o=Object.assign({clientType:n,clientId:e,clientSecret:t,onTokenCreated:i,strategyOptions:a,request:r});return Object.assign(LA.bind(null,o),{hook:BA.bind(null,o)})}VA.VERSION=FA;async function HA(e,t){if(t.type===`oauth-app`)return{type:`oauth-app`,clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,headers:{authorization:`basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`}};if(`factory`in t){let{type:n,...r}={...t,...e};return t.factory(r)}let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.request,...t};return(e.clientType,await VA({...n,clientType:e.clientType}))()}async function UA(e,t,n,r){let i=t.endpoint.merge(n,r);if(/\/login\/(oauth\/access_token|device\/code)$/.test(i.url))return t(i);if(e.clientType===`github-app`&&!zA(i.url))throw Error(`[@octokit/auth-oauth-app] GitHub Apps cannot use their client ID/secret for basic authentication for endpoints other than "/applications/{client_id}/**". "${i.method} ${i.url}" is not supported.`);let a=btoa(`${e.clientId}:${e.clientSecret}`);i.headers.authorization=`basic ${a}`;try{return await t(i)}catch(e){throw e.status===401&&(e.message=`[@octokit/auth-oauth-app] "${i.method} ${i.url}" does not support clientId/clientSecret basic authentication.`),e}}var WA=`0.0.0-development`;function GA(e){let t=Object.assign({request:WO.defaults({headers:{"user-agent":`octokit-auth-oauth-app.js/${WA} ${$D()}`}}),clientType:`oauth-app`},e);return Object.assign(HA.bind(null,t),{hook:UA.bind(null,t)})}function KA(e){return e.includes(`-----BEGIN RSA PRIVATE KEY-----`)}function qA(e){return e.includes(`-----BEGIN OPENSSH PRIVATE KEY-----`)}function JA(e){let t=new ArrayBuffer(e.length),n=new Uint8Array(t);for(let t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return t}function YA(e){let t=e.trim().split(`
`).slice(1,-1).join(``);return JA(atob(t))}function XA(e,t){return`${$A(e)}.${$A(t)}`}function ZA(e){for(var t=``,n=new Uint8Array(e),r=n.byteLength,i=0;i<r;i++)t+=String.fromCharCode(n[i]);return QA(btoa(t))}function QA(e){return e.replace(/=/g,``).replace(/\+/g,`-`).replace(/\//g,`_`)}function $A(e){return QA(btoa(JSON.stringify(e)))}function ej(e){return KA(e)?ee(e).export({type:`pkcs8`,format:`pem`}):e}async function tj({privateKey:e,payload:t}){let n=ej(e);if(KA(n))throw Error(`[universal-github-app-jwt] Private Key is in PKCS#1 format, but only PKCS#8 is supported. See https://github.com/gr2m/universal-github-app-jwt#private-key-formats`);if(qA(n))throw Error(`[universal-github-app-jwt] Private Key is in OpenSSH format, but only PKCS#8 is supported. See https://github.com/gr2m/universal-github-app-jwt#private-key-formats`);let r={name:`RSASSA-PKCS1-v1_5`,hash:{name:`SHA-256`}},i={alg:`RS256`,typ:`JWT`},a=YA(n),o=await ne.importKey(`pkcs8`,a,r,!1,[`sign`]),s=XA(i,t),c=JA(s);return`${s}.${ZA(await ne.sign(r.name,o,c))}`}async function nj({id:e,privateKey:t,now:n=Math.floor(Date.now()/1e3)}){let r=t.replace(/\\n/g,`
`),i=n-30,a=i+600;return{appId:e,expiration:a,token:await tj({privateKey:r,payload:{iat:i,exp:a,iss:e}})}}var rj=class{constructor(e=1e3,t=0){if(isNaN(e)||e<0)throw Error(`Invalid max value`);if(isNaN(t)||t<0)throw Error(`Invalid ttl value`);this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this.max=e,this.ttl=t}bumpLru(e){if(this.last===e)return;let t=this.last,n=e.next,r=e.prev;this.first===e&&(this.first=n),e.next=null,e.prev=t,t.next=e,r!==null&&(r.next=n),n!==null&&(n.prev=r),this.last=e}clear(){this.items=Object.create(null),this.first=null,this.last=null,this.size=0}delete(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let t=this.items[e];delete this.items[e],this.size--,t.prev!==null&&(t.prev.next=t.next),t.next!==null&&(t.next.prev=t.prev),this.first===t&&(this.first=t.next),this.last===t&&(this.last=t.prev)}}deleteMany(e){for(var t=0;t<e.length;t++)this.delete(e[t])}evict(){if(this.size>0){let e=this.first;delete this.items[e.key],--this.size===0?(this.first=null,this.last=null):(this.first=e.next,this.first.prev=null)}}expiresAt(e){if(Object.prototype.hasOwnProperty.call(this.items,e))return this.items[e].expiry}get(e){if(Object.prototype.hasOwnProperty.call(this.items,e)){let t=this.items[e];if(this.ttl>0&&t.expiry<=Date.now()){this.delete(e);return}return this.bumpLru(t),t.value}}getMany(e){let t=[];for(var n=0;n<e.length;n++)t.push(this.get(e[n]));return t}keys(){return Object.keys(this.items)}set(e,t){if(Object.prototype.hasOwnProperty.call(this.items,e)){let n=this.items[e];n.value=t,n.expiry=this.ttl>0?Date.now()+this.ttl:this.ttl,this.last!==n&&this.bumpLru(n);return}this.max>0&&this.size===this.max&&this.evict();let n={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:e,prev:this.last,next:null,value:t};this.items[e]=n,++this.size===1?this.first=n:this.last.next=n,this.last=n}};async function ij({appId:e,privateKey:t,timeDifference:n,createJwt:r}){try{if(r){let{jwt:t,expiresAt:i}=await r(e,n);return{type:`app`,token:t,appId:e,expiresAt:i}}let i={id:e,privateKey:t};n&&Object.assign(i,{now:Math.floor(Date.now()/1e3)+n});let a=await nj(i);return{type:`app`,token:a.token,appId:a.appId,expiresAt:new Date(a.expiration*1e3).toISOString()}}catch(e){throw t===`-----BEGIN RSA PRIVATE KEY-----`?Error("The 'privateKey` option contains only the first line '-----BEGIN RSA PRIVATE KEY-----'. If you are setting it using a `.env` file, make sure it is set on a single line with newlines replaced by '\n'"):e}}function aj(){return new rj(15e3,1e3*60*59)}async function oj(e,t){let n=cj(t),r=await e.get(n);if(!r)return;let[i,a,o,s,c,l]=r.split(`|`);return{token:i,createdAt:a,expiresAt:o,permissions:t.permissions||c.split(/,/).reduce((e,t)=>(/!$/.test(t)?e[t.slice(0,-1)]=`write`:e[t]=`read`,e),{}),repositoryIds:t.repositoryIds,repositoryNames:t.repositoryNames,singleFileName:l,repositorySelection:s}}async function sj(e,t,n){let r=cj(t),i=t.permissions?``:Object.keys(n.permissions).map(e=>`${e}${n.permissions[e]===`write`?`!`:``}`).join(`,`),a=[n.token,n.createdAt,n.expiresAt,n.repositorySelection,i,n.singleFileName].join(`|`);await e.set(r,a)}function cj({installationId:e,permissions:t={},repositoryIds:n=[],repositoryNames:r=[]}){let i=Object.keys(t).sort().map(e=>t[e]===`read`?e:`${e}!`).join(`,`);return[e,n.sort().join(`,`),r.join(`,`),i].filter(Boolean).join(`|`)}function lj({installationId:e,token:t,createdAt:n,expiresAt:r,repositorySelection:i,permissions:a,repositoryIds:o,repositoryNames:s,singleFileName:c}){return Object.assign({type:`token`,tokenType:`installation`,token:t,installationId:e,permissions:a,createdAt:n,expiresAt:r,repositorySelection:i},o?{repositoryIds:o}:null,s?{repositoryNames:s}:null,c?{singleFileName:c}:null)}async function uj(e,t,n){let r=Number(t.installationId||e.installationId);if(!r)throw Error(`[@octokit/auth-app] installationId option is required for installation authentication.`);if(t.factory){let{type:n,factory:r,oauthApp:i,...a}={...e,...t};return r(a)}let i=n||e.request;return fj(e,{...t,installationId:r},i)}var dj=new Map;function fj(e,t,n){let r=cj(t);if(dj.has(r))return dj.get(r);let i=pj(e,t,n).finally(()=>dj.delete(r));return dj.set(r,i),i}async function pj(e,t,n){if(!t.refresh){let n=await oj(e.cache,t);if(n){let{token:e,createdAt:r,expiresAt:i,permissions:a,repositoryIds:o,repositoryNames:s,singleFileName:c,repositorySelection:l}=n;return lj({installationId:t.installationId,token:e,createdAt:r,expiresAt:i,permissions:a,repositorySelection:l,repositoryIds:o,repositoryNames:s,singleFileName:c})}}let r=await ij(e),i={installation_id:t.installationId,mediaType:{previews:[`machine-man`]},headers:{authorization:`bearer ${r.token}`}};t.repositoryIds&&Object.assign(i,{repository_ids:t.repositoryIds}),t.repositoryNames&&Object.assign(i,{repositories:t.repositoryNames}),t.permissions&&Object.assign(i,{permissions:t.permissions});let{data:{token:a,expires_at:o,repositories:s,permissions:c,repository_selection:l,single_file:u}}=await n(`POST /app/installations/{installation_id}/access_tokens`,i),d=c||{},f=l||`all`,p=s?s.map(e=>e.id):void 0,m=s?s.map(e=>e.name):void 0,h=new Date().toISOString(),g={token:a,createdAt:h,expiresAt:o,repositorySelection:f,permissions:d,repositoryIds:p,repositoryNames:m};u&&Object.assign(i,{singleFileName:u}),await sj(e.cache,t,g);let _={installationId:t.installationId,token:a,createdAt:h,expiresAt:o,repositorySelection:f,permissions:d,repositoryIds:p,repositoryNames:m};return u&&Object.assign(_,{singleFileName:u}),lj(_)}async function mj(e,t){switch(t.type){case`app`:return ij(e);case`oauth-app`:return e.oauthApp({type:`oauth-app`});case`installation`:return uj(e,{...t,type:`installation`});case`oauth-user`:return e.oauthApp(t);default:throw Error(`Invalid auth type: ${t.type}`)}}var hj=[`/app`,`/app/hook/config`,`/app/hook/deliveries`,`/app/hook/deliveries/{delivery_id}`,`/app/hook/deliveries/{delivery_id}/attempts`,`/app/installations`,`/app/installations/{installation_id}`,`/app/installations/{installation_id}/access_tokens`,`/app/installations/{installation_id}/suspended`,`/app/installation-requests`,`/marketplace_listing/accounts/{account_id}`,`/marketplace_listing/plan`,`/marketplace_listing/plans`,`/marketplace_listing/plans/{plan_id}/accounts`,`/marketplace_listing/stubbed/accounts/{account_id}`,`/marketplace_listing/stubbed/plan`,`/marketplace_listing/stubbed/plans`,`/marketplace_listing/stubbed/plans/{plan_id}/accounts`,`/orgs/{org}/installation`,`/repos/{owner}/{repo}/installation`,`/users/{username}/installation`];function gj(e){let t=`^(?:${e.map(e=>e.split(`/`).map(e=>e.startsWith(`{`)?`(?:.+?)`:e).join(`/`)).map(e=>`(?:${e})`).join(`|`)})$`;return new RegExp(t,`i`)}var _j=gj(hj);function vj(e){return!!e&&_j.test(e.split(`?`)[0])}var yj=5*1e3;function bj(e){return!(e.message.match(/'Expiration time' claim \('exp'\) must be a numeric value representing the future time at which the assertion expires/)||e.message.match(/'Issued at' claim \('iat'\) must be an Integer representing the time that the assertion was issued/))}async function xj(e,t,n,r){let i=t.endpoint.merge(n,r),a=i.url;if(/\/login\/oauth\/access_token$/.test(a))return t(i);if(vj(a.replace(t.endpoint.DEFAULTS.baseUrl,``))){let{token:n}=await ij(e);i.headers.authorization=`bearer ${n}`;let r;try{r=await t(i)}catch(n){if(bj(n)||n.response.headers.date===void 0)throw n;let r=Math.floor((Date.parse(n.response.headers.date)-Date.parse(new Date().toString()))/1e3);e.log.warn(n.message),e.log.warn(`[@octokit/auth-app] GitHub API time and system time are different by ${r} seconds. Retrying request with the difference accounted for.`);let{token:a}=await ij({...e,timeDifference:r});return i.headers.authorization=`bearer ${a}`,t(i)}return r}if(zA(a)){let n=await e.oauthApp({type:`oauth-app`});return i.headers.authorization=n.headers.authorization,t(i)}let{token:o,createdAt:s}=await uj(e,{},t.defaults({baseUrl:i.baseUrl}));return i.headers.authorization=`token ${o}`,Sj(e,t,i,s)}async function Sj(e,t,n,r,i=0){let a=new Date-+new Date(r);try{return await t(n)}catch(o){if(o.status!==401)throw o;if(a>=yj)throw i>0&&(o.message=`After ${i} retries within ${a/1e3}s of creating the installation access token, the response remains 401. At this point, the cause may be an authentication problem or a system outage. Please check https://www.githubstatus.com for status information`),o;++i;let s=i*1e3;return e.log.warn(`[@octokit/auth-app] Retrying after 401 response to account for token replication delay (retry: ${i}, wait: ${s/1e3}s)`),await new Promise(e=>setTimeout(e,s)),Sj(e,t,n,r,i)}}var Cj=`8.1.2`;function wj(e){if(!e.appId)throw Error(`[@octokit/auth-app] appId option is required`);if(!e.privateKey&&!e.createJwt)throw Error(`[@octokit/auth-app] privateKey option is required`);if(e.privateKey&&e.createJwt)throw Error(`[@octokit/auth-app] privateKey and createJwt options are mutually exclusive`);if(`installationId`in e&&!e.installationId)throw Error(`[@octokit/auth-app] installationId is set to a falsy value`);let t=e.log||{};typeof t.warn!=`function`&&(t.warn=console.warn.bind(console));let n=e.request||WO.defaults({headers:{"user-agent":`octokit-auth-app.js/${Cj} ${$D()}`}}),r=Object.assign({request:n,cache:aj()},e,e.installationId?{installationId:Number(e.installationId)}:{},{log:t,oauthApp:GA({clientType:`github-app`,clientId:e.clientId||``,clientSecret:e.clientSecret||``,request:n})});return Object.assign(mj.bind(null,r),{hook:xj.bind(null,r)})}async function Tj(e){return{type:`unauthenticated`,reason:e}}function Ej(e){return e.status!==403||!e.response?!1:e.response.headers[`x-ratelimit-remaining`]===`0`}var Dj=/\babuse\b/i;function Oj(e){return e.status===403?Dj.test(e.message):!1}async function kj(e,t,n,r){let i=t.endpoint.merge(n,r);return t(i).catch(t=>{throw t.status===404?(t.message=`Not found. May be due to lack of authentication. Reason: ${e}`,t):Ej(t)?(t.message=`API rate limit exceeded. This maybe caused by the lack of authentication. Reason: ${e}`,t):Oj(t)?(t.message=`You have triggered an abuse detection mechanism. This maybe caused by the lack of authentication. Reason: ${e}`,t):t.status===401?(t.message=`Unauthorized. "${i.method} ${i.url}" failed most likely due to lack of authentication. Reason: ${e}`,t):(t.status>=400&&t.status<500&&(t.message=t.message.replace(/\.?$/,`. May be caused by lack of authentication (${e}).`)),t)})}var Aj=function(e){if(!e||!e.reason)throw Error(`[@octokit/auth-unauthenticated] No reason passed to createUnauthenticatedAuth`);return Object.assign(Tj.bind(null,e.reason),{hook:kj.bind(null,e.reason)})},jj=`8.0.3`;function Mj(e,t,n){if(Array.isArray(t)){for(let r of t)Mj(e,r,n);return}e.eventHandlers[t]||(e.eventHandlers[t]=[]),e.eventHandlers[t].push(n)}var Nj=mk.defaults({userAgent:`octokit-oauth-app.js/${jj} ${$D()}`});async function Pj(e,t){let{name:n,action:r}=t;if(e.eventHandlers[`${n}.${r}`])for(let i of e.eventHandlers[`${n}.${r}`])await i(t);if(e.eventHandlers[n])for(let r of e.eventHandlers[n])await r(t)}async function Fj(e,t){return e.octokit.auth({type:`oauth-user`,...t,async factory(t){let n=new e.Octokit({authStrategy:VA,auth:t}),r=await n.auth({type:`get`});return await Pj(e,{name:`token`,action:`created`,token:r.token,scopes:r.scopes,authentication:r,octokit:n}),n}})}function Ij(e,t){let n={clientId:e.clientId,request:e.octokit.request,...t,allowSignup:e.allowSignup??t.allowSignup,redirectUrl:t.redirectUrl??e.redirectUrl,scopes:t.scopes??e.defaultScopes};return mA({clientType:e.clientType,...n})}async function Lj(e,t){let n=await e.octokit.auth({type:`oauth-user`,...t});return await Pj(e,{name:`token`,action:`created`,token:n.token,scopes:n.scopes,authentication:n,octokit:new e.Octokit({authStrategy:VA,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.token,scopes:n.scopes,refreshToken:n.refreshToken,expiresAt:n.expiresAt,refreshTokenExpiresAt:n.refreshTokenExpiresAt}})}),{authentication:n}}async function Rj(e,t){let n=await bA({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t});return Object.assign(n.authentication,{type:`token`,tokenType:`oauth`}),n}async function zj(e,t){let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t};if(e.clientType===`oauth-app`){let t=await wA({clientType:`oauth-app`,...n}),r=Object.assign(t.authentication,{type:`token`,tokenType:`oauth`});return await Pj(e,{name:`token`,action:`reset`,token:t.authentication.token,scopes:t.authentication.scopes||void 0,authentication:r,octokit:new e.Octokit({authStrategy:VA,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:t.authentication.token,scopes:t.authentication.scopes}})}),{...t,authentication:r}}let r=await wA({clientType:`github-app`,...n}),i=Object.assign(r.authentication,{type:`token`,tokenType:`oauth`});return await Pj(e,{name:`token`,action:`reset`,token:r.authentication.token,authentication:i,octokit:new e.Octokit({authStrategy:VA,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:i}}async function Bj(e,t){if(e.clientType===`oauth-app`)throw Error(`[@octokit/oauth-app] app.refreshToken() is not supported for OAuth Apps`);let n=await xA({clientType:`github-app`,clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,refreshToken:t.refreshToken}),r=Object.assign(n.authentication,{type:`token`,tokenType:`oauth`});return await Pj(e,{name:`token`,action:`refreshed`,token:n.authentication.token,authentication:r,octokit:new e.Octokit({authStrategy:VA,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})}),{...n,authentication:r}}async function Vj(e,t){if(e.clientType===`oauth-app`)throw Error(`[@octokit/oauth-app] app.scopeToken() is not supported for OAuth Apps`);let n=await CA({clientType:`github-app`,clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t}),r=Object.assign(n.authentication,{type:`token`,tokenType:`oauth`});return await Pj(e,{name:`token`,action:`scoped`,token:n.authentication.token,authentication:r,octokit:new e.Octokit({authStrategy:VA,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})}),{...n,authentication:r}}async function Hj(e,t){let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},r=e.clientType===`oauth-app`?await TA({clientType:`oauth-app`,...n}):await TA({clientType:`github-app`,...n});return await Pj(e,{name:`token`,action:`deleted`,token:t.token,octokit:new e.Octokit({authStrategy:Aj,auth:{reason:`Handling "token.deleted" event. The access for the token has been revoked.`}})}),r}async function Uj(e,t){let n={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},r=e.clientType===`oauth-app`?await EA({clientType:`oauth-app`,...n}):await EA({clientType:`github-app`,...n});return await Pj(e,{name:`token`,action:`deleted`,token:t.token,octokit:new e.Octokit({authStrategy:Aj,auth:{reason:`Handling "token.deleted" event. The access for the token has been revoked.`}})}),await Pj(e,{name:`authorization`,action:`deleted`,token:t.token,octokit:new e.Octokit({authStrategy:Aj,auth:{reason:`Handling "authorization.deleted" event. The access for the app has been revoked.`}})}),r}var Wj=class{static VERSION=jj;static defaults(e){return class extends this{constructor(...t){super({...e,...t[0]})}}}constructor(e){let t=e.Octokit||Nj;this.type=e.clientType||`oauth-app`;let n=new t({authStrategy:GA,auth:{clientType:this.type,clientId:e.clientId,clientSecret:e.clientSecret}}),r={clientType:this.type,clientId:e.clientId,clientSecret:e.clientSecret,defaultScopes:e.defaultScopes||[],allowSignup:e.allowSignup,baseUrl:e.baseUrl,redirectUrl:e.redirectUrl,log:e.log,Octokit:t,octokit:n,eventHandlers:{}};this.on=Mj.bind(null,r),this.octokit=n,this.getUserOctokit=Fj.bind(null,r),this.getWebFlowAuthorizationUrl=Ij.bind(null,r),this.createToken=Lj.bind(null,r),this.checkToken=Rj.bind(null,r),this.resetToken=zj.bind(null,r),this.refreshToken=Bj.bind(null,r),this.scopeToken=Vj.bind(null,r),this.deleteToken=Hj.bind(null,r),this.deleteAuthorization=Uj.bind(null,r)}type;on;octokit;getUserOctokit;getWebFlowAuthorizationUrl;createToken;checkToken;resetToken;refreshToken;scopeToken;deleteToken;deleteAuthorization},Gj=`6.0.0`;async function Kj(e,t){if(!e||!t)throw TypeError(`[@octokit/webhooks-methods] secret & payload required for sign()`);if(typeof t!=`string`)throw TypeError(`[@octokit/webhooks-methods] payload must be a string`);let n=`sha256`;return`${n}=${j(n,e).update(t).digest(`hex`)}`}Kj.VERSION=Gj;async function qj(e,t,n){if(!e||!t||!n)throw TypeError(`[@octokit/webhooks-methods] secret, eventPayload & signature required`);if(typeof t!=`string`)throw TypeError(`[@octokit/webhooks-methods] eventPayload must be a string`);let r=ae.from(n),i=ae.from(await Kj(e,t));return r.length===i.length?re(r,i):!1}qj.VERSION=Gj;async function Jj(e,t,n,r){if(await qj(e,t,n))return!0;if(r!==void 0)for(let e of r){let r=await qj(e,t,n);if(r)return r}return!1}var Yj=(e={})=>(typeof e.debug!=`function`&&(e.debug=()=>{}),typeof e.info!=`function`&&(e.info=()=>{}),typeof e.warn!=`function`&&(e.warn=console.warn.bind(console)),typeof e.error!=`function`&&(e.error=console.error.bind(console)),e),Xj=`branch_protection_configuration,branch_protection_configuration.disabled,branch_protection_configuration.enabled,branch_protection_rule,branch_protection_rule.created,branch_protection_rule.deleted,branch_protection_rule.edited,check_run,check_run.completed,check_run.created,check_run.requested_action,check_run.rerequested,check_suite,check_suite.completed,check_suite.requested,check_suite.rerequested,code_scanning_alert,code_scanning_alert.appeared_in_branch,code_scanning_alert.closed_by_user,code_scanning_alert.created,code_scanning_alert.fixed,code_scanning_alert.reopened,code_scanning_alert.reopened_by_user,commit_comment,commit_comment.created,create,custom_property,custom_property.created,custom_property.deleted,custom_property.promote_to_enterprise,custom_property.updated,custom_property_values,custom_property_values.updated,delete,dependabot_alert,dependabot_alert.auto_dismissed,dependabot_alert.auto_reopened,dependabot_alert.created,dependabot_alert.dismissed,dependabot_alert.fixed,dependabot_alert.reintroduced,dependabot_alert.reopened,deploy_key,deploy_key.created,deploy_key.deleted,deployment,deployment.created,deployment_protection_rule,deployment_protection_rule.requested,deployment_review,deployment_review.approved,deployment_review.rejected,deployment_review.requested,deployment_status,deployment_status.created,discussion,discussion.answered,discussion.category_changed,discussion.closed,discussion.created,discussion.deleted,discussion.edited,discussion.labeled,discussion.locked,discussion.pinned,discussion.reopened,discussion.transferred,discussion.unanswered,discussion.unlabeled,discussion.unlocked,discussion.unpinned,discussion_comment,discussion_comment.created,discussion_comment.deleted,discussion_comment.edited,fork,github_app_authorization,github_app_authorization.revoked,gollum,installation,installation.created,installation.deleted,installation.new_permissions_accepted,installation.suspend,installation.unsuspend,installation_repositories,installation_repositories.added,installation_repositories.removed,installation_target,installation_target.renamed,issue_comment,issue_comment.created,issue_comment.deleted,issue_comment.edited,issue_dependencies,issue_dependencies.blocked_by_added,issue_dependencies.blocked_by_removed,issue_dependencies.blocking_added,issue_dependencies.blocking_removed,issues,issues.assigned,issues.closed,issues.deleted,issues.demilestoned,issues.edited,issues.labeled,issues.locked,issues.milestoned,issues.opened,issues.pinned,issues.reopened,issues.transferred,issues.typed,issues.unassigned,issues.unlabeled,issues.unlocked,issues.unpinned,issues.untyped,label,label.created,label.deleted,label.edited,marketplace_purchase,marketplace_purchase.cancelled,marketplace_purchase.changed,marketplace_purchase.pending_change,marketplace_purchase.pending_change_cancelled,marketplace_purchase.purchased,member,member.added,member.edited,member.removed,membership,membership.added,membership.removed,merge_group,merge_group.checks_requested,merge_group.destroyed,meta,meta.deleted,milestone,milestone.closed,milestone.created,milestone.deleted,milestone.edited,milestone.opened,org_block,org_block.blocked,org_block.unblocked,organization,organization.deleted,organization.member_added,organization.member_invited,organization.member_removed,organization.renamed,package,package.published,package.updated,page_build,personal_access_token_request,personal_access_token_request.approved,personal_access_token_request.cancelled,personal_access_token_request.created,personal_access_token_request.denied,ping,project,project.closed,project.created,project.deleted,project.edited,project.reopened,project_card,project_card.converted,project_card.created,project_card.deleted,project_card.edited,project_card.moved,project_column,project_column.created,project_column.deleted,project_column.edited,project_column.moved,projects_v2,projects_v2.closed,projects_v2.created,projects_v2.deleted,projects_v2.edited,projects_v2.reopened,projects_v2_item,projects_v2_item.archived,projects_v2_item.converted,projects_v2_item.created,projects_v2_item.deleted,projects_v2_item.edited,projects_v2_item.reordered,projects_v2_item.restored,projects_v2_status_update,projects_v2_status_update.created,projects_v2_status_update.deleted,projects_v2_status_update.edited,public,pull_request,pull_request.assigned,pull_request.auto_merge_disabled,pull_request.auto_merge_enabled,pull_request.closed,pull_request.converted_to_draft,pull_request.demilestoned,pull_request.dequeued,pull_request.edited,pull_request.enqueued,pull_request.labeled,pull_request.locked,pull_request.milestoned,pull_request.opened,pull_request.ready_for_review,pull_request.reopened,pull_request.review_request_removed,pull_request.review_requested,pull_request.synchronize,pull_request.unassigned,pull_request.unlabeled,pull_request.unlocked,pull_request_review,pull_request_review.dismissed,pull_request_review.edited,pull_request_review.submitted,pull_request_review_comment,pull_request_review_comment.created,pull_request_review_comment.deleted,pull_request_review_comment.edited,pull_request_review_thread,pull_request_review_thread.resolved,pull_request_review_thread.unresolved,push,registry_package,registry_package.published,registry_package.updated,release,release.created,release.deleted,release.edited,release.prereleased,release.published,release.released,release.unpublished,repository,repository.archived,repository.created,repository.deleted,repository.edited,repository.privatized,repository.publicized,repository.renamed,repository.transferred,repository.unarchived,repository_advisory,repository_advisory.published,repository_advisory.reported,repository_dispatch,repository_dispatch.sample.collected,repository_import,repository_ruleset,repository_ruleset.created,repository_ruleset.deleted,repository_ruleset.edited,repository_vulnerability_alert,repository_vulnerability_alert.create,repository_vulnerability_alert.dismiss,repository_vulnerability_alert.reopen,repository_vulnerability_alert.resolve,secret_scanning_alert,secret_scanning_alert.assigned,secret_scanning_alert.created,secret_scanning_alert.publicly_leaked,secret_scanning_alert.reopened,secret_scanning_alert.resolved,secret_scanning_alert.unassigned,secret_scanning_alert.validated,secret_scanning_alert_location,secret_scanning_alert_location.created,secret_scanning_scan,secret_scanning_scan.completed,security_advisory,security_advisory.published,security_advisory.updated,security_advisory.withdrawn,security_and_analysis,sponsorship,sponsorship.cancelled,sponsorship.created,sponsorship.edited,sponsorship.pending_cancellation,sponsorship.pending_tier_change,sponsorship.tier_changed,star,star.created,star.deleted,status,sub_issues,sub_issues.parent_issue_added,sub_issues.parent_issue_removed,sub_issues.sub_issue_added,sub_issues.sub_issue_removed,team,team.added_to_repository,team.created,team.deleted,team.edited,team.removed_from_repository,team_add,watch,watch.started,workflow_dispatch,workflow_job,workflow_job.completed,workflow_job.in_progress,workflow_job.queued,workflow_job.waiting,workflow_run,workflow_run.completed,workflow_run.in_progress,workflow_run.requested`.split(`,`);function Zj(e,t={}){if(typeof e!=`string`)throw TypeError(`eventName must be of type string`);if(e===`*`)throw TypeError(`Using the "*" event with the regular Webhooks.on() function is not supported. Please use the Webhooks.onAny() method instead`);if(e===`error`)throw TypeError(`Using the "error" event with the regular Webhooks.on() function is not supported. Please use the Webhooks.onError() method instead`);if(t.onUnknownEventName!==`ignore`&&!Xj.includes(e)){if(t.onUnknownEventName!==`warn`)throw TypeError(`"${e}" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)`);(t.log||console).warn(`"${e}" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)`)}}function Qj(e,t,n){e.hooks[t]||(e.hooks[t]=[]),e.hooks[t].push(n)}function $j(e,t,n){if(Array.isArray(t)){t.forEach(t=>$j(e,t,n));return}Zj(t,{onUnknownEventName:`warn`,log:e.log}),Qj(e,t,n)}function eM(e,t){Qj(e,`*`,t)}function tM(e,t){Qj(e,`error`,t)}function nM(e,t){let n;try{n=e(t)}catch(e){console.log(`FATAL: Error occurred in "error" event handler`),console.log(e)}n&&n.catch&&n.catch(e=>{console.log(`FATAL: Error occurred in "error" event handler`),console.log(e)})}function rM(e,t,n){let r=[e.hooks[n],e.hooks[`*`]];return t&&r.unshift(e.hooks[`${n}.${t}`]),[].concat(...r.filter(Boolean))}function iM(e,t){let n=e.hooks.error||[];if(t instanceof Error){let e=Object.assign(AggregateError([t],t.message),{event:t});return n.forEach(t=>nM(t,e)),Promise.reject(e)}if(!t||!t.name){let e=Error(`Event name not passed`);throw AggregateError([e],e.message)}if(!t.payload){let e=Error(`Event name not passed`);throw AggregateError([e],e.message)}let r=rM(e,`action`in t.payload?t.payload.action:null,t.name);if(r.length===0)return Promise.resolve();let i=[],a=r.map(n=>{let r=Promise.resolve(t);return e.transform&&(r=r.then(e.transform)),r.then(e=>n(e)).catch(e=>i.push(Object.assign(e,{event:t})))});return Promise.all(a).then(()=>{if(i.length===0)return;let e=AggregateError(i,i.map(e=>e.message).join(`
`));throw Object.assign(e,{event:t}),n.forEach(t=>nM(t,e)),e})}function aM(e,t,n){if(Array.isArray(t)){t.forEach(t=>aM(e,t,n));return}if(e.hooks[t]){for(let r=e.hooks[t].length-1;r>=0;r--)if(e.hooks[t][r]===n){e.hooks[t].splice(r,1);return}}}function oM(e){let t={hooks:{},log:Yj(e&&e.log)};return e&&e.transform&&(t.transform=e.transform),{on:$j.bind(null,t),onAny:eM.bind(null,t),onError:tM.bind(null,t),removeListener:aM.bind(null,t),receive:iM.bind(null,t)}}async function sM(e,t){if(!await Jj(e.secret,t.payload,t.signature,e.additionalSecrets).catch(()=>!1)){let n=Error(`[@octokit/webhooks] signature does not match event payload and secret`);return n.event=t,n.status=400,e.eventHandler.receive(n)}let n;try{n=JSON.parse(t.payload)}catch(e){throw e.message=`Invalid JSON`,e.status=400,AggregateError([e],e.message)}return e.eventHandler.receive({id:t.id,name:t.name,payload:n})}var cM=new TextDecoder(`utf-8`,{fatal:!1});cM.decode.bind(cM);var lM=class{sign;verify;on;onAny;onError;removeListener;receive;verifyAndReceive;constructor(e){if(!e||!e.secret)throw Error(`[@octokit/webhooks] options.secret required`);let t={eventHandler:oM(e),secret:e.secret,additionalSecrets:e.additionalSecrets,hooks:{},log:Yj(e.log)};this.sign=Kj.bind(null,e.secret),this.verify=qj.bind(null,e.secret),this.on=t.eventHandler.on,this.onAny=t.eventHandler.onAny,this.onError=t.eventHandler.onError,this.removeListener=t.eventHandler.removeListener,this.receive=t.eventHandler.receive,this.verifyAndReceive=sM.bind(null,t)}},uM=`16.1.2`;function dM(e,t){return new lM({secret:t.secret,transform:async t=>{if(!(`installation`in t.payload)||typeof t.payload.installation!=`object`){let n=new e.constructor({authStrategy:Aj,auth:{reason:`"installation" key missing in webhook event payload`}});return{...t,octokit:n}}let n=t.payload.installation.id,r=await e.auth({type:`installation`,installationId:n,factory(e){return new e.octokit.constructor({...e.octokitOptions,authStrategy:wj,auth:{...e,installationId:n}})}});return r.hook.before(`request`,e=>{e.headers[`x-github-delivery`]=t.id}),{...t,octokit:r}}})}async function fM(e,t){return e.octokit.auth({type:`installation`,installationId:t,factory(e){let n={...e.octokitOptions,authStrategy:wj,auth:{...e,installationId:t}};return new e.octokit.constructor(n)}})}function pM(e){return Object.assign(mM.bind(null,e),{iterator:hM.bind(null,e)})}async function mM(e,t){let n=hM(e)[Symbol.asyncIterator](),r=await n.next();for(;!r.done;)await t(r.value),r=await n.next()}function hM(e){return{async*[Symbol.asyncIterator](){let t=bk.iterator(e.octokit,`GET /app/installations`);for await(let{data:n}of t)for(let t of n)yield{octokit:await fM(e,t.id),installation:t}}}}function gM(e){return Object.assign(_M.bind(null,e),{iterator:yM.bind(null,e)})}async function _M(e,t,n){let r=yM(e,n?t:void 0)[Symbol.asyncIterator](),i=await r.next();for(;!i.done;)n?await n(i.value):await t(i.value),i=await r.next()}function vM(e,t){return{async*[Symbol.asyncIterator](){yield{octokit:await e.getInstallationOctokit(t)}}}}function yM(e,t){return{async*[Symbol.asyncIterator](){let n=t?vM(e,t.installationId):e.eachInstallation.iterator();for await(let{octokit:e}of n){let t=bk.iterator(e,`GET /installation/repositories`);for await(let{data:n}of t)for(let t of n)yield{octokit:e,repository:t}}}}}function bM(e){let t;return async function(n={}){t||=xM(e);let r=await t,i=new URL(r);return n.target_id!==void 0&&(i.pathname+=`/permissions`,i.searchParams.append(`target_id`,n.target_id.toFixed())),n.state!==void 0&&i.searchParams.append(`state`,n.state),i.href}}async function xM(e){let{data:t}=await e.octokit.request(`GET /app`);if(!t)throw Error(`[@octokit/app] unable to fetch metadata for app`);return`${t.html_url}/installations/new`}var SM=class{static VERSION=uM;static defaults(e){return class extends this{constructor(...t){super({...e,...t[0]})}}}octokit;webhooks;oauth;getInstallationOctokit;eachInstallation;eachRepository;getInstallationUrl;log;constructor(e){let t=e.Octokit||mk,n={authStrategy:wj,auth:Object.assign({appId:e.appId,privateKey:e.privateKey},e.oauth?{clientId:e.oauth.clientId,clientSecret:e.oauth.clientSecret}:{})};`log`in e&&e.log!==void 0&&(n.log=e.log),this.octokit=new t(n),this.log=Object.assign({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},e.log),e.webhooks?this.webhooks=dM(this.octokit,e.webhooks):Object.defineProperty(this,`webhooks`,{get(){throw Error(`[@octokit/app] webhooks option not set`)}}),e.oauth?this.oauth=new Wj({...e.oauth,clientType:`github-app`,Octokit:t}):Object.defineProperty(this,`oauth`,{get(){throw Error(`[@octokit/app] oauth.clientId / oauth.clientSecret options are not set`)}}),this.getInstallationOctokit=fM.bind(null,this),this.eachInstallation=pM(this),this.eachRepository=gM(this),this.getInstallationUrl=bM(this)}},CM=mk.plugin(Wk,xk,Lk,Zk,lA).defaults({userAgent:`octokit.js/0.0.0-development`,throttle:{onRateLimit:wM,onSecondaryRateLimit:TM}});function wM(e,t,n){if(n.log.warn(`Request quota exhausted for request ${t.method} ${t.url}`),t.request.retryCount===0)return n.log.info(`Retrying after ${e} seconds!`),!0}function TM(e,t,n){if(n.log.warn(`SecondaryRateLimit detected for request ${t.method} ${t.url}`),t.request.retryCount===0)return n.log.info(`Retrying after ${e} seconds!`),!0}SM.defaults({Octokit:CM}),Wj.defaults({Octokit:CM});function EM(e){return v(`sha256`).update(e).digest(`hex`).substring(0,16)}const DM=CM.plugin(lA);function OM(e){return Date.now()-e.createdAt>36e5}const kM=new Map;let AM=null;const jM=()=>({onRateLimit:(e,t,n,r)=>(console.warn(`Rate limit hit for ${t.method} ${t.url}, retry ${r+1}/3 after ${e}s`),r<3&&e<60),onSecondaryRateLimit:(e,t,n,r)=>(console.warn(`Secondary rate limit hit for ${t.method} ${t.url}, retry ${r+1}/3 after ${e}s`),r<3&&e<60)});function MM(e){let t=Qc(),n=t.githubApiUrl;return new DM({userAgent:`octocode-mcp/${en}`,baseUrl:n,request:{timeout:t.timeout||3e4},throttle:jM(),...e&&{auth:e}})}async function NM(e){if(e?.token){let t=EM(e.token),n=kM.get(t);if(n&&!OM(n))return n.client;let r=MM(e.token);return kM.set(t,{client:r,createdAt:Date.now()}),r}let t=kM.get(`DEFAULT`);return t&&!OM(t)?t.client:AM||(AM=(async()=>{try{let e=MM(await $c());return kM.set(`DEFAULT`,{client:e,createdAt:Date.now()}),e}finally{AM=null}})(),AM)}const PM={AUTH_REQUIRED:`AUTH_REQUIRED`,RATE_LIMIT_PRIMARY:`RATE_LIMIT_PRIMARY`,RATE_LIMIT_SECONDARY:`RATE_LIMIT_SECONDARY`,FORBIDDEN_PERMISSIONS:`FORBIDDEN_PERMISSIONS`,NOT_FOUND:`NOT_FOUND`,INVALID_REQUEST:`INVALID_REQUEST`,SERVER_UNAVAILABLE:`SERVER_UNAVAILABLE`,NETWORK_CONNECTION_FAILED:`NETWORK_CONNECTION_FAILED`,REQUEST_TIMEOUT:`REQUEST_TIMEOUT`,UNKNOWN:`UNKNOWN`},FM={[PM.AUTH_REQUIRED]:{message:`GitHub authentication required`,suggestion:`TELL THE USER: Refresh your GitHub token! Run 'gh auth login' OR 'gh auth refresh' OR set a new GITHUB_TOKEN/GH_TOKEN environment variable`,explanation:`API request requires authentication. GitHub APIs have different rate limits for authenticated (5000/hour) vs unauthenticated (60/hour) requests.`},[PM.RATE_LIMIT_PRIMARY]:{message:`GitHub API rate limit exceeded`,messageWithTime:(e,t)=>`GitHub API rate limit exceeded. Resets at ${e.toISOString()} (in ${t} seconds)`,messageWithoutTime:`GitHub API rate limit exceeded. Reset time unavailable - check GitHub status or try again later`,suggestion:`Set GITHUB_TOKEN for higher rate limits (5000/hour vs 60/hour)`,explanation:`Primary rate limit tracks total API calls per hour. Authenticated users get 5000 requests/hour, unauthenticated get 60 requests/hour.`},[PM.RATE_LIMIT_SECONDARY]:{message:e=>`GitHub secondary rate limit triggered. Retry after ${e} seconds`,suggestion:`Reduce request frequency to avoid abuse detection`,explanation:`Secondary rate limits prevent API abuse by limiting request frequency. Triggered by making too many requests too quickly, regardless of remaining quota.`,fallbackRetryAfter:60},[PM.FORBIDDEN_PERMISSIONS]:{message:`Access forbidden - insufficient permissions`,suggestion:`Check repository permissions or authentication`,suggestionWithScopes:e=>`Missing required scopes: ${e.join(`, `)}. Run: gh auth refresh -s ${e.join(` -s `)}`,fallbackSuggestion:`Token may not have sufficient permissions for this operation`,explanation:`GitHub tokens require specific OAuth scopes for different operations. Common scopes: repo (full repository access), read:org (organization access), gist (gist access).`},[PM.NOT_FOUND]:{message:`Repository, resource, or path not found`,explanation:`Resource not found or not accessible. Could be: incorrect path, deleted resource, private repository without access, wrong branch name.`},[PM.INVALID_REQUEST]:{message:`Invalid search query or request parameters`,suggestion:`Check search syntax and parameter values`,explanation:`Request was well-formed but contains invalid parameters. Common causes: invalid search syntax, parameters out of range, invalid filter combinations.`},[PM.SERVER_UNAVAILABLE]:{message:`GitHub API temporarily unavailable`,suggestion:`Retry the request after a short delay`,explanation:`GitHub servers are temporarily unavailable. Usually resolves quickly. Check https://www.githubstatus.com for service status.`},[PM.NETWORK_CONNECTION_FAILED]:{message:`Network connection failed`,suggestion:`Check internet connection and GitHub API status`,explanation:`Cannot establish connection to GitHub API. Check internet connectivity, DNS settings, and firewall/proxy configuration.`},[PM.REQUEST_TIMEOUT]:{message:`Request timeout`,suggestion:`Retry the request or check network connectivity`,explanation:`Request exceeded timeout limit. Could be slow network, large response size, or GitHub server delay.`},[PM.UNKNOWN]:{message:`Unknown error occurred`,explanation:`An unexpected error occurred that does not match known error patterns.`}},IM={401:PM.AUTH_REQUIRED,403:PM.FORBIDDEN_PERMISSIONS,404:PM.NOT_FOUND,422:PM.INVALID_REQUEST,502:PM.SERVER_UNAVAILABLE,503:PM.SERVER_UNAVAILABLE,504:PM.SERVER_UNAVAILABLE},LM={CONNECTION_FAILED:[`ENOTFOUND`,`ECONNREFUSED`],TIMEOUT:[`timeout`]},RM={SECONDARY:/\bsecondary rate\b/i,GRAPHQL_TYPE:`RATE_LIMITED`},zM={RESET_BUFFER_SECONDS:1,SECONDARY_FALLBACK_SECONDS:60};function BM(e){return e instanceof PO?VM(e):e instanceof Error?JM(e):{error:typeof e==`string`?e:FM[PM.UNKNOWN].message,type:`unknown`}}function VM(e){let{status:t,message:n,response:r}=e;if(t===403)return HM(n,r);let i=IM[t];return i?qM(i,t):YM(PM.UNKNOWN,{error:n||FM[PM.UNKNOWN].message,status:t})}function HM(e,t){let n=t?.headers;if(RM.SECONDARY.test(e))return UM(n);let r=n?.[`x-ratelimit-remaining`],i=KM(t);return r===`0`||i?WM(n):GM(n)}function UM(e){let t=Number(e?.[`retry-after`])||zM.SECONDARY_FALLBACK_SECONDS;return ol({limit_type:`secondary`,retry_after_seconds:t}),YM(PM.RATE_LIMIT_SECONDARY,{error:FM[PM.RATE_LIMIT_SECONDARY].message(t),status:403,rateLimitRemaining:0,retryAfter:t,scopesSuggestion:FM[PM.RATE_LIMIT_SECONDARY].suggestion})}function WM(e){let t=e?.[`x-ratelimit-reset`],n=t?new Date(parseInt(String(t))*1e3):null,r=n?Math.max(Math.ceil((n.getTime()-Date.now())/1e3)+zM.RESET_BUFFER_SECONDS,0):void 0,i=n?FM[PM.RATE_LIMIT_PRIMARY].messageWithTime(n,r):FM[PM.RATE_LIMIT_PRIMARY].messageWithoutTime;return ol({limit_type:`primary`,retry_after_seconds:r,rate_limit_remaining:0,rate_limit_reset_ms:n?n.getTime():void 0}),YM(PM.RATE_LIMIT_PRIMARY,{error:i,status:403,rateLimitRemaining:0,rateLimitReset:n?n.getTime():void 0,retryAfter:r,scopesSuggestion:FM[PM.RATE_LIMIT_PRIMARY].suggestion})}function GM(e){let t=e?.[`x-accepted-oauth-scopes`],n=e?.[`x-oauth-scopes`],r=FM[PM.FORBIDDEN_PERMISSIONS].suggestion;return t&&n&&(r=XM(String(t),String(n))),YM(PM.FORBIDDEN_PERMISSIONS,{error:FM[PM.FORBIDDEN_PERMISSIONS].message,status:403,scopesSuggestion:r})}function KM(e){return(e?.data?.errors)?.some(e=>e.type===RM.GRAPHQL_TYPE)??!1}function qM(e,t){let n=FM[e];return YM(e,{error:n.message,status:t,...`suggestion`in n&&{scopesSuggestion:n.suggestion}})}function JM(e){return LM.CONNECTION_FAILED.some(t=>e.message.includes(t))?{error:FM[PM.NETWORK_CONNECTION_FAILED].message,type:`network`,scopesSuggestion:FM[PM.NETWORK_CONNECTION_FAILED].suggestion}:LM.TIMEOUT.some(t=>e.message.includes(t))?{error:FM[PM.REQUEST_TIMEOUT].message,type:`network`,scopesSuggestion:FM[PM.REQUEST_TIMEOUT].suggestion}:{error:e.message,type:`unknown`}}function YM(e,t){return{type:`http`,...t}}function XM(e,t){let n=e.split(`,`).map(e=>e.trim()).filter(Boolean),r=t.split(`,`).map(e=>e.trim()).filter(Boolean),i=n.filter(e=>!r.includes(e));return i.length>0?FM[PM.FORBIDDEN_PERMISSIONS].suggestionWithScopes(i):FM[PM.FORBIDDEN_PERMISSIONS].fallbackSuggestion}function ZM(e){return`user:${e}`}var QM=class{queryParts=[];addOwnerRepo(e){if(e.owner&&e.repo){let t=Array.isArray(e.owner)?e.owner:[e.owner],n=Array.isArray(e.repo)?e.repo:[e.repo];t.forEach(e=>{n.forEach(t=>{this.queryParts.push(`repo:${e}/${t}`)})})}else e.owner&&(Array.isArray(e.owner)?e.owner:[e.owner]).forEach(e=>{this.queryParts.push(ZM(e))});return this}addDateFilters(e){return Object.entries({created:`created`,updated:`updated`,"author-date":`author-date`,"committer-date":`committer-date`,"merged-at":`merged`,closed:`closed`}).forEach(([t,n])=>{let r=e[t];r&&this.queryParts.push(`${n}:${r}`)}),this}addArrayFilter(e,t,n=!1){return e&&e!==null&&(Array.isArray(e)?e:[e]).forEach(e=>{let r=n?`"${e}"`:e;this.queryParts.push(`${t}:${r}`)}),this}addBooleanFilter(e,t,n){return e===!0?this.queryParts.push(t):e===!1&&this.queryParts.push(n),this}addSimpleFilter(e,t){return e!=null&&this.queryParts.push(`${t}:${e}`),this}build(){return this.queryParts.join(` `).trim()}},$M=class extends QM{addQueryTerms(e){if(Array.isArray(e.keywordsToSearch)&&e.keywordsToSearch.length>0){let t=e.keywordsToSearch.filter(e=>e&&e.trim());t.length>0&&this.queryParts.push(...t)}return this}addSearchFilters(e){return this.addSimpleFilter(e.filename,`filename`),this.addSimpleFilter(e.extension,`extension`),this.addSimpleFilter(e.path,`path`),this}addMatchFilters(e){return e.match&&(Array.isArray(e.match)?e.match:[e.match]).forEach(e=>{e===`file`?this.queryParts.push(`in:file`):e===`path`&&this.queryParts.push(`in:path`)}),this}},eN=class extends QM{addQueryTerms(e){return Array.isArray(e.keywordsToSearch)&&e.keywordsToSearch.length>0&&this.queryParts.push(...e.keywordsToSearch),this}addRepoFilters(e){return this.addArrayFilter(e.topicsToSearch,`topic`),this.addSimpleFilter(e.stars,`stars`),this.addSimpleFilter(e.size,`size`),this.addSimpleFilter(e.created,`created`),e.updated&&this.queryParts.push(`pushed:${e.updated}`),this}addMatchFilters(e){return e.match&&(Array.isArray(e.match)?e.match:[e.match]).forEach(e=>{e===`name`?this.queryParts.push(`in:name`):e===`description`?this.queryParts.push(`in:description`):e===`readme`&&this.queryParts.push(`in:readme`)}),this}addQualityFilters(){return this.queryParts.push(`is:not-archived`),this}},tN=class extends QM{addBasicFilters(e){return e.query&&e.query.trim()&&this.queryParts.push(e.query.trim()),this.queryParts.push(`is:pr`),this}addStateFilters(e){return this.addSimpleFilter(e.state,`is`),this.addBooleanFilter(e.draft,`is:draft`,`-is:draft`),this.addBooleanFilter(e.merged,`is:merged`,`is:unmerged`),this}addUserFilters(e){return this.addSimpleFilter(e.author,`author`),this.addSimpleFilter(e.assignee,`assignee`),this.addSimpleFilter(e.mentions,`mentions`),this.addSimpleFilter(e.commenter,`commenter`),this.addSimpleFilter(e.involves,`involves`),this.addSimpleFilter(e[`reviewed-by`],`reviewed-by`),this.addSimpleFilter(e[`review-requested`],`review-requested`),this}addBranchFilters(e){return this.addSimpleFilter(e.head,`head`),this.addSimpleFilter(e.base,`base`),this}addEngagementFilters(e){return this.addSimpleFilter(e.comments,`comments`),this.addSimpleFilter(e.reactions,`reactions`),this.addSimpleFilter(e.interactions,`interactions`),this}addReviewFilters(e){return this}addOrganizationFilters(e){return this.addArrayFilter(e.label,`label`,!0),this}addNegativeFilters(e){return e[`no-assignee`]&&this.queryParts.push(`no:assignee`),e[`no-label`]&&this.queryParts.push(`no:label`),e[`no-milestone`]&&this.queryParts.push(`no:milestone`),e[`no-project`]&&this.queryParts.push(`no:project`),this}addMiscFilters(e){return this.queryParts.push(`archived:false`),this}};function nN(e){return new $M().addQueryTerms(e).addSearchFilters(e).addOwnerRepo(e).addMatchFilters(e).build()}function rN(e){return new eN().addQueryTerms(e).addOwnerRepo(e).addRepoFilters(e).addMatchFilters(e).addQualityFilters().build()}function iN(e){return new tN().addBasicFilters(e).addOwnerRepo(e).addStateFilters(e).addUserFilters(e).addBranchFilters(e).addDateFilters(e).addEngagementFilters(e).addReviewFilters(e).addOrganizationFilters(e).addNegativeFilters(e).addMiscFilters(e).build()}function aN(e){return e.draft!==void 0||e.author!==void 0||e.assignee!==void 0||e.query!==void 0||e.label&&e.label.length>0||e.mentions!==void 0||e.commenter!==void 0||e.involves!==void 0||e[`reviewed-by`]!==void 0||e[`review-requested`]!==void 0||e.reactions!==void 0||e.comments!==void 0||e.interactions!==void 0||e[`no-assignee`]!==void 0||e[`no-label`]!==void 0||e[`no-milestone`]!==void 0||e[`no-project`]!==void 0||e.created!==void 0||e.updated!==void 0||e[`merged-at`]!==void 0||e.closed!==void 0||e.merged!==void 0||Array.isArray(e.owner)||Array.isArray(e.repo)}var oN=I(((e,t)=>{var n=(function(){function e(e,t){return t!=null&&e instanceof t}var t;try{t=Map}catch{t=function(){}}var n;try{n=Set}catch{n=function(){}}var r;try{r=Promise}catch{r=function(){}}function i(a,o,s,c,u){typeof o==`object`&&(s=o.depth,c=o.prototype,u=o.includeNonEnumerable,o=o.circular);var d=[],f=[],p=typeof Buffer<`u`;o===void 0&&(o=!0),s===void 0&&(s=1/0);function m(a,s){if(a===null)return null;if(s===0)return a;var h,g;if(typeof a!=`object`)return a;if(e(a,t))h=new t;else if(e(a,n))h=new n;else if(e(a,r))h=new r(function(e,t){a.then(function(t){e(m(t,s-1))},function(e){t(m(e,s-1))})});else if(i.__isArray(a))h=[];else if(i.__isRegExp(a))h=new RegExp(a.source,l(a)),a.lastIndex&&(h.lastIndex=a.lastIndex);else if(i.__isDate(a))h=new Date(a.getTime());else if(p&&Buffer.isBuffer(a))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(a.length):new Buffer(a.length),a.copy(h),h;else e(a,Error)?h=Object.create(a):c===void 0?(g=Object.getPrototypeOf(a),h=Object.create(g)):(h=Object.create(c),g=c);if(o){var _=d.indexOf(a);if(_!=-1)return f[_];d.push(a),f.push(h)}for(var v in e(a,t)&&a.forEach(function(e,t){var n=m(t,s-1),r=m(e,s-1);h.set(n,r)}),e(a,n)&&a.forEach(function(e){var t=m(e,s-1);h.add(t)}),a){var y;g&&(y=Object.getOwnPropertyDescriptor(g,v)),!(y&&y.set==null)&&(h[v]=m(a[v],s-1))}if(Object.getOwnPropertySymbols)for(var b=Object.getOwnPropertySymbols(a),v=0;v<b.length;v++){var x=b[v],S=Object.getOwnPropertyDescriptor(a,x);S&&!S.enumerable&&!u||(h[x]=m(a[x],s-1),S.enumerable||Object.defineProperty(h,x,{enumerable:!1}))}if(u)for(var C=Object.getOwnPropertyNames(a),v=0;v<C.length;v++){var w=C[v],S=Object.getOwnPropertyDescriptor(a,w);S&&S.enumerable||(h[w]=m(a[w],s-1),Object.defineProperty(h,w,{enumerable:!1}))}return h}return m(a,s)}i.clonePrototype=function(e){if(e===null)return null;var t=function(){};return t.prototype=e,new t};function a(e){return Object.prototype.toString.call(e)}i.__objToStr=a;function o(e){return typeof e==`object`&&a(e)===`[object Date]`}i.__isDate=o;function s(e){return typeof e==`object`&&a(e)===`[object Array]`}i.__isArray=s;function c(e){return typeof e==`object`&&a(e)===`[object RegExp]`}i.__isRegExp=c;function l(e){var t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),t}return i.__getRegExpFlags=l,i})();typeof t==`object`&&t.exports&&(t.exports=n)})),sN=I(((e,t)=>{(function(){var e,n,r=[].splice,i=function(e,t){if(!(e instanceof t))throw Error(`Bound instance method accessed before binding`)},a=[].indexOf;n=oN(),e=R(`events`).EventEmitter,t.exports=(function(){class t extends e{constructor(e={}){super(),this.get=this.get.bind(this),this.mget=this.mget.bind(this),this.set=this.set.bind(this),this.mset=this.mset.bind(this),this.del=this.del.bind(this),this.take=this.take.bind(this),this.ttl=this.ttl.bind(this),this.getTtl=this.getTtl.bind(this),this.keys=this.keys.bind(this),this.has=this.has.bind(this),this.getStats=this.getStats.bind(this),this.flushAll=this.flushAll.bind(this),this.flushStats=this.flushStats.bind(this),this.close=this.close.bind(this),this._checkData=this._checkData.bind(this),this._check=this._check.bind(this),this._isInvalidKey=this._isInvalidKey.bind(this),this._wrap=this._wrap.bind(this),this._getValLength=this._getValLength.bind(this),this._error=this._error.bind(this),this._initErrors=this._initErrors.bind(this),this.options=e,this._initErrors(),this.data={},this.options=Object.assign({forceString:!1,objectValueSize:80,promiseValueSize:80,arrayValueSize:40,stdTTL:0,checkperiod:600,useClones:!0,deleteOnExpire:!0,enableLegacyCallbacks:!1,maxKeys:-1},this.options),this.options.enableLegacyCallbacks&&(console.warn(`WARNING! node-cache legacy callback support will drop in v6.x`),[`get`,`mget`,`set`,`del`,`ttl`,`getTtl`,`keys`,`has`].forEach(e=>{var t=this[e];this[e]=function(...e){var n,i,a=e,o;if([...e]=a,[n]=r.call(e,-1),typeof n==`function`)try{o=t(...e),n(null,o)}catch(e){i=e,n(i)}else return t(...e,n)}})),this.stats={hits:0,misses:0,keys:0,ksize:0,vsize:0},this.validKeyTypes=[`string`,`number`],this._checkData()}get(e){var n,r;if(i(this,t),(r=this._isInvalidKey(e))!=null)throw r;if(this.data[e]!=null&&this._check(e,this.data[e]))return this.stats.hits++,n=this._unwrap(this.data[e]),n;this.stats.misses++}mget(e){var n,r,a,o,s,c;if(i(this,t),!Array.isArray(e))throw n=this._error(`EKEYSTYPE`),n;for(c={},a=0,s=e.length;a<s;a++){if(o=e[a],(r=this._isInvalidKey(o))!=null)throw r;this.data[o]!=null&&this._check(o,this.data[o])?(this.stats.hits++,c[o]=this._unwrap(this.data[o])):this.stats.misses++}return c}set(e,n,r){var a,o,s;if(i(this,t),this.options.maxKeys>-1&&this.stats.keys>=this.options.maxKeys)throw a=this._error(`ECACHEFULL`),a;if(this.options.forceString,r??=this.options.stdTTL,(o=this._isInvalidKey(e))!=null)throw o;return s=!1,this.data[e]&&(s=!0,this.stats.vsize-=this._getValLength(this._unwrap(this.data[e],!1))),this.data[e]=this._wrap(n,r),this.stats.vsize+=this._getValLength(n),s||(this.stats.ksize+=this._getKeyLength(e),this.stats.keys++),this.emit(`set`,e,n),!0}mset(e){var n,r,a,o,s,c,l,u,d,f;if(i(this,t),this.options.maxKeys>-1&&this.stats.keys+e.length>=this.options.maxKeys)throw n=this._error(`ECACHEFULL`),n;for(a=0,l=e.length;a<l;a++){if(c=e[a],{key:s,val:f,ttl:d}=c,d&&typeof d!=`number`)throw n=this._error(`ETTLTYPE`),n;if((r=this._isInvalidKey(s))!=null)throw r}for(o=0,u=e.length;o<u;o++)c=e[o],{key:s,val:f,ttl:d}=c,this.set(s,f,d);return!0}del(e){var n,r,a,o,s,c;for(i(this,t),Array.isArray(e)||(e=[e]),n=0,a=0,s=e.length;a<s;a++){if(o=e[a],(r=this._isInvalidKey(o))!=null)throw r;this.data[o]!=null&&(this.stats.vsize-=this._getValLength(this._unwrap(this.data[o],!1)),this.stats.ksize-=this._getKeyLength(o),this.stats.keys--,n++,c=this.data[o],delete this.data[o],this.emit(`del`,o,c.v))}return n}take(e){var n;return i(this,t),n=this.get(e),n!=null&&this.del(e),n}ttl(e,n){var r;if(i(this,t),n||=this.options.stdTTL,!e)return!1;if((r=this._isInvalidKey(e))!=null)throw r;return this.data[e]!=null&&this._check(e,this.data[e])?(n>=0?this.data[e]=this._wrap(this.data[e].v,n,!1):this.del(e),!0):!1}getTtl(e){var n,r;if(i(this,t),e){if((r=this._isInvalidKey(e))!=null)throw r;if(this.data[e]!=null&&this._check(e,this.data[e]))return n=this.data[e].t,n}}keys(){var e;return i(this,t),e=Object.keys(this.data),e}has(e){var n;return i(this,t),n=this.data[e]!=null&&this._check(e,this.data[e]),n}getStats(){return i(this,t),this.stats}flushAll(e=!0){i(this,t),this.data={},this.stats={hits:0,misses:0,keys:0,ksize:0,vsize:0},this._killCheckPeriod(),this._checkData(e),this.emit(`flush`)}flushStats(){i(this,t),this.stats={hits:0,misses:0,keys:0,ksize:0,vsize:0},this.emit(`flush_stats`)}close(){i(this,t),this._killCheckPeriod()}_checkData(e=!0){var n,r,a;for(n in i(this,t),r=this.data,r)a=r[n],this._check(n,a);e&&this.options.checkperiod>0&&(this.checkTimeout=setTimeout(this._checkData,this.options.checkperiod*1e3,e),this.checkTimeout!=null&&this.checkTimeout.unref!=null&&this.checkTimeout.unref())}_killCheckPeriod(){if(this.checkTimeout!=null)return clearTimeout(this.checkTimeout)}_check(e,n){var r;return i(this,t),r=!0,n.t!==0&&n.t<Date.now()&&(this.options.deleteOnExpire&&(r=!1,this.del(e)),this.emit(`expired`,e,this._unwrap(n))),r}_isInvalidKey(e){var n;if(i(this,t),n=typeof e,a.call(this.validKeyTypes,n)<0)return this._error(`EKEYTYPE`,{type:typeof e})}_wrap(e,r,a=!0){var o,s,c;return i(this,t),this.options.useClones||(a=!1),s=Date.now(),o=0,c=1e3,o=r===0?0:r?s+r*c:this.options.stdTTL===0?this.options.stdTTL:s+this.options.stdTTL*c,{t:o,v:a?n(e):e}}_unwrap(e,t=!0){return this.options.useClones||(t=!1),e.v==null?null:t?n(e.v):e.v}_getKeyLength(e){return e.toString().length}_getValLength(e){return i(this,t),typeof e==`string`?e.length:this.options.forceString?JSON.stringify(e).length:Array.isArray(e)?this.options.arrayValueSize*e.length:typeof e==`number`?8:typeof e?.then==`function`?this.options.promiseValueSize:typeof Buffer<`u`&&Buffer!==null&&Buffer.isBuffer(e)?e.length:typeof e==`object`&&e?this.options.objectValueSize*Object.keys(e).length:typeof e==`boolean`?8:0}_error(e,n={}){var r;return i(this,t),r=Error(),r.name=e,r.errorcode=e,r.message=this.ERRORS[e]==null?`-`:this.ERRORS[e](n),r.data=n,r}_initErrors(){var e,n,r;for(n in i(this,t),this.ERRORS={},r=this._ERRORS,r)e=r[n],this.ERRORS[n]=this.createErrorMessage(e)}createErrorMessage(e){return function(t){return e.replace(`__key`,t.type)}}}return t.prototype._ERRORS={ENOTFOUND:"Key `__key` not found",ECACHEFULL:`Cache max keys amount exceeded`,EKEYTYPE:"The key argument has to be of type `string` or `number`. Found: `__key`",EKEYSTYPE:`The keys argument has to be an array.`,ETTLTYPE:`The ttl argument has to be a number.`},t}).call(this)}).call(e)})),cN=L(I(((e,t)=>{(function(){var e=t.exports=sN();e.version=`5.1.2`}).call(e)}))(),1);const lN=new cN.default({stdTTL:86400,checkperiod:3600,maxKeys:1e3,deleteOnExpire:!0,useClones:!1}),uN={hits:0,misses:0,sets:0,totalKeys:0,lastReset:new Date},dN={"gh-api-code":3600,"gh-api-repos":7200,"gh-api-prs":1800,"gh-api-file-content":3600,"gh-repo-structure-api":7200,"github-user":900,"npm-search":14400,"pypi-search":14400,default:86400},fN=new Map;function pN(e,t,n){let r=mN(t),i=n?`${n}:${r}`:r;return`v1-${e}:${_.createHash(`sha256`).update(i).digest(`hex`)}`}function mN(e){return e===null?`null`:e===void 0?`undefined`:typeof e==`object`?Array.isArray(e)?`[${e.map(mN).join(`,`)}]`:`{${Object.keys(e).sort().map(t=>{let n=e[t];return`"${t}":${mN(n)}`}).join(`,`)}}`:String(e)}function hN(e){return dN[e]||dN.default}async function gN(e,t,n={}){if(n.skipCache)return await t();if(!n.forceRefresh)try{let t=lN.get(e);if(t!==void 0)return uN.hits++,t}catch{}if(fN.has(e))return fN.get(e);let r=(async()=>{try{let r=await t();if(n.forceRefresh||uN.misses++,(n.shouldCache??(()=>!0))(r))try{let t=n.ttl;t||=hN(e.match(/^v\d+-([^:]+):/)?.[1]??`default`),lN.set(e,r,t),uN.sets++,uN.totalKeys=lN.keys().length}catch{}return r}finally{fN.delete(e)}})();return fN.set(e,r),r}async function _N(e,t,n){return await gN(pN(`gh-api-code`,{keywordsToSearch:e.keywordsToSearch,owner:e.owner,repo:e.repo,extension:e.extension,filename:e.filename,path:e.path,match:e.match,limit:e.limit,page:e.page},n),async()=>await vN(e,t),{shouldCache:e=>`data`in e&&!e.error})}async function vN(e,t){try{let n=await NM(t);if(e.keywordsToSearch&&e.keywordsToSearch.length>0&&e.keywordsToSearch.filter(e=>e&&e.trim()).length===0)return await al(J.GITHUB_SEARCH_CODE,un.QUERY_EMPTY.code),{error:un.QUERY_EMPTY.message,type:`http`,status:400};let r=nN(e);if(!r.trim())return await al(J.GITHUB_SEARCH_CODE,un.QUERY_EMPTY.code),{error:un.QUERY_EMPTY.message,type:`http`,status:400};let i=Math.min(typeof e.limit==`number`?e.limit:30,100),a=e.page||1,o={q:r,per_page:i,page:a,headers:{Accept:`application/vnd.github.v3.text-match+json`}},s=await n.rest.search.code(o),c=await yN(s),l=Math.min(c.total_count,1e3),u=Math.min(Math.ceil(l/i),10),d=a<u;return{data:{total_count:c.total_count,items:c.items,repository:c.repository,matchLocations:c.matchLocations,minified:c.minified,minificationFailed:c.minificationFailed,minificationTypes:c.minificationTypes,_researchContext:c._researchContext,pagination:{currentPage:a,totalPages:u,perPage:i,totalMatches:l,hasMore:d}},status:200,headers:s.headers}}catch(e){return BM(e)}}async function yN(e){let t=e.data.items;return bN(t,e.data.total_count)}async function bN(e,t){let n=xN(e),r=new Set,i=!1,a=[],o=new Set,s=e.filter(e=>!gD(e.path)),c={items:await Promise.all(s.map(async e=>{o.add(e.path);let t=await Promise.all((e.text_matches||[]).map(async t=>{let n=t.fragment,o=Ul.sanitizeContent(n||``);n=o.content,o.hasSecrets&&r.add(`Secrets detected in ${e.path}: ${o.secretsDetected.join(`, `)}`),o.warnings.length>0&&o.warnings.forEach(t=>r.add(`${e.path}: ${t}`));let s=await FD(n||``,e.path);return n=s.content,s.failed?i=!0:s.type!==`failed`&&a.push(s.type),{context:n||``,positions:t.matches?.map(e=>Array.isArray(e.indices)&&e.indices.length>=2?[e.indices[0],e.indices[1]]:[0,0])||[]}})),n=e;return{path:e.path,matches:t,url:e.html_url,repository:{nameWithOwner:e.repository.full_name,url:e.repository.url,pushedAt:e.repository.pushed_at||void 0},...n.last_modified_at&&{lastModifiedAt:n.last_modified_at},...a.length>0&&{minificationType:Array.from(new Set(a)).join(`,`)}}})),total_count:t===void 0?s.length:t,_researchContext:{foundFiles:Array.from(o),repositoryContext:n?(()=>{let e=n.full_name.split(`/`);return e.length===2&&e[0]&&e[1]?{owner:e[0],repo:e[1],branch:n.default_branch||void 0}:void 0})():void 0}};return n&&(c.repository={name:n.full_name,url:n.url,createdAt:n.created_at||void 0,updatedAt:n.updated_at||void 0,pushedAt:n.pushed_at||void 0}),r.size>0&&(c.matchLocations=Array.from(r)),c.minified=!i,c.minificationFailed=i,a.length>0&&(c.minificationTypes=Array.from(new Set(a))),c}function xN(e){if(e.length===0)return null;let t=e[0]?.repository;return t&&e.every(e=>e.repository.full_name===t.full_name)?t:null}async function SN(e,t={}){if(!Array.isArray(e))throw al(`promiseUtils`,an.PROMISES_NOT_ARRAY.code).catch(()=>{}),Error(an.PROMISES_NOT_ARRAY.message);if(e.length===0)return[];let{timeout:n=3e4,concurrency:r=e.length,onError:i}=t;if(n<=0)throw al(`promiseUtils`,an.TIMEOUT_NOT_POSITIVE.code).catch(()=>{}),Error(an.TIMEOUT_NOT_POSITIVE.message);if(r<=0)throw al(`promiseUtils`,an.CONCURRENCY_NOT_POSITIVE.code).catch(()=>{}),Error(an.CONCURRENCY_NOT_POSITIVE.message);let a=e.map((e,t)=>typeof e==`function`?e:()=>(al(`promiseUtils`,fn.NOT_A_FUNCTION.code).catch(()=>{}),Promise.reject(Error(fn.NOT_A_FUNCTION.message(t)))));if(r<a.length)return wN(a,r,n,i);let o=a.map((e,t)=>CN(e,t,n,i));return(await Promise.allSettled(o)).map((e,t)=>e.status===`fulfilled`?e.value:{success:!1,error:e.reason instanceof Error?e.reason:Error(String(e.reason)),index:t})}async function CN(e,t,n,r){let i,a=()=>{i!==void 0&&(clearTimeout(i),i=void 0)};try{let r=new Promise((e,r)=>{i=setTimeout(()=>{al(`promiseUtils`,fn.TIMEOUT.code).catch(()=>{}),r(Error(fn.TIMEOUT.message(t,n)))},n)}),o=await Promise.race([e(),r]);return a(),{success:!0,data:o,index:t}}catch(e){a();let n=e instanceof Error?e:Error(String(e));if(r)try{r(n,t)}catch{}return{success:!1,error:n,index:t}}}async function wN(e,t,n,r){let i=Array(e.length),a=0,o=async()=>{for(;a<e.length;){let t=a++,o=e[t];if(!o){al(`promiseUtils`,fn.FUNCTION_UNDEFINED.code).catch(()=>{}),i[t]={success:!1,error:Error(fn.FUNCTION_UNDEFINED.message),index:t};continue}try{i[t]=await CN(o,t,n,r)}catch(e){i[t]={success:!1,error:e instanceof Error?e:Error(String(e)),index:t}}}},s=[];for(let n=0;n<Math.min(t,e.length);n++)s.push(o());return await Promise.all(s),i}async function TN(e,t,n){let{results:r,errors:i}=await DN(e,t);return EN(n,r,i,e)}function EN(e,t,n,r){let i=[`instructions`,`results`,`hasResultsStatusHints`,`emptyStatusHints`,`errorStatusHints`],a=[`id`,`status`,`data`,`mainResearchGoal`,`researchGoal`,`reasoning`],o=[...i,...a,`owner`,`repo`],s=[...new Set([...o,...e.keysPriority||[]])],c=[],l=0,u=0,d=0,f=!1,p=!1,m=!1,h=new Set,g=new Set,_=new Set;t.forEach(e=>{let t=e.result.status,n=ON(e.result),r=e.result.hints;t===`hasResults`?(f=!0,r&&Array.isArray(r)&&r.forEach(e=>h.add(e))):t===`empty`?(p=!0,r&&Array.isArray(r)&&r.forEach(e=>g.add(e))):t===`error`&&(m=!0,r&&Array.isArray(r)&&r.forEach(e=>_.add(e)));let i={id:e.queryIndex+1,status:t,data:t===`error`&&e.result.error?{error:e.result.error}:n,mainResearchGoal:e.result.mainResearchGoal||kN(e.originalQuery,`mainResearchGoal`),researchGoal:e.result.researchGoal||kN(e.originalQuery,`researchGoal`),reasoning:e.result.reasoning||kN(e.originalQuery,`reasoning`)};c.push(i),t===`hasResults`?l++:t===`empty`?u++:d++}),n.forEach(e=>{let t=r[e.queryIndex];t&&(m=!0,c.push({id:e.queryIndex+1,status:`error`,data:{error:e.error},mainResearchGoal:kN(t,`mainResearchGoal`),researchGoal:kN(t,`researchGoal`),reasoning:kN(t,`reasoning`)}),d++)});let v=f?h.size>0?[...h]:[...wl(e.toolName,`hasResults`)]:[],y=p?g.size>0?[...g]:[...wl(e.toolName,`empty`)]:[],b=m?_.size>0?[..._]:[...Tl()]:[];return{content:[{type:`text`,text:LD({instructions:AN(c.length,l,u,d),results:c,hasResultsStatusHints:v,emptyStatusHints:y,errorStatusHints:b},s)}],isError:!1}}async function DN(e,t){let n=[],r=[];return!e||e.length===0||(await SN(e.map((e,n)=>()=>t(e,n).then(t=>({result:t,queryIndex:n,originalQuery:e}))),{timeout:6e4,continueOnError:!0,concurrency:3,onError:(e,t)=>{r.push({queryIndex:t,error:e.message})}})).forEach(e=>{e.success&&e.data&&n.push({result:e.data.result,queryIndex:e.data.queryIndex,originalQuery:e.data.originalQuery})}),{results:n,errors:r}}function ON(e){let t=new Set([`mainResearchGoal`,`researchGoal`,`reasoning`,`error`,`status`,`query`,`hints`]),n={};for(let[r,i]of Object.entries(e))t.has(r)||(n[r]=i);return n}function kN(e,t){let n=e[t];return typeof n==`string`?n:void 0}function AN(e,t,n,r){let i=[];t>0&&i.push(`${t} hasResults`),n>0&&i.push(`${n} empty`),r>0&&i.push(`${r} failed`);let a=[`Bulk response with ${e} results: ${i.join(`, `)}. Each result includes the status, data, and research details.`];return t>0&&a.push(`Review hasResultsStatusHints for guidance on results with data.`),n>0&&a.push(`Review emptyStatusHints for no-results scenarios.`),r>0&&a.push(`Review errorStatusHints for error recovery strategies.`),a.join(`
`)}function jN(e,t){return t===`error`?[]:wl(e,t)}function MN(e,t){return El(e,t)}const NN={[z.LOCAL_RIPGREP]:{hasResults:(e={})=>{let t=[];return e.searchEngine===`grep`&&t.push(...MN(z.LOCAL_RIPGREP,`grepFallback`)),e.fileCount&&e.fileCount>5&&t.push(...MN(z.LOCAL_RIPGREP,`parallelTip`)),e.fileCount&&e.fileCount>1&&t.push(...MN(z.LOCAL_RIPGREP,`multipleFiles`)),t},empty:(e={})=>{let t=[];return e.searchEngine===`grep`&&t.push(...MN(z.LOCAL_RIPGREP,`grepFallbackEmpty`)),t},error:(e={})=>e.errorType===`size_limit`?[`Too many results${e.matchCount?` (${e.matchCount} matches)`:``}. Narrow pattern/scope.`,...e.path?.includes(`node_modules`)?MN(z.LOCAL_RIPGREP,`nodeModulesSearch`):[],...MN(z.LOCAL_RIPGREP,`largeResult`)]:[]},[z.LOCAL_FETCH_CONTENT]:{hasResults:(e={})=>[e.hasMoreContent?`More content available - use charOffset for pagination.`:void 0],empty:(e={})=>[],error:(e={})=>e.errorType===`size_limit`&&e.isLarge?[e.fileSize?`Large file (~${Math.round(e.fileSize*.25)}K tokens).`:void 0,...MN(z.LOCAL_FETCH_CONTENT,`largeFile`)]:e.errorType===`pattern_too_broad`?[e.tokenEstimate?`Pattern too broad (~${e.tokenEstimate.toLocaleString()} tokens).`:void 0,...MN(z.LOCAL_FETCH_CONTENT,`patternTooBroad`)]:[]},[z.LOCAL_VIEW_STRUCTURE]:{hasResults:(e={})=>{let t=[];return e.entryCount&&e.entryCount>10&&t.push(...MN(z.LOCAL_VIEW_STRUCTURE,`parallelize`)),t},empty:(e={})=>[],error:(e={})=>e.errorType===`size_limit`&&e.entryCount?[`Directory has ${e.entryCount} entries${e.tokenEstimate?` (~${e.tokenEstimate.toLocaleString()} tokens)`:``}.`,...MN(z.LOCAL_VIEW_STRUCTURE,`largeDirectory`)]:[]},[z.LOCAL_FIND_FILES]:{hasResults:(e={})=>{let t=[];return e.fileCount&&e.fileCount>3&&t.push(...MN(z.LOCAL_FIND_FILES,`batchParallel`)),e.fileCount&&e.fileCount>20&&t.push(...MN(z.LOCAL_FIND_FILES,`manyResults`)),e.hasConfigFiles&&t.push(...MN(z.LOCAL_FIND_FILES,`configFiles`)),t},empty:(e={})=>[],error:(e={})=>[]},[z.GITHUB_SEARCH_CODE]:{hasResults:(e={})=>{let t=[];return e.hasOwnerRepo?t.push(...MN(z.GITHUB_SEARCH_CODE,`singleRepo`)):t.push(...MN(z.GITHUB_SEARCH_CODE,`multiRepo`)),t},empty:(e={})=>{let t=[];return e.match===`path`?t.push(...MN(z.GITHUB_SEARCH_CODE,`pathEmpty`)):e.hasOwnerRepo||t.push(...MN(z.GITHUB_SEARCH_CODE,`crossRepoEmpty`)),t},error:(e={})=>[]},[z.GITHUB_FETCH_CONTENT]:{hasResults:(e={})=>{let t=[];return e.isLarge&&t.push(...MN(z.GITHUB_FETCH_CONTENT,`largeFile`)),t},empty:(e={})=>[],error:(e={})=>e.errorType===`size_limit`?[...MN(z.GITHUB_FETCH_CONTENT,`fileTooLarge`)]:[]},[z.GITHUB_VIEW_REPO_STRUCTURE]:{hasResults:(e={})=>{let t=[];return e.entryCount&&e.entryCount>50&&(t.push(`Large directory (${e.entryCount} entries).`),t.push(...MN(z.GITHUB_VIEW_REPO_STRUCTURE,`largeDirectory`))),t},empty:(e={})=>[],error:(e={})=>[]},[z.GITHUB_SEARCH_PULL_REQUESTS]:{hasResults:(e={})=>[],empty:(e={})=>[],error:(e={})=>[]},[z.GITHUB_SEARCH_REPOSITORIES]:{hasResults:(e={})=>[],empty:(e={})=>[],error:(e={})=>[]},[z.PACKAGE_SEARCH]:{hasResults:(e={})=>[],empty:(e={})=>[],error:(e={})=>[]},[z.LSP_GOTO_DEFINITION]:{hasResults:(e={})=>{let t=[],n=e.locationCount;return n&&n>1&&(t.push(`Found ${n} definitions.`),t.push(...MN(z.LSP_GOTO_DEFINITION,`multipleDefinitions`))),e.hasExternalPackage&&t.push(...MN(z.LSP_GOTO_DEFINITION,`externalPackage`)),e.isFallback&&t.push(...MN(z.LSP_GOTO_DEFINITION,`fallbackMode`)),t},empty:(e={})=>{let t=[],n=e.searchRadius,r=e.lineHint;return n&&t.push(`Searched ±${n} lines from lineHint=${r}. Adjust hint.`),e.symbolName&&t.push(...MN(z.LSP_GOTO_DEFINITION,`symbolNotFound`)),t},error:(e={})=>{let t=e.symbolName,n=e.lineHint,r=e.uri;return e.errorType===`symbol_not_found`?[`Symbol "${t}" not found at line ${n}.`,...MN(z.LSP_GOTO_DEFINITION,`symbolNotFound`)]:e.errorType===`file_not_found`?[`File not found: ${r}`,...MN(z.LSP_GOTO_DEFINITION,`fileNotFound`)]:e.errorType===`timeout`?[...MN(z.LSP_GOTO_DEFINITION,`timeout`)]:[]}},[z.LSP_FIND_REFERENCES]:{hasResults:(e={})=>{let t=[],n=e.locationCount,r=e.fileCount,i=e.currentPage,a=e.totalPages;return n&&n>20&&(t.push(`Found ${n} references.`),t.push(...MN(z.LSP_FIND_REFERENCES,`manyReferences`))),e.hasMultipleFiles&&(t.push(`References span ${r||`multiple`} files.`),t.push(...MN(z.LSP_FIND_REFERENCES,`multipleFiles`))),e.hasMorePages&&(t.push(`Page ${i}/${a}.`),t.push(...MN(z.LSP_FIND_REFERENCES,`pagination`))),e.isFallback&&t.push(...MN(z.LSP_FIND_REFERENCES,`fallbackMode`)),t},empty:(e={})=>{let t=[];return e.symbolName&&t.push(...MN(z.LSP_FIND_REFERENCES,`symbolNotFound`)),t},error:(e={})=>e.errorType===`symbol_not_found`?[...MN(z.LSP_FIND_REFERENCES,`symbolNotFound`)]:e.errorType===`timeout`?[...MN(z.LSP_FIND_REFERENCES,`timeout`)]:[]},[z.LSP_CALL_HIERARCHY]:{hasResults:(e={})=>{let t=[],n=e.direction,r=e.callCount,i=e.depth,a=e.currentPage,o=e.totalPages;return n===`incoming`?(t.push(`Found ${r||`multiple`} callers.`),t.push(...MN(z.LSP_CALL_HIERARCHY,`incomingResults`))):(t.push(`Found ${r||`multiple`} callees.`),t.push(...MN(z.LSP_CALL_HIERARCHY,`outgoingResults`))),i&&i>1&&(t.push(`Depth=${i} showing ${i}-level call chain.`),t.push(...MN(z.LSP_CALL_HIERARCHY,`deepChain`))),e.hasMorePages&&(t.push(`Page ${a}/${o}.`),t.push(...MN(z.LSP_CALL_HIERARCHY,`pagination`))),e.isFallback&&t.push(...MN(z.LSP_CALL_HIERARCHY,`fallbackMode`)),t},empty:(e={})=>{let t=[];return e.direction===`incoming`?t.push(...MN(z.LSP_CALL_HIERARCHY,`noCallers`)):t.push(...MN(z.LSP_CALL_HIERARCHY,`noCallees`)),t},error:(e={})=>{let t=e.depth;return e.errorType===`not_a_function`?[...MN(z.LSP_CALL_HIERARCHY,`notAFunction`)]:e.errorType===`timeout`?[`Depth=${t} caused timeout.`,...MN(z.LSP_CALL_HIERARCHY,`timeout`)]:[]}}};function PN(e){return e in NN}function FN(e,t,n){let r=NN[e]?.[t];return r?r(n||{}).filter(e=>typeof e==`string`):[]}function IN(e){return e===`search`?[`Large codebase: avoid floods.`,`Flow: localSearchCode filesOnly → add type/path filters → localGetFileContent matchString → localSearchCode links.`,`Parallelize where safe.`]:[`Large file: don't read all.`,`Flow: localGetFileContent matchString → analyze → localSearchCode usages/imports → localGetFileContent related.`,`Use charLength to paginate if needed.`,`Avoid fullContent without charLength.`]}function LN(e,t,n){let r=jN(e,t),i=PN(e)?FN(e,t,n):[],a=[...r,...i];return[...new Set(a)]}function RN(e){let t=[];if(t.push(`GitHub Octokit API Error: ${e.error}`),e.scopesSuggestion&&t.push(e.scopesSuggestion),e.rateLimitRemaining!==void 0&&e.rateLimitReset!==void 0){let n=new Date(e.rateLimitReset);t.push(`Rate limit: ${e.rateLimitRemaining} remaining, resets at ${n.toLocaleTimeString()}`)}return e.retryAfter!==void 0&&t.push(`Retry after ${e.retryAfter} seconds`),t}function zN(e){return typeof e==`object`&&!!e&&`error`in e&&typeof e.error==`string`&&(`type`in e||`status`in e||`scopesSuggestion`in e)}function BN(e,t,n={}){let{toolName:r,hintContext:i,extra:a,customHints:o,hintSourceError:s}=n,c={status:`error`,mainResearchGoal:t.mainResearchGoal,researchGoal:t.researchGoal,reasoning:t.reasoning},l=[];if(s&&l.push(...RN(s)),zN(e))c.error=e,s||l.push(...RN(e));else if(vn(e)){if(c.error=e.message,c.errorCode=e.errorCode,r){let t=LN(r,`error`,{originalError:e.message,errorType:VN(e),...i});l.push(...t)}}else if(typeof e==`string`)c.error=e;else if(e instanceof Error){let t=yn(e);if(c.error=t.message,c.errorCode=t.errorCode,r){let e=LN(r,`error`,{originalError:t.message,...i});l.push(...e)}}else c.error=`Unknown error occurred`;if(o&&o.length>0&&l.push(...o),a?.hints&&Array.isArray(a.hints)&&l.push(...a.hints),l.length>0&&(c.hints=l),a){let{hints:e,...t}=a;Object.assign(c,t)}return c}function VN(e){switch(e.errorCode){case`fileTooLarge`:case`outputTooLarge`:case`responseTooLarge`:case`paginationRequired`:return`size_limit`;case`fileAccessFailed`:case`fileReadFailed`:return`not_found`;case`pathValidationFailed`:return`permission`;case`patternTooBroad`:return`pattern_too_broad`;default:return}}async function HN(e,t,n){if(e)try{await e(t,n)}catch{al(t,pn.EXECUTION_FAILED.code).catch(()=>{})}}function UN(e,t,n,r,i){let a=n?`hasResults`:`empty`,o={status:a,mainResearchGoal:e.mainResearchGoal,researchGoal:e.researchGoal,reasoning:e.reasoning,...t},s=LN(r,a,i?.hintContext),c=i?.extraHints||[],l=[...new Set([...s,...c])].filter(e=>e&&e.trim().length>0);return l.length>0&&(o.hints=l),o}function WN(e){return typeof e==`object`&&!!e&&`error`in e&&typeof e.error==`string`}function GN(e,t){if(!WN(e))return null;let n={error:e.error,type:e.type||`unknown`,status:e.status,scopesSuggestion:e.scopesSuggestion,rateLimitRemaining:e.rateLimitRemaining,rateLimitReset:e.rateLimitReset,retryAfter:e.retryAfter};return BN(n,t,{hintSourceError:n,customHints:e.hints||[]})}function KN(e,t,n,r){let i=e instanceof Error?e.message:`Unknown error occurred`,a=n?`${n}: ${i}`:i;return al(r||n||`unknown_tool`,pn.EXECUTION_FAILED.code).catch(()=>{}),BN(a,t)}function qN(e,t){return e.registerTool(J.GITHUB_SEARCH_CODE,{description:Dl[J.GITHUB_SEARCH_CODE],inputSchema:QD,annotations:{title:`GitHub Code Search`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},zD(J.GITHUB_SEARCH_CODE,async(e,n,r)=>{let i=e.queries||[];return await HN(t,J.GITHUB_SEARCH_CODE,i),JN(i,n,r)}))}async function JN(e,t,n){return TN(e,async(e,r)=>{try{let r=await _N(e,t,n),i=GN(r,e);if(i)return i;if(!(`data`in r))return KN(Error(`Invalid API response structure`),e);let a=r.data.items.map(t=>{let n=t.repository?.nameWithOwner,r={path:t.path,...n&&{repo:n},...t.lastModifiedAt&&{lastModifiedAt:t.lastModifiedAt}};return e.match===`path`?r:{...r,text_matches:t.matches.map(e=>e.context)}}),o={files:a},s=r.data._researchContext?.repositoryContext;s&&(o.repositoryContext=s);let c=r.data.pagination;c&&(o.pagination=c);let l=a.length>0,u=!!(e.owner&&e.repo),d=[];if(c){let{currentPage:e,totalPages:t,totalMatches:n,perPage:r,hasMore:i}=c,a=(e-1)*r+1,o=Math.min(e*r,n);d.push(`Page ${e}/${t} (showing ${a}-${o} of ${n} matches)`),i&&d.push(`Next: page=${e+1}`),e>1&&d.push(`Previous: page=${e-1}`),i||d.push(`Final page`),t>2&&d.push(`Jump to: page=1 (first) or page=${t} (last)`)}return UN(e,o,l,J.GITHUB_SEARCH_CODE,{hintContext:{hasOwnerRepo:u,match:e.match},extraHints:d})}catch(t){return KN(t,e)}},{toolName:J.GITHUB_SEARCH_CODE,keysPriority:[`files`,`pagination`,`repositoryContext`,`error`]})}function YN(e,t,n){return Buffer.from(e,`utf8`).slice(t,n).toString(`utf8`)}function XN(e,t){if(t===0)return 0;let n=Buffer.from(e,`utf8`),r=Math.min(t,n.length);return n.slice(0,r).toString(`utf8`).length}function ZN(e,t){return Buffer.byteLength(e.substring(0,t),`utf8`)}function QN(e,t=0,n,r={}){let i=r.mode??`characters`,a=e.length,o=Buffer.byteLength(e,`utf-8`);if(n===void 0)return{paginatedContent:e,byteOffset:0,byteLength:o,totalBytes:o,nextByteOffset:void 0,charOffset:0,charLength:a,totalChars:a,nextCharOffset:void 0,hasMore:!1,estimatedTokens:Math.ceil(e.length/4),currentPage:1,totalPages:1};let s,c,l,u,d,f,p,m;if(i===`bytes`){let i=Buffer.from(e,`utf-8`);c=Math.min(t,o),l=Math.min(c+n,o),s=i.subarray(c,l).toString(`utf-8`),u=XN(e,c),d=XN(e,l),f=l<o;let a=r.actualOffset??c;p=Math.floor(a/n)+1,m=Math.ceil(o/n)}else{u=Math.min(t,a),d=Math.min(u+n,a),s=e.substring(u,d),c=ZN(e,u),l=ZN(e,d),f=d<a;let i=r.actualOffset??u;p=Math.floor(i/n)+1,m=Math.ceil(a/n)}return{paginatedContent:s,byteOffset:c,byteLength:l-c,totalBytes:o,nextByteOffset:f?l:void 0,charOffset:u,charLength:s.length,totalChars:a,nextCharOffset:f?d:void 0,hasMore:f,estimatedTokens:Math.ceil(s.length/4),currentPage:p,totalPages:m}}function $N(e,t=!1){return t?JSON.stringify(e,null,2):JSON.stringify(e)}function eP(e){return{currentPage:e.currentPage,totalPages:e.totalPages,hasMore:e.hasMore,byteOffset:e.byteOffset,byteLength:e.byteLength,totalBytes:e.totalBytes,charOffset:e.charOffset,charLength:e.charLength,totalChars:e.totalChars}}function tP(e,t){if(!t)return[];let n=[];return e>5e4?n.push(`🚨 CRITICAL: Response TOO LARGE (>50K tokens) - will likely exceed model context limits`,`ACTION REQUIRED: Use smaller charLength or refine query to reduce output size`):e>3e4?n.push(`⚠️ WARNING: High token usage (>30K tokens) - may approach context limits`,`RECOMMENDATION: Consider reducing charLength or using more specific queries`):e>15e3?n.push(`ℹ️ NOTICE: Moderate token usage (>15K tokens) - monitor context window usage`):e>5e3?n.push(`ℹ️ Moderate usage: Response uses ~`+e.toLocaleString()+` tokens`):n.push(`✓ Efficient query: Response uses ~`+e.toLocaleString()+` tokens`),n}function nP(e){let t=[];return e.hasMore&&e.nextCharOffset!==void 0?t.push(`📄 More available: This is page `+e.currentPage+` of `+e.totalPages,`▶ Next page: Use charOffset=`+e.nextCharOffset+` to continue`):e.charOffset>0&&!e.hasMore&&t.push(`✓ Final page: Reached end of content`),t}function rP(e,t={}){let{enableWarnings:n=!0,customHints:r=[]}=t,i=[];return i.push(...r),e.estimatedTokens&&i.push(...tP(e.estimatedTokens,n)),i.push(...nP(e)),i}function iP(e,t){if(!e.hasMore)return[`✓ Complete content retrieved (${e.totalPages} page${e.totalPages>1?`s`:``})`];let n=(e.byteOffset??0)+(e.byteLength??0),r=t.branch?`, branch="${t.branch}"`:``;return[`📄 Page ${e.currentPage}/${e.totalPages} (${(e.byteLength??0).toLocaleString()} of ${(e.totalBytes??0).toLocaleString()} bytes)`,``,`▶ TO GET NEXT PAGE:`,` Use: charOffset=${n}`,` Same params: owner="${t.owner}", repo="${t.repo}", path="${t.path}"${r}`,``,`💡 TIP: Use matchString for targeted extraction instead of paginating through entire file`]}function aP(e,t){let n=[];if(n.push(`📂 Page ${e.currentPage}/${e.totalPages} (${t.pageFiles} files, ${t.pageFolders} folders on this page)`),n.push(`📊 Total: ${t.allFiles} files, ${t.allFolders} folders (${e.totalEntries} entries)`),e.hasMore){let r=t.path?`path="${t.path}", `:``,i=t.depth&&t.depth>1?`depth=${t.depth}, `:``;n.push(``),n.push(`▶ TO GET NEXT PAGE:`),n.push(` Use: entryPageNumber=${e.currentPage+1}`),n.push(` Same params: owner="${t.owner}", repo="${t.repo}", branch="${t.branch}", ${r}${i}entriesPerPage=${e.entriesPerPage}`),n.push(``),n.push(`💡 TIP: Use githubSearchCode with path filter for targeted discovery instead of paginating through entire structure`)}else n.push(``),n.push(`✓ Complete structure retrieved (${e.totalPages} page${e.totalPages>1?`s`:``})`);return n}const oP={MAX_CHARS_BEFORE_PAGINATION:2e4,DEFAULT_PAGE_SIZE:2e4,CHARS_PER_TOKEN:4},sP=new cN.default({stdTTL:3600,checkperiod:600,useClones:!1});async function cP(e,t,n){let r=`${t}/${n}`,i=sP.get(r);if(i!==void 0)return i;try{let i=(await e.rest.repos.get({owner:t,repo:n})).data.default_branch||`main`;return sP.set(r,i),i}catch{return`main`}}async function lP(e,t,n){let r=await gN(pN(`gh-api-file-content`,{owner:e.owner,repo:e.repo,path:e.path,branch:e.branch},n),async()=>await uP(e,t),{shouldCache:e=>`data`in e&&!e.error});if(!(`data`in r)||!r.data)return r;let i=r.data.branch||r.data.resolvedRef||e.branch||``,a=await pP(r.data.rawContent,e.owner,e.repo,i,e.path,e.fullContent||!1,e.startLine,e.endLine,e.matchStringContextLines??5,e.matchString);if(`error`in a)return{error:a.error||`Unknown error`,status:500,type:`unknown`};if(!e.noTimestamp)try{let n=await fP(await NM(t),e.owner,e.repo,e.path,e.branch);n&&(a.lastModified=n.lastModified,a.lastModifiedBy=n.lastModifiedBy)}catch{}return a.content?{data:dP(a,e.charOffset??0,e.charLength),status:200}:{data:a,status:200}}async function uP(e,t){try{let n=await NM(t),{owner:r,repo:i,path:a,branch:o}=e,s={owner:r,repo:i,path:a,...o&&{ref:o}},c,l=o;try{c=await n.rest.repos.getContent(s)}catch(e){if(e instanceof PO&&e.status===404&&o){let t=await cP(n,r,i);if((o===`main`||o===`master`)&&o!==t)try{c=await n.rest.repos.getContent({...s,ref:t}),l=t}catch{throw e}else{let s=BM(e),c=o===t?void 0:`Branch '${o}' not found. Default branch is '${t}'. Ask user: Do you want to get the file from '${t}' instead?`,l=await mP(n,r,i,a,o||t);if(l.length>0){let e=`Did you mean: ${l.join(`, `)}?`;s.hints=[...s.hints||[],e]}return{...s,...c&&{scopesSuggestion:c}}}}else{if(e instanceof PO&&e.status===404){let t=BM(e),s=await mP(n,r,i,a,o||`main`);if(s.length>0){let e=`Did you mean: ${s.join(`, `)}?`;t.hints=[...t.hints||[],e]}return t}throw e}}let u=c.data;if(Array.isArray(u))return await al(J.GITHUB_FETCH_CONTENT,cn.PATH_IS_DIRECTORY.code),{error:cn.PATH_IS_DIRECTORY.message(J.GITHUB_VIEW_REPO_STRUCTURE),type:`unknown`,status:400};if(`content`in u&&u.type===`file`){let e=u.size||0,t=300*1024;if(e>t){let n=Math.round(e/1024),r=Math.round(t/1024);return await al(J.GITHUB_FETCH_CONTENT,cn.FILE_TOO_LARGE.code),{error:cn.FILE_TOO_LARGE.message(n,r,J.GITHUB_SEARCH_CODE),type:`unknown`,status:413}}if(!u.content)return await al(J.GITHUB_FETCH_CONTENT,cn.FILE_EMPTY.code),{error:cn.FILE_EMPTY.message,type:`unknown`,status:404};let n=u.content.replace(/\s/g,``);if(!n)return await al(J.GITHUB_FETCH_CONTENT,cn.FILE_EMPTY.code),{error:cn.FILE_EMPTY.message,type:`unknown`,status:404};let r;try{let e=Buffer.from(n,`base64`);if(e.indexOf(0)!==-1)return await al(J.GITHUB_FETCH_CONTENT,cn.BINARY_FILE.code),{error:cn.BINARY_FILE.message,type:`unknown`,status:415};r=e.toString(`utf-8`)}catch{return await al(J.GITHUB_FETCH_CONTENT,cn.DECODE_FAILED.code),{error:cn.DECODE_FAILED.message,type:`unknown`,status:422}}return{data:{rawContent:r,branch:l||void 0,resolvedRef:l||o||`HEAD`},status:200}}return await al(J.GITHUB_FETCH_CONTENT,cn.UNSUPPORTED_TYPE.code),{error:cn.UNSUPPORTED_TYPE.message(u.type),type:`unknown`,status:415}}catch(e){return BM(e)}}function dP(e,t,n){let r=e.content??``,i=n??oP.MAX_CHARS_BEFORE_PAGINATION;if(Buffer.byteLength(r,`utf-8`)<=i&&t===0)return e;let a=QN(r,t,i,{mode:`bytes`}),o=eP(a),s=iP(o,{owner:e.owner??``,repo:e.repo??``,path:e.path??``,branch:e.branch});return{...e,content:a.paginatedContent,contentLength:a.paginatedContent.length,pagination:o,hints:s}}async function fP(e,t,n,r,i){try{let a=await e.rest.repos.listCommits({owner:t,repo:n,path:r,per_page:1,...i&&{sha:i}});if(a.data.length>0){let e=a.data[0],t=e?.commit?.committer?.date,n=e?.commit?.author?.name||e?.author?.login||`Unknown`;return{lastModified:t||`Unknown`,lastModifiedBy:n}}return null}catch{return null}}async function pP(e,t,n,r,i,a,o,s,c=5,l){let u=new Set,d=e.split(`
`),f=d.length,p=e,m,h,g=!1;if(a)p=e;else if(l){let e=[],a=l.toLowerCase();for(let t=0;t<d.length;t++)d[t]?.toLowerCase().includes(a)&&e.push(t+1);if(e.length===0)return{owner:t,repo:n,path:i,content:``,contentLength:0,branch:r,matchNotFound:!0,searchedFor:l,hints:[`Pattern "${l}" not found in file. Try broader search or verify path.`]};let _=e[0],v=Math.max(1,_-c),y=Math.min(f,_+c);o=v,s=y,p=d.slice(v-1,y).join(`
`),m=v,h=y,g=!0,u.add(`Found "${l}" on line ${_}${e.length>1?` (and ${e.length-1} other locations)`:``}`)}else if(o!==void 0||s!==void 0){let t=o||1,n=s||f;if(t<1||t>f)p=e;else if(n<t)p=e;else{let e=Math.max(1,t),r=Math.min(f,n),i=d.slice(e-1,r);m=e,h=r,g=!0,p=i.join(`
`),n>f&&u.add(`Requested endLine ${n} adjusted to ${f} (file end)`)}}let _=Ul.sanitizeContent(p);p=_.content,_.hasSecrets&&u.add(`Secrets detected and redacted: ${_.secretsDetected.join(`, `)}`),_.warnings.length>0&&_.warnings.forEach(e=>u.add(e));let v=await FD(p,i);p=v.content;let y=v.failed,b=v.type,x=Array.from(u);return{owner:t,repo:n,path:i,contentLength:p.length,content:p,branch:r,...g&&{startLine:m,endLine:h,isPartial:g},minified:!y,minificationFailed:y,minificationType:b,...x.length>0&&{matchLocations:x}}}async function mP(e,t,n,r,i){try{let a=r.split(`/`).slice(0,-1).join(`/`),o=r.split(`/`).pop();if(!o)return[];let s=await e.rest.repos.getContent({owner:t,repo:n,path:a,ref:i});if(!Array.isArray(s.data))return[];let c=s.data,l=[],u=c.find(e=>e.name.toLowerCase()===o.toLowerCase());u&&l.push(u.path);let d=o.replace(/\.[^/.]+$/,``);return c.filter(e=>e.name===o?!1:!!e.name.startsWith(d+`.`)).forEach(e=>l.push(e.path)),Array.from(new Set(l)).slice(0,3)}catch{return[]}}const hP={ENTRIES_PER_PAGE:50,MAX_ENTRIES_PER_PAGE:200},gP=JD.extend({owner:K().min(1).max(200).describe(Pl.scope.owner),repo:K().min(1).max(150).describe(Pl.scope.repo),branch:K().min(1).max(255).describe(Pl.scope.branch),path:K().default(``).optional().describe(Pl.scope.path),depth:Gt().min(1).max(2).default(1).optional().describe(Pl.range.depth),entriesPerPage:Gt().min(1).max(hP.MAX_ENTRIES_PER_PAGE).default(hP.ENTRIES_PER_PAGE).optional().describe(Pl.pagination.entriesPerPage),entryPageNumber:Gt().min(1).default(1).optional().describe(Pl.pagination.entryPageNumber)}),_P=XD(J.GITHUB_VIEW_REPO_STRUCTURE,gP);function vP(e,t){let n=e._cachedItems;if(!n||n.length===0){let{_cachedItems:t,...n}=e;return n}let r=t.entriesPerPage??hP.ENTRIES_PER_PAGE,i=t.entryPageNumber??1,a=n.length,o=Math.max(1,Math.ceil(a/r)),s=(i-1)*r,c=Math.min(s+r,a),l=n.slice(s,c),u={},d=e.path===`/`?``:e.path,f=e=>{let t=e;d&&e.startsWith(d)&&(t=e.slice(d.length),t.startsWith(`/`)&&(t=t.slice(1)));let n=t.lastIndexOf(`/`);return n===-1?`.`:t.slice(0,n)},p=e=>{let t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)};for(let e of l){let t=f(e.path);u[t]||(u[t]={files:[],folders:[]});let n=p(e.path);e.type===`file`?u[t].files.push(n):u[t].folders.push(n)}for(let e of Object.keys(u)){let t=u[e];t&&(t.files.sort(),t.folders.sort())}let m={},h=Object.keys(u).sort((e,t)=>e===`.`?-1:t===`.`?1:e.localeCompare(t));for(let e of h){let t=u[e];t&&(m[e]=t)}let g=l.filter(e=>e.type===`file`).length,_=l.filter(e=>e.type===`dir`).length,v=n.filter(e=>e.type===`file`).length,y=n.filter(e=>e.type===`dir`).length,b=i<o,x={currentPage:i,totalPages:o,hasMore:b,entriesPerPage:r,totalEntries:a},S=aP(x,{owner:e.owner,repo:e.repo,branch:e.branch,path:d,depth:t.depth??1,pageFiles:g,pageFolders:_,allFiles:v,allFolders:y});return{owner:e.owner,repo:e.repo,branch:e.branch,path:e.path,apiSource:e.apiSource,summary:{totalFiles:v,totalFolders:y,truncated:b,filtered:!0,originalCount:a},structure:m,pagination:x,hints:S}}async function yP(e,t,n){let r=await gN(pN(`gh-repo-structure-api`,{owner:e.owner,repo:e.repo,branch:e.branch,path:e.path,depth:e.depth},n),async()=>await bP({...e,entriesPerPage:void 0,entryPageNumber:void 0},t),{shouldCache:e=>!(`error`in e)});return!(`error`in r)&&r.structure?vP(r,e):r}async function bP(e,t){try{let n=await NM(t),{owner:r,repo:i,branch:a,path:o=``,depth:s=1}=e,c=o.startsWith(`/`)?o.substring(1):o,l,u=a;try{l=await n.rest.repos.getContent({owner:r,repo:i,path:c||void 0,ref:a})}catch(e){if(e instanceof PO&&e.status===404){let t=`main`;try{t=(await n.rest.repos.get({owner:r,repo:i})).data.default_branch||`main`}catch(e){let t=BM(e);return await al(J.GITHUB_VIEW_REPO_STRUCTURE,ln.NOT_FOUND.code),{error:ln.NOT_FOUND.message(r,i,t.error),status:t.status}}if(t!==a)try{l=await n.rest.repos.getContent({owner:r,repo:i,path:c||void 0,ref:t}),u=t}catch{let o=[`main`,`master`,`develop`],s=null;for(let e of o)if(!(e===a||e===t))try{l=await n.rest.repos.getContent({owner:r,repo:i,path:c||void 0,ref:e}),s=e,u=e;break}catch{}if(!s){let n=BM(e);return await al(J.GITHUB_VIEW_REPO_STRUCTURE,ln.PATH_NOT_FOUND_ANY_BRANCH.code),{error:ln.PATH_NOT_FOUND_ANY_BRANCH.message(c,r,i),status:n.status,triedBranches:[a,t,...o],defaultBranch:t}}}else{let t=BM(e);return await al(J.GITHUB_VIEW_REPO_STRUCTURE,ln.PATH_NOT_FOUND.code),{error:ln.PATH_NOT_FOUND.message(c,r,i,a),status:t.status}}}else{let t=BM(e);return await al(J.GITHUB_VIEW_REPO_STRUCTURE,ln.ACCESS_FAILED.code),{error:ln.ACCESS_FAILED.message(r,i,t.error),status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset}}}let d=(Array.isArray(l.data)?l.data:[l.data]).map(e=>({name:e.name,path:e.path,type:e.type,size:`size`in e?e.size:void 0,download_url:`download_url`in e?e.download_url:void 0,url:e.url,html_url:e.html_url,git_url:e.git_url,sha:e.sha})),f=d;if(s>1){let e=await xP(n,r,i,u,c,1,s);f=[...d,...e].filter((e,t,n)=>n.findIndex(t=>t.path===e.path)===t)}let p=f.filter(e=>e.type===`dir`?!hD(e.name):!gD(e.path));p.sort((e,t)=>{if(e.type!==t.type)return e.type===`dir`?-1:1;let n=e.path.split(`/`).length,r=t.path.split(`/`).length;return n===r?e.path.localeCompare(t.path):n-r});let m=e.entriesPerPage??hP.ENTRIES_PER_PAGE,h=e.entryPageNumber??1,g=p.length,_=Math.max(1,Math.ceil(g/m)),v=(h-1)*m,y=Math.min(v+m,g),b=p.slice(v,y),x={},S=c||``,C=e=>{let t=e;S&&e.startsWith(S)&&(t=e.slice(S.length),t.startsWith(`/`)&&(t=t.slice(1)));let n=t.lastIndexOf(`/`);return n===-1?`.`:t.slice(0,n)},w=e=>{let t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)};for(let e of b){let t=C(e.path);x[t]||(x[t]={files:[],folders:[]});let n=w(e.path);e.type===`file`?x[t].files.push(n):x[t].folders.push(n)}for(let e of Object.keys(x)){let t=x[e];t&&(t.files.sort(),t.folders.sort())}let T={},E=Object.keys(x).sort((e,t)=>e===`.`?-1:t===`.`?1:e.localeCompare(t));for(let e of E){let t=x[e];t&&(T[e]=t)}let D=b.filter(e=>e.type===`file`).length,O=b.filter(e=>e.type===`dir`).length,k=p.filter(e=>e.type===`file`).length,A=p.filter(e=>e.type===`dir`).length,j=h<_,ee={currentPage:h,totalPages:_,hasMore:j,entriesPerPage:m,totalEntries:g},te=aP(ee,{owner:r,repo:i,branch:u,path:c,depth:s,pageFiles:D,pageFolders:O,allFiles:k,allFolders:A}),ne=e.entriesPerPage===void 0&&e.entryPageNumber===void 0;return{owner:r,repo:i,branch:u,path:c||`/`,apiSource:!0,summary:{totalFiles:k,totalFolders:A,truncated:j,filtered:!0,originalCount:p.length},structure:T,pagination:ee,hints:te,...ne&&{_cachedItems:p.map(e=>({path:e.path,type:e.type}))}}}catch(e){let t=BM(e);return await al(J.GITHUB_VIEW_REPO_STRUCTURE,ln.STRUCTURE_EXPLORATION_FAILED.code),{error:ln.STRUCTURE_EXPLORATION_FAILED.message,status:t.status,rateLimitRemaining:t.rateLimitRemaining,rateLimitReset:t.rateLimitReset}}}async function xP(e,t,n,r,i,a,o,s=new Set){if(a>o||s.has(i))return[];s.add(i);try{let c=await e.rest.repos.getContent({owner:t,repo:n,path:i||void 0,ref:r}),l=(Array.isArray(c.data)?c.data:[c.data]).map(e=>({name:e.name,path:e.path,type:e.type,size:`size`in e?e.size:void 0,download_url:`download_url`in e?e.download_url:void 0,url:e.url,html_url:e.html_url,git_url:e.git_url,sha:e.sha})),u=[...l];if(a<o){let i=l.filter(e=>e.type===`dir`);for(let c=0;c<i.length;c+=3){let l=i.slice(c,c+3).map(async i=>{try{return await xP(e,t,n,r,i.path,a+1,o,s)}catch{return[]}});(await Promise.all(l)).forEach(e=>{u.push(...e)})}}return u}catch{return[]}}const SP=JD.extend({owner:K().min(1).max(200).describe(Al.scope.owner),repo:K().min(1).max(150).describe(Al.scope.repo),path:K().describe(Al.scope.path),branch:K().min(1).max(255).optional().describe(Al.scope.branch),fullContent:Kt().default(!1).describe(Al.range.fullContent),startLine:Gt().int().min(1).optional().describe(Al.range.startLine),endLine:Gt().int().min(1).optional().describe(Al.range.endLine),matchString:K().optional().describe(Al.range.matchString),matchStringContextLines:Gt().int().min(1).max(50).default(5).describe(Al.range.matchStringContextLines),charOffset:Gt().int().min(0).optional().describe(Al.pagination.charOffset),charLength:Gt().int().min(50).max(5e4).optional().describe(Al.pagination.charLength)}).superRefine((e,t)=>{e.fullContent&&(e.startLine||e.endLine||e.matchString)&&t.addIssue({code:V.custom,message:Al.validation.parameterConflict,path:[`fullContent`]}),(e.startLine&&!e.endLine||!e.startLine&&e.endLine)&&t.addIssue({code:V.custom,message:Al.validation.parameterConflict,path:[`startLine`]})}),CP=XD(J.GITHUB_FETCH_CONTENT,SP);function wP(e,t){return e.registerTool(J.GITHUB_FETCH_CONTENT,{description:Dl[J.GITHUB_FETCH_CONTENT],inputSchema:CP,annotations:{title:`GitHub File Content Fetch`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},zD(J.GITHUB_FETCH_CONTENT,async(e,n,r)=>{let i=e.queries||[];return await HN(t,J.GITHUB_FETCH_CONTENT,i),TP(i,n,r)}))}async function TP(e,t,n){return TN(e,async(e,r)=>{try{let r=await lP(EP(e),t,n),i=GN(r,e);if(i)return i;let a=`data`in r?r.data:r,o=DP(a),s=a,c=Array.isArray(s.hints)?s.hints:[],l=typeof s.contentLength==`number`&&s.contentLength>5e4;return UN(e,s,o,J.GITHUB_FETCH_CONTENT,{hintContext:{isLarge:l},extraHints:c})}catch(t){return KN(t,e)}},{toolName:J.GITHUB_FETCH_CONTENT,keysPriority:[`owner`,`repo`,`path`,`branch`,`contentLength`,`content`,`pagination`,`isPartial`,`startLine`,`endLine`,`lastModified`,`lastModifiedBy`,`matchLocations`,`error`]})}function EP(e){let t=!!e.fullContent;return{owner:String(e.owner),repo:String(e.repo),path:String(e.path),branch:e.branch?String(e.branch):void 0,fullContent:t,startLine:t?void 0:e.startLine,endLine:t?void 0:e.endLine,matchString:t||!e.matchString?void 0:String(e.matchString),matchStringContextLines:e.matchStringContextLines??5,charOffset:e.charOffset??0,charLength:e.charLength}}function DP(e){return!!(e&&typeof e==`object`&&`content`in e&&e.content&&String(e.content).length>0)}async function OP(e,t,n){return await gN(pN(`gh-api-repos`,{keywordsToSearch:e.keywordsToSearch,topicsToSearch:e.topicsToSearch,owner:e.owner,stars:e.stars,size:e.size,created:e.created,updated:e.updated,match:e.match,sort:e.sort,limit:e.limit,page:e.page},n),async()=>await kP(e,t),{shouldCache:e=>`data`in e&&!e.error})}async function kP(e,t){try{let n=await NM(t),r=rN(e);if(!r.trim())return await al(J.GITHUB_SEARCH_REPOSITORIES,un.QUERY_EMPTY.code),{error:un.QUERY_EMPTY.message,type:`http`,status:400};let i=Math.min(e.limit||30,100),a=e.page||1,o={q:r,per_page:i,page:a};e.sort&&e.sort!==`best-match`&&(o.sort=e.sort);let s=await n.rest.search.repos(o),c=s.data.items.map(e=>{let t=e.full_name.split(`/`);return{owner:t[0]||``,repo:t[1]||``,defaultBranch:e.default_branch,stars:e.stargazers_count||0,description:e.description?e.description.length>150?e.description.substring(0,150)+`...`:e.description:`No description`,url:e.html_url,createdAt:e.created_at,updatedAt:e.updated_at,pushedAt:e.pushed_at,visibility:e.visibility,...e.topics&&e.topics.length>0&&{topics:e.topics},...e.forks_count&&e.forks_count>0&&{forksCount:e.forks_count},...e.open_issues_count&&e.open_issues_count>0&&{openIssuesCount:e.open_issues_count}}}),l=Math.min(s.data.total_count,1e3),u=Math.min(Math.ceil(l/i),10);return{data:{repositories:c,pagination:{currentPage:a,totalPages:u,perPage:i,totalMatches:l,hasMore:a<u}},status:200,headers:s.headers}}catch(e){return BM(e)}}const AP=JD.extend({keywordsToSearch:qt(K()).optional().describe(Ml.search.keywordsToSearch),topicsToSearch:qt(K()).optional().describe(Ml.search.topicsToSearch),owner:K().optional().describe(Ml.scope.owner),stars:K().optional().describe(Ml.filters.stars),size:K().optional().describe(Ml.filters.size),created:K().optional().describe(Ml.filters.created),updated:K().optional().describe(Ml.filters.updated),match:qt($t([`name`,`description`,`readme`])).optional().describe(Ml.filters.match),sort:$t([`forks`,`stars`,`updated`,`best-match`]).optional().describe(Ml.sorting.sort),limit:Gt().int().min(1).max(100).default(10).optional().describe(Ml.resultLimit.limit),page:Gt().int().min(1).max(10).default(1).optional().describe(Ml.pagination.page)}).refine(e=>e.keywordsToSearch&&e.keywordsToSearch.length>0||e.topicsToSearch&&e.topicsToSearch.length>0,{message:`At least one of 'keywordsToSearch' or 'topicsToSearch' is required`,path:[`keywordsToSearch`]}),jP=XD(J.GITHUB_SEARCH_REPOSITORIES,AP);function MP(e,t){return e.registerTool(J.GITHUB_SEARCH_REPOSITORIES,{description:Dl[J.GITHUB_SEARCH_REPOSITORIES],inputSchema:jP,annotations:{title:`GitHub Repository Search`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},zD(J.GITHUB_SEARCH_REPOSITORIES,async(e,n,r)=>{let i=e.queries||[];return await HN(t,J.GITHUB_SEARCH_REPOSITORIES,i),LP(i,n,r)}))}function NP(e){return!!(e.topicsToSearch&&(Array.isArray(e.topicsToSearch)?e.topicsToSearch.length>0:e.topicsToSearch))}function PP(e){return!!(e.keywordsToSearch&&e.keywordsToSearch.length>0)}function FP(e,t){return e?`${e} (${t===`topics`?`topics-based search`:`keywords-based search`})`:`${t.charAt(0).toUpperCase()+t.slice(1)}-based repository search`}function IP(e){let t=[];for(let n of e){let e=NP(n),r=PP(n);if(e&&r){let{topicsToSearch:e,keywordsToSearch:r,...i}=n;t.push({...i,reasoning:FP(n.reasoning,`topics`),topicsToSearch:e},{...i,reasoning:FP(n.reasoning,`keywords`),keywordsToSearch:r})}else t.push(n)}return t}async function LP(e,t,n){return TN(IP(e),async(e,r)=>{try{let r=await OP(e,t,n),i=GN(r,e);if(i)return i;let a=`data`in r&&r.data.repositories||[],o=`data`in r?r.data.pagination:void 0,s=[];if(o){let{currentPage:e,totalPages:t,totalMatches:n,perPage:r,hasMore:i}=o,a=(e-1)*r+1,c=Math.min(e*r,n);s.push(`Page ${e}/${t} (showing ${a}-${c} of ${n} repos)`),i&&s.push(`Next: page=${e+1}`),e>1&&s.push(`Previous: page=${e-1}`),i||s.push(`Final page`),t>2&&s.push(`Jump to: page=1 (first) or page=${t} (last)`)}let c=RP(e,a.length>0);return UN(e,{repositories:a,pagination:o},a.length>0,J.GITHUB_SEARCH_REPOSITORIES,{extraHints:[...s,...c||[]]})}catch(t){return KN(t,e)}},{toolName:J.GITHUB_SEARCH_REPOSITORIES,keysPriority:[`repositories`,`pagination`,`error`]})}function RP(e,t){let n=[],r=NP(e),i=PP(e);return r&&t?n.push(...El(J.GITHUB_SEARCH_REPOSITORIES,`topicsHasResults`)):r&&!t?n.push(...El(J.GITHUB_SEARCH_REPOSITORIES,`topicsEmpty`)):i&&!t&&!r&&n.push(...El(J.GITHUB_SEARCH_REPOSITORIES,`keywordsEmpty`)),n.length>0?n:void 0}function zP(e){let t=e.split(`
`),n=[],r=0,i=0;for(let e of t){if(e.startsWith(`@@`)){let t=e.match(/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/);t&&t[1]&&t[2]&&(r=parseInt(t[1],10)-1,i=parseInt(t[2],10)-1);continue}e.startsWith(`+`)?(i++,n.push({originalLineNumber:null,newLineNumber:i,content:e,type:`addition`})):e.startsWith(`-`)?(r++,n.push({originalLineNumber:r,newLineNumber:null,content:e,type:`deletion`})):e.startsWith(`\\`)||(r++,i++,n.push({originalLineNumber:r,newLineNumber:i,content:e,type:`context`}))}return n}function BP(e,t,n){if(!e)return``;if(t===void 0&&n===void 0)return e;let r=zP(e),i=t===void 0?null:new Set(t),a=n===void 0?null:new Set(n),o=r.filter(e=>e.type===`addition`&&e.newLineNumber!==null?i===null||i.has(e.newLineNumber):e.type===`deletion`&&e.originalLineNumber!==null?a===null||a.has(e.originalLineNumber):e.type===`context`?i===null||i.size>0||a===null||a.size>0:!1);return o.length===0?``:o.map(e=>`${e.type===`addition`?`+${e.newLineNumber}`:e.type===`deletion`?`-${e.originalLineNumber}`:` ${e.newLineNumber}`}: ${e.content.substring(1)}`).join(`
`)}async function VP(e,t,n){return await gN(pN(`gh-api-prs`,{query:e.query,owner:e.owner,repo:e.repo,prNumber:e.prNumber,state:e.state,draft:e.draft,merged:e.merged,author:e.author,assignee:e.assignee,mentions:e.mentions,commenter:e.commenter,involves:e.involves,"reviewed-by":e[`reviewed-by`],"review-requested":e[`review-requested`],head:e.head,base:e.base,created:e.created,updated:e.updated,"merged-at":e[`merged-at`],closed:e.closed,comments:e.comments,reactions:e.reactions,interactions:e.interactions,label:e.label,"no-assignee":e[`no-assignee`],"no-label":e[`no-label`],"no-milestone":e[`no-milestone`],"no-project":e[`no-project`],match:e.match,sort:e.sort,order:e.order,limit:e.limit,page:e.page,withComments:e.withComments,withCommits:e.withCommits,type:e.type,partialContentMetadata:e.partialContentMetadata},n),async()=>await HP(e,t,n),{shouldCache:e=>!e.error})}async function HP(e,t,n){try{if(e.prNumber&&e.owner&&e.repo&&!Array.isArray(e.owner)&&!Array.isArray(e.repo))return await tF(e,t);let n=await NM(t);if(!aN(e)&&e.owner&&e.repo&&!Array.isArray(e.owner)&&!Array.isArray(e.repo))return await UP(n,e);let r=iN(e);if(!r)return await al(J.GITHUB_SEARCH_PULL_REQUESTS,un.NO_VALID_PARAMETERS.code),{pull_requests:[],total_count:0,error:un.NO_VALID_PARAMETERS.message,hints:[`Provide search query or filters like owner/repo`]};let i=e.sort&&e.sort!==`best-match`&&e.sort!==`created`?e.sort:void 0,a=Math.min(e.limit||30,100),o=e.page||1,s=await n.rest.search.issuesAndPullRequests({q:r,sort:i,order:e.order||`desc`,per_page:a,page:o}),c=s.data.items?.filter(e=>!!e.pull_request)||[],l=(await Promise.all(c.map(async t=>await YP(t,e,n)))).map(GP),u=Math.min(s.data.total_count,1e3),d=Math.min(Math.ceil(u/a),10),f=o<d;return{pull_requests:l,total_count:s.data.total_count,...s.data.incomplete_results&&{incomplete_results:!0},pagination:{currentPage:o,totalPages:d,perPage:a,totalMatches:u,hasMore:f}}}catch(e){let t=BM(e);return await al(J.GITHUB_SEARCH_PULL_REQUESTS,un.PULL_REQUEST_SEARCH_FAILED.code),{pull_requests:[],total_count:0,error:un.PULL_REQUEST_SEARCH_FAILED.message(t.error),hints:[`Verify authentication and search parameters`]}}}async function UP(e,t){try{let n=t.owner,r=t.repo,i=Math.min(t.limit||30,100),a=t.page||1,o=await e.rest.pulls.list({owner:n,repo:r,state:t.state||`open`,per_page:i,page:a,sort:t.sort===`updated`?`updated`:`created`,direction:t.order||`desc`,...t.head&&{head:t.head},...t.base&&{base:t.base}}),s=(await Promise.all(o.data.map(async n=>await eF(n,t,e)))).map(GP),c=o.data.length===i;return{pull_requests:s,total_count:s.length,pagination:{currentPage:a,totalPages:c?a+1:a,perPage:i,totalMatches:s.length,hasMore:c}}}catch(e){let t=BM(e);return await al(J.GITHUB_SEARCH_PULL_REQUESTS,un.PULL_REQUEST_LIST_FAILED.code),{pull_requests:[],total_count:0,error:un.PULL_REQUEST_LIST_FAILED.message(t.error),hints:[`Verify repository access and authentication`]}}}function WP(e){let t=Ul.sanitizeContent(e.title??``),n=e.body?Ul.sanitizeContent(e.body):{content:void 0,warnings:[]},r=new Set([...t.warnings,...n.warnings]),i=e.state?.toLowerCase()===`closed`?`closed`:`open`;return{prData:{number:e.number,title:t.content,body:n.content,state:i,author:e.user?.login??``,labels:e.labels?.map(e=>typeof e==`string`?e:e.name??``)??[],created_at:e.created_at??``,updated_at:e.updated_at??``,closed_at:e.closed_at??null,url:e.html_url,comments:[],reactions:0,draft:e.draft??!1,head:e.head?.ref,head_sha:e.head?.sha,base:e.base?.ref,base_sha:e.base?.sha,...e.merged_at&&{merged_at:e.merged_at}},sanitizationWarnings:r}}function GP(e){return{number:e.number,title:e.title,url:e.url,state:e.state,draft:e.draft??!1,merged:e.state===`closed`&&!!e.merged_at,created_at:e.created_at,updated_at:e.updated_at,closed_at:e.closed_at??void 0,merged_at:e.merged_at,author:e.author,head_ref:e.head||``,head_sha:e.head_sha||``,base_ref:e.base||``,base_sha:e.base_sha||``,body:e.body,comments:e.comments?.length||0,commits:e.commits?.length||0,additions:e.file_changes?.files.reduce((e,t)=>e+t.additions,0)||0,deletions:e.file_changes?.files.reduce((e,t)=>e+t.deletions,0)||0,changed_files:e.file_changes?.total_count||0,...e.file_changes&&{file_changes:e.file_changes.files?.map(e=>({filename:e.filename,status:e.status,additions:e.additions,deletions:e.deletions,patch:e.patch}))},...e.commits&&{commit_details:e.commits},...e.comments&&e.comments.length>0&&{comment_details:e.comments},...e._sanitization_warnings&&{_sanitization_warnings:e._sanitization_warnings}}}async function KP(e,t,n,r){try{return(await e.rest.issues.listComments({owner:t,repo:n,issue_number:r})).data.map(e=>({id:String(e.id),user:e.user?.login??`unknown`,body:Ul.sanitizeContent(e.body??``).content,created_at:e.created_at??``,updated_at:e.updated_at??``}))}catch{return[]}}function qP(e){return{owner:Array.isArray(e.owner)?e.owner[0]||void 0:e.owner,repo:Array.isArray(e.repo)?e.repo[0]||void 0:e.repo}}function JP(e,t){let n=t.type||`metadata`,r=new Map(t.partialContentMetadata?.map(e=>[e.file,e])||[]);return n===`metadata`?e.map(e=>({...e,patch:void 0})):n===`partialContent`?e.filter(e=>r.has(e.filename)).map(e=>{let t=r.get(e.filename);return{...e,patch:e.patch?BP(e.patch,t?.additions,t?.deletions):void 0}}):e}async function YP(e,t,n){let{prData:r,sanitizationWarnings:i}=WP(e);i.size>0&&(r._sanitization_warnings=Array.from(i));let a=t.type||`metadata`,o=a===`fullContent`||a===`partialContent`||a===`metadata`;if(o||e.pull_request)try{let{owner:i,repo:a}=qP(t);if(i&&a){let s=await n.rest.pulls.get({owner:i,repo:a,pull_number:e.number});if(s.data&&(r.head=s.data.head?.ref,r.head_sha=s.data.head?.sha,r.base=s.data.base?.ref,r.base_sha=s.data.base?.sha,r.draft=s.data.draft??!1,s.data.merged_at&&(r.merged_at=s.data.merged_at),o)){let n=await XP(i,a,e.number);n&&(n.files=JP(n.files,t),r.file_changes=n)}}}catch(e){al(J.GITHUB_SEARCH_PULL_REQUESTS,String(e)),r._sanitization_warnings=[...r._sanitization_warnings||[],`Partial Data: Failed to fetch details (files): ${e instanceof Error?e.message:String(e)}`]}if(t.withComments){let{owner:i,repo:a}=qP(t);i&&a&&(r.comments=await KP(n,i,a,e.number))}if(t.withCommits)try{let{owner:n,repo:i}=qP(t);if(n&&i){let a=await $P(n,i,e.number,t);a&&(r.commits=a)}}catch(e){al(J.GITHUB_SEARCH_PULL_REQUESTS,String(e)),r._sanitization_warnings=[...r._sanitization_warnings||[],`Partial Data: Failed to fetch details (commits): ${e instanceof Error?e.message:String(e)}`]}return r}async function XP(e,t,n,r){let i=await NM(r),a=[],o=1,s=!0;do{let r=await i.rest.pulls.listFiles({owner:e,repo:t,pull_number:n,per_page:100,page:o});a.push(...r.data),s=r.data.length===100,o++}while(s);return{total_count:a.length,files:a}}async function ZP(e,t,n,r){return(await(await NM(r)).rest.pulls.listCommits({owner:e,repo:t,pull_number:n})).data}async function QP(e,t,n,r){try{return(await(await NM(r)).rest.repos.getCommit({owner:e,repo:t,ref:n})).data.files||[]}catch{return null}}async function $P(e,t,n,r,i){let a=await ZP(e,t,n,i);if(!a)return null;let o=[...a].sort((e,t)=>{let n=e.commit.author?.date?new Date(e.commit.author.date).getTime():0;return(t.commit.author?.date?new Date(t.commit.author.date).getTime():0)-n});return await Promise.all(o.map(async n=>{let a=await QP(e,t,n.sha,i),o=[];return a&&(o=JP(a,r)),{sha:n.sha,message:n.commit.message,author:n.commit.author?.name||`unknown`,date:n.commit.author?.date||``,files:o}}))}async function eF(e,t,n,r){let{prData:i,sanitizationWarnings:a}=WP(e);a.size>0&&(i._sanitization_warnings=Array.from(a));let o=t.type||`metadata`,s=o===`fullContent`||o===`partialContent`||o===`metadata`,c=t.owner,l=t.repo;if(s)try{let n=await XP(c,l,e.number,r);n&&(n.files=JP(n.files,t),i.file_changes=n)}catch(e){al(J.GITHUB_SEARCH_PULL_REQUESTS,String(e)),i._sanitization_warnings=[...i._sanitization_warnings||[],`Partial Data: Failed to fetch details (files): ${e instanceof Error?e.message:String(e)}`]}if(t.withComments&&(i.comments=await KP(n,c,l,e.number)),t.withCommits)try{let n=await $P(c,l,e.number,t,r);n&&(i.commits=n)}catch(e){al(J.GITHUB_SEARCH_PULL_REQUESTS,String(e)),i._sanitization_warnings=[...i._sanitization_warnings||[],`Partial Data: Failed to fetch details (commits): ${e instanceof Error?e.message:String(e)}`]}return i}async function tF(e,t){let{owner:n,repo:r,prNumber:i}=e;if(!n||!r||!i)return await al(J.GITHUB_SEARCH_PULL_REQUESTS,un.PR_REQUIRED_PARAMS.code),{pull_requests:[],total_count:0,error:un.PR_REQUIRED_PARAMS.message,hints:[`Provide owner, repo, and prNumber`]};if(Array.isArray(n)||Array.isArray(r))return await al(J.GITHUB_SEARCH_PULL_REQUESTS,un.PR_SINGLE_VALUES.code),{pull_requests:[],total_count:0,error:un.PR_SINGLE_VALUES.message,hints:[`Do not use array for owner or repo when fetching by number`]};try{let a=await NM(t),o=(await a.rest.pulls.get({owner:n,repo:r,pull_number:i})).data;return{pull_requests:[GP(await eF(o,e,a,t))],total_count:1}}catch(e){let t=BM(e);return await al(J.GITHUB_SEARCH_PULL_REQUESTS,un.PULL_REQUEST_FETCH_FAILED.code),{pull_requests:[],total_count:0,error:un.PULL_REQUEST_FETCH_FAILED.message(i,t.error),hints:[`Verify that pull request #${i} exists in ${n}/${r}`,`Check if you have access to this repository`,`Ensure the PR number is correct`]}}}const nF=qt($t([`title`,`body`,`comments`])).optional().describe(Nl.filters.match),rF=Jt({created:K().optional().describe(Nl.filters.created),updated:K().optional().describe(Nl.filters.updated)}),iF=JD.extend({query:K().optional().describe(Nl.search.query),owner:K().optional().describe(Nl.scope.owner),repo:K().optional().describe(Nl.scope.repo),prNumber:Gt().int().positive().optional().describe(Nl.scope.prNumber),state:$t([`open`,`closed`]).optional().describe(Nl.filters.state),assignee:K().optional().describe(Nl.filters.assignee),author:K().optional().describe(Nl.filters.author),commenter:K().optional().describe(Nl.filters.commenter),involves:K().optional().describe(Nl.filters.involves),mentions:K().optional().describe(Nl.filters.mentions),"review-requested":K().optional().describe(Nl.filters[`review-requested`]),"reviewed-by":K().optional().describe(Nl.filters[`reviewed-by`]),label:Yt([K(),qt(K())]).optional().describe(Nl.filters.label),"no-label":Kt().optional().describe(Nl.filters[`no-label`]),"no-milestone":Kt().optional().describe(Nl.filters[`no-milestone`]),"no-project":Kt().optional().describe(Nl.filters[`no-project`]),"no-assignee":Kt().optional().describe(Nl.filters[`no-assignee`]),head:K().optional().describe(Nl.filters.head),base:K().optional().describe(Nl.filters.base),created:rF.shape.created,updated:rF.shape.updated,closed:K().optional().describe(Nl.filters.closed),"merged-at":K().optional().describe(Nl.filters[`merged-at`]),comments:Yt([Gt().int().min(0),K().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional().describe(Nl.filters.comments),reactions:Yt([Gt().int().min(0),K().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional().describe(Nl.filters.reactions),interactions:Yt([Gt().int().min(0),K().regex(/^(>=?\d+|<=?\d+|\d+\.\.\d+|\d+)$/)]).optional().describe(Nl.filters.interactions),merged:Kt().optional().describe(Nl.filters.merged),draft:Kt().optional().describe(Nl.filters.draft),match:nF,sort:$t([`created`,`updated`,`best-match`]).optional().describe(Nl.sorting.sort),order:$t([`asc`,`desc`]).optional().default(`desc`).describe(Nl.sorting.order),limit:Gt().min(1).max(10).default(5).optional().describe(Nl.resultLimit.limit),page:Gt().int().min(1).max(10).default(1).optional().describe(Nl.pagination.page),withComments:Kt().default(!1).optional().describe(Nl.outputShaping.withComments),withCommits:Kt().default(!1).optional().describe(Nl.outputShaping.withCommits),type:$t([`metadata`,`fullContent`,`partialContent`]).default(`metadata`).optional().describe(Nl.outputShaping.type),partialContentMetadata:qt(Jt({file:K(),additions:qt(Gt()).optional(),deletions:qt(Gt()).optional()})).optional().describe(Nl.outputShaping.partialContentMetadata)}),aF=XD(J.GITHUB_SEARCH_PULL_REQUESTS,iF),oF={QUERY_TOO_LONG:`Query too long. Maximum 256 characters allowed.`,MISSING_PARAMS:`At least one valid search parameter, filter, or PR number is required.`};function sF(e){return!!(e?.query&&String(e.query).length>256)}function cF(e){return!!(e?.query?.trim()||e?.owner||e?.repo||e?.author||e?.assignee||e?.prNumber&&e?.owner&&e?.repo)}function lF(e,t){return{...e,_validationError:t}}function uF(e,t){return e.registerTool(J.GITHUB_SEARCH_PULL_REQUESTS,{description:Dl[J.GITHUB_SEARCH_PULL_REQUESTS],inputSchema:aF,annotations:{title:`GitHub Pull Request Search`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},zD(J.GITHUB_SEARCH_PULL_REQUESTS,async(e,n,r)=>{let i=e.queries||[];await HN(t,J.GITHUB_SEARCH_PULL_REQUESTS,i);let a=i.findIndex(sF);return a!==-1&&(i=i.map((e,t)=>t===a?lF(e,oF.QUERY_TOO_LONG):e)),i.length>0&&!i.some(cF)&&(i=i.map((e,t)=>t===0?lF(e,oF.MISSING_PARAMS):e)),dF(i,n,r)}))}async function dF(e,t,n){return TN(e,async(e,r)=>{try{let r=e?._validationError;if(r&&typeof r==`string`)return BN(r,e);let i=await VP(e,t,n),a=GN(i,e);if(a)return a;let o=i.pull_requests||[],s=o.length>0,c=[];if(i.pagination){let{currentPage:e,totalPages:t,totalMatches:n,hasMore:r}=i.pagination;c.push(`Page ${e}/${t} (showing ${o.length} of ${n} PRs)`),r&&c.push(`Next: page=${e+1}`),e>1&&c.push(`Previous: page=${e-1}`),r||c.push(`Final page`),t>2&&c.push(`Jump to: page=1 (first) or page=${t} (last)`)}return UN(e,{owner:e.owner,repo:e.repo,pull_requests:o,total_count:i.total_count||o.length,...i.pagination&&{pagination:i.pagination}},s,J.GITHUB_SEARCH_PULL_REQUESTS,{hintContext:{matchCount:o.length},extraHints:c})}catch(t){return KN(t,e)}},{toolName:J.GITHUB_SEARCH_PULL_REQUESTS,keysPriority:[`owner`,`repo`,`pull_requests`,`pagination`,`total_count`,`error`]})}function fF(e,t){return e.registerTool(J.GITHUB_VIEW_REPO_STRUCTURE,{description:Dl[J.GITHUB_VIEW_REPO_STRUCTURE],inputSchema:_P,annotations:{title:`GitHub Repository Structure Explorer`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},zD(J.GITHUB_VIEW_REPO_STRUCTURE,async(e,n,r)=>{let i=e.queries||[];return await HN(t,J.GITHUB_VIEW_REPO_STRUCTURE,i),gF(i,n,r)}))}function pF(e){return{mainResearchGoal:e.mainResearchGoal,researchGoal:e.researchGoal,reasoning:e.reasoning,owner:String(e.owner),repo:String(e.repo),branch:String(e.branch),path:e.path?String(e.path):void 0,depth:typeof e.depth==`number`?e.depth:void 0,entriesPerPage:typeof e.entriesPerPage==`number`?e.entriesPerPage:void 0,entryPageNumber:typeof e.entryPageNumber==`number`?e.entryPageNumber:void 0}}function mF(e){let t={};for(let[n,r]of Object.entries(e)){let e=r.files.filter(e=>!gD(e)),i=r.folders.filter(e=>!hD(e));(e.length>0||i.length>0)&&(t[n]={files:e,folders:i})}return t}function hF(e,t){return{path:e.path||`/`,structure:{},...t}}async function gF(e,t,n){return TN(e,async(e,r)=>{try{let r=pF(e),i=await yP(r,t,n),a=GN(i,e);if(a)return hF(e,a);if(!(`structure`in i)||!i.structure)return hF(e,KN(Error(`Invalid API response structure`),e));let o=mF(i.structure),s=Object.keys(o).length>0,c={owner:r.owner,repo:r.repo,branch:i.branch??r.branch,path:r.path||`/`,structure:o,summary:i.summary};i.pagination&&(c.pagination=i.pagination);let l=i.hints||[],u=Object.values(o).reduce((e,t)=>e+t.files.length+t.folders.length,0);return UN(e,c,s,J.GITHUB_VIEW_REPO_STRUCTURE,{hintContext:{entryCount:u},extraHints:l})}catch(t){return hF(e,KN(t,e,`Failed to explore repository structure`))}},{toolName:J.GITHUB_VIEW_REPO_STRUCTURE,keysPriority:[`owner`,`repo`,`branch`,`path`,`structure`,`error`]})}const _F={name:K().min(1).describe(Fl.search.name),searchLimit:Gt().int().min(1).max(10).optional().default(1).describe(Fl.options.searchLimit)},vF=Xt(`ecosystem`,[JD.extend({..._F,ecosystem:Qt(`npm`).describe(Fl.search.ecosystem),npmFetchMetadata:Kt().optional().default(!1).describe(Fl.options.npmFetchMetadata)}),JD.extend({..._F,ecosystem:Qt(`python`).describe(Fl.search.ecosystem),pythonFetchMetadata:Kt().optional().default(!1).describe(Fl.options.pythonFetchMetadata)})]),yF=XD(J.PACKAGE_SEARCH,vF);function bF(e){return e.replace(/^git\+/,``).replace(/\.git$/,``)}function xF(e){return e.startsWith(`@`)&&e.includes(`/`)?!0:e.includes(` `)?!1:/^[a-z0-9][a-z0-9._-]*$/i.test(e)}function SF(e,t=!1){let n=null;e.repository&&(typeof e.repository==`string`?n=bF(e.repository):e.repository.url&&(n=bF(e.repository.url)));let r;if(e.time){let t=(e.version?e.time[e.version]:void 0)||e.time.modified;t&&(r=t)}let i={repoUrl:n,path:e.name,version:e.version||`latest`,mainEntry:e.main||null,typeDefinitions:e.types||e.typings||null,lastPublished:r};return t&&(e.license&&(i.license=typeof e.license==`string`?e.license:e.license.type),e.author&&(typeof e.author==`string`?i.author=e.author:e.author.name&&(i.author=e.author.name)),e.description&&(i.description=e.description),e.keywords&&e.keywords.length>0&&(i.keywords=e.keywords),e.homepage&&(i.homepage=e.homepage),e.engines&&Object.keys(e.engines).length>0&&(i.engines=e.engines),e.dependencies&&Object.keys(e.dependencies).length>0&&(i.dependencies=e.dependencies),e.peerDependencies&&Object.keys(e.peerDependencies).length>0&&(i.peerDependencies=e.peerDependencies)),i}async function CF(e,t=!1){try{let n=await Os(`view`,[e,`--json`]);if(n.error||n.exitCode!==0)return null;let r=n.stdout.trim();if(!r||r===`undefined`)return null;let i;try{let e=JSON.parse(r);if(i=Array.isArray(e)?e[0]:e,!i)return null}catch{return null}return SF(i,t)}catch{return null}}async function wF(e,t){let n=await CF(e,t);return n?{packages:[n],ecosystem:`npm`,totalFound:1}:{packages:[],ecosystem:`npm`,totalFound:0}}async function TF(e,t,n){try{let r=await Os(`search`,[e,`--json`,`--searchlimit=${t}`]);if(r.error)return{error:`NPM search failed: ${r.error.message}`,hints:[`Ensure npm is installed and available in PATH`,`Check package name for typos`]};if(r.exitCode!==0)return{error:`NPM search failed: ${r.stderr?.trim()||`Unknown error`}`,hints:[`Check package name for typos`,`Try searching with a simpler term`]};let i;try{let e=r.stdout.trim();if(!e||e===`[]`)return{packages:[],ecosystem:`npm`,totalFound:0};i=JSON.parse(e)}catch{return{error:`Failed to parse npm search output`,hints:[`Try a different search term`,`Check npm CLI version`]}}if(!Array.isArray(i))return{error:`Invalid npm search response format`,hints:[`Try a different search term`]};i=i.slice(0,t);let a=await Promise.all(i.map(async e=>{if(n){let t=await CF(e.name,!0);if(t)return t}return{repoUrl:e.links?.repository?bF(e.links.repository):null,path:e.name,version:e.version,mainEntry:null,typeDefinitions:null}}));return{packages:a,ecosystem:`npm`,totalFound:a.length}}catch(e){return{error:`NPM search failed: ${e instanceof Error?e.message:String(e)}`,hints:[`Check package name for typos`,`Try searching with a simpler term`,`Ensure npm is installed`]}}}async function EF(e,t,n){return gN(pN(`npm-search`,{name:e,limit:t,metadata:n}),async()=>t===1&&xF(e)?wF(e,n):TF(e,t,n),{shouldCache:e=>!(`error`in e)})}async function DF(e){try{let t=await Os(`view`,[e,`deprecated`,`--json`]);if(t.error||t.exitCode!==0)return null;let n=t.stdout.trim();if(!n||n===`undefined`||n===``)return{deprecated:!1};try{let e=JSON.parse(n);return{deprecated:!0,message:typeof e==`string`?e:`This package is deprecated`}}catch{return{deprecated:!0,message:n}}}catch{return null}}async function OF(e,t){let n=[e.toLowerCase().replace(/_/g,`-`),e.toLowerCase(),e,e.replace(/-/g,`_`).toLowerCase()],r=[...new Set(n)];for(let n of r)try{let r=encodeURIComponent(n),i=(await ys.get(`https://pypi.org/pypi/${r}/json`,{timeout:15e3,headers:{Accept:`application/json`,"User-Agent":`octocode-mcp/8.0.0`},validateStatus:e=>e===200})).data;if(!i.info)continue;let a=i.info,o=null;if(a.project_urls){let e=[`source`,`repository`,`homepage`,`source code`,`github`,`gitlab`],t=Object.keys(a.project_urls);for(let n of e){let e=t.find(e=>e.toLowerCase()===n);if(e){let t=a.project_urls[e];if(t&&(t.includes(`github`)||t.includes(`gitlab`)||t.includes(`bitbucket`))){o=t;break}}}}if(!o&&a.home_page){let e=a.home_page;(e.includes(`github`)||e.includes(`gitlab`)||e.includes(`bitbucket`))&&(o=e)}if(!t)return{packages:[{name:a.name||e,repository:o}],ecosystem:`python`,totalFound:1};let s=[];a.keywords&&(typeof a.keywords==`string`?s=a.keywords.split(/[,\s]+/).filter(e=>e.trim()):Array.isArray(a.keywords)&&(s=a.keywords)),s=s.slice(0,10);let c=a.summary||a.description||null;c&&c.length>200&&(c=c.substring(0,200)+`...`);let l,u=i.releases;if(u&&a.version&&u[a.version]){let e=u[a.version];if(Array.isArray(e)&&e.length>0){let t=e[0]?.upload_time;t&&(l=t)}}return{packages:[{name:a.name||e,version:a.version||`latest`,description:c,keywords:s,repository:o,homepage:a.home_page||void 0,author:a.author||void 0,license:a.license||void 0,lastPublished:l}],ecosystem:`python`,totalFound:1}}catch(e){if(ys.isAxiosError(e)&&e.response?.status===404)continue;throw e}return{packages:[],ecosystem:`python`,totalFound:0}}async function kF(e,t){return gN(pN(`pypi-search`,{name:e,metadata:t}),async()=>OF(e,t),{shouldCache:e=>!(`error`in e)})}async function AF(e){let t=e.ecosystem===`npm`?e.npmFetchMetadata??!1:e.pythonFetchMetadata??!1,n=e.searchLimit??1;return e.ecosystem===`npm`?await EF(e.name,n,t):kF(e.name,t)}async function jF(e,t){return await Ds(1e4)?e.registerTool(J.PACKAGE_SEARCH,{description:Dl[J.PACKAGE_SEARCH],inputSchema:yF,annotations:{title:`Package Search`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},zD(J.PACKAGE_SEARCH,async(e,n,r)=>{let i=e.queries||[];return await HN(t,J.PACKAGE_SEARCH,i),IF(i)})):null}function MF(e){return`error`in e}function NF(e){return`path`in e?e.path:e.name}function PF(e){return`repoUrl`in e?e.repoUrl:e.repository}function FF(e){if(!e||!e.includes(`github.com`))return{};let t=e.match(/github\.com\/([^/]+)\/([^/]+)/);return t&&t[1]&&t[2]?{owner:t[1],repo:t[2].replace(/\.git$/,``).replace(/\/$/,``)}:{}}async function IF(e){return TN(e,async(e,t)=>{try{let t=await AF(e);if(MF(t))return BN(t.error,e);let n={packages:t.packages.map(e=>{let{owner:t,repo:n}=FF(PF(e));return t&&n?{...e,owner:t,repo:n}:e}),totalFound:t.totalFound},r=n.packages.length>0,i=null;r&&e.ecosystem===`npm`&&n.packages[0]&&(i=await DF(NF(n.packages[0])));let a=r?LF(n,e.ecosystem,i):RF(e);return UN(e,n,r,J.PACKAGE_SEARCH,{extraHints:a})}catch(t){return KN(t,e)}},{toolName:J.PACKAGE_SEARCH,keysPriority:[`packages`,`totalFound`,`error`]})}function LF(e,t,n){let r=[],i=e.packages[0];if(!i)return r;let a=NF(i),o=PF(i);if(n?.deprecated){let e=n.message||`This package is deprecated`;r.push(`DEPRECATED: ${a} - ${e}`)}if(o?.includes(`github.com`)){let e=o.match(/github\.com\/([^/]+)\/([^/]+)/);if(e&&e[1]&&e[2]){let t=e[1],n=e[2].replace(/\.git$/,``).replace(/\/$/,``);r.push(`Explore: githubViewRepoStructure(owner="${t}", repo="${n}")`)}}return r.push(t===`npm`?`Install: npm install ${a}`:`Install: pip install ${a}`),r}function RF(e){let t=[],n=e.name;t.push(`No ${e.ecosystem} packages found for '${n}'`);let r=zF(n,e.ecosystem);r.length>0&&t.push(`Try: ${r.join(`, `)}`);let i=e.ecosystem===`npm`?`https://npmjs.com/search?q=${encodeURIComponent(n)}`:`https://pypi.org/search/?q=${encodeURIComponent(n)}`;return t.push(`Browse: ${i}`),t}function zF(e,t){let n=[];if(e.includes(`-`)&&(n.push(e.replace(/-/g,`_`)),n.push(e.replace(/-/g,``))),e.includes(`_`)&&n.push(e.replace(/_/g,`-`)),e.startsWith(`@`)){let t=e.split(`/`).pop();t&&n.push(t)}return t===`npm`&&!e.endsWith(`js`)&&n.push(e+`js`),t===`python`&&!e.startsWith(`py`)&&n.push(`py`+e),[...new Set(n)].filter(t=>t!==e).slice(0,3)}var BF=class{command;args=[];constructor(e){this.command=e}addFlag(e){return this.args.push(e),this}prependArg(e){return this.args.unshift(e),this}addOption(e,t){return this.args.push(e,String(t)),this}addArg(e){return this.args.push(e),this}build(){return{command:this.command,args:[...this.args]}}reset(){return this.args=[],this}getArgs(){return[...this.args]}};const VF={COMMAND_TIMEOUT:3e4,MAX_OUTPUT_SIZE:10*1024*1024,MAX_RESULTS:100,CONTEXT_LINES:5,MAX_OUTPUT_CHARS:2e3},HF={MCP_MAX_TOKENS:25e3,CHARS_PER_TOKEN:4,DEFAULT_CHAR_LENGTH:1e4,RECOMMENDED_CHAR_LENGTH:1e4,MAX_FETCH_CONTENT_CHARS:5e4,MAX_OUTPUT_SIZE_BYTES:10*1024*1024,LARGE_FILE_THRESHOLD_KB:100,MAX_ENTRIES_BEFORE_PAGINATION:100,MAX_FILES_DEFAULT:1e3,DEFAULT_ENTRIES_PER_PAGE:20,MAX_ENTRIES_PER_PAGE:20,MAX_LIST_ITEMS_DETAILED:100,MAX_LIST_ITEMS_SIMPLE:200,MAX_ARCHIVE_ENTRIES_PER_PAGE:100,MAX_DIR_ENTRIES_PER_PAGE:100,MAX_DIR_ENTRIES_TREE:1e3,DEFAULT_EXEC_TIMEOUT_MS:3e4,DEFAULT_MAX_MATCHES_PER_FILE:3,DEFAULT_CONTEXT_LINES:5,DEFAULT_MATCH_CONTENT_LENGTH:200,MAX_MATCH_CONTENT_LENGTH:800,DEFAULT_MATCHES_PER_PAGE:10,MAX_MATCHES_PER_PAGE:100,DEFAULT_FILES_PER_PAGE:10,MAX_FILES_PER_PAGE:20,MAX_RIPGREP_DIRECTORY_SIZE_MB:100,MAX_FILE_COUNT_FOR_SEARCH:1e3,ESTIMATED_AVG_FILE_SIZE_BYTES:50*1024,BINARY_MAX_BYTES:10*1024,BINARY_DEFAULT_HEX_LINES:20,BINARY_DEFAULT_MIN_STRING_LENGTH:6,MAX_ARCHIVE_FILES:1e3,DEFAULT_ARCHIVE_MAX_FILES:200,GLOBAL_MEMORY_LIMIT_BYTES:100*1024*1024,PER_OPERATION_MEMORY_LIMIT_BYTES:10*1024*1024,MEMORY_RESERVATION_TIMEOUT_MS:300*1e3,TOKEN_CRITICAL_THRESHOLD:5e4,TOKEN_HIGH_THRESHOLD:25e3,TOKEN_MODERATE_THRESHOLD:1e4,TOKEN_NOTICE_THRESHOLD:2500};var UF=class extends BF{constructor(){super(`rg`)}simple(e,t){return this.addFlag(`-n`),this.addFlag(`--column`),this.addFlag(`-S`),this.addOption(`--color`,`never`),this.addOption(`--sort`,`path`),this.addArg(e),this.addArg(t),this}smartCase(){return this.addFlag(`-S`),this}filesOnly(){return this.addFlag(`-l`),this}context(e){return this.addOption(`-C`,e),this}include(e){return this.addOption(`-g`,e),this}exclude(e){return this.addOption(`-g`,`!${e}`),this}excludeDir(e){return this.addOption(`-g`,`!${e}/`),this}type(e){return this.addOption(`-t`,e),this}fixedString(){return this.addFlag(`-F`),this}perlRegex(){return this.addFlag(`-P`),this}maxMatches(e){return this.addOption(`-m`,e),this}fromQuery(e){if(e.fixedString?this.addFlag(`-F`):e.perlRegex&&this.addFlag(`-P`),e.caseSensitive?this.addFlag(`-s`):e.caseInsensitive?this.addFlag(`-i`):e.smartCase!==!1&&this.addFlag(`-S`),e.noUnicode&&this.addFlag(`--no-unicode`),e.encoding&&this.addOption(`-E`,e.encoding),e.wholeWord&&this.addFlag(`-w`),e.invertMatch&&this.addFlag(`-v`),e.binaryFiles&&(e.binaryFiles===`text`?this.addFlag(`-a`):e.binaryFiles===`binary`&&this.addFlag(`--binary`)),e.followSymlinks&&this.addFlag(`-L`),e.contextLines!==void 0&&e.contextLines>0?this.addOption(`-C`,e.contextLines):(e.beforeContext!==void 0&&e.beforeContext>0&&this.addOption(`-B`,e.beforeContext),e.afterContext!==void 0&&e.afterContext>0&&this.addOption(`-A`,e.afterContext)),this.addFlag(`-n`),this.addFlag(`--column`),e.filesOnly?this.addFlag(`-l`):e.filesWithoutMatch?this.addFlag(`--files-without-match`):e.countMatches?this.addFlag(`--count-matches`):e.count&&this.addFlag(`-c`),e.maxMatchesPerFile!==void 0)this.addOption(`-m`,e.maxMatchesPerFile);else if(!e.filesOnly&&!e.count&&!e.countMatches){let t=e.matchesPerPage&&Number.isFinite(e.matchesPerPage)?e.matchesPerPage:HF.DEFAULT_MATCHES_PER_PAGE;this.addOption(`-m`,t)}if(e.type&&this.addOption(`-t`,e.type),e.include&&e.include.length>0){let t=this._consolidateGlobs(e.include);for(let e of t)this.addOption(`-g`,e)}if(e.exclude&&e.exclude.length>0)for(let t of e.exclude)this.addOption(`-g`,`!${t}`);if(e.excludeDir&&e.excludeDir.length>0)for(let t of e.excludeDir)this.addOption(`-g`,`!${t}/`);e.noIgnore&&this.addFlag(`--no-ignore`),e.hidden&&this.addFlag(`--hidden`),e.multiline&&(this.addFlag(`-U`),e.multilineDotall&&this.addFlag(`--multiline-dotall`)),this.addFlag(`--json`),e.threads!==void 0&&this.addOption(`-j`,e.threads),e.mmap===!1&&this.addFlag(`--no-mmap`),e.includeStats&&this.addFlag(`--stats`);let t=e.sort||`path`;return e.sortReverse?(this.clearSortOption(),this.addOption(`--sortr`,t)):(this.clearSortrOption(),this.addOption(`--sort`,t)),this.addOption(`--color`,`never`),e.noMessages&&this.addFlag(`--no-messages`),e.lineRegexp&&this.addFlag(`-x`),e.passthru&&this.addFlag(`--passthru`),e.debug&&this.addFlag(`--debug`),this.addArg(e.pattern),this.addArg(e.path),this}_consolidateGlobs(e){let t=/^\*\.([a-zA-Z0-9]+)$/,n=[],r=[];for(let i of e){let e=i.match(t);e&&e[1]?n.push(e[1]):r.push(i)}let i=[];return n.length>1?i.push(`*.{${n.join(`,`)}}`):n.length===1&&i.push(`*.${n[0]}`),i.push(...r),i}clearSortOption(){let e=this.args.indexOf(`--sort`);e!==-1&&e<this.args.length-1&&this.args.splice(e,2)}clearSortrOption(){let e=this.args.indexOf(`--sortr`);e!==-1&&e<this.args.length-1&&this.args.splice(e,2)}};const WF={ts:[`ts`,`tsx`],js:[`js`,`jsx`,`mjs`,`cjs`],py:[`py`,`pyi`],rust:[`rs`],go:[`go`],java:[`java`],cpp:[`cpp`,`cc`,`cxx`,`hpp`,`h`],c:[`c`,`h`],css:[`css`,`scss`,`sass`,`less`],html:[`html`,`htm`],json:[`json`],yaml:[`yaml`,`yml`],md:[`md`,`markdown`],xml:[`xml`],sh:[`sh`,`bash`,`zsh`],rb:[`rb`],php:[`php`],swift:[`swift`],kt:[`kt`,`kts`],scala:[`scala`],sql:[`sql`],vim:[`vim`],lua:[`lua`],r:[`r`,`R`],dockerfile:[`Dockerfile`],make:[`Makefile`,`makefile`,`mk`]};function GF(e){return{smartCase:e.smartCase===!0,multiline:e.multiline===!0,countMatches:e.countMatches===!0,jsonOutput:e.jsonOutput===!0,sortOptions:e.sort!==void 0&&e.sort!==`path`,threads:e.threads!==void 0,mmap:e.mmap!==void 0,stats:e.includeStats===!0,gitignore:!e.noIgnore}}function KF(e){let t=[],n=GF(e);return n.smartCase&&t.push(`smartCase not supported by grep - using case-insensitive search (-i)`),n.multiline&&t.push(`multiline patterns not supported by grep - feature disabled`),n.countMatches&&t.push(`countMatches not supported by grep - using line count (-c) instead`),n.sortOptions&&t.push(`sort="${e.sort}" not supported by grep - results will be in file order`),n.gitignore&&t.push(`grep does not respect .gitignore - all files will be searched`),n.stats&&t.push(`includeStats not supported by grep - stats will not be available`),t}var qF=class extends BF{constructor(){super(`grep`)}simple(e,t){return this.addFlag(`-r`),this.addFlag(`-n`),this.addFlag(`-H`),this.addFlag(`-I`),this.addOption(`--color`,`never`),this.addArg(e),this.addArg(t),this}caseInsensitive(){return this.addFlag(`-i`),this}filesOnly(){return this.addFlag(`-l`),this}context(e){return this.addOption(`-C`,e),this}include(e){return this.addOption(`--include`,e),this}exclude(e){return this.addOption(`--exclude`,e),this}excludeDir(e){return this.addOption(`--exclude-dir`,e),this}fixedString(){return this.addFlag(`-F`),this}fromQuery(e){if(this.addFlag(`-r`),e.fixedString?this.addFlag(`-F`):e.perlRegex&&this.addFlag(`-E`),(e.caseInsensitive||e.smartCase)&&this.addFlag(`-i`),e.wholeWord&&this.addFlag(`-w`),e.invertMatch&&this.addFlag(`-v`),e.contextLines!==void 0&&e.contextLines>0?this.addOption(`-C`,e.contextLines):(e.beforeContext!==void 0&&e.beforeContext>0&&this.addOption(`-B`,e.beforeContext),e.afterContext!==void 0&&e.afterContext>0&&this.addOption(`-A`,e.afterContext)),this.addFlag(`-n`),e.filesOnly?this.addFlag(`-l`):e.filesWithoutMatch?this.addFlag(`-L`):(e.count||e.countMatches)&&this.addFlag(`-c`),e.type){let t=WF[e.type];if(t)for(let e of t)this.addOption(`--include`,`*.${e}`);else this.addOption(`--include`,`*.${e.type}`)}if(e.include&&e.include.length>0)for(let t of e.include)this.addOption(`--include`,t);if(e.exclude&&e.exclude.length>0)for(let t of e.exclude)this.addOption(`--exclude`,t);if(e.excludeDir&&e.excludeDir.length>0)for(let t of e.excludeDir)this.addOption(`--exclude-dir`,t);return e.binaryFiles?e.binaryFiles===`text`?this.addFlag(`-a`):e.binaryFiles===`without-match`&&this.addFlag(`-I`):this.addFlag(`-I`),this.addOption(`--color`,`never`),this.addFlag(`-H`),e.lineRegexp&&this.addFlag(`-x`),this.addArg(e.pattern),this.addArg(e.path),this}};const JF=Dl[J.LOCAL_RIPGREP],YF=YD.extend({pattern:K().min(1).describe(Il.search.pattern),path:K().describe(Il.search.path),mode:$t([`discovery`,`paginated`,`detailed`]).optional().describe(Il.search.mode),fixedString:Kt().optional().describe(Il.options.fixedString),perlRegex:Kt().optional().describe(Il.options.perlRegex),smartCase:Kt().optional().default(!0).describe(Il.options.smartCase),caseInsensitive:Kt().optional().describe(Il.options.caseInsensitive),caseSensitive:Kt().optional().describe(Il.options.caseSensitive),wholeWord:Kt().optional().describe(Il.options.wholeWord),invertMatch:Kt().optional().describe(Il.options.invertMatch),type:K().optional().describe(Il.filters.type),include:qt(K()).optional().describe(Il.filters.include),exclude:qt(K()).optional().describe(Il.filters.exclude),excludeDir:qt(K()).optional().describe(Il.filters.excludeDir),noIgnore:Kt().optional().describe(Il.filters.noIgnore),hidden:Kt().optional().describe(Il.filters.hidden),followSymlinks:Kt().optional().describe(Il.filters.followSymlinks),filesOnly:Kt().optional().describe(Il.output.filesOnly),filesWithoutMatch:Kt().optional().describe(Il.output.filesWithoutMatch),count:Kt().optional().describe(Il.output.count),countMatches:Kt().optional().describe(Il.output.countMatches),contextLines:Gt().int().min(0).max(50).optional().describe(Il.context.contextLines),beforeContext:Gt().int().min(0).max(50).optional().describe(Il.context.beforeContext),afterContext:Gt().int().min(0).max(50).optional().describe(Il.context.afterContext),matchContentLength:Gt().int().min(1).max(800).optional().default(200).describe(Il.context.matchContentLength),lineNumbers:Kt().optional().default(!0).describe(Il.context.lineNumbers),column:Kt().optional().describe(Il.context.column),maxMatchesPerFile:Gt().int().min(1).max(100).optional().describe(Il.pagination.maxMatchesPerFile),maxFiles:Gt().int().min(1).max(1e3).optional().describe(Il.pagination.maxFiles),filesPerPage:Gt().int().min(1).max(20).optional().default(10).describe(Il.pagination.filesPerPage),filePageNumber:Gt().int().min(1).optional().default(1).describe(Il.pagination.filePageNumber),matchesPerPage:Gt().int().min(1).max(100).optional().default(10).describe(Il.pagination.matchesPerPage),multiline:Kt().optional().describe(Il.options.multiline),multilineDotall:Kt().optional().describe(Il.options.multilineDotall),binaryFiles:$t([`text`,`without-match`,`binary`]).optional().default(`without-match`).describe(Il.filters.binaryFiles),includeStats:Kt().optional().default(!0).describe(Il.output.includeStats),jsonOutput:Kt().optional().describe(Il.output.jsonOutput),vimgrepFormat:Kt().optional().describe(Il.output.vimgrepFormat),includeDistribution:Kt().optional().default(!0).describe(Il.output.includeDistribution),threads:Gt().int().min(1).max(32).optional().describe(Il.advanced.threads),mmap:Kt().optional().describe(Il.advanced.mmap),noUnicode:Kt().optional().describe(Il.advanced.noUnicode),encoding:K().optional().describe(Il.advanced.encoding),sort:$t([`path`,`modified`,`accessed`,`created`]).optional().default(`path`).describe(Il.advanced.sort),sortReverse:Kt().optional().describe(Il.advanced.sortReverse),noMessages:Kt().optional().describe(Il.advanced.noMessages),lineRegexp:Kt().optional().describe(Il.advanced.lineRegexp),passthru:Kt().optional().describe(Il.advanced.passthru),debug:Kt().optional().describe(Il.advanced.debug),showFileLastModified:Kt().default(!1).describe(Il.advanced.showFileLastModified)}),XF=XD(J.LOCAL_RIPGREP,YF,{maxQueries:5});function ZF(e){if(!e.mode)return e;let t={};switch(e.mode){case`discovery`:t.filesOnly=!0,t.smartCase=!0;break;case`paginated`:t.filesPerPage=10,t.matchesPerPage=10,t.smartCase=!0;break;case`detailed`:t.contextLines=3,t.filesPerPage=10,t.matchesPerPage=20,t.smartCase=!0;break}return{...t,...e}}function QF(e){let t=[],n=[];if(e.fixedString&&e.perlRegex&&n.push(`fixedString and perlRegex are mutually exclusive. Choose one.`),e.filesOnly&&e.count&&t.push(`filesOnly and count are mutually exclusive. Using filesOnly.`),e.filesOnly&&e.filesWithoutMatch&&n.push(`filesOnly and filesWithoutMatch are mutually exclusive. Choose one.`),e.passthru&&e.filesOnly&&n.push(`passthru and filesOnly are mutually exclusive.`),e.passthru&&t.push(`passthru prints ALL lines from matched files. This can produce very large output. Consider using context lines instead.`),e.lineRegexp&&e.wholeWord&&t.push(`lineRegexp and wholeWord both specified. lineRegexp takes precedence.`),e.invertMatch&&!e.filesWithoutMatch&&t.push(`invertMatch inverts at LINE level (shows non-matching lines). Files in results may still contain the pattern on other lines. For FILE-level inversion (files without ANY matches), use filesWithoutMatch=true instead.`),[e.caseInsensitive,e.caseSensitive,e.smartCase].filter(Boolean).length>1&&t.push(`Multiple case sensitivity modes specified. Priority: caseSensitive > caseInsensitive > smartCase`),e.contextLines&&e.contextLines>2||e.beforeContext&&e.beforeContext>2||e.afterContext&&e.afterContext>2){let n=e.matchContentLength||200;t.push(`Context lines enabled (${e.contextLines||e.beforeContext||e.afterContext} lines). Match values will include context and be truncated to ${n} chars. Use matchesPerPage for pagination.`)}if(e.multiline&&t.push(`Multiline mode is memory-intensive and slower. Entire files are loaded into memory. Only use when pattern genuinely spans multiple lines.`),e.perlRegex&&!e.noUnicode&&e.multiline&&t.push(`PERFORMANCE TIP: For fastest PCRE2 multiline searches on ASCII codebases, consider using noUnicode=true (2-3x faster).`),!e.filesOnly&&!e.count&&!e.maxMatchesPerFile&&!e.matchesPerPage&&t.push(`No output limiting specified. Consider setting maxMatchesPerFile (default: 3) to control output size.`),e.include&&e.include.length>1){let n=e.include.every(e=>e.match(/^\*\.[a-zA-Z0-9]+$/)),r=e.include[0];if(n&&r&&!r.includes(`{`)){let n=e.include.map(e=>e.replace(`*.`,``)).join(`,`);t.push(`TIP: Consolidate globs for better performance: include=["*.{${n}}"] instead of separate globs.`)}}if(e.include&&!e.type){let n=e.include[0]?.match(/^\*\.([a-z]+)$/)?.[1];n&&[`ts`,`js`,`py`,`rust`,`go`,`java`,`cpp`,`c`].includes(n)&&t.push(`TIP: Use type="${n}" instead of include glob for cleaner syntax.`)}return{isValid:n.length===0,warnings:t,errors:n}}const $F=[/^\.git$/,/^\.git\//,/\/\.git$/,/\/\.git\//,/^\.ssh$/,/^\.ssh\//,/\/\.ssh$/,/\/\.ssh\//,/^\.aws$/,/^\.aws\//,/\/\.aws$/,/\/\.aws\//,/^\.docker$/,/^\.docker\//,/\/\.docker$/,/\/\.docker\//,/^\.config\/gcloud$/,/^\.config\/gcloud\//,/\/\.config\/gcloud$/,/\/\.config\/gcloud\//,/^\.azure$/,/^\.azure\//,/\/\.azure$/,/\/\.azure\//,/^\.kube$/,/^\.kube\//,/\/\.kube$/,/\/\.kube\//,/^\.terraform$/,/^\.terraform\//,/\/\.terraform$/,/\/\.terraform\//,/^secrets$/,/^secrets\//,/\/secrets$/,/\/secrets\//,/^private$/,/^private\//,/\/private$/,/\/private\//,/^\.password-store$/,/^\.password-store\//,/\/\.password-store$/,/\/\.password-store\//,/\.mozilla\/firefox\//,/\.config\/chromium\//,/\.config\/google-chrome\//,/Library\/Application Support\/Google\/Chrome\//,/Library\/Application Support\/Firefox\//,/Library\/Keychains\//,/^\.thunderbird$/,/^\.thunderbird\//,/\/\.thunderbird$/,/\/\.thunderbird\//,/^\.evolution$/,/^\.evolution\//,/\/\.evolution$/,/\/\.evolution\//,/^\.vagrant$/,/^\.vagrant\//,/\/\.vagrant$/,/\/\.vagrant\//,/^\.minikube$/,/^\.minikube\//,/\/\.minikube$/,/\/\.minikube\//,/^\.bitcoin$/,/^\.bitcoin\//,/\/\.bitcoin$/,/\/\.bitcoin\//,/^\.ethereum$/,/^\.ethereum\//,/\/\.ethereum$/,/\/\.ethereum\//,/^\.electrum$/,/^\.electrum\//,/\/\.electrum$/,/\/\.electrum\//],eI=[/^\.env$/,/^\.env\.local$/,/^\.env\.development$/,/^\.env\.production$/,/^\.env\.test$/,/^\.env\..+$/,/\.env$/,/\.env\.local$/,/\.env\..+$/,/^\.npmrc$/,/^\.pypirc$/,/^\.netrc$/,/^\.dockercfg$/,/^\.docker\/config\.json$/,/^credentials$/,/^\.credentials$/,/^\.aws\/credentials$/,/^\.aws\/config$/,/^\.ssh\/.*$/,/^id_rsa$/,/^id_dsa$/,/^id_ecdsa$/,/^id_ed25519$/,/^id_rsa\.pub$/,/^id_dsa\.pub$/,/^id_ecdsa\.pub$/,/^id_ed25519\.pub$/,/^known_hosts$/,/^authorized_keys$/,/.*_rsa$/,/.*_dsa$/,/.*_ecdsa$/,/.*_ed25519$/,/^private.*\.key$/,/^private.*\.pem$/,/^.*[-_]private[-_].*\.key$/,/^.*[-_]private[-_].*\.pem$/,/[-_]private\.key$/,/[-_]private\.pem$/,/^.*\.private\.key$/,/^.*\.private\.pem$/,/\.pem$/,/\.key$/,/\.crt$/,/\.cer$/,/\.keystore$/,/\.p12$/,/\.pfx$/,/\.jks$/,/\.ppk$/,/^service[-_]account.*\.json$/,/^.*-service[-_]account.*\.json$/,/^application[-_]default[-_]credentials\.json$/,/^gcloud[-_]credentials\.json$/,/^kubeconfig$/,/^\.kube\/config$/,/^k8s[-_]config$/,/^terraform\.tfstate$/,/^terraform\.tfstate\.backup$/,/^terraform\.tfvars$/,/^\.terraform\.lock\.hcl$/,/^\.pgpass$/,/^\.my\.cnf$/,/^\.psqlrc$/,/^secrets\.yml$/,/^master\.key$/,/^config\/master\.key$/,/^wp-config\.php$/,/^google-services\.json$/,/^GoogleService-Info\.plist$/,/^keystore\.properties$/,/\.mobileprovision$/,/\.provisionprofile$/,/^\.token$/,/^token\.txt$/,/^access_token$/,/^refresh_token$/,/^bearer_token$/,/^auth_token$/,/^client_secret.*\.json$/,/^oauth2.*\.json$/,/^\.password$/,/^password\.txt$/,/^passwords\.txt$/,/^\.secret$/,/^secret\.txt$/,/^secrets\.txt$/,/^apikey\.txt$/,/^api_key\.txt$/,/^api-key\.txt$/,/^\.git-credentials$/,/^git-credentials$/,/^\.htpasswd$/,/^auth\.json$/,/^\.ftpconfig$/,/^ftpconfig\.json$/,/^_netrc$/,/^\.bash_history$/,/^\.zsh_history$/,/^\.sh_history$/,/^\.history$/,/^\.mysql_history$/,/^\.psql_history$/,/^\.sqlite_history$/,/^\.pip\/pip\.conf$/,/^credentials\.xml$/,/^secrets\/.*\.xml$/,/^shadow$/,/^shadow\.bak$/,/^gshadow$/,/^\.muttrc$/,/^\.mailrc$/,/^\.ircrc$/,/^\.s3cfg$/,/^s3cfg$/,/^\.slack-token$/,/^slack[-_]token$/,/^\.github[-_]token$/,/^github[-_]token$/,/^\.netrc\.heroku$/,/^\.circleci\/local[-_]config\.yml$/,/^vault[-_]pass.*\.txt$/,/^\.vault[-_]pass.*$/,/^\.npm[-_]token$/,/^settings\.xml$/,/^\.m2\/settings\.xml$/,/^gradle\.properties$/,/^\.gradle\/gradle\.properties$/,/^\.subversion\/auth\/.*$/,/^Login Data$/,/^Cookies$/,/\/Login Data$/,/\/Cookies$/,/\/logins\.json$/,/\/key[34]\.db$/,/\.mozilla\/firefox\/.*\/logins\.json$/,/\.mozilla\/firefox\/.*\/key[34]\.db$/,/\.config\/chromium\/.*\/Login Data$/,/\.config\/google-chrome\/.*\/Login Data$/,/\.kdbx$/,/\.kdb$/,/^1Password\.sqlite$/,/^1Password.*\.sqlite$/,/\.agilekeychain\//,/\.opvault\//,/^password-store$/,/^passwords\.kdbx$/,/^keepass\.kdbx$/,/^wallet\.dat$/,/^default_wallet$/,/^\.bitcoin\/wallet\.dat$/,/^\.ethereum\/keystore\/.*$/,/^\.electrum\/wallets\/.*$/,/\/keystore\/UTC--.*$/,/^dump\.rdb$/,/^mongodb\.dump$/,/\.bson$/,/\.dump$/,/^\.idea\/dataSources\.xml$/,/^\.idea\/webServers\.xml$/,/^\.idea\/deployment\.xml$/,/^\.vagrant\/machines\/.*\/private_key$/,/^\.vagrant\.d\/insecure_private_key$/,/^cookies\.txt$/,/^\.cookies$/,/^session$/,/^sessionid$/,/^\.wget-hsts$/,/^core$/,/^core\.\d+$/,/\.core$/,/\.dmp$/,/\.mdmp$/,/^Credentials$/,/^NTUSER\.DAT$/,/^SAM$/,/\.keychain$/,/\.keychain-db$/,/\.csr$/,/^oauth[-_]token.*$/,/^bearer[-_]token.*$/,/^jwt[-_]token.*$/,/^\.token\..*$/,/^api[-_]keys?\..*$/,/^\.redis_history$/,/^\.mongo_history$/,/^\.dbshell$/,/^docker-compose\.override\.yml$/,/^docker-compose\..*\.yml$/,/^\.gcp[-_]credentials\.json$/,/^\.azure[-_]credentials$/,/^\.do[-_]token$/,/^\.linode[-_]token$/,/^\.msmtprc$/,/^\.fetchmailrc$/,/^wireguard\.conf$/,/^wg[0-9]+\.conf$/,/\.ovpn$/,/^PASSWORDS\.md$/,/^SECRETS\.md$/,/^CREDENTIALS\.md$/,/^ACCESS\.md$/,/^\.env\.dusk\..*$/,/\.asc$/,/\.gpg$/,/^\.ssh\/config$/,/\.rdp$/,/^credentials\.db$/,/^credentials\.sqlite$/,/\.postman_environment\.json$/,/^\.ruby-env$/,/^\.rbenv-vars$/,/^\.python-env$/,/^\.node-env$/,/^\.rsync[-_]password$/,/^rsync[-_]password$/];function tI(e){if(!e||e.trim()===``)return!0;let t=e.replace(/\\/g,`/`),n=t.split(`/`);for(let e of n)if($F.some(t=>t.test(e)))return!0;return!!$F.some(e=>e.test(t))}function nI(e){if(!e||e.trim()===``)return!0;let t=e.replace(/\\/g,`/`),n=t.split(`/`).pop()||``;return!!(eI.some(e=>e.test(n))||eI.some(e=>e.test(t)))}function rI(e){return tI(e)||nI(e)}const iI=new class{allowedRoots;constructor(e){let t=typeof e==`string`?{workspaceRoot:e}:e||{},r=t.workspaceRoot?this.expandTilde(t.workspaceRoot):process.cwd();if(this.allowedRoots=[n.resolve(r)],t.includeHomeDir!==!1){let e=o.homedir();e&&!this.allowedRoots.includes(e)&&this.allowedRoots.push(e)}if(t.additionalRoots)for(let e of t.additionalRoots)this.addAllowedRoot(e);let i=process.env.ALLOWED_PATHS;if(i){let e=i.split(`,`).map(e=>e.trim()).filter(e=>e.length>0);for(let t of e)this.addAllowedRoot(t)}}expandTilde(e){return e.startsWith(`~`)?n.join(o.homedir(),e.slice(1)):e}addAllowedRoot(e){let t=this.expandTilde(e),r=n.resolve(t);this.allowedRoots.includes(r)||this.allowedRoots.push(r)}validate(e){if(!e||e.trim()===``)return{isValid:!1,error:`Path cannot be empty`};let t=this.expandTilde(e),r=n.resolve(t);if(!this.allowedRoots.some(e=>r===e?!0:r.startsWith(e+n.sep)))return{isValid:!1,error:`Path '${e}' is outside allowed directories. Allowed roots: ${this.allowedRoots.join(`, `)}`};if(rI(r))return{isValid:!1,error:`Path '${e}' is in an ignored directory or matches an ignored pattern`};try{let e=p.realpathSync(r);return this.allowedRoots.some(t=>e===t||e.startsWith(t+n.sep))?rI(e)?{isValid:!1,error:`Symlink target '${e}' is in an ignored directory or matches an ignored pattern`}:{isValid:!0,sanitizedPath:e}:{isValid:!1,error:`Symlink target '${e}' is outside allowed directories`}}catch(t){if(t instanceof Error){let n=t;if(n.code===`ENOENT`)return{isValid:!0,sanitizedPath:r};if(n.code===`EACCES`)return{isValid:!1,error:`Permission denied accessing path: ${e}`};if(n.code===`ELOOP`)return{isValid:!1,error:`Symlink loop detected at path: ${e}`};if(n.code===`ENAMETOOLONG`)return{isValid:!1,error:`Path name too long: ${e}`}}return{isValid:!1,error:`Unexpected error validating path: ${e}`}}}async exists(e){let t=this.validate(e);if(!t.isValid||!t.sanitizedPath)return!1;try{return await p.promises.access(t.sanitizedPath,p.constants.R_OK),!0}catch{return!1}}async getType(e){let t=this.validate(e);if(!t.isValid||!t.sanitizedPath)return null;try{let e=await p.promises.lstat(t.sanitizedPath);return e.isFile()?`file`:e.isDirectory()?`directory`:e.isSymbolicLink()?`symlink`:null}catch{return null}}getAllowedRoots(){return[...this.allowedRoots]}};function aI(e,t,n,r){let i=[],a=t?.includes(`outside allowed`),o=t?.includes(`Permission denied`),s=t?.includes(`Symlink`)||t?.includes(`symlink`),c=t?.includes(`ENOENT`)||t?.includes(`not found`);return i.push(`Current working directory (CWD): ${n}`),e!==r&&i.push(`Path resolved to: ${r}`),a?(i.push(``),i.push(`🔧 Fix: Use an absolute path within the workspace:`),i.push(` Instead of: path="${e}"`),i.push(` Try: path="${n}" (workspace root)`),i.push(` Or: path="/absolute/path/to/your/target" (full absolute path)`)):o?(i.push(``),i.push(`🔒 Permission denied - check file/directory permissions`)):s?(i.push(``),i.push(`🔗 Symlink issue - the target may be outside allowed directories`)):c&&(i.push(``),i.push(`📁 Path not found - verify the path exists`),i.push(` Use absolute path to avoid CWD ambiguity: path="${n}/..."`)),i.push(``),i.push(`💡 TIP: Relative paths resolve from CWD, which may differ from your workspace.`),i.push(` Always prefer absolute paths for reliable results.`),i}function oI(e,t){let r=process.cwd(),i=n.resolve(e.path),a=iI.validate(e.path);if(!a.isValid){let n=bn.pathValidationFailed(e.path,a.error),o=aI(e.path,a.error,r,i);return{isValid:!1,errorResult:BN(n,e,{toolName:t,hintContext:{errorType:`permission`,path:e.path,originalError:a.error},extra:{cwd:r,resolvedPath:i},customHints:o})}}return{isValid:!0,sanitizedPath:a.sanitizedPath}}function sI(e,t,n={}){let{threshold:r=100,itemType:i=`item`,detailed:a=!1}=n;return t?{shouldBlock:!1}:e>r?{shouldBlock:!0,errorCode:bn.outputTooLarge(e,r).errorCode,hints:[`Found ${e} ${i}${e===1?``:`s`} - exceeds safe limit of ${r}`,`Use charLength to paginate through results`,a?`Detailed results increase size - consider using charLength for pagination`:`Consider using charLength to paginate large result sets`]}:{shouldBlock:!1}}function cI(e,t){let n=e.trim().split(`
`).filter(Boolean),r=new Map,i={};for(let e of n)if(e.trim()&&e.trim().startsWith(`{`))try{let t=JSON.parse(e);if(t.type===`match`){let e=t.data.path.text,n=t.data.lines.text,i=t.data.line_number,a=t.data.absolute_offset;r.has(e)||r.set(e,{rawMatches:[],contexts:new Map});let o=t.data.submatches[0],s=o?.start??0,c=o?o.end-o.start:n.length,l=r.get(e);l&&l.rawMatches.push({lineText:n,lineNumber:i,absoluteOffset:a,column:s,matchLength:c})}else if(t.type===`context`){let e=t.data.path.text,n=t.data.line_number,i=t.data.lines.text;r.has(e)||r.set(e,{rawMatches:[],contexts:new Map});let a=r.get(e);a&&a.contexts.set(n,i)}else t.type===`summary`&&(i={matchCount:t.data.stats.matches,matchedLines:t.data.stats.matched_lines,filesMatched:t.data.stats.searches_with_match,filesSearched:t.data.stats.searches,bytesSearched:t.data.stats.bytes_searched,searchTime:t.data.stats.elapsed.human})}catch{}let a=t.beforeContext??t.contextLines??0,o=t.afterContext??t.contextLines??0,s=t.matchContentLength||HF.DEFAULT_MATCH_CONTENT_LENGTH;return{files:Array.from(r.entries()).map(([e,t])=>{let n=t.rawMatches.map(e=>{let n=[];for(let r=a;r>0;r--){let i=t.contexts.get(e.lineNumber-r);i&&n.push(i)}n.push(e.lineText);for(let r=1;r<=o;r++){let i=t.contexts.get(e.lineNumber+r);i&&n.push(i)}let r=n.join(`
`),i=[...r];return i.length>s&&(r=i.slice(0,s-3).join(``)+`...`),{value:r,location:{byteOffset:e.absoluteOffset,byteLength:e.matchLength,charOffset:e.absoluteOffset,charLength:e.matchLength},line:e.lineNumber,column:e.column}});return{path:e,matchCount:n.length,matches:n}}),stats:i}}function lI(e,t){let n=e.trim().split(`
`).filter(Boolean),r=new Map;if(t.filesOnly)for(let e of n){let t=e.trim();t&&!r.has(t)&&r.set(t,[])}else for(let e of n){let t=e.match(/^(.+?):(\d+):(.*)$/);if(t){let[,e,n,i]=t,a=e,o=i,s=parseInt(n,10);r.has(a)||r.set(a,[]);let c=r.get(a);c&&c.push({lineText:o,lineNumber:s,column:0})}else if(e.includes(`:`)){let t=e.indexOf(`:`),n=e.substring(0,t),i=e.substring(t+1);if(n&&!n.includes(`\0`)){r.has(n)||r.set(n,[]);let e=r.get(n);e&&e.push({lineText:i,lineNumber:0,column:0})}}}let i=t.matchContentLength||HF.DEFAULT_MATCH_CONTENT_LENGTH;return Array.from(r.entries()).map(([e,t])=>{let n=t.map(e=>{let t=e.lineText,n=[...t];return n.length>i&&(t=n.slice(0,i-3).join(``)+`...`),{value:t,location:{byteOffset:0,byteLength:0,charOffset:0,charLength:t.length},line:e.lineNumber,column:e.column}});return{path:e,matchCount:n.length,matches:n}})}function uI(e){return e.registerTool(J.LOCAL_RIPGREP,{description:JF,inputSchema:XF,annotations:{title:`Local Ripgrep Search`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>TN(e.queries||[],async e=>await dI(e),{toolName:J.LOCAL_RIPGREP}))}async function dI(e){let t=ZF(e);try{return(await Bs(`rg`)).available?await fI(t):(await Bs(`grep`)).available?t.multiline?BN(Error(`multiline patterns require ripgrep (rg). Install ripgrep or remove multiline option.`),t,{toolName:J.LOCAL_RIPGREP}):await pI(t):BN(bn.commandNotAvailable(`rg or grep`,`${Vs(`rg`)} Alternatively, ensure grep is in PATH.`),t,{toolName:J.LOCAL_RIPGREP})}catch(e){return(e instanceof Error?e.message:String(e)).includes(`Output size limit exceeded`)?{status:`error`,errorCode:mn.OUTPUT_TOO_LARGE,path:t.path,searchEngine:`rg`,researchGoal:t.researchGoal,reasoning:t.reasoning,hints:[`Output exceeded 10MB - your pattern matched too broadly. Think about why results exploded:`,`Is the pattern too generic? Make it specific to target what you actually need`,`Searching everything? Add type filters or path restrictions to focus scope`,`For node_modules: Target specific packages rather than searching the entire directory`,`Need file names only? FIND_FILES searches metadata without reading content`,`Strategy: Start with filesOnly=true to see what matched, then narrow before reading content`]}:BN(e,t,{toolName:J.LOCAL_RIPGREP})}}async function fI(e){let t=QF(e);if(!t.isValid)return BN(Error(`Query validation failed: ${t.errors.join(`, `)}`),e,{toolName:J.LOCAL_RIPGREP,extra:{warnings:t.warnings}});let n=oI(e,J.LOCAL_RIPGREP);if(!n.isValid)return{...n.errorResult,warnings:t.warnings};e.path=n.sanitizedPath;let r=await gI(e.path),i=[];r.isLarge&&!e.filesOnly&&(i.push(`Large directory detected (~${Math.round(r.estimatedSizeMB)}MB, ~${r.estimatedFileCount} files). Consider chunking workflow for better performance.`),i.push(...IN(`search`)));let{command:a,args:o}=new UF().fromQuery(e).build(),s=await Ls(a,o);if(s.stderr?.includes(`timeout`)||s.code===null){let t=HF.DEFAULT_EXEC_TIMEOUT_MS;return{status:`error`,errorCode:mn.COMMAND_TIMEOUT,path:e.path,searchEngine:`rg`,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Search timed out after ${t/1e3} seconds.`,`Try a more specific path or add type/include filters to narrow the search.`,`Use filesOnly=true for faster discovery.`,`Consider excluding large directories with excludeDir.`,...i]}}if(s.code===1||s.success&&!s.stdout.trim())return{status:`empty`,path:e.path,searchEngine:`rg`,warnings:[...t.warnings,...i],researchGoal:e.researchGoal,reasoning:e.reasoning,hints:LN(J.LOCAL_RIPGREP,`empty`)};if(!s.success)return BN(Error(`Ripgrep failed (exit code ${s.code}): ${s.stderr}`),e,{toolName:J.LOCAL_RIPGREP});let{files:c,stats:l}=cI(s.stdout,e);return mI(c,e,`rg`,[...t.warnings,...i],l)}async function pI(e){let t=KF(e);t.unshift(`Using grep fallback (ripgrep not available). Some features may be limited.`);let n=QF(e);if(!n.isValid)return BN(Error(`Query validation failed: ${n.errors.join(`, `)}`),e,{toolName:J.LOCAL_RIPGREP,extra:{warnings:[...t,...n.warnings]}});let r=oI(e,J.LOCAL_RIPGREP);if(!r.isValid)return{...r.errorResult,warnings:[...t,...n.warnings]};e.path=r.sanitizedPath;let i=await gI(e.path),a=[];i.isLarge&&!e.filesOnly&&(a.push(`Large directory detected (~${Math.round(i.estimatedSizeMB)}MB, ~${i.estimatedFileCount} files). Consider chunking workflow for better performance.`),a.push(...IN(`search`)));let{command:o,args:s}=new qF().fromQuery(e).build(),c=await Ls(o,s);if(c.stderr?.includes(`timeout`)||c.code===null){let t=HF.DEFAULT_EXEC_TIMEOUT_MS;return{status:`error`,errorCode:mn.COMMAND_TIMEOUT,path:e.path,searchEngine:`grep`,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Search timed out after ${t/1e3} seconds.`,`Try a more specific path or add type/include filters to narrow the search.`,`Use filesOnly=true for faster discovery.`,`Consider excluding large directories with excludeDir.`,...a]}}return c.code===1||c.success&&!c.stdout.trim()?{status:`empty`,path:e.path,searchEngine:`grep`,warnings:[...t,...n.warnings,...a],researchGoal:e.researchGoal,reasoning:e.reasoning,hints:LN(J.LOCAL_RIPGREP,`empty`)}:c.success?mI(lI(c.stdout,e),e,`grep`,[...t,...n.warnings,...a]):BN(Error(`Grep failed (exit code ${c.code}): ${c.stderr}`),e,{toolName:J.LOCAL_RIPGREP})}async function mI(e,t,n,r,i){let a=n===`rg`?await vI(e):e,o=await Promise.all(a.map(async e=>{let n={...e};return t.showFileLastModified&&(n.modified=await _I(e.path)),n}));o.sort((e,n)=>t.showFileLastModified&&e.modified&&n.modified?new Date(n.modified).getTime()-new Date(e.modified).getTime():e.path.localeCompare(n.path));let s=o,c=!1;t.maxFiles&&o.length>t.maxFiles&&(s=o.slice(0,t.maxFiles),c=!0);let l=s.length,u=s.reduce((e,t)=>e+t.matchCount,0),d=t.filesOnly?i?.matchCount??l:u,f=t.filesPerPage||HF.DEFAULT_FILES_PER_PAGE,p=t.filePageNumber||1,m=Math.ceil(l/f),h=(p-1)*f,g=Math.min(h+f,l),_=s.slice(h,g),v=t.matchesPerPage||HF.DEFAULT_MATCHES_PER_PAGE,y=_.map(e=>{let n=e.matches.length,r=Math.ceil(n/v),i=t.filesOnly?[]:e.matches.slice(0,v),a={path:e.path,matchCount:n,matches:i,pagination:!t.filesOnly&&n>v?{currentPage:1,totalPages:r,matchesPerPage:v,totalMatches:n,hasMore:r>1}:void 0};return t.showFileLastModified&&e.modified&&(a.modified=e.modified),a}),b=[`File page ${p}/${m} (showing ${y.length} of ${l})`,`Total: ${d} matches across ${l} files`,p<m?`Next: filePageNumber=${p+1}`:`Final page`];c&&b.push(`Results limited to ${t.maxFiles} files (found ${o.length} matching)`);let x=y.filter(e=>e.pagination?.hasMore);x.length>0&&b.push(`Note: ${x.length} file(s) have more matches - use matchesPerPage to see more`);let S=hI(y,t,d);return{status:`hasResults`,files:y,cwd:process.cwd(),totalMatches:d,totalFiles:l,path:t.path,searchEngine:n,pagination:{currentPage:p,totalPages:m,filesPerPage:f,totalFiles:l,hasMore:p<m},warnings:r,researchGoal:t.researchGoal,reasoning:t.reasoning,hints:[...b,...S,...LN(J.LOCAL_RIPGREP,`hasResults`)]}}function hI(e,t,n){let r=[];if((n>100||e.length>20)&&(r.push(``,`Large result set - refine search:`),!t.type&&!t.include&&r.push(` - Narrow by file type: type="ts" or include=["*.{ts,tsx}"]`),t.excludeDir?.length||r.push(` - Exclude directories: excludeDir=["test", "vendor", "generated"]`),t.pattern.length<5&&r.push(` - Use more specific pattern (current pattern is very short)`)),n>0&&n<=100&&r.push(``,`Good result size - manageable for analysis`),n>0){let e=t.matchContentLength||HF.DEFAULT_MATCH_CONTENT_LENGTH;r.push(``,`Integration:`,` - location.byteOffset/byteLength: raw byte offsets from ripgrep (use with Buffer operations)`,` - location.charOffset/charLength: character indices for JavaScript strings`,` - Match values truncated to ${e} chars (configurable via matchContentLength: 1-800)`,` - Line/column numbers provided for human reference`)}return r}async function gI(e){try{let t=0,n=0,r=await m.readdir(e,{withFileTypes:!0});for(let a of r)if(a.isFile())try{let r=await m.stat(i(e,a.name));n+=r.size,t++}catch{}else if(a.isDirectory()&&!a.name.startsWith(`.`))try{let r=(await m.readdir(i(e,a.name),{withFileTypes:!0})).filter(e=>e.isFile());t+=r.length,n+=r.length*HF.ESTIMATED_AVG_FILE_SIZE_BYTES}catch{}let a=n/(1024*1024),o=a>HF.MAX_RIPGREP_DIRECTORY_SIZE_MB||t>HF.MAX_FILE_COUNT_FOR_SEARCH;return{estimatedSizeMB:a,estimatedFileCount:t,isLarge:o}}catch{return{estimatedSizeMB:0,estimatedFileCount:0,isLarge:!1}}}async function _I(e){try{return(await m.stat(e)).mtime.toISOString()}catch{return}}async function vI(e){return Promise.all(e.map(async e=>{if(!e.matches||e.matches.length===0)return e;try{let t=await m.readFile(e.path,`utf8`),n=e.matches.map(e=>{let n=XN(t,e.location.byteOffset),r=YN(t,e.location.byteOffset,e.location.byteOffset+e.location.byteLength);return{...e,location:{...e.location,charOffset:n,charLength:r.length}}});return{...e,matches:n}}catch{return e}}))}var yI=class extends BF{constructor(){super(`ls`)}fromQuery(e){if(this.addFlag(`--color=never`),process.platform===`linux`&&this.addFlag(`--quoting-style=literal`),e.details&&(this.addFlag(`-l`),process.platform===`linux`&&this.addFlag(`--time-style=long-iso`)),e.hidden&&this.addFlag(`-a`),e.humanReadable&&this.addFlag(`-h`),e.recursive&&this.addFlag(`-R`),e.reverse&&this.addFlag(`-r`),e.sortBy)switch(e.sortBy){case`size`:this.addFlag(`-S`);break;case`time`:this.addFlag(`-t`);break;case`extension`:this.addFlag(`-X`);break;case`name`:default:break}return(!e.sortBy||e.sortBy===`name`)&&process.platform===`linux`&&this.addFlag(`--group-directories-first`),e.details||this.addFlag(`-1`),this.addArg(e.path),this}simple(e){return this.addArg(e),this}detailed(){return this.addFlag(`-l`),this}all(){return this.addFlag(`-a`),this}humanReadable(){return this.addFlag(`-h`),this}recursive(){return this.addFlag(`-R`),this}sortBySize(){return this.addFlag(`-S`),this}sortByTime(){return this.addFlag(`-t`),this}reverse(){return this.addFlag(`-r`),this}path(e){return this.addArg(e),this}};function bI(e){return e===0?`0.0B`:e<1024?`${e}.0B`:e<1024*1024?`${(e/1024).toFixed(1)}KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(1)}MB`:e<1024*1024*1024*1024?`${(e/(1024*1024*1024)).toFixed(1)}GB`:`${(e/(1024*1024*1024*1024)).toFixed(1)}TB`}function xI(e){let t=e.trim();if(/^\d+$/.test(t))return parseInt(t,10);let n=t.match(/^(\d+(?:\.\d+)?)(B|KB|MB|GB|TB)$/i);if(n&&n[1]&&n[2]){let e=parseFloat(n[1]);switch(n[2].toUpperCase()){case`B`:return Math.round(e);case`KB`:return Math.round(e*1024);case`MB`:return Math.round(e*1024*1024);case`GB`:return Math.round(e*1024*1024*1024);case`TB`:return Math.round(e*1024*1024*1024*1024)}}let r=t.match(/^(\d+(?:\.\d+)?)([KMGT])$/i);if(!r||!r[1]||!r[2])throw Error(`Invalid size format: ${e}`);let i=parseFloat(r[1]);switch(r[2].toUpperCase()){case`K`:return Math.round(i*1024);case`M`:return Math.round(i*1024*1024);case`G`:return Math.round(i*1024*1024*1024);default:return Math.round(i*1024*1024*1024*1024)}}const SI=Dl[J.LOCAL_VIEW_STRUCTURE],CI=YD.extend({path:K().describe(zl.scope.path),details:Kt().default(!1).describe(zl.options.details),hidden:Kt().default(!1).describe(zl.filters.hidden),humanReadable:Kt().default(!0).describe(zl.options.humanReadable),sortBy:$t([`name`,`size`,`time`,`extension`]).optional().default(`time`).describe(zl.sorting.sortBy),reverse:Kt().optional().describe(zl.sorting.reverse),entriesPerPage:Gt().int().min(1).max(20).optional().default(20).describe(zl.pagination.entriesPerPage),entryPageNumber:Gt().int().min(1).optional().default(1).describe(zl.pagination.entryPageNumber),pattern:K().optional().describe(zl.filters.pattern),directoriesOnly:Kt().optional().describe(zl.filters.directoriesOnly),filesOnly:Kt().optional().describe(zl.filters.filesOnly),extension:K().optional().describe(zl.filters.extension),extensions:qt(K()).optional().describe(zl.filters.extensions),depth:Gt().min(1).max(5).optional().describe(zl.options.depth),recursive:Kt().optional().describe(zl.options.recursive),limit:Gt().min(1).max(1e4).optional().describe(zl.pagination.limit),summary:Kt().default(!0).describe(zl.options.summary),charOffset:Gt().min(0).optional().describe(zl.pagination.charOffset),charLength:Gt().min(1).max(1e4).optional().describe(zl.pagination.charLength),showFileLastModified:Kt().default(!1).describe(zl.options.showFileLastModified)}),wI=XD(J.LOCAL_VIEW_STRUCTURE,CI,{maxQueries:5});function TI(e){return e.registerTool(J.LOCAL_VIEW_STRUCTURE,{description:SI,inputSchema:wI,annotations:{title:`Local View Structure`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>TN(e.queries||[],async e=>await OI(e),{toolName:J.LOCAL_VIEW_STRUCTURE}))}function EI(e,t){let n=e;if(t.pattern){let e=t.pattern;if(e.includes(`*`)||e.includes(`?`)||e.includes(`[`)){let t=e.replace(/[.+^${}()|[\]\\*?]/g,`\\$&`);t=t.replace(/\\\*/g,`.*`).replace(/\\\?/g,`.`).replace(/\\\[!/g,`[^`).replace(/\\\[/g,`[`).replace(/\\\]/g,`]`);try{let e=RegExp(`^${t}$`,`i`);n=n.filter(t=>{let n=t.name.includes(`/`)?t.name.split(`/`).pop():t.name;return e.test(n)})}catch{n=n.filter(t=>(t.name.includes(`/`)?t.name.split(`/`).pop():t.name).includes(e))}}else n=n.filter(t=>(t.name.includes(`/`)?t.name.split(`/`).pop():t.name).includes(e))}if(t.extension&&(n=n.filter(e=>e.extension===t.extension)),t.extensions&&t.extensions.length>0){let e=t.extensions;n=n.filter(t=>t.extension&&e.includes(t.extension))}return t.directoriesOnly&&(n=n.filter(e=>e.type===`directory`)),t.filesOnly&&(n=n.filter(e=>e.type===`file`)),n}function DI(e,t=0){let n=` `.repeat(t),r=e.type===`directory`?`[DIR] `:e.type===`symlink`?`[LINK]`:`[FILE]`,i=e.type===`directory`?`${e.name}/`:e.name;if(e.type===`file`&&e.size){let t=e.extension?` .${e.extension}`:``;return`${n}${r} ${i} (${e.size})${t}`}else return`${n}${r} ${i}`}async function OI(e){try{let t=oI(e,J.LOCAL_VIEW_STRUCTURE);if(!t.isValid)return t.errorResult;if(e.depth||e.recursive)return await jI(e,t.sanitizedPath,e.showFileLastModified);if(!(await Bs(`ls`)).available)return BN(bn.commandNotAvailable(`ls`,Vs(`ls`)),e,{toolName:J.LOCAL_VIEW_STRUCTURE});let{command:n,args:r}=new yI().fromQuery(e).build(),i=await Ls(n,r);if(!i.success){let t=i.stderr?.trim();return{status:`error`,errorCode:bn.commandExecutionFailed(`ls`,Error(t||`Unknown error`),t).errorCode,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[t?`Error: ${t}`:`ls command failed`,...LN(z.LOCAL_VIEW_STRUCTURE,`error`)]}}let a=EI(e.details?AI(i.stdout,e.showFileLastModified):await kI(i.stdout,t.sanitizedPath,e.showFileLastModified),e);e.limit&&(a=a.slice(0,e.limit));let o=a.length,s=a.filter(e=>e.type===`file`).length,c=a.filter(e=>e.type===`directory`).length,l=0;for(let e of a)e.type===`file`&&e.size&&(l+=xI(e.size));let u=l,d=e.entriesPerPage||HF.DEFAULT_ENTRIES_PER_PAGE,f=e.entryPageNumber||1,p=Math.ceil(o/d),m=(f-1)*d,h=Math.min(m+d,o),g=a.slice(m,h),_={currentPage:f,totalPages:p,entriesPerPage:d,totalEntries:o,hasMore:f<p};if(!e.charLength&&o>HF.MAX_ENTRIES_BEFORE_PAGINATION&&!e.entriesPerPage){let t=o*(e.details?150:30);return{status:`error`,errorCode:bn.outputTooLarge(t,HF.RECOMMENDED_CHAR_LENGTH).errorCode,path:e.path,totalFiles:s,totalDirectories:c,totalSize:u,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Directory contains ${o} entries - overwhelming to view all at once`,`Use entriesPerPage to paginate through results (sorted by modification time, most recent first)`,`Why pagination helps: Lets you focus on relevant files first, reduces token usage, easier to navigate`]}}let v=g.map(e=>DI(e,0)).join(`
`),y=null;e.charLength&&(y=QN(v,e.charOffset??0,e.charLength),v=y.paginatedContent);let b=o>0?`hasResults`:`empty`,x=[`Page ${f}/${p} (showing ${g.length} of ${o})`,`Total: ${s} files, ${c} directories`,_.hasMore?`Next: entryPageNumber=${f+1}`:`Final page`],S={currentPage:_.currentPage,totalPages:_.totalPages,entriesPerPage:_.entriesPerPage,totalEntries:_.totalEntries,hasMore:_.hasMore,...y&&{charOffset:y.charOffset,charLength:y.charLength,totalChars:y.totalChars}};return{status:b,path:e.path,cwd:process.cwd(),structuredOutput:v,totalFiles:s,totalDirectories:c,totalSize:u,pagination:S,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...x,...LN(z.LOCAL_VIEW_STRUCTURE,b),...y?rP(y,{toolName:z.LOCAL_VIEW_STRUCTURE}):[]]}}catch(t){return{status:`error`,errorCode:bn.toolExecutionFailed(`LOCAL_VIEW_STRUCTURE`,t instanceof Error?t:void 0).errorCode,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:LN(z.LOCAL_VIEW_STRUCTURE,`error`)}}}async function kI(e,t,r=!1){let i=e.split(`
`).filter(e=>e.trim()).map(async e=>{let i=n.join(t,e);try{let t=await p.promises.lstat(i),n={name:e,type:t.isDirectory()?`directory`:t.isSymbolicLink()?`symlink`:`file`,size:bI(t.size),extension:_D(e)};return r&&(n.modified=t.mtime.toISOString()),n}catch{return{name:e,type:`file`,extension:_D(e)}}});return await Promise.all(i)}function AI(e,t=!1){let n=e.split(`
`).filter(e=>e.trim()),r=[];for(let e of n){if(e.startsWith(`total `))continue;let n=e.match(/^([\w-]+[@+]?)\s+\d+\s+\w+\s+\w+\s+([\d.]+[KMGT]?)\s+(\w+\s+\d+\s+[\d:]+)\s+(.+)$/);if(n&&n[1]&&n[2]&&n[3]&&n[4]){let e=n[1],i=n[2],a=n[3],o=n[4],s=0;s=/^\d+$/.test(i)?parseInt(i,10):xI(i);let c=`file`;e.startsWith(`d`)?c=`directory`:e.startsWith(`l`)&&(c=`symlink`);let l={name:o,type:c,size:bI(s),permissions:e,extension:_D(o)};t&&(l.modified=a),r.push(l)}}return r}async function jI(e,t,r=!1){let i=[];await MI(t,t,0,e.depth||(e.recursive?5:2),i,e.limit?e.limit*2:1e4,e.hidden,r);let a=EI(i,e);e.sortBy&&(a=a.sort((t,n)=>{let i=0;switch(e.sortBy){case`size`:i=(t.size?xI(t.size):0)-(n.size?xI(n.size):0);break;case`time`:i=r&&t.modified&&n.modified?t.modified.localeCompare(n.modified):t.name.localeCompare(n.name);break;case`extension`:i=(t.extension||``).localeCompare(n.extension||``);break;case`name`:default:i=t.name.localeCompare(n.name);break}return e.reverse?-i:i})),e.limit&&(a=a.slice(0,e.limit));let o=a.filter(e=>e.type===`file`).length,s=a.filter(e=>e.type===`directory`).length,c=0;for(let e of a)e.type===`file`&&e.size&&(c+=xI(e.size));let l=c,u=a.length,d=e.entriesPerPage||HF.DEFAULT_ENTRIES_PER_PAGE,f=e.entryPageNumber||1,p=Math.ceil(u/d),m=(f-1)*d,h=Math.min(m+d,u),g=a.slice(m,h),_={currentPage:f,totalPages:p,entriesPerPage:d,totalEntries:u,hasMore:f<p};if(!e.charLength&&u>HF.MAX_ENTRIES_BEFORE_PAGINATION&&!e.entriesPerPage){let t=u*150;return{status:`error`,errorCode:bn.outputTooLarge(t,HF.RECOMMENDED_CHAR_LENGTH).errorCode,path:e.path,totalFiles:o,totalDirectories:s,totalSize:l,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Recursive listing found ${u} entries - too much to process at once`,`Options: Use entriesPerPage to paginate through results, or limit to reduce scope`,`Alternative: Start with depth=1 to get overview, then drill into specific subdirectories`,`Why this matters: Large trees overwhelm context and make it hard to find what you need`]}}let v=g.map(e=>DI(e,e.depth??e.name.split(n.sep).length-1)).join(`
`),y=null;e.charLength&&(y=QN(v,e.charOffset??0,e.charLength),v=y.paginatedContent);let b=u>0?`hasResults`:`empty`,x=LN(z.LOCAL_VIEW_STRUCTURE,b),S=[`Page ${f}/${p} (showing ${g.length} of ${u})`,`Total: ${o} files, ${s} directories`,_.hasMore?`Next: entryPageNumber=${f+1}`:`Final page`],C=y?rP(y,{toolName:z.LOCAL_VIEW_STRUCTURE}):[],w={currentPage:_.currentPage,totalPages:_.totalPages,entriesPerPage:_.entriesPerPage,totalEntries:_.totalEntries,hasMore:_.hasMore,...y&&{charOffset:y.charOffset,charLength:y.charLength,totalChars:y.totalChars}};return{status:b,path:e.path,structuredOutput:v,totalFiles:o,totalDirectories:s,totalSize:l,pagination:w,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...x,...S,...C]}}async function MI(e,t,r,i,a,o=1e4,s=!1,c=!1){if(!(r>=i)&&!(a.length>=o))try{let l=await p.promises.readdir(t);for(let u of l){if(!s&&u.startsWith(`.`))continue;let l=n.join(t,u),d=n.relative(e,l);try{let t=await p.promises.lstat(l),n=`file`;t.isDirectory()?n=`directory`:t.isSymbolicLink()&&(n=`symlink`);let f={name:d,type:n,size:bI(t.size),extension:_D(u),depth:r};c&&(f.modified=t.mtime.toISOString()),a.push(f),n===`directory`&&await MI(e,l,r+1,i,a,o,s,c)}catch{}}}catch{}}var NI=class extends BF{isMacOS;isLinux;isWindows;constructor(){super(`find`),this.isMacOS=process.platform===`darwin`,this.isLinux=process.platform===`linux`,this.isWindows=process.platform===`win32`}fromQuery(e){if(this.isWindows)throw Error(`Windows is not supported for localFindFiles. Use localViewStructure or localSearchCode instead.`);return this.isMacOS&&e.regex&&this.addFlag(`-E`),this.addArg(e.path),this.isLinux&&this.addFlag(`-O3`),e.maxDepth!==void 0&&this.addOption(`-maxdepth`,e.maxDepth),e.minDepth!==void 0&&this.addOption(`-mindepth`,e.minDepth),e.excludeDir&&e.excludeDir.length>0&&(this.buildExcludeDirPrune(e.excludeDir),this.addArg(`-o`)),this.addFilters(e),this.addArg(`-print0`),this}buildExcludeDirPrune(e){this.addArg(`(`),e.forEach((e,t)=>{t>0&&this.addArg(`-o`),this.addArg(`-path`),this.addArg(`*/${e}`),this.addArg(`-o`),this.addArg(`-path`),this.addArg(`*/${e}/*`)}),this.addArg(`)`),this.addArg(`-prune`)}addFilters(e){if(e.type&&this.addOption(`-type`,e.type),e.names&&e.names.length>0?e.names.length===1?this.addOption(`-name`,e.names[0]):(this.addArg(`(`),e.names.forEach((e,t)=>{t>0&&this.addArg(`-o`),this.addOption(`-name`,e)}),this.addArg(`)`)):e.name&&this.addOption(`-name`,e.name),e.iname&&this.addOption(`-iname`,e.iname),e.pathPattern&&this.addOption(`-path`,e.pathPattern),e.regex&&(this.isLinux&&e.regexType&&this.addOption(`-regextype`,e.regexType),this.addOption(`-regex`,e.regex)),e.empty&&this.addFlag(`-empty`),e.sizeGreater&&this.addOption(`-size`,`+${e.sizeGreater}`),e.sizeLess&&this.addOption(`-size`,`-${e.sizeLess}`),e.modifiedWithin){let t=this.parseTimeString(e.modifiedWithin);this.addOption(t.unit,`-${t.value}`)}if(e.modifiedBefore){let t=this.parseTimeString(e.modifiedBefore);this.addOption(t.unit,`+${t.value}`)}if(e.accessedWithin){let t=this.parseTimeStringAccess(e.accessedWithin);this.addOption(t.unit,`-${t.value}`)}e.permissions&&this.addOption(`-perm`,e.permissions),e.executable&&(this.isLinux?this.addFlag(`-executable`):this.addOption(`-perm`,`+111`)),e.readable&&(this.isLinux?this.addFlag(`-readable`):this.addOption(`-perm`,`+444`)),e.writable&&(this.isLinux?this.addFlag(`-writable`):this.addOption(`-perm`,`+222`))}simple(e,t){return this.addArg(e),this.addOption(`-name`,t),this}type(e){return this.addOption(`-type`,e),this}name(e){return this.addOption(`-name`,e),this}iname(e){return this.addOption(`-iname`,e),this}maxDepth(e){return this.addOption(`-maxdepth`,e),this}minDepth(e){return this.addOption(`-mindepth`,e),this}size(e){return this.addOption(`-size`,e),this}mtime(e){return this.addOption(`-mtime`,e),this}path(e){return this.addArg(e),this}parseTimeString(e){let t=e.match(/^(\d+)([hdwm])$/);if(!t||!t[1]||!t[2])return{value:0,unit:`-mtime`};let n=parseInt(t[1],10);switch(t[2]){case`h`:return{value:n*60,unit:`-mmin`};case`d`:return{value:n,unit:`-mtime`};case`w`:return{value:n*7,unit:`-mtime`};case`m`:return{value:n*30,unit:`-mtime`};default:return{value:n,unit:`-mtime`}}}parseTimeStringAccess(e){let t=e.match(/^(\d+)([hdwm])$/);if(!t||!t[1]||!t[2])return{value:0,unit:`-atime`};let n=parseInt(t[1],10);switch(t[2]){case`h`:return{value:n*60,unit:`-amin`};case`d`:return{value:n,unit:`-atime`};case`w`:return{value:n*7,unit:`-atime`};case`m`:return{value:n*30,unit:`-atime`};default:return{value:n,unit:`-atime`}}}};const PI=Dl[J.LOCAL_FIND_FILES],FI=YD.extend({path:K().describe(Rl.scope.path),maxDepth:Gt().min(1).max(10).optional().describe(Rl.options.maxDepth),minDepth:Gt().min(0).max(10).optional().describe(Rl.options.minDepth),name:K().optional().describe(Rl.filters.name),iname:K().optional().describe(Rl.filters.iname),names:qt(K()).optional().describe(Rl.filters.names),pathPattern:K().optional().describe(Rl.filters.pathPattern),regex:K().optional().describe(Rl.filters.regex),regexType:$t([`posix-egrep`,`posix-extended`,`posix-basic`]).optional().describe(Rl.filters.regexType),type:$t([`f`,`d`,`l`,`b`,`c`,`p`,`s`]).optional().describe(Rl.filters.type),empty:Kt().optional().describe(Rl.filters.empty),modifiedWithin:K().optional().describe(Rl.time.modifiedWithin),modifiedBefore:K().optional().describe(Rl.time.modifiedBefore),accessedWithin:K().optional().describe(Rl.time.accessedWithin),sizeGreater:K().optional().describe(Rl.size.sizeGreater),sizeLess:K().optional().describe(Rl.size.sizeLess),permissions:K().optional().describe(Rl.options.permissions),executable:Kt().optional().describe(Rl.filters.executable),readable:Kt().optional().describe(Rl.filters.readable),writable:Kt().optional().describe(Rl.filters.writable),excludeDir:qt(K()).optional().describe(Rl.filters.excludeDir),limit:Gt().min(1).max(1e4).optional().describe(Rl.pagination.limit),details:Kt().default(!0).describe(Rl.options.details),filesPerPage:Gt().int().min(1).max(20).optional().default(20).describe(Rl.pagination.filesPerPage),filePageNumber:Gt().int().min(1).optional().default(1).describe(Rl.pagination.filePageNumber),charOffset:Gt().min(0).optional().describe(Rl.pagination.charOffset),charLength:Gt().min(1).max(1e4).optional().describe(Rl.pagination.charLength),showFileLastModified:Kt().default(!0).describe(Rl.options.showFileLastModified)}),II=XD(J.LOCAL_FIND_FILES,FI,{maxQueries:5});function LI(e){return e.registerTool(J.LOCAL_FIND_FILES,{description:PI,inputSchema:II,annotations:{title:`Local Find Files`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>TN(e.queries||[],async e=>await RI(e),{toolName:J.LOCAL_FIND_FILES}))}async function RI(e){let t=e.details??!0,n=e.showFileLastModified??!1;try{if(!(await Bs(`find`)).available)return BN(bn.commandNotAvailable(`find`,Vs(`find`)),e,{toolName:J.LOCAL_FIND_FILES});let r=oI(e,J.LOCAL_FIND_FILES);if(!r.isValid)return r.errorResult;let{command:i,args:a}=new NI().fromQuery(e).build(),o=await Ls(i,a);if(!o.success){let t=o.stderr?.trim();return BN(bn.commandExecutionFailed(`find`,Error(t||`Unknown error`),t),e,{toolName:J.LOCAL_FIND_FILES,extra:{stderr:t}})}let s=o.stdout.split(`\0`).filter(e=>e.trim()).map(e=>e.trim()),c=e.limit||1e3;s=s.slice(0,c);let l=await zI(s,n);t&&await Promise.all(l.map(async e=>{if(e.size===void 0||!e.permissions||n&&!e.modified)try{let t=await p.promises.lstat(e.path);e.size===void 0&&(e.size=t.size),e.permissions||=t.mode.toString(8).slice(-3),n&&!e.modified&&(e.modified=t.mtime.toISOString())}catch{}})),l.sort((e,t)=>n&&e.modified&&t.modified?new Date(t.modified).getTime()-new Date(e.modified).getTime():e.path.localeCompare(t.path));let u=l.map(e=>{let r={path:e.path,type:e.type};return t&&(e.size!==void 0&&(r.size=e.size),e.permissions&&(r.permissions=e.permissions)),n&&e.modified&&(r.modified=e.modified),r}),d=u.length,f=e.filesPerPage||20,m=e.filePageNumber||1,h=Math.ceil(d/f),g=(m-1)*f,_=Math.min(g+f,d),v=u.slice(g,_),y=sI(v.length,!!e.charLength,{threshold:100,itemType:`file`,detailed:t});if(y.shouldBlock)return{status:`error`,errorCode:y.errorCode,totalFiles:d,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:y.hints};let b=v,x=null;if(e.charLength){let t=$N(v,!1).length,n=e.charOffset??0,r=e.charLength,i=n+r;if(n>=t)b=[],x={paginatedContent:`[]`,charOffset:n,charLength:0,totalChars:t,hasMore:!1,estimatedTokens:0,currentPage:Math.floor(n/r)+1,totalPages:Math.ceil(t/r),actualOffset:n,actualLength:0};else{let e=[],a=1;for(let t=0;t<v.length;t++){let r=JSON.stringify(v[t]).length,o=a,s=o+r;if(o<i&&s>n&&e.push(v[t]),a+=r+1,a>=i)break}b=e;let o=$N(b,!1),s=a<t;x={paginatedContent:o,charOffset:n,charLength:o.length,totalChars:t,hasMore:s,nextCharOffset:s?a:void 0,estimatedTokens:Math.ceil(o.length/4),currentPage:Math.floor(n/r)+1,totalPages:Math.ceil(t/r),actualOffset:n,actualLength:o.length}}}let S=d>0?`hasResults`:`empty`,C=[`Page ${m}/${h} (showing ${b.length} of ${d})`,m<h?`Next: filePageNumber=${m+1}`:`Final page`,n?`Sorted by modification time (most recent first)`:`Sorted by path`],w=/\.(config|rc|env|json|ya?ml|toml|ini)$|^(\..*rc|config\.|\.env)/i,T=b.some(e=>w.test(e.path.split(`/`).pop()||``));return{status:S,files:b,cwd:process.cwd(),totalFiles:d,pagination:{currentPage:m,totalPages:h,filesPerPage:f,totalFiles:d,hasMore:m<h},...x&&{charPagination:eP(x)},researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...C,...LN(J.LOCAL_FIND_FILES,S,{fileCount:d,hasConfigFiles:T}),...x?rP(x,{toolName:J.LOCAL_FIND_FILES}):[]]}}catch(t){return BN(t,e,{toolName:J.LOCAL_FIND_FILES})}}async function zI(e,t=!1){let n=Array(e.length),r=async r=>{let i=e[r];try{let e=await p.promises.lstat(i),a=`file`;e.isDirectory()?a=`directory`:e.isSymbolicLink()&&(a=`symlink`);let o={path:i,type:a,size:e.size,permissions:e.mode.toString(8).slice(-3)};t&&(o.modified=e.mtime.toISOString()),n[r]=o}catch{n[r]={path:i,type:`file`}}},i=0,a=()=>{let t=i;return i+=1,t<e.length?t:-1},o=async()=>{for(let e=a();e!==-1;e=a())await r(e)},s=Array.from({length:Math.min(24,e.length)},()=>o());return await Promise.all(s),n}const BI=Dl[J.LOCAL_FETCH_CONTENT],VI=YD.extend({path:K().min(1).describe(Ll.scope.path),fullContent:Kt().default(!1).describe(Ll.options.fullContent),startLine:Gt().int().min(1).optional().describe(Ll.range?.startLine??`Start line (1-indexed). Use with endLine for line range extraction.`),endLine:Gt().int().min(1).optional().describe(Ll.range?.endLine??`End line (1-indexed, inclusive). Use with startLine for line range extraction.`),matchString:K().optional().describe(Ll.options.matchString),matchStringContextLines:Gt().int().min(1).max(50).default(5).describe(Ll.options.matchStringContextLines),matchStringIsRegex:Kt().optional().default(!1).describe(Ll.options.matchStringIsRegex),matchStringCaseSensitive:Kt().optional().default(!1).describe(Ll.options.matchStringCaseSensitive),charOffset:Gt().min(0).optional().describe(Ll.pagination.charOffset),charLength:Gt().min(1).max(1e4).optional().describe(Ll.pagination.charLength)}).superRefine((e,t)=>{(e.startLine!==void 0&&e.endLine===void 0||e.startLine===void 0&&e.endLine!==void 0)&&t.addIssue({code:V.custom,message:`startLine and endLine must be used together`,path:[`startLine`]}),e.startLine!==void 0&&e.endLine!==void 0&&e.startLine>e.endLine&&t.addIssue({code:V.custom,message:`startLine must be less than or equal to endLine`,path:[`startLine`]}),(e.startLine!==void 0||e.endLine!==void 0)&&e.matchString!==void 0&&t.addIssue({code:V.custom,message:`Cannot use startLine/endLine with matchString - choose one extraction method`,path:[`startLine`]}),(e.startLine!==void 0||e.endLine!==void 0)&&e.fullContent===!0&&t.addIssue({code:V.custom,message:`Cannot use startLine/endLine with fullContent - line extraction is partial by definition`,path:[`fullContent`]})}),HI=XD(J.LOCAL_FETCH_CONTENT,VI,{maxQueries:5});function UI(e){return e.registerTool(J.LOCAL_FETCH_CONTENT,{description:BI,inputSchema:HI,annotations:{title:`Local Fetch Content`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>TN(e.queries||[],async e=>await GI(e),{toolName:J.LOCAL_FETCH_CONTENT}))}function WI(e,t){try{let n=jD(e,t);return n.length<e.length?n:e}catch{return e}}async function GI(e){try{let t=oI(e,J.LOCAL_FETCH_CONTENT);if(!t.isValid)return t.errorResult;let n=t.sanitizedPath,r;try{r=await oe(n)}catch(t){return BN(bn.fileAccessFailed(e.path,t instanceof Error?t:void 0),e,{toolName:J.LOCAL_FETCH_CONTENT,extra:{path:e.path,resolvedPath:n}})}let i=r.size/1024;if(i>HF.LARGE_FILE_THRESHOLD_KB&&!e.charLength&&!e.matchString)return BN(bn.fileTooLarge(e.path,i,HF.LARGE_FILE_THRESHOLD_KB),e,{toolName:J.LOCAL_FETCH_CONTENT,extra:{path:e.path},customHints:[`Best approach: Use matchString to extract specific functions/classes you actually need`,`Alternative: Use charLength for pagination if you need to browse through the file systematically`,`Why matchString works better: Gets only relevant sections, faster, and uses fewer tokens`,`Critical: fullContent without charLength will fail on large files - always specify a reading strategy`]});let a;try{a=await N(n,`utf-8`)}catch(t){return BN(bn.fileReadFailed(e.path,t instanceof Error?t:void 0),e,{toolName:J.LOCAL_FETCH_CONTENT,extra:{path:e.path}})}let o=a.split(`
`),s=o.length,c,l=!1,u,d,f,p=[];if(e.matchString){let t=KI(o,e.matchString,e.matchStringContextLines??5,e.matchStringIsRegex??!1,e.matchStringCaseSensitive??!1,50);if(t.lines.length===0){let t=[`Searched ${s} line${s===1?``:`s`} - no matches found`];return e.matchStringIsRegex?t.push(`TIP: Regex matches per-line only (not multiline). Verify pattern exists on a single line.`):t.push(`TIP: Try matchStringIsRegex=true for pattern matching (e.g., "export.*function")`),e.matchStringCaseSensitive&&t.push(`TIP: Case-sensitive mode active - try matchStringCaseSensitive=false`),t.push(`TIP: Verify file contains expected content or try simpler pattern`),{status:`empty`,path:e.path,errorCode:mn.NO_MATCHES,totalLines:s,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(J.LOCAL_FETCH_CONTENT,`empty`),``,...t]}}if(c=t.lines.join(`
`),c=WI(c,e.path),t.matchRanges.length>0){let e=t.matchRanges[0],n=t.matchRanges[t.matchRanges.length-1];e&&n&&(u=e.start,d=n.end,f=t.matchRanges)}if(t.matchCount>50)return{status:`hasResults`,path:e.path,cwd:process.cwd(),content:c,contentLength:c.length,isPartial:!0,totalLines:s,...u!==void 0&&{startLine:u,endLine:d,matchRanges:f},researchGoal:e.researchGoal,reasoning:e.reasoning,warnings:[`Pattern matched ${t.matchCount} lines. Truncated to first 50 matches.`],hints:[`Pattern matched ${t.matchCount} lines - likely too generic`,`Make the pattern more specific to target only what you need`,`TIP: Use charLength to paginate if you need all matches`]};if(!e.charLength&&c.length>VF.MAX_OUTPUT_CHARS){let n=QN(c,0,HF.RECOMMENDED_CHAR_LENGTH);return{status:`hasResults`,path:e.path,cwd:process.cwd(),content:n.paginatedContent,contentLength:n.paginatedContent.length,isPartial:!0,totalLines:s,...u!==void 0&&{startLine:u,endLine:d,matchRanges:f},pagination:eP(n),researchGoal:e.researchGoal,reasoning:e.reasoning,warnings:[`Auto-paginated: ${t.matchCount} matches exceeded display limit`],hints:[...LN(J.LOCAL_FETCH_CONTENT,`hasResults`),...rP(n,{toolName:J.LOCAL_FETCH_CONTENT})]}}l=!0}else if(e.startLine!==void 0&&e.endLine!==void 0){let t=Math.max(1,e.startLine),n=Math.min(e.endLine,s);if(t>s)return{status:`empty`,path:e.path,totalLines:s,errorCode:mn.NO_MATCHES,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(J.LOCAL_FETCH_CONTENT,`empty`),`Requested startLine ${e.startLine} exceeds file length (${s} lines)`,`Use startLine=1 to ${s} for valid range`]};c=o.slice(t-1,n).join(`
`),u=t,d=n,l=!0,e.endLine>s&&p.push(`Requested endLine ${e.endLine} adjusted to ${s} (file end)`),c=WI(c,e.path)}else c=a,l=!1,c=WI(c,e.path);if(!c||c.trim().length===0)return{status:`empty`,path:e.path,totalLines:s,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:LN(J.LOCAL_FETCH_CONTENT,`empty`)};let m=e.charLength,h=!1;!e.charLength&&c.length>VF.MAX_OUTPUT_CHARS&&(m=HF.RECOMMENDED_CHAR_LENGTH,h=!0,p.push(`Auto-paginated: Content (${c.length} chars) exceeds ${VF.MAX_OUTPUT_CHARS} char limit`));let g=QN(c,e.charOffset??0,m),_=LN(J.LOCAL_FETCH_CONTENT,`hasResults`),v=m||h?rP(g,{toolName:J.LOCAL_FETCH_CONTENT}):[];return{status:`hasResults`,path:e.path,cwd:process.cwd(),content:g.paginatedContent,contentLength:g.paginatedContent.length,isPartial:l,totalLines:s,...u!==void 0&&d!==void 0&&{startLine:u,endLine:d,...f===void 0&&{extractedLines:d-u+1},...f!==void 0&&{matchRanges:f}},...(m||h)&&{pagination:eP(g)},researchGoal:e.researchGoal,reasoning:e.reasoning,...p.length>0&&{warnings:p},hints:[..._,...v]}}catch(t){return BN(t,e,{toolName:J.LOCAL_FETCH_CONTENT,extra:{path:e.path}})}}function KI(e,t,n,r=!1,i=!1,a){let o=[],s=null;if(r)try{let e=i?``:`i`;s=new RegExp(t,e)}catch(e){throw Error(`Invalid regex pattern: ${e instanceof Error?e.message:String(e)}`)}let c=i?t:t.toLowerCase();e.forEach((e,n)=>{(r&&s?s.test(e):i?e.includes(t):e.toLowerCase().includes(c))&&o.push(n+1)});let l=o.length;if(l===0)return{lines:[],matchRanges:[],matchCount:0};let u=a?o.slice(0,a):o,d=[],f=u[0];if(f===void 0)return{lines:[],matchRanges:[],matchCount:0};let p={start:Math.max(1,f-n),end:Math.min(e.length,f+n)};for(let t=1;t<u.length;t++){let r=u[t];if(r===void 0)continue;let i=Math.max(1,r-n),a=Math.min(e.length,r+n);i<=p.end+1?p.end=Math.max(p.end,a):(d.push({...p}),p={start:i,end:a})}d.push(p);let m=[];return d.forEach((t,n)=>{if(n>0){let e=d[n-1];if(e){let n=t.start-e.end-1;n>0&&(m.push(``),m.push(`... [${n} lines omitted] ...`),m.push(``))}}m.push(...e.slice(t.start-1,t.end))}),{lines:m,matchRanges:d,matchCount:l}}const qI=Dl[z.LSP_GOTO_DEFINITION],JI=YD.extend({uri:K().min(1).describe(Bl.scope.uri),symbolName:K().min(1).max(255).describe(Bl.scope.symbolName),lineHint:Gt().int().min(1).describe(Bl.scope.lineHint),orderHint:Gt().int().min(0).default(0).describe(Bl.options.orderHint),contextLines:Gt().int().min(0).max(20).default(5).describe(Bl.options.contextLines)}),YI=XD(z.LSP_GOTO_DEFINITION,JI,{maxQueries:5});var XI=class extends Error{symbolName;lineHint;reason;searchRadius;constructor(e,t,n,r=2){super(`Could not find symbol '${e}' at or near line ${t}. ${n}`),this.name=`SymbolResolutionError`,this.symbolName=e,this.lineHint=t,this.reason=n,this.searchRadius=r}},ZI=class{lineSearchRadius;constructor(e){this.lineSearchRadius=e?.lineSearchRadius??2}async resolvePosition(e,t){let n=await m.readFile(e,`utf-8`);return this.resolvePositionFromContent(n,t)}resolvePositionFromContent(e,t){let n=e.split(/\r?\n/),r=t.lineHint-1,i=t.orderHint??0;if(r<0||r>=n.length)throw new XI(t.symbolName,t.lineHint,`Line ${t.lineHint} is out of range (file has ${n.length} lines)`,this.lineSearchRadius);let a=n[r];if(a!==void 0){let e=this.findSymbolInLine(a,t.symbolName,i);if(e!==null)return{position:{line:r,character:e},foundAtLine:t.lineHint,lineOffset:0,lineContent:a}}for(let e=1;e<=this.lineSearchRadius;e++)for(let a of[-e,e]){let e=r+a;if(e>=0&&e<n.length){let r=n[e];if(r!==void 0){let n=this.findSymbolInLine(r,t.symbolName,i);if(n!==null)return{position:{line:e,character:n},foundAtLine:e+1,lineOffset:a,lineContent:r}}}}throw new XI(t.symbolName,t.lineHint,`Symbol not found in target line or within ±${this.lineSearchRadius} lines. Verify the exact symbol name and line number.`,this.lineSearchRadius)}findSymbolInLine(e,t,n){let r=0,i=0;for(;r<e.length;){let a=e.indexOf(t,r);if(a===-1)return null;let o=a===0||!this.isIdentifierChar(e[a-1]),s=a+t.length>=e.length||!this.isIdentifierChar(e[a+t.length]);if(o&&s){if(i===n)return a;i++}r=a+1}return null}isIdentifierChar(e){return/[a-zA-Z0-9_$]/.test(e)}extractContext(e,t,n){let r=e.split(/\r?\n/),i=Math.max(1,t-n),a=Math.min(r.length,t+n);return{content:r.slice(i-1,a).join(`
`),startLine:i,endLine:a}}};new ZI({lineSearchRadius:2});var QI;(()=>{var e={975:e=>{function t(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}function n(e,t){for(var n,r=``,i=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(n===47)break;n=47}if(n===47){if(!(a===s-1||o===1))if(a!==s-1&&o===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var c=r.lastIndexOf(`/`);if(c!==r.length-1){c===-1?(r=``,i=0):i=(r=r.slice(0,c)).length-1-r.lastIndexOf(`/`),a=s,o=0;continue}}else if(r.length===2||r.length===1){r=``,i=0,a=s,o=0;continue}}t&&(r.length>0?r+=`/..`:r=`..`,i=2)}else r.length>0?r+=`/`+e.slice(a+1,s):r=e.slice(a+1,s),i=s-a-1;a=s,o=0}else n===46&&o!==-1?++o:o=-1}return r}var r={resolve:function(){for(var e,r=``,i=!1,a=arguments.length-1;a>=-1&&!i;a--){var o;a>=0?o=arguments[a]:(e===void 0&&(e=process.cwd()),o=e),t(o),o.length!==0&&(r=o+`/`+r,i=o.charCodeAt(0)===47)}return r=n(r,!i),i?r.length>0?`/`+r:`/`:r.length>0?r:`.`},normalize:function(e){if(t(e),e.length===0)return`.`;var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return(e=n(e,!r)).length!==0||r||(e=`.`),e.length>0&&i&&(e+=`/`),r?`/`+e:e},isAbsolute:function(e){return t(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return`.`;for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(e===void 0?e=i:e+=`/`+i)}return e===void 0?`.`:r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return``;for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var a=e.length,o=a-i,s=1;s<n.length&&n.charCodeAt(s)===47;++s);for(var c=n.length-s,l=o<c?o:c,u=-1,d=0;d<=l;++d){if(d===l){if(c>l){if(n.charCodeAt(s+d)===47)return n.slice(s+d+1);if(d===0)return n.slice(s+d)}else o>l&&(e.charCodeAt(i+d)===47?u=d:d===0&&(u=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;f===47&&(u=d)}var p=``;for(d=i+u+1;d<=a;++d)d!==a&&e.charCodeAt(d)!==47||(p.length===0?p+=`..`:p+=`/..`);return p.length>0?p+n.slice(s+u):(s+=u,n.charCodeAt(s)===47&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),e.length===0)return`.`;for(var n=e.charCodeAt(0),r=n===47,i=-1,a=!0,o=e.length-1;o>=1;--o)if((n=e.charCodeAt(o))===47){if(!a){i=o;break}}else a=!1;return i===-1?r?`/`:`.`:r&&i===1?`//`:e.slice(0,i)},basename:function(e,n){if(n!==void 0&&typeof n!=`string`)throw TypeError(`"ext" argument must be a string`);t(e);var r,i=0,a=-1,o=!0;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return``;var s=n.length-1,c=-1;for(r=e.length-1;r>=0;--r){var l=e.charCodeAt(r);if(l===47){if(!o){i=r+1;break}}else c===-1&&(o=!1,c=r+1),s>=0&&(l===n.charCodeAt(s)?--s==-1&&(a=r):(s=-1,a=c))}return i===a?a=c:a===-1&&(a=e.length),e.slice(i,a)}for(r=e.length-1;r>=0;--r)if(e.charCodeAt(r)===47){if(!o){i=r+1;break}}else a===-1&&(o=!1,a=r+1);return a===-1?``:e.slice(i,a)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(c!==47)i===-1&&(a=!1,i=s+1),c===46?n===-1?n=s:o!==1&&(o=1):n!==-1&&(o=-1);else if(!a){r=s+1;break}}return n===-1||i===-1||o===0||o===1&&n===i-1&&n===r+1?``:e.slice(n,i)},format:function(e){if(typeof e!=`object`||!e)throw TypeError(`The "pathObject" argument must be of type Object. Received type `+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||``)+(t.ext||``);return n?n===t.root?n+r:n+`/`+r:r}(0,e)},parse:function(e){t(e);var n={root:``,dir:``,base:``,ext:``,name:``};if(e.length===0)return n;var r,i=e.charCodeAt(0),a=i===47;a?(n.root=`/`,r=1):r=0;for(var o=-1,s=0,c=-1,l=!0,u=e.length-1,d=0;u>=r;--u)if((i=e.charCodeAt(u))!==47)c===-1&&(l=!1,c=u+1),i===46?o===-1?o=u:d!==1&&(d=1):o!==-1&&(d=-1);else if(!l){s=u+1;break}return o===-1||c===-1||d===0||d===1&&o===c-1&&o===s+1?c!==-1&&(n.base=n.name=s===0&&a?e.slice(1,c):e.slice(s,c)):(s===0&&a?(n.name=e.slice(1,o),n.base=e.slice(1,c)):(n.name=e.slice(s,o),n.base=e.slice(s,c)),n.ext=e.slice(o,c)),s>0?n.dir=e.slice(0,s-1):a&&(n.dir=`/`),n},sep:`/`,delimiter:`:`,win32:null,posix:null};r.posix=r,e.exports=r}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,`__esModule`,{value:!0})};var r={};let i;n.r(r),n.d(r,{URI:()=>u,Utils:()=>C}),typeof process==`object`?i=process.platform===`win32`:typeof navigator==`object`&&(i=navigator.userAgent.indexOf(`Windows`)>=0);let a=/^\w[\w\d+.-]*$/,o=/^\//,s=/^\/\//;function c(e,t){if(!e.scheme&&t)throw Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!a.test(e.scheme))throw Error(`[UriError]: Scheme contains illegal characters.`);if(e.path){if(e.authority){if(!o.test(e.path))throw Error(`[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character`)}else if(s.test(e.path))throw Error(`[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")`)}}let l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class u{static isUri(e){return e instanceof u||!!e&&typeof e.authority==`string`&&typeof e.fragment==`string`&&typeof e.path==`string`&&typeof e.query==`string`&&typeof e.scheme==`string`&&typeof e.fsPath==`string`&&typeof e.with==`function`&&typeof e.toString==`function`}scheme;authority;path;query;fragment;constructor(e,t,n,r,i,a=!1){typeof e==`object`?(this.scheme=e.scheme||``,this.authority=e.authority||``,this.path=e.path||``,this.query=e.query||``,this.fragment=e.fragment||``):(this.scheme=function(e,t){return e||t?e:`file`}(e,a),this.authority=t||``,this.path=function(e,t){switch(e){case`https`:case`http`:case`file`:t?t[0]!==`/`&&(t=`/`+t):t=`/`}return t}(this.scheme,n||``),this.query=r||``,this.fragment=i||``,c(this,a))}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:a}=e;return t===void 0?t=this.scheme:t===null&&(t=``),n===void 0?n=this.authority:n===null&&(n=``),r===void 0?r=this.path:r===null&&(r=``),i===void 0?i=this.query:i===null&&(i=``),a===void 0?a=this.fragment:a===null&&(a=``),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&a===this.fragment?this:new f(t,n,r,i,a)}static parse(e,t=!1){let n=l.exec(e);return n?new f(n[2]||``,b(n[4]||``),b(n[5]||``),b(n[7]||``),b(n[9]||``),t):new f(``,``,``,``,``)}static file(e){let t=``;if(i&&(e=e.replace(/\\/g,`/`)),e[0]===`/`&&e[1]===`/`){let n=e.indexOf(`/`,2);n===-1?(t=e.substring(2),e=`/`):(t=e.substring(2,n),e=e.substring(n)||`/`)}return new f(`file`,t,e,``,``)}static from(e){let t=new f(e.scheme,e.authority,e.path,e.query,e.fragment);return c(t,!0),t}toString(e=!1){return _(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof u)return e;{let t=new f(e);return t._formatted=e.external,t._fsPath=e._sep===d?e.fsPath:null,t}}return e}}let d=i?1:void 0;class f extends u{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||=g(this,!1),this._fsPath}toString(e=!1){return e?_(this,!0):(this._formatted||=_(this,!1),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}let p={58:`%3A`,47:`%2F`,63:`%3F`,35:`%23`,91:`%5B`,93:`%5D`,64:`%40`,33:`%21`,36:`%24`,38:`%26`,39:`%27`,40:`%28`,41:`%29`,42:`%2A`,43:`%2B`,44:`%2C`,59:`%3B`,61:`%3D`,32:`%20`};function m(e,t,n){let r,i=-1;for(let a=0;a<e.length;a++){let o=e.charCodeAt(a);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||t&&o===47||n&&o===91||n&&o===93||n&&o===58)i!==-1&&(r+=encodeURIComponent(e.substring(i,a)),i=-1),r!==void 0&&(r+=e.charAt(a));else{r===void 0&&(r=e.substr(0,a));let t=p[o];t===void 0?i===-1&&(i=a):(i!==-1&&(r+=encodeURIComponent(e.substring(i,a)),i=-1),r+=t)}}return i!==-1&&(r+=encodeURIComponent(e.substring(i))),r===void 0?e:r}function h(e){let t;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);r===35||r===63?(t===void 0&&(t=e.substr(0,n)),t+=p[r]):t!==void 0&&(t+=e[n])}return t===void 0?e:t}function g(e,t){let n;return n=e.authority&&e.path.length>1&&e.scheme===`file`?`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i&&(n=n.replace(/\//g,`\\`)),n}function _(e,t){let n=t?h:m,r=``,{scheme:i,authority:a,path:o,query:s,fragment:c}=e;if(i&&(r+=i,r+=`:`),(a||i===`file`)&&(r+=`/`,r+=`/`),a){let e=a.indexOf(`@`);if(e!==-1){let t=a.substr(0,e);a=a.substr(e+1),e=t.lastIndexOf(`:`),e===-1?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=`:`,r+=n(t.substr(e+1),!1,!0)),r+=`@`}a=a.toLowerCase(),e=a.lastIndexOf(`:`),e===-1?r+=n(a,!1,!0):(r+=n(a.substr(0,e),!1,!0),r+=a.substr(e))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){let e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){let e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return s&&(r+=`?`,r+=n(s,!1,!1)),c&&(r+=`#`,r+=t?c:m(c,!1,!1)),r}function v(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+v(e.substr(3)):e}}let y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function b(e){return e.match(y)?e.replace(y,(e=>v(e))):e}var x=n(975);let S=x.posix||x;var C;(function(e){e.joinPath=function(e,...t){return e.with({path:S.join(e.path,...t)})},e.resolvePath=function(e,...t){let n=e.path,r=!1;n[0]!==`/`&&(n=`/`+n,r=!0);let i=S.resolve(n,...t);return r&&i[0]===`/`&&!e.authority&&(i=i.substring(1)),e.with({path:i})},e.dirname=function(e){if(e.path.length===0||e.path===`/`)return e;let t=S.dirname(e.path);return t.length===1&&t.charCodeAt(0)===46&&(t=``),e.with({path:t})},e.basename=function(e){return S.basename(e.path)},e.extname=function(e){return S.extname(e.path)}})(C||={}),QI=r})();const{URI:$I,Utils:eL}=QI;var tL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.stringArray=e.array=e.func=e.error=e.number=e.string=e.boolean=void 0;function t(e){return e===!0||e===!1}e.boolean=t;function n(e){return typeof e==`string`||e instanceof String}e.string=n;function r(e){return typeof e==`number`||e instanceof Number}e.number=r;function i(e){return e instanceof Error}e.error=i;function a(e){return typeof e==`function`}e.func=a;function o(e){return Array.isArray(e)}e.array=o;function s(e){return o(e)&&e.every(e=>n(e))}e.stringArray=s})),nL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Message=e.NotificationType9=e.NotificationType8=e.NotificationType7=e.NotificationType6=e.NotificationType5=e.NotificationType4=e.NotificationType3=e.NotificationType2=e.NotificationType1=e.NotificationType0=e.NotificationType=e.RequestType9=e.RequestType8=e.RequestType7=e.RequestType6=e.RequestType5=e.RequestType4=e.RequestType3=e.RequestType2=e.RequestType1=e.RequestType=e.RequestType0=e.AbstractMessageSignature=e.ParameterStructures=e.ResponseError=e.ErrorCodes=void 0;let t=tL();var n;(function(e){e.ParseError=-32700,e.InvalidRequest=-32600,e.MethodNotFound=-32601,e.InvalidParams=-32602,e.InternalError=-32603,e.jsonrpcReservedErrorRangeStart=-32099,e.serverErrorStart=-32099,e.MessageWriteError=-32099,e.MessageReadError=-32098,e.PendingResponseRejected=-32097,e.ConnectionInactive=-32096,e.ServerNotInitialized=-32002,e.UnknownErrorCode=-32001,e.jsonrpcReservedErrorRangeEnd=-32e3,e.serverErrorEnd=-32e3})(n||(e.ErrorCodes=n={})),e.ResponseError=class e extends Error{constructor(r,i,a){super(i),this.code=t.number(r)?r:n.UnknownErrorCode,this.data=a,Object.setPrototypeOf(this,e.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};var r=class e{constructor(e){this.kind=e}static is(t){return t===e.auto||t===e.byName||t===e.byPosition}toString(){return this.kind}};e.ParameterStructures=r,r.auto=new r(`auto`),r.byPosition=new r(`byPosition`),r.byName=new r(`byName`);var i=class{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return r.auto}};e.AbstractMessageSignature=i,e.RequestType0=class extends i{constructor(e){super(e,0)}},e.RequestType=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.RequestType1=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.RequestType2=class extends i{constructor(e){super(e,2)}},e.RequestType3=class extends i{constructor(e){super(e,3)}},e.RequestType4=class extends i{constructor(e){super(e,4)}},e.RequestType5=class extends i{constructor(e){super(e,5)}},e.RequestType6=class extends i{constructor(e){super(e,6)}},e.RequestType7=class extends i{constructor(e){super(e,7)}},e.RequestType8=class extends i{constructor(e){super(e,8)}},e.RequestType9=class extends i{constructor(e){super(e,9)}},e.NotificationType=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.NotificationType0=class extends i{constructor(e){super(e,0)}},e.NotificationType1=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.NotificationType2=class extends i{constructor(e){super(e,2)}},e.NotificationType3=class extends i{constructor(e){super(e,3)}},e.NotificationType4=class extends i{constructor(e){super(e,4)}},e.NotificationType5=class extends i{constructor(e){super(e,5)}},e.NotificationType6=class extends i{constructor(e){super(e,6)}},e.NotificationType7=class extends i{constructor(e){super(e,7)}},e.NotificationType8=class extends i{constructor(e){super(e,8)}},e.NotificationType9=class extends i{constructor(e){super(e,9)}};var a;(function(e){function n(e){let n=e;return n&&t.string(n.method)&&(t.string(n.id)||t.number(n.id))}e.isRequest=n;function r(e){let n=e;return n&&t.string(n.method)&&e.id===void 0}e.isNotification=r;function i(e){let n=e;return n&&(n.result!==void 0||!!n.error)&&(t.string(n.id)||t.number(n.id)||n.id===null)}e.isResponse=i})(a||(e.Message=a={}))})),rL=I((e=>{var t;Object.defineProperty(e,`__esModule`,{value:!0}),e.LRUCache=e.LinkedMap=e.Touch=void 0;var n;(function(e){e.None=0,e.First=1,e.AsOld=e.First,e.Last=2,e.AsNew=e.Last})(n||(e.Touch=n={}));var r=class{constructor(){this[t]=`LinkedMap`,this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,t=n.None){let r=this._map.get(e);if(r)return t!==n.None&&this.touch(r,t),r.value}set(e,t,r=n.None){let i=this._map.get(e);if(i)i.value=t,r!==n.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case n.None:this.addItemLast(i);break;case n.First:this.addItemFirst(i);break;case n.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error(`Invalid list`);let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let n=this._state,r=this._head;for(;r;){if(t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),this._state!==n)throw Error(`LinkedMap got modified during iteration.`);r=r.next}}keys(){let e=this._state,t=this._head,n={[Symbol.iterator]:()=>n,next:()=>{if(this._state!==e)throw Error(`LinkedMap got modified during iteration.`);if(t){let e={value:t.key,done:!1};return t=t.next,e}else return{value:void 0,done:!0}}};return n}values(){let e=this._state,t=this._head,n={[Symbol.iterator]:()=>n,next:()=>{if(this._state!==e)throw Error(`LinkedMap got modified during iteration.`);if(t){let e={value:t.value,done:!1};return t=t.next,e}else return{value:void 0,done:!0}}};return n}entries(){let e=this._state,t=this._head,n={[Symbol.iterator]:()=>n,next:()=>{if(this._state!==e)throw Error(`LinkedMap got modified during iteration.`);if(t){let e={value:[t.key,t.value],done:!1};return t=t.next,e}else return{value:void 0,done:!0}}};return n}[(t=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw Error(`Invalid list`);this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error(`Invalid list`);this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error(`Invalid list`);e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error(`Invalid list`);e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,n=e.previous;if(!t||!n)throw Error(`Invalid list`);t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error(`Invalid list`);if(!(t!==n.First&&t!==n.Last)){if(t===n.First){if(e===this._head)return;let t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===n.Last){if(e===this._tail)return;let t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(let[t,n]of e)this.set(t,n)}};e.LinkedMap=r,e.LRUCache=class extends r{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=n.AsNew){return super.get(e,t)}peek(e){return super.get(e,n.None)}set(e,t){return super.set(e,t,n.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}})),iL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Disposable=void 0;var t;(function(e){function t(e){return{dispose:e}}e.create=t})(t||(e.Disposable=t={}))})),aL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t;function n(){if(t===void 0)throw Error(`No runtime abstraction layer installed`);return t}(function(e){function n(e){if(e===void 0)throw Error(`No runtime abstraction layer provided`);t=e}e.install=n})(n||={}),e.default=n})),oL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Emitter=e.Event=void 0;let t=aL();var n;(function(e){let t={dispose(){}};e.None=function(){return t}})(n||(e.Event=n={}));var r=class{add(e,t=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(n)&&n.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let n=!1;for(let r=0,i=this._callbacks.length;r<i;r++)if(this._callbacks[r]===e)if(this._contexts[r]===t){this._callbacks.splice(r,1),this._contexts.splice(r,1);return}else n=!0;if(n)throw Error(`When adding a listener with a context, you should remove it with the same context`)}invoke(...e){if(!this._callbacks)return[];let n=[],r=this._callbacks.slice(0),i=this._contexts.slice(0);for(let a=0,o=r.length;a<o;a++)try{n.push(r[a].apply(i[a],e))}catch(e){(0,t.default)().console.error(e)}return n}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},i=class e{constructor(e){this._options=e}get event(){return this._event||=(t,n,i)=>{this._callbacks||=new r,this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(t,n);let a={dispose:()=>{this._callbacks&&(this._callbacks.remove(t,n),a.dispose=e._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(i)&&i.push(a),a},this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&=(this._callbacks.dispose(),void 0)}};e.Emitter=i,i._noop=function(){}})),sL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;let t=aL(),n=tL(),r=oL();var i;(function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r.Event.None});function t(t){let r=t;return r&&(r===e.None||r===e.Cancelled||n.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}e.is=t})(i||(e.CancellationToken=i={}));let a=Object.freeze(function(e,n){let r=(0,t.default)().timer.setTimeout(e.bind(n),0);return{dispose(){r.dispose()}}});var o=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||=new r.Emitter,this._emitter.event)}dispose(){this._emitter&&=(this._emitter.dispose(),void 0)}};e.CancellationTokenSource=class{get token(){return this._token||=new o,this._token}cancel(){this._token?this._token.cancel():this._token=i.Cancelled}dispose(){this._token?this._token instanceof o&&this._token.dispose():this._token=i.None}}})),cL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SharedArrayReceiverStrategy=e.SharedArraySenderStrategy=void 0;let t=sL();var n;(function(e){e.Continue=0,e.Cancelled=1})(n||={}),e.SharedArraySenderStrategy=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let t=new SharedArrayBuffer(4),r=new Int32Array(t,0,1);r[0]=n.Continue,this.buffers.set(e.id,t),e.$cancellationData=t}async sendCancellation(e,t){let r=this.buffers.get(t);if(r===void 0)return;let i=new Int32Array(r,0,1);Atomics.store(i,0,n.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};var r=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===n.Cancelled}get onCancellationRequested(){throw Error(`Cancellation over SharedArrayBuffer doesn't support cancellation events`)}},i=class{constructor(e){this.token=new r(e)}cancel(){}dispose(){}};e.SharedArrayReceiverStrategy=class{constructor(){this.kind=`request`}createCancellationTokenSource(e){let n=e.$cancellationData;return n===void 0?new t.CancellationTokenSource:new i(n)}}})),lL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Semaphore=void 0;let t=aL();e.Semaphore=class{constructor(e=1){if(e<=0)throw Error(`Capacity must be greater than 0`);this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,n)=>{this._waiting.push({thunk:e,resolve:t,reject:n}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,t.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw Error(`To many thunks active`);try{let t=e.thunk();t instanceof Promise?t.then(t=>{this._active--,e.resolve(t),this.runNext()},t=>{this._active--,e.reject(t),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}}})),uL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReadableStreamMessageReader=e.AbstractMessageReader=e.MessageReader=void 0;let t=aL(),n=tL(),r=oL(),i=lL();var a;(function(e){function t(e){let t=e;return t&&n.func(t.listen)&&n.func(t.dispose)&&n.func(t.onError)&&n.func(t.onClose)&&n.func(t.onPartialMessage)}e.is=t})(a||(e.MessageReader=a={}));var o=class{constructor(){this.errorEmitter=new r.Emitter,this.closeEmitter=new r.Emitter,this.partialMessageEmitter=new r.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:Error(`Reader received error. Reason: ${n.string(e.message)?e.message:`unknown`}`)}};e.AbstractMessageReader=o;var s;(function(e){function n(e){let n,r,i=new Map,a,o=new Map;if(e===void 0||typeof e==`string`)n=e??`utf-8`;else{if(n=e.charset??`utf-8`,e.contentDecoder!==void 0&&(r=e.contentDecoder,i.set(r.name,r)),e.contentDecoders!==void 0)for(let t of e.contentDecoders)i.set(t.name,t);if(e.contentTypeDecoder!==void 0&&(a=e.contentTypeDecoder,o.set(a.name,a)),e.contentTypeDecoders!==void 0)for(let t of e.contentTypeDecoders)o.set(t.name,t)}return a===void 0&&(a=(0,t.default)().applicationJson.decoder,o.set(a.name,a)),{charset:n,contentDecoder:r,contentDecoders:i,contentTypeDecoder:a,contentTypeDecoders:o}}e.fromOptions=n})(s||={}),e.ReadableStreamMessageReader=class extends o{constructor(e,n){super(),this.readable=e,this.options=s.fromOptions(n),this.buffer=(0,t.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new i.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let t=this.readable.onData(e=>{this.onData(e)});return this.readable.onError(e=>this.fireError(e)),this.readable.onClose(()=>this.fireClose()),t}onData(e){try{for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let e=this.buffer.tryReadHeaders(!0);if(!e)return;let t=e.get(`content-length`);if(!t){this.fireError(Error(`Header must provide a Content-Length property.\n${JSON.stringify(Object.fromEntries(e))}`));return}let n=parseInt(t);if(isNaN(n)){this.fireError(Error(`Content-Length value must be a number. Got ${t}`));return}this.nextMessageLength=n}let e=this.buffer.tryReadBody(this.nextMessageLength);if(e===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let t=this.options.contentDecoder===void 0?e:await this.options.contentDecoder.decode(e),n=await this.options.contentTypeDecoder.decode(t,this.options);this.callback(n)}).catch(e=>{this.fireError(e)})}}catch(e){this.fireError(e)}}clearPartialMessageTimer(){this.partialMessageTimer&&=(this.partialMessageTimer.dispose(),void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,t.default)().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}}})),dL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WriteableStreamMessageWriter=e.AbstractMessageWriter=e.MessageWriter=void 0;let t=aL(),n=tL(),r=lL(),i=oL();var a;(function(e){function t(e){let t=e;return t&&n.func(t.dispose)&&n.func(t.onClose)&&n.func(t.onError)&&n.func(t.write)}e.is=t})(a||(e.MessageWriter=a={}));var o=class{constructor(){this.errorEmitter=new i.Emitter,this.closeEmitter=new i.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,n){this.errorEmitter.fire([this.asError(e),t,n])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:Error(`Writer received error. Reason: ${n.string(e.message)?e.message:`unknown`}`)}};e.AbstractMessageWriter=o;var s;(function(e){function n(e){return e===void 0||typeof e==`string`?{charset:e??`utf-8`,contentTypeEncoder:(0,t.default)().applicationJson.encoder}:{charset:e.charset??`utf-8`,contentEncoder:e.contentEncoder,contentTypeEncoder:e.contentTypeEncoder??(0,t.default)().applicationJson.encoder}}e.fromOptions=n})(s||={}),e.WriteableStreamMessageWriter=class extends o{constructor(e,t){super(),this.writable=e,this.options=s.fromOptions(t),this.errorCount=0,this.writeSemaphore=new r.Semaphore(1),this.writable.onError(e=>this.fireError(e)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(e=>this.options.contentEncoder===void 0?e:this.options.contentEncoder.encode(e)).then(t=>{let n=[];return n.push(`Content-Length: `,t.byteLength.toString(),`\r
`),n.push(`\r
`),this.doWrite(e,n,t)},e=>{throw this.fireError(e),e}))}async doWrite(e,t,n){try{return await this.writable.write(t.join(``),`ascii`),this.writable.write(n)}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){this.writable.end()}}})),fL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.AbstractMessageBuffer=void 0,e.AbstractMessageBuffer=class{constructor(e=`utf-8`){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let t=typeof e==`string`?this.fromString(e,this._encoding):e;this._chunks.push(t),this._totalLength+=t.byteLength}tryReadHeaders(e=!1){if(this._chunks.length===0)return;let t=0,n=0,r=0,i=0;row:for(;n<this._chunks.length;){let e=this._chunks[n];r=0;column:for(;r<e.length;){switch(e[r]){case 13:switch(t){case 0:t=1;break;case 2:t=3;break;default:t=0}break;case 10:switch(t){case 1:t=2;break;case 3:t=4,r++;break row;default:t=0}break;default:t=0}r++}i+=e.byteLength,n++}if(t!==4)return;let a=this._read(i+r),o=new Map,s=this.toString(a,`ascii`).split(`\r
`);if(s.length<2)return o;for(let t=0;t<s.length-2;t++){let n=s[t],r=n.indexOf(`:`);if(r===-1)throw Error(`Message header must separate key and value using ':'\n${n}`);let i=n.substr(0,r),a=n.substr(r+1).trim();o.set(e?i.toLowerCase():i,a)}return o}tryReadBody(e){if(!(this._totalLength<e))return this._read(e)}get numberOfBytes(){return this._totalLength}_read(e){if(e===0)return this.emptyBuffer();if(e>this._totalLength)throw Error(`Cannot read so many bytes!`);if(this._chunks[0].byteLength===e){let t=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(t)}if(this._chunks[0].byteLength>e){let t=this._chunks[0],n=this.asNative(t,e);return this._chunks[0]=t.slice(e),this._totalLength-=e,n}let t=this.allocNative(e),n=0;for(;e>0;){let r=this._chunks[0];if(r.byteLength>e){let i=r.slice(0,e);t.set(i,n),n+=e,this._chunks[0]=r.slice(e),this._totalLength-=e,e-=e}else t.set(r,n),n+=r.byteLength,this._chunks.shift(),this._totalLength-=r.byteLength,e-=r.byteLength}return t}}})),pL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createMessageConnection=e.ConnectionOptions=e.MessageStrategy=e.CancellationStrategy=e.CancellationSenderStrategy=e.CancellationReceiverStrategy=e.RequestCancellationReceiverStrategy=e.IdCancellationReceiverStrategy=e.ConnectionStrategy=e.ConnectionError=e.ConnectionErrors=e.LogTraceNotification=e.SetTraceNotification=e.TraceFormat=e.TraceValues=e.Trace=e.NullLogger=e.ProgressType=e.ProgressToken=void 0;let t=aL(),n=tL(),r=nL(),i=rL(),a=oL(),o=sL();var s;(function(e){e.type=new r.NotificationType(`$/cancelRequest`)})(s||={});var c;(function(e){function t(e){return typeof e==`string`||typeof e==`number`}e.is=t})(c||(e.ProgressToken=c={}));var l;(function(e){e.type=new r.NotificationType(`$/progress`)})(l||={}),e.ProgressType=class{constructor(){}};var u;(function(e){function t(e){return n.func(e)}e.is=t})(u||={}),e.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var d;(function(e){e[e.Off=0]=`Off`,e[e.Messages=1]=`Messages`,e[e.Compact=2]=`Compact`,e[e.Verbose=3]=`Verbose`})(d||(e.Trace=d={}));var f;(function(e){e.Off=`off`,e.Messages=`messages`,e.Compact=`compact`,e.Verbose=`verbose`})(f||(e.TraceValues=f={})),(function(e){function t(t){if(!n.string(t))return e.Off;switch(t=t.toLowerCase(),t){case`off`:return e.Off;case`messages`:return e.Messages;case`compact`:return e.Compact;case`verbose`:return e.Verbose;default:return e.Off}}e.fromString=t;function r(t){switch(t){case e.Off:return`off`;case e.Messages:return`messages`;case e.Compact:return`compact`;case e.Verbose:return`verbose`;default:return`off`}}e.toString=r})(d||(e.Trace=d={}));var p;(function(e){e.Text=`text`,e.JSON=`json`})(p||(e.TraceFormat=p={})),(function(e){function t(t){return n.string(t)?(t=t.toLowerCase(),t===`json`?e.JSON:e.Text):e.Text}e.fromString=t})(p||(e.TraceFormat=p={}));var m;(function(e){e.type=new r.NotificationType(`$/setTrace`)})(m||(e.SetTraceNotification=m={}));var h;(function(e){e.type=new r.NotificationType(`$/logTrace`)})(h||(e.LogTraceNotification=h={}));var g;(function(e){e[e.Closed=1]=`Closed`,e[e.Disposed=2]=`Disposed`,e[e.AlreadyListening=3]=`AlreadyListening`})(g||(e.ConnectionErrors=g={}));var _=class e extends Error{constructor(t,n){super(n),this.code=t,Object.setPrototypeOf(this,e.prototype)}};e.ConnectionError=_;var v;(function(e){function t(e){let t=e;return t&&n.func(t.cancelUndispatched)}e.is=t})(v||(e.ConnectionStrategy=v={}));var y;(function(e){function t(e){let t=e;return t&&(t.kind===void 0||t.kind===`id`)&&n.func(t.createCancellationTokenSource)&&(t.dispose===void 0||n.func(t.dispose))}e.is=t})(y||(e.IdCancellationReceiverStrategy=y={}));var b;(function(e){function t(e){let t=e;return t&&t.kind===`request`&&n.func(t.createCancellationTokenSource)&&(t.dispose===void 0||n.func(t.dispose))}e.is=t})(b||(e.RequestCancellationReceiverStrategy=b={}));var x;(function(e){e.Message=Object.freeze({createCancellationTokenSource(e){return new o.CancellationTokenSource}});function t(e){return y.is(e)||b.is(e)}e.is=t})(x||(e.CancellationReceiverStrategy=x={}));var S;(function(e){e.Message=Object.freeze({sendCancellation(e,t){return e.sendNotification(s.type,{id:t})},cleanup(e){}});function t(e){let t=e;return t&&n.func(t.sendCancellation)&&n.func(t.cleanup)}e.is=t})(S||(e.CancellationSenderStrategy=S={}));var C;(function(e){e.Message=Object.freeze({receiver:x.Message,sender:S.Message});function t(e){let t=e;return t&&x.is(t.receiver)&&S.is(t.sender)}e.is=t})(C||(e.CancellationStrategy=C={}));var w;(function(e){function t(e){let t=e;return t&&n.func(t.handleMessage)}e.is=t})(w||(e.MessageStrategy=w={}));var T;(function(e){function t(e){let t=e;return t&&(C.is(t.cancellationStrategy)||v.is(t.connectionStrategy)||w.is(t.messageStrategy))}e.is=t})(T||(e.ConnectionOptions=T={}));var E;(function(e){e[e.New=1]=`New`,e[e.Listening=2]=`Listening`,e[e.Closed=3]=`Closed`,e[e.Disposed=4]=`Disposed`})(E||={});function D(f,v,b,x){let S=b===void 0?e.NullLogger:b,T=0,D=0,O=0,k,A=new Map,j,ee=new Map,te=new Map,ne,re=new i.LinkedMap,M=new Map,ie=new Set,ae=new Map,N=d.Off,oe=p.Text,P,F=E.New,se=new a.Emitter,ce=new a.Emitter,le=new a.Emitter,ue=new a.Emitter,de=new a.Emitter,I=x&&x.cancellationStrategy?x.cancellationStrategy:C.Message;function fe(e){if(e===null)throw Error(`Can't send requests with id null since the response can't be correlated.`);return`req-`+e.toString()}function pe(e){return e===null?`res-unknown-`+(++O).toString():`res-`+e.toString()}function L(){return`not-`+(++D).toString()}function R(e,t){r.Message.isRequest(t)?e.set(fe(t.id),t):r.Message.isResponse(t)?e.set(pe(t.id),t):e.set(L(),t)}function z(e){}function me(){return F===E.Listening}function he(){return F===E.Closed}function ge(){return F===E.Disposed}function _e(){(F===E.New||F===E.Listening)&&(F=E.Closed,ce.fire(void 0))}function B(e){se.fire([e,void 0,void 0])}function ve(e){se.fire(e)}f.onClose(_e),f.onError(B),v.onClose(_e),v.onError(ve);function V(){ne||re.size===0||(ne=(0,t.default)().timer.setImmediate(()=>{ne=void 0,be()}))}function ye(e){r.Message.isRequest(e)?Se(e):r.Message.isNotification(e)?H(e):r.Message.isResponse(e)?Ce(e):we(e)}function be(){if(re.size===0)return;let e=re.shift();try{let t=x?.messageStrategy;w.is(t)?t.handleMessage(e,ye):ye(e)}finally{V()}}let xe=e=>{try{if(r.Message.isNotification(e)&&e.method===s.type.method){let t=e.params.id,n=fe(t),i=re.get(n);if(r.Message.isRequest(i)){let r=x?.connectionStrategy,a=r&&r.cancelUndispatched?r.cancelUndispatched(i,z):void 0;if(a&&(a.error!==void 0||a.result!==void 0)){re.delete(n),ae.delete(t),a.id=i.id,De(a,e.method,Date.now()),v.write(a).catch(()=>S.error(`Sending response for canceled message failed.`));return}}let a=ae.get(t);if(a!==void 0){a.cancel(),ke(e);return}else ie.add(t)}R(re,e)}finally{V()}};function Se(e){if(ge())return;function t(t,n,i){let a={jsonrpc:`2.0`,id:e.id};t instanceof r.ResponseError?a.error=t.toJson():a.result=t===void 0?null:t,De(a,n,i),v.write(a).catch(()=>S.error(`Sending response failed.`))}function i(t,n,r){let i={jsonrpc:`2.0`,id:e.id,error:t.toJson()};De(i,n,r),v.write(i).catch(()=>S.error(`Sending response failed.`))}function a(t,n,r){t===void 0&&(t=null);let i={jsonrpc:`2.0`,id:e.id,result:t};De(i,n,r),v.write(i).catch(()=>S.error(`Sending response failed.`))}Oe(e);let o=A.get(e.method),s,c;o&&(s=o.type,c=o.handler);let l=Date.now();if(c||k){let o=e.id??String(Date.now()),u=y.is(I.receiver)?I.receiver.createCancellationTokenSource(o):I.receiver.createCancellationTokenSource(e);e.id!==null&&ie.has(e.id)&&u.cancel(),e.id!==null&&ae.set(o,u);try{let d;if(c)if(e.params===void 0){if(s!==void 0&&s.numberOfParams!==0){i(new r.ResponseError(r.ErrorCodes.InvalidParams,`Request ${e.method} defines ${s.numberOfParams} params but received none.`),e.method,l);return}d=c(u.token)}else if(Array.isArray(e.params)){if(s!==void 0&&s.parameterStructures===r.ParameterStructures.byName){i(new r.ResponseError(r.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by name but received parameters by position`),e.method,l);return}d=c(...e.params,u.token)}else{if(s!==void 0&&s.parameterStructures===r.ParameterStructures.byPosition){i(new r.ResponseError(r.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by position but received parameters by name`),e.method,l);return}d=c(e.params,u.token)}else k&&(d=k(e.method,e.params,u.token));let f=d;d?f.then?f.then(n=>{ae.delete(o),t(n,e.method,l)},t=>{ae.delete(o),t instanceof r.ResponseError?i(t,e.method,l):t&&n.string(t.message)?i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${t.message}`),e.method,l):i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,l)}):(ae.delete(o),t(d,e.method,l)):(ae.delete(o),a(d,e.method,l))}catch(a){ae.delete(o),a instanceof r.ResponseError?t(a,e.method,l):a&&n.string(a.message)?i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${a.message}`),e.method,l):i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,l)}}else i(new r.ResponseError(r.ErrorCodes.MethodNotFound,`Unhandled method ${e.method}`),e.method,l)}function Ce(e){if(!ge())if(e.id===null)e.error?S.error(`Received response message without id: Error is: \n${JSON.stringify(e.error,void 0,4)}`):S.error(`Received response message without id. No further error information provided.`);else{let t=e.id,n=M.get(t);if(Ae(e,n),n!==void 0){M.delete(t);try{if(e.error){let t=e.error;n.reject(new r.ResponseError(t.code,t.message,t.data))}else if(e.result!==void 0)n.resolve(e.result);else throw Error(`Should never happen.`)}catch(e){e.message?S.error(`Response handler '${n.method}' failed with message: ${e.message}`):S.error(`Response handler '${n.method}' failed unexpectedly.`)}}}}function H(e){if(ge())return;let t,n;if(e.method===s.type.method){let t=e.params.id;ie.delete(t),ke(e);return}else{let r=ee.get(e.method);r&&(n=r.handler,t=r.type)}if(n||j)try{if(ke(e),n)if(e.params===void 0)t!==void 0&&t.numberOfParams!==0&&t.parameterStructures!==r.ParameterStructures.byName&&S.error(`Notification ${e.method} defines ${t.numberOfParams} params but received none.`),n();else if(Array.isArray(e.params)){let i=e.params;e.method===l.type.method&&i.length===2&&c.is(i[0])?n({token:i[0],value:i[1]}):(t!==void 0&&(t.parameterStructures===r.ParameterStructures.byName&&S.error(`Notification ${e.method} defines parameters by name but received parameters by position`),t.numberOfParams!==e.params.length&&S.error(`Notification ${e.method} defines ${t.numberOfParams} params but received ${i.length} arguments`)),n(...i))}else t!==void 0&&t.parameterStructures===r.ParameterStructures.byPosition&&S.error(`Notification ${e.method} defines parameters by position but received parameters by name`),n(e.params);else j&&j(e.method,e.params)}catch(t){t.message?S.error(`Notification handler '${e.method}' failed with message: ${t.message}`):S.error(`Notification handler '${e.method}' failed unexpectedly.`)}else le.fire(e)}function we(e){if(!e){S.error(`Received empty message.`);return}S.error(`Received message which is neither a response nor a notification message:\n${JSON.stringify(e,null,4)}`);let t=e;if(n.string(t.id)||n.number(t.id)){let e=t.id,n=M.get(e);n&&n.reject(Error(`The received response has neither a result nor an error property.`))}}function U(e){if(e!=null)switch(N){case d.Verbose:return JSON.stringify(e,null,4);case d.Compact:return JSON.stringify(e);default:return}}function Te(e){if(!(N===d.Off||!P))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&e.params&&(t=`Params: ${U(e.params)}\n\n`),P.log(`Sending request '${e.method} - (${e.id})'.`,t)}else W(`send-request`,e)}function Ee(e){if(!(N===d.Off||!P))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&(t=e.params?`Params: ${U(e.params)}\n\n`:`No parameters provided.
`),P.log(`Sending notification '${e.method}'.`,t)}else W(`send-notification`,e)}function De(e,t,n){if(!(N===d.Off||!P))if(oe===p.Text){let r;(N===d.Verbose||N===d.Compact)&&(e.error&&e.error.data?r=`Error data: ${U(e.error.data)}\n\n`:e.result?r=`Result: ${U(e.result)}\n\n`:e.error===void 0&&(r=`No result returned.
`)),P.log(`Sending response '${t} - (${e.id})'. Processing request took ${Date.now()-n}ms`,r)}else W(`send-response`,e)}function Oe(e){if(!(N===d.Off||!P))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&e.params&&(t=`Params: ${U(e.params)}\n\n`),P.log(`Received request '${e.method} - (${e.id})'.`,t)}else W(`receive-request`,e)}function ke(e){if(!(N===d.Off||!P||e.method===h.type.method))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&(t=e.params?`Params: ${U(e.params)}\n\n`:`No parameters provided.
`),P.log(`Received notification '${e.method}'.`,t)}else W(`receive-notification`,e)}function Ae(e,t){if(!(N===d.Off||!P))if(oe===p.Text){let n;if((N===d.Verbose||N===d.Compact)&&(e.error&&e.error.data?n=`Error data: ${U(e.error.data)}\n\n`:e.result?n=`Result: ${U(e.result)}\n\n`:e.error===void 0&&(n=`No result returned.
`)),t){let r=e.error?` Request failed: ${e.error.message} (${e.error.code}).`:``;P.log(`Received response '${t.method} - (${e.id})' in ${Date.now()-t.timerStart}ms.${r}`,n)}else P.log(`Received response ${e.id} without active response promise.`,n)}else W(`receive-response`,e)}function W(e,t){if(!P||N===d.Off)return;let n={isLSPMessage:!0,type:e,message:t,timestamp:Date.now()};P.log(n)}function je(){if(he())throw new _(g.Closed,`Connection is closed.`);if(ge())throw new _(g.Disposed,`Connection is disposed.`)}function Me(){if(me())throw new _(g.AlreadyListening,`Connection is already listening`)}function Ne(){if(!me())throw Error(`Call listen() first.`)}function Pe(e){return e===void 0?null:e}function Fe(e){if(e!==null)return e}function Ie(e){return e!=null&&!Array.isArray(e)&&typeof e==`object`}function Le(e,t){switch(e){case r.ParameterStructures.auto:return Ie(t)?Fe(t):[Pe(t)];case r.ParameterStructures.byName:if(!Ie(t))throw Error(`Received parameters by name but param is not an object literal.`);return Fe(t);case r.ParameterStructures.byPosition:return[Pe(t)];default:throw Error(`Unknown parameter structure ${e.toString()}`)}}function Re(e,t){let n,r=e.numberOfParams;switch(r){case 0:n=void 0;break;case 1:n=Le(e.parameterStructures,t[0]);break;default:n=[];for(let e=0;e<t.length&&e<r;e++)n.push(Pe(t[e]));if(t.length<r)for(let e=t.length;e<r;e++)n.push(null);break}return n}let G={sendNotification:(e,...t)=>{je();let i,a;if(n.string(e)){i=e;let n=t[0],o=0,s=r.ParameterStructures.auto;r.ParameterStructures.is(n)&&(o=1,s=n);let c=t.length,l=c-o;switch(l){case 0:a=void 0;break;case 1:a=Le(s,t[o]);break;default:if(s===r.ParameterStructures.byName)throw Error(`Received ${l} parameters for 'by Name' notification parameter structure.`);a=t.slice(o,c).map(e=>Pe(e));break}}else{let n=t;i=e.method,a=Re(e,n)}let o={jsonrpc:`2.0`,method:i,params:a};return Ee(o),v.write(o).catch(e=>{throw S.error(`Sending notification failed.`),e})},onNotification:(e,t)=>{je();let r;return n.func(e)?j=e:t&&(n.string(e)?(r=e,ee.set(e,{type:void 0,handler:t})):(r=e.method,ee.set(e.method,{type:e,handler:t}))),{dispose:()=>{r===void 0?j=void 0:ee.delete(r)}}},onProgress:(e,t,n)=>{if(te.has(t))throw Error(`Progress handler for token ${t} already registered`);return te.set(t,n),{dispose:()=>{te.delete(t)}}},sendProgress:(e,t,n)=>G.sendNotification(l.type,{token:t,value:n}),onUnhandledProgress:ue.event,sendRequest:(e,...t)=>{je(),Ne();let i,a,s;if(n.string(e)){i=e;let n=t[0],c=t[t.length-1],l=0,u=r.ParameterStructures.auto;r.ParameterStructures.is(n)&&(l=1,u=n);let d=t.length;o.CancellationToken.is(c)&&(--d,s=c);let f=d-l;switch(f){case 0:a=void 0;break;case 1:a=Le(u,t[l]);break;default:if(u===r.ParameterStructures.byName)throw Error(`Received ${f} parameters for 'by Name' request parameter structure.`);a=t.slice(l,d).map(e=>Pe(e));break}}else{let n=t;i=e.method,a=Re(e,n);let r=e.numberOfParams;s=o.CancellationToken.is(n[r])?n[r]:void 0}let c=T++,l;s&&(l=s.onCancellationRequested(()=>{let e=I.sender.sendCancellation(G,c);return e===void 0?(S.log(`Received no promise from cancellation strategy when cancelling id ${c}`),Promise.resolve()):e.catch(()=>{S.log(`Sending cancellation messages for id ${c} failed`)})}));let u={jsonrpc:`2.0`,id:c,method:i,params:a};return Te(u),typeof I.sender.enableCancellation==`function`&&I.sender.enableCancellation(u),new Promise(async(e,t)=>{let n={method:i,timerStart:Date.now(),resolve:t=>{e(t),I.sender.cleanup(c),l?.dispose()},reject:e=>{t(e),I.sender.cleanup(c),l?.dispose()}};try{M.set(c,n),await v.write(u)}catch(e){throw M.delete(c),n.reject(new r.ResponseError(r.ErrorCodes.MessageWriteError,e.message?e.message:`Unknown reason`)),S.error(`Sending request failed.`),e}})},onRequest:(e,t)=>{je();let r=null;return u.is(e)?(r=void 0,k=e):n.string(e)?(r=null,t!==void 0&&(r=e,A.set(e,{handler:t,type:void 0}))):t!==void 0&&(r=e.method,A.set(e.method,{type:e,handler:t})),{dispose:()=>{r!==null&&(r===void 0?k=void 0:A.delete(r))}}},hasPendingResponse:()=>M.size>0,trace:async(e,t,r)=>{let i=!1,a=p.Text;r!==void 0&&(n.boolean(r)?i=r:(i=r.sendNotification||!1,a=r.traceFormat||p.Text)),N=e,oe=a,P=N===d.Off?void 0:t,i&&!he()&&!ge()&&await G.sendNotification(m.type,{value:d.toString(e)})},onError:se.event,onClose:ce.event,onUnhandledNotification:le.event,onDispose:de.event,end:()=>{v.end()},dispose:()=>{if(ge())return;F=E.Disposed,de.fire(void 0);let e=new r.ResponseError(r.ErrorCodes.PendingResponseRejected,`Pending response rejected since connection got disposed`);for(let t of M.values())t.reject(e);M=new Map,ae=new Map,ie=new Set,re=new i.LinkedMap,n.func(v.dispose)&&v.dispose(),n.func(f.dispose)&&f.dispose()},listen:()=>{je(),Me(),F=E.Listening,f.listen(xe)},inspect:()=>{(0,t.default)().console.log(`inspect`)}};return G.onNotification(h.type,e=>{if(N===d.Off||!P)return;let t=N===d.Verbose||N===d.Compact;P.log(e.message,t?e.verbose:void 0)}),G.onNotification(l.type,e=>{let t=te.get(e.token);t?t(e.value):ue.fire(e)}),G}e.createMessageConnection=D})),mL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ProgressType=e.ProgressToken=e.createMessageConnection=e.NullLogger=e.ConnectionOptions=e.ConnectionStrategy=e.AbstractMessageBuffer=e.WriteableStreamMessageWriter=e.AbstractMessageWriter=e.MessageWriter=e.ReadableStreamMessageReader=e.AbstractMessageReader=e.MessageReader=e.SharedArrayReceiverStrategy=e.SharedArraySenderStrategy=e.CancellationToken=e.CancellationTokenSource=e.Emitter=e.Event=e.Disposable=e.LRUCache=e.Touch=e.LinkedMap=e.ParameterStructures=e.NotificationType9=e.NotificationType8=e.NotificationType7=e.NotificationType6=e.NotificationType5=e.NotificationType4=e.NotificationType3=e.NotificationType2=e.NotificationType1=e.NotificationType0=e.NotificationType=e.ErrorCodes=e.ResponseError=e.RequestType9=e.RequestType8=e.RequestType7=e.RequestType6=e.RequestType5=e.RequestType4=e.RequestType3=e.RequestType2=e.RequestType1=e.RequestType0=e.RequestType=e.Message=e.RAL=void 0,e.MessageStrategy=e.CancellationStrategy=e.CancellationSenderStrategy=e.CancellationReceiverStrategy=e.ConnectionError=e.ConnectionErrors=e.LogTraceNotification=e.SetTraceNotification=e.TraceFormat=e.TraceValues=e.Trace=void 0;let t=nL();Object.defineProperty(e,`Message`,{enumerable:!0,get:function(){return t.Message}}),Object.defineProperty(e,`RequestType`,{enumerable:!0,get:function(){return t.RequestType}}),Object.defineProperty(e,`RequestType0`,{enumerable:!0,get:function(){return t.RequestType0}}),Object.defineProperty(e,`RequestType1`,{enumerable:!0,get:function(){return t.RequestType1}}),Object.defineProperty(e,`RequestType2`,{enumerable:!0,get:function(){return t.RequestType2}}),Object.defineProperty(e,`RequestType3`,{enumerable:!0,get:function(){return t.RequestType3}}),Object.defineProperty(e,`RequestType4`,{enumerable:!0,get:function(){return t.RequestType4}}),Object.defineProperty(e,`RequestType5`,{enumerable:!0,get:function(){return t.RequestType5}}),Object.defineProperty(e,`RequestType6`,{enumerable:!0,get:function(){return t.RequestType6}}),Object.defineProperty(e,`RequestType7`,{enumerable:!0,get:function(){return t.RequestType7}}),Object.defineProperty(e,`RequestType8`,{enumerable:!0,get:function(){return t.RequestType8}}),Object.defineProperty(e,`RequestType9`,{enumerable:!0,get:function(){return t.RequestType9}}),Object.defineProperty(e,`ResponseError`,{enumerable:!0,get:function(){return t.ResponseError}}),Object.defineProperty(e,`ErrorCodes`,{enumerable:!0,get:function(){return t.ErrorCodes}}),Object.defineProperty(e,`NotificationType`,{enumerable:!0,get:function(){return t.NotificationType}}),Object.defineProperty(e,`NotificationType0`,{enumerable:!0,get:function(){return t.NotificationType0}}),Object.defineProperty(e,`NotificationType1`,{enumerable:!0,get:function(){return t.NotificationType1}}),Object.defineProperty(e,`NotificationType2`,{enumerable:!0,get:function(){return t.NotificationType2}}),Object.defineProperty(e,`NotificationType3`,{enumerable:!0,get:function(){return t.NotificationType3}}),Object.defineProperty(e,`NotificationType4`,{enumerable:!0,get:function(){return t.NotificationType4}}),Object.defineProperty(e,`NotificationType5`,{enumerable:!0,get:function(){return t.NotificationType5}}),Object.defineProperty(e,`NotificationType6`,{enumerable:!0,get:function(){return t.NotificationType6}}),Object.defineProperty(e,`NotificationType7`,{enumerable:!0,get:function(){return t.NotificationType7}}),Object.defineProperty(e,`NotificationType8`,{enumerable:!0,get:function(){return t.NotificationType8}}),Object.defineProperty(e,`NotificationType9`,{enumerable:!0,get:function(){return t.NotificationType9}}),Object.defineProperty(e,`ParameterStructures`,{enumerable:!0,get:function(){return t.ParameterStructures}});let n=rL();Object.defineProperty(e,`LinkedMap`,{enumerable:!0,get:function(){return n.LinkedMap}}),Object.defineProperty(e,`LRUCache`,{enumerable:!0,get:function(){return n.LRUCache}}),Object.defineProperty(e,`Touch`,{enumerable:!0,get:function(){return n.Touch}});let r=iL();Object.defineProperty(e,`Disposable`,{enumerable:!0,get:function(){return r.Disposable}});let i=oL();Object.defineProperty(e,`Event`,{enumerable:!0,get:function(){return i.Event}}),Object.defineProperty(e,`Emitter`,{enumerable:!0,get:function(){return i.Emitter}});let a=sL();Object.defineProperty(e,`CancellationTokenSource`,{enumerable:!0,get:function(){return a.CancellationTokenSource}}),Object.defineProperty(e,`CancellationToken`,{enumerable:!0,get:function(){return a.CancellationToken}});let o=cL();Object.defineProperty(e,`SharedArraySenderStrategy`,{enumerable:!0,get:function(){return o.SharedArraySenderStrategy}}),Object.defineProperty(e,`SharedArrayReceiverStrategy`,{enumerable:!0,get:function(){return o.SharedArrayReceiverStrategy}});let s=uL();Object.defineProperty(e,`MessageReader`,{enumerable:!0,get:function(){return s.MessageReader}}),Object.defineProperty(e,`AbstractMessageReader`,{enumerable:!0,get:function(){return s.AbstractMessageReader}}),Object.defineProperty(e,`ReadableStreamMessageReader`,{enumerable:!0,get:function(){return s.ReadableStreamMessageReader}});let c=dL();Object.defineProperty(e,`MessageWriter`,{enumerable:!0,get:function(){return c.MessageWriter}}),Object.defineProperty(e,`AbstractMessageWriter`,{enumerable:!0,get:function(){return c.AbstractMessageWriter}}),Object.defineProperty(e,`WriteableStreamMessageWriter`,{enumerable:!0,get:function(){return c.WriteableStreamMessageWriter}});let l=fL();Object.defineProperty(e,`AbstractMessageBuffer`,{enumerable:!0,get:function(){return l.AbstractMessageBuffer}});let u=pL();Object.defineProperty(e,`ConnectionStrategy`,{enumerable:!0,get:function(){return u.ConnectionStrategy}}),Object.defineProperty(e,`ConnectionOptions`,{enumerable:!0,get:function(){return u.ConnectionOptions}}),Object.defineProperty(e,`NullLogger`,{enumerable:!0,get:function(){return u.NullLogger}}),Object.defineProperty(e,`createMessageConnection`,{enumerable:!0,get:function(){return u.createMessageConnection}}),Object.defineProperty(e,`ProgressToken`,{enumerable:!0,get:function(){return u.ProgressToken}}),Object.defineProperty(e,`ProgressType`,{enumerable:!0,get:function(){return u.ProgressType}}),Object.defineProperty(e,`Trace`,{enumerable:!0,get:function(){return u.Trace}}),Object.defineProperty(e,`TraceValues`,{enumerable:!0,get:function(){return u.TraceValues}}),Object.defineProperty(e,`TraceFormat`,{enumerable:!0,get:function(){return u.TraceFormat}}),Object.defineProperty(e,`SetTraceNotification`,{enumerable:!0,get:function(){return u.SetTraceNotification}}),Object.defineProperty(e,`LogTraceNotification`,{enumerable:!0,get:function(){return u.LogTraceNotification}}),Object.defineProperty(e,`ConnectionErrors`,{enumerable:!0,get:function(){return u.ConnectionErrors}}),Object.defineProperty(e,`ConnectionError`,{enumerable:!0,get:function(){return u.ConnectionError}}),Object.defineProperty(e,`CancellationReceiverStrategy`,{enumerable:!0,get:function(){return u.CancellationReceiverStrategy}}),Object.defineProperty(e,`CancellationSenderStrategy`,{enumerable:!0,get:function(){return u.CancellationSenderStrategy}}),Object.defineProperty(e,`CancellationStrategy`,{enumerable:!0,get:function(){return u.CancellationStrategy}}),Object.defineProperty(e,`MessageStrategy`,{enumerable:!0,get:function(){return u.MessageStrategy}}),e.RAL=aL().default})),hL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=R(`util`),n=mL();var r=class e extends n.AbstractMessageBuffer{constructor(e=`utf-8`){super(e)}emptyBuffer(){return e.emptyBuffer}fromString(e,t){return Buffer.from(e,t)}toString(e,n){return e instanceof Buffer?e.toString(n):new t.TextDecoder(n).decode(e)}asNative(e,t){return t===void 0?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,t):Buffer.from(e,0,t)}allocNative(e){return Buffer.allocUnsafe(e)}};r.emptyBuffer=Buffer.allocUnsafe(0);var i=class{constructor(e){this.stream=e}onClose(e){return this.stream.on(`close`,e),n.Disposable.create(()=>this.stream.off(`close`,e))}onError(e){return this.stream.on(`error`,e),n.Disposable.create(()=>this.stream.off(`error`,e))}onEnd(e){return this.stream.on(`end`,e),n.Disposable.create(()=>this.stream.off(`end`,e))}onData(e){return this.stream.on(`data`,e),n.Disposable.create(()=>this.stream.off(`data`,e))}},a=class{constructor(e){this.stream=e}onClose(e){return this.stream.on(`close`,e),n.Disposable.create(()=>this.stream.off(`close`,e))}onError(e){return this.stream.on(`error`,e),n.Disposable.create(()=>this.stream.off(`error`,e))}onEnd(e){return this.stream.on(`end`,e),n.Disposable.create(()=>this.stream.off(`end`,e))}write(e,t){return new Promise((n,r)=>{let i=e=>{e==null?n():r(e)};typeof e==`string`?this.stream.write(e,t,i):this.stream.write(e,i)})}end(){this.stream.end()}};let o=Object.freeze({messageBuffer:Object.freeze({create:e=>new r(e)}),applicationJson:Object.freeze({encoder:Object.freeze({name:`application/json`,encode:(e,t)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(e,void 0,0),t.charset))}catch(e){return Promise.reject(e)}}}),decoder:Object.freeze({name:`application/json`,decode:(e,n)=>{try{return e instanceof Buffer?Promise.resolve(JSON.parse(e.toString(n.charset))):Promise.resolve(JSON.parse(new t.TextDecoder(n.charset).decode(e)))}catch(e){return Promise.reject(e)}}})}),stream:Object.freeze({asReadableStream:e=>new i(e),asWritableStream:e=>new a(e)}),console,timer:Object.freeze({setTimeout(e,t,...n){let r=setTimeout(e,t,...n);return{dispose:()=>clearTimeout(r)}},setImmediate(e,...t){let n=setImmediate(e,...t);return{dispose:()=>clearImmediate(n)}},setInterval(e,t,...n){let r=setInterval(e,t,...n);return{dispose:()=>clearInterval(r)}}})});function s(){return o}(function(e){function t(){n.RAL.install(o)}e.install=t})(s||={}),e.default=s})),gL=I((e=>{var t=e&&e.__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]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.createMessageConnection=e.createServerSocketTransport=e.createClientSocketTransport=e.createServerPipeTransport=e.createClientPipeTransport=e.generateRandomPipeName=e.StreamMessageWriter=e.StreamMessageReader=e.SocketMessageWriter=e.SocketMessageReader=e.PortMessageWriter=e.PortMessageReader=e.IPCMessageWriter=e.IPCMessageReader=void 0;let r=hL();r.default.install();let i=R(`path`),a=R(`os`),o=R(`crypto`),s=R(`net`),c=mL();n(mL(),e),e.IPCMessageReader=class extends c.AbstractMessageReader{constructor(e){super(),this.process=e;let t=this.process;t.on(`error`,e=>this.fireError(e)),t.on(`close`,()=>this.fireClose())}listen(e){return this.process.on(`message`,e),c.Disposable.create(()=>this.process.off(`message`,e))}},e.IPCMessageWriter=class extends c.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let t=this.process;t.on(`error`,e=>this.fireError(e)),t.on(`close`,()=>this.fireClose)}write(e){try{return typeof this.process.send==`function`&&this.process.send(e,void 0,void 0,t=>{t?(this.errorCount++,this.handleError(t,e)):this.errorCount=0}),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}},e.PortMessageReader=class extends c.AbstractMessageReader{constructor(e){super(),this.onData=new c.Emitter,e.on(`close`,()=>this.fireClose),e.on(`error`,e=>this.fireError(e)),e.on(`message`,e=>{this.onData.fire(e)})}listen(e){return this.onData.event(e)}},e.PortMessageWriter=class extends c.AbstractMessageWriter{constructor(e){super(),this.port=e,this.errorCount=0,e.on(`close`,()=>this.fireClose()),e.on(`error`,e=>this.fireError(e))}write(e){try{return this.port.postMessage(e),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}};var l=class extends c.ReadableStreamMessageReader{constructor(e,t=`utf-8`){super((0,r.default)().stream.asReadableStream(e),t)}};e.SocketMessageReader=l;var u=class extends c.WriteableStreamMessageWriter{constructor(e,t){super((0,r.default)().stream.asWritableStream(e),t),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};e.SocketMessageWriter=u;var d=class extends c.ReadableStreamMessageReader{constructor(e,t){super((0,r.default)().stream.asReadableStream(e),t)}};e.StreamMessageReader=d;var f=class extends c.WriteableStreamMessageWriter{constructor(e,t){super((0,r.default)().stream.asWritableStream(e),t)}};e.StreamMessageWriter=f;let p=process.env.XDG_RUNTIME_DIR,m=new Map([[`linux`,107],[`darwin`,103]]);function h(){let e=(0,o.randomBytes)(21).toString(`hex`);if(process.platform===`win32`)return`\\\\.\\pipe\\vscode-jsonrpc-${e}-sock`;let t;t=p?i.join(p,`vscode-ipc-${e}.sock`):i.join(a.tmpdir(),`vscode-${e}.sock`);let n=m.get(process.platform);return n!==void 0&&t.length>n&&(0,r.default)().console.warn(`WARNING: IPC handle "${t}" is longer than ${n} characters.`),t}e.generateRandomPipeName=h;function g(e,t=`utf-8`){let n,r=new Promise((e,t)=>{n=e});return new Promise((i,a)=>{let o=(0,s.createServer)(e=>{o.close(),n([new l(e,t),new u(e,t)])});o.on(`error`,a),o.listen(e,()=>{o.removeListener(`error`,a),i({onConnected:()=>r})})})}e.createClientPipeTransport=g;function _(e,t=`utf-8`){let n=(0,s.createConnection)(e);return[new l(n,t),new u(n,t)]}e.createServerPipeTransport=_;function v(e,t=`utf-8`){let n,r=new Promise((e,t)=>{n=e});return new Promise((i,a)=>{let o=(0,s.createServer)(e=>{o.close(),n([new l(e,t),new u(e,t)])});o.on(`error`,a),o.listen(e,`127.0.0.1`,()=>{o.removeListener(`error`,a),i({onConnected:()=>r})})})}e.createClientSocketTransport=v;function y(e,t=`utf-8`){let n=(0,s.createConnection)(e,`127.0.0.1`);return[new l(n,t),new u(n,t)]}e.createServerSocketTransport=y;function b(e){let t=e;return t.read!==void 0&&t.addListener!==void 0}function x(e){let t=e;return t.write!==void 0&&t.addListener!==void 0}function S(e,t,n,r){n||=c.NullLogger;let i=b(e)?new d(e):e,a=x(t)?new f(t):t;return c.ConnectionStrategy.is(r)&&(r={connectionStrategy:r}),(0,c.createMessageConnection)(i,a,n,r)}e.createMessageConnection=S})),_L=I(((e,t)=>{t.exports=gL()})),vL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.stringArray=e.array=e.func=e.error=e.number=e.string=e.boolean=void 0;function t(e){return e===!0||e===!1}e.boolean=t;function n(e){return typeof e==`string`||e instanceof String}e.string=n;function r(e){return typeof e==`number`||e instanceof Number}e.number=r;function i(e){return e instanceof Error}e.error=i;function a(e){return typeof e==`function`}e.func=a;function o(e){return Array.isArray(e)}e.array=o;function s(e){return o(e)&&e.every(e=>n(e))}e.stringArray=s})),yL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Message=e.NotificationType9=e.NotificationType8=e.NotificationType7=e.NotificationType6=e.NotificationType5=e.NotificationType4=e.NotificationType3=e.NotificationType2=e.NotificationType1=e.NotificationType0=e.NotificationType=e.RequestType9=e.RequestType8=e.RequestType7=e.RequestType6=e.RequestType5=e.RequestType4=e.RequestType3=e.RequestType2=e.RequestType1=e.RequestType=e.RequestType0=e.AbstractMessageSignature=e.ParameterStructures=e.ResponseError=e.ErrorCodes=void 0;let t=vL();var n;(function(e){e.ParseError=-32700,e.InvalidRequest=-32600,e.MethodNotFound=-32601,e.InvalidParams=-32602,e.InternalError=-32603,e.jsonrpcReservedErrorRangeStart=-32099,e.serverErrorStart=-32099,e.MessageWriteError=-32099,e.MessageReadError=-32098,e.PendingResponseRejected=-32097,e.ConnectionInactive=-32096,e.ServerNotInitialized=-32002,e.UnknownErrorCode=-32001,e.jsonrpcReservedErrorRangeEnd=-32e3,e.serverErrorEnd=-32e3})(n||(e.ErrorCodes=n={})),e.ResponseError=class e extends Error{constructor(r,i,a){super(i),this.code=t.number(r)?r:n.UnknownErrorCode,this.data=a,Object.setPrototypeOf(this,e.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};var r=class e{constructor(e){this.kind=e}static is(t){return t===e.auto||t===e.byName||t===e.byPosition}toString(){return this.kind}};e.ParameterStructures=r,r.auto=new r(`auto`),r.byPosition=new r(`byPosition`),r.byName=new r(`byName`);var i=class{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return r.auto}};e.AbstractMessageSignature=i,e.RequestType0=class extends i{constructor(e){super(e,0)}},e.RequestType=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.RequestType1=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.RequestType2=class extends i{constructor(e){super(e,2)}},e.RequestType3=class extends i{constructor(e){super(e,3)}},e.RequestType4=class extends i{constructor(e){super(e,4)}},e.RequestType5=class extends i{constructor(e){super(e,5)}},e.RequestType6=class extends i{constructor(e){super(e,6)}},e.RequestType7=class extends i{constructor(e){super(e,7)}},e.RequestType8=class extends i{constructor(e){super(e,8)}},e.RequestType9=class extends i{constructor(e){super(e,9)}},e.NotificationType=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.NotificationType0=class extends i{constructor(e){super(e,0)}},e.NotificationType1=class extends i{constructor(e,t=r.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}},e.NotificationType2=class extends i{constructor(e){super(e,2)}},e.NotificationType3=class extends i{constructor(e){super(e,3)}},e.NotificationType4=class extends i{constructor(e){super(e,4)}},e.NotificationType5=class extends i{constructor(e){super(e,5)}},e.NotificationType6=class extends i{constructor(e){super(e,6)}},e.NotificationType7=class extends i{constructor(e){super(e,7)}},e.NotificationType8=class extends i{constructor(e){super(e,8)}},e.NotificationType9=class extends i{constructor(e){super(e,9)}};var a;(function(e){function n(e){let n=e;return n&&t.string(n.method)&&(t.string(n.id)||t.number(n.id))}e.isRequest=n;function r(e){let n=e;return n&&t.string(n.method)&&e.id===void 0}e.isNotification=r;function i(e){let n=e;return n&&(n.result!==void 0||!!n.error)&&(t.string(n.id)||t.number(n.id)||n.id===null)}e.isResponse=i})(a||(e.Message=a={}))})),bL=I((e=>{var t;Object.defineProperty(e,`__esModule`,{value:!0}),e.LRUCache=e.LinkedMap=e.Touch=void 0;var n;(function(e){e.None=0,e.First=1,e.AsOld=e.First,e.Last=2,e.AsNew=e.Last})(n||(e.Touch=n={}));var r=class{constructor(){this[t]=`LinkedMap`,this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,t=n.None){let r=this._map.get(e);if(r)return t!==n.None&&this.touch(r,t),r.value}set(e,t,r=n.None){let i=this._map.get(e);if(i)i.value=t,r!==n.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case n.None:this.addItemLast(i);break;case n.First:this.addItemFirst(i);break;case n.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error(`Invalid list`);let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let n=this._state,r=this._head;for(;r;){if(t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),this._state!==n)throw Error(`LinkedMap got modified during iteration.`);r=r.next}}keys(){let e=this._state,t=this._head,n={[Symbol.iterator]:()=>n,next:()=>{if(this._state!==e)throw Error(`LinkedMap got modified during iteration.`);if(t){let e={value:t.key,done:!1};return t=t.next,e}else return{value:void 0,done:!0}}};return n}values(){let e=this._state,t=this._head,n={[Symbol.iterator]:()=>n,next:()=>{if(this._state!==e)throw Error(`LinkedMap got modified during iteration.`);if(t){let e={value:t.value,done:!1};return t=t.next,e}else return{value:void 0,done:!0}}};return n}entries(){let e=this._state,t=this._head,n={[Symbol.iterator]:()=>n,next:()=>{if(this._state!==e)throw Error(`LinkedMap got modified during iteration.`);if(t){let e={value:[t.key,t.value],done:!1};return t=t.next,e}else return{value:void 0,done:!0}}};return n}[(t=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw Error(`Invalid list`);this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error(`Invalid list`);this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error(`Invalid list`);e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error(`Invalid list`);e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,n=e.previous;if(!t||!n)throw Error(`Invalid list`);t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error(`Invalid list`);if(!(t!==n.First&&t!==n.Last)){if(t===n.First){if(e===this._head)return;let t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===n.Last){if(e===this._tail)return;let t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(let[t,n]of e)this.set(t,n)}};e.LinkedMap=r,e.LRUCache=class extends r{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=n.AsNew){return super.get(e,t)}peek(e){return super.get(e,n.None)}set(e,t){return super.set(e,t,n.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}})),xL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Disposable=void 0;var t;(function(e){function t(e){return{dispose:e}}e.create=t})(t||(e.Disposable=t={}))})),SL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t;function n(){if(t===void 0)throw Error(`No runtime abstraction layer installed`);return t}(function(e){function n(e){if(e===void 0)throw Error(`No runtime abstraction layer provided`);t=e}e.install=n})(n||={}),e.default=n})),CL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Emitter=e.Event=void 0;let t=SL();var n;(function(e){let t={dispose(){}};e.None=function(){return t}})(n||(e.Event=n={}));var r=class{add(e,t=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(n)&&n.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let n=!1;for(let r=0,i=this._callbacks.length;r<i;r++)if(this._callbacks[r]===e)if(this._contexts[r]===t){this._callbacks.splice(r,1),this._contexts.splice(r,1);return}else n=!0;if(n)throw Error(`When adding a listener with a context, you should remove it with the same context`)}invoke(...e){if(!this._callbacks)return[];let n=[],r=this._callbacks.slice(0),i=this._contexts.slice(0);for(let a=0,o=r.length;a<o;a++)try{n.push(r[a].apply(i[a],e))}catch(e){(0,t.default)().console.error(e)}return n}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},i=class e{constructor(e){this._options=e}get event(){return this._event||=(t,n,i)=>{this._callbacks||=new r,this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(t,n);let a={dispose:()=>{this._callbacks&&(this._callbacks.remove(t,n),a.dispose=e._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(i)&&i.push(a),a},this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&=(this._callbacks.dispose(),void 0)}};e.Emitter=i,i._noop=function(){}})),wL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;let t=SL(),n=vL(),r=CL();var i;(function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r.Event.None});function t(t){let r=t;return r&&(r===e.None||r===e.Cancelled||n.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}e.is=t})(i||(e.CancellationToken=i={}));let a=Object.freeze(function(e,n){let r=(0,t.default)().timer.setTimeout(e.bind(n),0);return{dispose(){r.dispose()}}});var o=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||=new r.Emitter,this._emitter.event)}dispose(){this._emitter&&=(this._emitter.dispose(),void 0)}};e.CancellationTokenSource=class{get token(){return this._token||=new o,this._token}cancel(){this._token?this._token.cancel():this._token=i.Cancelled}dispose(){this._token?this._token instanceof o&&this._token.dispose():this._token=i.None}}})),TL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SharedArrayReceiverStrategy=e.SharedArraySenderStrategy=void 0;let t=wL();var n;(function(e){e.Continue=0,e.Cancelled=1})(n||={}),e.SharedArraySenderStrategy=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let t=new SharedArrayBuffer(4),r=new Int32Array(t,0,1);r[0]=n.Continue,this.buffers.set(e.id,t),e.$cancellationData=t}async sendCancellation(e,t){let r=this.buffers.get(t);if(r===void 0)return;let i=new Int32Array(r,0,1);Atomics.store(i,0,n.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};var r=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===n.Cancelled}get onCancellationRequested(){throw Error(`Cancellation over SharedArrayBuffer doesn't support cancellation events`)}},i=class{constructor(e){this.token=new r(e)}cancel(){}dispose(){}};e.SharedArrayReceiverStrategy=class{constructor(){this.kind=`request`}createCancellationTokenSource(e){let n=e.$cancellationData;return n===void 0?new t.CancellationTokenSource:new i(n)}}})),EL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Semaphore=void 0;let t=SL();e.Semaphore=class{constructor(e=1){if(e<=0)throw Error(`Capacity must be greater than 0`);this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,n)=>{this._waiting.push({thunk:e,resolve:t,reject:n}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,t.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw Error(`To many thunks active`);try{let t=e.thunk();t instanceof Promise?t.then(t=>{this._active--,e.resolve(t),this.runNext()},t=>{this._active--,e.reject(t),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}}})),DL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReadableStreamMessageReader=e.AbstractMessageReader=e.MessageReader=void 0;let t=SL(),n=vL(),r=CL(),i=EL();var a;(function(e){function t(e){let t=e;return t&&n.func(t.listen)&&n.func(t.dispose)&&n.func(t.onError)&&n.func(t.onClose)&&n.func(t.onPartialMessage)}e.is=t})(a||(e.MessageReader=a={}));var o=class{constructor(){this.errorEmitter=new r.Emitter,this.closeEmitter=new r.Emitter,this.partialMessageEmitter=new r.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:Error(`Reader received error. Reason: ${n.string(e.message)?e.message:`unknown`}`)}};e.AbstractMessageReader=o;var s;(function(e){function n(e){let n,r,i=new Map,a,o=new Map;if(e===void 0||typeof e==`string`)n=e??`utf-8`;else{if(n=e.charset??`utf-8`,e.contentDecoder!==void 0&&(r=e.contentDecoder,i.set(r.name,r)),e.contentDecoders!==void 0)for(let t of e.contentDecoders)i.set(t.name,t);if(e.contentTypeDecoder!==void 0&&(a=e.contentTypeDecoder,o.set(a.name,a)),e.contentTypeDecoders!==void 0)for(let t of e.contentTypeDecoders)o.set(t.name,t)}return a===void 0&&(a=(0,t.default)().applicationJson.decoder,o.set(a.name,a)),{charset:n,contentDecoder:r,contentDecoders:i,contentTypeDecoder:a,contentTypeDecoders:o}}e.fromOptions=n})(s||={}),e.ReadableStreamMessageReader=class extends o{constructor(e,n){super(),this.readable=e,this.options=s.fromOptions(n),this.buffer=(0,t.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new i.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let t=this.readable.onData(e=>{this.onData(e)});return this.readable.onError(e=>this.fireError(e)),this.readable.onClose(()=>this.fireClose()),t}onData(e){try{for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let e=this.buffer.tryReadHeaders(!0);if(!e)return;let t=e.get(`content-length`);if(!t){this.fireError(Error(`Header must provide a Content-Length property.\n${JSON.stringify(Object.fromEntries(e))}`));return}let n=parseInt(t);if(isNaN(n)){this.fireError(Error(`Content-Length value must be a number. Got ${t}`));return}this.nextMessageLength=n}let e=this.buffer.tryReadBody(this.nextMessageLength);if(e===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let t=this.options.contentDecoder===void 0?e:await this.options.contentDecoder.decode(e),n=await this.options.contentTypeDecoder.decode(t,this.options);this.callback(n)}).catch(e=>{this.fireError(e)})}}catch(e){this.fireError(e)}}clearPartialMessageTimer(){this.partialMessageTimer&&=(this.partialMessageTimer.dispose(),void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,t.default)().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}}})),OL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WriteableStreamMessageWriter=e.AbstractMessageWriter=e.MessageWriter=void 0;let t=SL(),n=vL(),r=EL(),i=CL();var a;(function(e){function t(e){let t=e;return t&&n.func(t.dispose)&&n.func(t.onClose)&&n.func(t.onError)&&n.func(t.write)}e.is=t})(a||(e.MessageWriter=a={}));var o=class{constructor(){this.errorEmitter=new i.Emitter,this.closeEmitter=new i.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,n){this.errorEmitter.fire([this.asError(e),t,n])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:Error(`Writer received error. Reason: ${n.string(e.message)?e.message:`unknown`}`)}};e.AbstractMessageWriter=o;var s;(function(e){function n(e){return e===void 0||typeof e==`string`?{charset:e??`utf-8`,contentTypeEncoder:(0,t.default)().applicationJson.encoder}:{charset:e.charset??`utf-8`,contentEncoder:e.contentEncoder,contentTypeEncoder:e.contentTypeEncoder??(0,t.default)().applicationJson.encoder}}e.fromOptions=n})(s||={}),e.WriteableStreamMessageWriter=class extends o{constructor(e,t){super(),this.writable=e,this.options=s.fromOptions(t),this.errorCount=0,this.writeSemaphore=new r.Semaphore(1),this.writable.onError(e=>this.fireError(e)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(e=>this.options.contentEncoder===void 0?e:this.options.contentEncoder.encode(e)).then(t=>{let n=[];return n.push(`Content-Length: `,t.byteLength.toString(),`\r
`),n.push(`\r
`),this.doWrite(e,n,t)},e=>{throw this.fireError(e),e}))}async doWrite(e,t,n){try{return await this.writable.write(t.join(``),`ascii`),this.writable.write(n)}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){this.writable.end()}}})),kL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.AbstractMessageBuffer=void 0,e.AbstractMessageBuffer=class{constructor(e=`utf-8`){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let t=typeof e==`string`?this.fromString(e,this._encoding):e;this._chunks.push(t),this._totalLength+=t.byteLength}tryReadHeaders(e=!1){if(this._chunks.length===0)return;let t=0,n=0,r=0,i=0;row:for(;n<this._chunks.length;){let e=this._chunks[n];r=0;column:for(;r<e.length;){switch(e[r]){case 13:switch(t){case 0:t=1;break;case 2:t=3;break;default:t=0}break;case 10:switch(t){case 1:t=2;break;case 3:t=4,r++;break row;default:t=0}break;default:t=0}r++}i+=e.byteLength,n++}if(t!==4)return;let a=this._read(i+r),o=new Map,s=this.toString(a,`ascii`).split(`\r
`);if(s.length<2)return o;for(let t=0;t<s.length-2;t++){let n=s[t],r=n.indexOf(`:`);if(r===-1)throw Error(`Message header must separate key and value using ':'\n${n}`);let i=n.substr(0,r),a=n.substr(r+1).trim();o.set(e?i.toLowerCase():i,a)}return o}tryReadBody(e){if(!(this._totalLength<e))return this._read(e)}get numberOfBytes(){return this._totalLength}_read(e){if(e===0)return this.emptyBuffer();if(e>this._totalLength)throw Error(`Cannot read so many bytes!`);if(this._chunks[0].byteLength===e){let t=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(t)}if(this._chunks[0].byteLength>e){let t=this._chunks[0],n=this.asNative(t,e);return this._chunks[0]=t.slice(e),this._totalLength-=e,n}let t=this.allocNative(e),n=0;for(;e>0;){let r=this._chunks[0];if(r.byteLength>e){let i=r.slice(0,e);t.set(i,n),n+=e,this._chunks[0]=r.slice(e),this._totalLength-=e,e-=e}else t.set(r,n),n+=r.byteLength,this._chunks.shift(),this._totalLength-=r.byteLength,e-=r.byteLength}return t}}})),AL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createMessageConnection=e.ConnectionOptions=e.MessageStrategy=e.CancellationStrategy=e.CancellationSenderStrategy=e.CancellationReceiverStrategy=e.RequestCancellationReceiverStrategy=e.IdCancellationReceiverStrategy=e.ConnectionStrategy=e.ConnectionError=e.ConnectionErrors=e.LogTraceNotification=e.SetTraceNotification=e.TraceFormat=e.TraceValues=e.Trace=e.NullLogger=e.ProgressType=e.ProgressToken=void 0;let t=SL(),n=vL(),r=yL(),i=bL(),a=CL(),o=wL();var s;(function(e){e.type=new r.NotificationType(`$/cancelRequest`)})(s||={});var c;(function(e){function t(e){return typeof e==`string`||typeof e==`number`}e.is=t})(c||(e.ProgressToken=c={}));var l;(function(e){e.type=new r.NotificationType(`$/progress`)})(l||={}),e.ProgressType=class{constructor(){}};var u;(function(e){function t(e){return n.func(e)}e.is=t})(u||={}),e.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var d;(function(e){e[e.Off=0]=`Off`,e[e.Messages=1]=`Messages`,e[e.Compact=2]=`Compact`,e[e.Verbose=3]=`Verbose`})(d||(e.Trace=d={}));var f;(function(e){e.Off=`off`,e.Messages=`messages`,e.Compact=`compact`,e.Verbose=`verbose`})(f||(e.TraceValues=f={})),(function(e){function t(t){if(!n.string(t))return e.Off;switch(t=t.toLowerCase(),t){case`off`:return e.Off;case`messages`:return e.Messages;case`compact`:return e.Compact;case`verbose`:return e.Verbose;default:return e.Off}}e.fromString=t;function r(t){switch(t){case e.Off:return`off`;case e.Messages:return`messages`;case e.Compact:return`compact`;case e.Verbose:return`verbose`;default:return`off`}}e.toString=r})(d||(e.Trace=d={}));var p;(function(e){e.Text=`text`,e.JSON=`json`})(p||(e.TraceFormat=p={})),(function(e){function t(t){return n.string(t)?(t=t.toLowerCase(),t===`json`?e.JSON:e.Text):e.Text}e.fromString=t})(p||(e.TraceFormat=p={}));var m;(function(e){e.type=new r.NotificationType(`$/setTrace`)})(m||(e.SetTraceNotification=m={}));var h;(function(e){e.type=new r.NotificationType(`$/logTrace`)})(h||(e.LogTraceNotification=h={}));var g;(function(e){e[e.Closed=1]=`Closed`,e[e.Disposed=2]=`Disposed`,e[e.AlreadyListening=3]=`AlreadyListening`})(g||(e.ConnectionErrors=g={}));var _=class e extends Error{constructor(t,n){super(n),this.code=t,Object.setPrototypeOf(this,e.prototype)}};e.ConnectionError=_;var v;(function(e){function t(e){let t=e;return t&&n.func(t.cancelUndispatched)}e.is=t})(v||(e.ConnectionStrategy=v={}));var y;(function(e){function t(e){let t=e;return t&&(t.kind===void 0||t.kind===`id`)&&n.func(t.createCancellationTokenSource)&&(t.dispose===void 0||n.func(t.dispose))}e.is=t})(y||(e.IdCancellationReceiverStrategy=y={}));var b;(function(e){function t(e){let t=e;return t&&t.kind===`request`&&n.func(t.createCancellationTokenSource)&&(t.dispose===void 0||n.func(t.dispose))}e.is=t})(b||(e.RequestCancellationReceiverStrategy=b={}));var x;(function(e){e.Message=Object.freeze({createCancellationTokenSource(e){return new o.CancellationTokenSource}});function t(e){return y.is(e)||b.is(e)}e.is=t})(x||(e.CancellationReceiverStrategy=x={}));var S;(function(e){e.Message=Object.freeze({sendCancellation(e,t){return e.sendNotification(s.type,{id:t})},cleanup(e){}});function t(e){let t=e;return t&&n.func(t.sendCancellation)&&n.func(t.cleanup)}e.is=t})(S||(e.CancellationSenderStrategy=S={}));var C;(function(e){e.Message=Object.freeze({receiver:x.Message,sender:S.Message});function t(e){let t=e;return t&&x.is(t.receiver)&&S.is(t.sender)}e.is=t})(C||(e.CancellationStrategy=C={}));var w;(function(e){function t(e){let t=e;return t&&n.func(t.handleMessage)}e.is=t})(w||(e.MessageStrategy=w={}));var T;(function(e){function t(e){let t=e;return t&&(C.is(t.cancellationStrategy)||v.is(t.connectionStrategy)||w.is(t.messageStrategy))}e.is=t})(T||(e.ConnectionOptions=T={}));var E;(function(e){e[e.New=1]=`New`,e[e.Listening=2]=`Listening`,e[e.Closed=3]=`Closed`,e[e.Disposed=4]=`Disposed`})(E||={});function D(f,v,b,x){let S=b===void 0?e.NullLogger:b,T=0,D=0,O=0,k,A=new Map,j,ee=new Map,te=new Map,ne,re=new i.LinkedMap,M=new Map,ie=new Set,ae=new Map,N=d.Off,oe=p.Text,P,F=E.New,se=new a.Emitter,ce=new a.Emitter,le=new a.Emitter,ue=new a.Emitter,de=new a.Emitter,I=x&&x.cancellationStrategy?x.cancellationStrategy:C.Message;function fe(e){if(e===null)throw Error(`Can't send requests with id null since the response can't be correlated.`);return`req-`+e.toString()}function pe(e){return e===null?`res-unknown-`+(++O).toString():`res-`+e.toString()}function L(){return`not-`+(++D).toString()}function R(e,t){r.Message.isRequest(t)?e.set(fe(t.id),t):r.Message.isResponse(t)?e.set(pe(t.id),t):e.set(L(),t)}function z(e){}function me(){return F===E.Listening}function he(){return F===E.Closed}function ge(){return F===E.Disposed}function _e(){(F===E.New||F===E.Listening)&&(F=E.Closed,ce.fire(void 0))}function B(e){se.fire([e,void 0,void 0])}function ve(e){se.fire(e)}f.onClose(_e),f.onError(B),v.onClose(_e),v.onError(ve);function V(){ne||re.size===0||(ne=(0,t.default)().timer.setImmediate(()=>{ne=void 0,be()}))}function ye(e){r.Message.isRequest(e)?Se(e):r.Message.isNotification(e)?H(e):r.Message.isResponse(e)?Ce(e):we(e)}function be(){if(re.size===0)return;let e=re.shift();try{let t=x?.messageStrategy;w.is(t)?t.handleMessage(e,ye):ye(e)}finally{V()}}let xe=e=>{try{if(r.Message.isNotification(e)&&e.method===s.type.method){let t=e.params.id,n=fe(t),i=re.get(n);if(r.Message.isRequest(i)){let r=x?.connectionStrategy,a=r&&r.cancelUndispatched?r.cancelUndispatched(i,z):void 0;if(a&&(a.error!==void 0||a.result!==void 0)){re.delete(n),ae.delete(t),a.id=i.id,De(a,e.method,Date.now()),v.write(a).catch(()=>S.error(`Sending response for canceled message failed.`));return}}let a=ae.get(t);if(a!==void 0){a.cancel(),ke(e);return}else ie.add(t)}R(re,e)}finally{V()}};function Se(e){if(ge())return;function t(t,n,i){let a={jsonrpc:`2.0`,id:e.id};t instanceof r.ResponseError?a.error=t.toJson():a.result=t===void 0?null:t,De(a,n,i),v.write(a).catch(()=>S.error(`Sending response failed.`))}function i(t,n,r){let i={jsonrpc:`2.0`,id:e.id,error:t.toJson()};De(i,n,r),v.write(i).catch(()=>S.error(`Sending response failed.`))}function a(t,n,r){t===void 0&&(t=null);let i={jsonrpc:`2.0`,id:e.id,result:t};De(i,n,r),v.write(i).catch(()=>S.error(`Sending response failed.`))}Oe(e);let o=A.get(e.method),s,c;o&&(s=o.type,c=o.handler);let l=Date.now();if(c||k){let o=e.id??String(Date.now()),u=y.is(I.receiver)?I.receiver.createCancellationTokenSource(o):I.receiver.createCancellationTokenSource(e);e.id!==null&&ie.has(e.id)&&u.cancel(),e.id!==null&&ae.set(o,u);try{let d;if(c)if(e.params===void 0){if(s!==void 0&&s.numberOfParams!==0){i(new r.ResponseError(r.ErrorCodes.InvalidParams,`Request ${e.method} defines ${s.numberOfParams} params but received none.`),e.method,l);return}d=c(u.token)}else if(Array.isArray(e.params)){if(s!==void 0&&s.parameterStructures===r.ParameterStructures.byName){i(new r.ResponseError(r.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by name but received parameters by position`),e.method,l);return}d=c(...e.params,u.token)}else{if(s!==void 0&&s.parameterStructures===r.ParameterStructures.byPosition){i(new r.ResponseError(r.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by position but received parameters by name`),e.method,l);return}d=c(e.params,u.token)}else k&&(d=k(e.method,e.params,u.token));let f=d;d?f.then?f.then(n=>{ae.delete(o),t(n,e.method,l)},t=>{ae.delete(o),t instanceof r.ResponseError?i(t,e.method,l):t&&n.string(t.message)?i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${t.message}`),e.method,l):i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,l)}):(ae.delete(o),t(d,e.method,l)):(ae.delete(o),a(d,e.method,l))}catch(a){ae.delete(o),a instanceof r.ResponseError?t(a,e.method,l):a&&n.string(a.message)?i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${a.message}`),e.method,l):i(new r.ResponseError(r.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,l)}}else i(new r.ResponseError(r.ErrorCodes.MethodNotFound,`Unhandled method ${e.method}`),e.method,l)}function Ce(e){if(!ge())if(e.id===null)e.error?S.error(`Received response message without id: Error is: \n${JSON.stringify(e.error,void 0,4)}`):S.error(`Received response message without id. No further error information provided.`);else{let t=e.id,n=M.get(t);if(Ae(e,n),n!==void 0){M.delete(t);try{if(e.error){let t=e.error;n.reject(new r.ResponseError(t.code,t.message,t.data))}else if(e.result!==void 0)n.resolve(e.result);else throw Error(`Should never happen.`)}catch(e){e.message?S.error(`Response handler '${n.method}' failed with message: ${e.message}`):S.error(`Response handler '${n.method}' failed unexpectedly.`)}}}}function H(e){if(ge())return;let t,n;if(e.method===s.type.method){let t=e.params.id;ie.delete(t),ke(e);return}else{let r=ee.get(e.method);r&&(n=r.handler,t=r.type)}if(n||j)try{if(ke(e),n)if(e.params===void 0)t!==void 0&&t.numberOfParams!==0&&t.parameterStructures!==r.ParameterStructures.byName&&S.error(`Notification ${e.method} defines ${t.numberOfParams} params but received none.`),n();else if(Array.isArray(e.params)){let i=e.params;e.method===l.type.method&&i.length===2&&c.is(i[0])?n({token:i[0],value:i[1]}):(t!==void 0&&(t.parameterStructures===r.ParameterStructures.byName&&S.error(`Notification ${e.method} defines parameters by name but received parameters by position`),t.numberOfParams!==e.params.length&&S.error(`Notification ${e.method} defines ${t.numberOfParams} params but received ${i.length} arguments`)),n(...i))}else t!==void 0&&t.parameterStructures===r.ParameterStructures.byPosition&&S.error(`Notification ${e.method} defines parameters by position but received parameters by name`),n(e.params);else j&&j(e.method,e.params)}catch(t){t.message?S.error(`Notification handler '${e.method}' failed with message: ${t.message}`):S.error(`Notification handler '${e.method}' failed unexpectedly.`)}else le.fire(e)}function we(e){if(!e){S.error(`Received empty message.`);return}S.error(`Received message which is neither a response nor a notification message:\n${JSON.stringify(e,null,4)}`);let t=e;if(n.string(t.id)||n.number(t.id)){let e=t.id,n=M.get(e);n&&n.reject(Error(`The received response has neither a result nor an error property.`))}}function U(e){if(e!=null)switch(N){case d.Verbose:return JSON.stringify(e,null,4);case d.Compact:return JSON.stringify(e);default:return}}function Te(e){if(!(N===d.Off||!P))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&e.params&&(t=`Params: ${U(e.params)}\n\n`),P.log(`Sending request '${e.method} - (${e.id})'.`,t)}else W(`send-request`,e)}function Ee(e){if(!(N===d.Off||!P))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&(t=e.params?`Params: ${U(e.params)}\n\n`:`No parameters provided.
`),P.log(`Sending notification '${e.method}'.`,t)}else W(`send-notification`,e)}function De(e,t,n){if(!(N===d.Off||!P))if(oe===p.Text){let r;(N===d.Verbose||N===d.Compact)&&(e.error&&e.error.data?r=`Error data: ${U(e.error.data)}\n\n`:e.result?r=`Result: ${U(e.result)}\n\n`:e.error===void 0&&(r=`No result returned.
`)),P.log(`Sending response '${t} - (${e.id})'. Processing request took ${Date.now()-n}ms`,r)}else W(`send-response`,e)}function Oe(e){if(!(N===d.Off||!P))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&e.params&&(t=`Params: ${U(e.params)}\n\n`),P.log(`Received request '${e.method} - (${e.id})'.`,t)}else W(`receive-request`,e)}function ke(e){if(!(N===d.Off||!P||e.method===h.type.method))if(oe===p.Text){let t;(N===d.Verbose||N===d.Compact)&&(t=e.params?`Params: ${U(e.params)}\n\n`:`No parameters provided.
`),P.log(`Received notification '${e.method}'.`,t)}else W(`receive-notification`,e)}function Ae(e,t){if(!(N===d.Off||!P))if(oe===p.Text){let n;if((N===d.Verbose||N===d.Compact)&&(e.error&&e.error.data?n=`Error data: ${U(e.error.data)}\n\n`:e.result?n=`Result: ${U(e.result)}\n\n`:e.error===void 0&&(n=`No result returned.
`)),t){let r=e.error?` Request failed: ${e.error.message} (${e.error.code}).`:``;P.log(`Received response '${t.method} - (${e.id})' in ${Date.now()-t.timerStart}ms.${r}`,n)}else P.log(`Received response ${e.id} without active response promise.`,n)}else W(`receive-response`,e)}function W(e,t){if(!P||N===d.Off)return;let n={isLSPMessage:!0,type:e,message:t,timestamp:Date.now()};P.log(n)}function je(){if(he())throw new _(g.Closed,`Connection is closed.`);if(ge())throw new _(g.Disposed,`Connection is disposed.`)}function Me(){if(me())throw new _(g.AlreadyListening,`Connection is already listening`)}function Ne(){if(!me())throw Error(`Call listen() first.`)}function Pe(e){return e===void 0?null:e}function Fe(e){if(e!==null)return e}function Ie(e){return e!=null&&!Array.isArray(e)&&typeof e==`object`}function Le(e,t){switch(e){case r.ParameterStructures.auto:return Ie(t)?Fe(t):[Pe(t)];case r.ParameterStructures.byName:if(!Ie(t))throw Error(`Received parameters by name but param is not an object literal.`);return Fe(t);case r.ParameterStructures.byPosition:return[Pe(t)];default:throw Error(`Unknown parameter structure ${e.toString()}`)}}function Re(e,t){let n,r=e.numberOfParams;switch(r){case 0:n=void 0;break;case 1:n=Le(e.parameterStructures,t[0]);break;default:n=[];for(let e=0;e<t.length&&e<r;e++)n.push(Pe(t[e]));if(t.length<r)for(let e=t.length;e<r;e++)n.push(null);break}return n}let G={sendNotification:(e,...t)=>{je();let i,a;if(n.string(e)){i=e;let n=t[0],o=0,s=r.ParameterStructures.auto;r.ParameterStructures.is(n)&&(o=1,s=n);let c=t.length,l=c-o;switch(l){case 0:a=void 0;break;case 1:a=Le(s,t[o]);break;default:if(s===r.ParameterStructures.byName)throw Error(`Received ${l} parameters for 'by Name' notification parameter structure.`);a=t.slice(o,c).map(e=>Pe(e));break}}else{let n=t;i=e.method,a=Re(e,n)}let o={jsonrpc:`2.0`,method:i,params:a};return Ee(o),v.write(o).catch(e=>{throw S.error(`Sending notification failed.`),e})},onNotification:(e,t)=>{je();let r;return n.func(e)?j=e:t&&(n.string(e)?(r=e,ee.set(e,{type:void 0,handler:t})):(r=e.method,ee.set(e.method,{type:e,handler:t}))),{dispose:()=>{r===void 0?j=void 0:ee.delete(r)}}},onProgress:(e,t,n)=>{if(te.has(t))throw Error(`Progress handler for token ${t} already registered`);return te.set(t,n),{dispose:()=>{te.delete(t)}}},sendProgress:(e,t,n)=>G.sendNotification(l.type,{token:t,value:n}),onUnhandledProgress:ue.event,sendRequest:(e,...t)=>{je(),Ne();let i,a,s;if(n.string(e)){i=e;let n=t[0],c=t[t.length-1],l=0,u=r.ParameterStructures.auto;r.ParameterStructures.is(n)&&(l=1,u=n);let d=t.length;o.CancellationToken.is(c)&&(--d,s=c);let f=d-l;switch(f){case 0:a=void 0;break;case 1:a=Le(u,t[l]);break;default:if(u===r.ParameterStructures.byName)throw Error(`Received ${f} parameters for 'by Name' request parameter structure.`);a=t.slice(l,d).map(e=>Pe(e));break}}else{let n=t;i=e.method,a=Re(e,n);let r=e.numberOfParams;s=o.CancellationToken.is(n[r])?n[r]:void 0}let c=T++,l;s&&(l=s.onCancellationRequested(()=>{let e=I.sender.sendCancellation(G,c);return e===void 0?(S.log(`Received no promise from cancellation strategy when cancelling id ${c}`),Promise.resolve()):e.catch(()=>{S.log(`Sending cancellation messages for id ${c} failed`)})}));let u={jsonrpc:`2.0`,id:c,method:i,params:a};return Te(u),typeof I.sender.enableCancellation==`function`&&I.sender.enableCancellation(u),new Promise(async(e,t)=>{let n={method:i,timerStart:Date.now(),resolve:t=>{e(t),I.sender.cleanup(c),l?.dispose()},reject:e=>{t(e),I.sender.cleanup(c),l?.dispose()}};try{await v.write(u),M.set(c,n)}catch(e){throw S.error(`Sending request failed.`),n.reject(new r.ResponseError(r.ErrorCodes.MessageWriteError,e.message?e.message:`Unknown reason`)),e}})},onRequest:(e,t)=>{je();let r=null;return u.is(e)?(r=void 0,k=e):n.string(e)?(r=null,t!==void 0&&(r=e,A.set(e,{handler:t,type:void 0}))):t!==void 0&&(r=e.method,A.set(e.method,{type:e,handler:t})),{dispose:()=>{r!==null&&(r===void 0?k=void 0:A.delete(r))}}},hasPendingResponse:()=>M.size>0,trace:async(e,t,r)=>{let i=!1,a=p.Text;r!==void 0&&(n.boolean(r)?i=r:(i=r.sendNotification||!1,a=r.traceFormat||p.Text)),N=e,oe=a,P=N===d.Off?void 0:t,i&&!he()&&!ge()&&await G.sendNotification(m.type,{value:d.toString(e)})},onError:se.event,onClose:ce.event,onUnhandledNotification:le.event,onDispose:de.event,end:()=>{v.end()},dispose:()=>{if(ge())return;F=E.Disposed,de.fire(void 0);let e=new r.ResponseError(r.ErrorCodes.PendingResponseRejected,`Pending response rejected since connection got disposed`);for(let t of M.values())t.reject(e);M=new Map,ae=new Map,ie=new Set,re=new i.LinkedMap,n.func(v.dispose)&&v.dispose(),n.func(f.dispose)&&f.dispose()},listen:()=>{je(),Me(),F=E.Listening,f.listen(xe)},inspect:()=>{(0,t.default)().console.log(`inspect`)}};return G.onNotification(h.type,e=>{if(N===d.Off||!P)return;let t=N===d.Verbose||N===d.Compact;P.log(e.message,t?e.verbose:void 0)}),G.onNotification(l.type,e=>{let t=te.get(e.token);t?t(e.value):ue.fire(e)}),G}e.createMessageConnection=D})),jL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ProgressType=e.ProgressToken=e.createMessageConnection=e.NullLogger=e.ConnectionOptions=e.ConnectionStrategy=e.AbstractMessageBuffer=e.WriteableStreamMessageWriter=e.AbstractMessageWriter=e.MessageWriter=e.ReadableStreamMessageReader=e.AbstractMessageReader=e.MessageReader=e.SharedArrayReceiverStrategy=e.SharedArraySenderStrategy=e.CancellationToken=e.CancellationTokenSource=e.Emitter=e.Event=e.Disposable=e.LRUCache=e.Touch=e.LinkedMap=e.ParameterStructures=e.NotificationType9=e.NotificationType8=e.NotificationType7=e.NotificationType6=e.NotificationType5=e.NotificationType4=e.NotificationType3=e.NotificationType2=e.NotificationType1=e.NotificationType0=e.NotificationType=e.ErrorCodes=e.ResponseError=e.RequestType9=e.RequestType8=e.RequestType7=e.RequestType6=e.RequestType5=e.RequestType4=e.RequestType3=e.RequestType2=e.RequestType1=e.RequestType0=e.RequestType=e.Message=e.RAL=void 0,e.MessageStrategy=e.CancellationStrategy=e.CancellationSenderStrategy=e.CancellationReceiverStrategy=e.ConnectionError=e.ConnectionErrors=e.LogTraceNotification=e.SetTraceNotification=e.TraceFormat=e.TraceValues=e.Trace=void 0;let t=yL();Object.defineProperty(e,`Message`,{enumerable:!0,get:function(){return t.Message}}),Object.defineProperty(e,`RequestType`,{enumerable:!0,get:function(){return t.RequestType}}),Object.defineProperty(e,`RequestType0`,{enumerable:!0,get:function(){return t.RequestType0}}),Object.defineProperty(e,`RequestType1`,{enumerable:!0,get:function(){return t.RequestType1}}),Object.defineProperty(e,`RequestType2`,{enumerable:!0,get:function(){return t.RequestType2}}),Object.defineProperty(e,`RequestType3`,{enumerable:!0,get:function(){return t.RequestType3}}),Object.defineProperty(e,`RequestType4`,{enumerable:!0,get:function(){return t.RequestType4}}),Object.defineProperty(e,`RequestType5`,{enumerable:!0,get:function(){return t.RequestType5}}),Object.defineProperty(e,`RequestType6`,{enumerable:!0,get:function(){return t.RequestType6}}),Object.defineProperty(e,`RequestType7`,{enumerable:!0,get:function(){return t.RequestType7}}),Object.defineProperty(e,`RequestType8`,{enumerable:!0,get:function(){return t.RequestType8}}),Object.defineProperty(e,`RequestType9`,{enumerable:!0,get:function(){return t.RequestType9}}),Object.defineProperty(e,`ResponseError`,{enumerable:!0,get:function(){return t.ResponseError}}),Object.defineProperty(e,`ErrorCodes`,{enumerable:!0,get:function(){return t.ErrorCodes}}),Object.defineProperty(e,`NotificationType`,{enumerable:!0,get:function(){return t.NotificationType}}),Object.defineProperty(e,`NotificationType0`,{enumerable:!0,get:function(){return t.NotificationType0}}),Object.defineProperty(e,`NotificationType1`,{enumerable:!0,get:function(){return t.NotificationType1}}),Object.defineProperty(e,`NotificationType2`,{enumerable:!0,get:function(){return t.NotificationType2}}),Object.defineProperty(e,`NotificationType3`,{enumerable:!0,get:function(){return t.NotificationType3}}),Object.defineProperty(e,`NotificationType4`,{enumerable:!0,get:function(){return t.NotificationType4}}),Object.defineProperty(e,`NotificationType5`,{enumerable:!0,get:function(){return t.NotificationType5}}),Object.defineProperty(e,`NotificationType6`,{enumerable:!0,get:function(){return t.NotificationType6}}),Object.defineProperty(e,`NotificationType7`,{enumerable:!0,get:function(){return t.NotificationType7}}),Object.defineProperty(e,`NotificationType8`,{enumerable:!0,get:function(){return t.NotificationType8}}),Object.defineProperty(e,`NotificationType9`,{enumerable:!0,get:function(){return t.NotificationType9}}),Object.defineProperty(e,`ParameterStructures`,{enumerable:!0,get:function(){return t.ParameterStructures}});let n=bL();Object.defineProperty(e,`LinkedMap`,{enumerable:!0,get:function(){return n.LinkedMap}}),Object.defineProperty(e,`LRUCache`,{enumerable:!0,get:function(){return n.LRUCache}}),Object.defineProperty(e,`Touch`,{enumerable:!0,get:function(){return n.Touch}});let r=xL();Object.defineProperty(e,`Disposable`,{enumerable:!0,get:function(){return r.Disposable}});let i=CL();Object.defineProperty(e,`Event`,{enumerable:!0,get:function(){return i.Event}}),Object.defineProperty(e,`Emitter`,{enumerable:!0,get:function(){return i.Emitter}});let a=wL();Object.defineProperty(e,`CancellationTokenSource`,{enumerable:!0,get:function(){return a.CancellationTokenSource}}),Object.defineProperty(e,`CancellationToken`,{enumerable:!0,get:function(){return a.CancellationToken}});let o=TL();Object.defineProperty(e,`SharedArraySenderStrategy`,{enumerable:!0,get:function(){return o.SharedArraySenderStrategy}}),Object.defineProperty(e,`SharedArrayReceiverStrategy`,{enumerable:!0,get:function(){return o.SharedArrayReceiverStrategy}});let s=DL();Object.defineProperty(e,`MessageReader`,{enumerable:!0,get:function(){return s.MessageReader}}),Object.defineProperty(e,`AbstractMessageReader`,{enumerable:!0,get:function(){return s.AbstractMessageReader}}),Object.defineProperty(e,`ReadableStreamMessageReader`,{enumerable:!0,get:function(){return s.ReadableStreamMessageReader}});let c=OL();Object.defineProperty(e,`MessageWriter`,{enumerable:!0,get:function(){return c.MessageWriter}}),Object.defineProperty(e,`AbstractMessageWriter`,{enumerable:!0,get:function(){return c.AbstractMessageWriter}}),Object.defineProperty(e,`WriteableStreamMessageWriter`,{enumerable:!0,get:function(){return c.WriteableStreamMessageWriter}});let l=kL();Object.defineProperty(e,`AbstractMessageBuffer`,{enumerable:!0,get:function(){return l.AbstractMessageBuffer}});let u=AL();Object.defineProperty(e,`ConnectionStrategy`,{enumerable:!0,get:function(){return u.ConnectionStrategy}}),Object.defineProperty(e,`ConnectionOptions`,{enumerable:!0,get:function(){return u.ConnectionOptions}}),Object.defineProperty(e,`NullLogger`,{enumerable:!0,get:function(){return u.NullLogger}}),Object.defineProperty(e,`createMessageConnection`,{enumerable:!0,get:function(){return u.createMessageConnection}}),Object.defineProperty(e,`ProgressToken`,{enumerable:!0,get:function(){return u.ProgressToken}}),Object.defineProperty(e,`ProgressType`,{enumerable:!0,get:function(){return u.ProgressType}}),Object.defineProperty(e,`Trace`,{enumerable:!0,get:function(){return u.Trace}}),Object.defineProperty(e,`TraceValues`,{enumerable:!0,get:function(){return u.TraceValues}}),Object.defineProperty(e,`TraceFormat`,{enumerable:!0,get:function(){return u.TraceFormat}}),Object.defineProperty(e,`SetTraceNotification`,{enumerable:!0,get:function(){return u.SetTraceNotification}}),Object.defineProperty(e,`LogTraceNotification`,{enumerable:!0,get:function(){return u.LogTraceNotification}}),Object.defineProperty(e,`ConnectionErrors`,{enumerable:!0,get:function(){return u.ConnectionErrors}}),Object.defineProperty(e,`ConnectionError`,{enumerable:!0,get:function(){return u.ConnectionError}}),Object.defineProperty(e,`CancellationReceiverStrategy`,{enumerable:!0,get:function(){return u.CancellationReceiverStrategy}}),Object.defineProperty(e,`CancellationSenderStrategy`,{enumerable:!0,get:function(){return u.CancellationSenderStrategy}}),Object.defineProperty(e,`CancellationStrategy`,{enumerable:!0,get:function(){return u.CancellationStrategy}}),Object.defineProperty(e,`MessageStrategy`,{enumerable:!0,get:function(){return u.MessageStrategy}}),e.RAL=SL().default})),ML=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=R(`util`),n=jL();var r=class e extends n.AbstractMessageBuffer{constructor(e=`utf-8`){super(e)}emptyBuffer(){return e.emptyBuffer}fromString(e,t){return Buffer.from(e,t)}toString(e,n){return e instanceof Buffer?e.toString(n):new t.TextDecoder(n).decode(e)}asNative(e,t){return t===void 0?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,t):Buffer.from(e,0,t)}allocNative(e){return Buffer.allocUnsafe(e)}};r.emptyBuffer=Buffer.allocUnsafe(0);var i=class{constructor(e){this.stream=e}onClose(e){return this.stream.on(`close`,e),n.Disposable.create(()=>this.stream.off(`close`,e))}onError(e){return this.stream.on(`error`,e),n.Disposable.create(()=>this.stream.off(`error`,e))}onEnd(e){return this.stream.on(`end`,e),n.Disposable.create(()=>this.stream.off(`end`,e))}onData(e){return this.stream.on(`data`,e),n.Disposable.create(()=>this.stream.off(`data`,e))}},a=class{constructor(e){this.stream=e}onClose(e){return this.stream.on(`close`,e),n.Disposable.create(()=>this.stream.off(`close`,e))}onError(e){return this.stream.on(`error`,e),n.Disposable.create(()=>this.stream.off(`error`,e))}onEnd(e){return this.stream.on(`end`,e),n.Disposable.create(()=>this.stream.off(`end`,e))}write(e,t){return new Promise((n,r)=>{let i=e=>{e==null?n():r(e)};typeof e==`string`?this.stream.write(e,t,i):this.stream.write(e,i)})}end(){this.stream.end()}};let o=Object.freeze({messageBuffer:Object.freeze({create:e=>new r(e)}),applicationJson:Object.freeze({encoder:Object.freeze({name:`application/json`,encode:(e,t)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(e,void 0,0),t.charset))}catch(e){return Promise.reject(e)}}}),decoder:Object.freeze({name:`application/json`,decode:(e,n)=>{try{return e instanceof Buffer?Promise.resolve(JSON.parse(e.toString(n.charset))):Promise.resolve(JSON.parse(new t.TextDecoder(n.charset).decode(e)))}catch(e){return Promise.reject(e)}}})}),stream:Object.freeze({asReadableStream:e=>new i(e),asWritableStream:e=>new a(e)}),console,timer:Object.freeze({setTimeout(e,t,...n){let r=setTimeout(e,t,...n);return{dispose:()=>clearTimeout(r)}},setImmediate(e,...t){let n=setImmediate(e,...t);return{dispose:()=>clearImmediate(n)}},setInterval(e,t,...n){let r=setInterval(e,t,...n);return{dispose:()=>clearInterval(r)}}})});function s(){return o}(function(e){function t(){n.RAL.install(o)}e.install=t})(s||={}),e.default=s})),NL=I((e=>{var t=e&&e.__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]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.createMessageConnection=e.createServerSocketTransport=e.createClientSocketTransport=e.createServerPipeTransport=e.createClientPipeTransport=e.generateRandomPipeName=e.StreamMessageWriter=e.StreamMessageReader=e.SocketMessageWriter=e.SocketMessageReader=e.PortMessageWriter=e.PortMessageReader=e.IPCMessageWriter=e.IPCMessageReader=void 0;let r=ML();r.default.install();let i=R(`path`),a=R(`os`),o=R(`crypto`),s=R(`net`),c=jL();n(jL(),e),e.IPCMessageReader=class extends c.AbstractMessageReader{constructor(e){super(),this.process=e;let t=this.process;t.on(`error`,e=>this.fireError(e)),t.on(`close`,()=>this.fireClose())}listen(e){return this.process.on(`message`,e),c.Disposable.create(()=>this.process.off(`message`,e))}},e.IPCMessageWriter=class extends c.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let t=this.process;t.on(`error`,e=>this.fireError(e)),t.on(`close`,()=>this.fireClose)}write(e){try{return typeof this.process.send==`function`&&this.process.send(e,void 0,void 0,t=>{t?(this.errorCount++,this.handleError(t,e)):this.errorCount=0}),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}},e.PortMessageReader=class extends c.AbstractMessageReader{constructor(e){super(),this.onData=new c.Emitter,e.on(`close`,()=>this.fireClose),e.on(`error`,e=>this.fireError(e)),e.on(`message`,e=>{this.onData.fire(e)})}listen(e){return this.onData.event(e)}},e.PortMessageWriter=class extends c.AbstractMessageWriter{constructor(e){super(),this.port=e,this.errorCount=0,e.on(`close`,()=>this.fireClose()),e.on(`error`,e=>this.fireError(e))}write(e){try{return this.port.postMessage(e),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}};var l=class extends c.ReadableStreamMessageReader{constructor(e,t=`utf-8`){super((0,r.default)().stream.asReadableStream(e),t)}};e.SocketMessageReader=l;var u=class extends c.WriteableStreamMessageWriter{constructor(e,t){super((0,r.default)().stream.asWritableStream(e),t),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};e.SocketMessageWriter=u;var d=class extends c.ReadableStreamMessageReader{constructor(e,t){super((0,r.default)().stream.asReadableStream(e),t)}};e.StreamMessageReader=d;var f=class extends c.WriteableStreamMessageWriter{constructor(e,t){super((0,r.default)().stream.asWritableStream(e),t)}};e.StreamMessageWriter=f;let p=process.env.XDG_RUNTIME_DIR,m=new Map([[`linux`,107],[`darwin`,103]]);function h(){let e=(0,o.randomBytes)(21).toString(`hex`);if(process.platform===`win32`)return`\\\\.\\pipe\\vscode-jsonrpc-${e}-sock`;let t;t=p?i.join(p,`vscode-ipc-${e}.sock`):i.join(a.tmpdir(),`vscode-${e}.sock`);let n=m.get(process.platform);return n!==void 0&&t.length>n&&(0,r.default)().console.warn(`WARNING: IPC handle "${t}" is longer than ${n} characters.`),t}e.generateRandomPipeName=h;function g(e,t=`utf-8`){let n,r=new Promise((e,t)=>{n=e});return new Promise((i,a)=>{let o=(0,s.createServer)(e=>{o.close(),n([new l(e,t),new u(e,t)])});o.on(`error`,a),o.listen(e,()=>{o.removeListener(`error`,a),i({onConnected:()=>r})})})}e.createClientPipeTransport=g;function _(e,t=`utf-8`){let n=(0,s.createConnection)(e);return[new l(n,t),new u(n,t)]}e.createServerPipeTransport=_;function v(e,t=`utf-8`){let n,r=new Promise((e,t)=>{n=e});return new Promise((i,a)=>{let o=(0,s.createServer)(e=>{o.close(),n([new l(e,t),new u(e,t)])});o.on(`error`,a),o.listen(e,`127.0.0.1`,()=>{o.removeListener(`error`,a),i({onConnected:()=>r})})})}e.createClientSocketTransport=v;function y(e,t=`utf-8`){let n=(0,s.createConnection)(e,`127.0.0.1`);return[new l(n,t),new u(n,t)]}e.createServerSocketTransport=y;function b(e){let t=e;return t.read!==void 0&&t.addListener!==void 0}function x(e){let t=e;return t.write!==void 0&&t.addListener!==void 0}function S(e,t,n,r){n||=c.NullLogger;let i=b(e)?new d(e):e,a=x(t)?new f(t):t;return c.ConnectionStrategy.is(r)&&(r={connectionStrategy:r}),(0,c.createMessageConnection)(i,a,n,r)}e.createMessageConnection=S})),PL=I(((e,t)=>{t.exports=NL()})),FL=I(((e,t)=>{(function(n){if(typeof t==`object`&&typeof t.exports==`object`){var r=n(R,e);r!==void 0&&(t.exports=r)}else typeof define==`function`&&define.amd&&define([`require`,`exports`],n)})(function(e,t){Object.defineProperty(t,`__esModule`,{value:!0}),t.TextDocument=t.EOL=t.WorkspaceFolder=t.InlineCompletionContext=t.SelectedCompletionInfo=t.InlineCompletionTriggerKind=t.InlineCompletionList=t.InlineCompletionItem=t.StringValue=t.InlayHint=t.InlayHintLabelPart=t.InlayHintKind=t.InlineValueContext=t.InlineValueEvaluatableExpression=t.InlineValueVariableLookup=t.InlineValueText=t.SemanticTokens=t.SemanticTokenModifiers=t.SemanticTokenTypes=t.SelectionRange=t.DocumentLink=t.FormattingOptions=t.CodeLens=t.CodeAction=t.CodeActionContext=t.CodeActionTriggerKind=t.CodeActionKind=t.DocumentSymbol=t.WorkspaceSymbol=t.SymbolInformation=t.SymbolTag=t.SymbolKind=t.DocumentHighlight=t.DocumentHighlightKind=t.SignatureInformation=t.ParameterInformation=t.Hover=t.MarkedString=t.CompletionList=t.CompletionItem=t.CompletionItemLabelDetails=t.InsertTextMode=t.InsertReplaceEdit=t.CompletionItemTag=t.InsertTextFormat=t.CompletionItemKind=t.MarkupContent=t.MarkupKind=t.TextDocumentItem=t.OptionalVersionedTextDocumentIdentifier=t.VersionedTextDocumentIdentifier=t.TextDocumentIdentifier=t.WorkspaceChange=t.WorkspaceEdit=t.DeleteFile=t.RenameFile=t.CreateFile=t.TextDocumentEdit=t.AnnotatedTextEdit=t.ChangeAnnotationIdentifier=t.ChangeAnnotation=t.TextEdit=t.Command=t.Diagnostic=t.CodeDescription=t.DiagnosticTag=t.DiagnosticSeverity=t.DiagnosticRelatedInformation=t.FoldingRange=t.FoldingRangeKind=t.ColorPresentation=t.ColorInformation=t.Color=t.LocationLink=t.Location=t.Range=t.Position=t.uinteger=t.integer=t.URI=t.DocumentUri=void 0;var n;(function(e){function t(e){return typeof e==`string`}e.is=t})(n||(t.DocumentUri=n={}));var r;(function(e){function t(e){return typeof e==`string`}e.is=t})(r||(t.URI=r={}));var i;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(t){return typeof t==`number`&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.is=t})(i||(t.integer=i={}));var a;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(t){return typeof t==`number`&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}e.is=t})(a||(t.uinteger=a={}));var o;(function(e){function t(e,t){return e===Number.MAX_VALUE&&(e=a.MAX_VALUE),t===Number.MAX_VALUE&&(t=a.MAX_VALUE),{line:e,character:t}}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&G.uinteger(t.line)&&G.uinteger(t.character)}e.is=n})(o||(t.Position=o={}));var s;(function(e){function t(e,t,n,r){if(G.uinteger(e)&&G.uinteger(t)&&G.uinteger(n)&&G.uinteger(r))return{start:o.create(e,t),end:o.create(n,r)};if(o.is(e)&&o.is(t))return{start:e,end:t};throw Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&o.is(t.start)&&o.is(t.end)}e.is=n})(s||(t.Range=s={}));var c;(function(e){function t(e,t){return{uri:e,range:t}}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&s.is(t.range)&&(G.string(t.uri)||G.undefined(t.uri))}e.is=n})(c||(t.Location=c={}));var l;(function(e){function t(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&s.is(t.targetRange)&&G.string(t.targetUri)&&s.is(t.targetSelectionRange)&&(s.is(t.originSelectionRange)||G.undefined(t.originSelectionRange))}e.is=n})(l||(t.LocationLink=l={}));var u;(function(e){function t(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&G.numberRange(t.red,0,1)&&G.numberRange(t.green,0,1)&&G.numberRange(t.blue,0,1)&&G.numberRange(t.alpha,0,1)}e.is=n})(u||(t.Color=u={}));var d;(function(e){function t(e,t){return{range:e,color:t}}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&s.is(t.range)&&u.is(t.color)}e.is=n})(d||(t.ColorInformation=d={}));var f;(function(e){function t(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&G.string(t.label)&&(G.undefined(t.textEdit)||x.is(t))&&(G.undefined(t.additionalTextEdits)||G.typedArray(t.additionalTextEdits,x.is))}e.is=n})(f||(t.ColorPresentation=f={}));var p;(function(e){e.Comment=`comment`,e.Imports=`imports`,e.Region=`region`})(p||(t.FoldingRangeKind=p={}));var m;(function(e){function t(e,t,n,r,i,a){var o={startLine:e,endLine:t};return G.defined(n)&&(o.startCharacter=n),G.defined(r)&&(o.endCharacter=r),G.defined(i)&&(o.kind=i),G.defined(a)&&(o.collapsedText=a),o}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&G.uinteger(t.startLine)&&G.uinteger(t.startLine)&&(G.undefined(t.startCharacter)||G.uinteger(t.startCharacter))&&(G.undefined(t.endCharacter)||G.uinteger(t.endCharacter))&&(G.undefined(t.kind)||G.string(t.kind))}e.is=n})(m||(t.FoldingRange=m={}));var h;(function(e){function t(e,t){return{location:e,message:t}}e.create=t;function n(e){var t=e;return G.defined(t)&&c.is(t.location)&&G.string(t.message)}e.is=n})(h||(t.DiagnosticRelatedInformation=h={}));var g;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(g||(t.DiagnosticSeverity=g={}));var _;(function(e){e.Unnecessary=1,e.Deprecated=2})(_||(t.DiagnosticTag=_={}));var v;(function(e){function t(e){var t=e;return G.objectLiteral(t)&&G.string(t.href)}e.is=t})(v||(t.CodeDescription=v={}));var y;(function(e){function t(e,t,n,r,i,a){var o={range:e,message:t};return G.defined(n)&&(o.severity=n),G.defined(r)&&(o.code=r),G.defined(i)&&(o.source=i),G.defined(a)&&(o.relatedInformation=a),o}e.create=t;function n(e){var t=e;return G.defined(t)&&s.is(t.range)&&G.string(t.message)&&(G.number(t.severity)||G.undefined(t.severity))&&(G.integer(t.code)||G.string(t.code)||G.undefined(t.code))&&(G.undefined(t.codeDescription)||G.string(t.codeDescription?.href))&&(G.string(t.source)||G.undefined(t.source))&&(G.undefined(t.relatedInformation)||G.typedArray(t.relatedInformation,h.is))}e.is=n})(y||(t.Diagnostic=y={}));var b;(function(e){function t(e,t){var n=[...arguments].slice(2),r={title:e,command:t};return G.defined(n)&&n.length>0&&(r.arguments=n),r}e.create=t;function n(e){var t=e;return G.defined(t)&&G.string(t.title)&&G.string(t.command)}e.is=n})(b||(t.Command=b={}));var x;(function(e){function t(e,t){return{range:e,newText:t}}e.replace=t;function n(e,t){return{range:{start:e,end:e},newText:t}}e.insert=n;function r(e){return{range:e,newText:``}}e.del=r;function i(e){var t=e;return G.objectLiteral(t)&&G.string(t.newText)&&s.is(t.range)}e.is=i})(x||(t.TextEdit=x={}));var S;(function(e){function t(e,t,n){var r={label:e};return t!==void 0&&(r.needsConfirmation=t),n!==void 0&&(r.description=n),r}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&G.string(t.label)&&(G.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(G.string(t.description)||t.description===void 0)}e.is=n})(S||(t.ChangeAnnotation=S={}));var C;(function(e){function t(e){var t=e;return G.string(t)}e.is=t})(C||(t.ChangeAnnotationIdentifier=C={}));var w;(function(e){function t(e,t,n){return{range:e,newText:t,annotationId:n}}e.replace=t;function n(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}}e.insert=n;function r(e,t){return{range:e,newText:``,annotationId:t}}e.del=r;function i(e){var t=e;return x.is(t)&&(S.is(t.annotationId)||C.is(t.annotationId))}e.is=i})(w||(t.AnnotatedTextEdit=w={}));var T;(function(e){function t(e,t){return{textDocument:e,edits:t}}e.create=t;function n(e){var t=e;return G.defined(t)&&ne.is(t.textDocument)&&Array.isArray(t.edits)}e.is=n})(T||(t.TextDocumentEdit=T={}));var E;(function(e){function t(e,t,n){var r={kind:`create`,uri:e};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(r.options=t),n!==void 0&&(r.annotationId=n),r}e.create=t;function n(e){var t=e;return t&&t.kind===`create`&&G.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||G.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||G.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||C.is(t.annotationId))}e.is=n})(E||(t.CreateFile=E={}));var D;(function(e){function t(e,t,n,r){var i={kind:`rename`,oldUri:e,newUri:t};return n!==void 0&&(n.overwrite!==void 0||n.ignoreIfExists!==void 0)&&(i.options=n),r!==void 0&&(i.annotationId=r),i}e.create=t;function n(e){var t=e;return t&&t.kind===`rename`&&G.string(t.oldUri)&&G.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||G.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||G.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||C.is(t.annotationId))}e.is=n})(D||(t.RenameFile=D={}));var O;(function(e){function t(e,t,n){var r={kind:`delete`,uri:e};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(r.options=t),n!==void 0&&(r.annotationId=n),r}e.create=t;function n(e){var t=e;return t&&t.kind===`delete`&&G.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||G.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||G.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||C.is(t.annotationId))}e.is=n})(O||(t.DeleteFile=O={}));var k;(function(e){function t(e){var t=e;return t&&(t.changes!==void 0||t.documentChanges!==void 0)&&(t.documentChanges===void 0||t.documentChanges.every(function(e){return G.string(e.kind)?E.is(e)||D.is(e)||O.is(e):T.is(e)}))}e.is=t})(k||(t.WorkspaceEdit=k={}));var A=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(n===void 0?r=x.insert(e,t):C.is(n)?(i=n,r=w.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=w.insert(e,t,i)),this.edits.push(r),i!==void 0)return i},e.prototype.replace=function(e,t,n){var r,i;if(n===void 0?r=x.replace(e,t):C.is(n)?(i=n,r=w.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=w.replace(e,t,i)),this.edits.push(r),i!==void 0)return i},e.prototype.delete=function(e,t){var n,r;if(t===void 0?n=x.del(e):C.is(t)?(r=t,n=w.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=w.del(e,r)),this.edits.push(n),r!==void 0)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(e===void 0)throw Error(`Text edit change is not configured to manage change annotations.`)},e}(),j=function(){function e(e){this._annotations=e===void 0?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,`size`,{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(C.is(e)?n=e:(n=this.nextId(),t=e),this._annotations[n]!==void 0)throw Error(`Id ${n} is already in use.`);if(t===void 0)throw Error(`No annotation provided for id ${n}`);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();t.WorkspaceChange=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e===void 0?this._workspaceEdit={}:(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new j(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach(function(e){if(T.is(e)){var n=new A(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new A(e.changes[n]);t._textEditChanges[n]=r}))}return Object.defineProperty(e.prototype,`edit`,{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(ne.is(e)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw Error(`Workspace edit is not configured for document changes.`);var t={uri:e.uri,version:e.version},n=this._textEditChanges[t.uri];if(!n){var r=[],i={textDocument:t,edits:r};this._workspaceEdit.documentChanges.push(i),n=new A(r,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw Error(`Workspace edit is not configured for normal text edit changes.`);var n=this._textEditChanges[e];if(!n){var r=[];this._workspaceEdit.changes[e]=r,n=new A(r),this._textEditChanges[e]=n}return n}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new j,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw Error(`Workspace edit is not configured for document changes.`);var r;S.is(t)||C.is(t)?r=t:n=t;var i,a;if(r===void 0?i=E.create(e,n):(a=C.is(r)?r:this._changeAnnotations.manage(r),i=E.create(e,n,a)),this._workspaceEdit.documentChanges.push(i),a!==void 0)return a},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw Error(`Workspace edit is not configured for document changes.`);var i;S.is(n)||C.is(n)?i=n:r=n;var a,o;if(i===void 0?a=D.create(e,t,r):(o=C.is(i)?i:this._changeAnnotations.manage(i),a=D.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw Error(`Workspace edit is not configured for document changes.`);var r;S.is(t)||C.is(t)?r=t:n=t;var i,a;if(r===void 0?i=O.create(e,n):(a=C.is(r)?r:this._changeAnnotations.manage(r),i=O.create(e,n,a)),this._workspaceEdit.documentChanges.push(i),a!==void 0)return a},e}();var ee;(function(e){function t(e){return{uri:e}}e.create=t;function n(e){var t=e;return G.defined(t)&&G.string(t.uri)}e.is=n})(ee||(t.TextDocumentIdentifier=ee={}));var te;(function(e){function t(e,t){return{uri:e,version:t}}e.create=t;function n(e){var t=e;return G.defined(t)&&G.string(t.uri)&&G.integer(t.version)}e.is=n})(te||(t.VersionedTextDocumentIdentifier=te={}));var ne;(function(e){function t(e,t){return{uri:e,version:t}}e.create=t;function n(e){var t=e;return G.defined(t)&&G.string(t.uri)&&(t.version===null||G.integer(t.version))}e.is=n})(ne||(t.OptionalVersionedTextDocumentIdentifier=ne={}));var re;(function(e){function t(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}}e.create=t;function n(e){var t=e;return G.defined(t)&&G.string(t.uri)&&G.string(t.languageId)&&G.integer(t.version)&&G.string(t.text)}e.is=n})(re||(t.TextDocumentItem=re={}));var M;(function(e){e.PlainText=`plaintext`,e.Markdown=`markdown`;function t(t){var n=t;return n===e.PlainText||n===e.Markdown}e.is=t})(M||(t.MarkupKind=M={}));var ie;(function(e){function t(e){var t=e;return G.objectLiteral(e)&&M.is(t.kind)&&G.string(t.value)}e.is=t})(ie||(t.MarkupContent=ie={}));var ae;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(ae||(t.CompletionItemKind=ae={}));var N;(function(e){e.PlainText=1,e.Snippet=2})(N||(t.InsertTextFormat=N={}));var oe;(function(e){e.Deprecated=1})(oe||(t.CompletionItemTag=oe={}));var P;(function(e){function t(e,t,n){return{newText:e,insert:t,replace:n}}e.create=t;function n(e){var t=e;return t&&G.string(t.newText)&&s.is(t.insert)&&s.is(t.replace)}e.is=n})(P||(t.InsertReplaceEdit=P={}));var F;(function(e){e.asIs=1,e.adjustIndentation=2})(F||(t.InsertTextMode=F={}));var se;(function(e){function t(e){var t=e;return t&&(G.string(t.detail)||t.detail===void 0)&&(G.string(t.description)||t.description===void 0)}e.is=t})(se||(t.CompletionItemLabelDetails=se={}));var ce;(function(e){function t(e){return{label:e}}e.create=t})(ce||(t.CompletionItem=ce={}));var le;(function(e){function t(e,t){return{items:e||[],isIncomplete:!!t}}e.create=t})(le||(t.CompletionList=le={}));var ue;(function(e){function t(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,`\\$&`)}e.fromPlainText=t;function n(e){var t=e;return G.string(t)||G.objectLiteral(t)&&G.string(t.language)&&G.string(t.value)}e.is=n})(ue||(t.MarkedString=ue={}));var de;(function(e){function t(e){var t=e;return!!t&&G.objectLiteral(t)&&(ie.is(t.contents)||ue.is(t.contents)||G.typedArray(t.contents,ue.is))&&(e.range===void 0||s.is(e.range))}e.is=t})(de||(t.Hover=de={}));var I;(function(e){function t(e,t){return t?{label:e,documentation:t}:{label:e}}e.create=t})(I||(t.ParameterInformation=I={}));var fe;(function(e){function t(e,t){var n=[...arguments].slice(2),r={label:e};return G.defined(t)&&(r.documentation=t),G.defined(n)?r.parameters=n:r.parameters=[],r}e.create=t})(fe||(t.SignatureInformation=fe={}));var pe;(function(e){e.Text=1,e.Read=2,e.Write=3})(pe||(t.DocumentHighlightKind=pe={}));var L;(function(e){function t(e,t){var n={range:e};return G.number(t)&&(n.kind=t),n}e.create=t})(L||(t.DocumentHighlight=L={}));var R;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(R||(t.SymbolKind=R={}));var z;(function(e){e.Deprecated=1})(z||(t.SymbolTag=z={}));var me;(function(e){function t(e,t,n,r,i){var a={name:e,kind:t,location:{uri:r,range:n}};return i&&(a.containerName=i),a}e.create=t})(me||(t.SymbolInformation=me={}));var he;(function(e){function t(e,t,n,r){return r===void 0?{name:e,kind:t,location:{uri:n}}:{name:e,kind:t,location:{uri:n,range:r}}}e.create=t})(he||(t.WorkspaceSymbol=he={}));var ge;(function(e){function t(e,t,n,r,i,a){var o={name:e,detail:t,kind:n,range:r,selectionRange:i};return a!==void 0&&(o.children=a),o}e.create=t;function n(e){var t=e;return t&&G.string(t.name)&&G.number(t.kind)&&s.is(t.range)&&s.is(t.selectionRange)&&(t.detail===void 0||G.string(t.detail))&&(t.deprecated===void 0||G.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=n})(ge||(t.DocumentSymbol=ge={}));var _e;(function(e){e.Empty=``,e.QuickFix=`quickfix`,e.Refactor=`refactor`,e.RefactorExtract=`refactor.extract`,e.RefactorInline=`refactor.inline`,e.RefactorRewrite=`refactor.rewrite`,e.Source=`source`,e.SourceOrganizeImports=`source.organizeImports`,e.SourceFixAll=`source.fixAll`})(_e||(t.CodeActionKind=_e={}));var B;(function(e){e.Invoked=1,e.Automatic=2})(B||(t.CodeActionTriggerKind=B={}));var ve;(function(e){function t(e,t,n){var r={diagnostics:e};return t!=null&&(r.only=t),n!=null&&(r.triggerKind=n),r}e.create=t;function n(e){var t=e;return G.defined(t)&&G.typedArray(t.diagnostics,y.is)&&(t.only===void 0||G.typedArray(t.only,G.string))&&(t.triggerKind===void 0||t.triggerKind===B.Invoked||t.triggerKind===B.Automatic)}e.is=n})(ve||(t.CodeActionContext=ve={}));var V;(function(e){function t(e,t,n){var r={title:e},i=!0;return typeof t==`string`?(i=!1,r.kind=t):b.is(t)?r.command=t:r.edit=t,i&&n!==void 0&&(r.kind=n),r}e.create=t;function n(e){var t=e;return t&&G.string(t.title)&&(t.diagnostics===void 0||G.typedArray(t.diagnostics,y.is))&&(t.kind===void 0||G.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||b.is(t.command))&&(t.isPreferred===void 0||G.boolean(t.isPreferred))&&(t.edit===void 0||k.is(t.edit))}e.is=n})(V||(t.CodeAction=V={}));var ye;(function(e){function t(e,t){var n={range:e};return G.defined(t)&&(n.data=t),n}e.create=t;function n(e){var t=e;return G.defined(t)&&s.is(t.range)&&(G.undefined(t.command)||b.is(t.command))}e.is=n})(ye||(t.CodeLens=ye={}));var be;(function(e){function t(e,t){return{tabSize:e,insertSpaces:t}}e.create=t;function n(e){var t=e;return G.defined(t)&&G.uinteger(t.tabSize)&&G.boolean(t.insertSpaces)}e.is=n})(be||(t.FormattingOptions=be={}));var xe;(function(e){function t(e,t,n){return{range:e,target:t,data:n}}e.create=t;function n(e){var t=e;return G.defined(t)&&s.is(t.range)&&(G.undefined(t.target)||G.string(t.target))}e.is=n})(xe||(t.DocumentLink=xe={}));var Se;(function(e){function t(e,t){return{range:e,parent:t}}e.create=t;function n(t){var n=t;return G.objectLiteral(n)&&s.is(n.range)&&(n.parent===void 0||e.is(n.parent))}e.is=n})(Se||(t.SelectionRange=Se={}));var Ce;(function(e){e.namespace=`namespace`,e.type=`type`,e.class=`class`,e.enum=`enum`,e.interface=`interface`,e.struct=`struct`,e.typeParameter=`typeParameter`,e.parameter=`parameter`,e.variable=`variable`,e.property=`property`,e.enumMember=`enumMember`,e.event=`event`,e.function=`function`,e.method=`method`,e.macro=`macro`,e.keyword=`keyword`,e.modifier=`modifier`,e.comment=`comment`,e.string=`string`,e.number=`number`,e.regexp=`regexp`,e.operator=`operator`,e.decorator=`decorator`})(Ce||(t.SemanticTokenTypes=Ce={}));var H;(function(e){e.declaration=`declaration`,e.definition=`definition`,e.readonly=`readonly`,e.static=`static`,e.deprecated=`deprecated`,e.abstract=`abstract`,e.async=`async`,e.modification=`modification`,e.documentation=`documentation`,e.defaultLibrary=`defaultLibrary`})(H||(t.SemanticTokenModifiers=H={}));var we;(function(e){function t(e){var t=e;return G.objectLiteral(t)&&(t.resultId===void 0||typeof t.resultId==`string`)&&Array.isArray(t.data)&&(t.data.length===0||typeof t.data[0]==`number`)}e.is=t})(we||(t.SemanticTokens=we={}));var U;(function(e){function t(e,t){return{range:e,text:t}}e.create=t;function n(e){var t=e;return t!=null&&s.is(t.range)&&G.string(t.text)}e.is=n})(U||(t.InlineValueText=U={}));var Te;(function(e){function t(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}}e.create=t;function n(e){var t=e;return t!=null&&s.is(t.range)&&G.boolean(t.caseSensitiveLookup)&&(G.string(t.variableName)||t.variableName===void 0)}e.is=n})(Te||(t.InlineValueVariableLookup=Te={}));var Ee;(function(e){function t(e,t){return{range:e,expression:t}}e.create=t;function n(e){var t=e;return t!=null&&s.is(t.range)&&(G.string(t.expression)||t.expression===void 0)}e.is=n})(Ee||(t.InlineValueEvaluatableExpression=Ee={}));var De;(function(e){function t(e,t){return{frameId:e,stoppedLocation:t}}e.create=t;function n(e){var t=e;return G.defined(t)&&s.is(e.stoppedLocation)}e.is=n})(De||(t.InlineValueContext=De={}));var Oe;(function(e){e.Type=1,e.Parameter=2;function t(e){return e===1||e===2}e.is=t})(Oe||(t.InlayHintKind=Oe={}));var ke;(function(e){function t(e){return{value:e}}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&(t.tooltip===void 0||G.string(t.tooltip)||ie.is(t.tooltip))&&(t.location===void 0||c.is(t.location))&&(t.command===void 0||b.is(t.command))}e.is=n})(ke||(t.InlayHintLabelPart=ke={}));var Ae;(function(e){function t(e,t,n){var r={position:e,label:t};return n!==void 0&&(r.kind=n),r}e.create=t;function n(e){var t=e;return G.objectLiteral(t)&&o.is(t.position)&&(G.string(t.label)||G.typedArray(t.label,ke.is))&&(t.kind===void 0||Oe.is(t.kind))&&t.textEdits===void 0||G.typedArray(t.textEdits,x.is)&&(t.tooltip===void 0||G.string(t.tooltip)||ie.is(t.tooltip))&&(t.paddingLeft===void 0||G.boolean(t.paddingLeft))&&(t.paddingRight===void 0||G.boolean(t.paddingRight))}e.is=n})(Ae||(t.InlayHint=Ae={}));var W;(function(e){function t(e){return{kind:`snippet`,value:e}}e.createSnippet=t})(W||(t.StringValue=W={}));var je;(function(e){function t(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}}e.create=t})(je||(t.InlineCompletionItem=je={}));var Me;(function(e){function t(e){return{items:e}}e.create=t})(Me||(t.InlineCompletionList=Me={}));var Ne;(function(e){e.Invoked=0,e.Automatic=1})(Ne||(t.InlineCompletionTriggerKind=Ne={}));var Pe;(function(e){function t(e,t){return{range:e,text:t}}e.create=t})(Pe||(t.SelectedCompletionInfo=Pe={}));var Fe;(function(e){function t(e,t){return{triggerKind:e,selectedCompletionInfo:t}}e.create=t})(Fe||(t.InlineCompletionContext=Fe={}));var Ie;(function(e){function t(e){var t=e;return G.objectLiteral(t)&&r.is(t.uri)&&G.string(t.name)}e.is=t})(Ie||(t.WorkspaceFolder=Ie={})),t.EOL=[`
`,`\r
`,`\r`];var Le;(function(e){function t(e,t,n,r){return new Re(e,t,n,r)}e.create=t;function n(e){var t=e;return!!(G.defined(t)&&G.string(t.uri)&&(G.undefined(t.languageId)||G.string(t.languageId))&&G.uinteger(t.lineCount)&&G.func(t.getText)&&G.func(t.positionAt)&&G.func(t.offsetAt))}e.is=n;function r(e,t){for(var n=e.getText(),r=i(t,function(e,t){var n=e.range.start.line-t.range.start.line;return n===0?e.range.start.character-t.range.start.character:n}),a=n.length,o=r.length-1;o>=0;o--){var s=r[o],c=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(l<=a)n=n.substring(0,c)+s.newText+n.substring(l,n.length);else throw Error(`Overlapping edit`);a=c}return n}e.applyEdits=r;function i(e,t){if(e.length<=1)return e;var n=e.length/2|0,r=e.slice(0,n),a=e.slice(n);i(r,t),i(a,t);for(var o=0,s=0,c=0;o<r.length&&s<a.length;)t(r[o],a[s])<=0?e[c++]=r[o++]:e[c++]=a[s++];for(;o<r.length;)e[c++]=r[o++];for(;s<a.length;)e[c++]=a[s++];return e}})(Le||(t.TextDocument=Le={}));var Re=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,`uri`,{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,`languageId`,{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,`version`,{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&=(e.push(r),!1);var i=t.charAt(r);n=i===`\r`||i===`
`,i===`\r`&&r+1<t.length&&t.charAt(r+1)===`
`&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(r===0)return o.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var a=n-1;return o.create(a,e-t[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,`lineCount`,{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}(),G;(function(e){var t=Object.prototype.toString;function n(e){return e!==void 0}e.defined=n;function r(e){return e===void 0}e.undefined=r;function i(e){return e===!0||e===!1}e.boolean=i;function a(e){return t.call(e)===`[object String]`}e.string=a;function o(e){return t.call(e)===`[object Number]`}e.number=o;function s(e,n,r){return t.call(e)===`[object Number]`&&n<=e&&e<=r}e.numberRange=s;function c(e){return t.call(e)===`[object Number]`&&-2147483648<=e&&e<=2147483647}e.integer=c;function l(e){return t.call(e)===`[object Number]`&&0<=e&&e<=2147483647}e.uinteger=l;function u(e){return t.call(e)===`[object Function]`}e.func=u;function d(e){return typeof e==`object`&&!!e}e.objectLiteral=d;function f(e,t){return Array.isArray(e)&&e.every(t)}e.typedArray=f})(G||={})})})),IL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ProtocolNotificationType=e.ProtocolNotificationType0=e.ProtocolRequestType=e.ProtocolRequestType0=e.RegistrationType=e.MessageDirection=void 0;let t=NL();var n;(function(e){e.clientToServer=`clientToServer`,e.serverToClient=`serverToClient`,e.both=`both`})(n||(e.MessageDirection=n={})),e.RegistrationType=class{constructor(e){this.method=e}},e.ProtocolRequestType0=class extends t.RequestType0{constructor(e){super(e)}},e.ProtocolRequestType=class extends t.RequestType{constructor(e){super(e,t.ParameterStructures.byName)}},e.ProtocolNotificationType0=class extends t.NotificationType0{constructor(e){super(e)}},e.ProtocolNotificationType=class extends t.NotificationType{constructor(e){super(e,t.ParameterStructures.byName)}}})),LL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.objectLiteral=e.typedArray=e.stringArray=e.array=e.func=e.error=e.number=e.string=e.boolean=void 0;function t(e){return e===!0||e===!1}e.boolean=t;function n(e){return typeof e==`string`||e instanceof String}e.string=n;function r(e){return typeof e==`number`||e instanceof Number}e.number=r;function i(e){return e instanceof Error}e.error=i;function a(e){return typeof e==`function`}e.func=a;function o(e){return Array.isArray(e)}e.array=o;function s(e){return o(e)&&e.every(e=>n(e))}e.stringArray=s;function c(e,t){return Array.isArray(e)&&e.every(t)}e.typedArray=c;function l(e){return typeof e==`object`&&!!e}e.objectLiteral=l})),RL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ImplementationRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/implementation`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.ImplementationRequest=n={}))})),zL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.TypeDefinitionRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/typeDefinition`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.TypeDefinitionRequest=n={}))})),BL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.DidChangeWorkspaceFoldersNotification=e.WorkspaceFoldersRequest=void 0;let t=IL();var n;(function(e){e.method=`workspace/workspaceFolders`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType0(e.method)})(n||(e.WorkspaceFoldersRequest=n={}));var r;(function(e){e.method=`workspace/didChangeWorkspaceFolders`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(r||(e.DidChangeWorkspaceFoldersNotification=r={}))})),VL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ConfigurationRequest=void 0;let t=IL();var n;(function(e){e.method=`workspace/configuration`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType(e.method)})(n||(e.ConfigurationRequest=n={}))})),HL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ColorPresentationRequest=e.DocumentColorRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/documentColor`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.DocumentColorRequest=n={}));var r;(function(e){e.method=`textDocument/colorPresentation`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(r||(e.ColorPresentationRequest=r={}))})),UL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.FoldingRangeRefreshRequest=e.FoldingRangeRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/foldingRange`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.FoldingRangeRequest=n={}));var r;(function(e){e.method=`workspace/foldingRange/refresh`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType0(e.method)})(r||(e.FoldingRangeRefreshRequest=r={}))})),WL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.DeclarationRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/declaration`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.DeclarationRequest=n={}))})),GL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SelectionRangeRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/selectionRange`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.SelectionRangeRequest=n={}))})),KL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WorkDoneProgressCancelNotification=e.WorkDoneProgressCreateRequest=e.WorkDoneProgress=void 0;let t=NL(),n=IL();var r;(function(e){e.type=new t.ProgressType;function n(t){return t===e.type}e.is=n})(r||(e.WorkDoneProgress=r={}));var i;(function(e){e.method=`window/workDoneProgress/create`,e.messageDirection=n.MessageDirection.serverToClient,e.type=new n.ProtocolRequestType(e.method)})(i||(e.WorkDoneProgressCreateRequest=i={}));var a;(function(e){e.method=`window/workDoneProgress/cancel`,e.messageDirection=n.MessageDirection.clientToServer,e.type=new n.ProtocolNotificationType(e.method)})(a||(e.WorkDoneProgressCancelNotification=a={}))})),qL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.CallHierarchyOutgoingCallsRequest=e.CallHierarchyIncomingCallsRequest=e.CallHierarchyPrepareRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/prepareCallHierarchy`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.CallHierarchyPrepareRequest=n={}));var r;(function(e){e.method=`callHierarchy/incomingCalls`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(r||(e.CallHierarchyIncomingCallsRequest=r={}));var i;(function(e){e.method=`callHierarchy/outgoingCalls`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(i||(e.CallHierarchyOutgoingCallsRequest=i={}))})),JL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SemanticTokensRefreshRequest=e.SemanticTokensRangeRequest=e.SemanticTokensDeltaRequest=e.SemanticTokensRequest=e.SemanticTokensRegistrationType=e.TokenFormat=void 0;let t=IL();var n;(function(e){e.Relative=`relative`})(n||(e.TokenFormat=n={}));var r;(function(e){e.method=`textDocument/semanticTokens`,e.type=new t.RegistrationType(e.method)})(r||(e.SemanticTokensRegistrationType=r={}));var i;(function(e){e.method=`textDocument/semanticTokens/full`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method),e.registrationMethod=r.method})(i||(e.SemanticTokensRequest=i={}));var a;(function(e){e.method=`textDocument/semanticTokens/full/delta`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method),e.registrationMethod=r.method})(a||(e.SemanticTokensDeltaRequest=a={}));var o;(function(e){e.method=`textDocument/semanticTokens/range`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method),e.registrationMethod=r.method})(o||(e.SemanticTokensRangeRequest=o={}));var s;(function(e){e.method=`workspace/semanticTokens/refresh`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType0(e.method)})(s||(e.SemanticTokensRefreshRequest=s={}))})),YL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ShowDocumentRequest=void 0;let t=IL();var n;(function(e){e.method=`window/showDocument`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType(e.method)})(n||(e.ShowDocumentRequest=n={}))})),XL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.LinkedEditingRangeRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/linkedEditingRange`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.LinkedEditingRangeRequest=n={}))})),ZL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WillDeleteFilesRequest=e.DidDeleteFilesNotification=e.DidRenameFilesNotification=e.WillRenameFilesRequest=e.DidCreateFilesNotification=e.WillCreateFilesRequest=e.FileOperationPatternKind=void 0;let t=IL();var n;(function(e){e.file=`file`,e.folder=`folder`})(n||(e.FileOperationPatternKind=n={}));var r;(function(e){e.method=`workspace/willCreateFiles`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(r||(e.WillCreateFilesRequest=r={}));var i;(function(e){e.method=`workspace/didCreateFiles`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(i||(e.DidCreateFilesNotification=i={}));var a;(function(e){e.method=`workspace/willRenameFiles`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(a||(e.WillRenameFilesRequest=a={}));var o;(function(e){e.method=`workspace/didRenameFiles`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(o||(e.DidRenameFilesNotification=o={}));var s;(function(e){e.method=`workspace/didDeleteFiles`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(s||(e.DidDeleteFilesNotification=s={}));var c;(function(e){e.method=`workspace/willDeleteFiles`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(c||(e.WillDeleteFilesRequest=c={}))})),QL=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.MonikerRequest=e.MonikerKind=e.UniquenessLevel=void 0;let t=IL();var n;(function(e){e.document=`document`,e.project=`project`,e.group=`group`,e.scheme=`scheme`,e.global=`global`})(n||(e.UniquenessLevel=n={}));var r;(function(e){e.$import=`import`,e.$export=`export`,e.local=`local`})(r||(e.MonikerKind=r={}));var i;(function(e){e.method=`textDocument/moniker`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(i||(e.MonikerRequest=i={}))})),$L=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.TypeHierarchySubtypesRequest=e.TypeHierarchySupertypesRequest=e.TypeHierarchyPrepareRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/prepareTypeHierarchy`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.TypeHierarchyPrepareRequest=n={}));var r;(function(e){e.method=`typeHierarchy/supertypes`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(r||(e.TypeHierarchySupertypesRequest=r={}));var i;(function(e){e.method=`typeHierarchy/subtypes`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(i||(e.TypeHierarchySubtypesRequest=i={}))})),eR=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.InlineValueRefreshRequest=e.InlineValueRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/inlineValue`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.InlineValueRequest=n={}));var r;(function(e){e.method=`workspace/inlineValue/refresh`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType0(e.method)})(r||(e.InlineValueRefreshRequest=r={}))})),tR=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.InlayHintRefreshRequest=e.InlayHintResolveRequest=e.InlayHintRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/inlayHint`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.InlayHintRequest=n={}));var r;(function(e){e.method=`inlayHint/resolve`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(r||(e.InlayHintResolveRequest=r={}));var i;(function(e){e.method=`workspace/inlayHint/refresh`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType0(e.method)})(i||(e.InlayHintRefreshRequest=i={}))})),nR=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.DiagnosticRefreshRequest=e.WorkspaceDiagnosticRequest=e.DocumentDiagnosticRequest=e.DocumentDiagnosticReportKind=e.DiagnosticServerCancellationData=void 0;let t=NL(),n=LL(),r=IL();var i;(function(e){function t(e){let t=e;return t&&n.boolean(t.retriggerRequest)}e.is=t})(i||(e.DiagnosticServerCancellationData=i={}));var a;(function(e){e.Full=`full`,e.Unchanged=`unchanged`})(a||(e.DocumentDiagnosticReportKind=a={}));var o;(function(e){e.method=`textDocument/diagnostic`,e.messageDirection=r.MessageDirection.clientToServer,e.type=new r.ProtocolRequestType(e.method),e.partialResult=new t.ProgressType})(o||(e.DocumentDiagnosticRequest=o={}));var s;(function(e){e.method=`workspace/diagnostic`,e.messageDirection=r.MessageDirection.clientToServer,e.type=new r.ProtocolRequestType(e.method),e.partialResult=new t.ProgressType})(s||(e.WorkspaceDiagnosticRequest=s={}));var c;(function(e){e.method=`workspace/diagnostic/refresh`,e.messageDirection=r.MessageDirection.serverToClient,e.type=new r.ProtocolRequestType0(e.method)})(c||(e.DiagnosticRefreshRequest=c={}))})),rR=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.DidCloseNotebookDocumentNotification=e.DidSaveNotebookDocumentNotification=e.DidChangeNotebookDocumentNotification=e.NotebookCellArrayChange=e.DidOpenNotebookDocumentNotification=e.NotebookDocumentSyncRegistrationType=e.NotebookDocument=e.NotebookCell=e.ExecutionSummary=e.NotebookCellKind=void 0;let t=FL(),n=LL(),r=IL();var i;(function(e){e.Markup=1,e.Code=2;function t(e){return e===1||e===2}e.is=t})(i||(e.NotebookCellKind=i={}));var a;(function(e){function r(e,t){let n={executionOrder:e};return(t===!0||t===!1)&&(n.success=t),n}e.create=r;function i(e){let r=e;return n.objectLiteral(r)&&t.uinteger.is(r.executionOrder)&&(r.success===void 0||n.boolean(r.success))}e.is=i;function a(e,t){return e===t?!0:e==null||t==null?!1:e.executionOrder===t.executionOrder&&e.success===t.success}e.equals=a})(a||(e.ExecutionSummary=a={}));var o;(function(e){function r(e,t){return{kind:e,document:t}}e.create=r;function o(e){let r=e;return n.objectLiteral(r)&&i.is(r.kind)&&t.DocumentUri.is(r.document)&&(r.metadata===void 0||n.objectLiteral(r.metadata))}e.is=o;function s(e,t){let n=new Set;return e.document!==t.document&&n.add(`document`),e.kind!==t.kind&&n.add(`kind`),e.executionSummary!==t.executionSummary&&n.add(`executionSummary`),(e.metadata!==void 0||t.metadata!==void 0)&&!c(e.metadata,t.metadata)&&n.add(`metadata`),(e.executionSummary!==void 0||t.executionSummary!==void 0)&&!a.equals(e.executionSummary,t.executionSummary)&&n.add(`executionSummary`),n}e.diff=s;function c(e,t){if(e===t)return!0;if(e==null||t==null||typeof e!=typeof t||typeof e!=`object`)return!1;let r=Array.isArray(e),i=Array.isArray(t);if(r!==i)return!1;if(r&&i){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!c(e[n],t[n]))return!1}if(n.objectLiteral(e)&&n.objectLiteral(t)){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length||(n.sort(),r.sort(),!c(n,r)))return!1;for(let r=0;r<n.length;r++){let i=n[r];if(!c(e[i],t[i]))return!1}}return!0}})(o||(e.NotebookCell=o={}));var s;(function(e){function r(e,t,n,r){return{uri:e,notebookType:t,version:n,cells:r}}e.create=r;function i(e){let r=e;return n.objectLiteral(r)&&n.string(r.uri)&&t.integer.is(r.version)&&n.typedArray(r.cells,o.is)}e.is=i})(s||(e.NotebookDocument=s={}));var c;(function(e){e.method=`notebookDocument/sync`,e.messageDirection=r.MessageDirection.clientToServer,e.type=new r.RegistrationType(e.method)})(c||(e.NotebookDocumentSyncRegistrationType=c={}));var l;(function(e){e.method=`notebookDocument/didOpen`,e.messageDirection=r.MessageDirection.clientToServer,e.type=new r.ProtocolNotificationType(e.method),e.registrationMethod=c.method})(l||(e.DidOpenNotebookDocumentNotification=l={}));var u;(function(e){function r(e){let r=e;return n.objectLiteral(r)&&t.uinteger.is(r.start)&&t.uinteger.is(r.deleteCount)&&(r.cells===void 0||n.typedArray(r.cells,o.is))}e.is=r;function i(e,t,n){let r={start:e,deleteCount:t};return n!==void 0&&(r.cells=n),r}e.create=i})(u||(e.NotebookCellArrayChange=u={}));var d;(function(e){e.method=`notebookDocument/didChange`,e.messageDirection=r.MessageDirection.clientToServer,e.type=new r.ProtocolNotificationType(e.method),e.registrationMethod=c.method})(d||(e.DidChangeNotebookDocumentNotification=d={}));var f;(function(e){e.method=`notebookDocument/didSave`,e.messageDirection=r.MessageDirection.clientToServer,e.type=new r.ProtocolNotificationType(e.method),e.registrationMethod=c.method})(f||(e.DidSaveNotebookDocumentNotification=f={}));var p;(function(e){e.method=`notebookDocument/didClose`,e.messageDirection=r.MessageDirection.clientToServer,e.type=new r.ProtocolNotificationType(e.method),e.registrationMethod=c.method})(p||(e.DidCloseNotebookDocumentNotification=p={}))})),iR=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.InlineCompletionRequest=void 0;let t=IL();var n;(function(e){e.method=`textDocument/inlineCompletion`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(n||(e.InlineCompletionRequest=n={}))})),aR=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WorkspaceSymbolRequest=e.CodeActionResolveRequest=e.CodeActionRequest=e.DocumentSymbolRequest=e.DocumentHighlightRequest=e.ReferencesRequest=e.DefinitionRequest=e.SignatureHelpRequest=e.SignatureHelpTriggerKind=e.HoverRequest=e.CompletionResolveRequest=e.CompletionRequest=e.CompletionTriggerKind=e.PublishDiagnosticsNotification=e.WatchKind=e.RelativePattern=e.FileChangeType=e.DidChangeWatchedFilesNotification=e.WillSaveTextDocumentWaitUntilRequest=e.WillSaveTextDocumentNotification=e.TextDocumentSaveReason=e.DidSaveTextDocumentNotification=e.DidCloseTextDocumentNotification=e.DidChangeTextDocumentNotification=e.TextDocumentContentChangeEvent=e.DidOpenTextDocumentNotification=e.TextDocumentSyncKind=e.TelemetryEventNotification=e.LogMessageNotification=e.ShowMessageRequest=e.ShowMessageNotification=e.MessageType=e.DidChangeConfigurationNotification=e.ExitNotification=e.ShutdownRequest=e.InitializedNotification=e.InitializeErrorCodes=e.InitializeRequest=e.WorkDoneProgressOptions=e.TextDocumentRegistrationOptions=e.StaticRegistrationOptions=e.PositionEncodingKind=e.FailureHandlingKind=e.ResourceOperationKind=e.UnregistrationRequest=e.RegistrationRequest=e.DocumentSelector=e.NotebookCellTextDocumentFilter=e.NotebookDocumentFilter=e.TextDocumentFilter=void 0,e.MonikerRequest=e.MonikerKind=e.UniquenessLevel=e.WillDeleteFilesRequest=e.DidDeleteFilesNotification=e.WillRenameFilesRequest=e.DidRenameFilesNotification=e.WillCreateFilesRequest=e.DidCreateFilesNotification=e.FileOperationPatternKind=e.LinkedEditingRangeRequest=e.ShowDocumentRequest=e.SemanticTokensRegistrationType=e.SemanticTokensRefreshRequest=e.SemanticTokensRangeRequest=e.SemanticTokensDeltaRequest=e.SemanticTokensRequest=e.TokenFormat=e.CallHierarchyPrepareRequest=e.CallHierarchyOutgoingCallsRequest=e.CallHierarchyIncomingCallsRequest=e.WorkDoneProgressCancelNotification=e.WorkDoneProgressCreateRequest=e.WorkDoneProgress=e.SelectionRangeRequest=e.DeclarationRequest=e.FoldingRangeRefreshRequest=e.FoldingRangeRequest=e.ColorPresentationRequest=e.DocumentColorRequest=e.ConfigurationRequest=e.DidChangeWorkspaceFoldersNotification=e.WorkspaceFoldersRequest=e.TypeDefinitionRequest=e.ImplementationRequest=e.ApplyWorkspaceEditRequest=e.ExecuteCommandRequest=e.PrepareRenameRequest=e.RenameRequest=e.PrepareSupportDefaultBehavior=e.DocumentOnTypeFormattingRequest=e.DocumentRangesFormattingRequest=e.DocumentRangeFormattingRequest=e.DocumentFormattingRequest=e.DocumentLinkResolveRequest=e.DocumentLinkRequest=e.CodeLensRefreshRequest=e.CodeLensResolveRequest=e.CodeLensRequest=e.WorkspaceSymbolResolveRequest=void 0,e.InlineCompletionRequest=e.DidCloseNotebookDocumentNotification=e.DidSaveNotebookDocumentNotification=e.DidChangeNotebookDocumentNotification=e.NotebookCellArrayChange=e.DidOpenNotebookDocumentNotification=e.NotebookDocumentSyncRegistrationType=e.NotebookDocument=e.NotebookCell=e.ExecutionSummary=e.NotebookCellKind=e.DiagnosticRefreshRequest=e.WorkspaceDiagnosticRequest=e.DocumentDiagnosticRequest=e.DocumentDiagnosticReportKind=e.DiagnosticServerCancellationData=e.InlayHintRefreshRequest=e.InlayHintResolveRequest=e.InlayHintRequest=e.InlineValueRefreshRequest=e.InlineValueRequest=e.TypeHierarchySupertypesRequest=e.TypeHierarchySubtypesRequest=e.TypeHierarchyPrepareRequest=void 0;let t=IL(),n=FL(),r=LL(),i=RL();Object.defineProperty(e,`ImplementationRequest`,{enumerable:!0,get:function(){return i.ImplementationRequest}});let a=zL();Object.defineProperty(e,`TypeDefinitionRequest`,{enumerable:!0,get:function(){return a.TypeDefinitionRequest}});let o=BL();Object.defineProperty(e,`WorkspaceFoldersRequest`,{enumerable:!0,get:function(){return o.WorkspaceFoldersRequest}}),Object.defineProperty(e,`DidChangeWorkspaceFoldersNotification`,{enumerable:!0,get:function(){return o.DidChangeWorkspaceFoldersNotification}});let s=VL();Object.defineProperty(e,`ConfigurationRequest`,{enumerable:!0,get:function(){return s.ConfigurationRequest}});let c=HL();Object.defineProperty(e,`DocumentColorRequest`,{enumerable:!0,get:function(){return c.DocumentColorRequest}}),Object.defineProperty(e,`ColorPresentationRequest`,{enumerable:!0,get:function(){return c.ColorPresentationRequest}});let l=UL();Object.defineProperty(e,`FoldingRangeRequest`,{enumerable:!0,get:function(){return l.FoldingRangeRequest}}),Object.defineProperty(e,`FoldingRangeRefreshRequest`,{enumerable:!0,get:function(){return l.FoldingRangeRefreshRequest}});let u=WL();Object.defineProperty(e,`DeclarationRequest`,{enumerable:!0,get:function(){return u.DeclarationRequest}});let d=GL();Object.defineProperty(e,`SelectionRangeRequest`,{enumerable:!0,get:function(){return d.SelectionRangeRequest}});let f=KL();Object.defineProperty(e,`WorkDoneProgress`,{enumerable:!0,get:function(){return f.WorkDoneProgress}}),Object.defineProperty(e,`WorkDoneProgressCreateRequest`,{enumerable:!0,get:function(){return f.WorkDoneProgressCreateRequest}}),Object.defineProperty(e,`WorkDoneProgressCancelNotification`,{enumerable:!0,get:function(){return f.WorkDoneProgressCancelNotification}});let p=qL();Object.defineProperty(e,`CallHierarchyIncomingCallsRequest`,{enumerable:!0,get:function(){return p.CallHierarchyIncomingCallsRequest}}),Object.defineProperty(e,`CallHierarchyOutgoingCallsRequest`,{enumerable:!0,get:function(){return p.CallHierarchyOutgoingCallsRequest}}),Object.defineProperty(e,`CallHierarchyPrepareRequest`,{enumerable:!0,get:function(){return p.CallHierarchyPrepareRequest}});let m=JL();Object.defineProperty(e,`TokenFormat`,{enumerable:!0,get:function(){return m.TokenFormat}}),Object.defineProperty(e,`SemanticTokensRequest`,{enumerable:!0,get:function(){return m.SemanticTokensRequest}}),Object.defineProperty(e,`SemanticTokensDeltaRequest`,{enumerable:!0,get:function(){return m.SemanticTokensDeltaRequest}}),Object.defineProperty(e,`SemanticTokensRangeRequest`,{enumerable:!0,get:function(){return m.SemanticTokensRangeRequest}}),Object.defineProperty(e,`SemanticTokensRefreshRequest`,{enumerable:!0,get:function(){return m.SemanticTokensRefreshRequest}}),Object.defineProperty(e,`SemanticTokensRegistrationType`,{enumerable:!0,get:function(){return m.SemanticTokensRegistrationType}});let h=YL();Object.defineProperty(e,`ShowDocumentRequest`,{enumerable:!0,get:function(){return h.ShowDocumentRequest}});let g=XL();Object.defineProperty(e,`LinkedEditingRangeRequest`,{enumerable:!0,get:function(){return g.LinkedEditingRangeRequest}});let _=ZL();Object.defineProperty(e,`FileOperationPatternKind`,{enumerable:!0,get:function(){return _.FileOperationPatternKind}}),Object.defineProperty(e,`DidCreateFilesNotification`,{enumerable:!0,get:function(){return _.DidCreateFilesNotification}}),Object.defineProperty(e,`WillCreateFilesRequest`,{enumerable:!0,get:function(){return _.WillCreateFilesRequest}}),Object.defineProperty(e,`DidRenameFilesNotification`,{enumerable:!0,get:function(){return _.DidRenameFilesNotification}}),Object.defineProperty(e,`WillRenameFilesRequest`,{enumerable:!0,get:function(){return _.WillRenameFilesRequest}}),Object.defineProperty(e,`DidDeleteFilesNotification`,{enumerable:!0,get:function(){return _.DidDeleteFilesNotification}}),Object.defineProperty(e,`WillDeleteFilesRequest`,{enumerable:!0,get:function(){return _.WillDeleteFilesRequest}});let v=QL();Object.defineProperty(e,`UniquenessLevel`,{enumerable:!0,get:function(){return v.UniquenessLevel}}),Object.defineProperty(e,`MonikerKind`,{enumerable:!0,get:function(){return v.MonikerKind}}),Object.defineProperty(e,`MonikerRequest`,{enumerable:!0,get:function(){return v.MonikerRequest}});let y=$L();Object.defineProperty(e,`TypeHierarchyPrepareRequest`,{enumerable:!0,get:function(){return y.TypeHierarchyPrepareRequest}}),Object.defineProperty(e,`TypeHierarchySubtypesRequest`,{enumerable:!0,get:function(){return y.TypeHierarchySubtypesRequest}}),Object.defineProperty(e,`TypeHierarchySupertypesRequest`,{enumerable:!0,get:function(){return y.TypeHierarchySupertypesRequest}});let b=eR();Object.defineProperty(e,`InlineValueRequest`,{enumerable:!0,get:function(){return b.InlineValueRequest}}),Object.defineProperty(e,`InlineValueRefreshRequest`,{enumerable:!0,get:function(){return b.InlineValueRefreshRequest}});let x=tR();Object.defineProperty(e,`InlayHintRequest`,{enumerable:!0,get:function(){return x.InlayHintRequest}}),Object.defineProperty(e,`InlayHintResolveRequest`,{enumerable:!0,get:function(){return x.InlayHintResolveRequest}}),Object.defineProperty(e,`InlayHintRefreshRequest`,{enumerable:!0,get:function(){return x.InlayHintRefreshRequest}});let S=nR();Object.defineProperty(e,`DiagnosticServerCancellationData`,{enumerable:!0,get:function(){return S.DiagnosticServerCancellationData}}),Object.defineProperty(e,`DocumentDiagnosticReportKind`,{enumerable:!0,get:function(){return S.DocumentDiagnosticReportKind}}),Object.defineProperty(e,`DocumentDiagnosticRequest`,{enumerable:!0,get:function(){return S.DocumentDiagnosticRequest}}),Object.defineProperty(e,`WorkspaceDiagnosticRequest`,{enumerable:!0,get:function(){return S.WorkspaceDiagnosticRequest}}),Object.defineProperty(e,`DiagnosticRefreshRequest`,{enumerable:!0,get:function(){return S.DiagnosticRefreshRequest}});let C=rR();Object.defineProperty(e,`NotebookCellKind`,{enumerable:!0,get:function(){return C.NotebookCellKind}}),Object.defineProperty(e,`ExecutionSummary`,{enumerable:!0,get:function(){return C.ExecutionSummary}}),Object.defineProperty(e,`NotebookCell`,{enumerable:!0,get:function(){return C.NotebookCell}}),Object.defineProperty(e,`NotebookDocument`,{enumerable:!0,get:function(){return C.NotebookDocument}}),Object.defineProperty(e,`NotebookDocumentSyncRegistrationType`,{enumerable:!0,get:function(){return C.NotebookDocumentSyncRegistrationType}}),Object.defineProperty(e,`DidOpenNotebookDocumentNotification`,{enumerable:!0,get:function(){return C.DidOpenNotebookDocumentNotification}}),Object.defineProperty(e,`NotebookCellArrayChange`,{enumerable:!0,get:function(){return C.NotebookCellArrayChange}}),Object.defineProperty(e,`DidChangeNotebookDocumentNotification`,{enumerable:!0,get:function(){return C.DidChangeNotebookDocumentNotification}}),Object.defineProperty(e,`DidSaveNotebookDocumentNotification`,{enumerable:!0,get:function(){return C.DidSaveNotebookDocumentNotification}}),Object.defineProperty(e,`DidCloseNotebookDocumentNotification`,{enumerable:!0,get:function(){return C.DidCloseNotebookDocumentNotification}});let w=iR();Object.defineProperty(e,`InlineCompletionRequest`,{enumerable:!0,get:function(){return w.InlineCompletionRequest}});var T;(function(e){function t(e){let t=e;return r.string(t)||r.string(t.language)||r.string(t.scheme)||r.string(t.pattern)}e.is=t})(T||(e.TextDocumentFilter=T={}));var E;(function(e){function t(e){let t=e;return r.objectLiteral(t)&&(r.string(t.notebookType)||r.string(t.scheme)||r.string(t.pattern))}e.is=t})(E||(e.NotebookDocumentFilter=E={}));var D;(function(e){function t(e){let t=e;return r.objectLiteral(t)&&(r.string(t.notebook)||E.is(t.notebook))&&(t.language===void 0||r.string(t.language))}e.is=t})(D||(e.NotebookCellTextDocumentFilter=D={}));var O;(function(e){function t(e){if(!Array.isArray(e))return!1;for(let t of e)if(!r.string(t)&&!T.is(t)&&!D.is(t))return!1;return!0}e.is=t})(O||(e.DocumentSelector=O={}));var k;(function(e){e.method=`client/registerCapability`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType(e.method)})(k||(e.RegistrationRequest=k={}));var A;(function(e){e.method=`client/unregisterCapability`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType(e.method)})(A||(e.UnregistrationRequest=A={}));var j;(function(e){e.Create=`create`,e.Rename=`rename`,e.Delete=`delete`})(j||(e.ResourceOperationKind=j={}));var ee;(function(e){e.Abort=`abort`,e.Transactional=`transactional`,e.TextOnlyTransactional=`textOnlyTransactional`,e.Undo=`undo`})(ee||(e.FailureHandlingKind=ee={}));var te;(function(e){e.UTF8=`utf-8`,e.UTF16=`utf-16`,e.UTF32=`utf-32`})(te||(e.PositionEncodingKind=te={}));var ne;(function(e){function t(e){let t=e;return t&&r.string(t.id)&&t.id.length>0}e.hasId=t})(ne||(e.StaticRegistrationOptions=ne={}));var re;(function(e){function t(e){let t=e;return t&&(t.documentSelector===null||O.is(t.documentSelector))}e.is=t})(re||(e.TextDocumentRegistrationOptions=re={}));var M;(function(e){function t(e){let t=e;return r.objectLiteral(t)&&(t.workDoneProgress===void 0||r.boolean(t.workDoneProgress))}e.is=t;function n(e){let t=e;return t&&r.boolean(t.workDoneProgress)}e.hasWorkDoneProgress=n})(M||(e.WorkDoneProgressOptions=M={}));var ie;(function(e){e.method=`initialize`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(ie||(e.InitializeRequest=ie={}));var ae;(function(e){e.unknownProtocolVersion=1})(ae||(e.InitializeErrorCodes=ae={}));var N;(function(e){e.method=`initialized`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(N||(e.InitializedNotification=N={}));var oe;(function(e){e.method=`shutdown`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType0(e.method)})(oe||(e.ShutdownRequest=oe={}));var P;(function(e){e.method=`exit`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType0(e.method)})(P||(e.ExitNotification=P={}));var F;(function(e){e.method=`workspace/didChangeConfiguration`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(F||(e.DidChangeConfigurationNotification=F={}));var se;(function(e){e.Error=1,e.Warning=2,e.Info=3,e.Log=4,e.Debug=5})(se||(e.MessageType=se={}));var ce;(function(e){e.method=`window/showMessage`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolNotificationType(e.method)})(ce||(e.ShowMessageNotification=ce={}));var le;(function(e){e.method=`window/showMessageRequest`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType(e.method)})(le||(e.ShowMessageRequest=le={}));var ue;(function(e){e.method=`window/logMessage`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolNotificationType(e.method)})(ue||(e.LogMessageNotification=ue={}));var de;(function(e){e.method=`telemetry/event`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolNotificationType(e.method)})(de||(e.TelemetryEventNotification=de={}));var I;(function(e){e.None=0,e.Full=1,e.Incremental=2})(I||(e.TextDocumentSyncKind=I={}));var fe;(function(e){e.method=`textDocument/didOpen`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(fe||(e.DidOpenTextDocumentNotification=fe={}));var pe;(function(e){function t(e){let t=e;return t!=null&&typeof t.text==`string`&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength==`number`)}e.isIncremental=t;function n(e){let t=e;return t!=null&&typeof t.text==`string`&&t.range===void 0&&t.rangeLength===void 0}e.isFull=n})(pe||(e.TextDocumentContentChangeEvent=pe={}));var L;(function(e){e.method=`textDocument/didChange`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(L||(e.DidChangeTextDocumentNotification=L={}));var R;(function(e){e.method=`textDocument/didClose`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(R||(e.DidCloseTextDocumentNotification=R={}));var z;(function(e){e.method=`textDocument/didSave`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(z||(e.DidSaveTextDocumentNotification=z={}));var me;(function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3})(me||(e.TextDocumentSaveReason=me={}));var he;(function(e){e.method=`textDocument/willSave`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(he||(e.WillSaveTextDocumentNotification=he={}));var ge;(function(e){e.method=`textDocument/willSaveWaitUntil`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(ge||(e.WillSaveTextDocumentWaitUntilRequest=ge={}));var _e;(function(e){e.method=`workspace/didChangeWatchedFiles`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolNotificationType(e.method)})(_e||(e.DidChangeWatchedFilesNotification=_e={}));var B;(function(e){e.Created=1,e.Changed=2,e.Deleted=3})(B||(e.FileChangeType=B={}));var ve;(function(e){function t(e){let t=e;return r.objectLiteral(t)&&(n.URI.is(t.baseUri)||n.WorkspaceFolder.is(t.baseUri))&&r.string(t.pattern)}e.is=t})(ve||(e.RelativePattern=ve={}));var V;(function(e){e.Create=1,e.Change=2,e.Delete=4})(V||(e.WatchKind=V={}));var ye;(function(e){e.method=`textDocument/publishDiagnostics`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolNotificationType(e.method)})(ye||(e.PublishDiagnosticsNotification=ye={}));var be;(function(e){e.Invoked=1,e.TriggerCharacter=2,e.TriggerForIncompleteCompletions=3})(be||(e.CompletionTriggerKind=be={}));var xe;(function(e){e.method=`textDocument/completion`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(xe||(e.CompletionRequest=xe={}));var Se;(function(e){e.method=`completionItem/resolve`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Se||(e.CompletionResolveRequest=Se={}));var Ce;(function(e){e.method=`textDocument/hover`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Ce||(e.HoverRequest=Ce={}));var H;(function(e){e.Invoked=1,e.TriggerCharacter=2,e.ContentChange=3})(H||(e.SignatureHelpTriggerKind=H={}));var we;(function(e){e.method=`textDocument/signatureHelp`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(we||(e.SignatureHelpRequest=we={}));var U;(function(e){e.method=`textDocument/definition`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(U||(e.DefinitionRequest=U={}));var Te;(function(e){e.method=`textDocument/references`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Te||(e.ReferencesRequest=Te={}));var Ee;(function(e){e.method=`textDocument/documentHighlight`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Ee||(e.DocumentHighlightRequest=Ee={}));var De;(function(e){e.method=`textDocument/documentSymbol`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(De||(e.DocumentSymbolRequest=De={}));var Oe;(function(e){e.method=`textDocument/codeAction`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Oe||(e.CodeActionRequest=Oe={}));var ke;(function(e){e.method=`codeAction/resolve`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(ke||(e.CodeActionResolveRequest=ke={}));var Ae;(function(e){e.method=`workspace/symbol`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Ae||(e.WorkspaceSymbolRequest=Ae={}));var W;(function(e){e.method=`workspaceSymbol/resolve`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(W||(e.WorkspaceSymbolResolveRequest=W={}));var je;(function(e){e.method=`textDocument/codeLens`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(je||(e.CodeLensRequest=je={}));var Me;(function(e){e.method=`codeLens/resolve`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Me||(e.CodeLensResolveRequest=Me={}));var Ne;(function(e){e.method=`workspace/codeLens/refresh`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType0(e.method)})(Ne||(e.CodeLensRefreshRequest=Ne={}));var Pe;(function(e){e.method=`textDocument/documentLink`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Pe||(e.DocumentLinkRequest=Pe={}));var Fe;(function(e){e.method=`documentLink/resolve`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Fe||(e.DocumentLinkResolveRequest=Fe={}));var Ie;(function(e){e.method=`textDocument/formatting`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Ie||(e.DocumentFormattingRequest=Ie={}));var Le;(function(e){e.method=`textDocument/rangeFormatting`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Le||(e.DocumentRangeFormattingRequest=Le={}));var Re;(function(e){e.method=`textDocument/rangesFormatting`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Re||(e.DocumentRangesFormattingRequest=Re={}));var G;(function(e){e.method=`textDocument/onTypeFormatting`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(G||(e.DocumentOnTypeFormattingRequest=G={}));var ze;(function(e){e.Identifier=1})(ze||(e.PrepareSupportDefaultBehavior=ze={}));var Be;(function(e){e.method=`textDocument/rename`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Be||(e.RenameRequest=Be={}));var Ve;(function(e){e.method=`textDocument/prepareRename`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(Ve||(e.PrepareRenameRequest=Ve={}));var He;(function(e){e.method=`workspace/executeCommand`,e.messageDirection=t.MessageDirection.clientToServer,e.type=new t.ProtocolRequestType(e.method)})(He||(e.ExecuteCommandRequest=He={}));var Ue;(function(e){e.method=`workspace/applyEdit`,e.messageDirection=t.MessageDirection.serverToClient,e.type=new t.ProtocolRequestType(`workspace/applyEdit`)})(Ue||(e.ApplyWorkspaceEditRequest=Ue={}))})),oR=I((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.createProtocolConnection=void 0;let t=NL();function n(e,n,r,i){return t.ConnectionStrategy.is(i)&&(i={connectionStrategy:i}),(0,t.createMessageConnection)(e,n,r,i)}e.createProtocolConnection=n})),sR=I((e=>{var t=e&&e.__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]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.LSPErrorCodes=e.createProtocolConnection=void 0,n(NL(),e),n(FL(),e),n(IL(),e),n(aR(),e);var r=oR();Object.defineProperty(e,`createProtocolConnection`,{enumerable:!0,get:function(){return r.createProtocolConnection}});var i;(function(e){e.lspReservedErrorRangeStart=-32899,e.RequestFailed=-32803,e.ServerCancelled=-32802,e.ContentModified=-32801,e.RequestCancelled=-32800,e.lspReservedErrorRangeEnd=-32800})(i||(e.LSPErrorCodes=i={}))})),cR=I((e=>{var t=e&&e.__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]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.createProtocolConnection=void 0;let r=PL();n(PL(),e),n(sR(),e);function i(e,t,n,i){return(0,r.createMessageConnection)(e,t,n,i)}e.createProtocolConnection=i})),lR=_L(),uR=cR();const dR=P(import.meta.url);function fR(e,n){let r=t.isAbsolute(e)?e:t.resolve(n,e);if(!t.isAbsolute(e)&&!t.normalize(r).startsWith(n))return{isValid:!1,error:`LSP server path escapes base directory: ${e}`};let i;try{i=h(r)}catch(e){let t=e;return t.code===`ENOENT`?{isValid:!1,error:`LSP server binary not found: ${r}`}:t.code===`ELOOP`?{isValid:!1,error:`Symlink loop detected in LSP server path: ${r}`}:{isValid:!1,error:`Cannot resolve LSP server path: ${r}`}}try{if(!g(i).isFile())return{isValid:!1,error:`LSP server path is not a file: ${i}`}}catch{return{isValid:!1,error:`Cannot stat LSP server binary: ${i}`}}return{isValid:!0,resolvedPath:i}}let pR=null;async function mR(e){if(pR!==null)return pR;let n=[];process.env.OCTOCODE_LSP_CONFIG&&n.push(process.env.OCTOCODE_LSP_CONFIG),e&&n.push(t.join(e,`.octocode`,`lsp-servers.json`)),n.push(t.join(a.homedir(),`.octocode`,`lsp-servers.json`));for(let e of n)try{let t=await m.readFile(e,`utf-8`),n=JSON.parse(t);if(n.languageServers)return pR=n.languageServers,pR}catch{}return pR={},pR}const hR={".ts":{command:`typescript-language-server`,args:[`--stdio`],languageId:`typescript`,envVar:`OCTOCODE_TS_SERVER_PATH`},".tsx":{command:`typescript-language-server`,args:[`--stdio`],languageId:`typescriptreact`,envVar:`OCTOCODE_TS_SERVER_PATH`},".js":{command:`typescript-language-server`,args:[`--stdio`],languageId:`javascript`,envVar:`OCTOCODE_TS_SERVER_PATH`},".jsx":{command:`typescript-language-server`,args:[`--stdio`],languageId:`javascriptreact`,envVar:`OCTOCODE_TS_SERVER_PATH`},".mjs":{command:`typescript-language-server`,args:[`--stdio`],languageId:`javascript`,envVar:`OCTOCODE_TS_SERVER_PATH`},".cjs":{command:`typescript-language-server`,args:[`--stdio`],languageId:`javascript`,envVar:`OCTOCODE_TS_SERVER_PATH`},".py":{command:`pylsp`,args:[],languageId:`python`,envVar:`OCTOCODE_PYTHON_SERVER_PATH`},".pyi":{command:`pylsp`,args:[],languageId:`python`,envVar:`OCTOCODE_PYTHON_SERVER_PATH`},".go":{command:`gopls`,args:[`serve`],languageId:`go`,envVar:`OCTOCODE_GO_SERVER_PATH`},".rs":{command:`rust-analyzer`,args:[],languageId:`rust`,envVar:`OCTOCODE_RUST_SERVER_PATH`},".java":{command:`jdtls`,args:[],languageId:`java`,envVar:`OCTOCODE_JAVA_SERVER_PATH`},".kt":{command:`kotlin-language-server`,args:[],languageId:`kotlin`,envVar:`OCTOCODE_KOTLIN_SERVER_PATH`},".kts":{command:`kotlin-language-server`,args:[],languageId:`kotlin`,envVar:`OCTOCODE_KOTLIN_SERVER_PATH`},".c":{command:`clangd`,args:[],languageId:`c`,envVar:`OCTOCODE_CLANGD_SERVER_PATH`},".h":{command:`clangd`,args:[],languageId:`c`,envVar:`OCTOCODE_CLANGD_SERVER_PATH`},".cpp":{command:`clangd`,args:[],languageId:`cpp`,envVar:`OCTOCODE_CLANGD_SERVER_PATH`},".hpp":{command:`clangd`,args:[],languageId:`cpp`,envVar:`OCTOCODE_CLANGD_SERVER_PATH`},".cc":{command:`clangd`,args:[],languageId:`cpp`,envVar:`OCTOCODE_CLANGD_SERVER_PATH`},".cxx":{command:`clangd`,args:[],languageId:`cpp`,envVar:`OCTOCODE_CLANGD_SERVER_PATH`},".cs":{command:`csharp-ls`,args:[],languageId:`csharp`,envVar:`OCTOCODE_CSHARP_SERVER_PATH`},".rb":{command:`solargraph`,args:[`stdio`],languageId:`ruby`,envVar:`OCTOCODE_RUBY_SERVER_PATH`},".php":{command:`intelephense`,args:[`--stdio`],languageId:`php`,envVar:`OCTOCODE_PHP_SERVER_PATH`},".swift":{command:`sourcekit-lsp`,args:[],languageId:`swift`,envVar:`OCTOCODE_SWIFT_SERVER_PATH`},".dart":{command:`dart`,args:[`language-server`,`--client-id=octocode`],languageId:`dart`,envVar:`OCTOCODE_DART_SERVER_PATH`},".lua":{command:`lua-language-server`,args:[],languageId:`lua`,envVar:`OCTOCODE_LUA_SERVER_PATH`},".zig":{command:`zls`,args:[],languageId:`zig`,envVar:`OCTOCODE_ZIG_SERVER_PATH`},".ex":{command:`elixir-ls`,args:[],languageId:`elixir`,envVar:`OCTOCODE_ELIXIR_SERVER_PATH`},".exs":{command:`elixir-ls`,args:[],languageId:`elixir`,envVar:`OCTOCODE_ELIXIR_SERVER_PATH`},".scala":{command:`metals`,args:[],languageId:`scala`,envVar:`OCTOCODE_SCALA_SERVER_PATH`},".sc":{command:`metals`,args:[],languageId:`scala`,envVar:`OCTOCODE_SCALA_SERVER_PATH`},".hs":{command:`haskell-language-server-wrapper`,args:[`--lsp`],languageId:`haskell`,envVar:`OCTOCODE_HASKELL_SERVER_PATH`},".ml":{command:`ocamllsp`,args:[],languageId:`ocaml`,envVar:`OCTOCODE_OCAML_SERVER_PATH`},".mli":{command:`ocamllsp`,args:[],languageId:`ocaml`,envVar:`OCTOCODE_OCAML_SERVER_PATH`},".clj":{command:`clojure-lsp`,args:[],languageId:`clojure`,envVar:`OCTOCODE_CLOJURE_SERVER_PATH`},".cljs":{command:`clojure-lsp`,args:[],languageId:`clojure`,envVar:`OCTOCODE_CLOJURE_SERVER_PATH`},".cljc":{command:`clojure-lsp`,args:[],languageId:`clojure`,envVar:`OCTOCODE_CLOJURE_SERVER_PATH`},".vue":{command:`vue-language-server`,args:[`--stdio`],languageId:`vue`,envVar:`OCTOCODE_VUE_SERVER_PATH`},".svelte":{command:`svelteserver`,args:[`--stdio`],languageId:`svelte`,envVar:`OCTOCODE_SVELTE_SERVER_PATH`},".yaml":{command:`yaml-language-server`,args:[`--stdio`],languageId:`yaml`,envVar:`OCTOCODE_YAML_SERVER_PATH`},".yml":{command:`yaml-language-server`,args:[`--stdio`],languageId:`yaml`,envVar:`OCTOCODE_YAML_SERVER_PATH`},".toml":{command:`taplo`,args:[`lsp`,`stdio`],languageId:`toml`,envVar:`OCTOCODE_TOML_SERVER_PATH`},".json":{command:`vscode-json-language-server`,args:[`--stdio`],languageId:`json`,envVar:`OCTOCODE_JSON_SERVER_PATH`},".jsonc":{command:`vscode-json-language-server`,args:[`--stdio`],languageId:`jsonc`,envVar:`OCTOCODE_JSON_SERVER_PATH`},".html":{command:`vscode-html-language-server`,args:[`--stdio`],languageId:`html`,envVar:`OCTOCODE_HTML_SERVER_PATH`},".css":{command:`vscode-css-language-server`,args:[`--stdio`],languageId:`css`,envVar:`OCTOCODE_CSS_SERVER_PATH`},".scss":{command:`vscode-css-language-server`,args:[`--stdio`],languageId:`scss`,envVar:`OCTOCODE_CSS_SERVER_PATH`},".less":{command:`vscode-css-language-server`,args:[`--stdio`],languageId:`less`,envVar:`OCTOCODE_CSS_SERVER_PATH`},".sh":{command:`bash-language-server`,args:[`start`],languageId:`shellscript`,envVar:`OCTOCODE_BASH_SERVER_PATH`},".bash":{command:`bash-language-server`,args:[`start`],languageId:`shellscript`,envVar:`OCTOCODE_BASH_SERVER_PATH`},".zsh":{command:`bash-language-server`,args:[`start`],languageId:`shellscript`,envVar:`OCTOCODE_BASH_SERVER_PATH`},".sql":{command:`sql-language-server`,args:[`up`,`--method`,`stdio`],languageId:`sql`,envVar:`OCTOCODE_SQL_SERVER_PATH`},".graphql":{command:`graphql-lsp`,args:[`server`,`-m`,`stream`],languageId:`graphql`,envVar:`OCTOCODE_GRAPHQL_SERVER_PATH`},".gql":{command:`graphql-lsp`,args:[`server`,`-m`,`stream`],languageId:`graphql`,envVar:`OCTOCODE_GRAPHQL_SERVER_PATH`},".tf":{command:`terraform-ls`,args:[`serve`],languageId:`terraform`,envVar:`OCTOCODE_TERRAFORM_SERVER_PATH`}};function gR(e){if(process.env[e.envVar])return{command:process.env[e.envVar],args:e.args};if(e.command===`typescript-language-server`)try{let n=dR.resolve(`typescript-language-server/package.json`),r=dR(n),i=t.dirname(n),a=r.bin?.[`typescript-language-server`];if(!a||typeof a!=`string`)return console.debug(`Invalid bin entry in typescript-language-server package.json`),{command:e.command,args:e.args};let o=fR(t.join(i,a),i);return o.isValid?{command:process.execPath,args:[o.resolvedPath,...e.args]}:(console.error(`LSP server path validation failed: ${o.error}`),{command:e.command,args:e.args})}catch(e){console.debug(`Could not resolve bundled typescript-language-server:`,e)}return{command:e.command,args:e.args}}function _R(e){return hR[t.extname(e).toLowerCase()]?.languageId??`plaintext`}async function vR(e,n){let r=t.extname(e).toLowerCase(),i=(await mR(n))[r];if(i)return{command:i.command,args:i.args??[],workspaceRoot:n,languageId:i.languageId};let a=hR[r];if(!a)return null;let{command:o,args:s}=gR(a);return{command:o,args:s,workspaceRoot:n,languageId:a.languageId}}function yR(e){switch(e){case uR.SymbolKind.Function:return`function`;case uR.SymbolKind.Method:return`method`;case uR.SymbolKind.Class:return`class`;case uR.SymbolKind.Interface:return`interface`;case uR.SymbolKind.Variable:return`variable`;case uR.SymbolKind.Constant:return`constant`;case uR.SymbolKind.Property:return`property`;case uR.SymbolKind.Enum:return`enum`;case uR.SymbolKind.Module:return`module`;case uR.SymbolKind.Namespace:return`namespace`;case uR.SymbolKind.TypeParameter:return`type`;default:return`unknown`}}function bR(e){if(e.startsWith(`file://`))return e;let n=t.resolve(e);return $I.file(n).toString()}function xR(e){return e.startsWith(`file://`)?$I.parse(e).fsPath:e}var SR=class{process=null;connection=null;initialized=!1;openFiles=new Map;config;initializeResult=null;constructor(e){this.config=e}async start(){if(this.process)throw Error(`LSP client already started`);if(this.process=S(this.config.command,this.config.args??[],{cwd:this.config.workspaceRoot,stdio:[`pipe`,`pipe`,`pipe`],env:process.env}),!this.process.stdin||!this.process.stdout)throw Error(`Failed to create language server process pipes`);this.connection=(0,lR.createMessageConnection)(new lR.StreamMessageReader(this.process.stdout),new lR.StreamMessageWriter(this.process.stdin)),this.connection.listen(),this.process.on(`error`,e=>{console.error(`LSP process error:`,e)}),this.process.stderr?.on(`data`,e=>{console.debug(`LSP stderr:`,e.toString())}),await this.initialize()}async initialize(){if(!this.connection)throw Error(`Connection not established`);let e={processId:process.pid,rootUri:bR(this.config.workspaceRoot),capabilities:{textDocument:{synchronization:{dynamicRegistration:!0,willSave:!1,willSaveWaitUntil:!1,didSave:!0},definition:{dynamicRegistration:!0,linkSupport:!0},references:{dynamicRegistration:!0},callHierarchy:{dynamicRegistration:!0},publishDiagnostics:{relatedInformation:!0}},workspace:{workspaceFolders:!0,configuration:!0}},workspaceFolders:[{uri:bR(this.config.workspaceRoot),name:t.basename(this.config.workspaceRoot)}]};this.initializeResult=await this.connection.sendRequest(`initialize`,e),await this.connection.sendNotification(`initialized`,{}),this.initialized=!0}async openDocument(e){if(!this.connection||!this.initialized)throw Error(`LSP client not initialized`);let t=bR(e);if(this.openFiles.has(t))return;let n=await m.readFile(e,`utf-8`),r={textDocument:{uri:t,languageId:this.config.languageId??_R(e),version:1,text:n}};await this.connection.sendNotification(`textDocument/didOpen`,r),this.openFiles.set(t,1)}async closeDocument(e){if(!this.connection||!this.initialized)return;let t=bR(e);if(!this.openFiles.has(t))return;let n={textDocument:{uri:t}};await this.connection.sendNotification(`textDocument/didClose`,n),this.openFiles.delete(t)}async gotoDefinition(e,t){if(!this.connection||!this.initialized)throw Error(`LSP client not initialized`);await this.openDocument(e);let n={textDocument:{uri:bR(e)},position:{line:t.line,character:t.character}},r=await this.connection.sendRequest(`textDocument/definition`,n);return this.locationsToSnippets(r)}async findReferences(e,t,n=!0){if(!this.connection||!this.initialized)throw Error(`LSP client not initialized`);await this.openDocument(e);let r={textDocument:{uri:bR(e)},position:{line:t.line,character:t.character},context:{includeDeclaration:n}},i=await this.connection.sendRequest(`textDocument/references`,r);return this.locationsToSnippets(i)}async prepareCallHierarchy(e,t){if(!this.connection||!this.initialized)throw Error(`LSP client not initialized`);await this.openDocument(e);let n={textDocument:{uri:bR(e)},position:{line:t.line,character:t.character}},r=await this.connection.sendRequest(`textDocument/prepareCallHierarchy`,n);return!r||!Array.isArray(r)?[]:r.map(e=>this.convertCallHierarchyItem(e))}async getIncomingCalls(e){if(!this.connection||!this.initialized)throw Error(`LSP client not initialized`);let t={item:this.toProtocolCallHierarchyItem(e)},n=await this.connection.sendRequest(`callHierarchy/incomingCalls`,t);return!n||!Array.isArray(n)?[]:n.map(e=>({from:this.convertCallHierarchyItem(e.from),fromRanges:e.fromRanges.map(e=>({start:{line:e.start.line,character:e.start.character},end:{line:e.end.line,character:e.end.character}}))}))}async getOutgoingCalls(e){if(!this.connection||!this.initialized)throw Error(`LSP client not initialized`);let t={item:this.toProtocolCallHierarchyItem(e)},n=await this.connection.sendRequest(`callHierarchy/outgoingCalls`,t);return!n||!Array.isArray(n)?[]:n.map(e=>({to:this.convertCallHierarchyItem(e.to),fromRanges:e.fromRanges.map(e=>({start:{line:e.start.line,character:e.start.character},end:{line:e.end.line,character:e.end.character}}))}))}async locationsToSnippets(e){if(!e)return[];let t=Array.isArray(e)?e:[e],n=[];for(let e of t){let t=`targetUri`in e?e.targetUri:e.uri,r=`targetRange`in e?e.targetRange:e.range,i=xR(t),a=``;try{let e=(await m.readFile(i,`utf-8`)).split(/\r?\n/),t=r.start.line,n=r.end.line;a=e.slice(t,n+1).map((e,n)=>`${t+n+1}\t${e}`).join(`
`)}catch{a=`[Could not read file: ${i}]`}n.push({uri:i,range:{start:{line:r.start.line,character:r.start.character},end:{line:r.end.line,character:r.end.character}},content:a,displayRange:{startLine:r.start.line+1,endLine:r.end.line+1}})}return n}convertCallHierarchyItem(e){return{name:e.name,kind:yR(e.kind),uri:xR(e.uri),range:{start:{line:e.range.start.line,character:e.range.start.character},end:{line:e.range.end.line,character:e.range.end.character}},selectionRange:{start:{line:e.selectionRange.start.line,character:e.selectionRange.start.character},end:{line:e.selectionRange.end.line,character:e.selectionRange.end.character}},displayRange:{startLine:e.range.start.line+1,endLine:e.range.end.line+1}}}toProtocolCallHierarchyItem(e){return{name:e.name,kind:uR.SymbolKind.Function,uri:bR(e.uri),range:{start:{line:e.range.start.line,character:e.range.start.character},end:{line:e.range.end.line,character:e.range.end.character}},selectionRange:{start:{line:e.selectionRange.start.line,character:e.selectionRange.start.character},end:{line:e.selectionRange.end.line,character:e.selectionRange.end.character}}}}hasCapability(e){return this.initializeResult?.capabilities?!!this.initializeResult.capabilities[e]:!1}async stop(){if(this.connection)try{for(let e of Array.from(this.openFiles.keys())){let t=xR(e);await this.closeDocument(t)}await this.connection.sendRequest(`shutdown`),await this.connection.sendNotification(`exit`)}catch{}finally{this.connection.dispose(),this.connection=null,this.process?.kill(),this.process=null,this.initialized=!1}}};const CR=new Map;async function wR(e,t){let n=await vR(t,e);if(!n)return null;let r=`${n.command}:${e}`,i=CR.get(r);if(i)return i;i=new SR(n);try{return await i.start(),CR.set(r,i),i}catch(e){return console.error(`Failed to start LSP client:`,e),null}}async function TR(e){let t=process.platform===`win32`,n=t?`where`:`which`;return new Promise(r=>{let i=S(n,[e],{stdio:`ignore`,shell:t}),a=setTimeout(()=>{i.kill(),r(!1)},5e3);i.on(`close`,e=>{clearTimeout(a),r(e===0)}),i.on(`error`,()=>{clearTimeout(a),r(!1)})})}async function ER(e,n){let r=t.extname(e).toLowerCase(),i=(await mR(n))[r],a;if(i)a=i.command;else{let e=hR[r];if(!e)return!1;a=gR(e).command}if(a===process.execPath)return!0;if(t.isAbsolute(a))try{return await m.access(a),!0}catch{return!1}return TR(a)}const DR=z.LSP_GOTO_DEFINITION;function OR(e){return e.registerTool(`lspGotoDefinition`,{description:qI,inputSchema:YI,annotations:{title:`Go To Definition`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>TN(e.queries||[],async e=>await kR(e),{toolName:DR}))}async function kR(e){try{let t=oI({...e,path:e.uri},DR);if(!t.isValid)return t.errorResult;let n=t.sanitizedPath,r;try{r=await N(n,`utf-8`)}catch(t){return BN(t,e,{toolName:DR,extra:{uri:e.uri,resolvedPath:n},customHints:[`Could not read file: ${e.uri}`,`Verify the file exists and is accessible`]})}let i=new ZI({lineSearchRadius:2}),a;try{a=i.resolvePositionFromContent(r,{symbolName:e.symbolName,lineHint:e.lineHint,orderHint:e.orderHint??0})}catch(t){if(t instanceof XI)return{status:`empty`,error:t.message,errorType:`symbol_not_found`,searchRadius:t.searchRadius,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(DR,`empty`),`Symbol "${e.symbolName}" not found at or near line ${e.lineHint}`,`Searched lines ${Math.max(1,e.lineHint-t.searchRadius)} to ${e.lineHint+t.searchRadius}`,`Verify the exact symbol name (case-sensitive, no partial matches)`,`Adjust lineHint if the symbol moved due to code changes`]};throw t}let o=process.env.WORKSPACE_ROOT||process.cwd();if(await ER(n))try{let t=await AR(n,o,a.position,e,r);if(t)return t}catch(e){console.debug(`LSP lookup failed, using fallback:`,e)}return jR(e,n,r,i,a)}catch(t){return BN(t,e,{toolName:DR,extra:{uri:e.uri,symbolName:e.symbolName,lineHint:e.lineHint}})}}async function AR(e,t,n,r,i){let a=await wR(t,e);if(!a)return null;let o=await a.gotoDefinition(e,n);if(!o||o.length===0)return{status:`empty`,error:`No definition found by language server`,errorType:`symbol_not_found`,researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(DR,`empty`),`Language server could not find definition`,`Symbol may be a built-in or from external library`,`Try packageSearch to find library source code`]};let s=r.contextLines??5,c=[];for(let e of o)try{let t=(await N(e.uri,`utf-8`)).split(/\r?\n/),n=Math.max(0,e.range.start.line-s),r=Math.min(t.length-1,e.range.end.line+s),i=t.slice(n,r+1).map((t,r)=>{let i=n+r+1;return`${i>e.range.start.line&&i<=e.range.end.line+1?`>`:` `}${String(i).padStart(4,` `)}| ${t}`}).join(`
`);c.push({...e,content:i,displayRange:{startLine:n+1,endLine:r+1}})}catch{c.push(e)}return{status:`hasResults`,locations:c,resolvedPosition:n,searchRadius:2,researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(DR,`hasResults`),`Found ${o.length} definition(s) via Language Server`,o.length>1?`Multiple definitions - check overloads or re-exports`:void 0,`Use lspFindReferences to find all usages`,`Use lspCallHierarchy to trace call graph`].filter(Boolean)}}function jR(e,t,n,r,i){let a=e.contextLines??5,o=r.extractContext(n,i.foundAtLine,a),s=MR(o.content,o.startLine,i.foundAtLine);return{status:`hasResults`,locations:[{uri:t,range:{start:i.position,end:{line:i.position.line,character:i.position.character+e.symbolName.length}},content:s,displayRange:{startLine:o.startLine,endLine:o.endLine}}],resolvedPosition:i.position,searchRadius:2,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(DR,`hasResults`),`Note: Using text-based resolution (language server not available)`,`Install typescript-language-server for semantic definition lookup`,i.foundAtLine===e.lineHint?void 0:`Symbol found at line ${i.foundAtLine} (hint was ${e.lineHint})`,`Use lspFindReferences to find all usages`].filter(Boolean)}}function MR(e,t,n){let r=e.split(`
`),i=t+r.length-1,a=String(i).length;return r.map((e,r)=>{let i=t+r,o=String(i).padStart(a,` `);return`${i===n?`>`:` `}${o}| ${e}`}).join(`
`)}const NR=Dl[z.LSP_FIND_REFERENCES],PR=YD.extend({uri:K().min(1).describe(Vl.scope.uri),symbolName:K().min(1).max(255).describe(Vl.scope.symbolName),lineHint:Gt().int().min(1).describe(Vl.scope.lineHint),orderHint:Gt().int().min(0).optional().default(0).describe(Vl.options.orderHint),includeDeclaration:Kt().optional().default(!0).describe(Vl.options.includeDeclaration),contextLines:Gt().int().min(0).max(10).optional().default(2).describe(Vl.options.contextLines),referencesPerPage:Gt().int().min(1).max(50).optional().default(20).describe(Vl.pagination.referencesPerPage),page:Gt().int().min(1).optional().default(1).describe(Vl.pagination.page)}),FR=XD(z.LSP_FIND_REFERENCES,PR,{maxQueries:5}),IR=async()=>{let{exec:e}=await import(`child_process`),{promisify:t}=await import(`util`);return t(e)},LR=z.LSP_FIND_REFERENCES;function RR(e){return e.registerTool(`lspFindReferences`,{description:NR,inputSchema:FR,annotations:{title:`Find References`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>TN(e.queries||[],async e=>await zR(e),{toolName:LR}))}async function zR(e){try{let t=oI({...e,path:e.uri},LR);if(!t.isValid)return t.errorResult;let n=t.sanitizedPath;try{await oe(n)}catch(t){return BN(bn.fileAccessFailed(e.uri,t instanceof Error?t:void 0),e,{toolName:LR,extra:{uri:e.uri,resolvedPath:n}})}let r;try{r=await N(n,`utf-8`)}catch(t){return BN(bn.fileReadFailed(e.uri,t instanceof Error?t:void 0),e,{toolName:LR,extra:{uri:e.uri}})}let i=new ZI({lineSearchRadius:2}),a;try{a=i.resolvePositionFromContent(r,{symbolName:e.symbolName,lineHint:e.lineHint,orderHint:e.orderHint??0})}catch(t){if(t instanceof XI)return{status:`empty`,error:t.message,errorType:`symbol_not_found`,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Symbol '${e.symbolName}' not found at or near line ${e.lineHint}`,`Searched +/-${t.searchRadius} lines from line ${e.lineHint}`,`Verify the exact symbol name (case-sensitive, no partial matches)`,`Use localGetFileContent to check the file content around that line`,`TIP: Use localSearchCode to find the correct line number first`]};throw t}let o=process.env.WORKSPACE_ROOT||UR(n);if(await ER(n))try{let t=await BR(n,o,a.position,e);if(t)return t}catch(e){console.debug(`LSP reference lookup failed, using fallback:`,e)}return await HR(n,o,e)}catch(t){return BN(t,e,{toolName:LR,extra:{uri:e.uri,symbolName:e.symbolName}})}}async function BR(e,t,n,r){let i=await wR(t,e);if(!i)return null;let a=r.includeDeclaration??!0,o=await i.findReferences(e,n,a);if(!o||o.length===0)return{status:`empty`,totalReferences:0,researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(LR,`empty`),`Language server found no references`,`Symbol may be unused or only referenced dynamically`,`Try localSearchCode for text-based search as fallback`]};let s=r.contextLines??2,c=[];for(let i of o){let a=await VR(i,t,s,e,n,r.symbolName);c.push(a)}let l=r.referencesPerPage??20,u=r.page??1,d=c.length,f=Math.ceil(d/l),p=(u-1)*l,m=Math.min(p+l,d),h=c.slice(p,m),g=new Set(h.map(e=>e.uri)),_=g.size>1,v={currentPage:u,totalPages:f,totalResults:d,hasMore:u<f,resultsPerPage:l},y=[...LN(LR,`hasResults`),`Found ${d} reference(s) via Language Server`];return v.hasMore&&y.push(`Showing page ${u} of ${f}. Use page=${u+1} for more.`),_&&y.push(`References span ${g.size} files.`),{status:`hasResults`,locations:h,pagination:v,totalReferences:d,hasMultipleFiles:_,researchGoal:r.researchGoal,reasoning:r.reasoning,hints:y}}async function VR(e,n,r,i,a,o){let s=e.content,c=e.range.start.line+1,l=e.range.end.line+1,u=e.uri===i&&e.range.start.line===a.line&&e.range.start.character===a.character;if(r>0)try{let t=(await N(e.uri,`utf-8`)).split(/\r?\n/),n=Math.max(0,e.range.start.line-r),i=Math.min(t.length-1,e.range.end.line+r);s=t.slice(n,i+1).map((t,r)=>{let i=n+r+1;return`${i===e.range.start.line+1?`>`:` `}${String(i).padStart(4,` `)}| ${t}`}).join(`
`),c=n+1,l=i+1}catch{}return{uri:t.relative(n,e.uri)||e.uri,range:e.range,content:s,isDefinition:u,symbolKind:u?`function`:void 0,displayRange:{startLine:c,endLine:l}}}async function HR(e,t,n){let r=await WR(t,n.symbolName,e,n.contextLines??2),i=r;n.includeDeclaration||(i=r.filter(e=>!e.isDefinition));let a=n.referencesPerPage??20,o=n.page??1,s=i.length,c=Math.ceil(s/a),l=(o-1)*a,u=Math.min(l+a,s),d=i.slice(l,u);if(d.length===0)return{status:`empty`,totalReferences:0,researchGoal:n.researchGoal,reasoning:n.reasoning,hints:[...LN(LR,`empty`),`No references found for '${n.symbolName}'`,`Note: Using text-based search (language server not available)`,`Install typescript-language-server for semantic reference finding`]};let f=new Set(d.map(e=>e.uri)).size>1,p={currentPage:o,totalPages:c,totalResults:s,hasMore:o<c,resultsPerPage:a},m=[...LN(LR,`hasResults`),`Found ${s} reference(s) using text search`,`Note: Using text-based search (language server not available)`,`Install typescript-language-server for semantic reference finding`];return p.hasMore&&m.push(`Showing page ${o} of ${c}. Use page=${o+1} for more.`),{status:`hasResults`,locations:d,pagination:p,totalReferences:s,hasMultipleFiles:f,researchGoal:n.researchGoal,reasoning:n.reasoning,hints:m}}function UR(e){let n=t.dirname(e),r=[`package.json`,`tsconfig.json`,`.git`,`Cargo.toml`,`go.mod`,`pyproject.toml`];for(let e=0;e<10;e++){for(let e of r)try{let r=t.join(n,e);return R(`fs`).accessSync(r),n}catch{}let e=t.dirname(n);if(e===n)break;n=e}return t.dirname(e)}async function WR(e,n,r,i){let a=[],o=n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),s=[`--json`,`--line-number`,`--column`,`-w`,`--type-add`,`code:*.{ts,tsx,js,jsx,mjs,cjs,py,go,rs,java,c,cpp,h,hpp,cs,rb,php}`,`-t`,`code`,o,e];try{let{stdout:c}=await(await IR())(`rg ${s.map(e=>`'${e}'`).join(` `)}`,{maxBuffer:10*1024*1024,timeout:3e4}),l=c.trim().split(`
`).filter(Boolean);for(let s of l)try{let c=JSON.parse(s);if(c.type===`match`){let s=c.data,l=s.path.text,u=s.line_number,d=s.lines.text.replace(/\n$/,``),f=RegExp(`\\b${o}\\b`,`g`),p;for(;(p=f.exec(d))!==null;){let o=p.index,s=l===r&&KR(d,n),c={start:{line:u-1,character:o},end:{line:u-1,character:o+n.length}},f=d,m=u,h=u;if(i>0)try{let e=(await N(l,`utf-8`)).split(`
`),t=Math.max(0,u-1-i),n=Math.min(e.length,u+i);f=e.slice(t,n).join(`
`),m=t+1,h=n}catch{}let g=t.relative(e,l);a.push({uri:g,range:c,content:f,isDefinition:s,displayRange:{startLine:m,endLine:h}})}}}catch{}}catch(t){if(t.code!==1)return await GR(e,n,r,i)}return a.sort((e,t)=>e.isDefinition&&!t.isDefinition?-1:!e.isDefinition&&t.isDefinition?1:e.uri===t.uri?e.range.start.line-t.range.start.line:e.uri.localeCompare(t.uri)),a}async function GR(e,n,r,i){let a=[],o=n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),s=[`ts`,`tsx`,`js`,`jsx`,`py`,`go`,`rs`,`java`,`c`,`cpp`,`h`].map(e=>`--include="*.${e}"`).join(` `);try{let{stdout:c}=await(await IR())(`grep -rn -w ${s} '${o}' '${e}' 2>/dev/null || true`,{maxBuffer:10*1024*1024,timeout:3e4}),l=c.trim().split(`
`).filter(Boolean);for(let s of l){let c=s.indexOf(`:`);if(c===-1)continue;let l=s.substring(0,c),u=s.substring(c+1),d=u.indexOf(`:`);if(d===-1)continue;let f=parseInt(u.substring(0,d),10),p=u.substring(d+1);if(isNaN(f))continue;let m=RegExp(`\\b${o}\\b`,`g`),h;for(;(h=m.exec(p))!==null;){let o=h.index,s=l===r&&KR(p,n),c={start:{line:f-1,character:o},end:{line:f-1,character:o+n.length}},u=p,d=f,m=f;if(i>0)try{let e=(await N(l,`utf-8`)).split(`
`),t=Math.max(0,f-1-i),n=Math.min(e.length,f+i);u=e.slice(t,n).join(`
`),d=t+1,m=n}catch{}let g=t.relative(e,l);a.push({uri:g,range:c,content:u,isDefinition:s,displayRange:{startLine:d,endLine:m}})}}}catch{}return a.sort((e,t)=>e.isDefinition&&!t.isDefinition?-1:!e.isDefinition&&t.isDefinition?1:e.uri===t.uri?e.range.start.line-t.range.start.line:e.uri.localeCompare(t.uri)),a}function KR(e,t){let n=e.trim();return[RegExp(`^(export\\s+)?(const|let|var|function|class|interface|type|enum)\\s+${t}\\b`),RegExp(`^(export\\s+)?async\\s+function\\s+${t}\\b`),RegExp(`^(export\\s+)?default\\s+(function|class)\\s+${t}\\b`),RegExp(`^(public|private|protected|static|async|readonly)?\\s*${t}\\s*[(:=]`),RegExp(`^(def|class|async\\s+def)\\s+${t}\\b`),RegExp(`^${t}\\s*=`),RegExp(`^func\\s+(\\([^)]+\\)\\s+)?${t}\\b`),RegExp(`^(var|const|type)\\s+${t}\\b`),RegExp(`^(pub\\s+)?(fn|struct|enum|trait|type|const|static)\\s+${t}\\b`)].some(e=>e.test(n))}const qR=Dl[z.LSP_CALL_HIERARCHY],JR=YD.extend({uri:K().min(1).describe(Hl.scope.uri),symbolName:K().min(1).max(255).describe(Hl.scope.symbolName),lineHint:Gt().int().min(1).describe(Hl.scope.lineHint),orderHint:Gt().int().min(0).optional().default(0).describe(Hl.options.orderHint),direction:$t([`incoming`,`outgoing`]).describe(Hl.options.direction),depth:Gt().int().min(1).max(3).optional().default(1).describe(Hl.options.depth),contextLines:Gt().int().min(0).max(10).optional().default(2).describe(Hl.options.contextLines),callsPerPage:Gt().int().min(1).max(30).optional().default(15).describe(Hl.pagination.callsPerPage),page:Gt().int().min(1).optional().default(1).describe(Hl.pagination.page)}),YR=XD(z.LSP_CALL_HIERARCHY,JR,{maxQueries:3}),XR=z.LSP_CALL_HIERARCHY;function ZR(e){return`${e.uri}:${e.range.start.line}:${e.name}`}function QR(e){return e.registerTool(`lspCallHierarchy`,{description:qR,inputSchema:YR,annotations:{title:`Call Hierarchy`,readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!1}},async e=>TN(e.queries||[],async e=>await $R(e),{toolName:XR}))}async function $R(e){try{let t=oI({path:e.uri,...e},XR);if(!t.isValid)return t.errorResult;let n=t.sanitizedPath,r;try{r=await N(n,`utf-8`)}catch(t){return BN(bn.fileAccessFailed(e.uri,t instanceof Error?t:void 0),e,{toolName:XR,extra:{path:e.uri}})}let i=new ZI({lineSearchRadius:2}),a;try{a=i.resolvePositionFromContent(r,{symbolName:e.symbolName,lineHint:e.lineHint,orderHint:e.orderHint??0})}catch(t){if(t instanceof XI)return{status:`empty`,errorType:`symbol_not_found`,error:t.message,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(XR,`empty`),`Symbol '${e.symbolName}' not found at line ${e.lineHint}`,`Verify the exact function name (case-sensitive)`,`Check the line number is correct`,`Use localSearchCode to find the function first`]};throw t}let o=process.env.WORKSPACE_ROOT||process.cwd();if(await ER(n))try{let t=await ez(n,o,a.position,e,r);if(t)return t}catch(e){console.debug(`LSP call hierarchy failed, using fallback:`,e)}return await rz(e,n,r,a.foundAtLine,i)}catch(t){return BN(t,e,{toolName:XR,extra:{uri:e.uri}})}}async function ez(e,t,n,r,i){let a=await wR(t,e);if(!a)return null;let o=await a.prepareCallHierarchy(e,n);if(!o||o.length===0)return{status:`empty`,error:`No callable symbol found at position`,errorType:`symbol_not_found`,direction:r.direction,depth:r.depth??1,researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(XR,`empty`),`Language server could not identify a callable symbol`,`Ensure the position is on a function/method name`,`Try adjusting lineHint to the exact function declaration line`]};let s=o[0],c=await oz(s,i,r.contextLines??2),l=r.depth??1,u=new Set;if(u.add(ZR(s)),r.direction===`incoming`){let e=await tz(a,s,l,u,r.contextLines??2);if(e.length===0)return{status:`empty`,item:c,direction:`incoming`,depth:l,incomingCalls:[],researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(XR,`empty`),`No callers found for '${r.symbolName}' via Language Server`,`The function may not be called directly in the workspace`,`Check if it is called via alias or dynamic invocation`,`Try lspFindReferences for broader usage search`]};let{paginatedItems:t,pagination:n}=lz(e,r.callsPerPage??15,r.page??1);return{status:`hasResults`,item:c,direction:`incoming`,depth:l,incomingCalls:t,pagination:n,researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(XR,`hasResults`),`Found ${e.length} caller(s) via Language Server (depth ${l})`,`Use lspGotoDefinition to navigate to each caller`]}}else{let e=await nz(a,s,l,u,r.contextLines??2);if(e.length===0)return{status:`empty`,item:c,direction:`outgoing`,depth:l,outgoingCalls:[],researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(XR,`empty`),`No callees found in '${r.symbolName}' via Language Server`,`The function may only contain primitive operations`,`Check if calls use dynamic invocation patterns`]};let{paginatedItems:t,pagination:n}=lz(e,r.callsPerPage??15,r.page??1);return{status:`hasResults`,item:c,direction:`outgoing`,depth:l,outgoingCalls:t,pagination:n,researchGoal:r.researchGoal,reasoning:r.reasoning,hints:[...LN(XR,`hasResults`),`Found ${e.length} callee(s) via Language Server (depth ${l})`,`Use lspGotoDefinition to navigate to each callee`]}}}async function tz(e,t,n,r,i){if(n<=0||!e)return[];let a=await sz(await e.getIncomingCalls(t),i);if(n===1)return a;let o=[...a];for(let t of a){let a=ZR(t.from);if(r.has(a))continue;r.add(a);let s=await tz(e,t.from,n-1,r,i);o.push(...s)}return o}async function nz(e,t,n,r,i){if(n<=0||!e)return[];let a=await cz(await e.getOutgoingCalls(t),i);if(n===1)return a;let o=[...a];for(let t of a){let a=ZR(t.to);if(r.has(a))continue;r.add(a);let s=await nz(e,t.to,n-1,r,i);o.push(...s)}return o}async function rz(e,t,n,r,i){let a=n.split(/\r?\n/),o=mz(e.symbolName,t,r,a,e.contextLines??2);return e.direction===`incoming`?await iz(e,t,o,e.depth??1,e.callsPerPage??15,e.page??1,e.contextLines??2):await az(e,t,n,o,r,e.depth??1,e.callsPerPage??15,e.page??1,e.contextLines??2)}async function iz(e,t,n,r,i,a,o){let s=process.cwd(),c=e.symbolName,l=`\\b${yz(c)}\\s*\\(`,u=await Bs(`rg`),d=[];try{d=u.available?await uz(s,l,t,o):await dz(s,l,t,o)}catch(t){return{status:`error`,error:`Search failed: ${t instanceof Error?t.message:String(t)}`,item:n,direction:`incoming`,depth:r,researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Note: Using text-based search (language server not available)`,`Search for callers failed`,`Try using localSearchCode to find calls manually`,`Pattern: ${c}(`]}}let f=d.filter(e=>!(e.filePath===t&&e.lineNumber===n.displayRange?.startLine));if(f.length===0)return{status:`empty`,item:n,direction:`incoming`,depth:r,incomingCalls:[],researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(XR,`empty`),`Note: Using text-based search (language server not available)`,`No callers found for '${c}'`,`The function may not be called directly`,`Check if it is called via alias or dynamic invocation`,`Install typescript-language-server for semantic call hierarchy`]};let p=f.length,m=Math.ceil(p/i),h=(a-1)*i,g=f.slice(h,h+i);return{status:`hasResults`,item:n,direction:`incoming`,depth:r,incomingCalls:await Promise.all(g.map(async e=>({from:await hz(e,o),fromRanges:[{start:{line:e.lineNumber-1,character:e.column},end:{line:e.lineNumber-1,character:e.column+c.length}}]}))),pagination:{currentPage:a,totalPages:m,totalResults:p,hasMore:a<m,resultsPerPage:i},researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(XR,`hasResults`),`Note: Using text-based search (language server not available)`,`Install typescript-language-server for semantic call hierarchy`]}}async function az(e,t,n,r,i,a,o,s,c){let l=gz(n.split(/\r?\n/),i-1);if(!l)return{status:`empty`,item:r,direction:`outgoing`,depth:a,outgoingCalls:[],researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[`Note: Using text-based analysis (language server not available)`,`Could not extract function body`,`The function may have unusual syntax`,`Try using localGetFileContent to read the function manually`,`Install typescript-language-server for semantic call hierarchy`]};let u=/\b([a-zA-Z_$][a-zA-Z0-9_$]*)\s*\(/g,d=new Map,f=new Set([`if`,`for`,`while`,`switch`,`catch`,`function`,`return`,`throw`,`new`,`typeof`,`instanceof`,`void`,`delete`,`await`,`async`,`class`,`extends`,`super`,`this`,`import`,`export`,`from`,`as`,`default`,`const`,`let`,`var`,`Array`,`Object`,`String`,`Number`,`Boolean`,`Symbol`,`BigInt`,`Math`,`Date`,`JSON`,`console`,`Promise`,`Error`,`RegExp`,`Map`,`Set`,`WeakMap`,`WeakSet`,`parseInt`,`parseFloat`,`isNaN`,`isFinite`,`encodeURI`,`decodeURI`,`encodeURIComponent`,`decodeURIComponent`,e.symbolName]);for(let e=0;e<l.lines.length;e++){let t=l.lines[e];if(!t)continue;let n;for(;(n=u.exec(t))!==null;){let t=n[1];!t||f.has(t)||(d.has(t)||d.set(t,[]),d.get(t).push({line:l.startLine+e+1,column:n.index}))}}let p=Array.from(d.entries());if(p.length===0)return{status:`empty`,item:r,direction:`outgoing`,depth:a,outgoingCalls:[],researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(XR,`empty`),`Note: Using text-based analysis (language server not available)`,`No function calls found in '${e.symbolName}'`,`The function may only contain primitive operations`,`Install typescript-language-server for semantic call hierarchy`]};let m=p.length,h=Math.ceil(m/o),g=(s-1)*o;return{status:`hasResults`,item:r,direction:`outgoing`,depth:a,outgoingCalls:p.slice(g,g+o).map(([e,n])=>{let r=n[0];return{to:{name:e,kind:`function`,uri:t,range:vz(r.line-1,r.column,e.length),selectionRange:vz(r.line-1,r.column,e.length),displayRange:{startLine:r.line,endLine:r.line}},fromRanges:n.map(t=>vz(t.line-1,t.column,e.length))}}),pagination:{currentPage:s,totalPages:h,totalResults:m,hasMore:s<h,resultsPerPage:o},researchGoal:e.researchGoal,reasoning:e.reasoning,hints:[...LN(XR,`hasResults`),`Note: Using text-based analysis (language server not available)`,`Use lspGotoDefinition to find where each callee is defined`,`Install typescript-language-server for semantic call hierarchy`]}}async function oz(e,t,n){let r=t.split(/\r?\n/),i=Math.max(0,e.range.start.line-n),a=Math.min(r.length-1,e.range.end.line+n),o=r.slice(i,a+1).map((t,n)=>{let r=i+n+1;return`${r>e.range.start.line&&r<=e.range.end.line+1?`>`:` `}${String(r).padStart(4,` `)}| ${t}`}).join(`
`);return{...e,content:o,displayRange:{startLine:i+1,endLine:a+1}}}async function sz(e,t){let n=[];for(let r of e)try{let e=await N(r.from.uri,`utf-8`),i=await oz(r.from,e,t);n.push({...r,from:i})}catch{n.push(r)}return n}async function cz(e,t){let n=[];for(let r of e)try{let e=await N(r.to.uri,`utf-8`),i=await oz(r.to,e,t);n.push({...r,to:i})}catch{n.push(r)}return n}function lz(e,t,n){let r=e.length,i=Math.ceil(r/t),a=(n-1)*t;return{paginatedItems:e.slice(a,a+t),pagination:{currentPage:n,totalPages:i,totalResults:r,hasMore:n<i,resultsPerPage:t}}}async function uz(e,t,n,r){let i=await Ls(`rg`,[`--json`,`--line-number`,`--column`,`-e`,t,`--type`,`ts`,`--type`,`js`,`--type`,`tsx`,`--type`,`jsx`,`--type-add`,`tsx:*.tsx`,`--type-add`,`jsx:*.jsx`,`-C`,String(r),e],{cwd:e,timeout:3e4});if(!i.success&&i.code!==1)throw Error(i.stderr||`ripgrep search failed`);return fz(i.stdout)}async function dz(e,t,n,r){let i=await Ls(`grep`,[`-r`,`-n`,`-E`,`--include=*.ts`,`--include=*.js`,`--include=*.tsx`,`--include=*.jsx`,t,e],{cwd:e,timeout:3e4});if(!i.success&&i.code!==1)throw Error(i.stderr||`grep search failed`);return pz(i.stdout)}function fz(e){let t=[],n=e.split(`
`).filter(e=>e.trim());for(let e of n)try{let n=JSON.parse(e);if(n.type===`match`&&n.data){let e=n.data;t.push({filePath:e.path?.text||``,lineNumber:e.line_number||0,column:e.submatches?.[0]?.start||0,lineContent:e.lines?.text||``})}}catch{}return t}function pz(e){let t=[],n=e.split(`
`).filter(e=>e.trim());for(let e of n){let n=e.match(/^(.+?):(\d+):(.*)$/);if(n){let[,e,r,i]=n;t.push({filePath:e||``,lineNumber:parseInt(r||`0`,10),column:0,lineContent:i||``})}}return t}function mz(e,t,n,r,i){let a=Math.max(0,n-1-i),o=Math.min(r.length-1,n-1+i),s=r.slice(a,o+1).join(`
`),c=r[n-1]||``,l=c.indexOf(e);return{name:e,kind:_z(c),uri:t,range:{start:{line:a,character:0},end:{line:o,character:r[o]?.length||0}},selectionRange:{start:{line:n-1,character:Math.max(0,l)},end:{line:n-1,character:Math.max(0,l)+e.length}},content:s,displayRange:{startLine:a+1,endLine:o+1}}}async function hz(e,t){let n=`unknown`,r=e.lineContent;try{let i=(await N(e.filePath,`utf-8`)).split(/\r?\n/);for(let t=e.lineNumber-1;t>=0&&t>=e.lineNumber-20;t--){let e=i[t];if(!e)continue;let r=e.match(/(?:function\s+([a-zA-Z_$][a-zA-Z0-9_$]*)|(?:const|let|var)\s+([a-zA-Z_$][a-zA-Z0-9_$]*)\s*=\s*(?:async\s+)?(?:function|\(|[a-zA-Z_$][a-zA-Z0-9_$]*\s*=>)|([a-zA-Z_$][a-zA-Z0-9_$]*)\s*\([^)]*\)\s*\{|([a-zA-Z_$][a-zA-Z0-9_$]*)\s*=\s*async\s*\()/);if(r){n=r[1]||r[2]||r[3]||r[4]||`unknown`;break}let a=e.match(/(?:async\s+)?([a-zA-Z_$][a-zA-Z0-9_$]*)\s*\([^)]*\)\s*[:{]/);if(a&&a[1]){n=a[1];break}}let a=Math.max(0,e.lineNumber-1-t),o=Math.min(i.length-1,e.lineNumber-1+t);r=i.slice(a,o+1).join(`
`)}catch{}return{name:n,kind:`function`,uri:e.filePath,range:vz(e.lineNumber-1,0,e.lineContent.length),selectionRange:vz(e.lineNumber-1,e.column,10),content:r,displayRange:{startLine:e.lineNumber,endLine:e.lineNumber}}}function gz(e,t){let n=0,r=!1,i=t,a=[];for(let o=t;o<Math.min(e.length,t+5);o++){let t=e[o];if(!t)continue;let s=t.indexOf(`{`);if(s!==-1){r=!0,i=o,n=1;for(let e=s+1;e<t.length;e++)t[e]===`{`&&n++,t[e]===`}`&&n--;a.push(t.slice(s+1));break}}if(!r)return null;for(let t=i+1;t<e.length&&n>0;t++){let r=e[t];if(!r){a.push(``);continue}for(let e of r)e===`{`&&n++,e===`}`&&n--;if(n>0)a.push(r);else{let e=r.lastIndexOf(`}`);e>0&&a.push(r.slice(0,e))}}return{lines:a,startLine:i,endLine:i+a.length}}function _z(e){return/\bclass\b/.test(e)?`class`:/\binterface\b/.test(e)?`interface`:/\btype\b/.test(e)?`type`:/\bconst\b/.test(e)&&!/=.*(?:function|\(.*\)\s*=>)/.test(e)?`constant`:/\b(?:let|var)\b/.test(e)&&!/=.*(?:function|\(.*\)\s*=>)/.test(e)?`variable`:/\benum\b/.test(e)?`enum`:/\bnamespace\b/.test(e)?`namespace`:/\bmodule\b/.test(e)?`module`:`function`}function vz(e,t,n){return{start:{line:e,character:t},end:{line:e,character:t+n}}}function yz(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}const bz=e=>Dl[e],xz=[{name:J.GITHUB_SEARCH_CODE,description:bz(J.GITHUB_SEARCH_CODE),isDefault:!0,isLocal:!1,type:`search`,fn:qN},{name:J.GITHUB_FETCH_CONTENT,description:bz(J.GITHUB_FETCH_CONTENT),isDefault:!0,isLocal:!1,type:`content`,fn:wP},{name:J.GITHUB_VIEW_REPO_STRUCTURE,description:bz(J.GITHUB_VIEW_REPO_STRUCTURE),isDefault:!0,isLocal:!1,type:`content`,fn:fF},{name:J.GITHUB_SEARCH_REPOSITORIES,description:bz(J.GITHUB_SEARCH_REPOSITORIES),isDefault:!0,isLocal:!1,type:`search`,fn:MP},{name:J.GITHUB_SEARCH_PULL_REQUESTS,description:bz(J.GITHUB_SEARCH_PULL_REQUESTS),isDefault:!0,isLocal:!1,type:`history`,fn:uF},{name:J.PACKAGE_SEARCH,description:bz(J.PACKAGE_SEARCH),isDefault:!0,isLocal:!1,type:`search`,fn:jF},{name:J.LOCAL_RIPGREP,description:bz(J.LOCAL_RIPGREP),isDefault:!0,isLocal:!0,type:`search`,fn:uI},{name:J.LOCAL_VIEW_STRUCTURE,description:bz(J.LOCAL_VIEW_STRUCTURE),isDefault:!0,isLocal:!0,type:`content`,fn:TI},{name:J.LOCAL_FIND_FILES,description:bz(J.LOCAL_FIND_FILES),isDefault:!0,isLocal:!0,type:`search`,fn:LI},{name:J.LOCAL_FETCH_CONTENT,description:bz(J.LOCAL_FETCH_CONTENT),isDefault:!0,isLocal:!0,type:`content`,fn:UI},{name:J.LSP_GOTO_DEFINITION,description:bz(J.LSP_GOTO_DEFINITION),isDefault:!0,isLocal:!0,type:`content`,fn:OR},{name:J.LSP_FIND_REFERENCES,description:bz(J.LSP_FIND_REFERENCES),isDefault:!0,isLocal:!0,type:`search`,fn:RR},{name:J.LSP_CALL_HIERARCHY,description:bz(J.LSP_CALL_HIERARCHY),isDefault:!0,isLocal:!0,type:`content`,fn:QR}];async function Sz(e,t){let n=el(),r=Cz();r.toolsToRun.length>0&&(r.enableTools.length>0||r.disableTools.length>0)&&process.stderr.write(`Warning: TOOLS_TO_RUN cannot be used together with ENABLE_TOOLS/DISABLE_TOOLS. Using TOOLS_TO_RUN exclusively.
`);let i=0,a=[];for(let o of xz)if(wz(o,n,r)){try{if(!Cl(o.name)){await al(o.name,sn.INVALID_FORMAT.code);continue}}catch{await al(o.name,sn.INVALID_API_RESPONSE.code);continue}try{await o.fn(e,t)!==null&&i++}catch{a.push(o.name)}}return{successCount:i,failedTools:a}}function Cz(){let e=Qc();return{toolsToRun:e.toolsToRun||[],enableTools:e.enableTools||[],disableTools:e.disableTools||[]}}function wz(e,t,n){if(e.isLocal&&!t)return!1;let{toolsToRun:r,enableTools:i,disableTools:a}=n;return r.length>0?r.includes(e.name):a.includes(e.name)?!1:i.includes(e.name)||e.isDefault}function Tz(e,t){let n=t.prompts;if(n)for(let t of Object.values(n)){if(!t||typeof t.name!=`string`||t.name.trim().length===0||typeof t.description!=`string`||t.description.trim().length===0||typeof t.content!=`string`||t.content.trim().length===0)continue;let n={};if(t.args&&Array.isArray(t.args))for(let e of t.args){if(!e||typeof e.name!=`string`)continue;let t=K().describe(e.description);e.required||(t=t.optional()),n[e.name]=t}e.registerPrompt(t.name,{description:t.description,argsSchema:n},async e=>{await il(t.name);let n=t.content;if(e&&Object.keys(e).length>0){n+=`
Use Input
`;for(let[t,r]of Object.entries(e))r!=null&&(n+=`${t}: ${String(r)}\n`)}return{messages:[{role:`user`,content:{type:`text`,text:n}}]}})}}export{xz as ALL_TOOLS,xl as BASE_SCHEMA,Dl as DESCRIPTIONS,Sl as GENERIC_ERROR_HINTS,Al as GITHUB_FETCH_CONTENT,jl as GITHUB_SEARCH_CODE,Nl as GITHUB_SEARCH_PULL_REQUESTS,Ml as GITHUB_SEARCH_REPOS,Pl as GITHUB_VIEW_REPO_STRUCTURE,Ll as LOCAL_FETCH_CONTENT,Rl as LOCAL_FIND_FILES,Il as LOCAL_RIPGREP,zl as LOCAL_VIEW_STRUCTURE,Fl as PACKAGE_SEARCH,z as STATIC_TOOL_NAMES,Ol as TOOL_HINTS,J as TOOL_NAMES,El as getDynamicHints,Tl as getGenericErrorHintsSync,wl as getToolHintsSync,yl as initializeToolMetadata,Cl as isToolInMetadata,bl as loadToolContent,Tz as registerPrompts,Sz as registerTools};
//# sourceMappingURL=public.js.map