mirror of
https://github.com/doocs/md.git
synced 2025-02-02 11:17:49 +08:00
1213 lines
5.3 MiB
1213 lines
5.3 MiB
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-4EVJKHTY-CUJD2kOL.js","assets/graph-DN8hSXbP.js","assets/_baseUniq-Bcepbxee.js","assets/layout-D222at_j.js","assets/_basePickBy-D_dLwQPS.js","assets/clone-B_3ulg87.js","assets/c4Diagram-6F5ED5ID-Cf2bnUEe.js","assets/chunk-ASOPGD6M-DQs_7nRs.js","assets/flowDiagram-7ASYPVHJ-DZmM289e.js","assets/chunk-5HRBRIJM-DeRBJ4fZ.js","assets/channel-DjdluJPd.js","assets/erDiagram-6RL3IURR-JoLnrKHA.js","assets/gitGraphDiagram-NRZ2UAAF-S6FaD6f1.js","assets/chunk-TMUBEWPD-CwKvHFcH.js","assets/chunk-KFBOBJHC-BUDL0aOO.js","assets/gitGraph-YCYPL57B-DLVh_Fx0.js","assets/ganttDiagram-NTVNEXSI-DrTJM0kt.js","assets/linear-C-onP87e.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-A4XQUW5V-C1UotiDI.js","assets/pieDiagram-YF2LJOPJ-C055uuma.js","assets/arc-BU9jnWFP.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-OS5C2QUG-BGdO0KBB.js","assets/xychartDiagram-6QU3TZC5-oryexS3N.js","assets/requirementDiagram-MIRIMTAZ-BjWqzJ-R.js","assets/sequenceDiagram-G6AWOVSC-D1Bcpv_D.js","assets/classDiagram-LNE6IOMH-CJi4hYmZ.js","assets/chunk-T2TOU4HS-BNexEmnA.js","assets/classDiagram-v2-MQ7JQ4JX-CJi4hYmZ.js","assets/stateDiagram-MAYHULR4-BY5LqN88.js","assets/chunk-7U56Z5CX-B4TmNpf3.js","assets/stateDiagram-v2-4JROLMXI-ClBjuCK0.js","assets/journeyDiagram-G5WM74LC-gEmuNUvt.js","assets/timeline-definition-U7ZMHBDA-DrYwoiUK.js","assets/mindmap-definition-GWI6TPTV-CD8ejQHx.js","assets/cytoscape.esm-x1Xaklx5.js","assets/sankeyDiagram-Y46BX6SQ-DKDNSWZW.js","assets/diagram-QW4FP2JN-C5ADMDuS.js","assets/blockDiagram-ZHA2E4KO-DVgBILom.js","assets/architectureDiagram-UYN6MBPD-D10ZxUYk.js"])))=>i.map(i=>d[i]);
|
||
var SN=Object.defineProperty;var rC=Ra=>{throw TypeError(Ra)};var TN=(Ra,qa,nd)=>qa in Ra?SN(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:nd}):Ra[qa]=nd;var wg=(Ra,qa,nd)=>TN(Ra,typeof qa!="symbol"?qa+"":qa,nd),xN=(Ra,qa,nd)=>qa.has(Ra)||rC("Cannot "+nd);var nC=(Ra,qa,nd)=>qa.has(Ra)?rC("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd);var xT=(Ra,qa,nd)=>(xN(Ra,qa,"access private method"),nd);(function(){const qa=document.createElement("link").relList;if(qa&&qa.supports&&qa.supports("modulepreload"))return;for(const ld of document.querySelectorAll('link[rel="modulepreload"]'))od(ld);new MutationObserver(ld=>{for(const ud of ld)if(ud.type==="childList")for(const dd of ud.addedNodes)dd.tagName==="LINK"&&dd.rel==="modulepreload"&&od(dd)}).observe(document,{childList:!0,subtree:!0});function nd(ld){const ud={};return ld.integrity&&(ud.integrity=ld.integrity),ld.referrerPolicy&&(ud.referrerPolicy=ld.referrerPolicy),ld.crossOrigin==="use-credentials"?ud.credentials="include":ld.crossOrigin==="anonymous"?ud.credentials="omit":ud.credentials="same-origin",ud}function od(ld){if(ld.ep)return;ld.ep=!0;const ud=nd(ld);fetch(ld.href,ud)}})();const global$1=globalThis||void 0||self;/**
|
||
* @vue/shared v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function makeMap(Ra){const qa=Object.create(null);for(const nd of Ra.split(","))qa[nd]=1;return nd=>nd in qa}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&(Ra.charCodeAt(2)>122||Ra.charCodeAt(2)<97),isModelListener=Ra=>Ra.startsWith("onUpdate:"),extend$3=Object.assign,remove$2=(Ra,qa)=>{const nd=Ra.indexOf(qa);nd>-1&&Ra.splice(nd,1)},hasOwnProperty$f=Object.prototype.hasOwnProperty,hasOwn$3=(Ra,qa)=>hasOwnProperty$f.call(Ra,qa),isArray$2=Array.isArray,isMap=Ra=>toTypeString(Ra)==="[object Map]",isSet$1=Ra=>toTypeString(Ra)==="[object Set]",isDate$1=Ra=>toTypeString(Ra)==="[object Date]",isFunction$3=Ra=>typeof Ra=="function",isString$2=Ra=>typeof Ra=="string",isSymbol=Ra=>typeof Ra=="symbol",isObject$5=Ra=>Ra!==null&&typeof Ra=="object",isPromise=Ra=>(isObject$5(Ra)||isFunction$3(Ra))&&isFunction$3(Ra.then)&&isFunction$3(Ra.catch),objectToString$1=Object.prototype.toString,toTypeString=Ra=>objectToString$1.call(Ra),toRawType=Ra=>toTypeString(Ra).slice(8,-1),isPlainObject$4=Ra=>toTypeString(Ra)==="[object Object]",isIntegerKey=Ra=>isString$2(Ra)&&Ra!=="NaN"&&Ra[0]!=="-"&&""+parseInt(Ra,10)===Ra,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=Ra=>{const qa=Object.create(null);return nd=>qa[nd]||(qa[nd]=Ra(nd))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(Ra=>Ra.replace(camelizeRE,(qa,nd)=>nd?nd.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(Ra=>Ra.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(Ra=>Ra.charAt(0).toUpperCase()+Ra.slice(1)),toHandlerKey=cacheStringFunction(Ra=>Ra?`on${capitalize(Ra)}`:""),hasChanged=(Ra,qa)=>!Object.is(Ra,qa),invokeArrayFns=(Ra,...qa)=>{for(let nd=0;nd<Ra.length;nd++)Ra[nd](...qa)},def$2=(Ra,qa,nd,od=!1)=>{Object.defineProperty(Ra,qa,{configurable:!0,enumerable:!1,writable:od,value:nd})},looseToNumber=Ra=>{const qa=parseFloat(Ra);return isNaN(qa)?Ra:qa},toNumber$3=Ra=>{const qa=isString$2(Ra)?Number(Ra):NaN;return isNaN(qa)?Ra:qa};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global$1<"u"?global$1:{});function normalizeStyle(Ra){if(isArray$2(Ra)){const qa={};for(let nd=0;nd<Ra.length;nd++){const od=Ra[nd],ld=isString$2(od)?parseStringStyle(od):normalizeStyle(od);if(ld)for(const ud in ld)qa[ud]=ld[ud]}return qa}else if(isString$2(Ra)||isObject$5(Ra))return Ra}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(Ra){const qa={};return Ra.replace(styleCommentRE,"").split(listDelimiterRE).forEach(nd=>{if(nd){const od=nd.split(propertyDelimiterRE);od.length>1&&(qa[od[0].trim()]=od[1].trim())}}),qa}function normalizeClass(Ra){let qa="";if(isString$2(Ra))qa=Ra;else if(isArray$2(Ra))for(let nd=0;nd<Ra.length;nd++){const od=normalizeClass(Ra[nd]);od&&(qa+=od+" ")}else if(isObject$5(Ra))for(const nd in Ra)Ra[nd]&&(qa+=nd+" ");return qa.trim()}function normalizeProps(Ra){if(!Ra)return null;let{class:qa,style:nd}=Ra;return qa&&!isString$2(qa)&&(Ra.class=normalizeClass(qa)),nd&&(Ra.style=normalizeStyle(nd)),Ra}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(Ra){return!!Ra||Ra===""}function looseCompareArrays(Ra,qa){if(Ra.length!==qa.length)return!1;let nd=!0;for(let od=0;nd&&od<Ra.length;od++)nd=looseEqual(Ra[od],qa[od]);return nd}function looseEqual(Ra,qa){if(Ra===qa)return!0;let nd=isDate$1(Ra),od=isDate$1(qa);if(nd||od)return nd&&od?Ra.getTime()===qa.getTime():!1;if(nd=isSymbol(Ra),od=isSymbol(qa),nd||od)return Ra===qa;if(nd=isArray$2(Ra),od=isArray$2(qa),nd||od)return nd&&od?looseCompareArrays(Ra,qa):!1;if(nd=isObject$5(Ra),od=isObject$5(qa),nd||od){if(!nd||!od)return!1;const ld=Object.keys(Ra).length,ud=Object.keys(qa).length;if(ld!==ud)return!1;for(const dd in Ra){const pd=Ra.hasOwnProperty(dd),fd=qa.hasOwnProperty(dd);if(pd&&!fd||!pd&&fd||!looseEqual(Ra[dd],qa[dd]))return!1}}return String(Ra)===String(qa)}function looseIndexOf(Ra,qa){return Ra.findIndex(nd=>looseEqual(nd,qa))}const isRef$1=Ra=>!!(Ra&&Ra.__v_isRef===!0),toDisplayString=Ra=>isString$2(Ra)?Ra:Ra==null?"":isArray$2(Ra)||isObject$5(Ra)&&(Ra.toString===objectToString$1||!isFunction$3(Ra.toString))?isRef$1(Ra)?toDisplayString(Ra.value):JSON.stringify(Ra,replacer$1,2):String(Ra),replacer$1=(Ra,qa)=>isRef$1(qa)?replacer$1(Ra,qa.value):isMap(qa)?{[`Map(${qa.size})`]:[...qa.entries()].reduce((nd,[od,ld],ud)=>(nd[stringifySymbol(od,ud)+" =>"]=ld,nd),{})}:isSet$1(qa)?{[`Set(${qa.size})`]:[...qa.values()].map(nd=>stringifySymbol(nd))}:isSymbol(qa)?stringifySymbol(qa):isObject$5(qa)&&!isArray$2(qa)&&!isPlainObject$4(qa)?String(qa):qa,stringifySymbol=(Ra,qa="")=>{var nd;return isSymbol(Ra)?`Symbol(${(nd=Ra.description)!=null?nd:qa})`:Ra};/**
|
||
* @vue/reactivity v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let activeEffectScope;class EffectScope{constructor(qa=!1){this.detached=qa,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!qa&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let qa,nd;if(this.scopes)for(qa=0,nd=this.scopes.length;qa<nd;qa++)this.scopes[qa].pause();for(qa=0,nd=this.effects.length;qa<nd;qa++)this.effects[qa].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let qa,nd;if(this.scopes)for(qa=0,nd=this.scopes.length;qa<nd;qa++)this.scopes[qa].resume();for(qa=0,nd=this.effects.length;qa<nd;qa++)this.effects[qa].resume()}}run(qa){if(this._active){const nd=activeEffectScope;try{return activeEffectScope=this,qa()}finally{activeEffectScope=nd}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(qa){if(this._active){this._active=!1;let nd,od;for(nd=0,od=this.effects.length;nd<od;nd++)this.effects[nd].stop();for(this.effects.length=0,nd=0,od=this.cleanups.length;nd<od;nd++)this.cleanups[nd]();if(this.cleanups.length=0,this.scopes){for(nd=0,od=this.scopes.length;nd<od;nd++)this.scopes[nd].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!qa){const ld=this.parent.scopes.pop();ld&&ld!==this&&(this.parent.scopes[this.index]=ld,ld.index=this.index)}this.parent=void 0}}}function effectScope(Ra){return new EffectScope(Ra)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(Ra,qa=!1){activeEffectScope&&activeEffectScope.cleanups.push(Ra)}let activeSub;const pausedQueueEffects=new WeakSet;class ReactiveEffect{constructor(qa){this.fn=qa,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||batch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const qa=activeSub,nd=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=qa,shouldTrack=nd,this.flags&=-3}}stop(){if(this.flags&1){for(let qa=this.deps;qa;qa=qa.nextDep)removeSub(qa);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(Ra,qa=!1){if(Ra.flags|=8,qa){Ra.next=batchedComputed,batchedComputed=Ra;return}Ra.next=batchedSub,batchedSub=Ra}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let qa=batchedComputed;for(batchedComputed=void 0;qa;){const nd=qa.next;qa.next=void 0,qa.flags&=-9,qa=nd}}let Ra;for(;batchedSub;){let qa=batchedSub;for(batchedSub=void 0;qa;){const nd=qa.next;if(qa.next=void 0,qa.flags&=-9,qa.flags&1)try{qa.trigger()}catch(od){Ra||(Ra=od)}qa=nd}}if(Ra)throw Ra}function prepareDeps(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)qa.version=-1,qa.prevActiveLink=qa.dep.activeLink,qa.dep.activeLink=qa}function cleanupDeps(Ra){let qa,nd=Ra.depsTail,od=nd;for(;od;){const ld=od.prevDep;od.version===-1?(od===nd&&(nd=ld),removeSub(od),removeDep(od)):qa=od,od.dep.activeLink=od.prevActiveLink,od.prevActiveLink=void 0,od=ld}Ra.deps=qa,Ra.depsTail=nd}function isDirty(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)if(qa.dep.version!==qa.version||qa.dep.computed&&(refreshComputed(qa.dep.computed)||qa.dep.version!==qa.version))return!0;return!!Ra._dirty}function refreshComputed(Ra){if(Ra.flags&4&&!(Ra.flags&16)||(Ra.flags&=-17,Ra.globalVersion===globalVersion))return;Ra.globalVersion=globalVersion;const qa=Ra.dep;if(Ra.flags|=2,qa.version>0&&!Ra.isSSR&&Ra.deps&&!isDirty(Ra)){Ra.flags&=-3;return}const nd=activeSub,od=shouldTrack;activeSub=Ra,shouldTrack=!0;try{prepareDeps(Ra);const ld=Ra.fn(Ra._value);(qa.version===0||hasChanged(ld,Ra._value))&&(Ra._value=ld,qa.version++)}catch(ld){throw qa.version++,ld}finally{activeSub=nd,shouldTrack=od,cleanupDeps(Ra),Ra.flags&=-3}}function removeSub(Ra,qa=!1){const{dep:nd,prevSub:od,nextSub:ld}=Ra;if(od&&(od.nextSub=ld,Ra.prevSub=void 0),ld&&(ld.prevSub=od,Ra.nextSub=void 0),nd.subs===Ra&&(nd.subs=od,!od&&nd.computed)){nd.computed.flags&=-5;for(let ud=nd.computed.deps;ud;ud=ud.nextDep)removeSub(ud,!0)}!qa&&!--nd.sc&&nd.map&&nd.map.delete(nd.key)}function removeDep(Ra){const{prevDep:qa,nextDep:nd}=Ra;qa&&(qa.nextDep=nd,Ra.prevDep=void 0),nd&&(nd.prevDep=qa,Ra.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const Ra=trackStack.pop();shouldTrack=Ra===void 0?!0:Ra}function cleanupEffect(Ra){const{cleanup:qa}=Ra;if(Ra.cleanup=void 0,qa){const nd=activeSub;activeSub=void 0;try{qa()}finally{activeSub=nd}}}let globalVersion=0;class Link{constructor(qa,nd){this.sub=qa,this.dep=nd,this.version=nd.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{constructor(qa){this.computed=qa,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(qa){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let nd=this.activeLink;if(nd===void 0||nd.sub!==activeSub)nd=this.activeLink=new Link(activeSub,this),activeSub.deps?(nd.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd):activeSub.deps=activeSub.depsTail=nd,addSub(nd);else if(nd.version===-1&&(nd.version=this.version,nd.nextDep)){const od=nd.nextDep;od.prevDep=nd.prevDep,nd.prevDep&&(nd.prevDep.nextDep=od),nd.prevDep=activeSub.depsTail,nd.nextDep=void 0,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd,activeSub.deps===nd&&(activeSub.deps=od)}return nd}trigger(qa){this.version++,globalVersion++,this.notify(qa)}notify(qa){startBatch();try{for(let nd=this.subs;nd;nd=nd.prevSub)nd.sub.notify()&&nd.sub.dep.notify()}finally{endBatch()}}}function addSub(Ra){if(Ra.dep.sc++,Ra.sub.flags&4){const qa=Ra.dep.computed;if(qa&&!Ra.dep.subs){qa.flags|=20;for(let od=qa.deps;od;od=od.nextDep)addSub(od)}const nd=Ra.dep.subs;nd!==Ra&&(Ra.prevSub=nd,nd&&(nd.nextSub=Ra)),Ra.dep.subs=Ra}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(Ra,qa,nd){if(shouldTrack&&activeSub){let od=targetMap.get(Ra);od||targetMap.set(Ra,od=new Map);let ld=od.get(nd);ld||(od.set(nd,ld=new Dep),ld.map=od,ld.key=nd),ld.track()}}function trigger(Ra,qa,nd,od,ld,ud){const dd=targetMap.get(Ra);if(!dd){globalVersion++;return}const pd=fd=>{fd&&fd.trigger()};if(startBatch(),qa==="clear")dd.forEach(pd);else{const fd=isArray$2(Ra),md=fd&&isIntegerKey(nd);if(fd&&nd==="length"){const vd=Number(od);dd.forEach((Ad,Nd)=>{(Nd==="length"||Nd===ARRAY_ITERATE_KEY||!isSymbol(Nd)&&Nd>=vd)&&pd(Ad)})}else switch((nd!==void 0||dd.has(void 0))&&pd(dd.get(nd)),md&&pd(dd.get(ARRAY_ITERATE_KEY)),qa){case"add":fd?md&&pd(dd.get("length")):(pd(dd.get(ITERATE_KEY)),isMap(Ra)&&pd(dd.get(MAP_KEY_ITERATE_KEY)));break;case"delete":fd||(pd(dd.get(ITERATE_KEY)),isMap(Ra)&&pd(dd.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(Ra)&&pd(dd.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(Ra,qa){const nd=targetMap.get(Ra);return nd&&nd.get(qa)}function reactiveReadArray(Ra){const qa=toRaw(Ra);return qa===Ra?qa:(track(qa,"iterate",ARRAY_ITERATE_KEY),isShallow(Ra)?qa:qa.map(toReactive))}function shallowReadArray(Ra){return track(Ra=toRaw(Ra),"iterate",ARRAY_ITERATE_KEY),Ra}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...Ra){return reactiveReadArray(this).concat(...Ra.map(qa=>isArray$2(qa)?reactiveReadArray(qa):qa))},entries(){return iterator(this,"entries",Ra=>(Ra[1]=toReactive(Ra[1]),Ra))},every(Ra,qa){return apply$3(this,"every",Ra,qa,void 0,arguments)},filter(Ra,qa){return apply$3(this,"filter",Ra,qa,nd=>nd.map(toReactive),arguments)},find(Ra,qa){return apply$3(this,"find",Ra,qa,toReactive,arguments)},findIndex(Ra,qa){return apply$3(this,"findIndex",Ra,qa,void 0,arguments)},findLast(Ra,qa){return apply$3(this,"findLast",Ra,qa,toReactive,arguments)},findLastIndex(Ra,qa){return apply$3(this,"findLastIndex",Ra,qa,void 0,arguments)},forEach(Ra,qa){return apply$3(this,"forEach",Ra,qa,void 0,arguments)},includes(...Ra){return searchProxy(this,"includes",Ra)},indexOf(...Ra){return searchProxy(this,"indexOf",Ra)},join(Ra){return reactiveReadArray(this).join(Ra)},lastIndexOf(...Ra){return searchProxy(this,"lastIndexOf",Ra)},map(Ra,qa){return apply$3(this,"map",Ra,qa,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...Ra){return noTracking(this,"push",Ra)},reduce(Ra,...qa){return reduce$2(this,"reduce",Ra,qa)},reduceRight(Ra,...qa){return reduce$2(this,"reduceRight",Ra,qa)},shift(){return noTracking(this,"shift")},some(Ra,qa){return apply$3(this,"some",Ra,qa,void 0,arguments)},splice(...Ra){return noTracking(this,"splice",Ra)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(Ra){return reactiveReadArray(this).toSorted(Ra)},toSpliced(...Ra){return reactiveReadArray(this).toSpliced(...Ra)},unshift(...Ra){return noTracking(this,"unshift",Ra)},values(){return iterator(this,"values",toReactive)}};function iterator(Ra,qa,nd){const od=shallowReadArray(Ra),ld=od[qa]();return od!==Ra&&!isShallow(Ra)&&(ld._next=ld.next,ld.next=()=>{const ud=ld._next();return ud.value&&(ud.value=nd(ud.value)),ud}),ld}const arrayProto$1=Array.prototype;function apply$3(Ra,qa,nd,od,ld,ud){const dd=shallowReadArray(Ra),pd=dd!==Ra&&!isShallow(Ra),fd=dd[qa];if(fd!==arrayProto$1[qa]){const Ad=fd.apply(Ra,ud);return pd?toReactive(Ad):Ad}let md=nd;dd!==Ra&&(pd?md=function(Ad,Nd){return nd.call(this,toReactive(Ad),Nd,Ra)}:nd.length>2&&(md=function(Ad,Nd){return nd.call(this,Ad,Nd,Ra)}));const vd=fd.call(dd,md,od);return pd&&ld?ld(vd):vd}function reduce$2(Ra,qa,nd,od){const ld=shallowReadArray(Ra);let ud=nd;return ld!==Ra&&(isShallow(Ra)?nd.length>3&&(ud=function(dd,pd,fd){return nd.call(this,dd,pd,fd,Ra)}):ud=function(dd,pd,fd){return nd.call(this,dd,toReactive(pd),fd,Ra)}),ld[qa](ud,...od)}function searchProxy(Ra,qa,nd){const od=toRaw(Ra);track(od,"iterate",ARRAY_ITERATE_KEY);const ld=od[qa](...nd);return(ld===-1||ld===!1)&&isProxy(nd[0])?(nd[0]=toRaw(nd[0]),od[qa](...nd)):ld}function noTracking(Ra,qa,nd=[]){pauseTracking(),startBatch();const od=toRaw(Ra)[qa].apply(Ra,nd);return endBatch(),resetTracking(),od}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(Ra=>Ra!=="arguments"&&Ra!=="caller").map(Ra=>Symbol[Ra]).filter(isSymbol));function hasOwnProperty$e(Ra){isSymbol(Ra)||(Ra=String(Ra));const qa=toRaw(this);return track(qa,"has",Ra),qa.hasOwnProperty(Ra)}class BaseReactiveHandler{constructor(qa=!1,nd=!1){this._isReadonly=qa,this._isShallow=nd}get(qa,nd,od){if(nd==="__v_skip")return qa.__v_skip;const ld=this._isReadonly,ud=this._isShallow;if(nd==="__v_isReactive")return!ld;if(nd==="__v_isReadonly")return ld;if(nd==="__v_isShallow")return ud;if(nd==="__v_raw")return od===(ld?ud?shallowReadonlyMap:readonlyMap:ud?shallowReactiveMap:reactiveMap).get(qa)||Object.getPrototypeOf(qa)===Object.getPrototypeOf(od)?qa:void 0;const dd=isArray$2(qa);if(!ld){let fd;if(dd&&(fd=arrayInstrumentations[nd]))return fd;if(nd==="hasOwnProperty")return hasOwnProperty$e}const pd=Reflect.get(qa,nd,isRef(qa)?qa:od);return(isSymbol(nd)?builtInSymbols.has(nd):isNonTrackableKeys(nd))||(ld||track(qa,"get",nd),ud)?pd:isRef(pd)?dd&&isIntegerKey(nd)?pd:pd.value:isObject$5(pd)?ld?readonly(pd):reactive(pd):pd}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!1,qa)}set(qa,nd,od,ld){let ud=qa[nd];if(!this._isShallow){const fd=isReadonly(ud);if(!isShallow(od)&&!isReadonly(od)&&(ud=toRaw(ud),od=toRaw(od)),!isArray$2(qa)&&isRef(ud)&&!isRef(od))return fd?!1:(ud.value=od,!0)}const dd=isArray$2(qa)&&isIntegerKey(nd)?Number(nd)<qa.length:hasOwn$3(qa,nd),pd=Reflect.set(qa,nd,od,isRef(qa)?qa:ld);return qa===toRaw(ld)&&(dd?hasChanged(od,ud)&&trigger(qa,"set",nd,od):trigger(qa,"add",nd,od)),pd}deleteProperty(qa,nd){const od=hasOwn$3(qa,nd);qa[nd];const ld=Reflect.deleteProperty(qa,nd);return ld&&od&&trigger(qa,"delete",nd,void 0),ld}has(qa,nd){const od=Reflect.has(qa,nd);return(!isSymbol(nd)||!builtInSymbols.has(nd))&&track(qa,"has",nd),od}ownKeys(qa){return track(qa,"iterate",isArray$2(qa)?"length":ITERATE_KEY),Reflect.ownKeys(qa)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!0,qa)}set(qa,nd){return!0}deleteProperty(qa,nd){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=Ra=>Ra,getProto$2=Ra=>Reflect.getPrototypeOf(Ra);function createIterableMethod(Ra,qa,nd){return function(...od){const ld=this.__v_raw,ud=toRaw(ld),dd=isMap(ud),pd=Ra==="entries"||Ra===Symbol.iterator&&dd,fd=Ra==="keys"&&dd,md=ld[Ra](...od),vd=nd?toShallow:qa?toReadonly:toReactive;return!qa&&track(ud,"iterate",fd?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:Ad,done:Nd}=md.next();return Nd?{value:Ad,done:Nd}:{value:pd?[vd(Ad[0]),vd(Ad[1])]:vd(Ad),done:Nd}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(Ra){return function(...qa){return Ra==="delete"?!1:Ra==="clear"?void 0:this}}function createInstrumentations(Ra,qa){const nd={get(ld){const ud=this.__v_raw,dd=toRaw(ud),pd=toRaw(ld);Ra||(hasChanged(ld,pd)&&track(dd,"get",ld),track(dd,"get",pd));const{has:fd}=getProto$2(dd),md=qa?toShallow:Ra?toReadonly:toReactive;if(fd.call(dd,ld))return md(ud.get(ld));if(fd.call(dd,pd))return md(ud.get(pd));ud!==dd&&ud.get(ld)},get size(){const ld=this.__v_raw;return!Ra&&track(toRaw(ld),"iterate",ITERATE_KEY),Reflect.get(ld,"size",ld)},has(ld){const ud=this.__v_raw,dd=toRaw(ud),pd=toRaw(ld);return Ra||(hasChanged(ld,pd)&&track(dd,"has",ld),track(dd,"has",pd)),ld===pd?ud.has(ld):ud.has(ld)||ud.has(pd)},forEach(ld,ud){const dd=this,pd=dd.__v_raw,fd=toRaw(pd),md=qa?toShallow:Ra?toReadonly:toReactive;return!Ra&&track(fd,"iterate",ITERATE_KEY),pd.forEach((vd,Ad)=>ld.call(ud,md(vd),md(Ad),dd))}};return extend$3(nd,Ra?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(ld){!qa&&!isShallow(ld)&&!isReadonly(ld)&&(ld=toRaw(ld));const ud=toRaw(this);return getProto$2(ud).has.call(ud,ld)||(ud.add(ld),trigger(ud,"add",ld,ld)),this},set(ld,ud){!qa&&!isShallow(ud)&&!isReadonly(ud)&&(ud=toRaw(ud));const dd=toRaw(this),{has:pd,get:fd}=getProto$2(dd);let md=pd.call(dd,ld);md||(ld=toRaw(ld),md=pd.call(dd,ld));const vd=fd.call(dd,ld);return dd.set(ld,ud),md?hasChanged(ud,vd)&&trigger(dd,"set",ld,ud):trigger(dd,"add",ld,ud),this},delete(ld){const ud=toRaw(this),{has:dd,get:pd}=getProto$2(ud);let fd=dd.call(ud,ld);fd||(ld=toRaw(ld),fd=dd.call(ud,ld)),pd&&pd.call(ud,ld);const md=ud.delete(ld);return fd&&trigger(ud,"delete",ld,void 0),md},clear(){const ld=toRaw(this),ud=ld.size!==0,dd=ld.clear();return ud&&trigger(ld,"clear",void 0,void 0),dd}}),["keys","values","entries",Symbol.iterator].forEach(ld=>{nd[ld]=createIterableMethod(ld,Ra,qa)}),nd}function createInstrumentationGetter(Ra,qa){const nd=createInstrumentations(Ra,qa);return(od,ld,ud)=>ld==="__v_isReactive"?!Ra:ld==="__v_isReadonly"?Ra:ld==="__v_raw"?od:Reflect.get(hasOwn$3(nd,ld)&&ld in od?nd:od,ld,ud)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(Ra){switch(Ra){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(Ra){return Ra.__v_skip||!Object.isExtensible(Ra)?0:targetTypeMap(toRawType(Ra))}function reactive(Ra){return isReadonly(Ra)?Ra:createReactiveObject(Ra,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(Ra){return createReactiveObject(Ra,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(Ra){return createReactiveObject(Ra,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(Ra){return createReactiveObject(Ra,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(Ra,qa,nd,od,ld){if(!isObject$5(Ra)||Ra.__v_raw&&!(qa&&Ra.__v_isReactive))return Ra;const ud=ld.get(Ra);if(ud)return ud;const dd=getTargetType(Ra);if(dd===0)return Ra;const pd=new Proxy(Ra,dd===2?od:nd);return ld.set(Ra,pd),pd}function isReactive(Ra){return isReadonly(Ra)?isReactive(Ra.__v_raw):!!(Ra&&Ra.__v_isReactive)}function isReadonly(Ra){return!!(Ra&&Ra.__v_isReadonly)}function isShallow(Ra){return!!(Ra&&Ra.__v_isShallow)}function isProxy(Ra){return Ra?!!Ra.__v_raw:!1}function toRaw(Ra){const qa=Ra&&Ra.__v_raw;return qa?toRaw(qa):Ra}function markRaw(Ra){return!hasOwn$3(Ra,"__v_skip")&&Object.isExtensible(Ra)&&def$2(Ra,"__v_skip",!0),Ra}const toReactive=Ra=>isObject$5(Ra)?reactive(Ra):Ra,toReadonly=Ra=>isObject$5(Ra)?readonly(Ra):Ra;function isRef(Ra){return Ra?Ra.__v_isRef===!0:!1}function ref$1(Ra){return createRef(Ra,!1)}function shallowRef(Ra){return createRef(Ra,!0)}function createRef(Ra,qa){return isRef(Ra)?Ra:new RefImpl(Ra,qa)}class RefImpl{constructor(qa,nd){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=nd?qa:toRaw(qa),this._value=nd?qa:toReactive(qa),this.__v_isShallow=nd}get value(){return this.dep.track(),this._value}set value(qa){const nd=this._rawValue,od=this.__v_isShallow||isShallow(qa)||isReadonly(qa);qa=od?qa:toRaw(qa),hasChanged(qa,nd)&&(this._rawValue=qa,this._value=od?qa:toReactive(qa),this.dep.trigger())}}function unref(Ra){return isRef(Ra)?Ra.value:Ra}const shallowUnwrapHandlers={get:(Ra,qa,nd)=>qa==="__v_raw"?Ra:unref(Reflect.get(Ra,qa,nd)),set:(Ra,qa,nd,od)=>{const ld=Ra[qa];return isRef(ld)&&!isRef(nd)?(ld.value=nd,!0):Reflect.set(Ra,qa,nd,od)}};function proxyRefs(Ra){return isReactive(Ra)?Ra:new Proxy(Ra,shallowUnwrapHandlers)}class CustomRefImpl{constructor(qa){this.__v_isRef=!0,this._value=void 0;const nd=this.dep=new Dep,{get:od,set:ld}=qa(nd.track.bind(nd),nd.trigger.bind(nd));this._get=od,this._set=ld}get value(){return this._value=this._get()}set value(qa){this._set(qa)}}function customRef(Ra){return new CustomRefImpl(Ra)}function toRefs(Ra){const qa=isArray$2(Ra)?new Array(Ra.length):{};for(const nd in Ra)qa[nd]=propertyToRef(Ra,nd);return qa}class ObjectRefImpl{constructor(qa,nd,od){this._object=qa,this._key=nd,this._defaultValue=od,this.__v_isRef=!0,this._value=void 0}get value(){const qa=this._object[this._key];return this._value=qa===void 0?this._defaultValue:qa}set value(qa){this._object[this._key]=qa}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(qa){this._getter=qa,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$1(Ra,qa,nd){return isRef(Ra)?Ra:isFunction$3(Ra)?new GetterRefImpl(Ra):isObject$5(Ra)&&arguments.length>1?propertyToRef(Ra,qa,nd):ref$1(Ra)}function propertyToRef(Ra,qa,nd){const od=Ra[qa];return isRef(od)?od:new ObjectRefImpl(Ra,qa,nd)}class ComputedRefImpl{constructor(qa,nd,od){this.fn=qa,this.setter=nd,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!nd,this.isSSR=od}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const qa=this.dep.track();return refreshComputed(this),qa&&(qa.version=this.dep.version),this._value}set value(qa){this.setter&&this.setter(qa)}}function computed$1(Ra,qa,nd=!1){let od,ld;return isFunction$3(Ra)?od=Ra:(od=Ra.get,ld=Ra.set),new ComputedRefImpl(od,ld,nd)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(Ra,qa=!1,nd=activeWatcher){if(nd){let od=cleanupMap.get(nd);od||cleanupMap.set(nd,od=[]),od.push(Ra)}}function watch$1(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,once:ud,scheduler:dd,augmentJob:pd,call:fd}=nd,md=Gd=>ld?Gd:isShallow(Gd)||ld===!1||ld===0?traverse(Gd,1):traverse(Gd);let vd,Ad,Nd,Id,Od=!1,Md=!1;if(isRef(Ra)?(Ad=()=>Ra.value,Od=isShallow(Ra)):isReactive(Ra)?(Ad=()=>md(Ra),Od=!0):isArray$2(Ra)?(Md=!0,Od=Ra.some(Gd=>isReactive(Gd)||isShallow(Gd)),Ad=()=>Ra.map(Gd=>{if(isRef(Gd))return Gd.value;if(isReactive(Gd))return md(Gd);if(isFunction$3(Gd))return fd?fd(Gd,2):Gd()})):isFunction$3(Ra)?qa?Ad=fd?()=>fd(Ra,2):Ra:Ad=()=>{if(Nd){pauseTracking();try{Nd()}finally{resetTracking()}}const Gd=activeWatcher;activeWatcher=vd;try{return fd?fd(Ra,3,[Id]):Ra(Id)}finally{activeWatcher=Gd}}:Ad=NOOP,qa&&ld){const Gd=Ad,qd=ld===!0?1/0:ld;Ad=()=>traverse(Gd(),qd)}const Ud=getCurrentScope(),jd=()=>{vd.stop(),Ud&&Ud.active&&remove$2(Ud.effects,vd)};if(ud&&qa){const Gd=qa;qa=(...qd)=>{Gd(...qd),jd()}}let Ld=Md?new Array(Ra.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Bd=Gd=>{if(!(!(vd.flags&1)||!vd.dirty&&!Gd))if(qa){const qd=vd.run();if(ld||Od||(Md?qd.some((zd,Xd)=>hasChanged(zd,Ld[Xd])):hasChanged(qd,Ld))){Nd&&Nd();const zd=activeWatcher;activeWatcher=vd;try{const Xd=[qd,Ld===INITIAL_WATCHER_VALUE?void 0:Md&&Ld[0]===INITIAL_WATCHER_VALUE?[]:Ld,Id];fd?fd(qa,3,Xd):qa(...Xd),Ld=qd}finally{activeWatcher=zd}}}else vd.run()};return pd&&pd(Bd),vd=new ReactiveEffect(Ad),vd.scheduler=dd?()=>dd(Bd,!1):Bd,Id=Gd=>onWatcherCleanup(Gd,!1,vd),Nd=vd.onStop=()=>{const Gd=cleanupMap.get(vd);if(Gd){if(fd)fd(Gd,4);else for(const qd of Gd)qd();cleanupMap.delete(vd)}},qa?od?Bd(!0):Ld=vd.run():dd?dd(Bd.bind(null,!0),!0):vd.run(),jd.pause=vd.pause.bind(vd),jd.resume=vd.resume.bind(vd),jd.stop=jd,jd}function traverse(Ra,qa=1/0,nd){if(qa<=0||!isObject$5(Ra)||Ra.__v_skip||(nd=nd||new Set,nd.has(Ra)))return Ra;if(nd.add(Ra),qa--,isRef(Ra))traverse(Ra.value,qa,nd);else if(isArray$2(Ra))for(let od=0;od<Ra.length;od++)traverse(Ra[od],qa,nd);else if(isSet$1(Ra)||isMap(Ra))Ra.forEach(od=>{traverse(od,qa,nd)});else if(isPlainObject$4(Ra)){for(const od in Ra)traverse(Ra[od],qa,nd);for(const od of Object.getOwnPropertySymbols(Ra))Object.prototype.propertyIsEnumerable.call(Ra,od)&&traverse(Ra[od],qa,nd)}return Ra}/**
|
||
* @vue/runtime-core v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const stack=[];let isWarning=!1;function warn$1(Ra,...qa){if(isWarning)return;isWarning=!0,pauseTracking();const nd=stack.length?stack[stack.length-1].component:null,od=nd&&nd.appContext.config.warnHandler,ld=getComponentTrace();if(od)callWithErrorHandling(od,nd,11,[Ra+qa.map(ud=>{var dd,pd;return(pd=(dd=ud.toString)==null?void 0:dd.call(ud))!=null?pd:JSON.stringify(ud)}).join(""),nd&&nd.proxy,ld.map(({vnode:ud})=>`at <${formatComponentName(nd,ud.type)}>`).join(`
|
||
`),ld]);else{const ud=[`[Vue warn]: ${Ra}`,...qa];ld.length&&ud.push(`
|
||
`,...formatTrace(ld)),console.warn(...ud)}resetTracking(),isWarning=!1}function getComponentTrace(){let Ra=stack[stack.length-1];if(!Ra)return[];const qa=[];for(;Ra;){const nd=qa[0];nd&&nd.vnode===Ra?nd.recurseCount++:qa.push({vnode:Ra,recurseCount:0});const od=Ra.component&&Ra.component.parent;Ra=od&&od.vnode}return qa}function formatTrace(Ra){const qa=[];return Ra.forEach((nd,od)=>{qa.push(...od===0?[]:[`
|
||
`],...formatTraceEntry(nd))}),qa}function formatTraceEntry({vnode:Ra,recurseCount:qa}){const nd=qa>0?`... (${qa} recursive calls)`:"",od=Ra.component?Ra.component.parent==null:!1,ld=` at <${formatComponentName(Ra.component,Ra.type,od)}`,ud=">"+nd;return Ra.props?[ld,...formatProps(Ra.props),ud]:[ld+ud]}function formatProps(Ra){const qa=[],nd=Object.keys(Ra);return nd.slice(0,3).forEach(od=>{qa.push(...formatProp(od,Ra[od]))}),nd.length>3&&qa.push(" ..."),qa}function formatProp(Ra,qa,nd){return isString$2(qa)?(qa=JSON.stringify(qa),nd?qa:[`${Ra}=${qa}`]):typeof qa=="number"||typeof qa=="boolean"||qa==null?nd?qa:[`${Ra}=${qa}`]:isRef(qa)?(qa=formatProp(Ra,toRaw(qa.value),!0),nd?qa:[`${Ra}=Ref<`,qa,">"]):isFunction$3(qa)?[`${Ra}=fn${qa.name?`<${qa.name}>`:""}`]:(qa=toRaw(qa),nd?qa:[`${Ra}=`,qa])}function callWithErrorHandling(Ra,qa,nd,od){try{return od?Ra(...od):Ra()}catch(ld){handleError$1(ld,qa,nd)}}function callWithAsyncErrorHandling(Ra,qa,nd,od){if(isFunction$3(Ra)){const ld=callWithErrorHandling(Ra,qa,nd,od);return ld&&isPromise(ld)&&ld.catch(ud=>{handleError$1(ud,qa,nd)}),ld}if(isArray$2(Ra)){const ld=[];for(let ud=0;ud<Ra.length;ud++)ld.push(callWithAsyncErrorHandling(Ra[ud],qa,nd,od));return ld}}function handleError$1(Ra,qa,nd,od=!0){const ld=qa?qa.vnode:null,{errorHandler:ud,throwUnhandledErrorInProduction:dd}=qa&&qa.appContext.config||EMPTY_OBJ;if(qa){let pd=qa.parent;const fd=qa.proxy,md=`https://vuejs.org/error-reference/#runtime-${nd}`;for(;pd;){const vd=pd.ec;if(vd){for(let Ad=0;Ad<vd.length;Ad++)if(vd[Ad](Ra,fd,md)===!1)return}pd=pd.parent}if(ud){pauseTracking(),callWithErrorHandling(ud,null,10,[Ra,fd,md]),resetTracking();return}}logError(Ra,nd,ld,od,dd)}function logError(Ra,qa,nd,od=!0,ld=!1){if(ld)throw Ra;console.error(Ra)}const queue$2=[];let flushIndex=-1;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick$1(Ra){const qa=currentFlushPromise||resolvedPromise;return Ra?qa.then(this?Ra.bind(this):Ra):qa}function findInsertionIndex(Ra){let qa=flushIndex+1,nd=queue$2.length;for(;qa<nd;){const od=qa+nd>>>1,ld=queue$2[od],ud=getId(ld);ud<Ra||ud===Ra&&ld.flags&2?qa=od+1:nd=od}return qa}function queueJob(Ra){if(!(Ra.flags&1)){const qa=getId(Ra),nd=queue$2[queue$2.length-1];!nd||!(Ra.flags&2)&&qa>=getId(nd)?queue$2.push(Ra):queue$2.splice(findInsertionIndex(qa),0,Ra),Ra.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(Ra){isArray$2(Ra)?pendingPostFlushCbs.push(...Ra):activePostFlushCbs&&Ra.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,Ra):Ra.flags&1||(pendingPostFlushCbs.push(Ra),Ra.flags|=1),queueFlush()}function flushPreFlushCbs(Ra,qa,nd=flushIndex+1){for(;nd<queue$2.length;nd++){const od=queue$2[nd];if(od&&od.flags&2){if(Ra&&od.id!==Ra.uid)continue;queue$2.splice(nd,1),nd--,od.flags&4&&(od.flags&=-2),od(),od.flags&4||(od.flags&=-2)}}}function flushPostFlushCbs(Ra){if(pendingPostFlushCbs.length){const qa=[...new Set(pendingPostFlushCbs)].sort((nd,od)=>getId(nd)-getId(od));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...qa);return}for(activePostFlushCbs=qa,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const nd=activePostFlushCbs[postFlushIndex];nd.flags&4&&(nd.flags&=-2),nd.flags&8||nd(),nd.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId=Ra=>Ra.id==null?Ra.flags&2?-1:1/0:Ra.id;function flushJobs(Ra){try{for(flushIndex=0;flushIndex<queue$2.length;flushIndex++){const qa=queue$2[flushIndex];qa&&!(qa.flags&8)&&(qa.flags&4&&(qa.flags&=-2),callWithErrorHandling(qa,qa.i,qa.i?15:14),qa.flags&4||(qa.flags&=-2))}}finally{for(;flushIndex<queue$2.length;flushIndex++){const qa=queue$2[flushIndex];qa&&(qa.flags&=-2)}flushIndex=-1,queue$2.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue$2.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(Ra){const qa=currentRenderingInstance;return currentRenderingInstance=Ra,currentScopeId=Ra&&Ra.type.__scopeId||null,qa}function withCtx(Ra,qa=currentRenderingInstance,nd){if(!qa||Ra._n)return Ra;const od=(...ld)=>{od._d&&setBlockTracking(-1);const ud=setCurrentRenderingInstance(qa);let dd;try{dd=Ra(...ld)}finally{setCurrentRenderingInstance(ud),od._d&&setBlockTracking(1)}return dd};return od._n=!0,od._c=!0,od._d=!0,od}function withDirectives(Ra,qa){if(currentRenderingInstance===null)return Ra;const nd=getComponentPublicInstance(currentRenderingInstance),od=Ra.dirs||(Ra.dirs=[]);for(let ld=0;ld<qa.length;ld++){let[ud,dd,pd,fd=EMPTY_OBJ]=qa[ld];ud&&(isFunction$3(ud)&&(ud={mounted:ud,updated:ud}),ud.deep&&traverse(dd),od.push({dir:ud,instance:nd,value:dd,oldValue:void 0,arg:pd,modifiers:fd}))}return Ra}function invokeDirectiveHook(Ra,qa,nd,od){const ld=Ra.dirs,ud=qa&&qa.dirs;for(let dd=0;dd<ld.length;dd++){const pd=ld[dd];ud&&(pd.oldValue=ud[dd].value);let fd=pd.dir[od];fd&&(pauseTracking(),callWithAsyncErrorHandling(fd,nd,8,[Ra.el,pd,Ra,qa]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=Ra=>Ra.__isTeleport,isTeleportDisabled=Ra=>Ra&&(Ra.disabled||Ra.disabled===""),isTeleportDeferred=Ra=>Ra&&(Ra.defer||Ra.defer===""),isTargetSVG=Ra=>typeof SVGElement<"u"&&Ra instanceof SVGElement,isTargetMathML=Ra=>typeof MathMLElement=="function"&&Ra instanceof MathMLElement,resolveTarget=(Ra,qa)=>{const nd=Ra&&Ra.to;return isString$2(nd)?qa?qa(nd):null:nd},TeleportImpl={name:"Teleport",__isTeleport:!0,process(Ra,qa,nd,od,ld,ud,dd,pd,fd,md){const{mc:vd,pc:Ad,pbc:Nd,o:{insert:Id,querySelector:Od,createText:Md,createComment:Ud}}=md,jd=isTeleportDisabled(qa.props);let{shapeFlag:Ld,children:Bd,dynamicChildren:Gd}=qa;if(Ra==null){const qd=qa.el=Md(""),zd=qa.anchor=Md("");Id(qd,nd,od),Id(zd,nd,od);const Xd=(Yd,Zd)=>{Ld&16&&(ld&&ld.isCE&&(ld.ce._teleportTarget=Yd),vd(Bd,Yd,Zd,ld,ud,dd,pd,fd))},gf=()=>{const Yd=qa.target=resolveTarget(qa.props,Od),Zd=prepareAnchor(Yd,qa,Md,Id);Yd&&(dd!=="svg"&&isTargetSVG(Yd)?dd="svg":dd!=="mathml"&&isTargetMathML(Yd)&&(dd="mathml"),jd||(Xd(Yd,Zd),updateCssVars(qa,!1)))};jd&&(Xd(nd,zd),updateCssVars(qa,!0)),isTeleportDeferred(qa.props)?queuePostRenderEffect(()=>{gf(),qa.el.__isMounted=!0},ud):gf()}else{if(isTeleportDeferred(qa.props)&&!Ra.el.__isMounted){queuePostRenderEffect(()=>{TeleportImpl.process(Ra,qa,nd,od,ld,ud,dd,pd,fd,md),delete Ra.el.__isMounted},ud);return}qa.el=Ra.el,qa.targetStart=Ra.targetStart;const qd=qa.anchor=Ra.anchor,zd=qa.target=Ra.target,Xd=qa.targetAnchor=Ra.targetAnchor,gf=isTeleportDisabled(Ra.props),Yd=gf?nd:zd,Zd=gf?qd:Xd;if(dd==="svg"||isTargetSVG(zd)?dd="svg":(dd==="mathml"||isTargetMathML(zd))&&(dd="mathml"),Gd?(Nd(Ra.dynamicChildren,Gd,Yd,ld,ud,dd,pd),traverseStaticChildren(Ra,qa,!0)):fd||Ad(Ra,qa,Yd,Zd,ld,ud,dd,pd,!1),jd)gf?qa.props&&Ra.props&&qa.props.to!==Ra.props.to&&(qa.props.to=Ra.props.to):moveTeleport(qa,nd,qd,md,1);else if((qa.props&&qa.props.to)!==(Ra.props&&Ra.props.to)){const df=qa.target=resolveTarget(qa.props,Od);df&&moveTeleport(qa,df,null,md,0)}else gf&&moveTeleport(qa,zd,Xd,md,1);updateCssVars(qa,jd)}},remove(Ra,qa,nd,{um:od,o:{remove:ld}},ud){const{shapeFlag:dd,children:pd,anchor:fd,targetStart:md,targetAnchor:vd,target:Ad,props:Nd}=Ra;if(Ad&&(ld(md),ld(vd)),ud&&ld(fd),dd&16){const Id=ud||!isTeleportDisabled(Nd);for(let Od=0;Od<pd.length;Od++){const Md=pd[Od];od(Md,qa,nd,Id,!!Md.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(Ra,qa,nd,{o:{insert:od},m:ld},ud=2){ud===0&&od(Ra.targetAnchor,qa,nd);const{el:dd,anchor:pd,shapeFlag:fd,children:md,props:vd}=Ra,Ad=ud===2;if(Ad&&od(dd,qa,nd),(!Ad||isTeleportDisabled(vd))&&fd&16)for(let Nd=0;Nd<md.length;Nd++)ld(md[Nd],qa,nd,2);Ad&&od(pd,qa,nd)}function hydrateTeleport(Ra,qa,nd,od,ld,ud,{o:{nextSibling:dd,parentNode:pd,querySelector:fd,insert:md,createText:vd}},Ad){const Nd=qa.target=resolveTarget(qa.props,fd);if(Nd){const Id=isTeleportDisabled(qa.props),Od=Nd._lpa||Nd.firstChild;if(qa.shapeFlag&16)if(Id)qa.anchor=Ad(dd(Ra),qa,pd(Ra),nd,od,ld,ud),qa.targetStart=Od,qa.targetAnchor=Od&&dd(Od);else{qa.anchor=dd(Ra);let Md=Od;for(;Md;){if(Md&&Md.nodeType===8){if(Md.data==="teleport start anchor")qa.targetStart=Md;else if(Md.data==="teleport anchor"){qa.targetAnchor=Md,Nd._lpa=qa.targetAnchor&&dd(qa.targetAnchor);break}}Md=dd(Md)}qa.targetAnchor||prepareAnchor(Nd,qa,vd,md),Ad(Od&&dd(Od),qa,Nd,nd,od,ld,ud)}updateCssVars(qa,Id)}return qa.anchor&&dd(qa.anchor)}const Teleport=TeleportImpl;function updateCssVars(Ra,qa){const nd=Ra.ctx;if(nd&&nd.ut){let od,ld;for(qa?(od=Ra.el,ld=Ra.anchor):(od=Ra.targetStart,ld=Ra.targetAnchor);od&&od!==ld;)od.nodeType===1&&od.setAttribute("data-v-owner",nd.uid),od=od.nextSibling;nd.ut()}}function prepareAnchor(Ra,qa,nd,od){const ld=qa.targetStart=nd(""),ud=qa.targetAnchor=nd("");return ld[TeleportEndKey]=ud,Ra&&(od(ld,Ra),od(ud,Ra)),ud}const leaveCbKey=Symbol("_leaveCb"),enterCbKey=Symbol("_enterCb");function useTransitionState(){const Ra={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{Ra.isMounted=!0}),onBeforeUnmount(()=>{Ra.isUnmounting=!0}),Ra}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=Ra=>{const qa=Ra.subTree;return qa.component?recursiveGetSubtree(qa.component):qa},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(Ra,{slots:qa}){const nd=getCurrentInstance(),od=useTransitionState();return()=>{const ld=qa.default&&getTransitionRawChildren(qa.default(),!0);if(!ld||!ld.length)return;const ud=findNonCommentChild(ld),dd=toRaw(Ra),{mode:pd}=dd;if(od.isLeaving)return emptyPlaceholder(ud);const fd=getInnerChild$1(ud);if(!fd)return emptyPlaceholder(ud);let md=resolveTransitionHooks(fd,dd,od,nd,Ad=>md=Ad);fd.type!==Comment$2&&setTransitionHooks(fd,md);let vd=nd.subTree&&getInnerChild$1(nd.subTree);if(vd&&vd.type!==Comment$2&&!isSameVNodeType(fd,vd)&&recursiveGetSubtree(nd).type!==Comment$2){let Ad=resolveTransitionHooks(vd,dd,od,nd);if(setTransitionHooks(vd,Ad),pd==="out-in"&&fd.type!==Comment$2)return od.isLeaving=!0,Ad.afterLeave=()=>{od.isLeaving=!1,nd.job.flags&8||nd.update(),delete Ad.afterLeave,vd=void 0},emptyPlaceholder(ud);pd==="in-out"&&fd.type!==Comment$2?Ad.delayLeave=(Nd,Id,Od)=>{const Md=getLeavingNodesForType(od,vd);Md[String(vd.key)]=vd,Nd[leaveCbKey]=()=>{Id(),Nd[leaveCbKey]=void 0,delete md.delayedLeave,vd=void 0},md.delayedLeave=()=>{Od(),delete md.delayedLeave,vd=void 0}}:vd=void 0}else vd&&(vd=void 0);return ud}}};function findNonCommentChild(Ra){let qa=Ra[0];if(Ra.length>1){for(const nd of Ra)if(nd.type!==Comment$2){qa=nd;break}}return qa}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(Ra,qa){const{leavingVNodes:nd}=Ra;let od=nd.get(qa.type);return od||(od=Object.create(null),nd.set(qa.type,od)),od}function resolveTransitionHooks(Ra,qa,nd,od,ld){const{appear:ud,mode:dd,persisted:pd=!1,onBeforeEnter:fd,onEnter:md,onAfterEnter:vd,onEnterCancelled:Ad,onBeforeLeave:Nd,onLeave:Id,onAfterLeave:Od,onLeaveCancelled:Md,onBeforeAppear:Ud,onAppear:jd,onAfterAppear:Ld,onAppearCancelled:Bd}=qa,Gd=String(Ra.key),qd=getLeavingNodesForType(nd,Ra),zd=(Yd,Zd)=>{Yd&&callWithAsyncErrorHandling(Yd,od,9,Zd)},Xd=(Yd,Zd)=>{const df=Zd[1];zd(Yd,Zd),isArray$2(Yd)?Yd.every(Ef=>Ef.length<=1)&&df():Yd.length<=1&&df()},gf={mode:dd,persisted:pd,beforeEnter(Yd){let Zd=fd;if(!nd.isMounted)if(ud)Zd=Ud||fd;else return;Yd[leaveCbKey]&&Yd[leaveCbKey](!0);const df=qd[Gd];df&&isSameVNodeType(Ra,df)&&df.el[leaveCbKey]&&df.el[leaveCbKey](),zd(Zd,[Yd])},enter(Yd){let Zd=md,df=vd,Ef=Ad;if(!nd.isMounted)if(ud)Zd=jd||md,df=Ld||vd,Ef=Bd||Ad;else return;let _f=!1;const xf=Yd[enterCbKey]=vf=>{_f||(_f=!0,vf?zd(Ef,[Yd]):zd(df,[Yd]),gf.delayedLeave&&gf.delayedLeave(),Yd[enterCbKey]=void 0)};Zd?Xd(Zd,[Yd,xf]):xf()},leave(Yd,Zd){const df=String(Ra.key);if(Yd[enterCbKey]&&Yd[enterCbKey](!0),nd.isUnmounting)return Zd();zd(Nd,[Yd]);let Ef=!1;const _f=Yd[leaveCbKey]=xf=>{Ef||(Ef=!0,Zd(),xf?zd(Md,[Yd]):zd(Od,[Yd]),Yd[leaveCbKey]=void 0,qd[df]===Ra&&delete qd[df])};qd[df]=Ra,Id?Xd(Id,[Yd,_f]):_f()},clone(Yd){const Zd=resolveTransitionHooks(Yd,qa,nd,od,ld);return ld&&ld(Zd),Zd}};return gf}function emptyPlaceholder(Ra){if(isKeepAlive(Ra))return Ra=cloneVNode(Ra),Ra.children=null,Ra}function getInnerChild$1(Ra){if(!isKeepAlive(Ra))return isTeleport(Ra.type)&&Ra.children?findNonCommentChild(Ra.children):Ra;const{shapeFlag:qa,children:nd}=Ra;if(nd){if(qa&16)return nd[0];if(qa&32&&isFunction$3(nd.default))return nd.default()}}function setTransitionHooks(Ra,qa){Ra.shapeFlag&6&&Ra.component?(Ra.transition=qa,setTransitionHooks(Ra.component.subTree,qa)):Ra.shapeFlag&128?(Ra.ssContent.transition=qa.clone(Ra.ssContent),Ra.ssFallback.transition=qa.clone(Ra.ssFallback)):Ra.transition=qa}function getTransitionRawChildren(Ra,qa=!1,nd){let od=[],ld=0;for(let ud=0;ud<Ra.length;ud++){let dd=Ra[ud];const pd=nd==null?dd.key:String(nd)+String(dd.key!=null?dd.key:ud);dd.type===Fragment?(dd.patchFlag&128&&ld++,od=od.concat(getTransitionRawChildren(dd.children,qa,pd))):(qa||dd.type!==Comment$2)&&od.push(pd!=null?cloneVNode(dd,{key:pd}):dd)}if(ld>1)for(let ud=0;ud<od.length;ud++)od[ud].patchFlag=-2;return od}/*! #__NO_SIDE_EFFECTS__ */function defineComponent(Ra,qa){return isFunction$3(Ra)?extend$3({name:Ra.name},qa,{setup:Ra}):Ra}function useId(){const Ra=getCurrentInstance();return Ra?(Ra.appContext.config.idPrefix||"v")+"-"+Ra.ids[0]+Ra.ids[1]++:""}function markAsyncBoundary(Ra){Ra.ids=[Ra.ids[0]+Ra.ids[2]+++"-",0,0]}function useTemplateRef(Ra){const qa=getCurrentInstance(),nd=shallowRef(null);if(qa){const ld=qa.refs===EMPTY_OBJ?qa.refs={}:qa.refs;Object.defineProperty(ld,Ra,{enumerable:!0,get:()=>nd.value,set:ud=>nd.value=ud})}return nd}function setRef(Ra,qa,nd,od,ld=!1){if(isArray$2(Ra)){Ra.forEach((Od,Md)=>setRef(Od,qa&&(isArray$2(qa)?qa[Md]:qa),nd,od,ld));return}if(isAsyncWrapper(od)&&!ld){od.shapeFlag&512&&od.type.__asyncResolved&&od.component.subTree.component&&setRef(Ra,qa,nd,od.component.subTree);return}const ud=od.shapeFlag&4?getComponentPublicInstance(od.component):od.el,dd=ld?null:ud,{i:pd,r:fd}=Ra,md=qa&&qa.r,vd=pd.refs===EMPTY_OBJ?pd.refs={}:pd.refs,Ad=pd.setupState,Nd=toRaw(Ad),Id=Ad===EMPTY_OBJ?()=>!1:Od=>hasOwn$3(Nd,Od);if(md!=null&&md!==fd&&(isString$2(md)?(vd[md]=null,Id(md)&&(Ad[md]=null)):isRef(md)&&(md.value=null)),isFunction$3(fd))callWithErrorHandling(fd,pd,12,[dd,vd]);else{const Od=isString$2(fd),Md=isRef(fd);if(Od||Md){const Ud=()=>{if(Ra.f){const jd=Od?Id(fd)?Ad[fd]:vd[fd]:fd.value;ld?isArray$2(jd)&&remove$2(jd,ud):isArray$2(jd)?jd.includes(ud)||jd.push(ud):Od?(vd[fd]=[ud],Id(fd)&&(Ad[fd]=vd[fd])):(fd.value=[ud],Ra.k&&(vd[Ra.k]=fd.value))}else Od?(vd[fd]=dd,Id(fd)&&(Ad[fd]=dd)):Md&&(fd.value=dd,Ra.k&&(vd[Ra.k]=dd))};dd?(Ud.id=-1,queuePostRenderEffect(Ud,nd)):Ud()}}}getGlobalThis().requestIdleCallback;getGlobalThis().cancelIdleCallback;const isAsyncWrapper=Ra=>!!Ra.type.__asyncLoader,isKeepAlive=Ra=>Ra.type.__isKeepAlive;function onActivated(Ra,qa){registerKeepAliveHook(Ra,"a",qa)}function onDeactivated(Ra,qa){registerKeepAliveHook(Ra,"da",qa)}function registerKeepAliveHook(Ra,qa,nd=currentInstance){const od=Ra.__wdc||(Ra.__wdc=()=>{let ld=nd;for(;ld;){if(ld.isDeactivated)return;ld=ld.parent}return Ra()});if(injectHook(qa,od,nd),nd){let ld=nd.parent;for(;ld&&ld.parent;)isKeepAlive(ld.parent.vnode)&&injectToKeepAliveRoot(od,qa,nd,ld),ld=ld.parent}}function injectToKeepAliveRoot(Ra,qa,nd,od){const ld=injectHook(qa,Ra,od,!0);onUnmounted(()=>{remove$2(od[qa],ld)},nd)}function injectHook(Ra,qa,nd=currentInstance,od=!1){if(nd){const ld=nd[Ra]||(nd[Ra]=[]),ud=qa.__weh||(qa.__weh=(...dd)=>{pauseTracking();const pd=setCurrentInstance(nd),fd=callWithAsyncErrorHandling(qa,nd,Ra,dd);return pd(),resetTracking(),fd});return od?ld.unshift(ud):ld.push(ud),ud}}const createHook=Ra=>(qa,nd=currentInstance)=>{(!isInSSRComponentSetup||Ra==="sp")&&injectHook(Ra,(...od)=>qa(...od),nd)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(Ra,qa=currentInstance){injectHook("ec",Ra,qa)}const COMPONENTS="components";function resolveComponent(Ra,qa){return resolveAsset(COMPONENTS,Ra,!0,qa)||Ra}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(Ra){return isString$2(Ra)?resolveAsset(COMPONENTS,Ra,!1)||Ra:Ra||NULL_DYNAMIC_COMPONENT}function resolveAsset(Ra,qa,nd=!0,od=!1){const ld=currentRenderingInstance||currentInstance;if(ld){const ud=ld.type;{const pd=getComponentName(ud,!1);if(pd&&(pd===qa||pd===camelize(qa)||pd===capitalize(camelize(qa))))return ud}const dd=resolve$1(ld[Ra]||ud[Ra],qa)||resolve$1(ld.appContext[Ra],qa);return!dd&&od?ud:dd}}function resolve$1(Ra,qa){return Ra&&(Ra[qa]||Ra[camelize(qa)]||Ra[capitalize(camelize(qa))])}function renderList(Ra,qa,nd,od){let ld;const ud=nd,dd=isArray$2(Ra);if(dd||isString$2(Ra)){const pd=dd&&isReactive(Ra);let fd=!1;pd&&(fd=!isShallow(Ra),Ra=shallowReadArray(Ra)),ld=new Array(Ra.length);for(let md=0,vd=Ra.length;md<vd;md++)ld[md]=qa(fd?toReactive(Ra[md]):Ra[md],md,void 0,ud)}else if(typeof Ra=="number"){ld=new Array(Ra);for(let pd=0;pd<Ra;pd++)ld[pd]=qa(pd+1,pd,void 0,ud)}else if(isObject$5(Ra))if(Ra[Symbol.iterator])ld=Array.from(Ra,(pd,fd)=>qa(pd,fd,void 0,ud));else{const pd=Object.keys(Ra);ld=new Array(pd.length);for(let fd=0,md=pd.length;fd<md;fd++){const vd=pd[fd];ld[fd]=qa(Ra[vd],vd,fd,ud)}}else ld=[];return ld}function renderSlot(Ra,qa,nd={},od,ld){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce)return qa!=="default"&&(nd.name=qa),openBlock(),createBlock(Fragment,null,[createVNode("slot",nd,od&&od())],64);let ud=Ra[qa];ud&&ud._c&&(ud._d=!1),openBlock();const dd=ud&&ensureValidVNode(ud(nd)),pd=nd.key||dd&&dd.key,fd=createBlock(Fragment,{key:(pd&&!isSymbol(pd)?pd:`_${qa}`)+(!dd&&od?"_fb":"")},dd||(od?od():[]),dd&&Ra._===1?64:-2);return!ld&&fd.scopeId&&(fd.slotScopeIds=[fd.scopeId+"-s"]),ud&&ud._c&&(ud._d=!0),fd}function ensureValidVNode(Ra){return Ra.some(qa=>isVNode(qa)?!(qa.type===Comment$2||qa.type===Fragment&&!ensureValidVNode(qa.children)):!0)?Ra:null}const getPublicInstance=Ra=>Ra?isStatefulComponent(Ra)?getComponentPublicInstance(Ra):getPublicInstance(Ra.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:Ra=>Ra,$el:Ra=>Ra.vnode.el,$data:Ra=>Ra.data,$props:Ra=>Ra.props,$attrs:Ra=>Ra.attrs,$slots:Ra=>Ra.slots,$refs:Ra=>Ra.refs,$parent:Ra=>getPublicInstance(Ra.parent),$root:Ra=>getPublicInstance(Ra.root),$host:Ra=>Ra.ce,$emit:Ra=>Ra.emit,$options:Ra=>resolveMergedOptions(Ra),$forceUpdate:Ra=>Ra.f||(Ra.f=()=>{queueJob(Ra.update)}),$nextTick:Ra=>Ra.n||(Ra.n=nextTick$1.bind(Ra.proxy)),$watch:Ra=>instanceWatch.bind(Ra)}),hasSetupBinding=(Ra,qa)=>Ra!==EMPTY_OBJ&&!Ra.__isScriptSetup&&hasOwn$3(Ra,qa),PublicInstanceProxyHandlers={get({_:Ra},qa){if(qa==="__v_skip")return!0;const{ctx:nd,setupState:od,data:ld,props:ud,accessCache:dd,type:pd,appContext:fd}=Ra;let md;if(qa[0]!=="$"){const Id=dd[qa];if(Id!==void 0)switch(Id){case 1:return od[qa];case 2:return ld[qa];case 4:return nd[qa];case 3:return ud[qa]}else{if(hasSetupBinding(od,qa))return dd[qa]=1,od[qa];if(ld!==EMPTY_OBJ&&hasOwn$3(ld,qa))return dd[qa]=2,ld[qa];if((md=Ra.propsOptions[0])&&hasOwn$3(md,qa))return dd[qa]=3,ud[qa];if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return dd[qa]=4,nd[qa];shouldCacheAccess&&(dd[qa]=0)}}const vd=publicPropertiesMap[qa];let Ad,Nd;if(vd)return qa==="$attrs"&&track(Ra.attrs,"get",""),vd(Ra);if((Ad=pd.__cssModules)&&(Ad=Ad[qa]))return Ad;if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return dd[qa]=4,nd[qa];if(Nd=fd.config.globalProperties,hasOwn$3(Nd,qa))return Nd[qa]},set({_:Ra},qa,nd){const{data:od,setupState:ld,ctx:ud}=Ra;return hasSetupBinding(ld,qa)?(ld[qa]=nd,!0):od!==EMPTY_OBJ&&hasOwn$3(od,qa)?(od[qa]=nd,!0):hasOwn$3(Ra.props,qa)||qa[0]==="$"&&qa.slice(1)in Ra?!1:(ud[qa]=nd,!0)},has({_:{data:Ra,setupState:qa,accessCache:nd,ctx:od,appContext:ld,propsOptions:ud}},dd){let pd;return!!nd[dd]||Ra!==EMPTY_OBJ&&hasOwn$3(Ra,dd)||hasSetupBinding(qa,dd)||(pd=ud[0])&&hasOwn$3(pd,dd)||hasOwn$3(od,dd)||hasOwn$3(publicPropertiesMap,dd)||hasOwn$3(ld.config.globalProperties,dd)},defineProperty(Ra,qa,nd){return nd.get!=null?Ra._.accessCache[qa]=0:hasOwn$3(nd,"value")&&this.set(Ra,qa,nd.value,null),Reflect.defineProperty(Ra,qa,nd)}};function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const Ra=getCurrentInstance();return Ra.setupContext||(Ra.setupContext=createSetupContext(Ra))}function normalizePropsOrEmits(Ra){return isArray$2(Ra)?Ra.reduce((qa,nd)=>(qa[nd]=null,qa),{}):Ra}function mergeDefaults(Ra,qa){const nd=normalizePropsOrEmits(Ra);for(const od in qa){if(od.startsWith("__skip"))continue;let ld=nd[od];ld?isArray$2(ld)||isFunction$3(ld)?ld=nd[od]={type:ld,default:qa[od]}:ld.default=qa[od]:ld===null&&(ld=nd[od]={default:qa[od]}),ld&&qa[`__skip_${od}`]&&(ld.skipFactory=!0)}return nd}let shouldCacheAccess=!0;function applyOptions(Ra){const qa=resolveMergedOptions(Ra),nd=Ra.proxy,od=Ra.ctx;shouldCacheAccess=!1,qa.beforeCreate&&callHook$1(qa.beforeCreate,Ra,"bc");const{data:ld,computed:ud,methods:dd,watch:pd,provide:fd,inject:md,created:vd,beforeMount:Ad,mounted:Nd,beforeUpdate:Id,updated:Od,activated:Md,deactivated:Ud,beforeDestroy:jd,beforeUnmount:Ld,destroyed:Bd,unmounted:Gd,render:qd,renderTracked:zd,renderTriggered:Xd,errorCaptured:gf,serverPrefetch:Yd,expose:Zd,inheritAttrs:df,components:Ef,directives:_f,filters:xf}=qa;if(md&&resolveInjections(md,od,null),dd)for(const Df in dd){const jf=dd[Df];isFunction$3(jf)&&(od[Df]=jf.bind(nd))}if(ld){const Df=ld.call(nd,nd);isObject$5(Df)&&(Ra.data=reactive(Df))}if(shouldCacheAccess=!0,ud)for(const Df in ud){const jf=ud[Df],Jf=isFunction$3(jf)?jf.bind(nd,nd):isFunction$3(jf.get)?jf.get.bind(nd,nd):NOOP,eh=!isFunction$3(jf)&&isFunction$3(jf.set)?jf.set.bind(nd):NOOP,th=computed({get:Jf,set:eh});Object.defineProperty(od,Df,{enumerable:!0,configurable:!0,get:()=>th.value,set:Uf=>th.value=Uf})}if(pd)for(const Df in pd)createWatcher(pd[Df],od,nd,Df);if(fd){const Df=isFunction$3(fd)?fd.call(nd):fd;Reflect.ownKeys(Df).forEach(jf=>{provide(jf,Df[jf])})}vd&&callHook$1(vd,Ra,"c");function Af(Df,jf){isArray$2(jf)?jf.forEach(Jf=>Df(Jf.bind(nd))):jf&&Df(jf.bind(nd))}if(Af(onBeforeMount,Ad),Af(onMounted,Nd),Af(onBeforeUpdate,Id),Af(onUpdated,Od),Af(onActivated,Md),Af(onDeactivated,Ud),Af(onErrorCaptured,gf),Af(onRenderTracked,zd),Af(onRenderTriggered,Xd),Af(onBeforeUnmount,Ld),Af(onUnmounted,Gd),Af(onServerPrefetch,Yd),isArray$2(Zd))if(Zd.length){const Df=Ra.exposed||(Ra.exposed={});Zd.forEach(jf=>{Object.defineProperty(Df,jf,{get:()=>nd[jf],set:Jf=>nd[jf]=Jf})})}else Ra.exposed||(Ra.exposed={});qd&&Ra.render===NOOP&&(Ra.render=qd),df!=null&&(Ra.inheritAttrs=df),Ef&&(Ra.components=Ef),_f&&(Ra.directives=_f),Yd&&markAsyncBoundary(Ra)}function resolveInjections(Ra,qa,nd=NOOP){isArray$2(Ra)&&(Ra=normalizeInject(Ra));for(const od in Ra){const ld=Ra[od];let ud;isObject$5(ld)?"default"in ld?ud=inject(ld.from||od,ld.default,!0):ud=inject(ld.from||od):ud=inject(ld),isRef(ud)?Object.defineProperty(qa,od,{enumerable:!0,configurable:!0,get:()=>ud.value,set:dd=>ud.value=dd}):qa[od]=ud}}function callHook$1(Ra,qa,nd){callWithAsyncErrorHandling(isArray$2(Ra)?Ra.map(od=>od.bind(qa.proxy)):Ra.bind(qa.proxy),qa,nd)}function createWatcher(Ra,qa,nd,od){let ld=od.includes(".")?createPathGetter(nd,od):()=>nd[od];if(isString$2(Ra)){const ud=qa[Ra];isFunction$3(ud)&&watch(ld,ud)}else if(isFunction$3(Ra))watch(ld,Ra.bind(nd));else if(isObject$5(Ra))if(isArray$2(Ra))Ra.forEach(ud=>createWatcher(ud,qa,nd,od));else{const ud=isFunction$3(Ra.handler)?Ra.handler.bind(nd):qa[Ra.handler];isFunction$3(ud)&&watch(ld,ud,Ra)}}function resolveMergedOptions(Ra){const qa=Ra.type,{mixins:nd,extends:od}=qa,{mixins:ld,optionsCache:ud,config:{optionMergeStrategies:dd}}=Ra.appContext,pd=ud.get(qa);let fd;return pd?fd=pd:!ld.length&&!nd&&!od?fd=qa:(fd={},ld.length&&ld.forEach(md=>mergeOptions(fd,md,dd,!0)),mergeOptions(fd,qa,dd)),isObject$5(qa)&&ud.set(qa,fd),fd}function mergeOptions(Ra,qa,nd,od=!1){const{mixins:ld,extends:ud}=qa;ud&&mergeOptions(Ra,ud,nd,!0),ld&&ld.forEach(dd=>mergeOptions(Ra,dd,nd,!0));for(const dd in qa)if(!(od&&dd==="expose")){const pd=internalOptionMergeStrats[dd]||nd&&nd[dd];Ra[dd]=pd?pd(Ra[dd],qa[dd]):qa[dd]}return Ra}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(Ra,qa){return qa?Ra?function(){return extend$3(isFunction$3(Ra)?Ra.call(this,this):Ra,isFunction$3(qa)?qa.call(this,this):qa)}:qa:Ra}function mergeInject(Ra,qa){return mergeObjectOptions(normalizeInject(Ra),normalizeInject(qa))}function normalizeInject(Ra){if(isArray$2(Ra)){const qa={};for(let nd=0;nd<Ra.length;nd++)qa[Ra[nd]]=Ra[nd];return qa}return Ra}function mergeAsArray(Ra,qa){return Ra?[...new Set([].concat(Ra,qa))]:qa}function mergeObjectOptions(Ra,qa){return Ra?extend$3(Object.create(null),Ra,qa):qa}function mergeEmitsOrPropsOptions(Ra,qa){return Ra?isArray$2(Ra)&&isArray$2(qa)?[...new Set([...Ra,...qa])]:extend$3(Object.create(null),normalizePropsOrEmits(Ra),normalizePropsOrEmits(qa??{})):qa}function mergeWatchOptions(Ra,qa){if(!Ra)return qa;if(!qa)return Ra;const nd=extend$3(Object.create(null),Ra);for(const od in qa)nd[od]=mergeAsArray(Ra[od],qa[od]);return nd}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI(Ra,qa){return function(od,ld=null){isFunction$3(od)||(od=extend$3({},od)),ld!=null&&!isObject$5(ld)&&(ld=null);const ud=createAppContext(),dd=new WeakSet,pd=[];let fd=!1;const md=ud.app={_uid:uid$1++,_component:od,_props:ld,_container:null,_context:ud,_instance:null,version:version$4,get config(){return ud.config},set config(vd){},use(vd,...Ad){return dd.has(vd)||(vd&&isFunction$3(vd.install)?(dd.add(vd),vd.install(md,...Ad)):isFunction$3(vd)&&(dd.add(vd),vd(md,...Ad))),md},mixin(vd){return ud.mixins.includes(vd)||ud.mixins.push(vd),md},component(vd,Ad){return Ad?(ud.components[vd]=Ad,md):ud.components[vd]},directive(vd,Ad){return Ad?(ud.directives[vd]=Ad,md):ud.directives[vd]},mount(vd,Ad,Nd){if(!fd){const Id=md._ceVNode||createVNode(od,ld);return Id.appContext=ud,Nd===!0?Nd="svg":Nd===!1&&(Nd=void 0),Ad&&qa?qa(Id,vd):Ra(Id,vd,Nd),fd=!0,md._container=vd,vd.__vue_app__=md,getComponentPublicInstance(Id.component)}},onUnmount(vd){pd.push(vd)},unmount(){fd&&(callWithAsyncErrorHandling(pd,md._instance,16),Ra(null,md._container),delete md._container.__vue_app__)},provide(vd,Ad){return ud.provides[vd]=Ad,md},runWithContext(vd){const Ad=currentApp;currentApp=md;try{return vd()}finally{currentApp=Ad}}};return md}}let currentApp=null;function provide(Ra,qa){if(currentInstance){let nd=currentInstance.provides;const od=currentInstance.parent&¤tInstance.parent.provides;od===nd&&(nd=currentInstance.provides=Object.create(od)),nd[Ra]=qa}}function inject(Ra,qa,nd=!1){const od=currentInstance||currentRenderingInstance;if(od||currentApp){const ld=currentApp?currentApp._context.provides:od?od.parent==null?od.vnode.appContext&&od.vnode.appContext.provides:od.parent.provides:void 0;if(ld&&Ra in ld)return ld[Ra];if(arguments.length>1)return nd&&isFunction$3(qa)?qa.call(od&&od.proxy):qa}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=Ra=>Object.getPrototypeOf(Ra)===internalObjectProto;function initProps(Ra,qa,nd,od=!1){const ld={},ud=createInternalObject();Ra.propsDefaults=Object.create(null),setFullProps(Ra,qa,ld,ud);for(const dd in Ra.propsOptions[0])dd in ld||(ld[dd]=void 0);nd?Ra.props=od?ld:shallowReactive(ld):Ra.type.props?Ra.props=ld:Ra.props=ud,Ra.attrs=ud}function updateProps(Ra,qa,nd,od){const{props:ld,attrs:ud,vnode:{patchFlag:dd}}=Ra,pd=toRaw(ld),[fd]=Ra.propsOptions;let md=!1;if((od||dd>0)&&!(dd&16)){if(dd&8){const vd=Ra.vnode.dynamicProps;for(let Ad=0;Ad<vd.length;Ad++){let Nd=vd[Ad];if(isEmitListener(Ra.emitsOptions,Nd))continue;const Id=qa[Nd];if(fd)if(hasOwn$3(ud,Nd))Id!==ud[Nd]&&(ud[Nd]=Id,md=!0);else{const Od=camelize(Nd);ld[Od]=resolvePropValue(fd,pd,Od,Id,Ra,!1)}else Id!==ud[Nd]&&(ud[Nd]=Id,md=!0)}}}else{setFullProps(Ra,qa,ld,ud)&&(md=!0);let vd;for(const Ad in pd)(!qa||!hasOwn$3(qa,Ad)&&((vd=hyphenate(Ad))===Ad||!hasOwn$3(qa,vd)))&&(fd?nd&&(nd[Ad]!==void 0||nd[vd]!==void 0)&&(ld[Ad]=resolvePropValue(fd,pd,Ad,void 0,Ra,!0)):delete ld[Ad]);if(ud!==pd)for(const Ad in ud)(!qa||!hasOwn$3(qa,Ad))&&(delete ud[Ad],md=!0)}md&&trigger(Ra.attrs,"set","")}function setFullProps(Ra,qa,nd,od){const[ld,ud]=Ra.propsOptions;let dd=!1,pd;if(qa)for(let fd in qa){if(isReservedProp(fd))continue;const md=qa[fd];let vd;ld&&hasOwn$3(ld,vd=camelize(fd))?!ud||!ud.includes(vd)?nd[vd]=md:(pd||(pd={}))[vd]=md:isEmitListener(Ra.emitsOptions,fd)||(!(fd in od)||md!==od[fd])&&(od[fd]=md,dd=!0)}if(ud){const fd=toRaw(nd),md=pd||EMPTY_OBJ;for(let vd=0;vd<ud.length;vd++){const Ad=ud[vd];nd[Ad]=resolvePropValue(ld,fd,Ad,md[Ad],Ra,!hasOwn$3(md,Ad))}}return dd}function resolvePropValue(Ra,qa,nd,od,ld,ud){const dd=Ra[nd];if(dd!=null){const pd=hasOwn$3(dd,"default");if(pd&&od===void 0){const fd=dd.default;if(dd.type!==Function&&!dd.skipFactory&&isFunction$3(fd)){const{propsDefaults:md}=ld;if(nd in md)od=md[nd];else{const vd=setCurrentInstance(ld);od=md[nd]=fd.call(null,qa),vd()}}else od=fd;ld.ce&&ld.ce._setProp(nd,od)}dd[0]&&(ud&&!pd?od=!1:dd[1]&&(od===""||od===hyphenate(nd))&&(od=!0))}return od}const mixinPropsCache=new WeakMap;function normalizePropsOptions(Ra,qa,nd=!1){const od=nd?mixinPropsCache:qa.propsCache,ld=od.get(Ra);if(ld)return ld;const ud=Ra.props,dd={},pd=[];let fd=!1;if(!isFunction$3(Ra)){const vd=Ad=>{fd=!0;const[Nd,Id]=normalizePropsOptions(Ad,qa,!0);extend$3(dd,Nd),Id&&pd.push(...Id)};!nd&&qa.mixins.length&&qa.mixins.forEach(vd),Ra.extends&&vd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(vd)}if(!ud&&!fd)return isObject$5(Ra)&&od.set(Ra,EMPTY_ARR),EMPTY_ARR;if(isArray$2(ud))for(let vd=0;vd<ud.length;vd++){const Ad=camelize(ud[vd]);validatePropName(Ad)&&(dd[Ad]=EMPTY_OBJ)}else if(ud)for(const vd in ud){const Ad=camelize(vd);if(validatePropName(Ad)){const Nd=ud[vd],Id=dd[Ad]=isArray$2(Nd)||isFunction$3(Nd)?{type:Nd}:extend$3({},Nd),Od=Id.type;let Md=!1,Ud=!0;if(isArray$2(Od))for(let jd=0;jd<Od.length;++jd){const Ld=Od[jd],Bd=isFunction$3(Ld)&&Ld.name;if(Bd==="Boolean"){Md=!0;break}else Bd==="String"&&(Ud=!1)}else Md=isFunction$3(Od)&&Od.name==="Boolean";Id[0]=Md,Id[1]=Ud,(Md||hasOwn$3(Id,"default"))&&pd.push(Ad)}}const md=[dd,pd];return isObject$5(Ra)&&od.set(Ra,md),md}function validatePropName(Ra){return Ra[0]!=="$"&&!isReservedProp(Ra)}const isInternalKey=Ra=>Ra[0]==="_"||Ra==="$stable",normalizeSlotValue=Ra=>isArray$2(Ra)?Ra.map(normalizeVNode):[normalizeVNode(Ra)],normalizeSlot=(Ra,qa,nd)=>{if(qa._n)return qa;const od=withCtx((...ld)=>normalizeSlotValue(qa(...ld)),nd);return od._c=!1,od},normalizeObjectSlots=(Ra,qa,nd)=>{const od=Ra._ctx;for(const ld in Ra){if(isInternalKey(ld))continue;const ud=Ra[ld];if(isFunction$3(ud))qa[ld]=normalizeSlot(ld,ud,od);else if(ud!=null){const dd=normalizeSlotValue(ud);qa[ld]=()=>dd}}},normalizeVNodeSlots=(Ra,qa)=>{const nd=normalizeSlotValue(qa);Ra.slots.default=()=>nd},assignSlots=(Ra,qa,nd)=>{for(const od in qa)(nd||od!=="_")&&(Ra[od]=qa[od])},initSlots=(Ra,qa,nd)=>{const od=Ra.slots=createInternalObject();if(Ra.vnode.shapeFlag&32){const ld=qa._;ld?(assignSlots(od,qa,nd),nd&&def$2(od,"_",ld,!0)):normalizeObjectSlots(qa,od)}else qa&&normalizeVNodeSlots(Ra,qa)},updateSlots=(Ra,qa,nd)=>{const{vnode:od,slots:ld}=Ra;let ud=!0,dd=EMPTY_OBJ;if(od.shapeFlag&32){const pd=qa._;pd?nd&&pd===1?ud=!1:assignSlots(ld,qa,nd):(ud=!qa.$stable,normalizeObjectSlots(qa,ld)),dd=qa}else qa&&(normalizeVNodeSlots(Ra,qa),dd={default:1});if(ud)for(const pd in ld)!isInternalKey(pd)&&dd[pd]==null&&delete ld[pd]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer$1(Ra){return baseCreateRenderer(Ra)}function baseCreateRenderer(Ra,qa){const nd=getGlobalThis();nd.__VUE__=!0;const{insert:od,remove:ld,patchProp:ud,createElement:dd,createText:pd,createComment:fd,setText:md,setElementText:vd,parentNode:Ad,nextSibling:Nd,setScopeId:Id=NOOP,insertStaticContent:Od}=Ra,Md=(Nf,ph,Oh,Zf=null,Rf=null,Bf=null,Kf=void 0,wh=null,Ah=!!ph.dynamicChildren)=>{if(Nf===ph)return;Nf&&!isSameVNodeType(Nf,ph)&&(Zf=Tf(Nf),Uf(Nf,Rf,Bf,!0),Nf=null),ph.patchFlag===-2&&(Ah=!1,ph.dynamicChildren=null);const{type:mh,ref:im,shapeFlag:Bh}=ph;switch(mh){case Text$2:Ud(Nf,ph,Oh,Zf);break;case Comment$2:jd(Nf,ph,Oh,Zf);break;case Static:Nf==null&&Ld(ph,Oh,Zf,Kf);break;case Fragment:Ef(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah);break;default:Bh&1?qd(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah):Bh&6?_f(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah):(Bh&64||Bh&128)&&mh.process(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah,ih)}im!=null&&Rf&&setRef(im,Nf&&Nf.ref,Bf,ph||Nf,!ph)},Ud=(Nf,ph,Oh,Zf)=>{if(Nf==null)od(ph.el=pd(ph.children),Oh,Zf);else{const Rf=ph.el=Nf.el;ph.children!==Nf.children&&md(Rf,ph.children)}},jd=(Nf,ph,Oh,Zf)=>{Nf==null?od(ph.el=fd(ph.children||""),Oh,Zf):ph.el=Nf.el},Ld=(Nf,ph,Oh,Zf)=>{[Nf.el,Nf.anchor]=Od(Nf.children,ph,Oh,Zf,Nf.el,Nf.anchor)},Bd=({el:Nf,anchor:ph},Oh,Zf)=>{let Rf;for(;Nf&&Nf!==ph;)Rf=Nd(Nf),od(Nf,Oh,Zf),Nf=Rf;od(ph,Oh,Zf)},Gd=({el:Nf,anchor:ph})=>{let Oh;for(;Nf&&Nf!==ph;)Oh=Nd(Nf),ld(Nf),Nf=Oh;ld(ph)},qd=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah)=>{ph.type==="svg"?Kf="svg":ph.type==="math"&&(Kf="mathml"),Nf==null?zd(ph,Oh,Zf,Rf,Bf,Kf,wh,Ah):Yd(Nf,ph,Rf,Bf,Kf,wh,Ah)},zd=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh)=>{let Ah,mh;const{props:im,shapeFlag:Bh,transition:Tm,dirs:Pm}=Nf;if(Ah=Nf.el=dd(Nf.type,Bf,im&&im.is,im),Bh&8?vd(Ah,Nf.children):Bh&16&&gf(Nf.children,Ah,null,Zf,Rf,resolveChildrenNamespace(Nf,Bf),Kf,wh),Pm&&invokeDirectiveHook(Nf,null,Zf,"created"),Xd(Ah,Nf,Nf.scopeId,Kf,Zf),im){for(const Mm in im)Mm!=="value"&&!isReservedProp(Mm)&&ud(Ah,Mm,null,im[Mm],Bf,Zf);"value"in im&&ud(Ah,"value",null,im.value,Bf),(mh=im.onVnodeBeforeMount)&&invokeVNodeHook(mh,Zf,Nf)}Pm&&invokeDirectiveHook(Nf,null,Zf,"beforeMount");const gm=needTransition(Rf,Tm);gm&&Tm.beforeEnter(Ah),od(Ah,ph,Oh),((mh=im&&im.onVnodeMounted)||gm||Pm)&&queuePostRenderEffect(()=>{mh&&invokeVNodeHook(mh,Zf,Nf),gm&&Tm.enter(Ah),Pm&&invokeDirectiveHook(Nf,null,Zf,"mounted")},Rf)},Xd=(Nf,ph,Oh,Zf,Rf)=>{if(Oh&&Id(Nf,Oh),Zf)for(let Bf=0;Bf<Zf.length;Bf++)Id(Nf,Zf[Bf]);if(Rf){let Bf=Rf.subTree;if(ph===Bf||isSuspense(Bf.type)&&(Bf.ssContent===ph||Bf.ssFallback===ph)){const Kf=Rf.vnode;Xd(Nf,Kf,Kf.scopeId,Kf.slotScopeIds,Rf.parent)}}},gf=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah=0)=>{for(let mh=Ah;mh<Nf.length;mh++){const im=Nf[mh]=wh?cloneIfMounted(Nf[mh]):normalizeVNode(Nf[mh]);Md(null,im,ph,Oh,Zf,Rf,Bf,Kf,wh)}},Yd=(Nf,ph,Oh,Zf,Rf,Bf,Kf)=>{const wh=ph.el=Nf.el;let{patchFlag:Ah,dynamicChildren:mh,dirs:im}=ph;Ah|=Nf.patchFlag&16;const Bh=Nf.props||EMPTY_OBJ,Tm=ph.props||EMPTY_OBJ;let Pm;if(Oh&&toggleRecurse(Oh,!1),(Pm=Tm.onVnodeBeforeUpdate)&&invokeVNodeHook(Pm,Oh,ph,Nf),im&&invokeDirectiveHook(ph,Nf,Oh,"beforeUpdate"),Oh&&toggleRecurse(Oh,!0),(Bh.innerHTML&&Tm.innerHTML==null||Bh.textContent&&Tm.textContent==null)&&vd(wh,""),mh?Zd(Nf.dynamicChildren,mh,wh,Oh,Zf,resolveChildrenNamespace(ph,Rf),Bf):Kf||jf(Nf,ph,wh,null,Oh,Zf,resolveChildrenNamespace(ph,Rf),Bf,!1),Ah>0){if(Ah&16)df(wh,Bh,Tm,Oh,Rf);else if(Ah&2&&Bh.class!==Tm.class&&ud(wh,"class",null,Tm.class,Rf),Ah&4&&ud(wh,"style",Bh.style,Tm.style,Rf),Ah&8){const gm=ph.dynamicProps;for(let Mm=0;Mm<gm.length;Mm++){const Hm=gm[Mm],gh=Bh[Hm],Lf=Tm[Hm];(Lf!==gh||Hm==="value")&&ud(wh,Hm,gh,Lf,Rf,Oh)}}Ah&1&&Nf.children!==ph.children&&vd(wh,ph.children)}else!Kf&&mh==null&&df(wh,Bh,Tm,Oh,Rf);((Pm=Tm.onVnodeUpdated)||im)&&queuePostRenderEffect(()=>{Pm&&invokeVNodeHook(Pm,Oh,ph,Nf),im&&invokeDirectiveHook(ph,Nf,Oh,"updated")},Zf)},Zd=(Nf,ph,Oh,Zf,Rf,Bf,Kf)=>{for(let wh=0;wh<ph.length;wh++){const Ah=Nf[wh],mh=ph[wh],im=Ah.el&&(Ah.type===Fragment||!isSameVNodeType(Ah,mh)||Ah.shapeFlag&70)?Ad(Ah.el):Oh;Md(Ah,mh,im,null,Zf,Rf,Bf,Kf,!0)}},df=(Nf,ph,Oh,Zf,Rf)=>{if(ph!==Oh){if(ph!==EMPTY_OBJ)for(const Bf in ph)!isReservedProp(Bf)&&!(Bf in Oh)&&ud(Nf,Bf,ph[Bf],null,Rf,Zf);for(const Bf in Oh){if(isReservedProp(Bf))continue;const Kf=Oh[Bf],wh=ph[Bf];Kf!==wh&&Bf!=="value"&&ud(Nf,Bf,wh,Kf,Rf,Zf)}"value"in Oh&&ud(Nf,"value",ph.value,Oh.value,Rf)}},Ef=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah)=>{const mh=ph.el=Nf?Nf.el:pd(""),im=ph.anchor=Nf?Nf.anchor:pd("");let{patchFlag:Bh,dynamicChildren:Tm,slotScopeIds:Pm}=ph;Pm&&(wh=wh?wh.concat(Pm):Pm),Nf==null?(od(mh,Oh,Zf),od(im,Oh,Zf),gf(ph.children||[],Oh,im,Rf,Bf,Kf,wh,Ah)):Bh>0&&Bh&64&&Tm&&Nf.dynamicChildren?(Zd(Nf.dynamicChildren,Tm,Oh,Rf,Bf,Kf,wh),(ph.key!=null||Rf&&ph===Rf.subTree)&&traverseStaticChildren(Nf,ph,!0)):jf(Nf,ph,Oh,im,Rf,Bf,Kf,wh,Ah)},_f=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah)=>{ph.slotScopeIds=wh,Nf==null?ph.shapeFlag&512?Rf.ctx.activate(ph,Oh,Zf,Kf,Ah):xf(ph,Oh,Zf,Rf,Bf,Kf,Ah):vf(Nf,ph,Ah)},xf=(Nf,ph,Oh,Zf,Rf,Bf,Kf)=>{const wh=Nf.component=createComponentInstance(Nf,Zf,Rf);if(isKeepAlive(Nf)&&(wh.ctx.renderer=ih),setupComponent(wh,!1,Kf),wh.asyncDep){if(Rf&&Rf.registerDep(wh,Af,Kf),!Nf.el){const Ah=wh.subTree=createVNode(Comment$2);jd(null,Ah,ph,Oh)}}else Af(wh,Nf,ph,Oh,Rf,Bf,Kf)},vf=(Nf,ph,Oh)=>{const Zf=ph.component=Nf.component;if(shouldUpdateComponent(Nf,ph,Oh))if(Zf.asyncDep&&!Zf.asyncResolved){Df(Zf,ph,Oh);return}else Zf.next=ph,Zf.update();else ph.el=Nf.el,Zf.vnode=ph},Af=(Nf,ph,Oh,Zf,Rf,Bf,Kf)=>{const wh=()=>{if(Nf.isMounted){let{next:Bh,bu:Tm,u:Pm,parent:gm,vnode:Mm}=Nf;{const fh=locateNonHydratedAsyncRoot(Nf);if(fh){Bh&&(Bh.el=Mm.el,Df(Nf,Bh,Kf)),fh.asyncDep.then(()=>{Nf.isUnmounted||wh()});return}}let Hm=Bh,gh;toggleRecurse(Nf,!1),Bh?(Bh.el=Mm.el,Df(Nf,Bh,Kf)):Bh=Mm,Tm&&invokeArrayFns(Tm),(gh=Bh.props&&Bh.props.onVnodeBeforeUpdate)&&invokeVNodeHook(gh,gm,Bh,Mm),toggleRecurse(Nf,!0);const Lf=renderComponentRoot(Nf),$f=Nf.subTree;Nf.subTree=Lf,Md($f,Lf,Ad($f.el),Tf($f),Nf,Rf,Bf),Bh.el=Lf.el,Hm===null&&updateHOCHostEl(Nf,Lf.el),Pm&&queuePostRenderEffect(Pm,Rf),(gh=Bh.props&&Bh.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(gh,gm,Bh,Mm),Rf)}else{let Bh;const{el:Tm,props:Pm}=ph,{bm:gm,m:Mm,parent:Hm,root:gh,type:Lf}=Nf,$f=isAsyncWrapper(ph);if(toggleRecurse(Nf,!1),gm&&invokeArrayFns(gm),!$f&&(Bh=Pm&&Pm.onVnodeBeforeMount)&&invokeVNodeHook(Bh,Hm,ph),toggleRecurse(Nf,!0),Tm&&sh){const fh=()=>{Nf.subTree=renderComponentRoot(Nf),sh(Tm,Nf.subTree,Nf,Rf,null)};$f&&Lf.__asyncHydrate?Lf.__asyncHydrate(Tm,Nf,fh):fh()}else{gh.ce&&gh.ce._injectChildStyle(Lf);const fh=Nf.subTree=renderComponentRoot(Nf);Md(null,fh,Oh,Zf,Nf,Rf,Bf),ph.el=fh.el}if(Mm&&queuePostRenderEffect(Mm,Rf),!$f&&(Bh=Pm&&Pm.onVnodeMounted)){const fh=ph;queuePostRenderEffect(()=>invokeVNodeHook(Bh,Hm,fh),Rf)}(ph.shapeFlag&256||Hm&&isAsyncWrapper(Hm.vnode)&&Hm.vnode.shapeFlag&256)&&Nf.a&&queuePostRenderEffect(Nf.a,Rf),Nf.isMounted=!0,ph=Oh=Zf=null}};Nf.scope.on();const Ah=Nf.effect=new ReactiveEffect(wh);Nf.scope.off();const mh=Nf.update=Ah.run.bind(Ah),im=Nf.job=Ah.runIfDirty.bind(Ah);im.i=Nf,im.id=Nf.uid,Ah.scheduler=()=>queueJob(im),toggleRecurse(Nf,!0),mh()},Df=(Nf,ph,Oh)=>{ph.component=Nf;const Zf=Nf.vnode.props;Nf.vnode=ph,Nf.next=null,updateProps(Nf,ph.props,Zf,Oh),updateSlots(Nf,ph.children,Oh),pauseTracking(),flushPreFlushCbs(Nf),resetTracking()},jf=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah=!1)=>{const mh=Nf&&Nf.children,im=Nf?Nf.shapeFlag:0,Bh=ph.children,{patchFlag:Tm,shapeFlag:Pm}=ph;if(Tm>0){if(Tm&128){eh(mh,Bh,Oh,Zf,Rf,Bf,Kf,wh,Ah);return}else if(Tm&256){Jf(mh,Bh,Oh,Zf,Rf,Bf,Kf,wh,Ah);return}}Pm&8?(im&16&&zf(mh,Rf,Bf),Bh!==mh&&vd(Oh,Bh)):im&16?Pm&16?eh(mh,Bh,Oh,Zf,Rf,Bf,Kf,wh,Ah):zf(mh,Rf,Bf,!0):(im&8&&vd(Oh,""),Pm&16&&gf(Bh,Oh,Zf,Rf,Bf,Kf,wh,Ah))},Jf=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah)=>{Nf=Nf||EMPTY_ARR,ph=ph||EMPTY_ARR;const mh=Nf.length,im=ph.length,Bh=Math.min(mh,im);let Tm;for(Tm=0;Tm<Bh;Tm++){const Pm=ph[Tm]=Ah?cloneIfMounted(ph[Tm]):normalizeVNode(ph[Tm]);Md(Nf[Tm],Pm,Oh,null,Rf,Bf,Kf,wh,Ah)}mh>im?zf(Nf,Rf,Bf,!0,!1,Bh):gf(ph,Oh,Zf,Rf,Bf,Kf,wh,Ah,Bh)},eh=(Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah)=>{let mh=0;const im=ph.length;let Bh=Nf.length-1,Tm=im-1;for(;mh<=Bh&&mh<=Tm;){const Pm=Nf[mh],gm=ph[mh]=Ah?cloneIfMounted(ph[mh]):normalizeVNode(ph[mh]);if(isSameVNodeType(Pm,gm))Md(Pm,gm,Oh,null,Rf,Bf,Kf,wh,Ah);else break;mh++}for(;mh<=Bh&&mh<=Tm;){const Pm=Nf[Bh],gm=ph[Tm]=Ah?cloneIfMounted(ph[Tm]):normalizeVNode(ph[Tm]);if(isSameVNodeType(Pm,gm))Md(Pm,gm,Oh,null,Rf,Bf,Kf,wh,Ah);else break;Bh--,Tm--}if(mh>Bh){if(mh<=Tm){const Pm=Tm+1,gm=Pm<im?ph[Pm].el:Zf;for(;mh<=Tm;)Md(null,ph[mh]=Ah?cloneIfMounted(ph[mh]):normalizeVNode(ph[mh]),Oh,gm,Rf,Bf,Kf,wh,Ah),mh++}}else if(mh>Tm)for(;mh<=Bh;)Uf(Nf[mh],Rf,Bf,!0),mh++;else{const Pm=mh,gm=mh,Mm=new Map;for(mh=gm;mh<=Tm;mh++){const dm=ph[mh]=Ah?cloneIfMounted(ph[mh]):normalizeVNode(ph[mh]);dm.key!=null&&Mm.set(dm.key,mh)}let Hm,gh=0;const Lf=Tm-gm+1;let $f=!1,fh=0;const Ch=new Array(Lf);for(mh=0;mh<Lf;mh++)Ch[mh]=0;for(mh=Pm;mh<=Bh;mh++){const dm=Nf[mh];if(gh>=Lf){Uf(dm,Rf,Bf,!0);continue}let Im;if(dm.key!=null)Im=Mm.get(dm.key);else for(Hm=gm;Hm<=Tm;Hm++)if(Ch[Hm-gm]===0&&isSameVNodeType(dm,ph[Hm])){Im=Hm;break}Im===void 0?Uf(dm,Rf,Bf,!0):(Ch[Im-gm]=mh+1,Im>=fh?fh=Im:$f=!0,Md(dm,ph[Im],Oh,null,Rf,Bf,Kf,wh,Ah),gh++)}const Zh=$f?getSequence(Ch):EMPTY_ARR;for(Hm=Zh.length-1,mh=Lf-1;mh>=0;mh--){const dm=gm+mh,Im=ph[dm],Ym=dm+1<im?ph[dm+1].el:Zf;Ch[mh]===0?Md(null,Im,Oh,Ym,Rf,Bf,Kf,wh,Ah):$f&&(Hm<0||mh!==Zh[Hm]?th(Im,Oh,Ym,2):Hm--)}}},th=(Nf,ph,Oh,Zf,Rf=null)=>{const{el:Bf,type:Kf,transition:wh,children:Ah,shapeFlag:mh}=Nf;if(mh&6){th(Nf.component.subTree,ph,Oh,Zf);return}if(mh&128){Nf.suspense.move(ph,Oh,Zf);return}if(mh&64){Kf.move(Nf,ph,Oh,ih);return}if(Kf===Fragment){od(Bf,ph,Oh);for(let Bh=0;Bh<Ah.length;Bh++)th(Ah[Bh],ph,Oh,Zf);od(Nf.anchor,ph,Oh);return}if(Kf===Static){Bd(Nf,ph,Oh);return}if(Zf!==2&&mh&1&&wh)if(Zf===0)wh.beforeEnter(Bf),od(Bf,ph,Oh),queuePostRenderEffect(()=>wh.enter(Bf),Rf);else{const{leave:Bh,delayLeave:Tm,afterLeave:Pm}=wh,gm=()=>od(Bf,ph,Oh),Mm=()=>{Bh(Bf,()=>{gm(),Pm&&Pm()})};Tm?Tm(Bf,gm,Mm):Mm()}else od(Bf,ph,Oh)},Uf=(Nf,ph,Oh,Zf=!1,Rf=!1)=>{const{type:Bf,props:Kf,ref:wh,children:Ah,dynamicChildren:mh,shapeFlag:im,patchFlag:Bh,dirs:Tm,cacheIndex:Pm}=Nf;if(Bh===-2&&(Rf=!1),wh!=null&&setRef(wh,null,Oh,Nf,!0),Pm!=null&&(ph.renderCache[Pm]=void 0),im&256){ph.ctx.deactivate(Nf);return}const gm=im&1&&Tm,Mm=!isAsyncWrapper(Nf);let Hm;if(Mm&&(Hm=Kf&&Kf.onVnodeBeforeUnmount)&&invokeVNodeHook(Hm,ph,Nf),im&6)qf(Nf.component,Oh,Zf);else{if(im&128){Nf.suspense.unmount(Oh,Zf);return}gm&&invokeDirectiveHook(Nf,null,ph,"beforeUnmount"),im&64?Nf.type.remove(Nf,ph,Oh,ih,Zf):mh&&!mh.hasOnce&&(Bf!==Fragment||Bh>0&&Bh&64)?zf(mh,ph,Oh,!1,!0):(Bf===Fragment&&Bh&384||!Rf&&im&16)&&zf(Ah,ph,Oh),Zf&&Of(Nf)}(Mm&&(Hm=Kf&&Kf.onVnodeUnmounted)||gm)&&queuePostRenderEffect(()=>{Hm&&invokeVNodeHook(Hm,ph,Nf),gm&&invokeDirectiveHook(Nf,null,ph,"unmounted")},Oh)},Of=Nf=>{const{type:ph,el:Oh,anchor:Zf,transition:Rf}=Nf;if(ph===Fragment){Wf(Oh,Zf);return}if(ph===Static){Gd(Nf);return}const Bf=()=>{ld(Oh),Rf&&!Rf.persisted&&Rf.afterLeave&&Rf.afterLeave()};if(Nf.shapeFlag&1&&Rf&&!Rf.persisted){const{leave:Kf,delayLeave:wh}=Rf,Ah=()=>Kf(Oh,Bf);wh?wh(Nf.el,Bf,Ah):Ah()}else Bf()},Wf=(Nf,ph)=>{let Oh;for(;Nf!==ph;)Oh=Nd(Nf),ld(Nf),Nf=Oh;ld(ph)},qf=(Nf,ph,Oh)=>{const{bum:Zf,scope:Rf,job:Bf,subTree:Kf,um:wh,m:Ah,a:mh}=Nf;invalidateMount(Ah),invalidateMount(mh),Zf&&invokeArrayFns(Zf),Rf.stop(),Bf&&(Bf.flags|=8,Uf(Kf,Nf,ph,Oh)),wh&&queuePostRenderEffect(wh,ph),queuePostRenderEffect(()=>{Nf.isUnmounted=!0},ph),ph&&ph.pendingBranch&&!ph.isUnmounted&&Nf.asyncDep&&!Nf.asyncResolved&&Nf.suspenseId===ph.pendingId&&(ph.deps--,ph.deps===0&&ph.resolve())},zf=(Nf,ph,Oh,Zf=!1,Rf=!1,Bf=0)=>{for(let Kf=Bf;Kf<Nf.length;Kf++)Uf(Nf[Kf],ph,Oh,Zf,Rf)},Tf=Nf=>{if(Nf.shapeFlag&6)return Tf(Nf.component.subTree);if(Nf.shapeFlag&128)return Nf.suspense.next();const ph=Nd(Nf.anchor||Nf.el),Oh=ph&&ph[TeleportEndKey];return Oh?Nd(Oh):ph};let Sf=!1;const Yf=(Nf,ph,Oh)=>{Nf==null?ph._vnode&&Uf(ph._vnode,null,null,!0):Md(ph._vnode||null,Nf,ph,null,null,null,Oh),ph._vnode=Nf,Sf||(Sf=!0,flushPreFlushCbs(),flushPostFlushCbs(),Sf=!1)},ih={p:Md,um:Uf,m:th,r:Of,mt:xf,mc:gf,pc:jf,pbc:Zd,n:Tf,o:Ra};let Th,sh;return{render:Yf,hydrate:Th,createApp:createAppAPI(Yf,Th)}}function resolveChildrenNamespace({type:Ra,props:qa},nd){return nd==="svg"&&Ra==="foreignObject"||nd==="mathml"&&Ra==="annotation-xml"&&qa&&qa.encoding&&qa.encoding.includes("html")?void 0:nd}function toggleRecurse({effect:Ra,job:qa},nd){nd?(Ra.flags|=32,qa.flags|=4):(Ra.flags&=-33,qa.flags&=-5)}function needTransition(Ra,qa){return(!Ra||Ra&&!Ra.pendingBranch)&&qa&&!qa.persisted}function traverseStaticChildren(Ra,qa,nd=!1){const od=Ra.children,ld=qa.children;if(isArray$2(od)&&isArray$2(ld))for(let ud=0;ud<od.length;ud++){const dd=od[ud];let pd=ld[ud];pd.shapeFlag&1&&!pd.dynamicChildren&&((pd.patchFlag<=0||pd.patchFlag===32)&&(pd=ld[ud]=cloneIfMounted(ld[ud]),pd.el=dd.el),!nd&&pd.patchFlag!==-2&&traverseStaticChildren(dd,pd)),pd.type===Text$2&&(pd.el=dd.el)}}function getSequence(Ra){const qa=Ra.slice(),nd=[0];let od,ld,ud,dd,pd;const fd=Ra.length;for(od=0;od<fd;od++){const md=Ra[od];if(md!==0){if(ld=nd[nd.length-1],Ra[ld]<md){qa[od]=ld,nd.push(od);continue}for(ud=0,dd=nd.length-1;ud<dd;)pd=ud+dd>>1,Ra[nd[pd]]<md?ud=pd+1:dd=pd;md<Ra[nd[ud]]&&(ud>0&&(qa[od]=nd[ud-1]),nd[ud]=od)}}for(ud=nd.length,dd=nd[ud-1];ud-- >0;)nd[ud]=dd,dd=qa[dd];return nd}function locateNonHydratedAsyncRoot(Ra){const qa=Ra.subTree.component;if(qa)return qa.asyncDep&&!qa.asyncResolved?qa:locateNonHydratedAsyncRoot(qa)}function invalidateMount(Ra){if(Ra)for(let qa=0;qa<Ra.length;qa++)Ra[qa].flags|=8}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(Ra,qa){return doWatch(Ra,null,qa)}function watchPostEffect(Ra,qa){return doWatch(Ra,null,{flush:"post"})}function watch(Ra,qa,nd){return doWatch(Ra,qa,nd)}function doWatch(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,flush:ud,once:dd}=nd,pd=extend$3({},nd),fd=qa&&od||!qa&&ud!=="post";let md;if(isInSSRComponentSetup){if(ud==="sync"){const Id=useSSRContext();md=Id.__watcherHandles||(Id.__watcherHandles=[])}else if(!fd){const Id=()=>{};return Id.stop=NOOP,Id.resume=NOOP,Id.pause=NOOP,Id}}const vd=currentInstance;pd.call=(Id,Od,Md)=>callWithAsyncErrorHandling(Id,vd,Od,Md);let Ad=!1;ud==="post"?pd.scheduler=Id=>{queuePostRenderEffect(Id,vd&&vd.suspense)}:ud!=="sync"&&(Ad=!0,pd.scheduler=(Id,Od)=>{Od?Id():queueJob(Id)}),pd.augmentJob=Id=>{qa&&(Id.flags|=4),Ad&&(Id.flags|=2,vd&&(Id.id=vd.uid,Id.i=vd))};const Nd=watch$1(Ra,qa,pd);return isInSSRComponentSetup&&(md?md.push(Nd):fd&&Nd()),Nd}function instanceWatch(Ra,qa,nd){const od=this.proxy,ld=isString$2(Ra)?Ra.includes(".")?createPathGetter(od,Ra):()=>od[Ra]:Ra.bind(od,od);let ud;isFunction$3(qa)?ud=qa:(ud=qa.handler,nd=qa);const dd=setCurrentInstance(this),pd=doWatch(ld,ud.bind(od),nd);return dd(),pd}function createPathGetter(Ra,qa){const nd=qa.split(".");return()=>{let od=Ra;for(let ld=0;ld<nd.length&&od;ld++)od=od[nd[ld]];return od}}const getModelModifiers=(Ra,qa)=>qa==="modelValue"||qa==="model-value"?Ra.modelModifiers:Ra[`${qa}Modifiers`]||Ra[`${camelize(qa)}Modifiers`]||Ra[`${hyphenate(qa)}Modifiers`];function emit(Ra,qa,...nd){if(Ra.isUnmounted)return;const od=Ra.vnode.props||EMPTY_OBJ;let ld=nd;const ud=qa.startsWith("update:"),dd=ud&&getModelModifiers(od,qa.slice(7));dd&&(dd.trim&&(ld=nd.map(vd=>isString$2(vd)?vd.trim():vd)),dd.number&&(ld=nd.map(looseToNumber)));let pd,fd=od[pd=toHandlerKey(qa)]||od[pd=toHandlerKey(camelize(qa))];!fd&&ud&&(fd=od[pd=toHandlerKey(hyphenate(qa))]),fd&&callWithAsyncErrorHandling(fd,Ra,6,ld);const md=od[pd+"Once"];if(md){if(!Ra.emitted)Ra.emitted={};else if(Ra.emitted[pd])return;Ra.emitted[pd]=!0,callWithAsyncErrorHandling(md,Ra,6,ld)}}function normalizeEmitsOptions(Ra,qa,nd=!1){const od=qa.emitsCache,ld=od.get(Ra);if(ld!==void 0)return ld;const ud=Ra.emits;let dd={},pd=!1;if(!isFunction$3(Ra)){const fd=md=>{const vd=normalizeEmitsOptions(md,qa,!0);vd&&(pd=!0,extend$3(dd,vd))};!nd&&qa.mixins.length&&qa.mixins.forEach(fd),Ra.extends&&fd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(fd)}return!ud&&!pd?(isObject$5(Ra)&&od.set(Ra,null),null):(isArray$2(ud)?ud.forEach(fd=>dd[fd]=null):extend$3(dd,ud),isObject$5(Ra)&&od.set(Ra,dd),dd)}function isEmitListener(Ra,qa){return!Ra||!isOn(qa)?!1:(qa=qa.slice(2).replace(/Once$/,""),hasOwn$3(Ra,qa[0].toLowerCase()+qa.slice(1))||hasOwn$3(Ra,hyphenate(qa))||hasOwn$3(Ra,qa))}function markAttrsAccessed(){}function renderComponentRoot(Ra){const{type:qa,vnode:nd,proxy:od,withProxy:ld,propsOptions:[ud],slots:dd,attrs:pd,emit:fd,render:md,renderCache:vd,props:Ad,data:Nd,setupState:Id,ctx:Od,inheritAttrs:Md}=Ra,Ud=setCurrentRenderingInstance(Ra);let jd,Ld;try{if(nd.shapeFlag&4){const Gd=ld||od,qd=Gd;jd=normalizeVNode(md.call(qd,Gd,vd,Ad,Id,Nd,Od)),Ld=pd}else{const Gd=qa;jd=normalizeVNode(Gd.length>1?Gd(Ad,{attrs:pd,slots:dd,emit:fd}):Gd(Ad,null)),Ld=qa.props?pd:getFunctionalFallthrough(pd)}}catch(Gd){blockStack.length=0,handleError$1(Gd,Ra,1),jd=createVNode(Comment$2)}let Bd=jd;if(Ld&&Md!==!1){const Gd=Object.keys(Ld),{shapeFlag:qd}=Bd;Gd.length&&qd&7&&(ud&&Gd.some(isModelListener)&&(Ld=filterModelListeners(Ld,ud)),Bd=cloneVNode(Bd,Ld,!1,!0))}return nd.dirs&&(Bd=cloneVNode(Bd,null,!1,!0),Bd.dirs=Bd.dirs?Bd.dirs.concat(nd.dirs):nd.dirs),nd.transition&&setTransitionHooks(Bd,nd.transition),jd=Bd,setCurrentRenderingInstance(Ud),jd}const getFunctionalFallthrough=Ra=>{let qa;for(const nd in Ra)(nd==="class"||nd==="style"||isOn(nd))&&((qa||(qa={}))[nd]=Ra[nd]);return qa},filterModelListeners=(Ra,qa)=>{const nd={};for(const od in Ra)(!isModelListener(od)||!(od.slice(9)in qa))&&(nd[od]=Ra[od]);return nd};function shouldUpdateComponent(Ra,qa,nd){const{props:od,children:ld,component:ud}=Ra,{props:dd,children:pd,patchFlag:fd}=qa,md=ud.emitsOptions;if(qa.dirs||qa.transition)return!0;if(nd&&fd>=0){if(fd&1024)return!0;if(fd&16)return od?hasPropsChanged(od,dd,md):!!dd;if(fd&8){const vd=qa.dynamicProps;for(let Ad=0;Ad<vd.length;Ad++){const Nd=vd[Ad];if(dd[Nd]!==od[Nd]&&!isEmitListener(md,Nd))return!0}}}else return(ld||pd)&&(!pd||!pd.$stable)?!0:od===dd?!1:od?dd?hasPropsChanged(od,dd,md):!0:!!dd;return!1}function hasPropsChanged(Ra,qa,nd){const od=Object.keys(qa);if(od.length!==Object.keys(Ra).length)return!0;for(let ld=0;ld<od.length;ld++){const ud=od[ld];if(qa[ud]!==Ra[ud]&&!isEmitListener(nd,ud))return!0}return!1}function updateHOCHostEl({vnode:Ra,parent:qa},nd){for(;qa;){const od=qa.subTree;if(od.suspense&&od.suspense.activeBranch===Ra&&(od.el=Ra.el),od===Ra)(Ra=qa.vnode).el=nd,qa=qa.parent;else break}}const isSuspense=Ra=>Ra.__isSuspense;function queueEffectWithSuspense(Ra,qa){qa&&qa.pendingBranch?isArray$2(Ra)?qa.effects.push(...Ra):qa.effects.push(Ra):queuePostFlushCb(Ra)}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$2=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(Ra=!1){blockStack.push(currentBlock=Ra?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(Ra,qa=!1){isBlockTreeEnabled+=Ra,Ra<0&¤tBlock&&qa&&(currentBlock.hasOnce=!0)}function setupBlock(Ra){return Ra.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(Ra),Ra}function createElementBlock(Ra,qa,nd,od,ld,ud){return setupBlock(createBaseVNode(Ra,qa,nd,od,ld,ud,!0))}function createBlock(Ra,qa,nd,od,ld){return setupBlock(createVNode(Ra,qa,nd,od,ld,!0))}function isVNode(Ra){return Ra?Ra.__v_isVNode===!0:!1}function isSameVNodeType(Ra,qa){return Ra.type===qa.type&&Ra.key===qa.key}const normalizeKey=({key:Ra})=>Ra??null,normalizeRef=({ref:Ra,ref_key:qa,ref_for:nd})=>(typeof Ra=="number"&&(Ra=""+Ra),Ra!=null?isString$2(Ra)||isRef(Ra)||isFunction$3(Ra)?{i:currentRenderingInstance,r:Ra,k:qa,f:!!nd}:Ra:null);function createBaseVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=Ra===Fragment?0:1,dd=!1,pd=!1){const fd={__v_isVNode:!0,__v_skip:!0,type:Ra,props:qa,key:qa&&normalizeKey(qa),ref:qa&&normalizeRef(qa),scopeId:currentScopeId,slotScopeIds:null,children:nd,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:ud,patchFlag:od,dynamicProps:ld,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return pd?(normalizeChildren(fd,nd),ud&128&&Ra.normalize(fd)):nd&&(fd.shapeFlag|=isString$2(nd)?8:16),isBlockTreeEnabled>0&&!dd&¤tBlock&&(fd.patchFlag>0||ud&6)&&fd.patchFlag!==32&¤tBlock.push(fd),fd}const createVNode=_createVNode;function _createVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=!1){if((!Ra||Ra===NULL_DYNAMIC_COMPONENT)&&(Ra=Comment$2),isVNode(Ra)){const pd=cloneVNode(Ra,qa,!0);return nd&&normalizeChildren(pd,nd),isBlockTreeEnabled>0&&!ud&¤tBlock&&(pd.shapeFlag&6?currentBlock[currentBlock.indexOf(Ra)]=pd:currentBlock.push(pd)),pd.patchFlag=-2,pd}if(isClassComponent(Ra)&&(Ra=Ra.__vccOpts),qa){qa=guardReactiveProps(qa);let{class:pd,style:fd}=qa;pd&&!isString$2(pd)&&(qa.class=normalizeClass(pd)),isObject$5(fd)&&(isProxy(fd)&&!isArray$2(fd)&&(fd=extend$3({},fd)),qa.style=normalizeStyle(fd))}const dd=isString$2(Ra)?1:isSuspense(Ra)?128:isTeleport(Ra)?64:isObject$5(Ra)?4:isFunction$3(Ra)?2:0;return createBaseVNode(Ra,qa,nd,od,ld,dd,ud,!0)}function guardReactiveProps(Ra){return Ra?isProxy(Ra)||isInternalObject(Ra)?extend$3({},Ra):Ra:null}function cloneVNode(Ra,qa,nd=!1,od=!1){const{props:ld,ref:ud,patchFlag:dd,children:pd,transition:fd}=Ra,md=qa?mergeProps(ld||{},qa):ld,vd={__v_isVNode:!0,__v_skip:!0,type:Ra.type,props:md,key:md&&normalizeKey(md),ref:qa&&qa.ref?nd&&ud?isArray$2(ud)?ud.concat(normalizeRef(qa)):[ud,normalizeRef(qa)]:normalizeRef(qa):ud,scopeId:Ra.scopeId,slotScopeIds:Ra.slotScopeIds,children:pd,target:Ra.target,targetStart:Ra.targetStart,targetAnchor:Ra.targetAnchor,staticCount:Ra.staticCount,shapeFlag:Ra.shapeFlag,patchFlag:qa&&Ra.type!==Fragment?dd===-1?16:dd|16:dd,dynamicProps:Ra.dynamicProps,dynamicChildren:Ra.dynamicChildren,appContext:Ra.appContext,dirs:Ra.dirs,transition:fd,component:Ra.component,suspense:Ra.suspense,ssContent:Ra.ssContent&&cloneVNode(Ra.ssContent),ssFallback:Ra.ssFallback&&cloneVNode(Ra.ssFallback),el:Ra.el,anchor:Ra.anchor,ctx:Ra.ctx,ce:Ra.ce};return fd&&od&&setTransitionHooks(vd,fd.clone(vd)),vd}function createTextVNode(Ra=" ",qa=0){return createVNode(Text$2,null,Ra,qa)}function createCommentVNode(Ra="",qa=!1){return qa?(openBlock(),createBlock(Comment$2,null,Ra)):createVNode(Comment$2,null,Ra)}function normalizeVNode(Ra){return Ra==null||typeof Ra=="boolean"?createVNode(Comment$2):isArray$2(Ra)?createVNode(Fragment,null,Ra.slice()):isVNode(Ra)?cloneIfMounted(Ra):createVNode(Text$2,null,String(Ra))}function cloneIfMounted(Ra){return Ra.el===null&&Ra.patchFlag!==-1||Ra.memo?Ra:cloneVNode(Ra)}function normalizeChildren(Ra,qa){let nd=0;const{shapeFlag:od}=Ra;if(qa==null)qa=null;else if(isArray$2(qa))nd=16;else if(typeof qa=="object")if(od&65){const ld=qa.default;ld&&(ld._c&&(ld._d=!1),normalizeChildren(Ra,ld()),ld._c&&(ld._d=!0));return}else{nd=32;const ld=qa._;!ld&&!isInternalObject(qa)?qa._ctx=currentRenderingInstance:ld===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?qa._=1:(qa._=2,Ra.patchFlag|=1024))}else isFunction$3(qa)?(qa={default:qa,_ctx:currentRenderingInstance},nd=32):(qa=String(qa),od&64?(nd=16,qa=[createTextVNode(qa)]):nd=8);Ra.children=qa,Ra.shapeFlag|=nd}function mergeProps(...Ra){const qa={};for(let nd=0;nd<Ra.length;nd++){const od=Ra[nd];for(const ld in od)if(ld==="class")qa.class!==od.class&&(qa.class=normalizeClass([qa.class,od.class]));else if(ld==="style")qa.style=normalizeStyle([qa.style,od.style]);else if(isOn(ld)){const ud=qa[ld],dd=od[ld];dd&&ud!==dd&&!(isArray$2(ud)&&ud.includes(dd))&&(qa[ld]=ud?[].concat(ud,dd):dd)}else ld!==""&&(qa[ld]=od[ld])}return qa}function invokeVNodeHook(Ra,qa,nd,od=null){callWithAsyncErrorHandling(Ra,qa,7,[nd,od])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(Ra,qa,nd){const od=Ra.type,ld=(qa?qa.appContext:Ra.appContext)||emptyAppContext,ud={uid:uid++,vnode:Ra,type:od,parent:qa,appContext:ld,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:qa?qa.provides:Object.create(ld.provides),ids:qa?qa.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(od,ld),emitsOptions:normalizeEmitsOptions(od,ld),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:od.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:nd,suspenseId:nd?nd.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return ud.ctx={_:ud},ud.root=qa?qa.root:ud,ud.emit=emit.bind(null,ud),Ra.ce&&Ra.ce(ud),ud}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const Ra=getGlobalThis(),qa=(nd,od)=>{let ld;return(ld=Ra[nd])||(ld=Ra[nd]=[]),ld.push(od),ud=>{ld.length>1?ld.forEach(dd=>dd(ud)):ld[0](ud)}};internalSetCurrentInstance=qa("__VUE_INSTANCE_SETTERS__",nd=>currentInstance=nd),setInSSRSetupState=qa("__VUE_SSR_SETTERS__",nd=>isInSSRComponentSetup=nd)}const setCurrentInstance=Ra=>{const qa=currentInstance;return internalSetCurrentInstance(Ra),Ra.scope.on(),()=>{Ra.scope.off(),internalSetCurrentInstance(qa)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(Ra){return Ra.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(Ra,qa=!1,nd=!1){qa&&setInSSRSetupState(qa);const{props:od,children:ld}=Ra.vnode,ud=isStatefulComponent(Ra);initProps(Ra,od,ud,qa),initSlots(Ra,ld,nd);const dd=ud?setupStatefulComponent(Ra,qa):void 0;return qa&&setInSSRSetupState(!1),dd}function setupStatefulComponent(Ra,qa){const nd=Ra.type;Ra.accessCache=Object.create(null),Ra.proxy=new Proxy(Ra.ctx,PublicInstanceProxyHandlers);const{setup:od}=nd;if(od){pauseTracking();const ld=Ra.setupContext=od.length>1?createSetupContext(Ra):null,ud=setCurrentInstance(Ra),dd=callWithErrorHandling(od,Ra,0,[Ra.props,ld]),pd=isPromise(dd);if(resetTracking(),ud(),(pd||Ra.sp)&&!isAsyncWrapper(Ra)&&markAsyncBoundary(Ra),pd){if(dd.then(unsetCurrentInstance,unsetCurrentInstance),qa)return dd.then(fd=>{handleSetupResult(Ra,fd,qa)}).catch(fd=>{handleError$1(fd,Ra,0)});Ra.asyncDep=dd}else handleSetupResult(Ra,dd,qa)}else finishComponentSetup(Ra,qa)}function handleSetupResult(Ra,qa,nd){isFunction$3(qa)?Ra.type.__ssrInlineRender?Ra.ssrRender=qa:Ra.render=qa:isObject$5(qa)&&(Ra.setupState=proxyRefs(qa)),finishComponentSetup(Ra,nd)}let compile$2;function finishComponentSetup(Ra,qa,nd){const od=Ra.type;if(!Ra.render){if(!qa&&compile$2&&!od.render){const ld=od.template||resolveMergedOptions(Ra).template;if(ld){const{isCustomElement:ud,compilerOptions:dd}=Ra.appContext.config,{delimiters:pd,compilerOptions:fd}=od,md=extend$3(extend$3({isCustomElement:ud,delimiters:pd},dd),fd);od.render=compile$2(ld,md)}}Ra.render=od.render||NOOP}{const ld=setCurrentInstance(Ra);pauseTracking();try{applyOptions(Ra)}finally{resetTracking(),ld()}}}const attrsProxyHandlers={get(Ra,qa){return track(Ra,"get",""),Ra[qa]}};function createSetupContext(Ra){const qa=nd=>{Ra.exposed=nd||{}};return{attrs:new Proxy(Ra.attrs,attrsProxyHandlers),slots:Ra.slots,emit:Ra.emit,expose:qa}}function getComponentPublicInstance(Ra){return Ra.exposed?Ra.exposeProxy||(Ra.exposeProxy=new Proxy(proxyRefs(markRaw(Ra.exposed)),{get(qa,nd){if(nd in qa)return qa[nd];if(nd in publicPropertiesMap)return publicPropertiesMap[nd](Ra)},has(qa,nd){return nd in qa||nd in publicPropertiesMap}})):Ra.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=Ra=>Ra.replace(classifyRE,qa=>qa.toUpperCase()).replace(/[-_]/g,"");function getComponentName(Ra,qa=!0){return isFunction$3(Ra)?Ra.displayName||Ra.name:Ra.name||qa&&Ra.__name}function formatComponentName(Ra,qa,nd=!1){let od=getComponentName(qa);if(!od&&qa.__file){const ld=qa.__file.match(/([^/\\]+)\.\w+$/);ld&&(od=ld[1])}if(!od&&Ra&&Ra.parent){const ld=ud=>{for(const dd in ud)if(ud[dd]===qa)return dd};od=ld(Ra.components||Ra.parent.type.components)||ld(Ra.appContext.components)}return od?classify(od):nd?"App":"Anonymous"}function isClassComponent(Ra){return isFunction$3(Ra)&&"__vccOpts"in Ra}const computed=(Ra,qa)=>computed$1(Ra,qa,isInSSRComponentSetup);function h$2(Ra,qa,nd){const od=arguments.length;return od===2?isObject$5(qa)&&!isArray$2(qa)?isVNode(qa)?createVNode(Ra,null,[qa]):createVNode(Ra,qa):createVNode(Ra,null,qa):(od>3?nd=Array.prototype.slice.call(arguments,2):od===3&&isVNode(nd)&&(nd=[nd]),createVNode(Ra,qa,nd))}const version$4="3.5.13";/**
|
||
* @vue/runtime-dom v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let policy;const tt$5=typeof window<"u"&&window.trustedTypes;if(tt$5)try{policy=tt$5.createPolicy("vue",{createHTML:Ra=>Ra})}catch{}const unsafeToTrustedHTML=policy?Ra=>policy.createHTML(Ra):Ra=>Ra,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(Ra,qa,nd)=>{qa.insertBefore(Ra,nd||null)},remove:Ra=>{const qa=Ra.parentNode;qa&&qa.removeChild(Ra)},createElement:(Ra,qa,nd,od)=>{const ld=qa==="svg"?doc.createElementNS(svgNS,Ra):qa==="mathml"?doc.createElementNS(mathmlNS,Ra):nd?doc.createElement(Ra,{is:nd}):doc.createElement(Ra);return Ra==="select"&&od&&od.multiple!=null&&ld.setAttribute("multiple",od.multiple),ld},createText:Ra=>doc.createTextNode(Ra),createComment:Ra=>doc.createComment(Ra),setText:(Ra,qa)=>{Ra.nodeValue=qa},setElementText:(Ra,qa)=>{Ra.textContent=qa},parentNode:Ra=>Ra.parentNode,nextSibling:Ra=>Ra.nextSibling,querySelector:Ra=>doc.querySelector(Ra),setScopeId(Ra,qa){Ra.setAttribute(qa,"")},insertStaticContent(Ra,qa,nd,od,ld,ud){const dd=nd?nd.previousSibling:qa.lastChild;if(ld&&(ld===ud||ld.nextSibling))for(;qa.insertBefore(ld.cloneNode(!0),nd),!(ld===ud||!(ld=ld.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(od==="svg"?`<svg>${Ra}</svg>`:od==="mathml"?`<math>${Ra}</math>`:Ra);const pd=templateContainer.content;if(od==="svg"||od==="mathml"){const fd=pd.firstChild;for(;fd.firstChild;)pd.appendChild(fd.firstChild);pd.removeChild(fd)}qa.insertBefore(pd,nd)}return[dd?dd.nextSibling:qa.firstChild,nd?nd.previousSibling:qa.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=Ra=>(Ra.displayName="Transition",Ra.props=TransitionPropsValidators,Ra),Transition$1=decorate$1((Ra,{slots:qa})=>h$2(BaseTransition,resolveTransitionProps(Ra),qa)),callHook=(Ra,qa=[])=>{isArray$2(Ra)?Ra.forEach(nd=>nd(...qa)):Ra&&Ra(...qa)},hasExplicitCallback=Ra=>Ra?isArray$2(Ra)?Ra.some(qa=>qa.length>1):Ra.length>1:!1;function resolveTransitionProps(Ra){const qa={};for(const Ef in Ra)Ef in DOMTransitionPropsValidators||(qa[Ef]=Ra[Ef]);if(Ra.css===!1)return qa;const{name:nd="v",type:od,duration:ld,enterFromClass:ud=`${nd}-enter-from`,enterActiveClass:dd=`${nd}-enter-active`,enterToClass:pd=`${nd}-enter-to`,appearFromClass:fd=ud,appearActiveClass:md=dd,appearToClass:vd=pd,leaveFromClass:Ad=`${nd}-leave-from`,leaveActiveClass:Nd=`${nd}-leave-active`,leaveToClass:Id=`${nd}-leave-to`}=Ra,Od=normalizeDuration(ld),Md=Od&&Od[0],Ud=Od&&Od[1],{onBeforeEnter:jd,onEnter:Ld,onEnterCancelled:Bd,onLeave:Gd,onLeaveCancelled:qd,onBeforeAppear:zd=jd,onAppear:Xd=Ld,onAppearCancelled:gf=Bd}=qa,Yd=(Ef,_f,xf,vf)=>{Ef._enterCancelled=vf,removeTransitionClass(Ef,_f?vd:pd),removeTransitionClass(Ef,_f?md:dd),xf&&xf()},Zd=(Ef,_f)=>{Ef._isLeaving=!1,removeTransitionClass(Ef,Ad),removeTransitionClass(Ef,Id),removeTransitionClass(Ef,Nd),_f&&_f()},df=Ef=>(_f,xf)=>{const vf=Ef?Xd:Ld,Af=()=>Yd(_f,Ef,xf);callHook(vf,[_f,Af]),nextFrame(()=>{removeTransitionClass(_f,Ef?fd:ud),addTransitionClass(_f,Ef?vd:pd),hasExplicitCallback(vf)||whenTransitionEnds(_f,od,Md,Af)})};return extend$3(qa,{onBeforeEnter(Ef){callHook(jd,[Ef]),addTransitionClass(Ef,ud),addTransitionClass(Ef,dd)},onBeforeAppear(Ef){callHook(zd,[Ef]),addTransitionClass(Ef,fd),addTransitionClass(Ef,md)},onEnter:df(!1),onAppear:df(!0),onLeave(Ef,_f){Ef._isLeaving=!0;const xf=()=>Zd(Ef,_f);addTransitionClass(Ef,Ad),Ef._enterCancelled?(addTransitionClass(Ef,Nd),forceReflow()):(forceReflow(),addTransitionClass(Ef,Nd)),nextFrame(()=>{Ef._isLeaving&&(removeTransitionClass(Ef,Ad),addTransitionClass(Ef,Id),hasExplicitCallback(Gd)||whenTransitionEnds(Ef,od,Ud,xf))}),callHook(Gd,[Ef,xf])},onEnterCancelled(Ef){Yd(Ef,!1,void 0,!0),callHook(Bd,[Ef])},onAppearCancelled(Ef){Yd(Ef,!0,void 0,!0),callHook(gf,[Ef])},onLeaveCancelled(Ef){Zd(Ef),callHook(qd,[Ef])}})}function normalizeDuration(Ra){if(Ra==null)return null;if(isObject$5(Ra))return[NumberOf(Ra.enter),NumberOf(Ra.leave)];{const qa=NumberOf(Ra);return[qa,qa]}}function NumberOf(Ra){return toNumber$3(Ra)}function addTransitionClass(Ra,qa){qa.split(/\s+/).forEach(nd=>nd&&Ra.classList.add(nd)),(Ra[vtcKey]||(Ra[vtcKey]=new Set)).add(qa)}function removeTransitionClass(Ra,qa){qa.split(/\s+/).forEach(od=>od&&Ra.classList.remove(od));const nd=Ra[vtcKey];nd&&(nd.delete(qa),nd.size||(Ra[vtcKey]=void 0))}function nextFrame(Ra){requestAnimationFrame(()=>{requestAnimationFrame(Ra)})}let endId=0;function whenTransitionEnds(Ra,qa,nd,od){const ld=Ra._endId=++endId,ud=()=>{ld===Ra._endId&&od()};if(nd!=null)return setTimeout(ud,nd);const{type:dd,timeout:pd,propCount:fd}=getTransitionInfo(Ra,qa);if(!dd)return od();const md=dd+"end";let vd=0;const Ad=()=>{Ra.removeEventListener(md,Nd),ud()},Nd=Id=>{Id.target===Ra&&++vd>=fd&&Ad()};setTimeout(()=>{vd<fd&&Ad()},pd+1),Ra.addEventListener(md,Nd)}function getTransitionInfo(Ra,qa){const nd=window.getComputedStyle(Ra),od=Od=>(nd[Od]||"").split(", "),ld=od(`${TRANSITION}Delay`),ud=od(`${TRANSITION}Duration`),dd=getTimeout(ld,ud),pd=od(`${ANIMATION}Delay`),fd=od(`${ANIMATION}Duration`),md=getTimeout(pd,fd);let vd=null,Ad=0,Nd=0;qa===TRANSITION?dd>0&&(vd=TRANSITION,Ad=dd,Nd=ud.length):qa===ANIMATION?md>0&&(vd=ANIMATION,Ad=md,Nd=fd.length):(Ad=Math.max(dd,md),vd=Ad>0?dd>md?TRANSITION:ANIMATION:null,Nd=vd?vd===TRANSITION?ud.length:fd.length:0);const Id=vd===TRANSITION&&/\b(transform|all)(,|$)/.test(od(`${TRANSITION}Property`).toString());return{type:vd,timeout:Ad,propCount:Nd,hasTransform:Id}}function getTimeout(Ra,qa){for(;Ra.length<qa.length;)Ra=Ra.concat(Ra);return Math.max(...qa.map((nd,od)=>toMs(nd)+toMs(Ra[od])))}function toMs(Ra){return Ra==="auto"?0:Number(Ra.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(Ra,qa,nd){const od=Ra[vtcKey];od&&(qa=(qa?[qa,...od]:[...od]).join(" ")),qa==null?Ra.removeAttribute("class"):nd?Ra.setAttribute("class",qa):Ra.className=qa}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(Ra,{value:qa},{transition:nd}){Ra[vShowOriginalDisplay]=Ra.style.display==="none"?"":Ra.style.display,nd&&qa?nd.beforeEnter(Ra):setDisplay(Ra,qa)},mounted(Ra,{value:qa},{transition:nd}){nd&&qa&&nd.enter(Ra)},updated(Ra,{value:qa,oldValue:nd},{transition:od}){!qa!=!nd&&(od?qa?(od.beforeEnter(Ra),setDisplay(Ra,!0),od.enter(Ra)):od.leave(Ra,()=>{setDisplay(Ra,!1)}):setDisplay(Ra,qa))},beforeUnmount(Ra,{value:qa}){setDisplay(Ra,qa)}};function setDisplay(Ra,qa){Ra.style.display=qa?Ra[vShowOriginalDisplay]:"none",Ra[vShowHidden]=!qa}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(Ra,qa,nd){const od=Ra.style,ld=isString$2(nd);let ud=!1;if(nd&&!ld){if(qa)if(isString$2(qa))for(const dd of qa.split(";")){const pd=dd.slice(0,dd.indexOf(":")).trim();nd[pd]==null&&setStyle(od,pd,"")}else for(const dd in qa)nd[dd]==null&&setStyle(od,dd,"");for(const dd in nd)dd==="display"&&(ud=!0),setStyle(od,dd,nd[dd])}else if(ld){if(qa!==nd){const dd=od[CSS_VAR_TEXT];dd&&(nd+=";"+dd),od.cssText=nd,ud=displayRE.test(nd)}}else qa&&Ra.removeAttribute("style");vShowOriginalDisplay in Ra&&(Ra[vShowOriginalDisplay]=ud?od.display:"",Ra[vShowHidden]&&(od.display="none"))}const importantRE=/\s*!important$/;function setStyle(Ra,qa,nd){if(isArray$2(nd))nd.forEach(od=>setStyle(Ra,qa,od));else if(nd==null&&(nd=""),qa.startsWith("--"))Ra.setProperty(qa,nd);else{const od=autoPrefix(Ra,qa);importantRE.test(nd)?Ra.setProperty(hyphenate(od),nd.replace(importantRE,""),"important"):Ra[od]=nd}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(Ra,qa){const nd=prefixCache[qa];if(nd)return nd;let od=camelize(qa);if(od!=="filter"&&od in Ra)return prefixCache[qa]=od;od=capitalize(od);for(let ld=0;ld<prefixes.length;ld++){const ud=prefixes[ld]+od;if(ud in Ra)return prefixCache[qa]=ud}return qa}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(Ra,qa,nd,od,ld,ud=isSpecialBooleanAttr(qa)){od&&qa.startsWith("xlink:")?nd==null?Ra.removeAttributeNS(xlinkNS,qa.slice(6,qa.length)):Ra.setAttributeNS(xlinkNS,qa,nd):nd==null||ud&&!includeBooleanAttr(nd)?Ra.removeAttribute(qa):Ra.setAttribute(qa,ud?"":isSymbol(nd)?String(nd):nd)}function patchDOMProp(Ra,qa,nd,od,ld){if(qa==="innerHTML"||qa==="textContent"){nd!=null&&(Ra[qa]=qa==="innerHTML"?unsafeToTrustedHTML(nd):nd);return}const ud=Ra.tagName;if(qa==="value"&&ud!=="PROGRESS"&&!ud.includes("-")){const pd=ud==="OPTION"?Ra.getAttribute("value")||"":Ra.value,fd=nd==null?Ra.type==="checkbox"?"on":"":String(nd);(pd!==fd||!("_value"in Ra))&&(Ra.value=fd),nd==null&&Ra.removeAttribute(qa),Ra._value=nd;return}let dd=!1;if(nd===""||nd==null){const pd=typeof Ra[qa];pd==="boolean"?nd=includeBooleanAttr(nd):nd==null&&pd==="string"?(nd="",dd=!0):pd==="number"&&(nd=0,dd=!0)}try{Ra[qa]=nd}catch{}dd&&Ra.removeAttribute(ld||qa)}function addEventListener(Ra,qa,nd,od){Ra.addEventListener(qa,nd,od)}function removeEventListener(Ra,qa,nd,od){Ra.removeEventListener(qa,nd,od)}const veiKey=Symbol("_vei");function patchEvent(Ra,qa,nd,od,ld=null){const ud=Ra[veiKey]||(Ra[veiKey]={}),dd=ud[qa];if(od&&dd)dd.value=od;else{const[pd,fd]=parseName(qa);if(od){const md=ud[qa]=createInvoker(od,ld);addEventListener(Ra,pd,md,fd)}else dd&&(removeEventListener(Ra,pd,dd,fd),ud[qa]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(Ra){let qa;if(optionsModifierRE.test(Ra)){qa={};let od;for(;od=Ra.match(optionsModifierRE);)Ra=Ra.slice(0,Ra.length-od[0].length),qa[od[0].toLowerCase()]=!0}return[Ra[2]===":"?Ra.slice(3):hyphenate(Ra.slice(2)),qa]}let cachedNow=0;const p$2=Promise.resolve(),getNow=()=>cachedNow||(p$2.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(Ra,qa){const nd=od=>{if(!od._vts)od._vts=Date.now();else if(od._vts<=nd.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(od,nd.value),qa,5,[od])};return nd.value=Ra,nd.attached=getNow(),nd}function patchStopImmediatePropagation(Ra,qa){if(isArray$2(qa)){const nd=Ra.stopImmediatePropagation;return Ra.stopImmediatePropagation=()=>{nd.call(Ra),Ra._stopped=!0},qa.map(od=>ld=>!ld._stopped&&od&&od(ld))}else return qa}const isNativeOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&Ra.charCodeAt(2)>96&&Ra.charCodeAt(2)<123,patchProp=(Ra,qa,nd,od,ld,ud)=>{const dd=ld==="svg";qa==="class"?patchClass(Ra,od,dd):qa==="style"?patchStyle(Ra,nd,od):isOn(qa)?isModelListener(qa)||patchEvent(Ra,qa,nd,od,ud):(qa[0]==="."?(qa=qa.slice(1),!0):qa[0]==="^"?(qa=qa.slice(1),!1):shouldSetAsProp(Ra,qa,od,dd))?(patchDOMProp(Ra,qa,od),!Ra.tagName.includes("-")&&(qa==="value"||qa==="checked"||qa==="selected")&&patchAttr(Ra,qa,od,dd,ud,qa!=="value")):Ra._isVueCE&&(/[A-Z]/.test(qa)||!isString$2(od))?patchDOMProp(Ra,camelize(qa),od,ud,qa):(qa==="true-value"?Ra._trueValue=od:qa==="false-value"&&(Ra._falseValue=od),patchAttr(Ra,qa,od,dd))};function shouldSetAsProp(Ra,qa,nd,od){if(od)return!!(qa==="innerHTML"||qa==="textContent"||qa in Ra&&isNativeOn(qa)&&isFunction$3(nd));if(qa==="spellcheck"||qa==="draggable"||qa==="translate"||qa==="form"||qa==="list"&&Ra.tagName==="INPUT"||qa==="type"&&Ra.tagName==="TEXTAREA")return!1;if(qa==="width"||qa==="height"){const ld=Ra.tagName;if(ld==="IMG"||ld==="VIDEO"||ld==="CANVAS"||ld==="SOURCE")return!1}return isNativeOn(qa)&&isString$2(nd)?!1:qa in Ra}const getModelAssigner=Ra=>{const qa=Ra.props["onUpdate:modelValue"]||!1;return isArray$2(qa)?nd=>invokeArrayFns(qa,nd):qa};function onCompositionStart(Ra){Ra.target.composing=!0}function onCompositionEnd(Ra){const qa=Ra.target;qa.composing&&(qa.composing=!1,qa.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(Ra,{modifiers:{lazy:qa,trim:nd,number:od}},ld){Ra[assignKey]=getModelAssigner(ld);const ud=od||ld.props&&ld.props.type==="number";addEventListener(Ra,qa?"change":"input",dd=>{if(dd.target.composing)return;let pd=Ra.value;nd&&(pd=pd.trim()),ud&&(pd=looseToNumber(pd)),Ra[assignKey](pd)}),nd&&addEventListener(Ra,"change",()=>{Ra.value=Ra.value.trim()}),qa||(addEventListener(Ra,"compositionstart",onCompositionStart),addEventListener(Ra,"compositionend",onCompositionEnd),addEventListener(Ra,"change",onCompositionEnd))},mounted(Ra,{value:qa}){Ra.value=qa??""},beforeUpdate(Ra,{value:qa,oldValue:nd,modifiers:{lazy:od,trim:ld,number:ud}},dd){if(Ra[assignKey]=getModelAssigner(dd),Ra.composing)return;const pd=(ud||Ra.type==="number")&&!/^0\d/.test(Ra.value)?looseToNumber(Ra.value):Ra.value,fd=qa??"";pd!==fd&&(document.activeElement===Ra&&Ra.type!=="range"&&(od&&qa===nd||ld&&Ra.value.trim()===fd)||(Ra.value=fd))}},vModelSelect={deep:!0,created(Ra,{value:qa,modifiers:{number:nd}},od){const ld=isSet$1(qa);addEventListener(Ra,"change",()=>{const ud=Array.prototype.filter.call(Ra.options,dd=>dd.selected).map(dd=>nd?looseToNumber(getValue$1(dd)):getValue$1(dd));Ra[assignKey](Ra.multiple?ld?new Set(ud):ud:ud[0]),Ra._assigning=!0,nextTick$1(()=>{Ra._assigning=!1})}),Ra[assignKey]=getModelAssigner(od)},mounted(Ra,{value:qa}){setSelected(Ra,qa)},beforeUpdate(Ra,qa,nd){Ra[assignKey]=getModelAssigner(nd)},updated(Ra,{value:qa}){Ra._assigning||setSelected(Ra,qa)}};function setSelected(Ra,qa){const nd=Ra.multiple,od=isArray$2(qa);if(!(nd&&!od&&!isSet$1(qa))){for(let ld=0,ud=Ra.options.length;ld<ud;ld++){const dd=Ra.options[ld],pd=getValue$1(dd);if(nd)if(od){const fd=typeof pd;fd==="string"||fd==="number"?dd.selected=qa.some(md=>String(md)===String(pd)):dd.selected=looseIndexOf(qa,pd)>-1}else dd.selected=qa.has(pd);else if(looseEqual(getValue$1(dd),qa)){Ra.selectedIndex!==ld&&(Ra.selectedIndex=ld);return}}!nd&&Ra.selectedIndex!==-1&&(Ra.selectedIndex=-1)}}function getValue$1(Ra){return"_value"in Ra?Ra._value:Ra.value}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:Ra=>Ra.stopPropagation(),prevent:Ra=>Ra.preventDefault(),self:Ra=>Ra.target!==Ra.currentTarget,ctrl:Ra=>!Ra.ctrlKey,shift:Ra=>!Ra.shiftKey,alt:Ra=>!Ra.altKey,meta:Ra=>!Ra.metaKey,left:Ra=>"button"in Ra&&Ra.button!==0,middle:Ra=>"button"in Ra&&Ra.button!==1,right:Ra=>"button"in Ra&&Ra.button!==2,exact:(Ra,qa)=>systemModifiers.some(nd=>Ra[`${nd}Key`]&&!qa.includes(nd))},withModifiers=(Ra,qa)=>{const nd=Ra._withMods||(Ra._withMods={}),od=qa.join(".");return nd[od]||(nd[od]=(ld,...ud)=>{for(let dd=0;dd<qa.length;dd++){const pd=modifierGuards[qa[dd]];if(pd&&pd(ld,qa))return}return Ra(ld,...ud)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(Ra,qa)=>{const nd=Ra._withKeys||(Ra._withKeys={}),od=qa.join(".");return nd[od]||(nd[od]=ld=>{if(!("key"in ld))return;const ud=hyphenate(ld.key);if(qa.some(dd=>dd===ud||keyNames[dd]===ud))return Ra(ld)})},rendererOptions=extend$3({patchProp},nodeOps);let renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer$1(rendererOptions))}const createApp=(...Ra)=>{const qa=ensureRenderer().createApp(...Ra),{mount:nd}=qa;return qa.mount=od=>{const ld=normalizeContainer(od);if(!ld)return;const ud=qa._component;!isFunction$3(ud)&&!ud.render&&!ud.template&&(ud.template=ld.innerHTML),ld.nodeType===1&&(ld.textContent="");const dd=nd(ld,!1,resolveRootNamespace(ld));return ld instanceof Element&&(ld.removeAttribute("v-cloak"),ld.setAttribute("data-v-app","")),dd},qa};function resolveRootNamespace(Ra){if(Ra instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&Ra instanceof MathMLElement)return"mathml"}function normalizeContainer(Ra){return isString$2(Ra)?document.querySelector(Ra):Ra}var isVue2=!1;let activePinia;const setActivePinia=Ra=>activePinia=Ra,piniaSymbol=Symbol();function isPlainObject$3(Ra){return Ra&&typeof Ra=="object"&&Object.prototype.toString.call(Ra)==="[object Object]"&&typeof Ra.toJSON!="function"}var MutationType;(function(Ra){Ra.direct="direct",Ra.patchObject="patch object",Ra.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const Ra=effectScope(!0),qa=Ra.run(()=>ref$1({}));let nd=[],od=[];const ld=markRaw({install(ud){setActivePinia(ld),ld._a=ud,ud.provide(piniaSymbol,ld),ud.config.globalProperties.$pinia=ld,od.forEach(dd=>nd.push(dd)),od=[]},use(ud){return!this._a&&!isVue2?od.push(ud):nd.push(ud),this},_p:nd,_a:null,_e:Ra,_s:new Map,state:qa});return ld}const noop$6=()=>{};function addSubscription(Ra,qa,nd,od=noop$6){Ra.push(qa);const ld=()=>{const ud=Ra.indexOf(qa);ud>-1&&(Ra.splice(ud,1),od())};return!nd&&getCurrentScope()&&onScopeDispose(ld),ld}function triggerSubscriptions(Ra,...qa){Ra.slice().forEach(nd=>{nd(...qa)})}const fallbackRunWithContext=Ra=>Ra(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(Ra,qa){Ra instanceof Map&&qa instanceof Map?qa.forEach((nd,od)=>Ra.set(od,nd)):Ra instanceof Set&&qa instanceof Set&&qa.forEach(Ra.add,Ra);for(const nd in qa){if(!qa.hasOwnProperty(nd))continue;const od=qa[nd],ld=Ra[nd];isPlainObject$3(ld)&&isPlainObject$3(od)&&Ra.hasOwnProperty(nd)&&!isRef(od)&&!isReactive(od)?Ra[nd]=mergeReactiveObjects(ld,od):Ra[nd]=od}return Ra}const skipHydrateSymbol=Symbol();function shouldHydrate(Ra){return!isPlainObject$3(Ra)||!Ra.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(Ra){return!!(isRef(Ra)&&Ra.effect)}function createOptionsStore(Ra,qa,nd,od){const{state:ld,actions:ud,getters:dd}=qa,pd=nd.state.value[Ra];let fd;function md(){pd||(nd.state.value[Ra]=ld?ld():{});const vd=toRefs(nd.state.value[Ra]);return assign(vd,ud,Object.keys(dd||{}).reduce((Ad,Nd)=>(Ad[Nd]=markRaw(computed(()=>{setActivePinia(nd);const Id=nd._s.get(Ra);return dd[Nd].call(Id,Id)})),Ad),{}))}return fd=createSetupStore(Ra,md,qa,nd,od,!0),fd}function createSetupStore(Ra,qa,nd={},od,ld,ud){let dd;const pd=assign({actions:{}},nd),fd={deep:!0};let md,vd,Ad=[],Nd=[],Id;const Od=od.state.value[Ra];!ud&&!Od&&(od.state.value[Ra]={}),ref$1({});let Md;function Ud(gf){let Yd;md=vd=!1,typeof gf=="function"?(gf(od.state.value[Ra]),Yd={type:MutationType.patchFunction,storeId:Ra,events:Id}):(mergeReactiveObjects(od.state.value[Ra],gf),Yd={type:MutationType.patchObject,payload:gf,storeId:Ra,events:Id});const Zd=Md=Symbol();nextTick$1().then(()=>{Md===Zd&&(md=!0)}),vd=!0,triggerSubscriptions(Ad,Yd,od.state.value[Ra])}const jd=ud?function(){const{state:Yd}=nd,Zd=Yd?Yd():{};this.$patch(df=>{assign(df,Zd)})}:noop$6;function Ld(){dd.stop(),Ad=[],Nd=[],od._s.delete(Ra)}const Bd=(gf,Yd="")=>{if(ACTION_MARKER in gf)return gf[ACTION_NAME]=Yd,gf;const Zd=function(){setActivePinia(od);const df=Array.from(arguments),Ef=[],_f=[];function xf(Df){Ef.push(Df)}function vf(Df){_f.push(Df)}triggerSubscriptions(Nd,{args:df,name:Zd[ACTION_NAME],store:qd,after:xf,onError:vf});let Af;try{Af=gf.apply(this&&this.$id===Ra?this:qd,df)}catch(Df){throw triggerSubscriptions(_f,Df),Df}return Af instanceof Promise?Af.then(Df=>(triggerSubscriptions(Ef,Df),Df)).catch(Df=>(triggerSubscriptions(_f,Df),Promise.reject(Df))):(triggerSubscriptions(Ef,Af),Af)};return Zd[ACTION_MARKER]=!0,Zd[ACTION_NAME]=Yd,Zd},Gd={_p:od,$id:Ra,$onAction:addSubscription.bind(null,Nd),$patch:Ud,$reset:jd,$subscribe(gf,Yd={}){const Zd=addSubscription(Ad,gf,Yd.detached,()=>df()),df=dd.run(()=>watch(()=>od.state.value[Ra],Ef=>{(Yd.flush==="sync"?vd:md)&&gf({storeId:Ra,type:MutationType.direct,events:Id},Ef)},assign({},fd,Yd)));return Zd},$dispose:Ld},qd=reactive(Gd);od._s.set(Ra,qd);const Xd=(od._a&&od._a.runWithContext||fallbackRunWithContext)(()=>od._e.run(()=>(dd=effectScope()).run(()=>qa({action:Bd}))));for(const gf in Xd){const Yd=Xd[gf];if(isRef(Yd)&&!isComputed(Yd)||isReactive(Yd))ud||(Od&&shouldHydrate(Yd)&&(isRef(Yd)?Yd.value=Od[gf]:mergeReactiveObjects(Yd,Od[gf])),od.state.value[Ra][gf]=Yd);else if(typeof Yd=="function"){const Zd=Bd(Yd,gf);Xd[gf]=Zd,pd.actions[gf]=Yd}}return assign(qd,Xd),assign(toRaw(qd),Xd),Object.defineProperty(qd,"$state",{get:()=>od.state.value[Ra],set:gf=>{Ud(Yd=>{assign(Yd,gf)})}}),od._p.forEach(gf=>{assign(qd,dd.run(()=>gf({store:qd,app:od._a,pinia:od,options:pd})))}),Od&&ud&&nd.hydrate&&nd.hydrate(qd.$state,Od),md=!0,vd=!0,qd}/*! #__NO_SIDE_EFFECTS__ */function defineStore(Ra,qa,nd){let od,ld;const ud=typeof qa=="function";typeof Ra=="string"?(od=Ra,ld=ud?nd:qa):(ld=Ra,od=Ra.id);function dd(pd,fd){const md=hasInjectionContext();return pd=pd||(md?inject(piniaSymbol,null):null),pd&&setActivePinia(pd),pd=activePinia,pd._s.has(od)||(ud?createSetupStore(od,qa,ld,pd):createOptionsStore(od,ld,pd)),pd._s.get(od)}return dd.$id=od,dd}function storeToRefs(Ra){{const qa=toRaw(Ra),nd={};for(const od in qa){const ld=qa[od];(isRef(ld)||isReactive(ld))&&(nd[od]=toRef$1(Ra,od))}return nd}}const sides=["top","right","bottom","left"],min$1=Math.min,max$2=Math.max,round=Math.round,floor=Math.floor,createCoords=Ra=>({x:Ra,y:Ra}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(Ra,qa,nd){return max$2(Ra,min$1(qa,nd))}function evaluate$1(Ra,qa){return typeof Ra=="function"?Ra(qa):Ra}function getSide(Ra){return Ra.split("-")[0]}function getAlignment(Ra){return Ra.split("-")[1]}function getOppositeAxis(Ra){return Ra==="x"?"y":"x"}function getAxisLength(Ra){return Ra==="y"?"height":"width"}function getSideAxis(Ra){return["top","bottom"].includes(getSide(Ra))?"y":"x"}function getAlignmentAxis(Ra){return getOppositeAxis(getSideAxis(Ra))}function getAlignmentSides(Ra,qa,nd){nd===void 0&&(nd=!1);const od=getAlignment(Ra),ld=getAlignmentAxis(Ra),ud=getAxisLength(ld);let dd=ld==="x"?od===(nd?"end":"start")?"right":"left":od==="start"?"bottom":"top";return qa.reference[ud]>qa.floating[ud]&&(dd=getOppositePlacement(dd)),[dd,getOppositePlacement(dd)]}function getExpandedPlacements(Ra){const qa=getOppositePlacement(Ra);return[getOppositeAlignmentPlacement(Ra),qa,getOppositeAlignmentPlacement(qa)]}function getOppositeAlignmentPlacement(Ra){return Ra.replace(/start|end/g,qa=>oppositeAlignmentMap[qa])}function getSideList(Ra,qa,nd){const od=["left","right"],ld=["right","left"],ud=["top","bottom"],dd=["bottom","top"];switch(Ra){case"top":case"bottom":return nd?qa?ld:od:qa?od:ld;case"left":case"right":return qa?ud:dd;default:return[]}}function getOppositeAxisPlacements(Ra,qa,nd,od){const ld=getAlignment(Ra);let ud=getSideList(getSide(Ra),nd==="start",od);return ld&&(ud=ud.map(dd=>dd+"-"+ld),qa&&(ud=ud.concat(ud.map(getOppositeAlignmentPlacement)))),ud}function getOppositePlacement(Ra){return Ra.replace(/left|right|bottom|top/g,qa=>oppositeSideMap[qa])}function expandPaddingObject(Ra){return{top:0,right:0,bottom:0,left:0,...Ra}}function getPaddingObject(Ra){return typeof Ra!="number"?expandPaddingObject(Ra):{top:Ra,right:Ra,bottom:Ra,left:Ra}}function rectToClientRect(Ra){const{x:qa,y:nd,width:od,height:ld}=Ra;return{width:od,height:ld,top:nd,left:qa,right:qa+od,bottom:nd+ld,x:qa,y:nd}}function computeCoordsFromPlacement(Ra,qa,nd){let{reference:od,floating:ld}=Ra;const ud=getSideAxis(qa),dd=getAlignmentAxis(qa),pd=getAxisLength(dd),fd=getSide(qa),md=ud==="y",vd=od.x+od.width/2-ld.width/2,Ad=od.y+od.height/2-ld.height/2,Nd=od[pd]/2-ld[pd]/2;let Id;switch(fd){case"top":Id={x:vd,y:od.y-ld.height};break;case"bottom":Id={x:vd,y:od.y+od.height};break;case"right":Id={x:od.x+od.width,y:Ad};break;case"left":Id={x:od.x-ld.width,y:Ad};break;default:Id={x:od.x,y:od.y}}switch(getAlignment(qa)){case"start":Id[dd]-=Nd*(nd&&md?-1:1);break;case"end":Id[dd]+=Nd*(nd&&md?-1:1);break}return Id}const computePosition$1=async(Ra,qa,nd)=>{const{placement:od="bottom",strategy:ld="absolute",middleware:ud=[],platform:dd}=nd,pd=ud.filter(Boolean),fd=await(dd.isRTL==null?void 0:dd.isRTL(qa));let md=await dd.getElementRects({reference:Ra,floating:qa,strategy:ld}),{x:vd,y:Ad}=computeCoordsFromPlacement(md,od,fd),Nd=od,Id={},Od=0;for(let Md=0;Md<pd.length;Md++){const{name:Ud,fn:jd}=pd[Md],{x:Ld,y:Bd,data:Gd,reset:qd}=await jd({x:vd,y:Ad,initialPlacement:od,placement:Nd,strategy:ld,middlewareData:Id,rects:md,platform:dd,elements:{reference:Ra,floating:qa}});vd=Ld??vd,Ad=Bd??Ad,Id={...Id,[Ud]:{...Id[Ud],...Gd}},qd&&Od<=50&&(Od++,typeof qd=="object"&&(qd.placement&&(Nd=qd.placement),qd.rects&&(md=qd.rects===!0?await dd.getElementRects({reference:Ra,floating:qa,strategy:ld}):qd.rects),{x:vd,y:Ad}=computeCoordsFromPlacement(md,Nd,fd)),Md=-1)}return{x:vd,y:Ad,placement:Nd,strategy:ld,middlewareData:Id}};async function detectOverflow(Ra,qa){var nd;qa===void 0&&(qa={});const{x:od,y:ld,platform:ud,rects:dd,elements:pd,strategy:fd}=Ra,{boundary:md="clippingAncestors",rootBoundary:vd="viewport",elementContext:Ad="floating",altBoundary:Nd=!1,padding:Id=0}=evaluate$1(qa,Ra),Od=getPaddingObject(Id),Ud=pd[Nd?Ad==="floating"?"reference":"floating":Ad],jd=rectToClientRect(await ud.getClippingRect({element:(nd=await(ud.isElement==null?void 0:ud.isElement(Ud)))==null||nd?Ud:Ud.contextElement||await(ud.getDocumentElement==null?void 0:ud.getDocumentElement(pd.floating)),boundary:md,rootBoundary:vd,strategy:fd})),Ld=Ad==="floating"?{x:od,y:ld,width:dd.floating.width,height:dd.floating.height}:dd.reference,Bd=await(ud.getOffsetParent==null?void 0:ud.getOffsetParent(pd.floating)),Gd=await(ud.isElement==null?void 0:ud.isElement(Bd))?await(ud.getScale==null?void 0:ud.getScale(Bd))||{x:1,y:1}:{x:1,y:1},qd=rectToClientRect(ud.convertOffsetParentRelativeRectToViewportRelativeRect?await ud.convertOffsetParentRelativeRectToViewportRelativeRect({elements:pd,rect:Ld,offsetParent:Bd,strategy:fd}):Ld);return{top:(jd.top-qd.top+Od.top)/Gd.y,bottom:(qd.bottom-jd.bottom+Od.bottom)/Gd.y,left:(jd.left-qd.left+Od.left)/Gd.x,right:(qd.right-jd.right+Od.right)/Gd.x}}const arrow$2=Ra=>({name:"arrow",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld,rects:ud,platform:dd,elements:pd,middlewareData:fd}=qa,{element:md,padding:vd=0}=evaluate$1(Ra,qa)||{};if(md==null)return{};const Ad=getPaddingObject(vd),Nd={x:nd,y:od},Id=getAlignmentAxis(ld),Od=getAxisLength(Id),Md=await dd.getDimensions(md),Ud=Id==="y",jd=Ud?"top":"left",Ld=Ud?"bottom":"right",Bd=Ud?"clientHeight":"clientWidth",Gd=ud.reference[Od]+ud.reference[Id]-Nd[Id]-ud.floating[Od],qd=Nd[Id]-ud.reference[Id],zd=await(dd.getOffsetParent==null?void 0:dd.getOffsetParent(md));let Xd=zd?zd[Bd]:0;(!Xd||!await(dd.isElement==null?void 0:dd.isElement(zd)))&&(Xd=pd.floating[Bd]||ud.floating[Od]);const gf=Gd/2-qd/2,Yd=Xd/2-Md[Od]/2-1,Zd=min$1(Ad[jd],Yd),df=min$1(Ad[Ld],Yd),Ef=Zd,_f=Xd-Md[Od]-df,xf=Xd/2-Md[Od]/2+gf,vf=clamp(Ef,xf,_f),Af=!fd.arrow&&getAlignment(ld)!=null&&xf!==vf&&ud.reference[Od]/2-(xf<Ef?Zd:df)-Md[Od]/2<0,Df=Af?xf<Ef?xf-Ef:xf-_f:0;return{[Id]:Nd[Id]+Df,data:{[Id]:vf,centerOffset:xf-vf-Df,...Af&&{alignmentOffset:Df}},reset:Af}}}),flip$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"flip",options:Ra,async fn(qa){var nd,od;const{placement:ld,middlewareData:ud,rects:dd,initialPlacement:pd,platform:fd,elements:md}=qa,{mainAxis:vd=!0,crossAxis:Ad=!0,fallbackPlacements:Nd,fallbackStrategy:Id="bestFit",fallbackAxisSideDirection:Od="none",flipAlignment:Md=!0,...Ud}=evaluate$1(Ra,qa);if((nd=ud.arrow)!=null&&nd.alignmentOffset)return{};const jd=getSide(ld),Ld=getSideAxis(pd),Bd=getSide(pd)===pd,Gd=await(fd.isRTL==null?void 0:fd.isRTL(md.floating)),qd=Nd||(Bd||!Md?[getOppositePlacement(pd)]:getExpandedPlacements(pd)),zd=Od!=="none";!Nd&&zd&&qd.push(...getOppositeAxisPlacements(pd,Md,Od,Gd));const Xd=[pd,...qd],gf=await detectOverflow(qa,Ud),Yd=[];let Zd=((od=ud.flip)==null?void 0:od.overflows)||[];if(vd&&Yd.push(gf[jd]),Ad){const xf=getAlignmentSides(ld,dd,Gd);Yd.push(gf[xf[0]],gf[xf[1]])}if(Zd=[...Zd,{placement:ld,overflows:Yd}],!Yd.every(xf=>xf<=0)){var df,Ef;const xf=(((df=ud.flip)==null?void 0:df.index)||0)+1,vf=Xd[xf];if(vf)return{data:{index:xf,overflows:Zd},reset:{placement:vf}};let Af=(Ef=Zd.filter(Df=>Df.overflows[0]<=0).sort((Df,jf)=>Df.overflows[1]-jf.overflows[1])[0])==null?void 0:Ef.placement;if(!Af)switch(Id){case"bestFit":{var _f;const Df=(_f=Zd.filter(jf=>{if(zd){const Jf=getSideAxis(jf.placement);return Jf===Ld||Jf==="y"}return!0}).map(jf=>[jf.placement,jf.overflows.filter(Jf=>Jf>0).reduce((Jf,eh)=>Jf+eh,0)]).sort((jf,Jf)=>jf[1]-Jf[1])[0])==null?void 0:_f[0];Df&&(Af=Df);break}case"initialPlacement":Af=pd;break}if(ld!==Af)return{reset:{placement:Af}}}return{}}}};function getSideOffsets(Ra,qa){return{top:Ra.top-qa.height,right:Ra.right-qa.width,bottom:Ra.bottom-qa.height,left:Ra.left-qa.width}}function isAnySideFullyClipped(Ra){return sides.some(qa=>Ra[qa]>=0)}const hide$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"hide",options:Ra,async fn(qa){const{rects:nd}=qa,{strategy:od="referenceHidden",...ld}=evaluate$1(Ra,qa);switch(od){case"referenceHidden":{const ud=await detectOverflow(qa,{...ld,elementContext:"reference"}),dd=getSideOffsets(ud,nd.reference);return{data:{referenceHiddenOffsets:dd,referenceHidden:isAnySideFullyClipped(dd)}}}case"escaped":{const ud=await detectOverflow(qa,{...ld,altBoundary:!0}),dd=getSideOffsets(ud,nd.floating);return{data:{escapedOffsets:dd,escaped:isAnySideFullyClipped(dd)}}}default:return{}}}}};async function convertValueToCoords(Ra,qa){const{placement:nd,platform:od,elements:ld}=Ra,ud=await(od.isRTL==null?void 0:od.isRTL(ld.floating)),dd=getSide(nd),pd=getAlignment(nd),fd=getSideAxis(nd)==="y",md=["left","top"].includes(dd)?-1:1,vd=ud&&fd?-1:1,Ad=evaluate$1(qa,Ra);let{mainAxis:Nd,crossAxis:Id,alignmentAxis:Od}=typeof Ad=="number"?{mainAxis:Ad,crossAxis:0,alignmentAxis:null}:{mainAxis:Ad.mainAxis||0,crossAxis:Ad.crossAxis||0,alignmentAxis:Ad.alignmentAxis};return pd&&typeof Od=="number"&&(Id=pd==="end"?Od*-1:Od),fd?{x:Id*vd,y:Nd*md}:{x:Nd*md,y:Id*vd}}const offset$1=function(Ra){return Ra===void 0&&(Ra=0),{name:"offset",options:Ra,async fn(qa){var nd,od;const{x:ld,y:ud,placement:dd,middlewareData:pd}=qa,fd=await convertValueToCoords(qa,Ra);return dd===((nd=pd.offset)==null?void 0:nd.placement)&&(od=pd.arrow)!=null&&od.alignmentOffset?{}:{x:ld+fd.x,y:ud+fd.y,data:{...fd,placement:dd}}}}},shift$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"shift",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld}=qa,{mainAxis:ud=!0,crossAxis:dd=!1,limiter:pd={fn:Ud=>{let{x:jd,y:Ld}=Ud;return{x:jd,y:Ld}}},...fd}=evaluate$1(Ra,qa),md={x:nd,y:od},vd=await detectOverflow(qa,fd),Ad=getSideAxis(getSide(ld)),Nd=getOppositeAxis(Ad);let Id=md[Nd],Od=md[Ad];if(ud){const Ud=Nd==="y"?"top":"left",jd=Nd==="y"?"bottom":"right",Ld=Id+vd[Ud],Bd=Id-vd[jd];Id=clamp(Ld,Id,Bd)}if(dd){const Ud=Ad==="y"?"top":"left",jd=Ad==="y"?"bottom":"right",Ld=Od+vd[Ud],Bd=Od-vd[jd];Od=clamp(Ld,Od,Bd)}const Md=pd.fn({...qa,[Nd]:Id,[Ad]:Od});return{...Md,data:{x:Md.x-nd,y:Md.y-od,enabled:{[Nd]:ud,[Ad]:dd}}}}}},limitShift$1=function(Ra){return Ra===void 0&&(Ra={}),{options:Ra,fn(qa){const{x:nd,y:od,placement:ld,rects:ud,middlewareData:dd}=qa,{offset:pd=0,mainAxis:fd=!0,crossAxis:md=!0}=evaluate$1(Ra,qa),vd={x:nd,y:od},Ad=getSideAxis(ld),Nd=getOppositeAxis(Ad);let Id=vd[Nd],Od=vd[Ad];const Md=evaluate$1(pd,qa),Ud=typeof Md=="number"?{mainAxis:Md,crossAxis:0}:{mainAxis:0,crossAxis:0,...Md};if(fd){const Bd=Nd==="y"?"height":"width",Gd=ud.reference[Nd]-ud.floating[Bd]+Ud.mainAxis,qd=ud.reference[Nd]+ud.reference[Bd]-Ud.mainAxis;Id<Gd?Id=Gd:Id>qd&&(Id=qd)}if(md){var jd,Ld;const Bd=Nd==="y"?"width":"height",Gd=["top","left"].includes(getSide(ld)),qd=ud.reference[Ad]-ud.floating[Bd]+(Gd&&((jd=dd.offset)==null?void 0:jd[Ad])||0)+(Gd?0:Ud.crossAxis),zd=ud.reference[Ad]+ud.reference[Bd]+(Gd?0:((Ld=dd.offset)==null?void 0:Ld[Ad])||0)-(Gd?Ud.crossAxis:0);Od<qd?Od=qd:Od>zd&&(Od=zd)}return{[Nd]:Id,[Ad]:Od}}}},size$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"size",options:Ra,async fn(qa){var nd,od;const{placement:ld,rects:ud,platform:dd,elements:pd}=qa,{apply:fd=()=>{},...md}=evaluate$1(Ra,qa),vd=await detectOverflow(qa,md),Ad=getSide(ld),Nd=getAlignment(ld),Id=getSideAxis(ld)==="y",{width:Od,height:Md}=ud.floating;let Ud,jd;Ad==="top"||Ad==="bottom"?(Ud=Ad,jd=Nd===(await(dd.isRTL==null?void 0:dd.isRTL(pd.floating))?"start":"end")?"left":"right"):(jd=Ad,Ud=Nd==="end"?"top":"bottom");const Ld=Md-vd.top-vd.bottom,Bd=Od-vd.left-vd.right,Gd=min$1(Md-vd[Ud],Ld),qd=min$1(Od-vd[jd],Bd),zd=!qa.middlewareData.shift;let Xd=Gd,gf=qd;if((nd=qa.middlewareData.shift)!=null&&nd.enabled.x&&(gf=Bd),(od=qa.middlewareData.shift)!=null&&od.enabled.y&&(Xd=Ld),zd&&!Nd){const Zd=max$2(vd.left,0),df=max$2(vd.right,0),Ef=max$2(vd.top,0),_f=max$2(vd.bottom,0);Id?gf=Od-2*(Zd!==0||df!==0?Zd+df:max$2(vd.left,vd.right)):Xd=Md-2*(Ef!==0||_f!==0?Ef+_f:max$2(vd.top,vd.bottom))}await fd({...qa,availableWidth:gf,availableHeight:Xd});const Yd=await dd.getDimensions(pd.floating);return Od!==Yd.width||Md!==Yd.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(Ra){return isNode$2(Ra)?(Ra.nodeName||"").toLowerCase():"#document"}function getWindow(Ra){var qa;return(Ra==null||(qa=Ra.ownerDocument)==null?void 0:qa.defaultView)||window}function getDocumentElement(Ra){var qa;return(qa=(isNode$2(Ra)?Ra.ownerDocument:Ra.document)||window.document)==null?void 0:qa.documentElement}function isNode$2(Ra){return hasWindow()?Ra instanceof Node||Ra instanceof getWindow(Ra).Node:!1}function isElement$2(Ra){return hasWindow()?Ra instanceof Element||Ra instanceof getWindow(Ra).Element:!1}function isHTMLElement(Ra){return hasWindow()?Ra instanceof HTMLElement||Ra instanceof getWindow(Ra).HTMLElement:!1}function isShadowRoot(Ra){return!hasWindow()||typeof ShadowRoot>"u"?!1:Ra instanceof ShadowRoot||Ra instanceof getWindow(Ra).ShadowRoot}function isOverflowElement(Ra){const{overflow:qa,overflowX:nd,overflowY:od,display:ld}=getComputedStyle$1(Ra);return/auto|scroll|overlay|hidden|clip/.test(qa+od+nd)&&!["inline","contents"].includes(ld)}function isTableElement(Ra){return["table","td","th"].includes(getNodeName(Ra))}function isTopLayer(Ra){return[":popover-open",":modal"].some(qa=>{try{return Ra.matches(qa)}catch{return!1}})}function isContainingBlock(Ra){const qa=isWebKit(),nd=isElement$2(Ra)?getComputedStyle$1(Ra):Ra;return nd.transform!=="none"||nd.perspective!=="none"||(nd.containerType?nd.containerType!=="normal":!1)||!qa&&(nd.backdropFilter?nd.backdropFilter!=="none":!1)||!qa&&(nd.filter?nd.filter!=="none":!1)||["transform","perspective","filter"].some(od=>(nd.willChange||"").includes(od))||["paint","layout","strict","content"].some(od=>(nd.contain||"").includes(od))}function getContainingBlock(Ra){let qa=getParentNode(Ra);for(;isHTMLElement(qa)&&!isLastTraversableNode(qa);){if(isContainingBlock(qa))return qa;if(isTopLayer(qa))return null;qa=getParentNode(qa)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(Ra){return["html","body","#document"].includes(getNodeName(Ra))}function getComputedStyle$1(Ra){return getWindow(Ra).getComputedStyle(Ra)}function getNodeScroll(Ra){return isElement$2(Ra)?{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}:{scrollLeft:Ra.scrollX,scrollTop:Ra.scrollY}}function getParentNode(Ra){if(getNodeName(Ra)==="html")return Ra;const qa=Ra.assignedSlot||Ra.parentNode||isShadowRoot(Ra)&&Ra.host||getDocumentElement(Ra);return isShadowRoot(qa)?qa.host:qa}function getNearestOverflowAncestor(Ra){const qa=getParentNode(Ra);return isLastTraversableNode(qa)?Ra.ownerDocument?Ra.ownerDocument.body:Ra.body:isHTMLElement(qa)&&isOverflowElement(qa)?qa:getNearestOverflowAncestor(qa)}function getOverflowAncestors(Ra,qa,nd){var od;qa===void 0&&(qa=[]),nd===void 0&&(nd=!0);const ld=getNearestOverflowAncestor(Ra),ud=ld===((od=Ra.ownerDocument)==null?void 0:od.body),dd=getWindow(ld);if(ud){const pd=getFrameElement(dd);return qa.concat(dd,dd.visualViewport||[],isOverflowElement(ld)?ld:[],pd&&nd?getOverflowAncestors(pd):[])}return qa.concat(ld,getOverflowAncestors(ld,[],nd))}function getFrameElement(Ra){return Ra.parent&&Object.getPrototypeOf(Ra.parent)?Ra.frameElement:null}function getCssDimensions(Ra){const qa=getComputedStyle$1(Ra);let nd=parseFloat(qa.width)||0,od=parseFloat(qa.height)||0;const ld=isHTMLElement(Ra),ud=ld?Ra.offsetWidth:nd,dd=ld?Ra.offsetHeight:od,pd=round(nd)!==ud||round(od)!==dd;return pd&&(nd=ud,od=dd),{width:nd,height:od,$:pd}}function unwrapElement$1(Ra){return isElement$2(Ra)?Ra:Ra.contextElement}function getScale(Ra){const qa=unwrapElement$1(Ra);if(!isHTMLElement(qa))return createCoords(1);const nd=qa.getBoundingClientRect(),{width:od,height:ld,$:ud}=getCssDimensions(qa);let dd=(ud?round(nd.width):nd.width)/od,pd=(ud?round(nd.height):nd.height)/ld;return(!dd||!Number.isFinite(dd))&&(dd=1),(!pd||!Number.isFinite(pd))&&(pd=1),{x:dd,y:pd}}const noOffsets=createCoords(0);function getVisualOffsets(Ra){const qa=getWindow(Ra);return!isWebKit()||!qa.visualViewport?noOffsets:{x:qa.visualViewport.offsetLeft,y:qa.visualViewport.offsetTop}}function shouldAddVisualOffsets(Ra,qa,nd){return qa===void 0&&(qa=!1),!nd||qa&&nd!==getWindow(Ra)?!1:qa}function getBoundingClientRect(Ra,qa,nd,od){qa===void 0&&(qa=!1),nd===void 0&&(nd=!1);const ld=Ra.getBoundingClientRect(),ud=unwrapElement$1(Ra);let dd=createCoords(1);qa&&(od?isElement$2(od)&&(dd=getScale(od)):dd=getScale(Ra));const pd=shouldAddVisualOffsets(ud,nd,od)?getVisualOffsets(ud):createCoords(0);let fd=(ld.left+pd.x)/dd.x,md=(ld.top+pd.y)/dd.y,vd=ld.width/dd.x,Ad=ld.height/dd.y;if(ud){const Nd=getWindow(ud),Id=od&&isElement$2(od)?getWindow(od):od;let Od=Nd,Md=getFrameElement(Od);for(;Md&&od&&Id!==Od;){const Ud=getScale(Md),jd=Md.getBoundingClientRect(),Ld=getComputedStyle$1(Md),Bd=jd.left+(Md.clientLeft+parseFloat(Ld.paddingLeft))*Ud.x,Gd=jd.top+(Md.clientTop+parseFloat(Ld.paddingTop))*Ud.y;fd*=Ud.x,md*=Ud.y,vd*=Ud.x,Ad*=Ud.y,fd+=Bd,md+=Gd,Od=getWindow(Md),Md=getFrameElement(Od)}}return rectToClientRect({width:vd,height:Ad,x:fd,y:md})}function getWindowScrollBarX(Ra,qa){const nd=getNodeScroll(Ra).scrollLeft;return qa?qa.left+nd:getBoundingClientRect(getDocumentElement(Ra)).left+nd}function getHTMLOffset(Ra,qa,nd){nd===void 0&&(nd=!1);const od=Ra.getBoundingClientRect(),ld=od.left+qa.scrollLeft-(nd?0:getWindowScrollBarX(Ra,od)),ud=od.top+qa.scrollTop;return{x:ld,y:ud}}function convertOffsetParentRelativeRectToViewportRelativeRect(Ra){let{elements:qa,rect:nd,offsetParent:od,strategy:ld}=Ra;const ud=ld==="fixed",dd=getDocumentElement(od),pd=qa?isTopLayer(qa.floating):!1;if(od===dd||pd&&ud)return nd;let fd={scrollLeft:0,scrollTop:0},md=createCoords(1);const vd=createCoords(0),Ad=isHTMLElement(od);if((Ad||!Ad&&!ud)&&((getNodeName(od)!=="body"||isOverflowElement(dd))&&(fd=getNodeScroll(od)),isHTMLElement(od))){const Id=getBoundingClientRect(od);md=getScale(od),vd.x=Id.x+od.clientLeft,vd.y=Id.y+od.clientTop}const Nd=dd&&!Ad&&!ud?getHTMLOffset(dd,fd,!0):createCoords(0);return{width:nd.width*md.x,height:nd.height*md.y,x:nd.x*md.x-fd.scrollLeft*md.x+vd.x+Nd.x,y:nd.y*md.y-fd.scrollTop*md.y+vd.y+Nd.y}}function getClientRects(Ra){return Array.from(Ra.getClientRects())}function getDocumentRect(Ra){const qa=getDocumentElement(Ra),nd=getNodeScroll(Ra),od=Ra.ownerDocument.body,ld=max$2(qa.scrollWidth,qa.clientWidth,od.scrollWidth,od.clientWidth),ud=max$2(qa.scrollHeight,qa.clientHeight,od.scrollHeight,od.clientHeight);let dd=-nd.scrollLeft+getWindowScrollBarX(Ra);const pd=-nd.scrollTop;return getComputedStyle$1(od).direction==="rtl"&&(dd+=max$2(qa.clientWidth,od.clientWidth)-ld),{width:ld,height:ud,x:dd,y:pd}}function getViewportRect(Ra,qa){const nd=getWindow(Ra),od=getDocumentElement(Ra),ld=nd.visualViewport;let ud=od.clientWidth,dd=od.clientHeight,pd=0,fd=0;if(ld){ud=ld.width,dd=ld.height;const md=isWebKit();(!md||md&&qa==="fixed")&&(pd=ld.offsetLeft,fd=ld.offsetTop)}return{width:ud,height:dd,x:pd,y:fd}}function getInnerBoundingClientRect(Ra,qa){const nd=getBoundingClientRect(Ra,!0,qa==="fixed"),od=nd.top+Ra.clientTop,ld=nd.left+Ra.clientLeft,ud=isHTMLElement(Ra)?getScale(Ra):createCoords(1),dd=Ra.clientWidth*ud.x,pd=Ra.clientHeight*ud.y,fd=ld*ud.x,md=od*ud.y;return{width:dd,height:pd,x:fd,y:md}}function getClientRectFromClippingAncestor(Ra,qa,nd){let od;if(qa==="viewport")od=getViewportRect(Ra,nd);else if(qa==="document")od=getDocumentRect(getDocumentElement(Ra));else if(isElement$2(qa))od=getInnerBoundingClientRect(qa,nd);else{const ld=getVisualOffsets(Ra);od={x:qa.x-ld.x,y:qa.y-ld.y,width:qa.width,height:qa.height}}return rectToClientRect(od)}function hasFixedPositionAncestor(Ra,qa){const nd=getParentNode(Ra);return nd===qa||!isElement$2(nd)||isLastTraversableNode(nd)?!1:getComputedStyle$1(nd).position==="fixed"||hasFixedPositionAncestor(nd,qa)}function getClippingElementAncestors(Ra,qa){const nd=qa.get(Ra);if(nd)return nd;let od=getOverflowAncestors(Ra,[],!1).filter(pd=>isElement$2(pd)&&getNodeName(pd)!=="body"),ld=null;const ud=getComputedStyle$1(Ra).position==="fixed";let dd=ud?getParentNode(Ra):Ra;for(;isElement$2(dd)&&!isLastTraversableNode(dd);){const pd=getComputedStyle$1(dd),fd=isContainingBlock(dd);!fd&&pd.position==="fixed"&&(ld=null),(ud?!fd&&!ld:!fd&&pd.position==="static"&&!!ld&&["absolute","fixed"].includes(ld.position)||isOverflowElement(dd)&&!fd&&hasFixedPositionAncestor(Ra,dd))?od=od.filter(vd=>vd!==dd):ld=pd,dd=getParentNode(dd)}return qa.set(Ra,od),od}function getClippingRect(Ra){let{element:qa,boundary:nd,rootBoundary:od,strategy:ld}=Ra;const dd=[...nd==="clippingAncestors"?isTopLayer(qa)?[]:getClippingElementAncestors(qa,this._c):[].concat(nd),od],pd=dd[0],fd=dd.reduce((md,vd)=>{const Ad=getClientRectFromClippingAncestor(qa,vd,ld);return md.top=max$2(Ad.top,md.top),md.right=min$1(Ad.right,md.right),md.bottom=min$1(Ad.bottom,md.bottom),md.left=max$2(Ad.left,md.left),md},getClientRectFromClippingAncestor(qa,pd,ld));return{width:fd.right-fd.left,height:fd.bottom-fd.top,x:fd.left,y:fd.top}}function getDimensions(Ra){const{width:qa,height:nd}=getCssDimensions(Ra);return{width:qa,height:nd}}function getRectRelativeToOffsetParent(Ra,qa,nd){const od=isHTMLElement(qa),ld=getDocumentElement(qa),ud=nd==="fixed",dd=getBoundingClientRect(Ra,!0,ud,qa);let pd={scrollLeft:0,scrollTop:0};const fd=createCoords(0);if(od||!od&&!ud)if((getNodeName(qa)!=="body"||isOverflowElement(ld))&&(pd=getNodeScroll(qa)),od){const Nd=getBoundingClientRect(qa,!0,ud,qa);fd.x=Nd.x+qa.clientLeft,fd.y=Nd.y+qa.clientTop}else ld&&(fd.x=getWindowScrollBarX(ld));const md=ld&&!od&&!ud?getHTMLOffset(ld,pd):createCoords(0),vd=dd.left+pd.scrollLeft-fd.x-md.x,Ad=dd.top+pd.scrollTop-fd.y-md.y;return{x:vd,y:Ad,width:dd.width,height:dd.height}}function isStaticPositioned(Ra){return getComputedStyle$1(Ra).position==="static"}function getTrueOffsetParent(Ra,qa){if(!isHTMLElement(Ra)||getComputedStyle$1(Ra).position==="fixed")return null;if(qa)return qa(Ra);let nd=Ra.offsetParent;return getDocumentElement(Ra)===nd&&(nd=nd.ownerDocument.body),nd}function getOffsetParent(Ra,qa){const nd=getWindow(Ra);if(isTopLayer(Ra))return nd;if(!isHTMLElement(Ra)){let ld=getParentNode(Ra);for(;ld&&!isLastTraversableNode(ld);){if(isElement$2(ld)&&!isStaticPositioned(ld))return ld;ld=getParentNode(ld)}return nd}let od=getTrueOffsetParent(Ra,qa);for(;od&&isTableElement(od)&&isStaticPositioned(od);)od=getTrueOffsetParent(od,qa);return od&&isLastTraversableNode(od)&&isStaticPositioned(od)&&!isContainingBlock(od)?nd:od||getContainingBlock(Ra)||nd}const getElementRects=async function(Ra){const qa=this.getOffsetParent||getOffsetParent,nd=this.getDimensions,od=await nd(Ra.floating);return{reference:getRectRelativeToOffsetParent(Ra.reference,await qa(Ra.floating),Ra.strategy),floating:{x:0,y:0,width:od.width,height:od.height}}};function isRTL(Ra){return getComputedStyle$1(Ra).direction==="rtl"}const platform$2={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$2,isRTL};function observeMove(Ra,qa){let nd=null,od;const ld=getDocumentElement(Ra);function ud(){var pd;clearTimeout(od),(pd=nd)==null||pd.disconnect(),nd=null}function dd(pd,fd){pd===void 0&&(pd=!1),fd===void 0&&(fd=1),ud();const{left:md,top:vd,width:Ad,height:Nd}=Ra.getBoundingClientRect();if(pd||qa(),!Ad||!Nd)return;const Id=floor(vd),Od=floor(ld.clientWidth-(md+Ad)),Md=floor(ld.clientHeight-(vd+Nd)),Ud=floor(md),Ld={rootMargin:-Id+"px "+-Od+"px "+-Md+"px "+-Ud+"px",threshold:max$2(0,min$1(1,fd))||1};let Bd=!0;function Gd(qd){const zd=qd[0].intersectionRatio;if(zd!==fd){if(!Bd)return dd();zd?dd(!1,zd):od=setTimeout(()=>{dd(!1,1e-7)},1e3)}Bd=!1}try{nd=new IntersectionObserver(Gd,{...Ld,root:ld.ownerDocument})}catch{nd=new IntersectionObserver(Gd,Ld)}nd.observe(Ra)}return dd(!0),ud}function autoUpdate(Ra,qa,nd,od){od===void 0&&(od={});const{ancestorScroll:ld=!0,ancestorResize:ud=!0,elementResize:dd=typeof ResizeObserver=="function",layoutShift:pd=typeof IntersectionObserver=="function",animationFrame:fd=!1}=od,md=unwrapElement$1(Ra),vd=ld||ud?[...md?getOverflowAncestors(md):[],...getOverflowAncestors(qa)]:[];vd.forEach(jd=>{ld&&jd.addEventListener("scroll",nd,{passive:!0}),ud&&jd.addEventListener("resize",nd)});const Ad=md&&pd?observeMove(md,nd):null;let Nd=-1,Id=null;dd&&(Id=new ResizeObserver(jd=>{let[Ld]=jd;Ld&&Ld.target===md&&Id&&(Id.unobserve(qa),cancelAnimationFrame(Nd),Nd=requestAnimationFrame(()=>{var Bd;(Bd=Id)==null||Bd.observe(qa)})),nd()}),md&&!fd&&Id.observe(md),Id.observe(qa));let Od,Md=fd?getBoundingClientRect(Ra):null;fd&&Ud();function Ud(){const jd=getBoundingClientRect(Ra);Md&&(jd.x!==Md.x||jd.y!==Md.y||jd.width!==Md.width||jd.height!==Md.height)&&nd(),Md=jd,Od=requestAnimationFrame(Ud)}return nd(),()=>{var jd;vd.forEach(Ld=>{ld&&Ld.removeEventListener("scroll",nd),ud&&Ld.removeEventListener("resize",nd)}),Ad==null||Ad(),(jd=Id)==null||jd.disconnect(),Id=null,fd&&cancelAnimationFrame(Od)}}const offset=offset$1,shift=shift$1,flip=flip$1,size=size$1,hide=hide$1,arrow$1=arrow$2,limitShift=limitShift$1,computePosition=(Ra,qa,nd)=>{const od=new Map,ld={platform:platform$2,...nd},ud={...ld.platform,_c:od};return computePosition$1(Ra,qa,{...ld,platform:ud})};function isComponentPublicInstance(Ra){return Ra!=null&&typeof Ra=="object"&&"$el"in Ra}function unwrapElement(Ra){if(isComponentPublicInstance(Ra)){const qa=Ra.$el;return isNode$2(qa)&&getNodeName(qa)==="#comment"?null:qa}return Ra}function toValue$2(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function arrow(Ra){return{name:"arrow",options:Ra,fn(qa){const nd=unwrapElement(toValue$2(Ra.element));return nd==null?{}:arrow$1({element:nd,padding:Ra.padding}).fn(qa)}}}function getDPR(Ra){return typeof window>"u"?1:(Ra.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(Ra,qa){const nd=getDPR(Ra);return Math.round(qa*nd)/nd}function useFloating(Ra,qa,nd){nd===void 0&&(nd={});const od=nd.whileElementsMounted,ld=computed(()=>{var Xd;return(Xd=toValue$2(nd.open))!=null?Xd:!0}),ud=computed(()=>toValue$2(nd.middleware)),dd=computed(()=>{var Xd;return(Xd=toValue$2(nd.placement))!=null?Xd:"bottom"}),pd=computed(()=>{var Xd;return(Xd=toValue$2(nd.strategy))!=null?Xd:"absolute"}),fd=computed(()=>{var Xd;return(Xd=toValue$2(nd.transform))!=null?Xd:!0}),md=computed(()=>unwrapElement(Ra.value)),vd=computed(()=>unwrapElement(qa.value)),Ad=ref$1(0),Nd=ref$1(0),Id=ref$1(pd.value),Od=ref$1(dd.value),Md=shallowRef({}),Ud=ref$1(!1),jd=computed(()=>{const Xd={position:Id.value,left:"0",top:"0"};if(!vd.value)return Xd;const gf=roundByDPR(vd.value,Ad.value),Yd=roundByDPR(vd.value,Nd.value);return fd.value?{...Xd,transform:"translate("+gf+"px, "+Yd+"px)",...getDPR(vd.value)>=1.5&&{willChange:"transform"}}:{position:Id.value,left:gf+"px",top:Yd+"px"}});let Ld;function Bd(){if(md.value==null||vd.value==null)return;const Xd=ld.value;computePosition(md.value,vd.value,{middleware:ud.value,placement:dd.value,strategy:pd.value}).then(gf=>{Ad.value=gf.x,Nd.value=gf.y,Id.value=gf.strategy,Od.value=gf.placement,Md.value=gf.middlewareData,Ud.value=Xd!==!1})}function Gd(){typeof Ld=="function"&&(Ld(),Ld=void 0)}function qd(){if(Gd(),od===void 0){Bd();return}if(md.value!=null&&vd.value!=null){Ld=od(md.value,vd.value,Bd);return}}function zd(){ld.value||(Ud.value=!1)}return watch([ud,dd,pd,ld],Bd,{flush:"sync"}),watch([md,vd],qd,{flush:"sync"}),watch(ld,zd,{flush:"sync"}),getCurrentScope()&&onScopeDispose(Gd),{x:shallowReadonly(Ad),y:shallowReadonly(Nd),strategy:shallowReadonly(Id),placement:shallowReadonly(Od),middlewareData:shallowReadonly(Md),isPositioned:shallowReadonly(Ud),floatingStyles:jd,update:Bd}}let $488c6ddbf4ef74c2$var$formatterCache=new Map,$488c6ddbf4ef74c2$var$supportsSignDisplay=!1;try{$488c6ddbf4ef74c2$var$supportsSignDisplay=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let $488c6ddbf4ef74c2$var$supportsUnit=!1;try{$488c6ddbf4ef74c2$var$supportsUnit=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const $488c6ddbf4ef74c2$var$UNITS={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5{format(qa){let nd="";if(!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null?nd=$488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter,this.options.signDisplay,qa):nd=this.numberFormatter.format(qa),this.options.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:ld,unitDisplay:ud="short",locale:dd}=this.resolvedOptions();if(!ld)return nd;let pd=(od=$488c6ddbf4ef74c2$var$UNITS[ld])===null||od===void 0?void 0:od[ud];nd+=pd[dd]||pd.default}return nd}formatToParts(qa){return this.numberFormatter.formatToParts(qa)}formatRange(qa,nd){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(qa,nd);if(nd<qa)throw new RangeError("End date must be >= start date");return`${this.format(qa)} – ${this.format(nd)}`}formatRangeToParts(qa,nd){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(qa,nd);if(nd<qa)throw new RangeError("End date must be >= start date");let od=this.numberFormatter.formatToParts(qa),ld=this.numberFormatter.formatToParts(nd);return[...od.map(ud=>({...ud,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...ld.map(ud=>({...ud,source:"endRange"}))]}resolvedOptions(){let qa=this.numberFormatter.resolvedOptions();return!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null&&(qa={...qa,signDisplay:this.options.signDisplay}),!$488c6ddbf4ef74c2$var$supportsUnit&&this.options.style==="unit"&&(qa={...qa,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),qa}constructor(qa,nd={}){this.numberFormatter=$488c6ddbf4ef74c2$var$getCachedNumberFormatter(qa,nd),this.options=nd}}function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(Ra,qa={}){let{numberingSystem:nd}=qa;if(nd&&Ra.includes("-nu-")&&(Ra.includes("-u-")||(Ra+="-u-"),Ra+=`-nu-${nd}`),qa.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:dd,unitDisplay:pd="short"}=qa;if(!dd)throw new Error('unit option must be provided with style: "unit"');if(!(!((od=$488c6ddbf4ef74c2$var$UNITS[dd])===null||od===void 0)&&od[pd]))throw new Error(`Unsupported unit ${dd} with unitDisplay = ${pd}`);qa={...qa,style:"decimal"}}let ld=Ra+(qa?Object.entries(qa).sort((dd,pd)=>dd[0]<pd[0]?-1:1).join():"");if($488c6ddbf4ef74c2$var$formatterCache.has(ld))return $488c6ddbf4ef74c2$var$formatterCache.get(ld);let ud=new Intl.NumberFormat(Ra,qa);return $488c6ddbf4ef74c2$var$formatterCache.set(ld,ud),ud}function $488c6ddbf4ef74c2$export$711b50b3c525e0f2(Ra,qa,nd){if(qa==="auto")return Ra.format(nd);if(qa==="never")return Ra.format(Math.abs(nd));{let od=!1;if(qa==="always"?od=nd>0||Object.is(nd,0):qa==="exceptZero"&&(Object.is(nd,-0)||Object.is(nd,0)?nd=Math.abs(nd):od=nd>0),od){let ld=Ra.format(-nd),ud=Ra.format(nd),dd=ld.replace(ud,"").replace(/\u200e|\u061C/,"");return[...dd].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),ld.replace(ud,"!!!").replace(dd,"+").replace("!!!",ud)}else return Ra.format(nd)}}const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX=new RegExp("^.*\\(.*\\).*$"),$6c7bd7858deea686$var$NUMBERING_SYSTEMS=["latn","arab","hanidec","deva","beng"];class $6c7bd7858deea686$export$cd11ab140839f11d{parse(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).parse(qa)}isValidPartialNumber(qa,nd,od){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).isValidPartialNumber(qa,nd,od)}getNumberingSystem(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).options.numberingSystem}constructor(qa,nd={}){this.locale=qa,this.options=nd}}const $6c7bd7858deea686$var$numberParserCache=new Map;function $6c7bd7858deea686$var$getNumberParserImpl(Ra,qa,nd){let od=$6c7bd7858deea686$var$getCachedNumberParser(Ra,qa);if(!Ra.includes("-nu-")&&!od.isValidPartialNumber(nd)){for(let ld of $6c7bd7858deea686$var$NUMBERING_SYSTEMS)if(ld!==od.options.numberingSystem){let ud=$6c7bd7858deea686$var$getCachedNumberParser(Ra+(Ra.includes("-u-")?"-nu-":"-u-nu-")+ld,qa);if(ud.isValidPartialNumber(nd))return ud}}return od}function $6c7bd7858deea686$var$getCachedNumberParser(Ra,qa){let nd=Ra+(qa?Object.entries(qa).sort((ld,ud)=>ld[0]<ud[0]?-1:1).join():""),od=$6c7bd7858deea686$var$numberParserCache.get(nd);return od||(od=new $6c7bd7858deea686$var$NumberParserImpl(Ra,qa),$6c7bd7858deea686$var$numberParserCache.set(nd,od)),od}class $6c7bd7858deea686$var$NumberParserImpl{parse(qa){let nd=this.sanitize(qa);if(this.symbols.group&&(nd=$6c7bd7858deea686$var$replaceAll(nd,this.symbols.group,"")),this.symbols.decimal&&(nd=nd.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(nd=nd.replace(this.symbols.minusSign,"-")),nd=nd.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let dd=nd.indexOf("-");nd=nd.replace("-","");let pd=nd.indexOf(".");pd===-1&&(pd=nd.length),nd=nd.replace(".",""),pd-2===0?nd=`0.${nd}`:pd-2===-1?nd=`0.0${nd}`:pd-2===-2?nd="0.00":nd=`${nd.slice(0,pd-2)}.${nd.slice(pd-2)}`,dd>-1&&(nd=`-${nd}`)}let od=nd?+nd:NaN;if(isNaN(od))return NaN;if(this.options.style==="percent"){var ld,ud;let dd={...this.options,style:"decimal",minimumFractionDigits:Math.min(((ld=this.options.minimumFractionDigits)!==null&&ld!==void 0?ld:0)+2,20),maximumFractionDigits:Math.min(((ud=this.options.maximumFractionDigits)!==null&&ud!==void 0?ud:0)+2,20)};return new $6c7bd7858deea686$export$cd11ab140839f11d(this.locale,dd).parse(new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(this.locale,dd).format(od))}return this.options.currencySign==="accounting"&&$6c7bd7858deea686$var$CURRENCY_SIGN_REGEX.test(qa)&&(od=-1*od),od}sanitize(qa){return qa=qa.replace(this.symbols.literals,""),this.symbols.minusSign&&(qa=qa.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(qa=qa.replace(",",this.symbols.decimal),qa=qa.replace("،",this.symbols.decimal)),this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,".",this.symbols.group))),this.options.locale==="fr-FR"&&(qa=$6c7bd7858deea686$var$replaceAll(qa,"."," ")),qa}isValidPartialNumber(qa,nd=-1/0,od=1/0){return qa=this.sanitize(qa),this.symbols.minusSign&&qa.startsWith(this.symbols.minusSign)&&nd<0?qa=qa.slice(this.symbols.minusSign.length):this.symbols.plusSign&&qa.startsWith(this.symbols.plusSign)&&od>0&&(qa=qa.slice(this.symbols.plusSign.length)),this.symbols.group&&qa.startsWith(this.symbols.group)||this.symbols.decimal&&qa.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,this.symbols.group,"")),qa=qa.replace(this.symbols.numeral,""),this.symbols.decimal&&(qa=qa.replace(this.symbols.decimal,"")),qa.length===0)}constructor(qa,nd={}){this.locale=qa,this.formatter=new Intl.NumberFormat(qa,nd),this.options=this.formatter.resolvedOptions(),this.symbols=$6c7bd7858deea686$var$getSymbols(qa,this.formatter,this.options,nd);var od,ld;this.options.style==="percent"&&(((od=this.options.minimumFractionDigits)!==null&&od!==void 0?od:0)>18||((ld=this.options.maximumFractionDigits)!==null&&ld!==void 0?ld:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const $6c7bd7858deea686$var$nonLiteralParts=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),$6c7bd7858deea686$var$pluralNumbers=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function $6c7bd7858deea686$var$getSymbols(Ra,qa,nd,od){var ld,ud,dd,pd;let fd=new Intl.NumberFormat(Ra,{...nd,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),md=fd.formatToParts(-10000.111),vd=fd.formatToParts(10000.111),Ad=$6c7bd7858deea686$var$pluralNumbers.map(Zd=>fd.formatToParts(Zd));var Nd;let Id=(Nd=(ld=md.find(Zd=>Zd.type==="minusSign"))===null||ld===void 0?void 0:ld.value)!==null&&Nd!==void 0?Nd:"-",Od=(ud=vd.find(Zd=>Zd.type==="plusSign"))===null||ud===void 0?void 0:ud.value;!Od&&((od==null?void 0:od.signDisplay)==="exceptZero"||(od==null?void 0:od.signDisplay)==="always")&&(Od="+");let Ud=(dd=new Intl.NumberFormat(Ra,{...nd,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(Zd=>Zd.type==="decimal"))===null||dd===void 0?void 0:dd.value,jd=(pd=md.find(Zd=>Zd.type==="group"))===null||pd===void 0?void 0:pd.value,Ld=md.filter(Zd=>!$6c7bd7858deea686$var$nonLiteralParts.has(Zd.type)).map(Zd=>$6c7bd7858deea686$var$escapeRegex(Zd.value)),Bd=Ad.flatMap(Zd=>Zd.filter(df=>!$6c7bd7858deea686$var$nonLiteralParts.has(df.type)).map(df=>$6c7bd7858deea686$var$escapeRegex(df.value))),Gd=[...new Set([...Ld,...Bd])].sort((Zd,df)=>df.length-Zd.length),qd=Gd.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${Gd.join("|")}|[\\p{White_Space}]`,"gu"),zd=[...new Intl.NumberFormat(nd.locale,{useGrouping:!1}).format(9876543210)].reverse(),Xd=new Map(zd.map((Zd,df)=>[Zd,df])),gf=new RegExp(`[${zd.join("")}]`,"g");return{minusSign:Id,plusSign:Od,decimal:Ud,group:jd,literals:qd,numeral:gf,index:Zd=>String(Xd.get(Zd))}}function $6c7bd7858deea686$var$replaceAll(Ra,qa,nd){return Ra.replaceAll?Ra.replaceAll(qa,nd):Ra.split(qa).join(nd)}function $6c7bd7858deea686$var$escapeRegex(Ra){return Ra.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q$7(Ra,qa){const nd=typeof Ra=="string"&&!qa?`${Ra}Context`:qa,od=Symbol(nd);return[ld=>{const ud=inject(od,ld);if(ud||ud===null)return ud;throw new Error(`Injection \`${od.toString()}\` not found. Component must be used within ${Array.isArray(Ra)?`one of the following components: ${Ra.join(", ")}`:`\`${Ra}\``}`)},ld=>(provide(od,ld),ld)]}function Ht$4(Ra,qa,nd){const od=nd.originalEvent.target,ld=new CustomEvent(Ra,{bubbles:!1,cancelable:!0,detail:nd});qa&&od.addEventListener(Ra,qa,{once:!0}),od.dispatchEvent(ld)}function Wt$4(Ra,qa=Number.NEGATIVE_INFINITY,nd=Number.POSITIVE_INFINITY){return Math.min(Math.max(Ra,qa),nd)}function Ea$1(Ra,qa){let nd=Ra;const od=qa.toString(),ld=od.indexOf("."),ud=ld>=0?od.length-ld:0;if(ud>0){const dd=10**ud;nd=Math.round(nd*dd)/dd}return nd}function Nr$4(Ra,qa,nd,od){qa=Number(qa),nd=Number(nd);const ld=(Ra-(Number.isNaN(qa)?0:qa))%od;let ud=Ea$1(Math.abs(ld)*2>=od?Ra+Math.sign(ld)*(od-Math.abs(ld)):Ra-ld,od);return Number.isNaN(qa)?!Number.isNaN(nd)&&ud>nd&&(ud=Math.floor(Ea$1(nd/od,od))*od):ud<qa?ud=qa:!Number.isNaN(nd)&&ud>nd&&(ud=qa+Math.floor(Ea$1((nd-qa)/od,od))*od),ud=Ea$1(ud,od),ud}function Kt$2(Ra){return Ra==null}function Jr$4(Ra,qa){var nd;const od=shallowRef();return watchEffect(()=>{od.value=Ra()},{...qa,flush:(nd=void 0)!=null?nd:"sync"}),readonly(od)}function ht$4(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function ia$1(){const Ra=new Set,qa=nd=>{Ra.delete(nd)};return{on:nd=>{Ra.add(nd);const od=()=>qa(nd);return ht$4(od),{off:od}},off:qa,trigger:(...nd)=>Promise.all(Array.from(Ra).map(od=>od(...nd)))}}function ei$4(Ra){let qa=!1,nd;const od=effectScope(!0);return(...ld)=>(qa||(nd=od.run(()=>Ra(...ld)),qa=!0),nd)}function xl$3(Ra){let qa=0,nd,od;const ld=()=>{qa-=1,od&&qa<=0&&(od.stop(),nd=void 0,od=void 0)};return(...ud)=>(qa+=1,nd||(od=effectScope(!0),nd=od.run(()=>Ra(...ud))),ht$4(ld),nd)}function Ke$4(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function ti$4(Ra){if(!isRef(Ra))return reactive(Ra);const qa=new Proxy({},{get(nd,od,ld){return unref(Reflect.get(Ra.value,od,ld))},set(nd,od,ld){return isRef(Ra.value[od])&&!isRef(ld)?Ra.value[od].value=ld:Ra.value[od]=ld,!0},deleteProperty(nd,od){return Reflect.deleteProperty(Ra.value,od)},has(nd,od){return Reflect.has(Ra.value,od)},ownKeys(){return Object.keys(Ra.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return reactive(qa)}function Sl$3(Ra){return ti$4(computed(Ra))}const qe$3=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ai$5=Ra=>typeof Ra<"u",oi$4=Object.prototype.toString,li$4=Ra=>oi$4.call(Ra)==="[object Object]",Va$1=()=>{},zo$1=si$4();function si$4(){var Ra,qa;return qe$3&&((Ra=window==null?void 0:window.navigator)==null?void 0:Ra.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((qa=window==null?void 0:window.navigator)==null?void 0:qa.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function El$3(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const Pl$3=Ra=>Ra();function ii$5(Ra=Pl$3){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function Dl$3(Ra){return getCurrentInstance()}function $t$4(Ra,qa=1e4){return customRef((nd,od)=>{let ld=Ke$4(Ra),ud;const dd=()=>setTimeout(()=>{ld=Ke$4(Ra),od()},Ke$4(qa));return ht$4(()=>{clearTimeout(ud)}),{get(){return nd(),ld},set(pd){ld=pd,od(),clearTimeout(ud),ud=dd()}}})}function ui$4(Ra,qa,nd={}){const{eventFilter:od=Pl$3,...ld}=nd;return watch(Ra,El$3(od,qa),ld)}function Ko$2(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:dd,resume:pd,isActive:fd}=ii$5(od);return{stop:ui$4(Ra,qa,{...ld,eventFilter:ud}),pause:dd,resume:pd,isActive:fd}}function di$4(Ra,qa,...[nd]){const{flush:od="sync",deep:ld=!1,immediate:ud=!0,direction:dd="both",transform:pd={}}=nd||{},fd=[],md="ltr"in pd&&pd.ltr||(Ad=>Ad),vd="rtl"in pd&&pd.rtl||(Ad=>Ad);return(dd==="both"||dd==="ltr")&&fd.push(Ko$2(Ra,Ad=>{fd.forEach(Nd=>Nd.pause()),qa.value=md(Ad),fd.forEach(Nd=>Nd.resume())},{flush:od,deep:ld,immediate:ud})),(dd==="both"||dd==="rtl")&&fd.push(Ko$2(qa,Ad=>{fd.forEach(Nd=>Nd.pause()),Ra.value=vd(Ad),fd.forEach(Nd=>Nd.resume())},{flush:od,deep:ld,immediate:ud})),()=>{fd.forEach(Ad=>Ad.stop())}}function ci$5(Ra,qa){Dl$3()&&onBeforeUnmount(Ra,qa)}function $e$4(Ra){var qa;const nd=Ke$4(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}const qt$5=qe$3?window:void 0;function Le$6(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=qt$5):[qa,nd,od,ld]=Ra,!qa)return Va$1;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],dd=()=>{ud.forEach(vd=>vd()),ud.length=0},pd=(vd,Ad,Nd,Id)=>(vd.addEventListener(Ad,Nd,Id),()=>vd.removeEventListener(Ad,Nd,Id)),fd=watch(()=>[$e$4(qa),Ke$4(ld)],([vd,Ad])=>{if(dd(),!vd)return;const Nd=li$4(Ad)?{...Ad}:Ad;ud.push(...nd.flatMap(Id=>od.map(Od=>pd(vd,Id,Od,Nd))))},{immediate:!0,flush:"post"}),md=()=>{fd(),dd()};return ht$4(md),md}function mi$2(Ra){return typeof Ra=="function"?Ra:typeof Ra=="string"?qa=>qa.key===Ra:Array.isArray(Ra)?qa=>Ra.includes(qa.key):()=>!0}function jn$3(...Ra){let qa,nd,od={};Ra.length===3?(qa=Ra[0],nd=Ra[1],od=Ra[2]):Ra.length===2?typeof Ra[1]=="object"?(qa=!0,nd=Ra[0],od=Ra[1]):(qa=Ra[0],nd=Ra[1]):(qa=!0,nd=Ra[0]);const{target:ld=qt$5,eventName:ud="keydown",passive:dd=!1,dedupe:pd=!1}=od,fd=mi$2(qa);return Le$6(ld,ud,md=>{md.repeat&&Ke$4(pd)||fd(md)&&nd(md)},dd)}function ja$1(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function yi$3(Ra){return JSON.parse(JSON.stringify(Ra))}function ne$6(Ra,qa,nd,od={}){var ld,ud,dd;const{clone:pd=!1,passive:fd=!1,eventName:md,deep:vd=!1,defaultValue:Ad,shouldEmit:Nd}=od,Id=getCurrentInstance(),Od=nd||(Id==null?void 0:Id.emit)||((ld=Id==null?void 0:Id.$emit)==null?void 0:ld.bind(Id))||((dd=(ud=Id==null?void 0:Id.proxy)==null?void 0:ud.$emit)==null?void 0:dd.bind(Id==null?void 0:Id.proxy));let Md=md;qa||(qa="modelValue"),Md=Md||`update:${qa.toString()}`;const Ud=Bd=>pd?typeof pd=="function"?pd(Bd):yi$3(Bd):Bd,jd=()=>ai$5(Ra[qa])?Ud(Ra[qa]):Ad,Ld=Bd=>{Nd?Nd(Bd)&&Od(Md,Bd):Od(Md,Bd)};if(fd){const Bd=jd(),Gd=ref$1(Bd);let qd=!1;return watch(()=>Ra[qa],zd=>{qd||(qd=!0,Gd.value=Ud(zd),nextTick$1(()=>qd=!1))}),watch(Gd,zd=>{!qd&&(zd!==Ra[qa]||vd)&&Ld(zd)},{deep:vd}),Gd}else return computed({get(){return jd()},set(Bd){Ld(Bd)}})}function Ua$3(Ra){return Ra?Ra.flatMap(qa=>qa.type===Fragment?Ua$3(qa.children):[qa]):[]}const Ci$2=["INPUT","TEXTAREA"];function Bt$5(Ra,qa,nd,od={}){if(!qa||od.enableIgnoredElement&&Ci$2.includes(qa.nodeName))return null;const{arrowKeyOptions:ld="both",attributeName:ud="[data-radix-vue-collection-item]",itemsArray:dd=[],loop:pd=!0,dir:fd="ltr",preventScroll:md=!0,focus:vd=!1}=od,[Ad,Nd,Id,Od,Md,Ud]=[Ra.key==="ArrowRight",Ra.key==="ArrowLeft",Ra.key==="ArrowUp",Ra.key==="ArrowDown",Ra.key==="Home",Ra.key==="End"],jd=Id||Od,Ld=Ad||Nd;if(!Md&&!Ud&&(!jd&&!Ld||ld==="vertical"&&Ld||ld==="horizontal"&&jd))return null;const Bd=nd?Array.from(nd.querySelectorAll(ud)):dd;if(!Bd.length)return null;md&&Ra.preventDefault();let Gd=null;return Ld||jd?Gd=Rl$3(Bd,qa,{goForward:jd?Od:fd==="ltr"?Ad:Nd,loop:pd}):Md?Gd=Bd.at(0)||null:Ud&&(Gd=Bd.at(-1)||null),vd&&(Gd==null||Gd.focus()),Gd}function Rl$3(Ra,qa,nd,od=Ra.length){if(--od===0)return null;const ld=Ra.indexOf(qa),ud=nd.goForward?ld+1:ld-1;if(!nd.loop&&(ud<0||ud>=Ra.length))return null;const dd=(ud+Ra.length)%Ra.length,pd=Ra[dd];return pd?pd.hasAttribute("disabled")&&pd.getAttribute("disabled")!=="false"?Rl$3(Ra,pd,nd,od):pd:null}function gn$4(Ra){if(Ra===null||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa!==null&&qa!==Object.prototype&&Object.getPrototypeOf(qa)!==null||Symbol.iterator in Ra?!1:Symbol.toStringTag in Ra?Object.prototype.toString.call(Ra)==="[object Module]":!0}function Pn$4(Ra,qa,nd=".",od){if(!gn$4(qa))return Pn$4(Ra,{},nd);const ld=Object.assign({},qa);for(const ud in Ra){if(ud==="__proto__"||ud==="constructor")continue;const dd=Ra[ud];dd!=null&&(Array.isArray(dd)&&Array.isArray(ld[ud])?ld[ud]=[...dd,...ld[ud]]:gn$4(dd)&&gn$4(ld[ud])?ld[ud]=Pn$4(dd,ld[ud],(nd?`${nd}.`:"")+ud.toString()):ld[ud]=dd)}return ld}function wi$2(Ra){return(...qa)=>qa.reduce((nd,od)=>Pn$4(nd,od,""),{})}const _i$2=wi$2(),[Ga$2,xi$2]=Q$7("ConfigProvider");let Si$2="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Ei$2=(Ra=21)=>{let qa="",nd=Ra;for(;nd--;)qa+=Si$2[Math.random()*64|0];return qa};const Pi$2=xl$3(()=>{const Ra=ref$1(new Map),qa=ref$1(),nd=computed(()=>{for(const dd of Ra.value.values())if(dd)return!0;return!1}),od=Ga$2({scrollBody:ref$1(!0)});let ld=null;const ud=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=qa.value??"",zo$1&&(ld==null||ld()),qa.value=void 0};return watch(nd,(dd,pd)=>{var fd;if(!qe$3)return;if(!dd){pd&&ud();return}qa.value===void 0&&(qa.value=document.body.style.overflow);const md=window.innerWidth-document.documentElement.clientWidth,vd={padding:md,margin:0},Ad=(fd=od.scrollBody)!=null&&fd.value?typeof od.scrollBody.value=="object"?_i$2({padding:od.scrollBody.value.padding===!0?md:od.scrollBody.value.padding,margin:od.scrollBody.value.margin===!0?md:od.scrollBody.value.margin},vd):vd:{padding:0,margin:0};md>0&&(document.body.style.paddingRight=typeof Ad.padding=="number"?`${Ad.padding}px`:String(Ad.padding),document.body.style.marginRight=typeof Ad.margin=="number"?`${Ad.margin}px`:String(Ad.margin),document.body.style.setProperty("--scrollbar-width",`${md}px`),document.body.style.overflow="hidden"),zo$1&&(ld=Le$6(document,"touchmove",Nd=>Di$3(Nd),{passive:!1})),nextTick$1(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),Ra});function ha$1(Ra){const qa=Ei$2(6),nd=Pi$2();nd.value.set(qa,Ra??!1);const od=computed({get:()=>nd.value.get(qa)??!1,set:ld=>nd.value.set(qa,ld)});return ci$5(()=>{nd.value.delete(qa)}),od}function Al$3(Ra){const qa=window.getComputedStyle(Ra);if(qa.overflowX==="scroll"||qa.overflowY==="scroll"||qa.overflowX==="auto"&&Ra.clientWidth<Ra.scrollWidth||qa.overflowY==="auto"&&Ra.clientHeight<Ra.scrollHeight)return!0;{const nd=Ra.parentNode;return!nd||nd.tagName==="BODY"?!1:Al$3(nd)}}function Di$3(Ra){const qa=Ra||window.event,nd=qa.target;return Al$3(nd)?!1:qa.touches.length>1?!0:(qa.preventDefault&&qa.cancelable&&qa.preventDefault(),!1)}const $i$2="data-radix-vue-collection-item";function Me$7(Ra,qa=$i$2){const nd=Ra??Symbol();return{createCollection:od=>{const ld=ref$1([]);function ud(){const dd=$e$4(od);return dd?ld.value=Array.from(dd.querySelectorAll(`[${qa}]:not([data-disabled])`)):ld.value=[]}return onBeforeUpdate(()=>{ld.value=[]}),onMounted(ud),onUpdated(ud),watch(()=>od==null?void 0:od.value,ud,{immediate:!0}),provide(nd,ld),ld},injectCollection:()=>inject(nd,ref$1([]))}}function be$9(Ra){const qa=Ga$2({dir:ref$1("ltr")});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.dir)==null?void 0:nd.value)||"ltr"})}function Ae$6(Ra){const qa=getCurrentInstance(),nd=qa==null?void 0:qa.type.emits,od={};return nd!=null&&nd.length||console.warn(`No emitted event found. Please check component: ${qa==null?void 0:qa.type.__name}`),nd==null||nd.forEach(ld=>{od[toHandlerKey(camelize(ld))]=(...ud)=>Ra(ld,...ud)}),od}let bn$4=0;function Gn$4(){watchEffect(Ra=>{if(!qe$3)return;const qa=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",qa[0]??Ho$3()),document.body.insertAdjacentElement("beforeend",qa[1]??Ho$3()),bn$4++,Ra(()=>{bn$4===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(nd=>nd.remove()),bn$4--})})}function Ho$3(){const Ra=document.createElement("span");return Ra.setAttribute("data-radix-focus-guard",""),Ra.tabIndex=0,Ra.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Ra}function Je$4(Ra){return computed(()=>{var qa;return Ke$4(Ra)?!!((qa=$e$4(Ra))!=null&&qa.closest("form")):!0})}function It$4(Ra){const qa=getCurrentInstance(),nd=Object.keys((qa==null?void 0:qa.type.props)??{}).reduce((ld,ud)=>{const dd=(qa==null?void 0:qa.type.props[ud]).default;return dd!==void 0&&(ld[ud]=dd),ld},{}),od=toRef$1(Ra);return computed(()=>{const ld={},ud=(qa==null?void 0:qa.vnode.props)??{};return Object.keys(ud).forEach(dd=>{ld[camelize(dd)]=ud[dd]}),Object.keys({...nd,...ld}).reduce((dd,pd)=>(od.value[pd]!==void 0&&(dd[pd]=od.value[pd]),dd),{})})}function xe$5(Ra,qa){const nd=It$4(Ra),od=qa?Ae$6(qa):{};return computed(()=>({...nd.value,...od}))}function R$7(){const Ra=getCurrentInstance(),qa=ref$1(),nd=computed(()=>{var dd,pd;return["#text","#comment"].includes((dd=qa.value)==null?void 0:dd.$el.nodeName)?(pd=qa.value)==null?void 0:pd.$el.nextElementSibling:$e$4(qa)}),od=Object.assign({},Ra.exposed),ld={};for(const dd in Ra.props)Object.defineProperty(ld,dd,{enumerable:!0,configurable:!0,get:()=>Ra.props[dd]});if(Object.keys(od).length>0)for(const dd in od)Object.defineProperty(ld,dd,{enumerable:!0,configurable:!0,get:()=>od[dd]});Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>Ra.vnode.el}),Ra.exposed=ld;function ud(dd){qa.value=dd,!(dd instanceof Element||!dd)&&(Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>dd.$el}),Ra.exposed=ld)}return{forwardRef:ud,currentRef:qa,currentElement:nd}}function Ol$3(Ra,qa){const nd=$t$4(!1,300),od=ref$1(null),ld=ia$1();function ud(){od.value=null,nd.value=!1}function dd(pd,fd){const md=pd.currentTarget,vd={x:pd.clientX,y:pd.clientY},Ad=Bi$2(vd,md.getBoundingClientRect()),Nd=Ii$1(vd,Ad),Id=Ti$2(fd.getBoundingClientRect()),Od=Ai$2([...Nd,...Id]);od.value=Od,nd.value=!0}return watchEffect(pd=>{if(Ra.value&&qa.value){const fd=vd=>dd(vd,qa.value),md=vd=>dd(vd,Ra.value);Ra.value.addEventListener("pointerleave",fd),qa.value.addEventListener("pointerleave",md),pd(()=>{var vd,Ad;(vd=Ra.value)==null||vd.removeEventListener("pointerleave",fd),(Ad=qa.value)==null||Ad.removeEventListener("pointerleave",md)})}}),watchEffect(pd=>{var fd;if(od.value){const md=vd=>{var Ad,Nd;if(!od.value)return;const Id=vd.target,Od={x:vd.clientX,y:vd.clientY},Md=((Ad=Ra.value)==null?void 0:Ad.contains(Id))||((Nd=qa.value)==null?void 0:Nd.contains(Id)),Ud=!Ri$1(Od,od.value),jd=Id.hasAttribute("data-grace-area-trigger");Md?ud():(Ud||jd)&&(ud(),ld.trigger())};(fd=Ra.value)==null||fd.ownerDocument.addEventListener("pointermove",md),pd(()=>{var vd;return(vd=Ra.value)==null?void 0:vd.ownerDocument.removeEventListener("pointermove",md)})}}),{isPointerInTransit:nd,onPointerExit:ld.on}}function Bi$2(Ra,qa){const nd=Math.abs(qa.top-Ra.y),od=Math.abs(qa.bottom-Ra.y),ld=Math.abs(qa.right-Ra.x),ud=Math.abs(qa.left-Ra.x);switch(Math.min(nd,od,ld,ud)){case ud:return"left";case ld:return"right";case nd:return"top";case od:return"bottom";default:throw new Error("unreachable")}}function Ii$1(Ra,qa,nd=5){const od=[];switch(qa){case"top":od.push({x:Ra.x-nd,y:Ra.y+nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"bottom":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y-nd});break;case"left":od.push({x:Ra.x+nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"right":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x-nd,y:Ra.y+nd});break}return od}function Ti$2(Ra){const{top:qa,right:nd,bottom:od,left:ld}=Ra;return[{x:ld,y:qa},{x:nd,y:qa},{x:nd,y:od},{x:ld,y:od}]}function Ri$1(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,dd=qa.length-1;ud<qa.length;dd=ud++){const pd=qa[ud].x,fd=qa[ud].y,md=qa[dd].x,vd=qa[dd].y;fd>od!=vd>od&&nd<(md-pd)*(od-fd)/(vd-fd)+pd&&(ld=!ld)}return ld}function Ai$2(Ra){const qa=Ra.slice();return qa.sort((nd,od)=>nd.x<od.x?-1:nd.x>od.x?1:nd.y<od.y?-1:nd.y>od.y?1:0),Oi$1(qa)}function Oi$1(Ra){if(Ra.length<=1)return Ra.slice();const qa=[];for(let od=0;od<Ra.length;od++){const ld=Ra[od];for(;qa.length>=2;){const ud=qa[qa.length-1],dd=qa[qa.length-2];if((ud.x-dd.x)*(ld.y-dd.y)>=(ud.y-dd.y)*(ld.x-dd.x))qa.pop();else break}qa.push(ld)}qa.pop();const nd=[];for(let od=Ra.length-1;od>=0;od--){const ld=Ra[od];for(;nd.length>=2;){const ud=nd[nd.length-1],dd=nd[nd.length-2];if((ud.x-dd.x)*(ld.y-dd.y)>=(ud.y-dd.y)*(ld.x-dd.x))nd.pop();else break}nd.push(ld)}return nd.pop(),qa.length===1&&nd.length===1&&qa[0].x===nd[0].x&&qa[0].y===nd[0].y?qa:qa.concat(nd)}var ki$2=function(Ra){if(typeof document>"u")return null;var qa=Array.isArray(Ra)?Ra[0]:Ra;return qa.ownerDocument.body},Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={},Cn$3=0,kl$3=function(Ra){return Ra&&(Ra.host||kl$3(Ra.parentNode))},Mi$2=function(Ra,qa){return qa.map(function(nd){if(Ra.contains(nd))return nd;var od=kl$3(nd);return od&&Ra.contains(od)?od:(console.error("aria-hidden",nd,"in not contained inside",Ra,". Doing nothing"),null)}).filter(function(nd){return!!nd})},Vi$1=function(Ra,qa,nd,od){var ld=Mi$2(qa,Array.isArray(Ra)?Ra:[Ra]);Da$1[nd]||(Da$1[nd]=new WeakMap);var ud=Da$1[nd],dd=[],pd=new Set,fd=new Set(ld),md=function(Ad){!Ad||pd.has(Ad)||(pd.add(Ad),md(Ad.parentNode))};ld.forEach(md);var vd=function(Ad){!Ad||fd.has(Ad)||Array.prototype.forEach.call(Ad.children,function(Nd){if(pd.has(Nd))vd(Nd);else try{var Id=Nd.getAttribute(od),Od=Id!==null&&Id!=="false",Md=(Nt$5.get(Nd)||0)+1,Ud=(ud.get(Nd)||0)+1;Nt$5.set(Nd,Md),ud.set(Nd,Ud),dd.push(Nd),Md===1&&Od&&Pa$2.set(Nd,!0),Ud===1&&Nd.setAttribute(nd,"true"),Od||Nd.setAttribute(od,"true")}catch(jd){console.error("aria-hidden: cannot operate on ",Nd,jd)}})};return vd(qa),pd.clear(),Cn$3++,function(){dd.forEach(function(Ad){var Nd=Nt$5.get(Ad)-1,Id=ud.get(Ad)-1;Nt$5.set(Ad,Nd),ud.set(Ad,Id),Nd||(Pa$2.has(Ad)||Ad.removeAttribute(od),Pa$2.delete(Ad)),Id||Ad.removeAttribute(nd)}),Cn$3--,Cn$3||(Nt$5=new WeakMap,Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={})}},Fi$2=function(Ra,qa,nd){nd===void 0&&(nd="data-aria-hidden");var od=Array.from(Array.isArray(Ra)?Ra:[Ra]),ld=ki$2(Ra);return ld?(od.push.apply(od,Array.from(ld.querySelectorAll("[aria-live]"))),Vi$1(od,ld,nd,"aria-hidden")):function(){return null}};function ya$1(Ra){let qa;watch(()=>$e$4(Ra),nd=>{nd?qa=Fi$2(nd):qa&&qa()}),onUnmounted(()=>{qa&&qa()})}let Ni$1=0;function he$4(Ra,qa="radix"){if(Ra)return Ra;const nd=Ga$2({useId:void 0});return useId?`${qa}-${useId()}`:nd.useId?`${qa}-${nd.useId()}`:`${qa}-${++Ni$1}`}function Ml$3(Ra){const qa=ref$1(),nd=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.width)??0}),od=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.height)??0});return onMounted(()=>{const ld=$e$4(Ra);if(ld){qa.value={width:ld.offsetWidth,height:ld.offsetHeight};const ud=new ResizeObserver(dd=>{if(!Array.isArray(dd)||!dd.length)return;const pd=dd[0];let fd,md;if("borderBoxSize"in pd){const vd=pd.borderBoxSize,Ad=Array.isArray(vd)?vd[0]:vd;fd=Ad.inlineSize,md=Ad.blockSize}else fd=ld.offsetWidth,md=ld.offsetHeight;qa.value={width:fd,height:md}});return ud.observe(ld,{box:"border-box"}),()=>ud.unobserve(ld)}else qa.value=void 0}),{width:nd,height:od}}function Vl$3(Ra,qa){const nd=ref$1(Ra);function od(ld){return qa[nd.value][ld]??nd.value}return{state:nd,dispatch:ld=>{nd.value=od(ld)}}}function ga$2(Ra){const qa=$t$4("",1e3);return{search:qa,handleTypeaheadSearch:(nd,od)=>{var ld,ud;if(!(Ra!=null&&Ra.value)&&!od)return;qa.value=qa.value+nd;const dd=(Ra==null?void 0:Ra.value)??od,pd=document.activeElement,fd=((ud=(ld=dd.find(Nd=>Nd===pd))==null?void 0:ld.textContent)==null?void 0:ud.trim())??"",md=dd.map(Nd=>{var Id;return((Id=Nd.textContent)==null?void 0:Id.trim())??""}),vd=Yn$3(md,qa.value,fd),Ad=dd.find(Nd=>{var Id;return((Id=Nd.textContent)==null?void 0:Id.trim())===vd});return Ad&&Ad.focus(),Ad},resetTypeahead:()=>{qa.value=""}}}function qn$3(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}function Yn$3(Ra,qa,nd){const od=qa.length>1&&Array.from(qa).every(pd=>pd===qa[0])?qa[0]:qa,ld=nd?Ra.indexOf(nd):-1;let ud=qn$3(Ra,Math.max(ld,0));od.length===1&&(ud=ud.filter(pd=>pd!==nd));const dd=ud.find(pd=>pd.toLowerCase().startsWith(od.toLowerCase()));return dd!==nd?dd:void 0}const Xn$4=defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(Ra,{attrs:qa,slots:nd}){return()=>{var od,ld;if(!nd.default)return null;const ud=Ua$3(nd.default()),dd=ud.findIndex(vd=>vd.type!==Comment$2);if(dd===-1)return ud;const pd=ud[dd];(od=pd.props)==null||delete od.ref;const fd=pd.props?mergeProps(qa,pd.props):qa;qa.class&&(ld=pd.props)!=null&&ld.class&&delete pd.props.class;const md=cloneVNode(pd,fd);for(const vd in fd)vd.startsWith("on")&&(md.props||(md.props={}),md.props[vd]=fd[vd]);return ud.length===1?md:(ud[dd]=md,ud)}}}),O$4=defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(Ra,{attrs:qa,slots:nd}){const od=Ra.asChild?"template":Ra.as;return typeof od=="string"&&["area","img","input"].includes(od)?()=>h$2(od,qa):od!=="template"?()=>h$2(Ra.as,qa,{default:nd.default}):()=>h$2(Xn$4,qa,{default:nd.default})}});function Ie$5(){const Ra=ref$1(),qa=computed(()=>{var nd,od;return["#text","#comment"].includes((nd=Ra.value)==null?void 0:nd.$el.nodeName)?(od=Ra.value)==null?void 0:od.$el.nextElementSibling:$e$4(Ra)});return{primitiveElement:Ra,currentElement:qa}}function Wi$2(Ra,qa){const nd=ref$1({}),od=ref$1("none"),ld=Ra.value?"mounted":"unmounted",{state:ud,dispatch:dd}=Vl$3(ld,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),pd=Nd=>{var Id;if(qe$3){const Od=new CustomEvent(Nd,{bubbles:!1,cancelable:!1});(Id=qa.value)==null||Id.dispatchEvent(Od)}};watch(Ra,async(Nd,Id)=>{var Od;const Md=Id!==Nd;if(await nextTick$1(),Md){const Ud=od.value,jd=$a$2(qa.value);Nd?(dd("MOUNT"),pd("enter"),jd==="none"&&pd("after-enter")):jd==="none"||((Od=nd.value)==null?void 0:Od.display)==="none"?(dd("UNMOUNT"),pd("leave"),pd("after-leave")):Id&&Ud!==jd?(dd("ANIMATION_OUT"),pd("leave")):(dd("UNMOUNT"),pd("after-leave"))}},{immediate:!0});const fd=Nd=>{const Id=$a$2(qa.value),Od=Id.includes(Nd.animationName),Md=ud.value==="mounted"?"enter":"leave";Nd.target===qa.value&&Od&&(pd(`after-${Md}`),dd("ANIMATION_END")),Nd.target===qa.value&&Id==="none"&&dd("ANIMATION_END")},md=Nd=>{Nd.target===qa.value&&(od.value=$a$2(qa.value))},vd=watch(qa,(Nd,Id)=>{Nd?(nd.value=getComputedStyle(Nd),Nd.addEventListener("animationstart",md),Nd.addEventListener("animationcancel",fd),Nd.addEventListener("animationend",fd)):(dd("ANIMATION_END"),Id==null||Id.removeEventListener("animationstart",md),Id==null||Id.removeEventListener("animationcancel",fd),Id==null||Id.removeEventListener("animationend",fd))},{immediate:!0}),Ad=watch(ud,()=>{const Nd=$a$2(qa.value);od.value=ud.value==="mounted"?Nd:"none"});return onUnmounted(()=>{vd(),Ad()}),{isPresent:computed(()=>["mounted","unmountSuspended"].includes(ud.value))}}function $a$2(Ra){return Ra&&getComputedStyle(Ra).animationName||"none"}const Pe$7=defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(Ra,{slots:qa,expose:nd}){var od;const{present:ld,forceMount:ud}=toRefs(Ra),dd=ref$1(),{isPresent:pd}=Wi$2(ld,dd);nd({present:pd});let fd=qa.default({present:pd});fd=Ua$3(fd||[]);const md=getCurrentInstance();if(fd&&(fd==null?void 0:fd.length)>1){const vd=(od=md==null?void 0:md.parent)!=null&&od.type.name?`<${md.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${vd}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(Ad=>` - ${Ad}`).join(`
|
||
`)].join(`
|
||
`))}return()=>ud.value||ld.value||pd.value?h$2(qa.default({present:pd})[0],{ref:vd=>{const Ad=$e$4(vd);return typeof(Ad==null?void 0:Ad.hasAttribute)>"u"||(Ad!=null&&Ad.hasAttribute("data-radix-popper-content-wrapper")?dd.value=Ad.firstElementChild:dd.value=Ad),Ad}}):null}}),[et$5,Xi$1]=Q$7("DialogRoot"),Zi$2=defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ld=ref$1(),ud=ref$1(),{modal:dd}=toRefs(nd);return Xi$1({open:od,modal:dd,openModal:()=>{od.value=!0},onOpenChange:pd=>{od.value=pd},onOpenToggle:()=>{od.value=!od.value},contentId:"",titleId:"",descriptionId:"",triggerElement:ld,contentElement:ud}),(pd,fd)=>renderSlot(pd.$slots,"default",{open:unref(od)})}}),Ji$3=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=et$5(),{forwardRef:od,currentElement:ld}=R$7();return nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-dialog-content")),onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,dd)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{ref:unref(od),type:ud.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(nd).open.value||!1,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-state":unref(nd).open.value?"open":"closed",onClick:unref(nd).onOpenToggle}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),nt$4=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=ja$1();return(nd,od)=>unref(qa)||nd.forceMount?(openBlock(),createBlock(Teleport,{key:0,to:nd.to,disabled:nd.disabled},[renderSlot(nd.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),xv=defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qi$1="dismissableLayer.pointerDownOutside",eu$2="dismissableLayer.focusOutside";function zl$3(Ra,qa){const nd=qa.closest("[data-dismissable-layer]"),od=Ra.dataset.dismissableLayer===""?Ra:Ra.querySelector("[data-dismissable-layer]"),ld=Array.from(Ra.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(nd&&od===nd||ld.indexOf(od)<ld.indexOf(nd))}function Kl$3(Ra,qa){var nd;const od=((nd=qa==null?void 0:qa.value)==null?void 0:nd.ownerDocument)??(globalThis==null?void 0:globalThis.document),ld=ref$1(!1),ud=ref$1(()=>{});return watchEffect(dd=>{if(!qe$3)return;const pd=async md=>{const vd=md.target;if(qa!=null&&qa.value){if(zl$3(qa.value,vd)){ld.value=!1;return}if(md.target&&!ld.value){let Ad=function(){Ht$4(Qi$1,Ra,Nd)};const Nd={originalEvent:md};md.pointerType==="touch"?(od.removeEventListener("click",ud.value),ud.value=Ad,od.addEventListener("click",ud.value,{once:!0})):Ad()}else od.removeEventListener("click",ud.value);ld.value=!1}},fd=window.setTimeout(()=>{od.addEventListener("pointerdown",pd)},0);dd(()=>{window.clearTimeout(fd),od.removeEventListener("pointerdown",pd),od.removeEventListener("click",ud.value)})}),{onPointerDownCapture:()=>ld.value=!0}}function Hl$3(Ra,qa){var nd;const od=((nd=qa==null?void 0:qa.value)==null?void 0:nd.ownerDocument)??(globalThis==null?void 0:globalThis.document),ld=ref$1(!1);return watchEffect(ud=>{if(!qe$3)return;const dd=async pd=>{qa!=null&&qa.value&&(await nextTick$1(),!(!qa.value||zl$3(qa.value,pd.target))&&pd.target&&!ld.value&&Ht$4(eu$2,Ra,{originalEvent:pd}))};od.addEventListener("focusin",dd),ud(()=>od.removeEventListener("focusin",dd))}),{onFocusCapture:()=>ld.value=!0,onBlurCapture:()=>ld.value=!1}}const je$7=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt$3=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$7(),dd=computed(()=>{var Od;return((Od=ud.value)==null?void 0:Od.ownerDocument)??globalThis.document}),pd=computed(()=>je$7.layersRoot),fd=computed(()=>ud.value?Array.from(pd.value).indexOf(ud.value):-1),md=computed(()=>je$7.layersWithOutsidePointerEventsDisabled.size>0),vd=computed(()=>{const Od=Array.from(pd.value),[Md]=[...je$7.layersWithOutsidePointerEventsDisabled].slice(-1),Ud=Od.indexOf(Md);return fd.value>=Ud}),Ad=Kl$3(async Od=>{const Md=[...je$7.branches].some(Ud=>Ud==null?void 0:Ud.contains(Od.target));!vd.value||Md||(od("pointerDownOutside",Od),od("interactOutside",Od),await nextTick$1(),Od.defaultPrevented||od("dismiss"))},ud),Nd=Hl$3(Od=>{[...je$7.branches].some(Md=>Md==null?void 0:Md.contains(Od.target))||(od("focusOutside",Od),od("interactOutside",Od),Od.defaultPrevented||od("dismiss"))},ud);jn$3("Escape",Od=>{fd.value===pd.value.size-1&&(od("escapeKeyDown",Od),Od.defaultPrevented||od("dismiss"))});let Id;return watchEffect(Od=>{ud.value&&(nd.disableOutsidePointerEvents&&(je$7.layersWithOutsidePointerEventsDisabled.size===0&&(Id=dd.value.body.style.pointerEvents,dd.value.body.style.pointerEvents="none"),je$7.layersWithOutsidePointerEventsDisabled.add(ud.value)),pd.value.add(ud.value),Od(()=>{nd.disableOutsidePointerEvents&&je$7.layersWithOutsidePointerEventsDisabled.size===1&&(dd.value.body.style.pointerEvents=Id)}))}),watchEffect(Od=>{Od(()=>{ud.value&&(pd.value.delete(ud.value),je$7.layersWithOutsidePointerEventsDisabled.delete(ud.value))})}),(Od,Md)=>(openBlock(),createBlock(unref(O$4),{ref:unref(ld),"as-child":Od.asChild,as:Od.as,"data-dismissable-layer":"",style:normalizeStyle({pointerEvents:md.value?vd.value?"auto":"none":void 0}),onFocusCapture:unref(Nd).onFocusCapture,onBlurCapture:unref(Nd).onBlurCapture,onPointerdownCapture:unref(Ad).onPointerDownCapture},{default:withCtx(()=>[renderSlot(Od.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),wn$3="focusScope.autoFocusOnMount",_n$3="focusScope.autoFocusOnUnmount",Wo$2={bubbles:!1,cancelable:!0};function Oa$3(Ra,{select:qa=!1}={}){const nd=document.activeElement;for(const od of Ra)if(ct$4(od,{select:qa}),document.activeElement!==nd)return!0}function au$4(Ra){const qa=Jn$4(Ra),nd=jo$2(qa,Ra),od=jo$2(qa.reverse(),Ra);return[nd,od]}function Jn$4(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>{const ld=od.tagName==="INPUT"&&od.type==="hidden";return od.disabled||od.hidden||ld?NodeFilter.FILTER_SKIP:od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}function jo$2(Ra,qa){for(const nd of Ra)if(!nu$4(nd,{upTo:qa}))return nd}function nu$4(Ra,{upTo:qa}){if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa!==void 0&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1}function ou$3(Ra){return Ra instanceof HTMLInputElement&&"select"in Ra}function ct$4(Ra,{select:qa=!1}={}){if(Ra&&Ra.focus){const nd=document.activeElement;Ra.focus({preventScroll:!0}),Ra!==nd&&ou$3(Ra)&&qa&&Ra.select()}}const lu$3=ei$4(()=>ref$1([]));function su$3(){const Ra=lu$3();return{add(qa){const nd=Ra.value[0];qa!==nd&&(nd==null||nd.pause()),Ra.value=Uo$3(Ra.value,qa),Ra.value.unshift(qa)},remove(qa){var nd;Ra.value=Uo$3(Ra.value,qa),(nd=Ra.value[0])==null||nd.resume()}}}function Uo$3(Ra,qa){const nd=[...Ra],od=nd.indexOf(qa);return od!==-1&&nd.splice(od,1),nd}function ru$3(Ra){return Ra.filter(qa=>qa.tagName!=="A")}const Ya$2=defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{currentRef:ld,currentElement:ud}=R$7(),dd=ref$1(null),pd=su$3(),fd=reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});watchEffect(vd=>{if(!qe$3)return;const Ad=ud.value;if(!nd.trapped)return;function Nd(Ud){if(fd.paused||!Ad)return;const jd=Ud.target;Ad.contains(jd)?dd.value=jd:ct$4(dd.value,{select:!0})}function Id(Ud){if(fd.paused||!Ad)return;const jd=Ud.relatedTarget;jd!==null&&(Ad.contains(jd)||ct$4(dd.value,{select:!0}))}function Od(Ud){Ad.contains(dd.value)||ct$4(Ad)}document.addEventListener("focusin",Nd),document.addEventListener("focusout",Id);const Md=new MutationObserver(Od);Ad&&Md.observe(Ad,{childList:!0,subtree:!0}),vd(()=>{document.removeEventListener("focusin",Nd),document.removeEventListener("focusout",Id),Md.disconnect()})}),watchEffect(async vd=>{const Ad=ud.value;if(await nextTick$1(),!Ad)return;pd.add(fd);const Nd=document.activeElement;if(!Ad.contains(Nd)){const Id=new CustomEvent(wn$3,Wo$2);Ad.addEventListener(wn$3,Od=>od("mountAutoFocus",Od)),Ad.dispatchEvent(Id),Id.defaultPrevented||(Oa$3(ru$3(Jn$4(Ad)),{select:!0}),document.activeElement===Nd&&ct$4(Ad))}vd(()=>{Ad.removeEventListener(wn$3,Md=>od("mountAutoFocus",Md));const Id=new CustomEvent(_n$3,Wo$2),Od=Md=>{od("unmountAutoFocus",Md)};Ad.addEventListener(_n$3,Od),Ad.dispatchEvent(Id),setTimeout(()=>{Id.defaultPrevented||ct$4(Nd??document.body,{select:!0}),Ad.removeEventListener(_n$3,Od),pd.remove(fd)},0)})});function md(vd){if(!nd.loop&&!nd.trapped||fd.paused)return;const Ad=vd.key==="Tab"&&!vd.altKey&&!vd.ctrlKey&&!vd.metaKey,Nd=document.activeElement;if(Ad&&Nd){const Id=vd.currentTarget,[Od,Md]=au$4(Id);Od&&Md?!vd.shiftKey&&Nd===Md?(vd.preventDefault(),nd.loop&&ct$4(Od,{select:!0})):vd.shiftKey&&Nd===Od&&(vd.preventDefault(),nd.loop&&ct$4(Md,{select:!0})):Nd===Id&&vd.preventDefault()}}return(vd,Ad)=>(openBlock(),createBlock(unref(O$4),{ref_key:"currentRef",ref:ld,tabindex:"-1","as-child":vd.asChild,as:vd.as,onKeydown:md},{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},8,["as-child","as"]))}}),iu$2="menu.itemSelect",Dn$3=["Enter"," "],uu$4=["ArrowDown","PageUp","Home"],Wl$3=["ArrowUp","PageDown","End"],du$3=[...uu$4,...Wl$3],cu$4={ltr:[...Dn$3,"ArrowRight"],rtl:[...Dn$3,"ArrowLeft"]},pu$3={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function Qn$4(Ra){return Ra?"open":"closed"}function Fa$1(Ra){return Ra==="indeterminate"}function eo$2(Ra){return Fa$1(Ra)?"indeterminate":Ra?"checked":"unchecked"}function $n$4(Ra){const qa=document.activeElement;for(const nd of Ra)if(nd===qa||(nd.focus(),document.activeElement!==qa))return}function fu$2(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,dd=qa.length-1;ud<qa.length;dd=ud++){const pd=qa[ud].x,fd=qa[ud].y,md=qa[dd].x,vd=qa[dd].y;fd>od!=vd>od&&nd<(md-pd)*(od-fd)/(vd-fd)+pd&&(ld=!ld)}return ld}function vu$3(Ra,qa){if(!qa)return!1;const nd={x:Ra.clientX,y:Ra.clientY};return fu$2(nd,qa)}function ua$2(Ra){return Ra.pointerType==="mouse"}const jl$3=defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),{forwardRef:ud,currentElement:dd}=R$7();return ld.titleId||(ld.titleId=he$4(void 0,"radix-vue-dialog-title")),ld.descriptionId||(ld.descriptionId=he$4(void 0,"radix-vue-dialog-description")),onMounted(()=>{ld.contentElement=dd,document.activeElement!==document.body&&(ld.triggerElement.value=document.activeElement)}),(pd,fd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:nd.trapFocus,onMountAutoFocus:fd[5]||(fd[5]=md=>od("openAutoFocus",md)),onUnmountAutoFocus:fd[6]||(fd[6]=md=>od("closeAutoFocus",md))},{default:withCtx(()=>[createVNode(unref(yt$3),mergeProps({id:unref(ld).contentId,ref:unref(ud),as:pd.as,"as-child":pd.asChild,"disable-outside-pointer-events":pd.disableOutsidePointerEvents,role:"dialog","aria-describedby":unref(ld).descriptionId,"aria-labelledby":unref(ld).titleId,"data-state":unref(Qn$4)(unref(ld).open.value)},pd.$attrs,{onDismiss:fd[0]||(fd[0]=md=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:fd[1]||(fd[1]=md=>od("escapeKeyDown",md)),onFocusOutside:fd[2]||(fd[2]=md=>od("focusOutside",md)),onInteractOutside:fd[3]||(fd[3]=md=>od("interactOutside",md)),onPointerDownOutside:fd[4]||(fd[4]=md=>od("pointerDownOutside",md))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),gu$2=defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:dd,currentElement:pd}=R$7();return ya$1(pd),(fd,md)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(ud)},{ref:unref(dd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:md[0]||(md[0]=vd=>{var Ad;vd.defaultPrevented||(vd.preventDefault(),(Ad=unref(ld).triggerElement.value)==null||Ad.focus())}),onPointerDownOutside:md[1]||(md[1]=vd=>{const Ad=vd.detail.originalEvent,Nd=Ad.button===0&&Ad.ctrlKey===!0;(Ad.button===2||Nd)&&vd.preventDefault()}),onFocusOutside:md[2]||(md[2]=vd=>{vd.preventDefault()})}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["trap-focus"]))}}),bu$3=defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$7();const ld=et$5(),ud=ref$1(!1),dd=ref$1(!1);return(pd,fd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(od)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;md.defaultPrevented||(ud.value||(vd=unref(ld).triggerElement.value)==null||vd.focus(),md.preventDefault()),ud.value=!1,dd.value=!1}),onInteractOutside:fd[1]||(fd[1]=md=>{var vd;md.defaultPrevented||(ud.value=!0,md.detail.originalEvent.type==="pointerdown"&&(dd.value=!0));const Ad=md.target;(vd=unref(ld).triggerElement.value)!=null&&vd.contains(Ad)&&md.preventDefault(),md.detail.originalEvent.type==="focusin"&&dd.value&&md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),Cu$3=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:dd}=R$7();return(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:pd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(gu$2,mergeProps({key:0,ref:unref(dd)},{...nd,...unref(ud),...pd.$attrs}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(bu$3,mergeProps({key:1,ref:unref(dd)},{...nd,...unref(ud),...pd.$attrs}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),wu$3=defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5();return ha$1(!0),R$7(),(nd,od)=>(openBlock(),createBlock(unref(O$4),{as:nd.as,"as-child":nd.asChild,"data-state":unref(qa).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),_u$3=defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5(),{forwardRef:nd}=R$7();return(od,ld)=>{var ud;return(ud=unref(qa))!=null&&ud.modal.value?(openBlock(),createBlock(unref(Pe$7),{key:0,present:od.forceMount||unref(qa).open.value},{default:withCtx(()=>[createVNode(wu$3,mergeProps(od.$attrs,{ref:unref(nd),as:od.as,"as-child":od.asChild}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):createCommentVNode("",!0)}}}),Ul$3=defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;R$7();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{type:od.as==="button"?"button":void 0,onClick:ld[0]||(ld[0]=ud=>unref(nd).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["type"]))}}),xu$2=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra,nd=et$5();return R$7(),(od,ld)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{id:unref(nd).titleId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Su$2=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;R$7();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{id:unref(nd).descriptionId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Sv=defineComponent({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);return R$7(),(od,ld)=>(openBlock(),createBlock(unref(Zi$2),mergeProps(unref(nd),{modal:!0}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),Pv=defineComponent({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Eu$3,Pu$2]=Q$7("AlertDialogContent"),Dv=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$7();const ld=ref$1();return Pu$2({onCancelElementChange:ud=>{ld.value=ud}}),(ud,dd)=>(openBlock(),createBlock(unref(Cu$3),mergeProps({...nd,...unref(od)},{role:"alertdialog",onPointerDownOutside:dd[0]||(dd[0]=withModifiers(()=>{},["prevent"])),onInteractOutside:dd[1]||(dd[1]=withModifiers(()=>{},["prevent"])),onOpenAutoFocus:dd[2]||(dd[2]=()=>{nextTick$1(()=>{var pd;(pd=ld.value)==null||pd.focus({preventScroll:!0})})})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),$v=defineComponent({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(_u$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Bv=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eu$3(),{forwardRef:od,currentElement:ld}=R$7();return onMounted(()=>{nd.onCancelElementChange(ld.value)}),(ud,dd)=>(openBlock(),createBlock(unref(Ul$3),mergeProps(qa,{ref:unref(od)}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),Iv=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(xu$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Tv=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(Su$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Rv=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(Ul$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Xl$3,Ju$3]=Q$7("PopperRoot"),Tt$4=defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(Ra){const qa=ref$1();return Ju$3({anchor:qa,onAnchorChange:nd=>qa.value=nd}),(nd,od)=>renderSlot(nd.$slots,"default")}}),Rt$5=defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd,currentElement:od}=R$7(),ld=Xl$3();return watchEffect(()=>{ld.onAnchorChange(qa.element??od.value)}),(ud,dd)=>(openBlock(),createBlock(unref(O$4),{ref:unref(nd),as:ud.as,"as-child":ud.asChild},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as","as-child"]))}});function Qu$3(Ra){return Ra!==null}function ed(Ra){return{name:"transformOrigin",options:Ra,fn(qa){var nd,od,ld;const{placement:ud,rects:dd,middlewareData:pd}=qa,fd=((nd=pd.arrow)==null?void 0:nd.centerOffset)!==0,md=fd?0:Ra.arrowWidth,vd=fd?0:Ra.arrowHeight,[Ad,Nd]=Bn$3(ud),Id={start:"0%",center:"50%",end:"100%"}[Nd],Od=(((od=pd.arrow)==null?void 0:od.x)??0)+md/2,Md=(((ld=pd.arrow)==null?void 0:ld.y)??0)+vd/2;let Ud="",jd="";return Ad==="bottom"?(Ud=fd?Id:`${Od}px`,jd=`${-vd}px`):Ad==="top"?(Ud=fd?Id:`${Od}px`,jd=`${dd.floating.height+vd}px`):Ad==="right"?(Ud=`${-vd}px`,jd=fd?Id:`${Md}px`):Ad==="left"&&(Ud=`${dd.floating.width+vd}px`,jd=fd?Id:`${Md}px`),{data:{x:Ud,y:jd}}}}}function Bn$3(Ra){const[qa,nd="center"]=Ra.split("-");return[qa,nd]}const Zl$3={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[td,ad$1]=Q$7("PopperContent"),Dt$4=defineComponent({inheritAttrs:!1,__name:"PopperContent",props:mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Xl$3(),{forwardRef:ud,currentElement:dd}=R$7(),pd=ref$1(),fd=ref$1(),{width:md,height:vd}=Ml$3(fd),Ad=computed(()=>nd.side+(nd.align!=="center"?`-${nd.align}`:"")),Nd=computed(()=>typeof nd.collisionPadding=="number"?nd.collisionPadding:{top:0,right:0,bottom:0,left:0,...nd.collisionPadding}),Id=computed(()=>Array.isArray(nd.collisionBoundary)?nd.collisionBoundary:[nd.collisionBoundary]),Od=computed(()=>({padding:Nd.value,boundary:Id.value.filter(Qu$3),altBoundary:Id.value.length>0})),Md=Jr$4(()=>[offset({mainAxis:nd.sideOffset+vd.value,alignmentAxis:nd.alignOffset}),nd.prioritizePosition&&nd.avoidCollisions&&flip({...Od.value}),nd.avoidCollisions&&shift({mainAxis:!0,crossAxis:!!nd.prioritizePosition,limiter:nd.sticky==="partial"?limitShift():void 0,...Od.value}),!nd.prioritizePosition&&nd.avoidCollisions&&flip({...Od.value}),size({...Od.value,apply:({elements:Zd,rects:df,availableWidth:Ef,availableHeight:_f})=>{const{width:xf,height:vf}=df.reference,Af=Zd.floating.style;Af.setProperty("--radix-popper-available-width",`${Ef}px`),Af.setProperty("--radix-popper-available-height",`${_f}px`),Af.setProperty("--radix-popper-anchor-width",`${xf}px`),Af.setProperty("--radix-popper-anchor-height",`${vf}px`)}}),fd.value&&arrow({element:fd.value,padding:nd.arrowPadding}),ed({arrowWidth:md.value,arrowHeight:vd.value}),nd.hideWhenDetached&&hide({strategy:"referenceHidden",...Od.value})]),{floatingStyles:Ud,placement:jd,isPositioned:Ld,middlewareData:Bd}=useFloating(ld.anchor,pd,{strategy:"fixed",placement:Ad,whileElementsMounted:(...Zd)=>autoUpdate(...Zd,{animationFrame:nd.updatePositionStrategy==="always"}),middleware:Md}),Gd=computed(()=>Bn$3(jd.value)[0]),qd=computed(()=>Bn$3(jd.value)[1]);watchPostEffect(()=>{Ld.value&&od("placed")});const zd=computed(()=>{var Zd;return((Zd=Bd.value.arrow)==null?void 0:Zd.centerOffset)!==0}),Xd=ref$1("");watchEffect(()=>{dd.value&&(Xd.value=window.getComputedStyle(dd.value).zIndex)});const gf=computed(()=>{var Zd;return((Zd=Bd.value.arrow)==null?void 0:Zd.x)??0}),Yd=computed(()=>{var Zd;return((Zd=Bd.value.arrow)==null?void 0:Zd.y)??0});return ad$1({placedSide:Gd,onArrowChange:Zd=>fd.value=Zd,arrowX:gf,arrowY:Yd,shouldHideArrow:zd}),(Zd,df)=>{var Ef,_f,xf;return openBlock(),createElementBlock("div",{ref_key:"floatingRef",ref:pd,"data-radix-popper-content-wrapper":"",style:normalizeStyle({...unref(Ud),transform:unref(Ld)?unref(Ud).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Xd.value,"--radix-popper-transform-origin":[(Ef=unref(Bd).transformOrigin)==null?void 0:Ef.x,(_f=unref(Bd).transformOrigin)==null?void 0:_f.y].join(" "),...((xf=unref(Bd).hide)==null?void 0:xf.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[createVNode(unref(O$4),mergeProps({ref:unref(ud)},Zd.$attrs,{"as-child":nd.asChild,as:Zd.as,"data-side":Gd.value,"data-align":qd.value,style:{animation:unref(Ld)?void 0:"none"}}),{default:withCtx(()=>[renderSlot(Zd.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Zt$4=defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return R$7(),(qa,nd)=>(openBlock(),createBlock(unref(O$4),{as:qa.as,"as-child":qa.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:withCtx(()=>[renderSlot(qa.$slots,"default")]),_:3},8,["as","as-child"]))}}),sd="data-radix-vue-collection-item",[ao$2,rd]=Q$7("CollectionProvider");function ba$3(Ra=sd){const qa=ref$1(new Map),nd=ref$1(),od=rd({collectionRef:nd,itemMap:qa,attrName:Ra}),{getItems:ld}=Qt$4(od),ud=computed(()=>Array.from(od.itemMap.value.values())),dd=computed(()=>od.itemMap.value.size);return{getItems:ld,reactiveItems:ud,itemMapSize:dd}}const Ca$1=defineComponent({name:"CollectionSlot",setup(Ra,{slots:qa}){const nd=ao$2(),{primitiveElement:od,currentElement:ld}=Ie$5();return watch(ld,()=>{nd.collectionRef.value=ld.value}),()=>h$2(Xn$4,{ref:od},qa)}}),Jt$5=defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(Ra,{slots:qa,attrs:nd}){const od=ao$2(),{primitiveElement:ld,currentElement:ud}=Ie$5();return watchEffect(dd=>{if(ud.value){const pd=markRaw(ud.value);od.itemMap.value.set(pd,{ref:ud.value,value:Ra.value}),dd(()=>od.itemMap.value.delete(pd))}}),()=>h$2(Xn$4,{...nd,[od.attrName]:"",ref:ld},qa)}});function Qt$4(Ra){const qa=Ra??ao$2();return{getItems:()=>{const nd=qa.collectionRef.value;if(!nd)return[];const od=Array.from(nd.querySelectorAll(`[${qa.attrName}]`));return Array.from(qa.itemMap.value.values()).sort((ld,ud)=>od.indexOf(ld.ref)-od.indexOf(ud.ref))}}}function Xa$2(Ra){const qa=Ga$2({nonce:ref$1()});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.nonce)==null?void 0:nd.value)})}const Za$1=defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Rt$5),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function hd(){const Ra=ref$1(!1);return onMounted(()=>{Le$6("keydown",()=>{Ra.value=!0},{capture:!0,passive:!0}),Le$6(["pointerdown","pointermove"],()=>{Ra.value=!1},{capture:!0,passive:!0})}),Ra}const yd=xl$3(hd),[At$5,Ql$3]=Q$7(["MenuRoot","MenuSub"],"MenuContext"),[wa$1,gd]=Q$7("MenuRoot"),oo$4=defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{modal:ld,dir:ud}=toRefs(nd),dd=be$9(ud),pd=ne$6(nd,"open",od),fd=ref$1(),md=yd();return Ql$3({open:pd,onOpenChange:vd=>{pd.value=vd},content:fd,onContentChange:vd=>{fd.value=vd}}),gd({onClose:()=>{pd.value=!1},isUsingKeyboardRef:md,dir:dd,modal:ld}),(vd,Ad)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3}))}}),bd$1="rovingFocusGroup.onEntryFocus",Cd={bubbles:!1,cancelable:!0},Ja={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function wd(Ra,qa){return qa!=="rtl"?Ra:Ra==="ArrowLeft"?"ArrowRight":Ra==="ArrowRight"?"ArrowLeft":Ra}function es$2(Ra,qa,nd){const od=wd(Ra.key,nd);if(!(qa==="vertical"&&["ArrowLeft","ArrowRight"].includes(od))&&!(qa==="horizontal"&&["ArrowUp","ArrowDown"].includes(od)))return Ja[od]}function ts$1(Ra,qa=!1,nd){const od=(nd==null?void 0:nd.activeElement)??document.activeElement;for(const ld of Ra)if(ld===od||(ld.focus({preventScroll:qa}),document.activeElement!==od))return}function _d(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}const[xd,Sd]=Q$7("RovingFocusGroup"),Ot$4=defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(Ra,{expose:qa,emit:nd}){const od=Ra,ld=nd,{loop:ud,orientation:dd,dir:pd}=toRefs(od),fd=be$9(pd),md=ne$6(od,"currentTabStopId",ld,{defaultValue:od.defaultCurrentTabStopId,passive:od.currentTabStopId===void 0}),vd=ref$1(!1),Ad=ref$1(!1),Nd=ref$1(0),{getItems:Id}=ba$3();function Od(Ud){const jd=!Ad.value;if(Ud.currentTarget&&Ud.target===Ud.currentTarget&&jd&&!vd.value){const Ld=new CustomEvent(bd$1,Cd);if(Ud.currentTarget.dispatchEvent(Ld),ld("entryFocus",Ld),!Ld.defaultPrevented){const Bd=Id().map(Xd=>Xd.ref).filter(Xd=>Xd.dataset.disabled!==""),Gd=Bd.find(Xd=>Xd.getAttribute("data-active")==="true"),qd=Bd.find(Xd=>Xd.id===md.value),zd=[Gd,qd,...Bd].filter(Boolean);ts$1(zd,od.preventScrollOnEntryFocus)}}Ad.value=!1}function Md(){setTimeout(()=>{Ad.value=!1},1)}return qa({getItems:Id}),Sd({loop:ud,dir:fd,orientation:dd,currentTabStopId:md,onItemFocus:Ud=>{md.value=Ud},onItemShiftTab:()=>{vd.value=!0},onFocusableItemAdd:()=>{Nd.value++},onFocusableItemRemove:()=>{Nd.value--}}),(Ud,jd)=>(openBlock(),createBlock(unref(Ca$1),null,{default:withCtx(()=>[createVNode(unref(O$4),{tabindex:vd.value||Nd.value===0?-1:0,"data-orientation":unref(dd),as:Ud.as,"as-child":Ud.asChild,dir:unref(fd),style:{outline:"none"},onMousedown:jd[0]||(jd[0]=Ld=>Ad.value=!0),onMouseup:Md,onFocus:Od,onBlur:jd[1]||(jd[1]=Ld=>vd.value=!1)},{default:withCtx(()=>[renderSlot(Ud.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),kt$4=defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=xd(),od=computed(()=>qa.tabStopId||he$4()),ld=computed(()=>nd.currentTabStopId.value===od.value),{getItems:ud}=Qt$4(),{primitiveElement:dd,currentElement:pd}=Ie$5(),fd=computed(()=>{var vd;return(vd=pd.value)==null?void 0:vd.getRootNode()});onMounted(()=>{qa.focusable&&nd.onFocusableItemAdd()}),onUnmounted(()=>{qa.focusable&&nd.onFocusableItemRemove()});function md(vd){if(vd.key==="Tab"&&vd.shiftKey){nd.onItemShiftTab();return}if(vd.target!==vd.currentTarget)return;const Ad=es$2(vd,nd.orientation.value,nd.dir.value);if(Ad!==void 0){if(vd.metaKey||vd.ctrlKey||vd.altKey||!qa.allowShiftKey&&vd.shiftKey)return;vd.preventDefault();let Nd=[...ud().map(Id=>Id.ref).filter(Id=>Id.dataset.disabled!=="")];if(Ad==="last")Nd.reverse();else if(Ad==="prev"||Ad==="next"){Ad==="prev"&&Nd.reverse();const Id=Nd.indexOf(vd.currentTarget);Nd=nd.loop.value?_d(Nd,Id+1):Nd.slice(Id+1)}nextTick$1(()=>ts$1(Nd,!1,fd.value))}}return(vd,Ad)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$4),{ref_key:"primitiveElement",ref:dd,tabindex:ld.value?0:-1,"data-orientation":unref(nd).orientation.value,"data-active":vd.active,"data-disabled":vd.focusable?void 0:"",as:vd.as,"as-child":vd.asChild,onMousedown:Ad[0]||(Ad[0]=Nd=>{vd.focusable?unref(nd).onItemFocus(od.value):Nd.preventDefault()}),onFocus:Ad[1]||(Ad[1]=Nd=>unref(nd).onItemFocus(od.value)),onKeydown:md},{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[lo$3,Ed]=Q$7("MenuContent"),so$2=defineComponent({__name:"MenuContentImpl",props:mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=At$5(),ud=wa$1(),{trapFocus:dd,disableOutsidePointerEvents:pd,loop:fd}=toRefs(nd);Gn$4(),ha$1(pd.value);const md=ref$1(""),vd=ref$1(0),Ad=ref$1(0),Nd=ref$1(null),Id=ref$1("right"),Od=ref$1(0),Md=ref$1(null),{createCollection:Ud}=Me$7(),{forwardRef:jd,currentElement:Ld}=R$7(),Bd=Ud(Ld);watch(Ld,Zd=>{ld.onContentChange(Zd)});const{handleTypeaheadSearch:Gd}=ga$2(Bd);onUnmounted(()=>{window.clearTimeout(vd.value)});function qd(Zd){var df,Ef;return Id.value===((df=Nd.value)==null?void 0:df.side)&&vu$3(Zd,(Ef=Nd.value)==null?void 0:Ef.area)}async function zd(Zd){var df;od("openAutoFocus",Zd),!Zd.defaultPrevented&&(Zd.preventDefault(),(df=Ld.value)==null||df.focus({preventScroll:!0}))}function Xd(Zd){if(Zd.defaultPrevented)return;const df=Zd.target.closest("[data-radix-menu-content]")===Zd.currentTarget,Ef=Zd.ctrlKey||Zd.altKey||Zd.metaKey,_f=Zd.key.length===1,xf=Bt$5(Zd,document.activeElement,Ld.value,{loop:fd.value,arrowKeyOptions:"vertical",dir:ud==null?void 0:ud.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(xf)return xf==null?void 0:xf.focus();if(Zd.code==="Space"||(df&&(Zd.key==="Tab"&&Zd.preventDefault(),!Ef&&_f&&Gd(Zd.key)),Zd.target!==Ld.value)||!du$3.includes(Zd.key))return;Zd.preventDefault();const vf=Bd.value;Wl$3.includes(Zd.key)&&vf.reverse(),$n$4(vf)}function gf(Zd){var df,Ef;(Ef=(df=Zd==null?void 0:Zd.currentTarget)==null?void 0:df.contains)!=null&&Ef.call(df,Zd.target)||(window.clearTimeout(vd.value),md.value="")}function Yd(Zd){var df;if(!ua$2(Zd))return;const Ef=Zd.target,_f=Od.value!==Zd.clientX;if((df=Zd==null?void 0:Zd.currentTarget)!=null&&df.contains(Ef)&&_f){const xf=Zd.clientX>Od.value?"right":"left";Id.value=xf,Od.value=Zd.clientX}}return Ed({onItemEnter:Zd=>!!qd(Zd),onItemLeave:Zd=>{var df;qd(Zd)||((df=Ld.value)==null||df.focus(),Md.value=null)},onTriggerLeave:Zd=>!!qd(Zd),searchRef:md,pointerGraceTimerRef:Ad,onPointerGraceIntentChange:Zd=>{Nd.value=Zd}}),(Zd,df)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",trapped:unref(dd),onMountAutoFocus:zd,onUnmountAutoFocus:df[7]||(df[7]=Ef=>od("closeAutoFocus",Ef))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":unref(pd),onEscapeKeyDown:df[2]||(df[2]=Ef=>od("escapeKeyDown",Ef)),onPointerDownOutside:df[3]||(df[3]=Ef=>od("pointerDownOutside",Ef)),onFocusOutside:df[4]||(df[4]=Ef=>od("focusOutside",Ef)),onInteractOutside:df[5]||(df[5]=Ef=>od("interactOutside",Ef)),onDismiss:df[6]||(df[6]=Ef=>od("dismiss"))},{default:withCtx(()=>[createVNode(unref(Ot$4),{"current-tab-stop-id":Md.value,"onUpdate:currentTabStopId":df[0]||(df[0]=Ef=>Md.value=Ef),"as-child":"",orientation:"vertical",dir:unref(ud).dir.value,loop:unref(fd),onEntryFocus:df[1]||(df[1]=Ef=>{od("entryFocus",Ef),unref(ud).isUsingKeyboardRef.value||Ef.preventDefault()})},{default:withCtx(()=>[createVNode(unref(Dt$4),{ref:unref(jd),role:"menu",as:Zd.as,"as-child":Zd.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":unref(Qn$4)(unref(ld).open.value),dir:unref(ud).dir.value,side:Zd.side,"side-offset":Zd.sideOffset,align:Zd.align,"align-offset":Zd.alignOffset,"avoid-collisions":Zd.avoidCollisions,"collision-boundary":Zd.collisionBoundary,"collision-padding":Zd.collisionPadding,"arrow-padding":Zd.arrowPadding,"prioritize-position":Zd.prioritizePosition,sticky:Zd.sticky,"hide-when-detached":Zd.hideWhenDetached,onKeydown:Xd,onBlur:gf,onPointermove:Yd},{default:withCtx(()=>[renderSlot(Zd.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),as$2=defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=lo$3(),{forwardRef:od}=R$7(),ld=ref$1(!1);async function ud(pd){if(!pd.defaultPrevented&&ua$2(pd)){if(qa.disabled)nd.onItemLeave(pd);else if(!nd.onItemEnter(pd)){const fd=pd.currentTarget;fd==null||fd.focus({preventScroll:!0})}}}async function dd(pd){await nextTick$1(),!pd.defaultPrevented&&ua$2(pd)&&nd.onItemLeave(pd)}return(pd,fd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$4),mergeProps({ref:unref(od),role:"menuitem",tabindex:"-1"},pd.$attrs,{as:pd.as,"as-child":pd.asChild,"data-radix-vue-collection-item":"","aria-disabled":pd.disabled||void 0,"data-disabled":pd.disabled?"":void 0,"data-highlighted":ld.value?"":void 0,onPointermove:ud,onPointerleave:dd,onFocus:fd[0]||(fd[0]=async md=>{await nextTick$1(),!(md.defaultPrevented||pd.disabled)&&(ld.value=!0)}),onBlur:fd[1]||(fd[1]=async md=>{await nextTick$1(),!md.defaultPrevented&&(ld.value=!1)})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3}))}}),_a$3=defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$7(),dd=wa$1(),pd=lo$3(),fd=ref$1(!1);async function md(){const vd=ud.value;if(!nd.disabled&&vd){const Ad=new CustomEvent(iu$2,{bubbles:!0,cancelable:!0});od("select",Ad),await nextTick$1(),Ad.defaultPrevented?fd.value=!1:dd.onClose()}}return(vd,Ad)=>(openBlock(),createBlock(as$2,mergeProps(nd,{ref:unref(ld),onClick:md,onPointerdown:Ad[0]||(Ad[0]=()=>{fd.value=!0}),onPointerup:Ad[1]||(Ad[1]=async Nd=>{var Id;await nextTick$1(),!Nd.defaultPrevented&&(fd.value||(Id=Nd.currentTarget)==null||Id.click())}),onKeydown:Ad[2]||(Ad[2]=async Nd=>{const Id=unref(pd).searchRef.value!=="";vd.disabled||Id&&Nd.key===" "||unref(Dn$3).includes(Nd.key)&&(Nd.currentTarget.click(),Nd.preventDefault())})}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16))}}),[Pd,ns$2]=Q$7(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext"),ro$2=defineComponent({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Pd({checked:ref$1(!1)});return(nd,od)=>(openBlock(),createBlock(unref(Pe$7),{present:nd.forceMount||unref(Fa$1)(unref(qa).checked.value)||unref(qa).checked.value===!0},{default:withCtx(()=>[createVNode(unref(O$4),{as:nd.as,"as-child":nd.asChild,"data-state":unref(eo$2)(unref(qa).checked.value)},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),io$3=defineComponent({__name:"MenuCheckboxItem",props:{checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"checked",od);return ns$2({checked:ld}),(ud,dd)=>(openBlock(),createBlock(_a$3,mergeProps({role:"menuitemcheckbox"},nd,{"aria-checked":unref(Fa$1)(unref(ld))?"mixed":unref(ld),"data-state":unref(eo$2)(unref(ld)),onSelect:dd[0]||(dd[0]=async pd=>{od("select",pd),unref(Fa$1)(unref(ld))?ld.value=!0:ld.value=!unref(ld)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default",{checked:unref(ld)})]),_:3},16,["aria-checked","data-state"]))}}),Dd=defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=xe$5(nd,od),ud=At$5(),{forwardRef:dd,currentElement:pd}=R$7();return ya$1(pd),(fd,md)=>(openBlock(),createBlock(so$2,mergeProps(unref(ld),{ref:unref(dd),"trap-focus":unref(ud).open.value,"disable-outside-pointer-events":unref(ud).open.value,"disable-outside-scroll":!0,onDismiss:md[0]||(md[0]=vd=>unref(ud).onOpenChange(!1)),onFocusOutside:md[1]||(md[1]=withModifiers(vd=>od("focusOutside",vd),["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),$d$1=defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5();return(ld,ud)=>(openBlock(),createBlock(so$2,mergeProps(unref(nd),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:ud[0]||(ud[0]=dd=>unref(od).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),uo$3=defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1();return(ud,dd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(od).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Dd,normalizeProps(mergeProps({key:0},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)):(openBlock(),createBlock($d$1,normalizeProps(mergeProps({key:1},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),po$2=defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),mo$3=defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{role:"separator","aria-orientation":"horizontal"}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[os$2,Td]=Q$7("MenuSub"),ho$2=defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:!1,passive:nd.open===void 0}),ld=At$5(),ud=ref$1(),dd=ref$1();return watchEffect(pd=>{(ld==null?void 0:ld.open.value)===!1&&(od.value=!1),pd(()=>od.value=!1)}),Ql$3({open:od,onOpenChange:pd=>{od.value=pd},content:dd,onContentChange:pd=>{dd.value=pd}}),Td({triggerId:"",contentId:"",trigger:ud,onTriggerChange:pd=>{ud.value=pd}}),(pd,fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3}))}}),yo$3=defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1(),ud=os$2(),{forwardRef:dd,currentElement:pd}=R$7();return ud.contentId||(ud.contentId=he$4(void 0,"radix-vue-menu-sub-content")),(fd,md)=>(openBlock(),createBlock(unref(Pe$7),{present:fd.forceMount||unref(od).open.value},{default:withCtx(()=>[createVNode(so$2,mergeProps(unref(nd),{id:unref(ud).contentId,ref:unref(dd),"aria-labelledby":unref(ud).triggerId,align:"start",side:unref(ld).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:md[0]||(md[0]=withModifiers(vd=>{var Ad;unref(ld).isUsingKeyboardRef.value&&((Ad=unref(pd))==null||Ad.focus())},["prevent"])),onCloseAutoFocus:md[1]||(md[1]=withModifiers(()=>{},["prevent"])),onFocusOutside:md[2]||(md[2]=vd=>{vd.defaultPrevented||vd.target!==unref(ud).trigger.value&&unref(od).onOpenChange(!1)}),onEscapeKeyDown:md[3]||(md[3]=vd=>{unref(ld).onClose(),vd.preventDefault()}),onKeydown:md[4]||(md[4]=vd=>{var Ad,Nd;const Id=(Ad=vd.currentTarget)==null?void 0:Ad.contains(vd.target),Od=unref(pu$3)[unref(ld).dir.value].includes(vd.key);Id&&Od&&(unref(od).onOpenChange(!1),(Nd=unref(ud).trigger.value)==null||Nd.focus(),vd.preventDefault())})}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),go$3=defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=At$5(),od=wa$1(),ld=os$2(),ud=lo$3(),dd=ref$1(null);ld.triggerId||(ld.triggerId=he$4(void 0,"radix-vue-menu-sub-trigger"));function pd(){dd.value&&window.clearTimeout(dd.value),dd.value=null}onUnmounted(()=>{pd()});function fd(Ad){!ua$2(Ad)||ud.onItemEnter(Ad)||!qa.disabled&&!nd.open.value&&!dd.value&&(ud.onPointerGraceIntentChange(null),dd.value=window.setTimeout(()=>{nd.onOpenChange(!0),pd()},100))}async function md(Ad){var Nd,Id;if(!ua$2(Ad))return;pd();const Od=(Nd=nd.content.value)==null?void 0:Nd.getBoundingClientRect();if(Od!=null&&Od.width){const Md=(Id=nd.content.value)==null?void 0:Id.dataset.side,Ud=Md==="right",jd=Ud?-5:5,Ld=Od[Ud?"left":"right"],Bd=Od[Ud?"right":"left"];ud.onPointerGraceIntentChange({area:[{x:Ad.clientX+jd,y:Ad.clientY},{x:Ld,y:Od.top},{x:Bd,y:Od.top},{x:Bd,y:Od.bottom},{x:Ld,y:Od.bottom}],side:Md}),window.clearTimeout(ud.pointerGraceTimerRef.value),ud.pointerGraceTimerRef.value=window.setTimeout(()=>ud.onPointerGraceIntentChange(null),300)}else{if(ud.onTriggerLeave(Ad))return;ud.onPointerGraceIntentChange(null)}}async function vd(Ad){var Nd;const Id=ud.searchRef.value!=="";qa.disabled||Id&&Ad.key===" "||cu$4[od.dir.value].includes(Ad.key)&&(nd.onOpenChange(!0),await nextTick$1(),(Nd=nd.content.value)==null||Nd.focus(),Ad.preventDefault())}return(Ad,Nd)=>(openBlock(),createBlock(Za$1,{"as-child":""},{default:withCtx(()=>[createVNode(as$2,mergeProps(qa,{id:unref(ld).triggerId,ref:Id=>{var Od;(Od=unref(ld))==null||Od.onTriggerChange(Id==null?void 0:Id.$el)},"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(ld).contentId,"data-state":unref(Qn$4)(unref(nd).open.value),onClick:Nd[0]||(Nd[0]=async Id=>{qa.disabled||Id.defaultPrevented||(Id.currentTarget.focus(),unref(nd).open.value||unref(nd).onOpenChange(!0))}),onPointermove:fd,onPointerleave:md,onKeydown:vd}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[ls$2,Rd]=Q$7("ContextMenuRoot"),em$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuRoot",props:{dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{dir:ld,modal:ud}=toRefs(nd);R$7();const dd=be$9(ld),pd=ref$1(!1);return Rd({open:pd,onOpenChange:fd=>{pd.value=fd},dir:dd,modal:ud}),watch(pd,fd=>{od("update:open",fd)}),(fd,md)=>(openBlock(),createBlock(unref(oo$4),{open:pd.value,"onUpdate:open":md[0]||(md[0]=vd=>pd.value=vd),dir:unref(dd),modal:unref(ud)},{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},8,["open","dir","modal"]))}});function Go$2(Ra){return Ra.pointerType!=="mouse"}const tm$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",props:{disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),{forwardRef:od}=R$7(),ld=ls$2(),ud=ref$1({x:0,y:0}),dd=computed(()=>({getBoundingClientRect:()=>({width:0,height:0,left:ud.value.x,right:ud.value.x,top:ud.value.y,bottom:ud.value.y,...ud.value})})),pd=ref$1(0);function fd(){window.clearTimeout(pd.value)}function md(Id){ud.value={x:Id.clientX,y:Id.clientY},ld.onOpenChange(!0)}async function vd(Id){nd.value||(await nextTick$1(),Id.defaultPrevented||(fd(),md(Id),Id.preventDefault()))}async function Ad(Id){nd.value||(await nextTick$1(),Go$2(Id)&&!Id.defaultPrevented&&(fd(),pd.value=window.setTimeout(()=>md(Id),700)))}async function Nd(Id){nd.value||(await nextTick$1(),Go$2(Id)&&!Id.defaultPrevented&&fd())}return(Id,Od)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Za$1),{as:"template",element:dd.value},null,8,["element"]),createVNode(unref(O$4),mergeProps({ref:unref(od),as:Id.as,"as-child":Id.asChild,"data-state":unref(ld).open.value?"open":"closed","data-disabled":unref(nd)?"":void 0,style:{WebkitTouchCallout:"none"}},Id.$attrs,{onContextmenu:vd,onPointerdown:Ad,onPointermove:Nd,onPointercancel:Nd,onPointerup:Nd}),{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),am$1=defineComponent({__name:"ContextMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),nm$1=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{default:0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const od=ls$2(),ld=ref$1(!1);return(ud,dd)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{side:"right","side-offset":2,align:"start",style:{"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:dd[0]||(dd[0]=pd=>{!pd.defaultPrevented&&ld.value&&pd.preventDefault(),ld.value=!1}),onInteractOutside:dd[1]||(dd[1]=pd=>{!pd.defaultPrevented&&!unref(od).modal.value&&(ld.value=!0)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),lm=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),rm$1=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[is$4,oc$2]=Q$7("DropdownMenuRoot"),ah$1=defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$7();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ud=ref$1(),{modal:dd,dir:pd}=toRefs(nd),fd=be$9(pd);return oc$2({open:ld,onOpenChange:md=>{ld.value=md},onOpenToggle:()=>{ld.value=!ld.value},triggerId:"",triggerElement:ud,contentId:"",modal:dd,dir:fd}),(md,vd)=>(openBlock(),createBlock(unref(oo$4),{open:unref(ld),"onUpdate:open":vd[0]||(vd[0]=Ad=>isRef(ld)?ld.value=Ad:null),dir:unref(fd),modal:unref(dd)},{default:withCtx(()=>[renderSlot(md.$slots,"default",{open:unref(ld)})]),_:3},8,["open","dir","modal"]))}}),nh=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=is$4(),{forwardRef:od,currentElement:ld}=R$7();return onMounted(()=>{nd.triggerElement=ld}),nd.triggerId||(nd.triggerId=he$4(void 0,"radix-vue-dropdown-menu-trigger")),(ud,dd)=>(openBlock(),createBlock(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{id:unref(nd).triggerId,ref:unref(od),type:ud.as==="button"?"button":void 0,"as-child":qa.asChild,as:ud.as,"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-disabled":ud.disabled?"":void 0,disabled:ud.disabled,"data-state":unref(nd).open.value?"open":"closed",onClick:dd[0]||(dd[0]=async pd=>{var fd;!ud.disabled&&pd.button===0&&pd.ctrlKey===!1&&((fd=unref(nd))==null||fd.onOpenToggle(),await nextTick$1(),unref(nd).open.value&&pd.preventDefault())}),onKeydown:dd[1]||(dd[1]=withKeys(pd=>{ud.disabled||(["Enter"," "].includes(pd.key)&&unref(nd).onOpenToggle(),pd.key==="ArrowDown"&&unref(nd).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(pd.key)&&pd.preventDefault())},["enter","space","arrow-down"]))},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),oh=defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),lh=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const od=is$4(),ld=ref$1(!1);function ud(dd){dd.defaultPrevented||(ld.value||setTimeout(()=>{var pd;(pd=od.triggerElement.value)==null||pd.focus()},0),ld.value=!1,dd.preventDefault())}return od.contentId||(od.contentId=he$4(void 0,"radix-vue-dropdown-menu-content")),(dd,pd)=>{var fd;return openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(od).contentId,"aria-labelledby":(fd=unref(od))==null?void 0:fd.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:ud,onInteractOutside:pd[0]||(pd[0]=md=>{var vd;if(md.defaultPrevented)return;const Ad=md.detail.originalEvent,Nd=Ad.button===0&&Ad.ctrlKey===!0,Id=Ad.button===2||Nd;(!unref(od).modal.value||Id)&&(ld.value=!0),(vd=unref(od).triggerElement.value)!=null&&vd.contains(md.target)&&md.preventDefault()})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),rh=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),[wo$2,rc$3]=Q$7("HoverCardRoot"),Eh=defineComponent({__name:"HoverCardRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},openDelay:{default:700},closeDelay:{default:300}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{openDelay:ld,closeDelay:ud}=toRefs(nd);R$7();const dd=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),pd=ref$1(0),fd=ref$1(0),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1(!1),Nd=ref$1();function Id(){clearTimeout(fd.value),pd.value=window.setTimeout(()=>dd.value=!0,ld.value)}function Od(){clearTimeout(pd.value),!md.value&&!vd.value&&(fd.value=window.setTimeout(()=>dd.value=!1,ud.value))}function Md(){dd.value=!1}return rc$3({open:dd,onOpenChange(Ud){dd.value=Ud},onOpen:Id,onClose:Od,onDismiss:Md,hasSelectionRef:md,isPointerDownOnContentRef:vd,isPointerInTransitRef:Ad,triggerElement:Nd}),(Ud,jd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(Ud.$slots,"default",{open:unref(dd)})]),_:3}))}});function Tn$3(Ra){return qa=>qa.pointerType==="touch"?void 0:Ra()}function ic$2(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}const Ph=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{default:"a"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$7(),od=wo$2();od.triggerElement=nd;function ld(){setTimeout(()=>{!od.isPointerInTransitRef.value&&!od.open.value&&od.onClose()},0)}return(ud,dd)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{ref:unref(qa),"as-child":ud.asChild,as:ud.as,"data-state":unref(od).open.value?"open":"closed","data-grace-area-trigger":"",onPointerenter:dd[0]||(dd[0]=pd=>unref(Tn$3)(unref(od).onOpen)(pd)),onPointerleave:dd[1]||(dd[1]=pd=>unref(Tn$3)(ld)(pd)),onFocus:dd[2]||(dd[2]=pd=>unref(od).onOpen()),onBlur:dd[3]||(dd[3]=pd=>unref(od).onClose())},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as-child","as","data-state"])]),_:3}))}}),Dh=defineComponent({__name:"HoverCardPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),uc$3=defineComponent({__name:"HoverCardContentImpl",props:{side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=It$4(nd),{forwardRef:ud,currentElement:dd}=R$7(),pd=wo$2(),{isPointerInTransit:fd,onPointerExit:md}=Ol$3(pd.triggerElement,dd);di$4(pd.isPointerInTransitRef,fd,{direction:"rtl"}),md(()=>{pd.onClose()});const vd=ref$1(!1);let Ad;watchEffect(Id=>{if(vd.value){const Od=document.body;Ad=Od.style.userSelect||Od.style.webkitUserSelect,Od.style.userSelect="none",Od.style.webkitUserSelect="none",Id(()=>{Od.style.userSelect=Ad,Od.style.webkitUserSelect=Ad})}});function Nd(){vd.value=!1,pd.isPointerDownOnContentRef.value=!1,nextTick$1(()=>{var Id;((Id=document.getSelection())==null?void 0:Id.toString())!==""&&(pd.hasSelectionRef.value=!0)})}return onMounted(()=>{dd.value&&(document.addEventListener("pointerup",Nd),ic$2(dd.value).forEach(Id=>Id.setAttribute("tabindex","-1")))}),onUnmounted(()=>{document.removeEventListener("pointerup",Nd),pd.hasSelectionRef.value=!1,pd.isPointerDownOnContentRef.value=!1}),(Id,Od)=>(openBlock(),createBlock(unref(yt$3),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:Od[1]||(Od[1]=Md=>od("escapeKeyDown",Md)),onPointerDownOutside:Od[2]||(Od[2]=Md=>od("pointerDownOutside",Md)),onFocusOutside:Od[3]||(Od[3]=withModifiers(Md=>od("focusOutside",Md),["prevent"])),onDismiss:unref(pd).onDismiss},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps({...unref(ld),...Id.$attrs},{ref:unref(ud),"data-state":unref(pd).open.value?"open":"closed",style:{userSelect:vd.value?"text":void 0,WebkitUserSelect:vd.value?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"},onPointerdown:Od[0]||(Od[0]=Md=>{Md.currentTarget.contains(Md.target)&&(vd.value=!0),unref(pd).hasSelectionRef.value=!1,unref(pd).isPointerDownOnContentRef.value=!0})}),{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["onDismiss"]))}}),$h=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),{forwardRef:od}=R$7(),ld=wo$2();return(ud,dd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(ld).open.value},{default:withCtx(()=>[createVNode(uc$3,mergeProps(unref(nd),{ref:unref(od),onPointerenter:dd[0]||(dd[0]=pd=>unref(Tn$3)(unref(ld).onOpen)(pd))}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),Ih=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{onMousedown:od[0]||(od[0]=ld=>{!ld.defaultPrevented&&ld.detail>1&&ld.preventDefault()})}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[tn$4,Ic$2]=Q$7("MenubarRoot"),Nh=defineComponent({__name:"MenubarRoot",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$7(),{createCollection:dd}=Me$7("menubar");dd(ud);const pd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue??"",passive:nd.modelValue===void 0}),fd=ref$1(null),{dir:md,loop:vd}=toRefs(nd),Ad=be$9(md);return Ic$2({modelValue:pd,dir:Ad,loop:vd,onMenuOpen:Nd=>{pd.value=Nd,fd.value=Nd},onMenuClose:()=>{pd.value=""},onMenuToggle:Nd=>{pd.value=pd.value?"":Nd,fd.value=Nd}}),(Nd,Id)=>(openBlock(),createBlock(unref(Ot$4),{"current-tab-stop-id":fd.value,"onUpdate:currentTabStopId":Id[0]||(Id[0]=Od=>fd.value=Od),orientation:"horizontal",loop:unref(vd),dir:unref(Ad),"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{ref:unref(ld),role:"menubar"},{default:withCtx(()=>[renderSlot(Nd.$slots,"default",{modelValue:unref(pd)})]),_:3},512)]),_:3},8,["current-tab-stop-id","loop","dir"]))}}),[_o$2,Tc$1]=Q$7("MenubarMenu"),Lh=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=he$4(Ra.value),nd=tn$4();R$7();const od=ref$1(),ld=ref$1(!1),ud=computed(()=>nd.modelValue.value===qa);return watch(ud,()=>{ud.value||(ld.value=!1)}),Tc$1({value:qa,triggerElement:od,triggerId:qa,contentId:"",wasKeyboardTriggerOpenRef:ld}),(dd,pd)=>(openBlock(),createBlock(unref(oo$4),{open:ud.value,modal:!1,dir:unref(nd).dir.value,"onUpdate:open":pd[0]||(pd[0]=fd=>{fd||unref(nd).onMenuClose()})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["open","dir"]))}}),zh=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=tn$4(),nd=_o$2(),{forwardRef:od,currentElement:ld}=R$7(),ud=ref$1(!1),dd=computed(()=>qa.modelValue.value===nd.value);return onMounted(()=>{nd.triggerElement=ld}),(pd,fd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!pd.disabled,"tab-stop-id":unref(nd).value},{default:withCtx(()=>[createVNode(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{id:unref(nd).triggerId,ref:unref(od),as:pd.as,type:pd.as==="button"?"button":void 0,role:"menuitem","aria-haspopup":"menu","aria-expanded":dd.value,"aria-controls":dd.value?unref(nd).contentId:void 0,"data-highlighted":ud.value?"":void 0,"data-state":dd.value?"open":"closed","data-disabled":pd.disabled?"":void 0,disabled:pd.disabled,"data-value":unref(nd).value,"data-radix-vue-collection-item":"",onPointerdown:fd[0]||(fd[0]=md=>{!pd.disabled&&md.button===0&&md.ctrlKey===!1&&(unref(qa).onMenuOpen(unref(nd).value),dd.value||md.preventDefault())}),onPointerenter:fd[1]||(fd[1]=()=>{var md;unref(qa).modelValue.value&&!dd.value&&(unref(qa).onMenuOpen(unref(nd).value),(md=unref(ld))==null||md.focus())}),onKeydown:fd[2]||(fd[2]=withKeys(md=>{pd.disabled||(["Enter"," "].includes(md.key)&&unref(qa).onMenuToggle(unref(nd).value),md.key==="ArrowDown"&&unref(qa).onMenuOpen(unref(nd).value),["Enter"," ","ArrowDown"].includes(md.key)&&(unref(nd).wasKeyboardTriggerOpenRef.value=!0,md.preventDefault()))},["enter","space","arrow-down"])),onFocus:fd[3]||(fd[3]=md=>ud.value=!0),onBlur:fd[4]||(fd[4]=md=>ud.value=!1)},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["id","as","type","aria-expanded","aria-controls","data-highlighted","data-state","data-disabled","disabled","data-value"])]),_:3})]),_:3},8,["focusable","tab-stop-id"]))}}),Kh=defineComponent({__name:"MenubarPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Hh=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const od=tn$4(),ld=_o$2();ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-menubar-content"));const{injectCollection:ud}=Me$7("menubar"),dd=ud(),pd=ref$1(!1);function fd(md){const vd=md.target.hasAttribute("data-radix-menubar-subtrigger"),Ad=(od.dir.value==="rtl"?"ArrowRight":"ArrowLeft")===md.key;if(!Ad&&vd)return;let Nd=dd.value.map(Md=>Md.dataset.value);Ad&&Nd.reverse();const Id=Nd.indexOf(ld.value);Nd=od.loop.value?qn$3(Nd,Id+1):Nd.slice(Id+1);const[Od]=Nd;Od&&od.onMenuOpen(Od)}return(md,vd)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(ld).contentId,"data-radix-menubar-content":"","aria-labelledby":unref(ld).triggerId,style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:vd[0]||(vd[0]=Ad=>{var Nd;!unref(od).modelValue.value&&!pd.value&&((Nd=unref(ld).triggerElement.value)==null||Nd.focus()),pd.value=!1,Ad.preventDefault()}),onFocusOutside:vd[1]||(vd[1]=Ad=>{const Nd=Ad.target;unref(dd).some(Id=>Id.contains(Nd))&&Ad.preventDefault()}),onInteractOutside:vd[2]||(vd[2]=Ad=>{pd.value=!0}),onEntryFocus:vd[3]||(vd[3]=Ad=>{unref(ld).wasKeyboardTriggerOpenRef.value||Ad.preventDefault()}),onKeydown:withKeys(fd,["arrow-right","arrow-left"])}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),jh=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Gh=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),qh=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$7(),(ld,ud)=>(openBlock(),createBlock(unref(io$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Yh=defineComponent({__name:"MenubarItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(ro$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qh=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$7();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen??!1,passive:nd.open===void 0});return(ud,dd)=>(openBlock(),createBlock(unref(ho$2),{open:unref(ld),"onUpdate:open":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null)},{default:withCtx(()=>[renderSlot(ud.$slots,"default",{open:unref(ld)})]),_:3},8,["open"]))}}),ey=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$7();const{injectCollection:od}=Me$7("menubar"),ld=tn$4(),ud=_o$2(),dd=od();function pd(fd){if(fd.target.hasAttribute("data-radix-menubar-subtrigger"))return;let md=dd.value.map(Nd=>Nd.dataset.value);const vd=md.indexOf(ud.value);md=ld.loop.value?qn$3(md,vd+1):md.slice(vd+1);const[Ad]=md;Ad&&ld.onMenuOpen(Ad)}return(fd,md)=>(openBlock(),createBlock(unref(yo$3),mergeProps(unref(nd),{"data-radix-menubar-content":"",style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onKeydown:withKeys(pd,["arrow-right"])}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16))}}),ty=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$7(),(nd,od)=>(openBlock(),createBlock(unref(go$3),mergeProps(qa,{"data-radix-menubar-subtrigger":""}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function ms$3(Ra){const{disabled:qa}=Ra,nd=ref$1(),od=ia$1(),ld=()=>window.clearTimeout(nd.value),ud=Nd=>{ld(),!qa.value&&(od.trigger(),nd.value=window.setTimeout(()=>{ud(60)},Nd))},dd=()=>{ud(400)},pd=()=>{ld()},fd=ref$1(!1),md=computed(()=>$e$4(Ra.target)),vd=Nd=>{Nd.button!==0||fd.value||(Nd.preventDefault(),fd.value=!0,dd())},Ad=()=>{fd.value=!1,pd()};return qe$3&&(Le$6(md||window,"pointerdown",vd),Le$6(window,"pointerup",Ad),Le$6(window,"pointercancel",Ad)),{isPressed:fd,onTrigger:od.on}}function Yo$2(Ra,qa=ref$1({})){return Sl$3(()=>new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(Ra.value,qa.value))}function Vc$2(Ra,qa=ref$1({})){return Sl$3(()=>new $6c7bd7858deea686$export$cd11ab140839f11d(Ra.value,qa.value))}function Xo$2(Ra,qa,nd){let od=Ra==="+"?qa+nd:qa-nd;if(qa%1!==0||nd%1!==0){const ld=qa.toString().split("."),ud=nd.toString().split("."),dd=ld[1]&&ld[1].length||0,pd=ud[1]&&ud[1].length||0,fd=10**Math.max(dd,pd);qa=Math.round(qa*fd),nd=Math.round(nd*fd),od=Ra==="+"?qa+nd:qa-nd,od/=fd}return od}const Fc$2=["value","name","disabled","required"],[Eo$2,Nc$2]=Q$7("NumberFieldRoot"),cy$1=defineComponent({inheritAttrs:!1,__name:"NumberFieldRoot",props:{defaultValue:{default:void 0},modelValue:{},min:{},max:{},step:{default:1},formatOptions:{},locale:{default:"en-US"},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{default:"div"}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld,min:ud,max:dd,step:pd,locale:fd,formatOptions:md,id:vd}=toRefs(nd),Ad=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),{primitiveElement:Nd,currentElement:Id}=Ie$5(),Od=Je$4(Id),Md=ref$1(),Ud=computed(()=>_f(Ad.value)===ud.value||(ud.value&&!isNaN(Ad.value)?Xo$2("-",Ad.value,pd.value)<ud.value:!1)),jd=computed(()=>_f(Ad.value)===dd.value||(dd.value&&!isNaN(Ad.value)?Xo$2("+",Ad.value,pd.value)>dd.value:!1));function Ld(vf,Af=1){var Df;const jf=Xd.parse(((Df=Md.value)==null?void 0:Df.value)??"");nd.disabled||(isNaN(jf)?Ad.value=ud.value??0:vf==="increase"?Ad.value=_f(jf+(pd.value??1)*Af):Ad.value=_f(jf-(pd.value??1)*Af))}function Bd(vf=1){Ld("increase",vf)}function Gd(vf=1){Ld("decrease",vf)}function qd(vf){vf==="min"&&ud.value!==void 0?Ad.value=_f(ud.value):vf==="max"&&dd.value!==void 0&&(Ad.value=_f(dd.value))}const zd=Yo$2(fd,md),Xd=Vc$2(fd,md),gf=computed(()=>zd.resolvedOptions().maximumFractionDigits>0?"decimal":"numeric"),Yd=Yo$2(fd,md),Zd=computed(()=>isNaN(Ad.value)?"":Yd.format(Ad.value));function df(vf){return Xd.isValidPartialNumber(vf,ud.value,dd.value)}function Ef(vf){Md.value&&(Md.value.value=vf)}function _f(vf){let Af;return pd.value===void 0||isNaN(pd.value)?Af=Wt$4(vf,ud.value,dd.value):Af=Nr$4(vf,ud.value,dd.value,pd.value),Af=Xd.parse(zd.format(Af)),Af}function xf(vf){const Af=Xd.parse(vf);return Ad.value=_f(Af),vf.length?Ef(Zd.value):Ef(vf)}return Nc$2({modelValue:Ad,handleDecrease:Gd,handleIncrease:Bd,handleMinMaxValue:qd,inputMode:gf,inputEl:Md,onInputElement:vf=>Md.value=vf,textValue:Zd,validate:df,applyInputValue:xf,disabled:ld,max:dd,min:ud,isDecreaseDisabled:Ud,isIncreaseDisabled:jd,id:vd}),(vf,Af)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps(vf.$attrs,{ref_key:"primitiveElement",ref:Nd,role:"group",as:vf.as,"as-child":vf.asChild,"data-disabled":unref(ld)?"":void 0}),{default:withCtx(()=>[renderSlot(vf.$slots,"default",{modelValue:unref(Ad),textValue:Zd.value})]),_:3},16,["as","as-child","data-disabled"]),unref(Od)?(openBlock(),createElementBlock("input",{key:0,type:"text",tabindex:"-1","aria-hidden":"true",value:unref(Ad),name:nd.name,disabled:nd.disabled,required:nd.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Fc$2)):createCommentVNode("",!0)],64))}}),py$1=defineComponent({__name:"NumberFieldInput",props:{asChild:{type:Boolean},as:{default:"input"}},setup(Ra){const qa=Ra,{primitiveElement:nd,currentElement:od}=Ie$5(),ld=Eo$2();function ud(dd){dd.target===document.activeElement&&(Math.abs(dd.deltaY)<=Math.abs(dd.deltaX)||(dd.preventDefault(),dd.deltaY>0?ld.handleIncrease():dd.deltaY<0&&ld.handleDecrease()))}return onMounted(()=>{ld.onInputElement(od.value)}),(dd,pd)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{id:unref(ld).id.value,ref_key:"primitiveElement",ref:nd,role:"spinbutton",type:"text",tabindex:"0",value:unref(ld).textValue.value,inputmode:unref(ld).inputMode.value,disabled:unref(ld).disabled.value?"":void 0,"data-disabled":unref(ld).disabled.value?"":void 0,autocomplete:"off",autocorrect:"off",spellcheck:"false","aria-roledescription":"Number field","aria-valuenow":unref(ld).modelValue.value,"aria-valuemin":unref(ld).min.value,"aria-valuemax":unref(ld).max.value,onKeydown:[pd[0]||(pd[0]=withKeys(withModifiers(fd=>unref(ld).handleIncrease(),["prevent"]),["up"])),pd[1]||(pd[1]=withKeys(withModifiers(fd=>unref(ld).handleDecrease(),["prevent"]),["down"])),pd[2]||(pd[2]=withKeys(withModifiers(fd=>unref(ld).handleIncrease(10),["prevent"]),["page-up"])),pd[3]||(pd[3]=withKeys(withModifiers(fd=>unref(ld).handleDecrease(10),["prevent"]),["page-down"])),pd[4]||(pd[4]=withKeys(withModifiers(fd=>unref(ld).handleMinMaxValue("min"),["prevent"]),["home"])),pd[5]||(pd[5]=withKeys(withModifiers(fd=>unref(ld).handleMinMaxValue("max"),["prevent"]),["end"])),pd[7]||(pd[7]=withKeys(fd=>{var md;return unref(ld).applyInputValue((md=fd.target)==null?void 0:md.value)},["enter"]))],onWheel:ud,onBeforeinput:pd[6]||(pd[6]=fd=>{const md=fd.target;let vd=md.value.slice(0,md.selectionStart??void 0)+(fd.data??"")+md.value.slice(md.selectionEnd??void 0);unref(ld).validate(vd)||fd.preventDefault()}),onBlur:pd[8]||(pd[8]=fd=>{var md;return unref(ld).applyInputValue((md=fd.target)==null?void 0:md.value)})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","value","inputmode","disabled","data-disabled","aria-valuenow","aria-valuemin","aria-valuemax"]))}}),fy$1=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var fd;return((fd=nd.disabled)==null?void 0:fd.value)||qa.disabled||nd.isIncreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:dd,onTrigger:pd}=ms$3({target:ud,disabled:od});return pd(()=>{nd.handleIncrease()}),(fd,md)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Increase",type:fd.as==="button"?"button":void 0,style:{userSelect:unref(dd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(dd)?"true":void 0,onContextmenu:md[0]||(md[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),vy$1=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var fd;return((fd=nd.disabled)==null?void 0:fd.value)||qa.disabled||nd.isDecreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:dd,onTrigger:pd}=ms$3({target:ud,disabled:od});return pd(()=>{nd.handleDecrease()}),(fd,md)=>(openBlock(),createBlock(unref(O$4),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Decrease",type:fd.as==="button"?"button":void 0,style:{userSelect:unref(dd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(dd)?"true":void 0,onContextmenu:md[0]||(md[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),[Vt$4,Uc$2]=Q$7("PopoverRoot"),hs$1=defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{modal:ld}=toRefs(nd),ud=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),dd=ref$1(),pd=ref$1(!1);return Uc$2({contentId:"",modal:ld,open:ud,onOpenChange:fd=>{ud.value=fd},onOpenToggle:()=>{ud.value=!ud.value},triggerElement:dd,hasCustomAnchor:pd}),(fd,md)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(fd.$slots,"default",{open:unref(ud)})]),_:3}))}}),ys$3=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Vt$4(),{forwardRef:od,currentElement:ld}=R$7();return onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,dd)=>(openBlock(),createBlock(resolveDynamicComponent(unref(nd).hasCustomAnchor.value?unref(O$4):unref(Rt$5)),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$4),{ref:unref(od),type:ud.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(nd).open.value,"aria-controls":unref(nd).contentId,"data-state":unref(nd).open.value?"open":"closed",as:ud.as,"as-child":qa.asChild,onClick:unref(nd).onOpenToggle},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),gs$4=defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),bs$3=defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=It$4(nd),{forwardRef:ud}=R$7(),dd=Vt$4();return Gn$4(),(pd,fd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:pd.trapFocus,onMountAutoFocus:fd[5]||(fd[5]=md=>od("openAutoFocus",md)),onUnmountAutoFocus:fd[6]||(fd[6]=md=>od("closeAutoFocus",md))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":pd.disableOutsidePointerEvents,onPointerDownOutside:fd[0]||(fd[0]=md=>od("pointerDownOutside",md)),onInteractOutside:fd[1]||(fd[1]=md=>od("interactOutside",md)),onEscapeKeyDown:fd[2]||(fd[2]=md=>od("escapeKeyDown",md)),onFocusOutside:fd[3]||(fd[3]=md=>od("focusOutside",md)),onDismiss:fd[4]||(fd[4]=md=>unref(dd).onOpenChange(!1))},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps(unref(ld),{id:unref(dd).contentId,ref:unref(ud),"data-state":unref(dd).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Gc$2=defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=ref$1(!1);ha$1(!0);const dd=xe$5(nd,od),{forwardRef:pd,currentElement:fd}=R$7();return ya$1(fd),(md,vd)=>(openBlock(),createBlock(bs$3,mergeProps(unref(dd),{ref:unref(pd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:vd[0]||(vd[0]=withModifiers(Ad=>{var Nd;od("closeAutoFocus",Ad),ud.value||(Nd=unref(ld).triggerElement.value)==null||Nd.focus()},["prevent"])),onPointerDownOutside:vd[1]||(vd[1]=Ad=>{od("pointerDownOutside",Ad);const Nd=Ad.detail.originalEvent,Id=Nd.button===0&&Nd.ctrlKey===!0,Od=Nd.button===2||Id;ud.value=Od}),onFocusOutside:vd[2]||(vd[2]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16,["trap-focus"]))}}),qc$1=defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=ref$1(!1),dd=ref$1(!1),pd=xe$5(nd,od);return(fd,md)=>(openBlock(),createBlock(bs$3,mergeProps(unref(pd),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:md[0]||(md[0]=vd=>{var Ad;od("closeAutoFocus",vd),vd.defaultPrevented||(ud.value||(Ad=unref(ld).triggerElement.value)==null||Ad.focus(),vd.preventDefault()),ud.value=!1,dd.value=!1}),onInteractOutside:md[1]||(md[1]=async vd=>{var Ad;od("interactOutside",vd),vd.defaultPrevented||(ud.value=!0,vd.detail.originalEvent.type==="pointerdown"&&(dd.value=!0));const Nd=vd.target;(Ad=unref(ld).triggerElement.value)!=null&&Ad.contains(Nd)&&vd.preventDefault(),vd.detail.originalEvent.type==="focusin"&&dd.value&&vd.preventDefault()})}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16))}}),Cs$2=defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=xe$5(nd,od),{forwardRef:dd}=R$7();return ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-popover-content")),(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:pd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Gc$2,mergeProps({key:0},unref(ud),{ref:unref(dd)}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(qc$1,mergeProps({key:1},unref(ud),{ref:unref(dd)}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Tp$1=["default-value"],Rp$1=defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(Ra){const qa=Ra,{value:nd}=toRefs(qa),od=ref$1();return(ld,ud)=>(openBlock(),createBlock(unref(Zt$4),{"as-child":""},{default:withCtx(()=>[withDirectives(createBaseVNode("select",mergeProps({ref_key:"selectElement",ref:od},qa,{"onUpdate:modelValue":ud[0]||(ud[0]=dd=>isRef(nd)?nd.value=dd:null),"default-value":unref(nd)}),[renderSlot(ld.$slots,"default")],16,Tp$1),[[vModelSelect,unref(nd)]])]),_:3}))}}),Ap$1={key:0,value:""},[bt$6,$s$2]=Q$7("SelectRoot"),[Op$1,kp$1]=Q$7("SelectRoot"),ky$1=defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),ud=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),dd=ref$1(),pd=ref$1(),fd=ref$1({x:0,y:0}),md=ref$1(!1),{required:vd,disabled:Ad,dir:Nd}=toRefs(nd),Id=be$9(Nd);$s$2({triggerElement:dd,onTriggerChange:jd=>{dd.value=jd},valueElement:pd,onValueElementChange:jd=>{pd.value=jd},valueElementHasChildren:md,onValueElementHasChildrenChange:jd=>{md.value=jd},contentId:"",modelValue:ld,onValueChange:jd=>{ld.value=jd},open:ud,required:vd,onOpenChange:jd=>{ud.value=jd},dir:Id,triggerPointerDownPosRef:fd,disabled:Ad});const Od=Je$4(dd),Md=ref$1(new Set),Ud=computed(()=>Array.from(Md.value).map(jd=>{var Ld;return(Ld=jd.props)==null?void 0:Ld.value}).join(";"));return kp$1({onNativeOptionAdd:jd=>{Md.value.add(jd)},onNativeOptionRemove:jd=>{Md.value.delete(jd)}}),(jd,Ld)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(jd.$slots,"default",{modelValue:unref(ld),open:unref(ud)}),unref(Od)?(openBlock(),createBlock(Rp$1,mergeProps({key:Ud.value},jd.$attrs,{"aria-hidden":"true",tabindex:"-1",required:unref(vd),name:jd.name,autocomplete:jd.autocomplete,disabled:unref(Ad),value:unref(ld),onChange:Ld[0]||(Ld[0]=Bd=>ld.value=Bd.target.value)}),{default:withCtx(()=>[unref(ld)===void 0?(openBlock(),createElementBlock("option",Ap$1)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(Array.from(Md.value),Bd=>(openBlock(),createBlock(resolveDynamicComponent(Bd),mergeProps({ref_for:!0},Bd.props,{key:Bd.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):createCommentVNode("",!0)]),_:3}))}}),Mp$1=[" ","Enter","ArrowUp","ArrowDown"],Vp$1=[" ","Enter"],at$7=10;function Bs$3(Ra){return Ra===""||Kt$2(Ra)}const My=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=bt$6(),od=computed(()=>{var Id;return((Id=nd.disabled)==null?void 0:Id.value)||qa.disabled}),{forwardRef:ld,currentElement:ud}=R$7();nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-select-content")),onMounted(()=>{nd.triggerElement=ud});const{injectCollection:dd}=Me$7(),pd=dd(),{search:fd,handleTypeaheadSearch:md,resetTypeahead:vd}=ga$2(pd);function Ad(){od.value||(nd.onOpenChange(!0),vd())}function Nd(Id){Ad(),nd.triggerPointerDownPosRef.value={x:Math.round(Id.pageX),y:Math.round(Id.pageY)}}return(Id,Od)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>{var Md,Ud,jd,Ld;return[createVNode(unref(O$4),{ref:unref(ld),role:"combobox",type:Id.as==="button"?"button":void 0,"aria-controls":unref(nd).contentId,"aria-expanded":unref(nd).open.value||!1,"aria-required":(Md=unref(nd).required)==null?void 0:Md.value,"aria-autocomplete":"none",disabled:od.value,dir:(Ud=unref(nd))==null?void 0:Ud.dir.value,"data-state":(jd=unref(nd))!=null&&jd.open.value?"open":"closed","data-disabled":od.value?"":void 0,"data-placeholder":unref(Bs$3)((Ld=unref(nd).modelValue)==null?void 0:Ld.value)?"":void 0,"as-child":Id.asChild,as:Id.as,onClick:Od[0]||(Od[0]=Bd=>{var Gd;(Gd=Bd==null?void 0:Bd.currentTarget)==null||Gd.focus()}),onPointerdown:Od[1]||(Od[1]=Bd=>{if(Bd.pointerType==="touch")return Bd.preventDefault();const Gd=Bd.target;Gd.hasPointerCapture(Bd.pointerId)&&Gd.releasePointerCapture(Bd.pointerId),Bd.button===0&&Bd.ctrlKey===!1&&(Nd(Bd),Bd.preventDefault())}),onPointerup:Od[2]||(Od[2]=withModifiers(Bd=>{Bd.pointerType==="touch"&&Nd(Bd)},["prevent"])),onKeydown:Od[3]||(Od[3]=Bd=>{const Gd=unref(fd)!=="";!(Bd.ctrlKey||Bd.altKey||Bd.metaKey)&&Bd.key.length===1&&Gd&&Bd.key===" "||(unref(md)(Bd.key),unref(Mp$1).includes(Bd.key)&&(Ad(),Bd.preventDefault()))})},{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),Vy=defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[$o$2,Fp$1]=Q$7("SelectItemAlignedPosition"),Np$1=defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{injectCollection:ld}=Me$7(),ud=bt$6(),dd=Ct$5(),pd=ld(),fd=ref$1(!1),md=ref$1(!0),vd=ref$1(),{forwardRef:Ad,currentElement:Nd}=R$7(),{viewport:Id,selectedItem:Od,selectedItemText:Md,focusSelectedItem:Ud}=dd;function jd(){if(ud.triggerElement.value&&ud.valueElement.value&&vd.value&&Nd.value&&Id!=null&&Id.value&&Od!=null&&Od.value&&Md!=null&&Md.value){const Gd=ud.triggerElement.value.getBoundingClientRect(),qd=Nd.value.getBoundingClientRect(),zd=ud.valueElement.value.getBoundingClientRect(),Xd=Md.value.getBoundingClientRect();if(ud.dir.value!=="rtl"){const Tf=Xd.left-qd.left,Sf=zd.left-Tf,Yf=Gd.left-Sf,ih=Gd.width+Yf,Th=Math.max(ih,qd.width),sh=window.innerWidth-at$7,Nf=Wt$4(Sf,at$7,sh-Th);vd.value.style.minWidth=`${ih}px`,vd.value.style.left=`${Nf}px`}else{const Tf=qd.right-Xd.right,Sf=window.innerWidth-zd.right-Tf,Yf=window.innerWidth-Gd.right-Sf,ih=Gd.width+Yf,Th=Math.max(ih,qd.width),sh=window.innerWidth-at$7,Nf=Wt$4(Sf,at$7,sh-Th);vd.value.style.minWidth=`${ih}px`,vd.value.style.right=`${Nf}px`}const gf=pd.value,Yd=window.innerHeight-at$7*2,Zd=Id.value.scrollHeight,df=window.getComputedStyle(Nd.value),Ef=Number.parseInt(df.borderTopWidth,10),_f=Number.parseInt(df.paddingTop,10),xf=Number.parseInt(df.borderBottomWidth,10),vf=Number.parseInt(df.paddingBottom,10),Af=Ef+_f+Zd+vf+xf,Df=Math.min(Od.value.offsetHeight*5,Af),jf=window.getComputedStyle(Id.value),Jf=Number.parseInt(jf.paddingTop,10),eh=Number.parseInt(jf.paddingBottom,10),th=Gd.top+Gd.height/2-at$7,Uf=Yd-th,Of=Od.value.offsetHeight/2,Wf=Od.value.offsetTop+Of,qf=Ef+_f+Wf,zf=Af-qf;if(qf<=th){const Tf=Od.value===gf[gf.length-1];vd.value.style.bottom="0px";const Sf=Nd.value.clientHeight-Id.value.offsetTop-Id.value.offsetHeight,Yf=Math.max(Uf,Of+(Tf?eh:0)+Sf+xf),ih=qf+Yf;vd.value.style.height=`${ih}px`}else{const Tf=Od.value===gf[0];vd.value.style.top="0px";const Sf=Math.max(th,Ef+Id.value.offsetTop+(Tf?Jf:0)+Of)+zf;vd.value.style.height=`${Sf}px`,Id.value.scrollTop=qf-th+Id.value.offsetTop}vd.value.style.margin=`${at$7}px 0`,vd.value.style.minHeight=`${Df}px`,vd.value.style.maxHeight=`${Yd}px`,od("placed"),requestAnimationFrame(()=>fd.value=!0)}}const Ld=ref$1("");onMounted(async()=>{await nextTick$1(),jd(),Nd.value&&(Ld.value=window.getComputedStyle(Nd.value).zIndex)});function Bd(Gd){Gd&&md.value===!0&&(jd(),Ud==null||Ud(),md.value=!1)}return Fp$1({contentWrapper:vd,shouldExpandOnScrollRef:fd,onScrollButtonChange:Bd}),(Gd,qd)=>(openBlock(),createElementBlock("div",{ref_key:"contentWrapperElement",ref:vd,style:normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:Ld.value})},[createVNode(unref(O$4),mergeProps({ref:unref(Ad),style:{boxSizing:"border-box",maxHeight:"100%"}},{...Gd.$attrs,...nd}),{default:withCtx(()=>[renderSlot(Gd.$slots,"default")]),_:3},16)],4))}}),Lp$1=defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:at$7},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=It$4(Ra);return(nd,od)=>(openBlock(),createBlock(unref(Dt$4),mergeProps(unref(qa),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Ft$5={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ct$5,zp$1]=Q$7("SelectContent"),Kp$1=defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=bt$6();Gn$4(),ha$1(nd.bodyLock);const{createCollection:ud}=Me$7(),dd=ref$1();ya$1(dd);const pd=ud(dd),{search:fd,handleTypeaheadSearch:md}=ga$2(pd),vd=ref$1(),Ad=ref$1(),Nd=ref$1(),Id=ref$1(!1),Od=ref$1(!1);function Md(){Ad.value&&dd.value&&$n$4([Ad.value,dd.value])}watch(Id,()=>{Md()});const{onOpenChange:Ud,triggerPointerDownPosRef:jd}=ld;watchEffect(qd=>{if(!dd.value)return;let zd={x:0,y:0};const Xd=Yd=>{var Zd,df;zd={x:Math.abs(Math.round(Yd.pageX)-(((Zd=jd.value)==null?void 0:Zd.x)??0)),y:Math.abs(Math.round(Yd.pageY)-(((df=jd.value)==null?void 0:df.y)??0))}},gf=Yd=>{var Zd;Yd.pointerType!=="touch"&&(zd.x<=10&&zd.y<=10?Yd.preventDefault():(Zd=dd.value)!=null&&Zd.contains(Yd.target)||Ud(!1),document.removeEventListener("pointermove",Xd),jd.value=null)};jd.value!==null&&(document.addEventListener("pointermove",Xd),document.addEventListener("pointerup",gf,{capture:!0,once:!0})),qd(()=>{document.removeEventListener("pointermove",Xd),document.removeEventListener("pointerup",gf,{capture:!0})})});function Ld(qd){const zd=qd.ctrlKey||qd.altKey||qd.metaKey;if(qd.key==="Tab"&&qd.preventDefault(),!zd&&qd.key.length===1&&md(qd.key),["ArrowUp","ArrowDown","Home","End"].includes(qd.key)){let Xd=pd.value;if(["ArrowUp","End"].includes(qd.key)&&(Xd=Xd.slice().reverse()),["ArrowUp","ArrowDown"].includes(qd.key)){const gf=qd.target,Yd=Xd.indexOf(gf);Xd=Xd.slice(Yd+1)}setTimeout(()=>$n$4(Xd)),qd.preventDefault()}}const Bd=computed(()=>nd.position==="popper"?nd:{}),Gd=It$4(Bd.value);return zp$1({content:dd,viewport:vd,onViewportChange:qd=>{vd.value=qd},itemRefCallback:(qd,zd,Xd)=>{var gf,Yd;const Zd=!Od.value&&!Xd;(((gf=ld.modelValue)==null?void 0:gf.value)!==void 0&&((Yd=ld.modelValue)==null?void 0:Yd.value)===zd||Zd)&&(Ad.value=qd,Zd&&(Od.value=!0))},selectedItem:Ad,selectedItemText:Nd,onItemLeave:()=>{var qd;(qd=dd.value)==null||qd.focus()},itemTextRefCallback:(qd,zd,Xd)=>{var gf,Yd;const Zd=!Od.value&&!Xd;(((gf=ld.modelValue)==null?void 0:gf.value)!==void 0&&((Yd=ld.modelValue)==null?void 0:Yd.value)===zd||Zd)&&(Nd.value=qd)},focusSelectedItem:Md,position:nd.position,isPositioned:Id,searchRef:fd}),(qd,zd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",onMountAutoFocus:zd[6]||(zd[6]=withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:zd[7]||(zd[7]=Xd=>{var gf;od("closeAutoFocus",Xd),!Xd.defaultPrevented&&((gf=unref(ld).triggerElement.value)==null||gf.focus({preventScroll:!0}),Xd.preventDefault())})},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:zd[2]||(zd[2]=withModifiers(()=>{},["prevent"])),onDismiss:zd[3]||(zd[3]=Xd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:zd[4]||(zd[4]=Xd=>od("escapeKeyDown",Xd)),onPointerDownOutside:zd[5]||(zd[5]=Xd=>od("pointerDownOutside",Xd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(qd.position==="popper"?Lp$1:Np$1),mergeProps({...qd.$attrs,...unref(Gd)},{id:unref(ld).contentId,ref:Xd=>{dd.value=unref($e$4)(Xd)},role:"listbox","data-state":unref(ld).open.value?"open":"closed",dir:unref(ld).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:zd[0]||(zd[0]=withModifiers(()=>{},["prevent"])),onPlaced:zd[1]||(zd[1]=Xd=>Id.value=!0),onKeydown:Ld}),{default:withCtx(()=>[renderSlot(qd.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),Hp$1=defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{}},setup(Ra){return $s$2(Ra.context),(qa,nd)=>renderSlot(qa.$slots,"default")}}),Wp$1={key:1},Fy=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=xe$5(nd,qa),ld=bt$6(),ud=ref$1();onMounted(()=>{ud.value=new DocumentFragment});const dd=ref$1(),pd=computed(()=>nd.forceMount||ld.open.value);return(fd,md)=>{var vd;return pd.value?(openBlock(),createBlock(unref(Pe$7),{key:0,ref_key:"presenceRef",ref:dd,present:!0},{default:withCtx(()=>[createVNode(Kp$1,normalizeProps(guardReactiveProps({...unref(od),...fd.$attrs})),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16)]),_:3},512)):!((vd=dd.value)!=null&&vd.present)&&ud.value?(openBlock(),createElementBlock("div",Wp$1,[(openBlock(),createBlock(Teleport,{to:ud.value},[createVNode(Hp$1,{context:unref(ld)},{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):createCommentVNode("",!0)}}}),[Is$3,jp$1]=Q$7("SelectItem"),zy=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),od=bt$6(),ld=Ct$5(Ft$5),{forwardRef:ud,currentElement:dd}=R$7(),pd=computed(()=>{var Md;return((Md=od.modelValue)==null?void 0:Md.value)===qa.value}),fd=ref$1(!1),md=ref$1(qa.textValue??""),vd=he$4(void 0,"radix-vue-select-item-text");async function Ad(Md){await nextTick$1(),!(Md!=null&&Md.defaultPrevented)&&(nd.value||(od.onValueChange(qa.value),od.onOpenChange(!1)))}async function Nd(Md){var Ud;await nextTick$1(),!Md.defaultPrevented&&(nd.value?(Ud=ld.onItemLeave)==null||Ud.call(ld):Md.currentTarget.focus({preventScroll:!0}))}async function Id(Md){var Ud;await nextTick$1(),!Md.defaultPrevented&&Md.currentTarget===document.activeElement&&((Ud=ld.onItemLeave)==null||Ud.call(ld))}async function Od(Md){var Ud;await nextTick$1(),!(Md.defaultPrevented||((Ud=ld.searchRef)==null?void 0:Ud.value)!==""&&Md.key===" ")&&(Vp$1.includes(Md.key)&&Ad(),Md.key===" "&&Md.preventDefault())}if(qa.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return onMounted(()=>{dd.value&&ld.itemRefCallback(dd.value,qa.value,qa.disabled)}),jp$1({value:qa.value,disabled:nd,textId:vd,isSelected:pd,onItemTextChange:Md=>{md.value=((md.value||(Md==null?void 0:Md.textContent))??"").trim()}}),(Md,Ud)=>(openBlock(),createBlock(unref(O$4),{ref:unref(ud),role:"option","data-radix-vue-collection-item":"","aria-labelledby":unref(vd),"data-highlighted":fd.value?"":void 0,"aria-selected":pd.value,"data-state":pd.value?"checked":"unchecked","aria-disabled":unref(nd)||void 0,"data-disabled":unref(nd)?"":void 0,tabindex:unref(nd)?void 0:-1,as:Md.as,"as-child":Md.asChild,onFocus:Ud[0]||(Ud[0]=jd=>fd.value=!0),onBlur:Ud[1]||(Ud[1]=jd=>fd.value=!1),onPointerup:Ad,onPointerdown:Ud[2]||(Ud[2]=jd=>{jd.currentTarget.focus({preventScroll:!0})}),onTouchend:Ud[3]||(Ud[3]=withModifiers(()=>{},["prevent","stop"])),onPointermove:Nd,onPointerleave:Id,onKeydown:Od},{default:withCtx(()=>[renderSlot(Md.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),Ky=defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=Is$3();return(od,ld)=>unref(nd).isSelected.value?(openBlock(),createBlock(unref(O$4),mergeProps({key:0,"aria-hidden":"true"},qa),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16)):createCommentVNode("",!0)}}),jy=defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=bt$6(),od=Ct$5(Ft$5),ld=Op$1(),ud=Is$3(),{forwardRef:dd,currentElement:pd}=R$7(),fd=computed(()=>{var md;return h$2("option",{key:ud.value,value:ud.value,disabled:ud.disabled.value,textContent:(md=pd.value)==null?void 0:md.textContent})});return onMounted(()=>{pd.value&&(ud.onItemTextChange(pd.value),od.itemTextRefCallback(pd.value,ud.value,ud.disabled.value),ld.onNativeOptionAdd(fd.value))}),onBeforeUnmount(()=>{ld.onNativeOptionRemove(fd.value)}),(md,vd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps({id:unref(ud).textId,ref:unref(dd)},{...qa,...md.$attrs}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16,["id"]),unref(ud).isSelected.value&&unref(nd).valueElement.value&&!unref(nd).valueElementHasChildren.value?(openBlock(),createBlock(Teleport,{key:0,to:unref(nd).valueElement.value},[renderSlot(md.$slots,"default")],8,["to"])):createCommentVNode("",!0)],64))}}),Uy=defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{nonce:nd}=toRefs(qa),od=Xa$2(nd),ld=Ct$5(Ft$5),ud=ld.position==="item-aligned"?$o$2():void 0,{forwardRef:dd,currentElement:pd}=R$7();onMounted(()=>{ld==null||ld.onViewportChange(pd.value)});const fd=ref$1(0);function md(vd){const Ad=vd.currentTarget,{shouldExpandOnScrollRef:Nd,contentWrapper:Id}=ud??{};if(Nd!=null&&Nd.value&&Id!=null&&Id.value){const Od=Math.abs(fd.value-Ad.scrollTop);if(Od>0){const Md=window.innerHeight-at$7*2,Ud=Number.parseFloat(Id.value.style.minHeight),jd=Number.parseFloat(Id.value.style.height),Ld=Math.max(Ud,jd);if(Ld<Md){const Bd=Ld+Od,Gd=Math.min(Md,Bd),qd=Bd-Gd;Id.value.style.height=`${Gd}px`,Id.value.style.bottom==="0px"&&(Ad.scrollTop=qd>0?qd:0,Id.value.style.justifyContent="flex-end")}}}fd.value=Ad.scrollTop}return(vd,Ad)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps({ref:unref(dd),"data-radix-select-viewport":"",role:"presentation"},{...vd.$attrs,...qa},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:md}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16),createVNode(unref(O$4),{as:"style",nonce:unref(od)},{default:withCtx(()=>[createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),Ts$3=defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(Ra,{emit:qa}){const nd=qa,{injectCollection:od}=Me$7(),ld=od(),ud=Ct$5(Ft$5),dd=ref$1(null);function pd(){dd.value!==null&&(window.clearInterval(dd.value),dd.value=null)}watchEffect(()=>{const vd=ld.value.find(Ad=>Ad===document.activeElement);vd==null||vd.scrollIntoView({block:"nearest"})});function fd(){dd.value===null&&(dd.value=window.setInterval(()=>{nd("autoScroll")},50))}function md(){var vd;(vd=ud.onItemLeave)==null||vd.call(ud),dd.value===null&&(dd.value=window.setInterval(()=>{nd("autoScroll")},50))}return onBeforeUnmount(()=>pd()),(vd,Ad)=>{var Nd;return openBlock(),createBlock(unref(O$4),mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(Nd=vd.$parent)==null?void 0:Nd.$props,{onPointerdown:fd,onPointermove:md,onPointerleave:Ad[0]||(Ad[0]=()=>{pd()})}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16)}}}),Gy=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$7(),ud=ref$1(!1);return watchEffect(dd=>{var pd,fd;if((pd=qa.viewport)!=null&&pd.value&&(fd=qa.isPositioned)!=null&&fd.value){let md=function(){ud.value=vd.scrollTop>0};const vd=qa.viewport.value;md(),vd.addEventListener("scroll",md),dd(()=>vd.removeEventListener("scroll",md))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(dd,pd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:pd[0]||(pd[0]=()=>{const{viewport:fd,selectedItem:md}=unref(qa);fd!=null&&fd.value&&md!=null&&md.value&&(fd.value.scrollTop=fd.value.scrollTop-md.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),qy=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$7(),ud=ref$1(!1);return watchEffect(dd=>{var pd,fd;if((pd=qa.viewport)!=null&&pd.value&&(fd=qa.isPositioned)!=null&&fd.value){let md=function(){const Ad=vd.scrollHeight-vd.clientHeight;ud.value=Math.ceil(vd.scrollTop)<Ad};const vd=qa.viewport.value;md(),vd.addEventListener("scroll",md),dd(()=>vd.removeEventListener("scroll",md))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(dd,pd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:pd[0]||(pd[0]=()=>{const{viewport:fd,selectedItem:md}=unref(qa);fd!=null&&fd.value&&md!=null&&md.value&&(fd.value.scrollTop=fd.value.scrollTop+md.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),Yy=defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$7(),od=bt$6(),ld=useSlots();return onBeforeMount(()=>{var ud;const dd=!!Ua$3((ud=ld==null?void 0:ld.default)==null?void 0:ud.call(ld)).length;od.onValueElementHasChildrenChange(dd)}),onMounted(()=>{od.valueElement=nd}),(ud,dd)=>(openBlock(),createBlock(unref(O$4),{ref:unref(qa),as:ud.as,"as-child":ud.asChild,style:{pointerEvents:"none"}},{default:withCtx(()=>{var pd;return[unref(Bs$3)((pd=unref(od).modelValue)==null?void 0:pd.value)?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(ud.placeholder),1)],64)):renderSlot(ud.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),Xy=defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return(qa,nd)=>(openBlock(),createBlock(unref(O$4),{"aria-hidden":"true",as:qa.as,"as-child":qa.asChild},{default:withCtx(()=>[renderSlot(qa.$slots,"default",{},()=>[createTextVNode("▼")])]),_:3},8,["as","as-child"]))}});function hf(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}hf();const kf=["name","disabled","required","value","checked","data-state","data-disabled"],[Mf,Vf]=Q$7("SwitchRoot"),cg$1=defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld}=toRefs(nd),ud=ne$6(nd,"checked",od,{defaultValue:nd.defaultChecked,passive:nd.checked===void 0});function dd(){ld.value||(ud.value=!ud.value)}const{forwardRef:pd,currentElement:fd}=R$7(),md=Je$4(fd),vd=computed(()=>{var Ad;return nd.id&&fd.value?(Ad=document.querySelector(`[for="${nd.id}"]`))==null?void 0:Ad.innerText:void 0});return Vf({checked:ud,toggleCheck:dd,disabled:ld}),(Ad,Nd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$4),mergeProps(Ad.$attrs,{id:Ad.id,ref:unref(pd),role:"switch",type:Ad.as==="button"?"button":void 0,value:Ad.value,"aria-label":Ad.$attrs["aria-label"]||vd.value,"aria-checked":unref(ud),"aria-required":Ad.required,"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,"as-child":Ad.asChild,as:Ad.as,disabled:unref(ld),onClick:dd,onKeydown:withKeys(withModifiers(dd,["prevent"]),["enter"])}),{default:withCtx(()=>[renderSlot(Ad.$slots,"default",{checked:unref(ud)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),unref(md)?(openBlock(),createElementBlock("input",{key:0,type:"checkbox",name:Ad.name,tabindex:"-1","aria-hidden":"true",disabled:unref(ld),required:Ad.required,value:Ad.value,checked:!!unref(ud),"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,kf)):createCommentVNode("",!0)],64))}}),pg=defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Mf();return R$7(),(nd,od)=>{var ld;return openBlock(),createBlock(unref(O$4),{"data-state":(ld=unref(qa).checked)!=null&&ld.value?"checked":"unchecked","data-disabled":unref(qa).disabled.value?"":void 0,"as-child":nd.asChild,as:nd.as},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[pn$4,Ff]=Q$7("TabsRoot"),fg=defineComponent({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{orientation:ld,dir:ud}=toRefs(nd),dd=be$9(ud);R$7();const pd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),fd=ref$1();return Ff({modelValue:pd,changeModelValue:md=>{pd.value=md},orientation:ld,dir:dd,activationMode:nd.activationMode,baseId:he$4(void 0,"radix-vue-tabs"),tabsList:fd}),(md,vd)=>(openBlock(),createBlock(unref(O$4),{dir:unref(dd),"data-orientation":unref(ld),"as-child":md.asChild,as:md.as},{default:withCtx(()=>[renderSlot(md.$slots,"default",{modelValue:unref(pd)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),vg=defineComponent({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{loop:nd}=toRefs(qa),{forwardRef:od,currentElement:ld}=R$7(),ud=pn$4();return ud.tabsList=ld,(dd,pd)=>(openBlock(),createBlock(unref(Ot$4),{"as-child":"",orientation:unref(ud).orientation.value,dir:unref(ud).dir.value,loop:unref(nd)},{default:withCtx(()=>[createVNode(unref(O$4),{ref:unref(od),role:"tablist","as-child":dd.asChild,as:dd.as,"aria-orientation":unref(ud).orientation.value},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function or$3(Ra,qa){return`${Ra}-trigger-${qa}`}function lr$2(Ra,qa){return`${Ra}-content-${qa}`}const mg=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$7(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),dd=computed(()=>qa.value===od.modelValue.value),pd=ref$1(dd.value);return onMounted(()=>{requestAnimationFrame(()=>{pd.value=!1})}),(fd,md)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.value,"force-mount":""},{default:withCtx(({present:vd})=>[createVNode(unref(O$4),{id:ud.value,ref:unref(nd),"as-child":fd.asChild,as:fd.as,role:"tabpanel","data-state":dd.value?"active":"inactive","data-orientation":unref(od).orientation.value,"aria-labelledby":ld.value,hidden:!vd.value,tabindex:"0",style:normalizeStyle({animationDuration:pd.value?"0s":void 0})},{default:withCtx(()=>[fd.forceMount||dd.value?renderSlot(fd.$slots,"default",{key:0}):createCommentVNode("",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),hg=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$7(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),dd=computed(()=>qa.value===od.modelValue.value);return(pd,fd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!pd.disabled,active:dd.value},{default:withCtx(()=>[createVNode(unref(O$4),{id:ld.value,ref:unref(nd),role:"tab",type:pd.as==="button"?"button":void 0,as:pd.as,"as-child":pd.asChild,"aria-selected":dd.value?"true":"false","aria-controls":ud.value,"data-state":dd.value?"active":"inactive",disabled:pd.disabled,"data-disabled":pd.disabled?"":void 0,"data-orientation":unref(od).orientation.value,onMousedown:fd[0]||(fd[0]=withModifiers(md=>{!pd.disabled&&md.ctrlKey===!1?unref(od).changeModelValue(pd.value):md.preventDefault()},["left"])),onKeydown:fd[1]||(fd[1]=withKeys(md=>unref(od).changeModelValue(pd.value),["enter","space"])),onFocus:fd[2]||(fd[2]=()=>{const md=unref(od).activationMode!=="manual";!dd.value&&!pd.disabled&&md&&unref(od).changeModelValue(pd.value)})},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),_sfc_main$1k=defineComponent({__name:"AlertDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Sv),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});function r$2(Ra){var qa,nd,od="";if(typeof Ra=="string"||typeof Ra=="number")od+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra)){var ld=Ra.length;for(qa=0;qa<ld;qa++)Ra[qa]&&(nd=r$2(Ra[qa]))&&(od&&(od+=" "),od+=nd)}else for(nd in Ra)Ra[nd]&&(od&&(od+=" "),od+=nd);return od}function clsx(){for(var Ra,qa,nd=0,od="",ld=arguments.length;nd<ld;nd++)(Ra=arguments[nd])&&(qa=r$2(Ra))&&(od&&(od+=" "),od+=qa);return od}const CLASS_PART_SEPARATOR="-",createClassGroupUtils=Ra=>{const qa=createClassMap(Ra),{conflictingClassGroups:nd,conflictingClassGroupModifiers:od}=Ra;return{getClassGroupId:dd=>{const pd=dd.split(CLASS_PART_SEPARATOR);return pd[0]===""&&pd.length!==1&&pd.shift(),getGroupRecursive(pd,qa)||getGroupIdForArbitraryProperty(dd)},getConflictingClassGroupIds:(dd,pd)=>{const fd=nd[dd]||[];return pd&&od[dd]?[...fd,...od[dd]]:fd}}},getGroupRecursive=(Ra,qa)=>{var dd;if(Ra.length===0)return qa.classGroupId;const nd=Ra[0],od=qa.nextPart.get(nd),ld=od?getGroupRecursive(Ra.slice(1),od):void 0;if(ld)return ld;if(qa.validators.length===0)return;const ud=Ra.join(CLASS_PART_SEPARATOR);return(dd=qa.validators.find(({validator:pd})=>pd(ud)))==null?void 0:dd.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=Ra=>{if(arbitraryPropertyRegex.test(Ra)){const qa=arbitraryPropertyRegex.exec(Ra)[1],nd=qa==null?void 0:qa.substring(0,qa.indexOf(":"));if(nd)return"arbitrary.."+nd}},createClassMap=Ra=>{const{theme:qa,prefix:nd}=Ra,od={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(Ra.classGroups),nd).forEach(([ud,dd])=>{processClassesRecursively(dd,od,ud,qa)}),od},processClassesRecursively=(Ra,qa,nd,od)=>{Ra.forEach(ld=>{if(typeof ld=="string"){const ud=ld===""?qa:getPart(qa,ld);ud.classGroupId=nd;return}if(typeof ld=="function"){if(isThemeGetter(ld)){processClassesRecursively(ld(od),qa,nd,od);return}qa.validators.push({validator:ld,classGroupId:nd});return}Object.entries(ld).forEach(([ud,dd])=>{processClassesRecursively(dd,getPart(qa,ud),nd,od)})})},getPart=(Ra,qa)=>{let nd=Ra;return qa.split(CLASS_PART_SEPARATOR).forEach(od=>{nd.nextPart.has(od)||nd.nextPart.set(od,{nextPart:new Map,validators:[]}),nd=nd.nextPart.get(od)}),nd},isThemeGetter=Ra=>Ra.isThemeGetter,getPrefixedClassGroupEntries=(Ra,qa)=>qa?Ra.map(([nd,od])=>{const ld=od.map(ud=>typeof ud=="string"?qa+ud:typeof ud=="object"?Object.fromEntries(Object.entries(ud).map(([dd,pd])=>[qa+dd,pd])):ud);return[nd,ld]}):Ra,createLruCache=Ra=>{if(Ra<1)return{get:()=>{},set:()=>{}};let qa=0,nd=new Map,od=new Map;const ld=(ud,dd)=>{nd.set(ud,dd),qa++,qa>Ra&&(qa=0,od=nd,nd=new Map)};return{get(ud){let dd=nd.get(ud);if(dd!==void 0)return dd;if((dd=od.get(ud))!==void 0)return ld(ud,dd),dd},set(ud,dd){nd.has(ud)?nd.set(ud,dd):ld(ud,dd)}}},IMPORTANT_MODIFIER="!",createParseClassName=Ra=>{const{separator:qa,experimentalParseClassName:nd}=Ra,od=qa.length===1,ld=qa[0],ud=qa.length,dd=pd=>{const fd=[];let md=0,vd=0,Ad;for(let Ud=0;Ud<pd.length;Ud++){let jd=pd[Ud];if(md===0){if(jd===ld&&(od||pd.slice(Ud,Ud+ud)===qa)){fd.push(pd.slice(vd,Ud)),vd=Ud+ud;continue}if(jd==="/"){Ad=Ud;continue}}jd==="["?md++:jd==="]"&&md--}const Nd=fd.length===0?pd:pd.substring(vd),Id=Nd.startsWith(IMPORTANT_MODIFIER),Od=Id?Nd.substring(1):Nd,Md=Ad&&Ad>vd?Ad-vd:void 0;return{modifiers:fd,hasImportantModifier:Id,baseClassName:Od,maybePostfixModifierPosition:Md}};return nd?pd=>nd({className:pd,parseClassName:dd}):dd},sortModifiers=Ra=>{if(Ra.length<=1)return Ra;const qa=[];let nd=[];return Ra.forEach(od=>{od[0]==="["?(qa.push(...nd.sort(),od),nd=[]):nd.push(od)}),qa.push(...nd.sort()),qa},createConfigUtils=Ra=>({cache:createLruCache(Ra.cacheSize),parseClassName:createParseClassName(Ra),...createClassGroupUtils(Ra)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(Ra,qa)=>{const{parseClassName:nd,getClassGroupId:od,getConflictingClassGroupIds:ld}=qa,ud=[],dd=Ra.trim().split(SPLIT_CLASSES_REGEX);let pd="";for(let fd=dd.length-1;fd>=0;fd-=1){const md=dd[fd],{modifiers:vd,hasImportantModifier:Ad,baseClassName:Nd,maybePostfixModifierPosition:Id}=nd(md);let Od=!!Id,Md=od(Od?Nd.substring(0,Id):Nd);if(!Md){if(!Od){pd=md+(pd.length>0?" "+pd:pd);continue}if(Md=od(Nd),!Md){pd=md+(pd.length>0?" "+pd:pd);continue}Od=!1}const Ud=sortModifiers(vd).join(":"),jd=Ad?Ud+IMPORTANT_MODIFIER:Ud,Ld=jd+Md;if(ud.includes(Ld))continue;ud.push(Ld);const Bd=ld(Md,Od);for(let Gd=0;Gd<Bd.length;++Gd){const qd=Bd[Gd];ud.push(jd+qd)}pd=md+(pd.length>0?" "+pd:pd)}return pd};function twJoin(){let Ra=0,qa,nd,od="";for(;Ra<arguments.length;)(qa=arguments[Ra++])&&(nd=toValue$1(qa))&&(od&&(od+=" "),od+=nd);return od}const toValue$1=Ra=>{if(typeof Ra=="string")return Ra;let qa,nd="";for(let od=0;od<Ra.length;od++)Ra[od]&&(qa=toValue$1(Ra[od]))&&(nd&&(nd+=" "),nd+=qa);return nd};function createTailwindMerge(Ra,...qa){let nd,od,ld,ud=dd;function dd(fd){const md=qa.reduce((vd,Ad)=>Ad(vd),Ra());return nd=createConfigUtils(md),od=nd.cache.get,ld=nd.cache.set,ud=pd,pd(fd)}function pd(fd){const md=od(fd);if(md)return md;const vd=mergeClassList(fd,nd);return ld(fd,vd),vd}return function(){return ud(twJoin.apply(null,arguments))}}const fromTheme=Ra=>{const qa=nd=>nd[Ra]||[];return qa.isThemeGetter=!0,qa},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength$1=Ra=>isNumber$3(Ra)||stringLengths.has(Ra)||fractionRegex.test(Ra),isArbitraryLength=Ra=>getIsArbitraryValue(Ra,"length",isLengthOnly),isNumber$3=Ra=>!!Ra&&!Number.isNaN(Number(Ra)),isArbitraryNumber=Ra=>getIsArbitraryValue(Ra,"number",isNumber$3),isInteger$1=Ra=>!!Ra&&Number.isInteger(Number(Ra)),isPercent=Ra=>Ra.endsWith("%")&&isNumber$3(Ra.slice(0,-1)),isArbitraryValue=Ra=>arbitraryValueRegex.test(Ra),isTshirtSize=Ra=>tshirtUnitRegex.test(Ra),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=Ra=>getIsArbitraryValue(Ra,sizeLabels,isNever),isArbitraryPosition=Ra=>getIsArbitraryValue(Ra,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=Ra=>getIsArbitraryValue(Ra,imageLabels,isImage),isArbitraryShadow=Ra=>getIsArbitraryValue(Ra,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(Ra,qa,nd)=>{const od=arbitraryValueRegex.exec(Ra);return od?od[1]?typeof qa=="string"?od[1]===qa:qa.has(od[1]):nd(od[2]):!1},isLengthOnly=Ra=>lengthUnitRegex.test(Ra)&&!colorFunctionRegex.test(Ra),isNever=()=>!1,isShadow=Ra=>shadowRegex.test(Ra),isImage=Ra=>imageRegex.test(Ra),getDefaultConfig=()=>{const Ra=fromTheme("colors"),qa=fromTheme("spacing"),nd=fromTheme("blur"),od=fromTheme("brightness"),ld=fromTheme("borderColor"),ud=fromTheme("borderRadius"),dd=fromTheme("borderSpacing"),pd=fromTheme("borderWidth"),fd=fromTheme("contrast"),md=fromTheme("grayscale"),vd=fromTheme("hueRotate"),Ad=fromTheme("invert"),Nd=fromTheme("gap"),Id=fromTheme("gradientColorStops"),Od=fromTheme("gradientColorStopPositions"),Md=fromTheme("inset"),Ud=fromTheme("margin"),jd=fromTheme("opacity"),Ld=fromTheme("padding"),Bd=fromTheme("saturate"),Gd=fromTheme("scale"),qd=fromTheme("sepia"),zd=fromTheme("skew"),Xd=fromTheme("space"),gf=fromTheme("translate"),Yd=()=>["auto","contain","none"],Zd=()=>["auto","hidden","clip","visible","scroll"],df=()=>["auto",isArbitraryValue,qa],Ef=()=>[isArbitraryValue,qa],_f=()=>["",isLength$1,isArbitraryLength],xf=()=>["auto",isNumber$3,isArbitraryValue],vf=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Af=()=>["solid","dashed","dotted","double","none"],Df=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],jf=()=>["start","end","center","between","around","evenly","stretch"],Jf=()=>["","0",isArbitraryValue],eh=()=>["auto","avoid","all","avoid-page","page","left","right","column"],th=()=>[isNumber$3,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength$1,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:th(),borderColor:[Ra],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:Ef(),borderWidth:_f(),contrast:th(),grayscale:Jf(),hueRotate:th(),invert:Jf(),gap:Ef(),gradientColorStops:[Ra],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:df(),margin:df(),opacity:th(),padding:Ef(),saturate:th(),scale:th(),sepia:Jf(),skew:th(),space:Ef(),translate:Ef()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":eh()}],"break-before":[{"break-before":eh()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...vf(),isArbitraryValue]}],overflow:[{overflow:Zd()}],"overflow-x":[{"overflow-x":Zd()}],"overflow-y":[{"overflow-y":Zd()}],overscroll:[{overscroll:Yd()}],"overscroll-x":[{"overscroll-x":Yd()}],"overscroll-y":[{"overscroll-y":Yd()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[Md]}],"inset-x":[{"inset-x":[Md]}],"inset-y":[{"inset-y":[Md]}],start:[{start:[Md]}],end:[{end:[Md]}],top:[{top:[Md]}],right:[{right:[Md]}],bottom:[{bottom:[Md]}],left:[{left:[Md]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger$1,isArbitraryValue]}],basis:[{basis:df()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:Jf()}],shrink:[{shrink:Jf()}],order:[{order:["first","last","none",isInteger$1,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger$1,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":xf()}],"col-end":[{"col-end":xf()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger$1,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":xf()}],"row-end":[{"row-end":xf()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[Nd]}],"gap-x":[{"gap-x":[Nd]}],"gap-y":[{"gap-y":[Nd]}],"justify-content":[{justify:["normal",...jf()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...jf(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...jf(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Ld]}],px:[{px:[Ld]}],py:[{py:[Ld]}],ps:[{ps:[Ld]}],pe:[{pe:[Ld]}],pt:[{pt:[Ld]}],pr:[{pr:[Ld]}],pb:[{pb:[Ld]}],pl:[{pl:[Ld]}],m:[{m:[Ud]}],mx:[{mx:[Ud]}],my:[{my:[Ud]}],ms:[{ms:[Ud]}],me:[{me:[Ud]}],mt:[{mt:[Ud]}],mr:[{mr:[Ud]}],mb:[{mb:[Ud]}],ml:[{ml:[Ud]}],"space-x":[{"space-x":[Xd]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Xd]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,qa]}],"min-w":[{"min-w":[isArbitraryValue,qa,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,qa,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,qa,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,qa,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$3,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength$1,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[Ra]}],"placeholder-opacity":[{"placeholder-opacity":[jd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Ra]}],"text-opacity":[{"text-opacity":[jd]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Af(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength$1,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength$1,isArbitraryValue]}],"text-decoration-color":[{decoration:[Ra]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Ef()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[jd]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...vf(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[Ra]}],"gradient-from-pos":[{from:[Od]}],"gradient-via-pos":[{via:[Od]}],"gradient-to-pos":[{to:[Od]}],"gradient-from":[{from:[Id]}],"gradient-via":[{via:[Id]}],"gradient-to":[{to:[Id]}],rounded:[{rounded:[ud]}],"rounded-s":[{"rounded-s":[ud]}],"rounded-e":[{"rounded-e":[ud]}],"rounded-t":[{"rounded-t":[ud]}],"rounded-r":[{"rounded-r":[ud]}],"rounded-b":[{"rounded-b":[ud]}],"rounded-l":[{"rounded-l":[ud]}],"rounded-ss":[{"rounded-ss":[ud]}],"rounded-se":[{"rounded-se":[ud]}],"rounded-ee":[{"rounded-ee":[ud]}],"rounded-es":[{"rounded-es":[ud]}],"rounded-tl":[{"rounded-tl":[ud]}],"rounded-tr":[{"rounded-tr":[ud]}],"rounded-br":[{"rounded-br":[ud]}],"rounded-bl":[{"rounded-bl":[ud]}],"border-w":[{border:[pd]}],"border-w-x":[{"border-x":[pd]}],"border-w-y":[{"border-y":[pd]}],"border-w-s":[{"border-s":[pd]}],"border-w-e":[{"border-e":[pd]}],"border-w-t":[{"border-t":[pd]}],"border-w-r":[{"border-r":[pd]}],"border-w-b":[{"border-b":[pd]}],"border-w-l":[{"border-l":[pd]}],"border-opacity":[{"border-opacity":[jd]}],"border-style":[{border:[...Af(),"hidden"]}],"divide-x":[{"divide-x":[pd]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[pd]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[jd]}],"divide-style":[{divide:Af()}],"border-color":[{border:[ld]}],"border-color-x":[{"border-x":[ld]}],"border-color-y":[{"border-y":[ld]}],"border-color-s":[{"border-s":[ld]}],"border-color-e":[{"border-e":[ld]}],"border-color-t":[{"border-t":[ld]}],"border-color-r":[{"border-r":[ld]}],"border-color-b":[{"border-b":[ld]}],"border-color-l":[{"border-l":[ld]}],"divide-color":[{divide:[ld]}],"outline-style":[{outline:["",...Af()]}],"outline-offset":[{"outline-offset":[isLength$1,isArbitraryValue]}],"outline-w":[{outline:[isLength$1,isArbitraryLength]}],"outline-color":[{outline:[Ra]}],"ring-w":[{ring:_f()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Ra]}],"ring-opacity":[{"ring-opacity":[jd]}],"ring-offset-w":[{"ring-offset":[isLength$1,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[Ra]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[jd]}],"mix-blend":[{"mix-blend":[...Df(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Df()}],filter:[{filter:["","none"]}],blur:[{blur:[nd]}],brightness:[{brightness:[od]}],contrast:[{contrast:[fd]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[md]}],"hue-rotate":[{"hue-rotate":[vd]}],invert:[{invert:[Ad]}],saturate:[{saturate:[Bd]}],sepia:[{sepia:[qd]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[nd]}],"backdrop-brightness":[{"backdrop-brightness":[od]}],"backdrop-contrast":[{"backdrop-contrast":[fd]}],"backdrop-grayscale":[{"backdrop-grayscale":[md]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[vd]}],"backdrop-invert":[{"backdrop-invert":[Ad]}],"backdrop-opacity":[{"backdrop-opacity":[jd]}],"backdrop-saturate":[{"backdrop-saturate":[Bd]}],"backdrop-sepia":[{"backdrop-sepia":[qd]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[dd]}],"border-spacing-x":[{"border-spacing-x":[dd]}],"border-spacing-y":[{"border-spacing-y":[dd]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:th()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:th()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Gd]}],"scale-x":[{"scale-x":[Gd]}],"scale-y":[{"scale-y":[Gd]}],rotate:[{rotate:[isInteger$1,isArbitraryValue]}],"translate-x":[{"translate-x":[gf]}],"translate-y":[{"translate-y":[gf]}],"skew-x":[{"skew-x":[zd]}],"skew-y":[{"skew-y":[zd]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",Ra]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[Ra]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Ef()}],"scroll-mx":[{"scroll-mx":Ef()}],"scroll-my":[{"scroll-my":Ef()}],"scroll-ms":[{"scroll-ms":Ef()}],"scroll-me":[{"scroll-me":Ef()}],"scroll-mt":[{"scroll-mt":Ef()}],"scroll-mr":[{"scroll-mr":Ef()}],"scroll-mb":[{"scroll-mb":Ef()}],"scroll-ml":[{"scroll-ml":Ef()}],"scroll-p":[{"scroll-p":Ef()}],"scroll-px":[{"scroll-px":Ef()}],"scroll-py":[{"scroll-py":Ef()}],"scroll-ps":[{"scroll-ps":Ef()}],"scroll-pe":[{"scroll-pe":Ef()}],"scroll-pt":[{"scroll-pt":Ef()}],"scroll-pr":[{"scroll-pr":Ef()}],"scroll-pb":[{"scroll-pb":Ef()}],"scroll-pl":[{"scroll-pl":Ef()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[Ra,"none"]}],"stroke-w":[{stroke:[isLength$1,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[Ra,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},twMerge=createTailwindMerge(getDefaultConfig);function cn$5(...Ra){return twMerge(clsx(Ra))}const _sfc_main$1j=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Pv),null,{default:withCtx(()=>[createVNode(unref($v),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Dv),mergeProps(unref(ud),{class:unref(cn$5)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$1i=defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),falsyToString=Ra=>typeof Ra=="boolean"?`${Ra}`:Ra===0?"0":Ra,cx$1=clsx,cva=(Ra,qa)=>nd=>{var od;if((qa==null?void 0:qa.variants)==null)return cx$1(Ra,nd==null?void 0:nd.class,nd==null?void 0:nd.className);const{variants:ld,defaultVariants:ud}=qa,dd=Object.keys(ld).map(md=>{const vd=nd==null?void 0:nd[md],Ad=ud==null?void 0:ud[md];if(vd===null)return null;const Nd=falsyToString(vd)||falsyToString(Ad);return ld[md][Nd]}),pd=nd&&Object.entries(nd).reduce((md,vd)=>{let[Ad,Nd]=vd;return Nd===void 0||(md[Ad]=Nd),md},{}),fd=qa==null||(od=qa.compoundVariants)===null||od===void 0?void 0:od.reduce((md,vd)=>{let{class:Ad,className:Nd,...Id}=vd;return Object.entries(Id).every(Od=>{let[Md,Ud]=Od;return Array.isArray(Ud)?Ud.includes({...ud,...pd}[Md]):{...ud,...pd}[Md]===Ud})?[...md,Ad,Nd]:md},[]);return cx$1(Ra,dd,fd,nd==null?void 0:nd.class,nd==null?void 0:nd.className)},_sfc_main$1h=defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$4),{as:nd.as,"as-child":nd.asChild,class:normalizeClass(unref(cn$5)(unref(buttonVariants)({variant:nd.variant,size:nd.size}),qa.class))},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),buttonVariants=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),_sfc_main$1g=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Rv),mergeProps(nd.value,{class:unref(cn$5)(unref(buttonVariants)(),qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1f=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Bv),mergeProps(nd.value,{class:unref(cn$5)(unref(buttonVariants)({variant:"outline"}),"mt-2 sm:mt-0",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1e=defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col gap-y-2 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$1d=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Tv),mergeProps(nd.value,{class:unref(cn$5)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1c=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Iv),mergeProps(nd.value,{class:unref(cn$5)("text-lg font-semibold",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$b={key:0,class:"loading"},_sfc_main$1b=defineComponent({__name:"RunLoading",setup(Ra){const qa=ref$1(!0);return onMounted(()=>{setTimeout(()=>{qa.value=!1},100)}),(nd,od)=>(openBlock(),createBlock(Transition$1,{name:"fade"},{default:withCtx(()=>[unref(qa)?(openBlock(),createElementBlock("div",_hoisted_1$b,od[0]||(od[0]=[createBaseVNode("strong",null,"致力于让 Markdown 编辑更简单",-1)]))):createCommentVNode("",!0)]),_:1}))}}),_export_sfc=(Ra,qa)=>{const nd=Ra.__vccOpts||Ra;for(const[od,ld]of qa)nd[od]=ld;return nd},__unplugin_components_11=_export_sfc(_sfc_main$1b,[["__scopeId","data-v-8781f9ec"]]),_sfc_main$1a=defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Zi$2),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const toKebabCase=Ra=>Ra.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var defaultAttributes={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Icon=({size:Ra,strokeWidth:qa=2,absoluteStrokeWidth:nd,color:od,iconNode:ld,name:ud,class:dd,...pd},{slots:fd})=>h$2("svg",{...defaultAttributes,width:Ra||defaultAttributes.width,height:Ra||defaultAttributes.height,stroke:od||defaultAttributes.stroke,"stroke-width":nd?Number(qa)*24/Number(Ra):qa,class:["lucide",`lucide-${toKebabCase(ud??"icon")}`],...pd},[...ld.map(md=>h$2(...md)),...fd.default?[fd.default()]:[]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const createLucideIcon=(Ra,qa)=>(nd,{slots:od})=>h$2(Icon,{...nd,iconNode:qa,name:Ra},od);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Check=createLucideIcon("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ChevronDown=createLucideIcon("ChevronDownIcon",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ChevronRight=createLucideIcon("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ChevronUp=createLucideIcon("ChevronUpIcon",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const CloudUpload=createLucideIcon("CloudUploadIcon",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Download=createLucideIcon("DownloadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ellipsis=createLucideIcon("EllipsisIcon",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const FileCode=createLucideIcon("FileCodeIcon",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Info=createLucideIcon("InfoIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Minus=createLucideIcon("MinusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Moon=createLucideIcon("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const PanelLeftClose=createLucideIcon("PanelLeftCloseIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const PanelLeftOpen=createLucideIcon("PanelLeftOpenIcon",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const PenLine=createLucideIcon("PenLineIcon",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Plus=createLucideIcon("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Settings=createLucideIcon("SettingsIcon",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Sun=createLucideIcon("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Table=createLucideIcon("TableIcon",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Trash=createLucideIcon("TrashIcon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Upload=createLucideIcon("UploadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
|
||
* @license lucide-vue-next v0.462.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const X$7=createLucideIcon("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_sfc_main$19=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(xv),null,{default:withCtx(()=>[createVNode(unref(_u$3),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Cu$3),mergeProps(unref(ud),{class:unref(cn$5)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default"),createVNode(unref(Ul$3),{class:"data-[state=open]:bg-accent ring-offset-background data-[state=open]:text-muted-foreground focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"},{default:withCtx(()=>[createVNode(unref(X$7),{class:"h-4 w-4"}),pd[0]||(pd[0]=createBaseVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),_sfc_main$18=defineComponent({__name:"DialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}});function tryOnScopeDispose(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function createEventHook(){const Ra=new Set,qa=ld=>{Ra.delete(ld)};return{on:ld=>{Ra.add(ld);const ud=()=>qa(ld);return tryOnScopeDispose(ud),{off:ud}},off:qa,trigger:(...ld)=>Promise.all(Array.from(Ra).map(ud=>ud(...ld)))}}function toValue(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const isDef=Ra=>typeof Ra<"u",toString$3=Object.prototype.toString,isObject$4=Ra=>toString$3.call(Ra)==="[object Object]",noop$5=()=>{},hasOwn$2=(Ra,qa)=>Object.prototype.hasOwnProperty.call(Ra,qa);function createFilterWrapper(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const bypassFilter=Ra=>Ra();function pausableFilter(Ra=bypassFilter){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function getLifeCycleTarget(Ra){return getCurrentInstance()}function toRef(...Ra){if(Ra.length!==1)return toRef$1(...Ra);const qa=Ra[0];return typeof qa=="function"?readonly(customRef(()=>({get:qa,set:noop$5}))):ref$1(qa)}function watchWithFilter(Ra,qa,nd={}){const{eventFilter:od=bypassFilter,...ld}=nd;return watch(Ra,createFilterWrapper(od,qa),ld)}function watchPausable(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:dd,resume:pd,isActive:fd}=pausableFilter(od);return{stop:watchWithFilter(Ra,qa,{...ld,eventFilter:ud}),pause:dd,resume:pd,isActive:fd}}function tryOnMounted(Ra,qa=!0,nd){getLifeCycleTarget()?onMounted(Ra,nd):qa?Ra():nextTick$1(Ra)}function useToggle(Ra=!1,qa={}){const{truthyValue:nd=!0,falsyValue:od=!1}=qa,ld=isRef(Ra),ud=ref$1(Ra);function dd(pd){if(arguments.length)return ud.value=pd,ud.value;{const fd=toValue(nd);return ud.value=ud.value===fd?toValue(od):fd,ud.value}}return ld?dd:[ud,dd]}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function unrefElement(Ra){var qa;const nd=toValue(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}function useEventListener(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=defaultWindow):[qa,nd,od,ld]=Ra,!qa)return noop$5;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],dd=()=>{ud.forEach(vd=>vd()),ud.length=0},pd=(vd,Ad,Nd,Id)=>(vd.addEventListener(Ad,Nd,Id),()=>vd.removeEventListener(Ad,Nd,Id)),fd=watch(()=>[unrefElement(qa),toValue(ld)],([vd,Ad])=>{if(dd(),!vd)return;const Nd=isObject$4(Ad)?{...Ad}:Ad;ud.push(...nd.flatMap(Id=>od.map(Od=>pd(vd,Id,Od,Nd))))},{immediate:!0,flush:"post"}),md=()=>{fd(),dd()};return tryOnScopeDispose(md),md}function useMounted(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function useSupported(Ra){const qa=useMounted();return computed(()=>(qa.value,!!Ra()))}function useMediaQuery(Ra,qa={}){const{window:nd=defaultWindow}=qa,od=useSupported(()=>nd&&"matchMedia"in nd&&typeof nd.matchMedia=="function");let ld;const ud=ref$1(!1),dd=md=>{ud.value=md.matches},pd=()=>{ld&&("removeEventListener"in ld?ld.removeEventListener("change",dd):ld.removeListener(dd))},fd=watchEffect(()=>{od.value&&(pd(),ld=nd.matchMedia(toValue(Ra)),"addEventListener"in ld?ld.addEventListener("change",dd):ld.addListener(dd),ud.value=ld.matches)});return tryOnScopeDispose(()=>{fd(),pd(),ld=void 0}),ud}function cloneFnJSON(Ra){return JSON.parse(JSON.stringify(Ra))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global$1||(_global$1[globalKey]=_global$1[globalKey]||{}),_global$1[globalKey]}function getSSRHandler(Ra,qa){return handlers[Ra]||qa}function usePreferredDark(Ra){return useMediaQuery("(prefers-color-scheme: dark)",Ra)}function guessSerializerType(Ra){return Ra==null?"any":Ra instanceof Set?"set":Ra instanceof Map?"map":Ra instanceof Date?"date":typeof Ra=="boolean"?"boolean":typeof Ra=="string"?"string":typeof Ra=="object"?"object":Number.isNaN(Ra)?"any":"number"}const StorageSerializers={boolean:{read:Ra=>Ra==="true",write:Ra=>String(Ra)},object:{read:Ra=>JSON.parse(Ra),write:Ra=>JSON.stringify(Ra)},number:{read:Ra=>Number.parseFloat(Ra),write:Ra=>String(Ra)},any:{read:Ra=>Ra,write:Ra=>String(Ra)},string:{read:Ra=>Ra,write:Ra=>String(Ra)},map:{read:Ra=>new Map(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra.entries()))},set:{read:Ra=>new Set(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra))},date:{read:Ra=>new Date(Ra),write:Ra=>Ra.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(Ra,qa,nd,od={}){var ld;const{flush:ud="pre",deep:dd=!0,listenToStorageChanges:pd=!0,writeDefaults:fd=!0,mergeDefaults:md=!1,shallow:vd,window:Ad=defaultWindow,eventFilter:Nd,onError:Id=Zd=>{console.error(Zd)},initOnMounted:Od}=od,Md=(vd?shallowRef:ref$1)(typeof qa=="function"?qa():qa);if(!nd)try{nd=getSSRHandler("getDefaultStorage",()=>{var Zd;return(Zd=defaultWindow)==null?void 0:Zd.localStorage})()}catch(Zd){Id(Zd)}if(!nd)return Md;const Ud=toValue(qa),jd=guessSerializerType(Ud),Ld=(ld=od.serializer)!=null?ld:StorageSerializers[jd],{pause:Bd,resume:Gd}=watchPausable(Md,()=>zd(Md.value),{flush:ud,deep:dd,eventFilter:Nd});Ad&&pd&&tryOnMounted(()=>{nd instanceof Storage?useEventListener(Ad,"storage",gf):useEventListener(Ad,customStorageEventName,Yd),Od&&gf()}),Od||gf();function qd(Zd,df){if(Ad){const Ef={key:Ra,oldValue:Zd,newValue:df,storageArea:nd};Ad.dispatchEvent(nd instanceof Storage?new StorageEvent("storage",Ef):new CustomEvent(customStorageEventName,{detail:Ef}))}}function zd(Zd){try{const df=nd.getItem(Ra);if(Zd==null)qd(df,null),nd.removeItem(Ra);else{const Ef=Ld.write(Zd);df!==Ef&&(nd.setItem(Ra,Ef),qd(df,Ef))}}catch(df){Id(df)}}function Xd(Zd){const df=Zd?Zd.newValue:nd.getItem(Ra);if(df==null)return fd&&Ud!=null&&nd.setItem(Ra,Ld.write(Ud)),Ud;if(!Zd&&md){const Ef=Ld.read(df);return typeof md=="function"?md(Ef,Ud):jd==="object"&&!Array.isArray(Ef)?{...Ud,...Ef}:Ef}else return typeof df!="string"?df:Ld.read(df)}function gf(Zd){if(!(Zd&&Zd.storageArea!==nd)){if(Zd&&Zd.key==null){Md.value=Ud;return}if(!(Zd&&Zd.key!==Ra)){Bd();try{(Zd==null?void 0:Zd.newValue)!==Ld.write(Md.value)&&(Md.value=Xd(Zd))}catch(df){Id(df)}finally{Zd?nextTick$1(Gd):Gd()}}}}function Yd(Zd){gf(Zd.detail)}return Md}const CSS_DISABLE_TRANS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function useColorMode(Ra={}){const{selector:qa="html",attribute:nd="class",initialValue:od="auto",window:ld=defaultWindow,storage:ud,storageKey:dd="vueuse-color-scheme",listenToStorageChanges:pd=!0,storageRef:fd,emitAuto:md,disableTransition:vd=!0}=Ra,Ad={auto:"",light:"light",dark:"dark",...Ra.modes||{}},Nd=usePreferredDark({window:ld}),Id=computed(()=>Nd.value?"dark":"light"),Od=fd||(dd==null?toRef(od):useStorage(dd,od,ud,{window:ld,listenToStorageChanges:pd})),Md=computed(()=>Od.value==="auto"?Id.value:Od.value),Ud=getSSRHandler("updateHTMLAttrs",(Gd,qd,zd)=>{const Xd=typeof Gd=="string"?ld==null?void 0:ld.document.querySelector(Gd):unrefElement(Gd);if(!Xd)return;const gf=new Set,Yd=new Set;let Zd=null;if(qd==="class"){const Ef=zd.split(/\s/g);Object.values(Ad).flatMap(_f=>(_f||"").split(/\s/g)).filter(Boolean).forEach(_f=>{Ef.includes(_f)?gf.add(_f):Yd.add(_f)})}else Zd={key:qd,value:zd};if(gf.size===0&&Yd.size===0&&Zd===null)return;let df;vd&&(df=ld.document.createElement("style"),df.appendChild(document.createTextNode(CSS_DISABLE_TRANS)),ld.document.head.appendChild(df));for(const Ef of gf)Xd.classList.add(Ef);for(const Ef of Yd)Xd.classList.remove(Ef);Zd&&Xd.setAttribute(Zd.key,Zd.value),vd&&(ld.getComputedStyle(df).opacity,document.head.removeChild(df))});function jd(Gd){var qd;Ud(qa,nd,(qd=Ad[Gd])!=null?qd:Gd)}function Ld(Gd){Ra.onChanged?Ra.onChanged(Gd,jd):jd(Gd)}watch(Md,Ld,{flush:"post",immediate:!0}),tryOnMounted(()=>Ld(Md.value));const Bd=computed({get(){return md?Od.value:Md.value},set(Gd){Od.value=Gd}});return Object.assign(Bd,{store:Od,system:Id,state:Md})}function useDark(Ra={}){const{valueDark:qa="dark",valueLight:nd=""}=Ra,od=useColorMode({...Ra,onChanged:(dd,pd)=>{var fd;Ra.onChanged?(fd=Ra.onChanged)==null||fd.call(Ra,dd==="dark",pd,dd):pd(dd)},modes:{dark:qa,light:nd}}),ld=computed(()=>od.system.value);return computed({get(){return od.value==="dark"},set(dd){const pd=dd?"dark":"light";ld.value===pd?od.value="auto":od.value=pd}})}const DEFAULT_OPTIONS={multiple:!0,accept:"*",reset:!1,directory:!1};function useFileDialog(Ra={}){const{document:qa=defaultDocument}=Ra,nd=ref$1(null),{on:od,trigger:ld}=createEventHook(),{on:ud,trigger:dd}=createEventHook();let pd;qa&&(pd=qa.createElement("input"),pd.type="file",pd.onchange=vd=>{const Ad=vd.target;nd.value=Ad.files,ld(nd.value)},pd.oncancel=()=>{dd()});const fd=()=>{nd.value=null,pd&&pd.value&&(pd.value="",ld(null))},md=vd=>{if(!pd)return;const Ad={...DEFAULT_OPTIONS,...Ra,...vd};pd.multiple=Ad.multiple,pd.accept=Ad.accept,pd.webkitdirectory=Ad.directory,hasOwn$2(Ad,"capture")&&(pd.capture=Ad.capture),Ad.reset&&fd(),pd.click()};return{files:readonly(nd),open:md,reset:fd,onCancel:ud,onChange:od}}function useLocalStorage(Ra,qa,nd={}){const{window:od=defaultWindow}=nd;return useStorage(Ra,qa,od==null?void 0:od.localStorage,nd)}function useVModel(Ra,qa,nd,od={}){var ld,ud,dd;const{clone:pd=!1,passive:fd=!1,eventName:md,deep:vd=!1,defaultValue:Ad,shouldEmit:Nd}=od,Id=getCurrentInstance(),Od=nd||(Id==null?void 0:Id.emit)||((ld=Id==null?void 0:Id.$emit)==null?void 0:ld.bind(Id))||((dd=(ud=Id==null?void 0:Id.proxy)==null?void 0:ud.$emit)==null?void 0:dd.bind(Id==null?void 0:Id.proxy));let Md=md;Md=Md||`update:${qa.toString()}`;const Ud=Bd=>pd?typeof pd=="function"?pd(Bd):cloneFnJSON(Bd):Bd,jd=()=>isDef(Ra[qa])?Ud(Ra[qa]):Ad,Ld=Bd=>{Nd?Nd(Bd)&&Od(Md,Bd):Od(Md,Bd)};if(fd){const Bd=jd(),Gd=ref$1(Bd);let qd=!1;return watch(()=>Ra[qa],zd=>{qd||(qd=!0,Gd.value=Ud(zd),nextTick$1(()=>qd=!1))}),watch(Gd,zd=>{!qd&&(zd!==Ra[qa]||vd)&&Ld(zd)},{deep:vd}),Gd}else return computed({get(){return jd()},set(Bd){Ld(Bd)}})}const _sfc_main$17=defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,dd)=>withDirectives((openBlock(),createElementBlock("input",{"onUpdate:modelValue":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null),class:normalizeClass(unref(cn$5)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$16=defineComponent({__name:"NumberField",props:{defaultValue:{},modelValue:{},min:{},max:{},step:{},formatOptions:{},locale:{},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(cy$1),mergeProps(unref(ud),{class:unref(cn$5)("grid gap-1.5",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$15=defineComponent({__name:"NumberFieldContent",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("relative [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5 [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$14=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(fy$1),mergeProps({"data-slot":"increment"},unref(od),{class:unref(cn$5)("absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20 p-3",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Plus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$13=defineComponent({__name:"NumberFieldInput",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(py$1),{"data-slot":"input",class:normalizeClass(unref(cn$5)("flex h-10 w-full rounded-md border border-input bg-background py-2 text-sm text-center ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",qa.class))},null,8,["class"]))}}),_sfc_main$12=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(vy$1),mergeProps({"data-slot":"decrement"},unref(od),{class:unref(cn$5)("absolute top-1/2 -translate-y-1/2 left-0 p-3 disabled:cursor-not-allowed disabled:opacity-20",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Minus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$11=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Ih),mergeProps(nd.value,{class:unref(cn$5)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$10=defineComponent({__name:"DialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("flex flex-col gap-y-1.5 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$$=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(xu$2),mergeProps(unref(od),{class:unref(cn$5)("text-lg font-semibold leading-none tracking-tight",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),DEFAULT_CONTENT=`# 探索 Markdown 的奇妙世界
|
||
|
||
欢迎来到 Markdown 的奇妙世界!无论你是写作爱好者、开发者、博主,还是想要简单记录点什么的人,Markdown 都能成为你新的好伙伴。它不仅让写作变得简单明了,还能轻松地将内容转化为漂亮的网页格式。今天,我们将全面探讨 Markdown 的基础和进阶语法,让你在这个过程中充分享受写作的乐趣!
|
||
|
||
Markdown 是一种轻量级标记语言,用于格式化纯文本。它以简单、直观的语法而著称,可以快速地生成 HTML。Markdown 是写作与代码的完美结合,既简单又强大。
|
||
|
||
## Markdown 基础语法
|
||
|
||
### 1. 标题:让你的内容层次分明
|
||
|
||
用 \`#\` 号来创建标题。标题从 \`#\` 开始,\`#\` 的数量表示标题的级别。
|
||
|
||
\`\`\`markdown
|
||
# 一级标题
|
||
|
||
## 二级标题
|
||
|
||
### 三级标题
|
||
|
||
#### 四级标题
|
||
\`\`\`
|
||
|
||
以上代码将渲染出一组层次分明的标题,使你的文章井井有条。
|
||
|
||
### 2. 段落与换行:自然流畅
|
||
|
||
Markdown 中的段落就是一行接一行的文本。要创建新段落,只需在两行文本之间空一行。
|
||
|
||
### 3. 字体样式:强调你的文字
|
||
|
||
- **粗体**:用两个星号或下划线包裹文字,如 \`**粗体**\` 或 \`__粗体__\`。
|
||
- _斜体_:用一个星号或下划线包裹文字,如 \`*斜体*\` 或 \`_斜体_\`。
|
||
- ~~删除线~~:用两个波浪线包裹文字,如 \`~~删除线~~\`。
|
||
|
||
这些简单的标记可以让你的内容更有层次感和重点突出。
|
||
|
||
### 4. 列表:整洁有序
|
||
|
||
- **无序列表**:用 \`-\`、\`*\` 或 \`+\` 加空格开始一行。
|
||
- **有序列表**:使用数字加点号(\`1.\`、\`2.\`)开始一行。
|
||
|
||
在列表中嵌套其他内容?只需缩进即可实现嵌套效果。
|
||
|
||
- 无序列表项 1
|
||
1. 嵌套有序列表项 1
|
||
2. 嵌套有序列表项 2
|
||
- 无序列表项 2
|
||
|
||
1. 有序列表项 1
|
||
2. 有序列表项 2
|
||
|
||
### 5. 链接与图片:丰富内容
|
||
|
||
- **链接**:用方括号和圆括号创建链接 \`[显示文本](链接地址)\`。
|
||
- **图片**:和链接类似,只需在前面加上 \`!\`,如 \`![描述文本](图片链接)\`。
|
||
|
||
[访问 Doocs](https://github.com/doocs)
|
||
|
||
![doocs](https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/logo-2.png)
|
||
|
||
轻松实现富媒体内容展示!
|
||
|
||
> 因微信公众号平台不支持除公众号文章以外的链接,故其他平台的链接,会呈现链接样式但无法点击跳转。
|
||
|
||
> 对于这些链接请注意明文书写,或点击左上角「格式->微信外链接转底部引用」开启引用,这样就可以在底部观察到链接指向。
|
||
|
||
### 6. 引用:引用名言或引人深思的句子
|
||
|
||
使用 \`>\` 来创建引用,只需在文本前面加上它。多层引用?在前一层 \`>\` 后再加一个就行。
|
||
|
||
> 这是一个引用
|
||
>
|
||
> > 这是一个嵌套引用
|
||
|
||
这让你的引用更加富有层次感。
|
||
|
||
### 7. 代码块:展示你的代码
|
||
|
||
- **行内代码**:用反引号包裹,如 \`code\`。
|
||
- **代码块**:用三个反引号包裹,并指定语言,如:
|
||
|
||
\`\`\`js
|
||
console.log("Hello, Doocs!");
|
||
\`\`\`
|
||
|
||
语法高亮让你的代码更易读。
|
||
|
||
### 8. 分割线:分割内容
|
||
|
||
用三个或更多的 \`-\`、\`*\` 或 \`_\` 来创建分割线。
|
||
|
||
---
|
||
|
||
为你的内容添加视觉分隔。
|
||
|
||
### 9. 表格:清晰展示数据
|
||
|
||
Markdown 支持简单的表格,用 \`|\` 和 \`-\` 分隔单元格和表头。
|
||
|
||
| 项目人员 | 邮箱 | 微信号 |
|
||
| ------------------------------------------- | ---------------------- | ------------ |
|
||
| [yanglbme](https://github.com/yanglbme) | contact@yanglibin.info | YLB0109 |
|
||
| [YangFong](https://github.com/YangFong) | yangfong2022@gmail.com | yq2419731931 |
|
||
| [thinkasany](https://github.com/thinkasany) | thinkasany@gmail.com | thinkasany |
|
||
|
||
这样的表格让数据展示更为清爽!
|
||
|
||
> 手动编写标记太麻烦?我们提供了便捷方式。左上方点击「编辑->插入表格」,即可快速实现表格渲染。
|
||
|
||
## Markdown 进阶技巧
|
||
|
||
### 1. LaTeX 公式:完美展示数学表达式
|
||
|
||
Markdown 允许嵌入 LaTeX 语法展示数学公式:
|
||
|
||
- **行内公式**:用 \`$\` 包裹公式,如 $E = mc^2$。
|
||
- **块级公式**:用 \`$$\` 包裹公式,如:
|
||
|
||
$$
|
||
\\begin{aligned}
|
||
d_{i, j} &\\leftarrow d_{i, j} + 1 \\\\
|
||
d_{i, y + 1} &\\leftarrow d_{i, y + 1} - 1 \\\\
|
||
d_{x + 1, j} &\\leftarrow d_{x + 1, j} - 1 \\\\
|
||
d_{x + 1, y + 1} &\\leftarrow d_{x + 1, y + 1} + 1
|
||
\\end{aligned}
|
||
$$
|
||
|
||
这是展示复杂数学表达的利器!
|
||
|
||
### 2. Mermaid 流程图:可视化流程
|
||
|
||
Mermaid 是强大的可视化工具,可以在 Markdown 中创建流程图、时序图等。
|
||
|
||
\`\`\`mermaid
|
||
graph LR
|
||
A[GraphCommand] --> B[update]
|
||
A --> C[goto]
|
||
A --> D[send]
|
||
|
||
B --> B1[更新状态]
|
||
C --> C1[流程控制]
|
||
D --> D1[消息传递]
|
||
\`\`\`
|
||
|
||
\`\`\`mermaid
|
||
graph TD;
|
||
A-->B;
|
||
A-->C;
|
||
B-->D;
|
||
C-->D;
|
||
\`\`\`
|
||
|
||
\`\`\`mermaid
|
||
pie
|
||
title Key elements in Product X
|
||
"Calcium" : 42.96
|
||
"Potassium" : 50.05
|
||
"Magnesium" : 10.01
|
||
"Iron" : 5
|
||
\`\`\`
|
||
|
||
\`\`\`mermaid
|
||
pie
|
||
title 为什么总是宅在家里?
|
||
"喜欢宅" : 45
|
||
"天气太热" : 70
|
||
"穷" : 500
|
||
"没人约" : 95
|
||
\`\`\`
|
||
|
||
这种方式不仅能直观展示流程,还能提升文档的专业性。
|
||
|
||
> 更多用法,参见:[Mermaid User Guide](https://mermaid.js.org/intro/getting-started.html)。
|
||
|
||
## 结语
|
||
|
||
Markdown 是一种简单、强大且易于掌握的标记语言,通过学习基础和进阶语法,你可以快速创作内容并有效传达信息。无论是技术文档、个人博客还是项目说明,Markdown 都是你的得力助手。希望这篇文章能够带你全面了解 Markdown 的潜力,让你的写作更加丰富多彩!
|
||
|
||
现在,拿起 Markdown 编辑器,开始创作吧!探索 Markdown 的世界,你会发现它远比想象中更精彩!
|
||
|
||
#### 推荐阅读
|
||
|
||
- [阿里又一个 20k+ stars 开源项目诞生,恭喜 fastjson!](https://mp.weixin.qq.com/s/RNKDCK2KoyeuMeEs6GUrow)
|
||
- [刷掉 90% 候选人的互联网大厂海量数据面试题(附题解 + 方法总结)](https://mp.weixin.qq.com/s/rjGqxUvrEqJNlo09GrT1Dw)
|
||
- [好用!期待已久的文本块功能究竟如何在 Java 13 中发挥作用?](https://mp.weixin.qq.com/s/kalGv5T8AZGxTnLHr2wDsA)
|
||
- [2019 GitHub 开源贡献排行榜新鲜出炉!微软谷歌领头,阿里跻身前 12!](https://mp.weixin.qq.com/s/_q812aGD1b9QvZ2WFI0Qgw)
|
||
|
||
---
|
||
|
||
<center>
|
||
<img src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png" style="width: 100px;">
|
||
</center>
|
||
`,DEFAULT_CSS_CONTENT=`/**
|
||
* 按 Alt/Option + Shift + F 可格式化
|
||
* 如需使用主题色,请使用 var(--md-primary-color) 代替颜色值
|
||
* 如:color: var(--md-primary-color);
|
||
*
|
||
* 召集令:如果你有好看的主题样式,欢迎分享,让更多人能够使用到你的主题。
|
||
* 提交区:https://github.com/doocs/md/discussions/426
|
||
*/
|
||
/* 一级标题样式 */
|
||
h1 {
|
||
}
|
||
/* 二级标题样式 */
|
||
h2 {
|
||
}
|
||
/* 三级标题样式 */
|
||
h3 {
|
||
}
|
||
/* 四级标题样式 */
|
||
h4 {
|
||
}
|
||
/* 五级标题样式 */
|
||
h5 {
|
||
}
|
||
/* 六级标题样式 */
|
||
h6 {
|
||
}
|
||
/* 图片样式 */
|
||
image {
|
||
}
|
||
/* 引用样式 */
|
||
blockquote {
|
||
}
|
||
/* 引用段落样式 */
|
||
blockquote_p {
|
||
}
|
||
/* GFM note 样式 */
|
||
blockquote_note {
|
||
}
|
||
/* GFM tip 样式 */
|
||
blockquote_tip {
|
||
}
|
||
/* GFM important 样式 */
|
||
blockquote_important {
|
||
}
|
||
/* GFM warning 样式 */
|
||
blockquote_warning {
|
||
}
|
||
/* GFM caution 样式 */
|
||
blockquote_caution {
|
||
}
|
||
/* GFM 通用标题 */
|
||
blockquote_title {
|
||
}
|
||
/* GFM note 标题 */
|
||
blockquote_title_note {
|
||
}
|
||
/* GFM tip 标题 */
|
||
blockquote_title_tip {
|
||
}
|
||
/* GFM important 标题 */
|
||
blockquote_title_important {
|
||
}
|
||
/* GFM warning 标题 */
|
||
blockquote_title_warning {
|
||
}
|
||
/* GFM caution 标题 */
|
||
blockquote_title_caution {
|
||
}
|
||
/* GFM note 段落样式 */
|
||
blockquote_p_note {
|
||
}
|
||
/* GFM tip 段落样式 */
|
||
blockquote_p_tip {
|
||
}
|
||
/* GFM important 段落样式 */
|
||
blockquote_p_important {
|
||
}
|
||
/* GFM warning 段落样式 */
|
||
blockquote_p_warning {
|
||
}
|
||
/* GFM caution 段落样式 */
|
||
blockquote_p_caution {
|
||
}
|
||
/* 段落样式 */
|
||
p {
|
||
}
|
||
/* 分割线样式 */
|
||
hr {
|
||
}
|
||
/* 行内代码样式 */
|
||
codespan {
|
||
}
|
||
/* 粗体样式 */
|
||
strong {
|
||
}
|
||
/* 链接样式 */
|
||
link {
|
||
}
|
||
/* 微信链接样式 */
|
||
wx_link {
|
||
}
|
||
/* 有序列表样式 */
|
||
ol {
|
||
}
|
||
/* 无序列表样式 */
|
||
ul {
|
||
}
|
||
/* 列表项样式 */
|
||
li {
|
||
}
|
||
/* 代码块样式 */
|
||
code {
|
||
}
|
||
/* 代码块外层样式 */
|
||
code_pre {
|
||
}
|
||
`,githubConfig={username:"bucketio",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ghp_sqQg5y7XC7Fy8XdoocsmdVEYRiRiTZPvbwzTL4MRjQc","ghp_jB5JXzBjpGbgzdoocsmdogWfSHhfCKGVstozw1cAsPv","ghp_zvy8wkHo259g7doocsmdJnUKOQd1WO1SPzZ9G0O9cJD","ghp_DnCJc2Ms0RVZ1doocsmdiWOAN78FurfSeD1Pv2Y28pO","ghp_EsMYDv9WVjXWP5doocsmd1nnDml2DEP95rOiz44bSo0","ghp_L4isHf01nllOOdoocsmdHBGoDG6jscCA09WV44QDvlg","ghp_qWciwYXHPakAUGdoocsmdBOBZdRcV08JThKey3mBZNJ","ghp_rxkvIO08wVL2DMdoocsmd2jDEhcatp2rfVyhd3A7RiS","ghp_1RvkWKboSxr0yVdoocsmd7OtBCpecYwoV6deh3utifJ","ghp_cduanDnAug60ngdoocsmdF1uDstXUi6S9RMhY1qdada","ghp_q6mxuJIkqAcsCXdoocsmdkkjWvzGlMVRuy5zI0IWNDx","ghp_Pv4npPeJpChKFMTdoocsmdCQneopUcqJrqrjl3vrt9A","ghp_gKMCFqMaQiLTqhjdoocsmd7BJE8RyK6AdRw4b42CutS","ghp_2oShgb33qFlqBmadoocsmdludmuLYxBFY5bao1XrsVo","ghp_eYyd3kxWTZmsV8doocsmdDFbAa7AEGQTJgmOd0GUmtY"]},giteeConfig={username:"filesss",repoList:Array.from({length:20},(Ra,qa)=>`img${qa}`),branch:"main",accessTokenList:["ed5fc9866bd6c2fdoocsmddd433f806fd2f399c","5448ffebbbf1151doocsmdc4e337cf814fc8a62","25b05efd2557ca2doocsmd75b5c0835e3395911","11628c7a5aef015doocsmd2eeff9fb9566f0458","cb2f5145ed938dedoocsmdbd063b4ed244eecf8","d8c0b57500672c1doocsmd55f48b866b5ebcd98","78c56eadb88e453doocsmd43ddd95753351771a","03e1a688003948fdoocsmda16fcf41e6f03f1f0","c49121cf4d191fbdoocsmdd6a7877ed537e474a","adfeb2fadcdc4aadoocsmdfe1ee869ac9c968ff","116c94549ca4a0ddoocsmd192653af5c0694616","ecf30ed7f2eb184doocsmd51ea4ec8300371d9e","5837cf2bd5afd93doocsmd73904bed31934949e","b5b7e1c7d57e01fdoocsmd5266f552574297d78","684d55564ffbd0bdoocsmd7d747e5cc23aed6d6","3fc04a9d272ab71doocsmd010c56cb57d88d2ba"]},fontFamilyOptions=[{label:"无衬线",value:"-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif",desc:"字体123Abc"},{label:"衬线",value:"Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif",desc:"字体123Abc"},{label:"等宽",value:"Menlo, Monaco, 'Courier New', monospace",desc:"字体123Abc"}],fontSizeOptions=[{label:"12px",value:"12px",desc:"更小"},{label:"13px",value:"13px",desc:"稍小"},{label:"14px",value:"14px",desc:"推荐"},{label:"15px",value:"15px",desc:"稍大"},{label:"16px",value:"16px",desc:"更大"}],colorOptions=[{label:"经典蓝",value:"#0F4C81",desc:"稳重冷静"},{label:"翡翠绿",value:"#009874",desc:"自然平衡"},{label:"活力橘",value:"#FA5151",desc:"热情活力"},{label:"柠檬黄",value:"#FECE00",desc:"明亮温暖"},{label:"薰衣紫",value:"#92617E",desc:"优雅神秘"},{label:"天空蓝",value:"#55C9EA",desc:"清爽自由"},{label:"玫瑰金",value:"#B76E79",desc:"奢华现代"},{label:"橄榄绿",value:"#556B2F",desc:"沉稳自然"},{label:"石墨黑",value:"#333333",desc:"内敛极简"},{label:"雾烟灰",value:"#A9A9A9",desc:"柔和低调"},{label:"樱花粉",value:"#FFB7C5",desc:"浪漫甜美"}],codeBlockUrlPrefix="https://cdn.bootcdn.net/ajax/libs/highlight.js/11.10.0/styles/",codeBlockThemeList=["1c-light.min.css","a11y-dark.min.css","a11y-light.min.css","agate.min.css","an-old-hope.min.css","androidstudio.min.css","arduino-light.min.css","arta.min.css","ascetic.min.css","atom-one-dark-reasonable.min.css","atom-one-dark.min.css","atom-one-light.min.css","brown-paper.min.css","codepen-embed.min.css","color-brewer.min.css","dark.min.css","default.min.css","devibeans.min.css","docco.min.css","far.min.css","felipec.min.css","foundation.min.css","github-dark-dimmed.min.css","github-dark.min.css","github.min.css","gml.min.css","googlecode.min.css","gradient-dark.min.css","gradient-light.min.css","grayscale.min.css","hybrid.min.css","idea.min.css","intellij-light.min.css","ir-black.min.css","isbl-editor-dark.min.css","isbl-editor-light.min.css","kimbie-dark.min.css","kimbie-light.min.css","lightfair.min.css","lioshi.min.css","magula.min.css","mono-blue.min.css","monokai-sublime.min.css","monokai.min.css","night-owl.min.css","nnfx-dark.min.css","nnfx-light.min.css","nord.min.css","obsidian.min.css","panda-syntax-dark.min.css","panda-syntax-light.min.css","paraiso-dark.min.css","paraiso-light.min.css","pojoaque.min.css","purebasic.min.css","qtcreator-dark.min.css","qtcreator-light.min.css","rainbow.min.css","routeros.min.css","school-book.min.css","shades-of-purple.min.css","srcery.min.css","stackoverflow-dark.min.css","stackoverflow-light.min.css","sunburst.min.css","tokyo-night-dark.min.css","tokyo-night-light.min.css","tomorrow-night-blue.min.css","tomorrow-night-bright.min.css","vs.min.css","vs2015.min.css","xcode.min.css","xt256.min.css"].sort(),codeBlockThemeOptions=codeBlockThemeList.map(Ra=>{const qa=Ra.replace(".min.css",""),nd=`${codeBlockUrlPrefix}${Ra}`;return{label:qa,value:nd,desc:""}}),legendOptions=[{label:"title 优先",value:"title-alt",desc:""},{label:"alt 优先",value:"alt-title",desc:""},{label:"只显示 title",value:"title",desc:""},{label:"只显示 alt",value:"alt",desc:""},{label:"不显示",value:"none",desc:""}];function isPrimitive(Ra){return Ra==null||typeof Ra!="object"&&typeof Ra!="function"}function isTypedArray$3(Ra){return ArrayBuffer.isView(Ra)&&!(Ra instanceof DataView)}var buffer$1={},base64Js$1={};base64Js$1.byteLength=byteLength;base64Js$1.toByteArray=toByteArray;base64Js$1.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i$3=0,len=code.length;i$3<len;++i$3)lookup[i$3]=code[i$3],revLookup[code.charCodeAt(i$3)]=i$3;revLookup[45]=62;revLookup[95]=63;function getLens(Ra){var qa=Ra.length;if(qa%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var nd=Ra.indexOf("=");nd===-1&&(nd=qa);var od=nd===qa?0:4-nd%4;return[nd,od]}function byteLength(Ra){var qa=getLens(Ra),nd=qa[0],od=qa[1];return(nd+od)*3/4-od}function _byteLength(Ra,qa,nd){return(qa+nd)*3/4-nd}function toByteArray(Ra){var qa,nd=getLens(Ra),od=nd[0],ld=nd[1],ud=new Arr(_byteLength(Ra,od,ld)),dd=0,pd=ld>0?od-4:od,fd;for(fd=0;fd<pd;fd+=4)qa=revLookup[Ra.charCodeAt(fd)]<<18|revLookup[Ra.charCodeAt(fd+1)]<<12|revLookup[Ra.charCodeAt(fd+2)]<<6|revLookup[Ra.charCodeAt(fd+3)],ud[dd++]=qa>>16&255,ud[dd++]=qa>>8&255,ud[dd++]=qa&255;return ld===2&&(qa=revLookup[Ra.charCodeAt(fd)]<<2|revLookup[Ra.charCodeAt(fd+1)]>>4,ud[dd++]=qa&255),ld===1&&(qa=revLookup[Ra.charCodeAt(fd)]<<10|revLookup[Ra.charCodeAt(fd+1)]<<4|revLookup[Ra.charCodeAt(fd+2)]>>2,ud[dd++]=qa>>8&255,ud[dd++]=qa&255),ud}function tripletToBase64(Ra){return lookup[Ra>>18&63]+lookup[Ra>>12&63]+lookup[Ra>>6&63]+lookup[Ra&63]}function encodeChunk(Ra,qa,nd){for(var od,ld=[],ud=qa;ud<nd;ud+=3)od=(Ra[ud]<<16&16711680)+(Ra[ud+1]<<8&65280)+(Ra[ud+2]&255),ld.push(tripletToBase64(od));return ld.join("")}function fromByteArray(Ra){for(var qa,nd=Ra.length,od=nd%3,ld=[],ud=16383,dd=0,pd=nd-od;dd<pd;dd+=ud)ld.push(encodeChunk(Ra,dd,dd+ud>pd?pd:dd+ud));return od===1?(qa=Ra[nd-1],ld.push(lookup[qa>>2]+lookup[qa<<4&63]+"==")):od===2&&(qa=(Ra[nd-2]<<8)+Ra[nd-1],ld.push(lookup[qa>>10]+lookup[qa>>4&63]+lookup[qa<<2&63]+"=")),ld.join("")}var ieee754$1={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754$1.read=function(Ra,qa,nd,od,ld){var ud,dd,pd=ld*8-od-1,fd=(1<<pd)-1,md=fd>>1,vd=-7,Ad=nd?ld-1:0,Nd=nd?-1:1,Id=Ra[qa+Ad];for(Ad+=Nd,ud=Id&(1<<-vd)-1,Id>>=-vd,vd+=pd;vd>0;ud=ud*256+Ra[qa+Ad],Ad+=Nd,vd-=8);for(dd=ud&(1<<-vd)-1,ud>>=-vd,vd+=od;vd>0;dd=dd*256+Ra[qa+Ad],Ad+=Nd,vd-=8);if(ud===0)ud=1-md;else{if(ud===fd)return dd?NaN:(Id?-1:1)*(1/0);dd=dd+Math.pow(2,od),ud=ud-md}return(Id?-1:1)*dd*Math.pow(2,ud-od)};ieee754$1.write=function(Ra,qa,nd,od,ld,ud){var dd,pd,fd,md=ud*8-ld-1,vd=(1<<md)-1,Ad=vd>>1,Nd=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Id=od?0:ud-1,Od=od?1:-1,Md=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(pd=isNaN(qa)?1:0,dd=vd):(dd=Math.floor(Math.log(qa)/Math.LN2),qa*(fd=Math.pow(2,-dd))<1&&(dd--,fd*=2),dd+Ad>=1?qa+=Nd/fd:qa+=Nd*Math.pow(2,1-Ad),qa*fd>=2&&(dd++,fd/=2),dd+Ad>=vd?(pd=0,dd=vd):dd+Ad>=1?(pd=(qa*fd-1)*Math.pow(2,ld),dd=dd+Ad):(pd=qa*Math.pow(2,Ad-1)*Math.pow(2,ld),dd=0));ld>=8;Ra[nd+Id]=pd&255,Id+=Od,pd/=256,ld-=8);for(dd=dd<<ld|pd,md+=ld;md>0;Ra[nd+Id]=dd&255,Id+=Od,dd/=256,md-=8);Ra[nd+Id-Od]|=Md*128};/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/(function(Ra){const qa=base64Js$1,nd=ieee754$1,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=vd,Ra.SlowBuffer=qd,Ra.INSPECT_MAX_BYTES=50;const ld=2147483647;Ra.kMaxLength=ld;const{Uint8Array:ud,ArrayBuffer:dd,SharedArrayBuffer:pd}=globalThis;vd.TYPED_ARRAY_SUPPORT=fd(),!vd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function fd(){try{const gh=new ud(1),Lf={foo:function(){return 42}};return Object.setPrototypeOf(Lf,ud.prototype),Object.setPrototypeOf(gh,Lf),gh.foo()===42}catch{return!1}}Object.defineProperty(vd.prototype,"parent",{enumerable:!0,get:function(){if(vd.isBuffer(this))return this.buffer}}),Object.defineProperty(vd.prototype,"offset",{enumerable:!0,get:function(){if(vd.isBuffer(this))return this.byteOffset}});function md(gh){if(gh>ld)throw new RangeError('The value "'+gh+'" is invalid for option "size"');const Lf=new ud(gh);return Object.setPrototypeOf(Lf,vd.prototype),Lf}function vd(gh,Lf,$f){if(typeof gh=="number"){if(typeof Lf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Od(gh)}return Ad(gh,Lf,$f)}vd.poolSize=8192;function Ad(gh,Lf,$f){if(typeof gh=="string")return Md(gh,Lf);if(dd.isView(gh))return jd(gh);if(gh==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof gh);if(Tm(gh,dd)||gh&&Tm(gh.buffer,dd)||typeof pd<"u"&&(Tm(gh,pd)||gh&&Tm(gh.buffer,pd)))return Ld(gh,Lf,$f);if(typeof gh=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const fh=gh.valueOf&&gh.valueOf();if(fh!=null&&fh!==gh)return vd.from(fh,Lf,$f);const Ch=Bd(gh);if(Ch)return Ch;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof gh[Symbol.toPrimitive]=="function")return vd.from(gh[Symbol.toPrimitive]("string"),Lf,$f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof gh)}vd.from=function(gh,Lf,$f){return Ad(gh,Lf,$f)},Object.setPrototypeOf(vd.prototype,ud.prototype),Object.setPrototypeOf(vd,ud);function Nd(gh){if(typeof gh!="number")throw new TypeError('"size" argument must be of type number');if(gh<0)throw new RangeError('The value "'+gh+'" is invalid for option "size"')}function Id(gh,Lf,$f){return Nd(gh),gh<=0?md(gh):Lf!==void 0?typeof $f=="string"?md(gh).fill(Lf,$f):md(gh).fill(Lf):md(gh)}vd.alloc=function(gh,Lf,$f){return Id(gh,Lf,$f)};function Od(gh){return Nd(gh),md(gh<0?0:Gd(gh)|0)}vd.allocUnsafe=function(gh){return Od(gh)},vd.allocUnsafeSlow=function(gh){return Od(gh)};function Md(gh,Lf){if((typeof Lf!="string"||Lf==="")&&(Lf="utf8"),!vd.isEncoding(Lf))throw new TypeError("Unknown encoding: "+Lf);const $f=zd(gh,Lf)|0;let fh=md($f);const Ch=fh.write(gh,Lf);return Ch!==$f&&(fh=fh.slice(0,Ch)),fh}function Ud(gh){const Lf=gh.length<0?0:Gd(gh.length)|0,$f=md(Lf);for(let fh=0;fh<Lf;fh+=1)$f[fh]=gh[fh]&255;return $f}function jd(gh){if(Tm(gh,ud)){const Lf=new ud(gh);return Ld(Lf.buffer,Lf.byteOffset,Lf.byteLength)}return Ud(gh)}function Ld(gh,Lf,$f){if(Lf<0||gh.byteLength<Lf)throw new RangeError('"offset" is outside of buffer bounds');if(gh.byteLength<Lf+($f||0))throw new RangeError('"length" is outside of buffer bounds');let fh;return Lf===void 0&&$f===void 0?fh=new ud(gh):$f===void 0?fh=new ud(gh,Lf):fh=new ud(gh,Lf,$f),Object.setPrototypeOf(fh,vd.prototype),fh}function Bd(gh){if(vd.isBuffer(gh)){const Lf=Gd(gh.length)|0,$f=md(Lf);return $f.length===0||gh.copy($f,0,0,Lf),$f}if(gh.length!==void 0)return typeof gh.length!="number"||Pm(gh.length)?md(0):Ud(gh);if(gh.type==="Buffer"&&Array.isArray(gh.data))return Ud(gh.data)}function Gd(gh){if(gh>=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return gh|0}function qd(gh){return+gh!=gh&&(gh=0),vd.alloc(+gh)}vd.isBuffer=function(Lf){return Lf!=null&&Lf._isBuffer===!0&&Lf!==vd.prototype},vd.compare=function(Lf,$f){if(Tm(Lf,ud)&&(Lf=vd.from(Lf,Lf.offset,Lf.byteLength)),Tm($f,ud)&&($f=vd.from($f,$f.offset,$f.byteLength)),!vd.isBuffer(Lf)||!vd.isBuffer($f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Lf===$f)return 0;let fh=Lf.length,Ch=$f.length;for(let Zh=0,dm=Math.min(fh,Ch);Zh<dm;++Zh)if(Lf[Zh]!==$f[Zh]){fh=Lf[Zh],Ch=$f[Zh];break}return fh<Ch?-1:Ch<fh?1:0},vd.isEncoding=function(Lf){switch(String(Lf).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},vd.concat=function(Lf,$f){if(!Array.isArray(Lf))throw new TypeError('"list" argument must be an Array of Buffers');if(Lf.length===0)return vd.alloc(0);let fh;if($f===void 0)for($f=0,fh=0;fh<Lf.length;++fh)$f+=Lf[fh].length;const Ch=vd.allocUnsafe($f);let Zh=0;for(fh=0;fh<Lf.length;++fh){let dm=Lf[fh];if(Tm(dm,ud))Zh+dm.length>Ch.length?(vd.isBuffer(dm)||(dm=vd.from(dm)),dm.copy(Ch,Zh)):ud.prototype.set.call(Ch,dm,Zh);else if(vd.isBuffer(dm))dm.copy(Ch,Zh);else throw new TypeError('"list" argument must be an Array of Buffers');Zh+=dm.length}return Ch};function zd(gh,Lf){if(vd.isBuffer(gh))return gh.length;if(dd.isView(gh)||Tm(gh,dd))return gh.byteLength;if(typeof gh!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof gh);const $f=gh.length,fh=arguments.length>2&&arguments[2]===!0;if(!fh&&$f===0)return 0;let Ch=!1;for(;;)switch(Lf){case"ascii":case"latin1":case"binary":return $f;case"utf8":case"utf-8":return wh(gh).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $f*2;case"hex":return $f>>>1;case"base64":return im(gh).length;default:if(Ch)return fh?-1:wh(gh).length;Lf=(""+Lf).toLowerCase(),Ch=!0}}vd.byteLength=zd;function Xd(gh,Lf,$f){let fh=!1;if((Lf===void 0||Lf<0)&&(Lf=0),Lf>this.length||(($f===void 0||$f>this.length)&&($f=this.length),$f<=0)||($f>>>=0,Lf>>>=0,$f<=Lf))return"";for(gh||(gh="utf8");;)switch(gh){case"hex":return Uf(this,Lf,$f);case"utf8":case"utf-8":return Df(this,Lf,$f);case"ascii":return eh(this,Lf,$f);case"latin1":case"binary":return th(this,Lf,$f);case"base64":return Af(this,Lf,$f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Of(this,Lf,$f);default:if(fh)throw new TypeError("Unknown encoding: "+gh);gh=(gh+"").toLowerCase(),fh=!0}}vd.prototype._isBuffer=!0;function gf(gh,Lf,$f){const fh=gh[Lf];gh[Lf]=gh[$f],gh[$f]=fh}vd.prototype.swap16=function(){const Lf=this.length;if(Lf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let $f=0;$f<Lf;$f+=2)gf(this,$f,$f+1);return this},vd.prototype.swap32=function(){const Lf=this.length;if(Lf%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let $f=0;$f<Lf;$f+=4)gf(this,$f,$f+3),gf(this,$f+1,$f+2);return this},vd.prototype.swap64=function(){const Lf=this.length;if(Lf%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let $f=0;$f<Lf;$f+=8)gf(this,$f,$f+7),gf(this,$f+1,$f+6),gf(this,$f+2,$f+5),gf(this,$f+3,$f+4);return this},vd.prototype.toString=function(){const Lf=this.length;return Lf===0?"":arguments.length===0?Df(this,0,Lf):Xd.apply(this,arguments)},vd.prototype.toLocaleString=vd.prototype.toString,vd.prototype.equals=function(Lf){if(!vd.isBuffer(Lf))throw new TypeError("Argument must be a Buffer");return this===Lf?!0:vd.compare(this,Lf)===0},vd.prototype.inspect=function(){let Lf="";const $f=Ra.INSPECT_MAX_BYTES;return Lf=this.toString("hex",0,$f).replace(/(.{2})/g,"$1 ").trim(),this.length>$f&&(Lf+=" ... "),"<Buffer "+Lf+">"},od&&(vd.prototype[od]=vd.prototype.inspect),vd.prototype.compare=function(Lf,$f,fh,Ch,Zh){if(Tm(Lf,ud)&&(Lf=vd.from(Lf,Lf.offset,Lf.byteLength)),!vd.isBuffer(Lf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Lf);if($f===void 0&&($f=0),fh===void 0&&(fh=Lf?Lf.length:0),Ch===void 0&&(Ch=0),Zh===void 0&&(Zh=this.length),$f<0||fh>Lf.length||Ch<0||Zh>this.length)throw new RangeError("out of range index");if(Ch>=Zh&&$f>=fh)return 0;if(Ch>=Zh)return-1;if($f>=fh)return 1;if($f>>>=0,fh>>>=0,Ch>>>=0,Zh>>>=0,this===Lf)return 0;let dm=Zh-Ch,Im=fh-$f;const Ym=Math.min(dm,Im),Fm=this.slice(Ch,Zh),ug=Lf.slice($f,fh);for(let rg=0;rg<Ym;++rg)if(Fm[rg]!==ug[rg]){dm=Fm[rg],Im=ug[rg];break}return dm<Im?-1:Im<dm?1:0};function Yd(gh,Lf,$f,fh,Ch){if(gh.length===0)return-1;if(typeof $f=="string"?(fh=$f,$f=0):$f>2147483647?$f=2147483647:$f<-2147483648&&($f=-2147483648),$f=+$f,Pm($f)&&($f=Ch?0:gh.length-1),$f<0&&($f=gh.length+$f),$f>=gh.length){if(Ch)return-1;$f=gh.length-1}else if($f<0)if(Ch)$f=0;else return-1;if(typeof Lf=="string"&&(Lf=vd.from(Lf,fh)),vd.isBuffer(Lf))return Lf.length===0?-1:Zd(gh,Lf,$f,fh,Ch);if(typeof Lf=="number")return Lf=Lf&255,typeof ud.prototype.indexOf=="function"?Ch?ud.prototype.indexOf.call(gh,Lf,$f):ud.prototype.lastIndexOf.call(gh,Lf,$f):Zd(gh,[Lf],$f,fh,Ch);throw new TypeError("val must be string, number or Buffer")}function Zd(gh,Lf,$f,fh,Ch){let Zh=1,dm=gh.length,Im=Lf.length;if(fh!==void 0&&(fh=String(fh).toLowerCase(),fh==="ucs2"||fh==="ucs-2"||fh==="utf16le"||fh==="utf-16le")){if(gh.length<2||Lf.length<2)return-1;Zh=2,dm/=2,Im/=2,$f/=2}function Ym(ug,rg){return Zh===1?ug[rg]:ug.readUInt16BE(rg*Zh)}let Fm;if(Ch){let ug=-1;for(Fm=$f;Fm<dm;Fm++)if(Ym(gh,Fm)===Ym(Lf,ug===-1?0:Fm-ug)){if(ug===-1&&(ug=Fm),Fm-ug+1===Im)return ug*Zh}else ug!==-1&&(Fm-=Fm-ug),ug=-1}else for($f+Im>dm&&($f=dm-Im),Fm=$f;Fm>=0;Fm--){let ug=!0;for(let rg=0;rg<Im;rg++)if(Ym(gh,Fm+rg)!==Ym(Lf,rg)){ug=!1;break}if(ug)return Fm}return-1}vd.prototype.includes=function(Lf,$f,fh){return this.indexOf(Lf,$f,fh)!==-1},vd.prototype.indexOf=function(Lf,$f,fh){return Yd(this,Lf,$f,fh,!0)},vd.prototype.lastIndexOf=function(Lf,$f,fh){return Yd(this,Lf,$f,fh,!1)};function df(gh,Lf,$f,fh){$f=Number($f)||0;const Ch=gh.length-$f;fh?(fh=Number(fh),fh>Ch&&(fh=Ch)):fh=Ch;const Zh=Lf.length;fh>Zh/2&&(fh=Zh/2);let dm;for(dm=0;dm<fh;++dm){const Im=parseInt(Lf.substr(dm*2,2),16);if(Pm(Im))return dm;gh[$f+dm]=Im}return dm}function Ef(gh,Lf,$f,fh){return Bh(wh(Lf,gh.length-$f),gh,$f,fh)}function _f(gh,Lf,$f,fh){return Bh(Ah(Lf),gh,$f,fh)}function xf(gh,Lf,$f,fh){return Bh(im(Lf),gh,$f,fh)}function vf(gh,Lf,$f,fh){return Bh(mh(Lf,gh.length-$f),gh,$f,fh)}vd.prototype.write=function(Lf,$f,fh,Ch){if($f===void 0)Ch="utf8",fh=this.length,$f=0;else if(fh===void 0&&typeof $f=="string")Ch=$f,fh=this.length,$f=0;else if(isFinite($f))$f=$f>>>0,isFinite(fh)?(fh=fh>>>0,Ch===void 0&&(Ch="utf8")):(Ch=fh,fh=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Zh=this.length-$f;if((fh===void 0||fh>Zh)&&(fh=Zh),Lf.length>0&&(fh<0||$f<0)||$f>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ch||(Ch="utf8");let dm=!1;for(;;)switch(Ch){case"hex":return df(this,Lf,$f,fh);case"utf8":case"utf-8":return Ef(this,Lf,$f,fh);case"ascii":case"latin1":case"binary":return _f(this,Lf,$f,fh);case"base64":return xf(this,Lf,$f,fh);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vf(this,Lf,$f,fh);default:if(dm)throw new TypeError("Unknown encoding: "+Ch);Ch=(""+Ch).toLowerCase(),dm=!0}},vd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Af(gh,Lf,$f){return Lf===0&&$f===gh.length?qa.fromByteArray(gh):qa.fromByteArray(gh.slice(Lf,$f))}function Df(gh,Lf,$f){$f=Math.min(gh.length,$f);const fh=[];let Ch=Lf;for(;Ch<$f;){const Zh=gh[Ch];let dm=null,Im=Zh>239?4:Zh>223?3:Zh>191?2:1;if(Ch+Im<=$f){let Ym,Fm,ug,rg;switch(Im){case 1:Zh<128&&(dm=Zh);break;case 2:Ym=gh[Ch+1],(Ym&192)===128&&(rg=(Zh&31)<<6|Ym&63,rg>127&&(dm=rg));break;case 3:Ym=gh[Ch+1],Fm=gh[Ch+2],(Ym&192)===128&&(Fm&192)===128&&(rg=(Zh&15)<<12|(Ym&63)<<6|Fm&63,rg>2047&&(rg<55296||rg>57343)&&(dm=rg));break;case 4:Ym=gh[Ch+1],Fm=gh[Ch+2],ug=gh[Ch+3],(Ym&192)===128&&(Fm&192)===128&&(ug&192)===128&&(rg=(Zh&15)<<18|(Ym&63)<<12|(Fm&63)<<6|ug&63,rg>65535&&rg<1114112&&(dm=rg))}}dm===null?(dm=65533,Im=1):dm>65535&&(dm-=65536,fh.push(dm>>>10&1023|55296),dm=56320|dm&1023),fh.push(dm),Ch+=Im}return Jf(fh)}const jf=4096;function Jf(gh){const Lf=gh.length;if(Lf<=jf)return String.fromCharCode.apply(String,gh);let $f="",fh=0;for(;fh<Lf;)$f+=String.fromCharCode.apply(String,gh.slice(fh,fh+=jf));return $f}function eh(gh,Lf,$f){let fh="";$f=Math.min(gh.length,$f);for(let Ch=Lf;Ch<$f;++Ch)fh+=String.fromCharCode(gh[Ch]&127);return fh}function th(gh,Lf,$f){let fh="";$f=Math.min(gh.length,$f);for(let Ch=Lf;Ch<$f;++Ch)fh+=String.fromCharCode(gh[Ch]);return fh}function Uf(gh,Lf,$f){const fh=gh.length;(!Lf||Lf<0)&&(Lf=0),(!$f||$f<0||$f>fh)&&($f=fh);let Ch="";for(let Zh=Lf;Zh<$f;++Zh)Ch+=gm[gh[Zh]];return Ch}function Of(gh,Lf,$f){const fh=gh.slice(Lf,$f);let Ch="";for(let Zh=0;Zh<fh.length-1;Zh+=2)Ch+=String.fromCharCode(fh[Zh]+fh[Zh+1]*256);return Ch}vd.prototype.slice=function(Lf,$f){const fh=this.length;Lf=~~Lf,$f=$f===void 0?fh:~~$f,Lf<0?(Lf+=fh,Lf<0&&(Lf=0)):Lf>fh&&(Lf=fh),$f<0?($f+=fh,$f<0&&($f=0)):$f>fh&&($f=fh),$f<Lf&&($f=Lf);const Ch=this.subarray(Lf,$f);return Object.setPrototypeOf(Ch,vd.prototype),Ch};function Wf(gh,Lf,$f){if(gh%1!==0||gh<0)throw new RangeError("offset is not uint");if(gh+Lf>$f)throw new RangeError("Trying to access beyond buffer length")}vd.prototype.readUintLE=vd.prototype.readUIntLE=function(Lf,$f,fh){Lf=Lf>>>0,$f=$f>>>0,fh||Wf(Lf,$f,this.length);let Ch=this[Lf],Zh=1,dm=0;for(;++dm<$f&&(Zh*=256);)Ch+=this[Lf+dm]*Zh;return Ch},vd.prototype.readUintBE=vd.prototype.readUIntBE=function(Lf,$f,fh){Lf=Lf>>>0,$f=$f>>>0,fh||Wf(Lf,$f,this.length);let Ch=this[Lf+--$f],Zh=1;for(;$f>0&&(Zh*=256);)Ch+=this[Lf+--$f]*Zh;return Ch},vd.prototype.readUint8=vd.prototype.readUInt8=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,1,this.length),this[Lf]},vd.prototype.readUint16LE=vd.prototype.readUInt16LE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,2,this.length),this[Lf]|this[Lf+1]<<8},vd.prototype.readUint16BE=vd.prototype.readUInt16BE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,2,this.length),this[Lf]<<8|this[Lf+1]},vd.prototype.readUint32LE=vd.prototype.readUInt32LE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,4,this.length),(this[Lf]|this[Lf+1]<<8|this[Lf+2]<<16)+this[Lf+3]*16777216},vd.prototype.readUint32BE=vd.prototype.readUInt32BE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,4,this.length),this[Lf]*16777216+(this[Lf+1]<<16|this[Lf+2]<<8|this[Lf+3])},vd.prototype.readBigUInt64LE=Mm(function(Lf){Lf=Lf>>>0,Zf(Lf,"offset");const $f=this[Lf],fh=this[Lf+7];($f===void 0||fh===void 0)&&Rf(Lf,this.length-8);const Ch=$f+this[++Lf]*2**8+this[++Lf]*2**16+this[++Lf]*2**24,Zh=this[++Lf]+this[++Lf]*2**8+this[++Lf]*2**16+fh*2**24;return BigInt(Ch)+(BigInt(Zh)<<BigInt(32))}),vd.prototype.readBigUInt64BE=Mm(function(Lf){Lf=Lf>>>0,Zf(Lf,"offset");const $f=this[Lf],fh=this[Lf+7];($f===void 0||fh===void 0)&&Rf(Lf,this.length-8);const Ch=$f*2**24+this[++Lf]*2**16+this[++Lf]*2**8+this[++Lf],Zh=this[++Lf]*2**24+this[++Lf]*2**16+this[++Lf]*2**8+fh;return(BigInt(Ch)<<BigInt(32))+BigInt(Zh)}),vd.prototype.readIntLE=function(Lf,$f,fh){Lf=Lf>>>0,$f=$f>>>0,fh||Wf(Lf,$f,this.length);let Ch=this[Lf],Zh=1,dm=0;for(;++dm<$f&&(Zh*=256);)Ch+=this[Lf+dm]*Zh;return Zh*=128,Ch>=Zh&&(Ch-=Math.pow(2,8*$f)),Ch},vd.prototype.readIntBE=function(Lf,$f,fh){Lf=Lf>>>0,$f=$f>>>0,fh||Wf(Lf,$f,this.length);let Ch=$f,Zh=1,dm=this[Lf+--Ch];for(;Ch>0&&(Zh*=256);)dm+=this[Lf+--Ch]*Zh;return Zh*=128,dm>=Zh&&(dm-=Math.pow(2,8*$f)),dm},vd.prototype.readInt8=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,1,this.length),this[Lf]&128?(255-this[Lf]+1)*-1:this[Lf]},vd.prototype.readInt16LE=function(Lf,$f){Lf=Lf>>>0,$f||Wf(Lf,2,this.length);const fh=this[Lf]|this[Lf+1]<<8;return fh&32768?fh|4294901760:fh},vd.prototype.readInt16BE=function(Lf,$f){Lf=Lf>>>0,$f||Wf(Lf,2,this.length);const fh=this[Lf+1]|this[Lf]<<8;return fh&32768?fh|4294901760:fh},vd.prototype.readInt32LE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,4,this.length),this[Lf]|this[Lf+1]<<8|this[Lf+2]<<16|this[Lf+3]<<24},vd.prototype.readInt32BE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,4,this.length),this[Lf]<<24|this[Lf+1]<<16|this[Lf+2]<<8|this[Lf+3]},vd.prototype.readBigInt64LE=Mm(function(Lf){Lf=Lf>>>0,Zf(Lf,"offset");const $f=this[Lf],fh=this[Lf+7];($f===void 0||fh===void 0)&&Rf(Lf,this.length-8);const Ch=this[Lf+4]+this[Lf+5]*2**8+this[Lf+6]*2**16+(fh<<24);return(BigInt(Ch)<<BigInt(32))+BigInt($f+this[++Lf]*2**8+this[++Lf]*2**16+this[++Lf]*2**24)}),vd.prototype.readBigInt64BE=Mm(function(Lf){Lf=Lf>>>0,Zf(Lf,"offset");const $f=this[Lf],fh=this[Lf+7];($f===void 0||fh===void 0)&&Rf(Lf,this.length-8);const Ch=($f<<24)+this[++Lf]*2**16+this[++Lf]*2**8+this[++Lf];return(BigInt(Ch)<<BigInt(32))+BigInt(this[++Lf]*2**24+this[++Lf]*2**16+this[++Lf]*2**8+fh)}),vd.prototype.readFloatLE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,4,this.length),nd.read(this,Lf,!0,23,4)},vd.prototype.readFloatBE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,4,this.length),nd.read(this,Lf,!1,23,4)},vd.prototype.readDoubleLE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,8,this.length),nd.read(this,Lf,!0,52,8)},vd.prototype.readDoubleBE=function(Lf,$f){return Lf=Lf>>>0,$f||Wf(Lf,8,this.length),nd.read(this,Lf,!1,52,8)};function qf(gh,Lf,$f,fh,Ch,Zh){if(!vd.isBuffer(gh))throw new TypeError('"buffer" argument must be a Buffer instance');if(Lf>Ch||Lf<Zh)throw new RangeError('"value" argument is out of bounds');if($f+fh>gh.length)throw new RangeError("Index out of range")}vd.prototype.writeUintLE=vd.prototype.writeUIntLE=function(Lf,$f,fh,Ch){if(Lf=+Lf,$f=$f>>>0,fh=fh>>>0,!Ch){const Im=Math.pow(2,8*fh)-1;qf(this,Lf,$f,fh,Im,0)}let Zh=1,dm=0;for(this[$f]=Lf&255;++dm<fh&&(Zh*=256);)this[$f+dm]=Lf/Zh&255;return $f+fh},vd.prototype.writeUintBE=vd.prototype.writeUIntBE=function(Lf,$f,fh,Ch){if(Lf=+Lf,$f=$f>>>0,fh=fh>>>0,!Ch){const Im=Math.pow(2,8*fh)-1;qf(this,Lf,$f,fh,Im,0)}let Zh=fh-1,dm=1;for(this[$f+Zh]=Lf&255;--Zh>=0&&(dm*=256);)this[$f+Zh]=Lf/dm&255;return $f+fh},vd.prototype.writeUint8=vd.prototype.writeUInt8=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,1,255,0),this[$f]=Lf&255,$f+1},vd.prototype.writeUint16LE=vd.prototype.writeUInt16LE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,2,65535,0),this[$f]=Lf&255,this[$f+1]=Lf>>>8,$f+2},vd.prototype.writeUint16BE=vd.prototype.writeUInt16BE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,2,65535,0),this[$f]=Lf>>>8,this[$f+1]=Lf&255,$f+2},vd.prototype.writeUint32LE=vd.prototype.writeUInt32LE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,4,4294967295,0),this[$f+3]=Lf>>>24,this[$f+2]=Lf>>>16,this[$f+1]=Lf>>>8,this[$f]=Lf&255,$f+4},vd.prototype.writeUint32BE=vd.prototype.writeUInt32BE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,4,4294967295,0),this[$f]=Lf>>>24,this[$f+1]=Lf>>>16,this[$f+2]=Lf>>>8,this[$f+3]=Lf&255,$f+4};function zf(gh,Lf,$f,fh,Ch){Oh(Lf,fh,Ch,gh,$f,7);let Zh=Number(Lf&BigInt(4294967295));gh[$f++]=Zh,Zh=Zh>>8,gh[$f++]=Zh,Zh=Zh>>8,gh[$f++]=Zh,Zh=Zh>>8,gh[$f++]=Zh;let dm=Number(Lf>>BigInt(32)&BigInt(4294967295));return gh[$f++]=dm,dm=dm>>8,gh[$f++]=dm,dm=dm>>8,gh[$f++]=dm,dm=dm>>8,gh[$f++]=dm,$f}function Tf(gh,Lf,$f,fh,Ch){Oh(Lf,fh,Ch,gh,$f,7);let Zh=Number(Lf&BigInt(4294967295));gh[$f+7]=Zh,Zh=Zh>>8,gh[$f+6]=Zh,Zh=Zh>>8,gh[$f+5]=Zh,Zh=Zh>>8,gh[$f+4]=Zh;let dm=Number(Lf>>BigInt(32)&BigInt(4294967295));return gh[$f+3]=dm,dm=dm>>8,gh[$f+2]=dm,dm=dm>>8,gh[$f+1]=dm,dm=dm>>8,gh[$f]=dm,$f+8}vd.prototype.writeBigUInt64LE=Mm(function(Lf,$f=0){return zf(this,Lf,$f,BigInt(0),BigInt("0xffffffffffffffff"))}),vd.prototype.writeBigUInt64BE=Mm(function(Lf,$f=0){return Tf(this,Lf,$f,BigInt(0),BigInt("0xffffffffffffffff"))}),vd.prototype.writeIntLE=function(Lf,$f,fh,Ch){if(Lf=+Lf,$f=$f>>>0,!Ch){const Ym=Math.pow(2,8*fh-1);qf(this,Lf,$f,fh,Ym-1,-Ym)}let Zh=0,dm=1,Im=0;for(this[$f]=Lf&255;++Zh<fh&&(dm*=256);)Lf<0&&Im===0&&this[$f+Zh-1]!==0&&(Im=1),this[$f+Zh]=(Lf/dm>>0)-Im&255;return $f+fh},vd.prototype.writeIntBE=function(Lf,$f,fh,Ch){if(Lf=+Lf,$f=$f>>>0,!Ch){const Ym=Math.pow(2,8*fh-1);qf(this,Lf,$f,fh,Ym-1,-Ym)}let Zh=fh-1,dm=1,Im=0;for(this[$f+Zh]=Lf&255;--Zh>=0&&(dm*=256);)Lf<0&&Im===0&&this[$f+Zh+1]!==0&&(Im=1),this[$f+Zh]=(Lf/dm>>0)-Im&255;return $f+fh},vd.prototype.writeInt8=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,1,127,-128),Lf<0&&(Lf=255+Lf+1),this[$f]=Lf&255,$f+1},vd.prototype.writeInt16LE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,2,32767,-32768),this[$f]=Lf&255,this[$f+1]=Lf>>>8,$f+2},vd.prototype.writeInt16BE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,2,32767,-32768),this[$f]=Lf>>>8,this[$f+1]=Lf&255,$f+2},vd.prototype.writeInt32LE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,4,2147483647,-2147483648),this[$f]=Lf&255,this[$f+1]=Lf>>>8,this[$f+2]=Lf>>>16,this[$f+3]=Lf>>>24,$f+4},vd.prototype.writeInt32BE=function(Lf,$f,fh){return Lf=+Lf,$f=$f>>>0,fh||qf(this,Lf,$f,4,2147483647,-2147483648),Lf<0&&(Lf=4294967295+Lf+1),this[$f]=Lf>>>24,this[$f+1]=Lf>>>16,this[$f+2]=Lf>>>8,this[$f+3]=Lf&255,$f+4},vd.prototype.writeBigInt64LE=Mm(function(Lf,$f=0){return zf(this,Lf,$f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),vd.prototype.writeBigInt64BE=Mm(function(Lf,$f=0){return Tf(this,Lf,$f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Sf(gh,Lf,$f,fh,Ch,Zh){if($f+fh>gh.length)throw new RangeError("Index out of range");if($f<0)throw new RangeError("Index out of range")}function Yf(gh,Lf,$f,fh,Ch){return Lf=+Lf,$f=$f>>>0,Ch||Sf(gh,Lf,$f,4),nd.write(gh,Lf,$f,fh,23,4),$f+4}vd.prototype.writeFloatLE=function(Lf,$f,fh){return Yf(this,Lf,$f,!0,fh)},vd.prototype.writeFloatBE=function(Lf,$f,fh){return Yf(this,Lf,$f,!1,fh)};function ih(gh,Lf,$f,fh,Ch){return Lf=+Lf,$f=$f>>>0,Ch||Sf(gh,Lf,$f,8),nd.write(gh,Lf,$f,fh,52,8),$f+8}vd.prototype.writeDoubleLE=function(Lf,$f,fh){return ih(this,Lf,$f,!0,fh)},vd.prototype.writeDoubleBE=function(Lf,$f,fh){return ih(this,Lf,$f,!1,fh)},vd.prototype.copy=function(Lf,$f,fh,Ch){if(!vd.isBuffer(Lf))throw new TypeError("argument should be a Buffer");if(fh||(fh=0),!Ch&&Ch!==0&&(Ch=this.length),$f>=Lf.length&&($f=Lf.length),$f||($f=0),Ch>0&&Ch<fh&&(Ch=fh),Ch===fh||Lf.length===0||this.length===0)return 0;if($f<0)throw new RangeError("targetStart out of bounds");if(fh<0||fh>=this.length)throw new RangeError("Index out of range");if(Ch<0)throw new RangeError("sourceEnd out of bounds");Ch>this.length&&(Ch=this.length),Lf.length-$f<Ch-fh&&(Ch=Lf.length-$f+fh);const Zh=Ch-fh;return this===Lf&&typeof ud.prototype.copyWithin=="function"?this.copyWithin($f,fh,Ch):ud.prototype.set.call(Lf,this.subarray(fh,Ch),$f),Zh},vd.prototype.fill=function(Lf,$f,fh,Ch){if(typeof Lf=="string"){if(typeof $f=="string"?(Ch=$f,$f=0,fh=this.length):typeof fh=="string"&&(Ch=fh,fh=this.length),Ch!==void 0&&typeof Ch!="string")throw new TypeError("encoding must be a string");if(typeof Ch=="string"&&!vd.isEncoding(Ch))throw new TypeError("Unknown encoding: "+Ch);if(Lf.length===1){const dm=Lf.charCodeAt(0);(Ch==="utf8"&&dm<128||Ch==="latin1")&&(Lf=dm)}}else typeof Lf=="number"?Lf=Lf&255:typeof Lf=="boolean"&&(Lf=Number(Lf));if($f<0||this.length<$f||this.length<fh)throw new RangeError("Out of range index");if(fh<=$f)return this;$f=$f>>>0,fh=fh===void 0?this.length:fh>>>0,Lf||(Lf=0);let Zh;if(typeof Lf=="number")for(Zh=$f;Zh<fh;++Zh)this[Zh]=Lf;else{const dm=vd.isBuffer(Lf)?Lf:vd.from(Lf,Ch),Im=dm.length;if(Im===0)throw new TypeError('The value "'+Lf+'" is invalid for argument "value"');for(Zh=0;Zh<fh-$f;++Zh)this[Zh+$f]=dm[Zh%Im]}return this};const Th={};function sh(gh,Lf,$f){Th[gh]=class extends $f{constructor(){super(),Object.defineProperty(this,"message",{value:Lf.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${gh}]`,this.stack,delete this.name}get code(){return gh}set code(Ch){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ch,writable:!0})}toString(){return`${this.name} [${gh}]: ${this.message}`}}}sh("ERR_BUFFER_OUT_OF_BOUNDS",function(gh){return gh?`${gh} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),sh("ERR_INVALID_ARG_TYPE",function(gh,Lf){return`The "${gh}" argument must be of type number. Received type ${typeof Lf}`},TypeError),sh("ERR_OUT_OF_RANGE",function(gh,Lf,$f){let fh=`The value of "${gh}" is out of range.`,Ch=$f;return Number.isInteger($f)&&Math.abs($f)>2**32?Ch=Nf(String($f)):typeof $f=="bigint"&&(Ch=String($f),($f>BigInt(2)**BigInt(32)||$f<-(BigInt(2)**BigInt(32)))&&(Ch=Nf(Ch)),Ch+="n"),fh+=` It must be ${Lf}. Received ${Ch}`,fh},RangeError);function Nf(gh){let Lf="",$f=gh.length;const fh=gh[0]==="-"?1:0;for(;$f>=fh+4;$f-=3)Lf=`_${gh.slice($f-3,$f)}${Lf}`;return`${gh.slice(0,$f)}${Lf}`}function ph(gh,Lf,$f){Zf(Lf,"offset"),(gh[Lf]===void 0||gh[Lf+$f]===void 0)&&Rf(Lf,gh.length-($f+1))}function Oh(gh,Lf,$f,fh,Ch,Zh){if(gh>$f||gh<Lf){const dm=typeof Lf=="bigint"?"n":"";let Im;throw Lf===0||Lf===BigInt(0)?Im=`>= 0${dm} and < 2${dm} ** ${(Zh+1)*8}${dm}`:Im=`>= -(2${dm} ** ${(Zh+1)*8-1}${dm}) and < 2 ** ${(Zh+1)*8-1}${dm}`,new Th.ERR_OUT_OF_RANGE("value",Im,gh)}ph(fh,Ch,Zh)}function Zf(gh,Lf){if(typeof gh!="number")throw new Th.ERR_INVALID_ARG_TYPE(Lf,"number",gh)}function Rf(gh,Lf,$f){throw Math.floor(gh)!==gh?(Zf(gh,$f),new Th.ERR_OUT_OF_RANGE("offset","an integer",gh)):Lf<0?new Th.ERR_BUFFER_OUT_OF_BOUNDS:new Th.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Lf}`,gh)}const Bf=/[^+/0-9A-Za-z-_]/g;function Kf(gh){if(gh=gh.split("=")[0],gh=gh.trim().replace(Bf,""),gh.length<2)return"";for(;gh.length%4!==0;)gh=gh+"=";return gh}function wh(gh,Lf){Lf=Lf||1/0;let $f;const fh=gh.length;let Ch=null;const Zh=[];for(let dm=0;dm<fh;++dm){if($f=gh.charCodeAt(dm),$f>55295&&$f<57344){if(!Ch){if($f>56319){(Lf-=3)>-1&&Zh.push(239,191,189);continue}else if(dm+1===fh){(Lf-=3)>-1&&Zh.push(239,191,189);continue}Ch=$f;continue}if($f<56320){(Lf-=3)>-1&&Zh.push(239,191,189),Ch=$f;continue}$f=(Ch-55296<<10|$f-56320)+65536}else Ch&&(Lf-=3)>-1&&Zh.push(239,191,189);if(Ch=null,$f<128){if((Lf-=1)<0)break;Zh.push($f)}else if($f<2048){if((Lf-=2)<0)break;Zh.push($f>>6|192,$f&63|128)}else if($f<65536){if((Lf-=3)<0)break;Zh.push($f>>12|224,$f>>6&63|128,$f&63|128)}else if($f<1114112){if((Lf-=4)<0)break;Zh.push($f>>18|240,$f>>12&63|128,$f>>6&63|128,$f&63|128)}else throw new Error("Invalid code point")}return Zh}function Ah(gh){const Lf=[];for(let $f=0;$f<gh.length;++$f)Lf.push(gh.charCodeAt($f)&255);return Lf}function mh(gh,Lf){let $f,fh,Ch;const Zh=[];for(let dm=0;dm<gh.length&&!((Lf-=2)<0);++dm)$f=gh.charCodeAt(dm),fh=$f>>8,Ch=$f%256,Zh.push(Ch),Zh.push(fh);return Zh}function im(gh){return qa.toByteArray(Kf(gh))}function Bh(gh,Lf,$f,fh){let Ch;for(Ch=0;Ch<fh&&!(Ch+$f>=Lf.length||Ch>=gh.length);++Ch)Lf[Ch+$f]=gh[Ch];return Ch}function Tm(gh,Lf){return gh instanceof Lf||gh!=null&&gh.constructor!=null&&gh.constructor.name!=null&&gh.constructor.name===Lf.name}function Pm(gh){return gh!==gh}const gm=function(){const gh="0123456789abcdef",Lf=new Array(256);for(let $f=0;$f<16;++$f){const fh=$f*16;for(let Ch=0;Ch<16;++Ch)Lf[fh+Ch]=gh[$f]+gh[Ch]}return Lf}();function Mm(gh){return typeof BigInt>"u"?Hm:gh}function Hm(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$4=buffer$1.Buffer;function getSymbols(Ra){return Object.getOwnPropertySymbols(Ra).filter(qa=>Object.prototype.propertyIsEnumerable.call(Ra,qa))}function cloneDeep(Ra){return cloneDeepImpl(Ra)}function cloneDeepImpl(Ra,qa=new Map){if(isPrimitive(Ra))return Ra;if(qa.has(Ra))return qa.get(Ra);if(Array.isArray(Ra)){const nd=new Array(Ra.length);qa.set(Ra,nd);for(let od=0;od<Ra.length;od++)nd[od]=cloneDeepImpl(Ra[od],qa);return Object.hasOwn(Ra,"index")&&(nd.index=Ra.index),Object.hasOwn(Ra,"input")&&(nd.input=Ra.input),nd}if(Ra instanceof Date)return new Date(Ra.getTime());if(Ra instanceof RegExp){const nd=new RegExp(Ra.source,Ra.flags);return nd.lastIndex=Ra.lastIndex,nd}if(Ra instanceof Map){const nd=new Map;qa.set(Ra,nd);for(const[od,ld]of Ra)nd.set(od,cloneDeepImpl(ld,qa));return nd}if(Ra instanceof Set){const nd=new Set;qa.set(Ra,nd);for(const od of Ra)nd.add(cloneDeepImpl(od,qa));return nd}if(typeof Buffer$4<"u"&&Buffer$4.isBuffer(Ra))return Ra.subarray();if(isTypedArray$3(Ra)){const nd=new(Object.getPrototypeOf(Ra)).constructor(Ra.length);qa.set(Ra,nd);for(let od=0;od<Ra.length;od++)nd[od]=cloneDeepImpl(Ra[od],qa);return nd}if(Ra instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&Ra instanceof SharedArrayBuffer)return Ra.slice(0);if(Ra instanceof DataView){const nd=new DataView(Ra.buffer.slice(0),Ra.byteOffset,Ra.byteLength);return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}if(typeof File<"u"&&Ra instanceof File){const nd=new File([Ra],Ra.name,{type:Ra.type});return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}if(Ra instanceof Blob){const nd=new Blob([Ra],{type:Ra.type});return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}if(Ra instanceof Error){const nd=new Ra.constructor;return qa.set(Ra,nd),nd.message=Ra.message,nd.name=Ra.name,nd.stack=Ra.stack,nd.cause=Ra.cause,copyProperties(nd,Ra,qa),nd}if(typeof Ra=="object"&&Ra!==null){const nd=Object.create(Object.getPrototypeOf(Ra));return qa.set(Ra,nd),copyProperties(nd,Ra,qa),nd}return Ra}function copyProperties(Ra,qa,nd){const od=[...Object.keys(qa),...getSymbols(qa)];for(let ld=0;ld<od.length;ld++){const ud=od[ld],dd=Object.getOwnPropertyDescriptor(Ra,ud);(dd==null||dd.writable)&&(Ra[ud]=cloneDeepImpl(qa[ud],nd))}}function isPlainObject$2(Ra){if(!Ra||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null?Object.prototype.toString.call(Ra)==="[object Object]":!1}function merge$4(Ra,qa){const nd=Object.keys(qa);for(let od=0;od<nd.length;od++){const ld=nd[od],ud=qa[ld],dd=Ra[ld];Array.isArray(ud)?Array.isArray(dd)?Ra[ld]=merge$4(dd,ud):Ra[ld]=merge$4([],ud):isPlainObject$2(ud)?isPlainObject$2(dd)?Ra[ld]=merge$4(dd,ud):Ra[ld]=merge$4({},ud):(dd===void 0||ud!==void 0)&&(Ra[ld]=ud)}return Ra}function toMerged(Ra,qa){return merge$4(cloneDeep(Ra),qa)}const defaultTheme={base:{"--md-primary-color":"#000000","text-align":"left","line-height":"1.75"},block:{h1:{display:"table",padding:"0 1em","border-bottom":"2px solid var(--md-primary-color)",margin:"2em auto 1em",color:"hsl(var(--foreground))","font-size":"1.2em","font-weight":"bold","text-align":"center"},h2:{display:"table",padding:"0 0.2em",margin:"4em auto 2em",color:"#fff",background:"var(--md-primary-color)","font-size":"1.2em","font-weight":"bold","text-align":"center"},h3:{"padding-left":"8px","border-left":"3px solid var(--md-primary-color)",margin:"2em 8px 0.75em 0",color:"hsl(var(--foreground))","font-size":"1.1em","font-weight":"bold","line-height":"1.2"},h4:{margin:"2em 8px 0.5em",color:"var(--md-primary-color)","font-size":"1em","font-weight":"bold"},h5:{margin:"1.5em 8px 0.5em",color:"var(--md-primary-color)","font-size":"1em","font-weight":"bold"},h6:{margin:"1.5em 8px 0.5em","font-size":"1em",color:"var(--md-primary-color)"},p:{margin:"1.5em 8px","letter-spacing":"0.1em",color:"hsl(var(--foreground))","text-align":"justify"},blockquote:{"font-style":"normal","border-left":"none",padding:"1em","border-radius":"8px",color:"rgba(0,0,0,0.5)",background:"var(--blockquote-background)",margin:"2em 8px"},blockquote_p:{display:"block","font-size":"1em","letter-spacing":"0.1em",color:"hsl(var(--foreground))"},blockquote_note:{},blockquote_tip:{},blockquote_important:{},blockquote_warning:{},blockquote_caution:{},blockquote_title:{display:"flex","align-items":"center",gap:"0.5em","margin-bottom":"0.5em"},blockquote_title_note:{color:"#478be6"},blockquote_title_tip:{color:"#57ab5a"},blockquote_title_important:{color:"#986ee2"},blockquote_title_warning:{color:"#c69026"},blockquote_title_caution:{color:"#e5534b"},blockquote_p_note:{},blockquote_p_tip:{},blockquote_p_important:{},blockquote_p_warning:{},blockquote_p_caution:{},code_pre:{"font-size":"14px","overflow-x":"auto","border-radius":"8px",padding:"1em","line-height":"1.5",margin:"10px 8px"},code:{margin:0,"white-space":"nowrap","font-family":"Menlo, Operator Mono, Consolas, Monaco, monospace"},image:{display:"block",width:"100% !important",margin:"0.1em auto 0.5em","border-radius":"4px"},ol:{"padding-left":"1em","margin-left":"0",color:"hsl(var(--foreground))"},ul:{"list-style":"circle","padding-left":"1em","margin-left":"0",color:"hsl(var(--foreground))"},footnotes:{margin:"0.5em 8px","font-size":"80%",color:"hsl(var(--foreground))"},figure:{margin:"1.5em 8px",color:"hsl(var(--foreground))"},hr:{"border-style":"solid","border-width":"1px 0 0","border-color":"rgba(0,0,0,0.1)","-webkit-transform-origin":"0 0","-webkit-transform":"scale(1, 0.5)","transform-origin":"0 0",transform:"scale(1, 0.5)"}},inline:{listitem:{"text-indent":"-1em",display:"block",margin:"0.2em 8px",color:"hsl(var(--foreground))"},codespan:{"font-size":"90%",color:"#d14",background:"rgba(27,31,35,.05)",padding:"3px 5px","border-radius":"4px"},em:{"font-style":"italic","font-size":"inherit"},link:{color:"#576b95"},wx_link:{color:"#576b95","text-decoration":"none"},strong:{color:"var(--md-primary-color)","font-weight":"bold","font-size":"inherit"},table:{"border-collapse":"collapse","text-align":"center",margin:"1em 8px",color:"hsl(var(--foreground))"},thead:{background:"rgba(0, 0, 0, 0.05)","font-weight":"bold",color:"hsl(var(--foreground))"},td:{border:"1px solid #dfdfdf",padding:"0.25em 0.5em",color:"#3f3f3f","word-break":"keep-all"},footnote:{"font-size":"12px",color:"hsl(var(--foreground))"},figcaption:{"text-align":"center",color:"#888","font-size":"0.8em"}}},graceTheme=toMerged(defaultTheme,{base:{},block:{h1:{padding:"0.5em 1em","border-bottom":"2px solid var(--md-primary-color)","font-size":"1.4em","text-shadow":"2px 2px 4px rgba(0,0,0,0.1)"},h2:{padding:"0.3em 1em","border-radius":"8px","font-size":"1.3em","box-shadow":"0 4px 6px rgba(0,0,0,0.1)"},h3:{"padding-left":"12px","font-size":"1.2em","border-left":"4px solid var(--md-primary-color)","border-bottom":"1px dashed var(--md-primary-color)"},h4:{"font-size":"1.1em"},h5:{"font-size":"1em"},h6:{"font-size":"1em"},p:{},blockquote:{"font-style":"italic",padding:"1em 1em 1em 2em","border-left":"4px solid var(--md-primary-color)","border-radius":"6px",color:"rgba(0,0,0,0.6)","box-shadow":"0 4px 6px rgba(0,0,0,0.05)"},blockquote_p:{},"markdown-alert":{"font-style":"italic"},code_pre:{"box-shadow":"inset 0 0 10px rgba(0,0,0,0.05)"},code:{"white-space":"pre-wrap","font-family":"'Fira Code', Menlo, Operator Mono, Consolas, Monaco, monospace"},image:{"border-radius":"8px","box-shadow":"0 4px 8px rgba(0,0,0,0.1)"},ol:{"padding-left":"1.5em"},ul:{"list-style":"none","padding-left":"1.5em"},footnotes:{},figure:{},hr:{height:"1px",border:"none",margin:"2em 0",background:"linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0))"}},inline:{listitem:{margin:"0.5em 8px"},codespan:{},em:{},link:{},wx_link:{},strong:{},table:{"border-collapse":"separate","border-spacing":"0","border-radius":"8px",margin:"1em 8px",color:"hsl(var(--foreground))","box-shadow":"0 4px 6px rgba(0,0,0,0.1)",overflow:"hidden"},thead:{color:"#fff"},td:{padding:"0.5em 1em"},footnote:{color:"rgba(0,0,0,0.5)"},figcaption:{}}}),themeMap={default:defaultTheme,grace:graceTheme},themeOptions=[{label:"经典",value:"default",desc:""},{label:"优雅",value:"grace",desc:""}],prefix="MD",isMac=/Mac/i.test(navigator.userAgent),ctrlKey=isMac?"Cmd":"Ctrl",altKey="Alt",shiftKey="Shift",ctrlSign=isMac?"⌘":"Ctrl",altSign=isMac?"⌥":"Alt",shiftSign=isMac?"⇧":"Shift";var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(Ra){return Ra&&Ra.__esModule&&Object.prototype.hasOwnProperty.call(Ra,"default")?Ra.default:Ra}function getAugmentedNamespace(Ra){if(Ra.__esModule)return Ra;var qa=Ra.default;if(typeof qa=="function"){var nd=function od(){return this instanceof od?Reflect.construct(qa,arguments,this.constructor):qa.apply(this,arguments)};nd.prototype=qa.prototype}else nd={};return Object.defineProperty(nd,"__esModule",{value:!0}),Object.keys(Ra).forEach(function(od){var ld=Object.getOwnPropertyDescriptor(Ra,od);Object.defineProperty(nd,od,ld.get?ld:{enumerable:!0,get:function(){return Ra[od]}})}),nd}var cheerio$1={exports:{}},ElementType;(function(Ra){Ra.Root="root",Ra.Text="text",Ra.Directive="directive",Ra.Comment="comment",Ra.Script="script",Ra.Style="style",Ra.Tag="tag",Ra.CDATA="cdata",Ra.Doctype="doctype"})(ElementType||(ElementType={}));function isTag$1(Ra){return Ra.type===ElementType.Tag||Ra.type===ElementType.Script||Ra.type===ElementType.Style}const Root=ElementType.Root,Text$1=ElementType.Text,Directive=ElementType.Directive,Comment$1=ElementType.Comment,Script=ElementType.Script,Style=ElementType.Style,Tag=ElementType.Tag,CDATA$1=ElementType.CDATA,Doctype=ElementType.Doctype;let Node$1=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(qa){this.parent=qa}get previousSibling(){return this.prev}set previousSibling(qa){this.prev=qa}get nextSibling(){return this.next}set nextSibling(qa){this.next=qa}cloneNode(qa=!1){return cloneNode(this,qa)}};class DataNode extends Node$1{constructor(qa){super(),this.data=qa}get nodeValue(){return this.data}set nodeValue(qa){this.data=qa}}class Text extends DataNode{constructor(){super(...arguments),this.type=ElementType.Text}get nodeType(){return 3}}class Comment extends DataNode{constructor(){super(...arguments),this.type=ElementType.Comment}get nodeType(){return 8}}class ProcessingInstruction extends DataNode{constructor(qa,nd){super(nd),this.name=qa,this.type=ElementType.Directive}get nodeType(){return 1}}class NodeWithChildren extends Node$1{constructor(qa){super(),this.children=qa}get firstChild(){var qa;return(qa=this.children[0])!==null&&qa!==void 0?qa:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(qa){this.children=qa}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.Root}get nodeType(){return 9}}let Element$1=class extends NodeWithChildren{constructor(qa,nd,od=[],ld=qa==="script"?ElementType.Script:qa==="style"?ElementType.Style:ElementType.Tag){super(od),this.name=qa,this.attribs=nd,this.type=ld}get nodeType(){return 1}get tagName(){return this.name}set tagName(qa){this.name=qa}get attributes(){return Object.keys(this.attribs).map(qa=>{var nd,od;return{name:qa,value:this.attribs[qa],namespace:(nd=this["x-attribsNamespace"])===null||nd===void 0?void 0:nd[qa],prefix:(od=this["x-attribsPrefix"])===null||od===void 0?void 0:od[qa]}})}};function isTag(Ra){return isTag$1(Ra)}function isCDATA(Ra){return Ra.type===ElementType.CDATA}function isText(Ra){return Ra.type===ElementType.Text}function isComment$2(Ra){return Ra.type===ElementType.Comment}function isDirective(Ra){return Ra.type===ElementType.Directive}function isDocument(Ra){return Ra.type===ElementType.Root}function hasChildren(Ra){return Object.prototype.hasOwnProperty.call(Ra,"children")}function cloneNode(Ra,qa=!1){let nd;if(isText(Ra))nd=new Text(Ra.data);else if(isComment$2(Ra))nd=new Comment(Ra.data);else if(isTag(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Element$1(Ra.name,{...Ra.attribs},od);od.forEach(ud=>ud.parent=ld),Ra.namespace!=null&&(ld.namespace=Ra.namespace),Ra["x-attribsNamespace"]&&(ld["x-attribsNamespace"]={...Ra["x-attribsNamespace"]}),Ra["x-attribsPrefix"]&&(ld["x-attribsPrefix"]={...Ra["x-attribsPrefix"]}),nd=ld}else if(isCDATA(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new CDATA(od);od.forEach(ud=>ud.parent=ld),nd=ld}else if(isDocument(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Document(od);od.forEach(ud=>ud.parent=ld),Ra["x-mode"]&&(ld["x-mode"]=Ra["x-mode"]),nd=ld}else if(isDirective(Ra)){const od=new ProcessingInstruction(Ra.name,Ra.data);Ra["x-name"]!=null&&(od["x-name"]=Ra["x-name"],od["x-publicId"]=Ra["x-publicId"],od["x-systemId"]=Ra["x-systemId"]),nd=od}else throw new Error(`Not implemented yet: ${Ra.type}`);return nd.startIndex=Ra.startIndex,nd.endIndex=Ra.endIndex,Ra.sourceCodeLocation!=null&&(nd.sourceCodeLocation=Ra.sourceCodeLocation),nd}function cloneChildren(Ra){const qa=Ra.map(nd=>cloneNode(nd,!0));for(let nd=1;nd<qa.length;nd++)qa[nd].prev=qa[nd-1],qa[nd-1].next=qa[nd];return qa}const defaultOpts$2={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class DomHandler{constructor(qa,nd,od){this.dom=[],this.root=new Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof nd=="function"&&(od=nd,nd=defaultOpts$2),typeof qa=="object"&&(nd=qa,qa=void 0),this.callback=qa??null,this.options=nd??defaultOpts$2,this.elementCB=od??null}onparserinit(qa){this.parser=qa}onreset(){this.dom=[],this.root=new Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(qa){this.handleCallback(qa)}onclosetag(){this.lastNode=null;const qa=this.tagStack.pop();this.options.withEndIndices&&(qa.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(qa)}onopentag(qa,nd){const od=this.options.xmlMode?ElementType.Tag:void 0,ld=new Element$1(qa,nd,void 0,od);this.addNode(ld),this.tagStack.push(ld)}ontext(qa){const{lastNode:nd}=this;if(nd&&nd.type===ElementType.Text)nd.data+=qa,this.options.withEndIndices&&(nd.endIndex=this.parser.endIndex);else{const od=new Text(qa);this.addNode(od),this.lastNode=od}}oncomment(qa){if(this.lastNode&&this.lastNode.type===ElementType.Comment){this.lastNode.data+=qa;return}const nd=new Comment(qa);this.addNode(nd),this.lastNode=nd}oncommentend(){this.lastNode=null}oncdatastart(){const qa=new Text(""),nd=new CDATA([qa]);this.addNode(nd),qa.parent=nd,this.lastNode=qa}oncdataend(){this.lastNode=null}onprocessinginstruction(qa,nd){const od=new ProcessingInstruction(qa,nd);this.addNode(od)}handleCallback(qa){if(typeof this.callback=="function")this.callback(qa,this.dom);else if(qa)throw qa}addNode(qa){const nd=this.tagStack[this.tagStack.length-1],od=nd.children[nd.children.length-1];this.options.withStartIndices&&(qa.startIndex=this.parser.startIndex),this.options.withEndIndices&&(qa.endIndex=this.parser.endIndex),nd.children.push(qa),od&&(qa.prev=od,od.next=qa),qa.parent=nd,this.lastNode=null}}const htmlDecodeTree=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肻 ଷ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(Ra=>Ra.charCodeAt(0))),xmlDecodeTree=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(Ra=>Ra.charCodeAt(0)));var _a$2;const decodeMap=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]]),fromCodePoint=(_a$2=String.fromCodePoint)!==null&&_a$2!==void 0?_a$2:function(Ra){let qa="";return Ra>65535&&(Ra-=65536,qa+=String.fromCharCode(Ra>>>10&1023|55296),Ra=56320|Ra&1023),qa+=String.fromCharCode(Ra),qa};function replaceCodePoint(Ra){var qa;return Ra>=55296&&Ra<=57343||Ra>1114111?65533:(qa=decodeMap.get(Ra))!==null&&qa!==void 0?qa:Ra}var CharCodes$1;(function(Ra){Ra[Ra.NUM=35]="NUM",Ra[Ra.SEMI=59]="SEMI",Ra[Ra.EQUALS=61]="EQUALS",Ra[Ra.ZERO=48]="ZERO",Ra[Ra.NINE=57]="NINE",Ra[Ra.LOWER_A=97]="LOWER_A",Ra[Ra.LOWER_F=102]="LOWER_F",Ra[Ra.LOWER_X=120]="LOWER_X",Ra[Ra.LOWER_Z=122]="LOWER_Z",Ra[Ra.UPPER_A=65]="UPPER_A",Ra[Ra.UPPER_F=70]="UPPER_F",Ra[Ra.UPPER_Z=90]="UPPER_Z"})(CharCodes$1||(CharCodes$1={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(Ra){Ra[Ra.VALUE_LENGTH=49152]="VALUE_LENGTH",Ra[Ra.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ra[Ra.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber$2(Ra){return Ra>=CharCodes$1.ZERO&&Ra<=CharCodes$1.NINE}function isHexadecimalCharacter(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_F||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_F}function isAsciiAlphaNumeric$1(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_Z||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_Z||isNumber$2(Ra)}function isEntityInAttributeInvalidEnd(Ra){return Ra===CharCodes$1.EQUALS||isAsciiAlphaNumeric$1(Ra)}var EntityDecoderState;(function(Ra){Ra[Ra.EntityStart=0]="EntityStart",Ra[Ra.NumericStart=1]="NumericStart",Ra[Ra.NumericDecimal=2]="NumericDecimal",Ra[Ra.NumericHex=3]="NumericHex",Ra[Ra.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(Ra){Ra[Ra.Legacy=0]="Legacy",Ra[Ra.Strict=1]="Strict",Ra[Ra.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));class EntityDecoder{constructor(qa,nd,od){this.decodeTree=qa,this.emitCodePoint=nd,this.errors=od,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(qa){this.decodeMode=qa,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(qa,nd){switch(this.state){case EntityDecoderState.EntityStart:return qa.charCodeAt(nd)===CharCodes$1.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(qa,nd+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(qa,nd));case EntityDecoderState.NumericStart:return this.stateNumericStart(qa,nd);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(qa,nd);case EntityDecoderState.NumericHex:return this.stateNumericHex(qa,nd);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(qa,nd)}}stateNumericStart(qa,nd){return nd>=qa.length?-1:(qa.charCodeAt(nd)|TO_LOWER_BIT)===CharCodes$1.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(qa,nd+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(qa,nd))}addToNumericResult(qa,nd,od,ld){if(nd!==od){const ud=od-nd;this.result=this.result*Math.pow(ld,ud)+parseInt(qa.substr(nd,ud),ld),this.consumed+=ud}}stateNumericHex(qa,nd){const od=nd;for(;nd<qa.length;){const ld=qa.charCodeAt(nd);if(isNumber$2(ld)||isHexadecimalCharacter(ld))nd+=1;else return this.addToNumericResult(qa,od,nd,16),this.emitNumericEntity(ld,3)}return this.addToNumericResult(qa,od,nd,16),-1}stateNumericDecimal(qa,nd){const od=nd;for(;nd<qa.length;){const ld=qa.charCodeAt(nd);if(isNumber$2(ld))nd+=1;else return this.addToNumericResult(qa,od,nd,10),this.emitNumericEntity(ld,2)}return this.addToNumericResult(qa,od,nd,10),-1}emitNumericEntity(qa,nd){var od;if(this.consumed<=nd)return(od=this.errors)===null||od===void 0||od.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(qa===CharCodes$1.SEMI)this.consumed+=1;else if(this.decodeMode===DecodingMode.Strict)return 0;return this.emitCodePoint(replaceCodePoint(this.result),this.consumed),this.errors&&(qa!==CharCodes$1.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(qa,nd){const{decodeTree:od}=this;let ld=od[this.treeIndex],ud=(ld&BinTrieFlags.VALUE_LENGTH)>>14;for(;nd<qa.length;nd++,this.excess++){const dd=qa.charCodeAt(nd);if(this.treeIndex=determineBranch(od,ld,this.treeIndex+Math.max(1,ud),dd),this.treeIndex<0)return this.result===0||this.decodeMode===DecodingMode.Attribute&&(ud===0||isEntityInAttributeInvalidEnd(dd))?0:this.emitNotTerminatedNamedEntity();if(ld=od[this.treeIndex],ud=(ld&BinTrieFlags.VALUE_LENGTH)>>14,ud!==0){if(dd===CharCodes$1.SEMI)return this.emitNamedEntityData(this.treeIndex,ud,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var qa;const{result:nd,decodeTree:od}=this,ld=(od[nd]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(nd,ld,this.consumed),(qa=this.errors)===null||qa===void 0||qa.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(qa,nd,od){const{decodeTree:ld}=this;return this.emitCodePoint(nd===1?ld[qa]&~BinTrieFlags.VALUE_LENGTH:ld[qa+1],od),nd===3&&this.emitCodePoint(ld[qa+2],od),od}end(){var qa;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(qa=this.errors)===null||qa===void 0||qa.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(Ra){let qa="";const nd=new EntityDecoder(Ra,od=>qa+=fromCodePoint(od));return function(ld,ud){let dd=0,pd=0;for(;(pd=ld.indexOf("&",pd))>=0;){qa+=ld.slice(dd,pd),nd.startEntity(ud);const md=nd.write(ld,pd+1);if(md<0){dd=pd+nd.end();break}dd=pd+md,pd=md===0?dd+1:dd}const fd=qa+ld.slice(dd);return qa="",fd}}function determineBranch(Ra,qa,nd,od){const ld=(qa&BinTrieFlags.BRANCH_LENGTH)>>7,ud=qa&BinTrieFlags.JUMP_TABLE;if(ld===0)return ud!==0&&od===ud?nd:-1;if(ud){const fd=od-ud;return fd<0||fd>=ld?-1:Ra[nd+fd]-1}let dd=nd,pd=dd+ld-1;for(;dd<=pd;){const fd=dd+pd>>>1,md=Ra[fd];if(md<od)dd=fd+1;else if(md>od)pd=fd-1;else return Ra[fd+ld]}return-1}getDecoder(htmlDecodeTree);getDecoder(xmlDecodeTree);const xmlReplacer=/["&'<>$\x80-\uFFFF]/g,xmlCodeMap=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),getCodePoint=String.prototype.codePointAt!=null?(Ra,qa)=>Ra.codePointAt(qa):(Ra,qa)=>(Ra.charCodeAt(qa)&64512)===55296?(Ra.charCodeAt(qa)-55296)*1024+Ra.charCodeAt(qa+1)-56320+65536:Ra.charCodeAt(qa);function encodeXML(Ra){let qa="",nd=0,od;for(;(od=xmlReplacer.exec(Ra))!==null;){const ld=od.index,ud=Ra.charCodeAt(ld),dd=xmlCodeMap.get(ud);dd!==void 0?(qa+=Ra.substring(nd,ld)+dd,nd=ld+1):(qa+=`${Ra.substring(nd,ld)}&#x${getCodePoint(Ra,ld).toString(16)};`,nd=xmlReplacer.lastIndex+=+((ud&64512)===55296))}return qa+Ra.substr(nd)}function getEscaper(Ra,qa){return function(od){let ld,ud=0,dd="";for(;ld=Ra.exec(od);)ud!==ld.index&&(dd+=od.substring(ud,ld.index)),dd+=qa.get(ld[0].charCodeAt(0)),ud=ld.index+1;return dd+od.substring(ud)}}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),unencodedElements=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function replaceQuotes(Ra){return Ra.replace(/"/g,""")}function formatAttributes(Ra,qa){var nd;if(!Ra)return;const od=((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)===!1?replaceQuotes:qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML:escapeAttribute;return Object.keys(Ra).map(ld=>{var ud,dd;const pd=(ud=Ra[ld])!==null&&ud!==void 0?ud:"";return qa.xmlMode==="foreign"&&(ld=(dd=attributeNames.get(ld))!==null&&dd!==void 0?dd:ld),!qa.emptyAttrs&&!qa.xmlMode&&pd===""?ld:`${ld}="${od(pd)}"`}).join(" ")}const singleTag=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function render$3(Ra,qa={}){const nd="length"in Ra?Ra:[Ra];let od="";for(let ld=0;ld<nd.length;ld++)od+=renderNode(nd[ld],qa);return od}function renderNode(Ra,qa){switch(Ra.type){case Root:return render$3(Ra.children,qa);case Doctype:case Directive:return renderDirective(Ra);case Comment$1:return renderComment(Ra);case CDATA$1:return renderCdata(Ra);case Script:case Style:case Tag:return renderTag(Ra,qa);case Text$1:return renderText(Ra,qa)}}const foreignModeIntegrationPoints=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),foreignElements=new Set(["svg","math"]);function renderTag(Ra,qa){var nd;qa.xmlMode==="foreign"&&(Ra.name=(nd=elementNames.get(Ra.name))!==null&&nd!==void 0?nd:Ra.name,Ra.parent&&foreignModeIntegrationPoints.has(Ra.parent.name)&&(qa={...qa,xmlMode:!1})),!qa.xmlMode&&foreignElements.has(Ra.name)&&(qa={...qa,xmlMode:"foreign"});let od=`<${Ra.name}`;const ld=formatAttributes(Ra.attribs,qa);return ld&&(od+=` ${ld}`),Ra.children.length===0&&(qa.xmlMode?qa.selfClosingTags!==!1:qa.selfClosingTags&&singleTag.has(Ra.name))?(qa.xmlMode||(od+=" "),od+="/>"):(od+=">",Ra.children.length>0&&(od+=render$3(Ra.children,qa)),(qa.xmlMode||!singleTag.has(Ra.name))&&(od+=`</${Ra.name}>`)),od}function renderDirective(Ra){return`<${Ra.data}>`}function renderText(Ra,qa){var nd;let od=Ra.data||"";return((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)!==!1&&!(!qa.xmlMode&&Ra.parent&&unencodedElements.has(Ra.parent.name))&&(od=qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML(od):escapeText(od)),od}function renderCdata(Ra){return`<![CDATA[${Ra.children[0].data}]]>`}function renderComment(Ra){return`<!--${Ra.data}-->`}function getOuterHTML(Ra,qa){return render$3(Ra,qa)}function getInnerHTML(Ra,qa){return hasChildren(Ra)?Ra.children.map(nd=>getOuterHTML(nd,qa)).join(""):""}function getText(Ra){return Array.isArray(Ra)?Ra.map(getText).join(""):isTag(Ra)?Ra.name==="br"?`
|
||
`:getText(Ra.children):isCDATA(Ra)?getText(Ra.children):isText(Ra)?Ra.data:""}function textContent(Ra){return Array.isArray(Ra)?Ra.map(textContent).join(""):hasChildren(Ra)&&!isComment$2(Ra)?textContent(Ra.children):isText(Ra)?Ra.data:""}function innerText(Ra){return Array.isArray(Ra)?Ra.map(innerText).join(""):hasChildren(Ra)&&(Ra.type===ElementType.Tag||isCDATA(Ra))?innerText(Ra.children):isText(Ra)?Ra.data:""}function getChildren(Ra){return hasChildren(Ra)?Ra.children:[]}function getParent(Ra){return Ra.parent||null}function getSiblings(Ra){const qa=getParent(Ra);if(qa!=null)return getChildren(qa);const nd=[Ra];let{prev:od,next:ld}=Ra;for(;od!=null;)nd.unshift(od),{prev:od}=od;for(;ld!=null;)nd.push(ld),{next:ld}=ld;return nd}function getAttributeValue(Ra,qa){var nd;return(nd=Ra.attribs)===null||nd===void 0?void 0:nd[qa]}function hasAttrib(Ra,qa){return Ra.attribs!=null&&Object.prototype.hasOwnProperty.call(Ra.attribs,qa)&&Ra.attribs[qa]!=null}function getName(Ra){return Ra.name}function nextElementSibling(Ra){let{next:qa}=Ra;for(;qa!==null&&!isTag(qa);)({next:qa}=qa);return qa}function prevElementSibling(Ra){let{prev:qa}=Ra;for(;qa!==null&&!isTag(qa);)({prev:qa}=qa);return qa}function removeElement(Ra){if(Ra.prev&&(Ra.prev.next=Ra.next),Ra.next&&(Ra.next.prev=Ra.prev),Ra.parent){const qa=Ra.parent.children,nd=qa.lastIndexOf(Ra);nd>=0&&qa.splice(nd,1)}Ra.next=null,Ra.prev=null,Ra.parent=null}function replaceElement(Ra,qa){const nd=qa.prev=Ra.prev;nd&&(nd.next=qa);const od=qa.next=Ra.next;od&&(od.prev=qa);const ld=qa.parent=Ra.parent;if(ld){const ud=ld.children;ud[ud.lastIndexOf(Ra)]=qa,Ra.parent=null}}function appendChild(Ra,qa){if(removeElement(qa),qa.next=null,qa.parent=Ra,Ra.children.push(qa)>1){const nd=Ra.children[Ra.children.length-2];nd.next=qa,qa.prev=nd}else qa.prev=null}function append$3(Ra,qa){removeElement(qa);const{parent:nd}=Ra,od=Ra.next;if(qa.next=od,qa.prev=Ra,Ra.next=qa,qa.parent=nd,od){if(od.prev=qa,nd){const ld=nd.children;ld.splice(ld.lastIndexOf(od),0,qa)}}else nd&&nd.children.push(qa)}function prependChild(Ra,qa){if(removeElement(qa),qa.parent=Ra,qa.prev=null,Ra.children.unshift(qa)!==1){const nd=Ra.children[1];nd.prev=qa,qa.next=nd}else qa.next=null}function prepend$1(Ra,qa){removeElement(qa);const{parent:nd}=Ra;if(nd){const od=nd.children;od.splice(od.indexOf(Ra),0,qa)}Ra.prev&&(Ra.prev.next=qa),qa.parent=nd,qa.prev=Ra.prev,qa.next=Ra,Ra.prev=qa}function filter$5(Ra,qa,nd=!0,od=1/0){return find$3(Ra,Array.isArray(qa)?qa:[qa],nd,od)}function find$3(Ra,qa,nd,od){const ld=[],ud=[qa],dd=[0];for(;;){if(dd[0]>=ud[0].length){if(dd.length===1)return ld;ud.shift(),dd.shift();continue}const pd=ud[0][dd[0]++];if(Ra(pd)&&(ld.push(pd),--od<=0))return ld;nd&&hasChildren(pd)&&pd.children.length>0&&(dd.unshift(0),ud.unshift(pd.children))}}function findOneChild(Ra,qa){return qa.find(Ra)}function findOne(Ra,qa,nd=!0){let od=null;for(let ld=0;ld<qa.length&&!od;ld++){const ud=qa[ld];if(isTag(ud))Ra(ud)?od=ud:nd&&ud.children.length>0&&(od=findOne(Ra,ud.children,!0));else continue}return od}function existsOne(Ra,qa){return qa.some(nd=>isTag(nd)&&(Ra(nd)||existsOne(Ra,nd.children)))}function findAll(Ra,qa){const nd=[],od=[qa],ld=[0];for(;;){if(ld[0]>=od[0].length){if(od.length===1)return nd;od.shift(),ld.shift();continue}const ud=od[0][ld[0]++];isTag(ud)&&(Ra(ud)&&nd.push(ud),ud.children.length>0&&(ld.unshift(0),od.unshift(ud.children)))}}const Checks={tag_name(Ra){return typeof Ra=="function"?qa=>isTag(qa)&&Ra(qa.name):Ra==="*"?isTag:qa=>isTag(qa)&&qa.name===Ra},tag_type(Ra){return typeof Ra=="function"?qa=>Ra(qa.type):qa=>qa.type===Ra},tag_contains(Ra){return typeof Ra=="function"?qa=>isText(qa)&&Ra(qa.data):qa=>isText(qa)&&qa.data===Ra}};function getAttribCheck(Ra,qa){return typeof qa=="function"?nd=>isTag(nd)&&qa(nd.attribs[Ra]):nd=>isTag(nd)&&nd.attribs[Ra]===qa}function combineFuncs(Ra,qa){return nd=>Ra(nd)||qa(nd)}function compileTest(Ra){const qa=Object.keys(Ra).map(nd=>{const od=Ra[nd];return Object.prototype.hasOwnProperty.call(Checks,nd)?Checks[nd](od):getAttribCheck(nd,od)});return qa.length===0?null:qa.reduce(combineFuncs)}function testElement(Ra,qa){const nd=compileTest(Ra);return nd?nd(qa):!0}function getElements(Ra,qa,nd,od=1/0){const ld=compileTest(Ra);return ld?filter$5(ld,qa,nd,od):[]}function getElementById(Ra,qa,nd=!0){return Array.isArray(qa)||(qa=[qa]),findOne(getAttribCheck("id",Ra),qa,nd)}function getElementsByTagName(Ra,qa,nd=!0,od=1/0){return filter$5(Checks.tag_name(Ra),qa,nd,od)}function getElementsByTagType(Ra,qa,nd=!0,od=1/0){return filter$5(Checks.tag_type(Ra),qa,nd,od)}function removeSubsets(Ra){let qa=Ra.length;for(;--qa>=0;){const nd=Ra[qa];if(qa>0&&Ra.lastIndexOf(nd,qa-1)>=0){Ra.splice(qa,1);continue}for(let od=nd.parent;od;od=od.parent)if(Ra.includes(od)){Ra.splice(qa,1);break}}return Ra}var DocumentPosition$1;(function(Ra){Ra[Ra.DISCONNECTED=1]="DISCONNECTED",Ra[Ra.PRECEDING=2]="PRECEDING",Ra[Ra.FOLLOWING=4]="FOLLOWING",Ra[Ra.CONTAINS=8]="CONTAINS",Ra[Ra.CONTAINED_BY=16]="CONTAINED_BY"})(DocumentPosition$1||(DocumentPosition$1={}));function compareDocumentPosition(Ra,qa){const nd=[],od=[];if(Ra===qa)return 0;let ld=hasChildren(Ra)?Ra:Ra.parent;for(;ld;)nd.unshift(ld),ld=ld.parent;for(ld=hasChildren(qa)?qa:qa.parent;ld;)od.unshift(ld),ld=ld.parent;const ud=Math.min(nd.length,od.length);let dd=0;for(;dd<ud&&nd[dd]===od[dd];)dd++;if(dd===0)return DocumentPosition$1.DISCONNECTED;const pd=nd[dd-1],fd=pd.children,md=nd[dd],vd=od[dd];return fd.indexOf(md)>fd.indexOf(vd)?pd===qa?DocumentPosition$1.FOLLOWING|DocumentPosition$1.CONTAINED_BY:DocumentPosition$1.FOLLOWING:pd===Ra?DocumentPosition$1.PRECEDING|DocumentPosition$1.CONTAINS:DocumentPosition$1.PRECEDING}function uniqueSort(Ra){return Ra=Ra.filter((qa,nd,od)=>!od.includes(qa,nd+1)),Ra.sort((qa,nd)=>{const od=compareDocumentPosition(qa,nd);return od&DocumentPosition$1.PRECEDING?-1:od&DocumentPosition$1.FOLLOWING?1:0}),Ra}function getFeed(Ra){const qa=getOneElement(isValidFeed,Ra);return qa?qa.name==="feed"?getAtomFeed(qa):getRssFeed(qa):null}function getAtomFeed(Ra){var qa;const nd=Ra.children,od={type:"atom",items:getElementsByTagName("entry",nd).map(dd=>{var pd;const{children:fd}=dd,md={media:getMediaElements(fd)};addConditionally(md,"id","id",fd),addConditionally(md,"title","title",fd);const vd=(pd=getOneElement("link",fd))===null||pd===void 0?void 0:pd.attribs.href;vd&&(md.link=vd);const Ad=fetch$1("summary",fd)||fetch$1("content",fd);Ad&&(md.description=Ad);const Nd=fetch$1("updated",fd);return Nd&&(md.pubDate=new Date(Nd)),md})};addConditionally(od,"id","id",nd),addConditionally(od,"title","title",nd);const ld=(qa=getOneElement("link",nd))===null||qa===void 0?void 0:qa.attribs.href;ld&&(od.link=ld),addConditionally(od,"description","subtitle",nd);const ud=fetch$1("updated",nd);return ud&&(od.updated=new Date(ud)),addConditionally(od,"author","email",nd,!0),od}function getRssFeed(Ra){var qa,nd;const od=(nd=(qa=getOneElement("channel",Ra.children))===null||qa===void 0?void 0:qa.children)!==null&&nd!==void 0?nd:[],ld={type:Ra.name.substr(0,3),id:"",items:getElementsByTagName("item",Ra.children).map(dd=>{const{children:pd}=dd,fd={media:getMediaElements(pd)};addConditionally(fd,"id","guid",pd),addConditionally(fd,"title","title",pd),addConditionally(fd,"link","link",pd),addConditionally(fd,"description","description",pd);const md=fetch$1("pubDate",pd)||fetch$1("dc:date",pd);return md&&(fd.pubDate=new Date(md)),fd})};addConditionally(ld,"title","title",od),addConditionally(ld,"link","link",od),addConditionally(ld,"description","description",od);const ud=fetch$1("lastBuildDate",od);return ud&&(ld.updated=new Date(ud)),addConditionally(ld,"author","managingEditor",od,!0),ld}const MEDIA_KEYS_STRING=["url","type","lang"],MEDIA_KEYS_INT=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function getMediaElements(Ra){return getElementsByTagName("media:content",Ra).map(qa=>{const{attribs:nd}=qa,od={medium:nd.medium,isDefault:!!nd.isDefault};for(const ld of MEDIA_KEYS_STRING)nd[ld]&&(od[ld]=nd[ld]);for(const ld of MEDIA_KEYS_INT)nd[ld]&&(od[ld]=parseInt(nd[ld],10));return nd.expression&&(od.expression=nd.expression),od})}function getOneElement(Ra,qa){return getElementsByTagName(Ra,qa,!0,1)[0]}function fetch$1(Ra,qa,nd=!1){return textContent(getElementsByTagName(Ra,qa,nd,1)).trim()}function addConditionally(Ra,qa,nd,od,ld=!1){const ud=fetch$1(nd,od,ld);ud&&(Ra[qa]=ud)}function isValidFeed(Ra){return Ra==="rss"||Ra==="feed"||Ra==="rdf:RDF"}const DomUtils=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return DocumentPosition$1},append:append$3,appendChild,compareDocumentPosition,existsOne,filter:filter$5,find:find$3,findAll,findOne,findOneChild,getAttributeValue,getChildren,getElementById,getElements,getElementsByTagName,getElementsByTagType,getFeed,getInnerHTML,getName,getOuterHTML,getParent,getSiblings,getText,hasAttrib,hasChildren,innerText,isCDATA,isComment:isComment$2,isDocument,isTag,isText,nextElementSibling,prepend:prepend$1,prependChild,prevElementSibling,removeElement,removeSubsets,replaceElement,testElement,textContent,uniqueSort},Symbol.toStringTag,{value:"Module"})),defaultOpts$1={_useHtmlParser2:!1};function flattenOptions(Ra,qa){if(!Ra)return qa??defaultOpts$1;const nd={_useHtmlParser2:!!Ra.xmlMode,...qa,...Ra};return Ra.xml?(nd._useHtmlParser2=!0,nd.xmlMode=!0,Ra.xml!==!0&&Object.assign(nd,Ra.xml)):Ra.xmlMode&&(nd._useHtmlParser2=!0),nd}function render$2(Ra,qa,nd){return Ra?Ra(qa??Ra._root.children,null,void 0,nd).toString():""}function isOptions(Ra,qa){return typeof Ra=="object"&&Ra!=null&&!("length"in Ra)&&!("type"in Ra)}function html$5(Ra,qa){const nd=isOptions(Ra)?(qa=Ra,void 0):Ra,od={...this===null||this===void 0?void 0:this._options,...flattenOptions(qa)};return render$2(this,nd,od)}function xml$4(Ra){const qa={...this._options,xmlMode:!0};return render$2(this,Ra,qa)}function text$3(Ra){const qa=Ra??(this?this.root():[]);let nd="";for(let od=0;od<qa.length;od++)nd+=textContent(qa[od]);return nd}function parseHTML(Ra,qa,nd=typeof qa=="boolean"?qa:!1){if(!Ra||typeof Ra!="string")return null;typeof qa=="boolean"&&(nd=qa);const od=this.load(Ra,this._options,!1);return nd||od("script").remove(),[...od.root()[0].children]}function root$2(){return this(this._root)}function contains(Ra,qa){if(qa===Ra)return!1;let nd=qa;for(;nd&&nd!==nd.parent;)if(nd=nd.parent,nd===Ra)return!0;return!1}function extract$1(Ra){return this.root().extract(Ra)}function merge$3(Ra,qa){if(!isArrayLike$2(Ra)||!isArrayLike$2(qa))return;let nd=Ra.length;const od=+qa.length;for(let ld=0;ld<od;ld++)Ra[nd++]=qa[ld];return Ra.length=nd,Ra}function isArrayLike$2(Ra){if(Array.isArray(Ra))return!0;if(typeof Ra!="object"||Ra===null||!("length"in Ra)||typeof Ra.length!="number"||Ra.length<0)return!1;for(let qa=0;qa<Ra.length;qa++)if(!(qa in Ra))return!1;return!0}const staticMethods=Object.freeze(Object.defineProperty({__proto__:null,contains,extract:extract$1,html:html$5,merge:merge$3,parseHTML,root:root$2,text:text$3,xml:xml$4},Symbol.toStringTag,{value:"Module"}));function isCheerio(Ra){return Ra.cheerio!=null}function camelCase(Ra){return Ra.replace(/[._-](\w|$)/g,(qa,nd)=>nd.toUpperCase())}function cssCase(Ra){return Ra.replace(/[A-Z]/g,"-$&").toLowerCase()}function domEach(Ra,qa){const nd=Ra.length;for(let od=0;od<nd;od++)qa(Ra[od],od);return Ra}var CharacterCodes;(function(Ra){Ra[Ra.LowerA=97]="LowerA",Ra[Ra.LowerZ=122]="LowerZ",Ra[Ra.UpperA=65]="UpperA",Ra[Ra.UpperZ=90]="UpperZ",Ra[Ra.Exclamation=33]="Exclamation"})(CharacterCodes||(CharacterCodes={}));function isHtml(Ra){const qa=Ra.indexOf("<");if(qa<0||qa>Ra.length-3)return!1;const nd=Ra.charCodeAt(qa+1);return(nd>=CharacterCodes.LowerA&&nd<=CharacterCodes.LowerZ||nd>=CharacterCodes.UpperA&&nd<=CharacterCodes.UpperZ||nd===CharacterCodes.Exclamation)&&Ra.includes(">",qa+2)}const hasOwn$1=Object.prototype.hasOwnProperty,rspace=/\s+/,dataAttrPrefix="data-",rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,rbrace=/^{[^]*}$|^\[[^]*]$/;function getAttr$1(Ra,qa,nd){var od;if(!(!Ra||!isTag(Ra))){if((od=Ra.attribs)!==null&&od!==void 0||(Ra.attribs={}),!qa)return Ra.attribs;if(hasOwn$1.call(Ra.attribs,qa))return!nd&&rboolean.test(qa)?qa:Ra.attribs[qa];if(Ra.name==="option"&&qa==="value")return text$3(Ra.children);if(Ra.name==="input"&&(Ra.attribs.type==="radio"||Ra.attribs.type==="checkbox")&&qa==="value")return"on"}}function setAttr(Ra,qa,nd){nd===null?removeAttribute(Ra,qa):Ra.attribs[qa]=`${nd}`}function attr(Ra,qa){if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra!="string")throw new Error("Bad combination of arguments.");return domEach(this,(nd,od)=>{isTag(nd)&&setAttr(nd,Ra,qa.call(nd,od,nd.attribs[Ra]))})}return domEach(this,nd=>{if(isTag(nd))if(typeof Ra=="object")for(const od of Object.keys(Ra)){const ld=Ra[od];setAttr(nd,od,ld)}else setAttr(nd,Ra,qa)})}return arguments.length>1?this:getAttr$1(this[0],Ra,this.options.xmlMode)}function getProp(Ra,qa,nd){return qa in Ra?Ra[qa]:!nd&&rboolean.test(qa)?getAttr$1(Ra,qa,!1)!==void 0:getAttr$1(Ra,qa,nd)}function setProp(Ra,qa,nd,od){qa in Ra?Ra[qa]=nd:setAttr(Ra,qa,!od&&rboolean.test(qa)?nd?"":null:`${nd}`)}function prop(Ra,qa){var nd;if(typeof Ra=="string"&&qa===void 0){const od=this[0];if(!od||!isTag(od))return;switch(Ra){case"style":{const ld=this.css(),ud=Object.keys(ld);for(let dd=0;dd<ud.length;dd++)ld[dd]=ud[dd];return ld.length=ud.length,ld}case"tagName":case"nodeName":return od.name.toUpperCase();case"href":case"src":{const ld=(nd=od.attribs)===null||nd===void 0?void 0:nd[Ra];return typeof URL<"u"&&(Ra==="href"&&(od.tagName==="a"||od.tagName==="link")||Ra==="src"&&(od.tagName==="img"||od.tagName==="iframe"||od.tagName==="audio"||od.tagName==="video"||od.tagName==="source"))&&ld!==void 0&&this.options.baseURI?new URL(ld,this.options.baseURI).href:ld}case"innerText":return innerText(od);case"textContent":return textContent(od);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return getProp(od,Ra,this.options.xmlMode)}}if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra=="object")throw new TypeError("Bad combination of arguments.");return domEach(this,(od,ld)=>{isTag(od)&&setProp(od,Ra,qa.call(od,ld,getProp(od,Ra,this.options.xmlMode)),this.options.xmlMode)})}return domEach(this,od=>{if(isTag(od))if(typeof Ra=="object")for(const ld of Object.keys(Ra)){const ud=Ra[ld];setProp(od,ld,ud,this.options.xmlMode)}else setProp(od,Ra,qa,this.options.xmlMode)})}}function setData(Ra,qa,nd){var od;(od=Ra.data)!==null&&od!==void 0||(Ra.data={}),typeof qa=="object"?Object.assign(Ra.data,qa):typeof qa=="string"&&nd!==void 0&&(Ra.data[qa]=nd)}function readAllData(Ra){for(const qa of Object.keys(Ra.attribs)){if(!qa.startsWith(dataAttrPrefix))continue;const nd=camelCase(qa.slice(dataAttrPrefix.length));hasOwn$1.call(Ra.data,nd)||(Ra.data[nd]=parseDataValue(Ra.attribs[qa]))}return Ra.data}function readData(Ra,qa){const nd=dataAttrPrefix+cssCase(qa),od=Ra.data;if(hasOwn$1.call(od,qa))return od[qa];if(hasOwn$1.call(Ra.attribs,nd))return od[qa]=parseDataValue(Ra.attribs[nd])}function parseDataValue(Ra){if(Ra==="null")return null;if(Ra==="true")return!0;if(Ra==="false")return!1;const qa=Number(Ra);if(Ra===String(qa))return qa;if(rbrace.test(Ra))try{return JSON.parse(Ra)}catch{}return Ra}function data(Ra,qa){var nd;const od=this[0];if(!od||!isTag(od))return;const ld=od;return(nd=ld.data)!==null&&nd!==void 0||(ld.data={}),Ra==null?readAllData(ld):typeof Ra=="object"||qa!==void 0?(domEach(this,ud=>{isTag(ud)&&(typeof Ra=="object"?setData(ud,Ra):setData(ud,Ra,qa))}),this):readData(ld,Ra)}function val$1(Ra){const qa=arguments.length===0,nd=this[0];if(!nd||!isTag(nd))return qa?void 0:this;switch(nd.name){case"textarea":return this.text(Ra);case"select":{const od=this.find("option:selected");if(!qa){if(this.attr("multiple")==null&&typeof Ra=="object")return this;this.find("option").removeAttr("selected");const ld=typeof Ra=="object"?Ra:[Ra];for(const ud of ld)this.find(`option[value="${ud}"]`).attr("selected","");return this}return this.attr("multiple")?od.toArray().map(ld=>text$3(ld.children)):od.attr("value")}case"input":case"option":return qa?this.attr("value"):this.attr("value",Ra)}}function removeAttribute(Ra,qa){!Ra.attribs||!hasOwn$1.call(Ra.attribs,qa)||delete Ra.attribs[qa]}function splitNames(Ra){return Ra?Ra.trim().split(rspace):[]}function removeAttr(Ra){const qa=splitNames(Ra);for(const nd of qa)domEach(this,od=>{isTag(od)&&removeAttribute(od,nd)});return this}function hasClass(Ra){return this.toArray().some(qa=>{const nd=isTag(qa)&&qa.attribs.class;let od=-1;if(nd&&Ra.length>0)for(;(od=nd.indexOf(Ra,od+1))>-1;){const ld=od+Ra.length;if((od===0||rspace.test(nd[od-1]))&&(ld===nd.length||rspace.test(nd[ld])))return!0}return!1})}function addClass(Ra){if(typeof Ra=="function")return domEach(this,(od,ld)=>{if(isTag(od)){const ud=od.attribs.class||"";addClass.call([od],Ra.call(od,ld,ud))}});if(!Ra||typeof Ra!="string")return this;const qa=Ra.split(rspace),nd=this.length;for(let od=0;od<nd;od++){const ld=this[od];if(!isTag(ld))continue;const ud=getAttr$1(ld,"class",!1);if(ud){let dd=` ${ud} `;for(const pd of qa){const fd=`${pd} `;dd.includes(` ${fd}`)||(dd+=fd)}setAttr(ld,"class",dd.trim())}else setAttr(ld,"class",qa.join(" ").trim())}return this}function removeClass(Ra){if(typeof Ra=="function")return domEach(this,(ld,ud)=>{isTag(ld)&&removeClass.call([ld],Ra.call(ld,ud,ld.attribs.class||""))});const qa=splitNames(Ra),nd=qa.length,od=arguments.length===0;return domEach(this,ld=>{if(isTag(ld))if(od)ld.attribs.class="";else{const ud=splitNames(ld.attribs.class);let dd=!1;for(let pd=0;pd<nd;pd++){const fd=ud.indexOf(qa[pd]);fd>=0&&(ud.splice(fd,1),dd=!0,pd--)}dd&&(ld.attribs.class=ud.join(" "))}})}function toggleClass(Ra,qa){if(typeof Ra=="function")return domEach(this,(dd,pd)=>{isTag(dd)&&toggleClass.call([dd],Ra.call(dd,pd,dd.attribs.class||"",qa),qa)});if(!Ra||typeof Ra!="string")return this;const nd=Ra.split(rspace),od=nd.length,ld=typeof qa=="boolean"?qa?1:-1:0,ud=this.length;for(let dd=0;dd<ud;dd++){const pd=this[dd];if(!isTag(pd))continue;const fd=splitNames(pd.attribs.class);for(let md=0;md<od;md++){const vd=fd.indexOf(nd[md]);ld>=0&&vd<0?fd.push(nd[md]):ld<=0&&vd>=0&&fd.splice(vd,1)}pd.attribs.class=fd.join(" ")}return this}const Attributes=Object.freeze(Object.defineProperty({__proto__:null,addClass,attr,data,hasClass,prop,removeAttr,removeClass,toggleClass,val:val$1},Symbol.toStringTag,{value:"Module"}));var SelectorType$2;(function(Ra){Ra.Attribute="attribute",Ra.Pseudo="pseudo",Ra.PseudoElement="pseudo-element",Ra.Tag="tag",Ra.Universal="universal",Ra.Adjacent="adjacent",Ra.Child="child",Ra.Descendant="descendant",Ra.Parent="parent",Ra.Sibling="sibling",Ra.ColumnCombinator="column-combinator"})(SelectorType$2||(SelectorType$2={}));var AttributeAction;(function(Ra){Ra.Any="any",Ra.Element="element",Ra.End="end",Ra.Equals="equals",Ra.Exists="exists",Ra.Hyphen="hyphen",Ra.Not="not",Ra.Start="start"})(AttributeAction||(AttributeAction={}));const reName=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,reEscape=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,actionTypes=new Map([[126,AttributeAction.Element],[94,AttributeAction.Start],[36,AttributeAction.End],[42,AttributeAction.Any],[33,AttributeAction.Not],[124,AttributeAction.Hyphen]]),unpackPseudos=new Set(["has","not","matches","is","where","host","host-context"]);function isTraversal$1(Ra){switch(Ra.type){case SelectorType$2.Adjacent:case SelectorType$2.Child:case SelectorType$2.Descendant:case SelectorType$2.Parent:case SelectorType$2.Sibling:case SelectorType$2.ColumnCombinator:return!0;default:return!1}}const stripQuotesFromPseudos=new Set(["contains","icontains"]);function funescape(Ra,qa,nd){const od=parseInt(qa,16)-65536;return od!==od||nd?qa:od<0?String.fromCharCode(od+65536):String.fromCharCode(od>>10|55296,od&1023|56320)}function unescapeCSS(Ra){return Ra.replace(reEscape,funescape)}function isQuote(Ra){return Ra===39||Ra===34}function isWhitespace$3(Ra){return Ra===32||Ra===9||Ra===10||Ra===12||Ra===13}function parse$7(Ra){const qa=[],nd=parseSelector(qa,`${Ra}`,0);if(nd<Ra.length)throw new Error(`Unmatched selector: ${Ra.slice(nd)}`);return qa}function parseSelector(Ra,qa,nd){let od=[];function ld(Nd){const Id=qa.slice(nd+Nd).match(reName);if(!Id)throw new Error(`Expected name, found ${qa.slice(nd)}`);const[Od]=Id;return nd+=Nd+Od.length,unescapeCSS(Od)}function ud(Nd){for(nd+=Nd;nd<qa.length&&isWhitespace$3(qa.charCodeAt(nd));)nd++}function dd(){nd+=1;const Nd=nd;let Id=1;for(;Id>0&&nd<qa.length;nd++)qa.charCodeAt(nd)===40&&!pd(nd)?Id++:qa.charCodeAt(nd)===41&&!pd(nd)&&Id--;if(Id)throw new Error("Parenthesis not matched");return unescapeCSS(qa.slice(Nd,nd-1))}function pd(Nd){let Id=0;for(;qa.charCodeAt(--Nd)===92;)Id++;return(Id&1)===1}function fd(){if(od.length>0&&isTraversal$1(od[od.length-1]))throw new Error("Did not expect successive traversals.")}function md(Nd){if(od.length>0&&od[od.length-1].type===SelectorType$2.Descendant){od[od.length-1].type=Nd;return}fd(),od.push({type:Nd})}function vd(Nd,Id){od.push({type:SelectorType$2.Attribute,name:Nd,action:Id,value:ld(1),namespace:null,ignoreCase:"quirks"})}function Ad(){if(od.length&&od[od.length-1].type===SelectorType$2.Descendant&&od.pop(),od.length===0)throw new Error("Empty sub-selector");Ra.push(od)}if(ud(0),qa.length===nd)return nd;e:for(;nd<qa.length;){const Nd=qa.charCodeAt(nd);switch(Nd){case 32:case 9:case 10:case 12:case 13:{(od.length===0||od[0].type!==SelectorType$2.Descendant)&&(fd(),od.push({type:SelectorType$2.Descendant})),ud(1);break}case 62:{md(SelectorType$2.Child),ud(1);break}case 60:{md(SelectorType$2.Parent),ud(1);break}case 126:{md(SelectorType$2.Sibling),ud(1);break}case 43:{md(SelectorType$2.Adjacent),ud(1);break}case 46:{vd("class",AttributeAction.Element);break}case 35:{vd("id",AttributeAction.Equals);break}case 91:{ud(1);let Id,Od=null;qa.charCodeAt(nd)===124?Id=ld(1):qa.startsWith("*|",nd)?(Od="*",Id=ld(2)):(Id=ld(0),qa.charCodeAt(nd)===124&&qa.charCodeAt(nd+1)!==61&&(Od=Id,Id=ld(1))),ud(0);let Md=AttributeAction.Exists;const Ud=actionTypes.get(qa.charCodeAt(nd));if(Ud){if(Md=Ud,qa.charCodeAt(nd+1)!==61)throw new Error("Expected `=`");ud(2)}else qa.charCodeAt(nd)===61&&(Md=AttributeAction.Equals,ud(1));let jd="",Ld=null;if(Md!=="exists"){if(isQuote(qa.charCodeAt(nd))){const qd=qa.charCodeAt(nd);let zd=nd+1;for(;zd<qa.length&&(qa.charCodeAt(zd)!==qd||pd(zd));)zd+=1;if(qa.charCodeAt(zd)!==qd)throw new Error("Attribute value didn't end");jd=unescapeCSS(qa.slice(nd+1,zd)),nd=zd+1}else{const qd=nd;for(;nd<qa.length&&(!isWhitespace$3(qa.charCodeAt(nd))&&qa.charCodeAt(nd)!==93||pd(nd));)nd+=1;jd=unescapeCSS(qa.slice(qd,nd))}ud(0);const Gd=qa.charCodeAt(nd)|32;Gd===115?(Ld=!1,ud(1)):Gd===105&&(Ld=!0,ud(1))}if(qa.charCodeAt(nd)!==93)throw new Error("Attribute selector didn't terminate");nd+=1;const Bd={type:SelectorType$2.Attribute,name:Id,action:Md,value:jd,namespace:Od,ignoreCase:Ld};od.push(Bd);break}case 58:{if(qa.charCodeAt(nd+1)===58){od.push({type:SelectorType$2.PseudoElement,name:ld(2).toLowerCase(),data:qa.charCodeAt(nd)===40?dd():null});continue}const Id=ld(1).toLowerCase();let Od=null;if(qa.charCodeAt(nd)===40)if(unpackPseudos.has(Id)){if(isQuote(qa.charCodeAt(nd+1)))throw new Error(`Pseudo-selector ${Id} cannot be quoted`);if(Od=[],nd=parseSelector(Od,qa,nd+1),qa.charCodeAt(nd)!==41)throw new Error(`Missing closing parenthesis in :${Id} (${qa})`);nd+=1}else{if(Od=dd(),stripQuotesFromPseudos.has(Id)){const Md=Od.charCodeAt(0);Md===Od.charCodeAt(Od.length-1)&&isQuote(Md)&&(Od=Od.slice(1,-1))}Od=unescapeCSS(Od)}od.push({type:SelectorType$2.Pseudo,name:Id,data:Od});break}case 44:{Ad(),od=[],ud(1);break}default:{if(qa.startsWith("/*",nd)){const Md=qa.indexOf("*/",nd+2);if(Md<0)throw new Error("Comment was not terminated");nd=Md+2,od.length===0&&ud(0);break}let Id=null,Od;if(Nd===42)nd+=1,Od="*";else if(Nd===124){if(Od="",qa.charCodeAt(nd+1)===124){md(SelectorType$2.ColumnCombinator),ud(2);break}}else if(reName.test(qa.slice(nd)))Od=ld(0);else break e;qa.charCodeAt(nd)===124&&qa.charCodeAt(nd+1)!==124&&(Id=Od,qa.charCodeAt(nd+1)===42?(Od="*",nd+=2):Od=ld(1)),od.push(Od==="*"?{type:SelectorType$2.Universal,namespace:Id}:{type:SelectorType$2.Tag,name:Od,namespace:Id})}}}return Ad(),nd}var boolbase={trueFunc:function(){return!0},falseFunc:function(){return!1}};const boolbase$1=getDefaultExportFromCjs(boolbase),procedure=new Map([[SelectorType$2.Universal,50],[SelectorType$2.Tag,30],[SelectorType$2.Attribute,1],[SelectorType$2.Pseudo,0]]);function isTraversal(Ra){return!procedure.has(Ra.type)}const attributes=new Map([[AttributeAction.Exists,10],[AttributeAction.Equals,8],[AttributeAction.Not,7],[AttributeAction.Start,6],[AttributeAction.End,6],[AttributeAction.Any,5]]);function sortByProcedure(Ra){const qa=Ra.map(getProcedure);for(let nd=1;nd<Ra.length;nd++){const od=qa[nd];if(!(od<0))for(let ld=nd-1;ld>=0&&od<qa[ld];ld--){const ud=Ra[ld+1];Ra[ld+1]=Ra[ld],Ra[ld]=ud,qa[ld+1]=qa[ld],qa[ld]=od}}}function getProcedure(Ra){var qa,nd;let od=(qa=procedure.get(Ra.type))!==null&&qa!==void 0?qa:-1;return Ra.type===SelectorType$2.Attribute?(od=(nd=attributes.get(Ra.action))!==null&&nd!==void 0?nd:4,Ra.action===AttributeAction.Equals&&Ra.name==="id"&&(od=9),Ra.ignoreCase&&(od>>=1)):Ra.type===SelectorType$2.Pseudo&&(Ra.data?Ra.name==="has"||Ra.name==="contains"?od=0:Array.isArray(Ra.data)?(od=Math.min(...Ra.data.map(ld=>Math.min(...ld.map(getProcedure)))),od<0&&(od=0)):od=2:od=3),od}const reChars=/[-[\]{}()*+?.,\\^$|#\s]/g;function escapeRegex(Ra){return Ra.replace(reChars,"\\$&")}const caseInsensitiveAttributes=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function shouldIgnoreCase(Ra,qa){return typeof Ra.ignoreCase=="boolean"?Ra.ignoreCase:Ra.ignoreCase==="quirks"?!!qa.quirksMode:!qa.xmlMode&&caseInsensitiveAttributes.has(Ra.name)}const attributeRules={equals(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;return shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{const pd=od.getAttributeValue(dd,ld);return pd!=null&&pd.length===ud.length&&pd.toLowerCase()===ud&&Ra(dd)}):dd=>od.getAttributeValue(dd,ld)===ud&&Ra(dd)},hyphen(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const dd=ud.length;return shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&(md.length===dd||md.charAt(dd)==="-")&&md.substr(0,dd).toLowerCase()===ud&&Ra(fd)}):function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&(md.length===dd||md.charAt(dd)==="-")&&md.substr(0,dd)===ud&&Ra(fd)}},element(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(/\s/.test(ud))return boolbase$1.falseFunc;const dd=new RegExp(`(?:^|\\s)${escapeRegex(ud)}(?:$|\\s)`,shouldIgnoreCase(qa,nd)?"i":"");return function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&md.length>=ud.length&&dd.test(md)&&Ra(fd)}},exists(Ra,{name:qa},{adapter:nd}){return od=>nd.hasAttrib(od,qa)&&Ra(od)},start(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const dd=ud.length;return dd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),pd=>{const fd=od.getAttributeValue(pd,ld);return fd!=null&&fd.length>=dd&&fd.substr(0,dd).toLowerCase()===ud&&Ra(pd)}):pd=>{var fd;return!!(!((fd=od.getAttributeValue(pd,ld))===null||fd===void 0)&&fd.startsWith(ud))&&Ra(pd)}},end(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const dd=-ud.length;return dd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),pd=>{var fd;return((fd=od.getAttributeValue(pd,ld))===null||fd===void 0?void 0:fd.substr(dd).toLowerCase())===ud&&Ra(pd)}):pd=>{var fd;return!!(!((fd=od.getAttributeValue(pd,ld))===null||fd===void 0)&&fd.endsWith(ud))&&Ra(pd)}},any(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(ud==="")return boolbase$1.falseFunc;if(shouldIgnoreCase(qa,nd)){const dd=new RegExp(escapeRegex(ud),"i");return function(fd){const md=od.getAttributeValue(fd,ld);return md!=null&&md.length>=ud.length&&dd.test(md)&&Ra(fd)}}return dd=>{var pd;return!!(!((pd=od.getAttributeValue(dd,ld))===null||pd===void 0)&&pd.includes(ud))&&Ra(dd)}},not(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;return ud===""?dd=>!!od.getAttributeValue(dd,ld)&&Ra(dd):shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{const pd=od.getAttributeValue(dd,ld);return(pd==null||pd.length!==ud.length||pd.toLowerCase()!==ud)&&Ra(dd)}):dd=>od.getAttributeValue(dd,ld)!==ud&&Ra(dd)}},whitespace$1=new Set([9,10,12,13,32]),ZERO=48,NINE=57;function parse$6(Ra){if(Ra=Ra.trim().toLowerCase(),Ra==="even")return[2,0];if(Ra==="odd")return[2,1];let qa=0,nd=0,od=ud(),ld=dd();if(qa<Ra.length&&Ra.charAt(qa)==="n"&&(qa++,nd=od*(ld??1),pd(),qa<Ra.length?(od=ud(),pd(),ld=dd()):od=ld=0),ld===null||qa<Ra.length)throw new Error(`n-th rule couldn't be parsed ('${Ra}')`);return[nd,od*ld];function ud(){return Ra.charAt(qa)==="-"?(qa++,-1):(Ra.charAt(qa)==="+"&&qa++,1)}function dd(){const fd=qa;let md=0;for(;qa<Ra.length&&Ra.charCodeAt(qa)>=ZERO&&Ra.charCodeAt(qa)<=NINE;)md=md*10+(Ra.charCodeAt(qa)-ZERO),qa++;return qa===fd?null:md}function pd(){for(;qa<Ra.length&&whitespace$1.has(Ra.charCodeAt(qa));)qa++}}function compile$1(Ra){const qa=Ra[0],nd=Ra[1]-1;if(nd<0&&qa<=0)return boolbase$1.falseFunc;if(qa===-1)return ud=>ud<=nd;if(qa===0)return ud=>ud===nd;if(qa===1)return nd<0?boolbase$1.trueFunc:ud=>ud>=nd;const od=Math.abs(qa),ld=(nd%od+od)%od;return qa>1?ud=>ud>=nd&&ud%od===ld:ud=>ud<=nd&&ud%od===ld}function nthCheck(Ra){return compile$1(parse$6(Ra))}function getChildFunc(Ra,qa){return nd=>{const od=qa.getParent(nd);return od!=null&&qa.isTag(od)&&Ra(nd)}}const filters={contains(Ra,qa,{adapter:nd}){return function(ld){return Ra(ld)&&nd.getText(ld).includes(qa)}},icontains(Ra,qa,{adapter:nd}){const od=qa.toLowerCase();return function(ud){return Ra(ud)&&nd.getText(ud).toLowerCase().includes(od)}},"nth-child"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=0;md<pd.length&&!od(dd,pd[md]);md++)nd.isTag(pd[md])&&fd++;return ld(fd)&&Ra(dd)}},"nth-last-child"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=pd.length-1;md>=0&&!od(dd,pd[md]);md--)nd.isTag(pd[md])&&fd++;return ld(fd)&&Ra(dd)}},"nth-of-type"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=0;md<pd.length;md++){const vd=pd[md];if(od(dd,vd))break;nd.isTag(vd)&&nd.getName(vd)===nd.getName(dd)&&fd++}return ld(fd)&&Ra(dd)}},"nth-last-of-type"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(dd){const pd=nd.getSiblings(dd);let fd=0;for(let md=pd.length-1;md>=0;md--){const vd=pd[md];if(od(dd,vd))break;nd.isTag(vd)&&nd.getName(vd)===nd.getName(dd)&&fd++}return ld(fd)&&Ra(dd)}},root(Ra,qa,{adapter:nd}){return od=>{const ld=nd.getParent(od);return(ld==null||!nd.isTag(ld))&&Ra(od)}},scope(Ra,qa,nd,od){const{equals:ld}=nd;return!od||od.length===0?filters.root(Ra,qa,nd):od.length===1?ud=>ld(od[0],ud)&&Ra(ud):ud=>od.includes(ud)&&Ra(ud)},hover:dynamicStatePseudo("isHovered"),visited:dynamicStatePseudo("isVisited"),active:dynamicStatePseudo("isActive")};function dynamicStatePseudo(Ra){return function(nd,od,{adapter:ld}){const ud=ld[Ra];return typeof ud!="function"?boolbase$1.falseFunc:function(pd){return ud(pd)&&nd(pd)}}}const pseudos={empty(Ra,{adapter:qa}){return!qa.getChildren(Ra).some(nd=>qa.isTag(nd)||qa.getText(nd)!=="")},"first-child"(Ra,{adapter:qa,equals:nd}){if(qa.prevElementSibling)return qa.prevElementSibling(Ra)==null;const od=qa.getSiblings(Ra).find(ld=>qa.isTag(ld));return od!=null&&nd(Ra,od)},"last-child"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra);for(let ld=od.length-1;ld>=0;ld--){if(nd(Ra,od[ld]))return!0;if(qa.isTag(od[ld]))break}return!1},"first-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra),ld=qa.getName(Ra);for(let ud=0;ud<od.length;ud++){const dd=od[ud];if(nd(Ra,dd))return!0;if(qa.isTag(dd)&&qa.getName(dd)===ld)break}return!1},"last-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra),ld=qa.getName(Ra);for(let ud=od.length-1;ud>=0;ud--){const dd=od[ud];if(nd(Ra,dd))return!0;if(qa.isTag(dd)&&qa.getName(dd)===ld)break}return!1},"only-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getName(Ra);return qa.getSiblings(Ra).every(ld=>nd(Ra,ld)||!qa.isTag(ld)||qa.getName(ld)!==od)},"only-child"(Ra,{adapter:qa,equals:nd}){return qa.getSiblings(Ra).every(od=>nd(Ra,od)||!qa.isTag(od))}};function verifyPseudoArgs(Ra,qa,nd,od){if(nd===null){if(Ra.length>od)throw new Error(`Pseudo-class :${qa} requires an argument`)}else if(Ra.length===od)throw new Error(`Pseudo-class :${qa} doesn't have any arguments`)}const aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
|
||
:is(button, input, select, textarea, optgroup, option)[disabled],
|
||
optgroup[disabled] > option,
|
||
fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
|
||
)`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},PLACEHOLDER_ELEMENT={};function ensureIsTag(Ra,qa){return Ra===boolbase$1.falseFunc?boolbase$1.falseFunc:nd=>qa.isTag(nd)&&Ra(nd)}function getNextSiblings(Ra,qa){const nd=qa.getSiblings(Ra);if(nd.length<=1)return[];const od=nd.indexOf(Ra);return od<0||od===nd.length-1?[]:nd.slice(od+1).filter(qa.isTag)}function copyOptions(Ra){return{xmlMode:!!Ra.xmlMode,lowerCaseAttributeNames:!!Ra.lowerCaseAttributeNames,lowerCaseTags:!!Ra.lowerCaseTags,quirksMode:!!Ra.quirksMode,cacheResults:!!Ra.cacheResults,pseudos:Ra.pseudos,adapter:Ra.adapter,equals:Ra.equals}}const is$3=(Ra,qa,nd,od,ld)=>{const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.trueFunc?Ra:ud===boolbase$1.falseFunc?boolbase$1.falseFunc:dd=>ud(dd)&&Ra(dd)},subselects={is:is$3,matches:is$3,where:is$3,not(Ra,qa,nd,od,ld){const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.falseFunc?Ra:ud===boolbase$1.trueFunc?boolbase$1.falseFunc:dd=>!ud(dd)&&Ra(dd)},has(Ra,qa,nd,od,ld){const{adapter:ud}=nd,dd=copyOptions(nd);dd.relativeSelector=!0;const pd=qa.some(vd=>vd.some(isTraversal))?[PLACEHOLDER_ELEMENT]:void 0,fd=ld(qa,dd,pd);if(fd===boolbase$1.falseFunc)return boolbase$1.falseFunc;const md=ensureIsTag(fd,ud);if(pd&&fd!==boolbase$1.trueFunc){const{shouldTestNextSiblings:vd=!1}=fd;return Ad=>{if(!Ra(Ad))return!1;pd[0]=Ad;const Nd=ud.getChildren(Ad),Id=vd?[...Nd,...getNextSiblings(Ad,ud)]:Nd;return ud.existsOne(md,Id)}}return vd=>Ra(vd)&&ud.existsOne(md,ud.getChildren(vd))}};function compilePseudoSelector(Ra,qa,nd,od,ld){var ud;const{name:dd,data:pd}=qa;if(Array.isArray(pd)){if(!(dd in subselects))throw new Error(`Unknown pseudo-class :${dd}(${pd})`);return subselects[dd](Ra,pd,nd,od,ld)}const fd=(ud=nd.pseudos)===null||ud===void 0?void 0:ud[dd],md=typeof fd=="string"?fd:aliases[dd];if(typeof md=="string"){if(pd!=null)throw new Error(`Pseudo ${dd} doesn't have any arguments`);const vd=parse$7(md);return subselects.is(Ra,vd,nd,od,ld)}if(typeof fd=="function")return verifyPseudoArgs(fd,dd,pd,1),vd=>fd(vd,pd)&&Ra(vd);if(dd in filters)return filters[dd](Ra,pd,nd,od);if(dd in pseudos){const vd=pseudos[dd];return verifyPseudoArgs(vd,dd,pd,2),Ad=>vd(Ad,nd,pd)&&Ra(Ad)}throw new Error(`Unknown pseudo-class :${dd}`)}function getElementParent(Ra,qa){const nd=qa.getParent(Ra);return nd&&qa.isTag(nd)?nd:null}function compileGeneralSelector(Ra,qa,nd,od,ld){const{adapter:ud,equals:dd}=nd;switch(qa.type){case SelectorType$2.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case SelectorType$2.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case SelectorType$2.Attribute:{if(qa.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!nd.xmlMode||nd.lowerCaseAttributeNames)&&(qa.name=qa.name.toLowerCase()),attributeRules[qa.action](Ra,qa,nd)}case SelectorType$2.Pseudo:return compilePseudoSelector(Ra,qa,nd,od,ld);case SelectorType$2.Tag:{if(qa.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:pd}=qa;return(!nd.xmlMode||nd.lowerCaseTags)&&(pd=pd.toLowerCase()),function(md){return ud.getName(md)===pd&&Ra(md)}}case SelectorType$2.Descendant:{if(nd.cacheResults===!1||typeof WeakSet>"u")return function(md){let vd=md;for(;vd=getElementParent(vd,ud);)if(Ra(vd))return!0;return!1};const pd=new WeakSet;return function(md){let vd=md;for(;vd=getElementParent(vd,ud);)if(!pd.has(vd)){if(ud.isTag(vd)&&Ra(vd))return!0;pd.add(vd)}return!1}}case"_flexibleDescendant":return function(fd){let md=fd;do if(Ra(md))return!0;while(md=getElementParent(md,ud));return!1};case SelectorType$2.Parent:return function(fd){return ud.getChildren(fd).some(md=>ud.isTag(md)&&Ra(md))};case SelectorType$2.Child:return function(fd){const md=ud.getParent(fd);return md!=null&&ud.isTag(md)&&Ra(md)};case SelectorType$2.Sibling:return function(fd){const md=ud.getSiblings(fd);for(let vd=0;vd<md.length;vd++){const Ad=md[vd];if(dd(fd,Ad))break;if(ud.isTag(Ad)&&Ra(Ad))return!0}return!1};case SelectorType$2.Adjacent:return ud.prevElementSibling?function(fd){const md=ud.prevElementSibling(fd);return md!=null&&Ra(md)}:function(fd){const md=ud.getSiblings(fd);let vd;for(let Ad=0;Ad<md.length;Ad++){const Nd=md[Ad];if(dd(fd,Nd))break;ud.isTag(Nd)&&(vd=Nd)}return!!vd&&Ra(vd)};case SelectorType$2.Universal:{if(qa.namespace!=null&&qa.namespace!=="*")throw new Error("Namespaced universal selectors are not yet supported by css-select");return Ra}}}function includesScopePseudo(Ra){return Ra.type===SelectorType$2.Pseudo&&(Ra.name==="scope"||Array.isArray(Ra.data)&&Ra.data.some(qa=>qa.some(includesScopePseudo)))}const DESCENDANT_TOKEN={type:SelectorType$2.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType$2.Pseudo,name:"scope",data:null};function absolutize(Ra,{adapter:qa},nd){const od=!!(nd!=null&&nd.every(ld=>{const ud=qa.isTag(ld)&&qa.getParent(ld);return ld===PLACEHOLDER_ELEMENT||ud&&qa.isTag(ud)}));for(const ld of Ra){if(!(ld.length>0&&isTraversal(ld[0])&&ld[0].type!==SelectorType$2.Descendant))if(od&&!ld.some(includesScopePseudo))ld.unshift(DESCENDANT_TOKEN);else continue;ld.unshift(SCOPE_TOKEN)}}function compileToken(Ra,qa,nd){var od;Ra.forEach(sortByProcedure),nd=(od=qa.context)!==null&&od!==void 0?od:nd;const ld=Array.isArray(nd),ud=nd&&(Array.isArray(nd)?nd:[nd]);if(qa.relativeSelector!==!1)absolutize(Ra,qa,ud);else if(Ra.some(fd=>fd.length>0&&isTraversal(fd[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let dd=!1;const pd=Ra.map(fd=>{if(fd.length>=2){const[md,vd]=fd;md.type!==SelectorType$2.Pseudo||md.name!=="scope"||(ld&&vd.type===SelectorType$2.Descendant?fd[1]=FLEXIBLE_DESCENDANT_TOKEN:(vd.type===SelectorType$2.Adjacent||vd.type===SelectorType$2.Sibling)&&(dd=!0))}return compileRules(fd,qa,ud)}).reduce(reduceRules,boolbase$1.falseFunc);return pd.shouldTestNextSiblings=dd,pd}function compileRules(Ra,qa,nd){var od;return Ra.reduce((ld,ud)=>ld===boolbase$1.falseFunc?boolbase$1.falseFunc:compileGeneralSelector(ld,ud,qa,nd,compileToken),(od=qa.rootFunc)!==null&&od!==void 0?od:boolbase$1.trueFunc)}function reduceRules(Ra,qa){return qa===boolbase$1.falseFunc||Ra===boolbase$1.trueFunc?Ra:Ra===boolbase$1.falseFunc||qa===boolbase$1.trueFunc?qa:function(od){return Ra(od)||qa(od)}}const defaultEquals=(Ra,qa)=>Ra===qa,defaultOptions$6={adapter:DomUtils,equals:defaultEquals};function convertOptionFormats(Ra){var qa,nd,od,ld;const ud=Ra??defaultOptions$6;return(qa=ud.adapter)!==null&&qa!==void 0||(ud.adapter=DomUtils),(nd=ud.equals)!==null&&nd!==void 0||(ud.equals=(ld=(od=ud.adapter)===null||od===void 0?void 0:od.equals)!==null&&ld!==void 0?ld:defaultEquals),ud}function wrapCompile(Ra){return function(nd,od,ld){const ud=convertOptionFormats(od);return Ra(nd,ud,ld)}}const _compileToken=wrapCompile(compileToken);function prepareContext(Ra,qa,nd=!1){return nd&&(Ra=appendNextSiblings(Ra,qa)),Array.isArray(Ra)?qa.removeSubsets(Ra):qa.getChildren(Ra)}function appendNextSiblings(Ra,qa){const nd=Array.isArray(Ra)?Ra.slice(0):[Ra],od=nd.length;for(let ld=0;ld<od;ld++){const ud=getNextSiblings(nd[ld],qa);nd.push(...ud)}return nd}const filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function isFilter(Ra){return Ra.type!=="pseudo"?!1:filterNames.has(Ra.name)?!0:Ra.name==="not"&&Array.isArray(Ra.data)?Ra.data.some(qa=>qa.some(isFilter)):!1}function getLimit(Ra,qa,nd){const od=qa!=null?parseInt(qa,10):NaN;switch(Ra){case"first":return 1;case"nth":case"eq":return isFinite(od)?od>=0?od+1:1/0:0;case"lt":return isFinite(od)?od>=0?Math.min(od,nd):1/0:0;case"gt":return isFinite(od)?1/0:0;case"odd":return 2*nd;case"even":return 2*nd-1;case"last":case"not":return 1/0}}function getDocumentRoot(Ra){for(;Ra.parent;)Ra=Ra.parent;return Ra}function groupSelectors(Ra){const qa=[],nd=[];for(const od of Ra)od.some(isFilter)?qa.push(od):nd.push(od);return[nd,qa]}const UNIVERSAL_SELECTOR={type:SelectorType$2.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType$2.Pseudo,name:"scope",data:null};function is$2(Ra,qa,nd={}){return some$2([Ra],qa,nd)}function some$2(Ra,qa,nd={}){if(typeof qa=="function")return Ra.some(qa);const[od,ld]=groupSelectors(parse$7(qa));return od.length>0&&Ra.some(_compileToken(od,nd))||ld.some(ud=>filterBySelector(ud,Ra,nd).length>0)}function filterByPosition(Ra,qa,nd,od){const ld=typeof nd=="string"?parseInt(nd,10):NaN;switch(Ra){case"first":case"lt":return qa;case"last":return qa.length>0?[qa[qa.length-1]]:qa;case"nth":case"eq":return isFinite(ld)&&Math.abs(ld)<qa.length?[ld<0?qa[qa.length+ld]:qa[ld]]:[];case"gt":return isFinite(ld)?qa.slice(ld+1):[];case"even":return qa.filter((ud,dd)=>dd%2===0);case"odd":return qa.filter((ud,dd)=>dd%2===1);case"not":{const ud=new Set(filterParsed(nd,qa,od));return qa.filter(dd=>!ud.has(dd))}}}function filter$4(Ra,qa,nd={}){return filterParsed(parse$7(Ra),qa,nd)}function filterParsed(Ra,qa,nd){if(qa.length===0)return[];const[od,ld]=groupSelectors(Ra);let ud;if(od.length){const dd=filterElements(qa,od,nd);if(ld.length===0)return dd;dd.length&&(ud=new Set(dd))}for(let dd=0;dd<ld.length&&(ud==null?void 0:ud.size)!==qa.length;dd++){const pd=ld[dd];if((ud?qa.filter(vd=>isTag(vd)&&!ud.has(vd)):qa).length===0)break;const md=filterBySelector(pd,qa,nd);if(md.length)if(ud)md.forEach(vd=>ud.add(vd));else{if(dd===ld.length-1)return md;ud=new Set(md)}}return typeof ud<"u"?ud.size===qa.length?qa:qa.filter(dd=>ud.has(dd)):[]}function filterBySelector(Ra,qa,nd){var od;if(Ra.some(isTraversal$1)){const ld=(od=nd.root)!==null&&od!==void 0?od:getDocumentRoot(qa[0]),ud={...nd,context:qa,relativeSelector:!1};return Ra.push(SCOPE_PSEUDO),findFilterElements(ld,Ra,ud,!0,qa.length)}return findFilterElements(qa,Ra,nd,!1,qa.length)}function select$1(Ra,qa,nd={},od=1/0){if(typeof Ra=="function")return find$2(qa,Ra);const[ld,ud]=groupSelectors(parse$7(Ra)),dd=ud.map(pd=>findFilterElements(qa,pd,nd,!0,od));return ld.length&&dd.push(findElements(qa,ld,nd,od)),dd.length===0?[]:dd.length===1?dd[0]:uniqueSort(dd.reduce((pd,fd)=>[...pd,...fd]))}function findFilterElements(Ra,qa,nd,od,ld){const ud=qa.findIndex(isFilter),dd=qa.slice(0,ud),pd=qa[ud],fd=qa.length-1===ud?ld:1/0,md=getLimit(pd.name,pd.data,fd);if(md===0)return[];const Ad=(dd.length===0&&!Array.isArray(Ra)?getChildren(Ra).filter(isTag):dd.length===0?(Array.isArray(Ra)?Ra:[Ra]).filter(isTag):od||dd.some(isTraversal$1)?findElements(Ra,[dd],nd,md):filterElements(Ra,[dd],nd)).slice(0,md);let Nd=filterByPosition(pd.name,Ad,pd.data,nd);if(Nd.length===0||qa.length===ud+1)return Nd;const Id=qa.slice(ud+1),Od=Id.some(isTraversal$1);if(Od){if(isTraversal$1(Id[0])){const{type:Md}=Id[0];(Md===SelectorType$2.Sibling||Md===SelectorType$2.Adjacent)&&(Nd=prepareContext(Nd,DomUtils,!0)),Id.unshift(UNIVERSAL_SELECTOR)}nd={...nd,relativeSelector:!1,rootFunc:Md=>Nd.includes(Md)}}else nd.rootFunc&&nd.rootFunc!==boolbase.trueFunc&&(nd={...nd,rootFunc:boolbase.trueFunc});return Id.some(isFilter)?findFilterElements(Nd,Id,nd,!1,ld):Od?findElements(Nd,[Id],nd,ld):filterElements(Nd,[Id],nd)}function findElements(Ra,qa,nd,od){const ld=_compileToken(qa,nd,Ra);return find$2(Ra,ld,od)}function find$2(Ra,qa,nd=1/0){const od=prepareContext(Ra,DomUtils,qa.shouldTestNextSiblings);return find$3(ld=>isTag(ld)&&qa(ld),od,!0,nd)}function filterElements(Ra,qa,nd){const od=(Array.isArray(Ra)?Ra:[Ra]).filter(isTag);if(od.length===0)return od;const ld=_compileToken(qa,nd);return ld===boolbase.trueFunc?od:od.filter(ld)}const reSiblingSelector=/^\s*[+~]/;function find$1(Ra){if(!Ra)return this._make([]);if(typeof Ra!="string"){const qa=isCheerio(Ra)?Ra.toArray():[Ra],nd=this.toArray();return this._make(qa.filter(od=>nd.some(ld=>contains(ld,od))))}return this._findBySelector(Ra,Number.POSITIVE_INFINITY)}function _findBySelector(Ra,qa){var nd;const od=this.toArray(),ld=reSiblingSelector.test(Ra)?od:this.children().toArray(),ud={context:od,root:(nd=this._root)===null||nd===void 0?void 0:nd[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(select$1(Ra,ld,ud,qa))}function _getMatcher(Ra){return function(qa,...nd){return function(od){var ld;let ud=Ra(qa,this);return od&&(ud=filterArray$1(ud,od,this.options.xmlMode,(ld=this._root)===null||ld===void 0?void 0:ld[0])),this._make(this.length>1&&ud.length>1?nd.reduce((dd,pd)=>pd(dd),ud):ud)}}}const _matcher=_getMatcher((Ra,qa)=>{let nd=[];for(let od=0;od<qa.length;od++){const ld=Ra(qa[od]);ld.length>0&&(nd=nd.concat(ld))}return nd}),_singleMatcher=_getMatcher((Ra,qa)=>{const nd=[];for(let od=0;od<qa.length;od++){const ld=Ra(qa[od]);ld!==null&&nd.push(ld)}return nd});function _matchUntil(Ra,...qa){let nd=null;const od=_getMatcher((ld,ud)=>{const dd=[];return domEach(ud,pd=>{for(let fd;(fd=ld(pd))&&!(nd!=null&&nd(fd,dd.length));pd=fd)dd.push(fd)}),dd})(Ra,...qa);return function(ld,ud){nd=typeof ld=="string"?pd=>is$2(pd,ld,this.options):ld?getFilterFn(ld):null;const dd=od.call(this,ud);return nd=null,dd}}function _removeDuplicates(Ra){return Ra.length>1?Array.from(new Set(Ra)):Ra}const parent$1=_singleMatcher(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,_removeDuplicates),parents=_matcher(Ra=>{const qa=[];for(;Ra.parent&&!isDocument(Ra.parent);)qa.push(Ra.parent),Ra=Ra.parent;return qa},uniqueSort,Ra=>Ra.reverse()),parentsUntil=_matchUntil(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,uniqueSort,Ra=>Ra.reverse());function closest(Ra){var qa;const nd=[];if(!Ra)return this._make(nd);const od={xmlMode:this.options.xmlMode,root:(qa=this._root)===null||qa===void 0?void 0:qa[0]},ld=typeof Ra=="string"?ud=>is$2(ud,Ra,od):getFilterFn(Ra);return domEach(this,ud=>{for(ud&&!isDocument(ud)&&!isTag(ud)&&(ud=ud.parent);ud&&isTag(ud);){if(ld(ud,0)){nd.includes(ud)||nd.push(ud);break}ud=ud.parent}}),this._make(nd)}const next$1=_singleMatcher(Ra=>nextElementSibling(Ra)),nextAll=_matcher(Ra=>{const qa=[];for(;Ra.next;)Ra=Ra.next,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),nextUntil=_matchUntil(Ra=>nextElementSibling(Ra),_removeDuplicates),prev$1=_singleMatcher(Ra=>prevElementSibling(Ra)),prevAll=_matcher(Ra=>{const qa=[];for(;Ra.prev;)Ra=Ra.prev,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),prevUntil=_matchUntil(Ra=>prevElementSibling(Ra),_removeDuplicates),siblings=_matcher(Ra=>getSiblings(Ra).filter(qa=>isTag(qa)&&qa!==Ra),uniqueSort),children$2=_matcher(Ra=>getChildren(Ra).filter(isTag),_removeDuplicates);function contents(){const Ra=this.toArray().reduce((qa,nd)=>hasChildren(nd)?qa.concat(nd.children):qa,[]);return this._make(Ra)}function each$1(Ra){let qa=0;const nd=this.length;for(;qa<nd&&Ra.call(this[qa],qa,this[qa])!==!1;)++qa;return this}function map$4(Ra){let qa=[];for(let nd=0;nd<this.length;nd++){const od=this[nd],ld=Ra.call(od,nd,od);ld!=null&&(qa=qa.concat(ld))}return this._make(qa)}function getFilterFn(Ra){return typeof Ra=="function"?(qa,nd)=>Ra.call(qa,nd,qa):isCheerio(Ra)?qa=>Array.prototype.includes.call(Ra,qa):function(qa){return Ra===qa}}function filter$3(Ra){var qa;return this._make(filterArray$1(this.toArray(),Ra,this.options.xmlMode,(qa=this._root)===null||qa===void 0?void 0:qa[0]))}function filterArray$1(Ra,qa,nd,od){return typeof qa=="string"?filter$4(qa,Ra,{xmlMode:nd,root:od}):Ra.filter(getFilterFn(qa))}function is$1(Ra){const qa=this.toArray();return typeof Ra=="string"?some$2(qa.filter(isTag),Ra,this.options):Ra?qa.some(getFilterFn(Ra)):!1}function not$1(Ra){let qa=this.toArray();if(typeof Ra=="string"){const nd=new Set(filter$4(Ra,qa,this.options));qa=qa.filter(od=>!nd.has(od))}else{const nd=getFilterFn(Ra);qa=qa.filter((od,ld)=>!nd(od,ld))}return this._make(qa)}function has(Ra){return this.filter(typeof Ra=="string"?`:has(${Ra})`:(qa,nd)=>this._make(nd).find(Ra).length>0)}function first(){return this.length>1?this._make(this[0]):this}function last(){return this.length>0?this._make(this[this.length-1]):this}function eq$1(Ra){var qa;return Ra=+Ra,Ra===0&&this.length<=1?this:(Ra<0&&(Ra=this.length+Ra),this._make((qa=this[Ra])!==null&&qa!==void 0?qa:[]))}function get$2(Ra){return Ra==null?this.toArray():this[Ra<0?this.length+Ra:Ra]}function toArray$3(){return Array.prototype.slice.call(this)}function index$1(Ra){let qa,nd;return Ra==null?(qa=this.parent().children(),nd=this[0]):typeof Ra=="string"?(qa=this._make(Ra),nd=this[0]):(qa=this,nd=isCheerio(Ra)?Ra[0]:Ra),Array.prototype.indexOf.call(qa,nd)}function slice$1(Ra,qa){return this._make(Array.prototype.slice.call(this,Ra,qa))}function end(){var Ra;return(Ra=this.prevObject)!==null&&Ra!==void 0?Ra:this._make([])}function add(Ra,qa){const nd=this._make(Ra,qa),od=uniqueSort([...this.get(),...nd.get()]);return this._make(od)}function addBack(Ra){return this.prevObject?this.add(Ra?this.prevObject.filter(Ra):this.prevObject):this}const Traversing=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector,add,addBack,children:children$2,closest,contents,each:each$1,end,eq:eq$1,filter:filter$3,filterArray:filterArray$1,find:find$1,first,get:get$2,has,index:index$1,is:is$1,last,map:map$4,next:next$1,nextAll,nextUntil,not:not$1,parent:parent$1,parents,parentsUntil,prev:prev$1,prevAll,prevUntil,siblings,slice:slice$1,toArray:toArray$3},Symbol.toStringTag,{value:"Module"}));function getParse(Ra){return function(nd,od,ld,ud){if(typeof Buffer$4<"u"&&Buffer$4.isBuffer(nd)&&(nd=nd.toString()),typeof nd=="string")return Ra(nd,od,ld,ud);const dd=nd;if(!Array.isArray(dd)&&isDocument(dd))return dd;const pd=new Document([]);return update(dd,pd),pd}}function update(Ra,qa){const nd=Array.isArray(Ra)?Ra:[Ra];qa?qa.children=nd:qa=null;for(let od=0;od<nd.length;od++){const ld=nd[od];ld.parent&&ld.parent.children!==nd&&removeElement(ld),qa?(ld.prev=nd[od-1]||null,ld.next=nd[od+1]||null):ld.prev=ld.next=null,ld.parent=qa}return qa}function _makeDomArray(Ra,qa){if(Ra==null)return[];if(typeof Ra=="string")return this._parse(Ra,this.options,!1,null).children.slice(0);if("length"in Ra){if(Ra.length===1)return this._makeDomArray(Ra[0],qa);const nd=[];for(let od=0;od<Ra.length;od++){const ld=Ra[od];if(typeof ld=="object"){if(ld==null)continue;if(!("length"in ld)){nd.push(qa?cloneNode(ld,!0):ld);continue}}nd.push(...this._makeDomArray(ld,qa))}return nd}return[qa?cloneNode(Ra,!0):Ra]}function _insert(Ra){return function(...qa){const nd=this.length-1;return domEach(this,(od,ld)=>{if(!hasChildren(od))return;const ud=typeof qa[0]=="function"?qa[0].call(od,ld,this._render(od.children)):qa,dd=this._makeDomArray(ud,ld<nd);Ra(dd,od.children,od)})}}function uniqueSplice(Ra,qa,nd,od,ld){var ud,dd;const pd=[qa,nd,...od],fd=qa===0?null:Ra[qa-1],md=qa+nd>=Ra.length?null:Ra[qa+nd];for(let vd=0;vd<od.length;++vd){const Ad=od[vd],Nd=Ad.parent;if(Nd){const Od=Nd.children.indexOf(Ad);Od>-1&&(Nd.children.splice(Od,1),ld===Nd&&qa>Od&&pd[0]--)}Ad.parent=ld,Ad.prev&&(Ad.prev.next=(ud=Ad.next)!==null&&ud!==void 0?ud:null),Ad.next&&(Ad.next.prev=(dd=Ad.prev)!==null&&dd!==void 0?dd:null),Ad.prev=vd===0?fd:od[vd-1],Ad.next=vd===od.length-1?md:od[vd+1]}return fd&&(fd.next=od[0]),md&&(md.prev=od[od.length-1]),Ra.splice(...pd)}function appendTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).append(this),this}function prependTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).prepend(this),this}const append$2=_insert((Ra,qa,nd)=>{uniqueSplice(qa,qa.length,0,Ra,nd)}),prepend=_insert((Ra,qa,nd)=>{uniqueSplice(qa,0,0,Ra,nd)});function _wrap(Ra){return function(qa){const nd=this.length-1,od=this.parents().last();for(let ld=0;ld<this.length;ld++){const ud=this[ld],dd=typeof qa=="function"?qa.call(ud,ld,ud):typeof qa=="string"&&!isHtml(qa)?od.find(qa).clone():qa,[pd]=this._makeDomArray(dd,ld<nd);if(!pd||!hasChildren(pd))continue;let fd=pd,md=0;for(;md<fd.children.length;){const vd=fd.children[md];isTag(vd)?(fd=vd,md=0):md++}Ra(ud,fd,[pd])}return this}}const wrap$1=_wrap((Ra,qa,nd)=>{const{parent:od}=Ra;if(!od)return;const ld=od.children,ud=ld.indexOf(Ra);update([Ra],qa),uniqueSplice(ld,ud,0,nd,od)}),wrapInner=_wrap((Ra,qa,nd)=>{hasChildren(Ra)&&(update(Ra.children,qa),update(nd,Ra))});function unwrap(Ra){return this.parent(Ra).not("body").each((qa,nd)=>{this._make(nd).replaceWith(nd.children)}),this}function wrapAll(Ra){const qa=this[0];if(qa){const nd=this._make(typeof Ra=="function"?Ra.call(qa,0,qa):Ra).insertBefore(qa);let od;for(let ud=0;ud<nd.length;ud++)nd[ud].type==="tag"&&(od=nd[ud]);let ld=0;for(;od&&ld<od.children.length;){const ud=od.children[ld];ud.type==="tag"?(od=ud,ld=0):ld++}od&&this._make(od).append(this)}return this}function after(...Ra){const qa=this.length-1;return domEach(this,(nd,od)=>{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const dd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,pd=this._makeDomArray(dd,od<qa);uniqueSplice(ld,ud+1,0,pd,nd.parent)})}function insertAfter(Ra){typeof Ra=="string"&&(Ra=this._make(Ra)),this.remove();const qa=[];for(const nd of this._makeDomArray(Ra)){const od=this.clone().toArray(),{parent:ld}=nd;if(!ld)continue;const ud=ld.children,dd=ud.indexOf(nd);dd<0||(uniqueSplice(ud,dd+1,0,od,ld),qa.push(...od))}return this._make(qa)}function before(...Ra){const qa=this.length-1;return domEach(this,(nd,od)=>{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const dd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,pd=this._makeDomArray(dd,od<qa);uniqueSplice(ld,ud,0,pd,nd.parent)})}function insertBefore(Ra){const qa=this._make(Ra);this.remove();const nd=[];return domEach(qa,od=>{const ld=this.clone().toArray(),{parent:ud}=od;if(!ud)return;const dd=ud.children,pd=dd.indexOf(od);pd<0||(uniqueSplice(dd,pd,0,ld,ud),nd.push(...ld))}),this._make(nd)}function remove$1(Ra){const qa=Ra?this.filter(Ra):this;return domEach(qa,nd=>{removeElement(nd),nd.prev=nd.next=nd.parent=null}),this}function replaceWith(Ra){return domEach(this,(qa,nd)=>{const{parent:od}=qa;if(!od)return;const ld=od.children,ud=typeof Ra=="function"?Ra.call(qa,nd,qa):Ra,dd=this._makeDomArray(ud);update(dd,null);const pd=ld.indexOf(qa);uniqueSplice(ld,pd,1,dd,od),dd.includes(qa)||(qa.parent=qa.prev=qa.next=null)})}function empty$1(){return domEach(this,Ra=>{if(hasChildren(Ra)){for(const qa of Ra.children)qa.next=qa.prev=qa.parent=null;Ra.children.length=0}})}function html$4(Ra){if(Ra===void 0){const qa=this[0];return!qa||!hasChildren(qa)?null:this._render(qa.children)}return domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=isCheerio(Ra)?Ra.toArray():this._parse(`${Ra}`,this.options,!1,qa).children;update(nd,qa)})}function toString$2(){return this._render(this)}function text$2(Ra){return Ra===void 0?text$3(this):typeof Ra=="function"?domEach(this,(qa,nd)=>this._make(qa).text(Ra.call(qa,nd,text$3([qa])))):domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=new Text(`${Ra}`);update(nd,qa)})}function clone$1(){const Ra=Array.prototype.map.call(this.get(),nd=>cloneNode(nd,!0)),qa=new Document(Ra);for(const nd of Ra)nd.parent=qa;return this._make(Ra)}const Manipulation=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray,after,append:append$2,appendTo,before,clone:clone$1,empty:empty$1,html:html$4,insertAfter,insertBefore,prepend,prependTo,remove:remove$1,replaceWith,text:text$2,toString:toString$2,unwrap,wrap:wrap$1,wrapAll,wrapInner},Symbol.toStringTag,{value:"Module"}));function css$1(Ra,qa){if(Ra!=null&&qa!=null||typeof Ra=="object"&&!Array.isArray(Ra))return domEach(this,(nd,od)=>{isTag(nd)&&setCss(nd,Ra,qa,od)});if(this.length!==0)return getCss(this[0],Ra)}function setCss(Ra,qa,nd,od){if(typeof qa=="string"){const ld=getCss(Ra),ud=typeof nd=="function"?nd.call(Ra,od,ld[qa]):nd;ud===""?delete ld[qa]:ud!=null&&(ld[qa]=ud),Ra.attribs.style=stringify$3(ld)}else if(typeof qa=="object"){const ld=Object.keys(qa);for(let ud=0;ud<ld.length;ud++){const dd=ld[ud];setCss(Ra,dd,qa[dd],ud)}}}function getCss(Ra,qa){if(!Ra||!isTag(Ra))return;const nd=parse$5(Ra.attribs.style);if(typeof qa=="string")return nd[qa];if(Array.isArray(qa)){const od={};for(const ld of qa)nd[ld]!=null&&(od[ld]=nd[ld]);return od}return nd}function stringify$3(Ra){return Object.keys(Ra).reduce((qa,nd)=>`${qa}${qa?" ":""}${nd}: ${Ra[nd]};`,"")}function parse$5(Ra){if(Ra=(Ra||"").trim(),!Ra)return{};const qa={};let nd;for(const od of Ra.split(";")){const ld=od.indexOf(":");if(ld<1||ld===od.length-1){const ud=od.trimEnd();ud.length>0&&nd!==void 0&&(qa[nd]+=`;${ud}`)}else nd=od.slice(0,ld).trim(),qa[nd]=od.slice(ld+1).trim()}return qa}const Css=Object.freeze(Object.defineProperty({__proto__:null,css:css$1},Symbol.toStringTag,{value:"Module"})),submittableSelector="input,select,textarea,keygen",r20=/%20/g,rCRLF=/\r?\n/g;function serialize$1(){return this.serializeArray().map(nd=>`${encodeURIComponent(nd.name)}=${encodeURIComponent(nd.value)}`).join("&").replace(r20,"+")}function serializeArray(){return this.map((Ra,qa)=>{const nd=this._make(qa);return isTag(qa)&&qa.name==="form"?nd.find(submittableSelector).toArray():nd.filter(submittableSelector).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((Ra,qa)=>{var nd;const od=this._make(qa),ld=od.attr("name"),ud=(nd=od.val())!==null&&nd!==void 0?nd:"";return Array.isArray(ud)?ud.map(dd=>({name:ld,value:dd.replace(rCRLF,`\r
|
||
`)})):{name:ld,value:ud.replace(rCRLF,`\r
|
||
`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const nd in Ra){const od=Ra[nd],ld=Array.isArray(od),{selector:ud,value:dd}=getExtractDescr(ld?od[0]:od),pd=typeof dd=="function"?dd:typeof dd=="string"?fd=>this._make(fd).prop(dd):fd=>this._make(fd).extract(dd);if(ld)qa[nd]=this._findBySelector(ud,Number.POSITIVE_INFINITY).map((fd,md)=>pd(md,nd,qa)).get();else{const fd=this._findBySelector(ud,1);qa[nd]=fd.length>0?pd(fd[0],nd,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,nd,od){if(this.length=0,this.options=od,this._root=nd,qa){for(let ld=0;ld<qa.length;ld++)this[ld]=qa[ld];this.length=qa.length}}}Cheerio.prototype.cheerio="[cheerio object]";Cheerio.prototype.splice=Array.prototype.splice;Cheerio.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator];Object.assign(Cheerio.prototype,Attributes,Traversing,Manipulation,Css,Forms,Extract);function getLoad(Ra,qa){return function nd(od,ld,ud=!0){if(od==null)throw new Error("cheerio.load() expects a string");const dd=flattenOptions(ld),pd=Ra(od,dd,ud,null);class fd extends Cheerio{_make(Ad,Nd){const Id=md(Ad,Nd);return Id.prevObject=this,Id}_parse(Ad,Nd,Id,Od){return Ra(Ad,Nd,Id,Od)}_render(Ad){return qa(Ad,this.options)}}function md(vd,Ad,Nd=pd,Id){if(vd&&isCheerio(vd))return vd;const Od=flattenOptions(Id,dd),Md=typeof Nd=="string"?[Ra(Nd,Od,!1,null)]:"length"in Nd?Nd:[Nd],Ud=isCheerio(Md)?Md:new fd(Md,null,Od);if(Ud._root=Ud,!vd)return new fd(void 0,Ud,Od);const jd=typeof vd=="string"&&isHtml(vd)?Ra(vd,Od,!1,null).children:isNode$1(vd)?[vd]:Array.isArray(vd)?vd:void 0,Ld=new fd(jd,Ud,Od);if(jd)return Ld;if(typeof vd!="string")throw new TypeError("Unexpected type of selector");let Bd=vd;const Gd=Ad?typeof Ad=="string"?isHtml(Ad)?new fd([Ra(Ad,Od,!1,null)],Ud,Od):(Bd=`${Ad} ${Bd}`,Ud):isCheerio(Ad)?Ad:new fd(Array.isArray(Ad)?Ad:[Ad],Ud,Od):Ud;return Gd?Gd.find(Bd):Ld}return Object.assign(md,staticMethods,{load:nd,_root:pd,_options:dd,fn:fd.prototype,prototype:fd.prototype}),md}}function isNode$1(Ra){return!!Ra.name||Ra.type==="root"||Ra.type==="text"||Ra.type==="comment"}const UNDEFINED_CODE_POINTS=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),REPLACEMENT_CHARACTER="<22>";var CODE_POINTS;(function(Ra){Ra[Ra.EOF=-1]="EOF",Ra[Ra.NULL=0]="NULL",Ra[Ra.TABULATION=9]="TABULATION",Ra[Ra.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",Ra[Ra.LINE_FEED=10]="LINE_FEED",Ra[Ra.FORM_FEED=12]="FORM_FEED",Ra[Ra.SPACE=32]="SPACE",Ra[Ra.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",Ra[Ra.QUOTATION_MARK=34]="QUOTATION_MARK",Ra[Ra.AMPERSAND=38]="AMPERSAND",Ra[Ra.APOSTROPHE=39]="APOSTROPHE",Ra[Ra.HYPHEN_MINUS=45]="HYPHEN_MINUS",Ra[Ra.SOLIDUS=47]="SOLIDUS",Ra[Ra.DIGIT_0=48]="DIGIT_0",Ra[Ra.DIGIT_9=57]="DIGIT_9",Ra[Ra.SEMICOLON=59]="SEMICOLON",Ra[Ra.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",Ra[Ra.EQUALS_SIGN=61]="EQUALS_SIGN",Ra[Ra.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",Ra[Ra.QUESTION_MARK=63]="QUESTION_MARK",Ra[Ra.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",Ra[Ra.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",Ra[Ra.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",Ra[Ra.GRAVE_ACCENT=96]="GRAVE_ACCENT",Ra[Ra.LATIN_SMALL_A=97]="LATIN_SMALL_A",Ra[Ra.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(CODE_POINTS||(CODE_POINTS={}));const SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function isSurrogate(Ra){return Ra>=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa,nd){const{line:od,col:ld,offset:ud}=this,dd=ld+nd,pd=ud+nd;return{code:qa,startLine:od,endLine:od,startCol:dd,endCol:dd,startOffset:pd,endOffset:pd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const nd=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nd))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,nd)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,nd){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=nd}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,nd){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(nd)return this.html.startsWith(qa,this.pos);for(let od=0;od<qa.length;od++)if((this.html.charCodeAt(this.pos+od)|32)!==qa.charCodeAt(od))return!1;return!0}peek(qa){const nd=this.pos+qa;if(nd>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const od=this.html.charCodeAt(nd);return od===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:od}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var TokenType;(function(Ra){Ra[Ra.CHARACTER=0]="CHARACTER",Ra[Ra.NULL_CHARACTER=1]="NULL_CHARACTER",Ra[Ra.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",Ra[Ra.START_TAG=3]="START_TAG",Ra[Ra.END_TAG=4]="END_TAG",Ra[Ra.COMMENT=5]="COMMENT",Ra[Ra.DOCTYPE=6]="DOCTYPE",Ra[Ra.EOF=7]="EOF",Ra[Ra.HIBERNATION=8]="HIBERNATION"})(TokenType||(TokenType={}));function getTokenAttr(Ra,qa){for(let nd=Ra.attrs.length-1;nd>=0;nd--)if(Ra.attrs[nd].name===qa)return Ra.attrs[nd].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SEARCH="search",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SEARCH=94]="SEARCH",Ra[Ra.SECTION=95]="SECTION",Ra[Ra.SELECT=96]="SELECT",Ra[Ra.SOURCE=97]="SOURCE",Ra[Ra.SMALL=98]="SMALL",Ra[Ra.SPAN=99]="SPAN",Ra[Ra.STRIKE=100]="STRIKE",Ra[Ra.STRONG=101]="STRONG",Ra[Ra.STYLE=102]="STYLE",Ra[Ra.SUB=103]="SUB",Ra[Ra.SUMMARY=104]="SUMMARY",Ra[Ra.SUP=105]="SUP",Ra[Ra.TABLE=106]="TABLE",Ra[Ra.TBODY=107]="TBODY",Ra[Ra.TEMPLATE=108]="TEMPLATE",Ra[Ra.TEXTAREA=109]="TEXTAREA",Ra[Ra.TFOOT=110]="TFOOT",Ra[Ra.TD=111]="TD",Ra[Ra.TH=112]="TH",Ra[Ra.THEAD=113]="THEAD",Ra[Ra.TITLE=114]="TITLE",Ra[Ra.TR=115]="TR",Ra[Ra.TRACK=116]="TRACK",Ra[Ra.TT=117]="TT",Ra[Ra.U=118]="U",Ra[Ra.UL=119]="UL",Ra[Ra.SVG=120]="SVG",Ra[Ra.VAR=121]="VAR",Ra[Ra.WBR=122]="WBR",Ra[Ra.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$4=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$4.ADDRESS,$$4.APPLET,$$4.AREA,$$4.ARTICLE,$$4.ASIDE,$$4.BASE,$$4.BASEFONT,$$4.BGSOUND,$$4.BLOCKQUOTE,$$4.BODY,$$4.BR,$$4.BUTTON,$$4.CAPTION,$$4.CENTER,$$4.COL,$$4.COLGROUP,$$4.DD,$$4.DETAILS,$$4.DIR,$$4.DIV,$$4.DL,$$4.DT,$$4.EMBED,$$4.FIELDSET,$$4.FIGCAPTION,$$4.FIGURE,$$4.FOOTER,$$4.FORM,$$4.FRAME,$$4.FRAMESET,$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6,$$4.HEAD,$$4.HEADER,$$4.HGROUP,$$4.HR,$$4.HTML,$$4.IFRAME,$$4.IMG,$$4.INPUT,$$4.LI,$$4.LINK,$$4.LISTING,$$4.MAIN,$$4.MARQUEE,$$4.MENU,$$4.META,$$4.NAV,$$4.NOEMBED,$$4.NOFRAMES,$$4.NOSCRIPT,$$4.OBJECT,$$4.OL,$$4.P,$$4.PARAM,$$4.PLAINTEXT,$$4.PRE,$$4.SCRIPT,$$4.SECTION,$$4.SELECT,$$4.SOURCE,$$4.STYLE,$$4.SUMMARY,$$4.TABLE,$$4.TBODY,$$4.TD,$$4.TEMPLATE,$$4.TEXTAREA,$$4.TFOOT,$$4.TH,$$4.THEAD,$$4.TITLE,$$4.TR,$$4.TRACK,$$4.UL,$$4.WBR,$$4.XMP]),[NS.MATHML]:new Set([$$4.MI,$$4.MO,$$4.MN,$$4.MS,$$4.MTEXT,$$4.ANNOTATION_XML]),[NS.SVG]:new Set([$$4.TITLE,$$4.FOREIGN_OBJECT,$$4.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6]),UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}var State$3;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State$3||(State$3={}));const TokenizerMode={DATA:State$3.DATA,RCDATA:State$3.RCDATA,RAWTEXT:State$3.RAWTEXT,SCRIPT_DATA:State$3.SCRIPT_DATA,PLAINTEXT:State$3.PLAINTEXT,CDATA_SECTION:State$3.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$2(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$2(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}function getErrorForNumericCharacterReference(Ra){return Ra===CODE_POINTS.NULL?ERR.nullCharacterReference:Ra>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(Ra)?ERR.surrogateCharacterReference:isUndefinedCodePoint(Ra)?ERR.noncharacterCharacterReference:isControlCodePoint(Ra)||Ra===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}let Tokenizer$1=class{constructor(qa,nd){this.options=qa,this.handler=nd,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$3.DATA,this.returnState=State$3.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(nd),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(od,ld)=>{this.preprocessor.pos=this.entityStartPos+ld-1,this._flushCodePointConsumedAsCharacterReference(od)},nd.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:od=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+od)},validateNumericCharacterReference:od=>{const ld=getErrorForNumericCharacterReference(od);ld&&this._err(ld,1)}}:void 0)}_err(qa,nd=0){var od,ld;(ld=(od=this.handler).onParseError)===null||ld===void 0||ld.call(od,this.preprocessor.getError(qa,nd))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,nd,od){this.active=!0,this.preprocessor.write(qa,nd),this._runParsingLoop(),this.paused||od==null||od()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let nd=0;nd<qa;nd++)this.preprocessor.advance()}_consumeSequenceIfMatch(qa,nd){return this.preprocessor.startsWith(qa,nd)?(this._advanceBy(qa.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:TokenType.START_TAG,tagName:"",tagID:TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:TokenType.END_TAG,tagName:"",tagID:TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(qa){this.currentToken={type:TokenType.COMMENT,data:"",location:this.getCurrentLocation(qa)}}_createDoctypeToken(qa){this.currentToken={type:TokenType.DOCTYPE,name:qa,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(qa,nd){this.currentCharacterToken={type:qa,chars:nd,location:this.currentLocation}}_createAttr(qa){this.currentAttr={name:qa,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var qa,nd;const od=this.currentToken;if(getTokenAttr(od,this.currentAttr.name)===null){if(od.attrs.push(this.currentAttr),od.location&&this.currentLocation){const ld=(qa=(nd=od.location).attrs)!==null&&qa!==void 0?qa:nd.attrs=Object.create(null);ld[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ERR.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(qa){this._emitCurrentCharacterToken(qa.location),this.currentToken=null,qa.location&&(qa.location.endLine=this.preprocessor.line,qa.location.endCol=this.preprocessor.col+1,qa.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const qa=this.currentToken;this.prepareToken(qa),qa.tagID=getTagID(qa.tagName),qa.type===TokenType.START_TAG?(this.lastStartTagName=qa.tagName,this.handler.onStartTag(qa)):(qa.attrs.length>0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,nd){if(this.currentCharacterToken)if(this.currentCharacterToken.type===qa){this.currentCharacterToken.chars+=nd;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(qa,nd)}_emitCodePoint(qa){const nd=isWhitespace$2(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(nd,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_startCharacterReference(){this.returnState=this.state,this.state=State$3.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$3.DATA:{this._stateData(qa);break}case State$3.RCDATA:{this._stateRcdata(qa);break}case State$3.RAWTEXT:{this._stateRawtext(qa);break}case State$3.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$3.PLAINTEXT:{this._statePlaintext(qa);break}case State$3.TAG_OPEN:{this._stateTagOpen(qa);break}case State$3.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$3.TAG_NAME:{this._stateTagName(qa);break}case State$3.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$3.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$3.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$3.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$3.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$3.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$3.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$3.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$3.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$3.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$3.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$3.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$3.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$3.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$3.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$3.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$3.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$3.COMMENT_START:{this._stateCommentStart(qa);break}case State$3.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$3.COMMENT:{this._stateComment(qa);break}case State$3.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$3.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$3.COMMENT_END:{this._stateCommentEnd(qa);break}case State$3.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$3.DOCTYPE:{this._stateDoctype(qa);break}case State$3.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$3.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$3.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$3.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$3.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$3.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$3.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$3.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$3.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$3.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State$3.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$3.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$3.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$3.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$3.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=State$3.BOGUS_COMMENT,this._stateBogusComment(qa)}}_stateTagName(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$3.BEFORE_ATTRIBUTE_NAME;break}case CODE_POINTS.SOLIDUS:{this.state=State$3.SELF_CLOSING_START_TAG;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.tagName+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:nd.tagName+=String.fromCodePoint(isAsciiUpper(qa)?toAsciiLower(qa):qa)}}_stateRcdataLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$3.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=State$3.RCDATA,this._stateRcdata(qa))}_stateRcdataEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(qa)):(this._emitChars("</"),this.state=State$3.RCDATA,this._stateRcdata(qa))}handleSpecialEndTag(qa){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const nd=this.currentToken;switch(nd.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=State$3.BEFORE_ATTRIBUTE_NAME,!1;case CODE_POINTS.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=State$3.SELF_CLOSING_START_TAG,!1;case CODE_POINTS.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=State$3.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$3.RCDATA,this._stateRcdata(qa))}_stateRawtextLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$3.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=State$3.RAWTEXT,this._stateRawtext(qa))}_stateRawtextEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(qa)):(this._emitChars("</"),this.state=State$3.RAWTEXT,this._stateRawtext(qa))}_stateRawtextEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$3.RAWTEXT,this._stateRawtext(qa))}_stateScriptDataLessThanSign(qa){switch(qa){case CODE_POINTS.SOLIDUS:{this.state=State$3.SCRIPT_DATA_END_TAG_OPEN;break}case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$3.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=State$3.SCRIPT_DATA,this._stateScriptData(qa)}}_stateScriptDataEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(qa)):(this._emitChars("</"),this.state=State$3.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$3.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEscapeStart(qa){qa===CODE_POINTS.HYPHEN_MINUS?(this.state=State$3.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=State$3.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEscapeStartDash(qa){qa===CODE_POINTS.HYPHEN_MINUS?(this.state=State$3.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=State$3.SCRIPT_DATA,this._stateScriptData(qa))}_stateScriptDataEscaped(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptDataEscapedDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedDashDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.SCRIPT_DATA,this._emitChars(">");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("</"),this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagName(qa){this.handleSpecialEndTag(qa)&&(this._emitChars("</"),this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataDoubleEscapeStart(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd<SEQUENCES.SCRIPT.length;nd++)this._emitCodePoint(this._consume());this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataDoubleEscaped(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedDashDash(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this._emitChars("-");break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.SCRIPT_DATA,this._emitChars(">");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd<SEQUENCES.SCRIPT.length;nd++)this._emitCodePoint(this._consume());this.state=State$3.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateBeforeAttributeName(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.SOLIDUS:case CODE_POINTS.GREATER_THAN_SIGN:case CODE_POINTS.EOF:{this.state=State$3.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(qa);break}case CODE_POINTS.EQUALS_SIGN:{this._err(ERR.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=State$3.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=State$3.ATTRIBUTE_NAME,this._stateAttributeName(qa)}}_stateAttributeName(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:case CODE_POINTS.SOLIDUS:case CODE_POINTS.GREATER_THAN_SIGN:case CODE_POINTS.EOF:{this._leaveAttrName(),this.state=State$3.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(qa);break}case CODE_POINTS.EQUALS_SIGN:{this._leaveAttrName(),this.state=State$3.BEFORE_ATTRIBUTE_VALUE;break}case CODE_POINTS.QUOTATION_MARK:case CODE_POINTS.APOSTROPHE:case CODE_POINTS.LESS_THAN_SIGN:{this._err(ERR.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(qa);break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.name+=REPLACEMENT_CHARACTER;break}default:this.currentAttr.name+=String.fromCodePoint(isAsciiUpper(qa)?toAsciiLower(qa):qa)}}_stateAfterAttributeName(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.SOLIDUS:{this.state=State$3.SELF_CLOSING_START_TAG;break}case CODE_POINTS.EQUALS_SIGN:{this.state=State$3.BEFORE_ATTRIBUTE_VALUE;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=State$3.ATTRIBUTE_NAME,this._stateAttributeName(qa)}}_stateBeforeAttributeValue(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:{this.state=State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this.state=State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingAttributeValue),this.state=State$3.DATA,this.emitCurrentTagToken();break}default:this.state=State$3.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(qa)}}_stateAttributeValueDoubleQuoted(qa){switch(qa){case CODE_POINTS.QUOTATION_MARK:{this.state=State$3.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(qa)}}_stateAttributeValueSingleQuoted(qa){switch(qa){case CODE_POINTS.APOSTROPHE:{this.state=State$3.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(qa)}}_stateAttributeValueUnquoted(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this._leaveAttrValue(),this.state=State$3.BEFORE_ATTRIBUTE_NAME;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=State$3.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.currentAttr.value+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.QUOTATION_MARK:case CODE_POINTS.APOSTROPHE:case CODE_POINTS.LESS_THAN_SIGN:case CODE_POINTS.EQUALS_SIGN:case CODE_POINTS.GRAVE_ACCENT:{this._err(ERR.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(qa)}}_stateAfterAttributeValueQuoted(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this._leaveAttrValue(),this.state=State$3.BEFORE_ATTRIBUTE_NAME;break}case CODE_POINTS.SOLIDUS:{this._leaveAttrValue(),this.state=State$3.SELF_CLOSING_START_TAG;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=State$3.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this._err(ERR.missingWhitespaceBetweenAttributes),this.state=State$3.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(qa)}}_stateSelfClosingStartTag(qa){switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{const nd=this.currentToken;nd.selfClosing=!0,this.state=State$3.DATA,this.emitCurrentTagToken();break}case CODE_POINTS.EOF:{this._err(ERR.eofInTag),this._emitEOFToken();break}default:this._err(ERR.unexpectedSolidusInTag),this.state=State$3.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(qa)}}_stateBogusComment(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EOF:{this.emitCurrentComment(nd),this._emitEOFToken();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.data+=REPLACEMENT_CHARACTER;break}default:nd.data+=String.fromCodePoint(qa)}}_stateMarkupDeclarationOpen(qa){this._consumeSequenceIfMatch(SEQUENCES.DASH_DASH,!0)?(this._createCommentToken(SEQUENCES.DASH_DASH.length+1),this.state=State$3.COMMENT_START):this._consumeSequenceIfMatch(SEQUENCES.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(SEQUENCES.DOCTYPE.length+1),this.state=State$3.DOCTYPE):this._consumeSequenceIfMatch(SEQUENCES.CDATA_START,!0)?this.inForeignNode?this.state=State$3.CDATA_SECTION:(this._err(ERR.cdataInHtmlContent),this._createCommentToken(SEQUENCES.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=State$3.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ERR.incorrectlyOpenedComment),this._createCommentToken(2),this.state=State$3.BOGUS_COMMENT,this._stateBogusComment(qa))}_stateCommentStart(qa){switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.COMMENT_START_DASH;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptClosingOfEmptyComment),this.state=State$3.DATA;const nd=this.currentToken;this.emitCurrentComment(nd);break}default:this.state=State$3.COMMENT,this._stateComment(qa)}}_stateCommentStartDash(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.COMMENT_END;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptClosingOfEmptyComment),this.state=State$3.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="-",this.state=State$3.COMMENT,this._stateComment(qa)}}_stateComment(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.COMMENT_END_DASH;break}case CODE_POINTS.LESS_THAN_SIGN:{nd.data+="<",this.state=State$3.COMMENT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.data+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+=String.fromCodePoint(qa)}}_stateCommentLessThanSign(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{nd.data+="!",this.state=State$3.COMMENT_LESS_THAN_SIGN_BANG;break}case CODE_POINTS.LESS_THAN_SIGN:{nd.data+="<";break}default:this.state=State$3.COMMENT,this._stateComment(qa)}}_stateCommentLessThanSignBang(qa){qa===CODE_POINTS.HYPHEN_MINUS?this.state=State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=State$3.COMMENT,this._stateComment(qa))}_stateCommentLessThanSignBangDash(qa){qa===CODE_POINTS.HYPHEN_MINUS?this.state=State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=State$3.COMMENT_END_DASH,this._stateCommentEndDash(qa))}_stateCommentLessThanSignBangDashDash(qa){qa!==CODE_POINTS.GREATER_THAN_SIGN&&qa!==CODE_POINTS.EOF&&this._err(ERR.nestedComment),this.state=State$3.COMMENT_END,this._stateCommentEnd(qa)}_stateCommentEndDash(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{this.state=State$3.COMMENT_END;break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="-",this.state=State$3.COMMENT,this._stateComment(qa)}}_stateCommentEnd(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$3.COMMENT_END_BANG;break}case CODE_POINTS.HYPHEN_MINUS:{nd.data+="-";break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="--",this.state=State$3.COMMENT,this._stateComment(qa)}}_stateCommentEndBang(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.HYPHEN_MINUS:{nd.data+="--!",this.state=State$3.COMMENT_END_DASH;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.incorrectlyClosedComment),this.state=State$3.DATA,this.emitCurrentComment(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInComment),this.emitCurrentComment(nd),this._emitEOFToken();break}default:nd.data+="--!",this.state=State$3.COMMENT,this._stateComment(qa)}}_stateDoctype(qa){switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$3.BEFORE_DOCTYPE_NAME;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),this._createDoctypeToken(null);const nd=this.currentToken;nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingWhitespaceBeforeDoctypeName),this.state=State$3.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(qa)}}_stateBeforeDoctypeName(qa){if(isAsciiUpper(qa))this._createDoctypeToken(String.fromCharCode(toAsciiLower(qa))),this.state=State$3.DOCTYPE_NAME;else switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._createDoctypeToken(REPLACEMENT_CHARACTER),this.state=State$3.DOCTYPE_NAME;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypeName),this._createDoctypeToken(null);const nd=this.currentToken;nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),this._createDoctypeToken(null);const nd=this.currentToken;nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(qa)),this.state=State$3.DOCTYPE_NAME}}_stateDoctypeName(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$3.AFTER_DOCTYPE_NAME;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.name+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.name+=String.fromCodePoint(isAsciiUpper(qa)?toAsciiLower(qa):qa)}}_stateAfterDoctypeName(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(SEQUENCES.PUBLIC,!1)?this.state=State$3.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(SEQUENCES.SYSTEM,!1)?this.state=State$3.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ERR.invalidCharacterSequenceAfterDoctypeName),nd.forceQuirks=!0,this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa))}}_stateAfterDoctypePublicKeyword(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$3.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case CODE_POINTS.QUOTATION_MARK:{this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),nd.publicId="",this.state=State$3.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword),nd.publicId="",this.state=State$3.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$3.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBeforeDoctypePublicIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:{nd.publicId="",this.state=State$3.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{nd.publicId="",this.state=State$3.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$3.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier),nd.forceQuirks=!0,this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateDoctypePublicIdentifierDoubleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.QUOTATION_MARK:{this.state=State$3.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.publicId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypePublicIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.publicId+=String.fromCodePoint(qa)}}_stateDoctypePublicIdentifierSingleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.APOSTROPHE:{this.state=State$3.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.publicId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypePublicIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.publicId+=String.fromCodePoint(qa)}}_stateAfterDoctypePublicIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$3.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.QUOTATION_MARK:{this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBetweenDoctypePublicAndSystemIdentifiers(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.QUOTATION_MARK:{nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateAfterDoctypeSystemKeyword(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:{this.state=State$3.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case CODE_POINTS.QUOTATION_MARK:{this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword),nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$3.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBeforeDoctypeSystemIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.QUOTATION_MARK:{nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case CODE_POINTS.APOSTROPHE:{nd.systemId="",this.state=State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$3.DATA,this.emitCurrentDoctype(nd);break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier),nd.forceQuirks=!0,this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateDoctypeSystemIdentifierDoubleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.QUOTATION_MARK:{this.state=State$3.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.systemId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypeSystemIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.systemId+=String.fromCodePoint(qa)}}_stateDoctypeSystemIdentifierSingleQuoted(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.APOSTROPHE:{this.state=State$3.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),nd.systemId+=REPLACEMENT_CHARACTER;break}case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.abruptDoctypeSystemIdentifier),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:nd.systemId+=String.fromCodePoint(qa)}}_stateAfterDoctypeSystemIdentifier(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.SPACE:case CODE_POINTS.LINE_FEED:case CODE_POINTS.TABULATION:case CODE_POINTS.FORM_FEED:break;case CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofInDoctype),nd.forceQuirks=!0,this.emitCurrentDoctype(nd),this._emitEOFToken();break}default:this._err(ERR.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=State$3.BOGUS_DOCTYPE,this._stateBogusDoctype(qa)}}_stateBogusDoctype(qa){const nd=this.currentToken;switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.emitCurrentDoctype(nd),this.state=State$3.DATA;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter);break}case CODE_POINTS.EOF:{this.emitCurrentDoctype(nd),this._emitEOFToken();break}}}_stateCdataSection(qa){switch(qa){case CODE_POINTS.RIGHT_SQUARE_BRACKET:{this.state=State$3.CDATA_SECTION_BRACKET;break}case CODE_POINTS.EOF:{this._err(ERR.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateCdataSectionBracket(qa){qa===CODE_POINTS.RIGHT_SQUARE_BRACKET?this.state=State$3.CDATA_SECTION_END:(this._emitChars("]"),this.state=State$3.CDATA_SECTION,this._stateCdataSection(qa))}_stateCdataSectionEnd(qa){switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this.state=State$3.DATA;break}case CODE_POINTS.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=State$3.CDATA_SECTION,this._stateCdataSection(qa)}}_stateCharacterReference(){let qa=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(qa<0)if(this.preprocessor.lastChunkWritten)qa=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}qa===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(CODE_POINTS.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&isAsciiAlphaNumeric(this.preprocessor.peek(1))?State$3.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(qa){isAsciiAlphaNumeric(qa)?this._flushCodePointConsumedAsCharacterReference(qa):(qa===CODE_POINTS.SEMICOLON&&this._err(ERR.unknownNamedCharacterReference),this.state=this.returnState,this._callState(qa))}};const IMPLICIT_END_TAG_REQUIRED=new Set([TAG_ID.DD,TAG_ID.DT,TAG_ID.LI,TAG_ID.OPTGROUP,TAG_ID.OPTION,TAG_ID.P,TAG_ID.RB,TAG_ID.RP,TAG_ID.RT,TAG_ID.RTC]),IMPLICIT_END_TAG_REQUIRED_THOROUGHLY=new Set([...IMPLICIT_END_TAG_REQUIRED,TAG_ID.CAPTION,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]),SCOPING_ELEMENTS_HTML=new Set([TAG_ID.APPLET,TAG_ID.CAPTION,TAG_ID.HTML,TAG_ID.MARQUEE,TAG_ID.OBJECT,TAG_ID.TABLE,TAG_ID.TD,TAG_ID.TEMPLATE,TAG_ID.TH]),SCOPING_ELEMENTS_HTML_LIST=new Set([...SCOPING_ELEMENTS_HTML,TAG_ID.OL,TAG_ID.UL]),SCOPING_ELEMENTS_HTML_BUTTON=new Set([...SCOPING_ELEMENTS_HTML,TAG_ID.BUTTON]),SCOPING_ELEMENTS_MATHML=new Set([TAG_ID.ANNOTATION_XML,TAG_ID.MI,TAG_ID.MN,TAG_ID.MO,TAG_ID.MS,TAG_ID.MTEXT]),SCOPING_ELEMENTS_SVG=new Set([TAG_ID.DESC,TAG_ID.FOREIGN_OBJECT,TAG_ID.TITLE]),TABLE_ROW_CONTEXT=new Set([TAG_ID.TR,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_BODY_CONTEXT=new Set([TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_CONTEXT=new Set([TAG_ID.TABLE,TAG_ID.TEMPLATE,TAG_ID.HTML]),TABLE_CELLS=new Set([TAG_ID.TD,TAG_ID.TH]);class OpenElementStack{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(qa,nd,od){this.treeAdapter=nd,this.handler=od,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=TAG_ID.UNKNOWN,this.current=qa}_indexOf(qa){return this.items.lastIndexOf(qa,this.stackTop)}_isInTemplate(){return this.currentTagId===TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(qa,nd){this.stackTop++,this.items[this.stackTop]=qa,this.current=qa,this.tagIDs[this.stackTop]=nd,this.currentTagId=nd,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(qa,nd,!0)}pop(){const qa=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,nd){const od=this._indexOf(qa);this.items[od]=nd,od===this.stackTop&&(this.current=nd)}insertAfter(qa,nd,od){const ld=this._indexOf(qa)+1;this.items.splice(ld,0,nd),this.tagIDs.splice(ld,0,od),this.stackTop++,ld===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,ld===this.stackTop)}popUntilTagNamePopped(qa){let nd=this.stackTop+1;do nd=this.tagIDs.lastIndexOf(qa,nd-1);while(nd>0&&this.treeAdapter.getNamespaceURI(this.items[nd])!==NS.HTML);this.shortenToLength(nd<0?0:nd)}shortenToLength(qa){for(;this.stackTop>=qa;){const nd=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(nd,this.stackTop<qa)}}popUntilElementPopped(qa){const nd=this._indexOf(qa);this.shortenToLength(nd<0?0:nd)}popUntilPopped(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od<0?0:od)}popUntilNumberedHeaderPopped(){this.popUntilPopped(NUMBERED_HEADERS,NS.HTML)}popUntilTableCellPopped(){this.popUntilPopped(TABLE_CELLS,NS.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(qa,nd){for(let od=this.stackTop;od>=0;od--)if(qa.has(this.tagIDs[od])&&this.treeAdapter.getNamespaceURI(this.items[od])===nd)return od;return-1}clearBackTo(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const nd=this._indexOf(qa);nd>=0&&(nd===this.stackTop?this.pop():(this.items.splice(nd,1),this.tagIDs.splice(nd,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const nd=this._indexOf(qa)-1;return nd>=0?this.items[nd]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(qa,nd){for(let od=this.stackTop;od>=0;od--){const ld=this.tagIDs[od];switch(this.treeAdapter.getNamespaceURI(this.items[od])){case NS.HTML:{if(ld===qa)return!0;if(nd.has(ld))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(ld))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(ld))return!1;break}}}return!0}hasInScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML)}hasInListItemScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const nd=this.tagIDs[qa];switch(this.treeAdapter.getNamespaceURI(this.items[qa])){case NS.HTML:{if(NUMBERED_HEADERS.has(nd))return!0;if(SCOPING_ELEMENTS_HTML.has(nd))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(nd))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(nd))return!1;break}}}return!0}hasInTableScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--)if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML)switch(this.tagIDs[qa]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,nd){const od=[],ld=nd.length,ud=this.treeAdapter.getTagName(qa),dd=this.treeAdapter.getNamespaceURI(qa);for(let pd=0;pd<this.entries.length;pd++){const fd=this.entries[pd];if(fd.type===EntryType.Marker)break;const{element:md}=fd;if(this.treeAdapter.getTagName(md)===ud&&this.treeAdapter.getNamespaceURI(md)===dd){const vd=this.treeAdapter.getAttrList(md);vd.length===ld&&od.push({idx:pd,attrs:vd})}}return od}_ensureNoahArkCondition(qa){if(this.entries.length<NOAH_ARK_CAPACITY)return;const nd=this.treeAdapter.getAttrList(qa),od=this._getNoahArkConditionCandidates(qa,nd);if(od.length<NOAH_ARK_CAPACITY)return;const ld=new Map(nd.map(dd=>[dd.name,dd.value]));let ud=0;for(let dd=0;dd<od.length;dd++){const pd=od[dd];pd.attrs.every(fd=>ld.get(fd.name)===fd.value)&&(ud+=1,ud>=NOAH_ARK_CAPACITY&&this.entries.splice(pd.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,nd){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:nd})}insertElementAfterBookmark(qa,nd){const od=this.entries.indexOf(this.bookmark);this.entries.splice(od,0,{type:EntryType.Element,element:qa,token:nd})}removeEntry(qa){const nd=this.entries.indexOf(qa);nd>=0&&this.entries.splice(nd,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const nd=this.entries.find(od=>od.type===EntryType.Marker||this.treeAdapter.getTagName(od.element)===qa);return nd&&nd.type===EntryType.Element?nd:null}getElementEntry(qa){return this.entries.find(nd=>nd.type===EntryType.Element&&nd.element===qa)}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,nd){return{nodeName:Ra,tagName:Ra,attrs:nd,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},createTextNode(Ra){return{nodeName:"#text",value:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,nd){const od=Ra.childNodes.indexOf(nd);Ra.childNodes.splice(od,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,nd,od){const ld=Ra.childNodes.find(ud=>ud.nodeName==="#documentType");if(ld)ld.name=qa,ld.publicId=nd,ld.systemId=od;else{const ud={nodeName:"#documentType",name:qa,publicId:nd,systemId:od,parentNode:null};defaultTreeAdapter.appendChild(Ra,ud)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const nd=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(nd)){nd.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,defaultTreeAdapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.childNodes[Ra.childNodes.indexOf(nd)-1];od&&defaultTreeAdapter.isTextNode(od)?od.value+=qa:defaultTreeAdapter.insertBefore(Ra,defaultTreeAdapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){const nd=new Set(Ra.attrs.map(od=>od.name));for(let od=0;od<qa.length;od++)nd.has(qa[od].name)||Ra.attrs.push(qa[od])},getFirstChild(Ra){return Ra.childNodes[0]},getChildNodes(Ra){return Ra.childNodes},getParentNode(Ra){return Ra.parentNode},getAttrList(Ra){return Ra.attrs},getTagName(Ra){return Ra.tagName},getNamespaceURI(Ra){return Ra.namespaceURI},getTextNodeContent(Ra){return Ra.value},getCommentNodeContent(Ra){return Ra.data},getDocumentTypeNodeName(Ra){return Ra.name},getDocumentTypeNodePublicId(Ra){return Ra.publicId},getDocumentTypeNodeSystemId(Ra){return Ra.systemId},isTextNode(Ra){return Ra.nodeName==="#text"},isCommentNode(Ra){return Ra.nodeName==="#comment"},isDocumentTypeNode(Ra){return Ra.nodeName==="#documentType"},isElementNode(Ra){return Object.prototype.hasOwnProperty.call(Ra,"tagName")},setNodeSourceCodeLocation(Ra,qa){Ra.sourceCodeLocation=qa},getNodeSourceCodeLocation(Ra){return Ra.sourceCodeLocation},updateNodeSourceCodeLocation(Ra,qa){Ra.sourceCodeLocation={...Ra.sourceCodeLocation,...qa}}},VALID_DOCTYPE_NAME="html",VALID_SYSTEM_ID="about:legacy-compat",QUIRKS_MODE_SYSTEM_ID="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",QUIRKS_MODE_PUBLIC_ID_PREFIXES=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES=[...QUIRKS_MODE_PUBLIC_ID_PREFIXES,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],QUIRKS_MODE_PUBLIC_IDS=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),LIMITED_QUIRKS_PUBLIC_ID_PREFIXES=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES=[...LIMITED_QUIRKS_PUBLIC_ID_PREFIXES,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function hasPrefix(Ra,qa){return qa.some(nd=>Ra.startsWith(nd))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:nd}=Ra;if(nd!==null){if(nd=nd.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(nd))return DOCUMENT_MODE.QUIRKS;let od=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(nd,od))return DOCUMENT_MODE.QUIRKS;if(od=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(nd,od))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:od})=>od===ATTRS.COLOR||od===ATTRS.SIZE||od===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa<Ra.attrs.length;qa++)if(Ra.attrs[qa].name===DEFINITION_URL_ATTR){Ra.attrs[qa].name=ADJUSTED_DEFINITION_URL_ATTR;break}}function adjustTokenSVGAttrs(Ra){for(let qa=0;qa<Ra.attrs.length;qa++){const nd=SVG_ATTRS_ADJUSTMENT_MAP.get(Ra.attrs[qa].name);nd!=null&&(Ra.attrs[qa].name=nd)}}function adjustTokenXMLAttrs(Ra){for(let qa=0;qa<Ra.attrs.length;qa++){const nd=XML_ATTRS_ADJUSTMENT_MAP.get(Ra.attrs[qa].name);nd&&(Ra.attrs[qa].prefix=nd.prefix,Ra.attrs[qa].name=nd.name,Ra.attrs[qa].namespace=nd.namespace)}}function adjustTokenSVGTagName(Ra){const qa=SVG_TAG_NAMES_ADJUSTMENT_MAP.get(Ra.tagName);qa!=null&&(Ra.tagName=qa,Ra.tagID=getTagID(Ra.tagName))}function isMathMLTextIntegrationPoint(Ra,qa){return qa===NS.MATHML&&(Ra===TAG_ID.MI||Ra===TAG_ID.MO||Ra===TAG_ID.MN||Ra===TAG_ID.MS||Ra===TAG_ID.MTEXT)}function isHtmlIntegrationPoint(Ra,qa,nd){if(qa===NS.MATHML&&Ra===TAG_ID.ANNOTATION_XML){for(let od=0;od<nd.length;od++)if(nd[od].name===ATTRS.ENCODING){const ld=nd[od].value.toLowerCase();return ld===MIME_TYPES.TEXT_HTML||ld===MIME_TYPES.APPLICATION_XML}}return qa===NS.SVG&&(Ra===TAG_ID.FOREIGN_OBJECT||Ra===TAG_ID.DESC||Ra===TAG_ID.TITLE)}function isIntegrationPoint(Ra,qa,nd,od){return(!od||od===NS.HTML)&&isHtmlIntegrationPoint(Ra,qa,nd)||(!od||od===NS.MATHML)&&isMathMLTextIntegrationPoint(Ra,qa)}const HIDDEN_INPUT_TYPE="hidden",AA_OUTER_LOOP_ITER=8,AA_INNER_LOOP_ITER=3;var InsertionMode;(function(Ra){Ra[Ra.INITIAL=0]="INITIAL",Ra[Ra.BEFORE_HTML=1]="BEFORE_HTML",Ra[Ra.BEFORE_HEAD=2]="BEFORE_HEAD",Ra[Ra.IN_HEAD=3]="IN_HEAD",Ra[Ra.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",Ra[Ra.AFTER_HEAD=5]="AFTER_HEAD",Ra[Ra.IN_BODY=6]="IN_BODY",Ra[Ra.TEXT=7]="TEXT",Ra[Ra.IN_TABLE=8]="IN_TABLE",Ra[Ra.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",Ra[Ra.IN_CAPTION=10]="IN_CAPTION",Ra[Ra.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",Ra[Ra.IN_TABLE_BODY=12]="IN_TABLE_BODY",Ra[Ra.IN_ROW=13]="IN_ROW",Ra[Ra.IN_CELL=14]="IN_CELL",Ra[Ra.IN_SELECT=15]="IN_SELECT",Ra[Ra.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",Ra[Ra.IN_TEMPLATE=17]="IN_TEMPLATE",Ra[Ra.AFTER_BODY=18]="AFTER_BODY",Ra[Ra.IN_FRAMESET=19]="IN_FRAMESET",Ra[Ra.AFTER_FRAMESET=20]="AFTER_FRAMESET",Ra[Ra.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",Ra[Ra.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(InsertionMode||(InsertionMode={}));const BASE_LOC={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},TABLE_STRUCTURE_TAGS=new Set([TAG_ID.TABLE,TAG_ID.TBODY,TAG_ID.TFOOT,TAG_ID.THEAD,TAG_ID.TR]),defaultParserOptions={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:defaultTreeAdapter,onParseError:null};let Parser$2=class{constructor(qa,nd,od=null,ld=null){this.fragmentContext=od,this.scriptHandler=ld,this.currentToken=null,this.stopped=!1,this.insertionMode=InsertionMode.INITIAL,this.originalInsertionMode=InsertionMode.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...defaultParserOptions,...qa},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=nd??this.treeAdapter.createDocument(),this.tokenizer=new Tokenizer$1(this.options,this),this.activeFormattingElements=new FormattingElementList(this.treeAdapter),this.fragmentContextID=od?getTagID(this.treeAdapter.getTagName(od)):TAG_ID.UNKNOWN,this._setContextModes(od??this.document,this.fragmentContextID),this.openElements=new OpenElementStack(this.document,this.treeAdapter,this)}static parse(qa,nd){const od=new this(nd);return od.tokenizer.write(qa,!0),od.document}static getFragmentParser(qa,nd){const od={...defaultParserOptions,...nd};qa??(qa=od.treeAdapter.createElement(TAG_NAMES.TEMPLATE,NS.HTML,[]));const ld=od.treeAdapter.createElement("documentmock",NS.HTML,[]),ud=new this(od,ld,qa);return ud.fragmentContextID===TAG_ID.TEMPLATE&&ud.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE),ud._initTokenizerForFragmentParsing(),ud._insertFakeRootElement(),ud._resetInsertionMode(),ud._findFormInFragmentContext(),ud}getFragment(){const qa=this.treeAdapter.getFirstChild(this.document),nd=this.treeAdapter.createDocumentFragment();return this._adoptNodes(qa,nd),nd}_err(qa,nd,od){var ld;if(!this.onParseError)return;const ud=(ld=qa.location)!==null&&ld!==void 0?ld:BASE_LOC,dd={code:nd,startLine:ud.startLine,startCol:ud.startCol,startOffset:ud.startOffset,endLine:od?ud.startLine:ud.endLine,endCol:od?ud.startCol:ud.endCol,endOffset:od?ud.startOffset:ud.endOffset};this.onParseError(dd)}onItemPush(qa,nd,od){var ld,ud;(ud=(ld=this.treeAdapter).onItemPush)===null||ud===void 0||ud.call(ld,qa),od&&this.openElements.stackTop>0&&this._setContextModes(qa,nd)}onItemPop(qa,nd){var od,ld;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(ld=(od=this.treeAdapter).onItemPop)===null||ld===void 0||ld.call(od,qa,this.openElements.current),nd){let ud,dd;this.openElements.stackTop===0&&this.fragmentContext?(ud=this.fragmentContext,dd=this.fragmentContextID):{current:ud,currentTagId:dd}=this.openElements,this._setContextModes(ud,dd)}}_setContextModes(qa,nd){const od=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!od,this.tokenizer.inForeignNode=!od&&!this._isIntegrationPoint(nd,qa)}_switchToTextParsing(qa,nd){this._insertElement(qa,NS.HTML),this.tokenizer.state=nd,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const nd=qa.name||"",od=qa.publicId||"",ld=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,nd,od,ld),qa.location){const dd=this.treeAdapter.getChildNodes(this.document).find(pd=>this.treeAdapter.isDocumentTypeNode(pd));dd&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}}_attachElementToTree(qa,nd){if(this.options.sourceCodeLocationInfo){const od=nd&&{...nd,startTag:nd};this.treeAdapter.setNodeSourceCodeLocation(qa,od)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const od=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(od,qa)}}_appendElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location)}_insertElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location),this.openElements.push(od,qa.tagID)}_insertFakeElement(qa,nd){const od=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(od,null),this.openElements.push(od,nd)}_insertTemplate(qa){const nd=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),od=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(nd,od),this._attachElementToTree(nd,qa.location),this.openElements.push(nd,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,nd){const od=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(nd,od),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}_insertCharacters(qa){let nd,od;if(this._shouldFosterParentOnInsertion()?({parent:nd,beforeElement:od}=this._findFosterParentingLocation(),od?this.treeAdapter.insertTextBefore(nd,qa.chars,od):this.treeAdapter.insertText(nd,qa.chars)):(nd=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(nd,qa.chars)),!qa.location)return;const ld=this.treeAdapter.getChildNodes(nd),ud=od?ld.lastIndexOf(od):ld.length,dd=ld[ud-1];if(this.treeAdapter.getNodeSourceCodeLocation(dd)){const{endLine:fd,endCol:md,endOffset:vd}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(dd,{endLine:fd,endCol:md,endOffset:vd})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(dd,qa.location)}_adoptNodes(qa,nd){for(let od=this.treeAdapter.getFirstChild(qa);od;od=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(od),this.treeAdapter.appendChild(nd,od)}_setEndLocation(qa,nd){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&nd.location){const od=nd.location,ld=this.treeAdapter.getTagName(qa),ud=nd.type===TokenType.END_TAG&&ld===nd.tagName?{endTag:{...od},endLine:od.endLine,endCol:od.endCol,endOffset:od.endOffset}:{endLine:od.startLine,endCol:od.startCol,endOffset:od.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,ud)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let nd,od;return this.openElements.stackTop===0&&this.fragmentContext?(nd=this.fragmentContext,od=this.fragmentContextID):{current:nd,currentTagId:od}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(nd)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(nd)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(od,nd,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,nd,od){const ld=this.treeAdapter.getNamespaceURI(nd),ud=this.treeAdapter.getAttrList(nd);return isIntegrationPoint(qa,ld,ud,od)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const nd=this.activeFormattingElements.entries.findIndex(ld=>ld.type===EntryType.Marker||this.openElements.contains(ld.element)),od=nd<0?qa-1:nd-1;for(let ld=od;ld>=0;ld--){const ud=this.activeFormattingElements.entries[ld];this._insertElement(ud.token,this.treeAdapter.getNamespaceURI(ud.element)),ud.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let nd=qa-1;nd>0;nd--){const od=this.openElements.tagIDs[nd];if(od===TAG_ID.TEMPLATE)break;if(od===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const nd=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(nd)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(nd),beforeElement:null};break}case TAG_ID.TABLE:{const od=this.treeAdapter.getParentNode(nd);return od?{parent:od,beforeElement:nd}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const nd=this._findFosterParentingLocation();nd.beforeElement?this.treeAdapter.insertBefore(nd.parent,qa,nd.beforeElement):this.treeAdapter.appendChild(nd.parent,qa)}_isSpecialElement(qa,nd){const od=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[od].has(nd)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return nd?Ra.openElements.contains(nd.element)?Ra.openElements.hasInScope(qa.tagID)||(nd=null):(Ra.activeFormattingElements.removeEntry(nd),nd=null):genericEndTagInBody(Ra,qa),nd}function aaObtainFurthestBlock(Ra,qa){let nd=null,od=Ra.openElements.stackTop;for(;od>=0;od--){const ld=Ra.openElements.items[od];if(ld===qa.element)break;Ra._isSpecialElement(ld,Ra.openElements.tagIDs[od])&&(nd=ld)}return nd||(Ra.openElements.shortenToLength(od<0?0:od),Ra.activeFormattingElements.removeEntry(qa)),nd}function aaInnerLoop(Ra,qa,nd){let od=qa,ld=Ra.openElements.getCommonAncestor(qa);for(let ud=0,dd=ld;dd!==nd;ud++,dd=ld){ld=Ra.openElements.getCommonAncestor(dd);const pd=Ra.activeFormattingElements.getElementEntry(dd),fd=pd&&ud>=AA_INNER_LOOP_ITER;!pd||fd?(fd&&Ra.activeFormattingElements.removeEntry(pd),Ra.openElements.remove(dd)):(dd=aaRecreateElementFromEntry(Ra,pd),od===qa&&(Ra.activeFormattingElements.bookmark=pd),Ra.treeAdapter.detachNode(od),Ra.treeAdapter.appendChild(dd,od),od=dd)}return od}function aaRecreateElementFromEntry(Ra,qa){const nd=Ra.treeAdapter.getNamespaceURI(qa.element),od=Ra.treeAdapter.createElement(qa.token.tagName,nd,qa.token.attrs);return Ra.openElements.replace(qa.element,od),qa.element=od,od}function aaInsertLastNodeInCommonAncestor(Ra,qa,nd){const od=Ra.treeAdapter.getTagName(qa),ld=getTagID(od);if(Ra._isElementCausesFosterParenting(ld))Ra._fosterParentElement(nd);else{const ud=Ra.treeAdapter.getNamespaceURI(qa);ld===TAG_ID.TEMPLATE&&ud===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,nd)}}function aaReplaceFormattingElement(Ra,qa,nd){const od=Ra.treeAdapter.getNamespaceURI(nd.element),{token:ld}=nd,ud=Ra.treeAdapter.createElement(ld.tagName,od,ld.attrs);Ra._adoptNodes(qa,ud),Ra.treeAdapter.appendChild(qa,ud),Ra.activeFormattingElements.insertElementAfterBookmark(ud,ld),Ra.activeFormattingElements.removeEntry(nd),Ra.openElements.remove(nd.element),Ra.openElements.insertAfter(qa,ud,ld.tagID)}function callAdoptionAgency(Ra,qa){for(let nd=0;nd<AA_OUTER_LOOP_ITER;nd++){const od=aaObtainFormattingElementEntry(Ra,qa);if(!od)break;const ld=aaObtainFurthestBlock(Ra,od);if(!ld)break;Ra.activeFormattingElements.bookmark=od;const ud=aaInnerLoop(Ra,ld,od.element),dd=Ra.openElements.getCommonAncestor(od.element);Ra.treeAdapter.detachNode(ud),dd&&aaInsertLastNodeInCommonAncestor(Ra,dd,ud),aaReplaceFormattingElement(Ra,ld,od)}}function appendComment(Ra,qa){Ra._appendCommentNode(qa,Ra.openElements.currentTmplContentOrNode)}function appendCommentToRootHtmlElement(Ra,qa){Ra._appendCommentNode(qa,Ra.openElements.items[0])}function appendCommentToDocument(Ra,qa){Ra._appendCommentNode(qa,Ra.document)}function stopParsing(Ra,qa){if(Ra.stopped=!0,qa.location){const nd=Ra.fragmentContext?0:2;for(let od=Ra.openElements.stackTop;od>=nd;od--)Ra._setEndLocation(Ra.openElements.items[od],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const od=Ra.openElements.items[0],ld=Ra.treeAdapter.getNodeSourceCodeLocation(od);if(ld&&!ld.endTag&&(Ra._setEndLocation(od,qa),Ra.openElements.stackTop>=1)){const ud=Ra.openElements.items[1],dd=Ra.treeAdapter.getNodeSourceCodeLocation(ud);dd&&!dd.endTag&&Ra._setEndLocation(ud,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const nd=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,nd),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const nd=qa.tagID;(nd===TAG_ID.HTML||nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const nd=qa.tagID;nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.HTML||nd===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const nd=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,nd),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(nd,qa.attrs))}function framesetStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&nd&&(Ra.treeAdapter.detachNode(nd),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),NUMBERED_HEADERS.has(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const nd=Ra.openElements.tmplCount>0;(!Ra.formElement||nd)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),nd||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const nd=qa.tagID;for(let od=Ra.openElements.stackTop;od>=0;od--){const ld=Ra.openElements.tagIDs[od];if(nd===TAG_ID.LI&&ld===TAG_ID.LI||(nd===TAG_ID.DD||nd===TAG_ID.DT)&&(ld===TAG_ID.DD||ld===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(ld),Ra.openElements.popUntilTagNamePopped(ld);break}if(ld!==TAG_ID.ADDRESS&&ld!==TAG_ID.DIV&&ld!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[od],ld))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);nd&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(nd.element),Ra.activeFormattingElements.removeEntry(nd)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function rawTextStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?rawTextStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra._setEndLocation(nd,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:nd}=Ra;qa||(Ra.formElement=null),(nd||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):nd&&Ra.openElements.remove(nd))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(nd),Ra.openElements.popUntilTagNamePopped(nd))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const nd=qa.tagName,od=qa.tagID;for(let ld=Ra.openElements.stackTop;ld>0;ld--){const ud=Ra.openElements.items[ld],dd=Ra.openElements.tagIDs[ld];if(od===dd&&(od!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(ud)===nd)){Ra.openElements.generateImpliedEndTagsWithExclusion(od),Ra.openElements.stackTop>=ld&&Ra.openElements.shortenToLength(ld);break}if(Ra._isSpecialElement(ud,dd))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var nd;qa.tagID===TAG_ID.SCRIPT&&((nd=Ra.scriptHandler)===null||nd===void 0||nd.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const nd=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=nd}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let nd=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;nd<Ra.pendingCharacterTokens.length;nd++)tokenInTable(Ra,Ra.pendingCharacterTokens[nd]);else for(;nd<Ra.pendingCharacterTokens.length;nd++)Ra._insertCharacters(Ra.pendingCharacterTokens[nd]);Ra.insertionMode=Ra.originalInsertionMode,Ra._processToken(qa)}const TABLE_VOID_ELEMENTS=new Set([TAG_ID.CAPTION,TAG_ID.COL,TAG_ID.COLGROUP,TAG_ID.TBODY,TAG_ID.TD,TAG_ID.TFOOT,TAG_ID.TH,TAG_ID.THEAD,TAG_ID.TR]);function startTagInCaption(Ra,qa){const nd=qa.tagID;TABLE_VOID_ELEMENTS.has(nd)?Ra.openElements.hasInTableScope(TAG_ID.CAPTION)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.CAPTION),Ra.activeFormattingElements.clearToLastMarker(),Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa)):startTagInBody(Ra,qa)}function endTagInCaption(Ra,qa){const nd=qa.tagID;switch(nd){case TAG_ID.CAPTION:case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.CAPTION)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.CAPTION),Ra.activeFormattingElements.clearToLastMarker(),Ra.insertionMode=InsertionMode.IN_TABLE,nd===TAG_ID.TABLE&&endTagInTable(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:endTagInBody(Ra,qa)}}function startTagInColumnGroup(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.COL:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}default:tokenInColumnGroup(Ra,qa)}}function endTagInColumnGroup(Ra,qa){switch(qa.tagID){case TAG_ID.COLGROUP:{Ra.openElements.currentTagId===TAG_ID.COLGROUP&&(Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.COL:break;default:tokenInColumnGroup(Ra,qa)}}function tokenInColumnGroup(Ra,qa){Ra.openElements.currentTagId===TAG_ID.COLGROUP&&(Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE,Ra._processToken(qa))}function startTagInTableBody(Ra,qa){switch(qa.tagID){case TAG_ID.TR:{Ra.openElements.clearBackToTableBodyContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_ROW;break}case TAG_ID.TH:case TAG_ID.TD:{Ra.openElements.clearBackToTableBodyContext(),Ra._insertFakeElement(TAG_NAMES.TR,TAG_ID.TR),Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.openElements.hasTableBodyContextInTableScope()&&(Ra.openElements.clearBackToTableBodyContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa));break}default:startTagInTable(Ra,qa)}}function endTagInTableBody(Ra,qa){const nd=qa.tagID;switch(qa.tagID){case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.clearBackToTableBodyContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE);break}case TAG_ID.TABLE:{Ra.openElements.hasTableBodyContextInTableScope()&&(Ra.openElements.clearBackToTableBodyContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE,endTagInTable(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:break;default:endTagInTable(Ra,qa)}}function startTagInRow(Ra,qa){switch(qa.tagID){case TAG_ID.TH:case TAG_ID.TD:{Ra.openElements.clearBackToTableRowContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CELL,Ra.activeFormattingElements.insertMarker();break}case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.TR:{Ra.openElements.hasInTableScope(TAG_ID.TR)&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa));break}default:startTagInTable(Ra,qa)}}function endTagInRow(Ra,qa){switch(qa.tagID){case TAG_ID.TR:{Ra.openElements.hasInTableScope(TAG_ID.TR)&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY);break}case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TR)&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,endTagInTableBody(Ra,qa));break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{(Ra.openElements.hasInTableScope(qa.tagID)||Ra.openElements.hasInTableScope(TAG_ID.TR))&&(Ra.openElements.clearBackToTableRowContext(),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,endTagInTableBody(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TD:case TAG_ID.TH:break;default:endTagInTable(Ra,qa)}}function startTagInCell(Ra,qa){const nd=qa.tagID;TABLE_VOID_ELEMENTS.has(nd)?(Ra.openElements.hasInTableScope(TAG_ID.TD)||Ra.openElements.hasInTableScope(TAG_ID.TH))&&(Ra._closeTableCell(),startTagInRow(Ra,qa)):startTagInBody(Ra,qa)}function endTagInCell(Ra,qa){const nd=qa.tagID;switch(nd){case TAG_ID.TD:case TAG_ID.TH:{Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker(),Ra.insertionMode=InsertionMode.IN_ROW);break}case TAG_ID.TABLE:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.TR:{Ra.openElements.hasInTableScope(nd)&&(Ra._closeTableCell(),endTagInRow(Ra,qa));break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:break;default:endTagInBody(Ra,qa)}}function startTagInSelect(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML);break}case TAG_ID.OPTGROUP:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML);break}case TAG_ID.HR:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.INPUT:case TAG_ID.KEYGEN:case TAG_ID.TEXTAREA:case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),qa.tagID!==TAG_ID.SELECT&&Ra._processStartTag(qa));break}case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}}}function endTagInSelect(Ra,qa){switch(qa.tagID){case TAG_ID.OPTGROUP:{Ra.openElements.stackTop>0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var nd;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const od=Ra.openElements.items[1];od&&!(!((nd=Ra.treeAdapter.getNodeSourceCodeLocation(od))===null||nd===void 0)&&nd.endTag)&&Ra._setEndLocation(od,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const nd=Ra._getAdjustedCurrentElement(),od=Ra.treeAdapter.getNamespaceURI(nd);od===NS.MATHML?adjustTokenMathMLAttrs(qa):od===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,od):Ra._insertElement(qa,od),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let nd=Ra.openElements.stackTop;nd>0;nd--){const od=Ra.openElements.items[nd];if(Ra.treeAdapter.getNamespaceURI(od)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const ld=Ra.treeAdapter.getTagName(od);if(ld.toLowerCase()===qa.tagName){qa.tagName=ld,Ra.openElements.shortenToLength(nd);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const nd={...defaultOpts,...qa};return serializeNode(Ra,nd)}function serializeChildNodes(Ra,qa){let nd="";const od=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,ld=qa.treeAdapter.getChildNodes(od);if(ld)for(const ud of ld)nd+=serializeNode(ud,qa);return nd}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const nd=qa.treeAdapter.getTagName(Ra);return`<${nd}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}</${nd}>`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let nd="";for(const od of qa.getAttrList(Ra)){if(nd+=" ",od.namespace)switch(od.namespace){case NS.XML:{nd+=`xml:${od.name}`;break}case NS.XMLNS:{od.name!=="xmlns"&&(nd+="xmlns:"),nd+=od.name;break}case NS.XLINK:{nd+=`xlink:${od.name}`;break}default:nd+=`${od.prefix}:${od.name}`}else nd+=od.name;nd+=`="${escapeAttribute(od.value)}"`}return nd}function serializeTextNode(Ra,qa){const{treeAdapter:nd}=qa,od=nd.getTextNodeContent(Ra),ld=nd.getParentNode(Ra),ud=ld&&nd.isElementNode(ld)&&nd.getTagName(ld);return ud&&nd.getNamespaceURI(ld)===NS.HTML&&hasUnescapedText(ud,qa.scriptingEnabled)?od:escapeText(od)}function serializeCommentNode(Ra,{treeAdapter:qa}){return`<!--${qa.getCommentNodeContent(Ra)}-->`}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return`<!DOCTYPE ${qa.getDocumentTypeNodeName(Ra)}>`}function parse$4(Ra,qa){return Parser$2.parse(Ra,qa)}function parseFragment(Ra,qa,nd){typeof Ra=="string"&&(nd=qa,qa=Ra,Ra=null);const od=Parser$2.getFragmentParser(Ra,nd);return od.tokenizer.write(qa,!0),od.getFragment()}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,nd){let od="!DOCTYPE ";return Ra&&(od+=Ra),qa?od+=` PUBLIC ${enquoteDoctypeId(qa)}`:nd&&(od+=" SYSTEM"),nd&&(od+=` ${enquoteDoctypeId(nd)}`),od}const adapter={isCommentNode:isComment$2,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,nd){const od=Object.create(null),ld=Object.create(null),ud=Object.create(null);for(let pd=0;pd<nd.length;pd++){const fd=nd[pd].name;od[fd]=nd[pd].value,ld[fd]=nd[pd].namespace,ud[fd]=nd[pd].prefix}const dd=new Element$1(Ra,od,[]);return dd.namespace=qa,dd["x-attribsNamespace"]=ld,dd["x-attribsPrefix"]=ud,dd},createCommentNode(Ra){return new Comment(Ra)},createTextNode(Ra){return new Text(Ra)},appendChild(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&(nd.next=qa,qa.prev=nd),Ra.children.push(qa),qa.parent=Ra},insertBefore(Ra,qa,nd){const od=Ra.children.indexOf(nd),{prev:ld}=nd;ld&&(ld.next=qa,qa.prev=ld),nd.prev=qa,qa.next=nd,Ra.children.splice(od,0,qa),qa.parent=Ra},setTemplateContent(Ra,qa){adapter.appendChild(Ra,qa)},getTemplateContent(Ra){return Ra.children[0]},setDocumentType(Ra,qa,nd,od){const ld=serializeDoctypeContent(qa,nd,od);let ud=Ra.children.find(dd=>isDirective(dd)&&dd.name==="!doctype");ud?ud.data=ld??null:(ud=new ProcessingInstruction("!doctype",ld),adapter.appendChild(Ra,ud)),ud["x-name"]=qa,ud["x-publicId"]=nd,ud["x-systemId"]=od},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:nd,next:od}=Ra;Ra.prev=null,Ra.next=null,nd&&(nd.next=od),od&&(od.prev=nd),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&isText(nd)?nd.data+=qa:adapter.appendChild(Ra,adapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.children[Ra.children.indexOf(nd)-1];od&&isText(od)?od.data+=qa:adapter.insertBefore(Ra,adapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){for(let nd=0;nd<qa.length;nd++){const od=qa[nd].name;Ra.attribs[od]===void 0&&(Ra.attribs[od]=qa[nd].value,Ra["x-attribsNamespace"][od]=qa[nd].namespace,Ra["x-attribsPrefix"][od]=qa[nd].prefix)}},getFirstChild(Ra){return Ra.children[0]},getChildNodes(Ra){return Ra.children},getParentNode(Ra){return Ra.parent},getAttrList(Ra){return Ra.attributes},getTagName(Ra){return Ra.name},getNamespaceURI(Ra){return Ra.namespace},getTextNodeContent(Ra){return Ra.data},getCommentNodeContent(Ra){return Ra.data},getDocumentTypeNodeName(Ra){var qa;return(qa=Ra["x-name"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodePublicId(Ra){var qa;return(qa=Ra["x-publicId"])!==null&&qa!==void 0?qa:""},getDocumentTypeNodeSystemId(Ra){var qa;return(qa=Ra["x-systemId"])!==null&&qa!==void 0?qa:""},isDocumentTypeNode(Ra){return isDirective(Ra)&&Ra.name==="!doctype"},setNodeSourceCodeLocation(Ra,qa){qa&&(Ra.startIndex=qa.startOffset,Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation=qa},getNodeSourceCodeLocation(Ra){return Ra.sourceCodeLocation},updateNodeSourceCodeLocation(Ra,qa){qa.endOffset!=null&&(Ra.endIndex=qa.endOffset),Ra.sourceCodeLocation={...Ra.sourceCodeLocation,...qa}}};function parseWithParse5(Ra,qa,nd,od){var ld;return(ld=qa.treeAdapter)!==null&&ld!==void 0||(qa.treeAdapter=adapter),qa.scriptingEnabled!==!1&&(qa.scriptingEnabled=!0),nd?parse$4(Ra,qa):parseFragment(od,Ra,qa)}const renderOpts={treeAdapter:adapter};function renderWithParse5(Ra){const qa="length"in Ra?Ra:[Ra];for(let od=0;od<qa.length;od+=1){const ld=qa[od];isDocument(ld)&&Array.prototype.splice.call(qa,od,1,...ld.children)}let nd="";for(let od=0;od<qa.length;od+=1){const ld=qa[od];nd+=serializeOuter(ld,renderOpts)}return nd}var CharCodes;(function(Ra){Ra[Ra.Tab=9]="Tab",Ra[Ra.NewLine=10]="NewLine",Ra[Ra.FormFeed=12]="FormFeed",Ra[Ra.CarriageReturn=13]="CarriageReturn",Ra[Ra.Space=32]="Space",Ra[Ra.ExclamationMark=33]="ExclamationMark",Ra[Ra.Number=35]="Number",Ra[Ra.Amp=38]="Amp",Ra[Ra.SingleQuote=39]="SingleQuote",Ra[Ra.DoubleQuote=34]="DoubleQuote",Ra[Ra.Dash=45]="Dash",Ra[Ra.Slash=47]="Slash",Ra[Ra.Zero=48]="Zero",Ra[Ra.Nine=57]="Nine",Ra[Ra.Semi=59]="Semi",Ra[Ra.Lt=60]="Lt",Ra[Ra.Eq=61]="Eq",Ra[Ra.Gt=62]="Gt",Ra[Ra.Questionmark=63]="Questionmark",Ra[Ra.UpperA=65]="UpperA",Ra[Ra.LowerA=97]="LowerA",Ra[Ra.UpperF=70]="UpperF",Ra[Ra.LowerF=102]="LowerF",Ra[Ra.UpperZ=90]="UpperZ",Ra[Ra.LowerZ=122]="LowerZ",Ra[Ra.LowerX=120]="LowerX",Ra[Ra.OpeningSquareBracket=91]="OpeningSquareBracket"})(CharCodes||(CharCodes={}));var State$2;(function(Ra){Ra[Ra.Text=1]="Text",Ra[Ra.BeforeTagName=2]="BeforeTagName",Ra[Ra.InTagName=3]="InTagName",Ra[Ra.InSelfClosingTag=4]="InSelfClosingTag",Ra[Ra.BeforeClosingTagName=5]="BeforeClosingTagName",Ra[Ra.InClosingTagName=6]="InClosingTagName",Ra[Ra.AfterClosingTagName=7]="AfterClosingTagName",Ra[Ra.BeforeAttributeName=8]="BeforeAttributeName",Ra[Ra.InAttributeName=9]="InAttributeName",Ra[Ra.AfterAttributeName=10]="AfterAttributeName",Ra[Ra.BeforeAttributeValue=11]="BeforeAttributeValue",Ra[Ra.InAttributeValueDq=12]="InAttributeValueDq",Ra[Ra.InAttributeValueSq=13]="InAttributeValueSq",Ra[Ra.InAttributeValueNq=14]="InAttributeValueNq",Ra[Ra.BeforeDeclaration=15]="BeforeDeclaration",Ra[Ra.InDeclaration=16]="InDeclaration",Ra[Ra.InProcessingInstruction=17]="InProcessingInstruction",Ra[Ra.BeforeComment=18]="BeforeComment",Ra[Ra.CDATASequence=19]="CDATASequence",Ra[Ra.InSpecialComment=20]="InSpecialComment",Ra[Ra.InCommentLike=21]="InCommentLike",Ra[Ra.BeforeSpecialS=22]="BeforeSpecialS",Ra[Ra.BeforeSpecialT=23]="BeforeSpecialT",Ra[Ra.SpecialStartSequence=24]="SpecialStartSequence",Ra[Ra.InSpecialTag=25]="InSpecialTag",Ra[Ra.InEntity=26]="InEntity"})(State$2||(State$2={}));function isWhitespace$1(Ra){return Ra===CharCodes.Space||Ra===CharCodes.NewLine||Ra===CharCodes.Tab||Ra===CharCodes.FormFeed||Ra===CharCodes.CarriageReturn}function isEndOfTagSection(Ra){return Ra===CharCodes.Slash||Ra===CharCodes.Gt||isWhitespace$1(Ra)}function isASCIIAlpha(Ra){return Ra>=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:nd=!0},od){this.cbs=od,this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$2.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=nd,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(ld,ud)=>this.emitCodePoint(ld,ud))}reset(){this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$2.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(qa){qa===CharCodes.Lt||!this.decodeEntities&&this.fastForwardTo(CharCodes.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$2.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const nd=this.sequenceIndex===this.currentSequence.length;if(!(nd?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!nd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$2.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$1(qa)){const nd=this.index-this.currentSequence.length;if(this.sectionStart<nd){const od=this.index;this.index=nd,this.cbs.ontext(this.sectionStart,nd),this.index=od}this.isSpecial=!1,this.sectionStart=nd+2,this.stateInClosingTagName(qa);return}this.sequenceIndex=0}(qa|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Sequences.TitleEnd?this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity():this.fastForwardTo(CharCodes.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(qa===CharCodes.Lt)}stateCDATASequence(qa){qa===Sequences.Cdata[this.sequenceIndex]?++this.sequenceIndex===Sequences.Cdata.length&&(this.state=State$2.InCommentLike,this.currentSequence=Sequences.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=State$2.InDeclaration,this.stateInDeclaration(qa))}fastForwardTo(qa){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===qa)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(qa){qa===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=State$2.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):qa!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(qa){return this.xmlMode?!isEndOfTagSection(qa):isASCIIAlpha(qa)}startSpecial(qa,nd){this.isSpecial=!0,this.currentSequence=qa,this.sequenceIndex=nd,this.state=State$2.SpecialStartSequence}stateBeforeTagName(qa){if(qa===CharCodes.ExclamationMark)this.state=State$2.BeforeDeclaration,this.sectionStart=this.index+1;else if(qa===CharCodes.Questionmark)this.state=State$2.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(qa)){const nd=qa|32;this.sectionStart=this.index,this.xmlMode?this.state=State$2.InTagName:nd===Sequences.ScriptEnd[2]?this.state=State$2.BeforeSpecialS:nd===Sequences.TitleEnd[2]?this.state=State$2.BeforeSpecialT:this.state=State$2.InTagName}else qa===CharCodes.Slash?this.state=State$2.BeforeClosingTagName:(this.state=State$2.Text,this.stateText(qa))}stateInTagName(qa){isEndOfTagSection(qa)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=State$2.BeforeAttributeName,this.stateBeforeAttributeName(qa))}stateBeforeClosingTagName(qa){isWhitespace$1(qa)||(qa===CharCodes.Gt?this.state=State$2.Text:(this.state=this.isTagStartChar(qa)?State$2.InClosingTagName:State$2.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(qa){(qa===CharCodes.Gt||isWhitespace$1(qa))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=State$2.AfterClosingTagName,this.stateAfterClosingTagName(qa))}stateAfterClosingTagName(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.state=State$2.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(qa){qa===CharCodes.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=State$2.InSpecialTag,this.sequenceIndex=0):this.state=State$2.Text,this.sectionStart=this.index+1):qa===CharCodes.Slash?this.state=State$2.InSelfClosingTag:isWhitespace$1(qa)||(this.state=State$2.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(qa){qa===CharCodes.Gt?(this.cbs.onselfclosingtag(this.index),this.state=State$2.Text,this.sectionStart=this.index+1,this.isSpecial=!1):isWhitespace$1(qa)||(this.state=State$2.BeforeAttributeName,this.stateBeforeAttributeName(qa))}stateInAttributeName(qa){(qa===CharCodes.Eq||isEndOfTagSection(qa))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=State$2.AfterAttributeName,this.stateAfterAttributeName(qa))}stateAfterAttributeName(qa){qa===CharCodes.Eq?this.state=State$2.BeforeAttributeValue:qa===CharCodes.Slash||qa===CharCodes.Gt?(this.cbs.onattribend(QuoteType.NoValue,this.sectionStart),this.sectionStart=-1,this.state=State$2.BeforeAttributeName,this.stateBeforeAttributeName(qa)):isWhitespace$1(qa)||(this.cbs.onattribend(QuoteType.NoValue,this.sectionStart),this.state=State$2.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(qa){qa===CharCodes.DoubleQuote?(this.state=State$2.InAttributeValueDq,this.sectionStart=this.index+1):qa===CharCodes.SingleQuote?(this.state=State$2.InAttributeValueSq,this.sectionStart=this.index+1):isWhitespace$1(qa)||(this.sectionStart=this.index,this.state=State$2.InAttributeValueNq,this.stateInAttributeValueNoQuotes(qa))}handleInAttributeValue(qa,nd){qa===nd||!this.decodeEntities&&this.fastForwardTo(nd)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(nd===CharCodes.DoubleQuote?QuoteType.Double:QuoteType.Single,this.index+1),this.state=State$2.BeforeAttributeName):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(qa){this.handleInAttributeValue(qa,CharCodes.DoubleQuote)}stateInAttributeValueSingleQuotes(qa){this.handleInAttributeValue(qa,CharCodes.SingleQuote)}stateInAttributeValueNoQuotes(qa){isWhitespace$1(qa)||qa===CharCodes.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(QuoteType.Unquoted,this.index),this.state=State$2.BeforeAttributeName,this.stateBeforeAttributeName(qa)):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateBeforeDeclaration(qa){qa===CharCodes.OpeningSquareBracket?(this.state=State$2.CDATASequence,this.sequenceIndex=0):this.state=qa===CharCodes.Dash?State$2.BeforeComment:State$2.InDeclaration}stateInDeclaration(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=State$2.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=State$2.Text,this.sectionStart=this.index+1)}stateBeforeComment(qa){qa===CharCodes.Dash?(this.state=State$2.InCommentLike,this.currentSequence=Sequences.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=State$2.InDeclaration}stateInSpecialComment(qa){(qa===CharCodes.Gt||this.fastForwardTo(CharCodes.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=State$2.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(qa){const nd=qa|32;nd===Sequences.ScriptEnd[3]?this.startSpecial(Sequences.ScriptEnd,4):nd===Sequences.StyleEnd[3]?this.startSpecial(Sequences.StyleEnd,4):(this.state=State$2.InTagName,this.stateInTagName(qa))}stateBeforeSpecialT(qa){const nd=qa|32;nd===Sequences.TitleEnd[3]?this.startSpecial(Sequences.TitleEnd,4):nd===Sequences.TextareaEnd[3]?this.startSpecial(Sequences.TextareaEnd,4):(this.state=State$2.InTagName,this.stateInTagName(qa))}startEntity(){this.baseState=this.state,this.state=State$2.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?DecodingMode.Strict:this.baseState===State$2.Text||this.baseState===State$2.InSpecialTag?DecodingMode.Legacy:DecodingMode.Attribute)}stateInEntity(){const qa=this.entityDecoder.write(this.buffer,this.index-this.offset);qa>=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$2.Text||this.state===State$2.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const qa=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case State$2.Text:{this.stateText(qa);break}case State$2.SpecialStartSequence:{this.stateSpecialStartSequence(qa);break}case State$2.InSpecialTag:{this.stateInSpecialTag(qa);break}case State$2.CDATASequence:{this.stateCDATASequence(qa);break}case State$2.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(qa);break}case State$2.InAttributeName:{this.stateInAttributeName(qa);break}case State$2.InCommentLike:{this.stateInCommentLike(qa);break}case State$2.InSpecialComment:{this.stateInSpecialComment(qa);break}case State$2.BeforeAttributeName:{this.stateBeforeAttributeName(qa);break}case State$2.InTagName:{this.stateInTagName(qa);break}case State$2.InClosingTagName:{this.stateInClosingTagName(qa);break}case State$2.BeforeTagName:{this.stateBeforeTagName(qa);break}case State$2.AfterAttributeName:{this.stateAfterAttributeName(qa);break}case State$2.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(qa);break}case State$2.BeforeAttributeValue:{this.stateBeforeAttributeValue(qa);break}case State$2.BeforeClosingTagName:{this.stateBeforeClosingTagName(qa);break}case State$2.AfterClosingTagName:{this.stateAfterClosingTagName(qa);break}case State$2.BeforeSpecialS:{this.stateBeforeSpecialS(qa);break}case State$2.BeforeSpecialT:{this.stateBeforeSpecialT(qa);break}case State$2.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(qa);break}case State$2.InSelfClosingTag:{this.stateInSelfClosingTag(qa);break}case State$2.InDeclaration:{this.stateInDeclaration(qa);break}case State$2.BeforeDeclaration:{this.stateBeforeDeclaration(qa);break}case State$2.BeforeComment:{this.stateBeforeComment(qa);break}case State$2.InProcessingInstruction:{this.stateInProcessingInstruction(qa);break}case State$2.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===State$2.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const qa=this.buffer.length+this.offset;this.sectionStart>=qa||(this.state===State$2.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$2.InTagName||this.state===State$2.BeforeAttributeName||this.state===State$2.BeforeAttributeValue||this.state===State$2.AfterAttributeName||this.state===State$2.InAttributeName||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueNq||this.state===State$2.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,nd){this.baseState!==State$2.Text&&this.baseState!==State$2.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+nd,this.index=this.sectionStart-1,this.cbs.onattribentity(qa)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+nd,this.index=this.sectionStart-1,this.cbs.ontextentity(qa,this.sectionStart))}}const formTags=new Set(["input","option","optgroup","select","button","datalist","textarea"]),pTag=new Set(["p"]),tableSectionTags=new Set(["thead","tbody"]),ddtTags=new Set(["dd","dt"]),rtpTags=new Set(["rt","rp"]),openImpliesClose=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",pTag],["h1",pTag],["h2",pTag],["h3",pTag],["h4",pTag],["h5",pTag],["h6",pTag],["select",formTags],["input",formTags],["output",formTags],["button",formTags],["datalist",formTags],["textarea",formTags],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",ddtTags],["dt",ddtTags],["address",pTag],["article",pTag],["aside",pTag],["blockquote",pTag],["details",pTag],["div",pTag],["dl",pTag],["fieldset",pTag],["figcaption",pTag],["figure",pTag],["footer",pTag],["form",pTag],["header",pTag],["hr",pTag],["main",pTag],["nav",pTag],["ol",pTag],["pre",pTag],["section",pTag],["table",pTag],["ul",pTag],["rt",rtpTags],["rp",rtpTags],["tbody",tableSectionTags],["tfoot",tableSectionTags]]),voidElements=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),foreignContextElements=new Set(["math","svg"]),htmlIntegrationElements=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),reNameEnd=/\s|\//;let Parser$1=class{constructor(qa,nd={}){var od,ld,ud,dd,pd,fd;this.options=nd,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=qa??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(od=nd.lowerCaseTags)!==null&&od!==void 0?od:this.htmlMode,this.lowerCaseAttributeNames=(ld=nd.lowerCaseAttributeNames)!==null&&ld!==void 0?ld:this.htmlMode,this.recognizeSelfClosing=(ud=nd.recognizeSelfClosing)!==null&&ud!==void 0?ud:!this.htmlMode,this.tokenizer=new((dd=nd.Tokenizer)!==null&&dd!==void 0?dd:Tokenizer)(this.options,this),this.foreignContext=[!this.htmlMode],(fd=(pd=this.cbs).onparserinit)===null||fd===void 0||fd.call(pd,this)}ontext(qa,nd){var od,ld;const ud=this.getSlice(qa,nd);this.endIndex=nd-1,(ld=(od=this.cbs).ontext)===null||ld===void 0||ld.call(od,ud),this.startIndex=nd}ontextentity(qa,nd){var od,ld;this.endIndex=nd-1,(ld=(od=this.cbs).ontext)===null||ld===void 0||ld.call(od,fromCodePoint(qa)),this.startIndex=nd}isVoidElement(qa){return this.htmlMode&&voidElements.has(qa)}onopentagname(qa,nd){this.endIndex=nd;let od=this.getSlice(qa,nd);this.lowerCaseTagNames&&(od=od.toLowerCase()),this.emitOpenTag(od)}emitOpenTag(qa){var nd,od,ld,ud;this.openTagStart=this.startIndex,this.tagname=qa;const dd=this.htmlMode&&openImpliesClose.get(qa);if(dd)for(;this.stack.length>0&&dd.has(this.stack[0]);){const pd=this.stack.shift();(od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,pd,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(ud=(ld=this.cbs).onopentagname)===null||ud===void 0||ud.call(ld,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var nd,od;this.startIndex=this.openTagStart,this.attribs&&((od=(nd=this.cbs).onopentag)===null||od===void 0||od.call(nd,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,nd){var od,ld,ud,dd,pd,fd,md,vd;this.endIndex=nd;let Ad=this.getSlice(qa,nd);if(this.lowerCaseTagNames&&(Ad=Ad.toLowerCase()),this.htmlMode&&(foreignContextElements.has(Ad)||htmlIntegrationElements.has(Ad))&&this.foreignContext.shift(),this.isVoidElement(Ad))this.htmlMode&&Ad==="br"&&((dd=(ud=this.cbs).onopentagname)===null||dd===void 0||dd.call(ud,"br"),(fd=(pd=this.cbs).onopentag)===null||fd===void 0||fd.call(pd,"br",{},!0),(vd=(md=this.cbs).onclosetag)===null||vd===void 0||vd.call(md,"br",!1));else{const Nd=this.stack.indexOf(Ad);if(Nd!==-1)for(let Id=0;Id<=Nd;Id++){const Od=this.stack.shift();(ld=(od=this.cbs).onclosetag)===null||ld===void 0||ld.call(od,Od,Id!==Nd)}else this.htmlMode&&Ad==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=nd+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var nd,od;const ld=this.tagname;this.endOpenTag(qa),this.stack[0]===ld&&((od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,ld,!qa),this.stack.shift())}onattribname(qa,nd){this.startIndex=qa;const od=this.getSlice(qa,nd);this.attribname=this.lowerCaseAttributeNames?od.toLowerCase():od}onattribdata(qa,nd){this.attribvalue+=this.getSlice(qa,nd)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,nd){var od,ld;this.endIndex=nd,(ld=(od=this.cbs).onattribute)===null||ld===void 0||ld.call(od,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const nd=qa.search(reNameEnd);let od=nd<0?qa:qa.substr(0,nd);return this.lowerCaseTagNames&&(od=od.toLowerCase()),od}ondeclaration(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`!${ld}`,`!${od}`)}this.startIndex=nd+1}onprocessinginstruction(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`?${ld}`,`?${od}`)}this.startIndex=nd+1}oncomment(qa,nd,od){var ld,ud,dd,pd;this.endIndex=nd,(ud=(ld=this.cbs).oncomment)===null||ud===void 0||ud.call(ld,this.getSlice(qa,nd-od)),(pd=(dd=this.cbs).oncommentend)===null||pd===void 0||pd.call(dd),this.startIndex=nd+1}oncdata(qa,nd,od){var ld,ud,dd,pd,fd,md,vd,Ad,Nd,Id;this.endIndex=nd;const Od=this.getSlice(qa,nd-od);!this.htmlMode||this.options.recognizeCDATA?((ud=(ld=this.cbs).oncdatastart)===null||ud===void 0||ud.call(ld),(pd=(dd=this.cbs).ontext)===null||pd===void 0||pd.call(dd,Od),(md=(fd=this.cbs).oncdataend)===null||md===void 0||md.call(fd)):((Ad=(vd=this.cbs).oncomment)===null||Ad===void 0||Ad.call(vd,`[CDATA[${Od}]]`),(Id=(Nd=this.cbs).oncommentend)===null||Id===void 0||Id.call(Nd)),this.startIndex=nd+1}onend(){var qa,nd;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let od=0;od<this.stack.length;od++)this.cbs.onclosetag(this.stack[od],!0)}(nd=(qa=this.cbs).onend)===null||nd===void 0||nd.call(qa)}reset(){var qa,nd,od,ld;(nd=(qa=this.cbs).onreset)===null||nd===void 0||nd.call(qa),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(ld=(od=this.cbs).onparserinit)===null||ld===void 0||ld.call(od,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(qa){this.reset(),this.end(qa)}getSlice(qa,nd){for(;qa-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let od=this.buffers[0].slice(qa-this.bufferOffset,nd-this.bufferOffset);for(;nd-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),od+=this.buffers[0].slice(0,nd-this.bufferOffset);return od}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(qa){this.write(qa)}done(qa){this.end(qa)}};function parseDocument(Ra,qa){const nd=new DomHandler(void 0,qa);return new Parser$1(nd,qa).end(Ra),nd.root}const parse$3=getParse((Ra,qa,nd,od)=>qa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,nd,od)),load$2=getLoad(parse$3,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$2=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$2,merge:merge$3},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$2);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var nd={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=od;function od(ud){return ld.bind(null,ud)}function ld(ud){var dd=[].slice.call(arguments,1);dd.unshift("["+ud+"]"),nd.stderr.write(dd.join(" ")+`
|
||
`)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=nd;function nd(od){var ld="",ud,dd=0,pd=-1,fd=0,md=1,vd="before-selector",Ad=[vd],Nd={},Id=[],Od=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function Md(){return gf(),od[pd]}function Ud(Df){return Df?Ad[Ad.length-1-Df]:vd}function jd(Df){var jf=pd+1;return Df===od.slice(jf,jf+Df.length)}function Ld(Df){var jf=od.slice(pd).indexOf(Df);return jf>0?jf:!1}function Bd(Df){return Df===Gd(1)}function Gd(Df){return od[pd+(Df||1)]}function qd(){var Df=Ad.pop();return vd=Ad[Ad.length-1],Df}function zd(Df){return vd=Df,Ad.push(vd),Ad.length}function Xd(Df){var jf=vd;return Ad[Ad.length-1]=vd=Df,jf}function gf(Df){if((Df||1)==1)od[pd]==`
|
||
`?(md++,dd=1):dd++,pd++;else{var jf=od.slice(pd,pd+Df).split(`
|
||
`);jf.length>1&&(md+=jf.length-1,dd=1),dd+=jf[jf.length-1].length,pd=pd+Df}}function Yd(){Nd.end={line:md,col:dd},Id.push(Nd),ld="",Nd={}}function Zd(Df){Nd={type:Df,start:{line:md,col:dd}}}for(;ud=Md();)switch(ud){case" ":switch(Ud()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":ld+=ud;break}break;case`
|
||
`:case" ":case"\r":case"\f":switch(Ud()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":ld+=ud;break;case"at-value":ud===`
|
||
`&&(Nd.value=ld.trim(),Yd(),qd());break}break;case":":switch(Ud()){case"name":Nd.name=ld.trim(),ld="",Xd("before-value");break;case"before-selector":ld+=ud,Zd("selector"),zd("selector");break;case"before-value":Xd("value"),ld+=ud;break;default:ld+=ud;break}break;case";":switch(Ud()){case"name":case"before-value":case"value":ld.trim().length>0&&(Nd.value=ld.trim(),Yd()),Xd("before-name");break;case"value-paren":ld+=ud;break;case"at-value":Nd.value=ld.trim(),Yd(),qd();break;case"before-name":break;default:ld+=ud;break}break;case"{":switch(Ud()){case"selector":if(Gd(-1)==="\\"){ld+=ud;break}Nd.text=ld.trim(),Yd(),Xd("before-name"),fd=fd+1;break;case"at-group":switch(Nd.name=ld.trim(),Nd.type){case"font-face":case"viewport":case"page":zd("before-name");break;default:zd("before-selector")}Yd(),fd=fd+1;break;case"name":case"at-rule":Nd.name=ld.trim(),Yd(),zd("before-name"),fd=fd+1;break;case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Xd("value"),ld+=ud;break}break;case"}":switch(Ud()){case"before-name":case"name":case"before-value":case"value":ld&&(Nd.value=ld.trim()),Nd.name&&Nd.value&&Yd(),Zd("end"),Yd(),qd(),Ud()==="at-group"&&(Zd("at-group-end"),Yd(),qd()),fd>0&&(fd=fd-1);break;case"at-group":case"before-selector":case"selector":if(Gd(-1)==="\\"){ld+=ud;break}fd>0&&Ud(1)==="at-group"&&(Zd("at-group-end"),Yd()),fd>1&&qd(),fd>0&&(fd=fd-1);break;case"double-string":case"single-string":case"comment":ld+=ud;break}break;case'"':case"'":switch(Ud()){case"double-string":ud==='"'&&Gd(-1)!=="\\"&&qd();break;case"single-string":ud==="'"&&Gd(-1)!=="\\"&&qd();break;case"before-at-value":Xd("at-value"),zd(ud==='"'?"double-string":"single-string");break;case"before-value":Xd("value"),zd(ud==='"'?"double-string":"single-string");break;case"comment":break;default:Gd(-1)!=="\\"&&zd(ud==='"'?"double-string":"single-string")}ld+=ud;break;case"/":switch(Ud()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":case"selector":case"name":case"value":if(Bd("*")){var df=Ld("*/");df&&gf(df+1)}else Ud()=="before-value"&&Xd("value"),ld+=ud;break;default:Bd("*")?(Zd("comment"),zd("comment"),gf()):ld+=ud;break}break;case"*":switch(Ud()){case"comment":Bd("/")?(Nd.text=ld,gf(),Yd(),qd()):ld+=ud;break;case"before-selector":ld+=ud,Zd("selector"),zd("selector");break;case"before-value":Xd("value"),ld+=ud;break;default:ld+=ud}break;case"@":switch(Ud()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Xd("value"),ld+=ud;break;default:for(var Ef=!1,_f,xf,vf=0,Af=Od.length;!Ef&&vf<Af;++vf)xf=Od[vf],_f=xf.name||xf,jd(_f)&&(Ef=!0,Zd(_f),zd(xf.state||"at-group"),gf(_f.length),xf.prefix&&(Nd.prefix=xf.prefix),xf.type&&(Nd.type=xf.type));Ef||(ld+=ud);break}break;case"(":switch(Ud()){case"value":zd("value-paren");break;case"before-value":Xd("value");break}ld+=ud;break;case")":switch(Ud()){case"value-paren":qd();break;case"before-value":Xd("value");break}ld+=ud;break;default:switch(Ud()){case"before-selector":Zd("selector"),zd("selector");break;case"before-name":Zd("property"),Xd("name");break;case"before-value":Xd("value");break;case"before-at-value":Xd("at-value");break}ld+=ud;break}return Id}})(lexer);var lexerExports=lexer.exports,parser$2={exports:{}};(function(Ra,qa){debugExports("parse");var nd=lexerExports;Ra.exports=pd;var od,ld,ud,dd;function pd(qd,zd){zd||(zd={}),od=!!zd.comments,ud=!!zd.position,ld=0,dd=Array.isArray(qd)?qd.slice():nd(qd);for(var Xd,gf=[],Yd;Yd=md();)Xd=jd(Yd),Xd&&gf.push(Xd);return{type:"stylesheet",stylesheet:{rules:gf}}}function fd(qd,zd){zd||(zd={});for(var Xd,gf=["type","name","value"],Yd={},Zd=0;Zd<gf.length;++Zd)Xd=gf[Zd],qd[Xd]&&(Yd[Xd]=zd[Xd]||qd[Xd]);for(gf=Object.keys(zd),Zd=0;Zd<gf.length;++Zd)Xd=gf[Zd],Yd[Xd]||(Yd[Xd]=zd[Xd]);return ud&&(Yd.position={start:qd.start,end:qd.end}),Yd}function md(){var qd=dd.shift();return qd}function vd(qd){ld=ld+1;var zd={};switch(qd.type){case"font-face":case"viewport":zd.declarations=Bd();break;case"page":zd.prefix=qd.prefix,zd.declarations=Bd();break;default:zd.prefix=qd.prefix,zd.rules=Gd()}return fd(qd,zd)}function Ad(qd){return fd(qd)}function Nd(qd){return fd(qd)}function Id(qd){return fd(qd,{text:qd.text})}function Od(qd){return fd(qd)}function Md(qd){return fd(qd)}function Ud(qd){function zd(Xd){return Xd.trim()}return fd(qd,{type:"rule",selectors:qd.text.split(",").map(zd),declarations:Bd()})}function jd(qd){switch(qd.type){case"property":return Md(qd);case"selector":return Ud(qd);case"at-group-end":ld=ld-1;return;case"media":case"keyframes":return vd(qd);case"comment":if(od)return Id(qd);break;case"charset":return Nd(qd);case"import":return Ad(qd);case"namespace":return Od(qd);case"font-face":case"supports":case"viewport":case"document":case"page":return vd(qd)}}function Ld(qd){for(var zd,Xd=[],gf;(gf=md())&&qd&&qd(gf);)zd=jd(gf),zd&&Xd.push(zd);return gf&&gf.type!=="end"&&dd.unshift(gf),Xd}function Bd(){return Ld(function(qd){return qd.type==="property"||qd.type==="comment"})}function Gd(){return Ld(function(){return ld})}})(parser$2);var parserExports=parser$2.exports,stringify$2={exports:{}};(function(Ra,qa){debugExports("stringify");var nd,od,ld,ud,dd,pd;Ra.exports=fd;function fd(Gd,qd){qd||(qd={}),ld=qd.indentation||"",od=!!qd.compress,nd=!!qd.comments,ud=1,od?dd=pd="":(dd=`
|
||
`,pd=" ");var zd=Od(Gd.stylesheet.rules,Ld).join(`
|
||
`).trim();return zd}function md(Gd){if(Gd){ud+=Gd;return}return od?"":Array(ud).join(ld||"")}function vd(Gd){return"@"+Gd.type+" "+Gd.value+";"+dd}function Ad(Gd){var qd="",zd=Gd.prefix||"";Gd.name&&(qd=" "+Gd.name);var Xd=Gd.type!=="page";return"@"+zd+Gd.type+qd+pd+Md(Gd,Xd)+dd}function Nd(Gd){return nd?"/*"+(Gd.text||"")+"*/"+dd:""}function Id(Gd){var qd;return Gd.selectors?qd=Gd.selectors.join(","+dd):(qd="@"+Gd.type,qd+=Gd.name?" "+Gd.name:""),md()+qd+pd+Md(Gd)+dd}function Od(Gd,qd){return Gd.reduce(function(zd,Xd){var gf=Xd.type==="comment"?Nd(Xd):qd(Xd);return gf&&zd.push(gf),zd},[])}function Md(Gd,qd){var zd=Gd.declarations,Xd=jd;return Gd.rules&&(zd=Gd.rules,Xd=Id),zd=Ud(zd,Xd),zd&&(zd=dd+zd+(qd?"":dd)),"{"+zd+md()+"}"}function Ud(Gd,qd){if(!Gd)return"";md(1);var zd=Od(Gd,qd);return md(-1),zd.length?zd.join(dd):""}function jd(Gd){if(Gd.type==="property")return Bd(Gd)}function Ld(Gd){switch(Gd.type){case"rule":return Id(Gd);case"media":case"keyframes":return Ad(Gd);case"comment":return Nd(Gd);case"import":case"charset":case"namespace":return vd(Gd);case"font-face":case"supports":case"viewport":case"document":case"page":return Ad(Gd)}}function Bd(Gd){var qd=Gd.name?Gd.name+":"+pd:"";return md()+qd+Gd.value+";"}})(stringify$2);var stringifyExports=stringify$2.exports,mensch={lex:lexerExports,parse:parserExports,stringify:stringifyExports},selector$1={exports:{}},escapeRe=/([-.*+?^${}()|[\]\/\\])/g,unescapeRe=/\\/g,escape$5=function(Ra){return(Ra+"").replace(escapeRe,"\\$1")},unescape$2=function(Ra){return(Ra+"").replace(unescapeRe,"")},slickRe=RegExp(`^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:(["']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:(["'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)`.replace(/<combinator>/,"["+escape$5(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(qa){this.combinator=qa||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var Ra="",qa,nd;if(Ra+=this.tag||"*",this.id&&(Ra+="#"+this.id),this.classes&&(Ra+="."+this.classList.join(".")),this.attributes)for(qa=0;nd=this.attributes[qa++];)Ra+="["+nd.name+(nd.operator?nd.operator+'"'+nd.value+'"':"")+"]";if(this.pseudos)for(qa=0;nd=this.pseudos[qa++];)Ra+=":"+nd.name,nd.value&&(Ra+="("+nd.value+")");this.raw=Ra}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var Ra="",qa=0,nd;nd=this[qa++];)qa!==1&&(Ra+=" "),nd.combinator!==" "&&(Ra+=nd.combinator+" "),Ra+=nd;this.raw=Ra}return this.raw};var replacer=function(Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Id,Od,Md){var Ud,jd;if((qa||!this.length)&&(Ud=this[this.length++]=new Expression,qa))return"";if(Ud||(Ud=this[this.length-1]),(nd||od||!Ud.length)&&(jd=Ud[Ud.length++]=new Part(nd)),jd||(jd=Ud[Ud.length-1]),ld)jd.tag=unescape$2(ld);else if(ud)jd.id=unescape$2(ud);else if(dd){var Ld=unescape$2(dd),Bd=jd.classes||(jd.classes={});if(!Bd[Ld]){Bd[Ld]=escape$5(dd);var Gd=jd.classList||(jd.classList=[]);Gd.push(Ld),Gd.sort()}}else Nd?(Md=Md||Od,(jd.pseudos||(jd.pseudos=[])).push({type:Ad.length==1?"class":"element",name:unescape$2(Nd),escapedName:escape$5(Nd),value:Md?unescape$2(Md):null,escapedValue:Md?escape$5(Md):null})):pd&&(vd=vd?escape$5(vd):null,(jd.attributes||(jd.attributes=[])).push({operator:fd,name:unescape$2(pd),escapedName:escape$5(pd),value:vd?unescape$2(vd):null,escapedValue:vd?escape$5(vd):null}));return""},Expressions=function(qa){this.length=0;for(var nd=this,od=qa,ld;qa;){if(ld=qa.replace(slickRe,function(){return replacer.apply(nd,arguments)}),ld===qa)throw new Error(od+" is an invalid expression");qa=ld}};Expressions.prototype.toString=function(){if(!this.raw){for(var Ra=[],qa=0,nd;nd=this[qa++];)Ra.push(nd);this.raw=Ra.join(", ")}return this.raw};var cache$2={},parse$2=function(Ra){return Ra==null?null:(Ra=(""+Ra).replace(/^\s+|\s+$/g,""),cache$2[Ra]||(cache$2[Ra]=new Expressions(Ra)))},parser$1=parse$2;(function(Ra,qa){var nd=parser$1;Ra.exports=od;function od(ud,dd){this.text=ud,this.spec=void 0,this.styleAttribute=dd||!1}od.prototype.parsed=function(){return this.tokens||(this.tokens=ld(this.text)),this.tokens},od.prototype.specificity=function(){var ud=this.styleAttribute;return this.spec||(this.spec=dd(this.text,this.parsed())),this.spec;function dd(pd,fd){for(var md=fd||ld(pd),vd=[ud?1:0,0,0,0],Ad=[],Nd=0;Nd<md.length;Nd++){var Id=md[Nd],Od=Id.pseudos;if(Id.id&&vd[1]++,Id.attributes&&(vd[2]+=Id.attributes.length),Id.classList&&(vd[2]+=Id.classList.length),Id.tag&&Id.tag!=="*"&&vd[3]++,Od){vd[3]+=Od.length;for(var Md=0;Md<Od.length;Md++)Od[Md].name==="not"&&(Ad.push(Od[Md].value),vd[3]--)}}for(var Ud=Ad.length;Ud--;)for(var jd=dd(Ad[Ud]),Ld=4;Ld--;)vd[Ld]+=jd[Ld];return vd}};function ld(ud){try{return nd(ud)[0]}catch{return[]}}})(selector$1);var selectorExports=selector$1.exports,property={exports:{}},hasRequiredProperty;function requireProperty(){return hasRequiredProperty||(hasRequiredProperty=1,function(Ra,qa){Ra.exports=od;var nd=requireUtils$1();function od(ld,ud,dd,pd,fd){this.prop=ld,this.value=ud,this.selector=dd,this.priority=pd||0,this.additionalPriority=fd||[]}od.prototype.compareFunc=function(ld){var ud=[];ud.push.apply(ud,this.selector.specificity()),ud.push.apply(ud,this.additionalPriority),ud[0]+=this.priority;var dd=[];return dd.push.apply(dd,ld.selector.specificity()),dd.push.apply(dd,ld.additionalPriority),dd[0]+=ld.priority,nd.compareFunc(ud,dd)},od.prototype.compare=function(ld){var ud=this.compareFunc(ld);return ud===1?this:ld},od.prototype.toString=function(){return this.prop+": "+this.value.replace(/['"]+/g,"")+";"}}(property)),property.exports}var hasRequiredUtils$1;function requireUtils$1(){return hasRequiredUtils$1||(hasRequiredUtils$1=1,function(Ra){var qa=mensch,nd=selectorExports,od=requireProperty();Ra.Selector=nd,Ra.Property=od;/**
|
||
* Returns an array of the selectors.
|
||
*
|
||
* @license Sizzle CSS Selector Engine - MIT
|
||
* @param {String} selectorText from mensch
|
||
* @api public
|
||
*/Ra.extract=function(ud){for(var dd=0,pd=[],fd="",md=0,vd=ud.length;md<vd;md++){var Ad=ud.charAt(md);dd?((Ad==="]"||Ad===")")&&dd--,fd+=Ad):Ad===","?(pd.push(fd),fd=""):((Ad==="["||Ad==="(")&&dd++,(fd.length||Ad!==","&&Ad!==`
|
||
`&&Ad!==" ")&&(fd+=Ad))}return fd.length&&pd.push(fd),pd},Ra.parseCSS=function(ld){for(var ud=qa.parse(ld,{position:!0,comments:!0}),dd=typeof ud.stylesheet<"u"&&ud.stylesheet.rules?ud.stylesheet.rules:[],pd=[],fd=0,md=dd.length;fd<md;fd++)if(dd[fd].type=="rule")for(var vd=dd[fd],Ad=vd.selectors,Nd=0,Id=Ad.length;Nd<Id;Nd++)pd.push([Ad[Nd],vd.declarations]);return pd},Ra.getPreservedText=function(ld,ud,dd){for(var pd=qa.parse(ld,{position:!0,comments:!0}),fd=typeof pd.stylesheet<"u"&&pd.stylesheet.rules?pd.stylesheet.rules:[],md=[],vd=fd.length-1;vd>=0;vd--)(ud.fontFaces&&fd[vd].type==="font-face"||ud.mediaQueries&&fd[vd].type==="media"||ud.keyFrames&&fd[vd].type==="keyframes"||ud.pseudos&&fd[vd].selectors&&this.matchesPseudo(fd[vd].selectors[0],dd))&&md.unshift(qa.stringify({stylesheet:{rules:[fd[vd]]}},{comments:!1,indentation:" "})),fd[vd].position.start;return md.length===0?!1:`
|
||
`+md.join(`
|
||
`)+`
|
||
`},Ra.normalizeLineEndings=function(ld){return ld.replace(/\r\n/g,`
|
||
`).replace(/\n/g,`\r
|
||
`)},Ra.matchesPseudo=function(ld,ud){return ud.find(function(dd){return ld.indexOf(dd)>-1})},Ra.compareFunc=function(ld,ud){for(var dd=Math.min(ld.length,ud.length),pd=0;pd<dd;pd++)if(ld[pd]!==ud[pd])return ld[pd]>ud[pd]?1:-1;return ld.length-ud.length},Ra.compare=function(ld,ud){return Ra.compareFunc(ld,ud)==1?ld:ud},Ra.getDefaultOptions=function(ld){var ud=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,resolveCSSVariables:!0,url:""},ld);return ud.webResources=ud.webResources||{},ud}}(utils$4)),utils$4}(function(Ra){var qa=require$$0$2;requireUtils$1();var nd=function(ld,ud,dd){const{xmlMode:pd,...fd}=ud;return ud=Object.assign({xml:{decodeEntities:!1,xmlMode:pd}},fd),ld=dd(ld),qa.load(ld,ud)},od=function(){var ld=[],ud=function(pd){var fd=Ra.exports.codeBlocks;return Object.keys(fd).forEach(function(md){var vd=new RegExp(fd[md].start+"([\\S\\s]*?)"+fd[md].end,"g");pd=pd.replace(vd,function(Ad,Nd){return ld.push(Ad),"JUICE_CODE_BLOCK_"+(ld.length-1)+"_"})}),pd},dd=function(pd){for(var fd=0;fd<ld.length;fd++){var md=new RegExp("JUICE_CODE_BLOCK_"+fd+'_(="")?',"gi");pd=pd.replace(md,function(){return ld[fd]})}return pd};return{encodeEntities:ud,decodeEntities:dd}};Ra.exports=function(ld,ud,dd,pd){var fd=od(),md=nd(ld,ud,fd.encodeEntities),vd=[md];vd.push.apply(vd,pd);var Ad=dd.apply(void 0,vd)||md;return ud&&ud.xmlMode?fd.decodeEntities(Ad.xml()):fd.decodeEntities(Ad.html())},Ra.exports.codeBlocks={EJS:{start:"<%",end:"%>"},HBS:{start:"{{",end:"}}"}}})(cheerio$1);var cheerioExports=cheerio$1.exports,numbers$1={};numbers$1.romanize=function(Ra){if(isNaN(Ra))return NaN;for(var qa=String(+Ra).split(""),nd=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],od="",ld=3;ld--;)od=(nd[+qa.pop()+ld*10]||"")+od;return Array(+qa.join("")+1).join("M")+od};numbers$1.alphanumeric=function(Ra){for(var qa="",nd;Ra>0;)nd=(Ra-1)%26,qa=String.fromCharCode(65+nd)+qa,Ra=(Ra-nd)/26|0;return qa||void 0};const uniqueString=Ra=>{let qa="";do qa=(Math.random()+1).toString(36).substring(2);while(Ra.indexOf(qa)!==-1);return qa},replaceVariables=(Ra,qa)=>{let nd=/([a-z\-]+)\s*\(\s*([^\(\)]*?)\s*(?:,\s*([^\(\)]*?)\s*)?\s*\)/i,od=[],ld,ud=uniqueString(qa);for(;(ld=nd.exec(qa))!==null;){let pd=`${od.length}`;if(ld[1].toLowerCase()=="var"){const md=findVariableValue(Ra,ld[2]);if(md){qa=qa.replace(ld[0],md);continue}if(ld[3]){qa=qa.replace(ld[0],ld[3]);continue}}let fd=`${ud}${pd.padStart(5,"-")}`;qa=qa.replace(ld[0],fd),od.push({placeholder:fd,replace:ld[0]})}for(var dd=od.length-1;dd>=0;dd--){const pd=od[dd];qa=qa.replace(pd.placeholder,pd.replace)}return qa},findVariableValue=(Ra,qa)=>{for(;Ra;){if(Ra.styleProps&&qa in Ra.styleProps)return Ra.styleProps[qa].value;var Ra=Ra.pseudoElementParent||Ra.parent}};var variables$1={replaceVariables,findVariableValue},utils$3=requireUtils$1(),numbers=numbers$1,variables=variables$1,inline$2=function(qa){qa.ignoredPseudos=["hover","active","focus","visited","link"],qa.widthElements=["TABLE","TD","TH","IMG"],qa.heightElements=["TABLE","TD","TH","IMG"],qa.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],qa.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],qa.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},qa.excludedProperties=[],qa.juiceDocument=md,qa.inlineDocument=nd;function nd(Nd,Id,Od){Od=Od||{};var Md=utils$3.parseCSS(Id),Ud=[],jd="style",Ld={};if(Od.styleAttributeName&&(jd=Od.styleAttributeName),Md.forEach(qd),Ud.forEach(zd),Od.inlinePseudoElements&&Ud.forEach(Xd),Od.applyWidthAttributes&&Ud.forEach(function(df){gf(df,"width")}),Od.applyHeightAttributes&&Ud.forEach(function(df){gf(df,"height")}),Od.applyAttributesTableElements&&Ud.forEach(Zd),Od.insertPreservedExtraCss&&Od.extraCss){var Bd=utils$3.getPreservedText(Od.extraCss,{mediaQueries:Od.preserveMediaQueries,fontFaces:Od.preserveFontFaces,keyFrames:Od.preserveKeyFrames});if(Bd){var Gd=null;Od.insertPreservedExtraCss!==!0?Gd=Nd(Od.insertPreservedExtraCss):(Gd=Nd("head"),Gd.length||(Gd=Nd("body")),Gd.length||(Gd=Nd.root())),Gd.first().append("<style>"+Bd+"</style>")}}function qd(df){var Ef=df[0],_f=df[1],xf=new utils$3.Selector(Ef),vf=xf.parsed();if(vf){for(var Af=dd(vf),Df=0;Df<vf.length;++Df){var jf=vf[Df];if(jf.pseudos)for(var Jf=0;Jf<jf.pseudos.length;++Jf){var eh=jf.pseudos[Jf];if(qa.ignoredPseudos.indexOf(eh.name)>=0)return}}if(Af){var th=vf[vf.length-1],Uf=th.pseudos;th.pseudos=fd(th.pseudos),Ef=vf.toString(),th.pseudos=Uf}var Of;try{Of=Nd(Ef)}catch{return}Of.each(function(){var Wf=this;if(Wf.name&&qa.nonVisualElements.indexOf(Wf.name.toUpperCase())>=0)return;if(Wf.counterProps||(Wf.counterProps=Wf.parent&&Wf.parent.counterProps?Object.create(Wf.parent.counterProps):{}),Af){var qf="pseudo"+Af,zf=Wf[qf];zf||(zf=Wf[qf]=Nd("<span />").get(0),zf.pseudoElementType=Af,zf.pseudoElementParent=Wf,zf.counterProps=Wf.counterProps,Wf[qf]=zf),Wf=zf}if(!Wf.styleProps){if(Wf.styleProps={},Nd(Wf).attr(jd)){var Tf="* { "+Nd(Wf).attr(jd)+" } ";ih(utils$3.parseCSS(Tf)[0][1],new utils$3.Selector("<style>",!0))}Ud.push(Wf)}function Sf(Th,sh){for(var Nf=sh.split(/\s+/),ph=0;ph<Nf.length;ph++){var Oh=Nf[ph],Zf=parseInt(Nf[ph+1],10);isNaN(Zf)?Th.counterProps[Oh]=Ld[Oh]=0:Th.counterProps[Oh]=Ld[Nf[ph++]]=Zf}}function Yf(Th,sh){for(var Nf=sh.split(/\s+/),ph=0;ph<Nf.length;ph++){var Oh=Nf[ph];if(Th.counterProps[Oh]!==void 0){var Zf=parseInt(Nf[ph+1],10);isNaN(Zf)?Th.counterProps[Oh]=Ld[Oh]+=1:Th.counterProps[Oh]=Ld[Nf[ph++]]+=Zf}}}function ih(Th,sh){for(var Nf=0,ph=Th.length;Nf<ph;Nf++)if(Th[Nf].type=="property"){var Oh=Th[Nf].name,Zf=Th[Nf].value;Oh==="counter-reset"&&Sf(Wf,Zf),Oh==="counter-increment"&&Yf(Wf,Zf);var Rf=Zf.match(/!important$/)!==null;Rf&&!Od.preserveImportant&&(Zf=od(Zf));var Bf=[Th[Nf].position.start.line,Th[Nf].position.start.col],Kf=new utils$3.Property(Oh,Zf,sh,Rf?2:0,Bf),wh=Wf.styleProps[Oh];qa.excludedProperties.indexOf(Oh)<0&&(wh&&wh.compare(Kf)===Kf||!wh)&&(wh&&wh.selector!==sh?delete Wf.styleProps[Oh]:wh&&(Kf.nextProp=wh),Wf.styleProps[Oh]=Kf)}}ih(_f,xf)})}}function zd(df){Object.keys(df.styleProps).length;var Ef=[];Object.keys(df.styleProps).forEach(function(xf){for(var vf=df.styleProps[xf];typeof vf<"u";)Ef.push(vf),vf=vf.nextProp}),Ef.sort(function(xf,vf){return xf.compareFunc(vf)});var _f=Ef.filter(function(xf){return Od.resolveCSSVariables&&xf.prop.indexOf("--")===0?!1:xf.prop!=="content"}).map(function(xf){return Od.resolveCSSVariables&&(xf.value=variables.replaceVariables(df,xf.value)),xf.prop+": "+xf.value.replace(/["]/g,"'")+";"}).join(" ");_f&&Nd(df).attr(jd,_f)}function Xd(df){if(df.pseudoElementType&&df.styleProps.content){var Ef=ud(df);Ef.img?(df.name="img",Nd(df).attr("src",Ef.img)):Nd(df).text(Ef);var _f=df.pseudoElementParent;df.pseudoElementType==="before"?Nd(_f).prepend(df):Nd(_f).append(df)}}function gf(df,Ef){if(df.name){var _f=df.name.toUpperCase();if(qa[Ef+"Elements"].indexOf(_f)>-1){for(var xf in df.styleProps)if(df.styleProps[xf].prop===Ef){var vf=df.styleProps[xf].value;if(Od.preserveImportant&&(vf=od(vf)),vf.match(/(px|auto)/)){var Af=vf.replace("px","");Nd(df).attr(Ef,Af);return}if(qa.tableElements.indexOf(_f)>-1&&vf.match(/\%/)){Nd(df).attr(Ef,vf);return}}}}}function Yd(df){return df.indexOf("url(")!==0?df:df.replace(/^url\((["'])?([^"']+)\1\)$/,"$2")}function Zd(df){if(df.name){var Ef=df.name.toUpperCase(),_f=Object.keys(qa.styleToAttribute);if(qa.tableElements.indexOf(Ef)>-1){for(var xf in df.styleProps)if(_f.indexOf(df.styleProps[xf].prop)>-1){var vf=qa.styleToAttribute[df.styleProps[xf].prop],Af=df.styleProps[xf].value;if(Od.preserveImportant&&(Af=od(Af)),vf==="background"&&(Af=Yd(Af)),/(linear|radial)-gradient\(/i.test(Af))continue;Nd(df).attr(vf,Af)}}}}}function od(Nd){return Nd.replace(/\s*!important$/,"")}function ld(Nd,Id){switch(Id){case"lower-roman":return numbers.romanize(Nd).toLowerCase();case"upper-roman":return numbers.romanize(Nd);case"lower-latin":case"lower-alpha":return numbers.alphanumeric(Nd).toLowerCase();case"upper-latin":case"upper-alpha":return numbers.alphanumeric(Nd);default:return Nd.toString()}}function ud(Nd){var Id=Nd.styleProps.content.value;if(Id==="none"||Id==="normal")return"";var Od=Id.match(/^\s*url\s*\(\s*(.*?)\s*\)\s*$/i);if(Od){var Md=Od[1].replace(/^['"]|['"]$/g,"");return{img:Md}}for(var Ud=[],jd=Id.split(/['"]/),Ld=0;Ld<jd.length;Ld++)if(jd[Ld]!==""){var Bd=jd[Ld].match(/var\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(Bd){var Gd=variables.findVariableValue(Nd,Bd[1])||Bd[2];Ud.push(Gd.replace(/^['"]|['"]$/g,""));continue}var qd=jd[Ld].match(/counter\s*\(\s*(.*?)\s*(,\s*(.*?)\s*)?\s*\)/i);if(qd&&qd[1]in Nd.counterProps){var zd=Nd.counterProps[qd[1]];Ud.push(ld(zd,qd[3]));continue}var Xd=jd[Ld].match(/attr\s*\(\s*(.*?)\s*\)/i);if(Xd){var gf=Xd[1];Ud.push(Nd.pseudoElementParent?Nd.pseudoElementParent.attribs[gf]:Nd.attribs[gf]);continue}Ud.push(jd[Ld])}return Id=Ud.join(""),Id=Id.replace(/\\/g,""),Id}function dd(Nd){if(Nd.length!==0){var Id=Nd[Nd.length-1].pseudos;if(Id){for(var Od=0;Od<Id.length;Od++)if(pd(Id[Od]))return Id[Od].name}}}function pd(Nd){return Nd.name==="before"||Nd.name==="after"}function fd(Nd){return Nd.filter(function(Id){return!pd(Id)})}function md(Nd,Id){Id=utils$3.getDefaultOptions(Id);var Od=Ad(Nd,Id);return Od+=`
|
||
`+Id.extraCss,nd(Nd,Od,Id),Nd}function vd(Nd,Id){var Od=[],Md=Nd("style"),Ud,jd,Ld;return Md.each(function(){if(Ld=this,Ud=Ld.childNodes,Ud.length!==1){Id.removeStyleTags&&Nd(Ld).remove();return}if(jd=Ud[0].data,Id.applyStyleTags&&Nd(Ld).attr("data-embed")===void 0&&Od.push(jd),Id.removeStyleTags&&Nd(Ld).attr("data-embed")===void 0){var Bd=Ld.childNodes[0].nodeValue,Gd=utils$3.getPreservedText(Bd,{mediaQueries:Id.preserveMediaQueries,fontFaces:Id.preserveFontFaces,keyFrames:Id.preserveKeyFrames,pseudos:Id.preservePseudos},qa.ignoredPseudos);Gd?Ld.childNodes[0].nodeValue=Gd:Nd(Ld).remove()}Nd(Ld).removeAttr("data-embed")}),Od}function Ad(Nd,Id){var Od=vd(Nd,Id),Md=Od.join(`
|
||
`);return Md}return qa},cheerio=cheerioExports,makeJuiceClient=inline$2,juiceClient=makeJuiceClient(function(Ra,qa){return cheerio(Ra,{xmlMode:qa&&qa.xmlMode},juiceDocument,[qa])}),juiceDocument=function(Ra,qa){return juiceClient.juiceDocument(Ra,qa)};juiceClient.inlineContent=function(Ra,qa,nd){return cheerio(Ra,{xmlMode:nd&&nd.xmlMode},juiceClient.inlineDocument,[qa,nd])};juiceClient.codeBlocks=cheerio.codeBlocks;var client=juiceClient;const juice=getDefaultExportFromCjs(client);var $s$1=Object.create,je$6=Object.defineProperty,Vs$1=Object.getOwnPropertyDescriptor,qs$2=Object.getOwnPropertyNames,zs$1=Object.getPrototypeOf,Ks$2=Object.prototype.hasOwnProperty,Hs$2=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),Ws$1=(Ra,qa)=>{for(var nd in qa)je$6(Ra,nd,{get:qa[nd],enumerable:!0})},Js$1=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of qs$2(qa))!Ks$2.call(Ra,ld)&&ld!==nd&&je$6(Ra,ld,{get:()=>qa[ld],enumerable:!(od=Vs$1(qa,ld))||od.enumerable});return Ra},vt$5=(Ra,qa,nd)=>(nd=Ra!=null?$s$1(zs$1(Ra)):{},Js$1(je$6(nd,"default",{value:Ra,enumerable:!0}),Ra)),At$4=Hs$2(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0});function qa(Wd,Fd){if(Wd==null)return{};var Kd={},yf=Object.keys(Wd),If,uh;for(uh=0;uh<yf.length;uh++)If=yf[uh],!(Fd.indexOf(If)>=0)&&(Kd[If]=Wd[If]);return Kd}var nd=class{constructor(Wd,Fd,Kd){this.line=void 0,this.column=void 0,this.index=void 0,this.line=Wd,this.column=Fd,this.index=Kd}},od=class{constructor(Wd,Fd){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=Wd,this.end=Fd}};function ld(Wd,Fd){let{line:Kd,column:yf,index:If}=Wd;return new nd(Kd,yf+Fd,If+Fd)}var ud="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",dd={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:ud},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:ud}},pd={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},fd=Wd=>Wd.type==="UpdateExpression"?pd.UpdateExpression[`${Wd.prefix}`]:pd[Wd.type],md={AccessorIsGenerator:({kind:Wd})=>`A ${Wd}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:Wd})=>`Missing initializer in ${Wd} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:Wd})=>`\`${Wd}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:Wd})=>`'import.${Wd}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:Wd,exportName:Fd})=>`A string literal cannot be used as an exported binding without \`from\`.
|
||
- Did you mean \`export { '${Wd}' as '${Fd}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:Wd})=>`'${Wd==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:Wd})=>`Unsyntactic ${Wd==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:Wd})=>`A string literal cannot be used as an imported binding.
|
||
- Did you mean \`import { "${Wd}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:Wd})=>`\`import()\` requires exactly ${Wd===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:Wd})=>`Expected number in radix ${Wd}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:Wd})=>`Escape sequence in keyword ${Wd}.`,InvalidIdentifier:({identifierName:Wd})=>`Invalid identifier ${Wd}.`,InvalidLhs:({ancestor:Wd})=>`Invalid left-hand side in ${fd(Wd)}.`,InvalidLhsBinding:({ancestor:Wd})=>`Binding invalid left-hand side in ${fd(Wd)}.`,InvalidLhsOptionalChaining:({ancestor:Wd})=>`Invalid optional chaining in the left-hand side of ${fd(Wd)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:Wd})=>`Unexpected character '${Wd}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:Wd})=>`Private name #${Wd} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:Wd})=>`Label '${Wd}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:Wd})=>`This experimental syntax requires enabling the parser plugin: ${Wd.map(Fd=>JSON.stringify(Fd)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:Wd})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${Wd.map(Fd=>JSON.stringify(Fd)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:Wd})=>`Duplicate key "${Wd}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:Wd})=>`An export name cannot include a lone surrogate, found '\\u${Wd.toString(16)}'.`,ModuleExportUndefined:({localName:Wd})=>`Export '${Wd}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:Wd})=>`Private names are only allowed in property accesses (\`obj.#${Wd}\`) or in \`in\` expressions (\`#${Wd} in obj\`).`,PrivateNameRedeclaration:({identifierName:Wd})=>`Duplicate private name #${Wd}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:Wd})=>`Unexpected keyword '${Wd}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:Wd})=>`Unexpected reserved word '${Wd}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:Wd,unexpected:Fd})=>`Unexpected token${Fd?` '${Fd}'.`:""}${Wd?`, expected "${Wd}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:Wd,onlyValidPropertyName:Fd})=>`The only valid meta property for ${Wd} is ${Wd}.${Fd}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:Wd})=>`Identifier '${Wd}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},vd={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:Wd})=>`Assigning to '${Wd}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:Wd})=>`Binding '${Wd}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Ad=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Nd={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:Wd})=>`Invalid topic token ${Wd}. In order to use ${Wd} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${Wd}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:Wd})=>`Hack-style pipe body cannot be an unparenthesized ${fd({type:Wd})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},Id=["toMessage"],Od=["message"];function Md(Wd,Fd,Kd){Object.defineProperty(Wd,Fd,{enumerable:!1,configurable:!0,value:Kd})}function Ud(Wd){let{toMessage:Fd}=Wd,Kd=qa(Wd,Id);return function yf(If,uh){let xh=new SyntaxError;return Object.assign(xh,Kd,{loc:If,pos:If.index}),"missingPlugin"in uh&&Object.assign(xh,{missingPlugin:uh.missingPlugin}),Md(xh,"clone",function(Vh={}){var fm;let{line:om,column:zm,index:sg}=(fm=Vh.loc)!=null?fm:If;return yf(new nd(om,zm,sg),Object.assign({},uh,Vh.details))}),Md(xh,"details",uh),Object.defineProperty(xh,"message",{configurable:!0,get(){let Vh=`${Fd(uh)} (${If.line}:${If.column})`;return this.message=Vh,Vh},set(Vh){Object.defineProperty(this,"message",{value:Vh,writable:!0})}}),xh}}function jd(Wd,Fd){if(Array.isArray(Wd))return yf=>jd(yf,Wd[0]);let Kd={};for(let yf of Object.keys(Wd)){let If=Wd[yf],uh=typeof If=="string"?{message:()=>If}:typeof If=="function"?{message:If}:If,{message:xh}=uh,Vh=qa(uh,Od),fm=typeof xh=="string"?()=>xh:xh;Kd[yf]=Ud(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:yf,toMessage:fm},Fd?{syntaxPlugin:Fd}:{},Vh))}return Kd}var Ld=Object.assign({},jd(dd),jd(md),jd(vd),jd`pipelineOperator`(Nd)),{defineProperty:Bd}=Object,Gd=(Wd,Fd)=>{Wd&&Bd(Wd,Fd,{enumerable:!1,value:Wd[Fd]})};function qd(Wd){return Gd(Wd.loc.start,"index"),Gd(Wd.loc.end,"index"),Wd}var zd=Wd=>class extends Wd{parse(){let Fd=qd(super.parse());return this.options.tokens&&(Fd.tokens=Fd.tokens.map(qd)),Fd}parseRegExpLiteral({pattern:Fd,flags:Kd}){let yf=null;try{yf=new RegExp(Fd,Kd)}catch{}let If=this.estreeParseLiteral(yf);return If.regex={pattern:Fd,flags:Kd},If}parseBigIntLiteral(Fd){let Kd;try{Kd=BigInt(Fd)}catch{Kd=null}let yf=this.estreeParseLiteral(Kd);return yf.bigint=String(yf.value||Fd),yf}parseDecimalLiteral(Fd){let Kd=this.estreeParseLiteral(null);return Kd.decimal=String(Kd.value||Fd),Kd}estreeParseLiteral(Fd){return this.parseLiteral(Fd,"Literal")}parseStringLiteral(Fd){return this.estreeParseLiteral(Fd)}parseNumericLiteral(Fd){return this.estreeParseLiteral(Fd)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(Fd){return this.estreeParseLiteral(Fd)}directiveToStmt(Fd){let Kd=Fd.value;delete Fd.value,Kd.type="Literal",Kd.raw=Kd.extra.raw,Kd.value=Kd.extra.expressionValue;let yf=Fd;return yf.type="ExpressionStatement",yf.expression=Kd,yf.directive=Kd.extra.rawValue,delete Kd.extra,yf}initFunction(Fd,Kd){super.initFunction(Fd,Kd),Fd.expression=!1}checkDeclaration(Fd){Fd!=null&&this.isObjectProperty(Fd)?this.checkDeclaration(Fd.value):super.checkDeclaration(Fd)}getObjectOrClassMethodParams(Fd){return Fd.value.params}isValidDirective(Fd){var Kd;return Fd.type==="ExpressionStatement"&&Fd.expression.type==="Literal"&&typeof Fd.expression.value=="string"&&!((Kd=Fd.expression.extra)!=null&&Kd.parenthesized)}parseBlockBody(Fd,Kd,yf,If,uh){super.parseBlockBody(Fd,Kd,yf,If,uh);let xh=Fd.directives.map(Vh=>this.directiveToStmt(Vh));Fd.body=xh.concat(Fd.body),delete Fd.directives}pushClassMethod(Fd,Kd,yf,If,uh,xh){this.parseMethod(Kd,yf,If,uh,xh,"ClassMethod",!0),Kd.typeParameters&&(Kd.value.typeParameters=Kd.typeParameters,delete Kd.typeParameters),Fd.body.push(Kd)}parsePrivateName(){let Fd=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(Fd):Fd}convertPrivateNameToPrivateIdentifier(Fd){let Kd=super.getPrivateNameSV(Fd);return Fd=Fd,delete Fd.id,Fd.name=Kd,Fd.type="PrivateIdentifier",Fd}isPrivateName(Fd){return this.getPluginOption("estree","classFeatures")?Fd.type==="PrivateIdentifier":super.isPrivateName(Fd)}getPrivateNameSV(Fd){return this.getPluginOption("estree","classFeatures")?Fd.name:super.getPrivateNameSV(Fd)}parseLiteral(Fd,Kd){let yf=super.parseLiteral(Fd,Kd);return yf.raw=yf.extra.raw,delete yf.extra,yf}parseFunctionBody(Fd,Kd,yf=!1){super.parseFunctionBody(Fd,Kd,yf),Fd.expression=Fd.body.type!=="BlockStatement"}parseMethod(Fd,Kd,yf,If,uh,xh,Vh=!1){let fm=this.startNode();return fm.kind=Fd.kind,fm=super.parseMethod(fm,Kd,yf,If,uh,xh,Vh),fm.type="FunctionExpression",delete fm.kind,Fd.value=fm,xh==="ClassPrivateMethod"&&(Fd.computed=!1),this.finishNode(Fd,"MethodDefinition")}nameIsConstructor(Fd){return Fd.type==="Literal"?Fd.value==="constructor":super.nameIsConstructor(Fd)}parseClassProperty(...Fd){let Kd=super.parseClassProperty(...Fd);return this.getPluginOption("estree","classFeatures")&&(Kd.type="PropertyDefinition"),Kd}parseClassPrivateProperty(...Fd){let Kd=super.parseClassPrivateProperty(...Fd);return this.getPluginOption("estree","classFeatures")&&(Kd.type="PropertyDefinition",Kd.computed=!1),Kd}parseObjectMethod(Fd,Kd,yf,If,uh){let xh=super.parseObjectMethod(Fd,Kd,yf,If,uh);return xh&&(xh.type="Property",xh.kind==="method"&&(xh.kind="init"),xh.shorthand=!1),xh}parseObjectProperty(Fd,Kd,yf,If){let uh=super.parseObjectProperty(Fd,Kd,yf,If);return uh&&(uh.kind="init",uh.type="Property"),uh}isValidLVal(Fd,Kd,yf){return Fd==="Property"?"value":super.isValidLVal(Fd,Kd,yf)}isAssignable(Fd,Kd){return Fd!=null&&this.isObjectProperty(Fd)?this.isAssignable(Fd.value,Kd):super.isAssignable(Fd,Kd)}toAssignable(Fd,Kd=!1){if(Fd!=null&&this.isObjectProperty(Fd)){let{key:yf,value:If}=Fd;this.isPrivateName(yf)&&this.classScope.usePrivateName(this.getPrivateNameSV(yf),yf.loc.start),this.toAssignable(If,Kd)}else super.toAssignable(Fd,Kd)}toAssignableObjectExpressionProp(Fd,Kd,yf){Fd.type==="Property"&&(Fd.kind==="get"||Fd.kind==="set")?this.raise(Ld.PatternHasAccessor,Fd.key):Fd.type==="Property"&&Fd.method?this.raise(Ld.PatternHasMethod,Fd.key):super.toAssignableObjectExpressionProp(Fd,Kd,yf)}finishCallExpression(Fd,Kd){let yf=super.finishCallExpression(Fd,Kd);if(yf.callee.type==="Import"){if(yf.type="ImportExpression",yf.source=yf.arguments[0],this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")){var If,uh;yf.options=(If=yf.arguments[1])!=null?If:null,yf.attributes=(uh=yf.arguments[1])!=null?uh:null}delete yf.arguments,delete yf.callee}return yf}toReferencedArguments(Fd){Fd.type!=="ImportExpression"&&super.toReferencedArguments(Fd)}parseExport(Fd,Kd){let yf=this.state.lastTokStartLoc,If=super.parseExport(Fd,Kd);switch(If.type){case"ExportAllDeclaration":If.exported=null;break;case"ExportNamedDeclaration":If.specifiers.length===1&&If.specifiers[0].type==="ExportNamespaceSpecifier"&&(If.type="ExportAllDeclaration",If.exported=If.specifiers[0].exported,delete If.specifiers);case"ExportDefaultDeclaration":{var uh;let{declaration:xh}=If;(xh==null?void 0:xh.type)==="ClassDeclaration"&&((uh=xh.decorators)==null?void 0:uh.length)>0&&xh.start===If.start&&this.resetStartLocation(If,yf)}break}return If}parseSubscript(Fd,Kd,yf,If){let uh=super.parseSubscript(Fd,Kd,yf,If);if(If.optionalChainMember){if((uh.type==="OptionalMemberExpression"||uh.type==="OptionalCallExpression")&&(uh.type=uh.type.substring(8)),If.stop){let xh=this.startNodeAtNode(uh);return xh.expression=uh,this.finishNode(xh,"ChainExpression")}}else(uh.type==="MemberExpression"||uh.type==="CallExpression")&&(uh.optional=!1);return uh}isOptionalMemberExpression(Fd){return Fd.type==="ChainExpression"?Fd.expression.type==="MemberExpression":super.isOptionalMemberExpression(Fd)}hasPropertyAsPrivateName(Fd){return Fd.type==="ChainExpression"&&(Fd=Fd.expression),super.hasPropertyAsPrivateName(Fd)}isObjectProperty(Fd){return Fd.type==="Property"&&Fd.kind==="init"&&!Fd.method}isObjectMethod(Fd){return Fd.type==="Property"&&(Fd.method||Fd.kind==="get"||Fd.kind==="set")}finishNodeAt(Fd,Kd,yf){return qd(super.finishNodeAt(Fd,Kd,yf))}resetStartLocation(Fd,Kd){super.resetStartLocation(Fd,Kd),qd(Fd)}resetEndLocation(Fd,Kd=this.state.lastTokEndLoc){super.resetEndLocation(Fd,Kd),qd(Fd)}},Xd=class{constructor(Wd,Fd){this.token=void 0,this.preserveSpace=void 0,this.token=Wd,this.preserveSpace=!!Fd}},gf={brace:new Xd("{"),j_oTag:new Xd("<tag"),j_cTag:new Xd("</tag"),j_expr:new Xd("<tag>...</tag>",!0)};gf.template=new Xd("`",!0);var Yd=!0,Zd=!0,df=!0,Ef=!0,_f=!0,xf=!0,vf=class{constructor(Wd,Fd={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=Wd,this.keyword=Fd.keyword,this.beforeExpr=!!Fd.beforeExpr,this.startsExpr=!!Fd.startsExpr,this.rightAssociative=!!Fd.rightAssociative,this.isLoop=!!Fd.isLoop,this.isAssign=!!Fd.isAssign,this.prefix=!!Fd.prefix,this.postfix=!!Fd.postfix,this.binop=Fd.binop!=null?Fd.binop:null,this.updateContext=null}},Af=new Map;function Df(Wd,Fd={}){Fd.keyword=Wd;let Kd=zf(Wd,Fd);return Af.set(Wd,Kd),Kd}function jf(Wd,Fd){return zf(Wd,{beforeExpr:Yd,binop:Fd})}var Jf=-1,eh=[],th=[],Uf=[],Of=[],Wf=[],qf=[];function zf(Wd,Fd={}){var Kd,yf,If,uh;return++Jf,th.push(Wd),Uf.push((Kd=Fd.binop)!=null?Kd:-1),Of.push((yf=Fd.beforeExpr)!=null?yf:!1),Wf.push((If=Fd.startsExpr)!=null?If:!1),qf.push((uh=Fd.prefix)!=null?uh:!1),eh.push(new vf(Wd,Fd)),Jf}function Tf(Wd,Fd={}){var Kd,yf,If,uh;return++Jf,Af.set(Wd,Jf),th.push(Wd),Uf.push((Kd=Fd.binop)!=null?Kd:-1),Of.push((yf=Fd.beforeExpr)!=null?yf:!1),Wf.push((If=Fd.startsExpr)!=null?If:!1),qf.push((uh=Fd.prefix)!=null?uh:!1),eh.push(new vf("name",Fd)),Jf}var Sf={bracketL:zf("[",{beforeExpr:Yd,startsExpr:Zd}),bracketHashL:zf("#[",{beforeExpr:Yd,startsExpr:Zd}),bracketBarL:zf("[|",{beforeExpr:Yd,startsExpr:Zd}),bracketR:zf("]"),bracketBarR:zf("|]"),braceL:zf("{",{beforeExpr:Yd,startsExpr:Zd}),braceBarL:zf("{|",{beforeExpr:Yd,startsExpr:Zd}),braceHashL:zf("#{",{beforeExpr:Yd,startsExpr:Zd}),braceR:zf("}"),braceBarR:zf("|}"),parenL:zf("(",{beforeExpr:Yd,startsExpr:Zd}),parenR:zf(")"),comma:zf(",",{beforeExpr:Yd}),semi:zf(";",{beforeExpr:Yd}),colon:zf(":",{beforeExpr:Yd}),doubleColon:zf("::",{beforeExpr:Yd}),dot:zf("."),question:zf("?",{beforeExpr:Yd}),questionDot:zf("?."),arrow:zf("=>",{beforeExpr:Yd}),template:zf("template"),ellipsis:zf("...",{beforeExpr:Yd}),backQuote:zf("`",{startsExpr:Zd}),dollarBraceL:zf("${",{beforeExpr:Yd,startsExpr:Zd}),templateTail:zf("...`",{startsExpr:Zd}),templateNonTail:zf("...${",{beforeExpr:Yd,startsExpr:Zd}),at:zf("@"),hash:zf("#",{startsExpr:Zd}),interpreterDirective:zf("#!..."),eq:zf("=",{beforeExpr:Yd,isAssign:Ef}),assign:zf("_=",{beforeExpr:Yd,isAssign:Ef}),slashAssign:zf("_=",{beforeExpr:Yd,isAssign:Ef}),xorAssign:zf("_=",{beforeExpr:Yd,isAssign:Ef}),moduloAssign:zf("_=",{beforeExpr:Yd,isAssign:Ef}),incDec:zf("++/--",{prefix:_f,postfix:xf,startsExpr:Zd}),bang:zf("!",{beforeExpr:Yd,prefix:_f,startsExpr:Zd}),tilde:zf("~",{beforeExpr:Yd,prefix:_f,startsExpr:Zd}),doubleCaret:zf("^^",{startsExpr:Zd}),doubleAt:zf("@@",{startsExpr:Zd}),pipeline:jf("|>",0),nullishCoalescing:jf("??",1),logicalOR:jf("||",1),logicalAND:jf("&&",2),bitwiseOR:jf("|",3),bitwiseXOR:jf("^",4),bitwiseAND:jf("&",5),equality:jf("==/!=/===/!==",6),lt:jf("</>/<=/>=",7),gt:jf("</>/<=/>=",7),relational:jf("</>/<=/>=",7),bitShift:jf("<</>>/>>>",8),bitShiftL:jf("<</>>/>>>",8),bitShiftR:jf("<</>>/>>>",8),plusMin:zf("+/-",{beforeExpr:Yd,binop:9,prefix:_f,startsExpr:Zd}),modulo:zf("%",{binop:10,startsExpr:Zd}),star:zf("*",{binop:10}),slash:jf("/",10),exponent:zf("**",{beforeExpr:Yd,binop:11,rightAssociative:!0}),_in:Df("in",{beforeExpr:Yd,binop:7}),_instanceof:Df("instanceof",{beforeExpr:Yd,binop:7}),_break:Df("break"),_case:Df("case",{beforeExpr:Yd}),_catch:Df("catch"),_continue:Df("continue"),_debugger:Df("debugger"),_default:Df("default",{beforeExpr:Yd}),_else:Df("else",{beforeExpr:Yd}),_finally:Df("finally"),_function:Df("function",{startsExpr:Zd}),_if:Df("if"),_return:Df("return",{beforeExpr:Yd}),_switch:Df("switch"),_throw:Df("throw",{beforeExpr:Yd,prefix:_f,startsExpr:Zd}),_try:Df("try"),_var:Df("var"),_const:Df("const"),_with:Df("with"),_new:Df("new",{beforeExpr:Yd,startsExpr:Zd}),_this:Df("this",{startsExpr:Zd}),_super:Df("super",{startsExpr:Zd}),_class:Df("class",{startsExpr:Zd}),_extends:Df("extends",{beforeExpr:Yd}),_export:Df("export"),_import:Df("import",{startsExpr:Zd}),_null:Df("null",{startsExpr:Zd}),_true:Df("true",{startsExpr:Zd}),_false:Df("false",{startsExpr:Zd}),_typeof:Df("typeof",{beforeExpr:Yd,prefix:_f,startsExpr:Zd}),_void:Df("void",{beforeExpr:Yd,prefix:_f,startsExpr:Zd}),_delete:Df("delete",{beforeExpr:Yd,prefix:_f,startsExpr:Zd}),_do:Df("do",{isLoop:df,beforeExpr:Yd}),_for:Df("for",{isLoop:df}),_while:Df("while",{isLoop:df}),_as:Tf("as",{startsExpr:Zd}),_assert:Tf("assert",{startsExpr:Zd}),_async:Tf("async",{startsExpr:Zd}),_await:Tf("await",{startsExpr:Zd}),_defer:Tf("defer",{startsExpr:Zd}),_from:Tf("from",{startsExpr:Zd}),_get:Tf("get",{startsExpr:Zd}),_let:Tf("let",{startsExpr:Zd}),_meta:Tf("meta",{startsExpr:Zd}),_of:Tf("of",{startsExpr:Zd}),_sent:Tf("sent",{startsExpr:Zd}),_set:Tf("set",{startsExpr:Zd}),_source:Tf("source",{startsExpr:Zd}),_static:Tf("static",{startsExpr:Zd}),_using:Tf("using",{startsExpr:Zd}),_yield:Tf("yield",{startsExpr:Zd}),_asserts:Tf("asserts",{startsExpr:Zd}),_checks:Tf("checks",{startsExpr:Zd}),_exports:Tf("exports",{startsExpr:Zd}),_global:Tf("global",{startsExpr:Zd}),_implements:Tf("implements",{startsExpr:Zd}),_intrinsic:Tf("intrinsic",{startsExpr:Zd}),_infer:Tf("infer",{startsExpr:Zd}),_is:Tf("is",{startsExpr:Zd}),_mixins:Tf("mixins",{startsExpr:Zd}),_proto:Tf("proto",{startsExpr:Zd}),_require:Tf("require",{startsExpr:Zd}),_satisfies:Tf("satisfies",{startsExpr:Zd}),_keyof:Tf("keyof",{startsExpr:Zd}),_readonly:Tf("readonly",{startsExpr:Zd}),_unique:Tf("unique",{startsExpr:Zd}),_abstract:Tf("abstract",{startsExpr:Zd}),_declare:Tf("declare",{startsExpr:Zd}),_enum:Tf("enum",{startsExpr:Zd}),_module:Tf("module",{startsExpr:Zd}),_namespace:Tf("namespace",{startsExpr:Zd}),_interface:Tf("interface",{startsExpr:Zd}),_type:Tf("type",{startsExpr:Zd}),_opaque:Tf("opaque",{startsExpr:Zd}),name:zf("name",{startsExpr:Zd}),string:zf("string",{startsExpr:Zd}),num:zf("num",{startsExpr:Zd}),bigint:zf("bigint",{startsExpr:Zd}),decimal:zf("decimal",{startsExpr:Zd}),regexp:zf("regexp",{startsExpr:Zd}),privateName:zf("#name",{startsExpr:Zd}),eof:zf("eof"),jsxName:zf("jsxName"),jsxText:zf("jsxText",{beforeExpr:!0}),jsxTagStart:zf("jsxTagStart",{startsExpr:!0}),jsxTagEnd:zf("jsxTagEnd"),placeholder:zf("%%",{startsExpr:!0})};function Yf(Wd){return Wd>=93&&Wd<=132}function ih(Wd){return Wd<=92}function Th(Wd){return Wd>=58&&Wd<=132}function sh(Wd){return Wd>=58&&Wd<=136}function Nf(Wd){return Of[Wd]}function ph(Wd){return Wf[Wd]}function Oh(Wd){return Wd>=29&&Wd<=33}function Zf(Wd){return Wd>=129&&Wd<=131}function Rf(Wd){return Wd>=90&&Wd<=92}function Bf(Wd){return Wd>=58&&Wd<=92}function Kf(Wd){return Wd>=39&&Wd<=59}function wh(Wd){return Wd===34}function Ah(Wd){return qf[Wd]}function mh(Wd){return Wd>=121&&Wd<=123}function im(Wd){return Wd>=124&&Wd<=130}function Bh(Wd){return th[Wd]}function Tm(Wd){return Uf[Wd]}function Pm(Wd){return Wd===57}function gm(Wd){return Wd>=24&&Wd<=25}function Mm(Wd){return eh[Wd]}eh[8].updateContext=Wd=>{Wd.pop()},eh[5].updateContext=eh[7].updateContext=eh[23].updateContext=Wd=>{Wd.push(gf.brace)},eh[22].updateContext=Wd=>{Wd[Wd.length-1]===gf.template?Wd.pop():Wd.push(gf.template)},eh[142].updateContext=Wd=>{Wd.push(gf.j_expr,gf.j_oTag)};var Hm="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",gh="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Lf=new RegExp("["+Hm+"]"),$f=new RegExp("["+Hm+gh+"]");Hm=gh=null;var fh=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ch=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Zh(Wd,Fd){let Kd=65536;for(let yf=0,If=Fd.length;yf<If;yf+=2){if(Kd+=Fd[yf],Kd>Wd)return!1;if(Kd+=Fd[yf+1],Kd>=Wd)return!0}return!1}function dm(Wd){return Wd<65?Wd===36:Wd<=90?!0:Wd<97?Wd===95:Wd<=122?!0:Wd<=65535?Wd>=170&&Lf.test(String.fromCharCode(Wd)):Zh(Wd,fh)}function Im(Wd){return Wd<48?Wd===36:Wd<58?!0:Wd<65?!1:Wd<=90?!0:Wd<97?Wd===95:Wd<=122?!0:Wd<=65535?Wd>=170&&$f.test(String.fromCharCode(Wd)):Zh(Wd,fh)||Zh(Wd,Ch)}var Ym={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Fm=new Set(Ym.keyword),ug=new Set(Ym.strict),rg=new Set(Ym.strictBind);function Eg(Wd,Fd){return Fd&&Wd==="await"||Wd==="enum"}function kg(Wd,Fd){return Eg(Wd,Fd)||ug.has(Wd)}function n_(Wd){return rg.has(Wd)}function Fg(Wd,Fd){return kg(Wd,Fd)||n_(Wd)}function Kg(Wd){return Fm.has(Wd)}function Ng(Wd,Fd,Kd){return Wd===64&&Fd===64&&dm(Kd)}var g_=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function Jg(Wd){return g_.has(Wd)}var C_=class{constructor(Wd){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=Wd}},N_=class{constructor(Wd,Fd){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=Wd,this.inModule=Fd}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let Wd=this.currentThisScopeFlags();return(Wd&64)>0&&(Wd&2)===0}get inStaticBlock(){for(let Wd=this.scopeStack.length-1;;Wd--){let{flags:Fd}=this.scopeStack[Wd];if(Fd&128)return!0;if(Fd&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(Wd){return new C_(Wd)}enter(Wd){this.scopeStack.push(this.createScope(Wd))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(Wd){return!!(Wd.flags&130||!this.parser.inModule&&Wd.flags&1)}declareName(Wd,Fd,Kd){let yf=this.currentScope();if(Fd&8||Fd&16){this.checkRedeclarationInScope(yf,Wd,Fd,Kd);let If=yf.names.get(Wd)||0;Fd&16?If=If|4:(yf.firstLexicalName||(yf.firstLexicalName=Wd),If=If|2),yf.names.set(Wd,If),Fd&8&&this.maybeExportDefined(yf,Wd)}else if(Fd&4)for(let If=this.scopeStack.length-1;If>=0&&(yf=this.scopeStack[If],this.checkRedeclarationInScope(yf,Wd,Fd,Kd),yf.names.set(Wd,(yf.names.get(Wd)||0)|1),this.maybeExportDefined(yf,Wd),!(yf.flags&387));--If);this.parser.inModule&&yf.flags&1&&this.undefinedExports.delete(Wd)}maybeExportDefined(Wd,Fd){this.parser.inModule&&Wd.flags&1&&this.undefinedExports.delete(Fd)}checkRedeclarationInScope(Wd,Fd,Kd,yf){this.isRedeclaredInScope(Wd,Fd,Kd)&&this.parser.raise(Ld.VarRedeclaration,yf,{identifierName:Fd})}isRedeclaredInScope(Wd,Fd,Kd){if(!(Kd&1))return!1;if(Kd&8)return Wd.names.has(Fd);let yf=Wd.names.get(Fd);return Kd&16?(yf&2)>0||!this.treatFunctionsAsVarInScope(Wd)&&(yf&1)>0:(yf&2)>0&&!(Wd.flags&8&&Wd.firstLexicalName===Fd)||!this.treatFunctionsAsVarInScope(Wd)&&(yf&4)>0}checkLocalExport(Wd){let{name:Fd}=Wd;this.scopeStack[0].names.has(Fd)||this.undefinedExports.set(Fd,Wd.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let Wd=this.scopeStack.length-1;;Wd--){let{flags:Fd}=this.scopeStack[Wd];if(Fd&387)return Fd}}currentThisScopeFlags(){for(let Wd=this.scopeStack.length-1;;Wd--){let{flags:Fd}=this.scopeStack[Wd];if(Fd&451&&!(Fd&4))return Fd}}},a_=class extends C_{constructor(...Wd){super(...Wd),this.declareFunctions=new Set}},c_=class extends N_{createScope(Wd){return new a_(Wd)}declareName(Wd,Fd,Kd){let yf=this.currentScope();if(Fd&2048){this.checkRedeclarationInScope(yf,Wd,Fd,Kd),this.maybeExportDefined(yf,Wd),yf.declareFunctions.add(Wd);return}super.declareName(Wd,Fd,Kd)}isRedeclaredInScope(Wd,Fd,Kd){if(super.isRedeclaredInScope(Wd,Fd,Kd))return!0;if(Kd&2048&&!Wd.declareFunctions.has(Fd)){let yf=Wd.names.get(Fd);return(yf&4)>0||(yf&2)>0}return!1}checkLocalExport(Wd){this.scopeStack[0].declareFunctions.has(Wd.name)||super.checkLocalExport(Wd)}},ng=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(Wd){if(typeof Wd=="string")return this.plugins.has(Wd);{let[Fd,Kd]=Wd;if(!this.hasPlugin(Fd))return!1;let yf=this.plugins.get(Fd);for(let If of Object.keys(Kd))if((yf==null?void 0:yf[If])!==Kd[If])return!1;return!0}}getPluginOption(Wd,Fd){var Kd;return(Kd=this.plugins.get(Wd))==null?void 0:Kd[Fd]}};function ub(Wd,Fd){Wd.trailingComments===void 0?Wd.trailingComments=Fd:Wd.trailingComments.unshift(...Fd)}function Tb(Wd,Fd){Wd.leadingComments===void 0?Wd.leadingComments=Fd:Wd.leadingComments.unshift(...Fd)}function q_(Wd,Fd){Wd.innerComments===void 0?Wd.innerComments=Fd:Wd.innerComments.unshift(...Fd)}function Pf(Wd,Fd,Kd){let yf=null,If=Fd.length;for(;yf===null&&If>0;)yf=Fd[--If];yf===null||yf.start>Kd.start?q_(Wd,Kd.comments):ub(yf,Kd.comments)}var kh=class extends ng{addComment(Wd){this.filename&&(Wd.loc.filename=this.filename);let{commentsLen:Fd}=this.state;this.comments.length!==Fd&&(this.comments.length=Fd),this.comments.push(Wd),this.state.commentsLen++}processComment(Wd){let{commentStack:Fd}=this.state,Kd=Fd.length;if(Kd===0)return;let yf=Kd-1,If=Fd[yf];If.start===Wd.end&&(If.leadingNode=Wd,yf--);let{start:uh}=Wd;for(;yf>=0;yf--){let xh=Fd[yf],Vh=xh.end;if(Vh>uh)xh.containingNode=Wd,this.finalizeComment(xh),Fd.splice(yf,1);else{Vh===uh&&(xh.trailingNode=Wd);break}}}finalizeComment(Wd){let{comments:Fd}=Wd;if(Wd.leadingNode!==null||Wd.trailingNode!==null)Wd.leadingNode!==null&&ub(Wd.leadingNode,Fd),Wd.trailingNode!==null&&Tb(Wd.trailingNode,Fd);else{let{containingNode:Kd,start:yf}=Wd;if(this.input.charCodeAt(yf-1)===44)switch(Kd.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Pf(Kd,Kd.properties,Wd);break;case"CallExpression":case"OptionalCallExpression":Pf(Kd,Kd.arguments,Wd);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Pf(Kd,Kd.params,Wd);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Pf(Kd,Kd.elements,Wd);break;case"ExportNamedDeclaration":case"ImportDeclaration":Pf(Kd,Kd.specifiers,Wd);break;default:q_(Kd,Fd)}else q_(Kd,Fd)}}finalizeRemainingComments(){let{commentStack:Wd}=this.state;for(let Fd=Wd.length-1;Fd>=0;Fd--)this.finalizeComment(Wd[Fd]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(Wd){let{commentStack:Fd}=this.state,{length:Kd}=Fd;if(Kd===0)return;let yf=Fd[Kd-1];yf.leadingNode===Wd&&(yf.leadingNode=null)}resetPreviousIdentifierLeadingComments(Wd){let{commentStack:Fd}=this.state,{length:Kd}=Fd;Kd!==0&&(Fd[Kd-1].trailingNode===Wd?Fd[Kd-1].trailingNode=null:Kd>=2&&Fd[Kd-2].trailingNode===Wd&&(Fd[Kd-2].trailingNode=null))}takeSurroundingComments(Wd,Fd,Kd){let{commentStack:yf}=this.state,If=yf.length;if(If===0)return;let uh=If-1;for(;uh>=0;uh--){let xh=yf[uh],Vh=xh.end;if(xh.start===Kd)xh.leadingNode=Wd;else if(Vh===Fd)xh.trailingNode=Wd;else if(Vh<Fd)break}}},vh=/\r\n?|[\n\u2028\u2029]/,Rh=new RegExp(vh.source,"g");function sm(Wd){switch(Wd){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Jh=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,hm=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,pm=new RegExp("(?=("+hm.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Uh(Wd){switch(Wd){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var Lm=class iC{constructor(){this.flags=1024,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=139,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[gf.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(Fd){Fd?this.flags|=1:this.flags&=-2}init({strictMode:Fd,sourceType:Kd,startLine:yf,startColumn:If}){this.strict=Fd===!1?!1:Fd===!0?!0:Kd==="module",this.curLine=yf,this.lineStart=-If,this.startLoc=this.endLoc=new nd(yf,If,0)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(Fd){Fd?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(Fd){Fd?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(Fd){Fd?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(Fd){Fd?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(Fd){Fd?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(Fd){Fd?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(Fd){Fd?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(Fd){Fd?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(Fd){Fd?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(Fd){Fd?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(Fd){Fd?this.flags|=2048:this.flags&=-2049}curPosition(){return new nd(this.curLine,this.pos-this.lineStart,this.pos)}clone(){let Fd=new iC;return Fd.flags=this.flags,Fd.curLine=this.curLine,Fd.lineStart=this.lineStart,Fd.startLoc=this.startLoc,Fd.endLoc=this.endLoc,Fd.errors=this.errors.slice(),Fd.potentialArrowAt=this.potentialArrowAt,Fd.noArrowAt=this.noArrowAt.slice(),Fd.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),Fd.topicContext=this.topicContext,Fd.labels=this.labels.slice(),Fd.commentsLen=this.commentsLen,Fd.commentStack=this.commentStack.slice(),Fd.pos=this.pos,Fd.type=this.type,Fd.value=this.value,Fd.start=this.start,Fd.end=this.end,Fd.lastTokEndLoc=this.lastTokEndLoc,Fd.lastTokStartLoc=this.lastTokStartLoc,Fd.context=this.context.slice(),Fd.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,Fd.strictErrors=this.strictErrors,Fd.tokensLength=this.tokensLength,Fd}},Gm=function(Wd){return Wd>=48&&Wd<=57},_g={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Km={bin:Wd=>Wd===48||Wd===49,oct:Wd=>Wd>=48&&Wd<=55,dec:Wd=>Wd>=48&&Wd<=57,hex:Wd=>Wd>=48&&Wd<=57||Wd>=65&&Wd<=70||Wd>=97&&Wd<=102};function Sg(Wd,Fd,Kd,yf,If,uh){let xh=Kd,Vh=yf,fm=If,om="",zm=null,sg=Kd,{length:Tg}=Fd;for(;;){if(Kd>=Tg){uh.unterminated(xh,Vh,fm),om+=Fd.slice(sg,Kd);break}let Ag=Fd.charCodeAt(Kd);if(t_(Wd,Ag,Fd,Kd)){om+=Fd.slice(sg,Kd);break}if(Ag===92){om+=Fd.slice(sg,Kd);let qg=Zg(Fd,Kd,yf,If,Wd==="template",uh);qg.ch===null&&!zm?zm={pos:Kd,lineStart:yf,curLine:If}:om+=qg.ch,{pos:Kd,lineStart:yf,curLine:If}=qg,sg=Kd}else Ag===8232||Ag===8233?(++Kd,++If,yf=Kd):Ag===10||Ag===13?Wd==="template"?(om+=Fd.slice(sg,Kd)+`
|
||
`,++Kd,Ag===13&&Fd.charCodeAt(Kd)===10&&++Kd,++If,sg=yf=Kd):uh.unterminated(xh,Vh,fm):++Kd}return{pos:Kd,str:om,firstInvalidLoc:zm,lineStart:yf,curLine:If,containsInvalid:!!zm}}function t_(Wd,Fd,Kd,yf){return Wd==="template"?Fd===96||Fd===36&&Kd.charCodeAt(yf+1)===123:Fd===(Wd==="double"?34:39)}function Zg(Wd,Fd,Kd,yf,If,uh){let xh=!If;Fd++;let Vh=om=>({pos:Fd,ch:om,lineStart:Kd,curLine:yf}),fm=Wd.charCodeAt(Fd++);switch(fm){case 110:return Vh(`
|
||
`);case 114:return Vh("\r");case 120:{let om;return{code:om,pos:Fd}=jg(Wd,Fd,Kd,yf,2,!1,xh,uh),Vh(om===null?null:String.fromCharCode(om))}case 117:{let om;return{code:om,pos:Fd}=y_(Wd,Fd,Kd,yf,xh,uh),Vh(om===null?null:String.fromCodePoint(om))}case 116:return Vh(" ");case 98:return Vh("\b");case 118:return Vh("\v");case 102:return Vh("\f");case 13:Wd.charCodeAt(Fd)===10&&++Fd;case 10:Kd=Fd,++yf;case 8232:case 8233:return Vh("");case 56:case 57:if(If)return Vh(null);uh.strictNumericEscape(Fd-1,Kd,yf);default:if(fm>=48&&fm<=55){let om=Fd-1,zm=/^[0-7]+/.exec(Wd.slice(om,Fd+2))[0],sg=parseInt(zm,8);sg>255&&(zm=zm.slice(0,-1),sg=parseInt(zm,8)),Fd+=zm.length-1;let Tg=Wd.charCodeAt(Fd);if(zm!=="0"||Tg===56||Tg===57){if(If)return Vh(null);uh.strictNumericEscape(om,Kd,yf)}return Vh(String.fromCharCode(sg))}return Vh(String.fromCharCode(fm))}}function jg(Wd,Fd,Kd,yf,If,uh,xh,Vh){let fm=Fd,om;return{n:om,pos:Fd}=tg(Wd,Fd,Kd,yf,16,If,uh,!1,Vh,!xh),om===null&&(xh?Vh.invalidEscapeSequence(fm,Kd,yf):Fd=fm-1),{code:om,pos:Fd}}function tg(Wd,Fd,Kd,yf,If,uh,xh,Vh,fm,om){let zm=Fd,sg=If===16?_g.hex:_g.decBinOct,Tg=If===16?Km.hex:If===10?Km.dec:If===8?Km.oct:Km.bin,Ag=!1,qg=0;for(let I_=0,r_=uh??1/0;I_<r_;++I_){let u_=Wd.charCodeAt(Fd),Q_;if(u_===95&&Vh!=="bail"){let Ay=Wd.charCodeAt(Fd-1),gv=Wd.charCodeAt(Fd+1);if(Vh){if(Number.isNaN(gv)||!Tg(gv)||sg.has(Ay)||sg.has(gv)){if(om)return{n:null,pos:Fd};fm.unexpectedNumericSeparator(Fd,Kd,yf)}}else{if(om)return{n:null,pos:Fd};fm.numericSeparatorInEscapeSequence(Fd,Kd,yf)}++Fd;continue}if(u_>=97?Q_=u_-97+10:u_>=65?Q_=u_-65+10:Gm(u_)?Q_=u_-48:Q_=1/0,Q_>=If){if(Q_<=9&&om)return{n:null,pos:Fd};if(Q_<=9&&fm.invalidDigit(Fd,Kd,yf,If))Q_=0;else if(xh)Q_=0,Ag=!0;else break}++Fd,qg=qg*If+Q_}return Fd===zm||uh!=null&&Fd-zm!==uh||Ag?{n:null,pos:Fd}:{n:qg,pos:Fd}}function y_(Wd,Fd,Kd,yf,If,uh){let xh=Wd.charCodeAt(Fd),Vh;if(xh===123){if(++Fd,{code:Vh,pos:Fd}=jg(Wd,Fd,Kd,yf,Wd.indexOf("}",Fd)-Fd,!0,If,uh),++Fd,Vh!==null&&Vh>1114111)if(If)uh.invalidCodePoint(Fd,Kd,yf);else return{code:null,pos:Fd}}else({code:Vh,pos:Fd}=jg(Wd,Fd,Kd,yf,4,!1,If,uh));return{code:Vh,pos:Fd}}function Gg(Wd,Fd,Kd){return new nd(Kd,Wd-Fd,Wd)}var Mg=new Set([103,109,115,105,121,117,100,118]),_h=class{constructor(Wd){this.type=Wd.type,this.value=Wd.value,this.start=Wd.start,this.end=Wd.end,this.loc=new od(Wd.startLoc,Wd.endLoc)}},Xh=class extends kh{constructor(Wd,Fd){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(Kd,yf,If,uh)=>this.options.errorRecovery?(this.raise(Ld.InvalidDigit,Gg(Kd,yf,If),{radix:uh}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(Ld.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Ld.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Ld.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Ld.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(Kd,yf,If)=>{this.recordStrictModeErrors(Ld.StrictNumericEscape,Gg(Kd,yf,If))},unterminated:(Kd,yf,If)=>{throw this.raise(Ld.UnterminatedString,Gg(Kd-1,yf,If))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Ld.StrictNumericEscape),unterminated:(Kd,yf,If)=>{throw this.raise(Ld.UnterminatedTemplate,Gg(Kd,yf,If))}}),this.state=new Lm,this.state.init(Wd),this.input=Fd,this.length=Fd.length,this.comments=[],this.isLookahead=!1}pushToken(Wd){this.tokens.length=this.state.tokensLength,this.tokens.push(Wd),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new _h(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(Wd){return this.match(Wd)?(this.next(),!0):!1}match(Wd){return this.state.type===Wd}createLookaheadState(Wd){return{pos:Wd.pos,value:null,type:Wd.type,start:Wd.start,end:Wd.end,context:[this.curContext()],inType:Wd.inType,startLoc:Wd.startLoc,lastTokEndLoc:Wd.lastTokEndLoc,curLine:Wd.curLine,lineStart:Wd.lineStart,curPosition:Wd.curPosition}}lookahead(){let Wd=this.state;this.state=this.createLookaheadState(Wd),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let Fd=this.state;return this.state=Wd,Fd}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(Wd){return Jh.lastIndex=Wd,Jh.test(this.input)?Jh.lastIndex:Wd}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(Wd){return hm.lastIndex=Wd,hm.test(this.input)?hm.lastIndex:Wd}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(Wd){let Fd=this.input.charCodeAt(Wd);if((Fd&64512)===55296&&++Wd<this.input.length){let Kd=this.input.charCodeAt(Wd);(Kd&64512)===56320&&(Fd=65536+((Fd&1023)<<10)+(Kd&1023))}return Fd}setStrict(Wd){this.state.strict=Wd,Wd&&(this.state.strictErrors.forEach(([Fd,Kd])=>this.raise(Fd,Kd)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(139);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(Wd){let Fd;this.isLookahead||(Fd=this.state.curPosition());let Kd=this.state.pos,yf=this.input.indexOf(Wd,Kd+2);if(yf===-1)throw this.raise(Ld.UnterminatedComment,this.state.curPosition());for(this.state.pos=yf+Wd.length,Rh.lastIndex=Kd+2;Rh.test(this.input)&&Rh.lastIndex<=yf;)++this.state.curLine,this.state.lineStart=Rh.lastIndex;if(this.isLookahead)return;let If={type:"CommentBlock",value:this.input.slice(Kd+2,yf),start:Kd,end:yf+Wd.length,loc:new od(Fd,this.state.curPosition())};return this.options.tokens&&this.pushToken(If),If}skipLineComment(Wd){let Fd=this.state.pos,Kd;this.isLookahead||(Kd=this.state.curPosition());let yf=this.input.charCodeAt(this.state.pos+=Wd);if(this.state.pos<this.length)for(;!sm(yf)&&++this.state.pos<this.length;)yf=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let If=this.state.pos,uh={type:"CommentLine",value:this.input.slice(Fd+Wd,If),start:Fd,end:If,loc:new od(Kd,this.state.curPosition())};return this.options.tokens&&this.pushToken(uh),uh}skipSpace(){let Wd=this.state.pos,Fd=[];e:for(;this.state.pos<this.length;){let Kd=this.input.charCodeAt(this.state.pos);switch(Kd){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let yf=this.skipBlockComment("*/");yf!==void 0&&(this.addComment(yf),this.options.attachComment&&Fd.push(yf));break}case 47:{let yf=this.skipLineComment(2);yf!==void 0&&(this.addComment(yf),this.options.attachComment&&Fd.push(yf));break}default:break e}break;default:if(Uh(Kd))++this.state.pos;else if(Kd===45&&!this.inModule&&this.options.annexB){let yf=this.state.pos;if(this.input.charCodeAt(yf+1)===45&&this.input.charCodeAt(yf+2)===62&&(Wd===0||this.state.lineStart>Wd)){let If=this.skipLineComment(3);If!==void 0&&(this.addComment(If),this.options.attachComment&&Fd.push(If))}else break e}else if(Kd===60&&!this.inModule&&this.options.annexB){let yf=this.state.pos;if(this.input.charCodeAt(yf+1)===33&&this.input.charCodeAt(yf+2)===45&&this.input.charCodeAt(yf+3)===45){let If=this.skipLineComment(4);If!==void 0&&(this.addComment(If),this.options.attachComment&&Fd.push(If))}else break e}else break e}}if(Fd.length>0){let Kd=this.state.pos,yf={start:Wd,end:Kd,comments:Fd,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(yf)}}finishToken(Wd,Fd){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let Kd=this.state.type;this.state.type=Wd,this.state.value=Fd,this.isLookahead||this.updateContext(Kd)}replaceToken(Wd){this.state.type=Wd,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let Wd=this.state.pos+1,Fd=this.codePointAtPos(Wd);if(Fd>=48&&Fd<=57)throw this.raise(Ld.UnexpectedDigitAfterHash,this.state.curPosition());if(Fd===123||Fd===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(Fd===123?Ld.RecordExpressionHashIncorrectStartSyntaxType:Ld.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,Fd===123?this.finishToken(7):this.finishToken(1)}else dm(Fd)?(++this.state.pos,this.finishToken(138,this.readWord1(Fd))):Fd===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let Wd=this.input.charCodeAt(this.state.pos+1);if(Wd>=48&&Wd<=57){this.readNumber(!0);return}Wd===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let Wd=this.input.charCodeAt(this.state.pos+1);if(Wd!==33)return!1;let Fd=this.state.pos;for(this.state.pos+=1;!sm(Wd)&&++this.state.pos<this.length;)Wd=this.input.charCodeAt(this.state.pos);let Kd=this.input.slice(Fd+2,this.state.pos);return this.finishToken(28,Kd),!0}readToken_mult_modulo(Wd){let Fd=Wd===42?55:54,Kd=1,yf=this.input.charCodeAt(this.state.pos+1);Wd===42&&yf===42&&(Kd++,yf=this.input.charCodeAt(this.state.pos+2),Fd=57),yf===61&&!this.state.inType&&(Kd++,Fd=Wd===37?33:30),this.finishOp(Fd,Kd)}readToken_pipe_amp(Wd){let Fd=this.input.charCodeAt(this.state.pos+1);if(Fd===Wd){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(Wd===124?41:42,2);return}if(Wd===124){if(Fd===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&Fd===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Ld.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&Fd===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Ld.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(Fd===61){this.finishOp(30,2);return}this.finishOp(Wd===124?43:45,1)}readToken_caret(){let Wd=this.input.charCodeAt(this.state.pos+1);Wd===61&&!this.state.inType?this.finishOp(32,2):Wd===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(Wd){let Fd=this.input.charCodeAt(this.state.pos+1);if(Fd===Wd){this.finishOp(34,2);return}Fd===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:Wd}=this.state,Fd=this.input.charCodeAt(Wd+1);if(Fd===60){if(this.input.charCodeAt(Wd+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(Fd===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:Wd}=this.state,Fd=this.input.charCodeAt(Wd+1);if(Fd===62){let Kd=this.input.charCodeAt(Wd+2)===62?3:2;if(this.input.charCodeAt(Wd+Kd)===61){this.finishOp(30,Kd+1);return}this.finishOp(52,Kd);return}if(Fd===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(Wd){let Fd=this.input.charCodeAt(this.state.pos+1);if(Fd===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(Wd===61&&Fd===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(Wd===61?29:35,1)}readToken_question(){let Wd=this.input.charCodeAt(this.state.pos+1),Fd=this.input.charCodeAt(this.state.pos+2);Wd===63?Fd===61?this.finishOp(30,3):this.finishOp(40,2):Wd===46&&!(Fd>=48&&Fd<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(Wd){switch(Wd){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Ld.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Ld.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let Fd=this.input.charCodeAt(this.state.pos+1);if(Fd===120||Fd===88){this.readRadixNumber(16);return}if(Fd===111||Fd===79){this.readRadixNumber(8);return}if(Fd===98||Fd===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(Wd);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(Wd);return;case 124:case 38:this.readToken_pipe_amp(Wd);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(Wd);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(Wd);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(dm(Wd)){this.readWord(Wd);return}}throw this.raise(Ld.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(Wd)})}finishOp(Wd,Fd){let Kd=this.input.slice(this.state.pos,this.state.pos+Fd);this.state.pos+=Fd,this.finishToken(Wd,Kd)}readRegexp(){let Wd=this.state.startLoc,Fd=this.state.start+1,Kd,yf,{pos:If}=this.state;for(;;++If){if(If>=this.length)throw this.raise(Ld.UnterminatedRegExp,ld(Wd,1));let fm=this.input.charCodeAt(If);if(sm(fm))throw this.raise(Ld.UnterminatedRegExp,ld(Wd,1));if(Kd)Kd=!1;else{if(fm===91)yf=!0;else if(fm===93&&yf)yf=!1;else if(fm===47&&!yf)break;Kd=fm===92}}let uh=this.input.slice(Fd,If);++If;let xh="",Vh=()=>ld(Wd,If+2-Fd);for(;If<this.length;){let fm=this.codePointAtPos(If),om=String.fromCharCode(fm);if(Mg.has(fm))fm===118?xh.includes("u")&&this.raise(Ld.IncompatibleRegExpUVFlags,Vh()):fm===117&&xh.includes("v")&&this.raise(Ld.IncompatibleRegExpUVFlags,Vh()),xh.includes(om)&&this.raise(Ld.DuplicateRegExpFlags,Vh());else if(Im(fm)||fm===92)this.raise(Ld.MalformedRegExpFlags,Vh());else break;++If,xh+=om}this.state.pos=If,this.finishToken(137,{pattern:uh,flags:xh})}readInt(Wd,Fd,Kd=!1,yf=!0){let{n:If,pos:uh}=tg(this.input,this.state.pos,this.state.lineStart,this.state.curLine,Wd,Fd,Kd,yf,this.errorHandlers_readInt,!1);return this.state.pos=uh,If}readRadixNumber(Wd){let Fd=this.state.curPosition(),Kd=!1;this.state.pos+=2;let yf=this.readInt(Wd);yf==null&&this.raise(Ld.InvalidDigit,ld(Fd,2),{radix:Wd});let If=this.input.charCodeAt(this.state.pos);if(If===110)++this.state.pos,Kd=!0;else if(If===109)throw this.raise(Ld.InvalidDecimal,Fd);if(dm(this.codePointAtPos(this.state.pos)))throw this.raise(Ld.NumberIdentifier,this.state.curPosition());if(Kd){let uh=this.input.slice(Fd.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,uh);return}this.finishToken(134,yf)}readNumber(Wd){let Fd=this.state.pos,Kd=this.state.curPosition(),yf=!1,If=!1,uh=!1,xh=!1,Vh=!1;!Wd&&this.readInt(10)===null&&this.raise(Ld.InvalidNumber,this.state.curPosition());let fm=this.state.pos-Fd>=2&&this.input.charCodeAt(Fd)===48;if(fm){let Tg=this.input.slice(Fd,this.state.pos);if(this.recordStrictModeErrors(Ld.StrictOctalLiteral,Kd),!this.state.strict){let Ag=Tg.indexOf("_");Ag>0&&this.raise(Ld.ZeroDigitNumericSeparator,ld(Kd,Ag))}Vh=fm&&!/[89]/.test(Tg)}let om=this.input.charCodeAt(this.state.pos);if(om===46&&!Vh&&(++this.state.pos,this.readInt(10),yf=!0,om=this.input.charCodeAt(this.state.pos)),(om===69||om===101)&&!Vh&&(om=this.input.charCodeAt(++this.state.pos),(om===43||om===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(Ld.InvalidOrMissingExponent,Kd),yf=!0,xh=!0,om=this.input.charCodeAt(this.state.pos)),om===110&&((yf||fm)&&this.raise(Ld.InvalidBigIntLiteral,Kd),++this.state.pos,If=!0),om===109&&(this.expectPlugin("decimal",this.state.curPosition()),(xh||fm)&&this.raise(Ld.InvalidDecimal,Kd),++this.state.pos,uh=!0),dm(this.codePointAtPos(this.state.pos)))throw this.raise(Ld.NumberIdentifier,this.state.curPosition());let zm=this.input.slice(Fd,this.state.pos).replace(/[_mn]/g,"");if(If){this.finishToken(135,zm);return}if(uh){this.finishToken(136,zm);return}let sg=Vh?parseInt(zm,8):parseFloat(zm);this.finishToken(134,sg)}readCodePoint(Wd){let{code:Fd,pos:Kd}=y_(this.input,this.state.pos,this.state.lineStart,this.state.curLine,Wd,this.errorHandlers_readCodePoint);return this.state.pos=Kd,Fd}readString(Wd){let{str:Fd,pos:Kd,curLine:yf,lineStart:If}=Sg(Wd===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=Kd+1,this.state.lineStart=If,this.state.curLine=yf,this.finishToken(133,Fd)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let Wd=this.input[this.state.pos],{str:Fd,firstInvalidLoc:Kd,pos:yf,curLine:If,lineStart:uh}=Sg("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=yf+1,this.state.lineStart=uh,this.state.curLine=If,Kd&&(this.state.firstInvalidTemplateEscapePos=new nd(Kd.curLine,Kd.pos-Kd.lineStart,Kd.pos)),this.input.codePointAt(yf)===96?this.finishToken(24,Kd?null:Wd+Fd+"`"):(this.state.pos++,this.finishToken(25,Kd?null:Wd+Fd+"${"))}recordStrictModeErrors(Wd,Fd){let Kd=Fd.index;this.state.strict&&!this.state.strictErrors.has(Kd)?this.raise(Wd,Fd):this.state.strictErrors.set(Kd,[Wd,Fd])}readWord1(Wd){this.state.containsEsc=!1;let Fd="",Kd=this.state.pos,yf=this.state.pos;for(Wd!==void 0&&(this.state.pos+=Wd<=65535?1:2);this.state.pos<this.length;){let If=this.codePointAtPos(this.state.pos);if(Im(If))this.state.pos+=If<=65535?1:2;else if(If===92){this.state.containsEsc=!0,Fd+=this.input.slice(yf,this.state.pos);let uh=this.state.curPosition(),xh=this.state.pos===Kd?dm:Im;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(Ld.MissingUnicodeEscape,this.state.curPosition()),yf=this.state.pos-1;continue}++this.state.pos;let Vh=this.readCodePoint(!0);Vh!==null&&(xh(Vh)||this.raise(Ld.EscapedCharNotAnIdentifier,uh),Fd+=String.fromCodePoint(Vh)),yf=this.state.pos}else break}return Fd+this.input.slice(yf,this.state.pos)}readWord(Wd){let Fd=this.readWord1(Wd),Kd=Af.get(Fd);Kd!==void 0?this.finishToken(Kd,Bh(Kd)):this.finishToken(132,Fd)}checkKeywordEscapes(){let{type:Wd}=this.state;Bf(Wd)&&this.state.containsEsc&&this.raise(Ld.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Bh(Wd)})}raise(Wd,Fd,Kd={}){let yf=Fd instanceof nd?Fd:Fd.loc.start,If=Wd(yf,Kd);if(!this.options.errorRecovery)throw If;return this.isLookahead||this.state.errors.push(If),If}raiseOverwrite(Wd,Fd,Kd={}){let yf=Fd instanceof nd?Fd:Fd.loc.start,If=yf.index,uh=this.state.errors;for(let xh=uh.length-1;xh>=0;xh--){let Vh=uh[xh];if(Vh.loc.index===If)return uh[xh]=Wd(yf,Kd);if(Vh.loc.index<If)break}return this.raise(Wd,Fd,Kd)}updateContext(Wd){}unexpected(Wd,Fd){throw this.raise(Ld.UnexpectedToken,Wd??this.state.startLoc,{expected:Fd?Bh(Fd):null})}expectPlugin(Wd,Fd){if(this.hasPlugin(Wd))return!0;throw this.raise(Ld.MissingPlugin,Fd??this.state.startLoc,{missingPlugin:[Wd]})}expectOnePlugin(Wd){if(!Wd.some(Fd=>this.hasPlugin(Fd)))throw this.raise(Ld.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:Wd})}errorBuilder(Wd){return(Fd,Kd,yf)=>{this.raise(Wd,Gg(Fd,Kd,yf))}}},Um=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Jm=class{constructor(Wd){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=Wd}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Um)}exit(){let Wd=this.stack.pop(),Fd=this.current();for(let[Kd,yf]of Array.from(Wd.undefinedPrivateNames))Fd?Fd.undefinedPrivateNames.has(Kd)||Fd.undefinedPrivateNames.set(Kd,yf):this.parser.raise(Ld.InvalidPrivateFieldResolution,yf,{identifierName:Kd})}declarePrivateName(Wd,Fd,Kd){let{privateNames:yf,loneAccessors:If,undefinedPrivateNames:uh}=this.current(),xh=yf.has(Wd);if(Fd&3){let Vh=xh&&If.get(Wd);if(Vh){let fm=Vh&4,om=Fd&4,zm=Vh&3,sg=Fd&3;xh=zm===sg||fm!==om,xh||If.delete(Wd)}else xh||If.set(Wd,Fd)}xh&&this.parser.raise(Ld.PrivateNameRedeclaration,Kd,{identifierName:Wd}),yf.add(Wd),uh.delete(Wd)}usePrivateName(Wd,Fd){let Kd;for(Kd of this.stack)if(Kd.privateNames.has(Wd))return;Kd?Kd.undefinedPrivateNames.set(Wd,Fd):this.parser.raise(Ld.InvalidPrivateFieldResolution,Fd,{identifierName:Wd})}},Om=class{constructor(Wd=0){this.type=Wd}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},og=class extends Om{constructor(Wd){super(Wd),this.declarationErrors=new Map}recordDeclarationError(Wd,Fd){let Kd=Fd.index;this.declarationErrors.set(Kd,[Wd,Fd])}clearDeclarationError(Wd){this.declarationErrors.delete(Wd)}iterateErrors(Wd){this.declarationErrors.forEach(Wd)}},zg=class{constructor(Wd){this.parser=void 0,this.stack=[new Om],this.parser=Wd}enter(Wd){this.stack.push(Wd)}exit(){this.stack.pop()}recordParameterInitializerError(Wd,Fd){let Kd=Fd.loc.start,{stack:yf}=this,If=yf.length-1,uh=yf[If];for(;!uh.isCertainlyParameterDeclaration();){if(uh.canBeArrowParameterDeclaration())uh.recordDeclarationError(Wd,Kd);else return;uh=yf[--If]}this.parser.raise(Wd,Kd)}recordArrowParameterBindingError(Wd,Fd){let{stack:Kd}=this,yf=Kd[Kd.length-1],If=Fd.loc.start;if(yf.isCertainlyParameterDeclaration())this.parser.raise(Wd,If);else if(yf.canBeArrowParameterDeclaration())yf.recordDeclarationError(Wd,If);else return}recordAsyncArrowParametersError(Wd){let{stack:Fd}=this,Kd=Fd.length-1,yf=Fd[Kd];for(;yf.canBeArrowParameterDeclaration();)yf.type===2&&yf.recordDeclarationError(Ld.AwaitBindingIdentifier,Wd),yf=Fd[--Kd]}validateAsPattern(){let{stack:Wd}=this,Fd=Wd[Wd.length-1];Fd.canBeArrowParameterDeclaration()&&Fd.iterateErrors(([Kd,yf])=>{this.parser.raise(Kd,yf);let If=Wd.length-2,uh=Wd[If];for(;uh.canBeArrowParameterDeclaration();)uh.clearDeclarationError(yf.index),uh=Wd[--If]})}};function S_(){return new Om(3)}function M_(){return new og(1)}function fb(){return new og(2)}function Mb(){return new Om}var Pg=class{constructor(){this.stacks=[]}enter(Wd){this.stacks.push(Wd)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function hb(Wd,Fd){return(Wd?2:0)|(Fd?1:0)}var T_=class extends Xh{addExtra(Wd,Fd,Kd,yf=!0){if(!Wd)return;let If=Wd.extra=Wd.extra||{};yf?If[Fd]=Kd:Object.defineProperty(If,Fd,{enumerable:yf,value:Kd})}isContextual(Wd){return this.state.type===Wd&&!this.state.containsEsc}isUnparsedContextual(Wd,Fd){let Kd=Wd+Fd.length;if(this.input.slice(Wd,Kd)===Fd){let yf=this.input.charCodeAt(Kd);return!(Im(yf)||(yf&64512)===55296)}return!1}isLookaheadContextual(Wd){let Fd=this.nextTokenStart();return this.isUnparsedContextual(Fd,Wd)}eatContextual(Wd){return this.isContextual(Wd)?(this.next(),!0):!1}expectContextual(Wd,Fd){if(!this.eatContextual(Wd)){if(Fd!=null)throw this.raise(Fd,this.state.startLoc);this.unexpected(null,Wd)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return vh.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return pm.lastIndex=this.state.end,pm.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(Wd=!0){(Wd?this.isLineTerminator():this.eat(13))||this.raise(Ld.MissingSemicolon,this.state.lastTokEndLoc)}expect(Wd,Fd){this.eat(Wd)||this.unexpected(Fd,Wd)}tryParse(Wd,Fd=this.state.clone()){let Kd={node:null};try{let yf=Wd((If=null)=>{throw Kd.node=If,Kd});if(this.state.errors.length>Fd.errors.length){let If=this.state;return this.state=Fd,this.state.tokensLength=If.tokensLength,{node:yf,error:If.errors[Fd.errors.length],thrown:!1,aborted:!1,failState:If}}return{node:yf,error:null,thrown:!1,aborted:!1,failState:null}}catch(yf){let If=this.state;if(this.state=Fd,yf instanceof SyntaxError)return{node:null,error:yf,thrown:!0,aborted:!1,failState:If};if(yf===Kd)return{node:Kd.node,error:null,thrown:!1,aborted:!0,failState:If};throw yf}}checkExpressionErrors(Wd,Fd){if(!Wd)return!1;let{shorthandAssignLoc:Kd,doubleProtoLoc:yf,privateKeyLoc:If,optionalParametersLoc:uh}=Wd,xh=!!Kd||!!yf||!!uh||!!If;if(!Fd)return xh;Kd!=null&&this.raise(Ld.InvalidCoverInitializedName,Kd),yf!=null&&this.raise(Ld.DuplicateProto,yf),If!=null&&this.raise(Ld.UnexpectedPrivateField,If),uh!=null&&this.unexpected(uh)}isLiteralPropertyName(){return sh(this.state.type)}isPrivateName(Wd){return Wd.type==="PrivateName"}getPrivateNameSV(Wd){return Wd.id.name}hasPropertyAsPrivateName(Wd){return(Wd.type==="MemberExpression"||Wd.type==="OptionalMemberExpression")&&this.isPrivateName(Wd.property)}isObjectProperty(Wd){return Wd.type==="ObjectProperty"}isObjectMethod(Wd){return Wd.type==="ObjectMethod"}initializeScopes(Wd=this.options.sourceType==="module"){let Fd=this.state.labels;this.state.labels=[];let Kd=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let yf=this.inModule;this.inModule=Wd;let If=this.scope,uh=this.getScopeHandler();this.scope=new uh(this,Wd);let xh=this.prodParam;this.prodParam=new Pg;let Vh=this.classScope;this.classScope=new Jm(this);let fm=this.expressionScope;return this.expressionScope=new zg(this),()=>{this.state.labels=Fd,this.exportedIdentifiers=Kd,this.inModule=yf,this.scope=If,this.prodParam=xh,this.classScope=Vh,this.expressionScope=fm}}enterInitialScopes(){let Wd=0;this.inModule&&(Wd|=2),this.scope.enter(1),this.prodParam.enter(Wd)}checkDestructuringPrivate(Wd){let{privateKeyLoc:Fd}=Wd;Fd!==null&&this.expectPlugin("destructuringPrivate",Fd)}},K_=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},B_=class{constructor(Wd,Fd,Kd){this.type="",this.start=Fd,this.end=0,this.loc=new od(Kd),Wd!=null&&Wd.options.ranges&&(this.range=[Fd,0]),Wd!=null&&Wd.filename&&(this.loc.filename=Wd.filename)}},$b=B_.prototype;$b.__clone=function(){let Wd=new B_(void 0,this.start,this.loc.start),Fd=Object.keys(this);for(let Kd=0,yf=Fd.length;Kd<yf;Kd++){let If=Fd[Kd];If!=="leadingComments"&&If!=="trailingComments"&&If!=="innerComments"&&(Wd[If]=this[If])}return Wd};function u0(Wd){return X_(Wd)}function X_(Wd){let{type:Fd,start:Kd,end:yf,loc:If,range:uh,extra:xh,name:Vh}=Wd,fm=Object.create($b);return fm.type=Fd,fm.start=Kd,fm.end=yf,fm.loc=If,fm.range=uh,fm.extra=xh,fm.name=Vh,Fd==="Placeholder"&&(fm.expectedNode=Wd.expectedNode),fm}function Pb(Wd){let{type:Fd,start:Kd,end:yf,loc:If,range:uh,extra:xh}=Wd;if(Fd==="Placeholder")return u0(Wd);let Vh=Object.create($b);return Vh.type=Fd,Vh.start=Kd,Vh.end=yf,Vh.loc=If,Vh.range=uh,Wd.raw!==void 0?Vh.raw=Wd.raw:Vh.extra=xh,Vh.value=Wd.value,Vh}var sy=class extends T_{startNode(){let Wd=this.state.startLoc;return new B_(this,Wd.index,Wd)}startNodeAt(Wd){return new B_(this,Wd.index,Wd)}startNodeAtNode(Wd){return this.startNodeAt(Wd.loc.start)}finishNode(Wd,Fd){return this.finishNodeAt(Wd,Fd,this.state.lastTokEndLoc)}finishNodeAt(Wd,Fd,Kd){return Wd.type=Fd,Wd.end=Kd.index,Wd.loc.end=Kd,this.options.ranges&&(Wd.range[1]=Kd.index),this.options.attachComment&&this.processComment(Wd),Wd}resetStartLocation(Wd,Fd){Wd.start=Fd.index,Wd.loc.start=Fd,this.options.ranges&&(Wd.range[0]=Fd.index)}resetEndLocation(Wd,Fd=this.state.lastTokEndLoc){Wd.end=Fd.index,Wd.loc.end=Fd,this.options.ranges&&(Wd.range[1]=Fd.index)}resetStartLocationFromNode(Wd,Fd){this.resetStartLocation(Wd,Fd.loc.start)}},P0=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Rg=jd`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:Wd})=>`Cannot overwrite reserved type ${Wd}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:Wd,enumName:Fd})=>`Boolean enum members need to be initialized. Use either \`${Wd} = true,\` or \`${Wd} = false,\` in enum \`${Fd}\`.`,EnumDuplicateMemberName:({memberName:Wd,enumName:Fd})=>`Enum member names need to be unique, but the name \`${Wd}\` has already been used before in enum \`${Fd}\`.`,EnumInconsistentMemberValues:({enumName:Wd})=>`Enum \`${Wd}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:Wd,enumName:Fd})=>`Enum type \`${Wd}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${Fd}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:Wd})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${Wd}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:Wd,memberName:Fd,explicitType:Kd})=>`Enum \`${Wd}\` has type \`${Kd}\`, so the initializer of \`${Fd}\` needs to be a ${Kd} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:Wd,memberName:Fd})=>`Symbol enum members cannot be initialized. Use \`${Fd},\` in enum \`${Wd}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:Wd,memberName:Fd})=>`The enum member initializer for \`${Fd}\` needs to be a literal (either a boolean, number, or string) in enum \`${Wd}\`.`,EnumInvalidMemberName:({enumName:Wd,memberName:Fd,suggestion:Kd})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${Fd}\`, consider using \`${Kd}\`, in enum \`${Wd}\`.`,EnumNumberMemberNotInitialized:({enumName:Wd,memberName:Fd})=>`Number enum members need to be initialized, e.g. \`${Fd} = 1\` in enum \`${Wd}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:Wd})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${Wd}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:Wd})=>`Unexpected reserved type ${Wd}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:Wd,suggestion:Fd})=>`\`declare export ${Wd}\` is not supported. Use \`${Fd}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function L0(Wd){return Wd.type==="DeclareExportAllDeclaration"||Wd.type==="DeclareExportDeclaration"&&(!Wd.declaration||Wd.declaration.type!=="TypeAlias"&&Wd.declaration.type!=="InterfaceDeclaration")}function T0(Wd){return Wd.importKind==="type"||Wd.importKind==="typeof"}var oy={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function uv(Wd,Fd){let Kd=[],yf=[];for(let If=0;If<Wd.length;If++)(Fd(Wd[If],If,Wd)?Kd:yf).push(Wd[If]);return[Kd,yf]}var dv=/\*?\s*@((?:no)?flow)\b/,x0=Wd=>class extends Wd{constructor(...Fd){super(...Fd),this.flowPragma=void 0}getScopeHandler(){return c_}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(Fd,Kd){Fd!==133&&Fd!==13&&Fd!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(Fd,Kd)}addComment(Fd){if(this.flowPragma===void 0){let Kd=dv.exec(Fd.value);if(Kd)if(Kd[1]==="flow")this.flowPragma="flow";else if(Kd[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(Fd)}flowParseTypeInitialiser(Fd){let Kd=this.state.inType;this.state.inType=!0,this.expect(Fd||14);let yf=this.flowParseType();return this.state.inType=Kd,yf}flowParsePredicate(){let Fd=this.startNode(),Kd=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>Kd.index+1&&this.raise(Rg.UnexpectedSpaceBetweenModuloChecks,Kd),this.eat(10)?(Fd.value=super.parseExpression(),this.expect(11),this.finishNode(Fd,"DeclaredPredicate")):this.finishNode(Fd,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let Fd=this.state.inType;this.state.inType=!0,this.expect(14);let Kd=null,yf=null;return this.match(54)?(this.state.inType=Fd,yf=this.flowParsePredicate()):(Kd=this.flowParseType(),this.state.inType=Fd,this.match(54)&&(yf=this.flowParsePredicate())),[Kd,yf]}flowParseDeclareClass(Fd){return this.next(),this.flowParseInterfaceish(Fd,!0),this.finishNode(Fd,"DeclareClass")}flowParseDeclareFunction(Fd){this.next();let Kd=Fd.id=this.parseIdentifier(),yf=this.startNode(),If=this.startNode();this.match(47)?yf.typeParameters=this.flowParseTypeParameterDeclaration():yf.typeParameters=null,this.expect(10);let uh=this.flowParseFunctionTypeParams();return yf.params=uh.params,yf.rest=uh.rest,yf.this=uh._this,this.expect(11),[yf.returnType,Fd.predicate]=this.flowParseTypeAndPredicateInitialiser(),If.typeAnnotation=this.finishNode(yf,"FunctionTypeAnnotation"),Kd.typeAnnotation=this.finishNode(If,"TypeAnnotation"),this.resetEndLocation(Kd),this.semicolon(),this.scope.declareName(Fd.id.name,2048,Fd.id.loc.start),this.finishNode(Fd,"DeclareFunction")}flowParseDeclare(Fd,Kd){if(this.match(80))return this.flowParseDeclareClass(Fd);if(this.match(68))return this.flowParseDeclareFunction(Fd);if(this.match(74))return this.flowParseDeclareVariable(Fd);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(Fd):(Kd&&this.raise(Rg.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(Fd));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(Fd);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(Fd);if(this.isContextual(129))return this.flowParseDeclareInterface(Fd);if(this.match(82))return this.flowParseDeclareExportDeclaration(Fd,Kd);this.unexpected()}flowParseDeclareVariable(Fd){return this.next(),Fd.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(Fd.id.name,5,Fd.id.loc.start),this.semicolon(),this.finishNode(Fd,"DeclareVariable")}flowParseDeclareModule(Fd){this.scope.enter(0),this.match(133)?Fd.id=super.parseExprAtom():Fd.id=this.parseIdentifier();let Kd=Fd.body=this.startNode(),yf=Kd.body=[];for(this.expect(5);!this.match(8);){let xh=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(Rg.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(xh)):(this.expectContextual(125,Rg.UnsupportedStatementInDeclareModule),xh=this.flowParseDeclare(xh,!0)),yf.push(xh)}this.scope.exit(),this.expect(8),this.finishNode(Kd,"BlockStatement");let If=null,uh=!1;return yf.forEach(xh=>{L0(xh)?(If==="CommonJS"&&this.raise(Rg.AmbiguousDeclareModuleKind,xh),If="ES"):xh.type==="DeclareModuleExports"&&(uh&&this.raise(Rg.DuplicateDeclareModuleExports,xh),If==="ES"&&this.raise(Rg.AmbiguousDeclareModuleKind,xh),If="CommonJS",uh=!0)}),Fd.kind=If||"CommonJS",this.finishNode(Fd,"DeclareModule")}flowParseDeclareExportDeclaration(Fd,Kd){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?Fd.declaration=this.flowParseDeclare(this.startNode()):(Fd.declaration=this.flowParseType(),this.semicolon()),Fd.default=!0,this.finishNode(Fd,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!Kd){let yf=this.state.value;throw this.raise(Rg.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:yf,suggestion:oy[yf]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return Fd.declaration=this.flowParseDeclare(this.startNode()),Fd.default=!1,this.finishNode(Fd,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return Fd=this.parseExport(Fd,null),Fd.type==="ExportNamedDeclaration"&&(Fd.type="ExportDeclaration",Fd.default=!1,delete Fd.exportKind),Fd.type="Declare"+Fd.type,Fd;this.unexpected()}flowParseDeclareModuleExports(Fd){return this.next(),this.expectContextual(111),Fd.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(Fd,"DeclareModuleExports")}flowParseDeclareTypeAlias(Fd){this.next();let Kd=this.flowParseTypeAlias(Fd);return Kd.type="DeclareTypeAlias",Kd}flowParseDeclareOpaqueType(Fd){this.next();let Kd=this.flowParseOpaqueType(Fd,!0);return Kd.type="DeclareOpaqueType",Kd}flowParseDeclareInterface(Fd){return this.next(),this.flowParseInterfaceish(Fd,!1),this.finishNode(Fd,"DeclareInterface")}flowParseInterfaceish(Fd,Kd){if(Fd.id=this.flowParseRestrictedIdentifier(!Kd,!0),this.scope.declareName(Fd.id.name,Kd?17:8201,Fd.id.loc.start),this.match(47)?Fd.typeParameters=this.flowParseTypeParameterDeclaration():Fd.typeParameters=null,Fd.extends=[],this.eat(81))do Fd.extends.push(this.flowParseInterfaceExtends());while(!Kd&&this.eat(12));if(Kd){if(Fd.implements=[],Fd.mixins=[],this.eatContextual(117))do Fd.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do Fd.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}Fd.body=this.flowParseObjectType({allowStatic:Kd,allowExact:!1,allowSpread:!1,allowProto:Kd,allowInexact:!1})}flowParseInterfaceExtends(){let Fd=this.startNode();return Fd.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?Fd.typeParameters=this.flowParseTypeParameterInstantiation():Fd.typeParameters=null,this.finishNode(Fd,"InterfaceExtends")}flowParseInterface(Fd){return this.flowParseInterfaceish(Fd,!1),this.finishNode(Fd,"InterfaceDeclaration")}checkNotUnderscore(Fd){Fd==="_"&&this.raise(Rg.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(Fd,Kd,yf){P0.has(Fd)&&this.raise(yf?Rg.AssignReservedType:Rg.UnexpectedReservedType,Kd,{reservedType:Fd})}flowParseRestrictedIdentifier(Fd,Kd){return this.checkReservedType(this.state.value,this.state.startLoc,Kd),this.parseIdentifier(Fd)}flowParseTypeAlias(Fd){return Fd.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(Fd.id.name,8201,Fd.id.loc.start),this.match(47)?Fd.typeParameters=this.flowParseTypeParameterDeclaration():Fd.typeParameters=null,Fd.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(Fd,"TypeAlias")}flowParseOpaqueType(Fd,Kd){return this.expectContextual(130),Fd.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(Fd.id.name,8201,Fd.id.loc.start),this.match(47)?Fd.typeParameters=this.flowParseTypeParameterDeclaration():Fd.typeParameters=null,Fd.supertype=null,this.match(14)&&(Fd.supertype=this.flowParseTypeInitialiser(14)),Fd.impltype=null,Kd||(Fd.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(Fd,"OpaqueType")}flowParseTypeParameter(Fd=!1){let Kd=this.state.startLoc,yf=this.startNode(),If=this.flowParseVariance(),uh=this.flowParseTypeAnnotatableIdentifier();return yf.name=uh.name,yf.variance=If,yf.bound=uh.typeAnnotation,this.match(29)?(this.eat(29),yf.default=this.flowParseType()):Fd&&this.raise(Rg.MissingTypeParamDefault,Kd),this.finishNode(yf,"TypeParameter")}flowParseTypeParameterDeclaration(){let Fd=this.state.inType,Kd=this.startNode();Kd.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let yf=!1;do{let If=this.flowParseTypeParameter(yf);Kd.params.push(If),If.default&&(yf=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=Fd,this.finishNode(Kd,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let Fd=this.startNode(),Kd=this.state.inType;Fd.params=[],this.state.inType=!0,this.expect(47);let yf=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)Fd.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=yf,this.expect(48),this.state.inType=Kd,this.finishNode(Fd,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let Fd=this.startNode(),Kd=this.state.inType;for(Fd.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)Fd.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=Kd,this.finishNode(Fd,"TypeParameterInstantiation")}flowParseInterfaceType(){let Fd=this.startNode();if(this.expectContextual(129),Fd.extends=[],this.eat(81))do Fd.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return Fd.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(Fd,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(Fd,Kd,yf){return Fd.static=Kd,this.lookahead().type===14?(Fd.id=this.flowParseObjectPropertyKey(),Fd.key=this.flowParseTypeInitialiser()):(Fd.id=null,Fd.key=this.flowParseType()),this.expect(3),Fd.value=this.flowParseTypeInitialiser(),Fd.variance=yf,this.finishNode(Fd,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(Fd,Kd){return Fd.static=Kd,Fd.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(Fd.method=!0,Fd.optional=!1,Fd.value=this.flowParseObjectTypeMethodish(this.startNodeAt(Fd.loc.start))):(Fd.method=!1,this.eat(17)&&(Fd.optional=!0),Fd.value=this.flowParseTypeInitialiser()),this.finishNode(Fd,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(Fd){for(Fd.params=[],Fd.rest=null,Fd.typeParameters=null,Fd.this=null,this.match(47)&&(Fd.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(Fd.this=this.flowParseFunctionTypeParam(!0),Fd.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)Fd.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(Fd.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),Fd.returnType=this.flowParseTypeInitialiser(),this.finishNode(Fd,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(Fd,Kd){let yf=this.startNode();return Fd.static=Kd,Fd.value=this.flowParseObjectTypeMethodish(yf),this.finishNode(Fd,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:Fd,allowExact:Kd,allowSpread:yf,allowProto:If,allowInexact:uh}){let xh=this.state.inType;this.state.inType=!0;let Vh=this.startNode();Vh.callProperties=[],Vh.properties=[],Vh.indexers=[],Vh.internalSlots=[];let fm,om,zm=!1;for(Kd&&this.match(6)?(this.expect(6),fm=9,om=!0):(this.expect(5),fm=8,om=!1),Vh.exact=om;!this.match(fm);){let Tg=!1,Ag=null,qg=null,I_=this.startNode();if(If&&this.isContextual(118)){let u_=this.lookahead();u_.type!==14&&u_.type!==17&&(this.next(),Ag=this.state.startLoc,Fd=!1)}if(Fd&&this.isContextual(106)){let u_=this.lookahead();u_.type!==14&&u_.type!==17&&(this.next(),Tg=!0)}let r_=this.flowParseVariance();if(this.eat(0))Ag!=null&&this.unexpected(Ag),this.eat(0)?(r_&&this.unexpected(r_.loc.start),Vh.internalSlots.push(this.flowParseObjectTypeInternalSlot(I_,Tg))):Vh.indexers.push(this.flowParseObjectTypeIndexer(I_,Tg,r_));else if(this.match(10)||this.match(47))Ag!=null&&this.unexpected(Ag),r_&&this.unexpected(r_.loc.start),Vh.callProperties.push(this.flowParseObjectTypeCallProperty(I_,Tg));else{let u_="init";if(this.isContextual(99)||this.isContextual(104)){let Ay=this.lookahead();sh(Ay.type)&&(u_=this.state.value,this.next())}let Q_=this.flowParseObjectTypeProperty(I_,Tg,Ag,r_,u_,yf,uh??!om);Q_===null?(zm=!0,qg=this.state.lastTokStartLoc):Vh.properties.push(Q_)}this.flowObjectTypeSemicolon(),qg&&!this.match(8)&&!this.match(9)&&this.raise(Rg.UnexpectedExplicitInexactInObject,qg)}this.expect(fm),yf&&(Vh.inexact=zm);let sg=this.finishNode(Vh,"ObjectTypeAnnotation");return this.state.inType=xh,sg}flowParseObjectTypeProperty(Fd,Kd,yf,If,uh,xh,Vh){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(xh?Vh||this.raise(Rg.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Rg.InexactInsideNonObject,this.state.lastTokStartLoc),If&&this.raise(Rg.InexactVariance,If),null):(xh||this.raise(Rg.UnexpectedSpreadType,this.state.lastTokStartLoc),yf!=null&&this.unexpected(yf),If&&this.raise(Rg.SpreadVariance,If),Fd.argument=this.flowParseType(),this.finishNode(Fd,"ObjectTypeSpreadProperty"));{Fd.key=this.flowParseObjectPropertyKey(),Fd.static=Kd,Fd.proto=yf!=null,Fd.kind=uh;let fm=!1;return this.match(47)||this.match(10)?(Fd.method=!0,yf!=null&&this.unexpected(yf),If&&this.unexpected(If.loc.start),Fd.value=this.flowParseObjectTypeMethodish(this.startNodeAt(Fd.loc.start)),(uh==="get"||uh==="set")&&this.flowCheckGetterSetterParams(Fd),!xh&&Fd.key.name==="constructor"&&Fd.value.this&&this.raise(Rg.ThisParamBannedInConstructor,Fd.value.this)):(uh!=="init"&&this.unexpected(),Fd.method=!1,this.eat(17)&&(fm=!0),Fd.value=this.flowParseTypeInitialiser(),Fd.variance=If),Fd.optional=fm,this.finishNode(Fd,"ObjectTypeProperty")}}flowCheckGetterSetterParams(Fd){let Kd=Fd.kind==="get"?0:1,yf=Fd.value.params.length+(Fd.value.rest?1:0);Fd.value.this&&this.raise(Fd.kind==="get"?Rg.GetterMayNotHaveThisParam:Rg.SetterMayNotHaveThisParam,Fd.value.this),yf!==Kd&&this.raise(Fd.kind==="get"?Ld.BadGetterArity:Ld.BadSetterArity,Fd),Fd.kind==="set"&&Fd.value.rest&&this.raise(Ld.BadSetterRestParameter,Fd)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(Fd,Kd){Fd!=null||(Fd=this.state.startLoc);let yf=Kd||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let If=this.startNodeAt(Fd);If.qualification=yf,If.id=this.flowParseRestrictedIdentifier(!0),yf=this.finishNode(If,"QualifiedTypeIdentifier")}return yf}flowParseGenericType(Fd,Kd){let yf=this.startNodeAt(Fd);return yf.typeParameters=null,yf.id=this.flowParseQualifiedTypeIdentifier(Fd,Kd),this.match(47)&&(yf.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(yf,"GenericTypeAnnotation")}flowParseTypeofType(){let Fd=this.startNode();return this.expect(87),Fd.argument=this.flowParsePrimaryType(),this.finishNode(Fd,"TypeofTypeAnnotation")}flowParseTupleType(){let Fd=this.startNode();for(Fd.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(Fd.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(Fd,"TupleTypeAnnotation")}flowParseFunctionTypeParam(Fd){let Kd=null,yf=!1,If=null,uh=this.startNode(),xh=this.lookahead(),Vh=this.state.type===78;return xh.type===14||xh.type===17?(Vh&&!Fd&&this.raise(Rg.ThisParamMustBeFirst,uh),Kd=this.parseIdentifier(Vh),this.eat(17)&&(yf=!0,Vh&&this.raise(Rg.ThisParamMayNotBeOptional,uh)),If=this.flowParseTypeInitialiser()):If=this.flowParseType(),uh.name=Kd,uh.optional=yf,uh.typeAnnotation=If,this.finishNode(uh,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(Fd){let Kd=this.startNodeAt(Fd.loc.start);return Kd.name=null,Kd.optional=!1,Kd.typeAnnotation=Fd,this.finishNode(Kd,"FunctionTypeParam")}flowParseFunctionTypeParams(Fd=[]){let Kd=null,yf=null;for(this.match(78)&&(yf=this.flowParseFunctionTypeParam(!0),yf.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)Fd.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(Kd=this.flowParseFunctionTypeParam(!1)),{params:Fd,rest:Kd,_this:yf}}flowIdentToTypeAnnotation(Fd,Kd,yf){switch(yf.name){case"any":return this.finishNode(Kd,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(Kd,"BooleanTypeAnnotation");case"mixed":return this.finishNode(Kd,"MixedTypeAnnotation");case"empty":return this.finishNode(Kd,"EmptyTypeAnnotation");case"number":return this.finishNode(Kd,"NumberTypeAnnotation");case"string":return this.finishNode(Kd,"StringTypeAnnotation");case"symbol":return this.finishNode(Kd,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(yf.name),this.flowParseGenericType(Fd,yf)}}flowParsePrimaryType(){let Fd=this.state.startLoc,Kd=this.startNode(),yf,If,uh=!1,xh=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,If=this.flowParseTupleType(),this.state.noAnonFunctionType=xh,If;case 47:{let Vh=this.startNode();return Vh.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),yf=this.flowParseFunctionTypeParams(),Vh.params=yf.params,Vh.rest=yf.rest,Vh.this=yf._this,this.expect(11),this.expect(19),Vh.returnType=this.flowParseType(),this.finishNode(Vh,"FunctionTypeAnnotation")}case 10:{let Vh=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(Yf(this.state.type)||this.match(78)){let fm=this.lookahead().type;uh=fm!==17&&fm!==14}else uh=!0;if(uh){if(this.state.noAnonFunctionType=!1,If=this.flowParseType(),this.state.noAnonFunctionType=xh,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),If;this.eat(12)}return If?yf=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(If)]):yf=this.flowParseFunctionTypeParams(),Vh.params=yf.params,Vh.rest=yf.rest,Vh.this=yf._this,this.expect(11),this.expect(19),Vh.returnType=this.flowParseType(),Vh.typeParameters=null,this.finishNode(Vh,"FunctionTypeAnnotation")}case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return Kd.value=this.match(85),this.next(),this.finishNode(Kd,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",Kd);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",Kd);throw this.raise(Rg.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(Kd,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(Kd,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(Kd,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(Kd,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Bf(this.state.type)){let Vh=Bh(this.state.type);return this.next(),super.createIdentifier(Kd,Vh)}else if(Yf(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(Fd,Kd,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let Fd=this.state.startLoc,Kd=this.flowParsePrimaryType(),yf=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let If=this.startNodeAt(Fd),uh=this.eat(18);yf=yf||uh,this.expect(0),!uh&&this.match(3)?(If.elementType=Kd,this.next(),Kd=this.finishNode(If,"ArrayTypeAnnotation")):(If.objectType=Kd,If.indexType=this.flowParseType(),this.expect(3),yf?(If.optional=uh,Kd=this.finishNode(If,"OptionalIndexedAccessType")):Kd=this.finishNode(If,"IndexedAccessType"))}return Kd}flowParsePrefixType(){let Fd=this.startNode();return this.eat(17)?(Fd.typeAnnotation=this.flowParsePrefixType(),this.finishNode(Fd,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let Fd=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let Kd=this.startNodeAt(Fd.loc.start);return Kd.params=[this.reinterpretTypeAsFunctionTypeParam(Fd)],Kd.rest=null,Kd.this=null,Kd.returnType=this.flowParseType(),Kd.typeParameters=null,this.finishNode(Kd,"FunctionTypeAnnotation")}return Fd}flowParseIntersectionType(){let Fd=this.startNode();this.eat(45);let Kd=this.flowParseAnonFunctionWithoutParens();for(Fd.types=[Kd];this.eat(45);)Fd.types.push(this.flowParseAnonFunctionWithoutParens());return Fd.types.length===1?Kd:this.finishNode(Fd,"IntersectionTypeAnnotation")}flowParseUnionType(){let Fd=this.startNode();this.eat(43);let Kd=this.flowParseIntersectionType();for(Fd.types=[Kd];this.eat(43);)Fd.types.push(this.flowParseIntersectionType());return Fd.types.length===1?Kd:this.finishNode(Fd,"UnionTypeAnnotation")}flowParseType(){let Fd=this.state.inType;this.state.inType=!0;let Kd=this.flowParseUnionType();return this.state.inType=Fd,Kd}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let Fd=this.state.startLoc,Kd=this.parseIdentifier();return this.flowParseGenericType(Fd,Kd)}else return this.flowParseType()}flowParseTypeAnnotation(){let Fd=this.startNode();return Fd.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(Fd,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(Fd){let Kd=Fd?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(Kd.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(Kd)),Kd}typeCastToParameter(Fd){return Fd.expression.typeAnnotation=Fd.typeAnnotation,this.resetEndLocation(Fd.expression,Fd.typeAnnotation.loc.end),Fd.expression}flowParseVariance(){let Fd=null;return this.match(53)?(Fd=this.startNode(),this.state.value==="+"?Fd.kind="plus":Fd.kind="minus",this.next(),this.finishNode(Fd,"Variance")):Fd}parseFunctionBody(Fd,Kd,yf=!1){if(Kd){this.forwardNoArrowParamsConversionAt(Fd,()=>super.parseFunctionBody(Fd,!0,yf));return}super.parseFunctionBody(Fd,!1,yf)}parseFunctionBodyAndFinish(Fd,Kd,yf=!1){if(this.match(14)){let If=this.startNode();[If.typeAnnotation,Fd.predicate]=this.flowParseTypeAndPredicateInitialiser(),Fd.returnType=If.typeAnnotation?this.finishNode(If,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(Fd,Kd,yf)}parseStatementLike(Fd){if(this.state.strict&&this.isContextual(129)){let yf=this.lookahead();if(Th(yf.type)){let If=this.startNode();return this.next(),this.flowParseInterface(If)}}else if(this.shouldParseEnums()&&this.isContextual(126)){let yf=this.startNode();return this.next(),this.flowParseEnumDeclaration(yf)}let Kd=super.parseStatementLike(Fd);return this.flowPragma===void 0&&!this.isValidDirective(Kd)&&(this.flowPragma=null),Kd}parseExpressionStatement(Fd,Kd,yf){if(Kd.type==="Identifier"){if(Kd.name==="declare"){if(this.match(80)||Yf(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(Fd)}else if(Yf(this.state.type)){if(Kd.name==="interface")return this.flowParseInterface(Fd);if(Kd.name==="type")return this.flowParseTypeAlias(Fd);if(Kd.name==="opaque")return this.flowParseOpaqueType(Fd,!1)}}return super.parseExpressionStatement(Fd,Kd,yf)}shouldParseExportDeclaration(){let{type:Fd}=this.state;return Zf(Fd)||this.shouldParseEnums()&&Fd===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:Fd}=this.state;return Zf(Fd)||this.shouldParseEnums()&&Fd===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){let Fd=this.startNode();return this.next(),this.flowParseEnumDeclaration(Fd)}return super.parseExportDefaultExpression()}parseConditional(Fd,Kd,yf){if(!this.match(17))return Fd;if(this.state.maybeInArrowParameters){let sg=this.lookaheadCharCode();if(sg===44||sg===61||sg===58||sg===41)return this.setOptionalParametersError(yf),Fd}this.expect(17);let If=this.state.clone(),uh=this.state.noArrowAt,xh=this.startNodeAt(Kd),{consequent:Vh,failed:fm}=this.tryParseConditionalConsequent(),[om,zm]=this.getArrowLikeExpressions(Vh);if(fm||zm.length>0){let sg=[...uh];if(zm.length>0){this.state=If,this.state.noArrowAt=sg;for(let Tg=0;Tg<zm.length;Tg++)sg.push(zm[Tg].start);({consequent:Vh,failed:fm}=this.tryParseConditionalConsequent()),[om,zm]=this.getArrowLikeExpressions(Vh)}fm&&om.length>1&&this.raise(Rg.AmbiguousConditionalArrow,If.startLoc),fm&&om.length===1&&(this.state=If,sg.push(om[0].start),this.state.noArrowAt=sg,{consequent:Vh,failed:fm}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(Vh,!0),this.state.noArrowAt=uh,this.expect(14),xh.test=Fd,xh.consequent=Vh,xh.alternate=this.forwardNoArrowParamsConversionAt(xh,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(xh,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let Fd=this.parseMaybeAssignAllowIn(),Kd=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:Fd,failed:Kd}}getArrowLikeExpressions(Fd,Kd){let yf=[Fd],If=[];for(;yf.length!==0;){let uh=yf.pop();uh.type==="ArrowFunctionExpression"&&uh.body.type!=="BlockStatement"?(uh.typeParameters||!uh.returnType?this.finishArrowValidation(uh):If.push(uh),yf.push(uh.body)):uh.type==="ConditionalExpression"&&(yf.push(uh.consequent),yf.push(uh.alternate))}return Kd?(If.forEach(uh=>this.finishArrowValidation(uh)),[If,[]]):uv(If,uh=>uh.params.every(xh=>this.isAssignable(xh,!0)))}finishArrowValidation(Fd){var Kd;this.toAssignableList(Fd.params,(Kd=Fd.extra)==null?void 0:Kd.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(Fd,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(Fd,Kd){let yf;return this.state.noArrowParamsConversionAt.includes(Fd.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),yf=Kd(),this.state.noArrowParamsConversionAt.pop()):yf=Kd(),yf}parseParenItem(Fd,Kd){let yf=super.parseParenItem(Fd,Kd);if(this.eat(17)&&(yf.optional=!0,this.resetEndLocation(Fd)),this.match(14)){let If=this.startNodeAt(Kd);return If.expression=yf,If.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(If,"TypeCastExpression")}return yf}assertModuleNodeAllowed(Fd){Fd.type==="ImportDeclaration"&&(Fd.importKind==="type"||Fd.importKind==="typeof")||Fd.type==="ExportNamedDeclaration"&&Fd.exportKind==="type"||Fd.type==="ExportAllDeclaration"&&Fd.exportKind==="type"||super.assertModuleNodeAllowed(Fd)}parseExportDeclaration(Fd){if(this.isContextual(130)){Fd.exportKind="type";let Kd=this.startNode();return this.next(),this.match(5)?(Fd.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(Fd),null):this.flowParseTypeAlias(Kd)}else if(this.isContextual(131)){Fd.exportKind="type";let Kd=this.startNode();return this.next(),this.flowParseOpaqueType(Kd,!1)}else if(this.isContextual(129)){Fd.exportKind="type";let Kd=this.startNode();return this.next(),this.flowParseInterface(Kd)}else if(this.shouldParseEnums()&&this.isContextual(126)){Fd.exportKind="value";let Kd=this.startNode();return this.next(),this.flowParseEnumDeclaration(Kd)}else return super.parseExportDeclaration(Fd)}eatExportStar(Fd){return super.eatExportStar(Fd)?!0:this.isContextual(130)&&this.lookahead().type===55?(Fd.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(Fd){let{startLoc:Kd}=this.state,yf=super.maybeParseExportNamespaceSpecifier(Fd);return yf&&Fd.exportKind==="type"&&this.unexpected(Kd),yf}parseClassId(Fd,Kd,yf){super.parseClassId(Fd,Kd,yf),this.match(47)&&(Fd.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(Fd,Kd,yf){let{startLoc:If}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(Fd,Kd))return;Kd.declare=!0}super.parseClassMember(Fd,Kd,yf),Kd.declare&&(Kd.type!=="ClassProperty"&&Kd.type!=="ClassPrivateProperty"&&Kd.type!=="PropertyDefinition"?this.raise(Rg.DeclareClassElement,If):Kd.value&&this.raise(Rg.DeclareClassFieldInitializer,Kd.value))}isIterator(Fd){return Fd==="iterator"||Fd==="asyncIterator"}readIterator(){let Fd=super.readWord1(),Kd="@@"+Fd;(!this.isIterator(Fd)||!this.state.inType)&&this.raise(Ld.InvalidIdentifier,this.state.curPosition(),{identifierName:Kd}),this.finishToken(132,Kd)}getTokenFromCode(Fd){let Kd=this.input.charCodeAt(this.state.pos+1);Fd===123&&Kd===124?this.finishOp(6,2):this.state.inType&&(Fd===62||Fd===60)?this.finishOp(Fd===62?48:47,1):this.state.inType&&Fd===63?Kd===46?this.finishOp(18,2):this.finishOp(17,1):Ng(Fd,Kd,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(Fd)}isAssignable(Fd,Kd){return Fd.type==="TypeCastExpression"?this.isAssignable(Fd.expression,Kd):super.isAssignable(Fd,Kd)}toAssignable(Fd,Kd=!1){!Kd&&Fd.type==="AssignmentExpression"&&Fd.left.type==="TypeCastExpression"&&(Fd.left=this.typeCastToParameter(Fd.left)),super.toAssignable(Fd,Kd)}toAssignableList(Fd,Kd,yf){for(let If=0;If<Fd.length;If++){let uh=Fd[If];(uh==null?void 0:uh.type)==="TypeCastExpression"&&(Fd[If]=this.typeCastToParameter(uh))}super.toAssignableList(Fd,Kd,yf)}toReferencedList(Fd,Kd){for(let If=0;If<Fd.length;If++){var yf;let uh=Fd[If];uh&&uh.type==="TypeCastExpression"&&!((yf=uh.extra)!=null&&yf.parenthesized)&&(Fd.length>1||!Kd)&&this.raise(Rg.TypeCastInPattern,uh.typeAnnotation)}return Fd}parseArrayLike(Fd,Kd,yf,If){let uh=super.parseArrayLike(Fd,Kd,yf,If);return Kd&&!this.state.maybeInArrowParameters&&this.toReferencedList(uh.elements),uh}isValidLVal(Fd,Kd,yf){return Fd==="TypeCastExpression"||super.isValidLVal(Fd,Kd,yf)}parseClassProperty(Fd){return this.match(14)&&(Fd.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(Fd)}parseClassPrivateProperty(Fd){return this.match(14)&&(Fd.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(Fd)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(Fd){return!this.match(14)&&super.isNonstaticConstructor(Fd)}pushClassMethod(Fd,Kd,yf,If,uh,xh){if(Kd.variance&&this.unexpected(Kd.variance.loc.start),delete Kd.variance,this.match(47)&&(Kd.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(Fd,Kd,yf,If,uh,xh),Kd.params&&uh){let Vh=Kd.params;Vh.length>0&&this.isThisParam(Vh[0])&&this.raise(Rg.ThisParamBannedInConstructor,Kd)}else if(Kd.type==="MethodDefinition"&&uh&&Kd.value.params){let Vh=Kd.value.params;Vh.length>0&&this.isThisParam(Vh[0])&&this.raise(Rg.ThisParamBannedInConstructor,Kd)}}pushClassPrivateMethod(Fd,Kd,yf,If){Kd.variance&&this.unexpected(Kd.variance.loc.start),delete Kd.variance,this.match(47)&&(Kd.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(Fd,Kd,yf,If)}parseClassSuper(Fd){if(super.parseClassSuper(Fd),Fd.superClass&&this.match(47)&&(Fd.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let Kd=Fd.implements=[];do{let yf=this.startNode();yf.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?yf.typeParameters=this.flowParseTypeParameterInstantiation():yf.typeParameters=null,Kd.push(this.finishNode(yf,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(Fd){super.checkGetterSetterParams(Fd);let Kd=this.getObjectOrClassMethodParams(Fd);if(Kd.length>0){let yf=Kd[0];this.isThisParam(yf)&&Fd.kind==="get"?this.raise(Rg.GetterMayNotHaveThisParam,yf):this.isThisParam(yf)&&this.raise(Rg.SetterMayNotHaveThisParam,yf)}}parsePropertyNamePrefixOperator(Fd){Fd.variance=this.flowParseVariance()}parseObjPropValue(Fd,Kd,yf,If,uh,xh,Vh){Fd.variance&&this.unexpected(Fd.variance.loc.start),delete Fd.variance;let fm;this.match(47)&&!xh&&(fm=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let om=super.parseObjPropValue(Fd,Kd,yf,If,uh,xh,Vh);return fm&&((om.value||om).typeParameters=fm),om}parseAssignableListItemTypes(Fd){return this.eat(17)&&(Fd.type!=="Identifier"&&this.raise(Rg.PatternIsOptional,Fd),this.isThisParam(Fd)&&this.raise(Rg.ThisParamMayNotBeOptional,Fd),Fd.optional=!0),this.match(14)?Fd.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(Fd)&&this.raise(Rg.ThisParamAnnotationRequired,Fd),this.match(29)&&this.isThisParam(Fd)&&this.raise(Rg.ThisParamNoDefault,Fd),this.resetEndLocation(Fd),Fd}parseMaybeDefault(Fd,Kd){let yf=super.parseMaybeDefault(Fd,Kd);return yf.type==="AssignmentPattern"&&yf.typeAnnotation&&yf.right.start<yf.typeAnnotation.start&&this.raise(Rg.TypeBeforeInitializer,yf.typeAnnotation),yf}checkImportReflection(Fd){super.checkImportReflection(Fd),Fd.module&&Fd.importKind!=="value"&&this.raise(Rg.ImportReflectionHasImportType,Fd.specifiers[0].loc.start)}parseImportSpecifierLocal(Fd,Kd,yf){Kd.local=T0(Fd)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),Fd.specifiers.push(this.finishImportSpecifier(Kd,yf))}isPotentialImportPhase(Fd){if(super.isPotentialImportPhase(Fd))return!0;if(this.isContextual(130)){if(!Fd)return!0;let Kd=this.lookaheadCharCode();return Kd===123||Kd===42}return!Fd&&this.isContextual(87)}applyImportPhase(Fd,Kd,yf,If){if(super.applyImportPhase(Fd,Kd,yf,If),Kd){if(!yf&&this.match(65))return;Fd.exportKind=yf==="type"?yf:"value"}else yf==="type"&&this.match(55)&&this.unexpected(),Fd.importKind=yf==="type"||yf==="typeof"?yf:"value"}parseImportSpecifier(Fd,Kd,yf,If,uh){let xh=Fd.imported,Vh=null;xh.type==="Identifier"&&(xh.name==="type"?Vh="type":xh.name==="typeof"&&(Vh="typeof"));let fm=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let zm=this.parseIdentifier(!0);Vh!==null&&!Th(this.state.type)?(Fd.imported=zm,Fd.importKind=Vh,Fd.local=X_(zm)):(Fd.imported=xh,Fd.importKind=null,Fd.local=this.parseIdentifier())}else{if(Vh!==null&&Th(this.state.type))Fd.imported=this.parseIdentifier(!0),Fd.importKind=Vh;else{if(Kd)throw this.raise(Ld.ImportBindingIsString,Fd,{importName:xh.value});Fd.imported=xh,Fd.importKind=null}this.eatContextual(93)?Fd.local=this.parseIdentifier():(fm=!0,Fd.local=X_(Fd.imported))}let om=T0(Fd);return yf&&om&&this.raise(Rg.ImportTypeShorthandOnlyInPureImport,Fd),(yf||om)&&this.checkReservedType(Fd.local.name,Fd.local.loc.start,!0),fm&&!yf&&!om&&this.checkReservedWord(Fd.local.name,Fd.loc.start,!0,!0),this.finishImportSpecifier(Fd,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(Fd,Kd){let yf=Fd.kind;yf!=="get"&&yf!=="set"&&this.match(47)&&(Fd.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(Fd,Kd)}parseVarId(Fd,Kd){super.parseVarId(Fd,Kd),this.match(14)&&(Fd.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(Fd.id))}parseAsyncArrowFromCallExpression(Fd,Kd){if(this.match(14)){let yf=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,Fd.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=yf}return super.parseAsyncArrowFromCallExpression(Fd,Kd)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(Fd,Kd){var yf;let If=null,uh;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(If=this.state.clone(),uh=this.tryParse(()=>super.parseMaybeAssign(Fd,Kd),If),!uh.error)return uh.node;let{context:fm}=this.state,om=fm[fm.length-1];(om===gf.j_oTag||om===gf.j_expr)&&fm.pop()}if((yf=uh)!=null&&yf.error||this.match(47)){var xh,Vh;If=If||this.state.clone();let fm,om=this.tryParse(sg=>{var Tg;fm=this.flowParseTypeParameterDeclaration();let Ag=this.forwardNoArrowParamsConversionAt(fm,()=>{let I_=super.parseMaybeAssign(Fd,Kd);return this.resetStartLocationFromNode(I_,fm),I_});(Tg=Ag.extra)!=null&&Tg.parenthesized&&sg();let qg=this.maybeUnwrapTypeCastExpression(Ag);return qg.type!=="ArrowFunctionExpression"&&sg(),qg.typeParameters=fm,this.resetStartLocationFromNode(qg,fm),Ag},If),zm=null;if(om.node&&this.maybeUnwrapTypeCastExpression(om.node).type==="ArrowFunctionExpression"){if(!om.error&&!om.aborted)return om.node.async&&this.raise(Rg.UnexpectedTypeParameterBeforeAsyncArrowFunction,fm),om.node;zm=om.node}if((xh=uh)!=null&&xh.node)return this.state=uh.failState,uh.node;if(zm)return this.state=om.failState,zm;throw(Vh=uh)!=null&&Vh.thrown?uh.error:om.thrown?om.error:this.raise(Rg.UnexpectedTokenAfterTypeParameter,fm)}return super.parseMaybeAssign(Fd,Kd)}parseArrow(Fd){if(this.match(14)){let Kd=this.tryParse(()=>{let yf=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let If=this.startNode();return[If.typeAnnotation,Fd.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=yf,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),If});if(Kd.thrown)return null;Kd.error&&(this.state=Kd.failState),Fd.returnType=Kd.node.typeAnnotation?this.finishNode(Kd.node,"TypeAnnotation"):null}return super.parseArrow(Fd)}shouldParseArrow(Fd){return this.match(14)||super.shouldParseArrow(Fd)}setArrowFunctionParameters(Fd,Kd){this.state.noArrowParamsConversionAt.includes(Fd.start)?Fd.params=Kd:super.setArrowFunctionParameters(Fd,Kd)}checkParams(Fd,Kd,yf,If=!0){if(!(yf&&this.state.noArrowParamsConversionAt.includes(Fd.start))){for(let uh=0;uh<Fd.params.length;uh++)this.isThisParam(Fd.params[uh])&&uh>0&&this.raise(Rg.ThisParamMustBeFirst,Fd.params[uh]);super.checkParams(Fd,Kd,yf,If)}}parseParenAndDistinguishExpression(Fd){return super.parseParenAndDistinguishExpression(Fd&&!this.state.noArrowAt.includes(this.state.start))}parseSubscripts(Fd,Kd,yf){if(Fd.type==="Identifier"&&Fd.name==="async"&&this.state.noArrowAt.includes(Kd.index)){this.next();let If=this.startNodeAt(Kd);If.callee=Fd,If.arguments=super.parseCallExpressionArguments(11,!1),Fd=this.finishNode(If,"CallExpression")}else if(Fd.type==="Identifier"&&Fd.name==="async"&&this.match(47)){let If=this.state.clone(),uh=this.tryParse(Vh=>this.parseAsyncArrowWithTypeParameters(Kd)||Vh(),If);if(!uh.error&&!uh.aborted)return uh.node;let xh=this.tryParse(()=>super.parseSubscripts(Fd,Kd,yf),If);if(xh.node&&!xh.error)return xh.node;if(uh.node)return this.state=uh.failState,uh.node;if(xh.node)return this.state=xh.failState,xh.node;throw uh.error||xh.error}return super.parseSubscripts(Fd,Kd,yf)}parseSubscript(Fd,Kd,yf,If){if(this.match(18)&&this.isLookaheadToken_lt()){if(If.optionalChainMember=!0,yf)return If.stop=!0,Fd;this.next();let uh=this.startNodeAt(Kd);return uh.callee=Fd,uh.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),uh.arguments=this.parseCallExpressionArguments(11,!1),uh.optional=!0,this.finishCallExpression(uh,!0)}else if(!yf&&this.shouldParseTypes()&&this.match(47)){let uh=this.startNodeAt(Kd);uh.callee=Fd;let xh=this.tryParse(()=>(uh.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),uh.arguments=super.parseCallExpressionArguments(11,!1),If.optionalChainMember&&(uh.optional=!1),this.finishCallExpression(uh,If.optionalChainMember)));if(xh.node)return xh.error&&(this.state=xh.failState),xh.node}return super.parseSubscript(Fd,Kd,yf,If)}parseNewCallee(Fd){super.parseNewCallee(Fd);let Kd=null;this.shouldParseTypes()&&this.match(47)&&(Kd=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),Fd.typeArguments=Kd}parseAsyncArrowWithTypeParameters(Fd){let Kd=this.startNodeAt(Fd);if(this.parseFunctionParams(Kd,!1),!!this.parseArrow(Kd))return super.parseArrowExpression(Kd,void 0,!0)}readToken_mult_modulo(Fd){let Kd=this.input.charCodeAt(this.state.pos+1);if(Fd===42&&Kd===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(Fd)}readToken_pipe_amp(Fd){let Kd=this.input.charCodeAt(this.state.pos+1);if(Fd===124&&Kd===125){this.finishOp(9,2);return}super.readToken_pipe_amp(Fd)}parseTopLevel(Fd,Kd){let yf=super.parseTopLevel(Fd,Kd);return this.state.hasFlowComment&&this.raise(Rg.UnterminatedFlowComment,this.state.curPosition()),yf}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Rg.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let Fd=this.skipFlowComment();Fd&&(this.state.pos+=Fd,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:Fd}=this.state,Kd=2;for(;[32,9].includes(this.input.charCodeAt(Fd+Kd));)Kd++;let yf=this.input.charCodeAt(Kd+Fd),If=this.input.charCodeAt(Kd+Fd+1);return yf===58&&If===58?Kd+2:this.input.slice(Kd+Fd,Kd+Fd+12)==="flow-include"?Kd+12:yf===58&&If!==58?Kd:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(Ld.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(Fd,{enumName:Kd,memberName:yf}){this.raise(Rg.EnumBooleanMemberNotInitialized,Fd,{memberName:yf,enumName:Kd})}flowEnumErrorInvalidMemberInitializer(Fd,Kd){return this.raise(Kd.explicitType?Kd.explicitType==="symbol"?Rg.EnumInvalidMemberInitializerSymbolType:Rg.EnumInvalidMemberInitializerPrimaryType:Rg.EnumInvalidMemberInitializerUnknownType,Fd,Kd)}flowEnumErrorNumberMemberNotInitialized(Fd,Kd){this.raise(Rg.EnumNumberMemberNotInitialized,Fd,Kd)}flowEnumErrorStringMemberInconsistentlyInitialized(Fd,Kd){this.raise(Rg.EnumStringMemberInconsistentlyInitialized,Fd,Kd)}flowEnumMemberInit(){let Fd=this.state.startLoc,Kd=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{let yf=this.parseNumericLiteral(this.state.value);return Kd()?{type:"number",loc:yf.loc.start,value:yf}:{type:"invalid",loc:Fd}}case 133:{let yf=this.parseStringLiteral(this.state.value);return Kd()?{type:"string",loc:yf.loc.start,value:yf}:{type:"invalid",loc:Fd}}case 85:case 86:{let yf=this.parseBooleanLiteral(this.match(85));return Kd()?{type:"boolean",loc:yf.loc.start,value:yf}:{type:"invalid",loc:Fd}}default:return{type:"invalid",loc:Fd}}}flowEnumMemberRaw(){let Fd=this.state.startLoc,Kd=this.parseIdentifier(!0),yf=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:Fd};return{id:Kd,init:yf}}flowEnumCheckExplicitTypeMismatch(Fd,Kd,yf){let{explicitType:If}=Kd;If!==null&&If!==yf&&this.flowEnumErrorInvalidMemberInitializer(Fd,Kd)}flowEnumMembers({enumName:Fd,explicitType:Kd}){let yf=new Set,If={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},uh=!1;for(;!this.match(8);){if(this.eat(21)){uh=!0;break}let xh=this.startNode(),{id:Vh,init:fm}=this.flowEnumMemberRaw(),om=Vh.name;if(om==="")continue;/^[a-z]/.test(om)&&this.raise(Rg.EnumInvalidMemberName,Vh,{memberName:om,suggestion:om[0].toUpperCase()+om.slice(1),enumName:Fd}),yf.has(om)&&this.raise(Rg.EnumDuplicateMemberName,Vh,{memberName:om,enumName:Fd}),yf.add(om);let zm={enumName:Fd,explicitType:Kd,memberName:om};switch(xh.id=Vh,fm.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(fm.loc,zm,"boolean"),xh.init=fm.value,If.booleanMembers.push(this.finishNode(xh,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(fm.loc,zm,"number"),xh.init=fm.value,If.numberMembers.push(this.finishNode(xh,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(fm.loc,zm,"string"),xh.init=fm.value,If.stringMembers.push(this.finishNode(xh,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(fm.loc,zm);case"none":switch(Kd){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(fm.loc,zm);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(fm.loc,zm);break;default:If.defaultedMembers.push(this.finishNode(xh,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:If,hasUnknownMembers:uh}}flowEnumStringMembers(Fd,Kd,{enumName:yf}){if(Fd.length===0)return Kd;if(Kd.length===0)return Fd;if(Kd.length>Fd.length){for(let If of Fd)this.flowEnumErrorStringMemberInconsistentlyInitialized(If,{enumName:yf});return Kd}else{for(let If of Kd)this.flowEnumErrorStringMemberInconsistentlyInitialized(If,{enumName:yf});return Fd}}flowEnumParseExplicitType({enumName:Fd}){if(!this.eatContextual(102))return null;if(!Yf(this.state.type))throw this.raise(Rg.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:Fd});let{value:Kd}=this.state;return this.next(),Kd!=="boolean"&&Kd!=="number"&&Kd!=="string"&&Kd!=="symbol"&&this.raise(Rg.EnumInvalidExplicitType,this.state.startLoc,{enumName:Fd,invalidEnumType:Kd}),Kd}flowEnumBody(Fd,Kd){let yf=Kd.name,If=Kd.loc.start,uh=this.flowEnumParseExplicitType({enumName:yf});this.expect(5);let{members:xh,hasUnknownMembers:Vh}=this.flowEnumMembers({enumName:yf,explicitType:uh});switch(Fd.hasUnknownMembers=Vh,uh){case"boolean":return Fd.explicitType=!0,Fd.members=xh.booleanMembers,this.expect(8),this.finishNode(Fd,"EnumBooleanBody");case"number":return Fd.explicitType=!0,Fd.members=xh.numberMembers,this.expect(8),this.finishNode(Fd,"EnumNumberBody");case"string":return Fd.explicitType=!0,Fd.members=this.flowEnumStringMembers(xh.stringMembers,xh.defaultedMembers,{enumName:yf}),this.expect(8),this.finishNode(Fd,"EnumStringBody");case"symbol":return Fd.members=xh.defaultedMembers,this.expect(8),this.finishNode(Fd,"EnumSymbolBody");default:{let fm=()=>(Fd.members=[],this.expect(8),this.finishNode(Fd,"EnumStringBody"));Fd.explicitType=!1;let om=xh.booleanMembers.length,zm=xh.numberMembers.length,sg=xh.stringMembers.length,Tg=xh.defaultedMembers.length;if(!om&&!zm&&!sg&&!Tg)return fm();if(!om&&!zm)return Fd.members=this.flowEnumStringMembers(xh.stringMembers,xh.defaultedMembers,{enumName:yf}),this.expect(8),this.finishNode(Fd,"EnumStringBody");if(!zm&&!sg&&om>=Tg){for(let Ag of xh.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Ag.loc.start,{enumName:yf,memberName:Ag.id.name});return Fd.members=xh.booleanMembers,this.expect(8),this.finishNode(Fd,"EnumBooleanBody")}else if(!om&&!sg&&zm>=Tg){for(let Ag of xh.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Ag.loc.start,{enumName:yf,memberName:Ag.id.name});return Fd.members=xh.numberMembers,this.expect(8),this.finishNode(Fd,"EnumNumberBody")}else return this.raise(Rg.EnumInconsistentMemberValues,If,{enumName:yf}),fm()}}}flowParseEnumDeclaration(Fd){let Kd=this.parseIdentifier();return Fd.id=Kd,Fd.body=this.flowEnumBody(this.startNode(),Kd),this.finishNode(Fd,"EnumDeclaration")}isLookaheadToken_lt(){let Fd=this.nextTokenStart();if(this.input.charCodeAt(Fd)===60){let Kd=this.input.charCodeAt(Fd+1);return Kd!==60&&Kd!==61}return!1}maybeUnwrapTypeCastExpression(Fd){return Fd.type==="TypeCastExpression"?Fd.expression:Fd}},F_=jd`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:Wd})=>`Expected corresponding JSX closing tag for <${Wd}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:Wd,HTMLEntity:Fd})=>`Unexpected token \`${Wd}\`. Did you mean \`${Fd}\` or \`{'${Wd}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function xb(Wd){return Wd?Wd.type==="JSXOpeningFragment"||Wd.type==="JSXClosingFragment":!1}function Wb(Wd){if(Wd.type==="JSXIdentifier")return Wd.name;if(Wd.type==="JSXNamespacedName")return Wd.namespace.name+":"+Wd.name.name;if(Wd.type==="JSXMemberExpression")return Wb(Wd.object)+"."+Wb(Wd.property);throw new Error("Node had unexpected type: "+Wd.type)}var C0=Wd=>class extends Wd{jsxReadToken(){let Fd="",Kd=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(F_.UnterminatedJsxContent,this.state.startLoc);let yf=this.input.charCodeAt(this.state.pos);switch(yf){case 60:case 123:if(this.state.pos===this.state.start){yf===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(yf);return}Fd+=this.input.slice(Kd,this.state.pos),this.finishToken(141,Fd);return;case 38:Fd+=this.input.slice(Kd,this.state.pos),Fd+=this.jsxReadEntity(),Kd=this.state.pos;break;case 62:case 125:default:sm(yf)?(Fd+=this.input.slice(Kd,this.state.pos),Fd+=this.jsxReadNewLine(!0),Kd=this.state.pos):++this.state.pos}}}jsxReadNewLine(Fd){let Kd=this.input.charCodeAt(this.state.pos),yf;return++this.state.pos,Kd===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,yf=Fd?`
|
||
`:`\r
|
||
`):yf=String.fromCharCode(Kd),++this.state.curLine,this.state.lineStart=this.state.pos,yf}jsxReadString(Fd){let Kd="",yf=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ld.UnterminatedString,this.state.startLoc);let If=this.input.charCodeAt(this.state.pos);if(If===Fd)break;If===38?(Kd+=this.input.slice(yf,this.state.pos),Kd+=this.jsxReadEntity(),yf=this.state.pos):sm(If)?(Kd+=this.input.slice(yf,this.state.pos),Kd+=this.jsxReadNewLine(!1),yf=this.state.pos):++this.state.pos}Kd+=this.input.slice(yf,this.state.pos++),this.finishToken(133,Kd)}jsxReadEntity(){let Fd=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let Kd=10;this.codePointAtPos(this.state.pos)===120&&(Kd=16,++this.state.pos);let yf=this.readInt(Kd,void 0,!1,"bail");if(yf!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(yf)}else{let Kd=0,yf=!1;for(;Kd++<10&&this.state.pos<this.length&&!(yf=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(yf){this.input.slice(Fd,this.state.pos);let If;++this.state.pos}}return this.state.pos=Fd,"&"}jsxReadWord(){let Fd,Kd=this.state.pos;do Fd=this.input.charCodeAt(++this.state.pos);while(Im(Fd)||Fd===45);this.finishToken(140,this.input.slice(Kd,this.state.pos))}jsxParseIdentifier(){let Fd=this.startNode();return this.match(140)?Fd.name=this.state.value:Bf(this.state.type)?Fd.name=Bh(this.state.type):this.unexpected(),this.next(),this.finishNode(Fd,"JSXIdentifier")}jsxParseNamespacedName(){let Fd=this.state.startLoc,Kd=this.jsxParseIdentifier();if(!this.eat(14))return Kd;let yf=this.startNodeAt(Fd);return yf.namespace=Kd,yf.name=this.jsxParseIdentifier(),this.finishNode(yf,"JSXNamespacedName")}jsxParseElementName(){let Fd=this.state.startLoc,Kd=this.jsxParseNamespacedName();if(Kd.type==="JSXNamespacedName")return Kd;for(;this.eat(16);){let yf=this.startNodeAt(Fd);yf.object=Kd,yf.property=this.jsxParseIdentifier(),Kd=this.finishNode(yf,"JSXMemberExpression")}return Kd}jsxParseAttributeValue(){let Fd;switch(this.state.type){case 5:return Fd=this.startNode(),this.setContext(gf.brace),this.next(),Fd=this.jsxParseExpressionContainer(Fd,gf.j_oTag),Fd.expression.type==="JSXEmptyExpression"&&this.raise(F_.AttributeIsEmpty,Fd),Fd;case 142:case 133:return this.parseExprAtom();default:throw this.raise(F_.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let Fd=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(Fd,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(Fd){return this.next(),Fd.expression=this.parseExpression(),this.setContext(gf.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Fd,"JSXSpreadChild")}jsxParseExpressionContainer(Fd,Kd){if(this.match(8))Fd.expression=this.jsxParseEmptyExpression();else{let yf=this.parseExpression();Fd.expression=yf}return this.setContext(Kd),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Fd,"JSXExpressionContainer")}jsxParseAttribute(){let Fd=this.startNode();return this.match(5)?(this.setContext(gf.brace),this.next(),this.expect(21),Fd.argument=this.parseMaybeAssignAllowIn(),this.setContext(gf.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(Fd,"JSXSpreadAttribute")):(Fd.name=this.jsxParseNamespacedName(),Fd.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(Fd,"JSXAttribute"))}jsxParseOpeningElementAt(Fd){let Kd=this.startNodeAt(Fd);return this.eat(143)?this.finishNode(Kd,"JSXOpeningFragment"):(Kd.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(Kd))}jsxParseOpeningElementAfterName(Fd){let Kd=[];for(;!this.match(56)&&!this.match(143);)Kd.push(this.jsxParseAttribute());return Fd.attributes=Kd,Fd.selfClosing=this.eat(56),this.expect(143),this.finishNode(Fd,"JSXOpeningElement")}jsxParseClosingElementAt(Fd){let Kd=this.startNodeAt(Fd);return this.eat(143)?this.finishNode(Kd,"JSXClosingFragment"):(Kd.name=this.jsxParseElementName(),this.expect(143),this.finishNode(Kd,"JSXClosingElement"))}jsxParseElementAt(Fd){let Kd=this.startNodeAt(Fd),yf=[],If=this.jsxParseOpeningElementAt(Fd),uh=null;if(!If.selfClosing){e:for(;;)switch(this.state.type){case 142:if(Fd=this.state.startLoc,this.next(),this.eat(56)){uh=this.jsxParseClosingElementAt(Fd);break e}yf.push(this.jsxParseElementAt(Fd));break;case 141:yf.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let xh=this.startNode();this.setContext(gf.brace),this.next(),this.match(21)?yf.push(this.jsxParseSpreadChild(xh)):yf.push(this.jsxParseExpressionContainer(xh,gf.j_expr));break}default:this.unexpected()}xb(If)&&!xb(uh)&&uh!==null?this.raise(F_.MissingClosingTagFragment,uh):!xb(If)&&xb(uh)?this.raise(F_.MissingClosingTagElement,uh,{openingTagName:Wb(If.name)}):!xb(If)&&!xb(uh)&&Wb(uh.name)!==Wb(If.name)&&this.raise(F_.MissingClosingTagElement,uh,{openingTagName:Wb(If.name)})}if(xb(If)?(Kd.openingFragment=If,Kd.closingFragment=uh):(Kd.openingElement=If,Kd.closingElement=uh),Kd.children=yf,this.match(47))throw this.raise(F_.UnwrappedAdjacentJSXElements,this.state.startLoc);return xb(If)?this.finishNode(Kd,"JSXFragment"):this.finishNode(Kd,"JSXElement")}jsxParseElement(){let Fd=this.state.startLoc;return this.next(),this.jsxParseElementAt(Fd)}setContext(Fd){let{context:Kd}=this.state;Kd[Kd.length-1]=Fd}parseExprAtom(Fd){return this.match(142)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(142),this.jsxParseElement()):super.parseExprAtom(Fd)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(Fd){let Kd=this.curContext();if(Kd===gf.j_expr){this.jsxReadToken();return}if(Kd===gf.j_oTag||Kd===gf.j_cTag){if(dm(Fd)){this.jsxReadWord();return}if(Fd===62){++this.state.pos,this.finishToken(143);return}if((Fd===34||Fd===39)&&Kd===gf.j_oTag){this.jsxReadString(Fd);return}}if(Fd===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(142);return}super.getTokenFromCode(Fd)}updateContext(Fd){let{context:Kd,type:yf}=this.state;if(yf===56&&Fd===142)Kd.splice(-2,2,gf.j_cTag),this.state.canStartJSXElement=!1;else if(yf===142)Kd.push(gf.j_oTag);else if(yf===143){let If=Kd[Kd.length-1];If===gf.j_oTag&&Fd===56||If===gf.j_cTag?(Kd.pop(),this.state.canStartJSXElement=Kd[Kd.length-1]===gf.j_expr):(this.setContext(gf.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Nf(yf)}},B0=class extends C_{constructor(...Wd){super(...Wd),this.tsNames=new Map}},BE=class extends N_{constructor(...Wd){super(...Wd),this.importsStack=[]}createScope(Wd){return this.importsStack.push(new Set),new B0(Wd)}enter(Wd){Wd===256&&this.importsStack.push(new Set),super.enter(Wd)}exit(){let Wd=super.exit();return Wd===256&&this.importsStack.pop(),Wd}hasImport(Wd,Fd){let Kd=this.importsStack.length;if(this.importsStack[Kd-1].has(Wd))return!0;if(!Fd&&Kd>1){for(let yf=0;yf<Kd-1;yf++)if(this.importsStack[yf].has(Wd))return!0}return!1}declareName(Wd,Fd,Kd){if(Fd&4096){this.hasImport(Wd,!0)&&this.parser.raise(Ld.VarRedeclaration,Kd,{identifierName:Wd}),this.importsStack[this.importsStack.length-1].add(Wd);return}let yf=this.currentScope(),If=yf.tsNames.get(Wd)||0;if(Fd&1024){this.maybeExportDefined(yf,Wd),yf.tsNames.set(Wd,If|16);return}super.declareName(Wd,Fd,Kd),Fd&2&&(Fd&1||(this.checkRedeclarationInScope(yf,Wd,Fd,Kd),this.maybeExportDefined(yf,Wd)),If=If|1),Fd&256&&(If=If|2),Fd&512&&(If=If|4),Fd&128&&(If=If|8),If&&yf.tsNames.set(Wd,If)}isRedeclaredInScope(Wd,Fd,Kd){let yf=Wd.tsNames.get(Fd);if((yf&2)>0){if(Kd&256){let If=!!(Kd&512),uh=(yf&4)>0;return If!==uh}return!0}return Kd&128&&(yf&8)>0?Wd.names.get(Fd)&2?!!(Kd&1):!1:Kd&2&&(yf&1)>0?!0:super.isRedeclaredInScope(Wd,Fd,Kd)}checkLocalExport(Wd){let{name:Fd}=Wd;if(this.hasImport(Fd))return;let Kd=this.scopeStack.length;for(let yf=Kd-1;yf>=0;yf--){let If=this.scopeStack[yf].tsNames.get(Fd);if((If&1)>0||(If&16)>0)return}super.checkLocalExport(Wd)}},eE=(Wd,Fd)=>hasOwnProperty.call(Wd,Fd)&&Wd[Fd],FE=Wd=>Wd.type==="ParenthesizedExpression"?FE(Wd.expression):Wd,PS=class extends sy{toAssignable(Wd,Fd=!1){var Kd,yf;let If;switch((Wd.type==="ParenthesizedExpression"||(Kd=Wd.extra)!=null&&Kd.parenthesized)&&(If=FE(Wd),Fd?If.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(Ld.InvalidParenthesizedAssignment,Wd):If.type!=="MemberExpression"&&!this.isOptionalMemberExpression(If)&&this.raise(Ld.InvalidParenthesizedAssignment,Wd):this.raise(Ld.InvalidParenthesizedAssignment,Wd)),Wd.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":Wd.type="ObjectPattern";for(let xh=0,Vh=Wd.properties.length,fm=Vh-1;xh<Vh;xh++){var uh;let om=Wd.properties[xh],zm=xh===fm;this.toAssignableObjectExpressionProp(om,zm,Fd),zm&&om.type==="RestElement"&&(uh=Wd.extra)!=null&&uh.trailingCommaLoc&&this.raise(Ld.RestTrailingComma,Wd.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:xh,value:Vh}=Wd;this.isPrivateName(xh)&&this.classScope.usePrivateName(this.getPrivateNameSV(xh),xh.loc.start),this.toAssignable(Vh,Fd);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":Wd.type="ArrayPattern",this.toAssignableList(Wd.elements,(yf=Wd.extra)==null?void 0:yf.trailingCommaLoc,Fd);break;case"AssignmentExpression":Wd.operator!=="="&&this.raise(Ld.MissingEqInAssignment,Wd.left.loc.end),Wd.type="AssignmentPattern",delete Wd.operator,this.toAssignable(Wd.left,Fd);break;case"ParenthesizedExpression":this.toAssignable(If,Fd);break}}toAssignableObjectExpressionProp(Wd,Fd,Kd){if(Wd.type==="ObjectMethod")this.raise(Wd.kind==="get"||Wd.kind==="set"?Ld.PatternHasAccessor:Ld.PatternHasMethod,Wd.key);else if(Wd.type==="SpreadElement"){Wd.type="RestElement";let yf=Wd.argument;this.checkToRestConversion(yf,!1),this.toAssignable(yf,Kd),Fd||this.raise(Ld.RestTrailingComma,Wd)}else this.toAssignable(Wd,Kd)}toAssignableList(Wd,Fd,Kd){let yf=Wd.length-1;for(let If=0;If<=yf;If++){let uh=Wd[If];if(uh){if(uh.type==="SpreadElement"){uh.type="RestElement";let xh=uh.argument;this.checkToRestConversion(xh,!0),this.toAssignable(xh,Kd)}else this.toAssignable(uh,Kd);uh.type==="RestElement"&&(If<yf?this.raise(Ld.RestTrailingComma,uh):Fd&&this.raise(Ld.RestTrailingComma,Fd))}}}isAssignable(Wd,Fd){switch(Wd.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let Kd=Wd.properties.length-1;return Wd.properties.every((yf,If)=>yf.type!=="ObjectMethod"&&(If===Kd||yf.type!=="SpreadElement")&&this.isAssignable(yf))}case"ObjectProperty":return this.isAssignable(Wd.value);case"SpreadElement":return this.isAssignable(Wd.argument);case"ArrayExpression":return Wd.elements.every(Kd=>Kd===null||this.isAssignable(Kd));case"AssignmentExpression":return Wd.operator==="=";case"ParenthesizedExpression":return this.isAssignable(Wd.expression);case"MemberExpression":case"OptionalMemberExpression":return!Fd;default:return!1}}toReferencedList(Wd,Fd){return Wd}toReferencedListDeep(Wd,Fd){this.toReferencedList(Wd,Fd);for(let Kd of Wd)(Kd==null?void 0:Kd.type)==="ArrayExpression"&&this.toReferencedListDeep(Kd.elements)}parseSpread(Wd){let Fd=this.startNode();return this.next(),Fd.argument=this.parseMaybeAssignAllowIn(Wd,void 0),this.finishNode(Fd,"SpreadElement")}parseRestBinding(){let Wd=this.startNode();return this.next(),Wd.argument=this.parseBindingAtom(),this.finishNode(Wd,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let Wd=this.startNode();return this.next(),Wd.elements=this.parseBindingList(3,93,1),this.finishNode(Wd,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(Wd,Fd,Kd){let yf=Kd&1,If=[],uh=!0;for(;!this.eat(Wd);)if(uh?uh=!1:this.expect(12),yf&&this.match(12))If.push(null);else{if(this.eat(Wd))break;if(this.match(21)){if(If.push(this.parseAssignableListItemTypes(this.parseRestBinding(),Kd)),!this.checkCommaAfterRest(Fd)){this.expect(Wd);break}}else{let xh=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Ld.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)xh.push(this.parseDecorator());If.push(this.parseAssignableListItem(Kd,xh))}}return If}parseBindingRestProperty(Wd){return this.next(),Wd.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(Wd,"RestElement")}parseBindingProperty(){let{type:Wd,startLoc:Fd}=this.state;if(Wd===21)return this.parseBindingRestProperty(this.startNode());let Kd=this.startNode();return Wd===138?(this.expectPlugin("destructuringPrivate",Fd),this.classScope.usePrivateName(this.state.value,Fd),Kd.key=this.parsePrivateName()):this.parsePropertyName(Kd),Kd.method=!1,this.parseObjPropValue(Kd,Fd,!1,!1,!0,!1)}parseAssignableListItem(Wd,Fd){let Kd=this.parseMaybeDefault();this.parseAssignableListItemTypes(Kd,Wd);let yf=this.parseMaybeDefault(Kd.loc.start,Kd);return Fd.length&&(Kd.decorators=Fd),yf}parseAssignableListItemTypes(Wd,Fd){return Wd}parseMaybeDefault(Wd,Fd){var Kd;if(Wd!=null||(Wd=this.state.startLoc),Fd=(Kd=Fd)!=null?Kd:this.parseBindingAtom(),!this.eat(29))return Fd;let yf=this.startNodeAt(Wd);return yf.left=Fd,yf.right=this.parseMaybeAssignAllowIn(),this.finishNode(yf,"AssignmentPattern")}isValidLVal(Wd,Fd,Kd){return eE({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},Wd)}isOptionalMemberExpression(Wd){return Wd.type==="OptionalMemberExpression"}checkLVal(Wd,{in:Fd,binding:Kd=64,checkClashes:yf=!1,strictModeChanged:If=!1,hasParenthesizedAncestor:uh=!1}){var xh;let Vh=Wd.type;if(this.isObjectMethod(Wd))return;let fm=this.isOptionalMemberExpression(Wd);if(fm||Vh==="MemberExpression"){fm&&(this.expectPlugin("optionalChainingAssign",Wd.loc.start),Fd.type!=="AssignmentExpression"&&this.raise(Ld.InvalidLhsOptionalChaining,Wd,{ancestor:Fd})),Kd!==64&&this.raise(Ld.InvalidPropertyBindingPattern,Wd);return}if(Vh==="Identifier"){this.checkIdentifier(Wd,Kd,If);let{name:Ag}=Wd;yf&&(yf.has(Ag)?this.raise(Ld.ParamDupe,Wd):yf.add(Ag));return}let om=this.isValidLVal(Vh,!(uh||(xh=Wd.extra)!=null&&xh.parenthesized)&&Fd.type==="AssignmentExpression",Kd);if(om===!0)return;if(om===!1){let Ag=Kd===64?Ld.InvalidLhs:Ld.InvalidLhsBinding;this.raise(Ag,Wd,{ancestor:Fd});return}let[zm,sg]=Array.isArray(om)?om:[om,Vh==="ParenthesizedExpression"],Tg=Vh==="ArrayPattern"||Vh==="ObjectPattern"?{type:Vh}:Fd;for(let Ag of[].concat(Wd[zm]))Ag&&this.checkLVal(Ag,{in:Tg,binding:Kd,checkClashes:yf,strictModeChanged:If,hasParenthesizedAncestor:sg})}checkIdentifier(Wd,Fd,Kd=!1){this.state.strict&&(Kd?Fg(Wd.name,this.inModule):n_(Wd.name))&&(Fd===64?this.raise(Ld.StrictEvalArguments,Wd,{referenceName:Wd.name}):this.raise(Ld.StrictEvalArgumentsBinding,Wd,{bindingName:Wd.name})),Fd&8192&&Wd.name==="let"&&this.raise(Ld.LetInLexicalBinding,Wd),Fd&64||this.declareNameFromIdentifier(Wd,Fd)}declareNameFromIdentifier(Wd,Fd){this.scope.declareName(Wd.name,Fd,Wd.loc.start)}checkToRestConversion(Wd,Fd){switch(Wd.type){case"ParenthesizedExpression":this.checkToRestConversion(Wd.expression,Fd);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(Fd)break;default:this.raise(Ld.InvalidRestAssignmentPattern,Wd)}}checkCommaAfterRest(Wd){return this.match(12)?(this.raise(this.lookaheadCharCode()===Wd?Ld.RestTrailingComma:Ld.ElementAfterRest,this.state.startLoc),!0):!1}},tE=(Wd,Fd)=>hasOwnProperty.call(Wd,Fd)&&Wd[Fd];function jE(Wd){if(Wd==null)throw new Error(`Unexpected ${Wd} value.`);return Wd}function UE(Wd){if(!Wd)throw new Error("Assert fail")}var ig=jd`typescript`({AbstractMethodHasImplementation:({methodName:Wd})=>`Method '${Wd}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:Wd})=>`Property '${Wd}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:Wd})=>`'declare' is not allowed in ${Wd}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:Wd})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:Wd})=>`Duplicate modifier: '${Wd}'.`,EmptyHeritageClauseType:({token:Wd})=>`'${Wd}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:Wd})=>`'${Wd[0]}' modifier cannot be used with '${Wd[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:Wd})=>`Index signatures cannot have an accessibility modifier ('${Wd}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:Wd})=>`'${Wd}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:Wd})=>`'${Wd}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:Wd})=>`'${Wd}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:Wd})=>`'${Wd[0]}' modifier must precede '${Wd[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:Wd})=>`Private elements cannot have an accessibility modifier ('${Wd}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:Wd})=>`Single type parameter ${Wd} should have a trailing comma. Example usage: <${Wd},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:Wd})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${Wd}.`});function __(Wd){switch(Wd){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function uy(Wd){return Wd==="private"||Wd==="public"||Wd==="protected"}function pv(Wd){return Wd==="in"||Wd==="out"}var rE=Wd=>class extends Wd{constructor(...Fd){super(...Fd),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:ig.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ig.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ig.InvalidModifierOnTypeParameter})}getScopeHandler(){return BE}tsIsIdentifier(){return Yf(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(Fd,Kd){if(!Yf(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let yf=this.state.value;if(Fd.includes(yf)){if(Kd&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return yf}}tsParseModifiers({allowedModifiers:Fd,disallowedModifiers:Kd,stopOnStartOfClassStaticBlock:yf,errorTemplate:If=ig.InvalidModifierOnTypeMember},uh){let xh=(fm,om,zm,sg)=>{om===zm&&uh[sg]&&this.raise(ig.InvalidModifiersOrder,fm,{orderedModifiers:[zm,sg]})},Vh=(fm,om,zm,sg)=>{(uh[zm]&&om===sg||uh[sg]&&om===zm)&&this.raise(ig.IncompatibleModifiers,fm,{modifiers:[zm,sg]})};for(;;){let{startLoc:fm}=this.state,om=this.tsParseModifier(Fd.concat(Kd??[]),yf);if(!om)break;uy(om)?uh.accessibility?this.raise(ig.DuplicateAccessibilityModifier,fm,{modifier:om}):(xh(fm,om,om,"override"),xh(fm,om,om,"static"),xh(fm,om,om,"readonly"),uh.accessibility=om):pv(om)?(uh[om]&&this.raise(ig.DuplicateModifier,fm,{modifier:om}),uh[om]=!0,xh(fm,om,"in","out")):(hasOwnProperty.call(uh,om)?this.raise(ig.DuplicateModifier,fm,{modifier:om}):(xh(fm,om,"static","readonly"),xh(fm,om,"static","override"),xh(fm,om,"override","readonly"),xh(fm,om,"abstract","override"),Vh(fm,om,"declare","override"),Vh(fm,om,"static","abstract")),uh[om]=!0),Kd!=null&&Kd.includes(om)&&this.raise(If,fm,{modifier:om})}}tsIsListTerminator(Fd){switch(Fd){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(Fd,Kd){let yf=[];for(;!this.tsIsListTerminator(Fd);)yf.push(Kd());return yf}tsParseDelimitedList(Fd,Kd,yf){return jE(this.tsParseDelimitedListWorker(Fd,Kd,!0,yf))}tsParseDelimitedListWorker(Fd,Kd,yf,If){let uh=[],xh=-1;for(;!this.tsIsListTerminator(Fd);){xh=-1;let Vh=Kd();if(Vh==null)return;if(uh.push(Vh),this.eat(12)){xh=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(Fd))break;yf&&this.expect(12);return}return If&&(If.value=xh),uh}tsParseBracketedList(Fd,Kd,yf,If,uh){If||(yf?this.expect(0):this.expect(47));let xh=this.tsParseDelimitedList(Fd,Kd,uh);return yf?this.expect(3):this.expect(48),xh}tsParseImportType(){let Fd=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(ig.UnsupportedImportTypeArgument,this.state.startLoc),Fd.argument=super.parseExprAtom(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(Fd.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(Fd.options=super.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.eat(16)&&(Fd.qualifier=this.tsParseEntityName()),this.match(47)&&(Fd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Fd,"TSImportType")}tsParseEntityName(Fd=!0){let Kd=this.parseIdentifier(Fd);for(;this.eat(16);){let yf=this.startNodeAtNode(Kd);yf.left=Kd,yf.right=this.parseIdentifier(Fd),Kd=this.finishNode(yf,"TSQualifiedName")}return Kd}tsParseTypeReference(){let Fd=this.startNode();return Fd.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(Fd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Fd,"TSTypeReference")}tsParseThisTypePredicate(Fd){this.next();let Kd=this.startNodeAtNode(Fd);return Kd.parameterName=Fd,Kd.typeAnnotation=this.tsParseTypeAnnotation(!1),Kd.asserts=!1,this.finishNode(Kd,"TSTypePredicate")}tsParseThisTypeNode(){let Fd=this.startNode();return this.next(),this.finishNode(Fd,"TSThisType")}tsParseTypeQuery(){let Fd=this.startNode();return this.expect(87),this.match(83)?Fd.exprName=this.tsParseImportType():Fd.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(Fd.typeParameters=this.tsParseTypeArguments()),this.finishNode(Fd,"TSTypeQuery")}tsParseTypeParameter(Fd){let Kd=this.startNode();return Fd(Kd),Kd.name=this.tsParseTypeParameterName(),Kd.constraint=this.tsEatThenParseType(81),Kd.default=this.tsEatThenParseType(29),this.finishNode(Kd,"TSTypeParameter")}tsTryParseTypeParameters(Fd){if(this.match(47))return this.tsParseTypeParameters(Fd)}tsParseTypeParameters(Fd){let Kd=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();let yf={value:-1};return Kd.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,Fd),!1,!0,yf),Kd.params.length===0&&this.raise(ig.EmptyTypeParameters,Kd),yf.value!==-1&&this.addExtra(Kd,"trailingComma",yf.value),this.finishNode(Kd,"TSTypeParameterDeclaration")}tsFillSignature(Fd,Kd){let yf=Fd===19,If="parameters",uh="typeAnnotation";Kd.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),Kd[If]=this.tsParseBindingListForSignature(),yf?Kd[uh]=this.tsParseTypeOrTypePredicateAnnotation(Fd):this.match(Fd)&&(Kd[uh]=this.tsParseTypeOrTypePredicateAnnotation(Fd))}tsParseBindingListForSignature(){let Fd=super.parseBindingList(11,41,2);for(let Kd of Fd){let{type:yf}=Kd;(yf==="AssignmentPattern"||yf==="TSParameterProperty")&&this.raise(ig.UnsupportedSignatureParameterKind,Kd,{type:yf})}return Fd}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(Fd,Kd){return this.tsFillSignature(14,Kd),this.tsParseTypeMemberSemicolon(),this.finishNode(Kd,Fd)}tsIsUnambiguouslyIndexSignature(){return this.next(),Yf(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(Fd){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let Kd=this.parseIdentifier();Kd.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(Kd),this.expect(3),Fd.parameters=[Kd];let yf=this.tsTryParseTypeAnnotation();return yf&&(Fd.typeAnnotation=yf),this.tsParseTypeMemberSemicolon(),this.finishNode(Fd,"TSIndexSignature")}tsParsePropertyOrMethodSignature(Fd,Kd){this.eat(17)&&(Fd.optional=!0);let yf=Fd;if(this.match(10)||this.match(47)){Kd&&this.raise(ig.ReadonlyForMethodSignature,Fd);let If=yf;If.kind&&this.match(47)&&this.raise(ig.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,If),this.tsParseTypeMemberSemicolon();let uh="parameters",xh="typeAnnotation";if(If.kind==="get")If[uh].length>0&&(this.raise(Ld.BadGetterArity,this.state.curPosition()),this.isThisParam(If[uh][0])&&this.raise(ig.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(If.kind==="set"){if(If[uh].length!==1)this.raise(Ld.BadSetterArity,this.state.curPosition());else{let Vh=If[uh][0];this.isThisParam(Vh)&&this.raise(ig.AccesorCannotDeclareThisParameter,this.state.curPosition()),Vh.type==="Identifier"&&Vh.optional&&this.raise(ig.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),Vh.type==="RestElement"&&this.raise(ig.SetAccesorCannotHaveRestParameter,this.state.curPosition())}If[xh]&&this.raise(ig.SetAccesorCannotHaveReturnType,If[xh])}else If.kind="method";return this.finishNode(If,"TSMethodSignature")}else{let If=yf;Kd&&(If.readonly=!0);let uh=this.tsTryParseTypeAnnotation();return uh&&(If.typeAnnotation=uh),this.tsParseTypeMemberSemicolon(),this.finishNode(If,"TSPropertySignature")}}tsParseTypeMember(){let Fd=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",Fd);if(this.match(77)){let yf=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",Fd):(Fd.key=this.createIdentifier(yf,"new"),this.tsParsePropertyOrMethodSignature(Fd,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},Fd),this.tsTryParseIndexSignature(Fd)||(super.parsePropertyName(Fd),!Fd.computed&&Fd.key.type==="Identifier"&&(Fd.key.name==="get"||Fd.key.name==="set")&&this.tsTokenCanFollowModifier()&&(Fd.kind=Fd.key.name,super.parsePropertyName(Fd)),this.tsParsePropertyOrMethodSignature(Fd,!!Fd.readonly))}tsParseTypeLiteral(){let Fd=this.startNode();return Fd.members=this.tsParseObjectTypeMembers(),this.finishNode(Fd,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let Fd=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),Fd}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let Fd=this.startNode();return Fd.name=this.tsParseTypeParameterName(),Fd.constraint=this.tsExpectThenParseType(58),this.finishNode(Fd,"TSTypeParameter")}tsParseMappedType(){let Fd=this.startNode();return this.expect(5),this.match(53)?(Fd.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(Fd.readonly=!0),this.expect(0),Fd.typeParameter=this.tsParseMappedTypeParameter(),Fd.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(Fd.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(Fd.optional=!0),Fd.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(Fd,"TSMappedType")}tsParseTupleType(){let Fd=this.startNode();Fd.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let Kd=!1;return Fd.elementTypes.forEach(yf=>{let{type:If}=yf;Kd&&If!=="TSRestType"&&If!=="TSOptionalType"&&!(If==="TSNamedTupleMember"&&yf.optional)&&this.raise(ig.OptionalTypeBeforeRequired,yf),Kd||(Kd=If==="TSNamedTupleMember"&&yf.optional||If==="TSOptionalType")}),this.finishNode(Fd,"TSTupleType")}tsParseTupleElementType(){let{startLoc:Fd}=this.state,Kd=this.eat(21),yf,If,uh,xh,Vh=Th(this.state.type)?this.lookaheadCharCode():null;if(Vh===58)yf=!0,uh=!1,If=this.parseIdentifier(!0),this.expect(14),xh=this.tsParseType();else if(Vh===63){uh=!0;let fm=this.state.startLoc,om=this.state.value,zm=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(yf=!0,If=this.createIdentifier(this.startNodeAt(fm),om),this.expect(17),this.expect(14),xh=this.tsParseType()):(yf=!1,xh=zm,this.expect(17))}else xh=this.tsParseType(),uh=this.eat(17),yf=this.eat(14);if(yf){let fm;If?(fm=this.startNodeAtNode(If),fm.optional=uh,fm.label=If,fm.elementType=xh,this.eat(17)&&(fm.optional=!0,this.raise(ig.TupleOptionalAfterType,this.state.lastTokStartLoc))):(fm=this.startNodeAtNode(xh),fm.optional=uh,this.raise(ig.InvalidTupleMemberLabel,xh),fm.label=xh,fm.elementType=this.tsParseType()),xh=this.finishNode(fm,"TSNamedTupleMember")}else if(uh){let fm=this.startNodeAtNode(xh);fm.typeAnnotation=xh,xh=this.finishNode(fm,"TSOptionalType")}if(Kd){let fm=this.startNodeAt(Fd);fm.typeAnnotation=xh,xh=this.finishNode(fm,"TSRestType")}return xh}tsParseParenthesizedType(){let Fd=this.startNode();return this.expect(10),Fd.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(Fd,"TSParenthesizedType")}tsParseFunctionOrConstructorType(Fd,Kd){let yf=this.startNode();return Fd==="TSConstructorType"&&(yf.abstract=!!Kd,Kd&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,yf)),this.finishNode(yf,Fd)}tsParseLiteralTypeNode(){let Fd=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:Fd.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(Fd,"TSLiteralType")}tsParseTemplateLiteralType(){let Fd=this.startNode();return Fd.literal=super.parseTemplate(!1),this.finishNode(Fd,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let Fd=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(Fd):Fd}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let Fd=this.startNode(),Kd=this.lookahead();return Kd.type!==134&&Kd.type!==135&&this.unexpected(),Fd.literal=this.parseMaybeUnary(),this.finishNode(Fd,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:Fd}=this.state;if(Yf(Fd)||Fd===88||Fd===84){let Kd=Fd===88?"TSVoidKeyword":Fd===84?"TSNullKeyword":__(this.state.value);if(Kd!==void 0&&this.lookaheadCharCode()!==46){let yf=this.startNode();return this.next(),this.finishNode(yf,Kd)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let Fd=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let Kd=this.startNodeAtNode(Fd);Kd.elementType=Fd,this.expect(3),Fd=this.finishNode(Kd,"TSArrayType")}else{let Kd=this.startNodeAtNode(Fd);Kd.objectType=Fd,Kd.indexType=this.tsParseType(),this.expect(3),Fd=this.finishNode(Kd,"TSIndexedAccessType")}return Fd}tsParseTypeOperator(){let Fd=this.startNode(),Kd=this.state.value;return this.next(),Fd.operator=Kd,Fd.typeAnnotation=this.tsParseTypeOperatorOrHigher(),Kd==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(Fd),this.finishNode(Fd,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(Fd){switch(Fd.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(ig.UnexpectedReadonly,Fd)}}tsParseInferType(){let Fd=this.startNode();this.expectContextual(115);let Kd=this.startNode();return Kd.name=this.tsParseTypeParameterName(),Kd.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),Fd.typeParameter=this.finishNode(Kd,"TSTypeParameter"),this.finishNode(Fd,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let Fd=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return Fd}}tsParseTypeOperatorOrHigher(){return mh(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(Fd,Kd,yf){let If=this.startNode(),uh=this.eat(yf),xh=[];do xh.push(Kd());while(this.eat(yf));return xh.length===1&&!uh?xh[0]:(If.types=xh,this.finishNode(If,Fd))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Yf(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:Fd}=this.state,Kd=Fd.length;try{return this.parseObjectLike(8,!0),Fd.length===Kd}catch{return!1}}if(this.match(0)){this.next();let{errors:Fd}=this.state,Kd=Fd.length;try{return super.parseBindingList(3,93,1),Fd.length===Kd}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(Fd){return this.tsInType(()=>{let Kd=this.startNode();this.expect(Fd);let yf=this.startNode(),If=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(If&&this.match(78)){let Vh=this.tsParseThisTypeOrThisTypePredicate();return Vh.type==="TSThisType"?(yf.parameterName=Vh,yf.asserts=!0,yf.typeAnnotation=null,Vh=this.finishNode(yf,"TSTypePredicate")):(this.resetStartLocationFromNode(Vh,yf),Vh.asserts=!0),Kd.typeAnnotation=Vh,this.finishNode(Kd,"TSTypeAnnotation")}let uh=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!uh)return If?(yf.parameterName=this.parseIdentifier(),yf.asserts=If,yf.typeAnnotation=null,Kd.typeAnnotation=this.finishNode(yf,"TSTypePredicate"),this.finishNode(Kd,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,Kd);let xh=this.tsParseTypeAnnotation(!1);return yf.parameterName=uh,yf.typeAnnotation=xh,yf.asserts=If,Kd.typeAnnotation=this.finishNode(yf,"TSTypePredicate"),this.finishNode(Kd,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let Fd=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),Fd}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let Fd=this.state.containsEsc;return this.next(),!Yf(this.state.type)&&!this.match(78)?!1:(Fd&&this.raise(Ld.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(Fd=!0,Kd=this.startNode()){return this.tsInType(()=>{Fd&&this.expect(14),Kd.typeAnnotation=this.tsParseType()}),this.finishNode(Kd,"TSTypeAnnotation")}tsParseType(){UE(this.state.inType);let Fd=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return Fd;let Kd=this.startNodeAtNode(Fd);return Kd.checkType=Fd,Kd.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),Kd.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),Kd.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(Kd,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ig.ReservedTypeAssertion,this.state.startLoc);let Fd=this.startNode();return Fd.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),Fd.expression=this.parseMaybeUnary(),this.finishNode(Fd,"TSTypeAssertion")}tsParseHeritageClause(Fd){let Kd=this.state.startLoc,yf=this.tsParseDelimitedList("HeritageClauseElement",()=>{let If=this.startNode();return If.expression=this.tsParseEntityName(),this.match(47)&&(If.typeParameters=this.tsParseTypeArguments()),this.finishNode(If,"TSExpressionWithTypeArguments")});return yf.length||this.raise(ig.EmptyHeritageClauseType,Kd,{token:Fd}),yf}tsParseInterfaceDeclaration(Fd,Kd={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),Kd.declare&&(Fd.declare=!0),Yf(this.state.type)?(Fd.id=this.parseIdentifier(),this.checkIdentifier(Fd.id,130)):(Fd.id=null,this.raise(ig.MissingInterfaceName,this.state.startLoc)),Fd.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(Fd.extends=this.tsParseHeritageClause("extends"));let yf=this.startNode();return yf.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),Fd.body=this.finishNode(yf,"TSInterfaceBody"),this.finishNode(Fd,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(Fd){return Fd.id=this.parseIdentifier(),this.checkIdentifier(Fd.id,2),Fd.typeAnnotation=this.tsInType(()=>{if(Fd.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let Kd=this.startNode();return this.next(),this.finishNode(Kd,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(Fd,"TSTypeAliasDeclaration")}tsInNoContext(Fd){let Kd=this.state.context;this.state.context=[Kd[0]];try{return Fd()}finally{this.state.context=Kd}}tsInType(Fd){let Kd=this.state.inType;this.state.inType=!0;try{return Fd()}finally{this.state.inType=Kd}}tsInDisallowConditionalTypesContext(Fd){let Kd=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return Fd()}finally{this.state.inDisallowConditionalTypesContext=Kd}}tsInAllowConditionalTypesContext(Fd){let Kd=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return Fd()}finally{this.state.inDisallowConditionalTypesContext=Kd}}tsEatThenParseType(Fd){if(this.match(Fd))return this.tsNextThenParseType()}tsExpectThenParseType(Fd){return this.tsInType(()=>(this.expect(Fd),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let Fd=this.startNode();return Fd.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(Fd.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(Fd,"TSEnumMember")}tsParseEnumDeclaration(Fd,Kd={}){return Kd.const&&(Fd.const=!0),Kd.declare&&(Fd.declare=!0),this.expectContextual(126),Fd.id=this.parseIdentifier(),this.checkIdentifier(Fd.id,Fd.const?8971:8459),this.expect(5),Fd.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(Fd,"TSEnumDeclaration")}tsParseModuleBlock(){let Fd=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(Fd.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(Fd,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(Fd,Kd=!1){if(Fd.id=this.parseIdentifier(),Kd||this.checkIdentifier(Fd.id,1024),this.eat(16)){let yf=this.startNode();this.tsParseModuleOrNamespaceDeclaration(yf,!0),Fd.body=yf}else this.scope.enter(256),this.prodParam.enter(0),Fd.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(Fd,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(Fd){return this.isContextual(112)?(Fd.global=!0,Fd.id=this.parseIdentifier()):this.match(133)?Fd.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),Fd.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(Fd,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(Fd,Kd,yf){Fd.isExport=yf||!1,Fd.id=Kd||this.parseIdentifier(),this.checkIdentifier(Fd.id,4096),this.expect(29);let If=this.tsParseModuleReference();return Fd.importKind==="type"&&If.type!=="TSExternalModuleReference"&&this.raise(ig.ImportAliasHasImportType,If),Fd.moduleReference=If,this.semicolon(),this.finishNode(Fd,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let Fd=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),Fd.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(Fd,"TSExternalModuleReference")}tsLookAhead(Fd){let Kd=this.state.clone(),yf=Fd();return this.state=Kd,yf}tsTryParseAndCatch(Fd){let Kd=this.tryParse(yf=>Fd()||yf());if(!(Kd.aborted||!Kd.node))return Kd.error&&(this.state=Kd.failState),Kd.node}tsTryParse(Fd){let Kd=this.state.clone(),yf=Fd();if(yf!==void 0&&yf!==!1)return yf;this.state=Kd}tsTryParseDeclare(Fd){if(this.isLineTerminator())return;let Kd=this.state.type,yf;return this.isContextual(100)&&(Kd=74,yf="let"),this.tsInAmbientContext(()=>{switch(Kd){case 68:return Fd.declare=!0,super.parseFunctionStatement(Fd,!1,!1);case 80:return Fd.declare=!0,this.parseClass(Fd,!0,!1);case 126:return this.tsParseEnumDeclaration(Fd,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(Fd);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(Fd.declare=!0,this.parseVarStatement(Fd,yf||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(Fd,{const:!0,declare:!0}));case 129:{let If=this.tsParseInterfaceDeclaration(Fd,{declare:!0});if(If)return If}default:if(Yf(Kd))return this.tsParseDeclaration(Fd,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(Fd,Kd,yf){switch(Kd.name){case"declare":{let If=this.tsTryParseDeclare(Fd);return If&&(If.declare=!0),If}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let If=Fd;return If.global=!0,If.id=Kd,If.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(If,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(Fd,Kd.name,!1,yf)}}tsParseDeclaration(Fd,Kd,yf,If){switch(Kd){case"abstract":if(this.tsCheckLineTerminator(yf)&&(this.match(80)||Yf(this.state.type)))return this.tsParseAbstractDeclaration(Fd,If);break;case"module":if(this.tsCheckLineTerminator(yf)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(Fd);if(Yf(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(Fd)}break;case"namespace":if(this.tsCheckLineTerminator(yf)&&Yf(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(Fd);break;case"type":if(this.tsCheckLineTerminator(yf)&&Yf(this.state.type))return this.tsParseTypeAliasDeclaration(Fd);break}}tsCheckLineTerminator(Fd){return Fd?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(Fd){if(!this.match(47))return;let Kd=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let yf=this.tsTryParseAndCatch(()=>{let If=this.startNodeAt(Fd);return If.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(If),If.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),If});if(this.state.maybeInArrowParameters=Kd,!!yf)return super.parseArrowExpression(yf,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let Fd=this.startNode();return Fd.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),Fd.params.length===0?this.raise(ig.EmptyTypeArguments,Fd):!this.state.inType&&this.curContext()===gf.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(Fd,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return im(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(Fd,Kd){let yf=this.state.startLoc,If={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},If);let uh=If.accessibility,xh=If.override,Vh=If.readonly;!(Fd&4)&&(uh||Vh||xh)&&this.raise(ig.UnexpectedParameterModifier,yf);let fm=this.parseMaybeDefault();this.parseAssignableListItemTypes(fm,Fd);let om=this.parseMaybeDefault(fm.loc.start,fm);if(uh||Vh||xh){let zm=this.startNodeAt(yf);return Kd.length&&(zm.decorators=Kd),uh&&(zm.accessibility=uh),Vh&&(zm.readonly=Vh),xh&&(zm.override=xh),om.type!=="Identifier"&&om.type!=="AssignmentPattern"&&this.raise(ig.UnsupportedParameterPropertyKind,zm),zm.parameter=om,this.finishNode(zm,"TSParameterProperty")}return Kd.length&&(fm.decorators=Kd),om}isSimpleParameter(Fd){return Fd.type==="TSParameterProperty"&&super.isSimpleParameter(Fd.parameter)||super.isSimpleParameter(Fd)}tsDisallowOptionalPattern(Fd){for(let Kd of Fd.params)Kd.type!=="Identifier"&&Kd.optional&&!this.state.isAmbientContext&&this.raise(ig.PatternIsOptional,Kd)}setArrowFunctionParameters(Fd,Kd,yf){super.setArrowFunctionParameters(Fd,Kd,yf),this.tsDisallowOptionalPattern(Fd)}parseFunctionBodyAndFinish(Fd,Kd,yf=!1){this.match(14)&&(Fd.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let If=Kd==="FunctionDeclaration"?"TSDeclareFunction":Kd==="ClassMethod"||Kd==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return If&&!this.match(5)&&this.isLineTerminator()?this.finishNode(Fd,If):If==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(ig.DeclareFunctionHasImplementation,Fd),Fd.declare)?super.parseFunctionBodyAndFinish(Fd,If,yf):(this.tsDisallowOptionalPattern(Fd),super.parseFunctionBodyAndFinish(Fd,Kd,yf))}registerFunctionStatementId(Fd){!Fd.body&&Fd.id?this.checkIdentifier(Fd.id,1024):super.registerFunctionStatementId(Fd)}tsCheckForInvalidTypeCasts(Fd){Fd.forEach(Kd=>{(Kd==null?void 0:Kd.type)==="TSTypeCastExpression"&&this.raise(ig.UnexpectedTypeAnnotation,Kd.typeAnnotation)})}toReferencedList(Fd,Kd){return this.tsCheckForInvalidTypeCasts(Fd),Fd}parseArrayLike(Fd,Kd,yf,If){let uh=super.parseArrayLike(Fd,Kd,yf,If);return uh.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(uh.elements),uh}parseSubscript(Fd,Kd,yf,If){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let xh=this.startNodeAt(Kd);return xh.expression=Fd,this.finishNode(xh,"TSNonNullExpression")}let uh=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(yf)return If.stop=!0,Fd;If.optionalChainMember=uh=!0,this.next()}if(this.match(47)||this.match(51)){let xh,Vh=this.tsTryParseAndCatch(()=>{if(!yf&&this.atPossibleAsyncArrow(Fd)){let sg=this.tsTryParseGenericAsyncArrowFunction(Kd);if(sg)return sg}let fm=this.tsParseTypeArgumentsInExpression();if(!fm)return;if(uh&&!this.match(10)){xh=this.state.curPosition();return}if(gm(this.state.type)){let sg=super.parseTaggedTemplateExpression(Fd,Kd,If);return sg.typeParameters=fm,sg}if(!yf&&this.eat(10)){let sg=this.startNodeAt(Kd);return sg.callee=Fd,sg.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(sg.arguments),sg.typeParameters=fm,If.optionalChainMember&&(sg.optional=uh),this.finishCallExpression(sg,If.optionalChainMember)}let om=this.state.type;if(om===48||om===52||om!==10&&ph(om)&&!this.hasPrecedingLineBreak())return;let zm=this.startNodeAt(Kd);return zm.expression=Fd,zm.typeParameters=fm,this.finishNode(zm,"TSInstantiationExpression")});if(xh&&this.unexpected(xh,10),Vh)return Vh.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(ig.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),Vh}return super.parseSubscript(Fd,Kd,yf,If)}parseNewCallee(Fd){var Kd;super.parseNewCallee(Fd);let{callee:yf}=Fd;yf.type==="TSInstantiationExpression"&&!((Kd=yf.extra)!=null&&Kd.parenthesized)&&(Fd.typeParameters=yf.typeParameters,Fd.callee=yf.expression)}parseExprOp(Fd,Kd,yf){let If;if(Tm(58)>yf&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(If=this.isContextual(120)))){let uh=this.startNodeAt(Kd);return uh.expression=Fd,uh.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(If&&this.raise(Ld.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(uh,If?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(uh,Kd,yf)}return super.parseExprOp(Fd,Kd,yf)}checkReservedWord(Fd,Kd,yf,If){this.state.isAmbientContext||super.checkReservedWord(Fd,Kd,yf,If)}checkImportReflection(Fd){super.checkImportReflection(Fd),Fd.module&&Fd.importKind!=="value"&&this.raise(ig.ImportReflectionHasImportType,Fd.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(Fd){if(super.isPotentialImportPhase(Fd))return!0;if(this.isContextual(130)){let Kd=this.lookaheadCharCode();return Fd?Kd===123||Kd===42:Kd!==61}return!Fd&&this.isContextual(87)}applyImportPhase(Fd,Kd,yf,If){super.applyImportPhase(Fd,Kd,yf,If),Kd?Fd.exportKind=yf==="type"?"type":"value":Fd.importKind=yf==="type"||yf==="typeof"?yf:"value"}parseImport(Fd){if(this.match(133))return Fd.importKind="value",super.parseImport(Fd);let Kd;if(Yf(this.state.type)&&this.lookaheadCharCode()===61)return Fd.importKind="value",this.tsParseImportEqualsDeclaration(Fd);if(this.isContextual(130)){let yf=this.parseMaybeImportPhase(Fd,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(Fd,yf);Kd=super.parseImportSpecifiersAndAfter(Fd,yf)}else Kd=super.parseImport(Fd);return Kd.importKind==="type"&&Kd.specifiers.length>1&&Kd.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(ig.TypeImportCannotSpecifyDefaultAndNamed,Kd),Kd}parseExport(Fd,Kd){if(this.match(83)){this.next();let yf=Fd,If=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?If=this.parseMaybeImportPhase(yf,!1):yf.importKind="value",this.tsParseImportEqualsDeclaration(yf,If,!0)}else if(this.eat(29)){let yf=Fd;return yf.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(yf,"TSExportAssignment")}else if(this.eatContextual(93)){let yf=Fd;return this.expectContextual(128),yf.id=this.parseIdentifier(),this.semicolon(),this.finishNode(yf,"TSNamespaceExportDeclaration")}else return super.parseExport(Fd,Kd)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let Fd=this.startNode();return this.next(),Fd.abstract=!0,this.parseClass(Fd,!0,!0)}if(this.match(129)){let Fd=this.tsParseInterfaceDeclaration(this.startNode());if(Fd)return Fd}return super.parseExportDefaultExpression()}parseVarStatement(Fd,Kd,yf=!1){let{isAmbientContext:If}=this.state,uh=super.parseVarStatement(Fd,Kd,yf||If);if(!If)return uh;for(let{id:xh,init:Vh}of uh.declarations)Vh&&(Kd!=="const"||xh.typeAnnotation?this.raise(ig.InitializerNotAllowedInAmbientContext,Vh):GE(Vh,this.hasPlugin("estree"))||this.raise(ig.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,Vh));return uh}parseStatementContent(Fd,Kd){if(this.match(75)&&this.isLookaheadContextual("enum")){let yf=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(yf,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let yf=this.tsParseInterfaceDeclaration(this.startNode());if(yf)return yf}return super.parseStatementContent(Fd,Kd)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(Fd,Kd){return Kd.some(yf=>uy(yf)?Fd.accessibility===yf:!!Fd[yf])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(Fd,Kd,yf){let If=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:If,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:ig.InvalidModifierOnTypeParameterPositions},Kd);let uh=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(Kd,If)&&this.raise(ig.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(Fd,Kd)):this.parseClassMemberWithIsStatic(Fd,Kd,yf,!!Kd.static)};Kd.declare?this.tsInAmbientContext(uh):uh()}parseClassMemberWithIsStatic(Fd,Kd,yf,If){let uh=this.tsTryParseIndexSignature(Kd);if(uh){Fd.body.push(uh),Kd.abstract&&this.raise(ig.IndexSignatureHasAbstract,Kd),Kd.accessibility&&this.raise(ig.IndexSignatureHasAccessibility,Kd,{modifier:Kd.accessibility}),Kd.declare&&this.raise(ig.IndexSignatureHasDeclare,Kd),Kd.override&&this.raise(ig.IndexSignatureHasOverride,Kd);return}!this.state.inAbstractClass&&Kd.abstract&&this.raise(ig.NonAbstractClassHasAbstractMethod,Kd),Kd.override&&(yf.hadSuperClass||this.raise(ig.OverrideNotInSubClass,Kd)),super.parseClassMemberWithIsStatic(Fd,Kd,yf,If)}parsePostMemberNameModifiers(Fd){this.eat(17)&&(Fd.optional=!0),Fd.readonly&&this.match(10)&&this.raise(ig.ClassMethodHasReadonly,Fd),Fd.declare&&this.match(10)&&this.raise(ig.ClassMethodHasDeclare,Fd)}parseExpressionStatement(Fd,Kd,yf){return(Kd.type==="Identifier"?this.tsParseExpressionStatement(Fd,Kd,yf):void 0)||super.parseExpressionStatement(Fd,Kd,yf)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(Fd,Kd,yf){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(Fd,Kd,yf);let If=this.tryParse(()=>super.parseConditional(Fd,Kd));return If.node?(If.error&&(this.state=If.failState),If.node):(If.error&&super.setOptionalParametersError(yf,If.error),Fd)}parseParenItem(Fd,Kd){let yf=super.parseParenItem(Fd,Kd);if(this.eat(17)&&(yf.optional=!0,this.resetEndLocation(Fd)),this.match(14)){let If=this.startNodeAt(Kd);return If.expression=Fd,If.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(If,"TSTypeCastExpression")}return Fd}parseExportDeclaration(Fd){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(Fd));let Kd=this.state.startLoc,yf=this.eatContextual(125);if(yf&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(ig.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let If=Yf(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(Fd);return If?((If.type==="TSInterfaceDeclaration"||If.type==="TSTypeAliasDeclaration"||yf)&&(Fd.exportKind="type"),yf&&(this.resetStartLocation(If,Kd),If.declare=!0),If):null}parseClassId(Fd,Kd,yf,If){if((!Kd||yf)&&this.isContextual(113))return;super.parseClassId(Fd,Kd,yf,Fd.declare?1024:8331);let uh=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);uh&&(Fd.typeParameters=uh)}parseClassPropertyAnnotation(Fd){Fd.optional||(this.eat(35)?Fd.definite=!0:this.eat(17)&&(Fd.optional=!0));let Kd=this.tsTryParseTypeAnnotation();Kd&&(Fd.typeAnnotation=Kd)}parseClassProperty(Fd){if(this.parseClassPropertyAnnotation(Fd),this.state.isAmbientContext&&!(Fd.readonly&&!Fd.typeAnnotation)&&this.match(29)&&this.raise(ig.DeclareClassFieldHasInitializer,this.state.startLoc),Fd.abstract&&this.match(29)){let{key:Kd}=Fd;this.raise(ig.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:Kd.type==="Identifier"&&!Fd.computed?Kd.name:`[${this.input.slice(Kd.start,Kd.end)}]`})}return super.parseClassProperty(Fd)}parseClassPrivateProperty(Fd){return Fd.abstract&&this.raise(ig.PrivateElementHasAbstract,Fd),Fd.accessibility&&this.raise(ig.PrivateElementHasAccessibility,Fd,{modifier:Fd.accessibility}),this.parseClassPropertyAnnotation(Fd),super.parseClassPrivateProperty(Fd)}parseClassAccessorProperty(Fd){return this.parseClassPropertyAnnotation(Fd),Fd.optional&&this.raise(ig.AccessorCannotBeOptional,Fd),super.parseClassAccessorProperty(Fd)}pushClassMethod(Fd,Kd,yf,If,uh,xh){let Vh=this.tsTryParseTypeParameters(this.tsParseConstModifier);Vh&&uh&&this.raise(ig.ConstructorHasTypeParameters,Vh);let{declare:fm=!1,kind:om}=Kd;fm&&(om==="get"||om==="set")&&this.raise(ig.DeclareAccessor,Kd,{kind:om}),Vh&&(Kd.typeParameters=Vh),super.pushClassMethod(Fd,Kd,yf,If,uh,xh)}pushClassPrivateMethod(Fd,Kd,yf,If){let uh=this.tsTryParseTypeParameters(this.tsParseConstModifier);uh&&(Kd.typeParameters=uh),super.pushClassPrivateMethod(Fd,Kd,yf,If)}declareClassPrivateMethodInScope(Fd,Kd){Fd.type!=="TSDeclareMethod"&&(Fd.type==="MethodDefinition"&&!hasOwnProperty.call(Fd.value,"body")||super.declareClassPrivateMethodInScope(Fd,Kd))}parseClassSuper(Fd){super.parseClassSuper(Fd),Fd.superClass&&(this.match(47)||this.match(51))&&(Fd.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(Fd.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(Fd,Kd,yf,If,uh,xh,Vh){let fm=this.tsTryParseTypeParameters(this.tsParseConstModifier);return fm&&(Fd.typeParameters=fm),super.parseObjPropValue(Fd,Kd,yf,If,uh,xh,Vh)}parseFunctionParams(Fd,Kd){let yf=this.tsTryParseTypeParameters(this.tsParseConstModifier);yf&&(Fd.typeParameters=yf),super.parseFunctionParams(Fd,Kd)}parseVarId(Fd,Kd){super.parseVarId(Fd,Kd),Fd.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(Fd.definite=!0);let yf=this.tsTryParseTypeAnnotation();yf&&(Fd.id.typeAnnotation=yf,this.resetEndLocation(Fd.id))}parseAsyncArrowFromCallExpression(Fd,Kd){return this.match(14)&&(Fd.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(Fd,Kd)}parseMaybeAssign(Fd,Kd){var yf,If,uh,xh,Vh;let fm,om,zm;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(fm=this.state.clone(),om=this.tryParse(()=>super.parseMaybeAssign(Fd,Kd),fm),!om.error)return om.node;let{context:Ag}=this.state,qg=Ag[Ag.length-1];(qg===gf.j_oTag||qg===gf.j_expr)&&Ag.pop()}if(!((yf=om)!=null&&yf.error)&&!this.match(47))return super.parseMaybeAssign(Fd,Kd);(!fm||fm===this.state)&&(fm=this.state.clone());let sg,Tg=this.tryParse(Ag=>{var qg,I_;sg=this.tsParseTypeParameters(this.tsParseConstModifier);let r_=super.parseMaybeAssign(Fd,Kd);return(r_.type!=="ArrowFunctionExpression"||(qg=r_.extra)!=null&&qg.parenthesized)&&Ag(),((I_=sg)==null?void 0:I_.params.length)!==0&&this.resetStartLocationFromNode(r_,sg),r_.typeParameters=sg,r_},fm);if(!Tg.error&&!Tg.aborted)return sg&&this.reportReservedArrowTypeParam(sg),Tg.node;if(!om&&(UE(!this.hasPlugin("jsx")),zm=this.tryParse(()=>super.parseMaybeAssign(Fd,Kd),fm),!zm.error))return zm.node;if((If=om)!=null&&If.node)return this.state=om.failState,om.node;if(Tg.node)return this.state=Tg.failState,sg&&this.reportReservedArrowTypeParam(sg),Tg.node;if((uh=zm)!=null&&uh.node)return this.state=zm.failState,zm.node;throw((xh=om)==null?void 0:xh.error)||Tg.error||((Vh=zm)==null?void 0:Vh.error)}reportReservedArrowTypeParam(Fd){var Kd;Fd.params.length===1&&!Fd.params[0].constraint&&!((Kd=Fd.extra)!=null&&Kd.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(ig.ReservedArrowTypeParam,Fd)}parseMaybeUnary(Fd,Kd){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(Fd,Kd)}parseArrow(Fd){if(this.match(14)){let Kd=this.tryParse(yf=>{let If=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&yf(),If});if(Kd.aborted)return;Kd.thrown||(Kd.error&&(this.state=Kd.failState),Fd.returnType=Kd.node)}return super.parseArrow(Fd)}parseAssignableListItemTypes(Fd,Kd){if(!(Kd&2))return Fd;this.eat(17)&&(Fd.optional=!0);let yf=this.tsTryParseTypeAnnotation();return yf&&(Fd.typeAnnotation=yf),this.resetEndLocation(Fd),Fd}isAssignable(Fd,Kd){switch(Fd.type){case"TSTypeCastExpression":return this.isAssignable(Fd.expression,Kd);case"TSParameterProperty":return!0;default:return super.isAssignable(Fd,Kd)}}toAssignable(Fd,Kd=!1){switch(Fd.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(Fd,Kd);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":Kd?this.expressionScope.recordArrowParameterBindingError(ig.UnexpectedTypeCastInParameter,Fd):this.raise(ig.UnexpectedTypeCastInParameter,Fd),this.toAssignable(Fd.expression,Kd);break;case"AssignmentExpression":!Kd&&Fd.left.type==="TSTypeCastExpression"&&(Fd.left=this.typeCastToParameter(Fd.left));default:super.toAssignable(Fd,Kd)}}toAssignableParenthesizedExpression(Fd,Kd){switch(Fd.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(Fd.expression,Kd);break;default:super.toAssignable(Fd,Kd)}}checkToRestConversion(Fd,Kd){switch(Fd.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(Fd.expression,!1);break;default:super.checkToRestConversion(Fd,Kd)}}isValidLVal(Fd,Kd,yf){return tE({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSInstantiationExpression:"expression",TSAsExpression:(yf!==64||!Kd)&&["expression",!0],TSSatisfiesExpression:(yf!==64||!Kd)&&["expression",!0],TSTypeAssertion:(yf!==64||!Kd)&&["expression",!0]},Fd)||super.isValidLVal(Fd,Kd,yf)}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(Fd){if(this.match(47)||this.match(51)){let Kd=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let yf=super.parseMaybeDecoratorArguments(Fd);return yf.typeParameters=Kd,yf}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(Fd)}checkCommaAfterRest(Fd){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===Fd?(this.next(),!1):super.checkCommaAfterRest(Fd)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(Fd,Kd){let yf=super.parseMaybeDefault(Fd,Kd);return yf.type==="AssignmentPattern"&&yf.typeAnnotation&&yf.right.start<yf.typeAnnotation.start&&this.raise(ig.TypeAnnotationAfterAssign,yf.typeAnnotation),yf}getTokenFromCode(Fd){if(this.state.inType){if(Fd===62){this.finishOp(48,1);return}if(Fd===60){this.finishOp(47,1);return}}super.getTokenFromCode(Fd)}reScan_lt_gt(){let{type:Fd}=this.state;Fd===47?(this.state.pos-=1,this.readToken_lt()):Fd===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:Fd}=this.state;return Fd===51?(this.state.pos-=2,this.finishOp(47,1),47):Fd}toAssignableList(Fd,Kd,yf){for(let If=0;If<Fd.length;If++){let uh=Fd[If];(uh==null?void 0:uh.type)==="TSTypeCastExpression"&&(Fd[If]=this.typeCastToParameter(uh))}super.toAssignableList(Fd,Kd,yf)}typeCastToParameter(Fd){return Fd.expression.typeAnnotation=Fd.typeAnnotation,this.resetEndLocation(Fd.expression,Fd.typeAnnotation.loc.end),Fd.expression}shouldParseArrow(Fd){return this.match(14)?Fd.every(Kd=>this.isAssignable(Kd,!0)):super.shouldParseArrow(Fd)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(Fd){if(this.match(47)||this.match(51)){let Kd=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());Kd&&(Fd.typeParameters=Kd)}return super.jsxParseOpeningElementAfterName(Fd)}getGetterSetterExpectedParamCount(Fd){let Kd=super.getGetterSetterExpectedParamCount(Fd),yf=this.getObjectOrClassMethodParams(Fd)[0];return yf&&this.isThisParam(yf)?Kd+1:Kd}parseCatchClauseParam(){let Fd=super.parseCatchClauseParam(),Kd=this.tsTryParseTypeAnnotation();return Kd&&(Fd.typeAnnotation=Kd,this.resetEndLocation(Fd)),Fd}tsInAmbientContext(Fd){let{isAmbientContext:Kd,strict:yf}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return Fd()}finally{this.state.isAmbientContext=Kd,this.state.strict=yf}}parseClass(Fd,Kd,yf){let If=this.state.inAbstractClass;this.state.inAbstractClass=!!Fd.abstract;try{return super.parseClass(Fd,Kd,yf)}finally{this.state.inAbstractClass=If}}tsParseAbstractDeclaration(Fd,Kd){if(this.match(80))return Fd.abstract=!0,this.maybeTakeDecorators(Kd,this.parseClass(Fd,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return Fd.abstract=!0,this.raise(ig.NonClassMethodPropertyHasAbstractModifer,Fd),this.tsParseInterfaceDeclaration(Fd)}else this.unexpected(null,80)}parseMethod(Fd,Kd,yf,If,uh,xh,Vh){let fm=super.parseMethod(Fd,Kd,yf,If,uh,xh,Vh);if(fm.abstract&&(this.hasPlugin("estree")?fm.value.body:fm.body)){let{key:om}=fm;this.raise(ig.AbstractMethodHasImplementation,fm,{methodName:om.type==="Identifier"&&!fm.computed?om.name:`[${this.input.slice(om.start,om.end)}]`})}return fm}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(Fd,Kd,yf,If){return!Kd&&If?(this.parseTypeOnlyImportExportSpecifier(Fd,!1,yf),this.finishNode(Fd,"ExportSpecifier")):(Fd.exportKind="value",super.parseExportSpecifier(Fd,Kd,yf,If))}parseImportSpecifier(Fd,Kd,yf,If,uh){return!Kd&&If?(this.parseTypeOnlyImportExportSpecifier(Fd,!0,yf),this.finishNode(Fd,"ImportSpecifier")):(Fd.importKind="value",super.parseImportSpecifier(Fd,Kd,yf,If,yf?4098:4096))}parseTypeOnlyImportExportSpecifier(Fd,Kd,yf){let If=Kd?"imported":"local",uh=Kd?"local":"exported",xh=Fd[If],Vh,fm=!1,om=!0,zm=xh.loc.start;if(this.isContextual(93)){let Tg=this.parseIdentifier();if(this.isContextual(93)){let Ag=this.parseIdentifier();Th(this.state.type)?(fm=!0,xh=Tg,Vh=Kd?this.parseIdentifier():this.parseModuleExportName(),om=!1):(Vh=Ag,om=!1)}else Th(this.state.type)?(om=!1,Vh=Kd?this.parseIdentifier():this.parseModuleExportName()):(fm=!0,xh=Tg)}else Th(this.state.type)&&(fm=!0,Kd?(xh=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(xh.name,xh.loc.start,!0,!0)):xh=this.parseModuleExportName());fm&&yf&&this.raise(Kd?ig.TypeModifierIsUsedInTypeImports:ig.TypeModifierIsUsedInTypeExports,zm),Fd[If]=xh,Fd[uh]=Vh;let sg=Kd?"importKind":"exportKind";Fd[sg]=fm?"type":"value",om&&this.eatContextual(93)&&(Fd[uh]=Kd?this.parseIdentifier():this.parseModuleExportName()),Fd[uh]||(Fd[uh]=X_(Fd[If])),Kd&&this.checkIdentifier(Fd[uh],fm?4098:4096)}};function HE(Wd){if(Wd.type!=="MemberExpression")return!1;let{computed:Fd,property:Kd}=Wd;return Fd&&Kd.type!=="StringLiteral"&&(Kd.type!=="TemplateLiteral"||Kd.expressions.length>0)?!1:nE(Wd.object)}function GE(Wd,Fd){var Kd;let{type:yf}=Wd;if((Kd=Wd.extra)!=null&&Kd.parenthesized)return!1;if(Fd){if(yf==="Literal"){let{value:If}=Wd;if(typeof If=="string"||typeof If=="boolean")return!0}}else if(yf==="StringLiteral"||yf==="BooleanLiteral")return!0;return!!(Sy(Wd,Fd)||qE(Wd,Fd)||yf==="TemplateLiteral"&&Wd.expressions.length===0||HE(Wd))}function Sy(Wd,Fd){return Fd?Wd.type==="Literal"&&(typeof Wd.value=="number"||"bigint"in Wd):Wd.type==="NumericLiteral"||Wd.type==="BigIntLiteral"}function qE(Wd,Fd){if(Wd.type==="UnaryExpression"){let{operator:Kd,argument:yf}=Wd;if(Kd==="-"&&Sy(yf,Fd))return!0}return!1}function nE(Wd){return Wd.type==="Identifier"?!0:Wd.type!=="MemberExpression"||Wd.computed?!1:nE(Wd.object)}var h_=jd`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),iE=Wd=>class extends Wd{parsePlaceholder(Fd){if(this.match(144)){let Kd=this.startNode();return this.next(),this.assertNoSpace(),Kd.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(Kd,Fd)}}finishPlaceholder(Fd,Kd){let yf=Fd;return(!yf.expectedNode||!yf.type)&&(yf=this.finishNode(yf,"Placeholder")),yf.expectedNode=Kd,yf}getTokenFromCode(Fd){Fd===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(Fd)}parseExprAtom(Fd){return this.parsePlaceholder("Expression")||super.parseExprAtom(Fd)}parseIdentifier(Fd){return this.parsePlaceholder("Identifier")||super.parseIdentifier(Fd)}checkReservedWord(Fd,Kd,yf,If){Fd!==void 0&&super.checkReservedWord(Fd,Kd,yf,If)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(Fd,Kd,yf){return Fd==="Placeholder"||super.isValidLVal(Fd,Kd,yf)}toAssignable(Fd,Kd){Fd&&Fd.type==="Placeholder"&&Fd.expectedNode==="Expression"?Fd.expectedNode="Pattern":super.toAssignable(Fd,Kd)}chStartsBindingIdentifier(Fd,Kd){return!!(super.chStartsBindingIdentifier(Fd,Kd)||this.lookahead().type===144)}verifyBreakContinue(Fd,Kd){Fd.label&&Fd.label.type==="Placeholder"||super.verifyBreakContinue(Fd,Kd)}parseExpressionStatement(Fd,Kd){var yf;if(Kd.type!=="Placeholder"||(yf=Kd.extra)!=null&&yf.parenthesized)return super.parseExpressionStatement(Fd,Kd);if(this.match(14)){let uh=Fd;return uh.label=this.finishPlaceholder(Kd,"Identifier"),this.next(),uh.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(uh,"LabeledStatement")}this.semicolon();let If=Fd;return If.name=Kd.name,this.finishPlaceholder(If,"Statement")}parseBlock(Fd,Kd,yf){return this.parsePlaceholder("BlockStatement")||super.parseBlock(Fd,Kd,yf)}parseFunctionId(Fd){return this.parsePlaceholder("Identifier")||super.parseFunctionId(Fd)}parseClass(Fd,Kd,yf){let If=Kd?"ClassDeclaration":"ClassExpression";this.next();let uh=this.state.strict,xh=this.parsePlaceholder("Identifier");if(xh)if(this.match(81)||this.match(144)||this.match(5))Fd.id=xh;else{if(yf||!Kd)return Fd.id=null,Fd.body=this.finishPlaceholder(xh,"ClassBody"),this.finishNode(Fd,If);throw this.raise(h_.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(Fd,Kd,yf);return super.parseClassSuper(Fd),Fd.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!Fd.superClass,uh),this.finishNode(Fd,If)}parseExport(Fd,Kd){let yf=this.parsePlaceholder("Identifier");if(!yf)return super.parseExport(Fd,Kd);let If=Fd;if(!this.isContextual(98)&&!this.match(12))return If.specifiers=[],If.source=null,If.declaration=this.finishPlaceholder(yf,"Declaration"),this.finishNode(If,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let uh=this.startNode();return uh.exported=yf,If.specifiers=[this.finishNode(uh,"ExportDefaultSpecifier")],super.parseExport(If,Kd)}isExportDefaultSpecifier(){if(this.match(65)){let Fd=this.nextTokenStart();if(this.isUnparsedContextual(Fd,"from")&&this.input.startsWith(Bh(144),this.nextTokenStartSince(Fd+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(Fd,Kd){var yf;return(yf=Fd.specifiers)!=null&&yf.length?!0:super.maybeParseExportDefaultSpecifier(Fd,Kd)}checkExport(Fd){let{specifiers:Kd}=Fd;Kd!=null&&Kd.length&&(Fd.specifiers=Kd.filter(yf=>yf.exported.type==="Placeholder")),super.checkExport(Fd),Fd.specifiers=Kd}parseImport(Fd){let Kd=this.parsePlaceholder("Identifier");if(!Kd)return super.parseImport(Fd);if(Fd.specifiers=[],!this.isContextual(98)&&!this.match(12))return Fd.source=this.finishPlaceholder(Kd,"StringLiteral"),this.semicolon(),this.finishNode(Fd,"ImportDeclaration");let yf=this.startNodeAtNode(Kd);return yf.local=Kd,Fd.specifiers.push(this.finishNode(yf,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(Fd)||this.parseNamedImportSpecifiers(Fd)),this.expectContextual(98),Fd.source=this.parseImportSource(),this.semicolon(),this.finishNode(Fd,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(h_.UnexpectedSpace,this.state.lastTokEndLoc)}},A0=Wd=>class extends Wd{parseV8Intrinsic(){if(this.match(54)){let Fd=this.state.startLoc,Kd=this.startNode();if(this.next(),Yf(this.state.type)){let yf=this.parseIdentifierName(),If=this.createIdentifier(Kd,yf);if(If.type="V8IntrinsicIdentifier",this.match(10))return If}this.unexpected(Fd)}}parseExprAtom(Fd){return this.parseV8Intrinsic()||super.parseExprAtom(Fd)}};function A_(Wd,Fd){let[Kd,yf]=typeof Fd=="string"?[Fd,{}]:Fd,If=Object.keys(yf),uh=If.length===0;return Wd.some(xh=>{if(typeof xh=="string")return uh&&xh===Kd;{let[Vh,fm]=xh;if(Vh!==Kd)return!1;for(let om of If)if(fm[om]!==yf[om])return!1;return!0}})}function Lb(Wd,Fd,Kd){let yf=Wd.find(If=>Array.isArray(If)?If[0]===Fd:If===Fd);return yf&&Array.isArray(yf)&&yf.length>1?yf[1][Kd]:null}var $_=["minimal","fsharp","hack","smart"],Ty=["^^","@@","^","%","#"];function Bb(Wd){if(A_(Wd,"decorators")){if(A_(Wd,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let Fd=Lb(Wd,"decorators","decoratorsBeforeExport");if(Fd!=null&&typeof Fd!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let Kd=Lb(Wd,"decorators","allowCallParenthesized");if(Kd!=null&&typeof Kd!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(A_(Wd,"flow")&&A_(Wd,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(A_(Wd,"placeholders")&&A_(Wd,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(A_(Wd,"pipelineOperator")){let Fd=Lb(Wd,"pipelineOperator","proposal");if(!$_.includes(Fd)){let If=$_.map(uh=>`"${uh}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${If}.`)}let Kd=["recordAndTuple",{syntaxType:"hash"}],yf=A_(Wd,Kd);if(Fd==="hack"){if(A_(Wd,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(A_(Wd,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let If=Lb(Wd,"pipelineOperator","topicToken");if(!Ty.includes(If)){let uh=Ty.map(xh=>`"${xh}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${uh}.`)}if(If==="#"&&yf)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(Kd)}\`.`)}else if(Fd==="smart"&&yf)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(Kd)}\`.`)}if(A_(Wd,"moduleAttributes")){if(A_(Wd,"importAssertions")||A_(Wd,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(Lb(Wd,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(A_(Wd,"importAssertions")&&A_(Wd,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(A_(Wd,"recordAndTuple")){let Fd=Lb(Wd,"recordAndTuple","syntaxType");if(Fd!=null){let Kd=["hash","bar"];if(!Kd.includes(Fd))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Kd.map(yf=>`'${yf}'`).join(", "))}}if(A_(Wd,"asyncDoExpressions")&&!A_(Wd,"doExpressions")){let Fd=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw Fd.missingPlugins="doExpressions",Fd}if(A_(Wd,"optionalChainingAssign")&&Lb(Wd,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var F0={estree:zd,jsx:C0,flow:x0,typescript:rE,v8intrinsic:A0,placeholders:iE},fv=Object.keys(F0),Yb={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function VE(Wd){if(Wd==null)return Object.assign({},Yb);if(Wd.annexB!=null&&Wd.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let Fd={};for(let yf of Object.keys(Yb)){var Kd;Fd[yf]=(Kd=Wd[yf])!=null?Kd:Yb[yf]}return Fd}var vb=class extends PS{checkProto(Wd,Fd,Kd,yf){if(Wd.type==="SpreadElement"||this.isObjectMethod(Wd)||Wd.computed||Wd.shorthand)return;let If=Wd.key;if((If.type==="Identifier"?If.name:If.value)==="__proto__"){if(Fd){this.raise(Ld.RecordNoProto,If);return}Kd.used&&(yf?yf.doubleProtoLoc===null&&(yf.doubleProtoLoc=If.loc.start):this.raise(Ld.DuplicateProto,If)),Kd.used=!0}}shouldExitDescending(Wd,Fd){return Wd.type==="ArrowFunctionExpression"&&Wd.start===Fd}getExpression(){this.enterInitialScopes(),this.nextToken();let Wd=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),Wd.comments=this.comments,Wd.errors=this.state.errors,this.options.tokens&&(Wd.tokens=this.tokens),Wd}parseExpression(Wd,Fd){return Wd?this.disallowInAnd(()=>this.parseExpressionBase(Fd)):this.allowInAnd(()=>this.parseExpressionBase(Fd))}parseExpressionBase(Wd){let Fd=this.state.startLoc,Kd=this.parseMaybeAssign(Wd);if(this.match(12)){let yf=this.startNodeAt(Fd);for(yf.expressions=[Kd];this.eat(12);)yf.expressions.push(this.parseMaybeAssign(Wd));return this.toReferencedList(yf.expressions),this.finishNode(yf,"SequenceExpression")}return Kd}parseMaybeAssignDisallowIn(Wd,Fd){return this.disallowInAnd(()=>this.parseMaybeAssign(Wd,Fd))}parseMaybeAssignAllowIn(Wd,Fd){return this.allowInAnd(()=>this.parseMaybeAssign(Wd,Fd))}setOptionalParametersError(Wd,Fd){var Kd;Wd.optionalParametersLoc=(Kd=Fd==null?void 0:Fd.loc)!=null?Kd:this.state.startLoc}parseMaybeAssign(Wd,Fd){let Kd=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let xh=this.parseYield();return Fd&&(xh=Fd.call(this,xh,Kd)),xh}let yf;Wd?yf=!1:(Wd=new K_,yf=!0);let{type:If}=this.state;(If===10||Yf(If))&&(this.state.potentialArrowAt=this.state.start);let uh=this.parseMaybeConditional(Wd);if(Fd&&(uh=Fd.call(this,uh,Kd)),Oh(this.state.type)){let xh=this.startNodeAt(Kd),Vh=this.state.value;if(xh.operator=Vh,this.match(29)){this.toAssignable(uh,!0),xh.left=uh;let fm=Kd.index;Wd.doubleProtoLoc!=null&&Wd.doubleProtoLoc.index>=fm&&(Wd.doubleProtoLoc=null),Wd.shorthandAssignLoc!=null&&Wd.shorthandAssignLoc.index>=fm&&(Wd.shorthandAssignLoc=null),Wd.privateKeyLoc!=null&&Wd.privateKeyLoc.index>=fm&&(this.checkDestructuringPrivate(Wd),Wd.privateKeyLoc=null)}else xh.left=uh;return this.next(),xh.right=this.parseMaybeAssign(),this.checkLVal(uh,{in:this.finishNode(xh,"AssignmentExpression")}),xh}else yf&&this.checkExpressionErrors(Wd,!0);return uh}parseMaybeConditional(Wd){let Fd=this.state.startLoc,Kd=this.state.potentialArrowAt,yf=this.parseExprOps(Wd);return this.shouldExitDescending(yf,Kd)?yf:this.parseConditional(yf,Fd,Wd)}parseConditional(Wd,Fd,Kd){if(this.eat(17)){let yf=this.startNodeAt(Fd);return yf.test=Wd,yf.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),yf.alternate=this.parseMaybeAssign(),this.finishNode(yf,"ConditionalExpression")}return Wd}parseMaybeUnaryOrPrivate(Wd){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(Wd)}parseExprOps(Wd){let Fd=this.state.startLoc,Kd=this.state.potentialArrowAt,yf=this.parseMaybeUnaryOrPrivate(Wd);return this.shouldExitDescending(yf,Kd)?yf:this.parseExprOp(yf,Fd,-1)}parseExprOp(Wd,Fd,Kd){if(this.isPrivateName(Wd)){let If=this.getPrivateNameSV(Wd);(Kd>=Tm(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Ld.PrivateInExpectedIn,Wd,{identifierName:If}),this.classScope.usePrivateName(If,Wd.loc.start)}let yf=this.state.type;if(Kf(yf)&&(this.prodParam.hasIn||!this.match(58))){let If=Tm(yf);if(If>Kd){if(yf===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return Wd;this.checkPipelineAtInfixOperator(Wd,Fd)}let uh=this.startNodeAt(Fd);uh.left=Wd,uh.operator=this.state.value;let xh=yf===41||yf===42,Vh=yf===40;if(Vh&&(If=Tm(42)),this.next(),yf===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(Ld.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);uh.right=this.parseExprOpRightExpr(yf,If);let fm=this.finishNode(uh,xh||Vh?"LogicalExpression":"BinaryExpression"),om=this.state.type;if(Vh&&(om===41||om===42)||xh&&om===40)throw this.raise(Ld.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(fm,Fd,Kd)}}return Wd}parseExprOpRightExpr(Wd,Fd){let Kd=this.state.startLoc;switch(Wd){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(Ld.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(Wd,Fd),Kd)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(Fd))}default:return this.parseExprOpBaseRightExpr(Wd,Fd)}}parseExprOpBaseRightExpr(Wd,Fd){let Kd=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),Kd,Pm(Wd)?Fd-1:Fd)}parseHackPipeBody(){var Wd;let{startLoc:Fd}=this.state,Kd=this.parseMaybeAssign();return Ad.has(Kd.type)&&!((Wd=Kd.extra)!=null&&Wd.parenthesized)&&this.raise(Ld.PipeUnparenthesizedBody,Fd,{type:Kd.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Ld.PipeTopicUnused,Fd),Kd}checkExponentialAfterUnary(Wd){this.match(57)&&this.raise(Ld.UnexpectedTokenUnaryExponentiation,Wd.argument)}parseMaybeUnary(Wd,Fd){let Kd=this.state.startLoc,yf=this.isContextual(96);if(yf&&this.isAwaitAllowed()){this.next();let Vh=this.parseAwait(Kd);return Fd||this.checkExponentialAfterUnary(Vh),Vh}let If=this.match(34),uh=this.startNode();if(Ah(this.state.type)){uh.operator=this.state.value,uh.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let Vh=this.match(89);if(this.next(),uh.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(Wd,!0),this.state.strict&&Vh){let fm=uh.argument;fm.type==="Identifier"?this.raise(Ld.StrictDelete,uh):this.hasPropertyAsPrivateName(fm)&&this.raise(Ld.DeletePrivateField,uh)}if(!If)return Fd||this.checkExponentialAfterUnary(uh),this.finishNode(uh,"UnaryExpression")}let xh=this.parseUpdate(uh,If,Wd);if(yf){let{type:Vh}=this.state;if((this.hasPlugin("v8intrinsic")?ph(Vh):ph(Vh)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Ld.AwaitNotInAsyncContext,Kd),this.parseAwait(Kd)}return xh}parseUpdate(Wd,Fd,Kd){if(Fd){let uh=Wd;return this.checkLVal(uh.argument,{in:this.finishNode(uh,"UpdateExpression")}),Wd}let yf=this.state.startLoc,If=this.parseExprSubscripts(Kd);if(this.checkExpressionErrors(Kd,!1))return If;for(;wh(this.state.type)&&!this.canInsertSemicolon();){let uh=this.startNodeAt(yf);uh.operator=this.state.value,uh.prefix=!1,uh.argument=If,this.next(),this.checkLVal(If,{in:If=this.finishNode(uh,"UpdateExpression")})}return If}parseExprSubscripts(Wd){let Fd=this.state.startLoc,Kd=this.state.potentialArrowAt,yf=this.parseExprAtom(Wd);return this.shouldExitDescending(yf,Kd)?yf:this.parseSubscripts(yf,Fd)}parseSubscripts(Wd,Fd,Kd){let yf={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(Wd),stop:!1};do Wd=this.parseSubscript(Wd,Fd,Kd,yf),yf.maybeAsyncArrow=!1;while(!yf.stop);return Wd}parseSubscript(Wd,Fd,Kd,yf){let{type:If}=this.state;if(!Kd&&If===15)return this.parseBind(Wd,Fd,Kd,yf);if(gm(If))return this.parseTaggedTemplateExpression(Wd,Fd,yf);let uh=!1;if(If===18){if(Kd&&(this.raise(Ld.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return yf.stop=!0,Wd;yf.optionalChainMember=uh=!0,this.next()}if(!Kd&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(Wd,Fd,yf,uh);{let xh=this.eat(0);return xh||uh||this.eat(16)?this.parseMember(Wd,Fd,yf,xh,uh):(yf.stop=!0,Wd)}}parseMember(Wd,Fd,Kd,yf,If){let uh=this.startNodeAt(Fd);return uh.object=Wd,uh.computed=yf,yf?(uh.property=this.parseExpression(),this.expect(3)):this.match(138)?(Wd.type==="Super"&&this.raise(Ld.SuperPrivateField,Fd),this.classScope.usePrivateName(this.state.value,this.state.startLoc),uh.property=this.parsePrivateName()):uh.property=this.parseIdentifier(!0),Kd.optionalChainMember?(uh.optional=If,this.finishNode(uh,"OptionalMemberExpression")):this.finishNode(uh,"MemberExpression")}parseBind(Wd,Fd,Kd,yf){let If=this.startNodeAt(Fd);return If.object=Wd,this.next(),If.callee=this.parseNoCallExpr(),yf.stop=!0,this.parseSubscripts(this.finishNode(If,"BindExpression"),Fd,Kd)}parseCoverCallAndAsyncArrowHead(Wd,Fd,Kd,yf){let If=this.state.maybeInArrowParameters,uh=null;this.state.maybeInArrowParameters=!0,this.next();let xh=this.startNodeAt(Fd);xh.callee=Wd;let{maybeAsyncArrow:Vh,optionalChainMember:fm}=Kd;Vh&&(this.expressionScope.enter(fb()),uh=new K_),fm&&(xh.optional=yf),yf?xh.arguments=this.parseCallExpressionArguments(11):xh.arguments=this.parseCallExpressionArguments(11,Wd.type==="Import",Wd.type!=="Super",xh,uh);let om=this.finishCallExpression(xh,fm);return Vh&&this.shouldParseAsyncArrow()&&!yf?(Kd.stop=!0,this.checkDestructuringPrivate(uh),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),om=this.parseAsyncArrowFromCallExpression(this.startNodeAt(Fd),om)):(Vh&&(this.checkExpressionErrors(uh,!0),this.expressionScope.exit()),this.toReferencedArguments(om)),this.state.maybeInArrowParameters=If,om}toReferencedArguments(Wd,Fd){this.toReferencedListDeep(Wd.arguments,Fd)}parseTaggedTemplateExpression(Wd,Fd,Kd){let yf=this.startNodeAt(Fd);return yf.tag=Wd,yf.quasi=this.parseTemplate(!0),Kd.optionalChainMember&&this.raise(Ld.OptionalChainingNoTemplate,Fd),this.finishNode(yf,"TaggedTemplateExpression")}atPossibleAsyncArrow(Wd){return Wd.type==="Identifier"&&Wd.name==="async"&&this.state.lastTokEndLoc.index===Wd.end&&!this.canInsertSemicolon()&&Wd.end-Wd.start===5&&Wd.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(Wd,Fd){if(Wd.callee.type==="Import")if(Wd.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),Wd.arguments.length===0||Wd.arguments.length>2)this.raise(Ld.ImportCallArity,Wd,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let Kd of Wd.arguments)Kd.type==="SpreadElement"&&this.raise(Ld.ImportCallSpreadArgument,Kd);return this.finishNode(Wd,Fd?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(Wd,Fd,Kd,yf,If){let uh=[],xh=!0,Vh=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(Wd);){if(xh)xh=!1;else if(this.expect(12),this.match(Wd)){Fd&&!this.hasPlugin("importAttributes")&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Ld.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),yf&&this.addTrailingCommaExtraToNode(yf),this.next();break}uh.push(this.parseExprListItem(!1,If,Kd))}return this.state.inFSharpPipelineDirectBody=Vh,uh}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(Wd,Fd){var Kd;return this.resetPreviousNodeTrailingComments(Fd),this.expect(19),this.parseArrowExpression(Wd,Fd.arguments,!0,(Kd=Fd.extra)==null?void 0:Kd.trailingCommaLoc),Fd.innerComments&&q_(Wd,Fd.innerComments),Fd.callee.trailingComments&&q_(Wd,Fd.callee.trailingComments),Wd}parseNoCallExpr(){let Wd=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),Wd,!0)}parseExprAtom(Wd){let Fd,Kd=null,{type:yf}=this.state;switch(yf){case 79:return this.parseSuper();case 83:return Fd=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(Fd):this.match(10)?this.options.createImportExpressions?this.parseImportCall(Fd):this.finishNode(Fd,"Import"):(this.raise(Ld.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(Fd,"Import"));case 78:return Fd=this.startNode(),this.next(),this.finishNode(Fd,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let If=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(If)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,Wd);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,Wd);case 68:return this.parseFunctionOrFunctionSent();case 26:Kd=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(Kd,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{Fd=this.startNode(),this.next(),Fd.object=null;let If=Fd.callee=this.parseNoCallExpr();if(If.type==="MemberExpression")return this.finishNode(Fd,"BindExpression");throw this.raise(Ld.UnsupportedBind,If)}case 138:return this.raise(Ld.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let If=this.getPluginOption("pipelineOperator","proposal");if(If)return this.parseTopicReference(If);this.unexpected();break}case 47:{let If=this.input.codePointAt(this.nextTokenStart());dm(If)||If===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(Yf(yf)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let If=this.state.potentialArrowAt===this.state.start,uh=this.state.containsEsc,xh=this.parseIdentifier();if(!uh&&xh.name==="async"&&!this.canInsertSemicolon()){let{type:Vh}=this.state;if(Vh===68)return this.resetPreviousNodeTrailingComments(xh),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(xh));if(Yf(Vh))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(xh)):xh;if(Vh===90)return this.resetPreviousNodeTrailingComments(xh),this.parseDo(this.startNodeAtNode(xh),!0)}return If&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(xh),[xh],!1)):xh}else this.unexpected()}}parseTopicReferenceThenEqualsSign(Wd,Fd){let Kd=this.getPluginOption("pipelineOperator","proposal");if(Kd)return this.state.type=Wd,this.state.value=Fd,this.state.pos--,this.state.end--,this.state.endLoc=ld(this.state.endLoc,-1),this.parseTopicReference(Kd);this.unexpected()}parseTopicReference(Wd){let Fd=this.startNode(),Kd=this.state.startLoc,yf=this.state.type;return this.next(),this.finishTopicReference(Fd,Kd,Wd,yf)}finishTopicReference(Wd,Fd,Kd,yf){if(this.testTopicReferenceConfiguration(Kd,Fd,yf)){let If=Kd==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(Kd==="smart"?Ld.PrimaryTopicNotAllowed:Ld.PipeTopicUnbound,Fd),this.registerTopicReference(),this.finishNode(Wd,If)}else throw this.raise(Ld.PipeTopicUnconfiguredToken,Fd,{token:Bh(yf)})}testTopicReferenceConfiguration(Wd,Fd,Kd){switch(Wd){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Bh(Kd)}]);case"smart":return Kd===27;default:throw this.raise(Ld.PipeTopicRequiresHackPipes,Fd)}}parseAsyncArrowUnaryFunction(Wd){this.prodParam.enter(hb(!0,this.prodParam.hasYield));let Fd=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Ld.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(Wd,Fd,!0)}parseDo(Wd,Fd){this.expectPlugin("doExpressions"),Fd&&this.expectPlugin("asyncDoExpressions"),Wd.async=Fd,this.next();let Kd=this.state.labels;return this.state.labels=[],Fd?(this.prodParam.enter(2),Wd.body=this.parseBlock(),this.prodParam.exit()):Wd.body=this.parseBlock(),this.state.labels=Kd,this.finishNode(Wd,"DoExpression")}parseSuper(){let Wd=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(Ld.SuperNotAllowed,Wd):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Ld.UnexpectedSuper,Wd),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Ld.UnsupportedSuper,Wd),this.finishNode(Wd,"Super")}parsePrivateName(){let Wd=this.startNode(),Fd=this.startNodeAt(ld(this.state.startLoc,1)),Kd=this.state.value;return this.next(),Wd.id=this.createIdentifier(Fd,Kd),this.finishNode(Wd,"PrivateName")}parseFunctionOrFunctionSent(){let Wd=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let Fd=this.createIdentifier(this.startNodeAtNode(Wd),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(Wd,Fd,"sent")}return this.parseFunction(Wd)}parseMetaProperty(Wd,Fd,Kd){Wd.meta=Fd;let yf=this.state.containsEsc;return Wd.property=this.parseIdentifier(!0),(Wd.property.name!==Kd||yf)&&this.raise(Ld.UnsupportedMetaProperty,Wd.property,{target:Fd.name,onlyValidPropertyName:Kd}),this.finishNode(Wd,"MetaProperty")}parseImportMetaProperty(Wd){let Fd=this.createIdentifier(this.startNodeAtNode(Wd),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(Ld.ImportMetaOutsideModule,Fd),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let Kd=this.isContextual(105);if(Kd||this.unexpected(),this.expectPlugin(Kd?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(Ld.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),Wd.phase=Kd?"source":"defer",this.parseImportCall(Wd)}return this.parseMetaProperty(Wd,Fd,"meta")}parseLiteralAtNode(Wd,Fd,Kd){return this.addExtra(Kd,"rawValue",Wd),this.addExtra(Kd,"raw",this.input.slice(Kd.start,this.state.end)),Kd.value=Wd,this.next(),this.finishNode(Kd,Fd)}parseLiteral(Wd,Fd){let Kd=this.startNode();return this.parseLiteralAtNode(Wd,Fd,Kd)}parseStringLiteral(Wd){return this.parseLiteral(Wd,"StringLiteral")}parseNumericLiteral(Wd){return this.parseLiteral(Wd,"NumericLiteral")}parseBigIntLiteral(Wd){return this.parseLiteral(Wd,"BigIntLiteral")}parseDecimalLiteral(Wd){return this.parseLiteral(Wd,"DecimalLiteral")}parseRegExpLiteral(Wd){let Fd=this.startNode();return this.addExtra(Fd,"raw",this.input.slice(Fd.start,this.state.end)),Fd.pattern=Wd.pattern,Fd.flags=Wd.flags,this.next(),this.finishNode(Fd,"RegExpLiteral")}parseBooleanLiteral(Wd){let Fd=this.startNode();return Fd.value=Wd,this.next(),this.finishNode(Fd,"BooleanLiteral")}parseNullLiteral(){let Wd=this.startNode();return this.next(),this.finishNode(Wd,"NullLiteral")}parseParenAndDistinguishExpression(Wd){let Fd=this.state.startLoc,Kd;this.next(),this.expressionScope.enter(M_());let yf=this.state.maybeInArrowParameters,If=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let uh=this.state.startLoc,xh=[],Vh=new K_,fm=!0,om,zm;for(;!this.match(11);){if(fm)fm=!1;else if(this.expect(12,Vh.optionalParametersLoc===null?null:Vh.optionalParametersLoc),this.match(11)){zm=this.state.startLoc;break}if(this.match(21)){let Ag=this.state.startLoc;if(om=this.state.startLoc,xh.push(this.parseParenItem(this.parseRestBinding(),Ag)),!this.checkCommaAfterRest(41))break}else xh.push(this.parseMaybeAssignAllowIn(Vh,this.parseParenItem))}let sg=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=yf,this.state.inFSharpPipelineDirectBody=If;let Tg=this.startNodeAt(Fd);return Wd&&this.shouldParseArrow(xh)&&(Tg=this.parseArrow(Tg))?(this.checkDestructuringPrivate(Vh),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Tg,xh,!1),Tg):(this.expressionScope.exit(),xh.length||this.unexpected(this.state.lastTokStartLoc),zm&&this.unexpected(zm),om&&this.unexpected(om),this.checkExpressionErrors(Vh,!0),this.toReferencedListDeep(xh,!0),xh.length>1?(Kd=this.startNodeAt(uh),Kd.expressions=xh,this.finishNode(Kd,"SequenceExpression"),this.resetEndLocation(Kd,sg)):Kd=xh[0],this.wrapParenthesis(Fd,Kd))}wrapParenthesis(Wd,Fd){if(!this.options.createParenthesizedExpressions)return this.addExtra(Fd,"parenthesized",!0),this.addExtra(Fd,"parenStart",Wd.index),this.takeSurroundingComments(Fd,Wd.index,this.state.lastTokEndLoc.index),Fd;let Kd=this.startNodeAt(Wd);return Kd.expression=Fd,this.finishNode(Kd,"ParenthesizedExpression")}shouldParseArrow(Wd){return!this.canInsertSemicolon()}parseArrow(Wd){if(this.eat(19))return Wd}parseParenItem(Wd,Fd){return Wd}parseNewOrNewTarget(){let Wd=this.startNode();if(this.next(),this.match(16)){let Fd=this.createIdentifier(this.startNodeAtNode(Wd),"new");this.next();let Kd=this.parseMetaProperty(Wd,Fd,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(Ld.UnexpectedNewTarget,Kd),Kd}return this.parseNew(Wd)}parseNew(Wd){if(this.parseNewCallee(Wd),this.eat(10)){let Fd=this.parseExprList(11);this.toReferencedList(Fd),Wd.arguments=Fd}else Wd.arguments=[];return this.finishNode(Wd,"NewExpression")}parseNewCallee(Wd){let Fd=this.match(83),Kd=this.parseNoCallExpr();Wd.callee=Kd,Fd&&(Kd.type==="Import"||Kd.type==="ImportExpression")&&this.raise(Ld.ImportCallNotNewExpression,Kd)}parseTemplateElement(Wd){let{start:Fd,startLoc:Kd,end:yf,value:If}=this.state,uh=Fd+1,xh=this.startNodeAt(ld(Kd,1));If===null&&(Wd||this.raise(Ld.InvalidEscapeSequenceTemplate,ld(this.state.firstInvalidTemplateEscapePos,1)));let Vh=this.match(24),fm=Vh?-1:-2,om=yf+fm;xh.value={raw:this.input.slice(uh,om).replace(/\r\n?/g,`
|
||
`),cooked:If===null?null:If.slice(1,fm)},xh.tail=Vh,this.next();let zm=this.finishNode(xh,"TemplateElement");return this.resetEndLocation(zm,ld(this.state.lastTokEndLoc,fm)),zm}parseTemplate(Wd){let Fd=this.startNode(),Kd=this.parseTemplateElement(Wd),yf=[Kd],If=[];for(;!Kd.tail;)If.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),yf.push(Kd=this.parseTemplateElement(Wd));return Fd.expressions=If,Fd.quasis=yf,this.finishNode(Fd,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(Wd,Fd,Kd,yf){Kd&&this.expectPlugin("recordAndTuple");let If=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let uh=Object.create(null),xh=!0,Vh=this.startNode();for(Vh.properties=[],this.next();!this.match(Wd);){if(xh)xh=!1;else if(this.expect(12),this.match(Wd)){this.addTrailingCommaExtraToNode(Vh);break}let om;Fd?om=this.parseBindingProperty():(om=this.parsePropertyDefinition(yf),this.checkProto(om,Kd,uh,yf)),Kd&&!this.isObjectProperty(om)&&om.type!=="SpreadElement"&&this.raise(Ld.InvalidRecordProperty,om),om.shorthand&&this.addExtra(om,"shorthand",!0),Vh.properties.push(om)}this.next(),this.state.inFSharpPipelineDirectBody=If;let fm="ObjectExpression";return Fd?fm="ObjectPattern":Kd&&(fm="RecordExpression"),this.finishNode(Vh,fm)}addTrailingCommaExtraToNode(Wd){this.addExtra(Wd,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(Wd,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(Wd){return!Wd.computed&&Wd.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(Wd){let Fd=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Ld.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)Fd.push(this.parseDecorator());let Kd=this.startNode(),yf=!1,If=!1,uh;if(this.match(21))return Fd.length&&this.unexpected(),this.parseSpread();Fd.length&&(Kd.decorators=Fd,Fd=[]),Kd.method=!1,Wd&&(uh=this.state.startLoc);let xh=this.eat(55);this.parsePropertyNamePrefixOperator(Kd);let Vh=this.state.containsEsc;if(this.parsePropertyName(Kd,Wd),!xh&&!Vh&&this.maybeAsyncOrAccessorProp(Kd)){let{key:fm}=Kd,om=fm.name;om==="async"&&!this.hasPrecedingLineBreak()&&(yf=!0,this.resetPreviousNodeTrailingComments(fm),xh=this.eat(55),this.parsePropertyName(Kd)),(om==="get"||om==="set")&&(If=!0,this.resetPreviousNodeTrailingComments(fm),Kd.kind=om,this.match(55)&&(xh=!0,this.raise(Ld.AccessorIsGenerator,this.state.curPosition(),{kind:om}),this.next()),this.parsePropertyName(Kd))}return this.parseObjPropValue(Kd,uh,xh,yf,!1,If,Wd)}getGetterSetterExpectedParamCount(Wd){return Wd.kind==="get"?0:1}getObjectOrClassMethodParams(Wd){return Wd.params}checkGetterSetterParams(Wd){var Fd;let Kd=this.getGetterSetterExpectedParamCount(Wd),yf=this.getObjectOrClassMethodParams(Wd);yf.length!==Kd&&this.raise(Wd.kind==="get"?Ld.BadGetterArity:Ld.BadSetterArity,Wd),Wd.kind==="set"&&((Fd=yf[yf.length-1])==null?void 0:Fd.type)==="RestElement"&&this.raise(Ld.BadSetterRestParameter,Wd)}parseObjectMethod(Wd,Fd,Kd,yf,If){if(If){let uh=this.parseMethod(Wd,Fd,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(uh),uh}if(Kd||Fd||this.match(10))return yf&&this.unexpected(),Wd.kind="method",Wd.method=!0,this.parseMethod(Wd,Fd,Kd,!1,!1,"ObjectMethod")}parseObjectProperty(Wd,Fd,Kd,yf){if(Wd.shorthand=!1,this.eat(14))return Wd.value=Kd?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(yf),this.finishNode(Wd,"ObjectProperty");if(!Wd.computed&&Wd.key.type==="Identifier"){if(this.checkReservedWord(Wd.key.name,Wd.key.loc.start,!0,!1),Kd)Wd.value=this.parseMaybeDefault(Fd,X_(Wd.key));else if(this.match(29)){let If=this.state.startLoc;yf!=null?yf.shorthandAssignLoc===null&&(yf.shorthandAssignLoc=If):this.raise(Ld.InvalidCoverInitializedName,If),Wd.value=this.parseMaybeDefault(Fd,X_(Wd.key))}else Wd.value=X_(Wd.key);return Wd.shorthand=!0,this.finishNode(Wd,"ObjectProperty")}}parseObjPropValue(Wd,Fd,Kd,yf,If,uh,xh){let Vh=this.parseObjectMethod(Wd,Kd,yf,If,uh)||this.parseObjectProperty(Wd,Fd,If,xh);return Vh||this.unexpected(),Vh}parsePropertyName(Wd,Fd){if(this.eat(0))Wd.computed=!0,Wd.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:Kd,value:yf}=this.state,If;if(Th(Kd))If=this.parseIdentifier(!0);else switch(Kd){case 134:If=this.parseNumericLiteral(yf);break;case 133:If=this.parseStringLiteral(yf);break;case 135:If=this.parseBigIntLiteral(yf);break;case 136:If=this.parseDecimalLiteral(yf);break;case 138:{let uh=this.state.startLoc;Fd!=null?Fd.privateKeyLoc===null&&(Fd.privateKeyLoc=uh):this.raise(Ld.UnexpectedPrivateField,uh),If=this.parsePrivateName();break}default:this.unexpected()}Wd.key=If,Kd!==138&&(Wd.computed=!1)}}initFunction(Wd,Fd){Wd.id=null,Wd.generator=!1,Wd.async=Fd}parseMethod(Wd,Fd,Kd,yf,If,uh,xh=!1){this.initFunction(Wd,Kd),Wd.generator=Fd,this.scope.enter(18|(xh?64:0)|(If?32:0)),this.prodParam.enter(hb(Kd,Wd.generator)),this.parseFunctionParams(Wd,yf);let Vh=this.parseFunctionBodyAndFinish(Wd,uh,!0);return this.prodParam.exit(),this.scope.exit(),Vh}parseArrayLike(Wd,Fd,Kd,yf){Kd&&this.expectPlugin("recordAndTuple");let If=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let uh=this.startNode();return this.next(),uh.elements=this.parseExprList(Wd,!Kd,yf,uh),this.state.inFSharpPipelineDirectBody=If,this.finishNode(uh,Kd?"TupleExpression":"ArrayExpression")}parseArrowExpression(Wd,Fd,Kd,yf){this.scope.enter(6);let If=hb(Kd,!1);!this.match(5)&&this.prodParam.hasIn&&(If|=8),this.prodParam.enter(If),this.initFunction(Wd,Kd);let uh=this.state.maybeInArrowParameters;return Fd&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(Wd,Fd,yf)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(Wd,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=uh,this.finishNode(Wd,"ArrowFunctionExpression")}setArrowFunctionParameters(Wd,Fd,Kd){this.toAssignableList(Fd,Kd,!1),Wd.params=Fd}parseFunctionBodyAndFinish(Wd,Fd,Kd=!1){return this.parseFunctionBody(Wd,!1,Kd),this.finishNode(Wd,Fd)}parseFunctionBody(Wd,Fd,Kd=!1){let yf=Fd&&!this.match(5);if(this.expressionScope.enter(Mb()),yf)Wd.body=this.parseMaybeAssign(),this.checkParams(Wd,!1,Fd,!1);else{let If=this.state.strict,uh=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),Wd.body=this.parseBlock(!0,!1,xh=>{let Vh=!this.isSimpleParamList(Wd.params);xh&&Vh&&this.raise(Ld.IllegalLanguageModeDirective,(Wd.kind==="method"||Wd.kind==="constructor")&&Wd.key?Wd.key.loc.end:Wd);let fm=!If&&this.state.strict;this.checkParams(Wd,!this.state.strict&&!Fd&&!Kd&&!Vh,Fd,fm),this.state.strict&&Wd.id&&this.checkIdentifier(Wd.id,65,fm)}),this.prodParam.exit(),this.state.labels=uh}this.expressionScope.exit()}isSimpleParameter(Wd){return Wd.type==="Identifier"}isSimpleParamList(Wd){for(let Fd=0,Kd=Wd.length;Fd<Kd;Fd++)if(!this.isSimpleParameter(Wd[Fd]))return!1;return!0}checkParams(Wd,Fd,Kd,yf=!0){let If=!Fd&&new Set,uh={type:"FormalParameters"};for(let xh of Wd.params)this.checkLVal(xh,{in:uh,binding:5,checkClashes:If,strictModeChanged:yf})}parseExprList(Wd,Fd,Kd,yf){let If=[],uh=!0;for(;!this.eat(Wd);){if(uh)uh=!1;else if(this.expect(12),this.match(Wd)){yf&&this.addTrailingCommaExtraToNode(yf),this.next();break}If.push(this.parseExprListItem(Fd,Kd))}return If}parseExprListItem(Wd,Fd,Kd){let yf;if(this.match(12))Wd||this.raise(Ld.UnexpectedToken,this.state.curPosition(),{unexpected:","}),yf=null;else if(this.match(21)){let If=this.state.startLoc;yf=this.parseParenItem(this.parseSpread(Fd),If)}else if(this.match(17)){this.expectPlugin("partialApplication"),Kd||this.raise(Ld.UnexpectedArgumentPlaceholder,this.state.startLoc);let If=this.startNode();this.next(),yf=this.finishNode(If,"ArgumentPlaceholder")}else yf=this.parseMaybeAssignAllowIn(Fd,this.parseParenItem);return yf}parseIdentifier(Wd){let Fd=this.startNode(),Kd=this.parseIdentifierName(Wd);return this.createIdentifier(Fd,Kd)}createIdentifier(Wd,Fd){return Wd.name=Fd,Wd.loc.identifierName=Fd,this.finishNode(Wd,"Identifier")}parseIdentifierName(Wd){let Fd,{startLoc:Kd,type:yf}=this.state;Th(yf)?Fd=this.state.value:this.unexpected();let If=ih(yf);return Wd?If&&this.replaceToken(132):this.checkReservedWord(Fd,Kd,If,!1),this.next(),Fd}checkReservedWord(Wd,Fd,Kd,yf){if(!(Wd.length>10||!Jg(Wd))){if(Kd&&Kg(Wd)){this.raise(Ld.UnexpectedKeyword,Fd,{keyword:Wd});return}if((this.state.strict?yf?Fg:kg:Eg)(Wd,this.inModule)){this.raise(Ld.UnexpectedReservedWord,Fd,{reservedWord:Wd});return}else if(Wd==="yield"){if(this.prodParam.hasYield){this.raise(Ld.YieldBindingIdentifier,Fd);return}}else if(Wd==="await"){if(this.prodParam.hasAwait){this.raise(Ld.AwaitBindingIdentifier,Fd);return}if(this.scope.inStaticBlock){this.raise(Ld.AwaitBindingIdentifierInStaticBlock,Fd);return}this.expressionScope.recordAsyncArrowParametersError(Fd)}else if(Wd==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(Ld.ArgumentsInClass,Fd);return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(Wd){let Fd=this.startNodeAt(Wd);return this.expressionScope.recordParameterInitializerError(Ld.AwaitExpressionFormalParameter,Fd),this.eat(55)&&this.raise(Ld.ObsoleteAwaitStar,Fd),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(Fd.argument=this.parseMaybeUnary(null,!0)),this.finishNode(Fd,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:Wd}=this.state;return Wd===53||Wd===10||Wd===0||gm(Wd)||Wd===102&&!this.state.containsEsc||Wd===137||Wd===56||this.hasPlugin("v8intrinsic")&&Wd===54}parseYield(){let Wd=this.startNode();this.expressionScope.recordParameterInitializerError(Ld.YieldInParameter,Wd),this.next();let Fd=!1,Kd=null;if(!this.hasPrecedingLineBreak())switch(Fd=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!Fd)break;default:Kd=this.parseMaybeAssign()}return Wd.delegate=Fd,Wd.argument=Kd,this.finishNode(Wd,"YieldExpression")}parseImportCall(Wd){return this.next(),Wd.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(Wd.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(Wd.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(Wd,"ImportExpression")}checkPipelineAtInfixOperator(Wd,Fd){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&Wd.type==="SequenceExpression"&&this.raise(Ld.PipelineHeadSequenceExpression,Fd)}parseSmartPipelineBodyInStyle(Wd,Fd){if(this.isSimpleReference(Wd)){let Kd=this.startNodeAt(Fd);return Kd.callee=Wd,this.finishNode(Kd,"PipelineBareFunction")}else{let Kd=this.startNodeAt(Fd);return this.checkSmartPipeTopicBodyEarlyErrors(Fd),Kd.expression=Wd,this.finishNode(Kd,"PipelineTopicExpression")}}isSimpleReference(Wd){switch(Wd.type){case"MemberExpression":return!Wd.computed&&this.isSimpleReference(Wd.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(Wd){if(this.match(19))throw this.raise(Ld.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(Ld.PipelineTopicUnused,Wd)}withTopicBindingContext(Wd){let Fd=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return Wd()}finally{this.state.topicContext=Fd}}withSmartMixTopicForbiddingContext(Wd){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let Fd=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return Wd()}finally{this.state.topicContext=Fd}}else return Wd()}withSoloAwaitPermittingContext(Wd){let Fd=this.state.soloAwait;this.state.soloAwait=!0;try{return Wd()}finally{this.state.soloAwait=Fd}}allowInAnd(Wd){let Fd=this.prodParam.currentFlags();if(8&~Fd){this.prodParam.enter(Fd|8);try{return Wd()}finally{this.prodParam.exit()}}return Wd()}disallowInAnd(Wd){let Fd=this.prodParam.currentFlags();if(8&Fd){this.prodParam.enter(Fd&-9);try{return Wd()}finally{this.prodParam.exit()}}return Wd()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(Wd){let Fd=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let Kd=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let yf=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),Fd,Wd);return this.state.inFSharpPipelineDirectBody=Kd,yf}parseModuleExpression(){this.expectPlugin("moduleBlocks");let Wd=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let Fd=this.startNodeAt(this.state.endLoc);this.next();let Kd=this.initializeScopes(!0);this.enterInitialScopes();try{Wd.body=this.parseProgram(Fd,8,"module")}finally{Kd()}return this.finishNode(Wd,"ModuleExpression")}parsePropertyNamePrefixOperator(Wd){}},sE={kind:1},Cb={kind:2},zE=/[\uD800-\uDFFF]/u,Cy=/in(?:stanceof)?/y;function d0(Wd,Fd){for(let Kd=0;Kd<Wd.length;Kd++){let yf=Wd[Kd],{type:If}=yf;if(typeof If=="number"){{if(If===138){let{loc:uh,start:xh,value:Vh,end:fm}=yf,om=xh+1,zm=ld(uh.start,1);Wd.splice(Kd,1,new _h({type:Mm(27),value:"#",start:xh,end:om,startLoc:uh.start,endLoc:zm}),new _h({type:Mm(132),value:Vh,start:om,end:fm,startLoc:zm,endLoc:uh.end})),Kd++;continue}if(gm(If)){let{loc:uh,start:xh,value:Vh,end:fm}=yf,om=xh+1,zm=ld(uh.start,1),sg;Fd.charCodeAt(xh)===96?sg=new _h({type:Mm(22),value:"`",start:xh,end:om,startLoc:uh.start,endLoc:zm}):sg=new _h({type:Mm(8),value:"}",start:xh,end:om,startLoc:uh.start,endLoc:zm});let Tg,Ag,qg,I_;If===24?(Ag=fm-1,qg=ld(uh.end,-1),Tg=Vh===null?null:Vh.slice(1,-1),I_=new _h({type:Mm(22),value:"`",start:Ag,end:fm,startLoc:qg,endLoc:uh.end})):(Ag=fm-2,qg=ld(uh.end,-2),Tg=Vh===null?null:Vh.slice(1,-2),I_=new _h({type:Mm(23),value:"${",start:Ag,end:fm,startLoc:qg,endLoc:uh.end})),Wd.splice(Kd,1,sg,new _h({type:Mm(20),value:Tg,start:om,end:Ag,startLoc:zm,endLoc:qg}),I_),Kd+=2;continue}}yf.type=Mm(If)}}return Wd}var hv=class extends vb{parseTopLevel(Wd,Fd){return Wd.program=this.parseProgram(Fd),Wd.comments=this.comments,this.options.tokens&&(Wd.tokens=d0(this.tokens,this.input)),this.finishNode(Wd,"File")}parseProgram(Wd,Fd=139,Kd=this.options.sourceType){if(Wd.sourceType=Kd,Wd.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(Wd,!0,!0,Fd),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[If,uh]of Array.from(this.scope.undefinedExports))this.raise(Ld.ModuleExportUndefined,uh,{localName:If});let yf;return Fd===139?yf=this.finishNode(Wd,"Program"):yf=this.finishNodeAt(Wd,"Program",ld(this.state.startLoc,-1)),yf}stmtToDirective(Wd){let Fd=Wd;Fd.type="Directive",Fd.value=Fd.expression,delete Fd.expression;let Kd=Fd.value,yf=Kd.value,If=this.input.slice(Kd.start,Kd.end),uh=Kd.value=If.slice(1,-1);return this.addExtra(Kd,"raw",If),this.addExtra(Kd,"rawValue",uh),this.addExtra(Kd,"expressionValue",yf),Kd.type="DirectiveLiteral",Fd}parseInterpreterDirective(){if(!this.match(28))return null;let Wd=this.startNode();return Wd.value=this.state.value,this.next(),this.finishNode(Wd,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(Wd,Fd){if(dm(Wd)){if(Cy.lastIndex=Fd,Cy.test(this.input)){let Kd=this.codePointAtPos(Cy.lastIndex);if(!Im(Kd)&&Kd!==92)return!1}return!0}else return Wd===92}chStartsBindingPattern(Wd){return Wd===91||Wd===123}hasFollowingBindingAtom(){let Wd=this.nextTokenStart(),Fd=this.codePointAtPos(Wd);return this.chStartsBindingPattern(Fd)||this.chStartsBindingIdentifier(Fd,Wd)}hasInLineFollowingBindingIdentifierOrBrace(){let Wd=this.nextTokenInLineStart(),Fd=this.codePointAtPos(Wd);return Fd===123||this.chStartsBindingIdentifier(Fd,Wd)}startsUsingForOf(){let{type:Wd,containsEsc:Fd}=this.lookahead();if(Wd===102&&!Fd)return!1;if(Yf(Wd)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let Wd=this.nextTokenInLineStart();if(this.isUnparsedContextual(Wd,"using")){Wd=this.nextTokenInLineStartSince(Wd+5);let Fd=this.codePointAtPos(Wd);if(this.chStartsBindingIdentifier(Fd,Wd))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(Wd=!1){let Fd=0;return this.options.annexB&&!this.state.strict&&(Fd|=4,Wd&&(Fd|=8)),this.parseStatementLike(Fd)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(Wd){let Fd=null;return this.match(26)&&(Fd=this.parseDecorators(!0)),this.parseStatementContent(Wd,Fd)}parseStatementContent(Wd,Fd){let Kd=this.state.type,yf=this.startNode(),If=!!(Wd&2),uh=!!(Wd&4),xh=Wd&1;switch(Kd){case 60:return this.parseBreakContinueStatement(yf,!0);case 63:return this.parseBreakContinueStatement(yf,!1);case 64:return this.parseDebuggerStatement(yf);case 90:return this.parseDoWhileStatement(yf);case 91:return this.parseForStatement(yf);case 68:if(this.lookaheadCharCode()===46)break;return uh||this.raise(this.state.strict?Ld.StrictFunction:this.options.annexB?Ld.SloppyFunctionAnnexB:Ld.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(yf,!1,!If&&uh);case 80:return If||this.unexpected(),this.parseClass(this.maybeTakeDecorators(Fd,yf),!0);case 69:return this.parseIfStatement(yf);case 70:return this.parseReturnStatement(yf);case 71:return this.parseSwitchStatement(yf);case 72:return this.parseThrowStatement(yf);case 73:return this.parseTryStatement(yf);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?If||this.raise(Ld.UnexpectedLexicalDeclaration,yf):this.raise(Ld.AwaitUsingNotInAsyncContext,yf),this.next(),this.parseVarStatement(yf,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Ld.UnexpectedUsingDeclaration,this.state.startLoc):If||this.raise(Ld.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(yf,"using");case 100:{if(this.state.containsEsc)break;let om=this.nextTokenStart(),zm=this.codePointAtPos(om);if(zm!==91&&(!If&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(zm,om)&&zm!==123))break}case 75:If||this.raise(Ld.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let om=this.state.value;return this.parseVarStatement(yf,om)}case 92:return this.parseWhileStatement(yf);case 76:return this.parseWithStatement(yf);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(yf);case 83:{let om=this.lookaheadCharCode();if(om===40||om===46)break}case 82:{!this.options.allowImportExportEverywhere&&!xh&&this.raise(Ld.UnexpectedImportExport,this.state.startLoc),this.next();let om;return Kd===83?(om=this.parseImport(yf),om.type==="ImportDeclaration"&&(!om.importKind||om.importKind==="value")&&(this.sawUnambiguousESM=!0)):(om=this.parseExport(yf,Fd),(om.type==="ExportNamedDeclaration"&&(!om.exportKind||om.exportKind==="value")||om.type==="ExportAllDeclaration"&&(!om.exportKind||om.exportKind==="value")||om.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(om),om}default:if(this.isAsyncFunction())return If||this.raise(Ld.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(yf,!0,!If&&uh)}let Vh=this.state.value,fm=this.parseExpression();return Yf(Kd)&&fm.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(yf,Vh,fm,Wd):this.parseExpressionStatement(yf,fm,Fd)}assertModuleNodeAllowed(Wd){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Ld.ImportOutsideModule,Wd)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(Wd,Fd,Kd){return Wd&&(Fd.decorators&&Fd.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(Ld.DecoratorsBeforeAfterExport,Fd.decorators[0]),Fd.decorators.unshift(...Wd)):Fd.decorators=Wd,this.resetStartLocationFromNode(Fd,Wd[0]),Kd&&this.resetStartLocationFromNode(Kd,Fd)),Fd}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(Wd){let Fd=[];do Fd.push(this.parseDecorator());while(this.match(26));if(this.match(82))Wd||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Ld.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(Ld.UnexpectedLeadingDecorator,this.state.startLoc);return Fd}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let Wd=this.startNode();if(this.next(),this.hasPlugin("decorators")){let Fd=this.state.startLoc,Kd;if(this.match(10)){let yf=this.state.startLoc;this.next(),Kd=this.parseExpression(),this.expect(11),Kd=this.wrapParenthesis(yf,Kd);let If=this.state.startLoc;Wd.expression=this.parseMaybeDecoratorArguments(Kd),this.getPluginOption("decorators","allowCallParenthesized")===!1&&Wd.expression!==Kd&&this.raise(Ld.DecoratorArgumentsOutsideParentheses,If)}else{for(Kd=this.parseIdentifier(!1);this.eat(16);){let yf=this.startNodeAt(Fd);yf.object=Kd,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),yf.property=this.parsePrivateName()):yf.property=this.parseIdentifier(!0),yf.computed=!1,Kd=this.finishNode(yf,"MemberExpression")}Wd.expression=this.parseMaybeDecoratorArguments(Kd)}}else Wd.expression=this.parseExprSubscripts();return this.finishNode(Wd,"Decorator")}parseMaybeDecoratorArguments(Wd){if(this.eat(10)){let Fd=this.startNodeAtNode(Wd);return Fd.callee=Wd,Fd.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(Fd.arguments),this.finishNode(Fd,"CallExpression")}return Wd}parseBreakContinueStatement(Wd,Fd){return this.next(),this.isLineTerminator()?Wd.label=null:(Wd.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(Wd,Fd),this.finishNode(Wd,Fd?"BreakStatement":"ContinueStatement")}verifyBreakContinue(Wd,Fd){let Kd;for(Kd=0;Kd<this.state.labels.length;++Kd){let yf=this.state.labels[Kd];if((Wd.label==null||yf.name===Wd.label.name)&&(yf.kind!=null&&(Fd||yf.kind===1)||Wd.label&&Fd))break}if(Kd===this.state.labels.length){let yf=Fd?"BreakStatement":"ContinueStatement";this.raise(Ld.IllegalBreakContinue,Wd,{type:yf})}}parseDebuggerStatement(Wd){return this.next(),this.semicolon(),this.finishNode(Wd,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let Wd=this.parseExpression();return this.expect(11),Wd}parseDoWhileStatement(Wd){return this.next(),this.state.labels.push(sE),Wd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),Wd.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(Wd,"DoWhileStatement")}parseForStatement(Wd){this.next(),this.state.labels.push(sE);let Fd=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(Fd=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return Fd!==null&&this.unexpected(Fd),this.parseFor(Wd,null);let Kd=this.isContextual(100);{let Vh=this.isContextual(96)&&this.startsAwaitUsing(),fm=Vh||this.isContextual(107)&&this.startsUsingForOf(),om=Kd&&this.hasFollowingBindingAtom()||fm;if(this.match(74)||this.match(75)||om){let zm=this.startNode(),sg;Vh?(sg="await using",this.isAwaitAllowed()||this.raise(Ld.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):sg=this.state.value,this.next(),this.parseVar(zm,!0,sg);let Tg=this.finishNode(zm,"VariableDeclaration"),Ag=this.match(58);return Ag&&fm&&this.raise(Ld.ForInUsing,Tg),(Ag||this.isContextual(102))&&Tg.declarations.length===1?this.parseForIn(Wd,Tg,Fd):(Fd!==null&&this.unexpected(Fd),this.parseFor(Wd,Tg))}}let yf=this.isContextual(95),If=new K_,uh=this.parseExpression(!0,If),xh=this.isContextual(102);if(xh&&(Kd&&this.raise(Ld.ForOfLet,uh),Fd===null&&yf&&uh.type==="Identifier"&&this.raise(Ld.ForOfAsync,uh)),xh||this.match(58)){this.checkDestructuringPrivate(If),this.toAssignable(uh,!0);let Vh=xh?"ForOfStatement":"ForInStatement";return this.checkLVal(uh,{in:{type:Vh}}),this.parseForIn(Wd,uh,Fd)}else this.checkExpressionErrors(If,!0);return Fd!==null&&this.unexpected(Fd),this.parseFor(Wd,uh)}parseFunctionStatement(Wd,Fd,Kd){return this.next(),this.parseFunction(Wd,1|(Kd?2:0)|(Fd?8:0))}parseIfStatement(Wd){return this.next(),Wd.test=this.parseHeaderExpression(),Wd.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),Wd.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(Wd,"IfStatement")}parseReturnStatement(Wd){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(Ld.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?Wd.argument=null:(Wd.argument=this.parseExpression(),this.semicolon()),this.finishNode(Wd,"ReturnStatement")}parseSwitchStatement(Wd){this.next(),Wd.discriminant=this.parseHeaderExpression();let Fd=Wd.cases=[];this.expect(5),this.state.labels.push(Cb),this.scope.enter(0);let Kd;for(let yf;!this.match(8);)if(this.match(61)||this.match(65)){let If=this.match(61);Kd&&this.finishNode(Kd,"SwitchCase"),Fd.push(Kd=this.startNode()),Kd.consequent=[],this.next(),If?Kd.test=this.parseExpression():(yf&&this.raise(Ld.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),yf=!0,Kd.test=null),this.expect(14)}else Kd?Kd.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),Kd&&this.finishNode(Kd,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(Wd,"SwitchStatement")}parseThrowStatement(Wd){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Ld.NewlineAfterThrow,this.state.lastTokEndLoc),Wd.argument=this.parseExpression(),this.semicolon(),this.finishNode(Wd,"ThrowStatement")}parseCatchClauseParam(){let Wd=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&Wd.type==="Identifier"?8:0),this.checkLVal(Wd,{in:{type:"CatchClause"},binding:9}),Wd}parseTryStatement(Wd){if(this.next(),Wd.block=this.parseBlock(),Wd.handler=null,this.match(62)){let Fd=this.startNode();this.next(),this.match(10)?(this.expect(10),Fd.param=this.parseCatchClauseParam(),this.expect(11)):(Fd.param=null,this.scope.enter(0)),Fd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),Wd.handler=this.finishNode(Fd,"CatchClause")}return Wd.finalizer=this.eat(67)?this.parseBlock():null,!Wd.handler&&!Wd.finalizer&&this.raise(Ld.NoCatchOrFinally,Wd),this.finishNode(Wd,"TryStatement")}parseVarStatement(Wd,Fd,Kd=!1){return this.next(),this.parseVar(Wd,!1,Fd,Kd),this.semicolon(),this.finishNode(Wd,"VariableDeclaration")}parseWhileStatement(Wd){return this.next(),Wd.test=this.parseHeaderExpression(),this.state.labels.push(sE),Wd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(Wd,"WhileStatement")}parseWithStatement(Wd){return this.state.strict&&this.raise(Ld.StrictWith,this.state.startLoc),this.next(),Wd.object=this.parseHeaderExpression(),Wd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(Wd,"WithStatement")}parseEmptyStatement(Wd){return this.next(),this.finishNode(Wd,"EmptyStatement")}parseLabeledStatement(Wd,Fd,Kd,yf){for(let uh of this.state.labels)uh.name===Fd&&this.raise(Ld.LabelRedeclaration,Kd,{labelName:Fd});let If=Rf(this.state.type)?1:this.match(71)?2:null;for(let uh=this.state.labels.length-1;uh>=0;uh--){let xh=this.state.labels[uh];if(xh.statementStart===Wd.start)xh.statementStart=this.state.start,xh.kind=If;else break}return this.state.labels.push({name:Fd,kind:If,statementStart:this.state.start}),Wd.body=yf&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),Wd.label=Kd,this.finishNode(Wd,"LabeledStatement")}parseExpressionStatement(Wd,Fd,Kd){return Wd.expression=Fd,this.semicolon(),this.finishNode(Wd,"ExpressionStatement")}parseBlock(Wd=!1,Fd=!0,Kd){let yf=this.startNode();return Wd&&this.state.strictErrors.clear(),this.expect(5),Fd&&this.scope.enter(0),this.parseBlockBody(yf,Wd,!1,8,Kd),Fd&&this.scope.exit(),this.finishNode(yf,"BlockStatement")}isValidDirective(Wd){return Wd.type==="ExpressionStatement"&&Wd.expression.type==="StringLiteral"&&!Wd.expression.extra.parenthesized}parseBlockBody(Wd,Fd,Kd,yf,If){let uh=Wd.body=[],xh=Wd.directives=[];this.parseBlockOrModuleBlockBody(uh,Fd?xh:void 0,Kd,yf,If)}parseBlockOrModuleBlockBody(Wd,Fd,Kd,yf,If){let uh=this.state.strict,xh=!1,Vh=!1;for(;!this.match(yf);){let fm=Kd?this.parseModuleItem():this.parseStatementListItem();if(Fd&&!Vh){if(this.isValidDirective(fm)){let om=this.stmtToDirective(fm);Fd.push(om),!xh&&om.value.value==="use strict"&&(xh=!0,this.setStrict(!0));continue}Vh=!0,this.state.strictErrors.clear()}Wd.push(fm)}If==null||If.call(this,xh),uh||this.setStrict(!1),this.next()}parseFor(Wd,Fd){return Wd.init=Fd,this.semicolon(!1),Wd.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),Wd.update=this.match(11)?null:this.parseExpression(),this.expect(11),Wd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(Wd,"ForStatement")}parseForIn(Wd,Fd,Kd){let yf=this.match(58);return this.next(),yf?Kd!==null&&this.unexpected(Kd):Wd.await=Kd!==null,Fd.type==="VariableDeclaration"&&Fd.declarations[0].init!=null&&(!yf||!this.options.annexB||this.state.strict||Fd.kind!=="var"||Fd.declarations[0].id.type!=="Identifier")&&this.raise(Ld.ForInOfLoopInitializer,Fd,{type:yf?"ForInStatement":"ForOfStatement"}),Fd.type==="AssignmentPattern"&&this.raise(Ld.InvalidLhs,Fd,{ancestor:{type:"ForStatement"}}),Wd.left=Fd,Wd.right=yf?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),Wd.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(Wd,yf?"ForInStatement":"ForOfStatement")}parseVar(Wd,Fd,Kd,yf=!1){let If=Wd.declarations=[];for(Wd.kind=Kd;;){let uh=this.startNode();if(this.parseVarId(uh,Kd),uh.init=this.eat(29)?Fd?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,uh.init===null&&!yf&&(uh.id.type!=="Identifier"&&!(Fd&&(this.match(58)||this.isContextual(102)))?this.raise(Ld.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(Kd==="const"||Kd==="using"||Kd==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(Ld.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:Kd})),If.push(this.finishNode(uh,"VariableDeclarator")),!this.eat(12))break}return Wd}parseVarId(Wd,Fd){let Kd=this.parseBindingAtom();(Fd==="using"||Fd==="await using")&&(Kd.type==="ArrayPattern"||Kd.type==="ObjectPattern")&&this.raise(Ld.UsingDeclarationHasBindingPattern,Kd.loc.start),this.checkLVal(Kd,{in:{type:"VariableDeclarator"},binding:Fd==="var"?5:8201}),Wd.id=Kd}parseAsyncFunctionExpression(Wd){return this.parseFunction(Wd,8)}parseFunction(Wd,Fd=0){let Kd=Fd&2,yf=!!(Fd&1),If=yf&&!(Fd&4),uh=!!(Fd&8);this.initFunction(Wd,uh),this.match(55)&&(Kd&&this.raise(Ld.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),Wd.generator=!0),yf&&(Wd.id=this.parseFunctionId(If));let xh=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(hb(uh,Wd.generator)),yf||(Wd.id=this.parseFunctionId()),this.parseFunctionParams(Wd,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(Wd,yf?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),yf&&!Kd&&this.registerFunctionStatementId(Wd),this.state.maybeInArrowParameters=xh,Wd}parseFunctionId(Wd){return Wd||Yf(this.state.type)?this.parseIdentifier():null}parseFunctionParams(Wd,Fd){this.expect(10),this.expressionScope.enter(S_()),Wd.params=this.parseBindingList(11,41,2|(Fd?4:0)),this.expressionScope.exit()}registerFunctionStatementId(Wd){Wd.id&&this.scope.declareName(Wd.id.name,!this.options.annexB||this.state.strict||Wd.generator||Wd.async?this.scope.treatFunctionsAsVar?5:8201:17,Wd.id.loc.start)}parseClass(Wd,Fd,Kd){this.next();let yf=this.state.strict;return this.state.strict=!0,this.parseClassId(Wd,Fd,Kd),this.parseClassSuper(Wd),Wd.body=this.parseClassBody(!!Wd.superClass,yf),this.finishNode(Wd,Fd?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(Wd){return Wd.type==="Identifier"&&Wd.name==="constructor"||Wd.type==="StringLiteral"&&Wd.value==="constructor"}isNonstaticConstructor(Wd){return!Wd.computed&&!Wd.static&&this.nameIsConstructor(Wd.key)}parseClassBody(Wd,Fd){this.classScope.enter();let Kd={hadConstructor:!1,hadSuperClass:Wd},yf=[],If=this.startNode();if(If.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(yf.length>0)throw this.raise(Ld.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){yf.push(this.parseDecorator());continue}let uh=this.startNode();yf.length&&(uh.decorators=yf,this.resetStartLocationFromNode(uh,yf[0]),yf=[]),this.parseClassMember(If,uh,Kd),uh.kind==="constructor"&&uh.decorators&&uh.decorators.length>0&&this.raise(Ld.DecoratorConstructor,uh)}}),this.state.strict=Fd,this.next(),yf.length)throw this.raise(Ld.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(If,"ClassBody")}parseClassMemberFromModifier(Wd,Fd){let Kd=this.parseIdentifier(!0);if(this.isClassMethod()){let yf=Fd;return yf.kind="method",yf.computed=!1,yf.key=Kd,yf.static=!1,this.pushClassMethod(Wd,yf,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let yf=Fd;return yf.computed=!1,yf.key=Kd,yf.static=!1,Wd.body.push(this.parseClassProperty(yf)),!0}return this.resetPreviousNodeTrailingComments(Kd),!1}parseClassMember(Wd,Fd,Kd){let yf=this.isContextual(106);if(yf){if(this.parseClassMemberFromModifier(Wd,Fd))return;if(this.eat(5)){this.parseClassStaticBlock(Wd,Fd);return}}this.parseClassMemberWithIsStatic(Wd,Fd,Kd,yf)}parseClassMemberWithIsStatic(Wd,Fd,Kd,yf){let If=Fd,uh=Fd,xh=Fd,Vh=Fd,fm=Fd,om=If,zm=If;if(Fd.static=yf,this.parsePropertyNamePrefixOperator(Fd),this.eat(55)){om.kind="method";let r_=this.match(138);if(this.parseClassElementName(om),r_){this.pushClassPrivateMethod(Wd,uh,!0,!1);return}this.isNonstaticConstructor(If)&&this.raise(Ld.ConstructorIsGenerator,If.key),this.pushClassMethod(Wd,If,!0,!1,!1,!1);return}let sg=!this.state.containsEsc&&Yf(this.state.type),Tg=this.parseClassElementName(Fd),Ag=sg?Tg.name:null,qg=this.isPrivateName(Tg),I_=this.state.startLoc;if(this.parsePostMemberNameModifiers(zm),this.isClassMethod()){if(om.kind="method",qg){this.pushClassPrivateMethod(Wd,uh,!1,!1);return}let r_=this.isNonstaticConstructor(If),u_=!1;r_&&(If.kind="constructor",Kd.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Ld.DuplicateConstructor,Tg),r_&&this.hasPlugin("typescript")&&Fd.override&&this.raise(Ld.OverrideOnConstructor,Tg),Kd.hadConstructor=!0,u_=Kd.hadSuperClass),this.pushClassMethod(Wd,If,!1,!1,r_,u_)}else if(this.isClassProperty())qg?this.pushClassPrivateProperty(Wd,Vh):this.pushClassProperty(Wd,xh);else if(Ag==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Tg);let r_=this.eat(55);zm.optional&&this.unexpected(I_),om.kind="method";let u_=this.match(138);this.parseClassElementName(om),this.parsePostMemberNameModifiers(zm),u_?this.pushClassPrivateMethod(Wd,uh,r_,!0):(this.isNonstaticConstructor(If)&&this.raise(Ld.ConstructorIsAsync,If.key),this.pushClassMethod(Wd,If,r_,!0,!1,!1))}else if((Ag==="get"||Ag==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(Tg),om.kind=Ag;let r_=this.match(138);this.parseClassElementName(If),r_?this.pushClassPrivateMethod(Wd,uh,!1,!1):(this.isNonstaticConstructor(If)&&this.raise(Ld.ConstructorIsAccessor,If.key),this.pushClassMethod(Wd,If,!1,!1,!1,!1)),this.checkGetterSetterParams(If)}else if(Ag==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Tg);let r_=this.match(138);this.parseClassElementName(xh),this.pushClassAccessorProperty(Wd,fm,r_)}else this.isLineTerminator()?qg?this.pushClassPrivateProperty(Wd,Vh):this.pushClassProperty(Wd,xh):this.unexpected()}parseClassElementName(Wd){let{type:Fd,value:Kd}=this.state;if((Fd===132||Fd===133)&&Wd.static&&Kd==="prototype"&&this.raise(Ld.StaticPrototype,this.state.startLoc),Fd===138){Kd==="constructor"&&this.raise(Ld.ConstructorClassPrivateField,this.state.startLoc);let yf=this.parsePrivateName();return Wd.key=yf,yf}return this.parsePropertyName(Wd),Wd.key}parseClassStaticBlock(Wd,Fd){var Kd;this.scope.enter(208);let yf=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let If=Fd.body=[];this.parseBlockOrModuleBlockBody(If,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=yf,Wd.body.push(this.finishNode(Fd,"StaticBlock")),(Kd=Fd.decorators)!=null&&Kd.length&&this.raise(Ld.DecoratorStaticBlock,Fd)}pushClassProperty(Wd,Fd){!Fd.computed&&this.nameIsConstructor(Fd.key)&&this.raise(Ld.ConstructorClassField,Fd.key),Wd.body.push(this.parseClassProperty(Fd))}pushClassPrivateProperty(Wd,Fd){let Kd=this.parseClassPrivateProperty(Fd);Wd.body.push(Kd),this.classScope.declarePrivateName(this.getPrivateNameSV(Kd.key),0,Kd.key.loc.start)}pushClassAccessorProperty(Wd,Fd,Kd){!Kd&&!Fd.computed&&this.nameIsConstructor(Fd.key)&&this.raise(Ld.ConstructorClassField,Fd.key);let yf=this.parseClassAccessorProperty(Fd);Wd.body.push(yf),Kd&&this.classScope.declarePrivateName(this.getPrivateNameSV(yf.key),0,yf.key.loc.start)}pushClassMethod(Wd,Fd,Kd,yf,If,uh){Wd.body.push(this.parseMethod(Fd,Kd,yf,If,uh,"ClassMethod",!0))}pushClassPrivateMethod(Wd,Fd,Kd,yf){let If=this.parseMethod(Fd,Kd,yf,!1,!1,"ClassPrivateMethod",!0);Wd.body.push(If);let uh=If.kind==="get"?If.static?6:2:If.kind==="set"?If.static?5:1:0;this.declareClassPrivateMethodInScope(If,uh)}declareClassPrivateMethodInScope(Wd,Fd){this.classScope.declarePrivateName(this.getPrivateNameSV(Wd.key),Fd,Wd.key.loc.start)}parsePostMemberNameModifiers(Wd){}parseClassPrivateProperty(Wd){return this.parseInitializer(Wd),this.semicolon(),this.finishNode(Wd,"ClassPrivateProperty")}parseClassProperty(Wd){return this.parseInitializer(Wd),this.semicolon(),this.finishNode(Wd,"ClassProperty")}parseClassAccessorProperty(Wd){return this.parseInitializer(Wd),this.semicolon(),this.finishNode(Wd,"ClassAccessorProperty")}parseInitializer(Wd){this.scope.enter(80),this.expressionScope.enter(Mb()),this.prodParam.enter(0),Wd.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(Wd,Fd,Kd,yf=8331){if(Yf(this.state.type))Wd.id=this.parseIdentifier(),Fd&&this.declareNameFromIdentifier(Wd.id,yf);else if(Kd||!Fd)Wd.id=null;else throw this.raise(Ld.MissingClassName,this.state.startLoc)}parseClassSuper(Wd){Wd.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(Wd,Fd){let Kd=this.parseMaybeImportPhase(Wd,!0),yf=this.maybeParseExportDefaultSpecifier(Wd,Kd),If=!yf||this.eat(12),uh=If&&this.eatExportStar(Wd),xh=uh&&this.maybeParseExportNamespaceSpecifier(Wd),Vh=If&&(!xh||this.eat(12)),fm=yf||uh;if(uh&&!xh){if(yf&&this.unexpected(),Fd)throw this.raise(Ld.UnsupportedDecoratorExport,Wd);return this.parseExportFrom(Wd,!0),this.finishNode(Wd,"ExportAllDeclaration")}let om=this.maybeParseExportNamedSpecifiers(Wd);yf&&If&&!uh&&!om&&this.unexpected(null,5),xh&&Vh&&this.unexpected(null,98);let zm;if(fm||om){if(zm=!1,Fd)throw this.raise(Ld.UnsupportedDecoratorExport,Wd);this.parseExportFrom(Wd,fm)}else zm=this.maybeParseExportDeclaration(Wd);if(fm||om||zm){var sg;let Tg=Wd;if(this.checkExport(Tg,!0,!1,!!Tg.source),((sg=Tg.declaration)==null?void 0:sg.type)==="ClassDeclaration")this.maybeTakeDecorators(Fd,Tg.declaration,Tg);else if(Fd)throw this.raise(Ld.UnsupportedDecoratorExport,Wd);return this.finishNode(Tg,"ExportNamedDeclaration")}if(this.eat(65)){let Tg=Wd,Ag=this.parseExportDefaultExpression();if(Tg.declaration=Ag,Ag.type==="ClassDeclaration")this.maybeTakeDecorators(Fd,Ag,Tg);else if(Fd)throw this.raise(Ld.UnsupportedDecoratorExport,Wd);return this.checkExport(Tg,!0,!0),this.finishNode(Tg,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(Wd){return this.eat(55)}maybeParseExportDefaultSpecifier(Wd,Fd){if(Fd||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",Fd==null?void 0:Fd.loc.start);let Kd=Fd||this.parseIdentifier(!0),yf=this.startNodeAtNode(Kd);return yf.exported=Kd,Wd.specifiers=[this.finishNode(yf,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(Wd){if(this.isContextual(93)){var Fd;(Fd=Wd).specifiers!=null||(Fd.specifiers=[]);let Kd=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),Kd.exported=this.parseModuleExportName(),Wd.specifiers.push(this.finishNode(Kd,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(Wd){if(this.match(5)){let Fd=Wd;Fd.specifiers||(Fd.specifiers=[]);let Kd=Fd.exportKind==="type";return Fd.specifiers.push(...this.parseExportSpecifiers(Kd)),Fd.source=null,Fd.declaration=null,this.hasPlugin("importAssertions")&&(Fd.assertions=[]),!0}return!1}maybeParseExportDeclaration(Wd){return this.shouldParseExportDeclaration()?(Wd.specifiers=[],Wd.source=null,this.hasPlugin("importAssertions")&&(Wd.assertions=[]),Wd.declaration=this.parseExportDeclaration(Wd),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let Wd=this.nextTokenInLineStart();return this.isUnparsedContextual(Wd,"function")}parseExportDefaultExpression(){let Wd=this.startNode();if(this.match(68))return this.next(),this.parseFunction(Wd,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(Wd,13);if(this.match(80))return this.parseClass(Wd,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Ld.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(Ld.UnsupportedDefaultExport,this.state.startLoc);let Fd=this.parseMaybeAssignAllowIn();return this.semicolon(),Fd}parseExportDeclaration(Wd){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:Wd}=this.state;if(Yf(Wd)){if(Wd===95&&!this.state.containsEsc||Wd===100)return!1;if((Wd===130||Wd===129)&&!this.state.containsEsc){let{type:yf}=this.lookahead();if(Yf(yf)&&yf!==98||yf===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let Fd=this.nextTokenStart(),Kd=this.isUnparsedContextual(Fd,"from");if(this.input.charCodeAt(Fd)===44||Yf(this.state.type)&&Kd)return!0;if(this.match(65)&&Kd){let yf=this.input.charCodeAt(this.nextTokenStartSince(Fd+4));return yf===34||yf===39}return!1}parseExportFrom(Wd,Fd){this.eatContextual(98)?(Wd.source=this.parseImportSource(),this.checkExport(Wd),this.maybeParseImportAttributes(Wd),this.checkJSONModuleImport(Wd)):Fd&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:Wd}=this.state;return Wd===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Ld.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(Ld.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(Ld.UsingDeclarationExport,this.state.startLoc),!0):Wd===74||Wd===75||Wd===68||Wd===80||this.isLet()||this.isAsyncFunction()}checkExport(Wd,Fd,Kd,yf){if(Fd){var If;if(Kd){if(this.checkDuplicateExports(Wd,"default"),this.hasPlugin("exportDefaultFrom")){var uh;let xh=Wd.declaration;xh.type==="Identifier"&&xh.name==="from"&&xh.end-xh.start===4&&!((uh=xh.extra)!=null&&uh.parenthesized)&&this.raise(Ld.ExportDefaultFromAsIdentifier,xh)}}else if((If=Wd.specifiers)!=null&&If.length)for(let xh of Wd.specifiers){let{exported:Vh}=xh,fm=Vh.type==="Identifier"?Vh.name:Vh.value;if(this.checkDuplicateExports(xh,fm),!yf&&xh.local){let{local:om}=xh;om.type!=="Identifier"?this.raise(Ld.ExportBindingIsString,xh,{localName:om.value,exportName:fm}):(this.checkReservedWord(om.name,om.loc.start,!0,!1),this.scope.checkLocalExport(om))}}else if(Wd.declaration){let xh=Wd.declaration;if(xh.type==="FunctionDeclaration"||xh.type==="ClassDeclaration"){let{id:Vh}=xh;if(!Vh)throw new Error("Assertion failure");this.checkDuplicateExports(Wd,Vh.name)}else if(xh.type==="VariableDeclaration")for(let Vh of xh.declarations)this.checkDeclaration(Vh.id)}}}checkDeclaration(Wd){if(Wd.type==="Identifier")this.checkDuplicateExports(Wd,Wd.name);else if(Wd.type==="ObjectPattern")for(let Fd of Wd.properties)this.checkDeclaration(Fd);else if(Wd.type==="ArrayPattern")for(let Fd of Wd.elements)Fd&&this.checkDeclaration(Fd);else Wd.type==="ObjectProperty"?this.checkDeclaration(Wd.value):Wd.type==="RestElement"?this.checkDeclaration(Wd.argument):Wd.type==="AssignmentPattern"&&this.checkDeclaration(Wd.left)}checkDuplicateExports(Wd,Fd){this.exportedIdentifiers.has(Fd)&&(Fd==="default"?this.raise(Ld.DuplicateDefaultExport,Wd):this.raise(Ld.DuplicateExport,Wd,{exportName:Fd})),this.exportedIdentifiers.add(Fd)}parseExportSpecifiers(Wd){let Fd=[],Kd=!0;for(this.expect(5);!this.eat(8);){if(Kd)Kd=!1;else if(this.expect(12),this.eat(8))break;let yf=this.isContextual(130),If=this.match(133),uh=this.startNode();uh.local=this.parseModuleExportName(),Fd.push(this.parseExportSpecifier(uh,If,Wd,yf))}return Fd}parseExportSpecifier(Wd,Fd,Kd,yf){return this.eatContextual(93)?Wd.exported=this.parseModuleExportName():Fd?Wd.exported=Pb(Wd.local):Wd.exported||(Wd.exported=X_(Wd.local)),this.finishNode(Wd,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){let Wd=this.parseStringLiteral(this.state.value),Fd=zE.exec(Wd.value);return Fd&&this.raise(Ld.ModuleExportNameHasLoneSurrogate,Wd,{surrogateCharCode:Fd[0].charCodeAt(0)}),Wd}return this.parseIdentifier(!0)}isJSONModuleImport(Wd){return Wd.assertions!=null?Wd.assertions.some(({key:Fd,value:Kd})=>Kd.value==="json"&&(Fd.type==="Identifier"?Fd.name==="type":Fd.value==="type")):!1}checkImportReflection(Wd){let{specifiers:Fd}=Wd,Kd=Fd.length===1?Fd[0].type:null;if(Wd.phase==="source")Kd!=="ImportDefaultSpecifier"&&this.raise(Ld.SourcePhaseImportRequiresDefault,Fd[0].loc.start);else if(Wd.phase==="defer")Kd!=="ImportNamespaceSpecifier"&&this.raise(Ld.DeferImportRequiresNamespace,Fd[0].loc.start);else if(Wd.module){var yf;Kd!=="ImportDefaultSpecifier"&&this.raise(Ld.ImportReflectionNotBinding,Fd[0].loc.start),((yf=Wd.assertions)==null?void 0:yf.length)>0&&this.raise(Ld.ImportReflectionHasAssertion,Fd[0].loc.start)}}checkJSONModuleImport(Wd){if(this.isJSONModuleImport(Wd)&&Wd.type!=="ExportAllDeclaration"){let{specifiers:Fd}=Wd;if(Fd!=null){let Kd=Fd.find(yf=>{let If;if(yf.type==="ExportSpecifier"?If=yf.local:yf.type==="ImportSpecifier"&&(If=yf.imported),If!==void 0)return If.type==="Identifier"?If.name!=="default":If.value!=="default"});Kd!==void 0&&this.raise(Ld.ImportJSONBindingNotDefault,Kd.loc.start)}}}isPotentialImportPhase(Wd){return Wd?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(Wd,Fd,Kd,yf){Fd||(Kd==="module"?(this.expectPlugin("importReflection",yf),Wd.module=!0):this.hasPlugin("importReflection")&&(Wd.module=!1),Kd==="source"?(this.expectPlugin("sourcePhaseImports",yf),Wd.phase="source"):Kd==="defer"?(this.expectPlugin("deferredImportEvaluation",yf),Wd.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(Wd.phase=null))}parseMaybeImportPhase(Wd,Fd){if(!this.isPotentialImportPhase(Fd))return this.applyImportPhase(Wd,Fd,null),null;let Kd=this.parseIdentifier(!0),{type:yf}=this.state;return(Th(yf)?yf!==98||this.lookaheadCharCode()===102:yf!==12)?(this.resetPreviousIdentifierLeadingComments(Kd),this.applyImportPhase(Wd,Fd,Kd.name,Kd.loc.start),null):(this.applyImportPhase(Wd,Fd,null),Kd)}isPrecedingIdImportPhase(Wd){let{type:Fd}=this.state;return Yf(Fd)?Fd!==98||this.lookaheadCharCode()===102:Fd!==12}parseImport(Wd){return this.match(133)?this.parseImportSourceAndAttributes(Wd):this.parseImportSpecifiersAndAfter(Wd,this.parseMaybeImportPhase(Wd,!1))}parseImportSpecifiersAndAfter(Wd,Fd){Wd.specifiers=[];let Kd=!this.maybeParseDefaultImportSpecifier(Wd,Fd)||this.eat(12),yf=Kd&&this.maybeParseStarImportSpecifier(Wd);return Kd&&!yf&&this.parseNamedImportSpecifiers(Wd),this.expectContextual(98),this.parseImportSourceAndAttributes(Wd)}parseImportSourceAndAttributes(Wd){return Wd.specifiers!=null||(Wd.specifiers=[]),Wd.source=this.parseImportSource(),this.maybeParseImportAttributes(Wd),this.checkImportReflection(Wd),this.checkJSONModuleImport(Wd),this.semicolon(),this.finishNode(Wd,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(Wd,Fd,Kd){Fd.local=this.parseIdentifier(),Wd.specifiers.push(this.finishImportSpecifier(Fd,Kd))}finishImportSpecifier(Wd,Fd,Kd=8201){return this.checkLVal(Wd.local,{in:{type:Fd},binding:Kd}),this.finishNode(Wd,Fd)}parseImportAttributes(){this.expect(5);let Wd=[],Fd=new Set;do{if(this.match(8))break;let Kd=this.startNode(),yf=this.state.value;if(Fd.has(yf)&&this.raise(Ld.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:yf}),Fd.add(yf),this.match(133)?Kd.key=this.parseStringLiteral(yf):Kd.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(Ld.ModuleAttributeInvalidValue,this.state.startLoc);Kd.value=this.parseStringLiteral(this.state.value),Wd.push(this.finishNode(Kd,"ImportAttribute"))}while(this.eat(12));return this.expect(8),Wd}parseModuleAttributes(){let Wd=[],Fd=new Set;do{let Kd=this.startNode();if(Kd.key=this.parseIdentifier(!0),Kd.key.name!=="type"&&this.raise(Ld.ModuleAttributeDifferentFromType,Kd.key),Fd.has(Kd.key.name)&&this.raise(Ld.ModuleAttributesWithDuplicateKeys,Kd.key,{key:Kd.key.name}),Fd.add(Kd.key.name),this.expect(14),!this.match(133))throw this.raise(Ld.ModuleAttributeInvalidValue,this.state.startLoc);Kd.value=this.parseStringLiteral(this.state.value),Wd.push(this.finishNode(Kd,"ImportAttribute"))}while(this.eat(12));return Wd}maybeParseImportAttributes(Wd){let Fd,Kd=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?Fd=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),Fd=this.parseImportAttributes()),Kd=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(Ld.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(Wd,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),Fd=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))Fd=[];else if(this.hasPlugin("moduleAttributes"))Fd=[];else return;!Kd&&this.hasPlugin("importAssertions")?Wd.assertions=Fd:Wd.attributes=Fd}maybeParseDefaultImportSpecifier(Wd,Fd){if(Fd){let Kd=this.startNodeAtNode(Fd);return Kd.local=Fd,Wd.specifiers.push(this.finishImportSpecifier(Kd,"ImportDefaultSpecifier")),!0}else if(Th(this.state.type))return this.parseImportSpecifierLocal(Wd,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(Wd){if(this.match(55)){let Fd=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(Wd,Fd,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(Wd){let Fd=!0;for(this.expect(5);!this.eat(8);){if(Fd)Fd=!1;else{if(this.eat(14))throw this.raise(Ld.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let Kd=this.startNode(),yf=this.match(133),If=this.isContextual(130);Kd.imported=this.parseModuleExportName();let uh=this.parseImportSpecifier(Kd,yf,Wd.importKind==="type"||Wd.importKind==="typeof",If,void 0);Wd.specifiers.push(uh)}}parseImportSpecifier(Wd,Fd,Kd,yf,If){if(this.eatContextual(93))Wd.local=this.parseIdentifier();else{let{imported:uh}=Wd;if(Fd)throw this.raise(Ld.ImportBindingIsString,Wd,{importName:uh.value});this.checkReservedWord(uh.name,Wd.loc.start,!0,!0),Wd.local||(Wd.local=X_(uh))}return this.finishImportSpecifier(Wd,"ImportSpecifier",If)}isThisParam(Wd){return Wd.type==="Identifier"&&Wd.name==="this"}},mv=class extends hv{constructor(Wd,Fd){Wd=VE(Wd),super(Wd,Fd),this.options=Wd,this.initializeScopes(),this.plugins=x_(this.options.plugins),this.filename=Wd.sourceFilename}getScopeHandler(){return N_}parse(){this.enterInitialScopes();let Wd=this.startNode(),Fd=this.startNode();return this.nextToken(),Wd.errors=null,this.parseTopLevel(Wd,Fd),Wd.errors=this.state.errors,Wd.comments.length=this.state.commentsLen,Wd}};function x_(Wd){let Fd=new Map;for(let Kd of Wd){let[yf,If]=Array.isArray(Kd)?Kd:[Kd,{}];Fd.has(yf)||Fd.set(yf,If||{})}return Fd}function Kb(Wd,Fd){var Kd;if(((Kd=Fd)==null?void 0:Kd.sourceType)==="unambiguous"){Fd=Object.assign({},Fd);try{Fd.sourceType="module";let yf=Fb(Fd,Wd),If=yf.parse();if(yf.sawUnambiguousESM)return If;if(yf.ambiguousScriptDifferentAst)try{return Fd.sourceType="script",Fb(Fd,Wd).parse()}catch{}else If.program.sourceType="script";return If}catch(yf){try{return Fd.sourceType="script",Fb(Fd,Wd).parse()}catch{}throw yf}}else return Fb(Fd,Wd).parse()}function oE(Wd,Fd){let Kd=Fb(Fd,Wd);return Kd.options.strictMode&&(Kd.state.strict=!0),Kd.getExpression()}function WE(Wd){let Fd={};for(let Kd of Object.keys(Wd))Fd[Kd]=Mm(Wd[Kd]);return Fd}var j0=WE(Sf);function Fb(Wd,Fd){let Kd=mv;return Wd!=null&&Wd.plugins&&(Bb(Wd.plugins),Kd=LS(Wd.plugins)),new Kd(Wd,Fd)}var YE={};function LS(Wd){let Fd=fv.filter(If=>A_(Wd,If)),Kd=Fd.join("/"),yf=YE[Kd];if(!yf){yf=mv;for(let If of Fd)yf=F0[If](yf);YE[Kd]=yf}return yf}Ra.parse=Kb,Ra.parseExpression=oE,Ra.tokTypes=j0}),kt$3={};Ws$1(kt$3,{parsers:()=>Qr$3});var _e$6=vt$5(At$4());function Me$6(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var ls$1=Me$6(" "),cs$4=Me$6(/[^\n\r]/u);function dr$2(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var ps$1=dr$2;function mr$2(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
|
||
`)return qa-2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
|
||
`)return qa+2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var us$2=mr$2;function yr$2(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?cs$4(Ra,qa):qa}var fs$2=yr$2;function xr$3(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=ls$1(Ra,od),od=ps$1(Ra,od),od=fs$2(Ra,od),od=us$2(Ra,od);return od}var ds$1=xr$3;function Pr$3(Ra){let qa=[];for(let nd of Ra)try{return nd()}catch(od){qa.push(od)}throw Object.assign(new Error("All combinations failed"),{errors:qa})}var ms$2=Pr$3;function gr$2(Ra){if(!Ra.startsWith("#!"))return"";let qa=Ra.indexOf(`
|
||
`);return qa===-1?Ra:Ra.slice(0,qa)}var Oe$6=gr$2,Tr$3=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},St$4=Tr$3;function br$5(Ra){return Array.isArray(Ra)&&Ra.length>0}var Pe$6=br$5;function D$4(Ra){var qa,nd,od;let ld=((qa=Ra.range)==null?void 0:qa[0])??Ra.start,ud=(od=((nd=Ra.declaration)==null?void 0:nd.decorators)??Ra.decorators)==null?void 0:od[0];return ud?Math.min(D$4(ud),ld):ld}function B$5(Ra){var qa;return((qa=Ra.range)==null?void 0:qa[1])??Ra.end}function Ar$2(Ra){let qa=new Set(Ra);return nd=>qa.has(nd==null?void 0:nd.type)}var ys$2=Ar$2,Sr$3=ys$2(["Block","CommentBlock","MultiLine"]),ge$7=Sr$3;function wr$3(Ra){let qa=`*${Ra.value}*`.split(`
|
||
`);return qa.length>1&&qa.every(nd=>nd.trimStart()[0]==="*")}var wt$3=wr$3;function Cr$1(Ra){return ge$7(Ra)&&Ra.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(Ra.value)}var xs$2=Cr$1,Te$5=null;function be$8(Ra){if(Te$5!==null&&typeof Te$5.property){let qa=Te$5;return Te$5=be$8.prototype=null,qa}return Te$5=be$8.prototype=Ra??Object.create(null),new be$8}var Er$2=10;for(let Ra=0;Ra<=Er$2;Ra++)be$8();function Ct$4(Ra){return be$8(Ra)}function Ir$3(Ra,qa="type"){Ct$4(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var Ps$1=Ir$3,gs$3={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]},Nr$3=Ps$1(gs$3),Ts$2=Nr$3;function Et$4(Ra,qa){if(!(Ra!==null&&typeof Ra=="object"))return Ra;if(Array.isArray(Ra)){for(let od=0;od<Ra.length;od++)Ra[od]=Et$4(Ra[od],qa);return Ra}let nd=Ts$2(Ra);for(let od=0;od<nd.length;od++)Ra[nd[od]]=Et$4(Ra[nd[od]],qa);return qa(Ra)||Ra}var Fe$4=Et$4;function kr$3(Ra,qa){let{parser:nd,text:od}=qa;if(Ra.type==="File"&&Ra.program.interpreter){let{program:{interpreter:ld},comments:ud}=Ra;delete Ra.program.interpreter,ud.unshift(ld)}if(nd==="babel"){let ld=new Set;Ra=Fe$4(Ra,ud=>{var dd;(dd=ud.leadingComments)!=null&&dd.some(xs$2)&&ld.add(D$4(ud))}),Ra=Fe$4(Ra,ud=>{if(ud.type==="ParenthesizedExpression"){let{expression:dd}=ud;if(dd.type==="TypeCastExpression")return dd.range=[...ud.range],dd;let pd=D$4(ud);if(!ld.has(pd))return dd.extra={...dd.extra,parenthesized:!0},dd}})}if(Ra=Fe$4(Ra,ld=>{var ud;switch(ld.type){case"LogicalExpression":if(bs$2(ld))return It$3(ld);break;case"VariableDeclaration":{let dd=St$4(!1,ld.declarations,-1);dd!=null&&dd.init&&od[B$5(dd)]!==";"&&(ld.range=[D$4(ld),B$5(dd)]);break}case"TSParenthesizedType":return ld.typeAnnotation;case"TSTypeParameter":if(typeof ld.name=="string"){let dd=D$4(ld);ld.name={type:"Identifier",name:ld.name,range:[dd,dd+ld.name.length]}}break;case"TopicReference":Ra.extra={...Ra.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":if(nd==="meriyah"&&((ud=ld.exported)==null?void 0:ud.type)==="Identifier"){let{exported:dd}=ld,pd=od.slice(D$4(dd),B$5(dd));(pd.startsWith('"')||pd.startsWith("'"))&&(ld.exported={...ld.exported,type:"Literal",value:ld.exported.name,raw:pd})}break;case"TSUnionType":case"TSIntersectionType":if(ld.types.length===1)return ld.types[0];break}}),Pe$6(Ra.comments)){let ld=St$4(!1,Ra.comments,-1);for(let ud=Ra.comments.length-2;ud>=0;ud--){let dd=Ra.comments[ud];B$5(dd)===D$4(ld)&&ge$7(dd)&&ge$7(ld)&&wt$3(dd)&&wt$3(ld)&&(Ra.comments.splice(ud+1,1),dd.value+="*//*"+ld.value,dd.range=[D$4(dd),B$5(ld)]),ld=dd}}return Ra.type==="Program"&&(Ra.range=[0,od.length]),Ra}function bs$2(Ra){return Ra.type==="LogicalExpression"&&Ra.right.type==="LogicalExpression"&&Ra.operator===Ra.right.operator}function It$3(Ra){return bs$2(Ra)?It$3({type:"LogicalExpression",operator:Ra.operator,left:It$3({type:"LogicalExpression",operator:Ra.operator,left:Ra.left,right:Ra.right.left,range:[D$4(Ra.left),B$5(Ra.right.left)]}),right:Ra.right.right,range:[D$4(Ra),B$5(Ra)]}):Ra}var As$2=kr$3;function vr$2(Ra,qa){let nd=new SyntaxError(Ra+" ("+qa.loc.start.line+":"+qa.loc.start.column+")");return Object.assign(nd,qa)}var Be$7=vr$2;function Lr$3(Ra){let{message:qa,loc:{line:nd,column:od},reasonCode:ld}=Ra,ud=Ra;(ld==="MissingPlugin"||ld==="MissingOneOfPlugins")&&(qa="Unexpected token.",ud=void 0);let dd=` (${nd}:${od})`;return qa.endsWith(dd)&&(qa=qa.slice(0,-dd.length)),Be$7(qa,{loc:{start:{line:nd,column:od+1}},cause:ud})}var Re$7=Lr$3,Dr$2=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},ie$5=Dr$2,Mr$3=/\*\/$/,Or$3=/^\/\*\*?/,Fr$2=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Br$4=/(^|\s+)\/\/([^\n\r]*)/g,Ss$1=/^(\r?\n)+/,Rr$2=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ws$2=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Ur$3=/(\r?\n|^) *\* ?/g,_r$3=[];function Cs$1(Ra){let qa=Ra.match(Fr$2);return qa?qa[0].trimStart():""}function Es$1(Ra){let qa=`
|
||
`;Ra=ie$5(!1,Ra.replace(Or$3,"").replace(Mr$3,""),Ur$3,"$1");let nd="";for(;nd!==Ra;)nd=Ra,Ra=ie$5(!1,Ra,Rr$2,`${qa}$1 $2${qa}`);Ra=Ra.replace(Ss$1,"").trimEnd();let od=Object.create(null),ld=ie$5(!1,Ra,ws$2,"").replace(Ss$1,"").trimEnd(),ud;for(;ud=ws$2.exec(Ra);){let dd=ie$5(!1,ud[2],Br$4,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let pd=od[ud[1]];od[ud[1]]=[..._r$3,...Array.isArray(pd)?pd:[pd],dd]}else od[ud[1]]=dd}return{comments:ld,pragmas:od}}function jr$3(Ra){let qa=Oe$6(Ra);qa&&(Ra=Ra.slice(qa.length+1));let nd=Cs$1(Ra),{pragmas:od,comments:ld}=Es$1(nd);return{shebang:qa,text:Ra,pragmas:od,comments:ld}}function Is$2(Ra){let{pragmas:qa}=jr$3(Ra);return Object.prototype.hasOwnProperty.call(qa,"prettier")||Object.prototype.hasOwnProperty.call(qa,"format")}function $r$3(Ra){return Ra=typeof Ra=="function"?{parse:Ra}:Ra,{astFormat:"estree",hasPragma:Is$2,locStart:D$4,locEnd:B$5,...Ra}}var G$7=$r$3;function Vr$3(Ra){let{filepath:qa}=Ra;if(qa){if(qa=qa.toLowerCase(),qa.endsWith(".cjs"))return"script";if(qa.endsWith(".mjs"))return"module"}}var Ns$1=Vr$3;function qr$3(Ra,qa){let{type:nd="JsExpressionRoot",rootMarker:od,text:ld}=qa,{tokens:ud,comments:dd}=Ra;return delete Ra.tokens,delete Ra.comments,{tokens:ud,comments:dd,type:nd,node:Ra,range:[0,ld.length],rootMarker:od}}var Ue$4=qr$3,re$6=Ra=>G$7(Jr$3(Ra)),zr$3={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,createImportExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","decimal","moduleBlocks","asyncDoExpressions","destructuringPrivate","decoratorAutoAccessors","importReflection","explicitResourceManagement",["importAttributes",{deprecatedAssertSyntax:!0}],"sourcePhaseImports","deferredImportEvaluation",["optionalChainingAssign",{version:"2023-07"}],"recordAndTuple"],tokens:!0,ranges:!0},ks$1="v8intrinsic",vs$1=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],V$7=(Ra,qa=zr$3)=>({...qa,plugins:[...qa.plugins,...Ra]}),Kr$4=/@(?:no)?flow\b/u;function Hr$4(Ra,qa){var nd;if((nd=qa.filepath)!=null&&nd.endsWith(".js.flow"))return!0;let od=Oe$6(Ra);od&&(Ra=Ra.slice(od.length));let ld=ds$1(Ra,0);return ld!==!1&&(Ra=Ra.slice(0,ld)),Kr$4.test(Ra)}function Wr$3(Ra,qa,nd){let od=Ra(qa,nd),ld=od.errors.find(ud=>!Xr$3.has(ud.reasonCode));if(ld)throw ld;return od}function Jr$3({isExpression:Ra=!1,optionsCombinations:qa}){return(nd,od={})=>{if((od.parser==="babel"||od.parser==="__babel_estree")&&Hr$4(nd,od))return od.parser="babel-flow",Bs$2.parse(nd,od);let ld=qa;(od.__babelSourceType??Ns$1(od))==="script"&&(ld=ld.map(fd=>({...fd,sourceType:"script"})));let ud=/%[A-Z]/u.test(nd);nd.includes("|>")?ld=(ud?[...vs$1,ks$1]:vs$1).flatMap(fd=>ld.map(md=>V$7([fd],md))):ud&&(ld=ld.map(fd=>V$7([ks$1],fd)));let dd=Ra?_e$6.parseExpression:_e$6.parse,pd;try{pd=ms$2(ld.map(fd=>()=>Wr$3(dd,nd,fd)))}catch({errors:[fd]}){throw Re$7(fd)}return Ra&&(pd=Ue$4(pd,{text:nd,rootMarker:od.rootMarker})),As$2(pd,{parser:"babel",text:nd})}}var Xr$3=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","ForInOfLoopInitializer","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Fs$1=[V$7(["jsx"])],Ls$3=re$6({optionsCombinations:Fs$1}),Ds$2=re$6({optionsCombinations:[V$7(["jsx","typescript"]),V$7(["typescript"])]}),Ms=re$6({isExpression:!0,optionsCombinations:[V$7(["jsx"])]}),Os$3=re$6({isExpression:!0,optionsCombinations:[V$7(["typescript"])]}),Bs$2=re$6({optionsCombinations:[V$7(["jsx",["flow",{all:!0,enums:!0}],"flowComments"])]}),Gr$3=re$6({optionsCombinations:Fs$1.map(Ra=>V$7(["estree"],Ra))}),Rs={babel:Ls$3,"babel-flow":Bs$2,"babel-ts":Ds$2,__js_expression:Ms,__ts_expression:Os$3,__vue_expression:Ms,__vue_ts_expression:Os$3,__vue_event_binding:Ls$3,__vue_ts_event_binding:Ds$2,__babel_estree:Gr$3},Us$2=vt$5(At$4());function _s$3(Ra={}){let{allowComments:qa=!0}=Ra;return function(nd){let od;try{od=(0,Us$2.parseExpression)(nd,{tokens:!0,ranges:!0,attachComment:!1})}catch(ld){throw Re$7(ld)}if(!qa&&Pe$6(od.comments))throw H$6(od.comments[0],"Comment");return ae$5(od),Ue$4(od,{type:"JsonRoot",text:nd})}}function H$6(Ra,qa){let[nd,od]=[Ra.loc.start,Ra.loc.end].map(({line:ld,column:ud})=>({line:ld,column:ud+1}));return Be$7(`${qa} is not allowed in JSON.`,{loc:{start:nd,end:od}})}function ae$5(Ra){switch(Ra.type){case"ArrayExpression":for(let qa of Ra.elements)qa!==null&&ae$5(qa);return;case"ObjectExpression":for(let qa of Ra.properties)ae$5(qa);return;case"ObjectProperty":if(Ra.computed)throw H$6(Ra.key,"Computed key");if(Ra.shorthand)throw H$6(Ra.key,"Shorthand property");Ra.key.type!=="Identifier"&&ae$5(Ra.key),ae$5(Ra.value);return;case"UnaryExpression":{let{operator:qa,argument:nd}=Ra;if(qa!=="+"&&qa!=="-")throw H$6(Ra,`Operator '${Ra.operator}'`);if(nd.type==="NumericLiteral"||nd.type==="Identifier"&&(nd.name==="Infinity"||nd.name==="NaN"))return;throw H$6(nd,`Operator '${qa}' before '${nd.type}'`)}case"Identifier":if(Ra.name!=="Infinity"&&Ra.name!=="NaN"&&Ra.name!=="undefined")throw H$6(Ra,`Identifier '${Ra.name}'`);return;case"TemplateLiteral":if(Pe$6(Ra.expressions))throw H$6(Ra.expressions[0],"'TemplateLiteral' with expression");for(let qa of Ra.quasis)ae$5(qa);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw H$6(Ra,`'${Ra.type}'`)}}var Nt$4=_s$3(),Yr$3={json:G$7({parse:Nt$4,hasPragma(){return!0}}),json5:G$7(Nt$4),jsonc:G$7(Nt$4),"json-stringify":G$7({parse:_s$3({allowComments:!1}),astFormat:"estree-json"})},js$2=Yr$3,Qr$3={...Rs,...js$2},Ln$3=kt$3;const prettierPluginBabel=Object.freeze(Object.defineProperty({__proto__:null,default:Ln$3,parsers:Qr$3},Symbol.toStringTag,{value:"Module"}));var Wa=Object.defineProperty,Js=Ra=>{throw TypeError(Ra)},Ar$1=(Ra,qa)=>{for(var nd in qa)Wa(Ra,nd,{get:qa[nd],enumerable:!0})},qs$1=(Ra,qa,nd)=>qa.has(Ra)||Js("Cannot "+nd),pt$4=(Ra,qa,nd)=>(qs$1(Ra,qa,"read from private field"),qa.get(Ra)),Ws=(Ra,qa,nd)=>qa.has(Ra)?Js("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd),Gs$1=(Ra,qa,nd,od)=>(qs$1(Ra,qa,"write to private field"),qa.set(Ra,nd),nd),_s$2={};Ar$1(_s$2,{languages:()=>nm,options:()=>va,printers:()=>rm});var Us$1=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0,aliases:void 0,extensions:[".jsx"],filenames:void 0,interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}],ws$1={};Ar$1(ws$1,{canAttachComment:()=>fp,embed:()=>Qu$2,experimentalFeatures:()=>Kl$2,getCommentChildNodes:()=>Ep,getVisitorKeys:()=>gr$1,handleComments:()=>Kn$3,insertPragma:()=>pi$5,isBlockComment:()=>re$5,isGap:()=>Fp,massageAstNode:()=>Cu$2,print:()=>Ia$1,printComment:()=>Pu$1,willPrintOwnComments:()=>zn$3});var Ga$1=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},N$6=Ga$1,Ua$2=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},O$3=Ua$2;function Na(Ra){return Ra!==null&&typeof Ra=="object"}var Ns=Na;function*Xa$1(Ra,qa){let{getVisitorKeys:nd,filter:od=()=>!0}=qa,ld=ud=>Ns(ud)&&od(ud);for(let ud of nd(Ra)){let dd=Ra[ud];if(Array.isArray(dd))for(let pd of dd)ld(pd)&&(yield pd);else ld(dd)&&(yield dd)}}function*Ya$1(Ra,qa){let nd=[Ra];for(let od=0;od<nd.length;od++){let ld=nd[od];for(let ud of Xa$1(ld,qa))yield ud,nd.push(ud)}}function Xs$1(Ra,{getVisitorKeys:qa,predicate:nd}){for(let od of Ya$1(Ra,{getVisitorKeys:qa}))if(nd(od))return!0;return!1}var Ys=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Hs$1(Ra){return Ra===12288||Ra>=65281&&Ra<=65376||Ra>=65504&&Ra<=65510}function Vs(Ra){return Ra>=4352&&Ra<=4447||Ra===8986||Ra===8987||Ra===9001||Ra===9002||Ra>=9193&&Ra<=9196||Ra===9200||Ra===9203||Ra===9725||Ra===9726||Ra===9748||Ra===9749||Ra>=9800&&Ra<=9811||Ra===9855||Ra===9875||Ra===9889||Ra===9898||Ra===9899||Ra===9917||Ra===9918||Ra===9924||Ra===9925||Ra===9934||Ra===9940||Ra===9962||Ra===9970||Ra===9971||Ra===9973||Ra===9978||Ra===9981||Ra===9989||Ra===9994||Ra===9995||Ra===10024||Ra===10060||Ra===10062||Ra>=10067&&Ra<=10069||Ra===10071||Ra>=10133&&Ra<=10135||Ra===10160||Ra===10175||Ra===11035||Ra===11036||Ra===11088||Ra===11093||Ra>=11904&&Ra<=11929||Ra>=11931&&Ra<=12019||Ra>=12032&&Ra<=12245||Ra>=12272&&Ra<=12287||Ra>=12289&&Ra<=12350||Ra>=12353&&Ra<=12438||Ra>=12441&&Ra<=12543||Ra>=12549&&Ra<=12591||Ra>=12593&&Ra<=12686||Ra>=12688&&Ra<=12771||Ra>=12783&&Ra<=12830||Ra>=12832&&Ra<=12871||Ra>=12880&&Ra<=19903||Ra>=19968&&Ra<=42124||Ra>=42128&&Ra<=42182||Ra>=43360&&Ra<=43388||Ra>=44032&&Ra<=55203||Ra>=63744&&Ra<=64255||Ra>=65040&&Ra<=65049||Ra>=65072&&Ra<=65106||Ra>=65108&&Ra<=65126||Ra>=65128&&Ra<=65131||Ra>=94176&&Ra<=94180||Ra===94192||Ra===94193||Ra>=94208&&Ra<=100343||Ra>=100352&&Ra<=101589||Ra>=101632&&Ra<=101640||Ra>=110576&&Ra<=110579||Ra>=110581&&Ra<=110587||Ra===110589||Ra===110590||Ra>=110592&&Ra<=110882||Ra===110898||Ra>=110928&&Ra<=110930||Ra===110933||Ra>=110948&&Ra<=110951||Ra>=110960&&Ra<=111355||Ra===126980||Ra===127183||Ra===127374||Ra>=127377&&Ra<=127386||Ra>=127488&&Ra<=127490||Ra>=127504&&Ra<=127547||Ra>=127552&&Ra<=127560||Ra===127568||Ra===127569||Ra>=127584&&Ra<=127589||Ra>=127744&&Ra<=127776||Ra>=127789&&Ra<=127797||Ra>=127799&&Ra<=127868||Ra>=127870&&Ra<=127891||Ra>=127904&&Ra<=127946||Ra>=127951&&Ra<=127955||Ra>=127968&&Ra<=127984||Ra===127988||Ra>=127992&&Ra<=128062||Ra===128064||Ra>=128066&&Ra<=128252||Ra>=128255&&Ra<=128317||Ra>=128331&&Ra<=128334||Ra>=128336&&Ra<=128359||Ra===128378||Ra===128405||Ra===128406||Ra===128420||Ra>=128507&&Ra<=128591||Ra>=128640&&Ra<=128709||Ra===128716||Ra>=128720&&Ra<=128722||Ra>=128725&&Ra<=128727||Ra>=128732&&Ra<=128735||Ra===128747||Ra===128748||Ra>=128756&&Ra<=128764||Ra>=128992&&Ra<=129003||Ra===129008||Ra>=129292&&Ra<=129338||Ra>=129340&&Ra<=129349||Ra>=129351&&Ra<=129535||Ra>=129648&&Ra<=129660||Ra>=129664&&Ra<=129672||Ra>=129680&&Ra<=129725||Ra>=129727&&Ra<=129733||Ra>=129742&&Ra<=129755||Ra>=129760&&Ra<=129768||Ra>=129776&&Ra<=129784||Ra>=131072&&Ra<=196605||Ra>=196608&&Ra<=262141}var $s=Ra=>!(Hs$1(Ra)||Vs(Ra)),Ha=/[^\x20-\x7F]/u;function Va(Ra){if(!Ra)return 0;if(!Ha.test(Ra))return Ra.length;Ra=Ra.replace(Ys()," ");let qa=0;for(let nd of Ra){let od=nd.codePointAt(0);od<=31||od>=127&&od<=159||od>=768&&od<=879||(qa+=$s(od)?1:2)}return qa}var et$4=Va;function Tr$2(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var Ge$3=Tr$2(" "),Ks$1=Tr$2(",; "),zs=Tr$2(/[^\n\r]/u);function $a$1(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
|
||
`)return qa-2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
|
||
`)return qa+2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var Ue$3=$a$1;function Ka$1(Ra,qa,nd={}){let od=Ge$3(Ra,nd.backwards?qa-1:qa,nd),ld=Ue$3(Ra,od,nd);return od!==ld}var te$5=Ka$1;function za(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var Lt$2=za;function Qa(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?zs(Ra,qa):qa}var wt$2=Qa;function Za(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=Ks$1(Ra,od),od=Lt$2(Ra,od),od=Ge$3(Ra,od);return od=wt$2(Ra,od),od=Ue$3(Ra,od),od!==!1&&te$5(Ra,od)}var Ot$3=Za;function eo$1(Ra){return Array.isArray(Ra)&&Ra.length>0}var w$2=eo$1,dr$1="'",Qs$1='"';function to$1(Ra,qa){let nd=qa===!0||qa===dr$1?dr$1:Qs$1,od=nd===dr$1?Qs$1:dr$1,ld=0,ud=0;for(let dd of Ra)dd===nd?ld++:dd===od&&ud++;return ld>ud?od:nd}var xr$2=to$1;function ro$1(Ra,qa,nd){let od=qa==='"'?"'":'"',ld=N$6(!1,Ra,/\\(.)|(["'])/gsu,(ud,dd,pd)=>dd===od?dd:pd===qa?"\\"+pd:pd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(dd)?dd:"\\"+dd));return qa+ld+qa}var Zs$1=ro$1;function no$2(Ra,qa){let nd=Ra.slice(1,-1),od=qa.parser==="json"||qa.parser==="jsonc"||qa.parser==="json5"&&qa.quoteProps==="preserve"&&!qa.singleQuote?'"':qa.__isInHtmlAttribute?"'":xr$2(nd,qa.singleQuote);return Zs$1(nd,od,!(qa.parser==="css"||qa.parser==="less"||qa.parser==="scss"||qa.__embeddedInHtml))}var tt$4=no$2;function R$6(Ra){var qa,nd,od;let ld=((qa=Ra.range)==null?void 0:qa[0])??Ra.start,ud=(od=((nd=Ra.declaration)==null?void 0:nd.decorators)??Ra.decorators)==null?void 0:od[0];return ud?Math.min(R$6(ud),ld):ld}function k$2(Ra){var qa;return((qa=Ra.range)==null?void 0:qa[1])??Ra.end}function ht$3(Ra,qa){let nd=R$6(Ra);return Number.isInteger(nd)&&nd===R$6(qa)}function so$1(Ra,qa){let nd=k$2(Ra);return Number.isInteger(nd)&&nd===k$2(qa)}function eu$1(Ra,qa){return ht$3(Ra,qa)&&so$1(Ra,qa)}var Qt$3=null;function Zt$3(Ra){if(Qt$3!==null&&typeof Qt$3.property){let qa=Qt$3;return Qt$3=Zt$3.prototype=null,qa}return Qt$3=Zt$3.prototype=Ra??Object.create(null),new Zt$3}var uo$2=10;for(let Ra=0;Ra<=uo$2;Ra++)Zt$3();function In$1(Ra){return Zt$3(Ra)}function io$2(Ra,qa="type"){In$1(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var hr$3=io$2,tu$2={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],ImportExpression:["source","options","attributes"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeArguments","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:["members"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"]},ao$1=hr$3(tu$2),gr$1=ao$1;function oo$3(Ra){let qa=new Set(Ra);return nd=>qa.has(nd==null?void 0:nd.type)}var v$2=oo$3,po$1=v$2(["Block","CommentBlock","MultiLine"]),re$5=po$1,co$3=v$2(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Sr$2=co$3;function lo$2(Ra,qa){let nd=qa.split(".");for(let od=nd.length-1;od>=0;od--){let ld=nd[od];if(od===0)return Ra.type==="Identifier"&&Ra.name===ld;if(Ra.type!=="MemberExpression"||Ra.optional||Ra.computed||Ra.property.type!=="Identifier"||Ra.property.name!==ld)return!1;Ra=Ra.object}}function mo$2(Ra,qa){return qa.some(nd=>lo$2(Ra,nd))}var ru$2=mo$2;function yo$2({type:Ra}){return Ra.startsWith("TS")&&Ra.endsWith("Keyword")}var Br$3=yo$2;function tr$2(Ra,qa){return qa(Ra)||Xs$1(Ra,{getVisitorKeys:gr$1,predicate:qa})}function jt$2(Ra){return Ra.type==="AssignmentExpression"||Ra.type==="BinaryExpression"||Ra.type==="LogicalExpression"||Ra.type==="NGPipeExpression"||Ra.type==="ConditionalExpression"||L$6(Ra)||q$6(Ra)||Ra.type==="SequenceExpression"||Ra.type==="TaggedTemplateExpression"||Ra.type==="BindExpression"||Ra.type==="UpdateExpression"&&!Ra.prefix||Te$4(Ra)||Ra.type==="TSNonNullExpression"||Ra.type==="ChainExpression"}function uu$3(Ra){return Ra.expressions?Ra.expressions[0]:Ra.left??Ra.test??Ra.callee??Ra.object??Ra.tag??Ra.argument??Ra.expression}function Pr$2(Ra){if(Ra.expressions)return["expressions",0];if(Ra.left)return["left"];if(Ra.test)return["test"];if(Ra.object)return["object"];if(Ra.callee)return["callee"];if(Ra.tag)return["tag"];if(Ra.argument)return["argument"];if(Ra.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var vt$4=v$2(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),iu$1=v$2(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),U$6=v$2(["ArrayExpression","TupleExpression"]),se$5=v$2(["ObjectExpression","RecordExpression"]);function au$3(Ra){return Ra.type==="LogicalExpression"&&Ra.operator==="??"}function Ce$4(Ra){return Ra.type==="NumericLiteral"||Ra.type==="Literal"&&typeof Ra.value=="number"}function jn$2(Ra){return Ra.type==="UnaryExpression"&&(Ra.operator==="+"||Ra.operator==="-")&&Ce$4(Ra.argument)}function Q$6(Ra){return!!(Ra&&(Ra.type==="StringLiteral"||Ra.type==="Literal"&&typeof Ra.value=="string"))}function vn$2(Ra){return Ra.type==="RegExpLiteral"||Ra.type==="Literal"&&!!Ra.regex}var kr$2=v$2(["Literal","BooleanLiteral","BigIntLiteral","DecimalLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),Do$2=v$2(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier","Import"]),we$5=v$2(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),_t$3=v$2(["FunctionExpression","ArrowFunctionExpression"]);function fo$1(Ra){return Ra.type==="FunctionExpression"||Ra.type==="ArrowFunctionExpression"&&Ra.body.type==="BlockStatement"}function Ln$2(Ra){return L$6(Ra)&&Ra.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(Ra.callee.name)}var X$6=v$2(["JSXElement","JSXFragment"]);function gt$3(Ra){return Ra.method&&Ra.kind==="init"||Ra.kind==="get"||Ra.kind==="set"}function Ir$2(Ra){return(Ra.type==="ObjectTypeProperty"||Ra.type==="ObjectTypeInternalSlot")&&!Ra.static&&!Ra.method&&Ra.kind!=="get"&&Ra.kind!=="set"&&Ra.value.type==="FunctionTypeAnnotation"}function ou$2(Ra){return(Ra.type==="TypeAnnotation"||Ra.type==="TSTypeAnnotation")&&Ra.typeAnnotation.type==="FunctionTypeAnnotation"&&!Ra.static&&!ht$3(Ra,Ra.typeAnnotation)}var De$4=v$2(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Ft$4(Ra){return q$6(Ra)||Ra.type==="BindExpression"&&!!Ra.object}var Eo$1=v$2(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function Mt$4(Ra){return Br$3(Ra)||Sr$2(Ra)||Eo$1(Ra)||(Ra.type==="GenericTypeAnnotation"||Ra.type==="TSTypeReference")&&!Ra.typeParameters&&!Ra.typeArguments}function Fo$2(Ra){return Ra.type==="Identifier"&&(Ra.name==="beforeEach"||Ra.name==="beforeAll"||Ra.name==="afterEach"||Ra.name==="afterAll")}var Co=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Ao$1(Ra){return ru$2(Ra,Co)}function St$3(Ra,qa){if((Ra==null?void 0:Ra.type)!=="CallExpression"||Ra.optional)return!1;let nd=oe$5(Ra);if(nd.length===1){if(Ln$2(Ra)&&St$3(qa))return _t$3(nd[0]);if(Fo$2(Ra.callee))return Ln$2(nd[0])}else if((nd.length===2||nd.length===3)&&(nd[0].type==="TemplateLiteral"||Q$6(nd[0]))&&Ao$1(Ra.callee))return nd[2]&&!Ce$4(nd[2])?!1:(nd.length===2?_t$3(nd[1]):fo$1(nd[1])&&K$6(nd[1]).length<=1)||Ln$2(nd[1]);return!1}var pu$2=Ra=>qa=>((qa==null?void 0:qa.type)==="ChainExpression"&&(qa=qa.expression),Ra(qa)),L$6=pu$2(v$2(["CallExpression","OptionalCallExpression"])),q$6=pu$2(v$2(["MemberExpression","OptionalMemberExpression"]));function Mn$2(Ra,qa=5){return cu$3(Ra,qa)<=qa}function cu$3(Ra,qa){let nd=0;for(let od in Ra){let ld=Ra[od];if(ld&&typeof ld=="object"&&typeof ld.type=="string"&&(nd++,nd+=cu$3(ld,qa-nd)),nd>qa)return nd}return nd}var To=.25;function rr$2(Ra,qa){let{printWidth:nd}=qa;if(d$2(Ra))return!1;let od=nd*To;if(Ra.type==="ThisExpression"||Ra.type==="Identifier"&&Ra.name.length<=od||jn$2(Ra)&&!d$2(Ra.argument))return!0;let ld=Ra.type==="Literal"&&"regex"in Ra&&Ra.regex.pattern||Ra.type==="RegExpLiteral"&&Ra.pattern;return ld?ld.length<=od:Q$6(Ra)?tt$4(fe$6(Ra),qa).length<=od:Ra.type==="TemplateLiteral"?Ra.expressions.length===0&&Ra.quasis[0].value.raw.length<=od&&!Ra.quasis[0].value.raw.includes(`
|
||
`):Ra.type==="UnaryExpression"?rr$2(Ra.argument,{printWidth:nd}):Ra.type==="CallExpression"&&Ra.arguments.length===0&&Ra.callee.type==="Identifier"?Ra.callee.name.length<=od-2:kr$2(Ra)}function Oe$5(Ra,qa){return X$6(qa)?Bt$4(qa):d$2(qa,g$4.Leading,nd=>te$5(Ra,k$2(nd)))}function nu$3(Ra){return Ra.quasis.some(qa=>qa.value.raw.includes(`
|
||
`))}function Lr$2(Ra,qa){return(Ra.type==="TemplateLiteral"&&nu$3(Ra)||Ra.type==="TaggedTemplateExpression"&&nu$3(Ra.quasi))&&!te$5(qa,R$6(Ra),{backwards:!0})}function wr$2(Ra){if(!d$2(Ra))return!1;let qa=O$3(!1,ct$3(Ra,g$4.Dangling),-1);return qa&&!re$5(qa)}function lu$2(Ra){if(Ra.length<=1)return!1;let qa=0;for(let nd of Ra)if(_t$3(nd)){if(qa+=1,qa>1)return!0}else if(L$6(nd)){for(let od of oe$5(nd))if(_t$3(od))return!0}return!1}function Or$2(Ra){let{node:qa,parent:nd,key:od}=Ra;return od==="callee"&&L$6(qa)&&L$6(nd)&&nd.arguments.length>0&&qa.arguments.length>nd.arguments.length}var xo$3=new Set(["!","-","+","~"]);function be$7(Ra,qa=2){if(qa<=0)return!1;if(Ra.type==="ChainExpression"||Ra.type==="TSNonNullExpression")return be$7(Ra.expression,qa);let nd=od=>be$7(od,qa-1);if(vn$2(Ra))return et$4(Ra.pattern??Ra.regex.pattern)<=5;if(kr$2(Ra)||Do$2(Ra)||Ra.type==="ArgumentPlaceholder")return!0;if(Ra.type==="TemplateLiteral")return Ra.quasis.every(od=>!od.value.raw.includes(`
|
||
`))&&Ra.expressions.every(nd);if(se$5(Ra))return Ra.properties.every(od=>!od.computed&&(od.shorthand||od.value&&nd(od.value)));if(U$6(Ra))return Ra.elements.every(od=>od===null||nd(od));if(lt$3(Ra)){if(Ra.type==="ImportExpression"||be$7(Ra.callee,qa)){let od=oe$5(Ra);return od.length<=qa&&od.every(nd)}return!1}return q$6(Ra)?be$7(Ra.object,qa)&&be$7(Ra.property,qa):Ra.type==="UnaryExpression"&&xo$3.has(Ra.operator)||Ra.type==="UpdateExpression"?be$7(Ra.argument,qa):!1}function fe$6(Ra){var qa;return((qa=Ra.extra)==null?void 0:qa.raw)??Ra.raw}function mu$2(Ra){return Ra}function ae$4(Ra,qa="es5"){return Ra.trailingComma==="es5"&&qa==="es5"||Ra.trailingComma==="all"&&(qa==="all"||qa==="es5")}function ie$4(Ra,qa){switch(Ra.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return ie$4(Ra.left,qa);case"MemberExpression":case"OptionalMemberExpression":return ie$4(Ra.object,qa);case"TaggedTemplateExpression":return Ra.tag.type==="FunctionExpression"?!1:ie$4(Ra.tag,qa);case"CallExpression":case"OptionalCallExpression":return Ra.callee.type==="FunctionExpression"?!1:ie$4(Ra.callee,qa);case"ConditionalExpression":return ie$4(Ra.test,qa);case"UpdateExpression":return!Ra.prefix&&ie$4(Ra.argument,qa);case"BindExpression":return Ra.object&&ie$4(Ra.object,qa);case"SequenceExpression":return ie$4(Ra.expressions[0],qa);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return ie$4(Ra.expression,qa);default:return qa(Ra)}}var su$2={"==":!0,"!=":!0,"===":!0,"!==":!0},br$4={"*":!0,"/":!0,"%":!0},_n$2={">>":!0,">>>":!0,"<<":!0};function nr$2(Ra,qa){return!(er$2(qa)!==er$2(Ra)||Ra==="**"||su$2[Ra]&&su$2[qa]||qa==="%"&&br$4[Ra]||Ra==="%"&&br$4[qa]||qa!==Ra&&br$4[qa]&&br$4[Ra]||_n$2[Ra]&&_n$2[qa])}var ho$1=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((Ra,qa)=>Ra.map(nd=>[nd,qa])));function er$2(Ra){return ho$1.get(Ra)}function yu$1(Ra){return!!_n$2[Ra]||Ra==="|"||Ra==="^"||Ra==="&"}function Du$2(Ra){var qa;if(Ra.rest)return!0;let nd=K$6(Ra);return((qa=O$3(!1,nd,-1))==null?void 0:qa.type)==="RestElement"}var wn$2=new WeakMap;function K$6(Ra){if(wn$2.has(Ra))return wn$2.get(Ra);let qa=[];return Ra.this&&qa.push(Ra.this),Array.isArray(Ra.parameters)?qa.push(...Ra.parameters):Array.isArray(Ra.params)&&qa.push(...Ra.params),Ra.rest&&qa.push(Ra.rest),wn$2.set(Ra,qa),qa}function fu$1(Ra,qa){let{node:nd}=Ra,od=0,ld=ud=>qa(ud,od++);nd.this&&Ra.call(ld,"this"),Array.isArray(nd.parameters)?Ra.each(ld,"parameters"):Array.isArray(nd.params)&&Ra.each(ld,"params"),nd.rest&&Ra.call(ld,"rest")}var On$3=new WeakMap;function oe$5(Ra){if(On$3.has(Ra))return On$3.get(Ra);if(Ra.type==="ChainExpression")return oe$5(Ra.expression);let qa=Ra.arguments;return Ra.type==="ImportExpression"&&(qa=[Ra.source],Ra.attributes&&qa.push(Ra.attributes),Ra.options&&qa.push(Ra.options)),On$3.set(Ra,qa),qa}function Rt$4(Ra,qa){let{node:nd}=Ra;if(nd.type==="ChainExpression")return Ra.call(()=>Rt$4(Ra,qa),"expression");nd.type==="ImportExpression"?(Ra.call(od=>qa(od,0),"source"),nd.attributes&&Ra.call(od=>qa(od,1),"attributes"),nd.options&&Ra.call(od=>qa(od,1),"options")):Ra.each(qa,"arguments")}function Rn$2(Ra,qa){let nd=[];if(Ra.type==="ChainExpression"&&(Ra=Ra.expression,nd.push("expression")),Ra.type==="ImportExpression"){if(qa===0||qa===(Ra.attributes||Ra.options?-2:-1))return[...nd,"source"];if(Ra.attributes&&(qa===1||qa===-1))return[...nd,"attributes"];if(Ra.options&&(qa===1||qa===-1))return[...nd,"options"];throw new RangeError("Invalid argument index")}if(qa<0&&(qa=Ra.arguments.length+qa),qa<0||qa>=Ra.arguments.length)throw new RangeError("Invalid argument index");return[...nd,"arguments",qa]}function sr$2(Ra){return Ra.value.trim()==="prettier-ignore"&&!Ra.unignore}function Bt$4(Ra){return(Ra==null?void 0:Ra.prettierIgnore)||d$2(Ra,g$4.PrettierIgnore)}var g$4={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Eu$2=(Ra,qa)=>{if(typeof Ra=="function"&&(qa=Ra,Ra=0),Ra||qa)return(nd,od,ld)=>!(Ra&g$4.Leading&&!nd.leading||Ra&g$4.Trailing&&!nd.trailing||Ra&g$4.Dangling&&(nd.leading||nd.trailing)||Ra&g$4.Block&&!re$5(nd)||Ra&g$4.Line&&!vt$4(nd)||Ra&g$4.First&&od!==0||Ra&g$4.Last&&od!==ld.length-1||Ra&g$4.PrettierIgnore&&!sr$2(nd)||qa&&!qa(nd))};function d$2(Ra,qa,nd){if(!w$2(Ra==null?void 0:Ra.comments))return!1;let od=Eu$2(qa,nd);return od?Ra.comments.some(od):!0}function ct$3(Ra,qa,nd){if(!Array.isArray(Ra==null?void 0:Ra.comments))return[];let od=Eu$2(qa,nd);return od?Ra.comments.filter(od):Ra.comments}var pe$3=(Ra,{originalText:qa})=>Ot$3(qa,k$2(Ra));function lt$3(Ra){return L$6(Ra)||Ra.type==="NewExpression"||Ra.type==="ImportExpression"}function Ae$5(Ra){return Ra&&(Ra.type==="ObjectProperty"||Ra.type==="Property"&&!gt$3(Ra))}var Te$4=v$2(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),Ne$4=v$2(["UnionTypeAnnotation","TSUnionType"]),_r$2=v$2(["IntersectionTypeAnnotation","TSIntersectionType"]),go$2=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Jt$4=Ra=>{for(let qa of Ra.quasis)delete qa.value};function Fu$2(Ra,qa,nd){var od,ld;if(Ra.type==="Program"&&delete qa.sourceType,(Ra.type==="BigIntLiteral"||Ra.type==="BigIntLiteralTypeAnnotation")&&Ra.value&&(qa.value=Ra.value.toLowerCase()),(Ra.type==="BigIntLiteral"||Ra.type==="Literal")&&Ra.bigint&&(qa.bigint=Ra.bigint.toLowerCase()),Ra.type==="DecimalLiteral"&&(qa.value=Number(Ra.value)),Ra.type==="Literal"&&qa.decimal&&(qa.decimal=Number(Ra.decimal)),Ra.type==="EmptyStatement"||Ra.type==="JSXText"||Ra.type==="JSXExpressionContainer"&&(Ra.expression.type==="Literal"||Ra.expression.type==="StringLiteral")&&Ra.expression.value===" ")return null;if((Ra.type==="Property"||Ra.type==="ObjectProperty"||Ra.type==="MethodDefinition"||Ra.type==="ClassProperty"||Ra.type==="ClassMethod"||Ra.type==="PropertyDefinition"||Ra.type==="TSDeclareMethod"||Ra.type==="TSPropertySignature"||Ra.type==="ObjectTypeProperty"||Ra.type==="ImportAttribute")&&Ra.key&&!Ra.computed){let{key:dd}=Ra;Q$6(dd)||Ce$4(dd)?qa.key=String(dd.value):dd.type==="Identifier"&&(qa.key=dd.name)}if(Ra.type==="JSXElement"&&Ra.openingElement.name.name==="style"&&Ra.openingElement.attributes.some(dd=>dd.type==="JSXAttribute"&&dd.name.name==="jsx"))for(let{type:dd,expression:pd}of qa.children)dd==="JSXExpressionContainer"&&pd.type==="TemplateLiteral"&&Jt$4(pd);Ra.type==="JSXAttribute"&&Ra.name.name==="css"&&Ra.value.type==="JSXExpressionContainer"&&Ra.value.expression.type==="TemplateLiteral"&&Jt$4(qa.value.expression),Ra.type==="JSXAttribute"&&((od=Ra.value)==null?void 0:od.type)==="Literal"&&/["']|"|'/u.test(Ra.value.value)&&(qa.value.value=N$6(!1,Ra.value.value,/["']|"|'/gu,'"'));let ud=Ra.expression||Ra.callee;if(Ra.type==="Decorator"&&ud.type==="CallExpression"&&ud.callee.name==="Component"&&ud.arguments.length===1){let dd=Ra.expression.arguments[0].properties;for(let[pd,fd]of qa.expression.arguments[0].properties.entries())switch(dd[pd].key.name){case"styles":U$6(fd.value)&&Jt$4(fd.value.elements[0]);break;case"template":fd.value.type==="TemplateLiteral"&&Jt$4(fd.value);break}}Ra.type==="TaggedTemplateExpression"&&(Ra.tag.type==="MemberExpression"||Ra.tag.type==="Identifier"&&(Ra.tag.name==="gql"||Ra.tag.name==="graphql"||Ra.tag.name==="css"||Ra.tag.name==="md"||Ra.tag.name==="markdown"||Ra.tag.name==="html")||Ra.tag.type==="CallExpression")&&Jt$4(qa.quasi),Ra.type==="TemplateLiteral"&&((ld=Ra.leadingComments)!=null&&ld.some(dd=>re$5(dd)&&["GraphQL","HTML"].some(pd=>dd.value===` ${pd} `))||nd.type==="CallExpression"&&nd.callee.name==="graphql"||!Ra.leadingComments)&&Jt$4(qa),Ra.type==="ChainExpression"&&Ra.expression.type==="TSNonNullExpression"&&(qa.type="TSNonNullExpression",qa.expression.type="ChainExpression"),Ra.type==="TSMappedType"&&(delete qa.key,delete qa.constraint),Ra.type==="TSEnumDeclaration"&&delete qa.body}Fu$2.ignoredProperties=go$2;var Cu$2=Fu$2,rt$3="string",_e$5="array",nt$3="cursor",Xe$3="indent",Ye$4="align",st$3="trim",le$5="group",Pe$5="fill",xe$4="if-break",He$4="indent-if-break",Ve$4="line-suffix",$e$3="line-suffix-boundary",me$4="line",je$5="label",ve$6="break-parent",jr$2=new Set([nt$3,Xe$3,Ye$4,st$3,le$5,Pe$5,xe$4,He$4,Ve$4,$e$3,me$4,je$5,ve$6]);function So(Ra){if(typeof Ra=="string")return rt$3;if(Array.isArray(Ra))return _e$5;if(!Ra)return;let{type:qa}=Ra;if(jr$2.has(qa))return qa}var ut$3=So,Bo$2=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function bo$2(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
|
||
Expected it to be 'string' or 'object'.`;if(ut$3(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=Bo$2([...jr$2].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
|
||
Expected it to be ${od}.`}var Jn$3=class extends Error{constructor(nd){super(bo$2(nd));wg(this,"name","InvalidDocError");this.doc=nd}},Ct$3=Jn$3,Au$1={};function Po$1(Ra,qa,nd,od){let ld=[Ra];for(;ld.length>0;){let ud=ld.pop();if(ud===Au$1){nd(ld.pop());continue}nd&&ld.push(ud,Au$1);let dd=ut$3(ud);if(!dd)throw new Ct$3(ud);if((qa==null?void 0:qa(ud))!==!1)switch(dd){case _e$5:case Pe$5:{let pd=dd===_e$5?ud:ud.parts;for(let fd=pd.length,md=fd-1;md>=0;--md)ld.push(pd[md]);break}case xe$4:ld.push(ud.flatContents,ud.breakContents);break;case le$5:if(od&&ud.expandedStates)for(let pd=ud.expandedStates.length,fd=pd-1;fd>=0;--fd)ld.push(ud.expandedStates[fd]);else ld.push(ud.contents);break;case Ye$4:case Xe$3:case He$4:case je$5:case Ve$4:ld.push(ud.contents);break;case rt$3:case nt$3:case st$3:case $e$3:case me$4:case ve$6:break;default:throw new Ct$3(ud)}}}var qn$2=Po$1,Tu$2=()=>{},vr$1=Tu$2;function f$2(Ra){return{type:Xe$3,contents:Ra}}function he$3(Ra,qa){return{type:Ye$4,contents:qa,n:Ra}}function l$2(Ra,qa={}){return vr$1(qa.expandedStates),{type:le$5,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function du$2(Ra){return he$3(Number.NEGATIVE_INFINITY,Ra)}function Mr$2(Ra){return he$3(-1,Ra)}function ze$5(Ra,qa){return l$2(Ra[0],{...qa,expandedStates:Ra})}function qt$4(Ra){return{type:Pe$5,parts:Ra}}function b$3(Ra,qa="",nd={}){return{type:xe$4,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}function At$3(Ra,qa){return{type:He$4,contents:Ra,groupId:qa.groupId,negate:qa.negate}}function Wn$2(Ra){return{type:Ve$4,contents:Ra}}var ke$5={type:$e$3},Ee$6={type:ve$6},Gn$3={type:me$4,hard:!0},ko$1={type:me$4,hard:!0,literal:!0},x$5={type:me$4},E$5={type:me$4,soft:!0},F$3=[Gn$3,Ee$6],Rr$1=[ko$1,Ee$6],Un$3={type:nt$3};function P$6(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}function xu$1(Ra,qa,nd){let od=Ra;if(qa>0){for(let ld=0;ld<Math.floor(qa/nd);++ld)od=f$2(od);od=he$3(qa%nd,od),od=he$3(Number.NEGATIVE_INFINITY,od)}return od}function it$3(Ra,qa){return Ra?{type:je$5,label:Ra,contents:qa}:qa}function mt$3(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(ut$3(ud)){case _e$5:return qa(ud.map(od));case Pe$5:return qa({...ud,parts:ud.parts.map(od)});case xe$4:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case le$5:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case Ye$4:case Xe$3:case He$4:case je$5:case Ve$4:return qa({...ud,contents:od(ud.contents)});case rt$3:case nt$3:case st$3:case $e$3:case me$4:case ve$6:return qa(ud);default:throw new Ct$3(ud)}}}function gu$1(Ra,qa,nd){let od=nd,ld=!1;function ud(dd){if(ld)return!1;let pd=qa(dd);pd!==void 0&&(ld=!0,od=pd)}return qn$2(Ra,ud),od}function Io$1(Ra){if(Ra.type===le$5&&Ra.break||Ra.type===me$4&&Ra.hard||Ra.type===ve$6)return!0}function ne$5(Ra){return gu$1(Ra,Io$1,!1)}function hu$2(Ra){if(Ra.length>0){let qa=O$3(!1,Ra,-1);!qa.expandedStates&&!qa.break&&(qa.break="propagated")}return null}function Su$1(Ra){let qa=new Set,nd=[];function od(ud){if(ud.type===ve$6&&hu$2(nd),ud.type===le$5){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===le$5&&nd.pop().break&&hu$2(nd)}qn$2(Ra,od,ld,!0)}function Lo$2(Ra){return Ra.type===me$4&&!Ra.hard?Ra.soft?"":" ":Ra.type===xe$4?Ra.flatContents:Ra}function ur$2(Ra){return mt$3(Ra,Lo$2)}function wo$1(Ra){switch(ut$3(Ra)){case Pe$5:if(Ra.parts.every(qa=>qa===""))return"";break;case le$5:if(!Ra.contents&&!Ra.id&&!Ra.break&&!Ra.expandedStates)return"";if(Ra.contents.type===le$5&&Ra.contents.id===Ra.id&&Ra.contents.break===Ra.break&&Ra.contents.expandedStates===Ra.expandedStates)return Ra.contents;break;case Ye$4:case Xe$3:case He$4:case Ve$4:if(!Ra.contents)return"";break;case xe$4:if(!Ra.flatContents&&!Ra.breakContents)return"";break;case _e$5:{let qa=[];for(let nd of Ra){if(!nd)continue;let[od,...ld]=Array.isArray(nd)?nd:[nd];typeof od=="string"&&typeof O$3(!1,qa,-1)=="string"?qa[qa.length-1]+=od:qa.push(od),qa.push(...ld)}return qa.length===0?"":qa.length===1?qa[0]:qa}case rt$3:case nt$3:case st$3:case $e$3:case me$4:case je$5:case ve$6:break;default:throw new Ct$3(Ra)}return Ra}function Wt$3(Ra){return mt$3(Ra,qa=>wo$1(qa))}function Ie$4(Ra,qa=Rr$1){return mt$3(Ra,nd=>typeof nd=="string"?P$6(qa,nd.split(`
|
||
`)):nd)}function Oo$1(Ra){if(Ra.type===me$4)return!0}function Bu$1(Ra){return gu$1(Ra,Oo$1,!1)}function ir$3(Ra,qa){return Ra.type===je$5?{...Ra,contents:qa(Ra.contents)}:qa(Ra)}function _o$1(Ra){let qa=`*${Ra.value}*`.split(`
|
||
`);return qa.length>1&&qa.every(nd=>nd.trimStart()[0]==="*")}var bu$2=_o$1;function Pu$1(Ra,qa){let nd=Ra.node;if(vt$4(nd))return qa.originalText.slice(R$6(nd),k$2(nd)).trimEnd();if(re$5(nd))return bu$2(nd)?jo$1(nd):["/*",Ie$4(nd.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(nd))}function jo$1(Ra){let qa=Ra.value.split(`
|
||
`);return["/*",P$6(F$3,qa.map((nd,od)=>od===0?nd.trimEnd():" "+(od<qa.length-1?nd.trim():nd.trimStart()))),"*/"]}var Kn$3={};Ar$1(Kn$3,{endOfLine:()=>Go$1,ownLine:()=>Wo$1,remaining:()=>Uo$2});function vo(Ra){let qa=Ra.type||Ra.kind||"(unknown type)",nd=String(Ra.name||Ra.id&&(typeof Ra.id=="object"?Ra.id.name:Ra.id)||Ra.key&&(typeof Ra.key=="object"?Ra.key.name:Ra.key)||Ra.value&&(typeof Ra.value=="object"?"":String(Ra.value))||Ra.operator||"");return nd.length>20&&(nd=nd.slice(0,19)+"…"),qa+(nd?" "+nd:"")}function Nn$3(Ra,qa){(Ra.comments??(Ra.comments=[])).push(qa),qa.printed=!1,qa.nodeDescription=vo(Ra)}function ce$7(Ra,qa){qa.leading=!0,qa.trailing=!1,Nn$3(Ra,qa)}function Le$5(Ra,qa,nd){qa.leading=!1,qa.trailing=!1,nd&&(qa.marker=nd),Nn$3(Ra,qa)}function z$5(Ra,qa){qa.leading=!1,qa.trailing=!0,Nn$3(Ra,qa)}function Mo$3(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=Ge$3(Ra,od),od=Lt$2(Ra,od),od=wt$2(Ra,od),od=Ue$3(Ra,od);return od}var yt$2=Mo$3;function Ro$1(Ra,qa){let nd=yt$2(Ra,qa);return nd===!1?"":Ra.charAt(nd)}var ge$6=Ro$1;function Jo$2(Ra,qa,nd){for(let od=qa;od<nd;++od)if(Ra.charAt(od)===`
|
||
`)return!0;return!1}var de$4=Jo$2;function qo$1(Ra){return re$5(Ra)&&Ra.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(Ra.value)}var ku$1=qo$1;function Wo$1(Ra){return[Mu$2,Lu$1,_u$2,ep,Xo$1,Yn$2,Hn$2,Iu$2,wu$2,sp,rp,$n$3,vu$2,up,Ou$2,ju$2,Vn$3,Yo$1,yp].some(qa=>qa(Ra))}function Go$1(Ra){return[No$1,_u$2,Lu$1,vu$2,Yn$2,Hn$2,Iu$2,wu$2,ju$2,tp,np,$n$3,op$1,Vn$3,lp,mp].some(qa=>qa(Ra))}function Uo$2(Ra){return[Mu$2,Yn$2,Hn$2,Ho$2,Zo$2,Ou$2,$n$3,Qo$2,zo,cp$1,Vn$3,pp].some(qa=>qa(Ra))}function bt$5(Ra,qa){let nd=(Ra.body||Ra.properties).find(({type:od})=>od!=="EmptyStatement");nd?ce$7(nd,qa):Le$5(Ra,qa)}function Xn$3(Ra,qa){Ra.type==="BlockStatement"?bt$5(Ra,qa):ce$7(Ra,qa)}function No$1({comment:Ra,followingNode:qa}){return qa&&ku$1(Ra)?(ce$7(qa,Ra),!0):!1}function Yn$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){if((nd==null?void 0:nd.type)!=="IfStatement"||!od)return!1;if(ge$6(ld,k$2(Ra))===")")return z$5(qa,Ra),!0;if(qa===nd.consequent&&od===nd.alternate){if(qa.type==="BlockStatement")z$5(qa,Ra);else{let ud=vt$4(Ra)||Ra.loc.start.line===Ra.loc.end.line,dd=Ra.loc.start.line===qa.loc.start.line;ud&&dd?z$5(qa,Ra):Le$5(nd,Ra)}return!0}return od.type==="BlockStatement"?(bt$5(od,Ra),!0):od.type==="IfStatement"?(Xn$3(od.consequent,Ra),!0):nd.consequent===od?(ce$7(od,Ra),!0):!1}function Hn$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){return(nd==null?void 0:nd.type)!=="WhileStatement"||!od?!1:ge$6(ld,k$2(Ra))===")"?(z$5(qa,Ra),!0):od.type==="BlockStatement"?(bt$5(od,Ra),!0):nd.body===od?(ce$7(od,Ra),!0):!1}function Iu$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return(nd==null?void 0:nd.type)!=="TryStatement"&&(nd==null?void 0:nd.type)!=="CatchClause"||!od?!1:nd.type==="CatchClause"&&qa?(z$5(qa,Ra),!0):od.type==="BlockStatement"?(bt$5(od,Ra),!0):od.type==="TryStatement"?(Xn$3(od.finalizer,Ra),!0):od.type==="CatchClause"?(Xn$3(od.body,Ra),!0):!1}function Xo$1({comment:Ra,enclosingNode:qa,followingNode:nd}){return q$6(qa)&&(nd==null?void 0:nd.type)==="Identifier"?(ce$7(qa,Ra),!0):!1}function Yo$1({comment:Ra,enclosingNode:qa,followingNode:nd,options:od}){return!od.experimentalTernaries||!((qa==null?void 0:qa.type)==="ConditionalExpression"||(qa==null?void 0:qa.type)==="ConditionalTypeAnnotation"||(qa==null?void 0:qa.type)==="TSConditionalType")?!1:(nd==null?void 0:nd.type)==="ConditionalExpression"||(nd==null?void 0:nd.type)==="ConditionalTypeAnnotation"||(nd==null?void 0:nd.type)==="TSConditionalType"?(Le$5(qa,Ra),!0):!1}function Lu$1({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld,options:ud}){let dd=qa&&!de$4(ld,k$2(qa),R$6(Ra));return(!qa||!dd)&&((nd==null?void 0:nd.type)==="ConditionalExpression"||(nd==null?void 0:nd.type)==="ConditionalTypeAnnotation"||(nd==null?void 0:nd.type)==="TSConditionalType")&&od?ud.experimentalTernaries&&nd.alternate===od&&!(re$5(Ra)&&!de$4(ud.originalText,R$6(Ra),k$2(Ra)))?(Le$5(nd,Ra),!0):(ce$7(od,Ra),!0):!1}function Ho$2({comment:Ra,precedingNode:qa,enclosingNode:nd}){return Ae$5(nd)&&nd.shorthand&&nd.key===qa&&nd.value.type==="AssignmentPattern"?(z$5(nd.value.left,Ra),!0):!1}var Vo$2=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function wu$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){if(Vo$2.has(nd==null?void 0:nd.type)){if(w$2(nd.decorators)&&(od==null?void 0:od.type)!=="Decorator")return z$5(O$3(!1,nd.decorators,-1),Ra),!0;if(nd.body&&od===nd.body)return bt$5(nd.body,Ra),!0;if(od){if(nd.superClass&&od===nd.superClass&&qa&&(qa===nd.id||qa===nd.typeParameters))return z$5(qa,Ra),!0;for(let ld of["implements","extends","mixins"])if(nd[ld]&&od===nd[ld][0])return qa&&(qa===nd.id||qa===nd.typeParameters||qa===nd.superClass)?z$5(qa,Ra):Le$5(nd,Ra,ld),!0}}return!1}var $o$1=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Ou$2({comment:Ra,precedingNode:qa,enclosingNode:nd,text:od}){return nd&&qa&&ge$6(od,k$2(Ra))==="("&&(nd.type==="Property"||nd.type==="TSDeclareMethod"||nd.type==="TSAbstractMethodDefinition")&&qa.type==="Identifier"&&nd.key===qa&&ge$6(od,k$2(qa))!==":"||(qa==null?void 0:qa.type)==="Decorator"&&$o$1.has(nd==null?void 0:nd.type)?(z$5(qa,Ra),!0):!1}var Ko$1=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function zo({comment:Ra,precedingNode:qa,enclosingNode:nd,text:od}){return ge$6(od,k$2(Ra))!=="("?!1:qa&&Ko$1.has(nd==null?void 0:nd.type)?(z$5(qa,Ra),!0):!1}function Qo$2({comment:Ra,enclosingNode:qa,text:nd}){if((qa==null?void 0:qa.type)!=="ArrowFunctionExpression")return!1;let od=yt$2(nd,k$2(Ra));return od!==!1&&nd.slice(od,od+2)==="=>"?(Le$5(qa,Ra),!0):!1}function Zo$2({comment:Ra,enclosingNode:qa,text:nd}){return ge$6(nd,k$2(Ra))!==")"?!1:qa&&(Ru$2(qa)&&K$6(qa).length===0||lt$3(qa)&&oe$5(qa).length===0)?(Le$5(qa,Ra),!0):((qa==null?void 0:qa.type)==="MethodDefinition"||(qa==null?void 0:qa.type)==="TSAbstractMethodDefinition")&&K$6(qa.value).length===0?(Le$5(qa.value,Ra),!0):!1}function ep({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){return(qa==null?void 0:qa.type)==="ComponentTypeParameter"&&((nd==null?void 0:nd.type)==="DeclareComponent"||(nd==null?void 0:nd.type)==="ComponentTypeAnnotation")&&(od==null?void 0:od.type)!=="ComponentTypeParameter"||((qa==null?void 0:qa.type)==="ComponentParameter"||(qa==null?void 0:qa.type)==="RestElement")&&(nd==null?void 0:nd.type)==="ComponentDeclaration"&&ge$6(ld,k$2(Ra))===")"?(z$5(qa,Ra),!0):!1}function _u$2({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od,text:ld}){return(qa==null?void 0:qa.type)==="FunctionTypeParam"&&(nd==null?void 0:nd.type)==="FunctionTypeAnnotation"&&(od==null?void 0:od.type)!=="FunctionTypeParam"||((qa==null?void 0:qa.type)==="Identifier"||(qa==null?void 0:qa.type)==="AssignmentPattern"||(qa==null?void 0:qa.type)==="ObjectPattern"||(qa==null?void 0:qa.type)==="ArrayPattern"||(qa==null?void 0:qa.type)==="RestElement"||(qa==null?void 0:qa.type)==="TSParameterProperty")&&Ru$2(nd)&&ge$6(ld,k$2(Ra))===")"?(z$5(qa,Ra),!0):!re$5(Ra)&&((nd==null?void 0:nd.type)==="FunctionDeclaration"||(nd==null?void 0:nd.type)==="FunctionExpression"||(nd==null?void 0:nd.type)==="ObjectMethod")&&(od==null?void 0:od.type)==="BlockStatement"&&nd.body===od&&yt$2(ld,k$2(Ra))===R$6(od)?(bt$5(od,Ra),!0):!1}function ju$2({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="LabeledStatement"?(ce$7(qa,Ra),!0):!1}function Vn$3({comment:Ra,enclosingNode:qa}){return((qa==null?void 0:qa.type)==="ContinueStatement"||(qa==null?void 0:qa.type)==="BreakStatement")&&!qa.label?(z$5(qa,Ra),!0):!1}function tp({comment:Ra,precedingNode:qa,enclosingNode:nd}){return L$6(nd)&&qa&&nd.callee===qa&&nd.arguments.length>0?(ce$7(nd.arguments[0],Ra),!0):!1}function rp({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return Ne$4(nd)?(sr$2(Ra)&&(od.prettierIgnore=!0,Ra.unignore=!0),qa?(z$5(qa,Ra),!0):!1):(Ne$4(od)&&sr$2(Ra)&&(od.types[0].prettierIgnore=!0,Ra.unignore=!0),!1)}function np({comment:Ra,enclosingNode:qa}){return Ae$5(qa)?(ce$7(qa,Ra),!0):!1}function $n$3({comment:Ra,enclosingNode:qa,ast:nd,isLastComment:od}){var ld;return((ld=nd==null?void 0:nd.body)==null?void 0:ld.length)===0?(od?Le$5(nd,Ra):ce$7(nd,Ra),!0):(qa==null?void 0:qa.type)==="Program"&&qa.body.length===0&&!w$2(qa.directives)?(od?Le$5(qa,Ra):ce$7(qa,Ra),!0):!1}function sp({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="ForInStatement"||(qa==null?void 0:qa.type)==="ForOfStatement"?(ce$7(qa,Ra),!0):!1}function vu$2({comment:Ra,precedingNode:qa,enclosingNode:nd,text:od}){if((nd==null?void 0:nd.type)==="ImportSpecifier"||(nd==null?void 0:nd.type)==="ExportSpecifier")return ce$7(nd,Ra),!0;let ld=(qa==null?void 0:qa.type)==="ImportSpecifier"&&(nd==null?void 0:nd.type)==="ImportDeclaration",ud=(qa==null?void 0:qa.type)==="ExportSpecifier"&&(nd==null?void 0:nd.type)==="ExportNamedDeclaration";return(ld||ud)&&te$5(od,k$2(Ra))?(z$5(qa,Ra),!0):!1}function up({comment:Ra,enclosingNode:qa}){return(qa==null?void 0:qa.type)==="AssignmentPattern"?(ce$7(qa,Ra),!0):!1}var ip=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ap$2=new Set(["ObjectExpression","RecordExpression","ArrayExpression","TupleExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function op$1({comment:Ra,enclosingNode:qa,followingNode:nd}){return ip.has(qa==null?void 0:qa.type)&&nd&&(ap$2.has(nd.type)||re$5(Ra))?(ce$7(nd,Ra),!0):!1}function pp({comment:Ra,enclosingNode:qa,followingNode:nd,text:od}){return!nd&&((qa==null?void 0:qa.type)==="TSMethodSignature"||(qa==null?void 0:qa.type)==="TSDeclareFunction"||(qa==null?void 0:qa.type)==="TSAbstractMethodDefinition")&&ge$6(od,k$2(Ra))===";"?(z$5(qa,Ra),!0):!1}function Mu$2({comment:Ra,enclosingNode:qa,followingNode:nd}){if(sr$2(Ra)&&(qa==null?void 0:qa.type)==="TSMappedType"&&(nd==null?void 0:nd.type)==="TSTypeParameter"&&nd.constraint)return qa.prettierIgnore=!0,Ra.unignore=!0,!0}function cp$1({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return(nd==null?void 0:nd.type)!=="TSMappedType"?!1:(od==null?void 0:od.type)==="TSTypeParameter"&&od.name?(ce$7(od.name,Ra),!0):(qa==null?void 0:qa.type)==="TSTypeParameter"&&qa.constraint?(z$5(qa.constraint,Ra),!0):!1}function lp({comment:Ra,enclosingNode:qa,followingNode:nd}){return!qa||qa.type!=="SwitchCase"||qa.test||!nd||nd!==qa.consequent[0]?!1:(nd.type==="BlockStatement"&&vt$4(Ra)?bt$5(nd,Ra):Le$5(qa,Ra),!0)}function mp({comment:Ra,precedingNode:qa,enclosingNode:nd,followingNode:od}){return Ne$4(qa)&&((nd.type==="TSArrayType"||nd.type==="ArrayTypeAnnotation")&&!od||_r$2(nd))?(z$5(O$3(!1,qa.types,-1),Ra),!0):!1}function yp({comment:Ra,enclosingNode:qa,precedingNode:nd,followingNode:od}){if(((qa==null?void 0:qa.type)==="ObjectPattern"||(qa==null?void 0:qa.type)==="ArrayPattern")&&(od==null?void 0:od.type)==="TSTypeAnnotation")return nd?z$5(nd,Ra):Le$5(qa,Ra),!0}var Ru$2=v$2(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]),Dp=new Set(["EmptyStatement","TemplateElement","Import","TSEmptyBodyFunctionExpression","ChainExpression"]);function fp(Ra){return!Dp.has(Ra.type)}function Ep(Ra,qa){var nd;if((qa.parser==="typescript"||qa.parser==="flow"||qa.parser==="acorn"||qa.parser==="espree"||qa.parser==="meriyah"||qa.parser==="__babel_estree")&&Ra.type==="MethodDefinition"&&((nd=Ra.value)==null?void 0:nd.type)==="FunctionExpression"&&K$6(Ra.value).length===0&&!Ra.value.returnType&&!w$2(Ra.value.typeParameters)&&Ra.value.body)return[...Ra.decorators||[],Ra.key,Ra.value.body]}function zn$3(Ra){let{node:qa,parent:nd}=Ra;return(X$6(qa)||nd&&(nd.type==="JSXSpreadAttribute"||nd.type==="JSXSpreadChild"||Ne$4(nd)||(nd.type==="ClassDeclaration"||nd.type==="ClassExpression")&&nd.superClass===qa))&&(!Bt$4(qa)||Ne$4(nd))}function Fp(Ra,{parser:qa}){if(qa==="flow"||qa==="babel-flow")return Ra=N$6(!1,Ra,/[\s(]/gu,""),Ra===""||Ra==="/*"||Ra==="/*::"}function Ju$2(Ra){switch(Ra){case"cr":return"\r";case"crlf":return`\r
|
||
`;default:return`
|
||
`}}var Se$6=Symbol("MODE_BREAK"),at$6=Symbol("MODE_FLAT"),ar$3=Symbol("cursor");function qu$2(){return{value:"",length:0,queue:[]}}function Cp(Ra,qa){return Qn$3(Ra,{type:"indent"},qa)}function Ap(Ra,qa,nd){return qa===Number.NEGATIVE_INFINITY?Ra.root||qu$2():qa<0?Qn$3(Ra,{type:"dedent"},nd):qa?qa.type==="root"?{...Ra,root:Ra}:Qn$3(Ra,{type:typeof qa=="string"?"stringAlign":"numberAlign",n:qa},nd):Ra}function Qn$3(Ra,qa,nd){let od=qa.type==="dedent"?Ra.queue.slice(0,-1):[...Ra.queue,qa],ld="",ud=0,dd=0,pd=0;for(let Od of od)switch(Od.type){case"indent":vd(),nd.useTabs?fd(1):md(nd.tabWidth);break;case"stringAlign":vd(),ld+=Od.n,ud+=Od.n.length;break;case"numberAlign":dd+=1,pd+=Od.n;break;default:throw new Error(`Unexpected type '${Od.type}'`)}return Nd(),{...Ra,value:ld,length:ud,queue:od};function fd(Od){ld+=" ".repeat(Od),ud+=nd.tabWidth*Od}function md(Od){ld+=" ".repeat(Od),ud+=Od}function vd(){nd.useTabs?Ad():Nd()}function Ad(){dd>0&&fd(dd),Id()}function Nd(){pd>0&&md(pd),Id()}function Id(){dd=0,pd=0}}function Zn$3(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===ar$3){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let dd=ld[ud];if(dd===" "||dd===" ")qa++;else{Ra[od]=ld.slice(0,ud+1);break e}}}if(qa>0||nd>0)for(Ra.length=od+1;nd-- >0;)Ra.push(ar$3);return qa}function Jr$2(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let dd=qa.length,pd=[Ra],fd=[];for(;nd>=0;){if(pd.length===0){if(dd===0)return!0;pd.push(qa[--dd]);continue}let{mode:md,doc:vd}=pd.pop(),Ad=ut$3(vd);switch(Ad){case rt$3:fd.push(vd),nd-=et$4(vd);break;case _e$5:case Pe$5:{let Nd=Ad===_e$5?vd:vd.parts;for(let Id=Nd.length-1;Id>=0;Id--)pd.push({mode:md,doc:Nd[Id]});break}case Xe$3:case Ye$4:case He$4:case je$5:pd.push({mode:md,doc:vd.contents});break;case st$3:nd+=Zn$3(fd);break;case le$5:{if(ud&&vd.break)return!1;let Nd=vd.break?Se$6:md,Id=vd.expandedStates&&Nd===Se$6?O$3(!1,vd.expandedStates,-1):vd.contents;pd.push({mode:Nd,doc:Id});break}case xe$4:{let Nd=(vd.groupId?ld[vd.groupId]||at$6:md)===Se$6?vd.breakContents:vd.flatContents;Nd&&pd.push({mode:md,doc:Nd});break}case me$4:if(md===Se$6||vd.hard)return!0;vd.soft||(fd.push(" "),nd--);break;case Ve$4:od=!0;break;case $e$3:if(od)return!1;break}}return!1}function es$1(Ra,qa){let nd={},od=qa.printWidth,ld=Ju$2(qa.endOfLine),ud=0,dd=[{ind:qu$2(),mode:Se$6,doc:Ra}],pd=[],fd=!1,md=[],vd=0;for(Su$1(Ra);dd.length>0;){let{ind:Nd,mode:Id,doc:Od}=dd.pop();switch(ut$3(Od)){case rt$3:{let Md=ld!==`
|
||
`?N$6(!1,Od,`
|
||
`,ld):Od;pd.push(Md),dd.length>0&&(ud+=et$4(Md));break}case _e$5:for(let Md=Od.length-1;Md>=0;Md--)dd.push({ind:Nd,mode:Id,doc:Od[Md]});break;case nt$3:if(vd>=2)throw new Error("There are too many 'cursor' in doc.");pd.push(ar$3),vd++;break;case Xe$3:dd.push({ind:Cp(Nd,qa),mode:Id,doc:Od.contents});break;case Ye$4:dd.push({ind:Ap(Nd,Od.n,qa),mode:Id,doc:Od.contents});break;case st$3:ud-=Zn$3(pd);break;case le$5:switch(Id){case at$6:if(!fd){dd.push({ind:Nd,mode:Od.break?Se$6:at$6,doc:Od.contents});break}case Se$6:{fd=!1;let Md={ind:Nd,mode:at$6,doc:Od.contents},Ud=od-ud,jd=md.length>0;if(!Od.break&&Jr$2(Md,dd,Ud,jd,nd))dd.push(Md);else if(Od.expandedStates){let Ld=O$3(!1,Od.expandedStates,-1);if(Od.break){dd.push({ind:Nd,mode:Se$6,doc:Ld});break}else for(let Bd=1;Bd<Od.expandedStates.length+1;Bd++)if(Bd>=Od.expandedStates.length){dd.push({ind:Nd,mode:Se$6,doc:Ld});break}else{let Gd=Od.expandedStates[Bd],qd={ind:Nd,mode:at$6,doc:Gd};if(Jr$2(qd,dd,Ud,jd,nd)){dd.push(qd);break}}}else dd.push({ind:Nd,mode:Se$6,doc:Od.contents});break}}Od.id&&(nd[Od.id]=O$3(!1,dd,-1).mode);break;case Pe$5:{let Md=od-ud,{parts:Ud}=Od;if(Ud.length===0)break;let[jd,Ld]=Ud,Bd={ind:Nd,mode:at$6,doc:jd},Gd={ind:Nd,mode:Se$6,doc:jd},qd=Jr$2(Bd,[],Md,md.length>0,nd,!0);if(Ud.length===1){qd?dd.push(Bd):dd.push(Gd);break}let zd={ind:Nd,mode:at$6,doc:Ld},Xd={ind:Nd,mode:Se$6,doc:Ld};if(Ud.length===2){qd?dd.push(zd,Bd):dd.push(Xd,Gd);break}Ud.splice(0,2);let gf={ind:Nd,mode:Id,doc:qt$4(Ud)},Yd=Ud[0];Jr$2({ind:Nd,mode:at$6,doc:[jd,Ld,Yd]},[],Md,md.length>0,nd,!0)?dd.push(gf,zd,Bd):qd?dd.push(gf,Xd,Bd):dd.push(gf,Xd,Gd);break}case xe$4:case He$4:{let Md=Od.groupId?nd[Od.groupId]:Id;if(Md===Se$6){let Ud=Od.type===xe$4?Od.breakContents:Od.negate?Od.contents:f$2(Od.contents);Ud&&dd.push({ind:Nd,mode:Id,doc:Ud})}if(Md===at$6){let Ud=Od.type===xe$4?Od.flatContents:Od.negate?f$2(Od.contents):Od.contents;Ud&&dd.push({ind:Nd,mode:Id,doc:Ud})}break}case Ve$4:md.push({ind:Nd,mode:Id,doc:Od.contents});break;case $e$3:md.length>0&&dd.push({ind:Nd,mode:Id,doc:Gn$3});break;case me$4:switch(Id){case at$6:if(Od.hard)fd=!0;else{Od.soft||(pd.push(" "),ud+=1);break}case Se$6:if(md.length>0){dd.push({ind:Nd,mode:Id,doc:Od},...md.reverse()),md.length=0;break}Od.literal?Nd.root?(pd.push(ld,Nd.root.value),ud=Nd.root.length):(pd.push(ld),ud=0):(ud-=Zn$3(pd),pd.push(ld+Nd.value),ud=Nd.length);break}break;case je$5:dd.push({ind:Nd,mode:Id,doc:Od.contents});break;case ve$6:break;default:throw new Ct$3(Od)}dd.length===0&&md.length>0&&(dd.push(...md.reverse()),md.length=0)}let Ad=pd.indexOf(ar$3);if(Ad!==-1){let Nd=pd.indexOf(ar$3,Ad+1),Id=pd.slice(0,Ad).join(""),Od=pd.slice(Ad+1,Nd).join(""),Md=pd.slice(Nd+1).join("");return{formatted:Id+Od+Md,cursorNodeStart:Id.length,cursorNodeText:Od}}return{formatted:pd.join("")}}function Tp(Ra,qa,nd=0){let od=0;for(let ld=nd;ld<Ra.length;++ld)Ra[ld]===" "?od=od+qa-od%qa:od++;return od}var Wu$1=Tp;function dp(Ra,qa){let nd=Ra.lastIndexOf(`
|
||
`);return nd===-1?0:Wu$1(Ra.slice(nd+1).match(/^[\t ]*/u)[0],qa)}var Gu$2=dp;function qr$2(Ra,qa,nd){let{node:od}=Ra;if(od.type==="TemplateLiteral"&&gp(Ra)){let fd=xp(Ra,nd,qa);if(fd)return fd}let ld="expressions";od.type==="TSTemplateLiteralType"&&(ld="types");let ud=[],dd=Ra.map(qa,ld);ud.push(ke$5,"`");let pd=0;return Ra.each(({index:fd,node:md})=>{if(ud.push(qa()),md.tail)return;let{tabWidth:vd}=nd,Ad=md.value.raw,Nd=Ad.includes(`
|
||
`)?Gu$2(Ad,vd):pd;pd=Nd;let Id=dd[fd],Od=od[ld][fd],Md=de$4(nd.originalText,k$2(md),R$6(od.quasis[fd+1]));if(!Md){let jd=es$1(Id,{...nd,printWidth:Number.POSITIVE_INFINITY}).formatted;jd.includes(`
|
||
`)?Md=!0:Id=jd}Md&&(d$2(Od)||Od.type==="Identifier"||q$6(Od)||Od.type==="ConditionalExpression"||Od.type==="SequenceExpression"||Te$4(Od)||De$4(Od))&&(Id=[f$2([E$5,Id]),E$5]);let Ud=Nd===0&&Ad.endsWith(`
|
||
`)?he$3(Number.NEGATIVE_INFINITY,Id):xu$1(Id,Nd,vd);ud.push(l$2(["${",Ud,ke$5,"}"]))},"quasis"),ud.push("`"),ud}function Uu$3(Ra,qa){let nd=qa("quasi");return it$3(nd.label&&{tagged:!0,...nd.label},[qa("tag"),qa(Ra.node.typeArguments?"typeArguments":"typeParameters"),ke$5,nd])}function xp(Ra,qa,nd){let{node:od}=Ra,ld=od.quasis[0].value.raw.trim().split(/\s*\|\s*/u);if(ld.length>1||ld.some(ud=>ud.length>0)){qa.__inJestEach=!0;let ud=Ra.map(nd,"expressions");qa.__inJestEach=!1;let dd=[],pd=ud.map(Nd=>"${"+es$1(Nd,{...qa,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),fd=[{hasLineBreak:!1,cells:[]}];for(let Nd=1;Nd<od.quasis.length;Nd++){let Id=O$3(!1,fd,-1),Od=pd[Nd-1];Id.cells.push(Od),Od.includes(`
|
||
`)&&(Id.hasLineBreak=!0),od.quasis[Nd].value.raw.includes(`
|
||
`)&&fd.push({hasLineBreak:!1,cells:[]})}let md=Math.max(ld.length,...fd.map(Nd=>Nd.cells.length)),vd=Array.from({length:md}).fill(0),Ad=[{cells:ld},...fd.filter(Nd=>Nd.cells.length>0)];for(let{cells:Nd}of Ad.filter(Id=>!Id.hasLineBreak))for(let[Id,Od]of Nd.entries())vd[Id]=Math.max(vd[Id],et$4(Od));return dd.push(ke$5,"`",f$2([F$3,P$6(F$3,Ad.map(Nd=>P$6(" | ",Nd.cells.map((Id,Od)=>Nd.hasLineBreak?Id:Id+" ".repeat(vd[Od]-et$4(Id))))))]),F$3,"`"),dd}}function hp(Ra,qa){let{node:nd}=Ra,od=qa();return d$2(nd)&&(od=l$2([f$2([E$5,od]),E$5])),["${",od,ke$5,"}"]}function Gt$3(Ra,qa){return Ra.map(nd=>hp(nd,qa),"expressions")}function Wr$2(Ra,qa){return mt$3(Ra,nd=>typeof nd=="string"?qa?N$6(!1,nd,/(\\*)`/gu,"$1$1\\`"):ts(nd):nd)}function ts(Ra){return N$6(!1,Ra,/([\\`]|\$\{)/gu,String.raw`\$1`)}function gp({node:Ra,parent:qa}){let nd=/^[fx]?(?:describe|it|test)$/u;return qa.type==="TaggedTemplateExpression"&&qa.quasi===Ra&&qa.tag.type==="MemberExpression"&&qa.tag.property.type==="Identifier"&&qa.tag.property.name==="each"&&(qa.tag.object.type==="Identifier"&&nd.test(qa.tag.object.name)||qa.tag.object.type==="MemberExpression"&&qa.tag.object.property.type==="Identifier"&&(qa.tag.object.property.name==="only"||qa.tag.object.property.name==="skip")&&qa.tag.object.object.type==="Identifier"&&nd.test(qa.tag.object.object.name))}var ns$1=[(Ra,qa)=>Ra.type==="ObjectExpression"&&qa==="properties",(Ra,qa)=>Ra.type==="CallExpression"&&Ra.callee.type==="Identifier"&&Ra.callee.name==="Component"&&qa==="arguments",(Ra,qa)=>Ra.type==="Decorator"&&qa==="expression"];function Nu$2(Ra){let qa=od=>od.type==="TemplateLiteral",nd=(od,ld)=>Ae$5(od)&&!od.computed&&od.key.type==="Identifier"&&od.key.name==="styles"&&ld==="value";return Ra.match(qa,(od,ld)=>U$6(od)&&ld==="elements",nd,...ns$1)||Ra.match(qa,nd,...ns$1)}function Xu$2(Ra){return Ra.match(qa=>qa.type==="TemplateLiteral",(qa,nd)=>Ae$5(qa)&&!qa.computed&&qa.key.type==="Identifier"&&qa.key.name==="template"&&nd==="value",...ns$1)}function rs$1(Ra,qa){return d$2(Ra,g$4.Block|g$4.Leading,({value:nd})=>nd===` ${qa} `)}function Gr$2({node:Ra,parent:qa},nd){return rs$1(Ra,nd)||Sp(qa)&&rs$1(qa,nd)||qa.type==="ExpressionStatement"&&rs$1(qa,nd)}function Sp(Ra){return Ra.type==="AsConstExpression"||Ra.type==="TSAsExpression"&&Ra.typeAnnotation.type==="TSTypeReference"&&Ra.typeAnnotation.typeName.type==="Identifier"&&Ra.typeAnnotation.typeName.name==="const"}async function Bp(Ra,qa,nd){let{node:od}=nd,ld=od.quasis.map(vd=>vd.value.raw),ud=0,dd=ld.reduce((vd,Ad,Nd)=>Nd===0?Ad:vd+"@prettier-placeholder-"+ud+++"-id"+Ad,""),pd=await Ra(dd,{parser:"scss"}),fd=Gt$3(nd,qa),md=bp$1(pd,fd);if(!md)throw new Error("Couldn't insert all the expressions");return["`",f$2([F$3,md]),E$5,"`"]}function bp$1(Ra,qa){if(!w$2(qa))return Ra;let nd=0,od=mt$3(Wt$3(Ra),ld=>typeof ld!="string"||!ld.includes("@prettier-placeholder")?ld:ld.split(/@prettier-placeholder-(\d+)-id/u).map((ud,dd)=>dd%2===0?Ie$4(ud):(nd++,qa[ud])));return qa.length===nd?od:null}function Pp({node:Ra,parent:qa,grandparent:nd}){return nd&&Ra.quasis&&qa.type==="JSXExpressionContainer"&&nd.type==="JSXElement"&&nd.openingElement.name.name==="style"&&nd.openingElement.attributes.some(od=>od.type==="JSXAttribute"&&od.name.name==="jsx")||(qa==null?void 0:qa.type)==="TaggedTemplateExpression"&&qa.tag.type==="Identifier"&&qa.tag.name==="css"||(qa==null?void 0:qa.type)==="TaggedTemplateExpression"&&qa.tag.type==="MemberExpression"&&qa.tag.object.name==="css"&&(qa.tag.property.name==="global"||qa.tag.property.name==="resolve")}function Ur$2(Ra){return Ra.type==="Identifier"&&Ra.name==="styled"}function Yu$1(Ra){return/^[A-Z]/u.test(Ra.object.name)&&Ra.property.name==="extend"}function kp({parent:Ra}){if(!Ra||Ra.type!=="TaggedTemplateExpression")return!1;let qa=Ra.tag.type==="ParenthesizedExpression"?Ra.tag.expression:Ra.tag;switch(qa.type){case"MemberExpression":return Ur$2(qa.object)||Yu$1(qa);case"CallExpression":return Ur$2(qa.callee)||qa.callee.type==="MemberExpression"&&(qa.callee.object.type==="MemberExpression"&&(Ur$2(qa.callee.object.object)||Yu$1(qa.callee.object))||qa.callee.object.type==="CallExpression"&&Ur$2(qa.callee.object.callee));case"Identifier":return qa.name==="css";default:return!1}}function Ip({parent:Ra,grandparent:qa}){return(qa==null?void 0:qa.type)==="JSXAttribute"&&Ra.type==="JSXExpressionContainer"&&qa.name.type==="JSXIdentifier"&&qa.name.name==="css"}function Lp(Ra){if(Pp(Ra)||kp(Ra)||Ip(Ra)||Nu$2(Ra))return Bp}var Hu$3=Lp;async function wp(Ra,qa,nd){let{node:od}=nd,ld=od.quasis.length,ud=Gt$3(nd,qa),dd=[];for(let pd=0;pd<ld;pd++){let fd=od.quasis[pd],md=pd===0,vd=pd===ld-1,Ad=fd.value.cooked,Nd=Ad.split(`
|
||
`),Id=Nd.length,Od=ud[pd],Md=Id>2&&Nd[0].trim()===""&&Nd[1].trim()==="",Ud=Id>2&&Nd[Id-1].trim()===""&&Nd[Id-2].trim()==="",jd=Nd.every(Bd=>/^\s*(?:#[^\n\r]*)?$/u.test(Bd));if(!vd&&/#[^\n\r]*$/u.test(Nd[Id-1]))return null;let Ld=null;jd?Ld=Op(Nd):Ld=await Ra(Ad,{parser:"graphql"}),Ld?(Ld=Wr$2(Ld,!1),!md&&Md&&dd.push(""),dd.push(Ld),!vd&&Ud&&dd.push("")):!md&&!vd&&Md&&dd.push(""),Od&&dd.push(Od)}return["`",f$2([F$3,P$6(F$3,dd)]),F$3,"`"]}function Op(Ra){let qa=[],nd=!1,od=Ra.map(ld=>ld.trim());for(let[ld,ud]of od.entries())ud!==""&&(od[ld-1]===""&&nd?qa.push([F$3,ud]):qa.push(ud),nd=!0);return qa.length===0?null:P$6(F$3,qa)}function _p({node:Ra,parent:qa}){return Gr$2({node:Ra,parent:qa},"GraphQL")||qa&&(qa.type==="TaggedTemplateExpression"&&(qa.tag.type==="MemberExpression"&&qa.tag.object.name==="graphql"&&qa.tag.property.name==="experimental"||qa.tag.type==="Identifier"&&(qa.tag.name==="gql"||qa.tag.name==="graphql"))||qa.type==="CallExpression"&&qa.callee.type==="Identifier"&&qa.callee.name==="graphql")}function jp(Ra){if(_p(Ra))return wp}var Vu$3=jp,ss$1=0;async function $u$2(Ra,qa,nd,od,ld){let{node:ud}=od,dd=ss$1;ss$1=ss$1+1>>>0;let pd=jd=>`PRETTIER_HTML_PLACEHOLDER_${jd}_${dd}_IN_JS`,fd=ud.quasis.map((jd,Ld,Bd)=>Ld===Bd.length-1?jd.value.cooked:jd.value.cooked+pd(Ld)).join(""),md=Gt$3(od,nd),vd=new RegExp(pd(String.raw`(\d+)`),"gu"),Ad=0,Nd=await qa(fd,{parser:Ra,__onHtmlRoot(jd){Ad=jd.children.length}}),Id=mt$3(Nd,jd=>{if(typeof jd!="string")return jd;let Ld=[],Bd=jd.split(vd);for(let Gd=0;Gd<Bd.length;Gd++){let qd=Bd[Gd];if(Gd%2===0){qd&&(qd=ts(qd),ld.__embeddedInHtml&&(qd=N$6(!1,qd,/<\/(?=script\b)/giu,String.raw`<\/`)),Ld.push(qd));continue}let zd=Number(qd);Ld.push(md[zd])}return Ld}),Od=/^\s/u.test(fd)?" ":"",Md=/\s$/u.test(fd)?" ":"",Ud=ld.htmlWhitespaceSensitivity==="ignore"?F$3:Od&&Md?x$5:null;return Ud?l$2(["`",f$2([Ud,l$2(Id)]),Ud,"`"]):it$3({hug:!1},l$2(["`",Od,Ad>1?f$2(l$2(Id)):l$2(Id),Md,"`"]))}function vp(Ra){return Gr$2(Ra,"HTML")||Ra.match(qa=>qa.type==="TemplateLiteral",(qa,nd)=>qa.type==="TaggedTemplateExpression"&&qa.tag.type==="Identifier"&&qa.tag.name==="html"&&nd==="quasi")}var Mp=$u$2.bind(void 0,"html"),Rp=$u$2.bind(void 0,"angular");function Jp(Ra){if(vp(Ra))return Mp;if(Xu$2(Ra))return Rp}var Ku$3=Jp;async function qp(Ra,qa,nd){let{node:od}=nd,ld=N$6(!1,od.quasis[0].value.raw,/((?:\\\\)*)\\`/gu,(fd,md)=>"\\".repeat(md.length/2)+"`"),ud=Wp(ld),dd=ud!=="";dd&&(ld=N$6(!1,ld,new RegExp(`^${ud}`,"gmu"),""));let pd=Wr$2(await Ra(ld,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",dd?f$2([E$5,pd]):[Rr$1,du$2(pd)],E$5,"`"]}function Wp(Ra){let qa=Ra.match(/^([^\S\n]*)\S/mu);return qa===null?"":qa[1]}function Gp(Ra){if(Up(Ra))return qp}function Up({node:Ra,parent:qa}){return(qa==null?void 0:qa.type)==="TaggedTemplateExpression"&&Ra.quasis.length===1&&qa.tag.type==="Identifier"&&(qa.tag.name==="md"||qa.tag.name==="markdown")}var zu$1=Gp;function Np(Ra){let{node:qa}=Ra;if(qa.type!=="TemplateLiteral"||Xp(qa))return;let nd;for(let od of[Hu$3,Vu$3,Ku$3,zu$1])if(nd=od(Ra),!!nd)return qa.quasis.length===1&&qa.quasis[0].value.raw.trim()===""?"``":async(...ld)=>{let ud=await nd(...ld);return ud&&it$3({embed:!0,...ud.label},ud)}}function Xp({quasis:Ra}){return Ra.some(({value:{cooked:qa}})=>qa===null)}var Qu$2=Np,Yp=/\*\/$/,Hp=/^\/\*\*?/,ri$3=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Vp=/(^|\s+)\/\/([^\n\r]*)/g,Zu$3=/^(\r?\n)+/,$p=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,ei$3=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Kp=/(\r?\n|^) *\* ?/g,ni$3=[];function si$3(Ra){let qa=Ra.match(ri$3);return qa?qa[0].trimStart():""}function ui$3(Ra){let qa=Ra.match(ri$3),nd=qa==null?void 0:qa[0];return nd==null?Ra:Ra.slice(nd.length)}function ii$4(Ra){let qa=`
|
||
`;Ra=N$6(!1,Ra.replace(Hp,"").replace(Yp,""),Kp,"$1");let nd="";for(;nd!==Ra;)nd=Ra,Ra=N$6(!1,Ra,$p,`${qa}$1 $2${qa}`);Ra=Ra.replace(Zu$3,"").trimEnd();let od=Object.create(null),ld=N$6(!1,Ra,ei$3,"").replace(Zu$3,"").trimEnd(),ud;for(;ud=ei$3.exec(Ra);){let dd=N$6(!1,ud[2],Vp,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let pd=od[ud[1]];od[ud[1]]=[...ni$3,...Array.isArray(pd)?pd:[pd],dd]}else od[ud[1]]=dd}return{comments:ld,pragmas:od}}function ai$4({comments:Ra="",pragmas:qa={}}){let nd=`
|
||
`,od="/**",ld=" *",ud=" */",dd=Object.keys(qa),pd=dd.flatMap(md=>ti$3(md,qa[md])).map(md=>`${ld} ${md}${nd}`).join("");if(!Ra){if(dd.length===0)return"";if(dd.length===1&&!Array.isArray(qa[dd[0]])){let md=qa[dd[0]];return`${od} ${ti$3(dd[0],md)[0]}${ud}`}}let fd=Ra.split(nd).map(md=>`${ld} ${md}`).join(nd)+nd;return od+nd+(Ra?fd:"")+(Ra&&dd.length>0?ld+nd:"")+pd+ud}function ti$3(Ra,qa){return[...ni$3,...Array.isArray(qa)?qa:[qa]].map(nd=>`@${Ra} ${nd}`.trim())}function zp(Ra){if(!Ra.startsWith("#!"))return"";let qa=Ra.indexOf(`
|
||
`);return qa===-1?Ra:Ra.slice(0,qa)}var oi$3=zp;function Qp(Ra){let qa=oi$3(Ra);qa&&(Ra=Ra.slice(qa.length+1));let nd=si$3(Ra),{pragmas:od,comments:ld}=ii$4(nd);return{shebang:qa,text:Ra,pragmas:od,comments:ld}}function pi$5(Ra){let{shebang:qa,text:nd,pragmas:od,comments:ld}=Qp(Ra),ud=ui$3(nd),dd=ai$4({pragmas:{format:"",...od},comments:ld.trimStart()});return(qa?`${qa}
|
||
`:"")+dd+(ud.startsWith(`
|
||
`)?`
|
||
`:`
|
||
|
||
`)+ud}function Zp(Ra,qa){let{originalText:nd,[Symbol.for("comments")]:od,locStart:ld,locEnd:ud,[Symbol.for("printedComments")]:dd}=qa,{node:pd}=Ra,fd=ld(pd),md=ud(pd);for(let vd of od)ld(vd)>=fd&&ud(vd)<=md&&dd.add(vd);return nd.slice(fd,md)}var ci$4=Zp;function us$1(Ra,qa){var nd,od,ld,ud,dd,pd,fd,md,vd;if(Ra.isRoot)return!1;let{node:Ad,key:Nd,parent:Id}=Ra;if(qa.__isInHtmlInterpolation&&!qa.bracketSpacing&&nc$2(Ad)&&or$2(Ra))return!0;if(ec$1(Ad))return!1;if(Ad.type==="Identifier"){if((nd=Ad.extra)!=null&&nd.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(Ad.name)||Nd==="left"&&(Ad.name==="async"&&!Id.await||Ad.name==="let")&&Id.type==="ForOfStatement")return!0;if(Ad.name==="let"){let Od=(od=Ra.findAncestor(Md=>Md.type==="ForOfStatement"))==null?void 0:od.left;if(Od&&ie$4(Od,Md=>Md===Ad))return!0}if(Nd==="object"&&Ad.name==="let"&&Id.type==="MemberExpression"&&Id.computed&&!Id.optional){let Od=Ra.findAncestor(Ud=>Ud.type==="ExpressionStatement"||Ud.type==="ForStatement"||Ud.type==="ForInStatement"),Md=Od?Od.type==="ExpressionStatement"?Od.expression:Od.type==="ForStatement"?Od.init:Od.left:void 0;if(Md&&ie$4(Md,Ud=>Ud===Ad))return!0}if(Nd==="expression")switch(Ad.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let Od=Ra.findAncestor(Md=>!Te$4(Md));if(Od!==Id&&Od.type==="ExpressionStatement")return!0}}return!1}if(Ad.type==="ObjectExpression"||Ad.type==="FunctionExpression"||Ad.type==="ClassExpression"||Ad.type==="DoExpression"){let Od=(ld=Ra.findAncestor(Md=>Md.type==="ExpressionStatement"))==null?void 0:ld.expression;if(Od&&ie$4(Od,Md=>Md===Ad))return!0}if(Ad.type==="ObjectExpression"){let Od=(ud=Ra.findAncestor(Md=>Md.type==="ArrowFunctionExpression"))==null?void 0:ud.body;if(Od&&Od.type!=="SequenceExpression"&&Od.type!=="AssignmentExpression"&&ie$4(Od,Md=>Md===Ad))return!0}switch(Id.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(Nd==="superClass"&&(Ad.type==="ArrowFunctionExpression"||Ad.type==="AssignmentExpression"||Ad.type==="AwaitExpression"||Ad.type==="BinaryExpression"||Ad.type==="ConditionalExpression"||Ad.type==="LogicalExpression"||Ad.type==="NewExpression"||Ad.type==="ObjectExpression"||Ad.type==="SequenceExpression"||Ad.type==="TaggedTemplateExpression"||Ad.type==="UnaryExpression"||Ad.type==="UpdateExpression"||Ad.type==="YieldExpression"||Ad.type==="TSNonNullExpression"||Ad.type==="ClassExpression"&&w$2(Ad.decorators)))return!0;break;case"ExportDefaultDeclaration":return li$3(Ra,qa)||Ad.type==="SequenceExpression";case"Decorator":if(Nd==="expression"&&!uc$2(Ad))return!0;break;case"TypeAnnotation":if(Ra.match(void 0,void 0,(Od,Md)=>Md==="returnType"&&Od.type==="ArrowFunctionExpression")&&rc$2(Ad))return!0;break;case"BinaryExpression":if(Nd==="left"&&(Id.operator==="in"||Id.operator==="instanceof")&&Ad.type==="UnaryExpression")return!0;break;case"VariableDeclarator":if(Nd==="init"&&Ra.match(void 0,void 0,(Od,Md)=>Md==="declarations"&&Od.type==="VariableDeclaration",(Od,Md)=>Md==="left"&&Od.type==="ForInStatement"))return!0;break}switch(Ad.type){case"UpdateExpression":if(Id.type==="UnaryExpression")return Ad.prefix&&(Ad.operator==="++"&&Id.operator==="+"||Ad.operator==="--"&&Id.operator==="-");case"UnaryExpression":switch(Id.type){case"UnaryExpression":return Ad.operator===Id.operator&&(Ad.operator==="+"||Ad.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"BinaryExpression":return Nd==="left"&&Id.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(Id.type==="UpdateExpression"||Ad.operator==="in"&&tc$1(Ra))return!0;if(Ad.operator==="|>"&&(dd=Ad.extra)!=null&&dd.parenthesized){let Od=Ra.grandparent;if(Od.type==="BinaryExpression"&&Od.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(Id.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!Te$4(Ad);case"ConditionalExpression":return Te$4(Ad)||au$3(Ad);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return Nd==="callee";case"ClassExpression":case"ClassDeclaration":return Nd==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"AssignmentExpression":case"AssignmentPattern":return Nd==="left"&&(Ad.type==="TSTypeAssertion"||Te$4(Ad));case"LogicalExpression":if(Ad.type==="LogicalExpression")return Id.operator!==Ad.operator;case"BinaryExpression":{let{operator:Od,type:Md}=Ad;if(!Od&&Md!=="TSTypeAssertion")return!0;let Ud=er$2(Od),jd=Id.operator,Ld=er$2(jd);return Ld>Ud||Nd==="right"&&Ld===Ud||Ld===Ud&&!nr$2(jd,Od)?!0:Ld<Ud&&Od==="%"?jd==="+"||jd==="-":!!yu$1(jd)}default:return!1}case"SequenceExpression":switch(Id.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return Nd!=="expression";case"ArrowFunctionExpression":return Nd!=="body";default:return!0}case"YieldExpression":if(Id.type==="AwaitExpression"||Id.type==="TSTypeAssertion")return!0;case"AwaitExpression":switch(Id.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"ConditionalExpression":return Nd==="test";case"BinaryExpression":return!(!Ad.argument&&Id.operator==="|>");default:return!1}case"TSFunctionType":if(Ra.match(Od=>Od.type==="TSFunctionType",(Od,Md)=>Md==="typeAnnotation"&&Od.type==="TSTypeAnnotation",(Od,Md)=>Md==="returnType"&&Od.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":if(Nd==="extendsType"&&Id.type==="TSConditionalType"){if(Ad.type==="TSConditionalType")return!0;let{typeAnnotation:Od}=Ad.returnType||Ad.typeAnnotation;if(Od.type==="TSTypePredicate"&&Od.typeAnnotation&&(Od=Od.typeAnnotation.typeAnnotation),Od.type==="TSInferType"&&Od.typeParameter.constraint)return!0}if(Nd==="checkType"&&Id.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((Id.type==="TSUnionType"||Id.type==="TSIntersectionType")&&Id.types.length>1&&(!Ad.types||Ad.types.length>1))return!0;case"TSInferType":if(Ad.type==="TSInferType"){if(Id.type==="TSRestType")return!1;if(Nd==="types"&&(Id.type==="TSUnionType"||Id.type==="TSIntersectionType")&&Ad.typeParameter.type==="TSTypeParameter"&&Ad.typeParameter.constraint)return!0}case"TSTypeOperator":return Id.type==="TSArrayType"||Id.type==="TSOptionalType"||Id.type==="TSRestType"||Nd==="objectType"&&Id.type==="TSIndexedAccessType"||Id.type==="TSTypeOperator"||Id.type==="TSTypeAnnotation"&&Ra.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return Nd==="objectType"&&Id.type==="TSIndexedAccessType"||Nd==="elementType"&&Id.type==="TSArrayType";case"TypeOperator":return Id.type==="ArrayTypeAnnotation"||Id.type==="NullableTypeAnnotation"||Nd==="objectType"&&(Id.type==="IndexedAccessType"||Id.type==="OptionalIndexedAccessType")||Id.type==="TypeOperator";case"TypeofTypeAnnotation":return Nd==="objectType"&&(Id.type==="IndexedAccessType"||Id.type==="OptionalIndexedAccessType")||Nd==="elementType"&&Id.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return Id.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return Id.type==="TypeOperator"||Id.type==="ArrayTypeAnnotation"||Id.type==="NullableTypeAnnotation"||Id.type==="IntersectionTypeAnnotation"||Id.type==="UnionTypeAnnotation"||Nd==="objectType"&&(Id.type==="IndexedAccessType"||Id.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return Id.type==="ArrayTypeAnnotation"||Nd==="objectType"&&(Id.type==="IndexedAccessType"||Id.type==="OptionalIndexedAccessType");case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(Ad.type==="ComponentTypeAnnotation"&&(Ad.rendersType===null||Ad.rendersType===void 0))return!1;if(Ra.match(void 0,(Md,Ud)=>Ud==="typeAnnotation"&&Md.type==="TypeAnnotation",(Md,Ud)=>Ud==="returnType"&&Md.type==="ArrowFunctionExpression")||Ra.match(void 0,(Md,Ud)=>Ud==="typeAnnotation"&&Md.type==="TypePredicate",(Md,Ud)=>Ud==="typeAnnotation"&&Md.type==="TypeAnnotation",(Md,Ud)=>Ud==="returnType"&&Md.type==="ArrowFunctionExpression"))return!0;let Od=Id.type==="NullableTypeAnnotation"?Ra.grandparent:Id;return Od.type==="UnionTypeAnnotation"||Od.type==="IntersectionTypeAnnotation"||Od.type==="ArrayTypeAnnotation"||Nd==="objectType"&&(Od.type==="IndexedAccessType"||Od.type==="OptionalIndexedAccessType")||Nd==="checkType"&&Id.type==="ConditionalTypeAnnotation"||Nd==="extendsType"&&Id.type==="ConditionalTypeAnnotation"&&((pd=Ad.returnType)==null?void 0:pd.type)==="InferTypeAnnotation"&&((fd=Ad.returnType)==null?void 0:fd.typeParameter.bound)||Od.type==="NullableTypeAnnotation"||Id.type==="FunctionTypeParam"&&Id.name===null&&K$6(Ad).some(Md=>{var Ud;return((Ud=Md.typeAnnotation)==null?void 0:Ud.type)==="NullableTypeAnnotation"})}case"ConditionalTypeAnnotation":if(Nd==="extendsType"&&Id.type==="ConditionalTypeAnnotation"&&Ad.type==="ConditionalTypeAnnotation"||Nd==="checkType"&&Id.type==="ConditionalTypeAnnotation")return!0;case"OptionalIndexedAccessType":return Nd==="objectType"&&Id.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof Ad.value=="string"&&Id.type==="ExpressionStatement"&&!Id.directive){let Od=Ra.grandparent;return Od.type==="Program"||Od.type==="BlockStatement"}return Nd==="object"&&Id.type==="MemberExpression"&&typeof Ad.value=="number";case"AssignmentExpression":{let Od=Ra.grandparent;return Nd==="body"&&Id.type==="ArrowFunctionExpression"?!0:Nd==="key"&&(Id.type==="ClassProperty"||Id.type==="PropertyDefinition")&&Id.computed||(Nd==="init"||Nd==="update")&&Id.type==="ForStatement"?!1:Id.type==="ExpressionStatement"?Ad.left.type==="ObjectPattern":!(Nd==="key"&&Id.type==="TSPropertySignature"||Id.type==="AssignmentExpression"||Id.type==="SequenceExpression"&&Od.type==="ForStatement"&&(Od.init===Id||Od.update===Id)||Nd==="value"&&Id.type==="Property"&&Od.type==="ObjectPattern"&&Od.properties.includes(Id)||Id.type==="NGChainedExpression")}case"ConditionalExpression":switch(Id.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"ConditionalExpression":return qa.experimentalTernaries?!1:Nd==="test";case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";default:return!1}case"FunctionExpression":switch(Id.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(Id.type){case"BinaryExpression":return Id.operator!=="|>"||((md=Ad.extra)==null?void 0:md.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return Nd==="callee";case"MemberExpression":case"OptionalMemberExpression":return Nd==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return Nd==="test";default:return!1}case"ClassExpression":switch(Id.type){case"NewExpression":return Nd==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(sc$1(Ra))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(Nd==="callee"&&(Id.type==="BindExpression"||Id.type==="NewExpression")){let Od=Ad;for(;Od;)switch(Od.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":Od=Od.object;break;case"TaggedTemplateExpression":Od=Od.tag;break;case"TSNonNullExpression":Od=Od.expression;break;default:return!1}}return!1;case"BindExpression":return Nd==="callee"&&(Id.type==="BindExpression"||Id.type==="NewExpression")||Nd==="object"&&q$6(Id);case"NGPipeExpression":return!(Id.type==="NGRoot"||Id.type==="NGMicrosyntaxExpression"||Id.type==="ObjectProperty"&&!((vd=Ad.extra)!=null&&vd.parenthesized)||U$6(Id)||Nd==="arguments"&&L$6(Id)||Nd==="right"&&Id.type==="NGPipeExpression"||Nd==="property"&&Id.type==="MemberExpression"||Id.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return Nd==="callee"||Nd==="left"&&Id.type==="BinaryExpression"&&Id.operator==="<"||!U$6(Id)&&Id.type!=="ArrowFunctionExpression"&&Id.type!=="AssignmentExpression"&&Id.type!=="AssignmentPattern"&&Id.type!=="BinaryExpression"&&Id.type!=="NewExpression"&&Id.type!=="ConditionalExpression"&&Id.type!=="ExpressionStatement"&&Id.type!=="JsExpressionRoot"&&Id.type!=="JSXAttribute"&&Id.type!=="JSXElement"&&Id.type!=="JSXExpressionContainer"&&Id.type!=="JSXFragment"&&Id.type!=="LogicalExpression"&&!L$6(Id)&&!Ae$5(Id)&&Id.type!=="ReturnStatement"&&Id.type!=="ThrowStatement"&&Id.type!=="TypeCastExpression"&&Id.type!=="VariableDeclarator"&&Id.type!=="YieldExpression";case"TSInstantiationExpression":return Nd==="object"&&q$6(Id)}return!1}var ec$1=v$2(["BlockStatement","BreakStatement","ComponentDeclaration","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareComponent","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareHook","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareNamespace","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","HookDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function tc$1(Ra){let qa=0,{node:nd}=Ra;for(;nd;){let od=Ra.getParentNode(qa++);if((od==null?void 0:od.type)==="ForStatement"&&od.init===nd)return!0;nd=od}return!1}function rc$2(Ra){return tr$2(Ra,qa=>qa.type==="ObjectTypeAnnotation"&&tr$2(qa,nd=>nd.type==="FunctionTypeAnnotation"))}function nc$2(Ra){return se$5(Ra)}function or$2(Ra){let{parent:qa,key:nd}=Ra;switch(qa.type){case"NGPipeExpression":if(nd==="arguments"&&Ra.isLast)return Ra.callParent(or$2);break;case"ObjectProperty":if(nd==="value")return Ra.callParent(()=>Ra.key==="properties"&&Ra.isLast);break;case"BinaryExpression":case"LogicalExpression":if(nd==="right")return Ra.callParent(or$2);break;case"ConditionalExpression":if(nd==="alternate")return Ra.callParent(or$2);break;case"UnaryExpression":if(qa.prefix)return Ra.callParent(or$2);break}return!1}function li$3(Ra,qa){let{node:nd,parent:od}=Ra;return nd.type==="FunctionExpression"||nd.type==="ClassExpression"?od.type==="ExportDefaultDeclaration"||!us$1(Ra,qa):!jt$2(nd)||od.type!=="ExportDefaultDeclaration"&&us$1(Ra,qa)?!1:Ra.call(()=>li$3(Ra,qa),...Pr$2(nd))}function sc$1(Ra){let{node:qa,parent:nd,grandparent:od,key:ld}=Ra;return!!((qa.type==="OptionalMemberExpression"||qa.type==="OptionalCallExpression")&&(ld==="object"&&nd.type==="MemberExpression"||ld==="callee"&&(nd.type==="CallExpression"||nd.type==="NewExpression")||nd.type==="TSNonNullExpression"&&od.type==="MemberExpression"&&od.object===nd)||Ra.match(()=>qa.type==="CallExpression"||qa.type==="MemberExpression",(ud,dd)=>dd==="expression"&&ud.type==="ChainExpression")&&(Ra.match(void 0,void 0,(ud,dd)=>dd==="callee"&&(ud.type==="CallExpression"&&!ud.optional||ud.type==="NewExpression")||dd==="object"&&ud.type==="MemberExpression"&&!ud.optional)||Ra.match(void 0,void 0,(ud,dd)=>dd==="expression"&&ud.type==="TSNonNullExpression",(ud,dd)=>dd==="object"&&ud.type==="MemberExpression"))||Ra.match(()=>qa.type==="CallExpression"||qa.type==="MemberExpression",(ud,dd)=>dd==="expression"&&ud.type==="TSNonNullExpression",(ud,dd)=>dd==="expression"&&ud.type==="ChainExpression",(ud,dd)=>dd==="object"&&ud.type==="MemberExpression"))}function is(Ra){return Ra.type==="Identifier"?!0:q$6(Ra)?!Ra.computed&&!Ra.optional&&Ra.property.type==="Identifier"&&is(Ra.object):!1}function uc$2(Ra){return Ra.type==="ChainExpression"&&(Ra=Ra.expression),is(Ra)||L$6(Ra)&&!Ra.optional&&is(Ra.callee)}var Be$6=us$1;function ic$1(Ra,qa){let nd=qa-1;nd=Ge$3(Ra,nd,{backwards:!0}),nd=Ue$3(Ra,nd,{backwards:!0}),nd=Ge$3(Ra,nd,{backwards:!0});let od=Ue$3(Ra,nd,{backwards:!0});return nd!==od}var mi$1=ic$1,ac$2=()=>!0;function as$1(Ra,qa){let nd=Ra.node;return nd.printed=!0,qa.printer.printComment(Ra,qa)}function oc$1(Ra,qa){var nd;let od=Ra.node,ld=[as$1(Ra,qa)],{printer:ud,originalText:dd,locStart:pd,locEnd:fd}=qa;if((nd=ud.isBlockComment)!=null&&nd.call(ud,od)){let vd=te$5(dd,fd(od))?te$5(dd,pd(od),{backwards:!0})?F$3:x$5:" ";ld.push(vd)}else ld.push(F$3);let md=Ue$3(dd,Ge$3(dd,fd(od)));return md!==!1&&te$5(dd,md)&&ld.push(F$3),ld}function pc(Ra,qa,nd){var od;let ld=Ra.node,ud=as$1(Ra,qa),{printer:dd,originalText:pd,locStart:fd}=qa,md=(od=dd.isBlockComment)==null?void 0:od.call(dd,ld);if(nd!=null&&nd.hasLineSuffix&&!(nd!=null&&nd.isBlock)||te$5(pd,fd(ld),{backwards:!0})){let vd=mi$1(pd,fd(ld));return{doc:Wn$2([F$3,vd?F$3:"",ud]),isBlock:md,hasLineSuffix:!0}}return!md||nd!=null&&nd.hasLineSuffix?{doc:[Wn$2([" ",ud]),Ee$6],isBlock:md,hasLineSuffix:!0}:{doc:[" ",ud],isBlock:md,hasLineSuffix:!1}}function M$6(Ra,qa,nd={}){let{node:od}=Ra;if(!w$2(od==null?void 0:od.comments))return"";let{indent:ld=!1,marker:ud,filter:dd=ac$2}=nd,pd=[];if(Ra.each(({node:md})=>{md.leading||md.trailing||md.marker!==ud||!dd(md)||pd.push(as$1(Ra,qa))},"comments"),pd.length===0)return"";let fd=P$6(F$3,pd);return ld?f$2([F$3,fd]):fd}function os$1(Ra,qa){let nd=Ra.node;if(!nd)return{};let od=qa[Symbol.for("printedComments")];if((nd.comments||[]).filter(pd=>!od.has(pd)).length===0)return{leading:"",trailing:""};let ld=[],ud=[],dd;return Ra.each(()=>{let pd=Ra.node;if(od!=null&&od.has(pd))return;let{leading:fd,trailing:md}=pd;fd?ld.push(oc$1(Ra,qa)):md&&(dd=pc(Ra,qa,dd),ud.push(dd.doc))},"comments"),{leading:ld,trailing:ud}}function ye$5(Ra,qa,nd){let{leading:od,trailing:ld}=os$1(Ra,nd);return!od&&!ld?qa:ir$3(qa,ud=>[od,ud,ld])}var ps=class extends Error{constructor(qa,nd,od="type"){super(`Unexpected ${nd} node ${od}: ${JSON.stringify(qa[od])}.`);wg(this,"name","UnexpectedNodeError");this.node=qa}},Me$5=ps;function cs$3(Ra){if(typeof Ra!="string")throw new TypeError("Expected a string");return Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Re$6,ls=class{constructor(Ra){Ws(this,Re$6),Gs$1(this,Re$6,new Set(Ra))}getLeadingWhitespaceCount(Ra){let qa=pt$4(this,Re$6),nd=0;for(let od=0;od<Ra.length&&qa.has(Ra.charAt(od));od++)nd++;return nd}getTrailingWhitespaceCount(Ra){let qa=pt$4(this,Re$6),nd=0;for(let od=Ra.length-1;od>=0&&qa.has(Ra.charAt(od));od--)nd++;return nd}getLeadingWhitespace(Ra){let qa=this.getLeadingWhitespaceCount(Ra);return Ra.slice(0,qa)}getTrailingWhitespace(Ra){let qa=this.getTrailingWhitespaceCount(Ra);return Ra.slice(Ra.length-qa)}hasLeadingWhitespace(Ra){return pt$4(this,Re$6).has(Ra.charAt(0))}hasTrailingWhitespace(Ra){return pt$4(this,Re$6).has(O$3(!1,Ra,-1))}trimStart(Ra){let qa=this.getLeadingWhitespaceCount(Ra);return Ra.slice(qa)}trimEnd(Ra){let qa=this.getTrailingWhitespaceCount(Ra);return Ra.slice(0,Ra.length-qa)}trim(Ra){return this.trimEnd(this.trimStart(Ra))}split(Ra,qa=!1){let nd=`[${cs$3([...pt$4(this,Re$6)].join(""))}]+`,od=new RegExp(qa?`(${nd})`:nd,"u");return Ra.split(od)}hasWhitespaceCharacter(Ra){let qa=pt$4(this,Re$6);return Array.prototype.some.call(Ra,nd=>qa.has(nd))}hasNonWhitespaceCharacter(Ra){let qa=pt$4(this,Re$6);return Array.prototype.some.call(Ra,nd=>!qa.has(nd))}isWhitespaceOnly(Ra){let qa=pt$4(this,Re$6);return Array.prototype.every.call(Ra,nd=>qa.has(nd))}};Re$6=new WeakMap;var yi$2=ls,Nr$2=new yi$2(`
|
||
\r `),ms$1=Ra=>Ra===""||Ra===x$5||Ra===F$3||Ra===E$5;function cc$1(Ra,qa,nd){var od,ld,ud;let{node:dd}=Ra;if(dd.type==="JSXElement"&&gc$1(dd))return[nd("openingElement"),nd("closingElement")];let pd=dd.type==="JSXElement"?nd("openingElement"):nd("openingFragment"),fd=dd.type==="JSXElement"?nd("closingElement"):nd("closingFragment");if(dd.children.length===1&&dd.children[0].type==="JSXExpressionContainer"&&(dd.children[0].expression.type==="TemplateLiteral"||dd.children[0].expression.type==="TaggedTemplateExpression"))return[pd,...Ra.map(nd,"children"),fd];dd.children=dd.children.map(zd=>Sc(zd)?{type:"JSXText",value:" ",raw:" "}:zd);let md=dd.children.some(X$6),vd=dd.children.filter(zd=>zd.type==="JSXExpressionContainer").length>1,Ad=dd.type==="JSXElement"&&dd.openingElement.attributes.length>1,Nd=ne$5(pd)||md||Ad||vd,Id=Ra.parent.rootMarker==="mdx",Od=qa.singleQuote?"{' '}":'{" "}',Md=Id?" ":b$3([Od,E$5]," "),Ud=((ld=(od=dd.openingElement)==null?void 0:od.name)==null?void 0:ld.name)==="fbt",jd=lc$1(Ra,qa,nd,Md,Ud),Ld=dd.children.some(zd=>pr$2(zd));for(let zd=jd.length-2;zd>=0;zd--){let Xd=jd[zd]===""&&jd[zd+1]==="",gf=jd[zd]===F$3&&jd[zd+1]===""&&jd[zd+2]===F$3,Yd=(jd[zd]===E$5||jd[zd]===F$3)&&jd[zd+1]===""&&jd[zd+2]===Md,Zd=jd[zd]===Md&&jd[zd+1]===""&&(jd[zd+2]===E$5||jd[zd+2]===F$3),df=jd[zd]===Md&&jd[zd+1]===""&&jd[zd+2]===Md,Ef=jd[zd]===E$5&&jd[zd+1]===""&&jd[zd+2]===F$3||jd[zd]===F$3&&jd[zd+1]===""&&jd[zd+2]===E$5;gf&&Ld||Xd||Yd||df||Ef?jd.splice(zd,2):Zd&&jd.splice(zd+1,2)}for(;jd.length>0&&ms$1(O$3(!1,jd,-1));)jd.pop();for(;jd.length>1&&ms$1(jd[0])&&ms$1(jd[1]);)jd.shift(),jd.shift();let Bd=[];for(let[zd,Xd]of jd.entries()){if(Xd===Md){if(zd===1&&jd[zd-1]===""){if(jd.length===2){Bd.push(Od);continue}Bd.push([Od,F$3]);continue}else if(zd===jd.length-1){Bd.push(Od);continue}else if(jd[zd-1]===""&&jd[zd-2]===F$3){Bd.push(Od);continue}}Bd.push(Xd),ne$5(Xd)&&(Nd=!0)}let Gd=Ld?qt$4(Bd):l$2(Bd,{shouldBreak:!0});if(((ud=qa.cursorNode)==null?void 0:ud.type)==="JSXText"&&dd.children.includes(qa.cursorNode)&&(Gd=[Un$3,Gd,Un$3]),Id)return Gd;let qd=l$2([pd,f$2([F$3,Gd]),F$3,fd]);return Nd?qd:ze$5([l$2([pd,...jd,fd]),qd])}function lc$1(Ra,qa,nd,od,ld){let ud=[];return Ra.each(({node:dd,next:pd})=>{if(dd.type==="JSXText"){let fd=fe$6(dd);if(pr$2(dd)){let md=Nr$2.split(fd,!0);md[0]===""&&(ud.push(""),md.shift(),/\n/u.test(md[0])?ud.push(fi$3(ld,md[1],dd,pd)):ud.push(od),md.shift());let vd;if(O$3(!1,md,-1)===""&&(md.pop(),vd=md.pop()),md.length===0)return;for(let[Ad,Nd]of md.entries())Ad%2===1?ud.push(x$5):ud.push(Nd);vd!==void 0?/\n/u.test(vd)?ud.push(fi$3(ld,O$3(!1,ud,-1),dd,pd)):ud.push(od):ud.push(Di$2(ld,O$3(!1,ud,-1),dd,pd))}else/\n/u.test(fd)?fd.match(/\n/gu).length>1&&ud.push("",F$3):ud.push("",od)}else{let fd=nd();if(ud.push(fd),pd&&pr$2(pd)){let md=Nr$2.trim(fe$6(pd)),[vd]=Nr$2.split(md);ud.push(Di$2(ld,vd,dd,pd))}else ud.push(F$3)}},"children"),ud}function Di$2(Ra,qa,nd,od){return Ra?"":nd.type==="JSXElement"&&!nd.closingElement||(od==null?void 0:od.type)==="JSXElement"&&!od.closingElement?qa.length===1?E$5:F$3:E$5}function fi$3(Ra,qa,nd,od){return Ra?F$3:qa.length===1?nd.type==="JSXElement"&&!nd.closingElement||(od==null?void 0:od.type)==="JSXElement"&&!od.closingElement?F$3:E$5:F$3}var mc=new Set(["ArrayExpression","TupleExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot"]);function yc$1(Ra,qa,nd){let{parent:od}=Ra;if(mc.has(od.type))return qa;let ld=Ra.match(void 0,dd=>dd.type==="ArrowFunctionExpression",L$6,dd=>dd.type==="JSXExpressionContainer"),ud=Be$6(Ra,nd);return l$2([ud?"":b$3("("),f$2([E$5,qa]),E$5,ud?"":b$3(")")],{shouldBreak:ld})}function Dc(Ra,qa,nd){let{node:od}=Ra,ld=[];if(ld.push(nd("name")),od.value){let ud;if(Q$6(od.value)){let dd=fe$6(od.value),pd=N$6(!1,N$6(!1,dd.slice(1,-1),"'","'"),""",'"'),fd=xr$2(pd,qa.jsxSingleQuote);pd=fd==='"'?N$6(!1,pd,'"',"""):N$6(!1,pd,"'","'"),ud=Ra.call(()=>ye$5(Ra,Ie$4(fd+pd+fd),qa),"value")}else ud=nd("value");ld.push("=",ud)}return ld}function fc(Ra,qa,nd){let{node:od}=Ra,ld=(ud,dd)=>ud.type==="JSXEmptyExpression"||!d$2(ud)&&(U$6(ud)||se$5(ud)||ud.type==="ArrowFunctionExpression"||ud.type==="AwaitExpression"&&(ld(ud.argument,ud)||ud.argument.type==="JSXElement")||L$6(ud)||ud.type==="ChainExpression"&&L$6(ud.expression)||ud.type==="FunctionExpression"||ud.type==="TemplateLiteral"||ud.type==="TaggedTemplateExpression"||ud.type==="DoExpression"||X$6(dd)&&(ud.type==="ConditionalExpression"||De$4(ud)));return ld(od.expression,Ra.parent)?l$2(["{",nd("expression"),ke$5,"}"]):l$2(["{",f$2([E$5,nd("expression")]),E$5,ke$5,"}"])}function Ec$1(Ra,qa,nd){var od,ld;let{node:ud}=Ra,dd=d$2(ud.name)||d$2(ud.typeParameters)||d$2(ud.typeArguments);if(ud.selfClosing&&ud.attributes.length===0&&!dd)return["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters")," />"];if(((od=ud.attributes)==null?void 0:od.length)===1&&Q$6(ud.attributes[0].value)&&!ud.attributes[0].value.value.includes(`
|
||
`)&&!dd&&!d$2(ud.attributes[0]))return l$2(["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters")," ",...Ra.map(nd,"attributes"),ud.selfClosing?" />":">"]);let pd=(ld=ud.attributes)==null?void 0:ld.some(md=>Q$6(md.value)&&md.value.value.includes(`
|
||
`)),fd=qa.singleAttributePerLine&&ud.attributes.length>1?F$3:x$5;return l$2(["<",nd("name"),ud.typeArguments?nd("typeArguments"):nd("typeParameters"),f$2(Ra.map(()=>[fd,nd()],"attributes")),...Fc$1(ud,qa,dd)],{shouldBreak:pd})}function Fc$1(Ra,qa,nd){return Ra.selfClosing?[x$5,"/>"]:Cc(Ra,qa,nd)?[">"]:[E$5,">"]}function Cc(Ra,qa,nd){let od=Ra.attributes.length>0&&d$2(O$3(!1,Ra.attributes,-1),g$4.Trailing);return Ra.attributes.length===0&&!nd||(qa.bracketSameLine||qa.jsxBracketSameLine)&&(!nd||Ra.attributes.length>0)&&!od}function Ac(Ra,qa,nd){let{node:od}=Ra,ld=[];ld.push("</");let ud=nd("name");return d$2(od.name,g$4.Leading|g$4.Line)?ld.push(f$2([F$3,ud]),F$3):d$2(od.name,g$4.Leading|g$4.Block)?ld.push(" ",ud):ld.push(ud),ld.push(">"),ld}function Tc(Ra,qa){let{node:nd}=Ra,od=d$2(nd),ld=d$2(nd,g$4.Line),ud=nd.type==="JSXOpeningFragment";return[ud?"<":"</",f$2([ld?F$3:od&&!ud?" ":"",M$6(Ra,qa)]),ld?F$3:"",">"]}function dc$1(Ra,qa,nd){let od=ye$5(Ra,cc$1(Ra,qa,nd),qa);return yc$1(Ra,od,qa)}function xc$1(Ra,qa){let{node:nd}=Ra,od=d$2(nd,g$4.Line);return[M$6(Ra,qa,{indent:od}),od?F$3:""]}function hc(Ra,qa,nd){let{node:od}=Ra;return["{",Ra.call(({node:ld})=>{let ud=["...",nd()];return!d$2(ld)||!zn$3(Ra)?ud:[f$2([E$5,ye$5(Ra,ud,qa)]),E$5]},od.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Ei$1(Ra,qa,nd){let{node:od}=Ra;if(od.type.startsWith("JSX"))switch(od.type){case"JSXAttribute":return Dc(Ra,qa,nd);case"JSXIdentifier":return od.name;case"JSXNamespacedName":return P$6(":",[nd("namespace"),nd("name")]);case"JSXMemberExpression":return P$6(".",[nd("object"),nd("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return hc(Ra,qa,nd);case"JSXExpressionContainer":return fc(Ra,qa,nd);case"JSXFragment":case"JSXElement":return dc$1(Ra,qa,nd);case"JSXOpeningElement":return Ec$1(Ra,qa,nd);case"JSXClosingElement":return Ac(Ra,qa,nd);case"JSXOpeningFragment":case"JSXClosingFragment":return Tc(Ra,qa);case"JSXEmptyExpression":return xc$1(Ra,qa);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Me$5(od,"JSX")}}function gc$1(Ra){if(Ra.children.length===0)return!0;if(Ra.children.length>1)return!1;let qa=Ra.children[0];return qa.type==="JSXText"&&!pr$2(qa)}function pr$2(Ra){return Ra.type==="JSXText"&&(Nr$2.hasNonWhitespaceCharacter(fe$6(Ra))||!/\n/u.test(fe$6(Ra)))}function Sc(Ra){return Ra.type==="JSXExpressionContainer"&&Q$6(Ra.expression)&&Ra.expression.value===" "&&!d$2(Ra.expression)}function Fi$1(Ra){let{node:qa,parent:nd}=Ra;if(!X$6(qa)||!X$6(nd))return!1;let{index:od,siblings:ld}=Ra,ud;for(let dd=od;dd>0;dd--){let pd=ld[dd-1];if(!(pd.type==="JSXText"&&!pr$2(pd))){ud=pd;break}}return(ud==null?void 0:ud.type)==="JSXExpressionContainer"&&ud.expression.type==="JSXEmptyExpression"&&Bt$4(ud.expression)}function Bc(Ra){return Bt$4(Ra.node)||Fi$1(Ra)}var Xr$2=Bc,bc$1=0;function Yr$2(Ra,qa,nd){var od;let{node:ld,parent:ud,grandparent:dd,key:pd}=Ra,fd=pd!=="body"&&(ud.type==="IfStatement"||ud.type==="WhileStatement"||ud.type==="SwitchStatement"||ud.type==="DoWhileStatement"),md=ld.operator==="|>"&&((od=Ra.root.extra)==null?void 0:od.__isUsingHackPipeline),vd=ys$1(Ra,nd,qa,!1,fd);if(fd)return vd;if(md)return l$2(vd);if(L$6(ud)&&ud.callee===ld||ud.type==="UnaryExpression"||q$6(ud)&&!ud.computed)return l$2([f$2([E$5,...vd]),E$5]);let Ad=ud.type==="ReturnStatement"||ud.type==="ThrowStatement"||ud.type==="JSXExpressionContainer"&&dd.type==="JSXAttribute"||ld.operator!=="|"&&ud.type==="JsExpressionRoot"||ld.type!=="NGPipeExpression"&&(ud.type==="NGRoot"&&qa.parser==="__ng_binding"||ud.type==="NGMicrosyntaxExpression"&&dd.type==="NGMicrosyntax"&&dd.body.length===1)||ld===ud.body&&ud.type==="ArrowFunctionExpression"||ld!==ud.body&&ud.type==="ForStatement"||ud.type==="ConditionalExpression"&&dd.type!=="ReturnStatement"&&dd.type!=="ThrowStatement"&&!L$6(dd)||ud.type==="TemplateLiteral",Nd=ud.type==="AssignmentExpression"||ud.type==="VariableDeclarator"||ud.type==="ClassProperty"||ud.type==="PropertyDefinition"||ud.type==="TSAbstractPropertyDefinition"||ud.type==="ClassPrivateProperty"||Ae$5(ud),Id=De$4(ld.left)&&nr$2(ld.operator,ld.left.operator);if(Ad||Ut$4(ld)&&!Id||!Ut$4(ld)&&Nd)return l$2(vd);if(vd.length===0)return"";let Od=X$6(ld.right),Md=vd.findIndex(qd=>typeof qd!="string"&&!Array.isArray(qd)&&qd.type===le$5),Ud=vd.slice(0,Md===-1?1:Md+1),jd=vd.slice(Ud.length,Od?-1:void 0),Ld=Symbol("logicalChain-"+ ++bc$1),Bd=l$2([...Ud,f$2(jd)],{id:Ld});if(!Od)return Bd;let Gd=O$3(!1,vd,-1);return l$2([Bd,At$3(Gd,{groupId:Ld})])}function ys$1(Ra,qa,nd,od,ld){var ud;let{node:dd}=Ra;if(!De$4(dd))return[l$2(qa())];let pd=[];nr$2(dd.operator,dd.left.operator)?pd=Ra.call(Ud=>ys$1(Ud,qa,nd,!0,ld),"left"):pd.push(l$2(qa("left")));let fd=Ut$4(dd),md=(dd.operator==="|>"||dd.type==="NGPipeExpression"||Pc(Ra,nd))&&!Oe$5(nd.originalText,dd.right),vd=dd.type==="NGPipeExpression"?"|":dd.operator,Ad=dd.type==="NGPipeExpression"&&dd.arguments.length>0?l$2(f$2([E$5,": ",P$6([x$5,": "],Ra.map(()=>he$3(2,l$2(qa())),"arguments"))])):"",Nd;if(fd)Nd=[vd," ",qa("right"),Ad];else{let Ud=vd==="|>"&&((ud=Ra.root.extra)!=null&&ud.__isUsingHackPipeline)?Ra.call(jd=>ys$1(jd,qa,nd,!0,ld),"right"):qa("right");Nd=[md?x$5:"",vd,md?" ":x$5,Ud,Ad]}let{parent:Id}=Ra,Od=d$2(dd.left,g$4.Trailing|g$4.Line),Md=Od||!(ld&&dd.type==="LogicalExpression")&&Id.type!==dd.type&&dd.left.type!==dd.type&&dd.right.type!==dd.type;if(pd.push(md?"":" ",Md?l$2(Nd,{shouldBreak:Od}):Nd),od&&d$2(dd)){let Ud=Wt$3(ye$5(Ra,pd,nd));return Ud.type===Pe$5?Ud.parts:Array.isArray(Ud)?Ud:[Ud]}return pd}function Ut$4(Ra){return Ra.type!=="LogicalExpression"?!1:!!(se$5(Ra.right)&&Ra.right.properties.length>0||U$6(Ra.right)&&Ra.right.elements.length>0||X$6(Ra.right))}var Ci$1=Ra=>Ra.type==="BinaryExpression"&&Ra.operator==="|";function Pc(Ra,qa){return(qa.parser==="__vue_expression"||qa.parser==="__vue_ts_expression")&&Ci$1(Ra.node)&&!Ra.hasAncestor(nd=>!Ci$1(nd)&&nd.type!=="JsExpressionRoot")}function Ti$1(Ra,qa,nd){let{node:od}=Ra;if(od.type.startsWith("NG"))switch(od.type){case"NGRoot":return[nd("node"),d$2(od.node)?" //"+ct$3(od.node)[0].value.trimEnd():""];case"NGPipeExpression":return Yr$2(Ra,qa,nd);case"NGChainedExpression":return l$2(P$6([";",x$5],Ra.map(()=>Ic$1(Ra)?nd():["(",nd(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return Ra.map(()=>[Ra.isFirst?"":Ai$1(Ra)?" ":[";",x$5],nd()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(od.name)?od.name:JSON.stringify(od.name);case"NGMicrosyntaxExpression":return[nd("expression"),od.alias===null?"":[" as ",nd("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:ld,parent:ud}=Ra,dd=Ai$1(Ra)||(ld===1&&(od.key.name==="then"||od.key.name==="else"||od.key.name==="as")||(ld===2||ld===3)&&(od.key.name==="else"&&ud.body[ld-1].type==="NGMicrosyntaxKeyedExpression"&&ud.body[ld-1].key.name==="then"||od.key.name==="track"))&&ud.body[0].type==="NGMicrosyntaxExpression";return[nd("key"),dd?" ":": ",nd("expression")]}case"NGMicrosyntaxLet":return["let ",nd("key"),od.value===null?"":[" = ",nd("value")]];case"NGMicrosyntaxAs":return[nd("key")," as ",nd("alias")];default:throw new Me$5(od,"Angular")}}function Ai$1({node:Ra,index:qa}){return Ra.type==="NGMicrosyntaxKeyedExpression"&&Ra.key.name==="of"&&qa===1}var kc$1=v$2(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function Ic$1({node:Ra}){return tr$2(Ra,kc$1)}function Ds$1(Ra,qa,nd){let{node:od}=Ra;return l$2([P$6(x$5,Ra.map(nd,"decorators")),hi$2(od,qa)?F$3:x$5])}function di$3(Ra,qa,nd){return gi$1(Ra.node)?[P$6(F$3,Ra.map(nd,"declaration","decorators")),F$3]:""}function xi$1(Ra,qa,nd){let{node:od,parent:ld}=Ra,{decorators:ud}=od;if(!w$2(ud)||gi$1(ld)||Xr$2(Ra))return"";let dd=od.type==="ClassExpression"||od.type==="ClassDeclaration"||hi$2(od,qa);return[Ra.key==="declaration"&&iu$1(ld)?F$3:dd?Ee$6:"",P$6(x$5,Ra.map(nd,"decorators")),x$5]}function hi$2(Ra,qa){return Ra.decorators.some(nd=>te$5(qa.originalText,k$2(nd)))}function gi$1(Ra){var qa;if(Ra.type!=="ExportDefaultDeclaration"&&Ra.type!=="ExportNamedDeclaration"&&Ra.type!=="DeclareExportDeclaration")return!1;let nd=(qa=Ra.declaration)==null?void 0:qa.decorators;return w$2(nd)&&ht$3(Ra,nd[0])}var Dt$3=class extends Error{constructor(){super(...arguments);wg(this,"name","ArgExpansionBailout")}};function Lc(Ra,qa,nd){let{node:od}=Ra,ld=oe$5(od);if(ld.length===0)return["(",M$6(Ra,qa),")"];let ud=ld.length-1;if(_c(ld)){let Nd=["("];return Rt$4(Ra,(Id,Od)=>{Nd.push(nd()),Od!==ud&&Nd.push(", ")}),Nd.push(")"),Nd}let dd=!1,pd=[];Rt$4(Ra,({node:Nd},Id)=>{let Od=nd();Id===ud||(pe$3(Nd,qa)?(dd=!0,Od=[Od,",",F$3,F$3]):Od=[Od,",",x$5]),pd.push(Od)});let fd=od.type==="ImportExpression"||od.callee.type==="Import",md=!qa.parser.startsWith("__ng_")&&!fd&&ae$4(qa,"all")?",":"";function vd(){return l$2(["(",f$2([x$5,...pd]),md,x$5,")"],{shouldBreak:!0})}if(dd||Ra.parent.type!=="Decorator"&&lu$2(ld))return vd();if(Oc(ld)){let Nd=pd.slice(1);if(Nd.some(ne$5))return vd();let Id;try{Id=nd(Rn$2(od,0),{expandFirstArg:!0})}catch(Od){if(Od instanceof Dt$3)return vd();throw Od}return ne$5(Id)?[Ee$6,ze$5([["(",l$2(Id,{shouldBreak:!0}),", ",...Nd,")"],vd()])]:ze$5([["(",Id,", ",...Nd,")"],["(",l$2(Id,{shouldBreak:!0}),", ",...Nd,")"],vd()])}if(wc(ld,pd,qa)){let Nd=pd.slice(0,-1);if(Nd.some(ne$5))return vd();let Id;try{Id=nd(Rn$2(od,-1),{expandLastArg:!0})}catch(Od){if(Od instanceof Dt$3)return vd();throw Od}return ne$5(Id)?[Ee$6,ze$5([["(",...Nd,l$2(Id,{shouldBreak:!0}),")"],vd()])]:ze$5([["(",...Nd,Id,")"],["(",...Nd,l$2(Id,{shouldBreak:!0}),")"],vd()])}let Ad=["(",f$2([E$5,...pd]),b$3(md),E$5,")"];return Or$2(Ra)?Ad:l$2(Ad,{shouldBreak:pd.some(ne$5)||dd})}function cr$3(Ra,qa=!1){return se$5(Ra)&&(Ra.properties.length>0||d$2(Ra))||U$6(Ra)&&(Ra.elements.length>0||d$2(Ra))||Ra.type==="TSTypeAssertion"&&cr$3(Ra.expression)||Te$4(Ra)&&cr$3(Ra.expression)||Ra.type==="FunctionExpression"||Ra.type==="ArrowFunctionExpression"&&(!Ra.returnType||!Ra.returnType.typeAnnotation||Ra.returnType.typeAnnotation.type!=="TSTypeReference"||jc$1(Ra.body))&&(Ra.body.type==="BlockStatement"||Ra.body.type==="ArrowFunctionExpression"&&cr$3(Ra.body,!0)||se$5(Ra.body)||U$6(Ra.body)||!qa&&(L$6(Ra.body)||Ra.body.type==="ConditionalExpression")||X$6(Ra.body))||Ra.type==="DoExpression"||Ra.type==="ModuleExpression"}function wc(Ra,qa,nd){var od,ld;let ud=O$3(!1,Ra,-1);if(Ra.length===1){let pd=O$3(!1,qa,-1);if((od=pd.label)!=null&&od.embed&&((ld=pd.label)==null?void 0:ld.hug)!==!1)return!0}let dd=O$3(!1,Ra,-2);return!d$2(ud,g$4.Leading)&&!d$2(ud,g$4.Trailing)&&cr$3(ud)&&(!dd||dd.type!==ud.type)&&(Ra.length!==2||dd.type!=="ArrowFunctionExpression"||!U$6(ud))&&!(Ra.length>1&&fs$1(ud,nd))}function Oc(Ra){if(Ra.length!==2)return!1;let[qa,nd]=Ra;return qa.type==="ModuleExpression"&&vc(nd)?!0:!d$2(qa)&&(qa.type==="FunctionExpression"||qa.type==="ArrowFunctionExpression"&&qa.body.type==="BlockStatement")&&nd.type!=="FunctionExpression"&&nd.type!=="ArrowFunctionExpression"&&nd.type!=="ConditionalExpression"&&Bi$1(nd)&&!cr$3(nd)}function Bi$1(Ra){if(Ra.type==="ParenthesizedExpression")return Bi$1(Ra.expression);if(Te$4(Ra)||Ra.type==="TypeCastExpression"){let{typeAnnotation:qa}=Ra;if(qa.type==="TypeAnnotation"&&(qa=qa.typeAnnotation),qa.type==="TSArrayType"&&(qa=qa.elementType,qa.type==="TSArrayType"&&(qa=qa.elementType)),qa.type==="GenericTypeAnnotation"||qa.type==="TSTypeReference"){let nd=qa.typeArguments??qa.typeParameters;(nd==null?void 0:nd.params.length)===1&&(qa=nd.params[0])}return Mt$4(qa)&&be$7(Ra.expression,1)}return lt$3(Ra)&&oe$5(Ra).length>1?!1:De$4(Ra)?be$7(Ra.left,1)&&be$7(Ra.right,1):vn$2(Ra)||be$7(Ra)}function _c(Ra){return Ra.length===2?Si$1(Ra,0):Ra.length===3?Ra[0].type==="Identifier"&&Si$1(Ra,1):!1}function Si$1(Ra,qa){let nd=Ra[qa],od=Ra[qa+1];return nd.type==="ArrowFunctionExpression"&&K$6(nd).length===0&&nd.body.type==="BlockStatement"&&od.type==="ArrayExpression"&&!Ra.some(ld=>d$2(ld))}function jc$1(Ra){return Ra.type==="BlockStatement"&&(Ra.body.some(qa=>qa.type!=="EmptyStatement")||d$2(Ra,g$4.Dangling))}function vc(Ra){return Ra.type==="ObjectExpression"&&Ra.properties.length===1&&Ae$5(Ra.properties[0])&&Ra.properties[0].key.type==="Identifier"&&Ra.properties[0].key.name==="type"&&Q$6(Ra.properties[0].value)&&Ra.properties[0].value.value==="module"}var lr$1=Lc,Mc$1=Ra=>((Ra.type==="ChainExpression"||Ra.type==="TSNonNullExpression")&&(Ra=Ra.expression),L$6(Ra)&&oe$5(Ra).length>0);function bi$2(Ra,qa,nd){var od;let ld=nd("object"),ud=Es(Ra,qa,nd),{node:dd}=Ra,pd=Ra.findAncestor(vd=>!(q$6(vd)||vd.type==="TSNonNullExpression")),fd=Ra.findAncestor(vd=>!(vd.type==="ChainExpression"||vd.type==="TSNonNullExpression")),md=pd&&(pd.type==="NewExpression"||pd.type==="BindExpression"||pd.type==="AssignmentExpression"&&pd.left.type!=="Identifier")||dd.computed||dd.object.type==="Identifier"&&dd.property.type==="Identifier"&&!q$6(fd)||(fd.type==="AssignmentExpression"||fd.type==="VariableDeclarator")&&(Mc$1(dd.object)||((od=ld.label)==null?void 0:od.memberChain));return it$3(ld.label,[ld,md?ud:l$2(f$2([E$5,ud]))])}function Es(Ra,qa,nd){let od=nd("property"),{node:ld}=Ra,ud=V$6(Ra);return ld.computed?!ld.property||Ce$4(ld.property)?[ud,"[",od,"]"]:l$2([ud,"[",f$2([E$5,od]),E$5,"]"]):[ud,".",od]}function Pi$1(Ra,qa,nd){if(Ra.node.type==="ChainExpression")return Ra.call(()=>Pi$1(Ra,qa,nd),"expression");let{parent:od}=Ra,ld=!od||od.type==="ExpressionStatement",ud=[];function dd(xf){let{originalText:vf}=qa,Af=yt$2(vf,k$2(xf));return vf.charAt(Af)===")"?Af!==!1&&Ot$3(vf,Af+1):pe$3(xf,qa)}function pd(xf){let{node:vf}=xf;if(vf.type==="ChainExpression")return xf.call(()=>pd(xf),"expression");if(L$6(vf)&&(Ft$4(vf.callee)||L$6(vf.callee))){let Af=dd(vf);ud.unshift({node:vf,hasTrailingEmptyLine:Af,printed:[ye$5(xf,[V$6(xf),Qe$3(xf,qa,nd),lr$1(xf,qa,nd)],qa),Af?F$3:""]}),xf.call(Df=>pd(Df),"callee")}else Ft$4(vf)?(ud.unshift({node:vf,needsParens:Be$6(xf,qa),printed:ye$5(xf,q$6(vf)?Es(xf,qa,nd):Hr$3(xf,qa,nd),qa)}),xf.call(Af=>pd(Af),"object")):vf.type==="TSNonNullExpression"?(ud.unshift({node:vf,printed:ye$5(xf,"!",qa)}),xf.call(Af=>pd(Af),"expression")):ud.unshift({node:vf,printed:nd()})}let{node:fd}=Ra;ud.unshift({node:fd,printed:[V$6(Ra),Qe$3(Ra,qa,nd),lr$1(Ra,qa,nd)]}),fd.callee&&Ra.call(xf=>pd(xf),"callee");let md=[],vd=[ud[0]],Ad=1;for(;Ad<ud.length&&(ud[Ad].node.type==="TSNonNullExpression"||L$6(ud[Ad].node)||q$6(ud[Ad].node)&&ud[Ad].node.computed&&Ce$4(ud[Ad].node.property));++Ad)vd.push(ud[Ad]);if(!L$6(ud[0].node))for(;Ad+1<ud.length&&Ft$4(ud[Ad].node)&&Ft$4(ud[Ad+1].node);++Ad)vd.push(ud[Ad]);md.push(vd),vd=[];let Nd=!1;for(;Ad<ud.length;++Ad){if(Nd&&Ft$4(ud[Ad].node)){if(ud[Ad].node.computed&&Ce$4(ud[Ad].node.property)){vd.push(ud[Ad]);continue}md.push(vd),vd=[],Nd=!1}(L$6(ud[Ad].node)||ud[Ad].node.type==="ImportExpression")&&(Nd=!0),vd.push(ud[Ad]),d$2(ud[Ad].node,g$4.Trailing)&&(md.push(vd),vd=[],Nd=!1)}vd.length>0&&md.push(vd);function Id(xf){return/^[A-Z]|^[$_]+$/u.test(xf)}function Od(xf){return xf.length<=qa.tabWidth}function Md(xf){var vf;let Af=(vf=xf[1][0])==null?void 0:vf.node.computed;if(xf[0].length===1){let jf=xf[0][0].node;return jf.type==="ThisExpression"||jf.type==="Identifier"&&(Id(jf.name)||ld&&Od(jf.name)||Af)}let Df=O$3(!1,xf[0],-1).node;return q$6(Df)&&Df.property.type==="Identifier"&&(Id(Df.property.name)||Af)}let Ud=md.length>=2&&!d$2(md[1][0].node)&&Md(md);function jd(xf){let vf=xf.map(Af=>Af.printed);return xf.length>0&&O$3(!1,xf,-1).needsParens?["(",...vf,")"]:vf}function Ld(xf){return xf.length===0?"":f$2([F$3,P$6(F$3,xf.map(jd))])}let Bd=md.map(jd),Gd=Bd,qd=Ud?3:2,zd=md.flat(),Xd=zd.slice(1,-1).some(xf=>d$2(xf.node,g$4.Leading))||zd.slice(0,-1).some(xf=>d$2(xf.node,g$4.Trailing))||md[qd]&&d$2(md[qd][0].node,g$4.Leading);if(md.length<=qd&&!Xd&&!md.some(xf=>O$3(!1,xf,-1).hasTrailingEmptyLine))return Or$2(Ra)?Gd:l$2(Gd);let gf=O$3(!1,md[Ud?1:0],-1).node,Yd=!L$6(gf)&&dd(gf),Zd=[jd(md[0]),Ud?md.slice(1,2).map(jd):"",Yd?F$3:"",Ld(md.slice(Ud?2:1))],df=ud.map(({node:xf})=>xf).filter(L$6);function Ef(){let xf=O$3(!1,O$3(!1,md,-1),-1).node,vf=O$3(!1,Bd,-1);return L$6(xf)&&ne$5(vf)&&df.slice(0,-1).some(Af=>Af.arguments.some(_t$3))}let _f;return Xd||df.length>2&&df.some(xf=>!xf.arguments.every(vf=>be$7(vf)))||Bd.slice(0,-1).some(ne$5)||Ef()?_f=l$2(Zd):_f=[ne$5(Gd)||Yd?Ee$6:"",ze$5([Gd,Zd])],it$3({memberChain:!0},_f)}var ki$1=Pi$1;function Vr$2(Ra,qa,nd){var od;let{node:ld}=Ra,ud=ld.type==="NewExpression",dd=ld.type==="ImportExpression",pd=V$6(Ra),fd=oe$5(ld),md=fd.length===1&&Lr$2(fd[0],qa.originalText);if(md||Rc$1(Ra)||St$3(ld,Ra.parent)){let Ad=[];if(Rt$4(Ra,()=>{Ad.push(nd())}),!(md&&(od=Ad[0].label)!=null&&od.embed))return[ud?"new ":"",Ii(Ra,nd),pd,Qe$3(Ra,qa,nd),"(",P$6(", ",Ad),")"]}if(!dd&&!ud&&Ft$4(ld.callee)&&!Ra.call(Ad=>Be$6(Ad,qa),"callee",...ld.callee.type==="ChainExpression"?["expression"]:[]))return ki$1(Ra,qa,nd);let vd=[ud?"new ":"",Ii(Ra,nd),pd,Qe$3(Ra,qa,nd),lr$1(Ra,qa,nd)];return dd||L$6(ld.callee)?l$2(vd):vd}function Ii(Ra,qa){let{node:nd}=Ra;return nd.type==="ImportExpression"?`import${nd.phase?`.${nd.phase}`:""}`:qa("callee")}function Rc$1(Ra){let{node:qa}=Ra;if(qa.type!=="CallExpression"||qa.optional||qa.callee.type!=="Identifier")return!1;let nd=oe$5(qa);return qa.callee.name==="require"?nd.length===1&&Q$6(nd[0])||nd.length>1:qa.callee.name==="define"&&Ra.parent.type==="ExpressionStatement"?nd.length===1||nd.length===2&&nd[0].type==="ArrayExpression"||nd.length===3&&Q$6(nd[0])&&nd[1].type==="ArrayExpression":!1}function Tt$3(Ra,qa,nd,od,ld,ud){let dd=Jc$1(Ra,qa,nd,od,ud),pd=ud?nd(ud,{assignmentLayout:dd}):"";switch(dd){case"break-after-operator":return l$2([l$2(od),ld,l$2(f$2([x$5,pd]))]);case"never-break-after-operator":return l$2([l$2(od),ld," ",pd]);case"fluid":{let fd=Symbol("assignment");return l$2([l$2(od),ld,l$2(f$2(x$5),{id:fd}),ke$5,At$3(pd,{groupId:fd})])}case"break-lhs":return l$2([od,ld," ",l$2(pd)]);case"chain":return[l$2(od),ld,x$5,pd];case"chain-tail":return[l$2(od),ld,f$2([x$5,pd])];case"chain-tail-arrow-chain":return[l$2(od),ld,pd];case"only-left":return od}}function wi$1(Ra,qa,nd){let{node:od}=Ra;return Tt$3(Ra,qa,nd,nd("left"),[" ",od.operator],"right")}function Oi(Ra,qa,nd){return Tt$3(Ra,qa,nd,nd("id")," =","init")}function Jc$1(Ra,qa,nd,od,ld){let{node:ud}=Ra,dd=ud[ld];if(!dd)return"only-left";let pd=!$r$2(dd);if(Ra.match($r$2,_i$1,vd=>!pd||vd.type!=="ExpressionStatement"&&vd.type!=="VariableDeclaration"))return pd?dd.type==="ArrowFunctionExpression"&&dd.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!pd&&$r$2(dd.right)||Oe$5(qa.originalText,dd))return"break-after-operator";if(ud.type==="ImportAttribute"||dd.type==="CallExpression"&&dd.callee.name==="require"||qa.parser==="json5"||qa.parser==="jsonc"||qa.parser==="json")return"never-break-after-operator";let fd=Bu$1(od);if(Wc$1(ud)||Xc$1(ud)||Fs(ud)&&fd)return"break-lhs";let md=Hc$1(ud,od,qa);return Ra.call(()=>qc(Ra,qa,nd,md),ld)?"break-after-operator":Gc$1(ud)?"break-lhs":!fd&&(md||dd.type==="TemplateLiteral"||dd.type==="TaggedTemplateExpression"||dd.type==="BooleanLiteral"||Ce$4(dd)||dd.type==="ClassExpression")?"never-break-after-operator":"fluid"}function qc(Ra,qa,nd,od){let ld=Ra.node;if(De$4(ld)&&!Ut$4(ld))return!0;switch(ld.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"TSConditionalType":case"ConditionalTypeAnnotation":if(!qa.experimentalTernaries&&!Kc$1(ld))break;return!0;case"ConditionalExpression":{if(!qa.experimentalTernaries){let{test:md}=ld;return De$4(md)&&!Ut$4(md)}let{consequent:pd,alternate:fd}=ld;return pd.type==="ConditionalExpression"||fd.type==="ConditionalExpression"}case"ClassExpression":return w$2(ld.decorators)}if(od)return!1;let ud=ld,dd=[];for(;;)if(ud.type==="UnaryExpression"||ud.type==="AwaitExpression"||ud.type==="YieldExpression"&&ud.argument!==null)ud=ud.argument,dd.push("argument");else if(ud.type==="TSNonNullExpression")ud=ud.expression,dd.push("expression");else break;return!!(Q$6(ud)||Ra.call(()=>ji(Ra,qa,nd),...dd))}function Wc$1(Ra){if(_i$1(Ra)){let qa=Ra.left||Ra.id;return qa.type==="ObjectPattern"&&qa.properties.length>2&&qa.properties.some(nd=>{var od;return Ae$5(nd)&&(!nd.shorthand||((od=nd.value)==null?void 0:od.type)==="AssignmentPattern")})}return!1}function $r$2(Ra){return Ra.type==="AssignmentExpression"}function _i$1(Ra){return $r$2(Ra)||Ra.type==="VariableDeclarator"}function Gc$1(Ra){let qa=Nc$1(Ra);if(w$2(qa)){let nd=Ra.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(qa.length>1&&qa.some(od=>od[nd]||od.default))return!0}return!1}var Uc$1=v$2(["TSTypeAliasDeclaration","TypeAlias"]);function Nc$1(Ra){var qa;if(Uc$1(Ra))return(qa=Ra.typeParameters)==null?void 0:qa.params}function Xc$1(Ra){if(Ra.type!=="VariableDeclarator")return!1;let{typeAnnotation:qa}=Ra.id;if(!qa||!qa.typeAnnotation)return!1;let nd=Li(qa.typeAnnotation);return w$2(nd)&&nd.length>1&&nd.some(od=>w$2(Li(od))||od.type==="TSConditionalType")}function Fs(Ra){var qa;return Ra.type==="VariableDeclarator"&&((qa=Ra.init)==null?void 0:qa.type)==="ArrowFunctionExpression"}var Yc$1=v$2(["TSTypeReference","GenericTypeAnnotation"]);function Li(Ra){var qa;if(Yc$1(Ra))return(qa=Ra.typeArguments??Ra.typeParameters)==null?void 0:qa.params}function ji(Ra,qa,nd,od=!1){var ld;let{node:ud}=Ra,dd=()=>ji(Ra,qa,nd,!0);if(ud.type==="ChainExpression"||ud.type==="TSNonNullExpression")return Ra.call(dd,"expression");if(L$6(ud)){if((ld=Vr$2(Ra,qa,nd).label)!=null&&ld.memberChain)return!1;let pd=oe$5(ud);return!(pd.length===0||pd.length===1&&rr$2(pd[0],qa))||Vc$1(ud,nd)?!1:Ra.call(dd,"callee")}return q$6(ud)?Ra.call(dd,"object"):od&&(ud.type==="Identifier"||ud.type==="ThisExpression")}function Hc$1(Ra,qa,nd){return Ae$5(Ra)?(qa=Wt$3(qa),typeof qa=="string"&&et$4(qa)<nd.tabWidth+3):!1}function Vc$1(Ra,qa){let nd=$c$1(Ra);if(w$2(nd)){if(nd.length>1)return!0;if(nd.length===1){let ld=nd[0];if(Ne$4(ld)||_r$2(ld)||ld.type==="TSTypeLiteral"||ld.type==="ObjectTypeAnnotation")return!0}let od=Ra.typeParameters?"typeParameters":"typeArguments";if(ne$5(qa(od)))return!0}return!1}function $c$1(Ra){var qa;return(qa=Ra.typeParameters??Ra.typeArguments)==null?void 0:qa.params}function Kc$1(Ra){function qa(nd){switch(nd.type){case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"TSFunctionType":return!!nd.typeParameters;case"TSTypeReference":return!!(nd.typeArguments??nd.typeParameters);default:return!1}}return qa(Ra.checkType)||qa(Ra.extendsType)}function Je$3(Ra,qa,nd,od,ld){let ud=Ra.node,dd=K$6(ud),pd=ld?Qe$3(Ra,nd,qa):"";if(dd.length===0)return[pd,"(",M$6(Ra,nd,{filter:Id=>ge$6(nd.originalText,k$2(Id))===")"}),")"];let{parent:fd}=Ra,md=St$3(fd),vd=Cs(ud),Ad=[];if(fu$1(Ra,(Id,Od)=>{let Md=Od===dd.length-1;Md&&ud.rest&&Ad.push("..."),Ad.push(qa()),!Md&&(Ad.push(","),md||vd?Ad.push(" "):pe$3(dd[Od],nd)?Ad.push(F$3,F$3):Ad.push(x$5))}),od&&!Qc$1(Ra)){if(ne$5(pd)||ne$5(Ad))throw new Dt$3;return l$2([ur$2(pd),"(",ur$2(Ad),")"])}let Nd=dd.every(Id=>!w$2(Id.decorators));return vd&&Nd?[pd,"(",...Ad,")"]:md?[pd,"(",...Ad,")"]:(Ir$2(fd)||ou$2(fd)||fd.type==="TypeAlias"||fd.type==="UnionTypeAnnotation"||fd.type==="IntersectionTypeAnnotation"||fd.type==="FunctionTypeAnnotation"&&fd.returnType===ud)&&dd.length===1&&dd[0].name===null&&ud.this!==dd[0]&&dd[0].typeAnnotation&&ud.typeParameters===null&&Mt$4(dd[0].typeAnnotation)&&!ud.rest?nd.arrowParens==="always"||ud.type==="HookTypeAnnotation"?["(",...Ad,")"]:Ad:[pd,"(",f$2([E$5,...Ad]),b$3(!Du$2(ud)&&ae$4(nd,"all")?",":""),E$5,")"]}function Cs(Ra){if(!Ra)return!1;let qa=K$6(Ra);if(qa.length!==1)return!1;let[nd]=qa;return!d$2(nd)&&(nd.type==="ObjectPattern"||nd.type==="ArrayPattern"||nd.type==="Identifier"&&nd.typeAnnotation&&(nd.typeAnnotation.type==="TypeAnnotation"||nd.typeAnnotation.type==="TSTypeAnnotation")&&we$5(nd.typeAnnotation.typeAnnotation)||nd.type==="FunctionTypeParam"&&we$5(nd.typeAnnotation)&&nd!==Ra.rest||nd.type==="AssignmentPattern"&&(nd.left.type==="ObjectPattern"||nd.left.type==="ArrayPattern")&&(nd.right.type==="Identifier"||se$5(nd.right)&&nd.right.properties.length===0||U$6(nd.right)&&nd.right.elements.length===0))}function zc$1(Ra){let qa;return Ra.returnType?(qa=Ra.returnType,qa.typeAnnotation&&(qa=qa.typeAnnotation)):Ra.typeAnnotation&&(qa=Ra.typeAnnotation),qa}function ot$3(Ra,qa){var nd;let od=zc$1(Ra);if(!od)return!1;let ld=(nd=Ra.typeParameters)==null?void 0:nd.params;if(ld){if(ld.length>1)return!1;if(ld.length===1){let ud=ld[0];if(ud.constraint||ud.default)return!1}}return K$6(Ra).length===1&&(we$5(od)||ne$5(qa))}function Qc$1(Ra){return Ra.match(qa=>qa.type==="ArrowFunctionExpression"&&qa.body.type==="BlockStatement",(qa,nd)=>{if(qa.type==="CallExpression"&&nd==="arguments"&&qa.arguments.length===1&&qa.callee.type==="CallExpression"){let od=qa.callee.callee;return od.type==="Identifier"||od.type==="MemberExpression"&&!od.computed&&od.object.type==="Identifier"&&od.property.type==="Identifier"}return!1},(qa,nd)=>qa.type==="VariableDeclarator"&&nd==="init"||qa.type==="ExportDefaultDeclaration"&&nd==="declaration"||qa.type==="TSExportAssignment"&&nd==="expression"||qa.type==="AssignmentExpression"&&nd==="right"&&qa.left.type==="MemberExpression"&&qa.left.object.type==="Identifier"&&qa.left.object.name==="module"&&qa.left.property.type==="Identifier"&&qa.left.property.name==="exports",qa=>qa.type!=="VariableDeclaration"||qa.kind==="const"&&qa.declarations.length===1)}function vi$1(Ra){let qa=K$6(Ra);return qa.length>1&&qa.some(nd=>nd.type==="TSParameterProperty")}var Zc$1=v$2(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),el$2=v$2(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function tl$2(Ra){let{types:qa}=Ra;if(qa.some(od=>d$2(od)))return!1;let nd=qa.find(od=>el$2(od));return nd?qa.every(od=>od===nd||Zc$1(od)):!1}function As$1(Ra){return Mt$4(Ra)||we$5(Ra)?!0:Ne$4(Ra)?tl$2(Ra):!1}function Mi$1(Ra,qa,nd){let od=qa.semi?";":"",{node:ld}=Ra,ud=[$$3(Ra),"opaque type ",nd("id"),nd("typeParameters")];return ld.supertype&&ud.push(": ",nd("supertype")),ld.impltype&&ud.push(" = ",nd("impltype")),ud.push(od),ud}function Kr$3(Ra,qa,nd){let od=qa.semi?";":"",{node:ld}=Ra,ud=[$$3(Ra)];ud.push("type ",nd("id"),nd("typeParameters"));let dd=ld.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Tt$3(Ra,qa,nd,ud," =",dd),od]}function zr$2(Ra,qa,nd){let od=!1;return l$2(Ra.map(({isFirst:ld,previous:ud,node:dd,index:pd})=>{let fd=nd();if(ld)return fd;let md=we$5(dd),vd=we$5(ud);return vd&&md?[" & ",od?f$2(fd):fd]:!vd&&!md?f$2([" &",x$5,fd]):(pd>1&&(od=!0),[" & ",pd>1?f$2(fd):fd])},"types"))}function Qr$2(Ra,qa,nd){let{node:od}=Ra,{parent:ld}=Ra,ud=ld.type!=="TypeParameterInstantiation"&&(ld.type!=="TSConditionalType"||!qa.experimentalTernaries)&&(ld.type!=="ConditionalTypeAnnotation"||!qa.experimentalTernaries)&&ld.type!=="TSTypeParameterInstantiation"&&ld.type!=="GenericTypeAnnotation"&&ld.type!=="TSTypeReference"&&ld.type!=="TSTypeAssertion"&&ld.type!=="TupleTypeAnnotation"&&ld.type!=="TSTupleType"&&!(ld.type==="FunctionTypeParam"&&!ld.name&&Ra.grandparent.this!==ld)&&!((ld.type==="TypeAlias"||ld.type==="VariableDeclarator"||ld.type==="TSTypeAliasDeclaration")&&Oe$5(qa.originalText,od)),dd=As$1(od),pd=Ra.map(vd=>{let Ad=nd();return dd||(Ad=he$3(2,Ad)),ye$5(vd,Ad,qa)},"types");if(dd)return P$6(" | ",pd);let fd=ud&&!Oe$5(qa.originalText,od),md=[b$3([fd?x$5:"","| "]),P$6([x$5,"| "],pd)];return Be$6(Ra,qa)?l$2([f$2(md),E$5]):(ld.type==="TupleTypeAnnotation"||ld.type==="TSTupleType")&&ld[ld.type==="TupleTypeAnnotation"&&ld.types?"types":"elementTypes"].length>1?l$2([f$2([b$3(["(",E$5]),md]),E$5,b$3(")")]):l$2(ud?f$2(md):md)}function rl$2(Ra){var qa;let{node:nd,parent:od}=Ra;return nd.type==="FunctionTypeAnnotation"&&(Ir$2(od)||!((od.type==="ObjectTypeProperty"||od.type==="ObjectTypeInternalSlot")&&!od.variance&&!od.optional&&ht$3(od,nd)||od.type==="ObjectTypeCallProperty"||((qa=Ra.getParentNode(2))==null?void 0:qa.type)==="DeclareFunction"))}function Zr$2(Ra,qa,nd){let{node:od}=Ra,ld=[Nt$3(Ra)];(od.type==="TSConstructorType"||od.type==="TSConstructSignatureDeclaration")&&ld.push("new ");let ud=Je$3(Ra,nd,qa,!1,!0),dd=[];return od.type==="FunctionTypeAnnotation"?dd.push(rl$2(Ra)?" => ":": ",nd("returnType")):dd.push(Y$5(Ra,nd,od.returnType?"returnType":"typeAnnotation")),ot$3(od,dd)&&(ud=l$2(ud)),ld.push(ud,dd),l$2(ld)}function en$3(Ra,qa,nd){return[nd("objectType"),V$6(Ra),"[",nd("indexType"),"]"]}function tn$3(Ra,qa,nd){return["infer ",nd("typeParameter")]}function Ts$1(Ra,qa,nd){let{node:od}=Ra;return[od.postfix?"":nd,Y$5(Ra,qa),od.postfix?nd:""]}function rn$3(Ra,qa,nd){let{node:od}=Ra;return["...",...od.type==="TupleTypeSpreadElement"&&od.label?[nd("label"),": "]:[],nd("typeAnnotation")]}function nn$3(Ra,qa,nd){let{node:od}=Ra;return[od.variance?nd("variance"):"",nd("label"),od.optional?"?":"",": ",nd("elementType")]}var nl$2=new WeakSet;function Y$5(Ra,qa,nd="typeAnnotation"){let{node:{[nd]:od}}=Ra;if(!od)return"";let ld=!1;if(od.type==="TSTypeAnnotation"||od.type==="TypeAnnotation"){let ud=Ra.call(Ri,nd);(ud==="=>"||ud===":"&&d$2(od,g$4.Leading))&&(ld=!0),nl$2.add(od)}return ld?[" ",qa(nd)]:qa(nd)}var Ri=Ra=>Ra.match(qa=>qa.type==="TSTypeAnnotation",(qa,nd)=>(nd==="returnType"||nd==="typeAnnotation")&&(qa.type==="TSFunctionType"||qa.type==="TSConstructorType"))?"=>":Ra.match(qa=>qa.type==="TSTypeAnnotation",(qa,nd)=>nd==="typeAnnotation"&&(qa.type==="TSJSDocNullableType"||qa.type==="TSJSDocNonNullableType"||qa.type==="TSTypePredicate"))||Ra.match(qa=>qa.type==="TypeAnnotation",(qa,nd)=>nd==="typeAnnotation"&&qa.type==="Identifier",(qa,nd)=>nd==="id"&&qa.type==="DeclareFunction")||Ra.match(qa=>qa.type==="TypeAnnotation",(qa,nd)=>nd==="typeAnnotation"&&qa.type==="Identifier",(qa,nd)=>nd==="id"&&qa.type==="DeclareHook")||Ra.match(qa=>qa.type==="TypeAnnotation",(qa,nd)=>nd==="bound"&&qa.type==="TypeParameter"&&qa.usesExtendsBound)?"":":";function sn$2(Ra,qa,nd){let od=Ri(Ra);return od?[od," ",nd("typeAnnotation")]:nd("typeAnnotation")}function un$3(Ra){return[Ra("elementType"),"[]"]}function an$4({node:Ra},qa){let nd=Ra.type==="TSTypeQuery"?"exprName":"argument",od=Ra.type==="TypeofTypeAnnotation"||Ra.typeArguments?"typeArguments":"typeParameters";return["typeof ",qa(nd),qa(od)]}function on$2(Ra,qa){let{node:nd}=Ra;return[nd.type==="TSTypePredicate"&&nd.asserts?"asserts ":nd.type==="TypePredicate"&&nd.kind?`${nd.kind} `:"",qa("parameterName"),nd.typeAnnotation?[" is ",Y$5(Ra,qa)]:""]}function V$6(Ra){let{node:qa}=Ra;return!qa.optional||qa.type==="Identifier"&&qa===Ra.parent.key?"":L$6(qa)||q$6(qa)&&qa.computed||qa.type==="OptionalIndexedAccessType"?"?.":"?"}function pn$3(Ra){return Ra.node.definite||Ra.match(void 0,(qa,nd)=>nd==="id"&&qa.type==="VariableDeclarator"&&qa.definite)?"!":""}var sl$1=new Set(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function $$3(Ra){let{node:qa}=Ra;return qa.declare||sl$1.has(qa.type)&&Ra.parent.type!=="DeclareExportDeclaration"?"declare ":""}var ul$2=new Set(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Nt$3({node:Ra}){return Ra.abstract||ul$2.has(Ra.type)?"abstract ":""}function Qe$3(Ra,qa,nd){let od=Ra.node;return od.typeArguments?nd("typeArguments"):od.typeParameters?nd("typeParameters"):""}function Hr$3(Ra,qa,nd){return["::",nd("callee")]}function ft$3(Ra,qa,nd){return Ra.type==="EmptyStatement"?";":Ra.type==="BlockStatement"||nd?[" ",qa]:f$2([x$5,qa])}function cn$4(Ra,qa){return["...",qa("argument"),Y$5(Ra,qa)]}function Xt$3(Ra){return Ra.accessibility?Ra.accessibility+" ":""}function il$2(Ra,qa,nd,od){let{node:ld}=Ra,ud=ld.inexact?"...":"";return d$2(ld,g$4.Dangling)?l$2([nd,ud,M$6(Ra,qa,{indent:!0}),E$5,od]):[nd,ud,od]}function Yt$2(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=od.type==="TupleExpression"?"#[":"[",dd="]",pd=od.type==="TupleTypeAnnotation"&&od.types?"types":od.type==="TSTupleType"||od.type==="TupleTypeAnnotation"?"elementTypes":"elements",fd=od[pd];if(fd.length===0)ld.push(il$2(Ra,qa,ud,dd));else{let md=O$3(!1,fd,-1),vd=(md==null?void 0:md.type)!=="RestElement"&&!od.inexact,Ad=md===null,Nd=Symbol("array"),Id=!qa.__inJestEach&&fd.length>1&&fd.every((Ud,jd,Ld)=>{let Bd=Ud==null?void 0:Ud.type;if(!U$6(Ud)&&!se$5(Ud))return!1;let Gd=Ld[jd+1];if(Gd&&Bd!==Gd.type)return!1;let qd=U$6(Ud)?"elements":"properties";return Ud[qd]&&Ud[qd].length>1}),Od=fs$1(od,qa),Md=vd?Ad?",":ae$4(qa)?Od?b$3(",","",{groupId:Nd}):b$3(","):"":"";ld.push(l$2([ud,f$2([E$5,Od?ol$2(Ra,qa,nd,Md):[al$3(Ra,qa,pd,od.inexact,nd),Md],M$6(Ra,qa)]),E$5,dd],{shouldBreak:Id,id:Nd}))}return ld.push(V$6(Ra),Y$5(Ra,nd)),ld}function fs$1(Ra,qa){return U$6(Ra)&&Ra.elements.length>1&&Ra.elements.every(nd=>nd&&(Ce$4(nd)||jn$2(nd)&&!d$2(nd.argument))&&!d$2(nd,g$4.Trailing|g$4.Line,od=>!te$5(qa.originalText,R$6(od),{backwards:!0})))}function Ji$2({node:Ra},{originalText:qa}){let nd=ld=>Lt$2(qa,wt$2(qa,ld)),od=ld=>qa[ld]===","?ld:od(nd(ld+1));return Ot$3(qa,od(k$2(Ra)))}function al$3(Ra,qa,nd,od,ld){let ud=[];return Ra.each(({node:dd,isLast:pd})=>{ud.push(dd?l$2(ld()):""),(!pd||od)&&ud.push([",",x$5,dd&&Ji$2(Ra,qa)?E$5:""])},nd),od&&ud.push("..."),ud}function ol$2(Ra,qa,nd,od){let ld=[];return Ra.each(({isLast:ud,next:dd})=>{ld.push([nd(),ud?od:","]),ud||ld.push(Ji$2(Ra,qa)?[F$3,F$3]:d$2(dd,g$4.Leading|g$4.Line)?F$3:x$5)},"elements"),qt$4(ld)}var qi$1=new Proxy(()=>{},{get:()=>qi$1}),ln$3=qi$1,pl$2=/^[\$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\u08B6-\u08BD\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\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\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-\u1884\u1887-\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\u1C80-\u1C88\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\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-\uA7AE\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][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\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\u08B6-\u08BD\u08D4-\u08E1\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\u0C80-\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\u0D54-\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\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-\u19D9\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\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\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-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\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]*$/,cl$3=Ra=>pl$2.test(Ra),Wi$1=cl$3;function ll$2(Ra){return Ra.length===1?Ra:Ra.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var Ze$4=ll$2,mn$3=new WeakMap;function Ui(Ra){return/^(?:\d+|\d+\.\d+)$/u.test(Ra)}function Gi(Ra,qa){return qa.parser==="json"||qa.parser==="jsonc"||!Q$6(Ra.key)||tt$4(fe$6(Ra.key),qa).slice(1,-1)!==Ra.key.value?!1:!!(Wi$1(Ra.key.value)&&!(qa.parser==="babel-ts"&&Ra.type==="ClassProperty"||qa.parser==="typescript"&&Ra.type==="PropertyDefinition")||Ui(Ra.key.value)&&String(Number(Ra.key.value))===Ra.key.value&&Ra.type!=="ImportAttribute"&&(qa.parser==="babel"||qa.parser==="acorn"||qa.parser==="espree"||qa.parser==="meriyah"||qa.parser==="__babel_estree"))}function ml$2(Ra,qa){let{key:nd}=Ra.node;return(nd.type==="Identifier"||Ce$4(nd)&&Ui(Ze$4(fe$6(nd)))&&String(nd.value)===Ze$4(fe$6(nd))&&!(qa.parser==="typescript"||qa.parser==="babel-ts"))&&(qa.parser==="json"||qa.parser==="jsonc"||qa.quoteProps==="consistent"&&mn$3.get(Ra.parent))}function Et$3(Ra,qa,nd){let{node:od}=Ra;if(od.computed)return["[",nd("key"),"]"];let{parent:ld}=Ra,{key:ud}=od;if(qa.quoteProps==="consistent"&&!mn$3.has(ld)){let dd=Ra.siblings.some(pd=>!pd.computed&&Q$6(pd.key)&&!Gi(pd,qa));mn$3.set(ld,dd)}if(ml$2(Ra,qa)){let dd=tt$4(JSON.stringify(ud.type==="Identifier"?ud.name:ud.value.toString()),qa);return Ra.call(pd=>ye$5(pd,dd,qa),"key")}return Gi(od,qa)&&(qa.quoteProps==="as-needed"||qa.quoteProps==="consistent"&&!mn$3.get(ld))?Ra.call(dd=>ye$5(dd,/^\d/u.test(ud.value)?Ze$4(ud.value):ud.value,qa),"key"):nd("key")}function yn$4(Ra,qa,nd){let{node:od}=Ra;return od.shorthand?nd("value"):Tt$3(Ra,qa,nd,Et$3(Ra,qa,nd),":","value")}var yl$2=({node:Ra,key:qa,parent:nd})=>qa==="value"&&Ra.type==="FunctionExpression"&&(nd.type==="ObjectMethod"||nd.type==="ClassMethod"||nd.type==="ClassPrivateMethod"||nd.type==="MethodDefinition"||nd.type==="TSAbstractMethodDefinition"||nd.type==="TSDeclareMethod"||nd.type==="Property"&>$3(nd));function Dn$2(Ra,qa,nd,od){if(yl$2(Ra))return fn$3(Ra,nd,qa);let{node:ld}=Ra,ud=!1;if((ld.type==="FunctionDeclaration"||ld.type==="FunctionExpression")&&od!=null&&od.expandLastArg){let{parent:vd}=Ra;L$6(vd)&&(oe$5(vd).length>1||K$6(ld).every(Ad=>Ad.type==="Identifier"&&!Ad.typeAnnotation))&&(ud=!0)}let dd=[$$3(Ra),ld.async?"async ":"",`function${ld.generator?"*":""} `,ld.id?qa("id"):""],pd=Je$3(Ra,qa,nd,ud),fd=Ht$3(Ra,qa),md=ot$3(ld,fd);return dd.push(Qe$3(Ra,nd,qa),l$2([md?l$2(pd):pd,fd]),ld.body?" ":"",qa("body")),nd.semi&&(ld.declare||!ld.body)&&dd.push(";"),dd}function mr$1(Ra,qa,nd){let{node:od}=Ra,{kind:ld}=od,ud=od.value||od,dd=[];return!ld||ld==="init"||ld==="method"||ld==="constructor"?ud.async&&dd.push("async "):(ln$3.ok(ld==="get"||ld==="set"),dd.push(ld," ")),ud.generator&&dd.push("*"),dd.push(Et$3(Ra,qa,nd),od.optional||od.key.optional?"?":"",od===ud?fn$3(Ra,qa,nd):nd("value")),dd}function fn$3(Ra,qa,nd){let{node:od}=Ra,ld=Je$3(Ra,nd,qa),ud=Ht$3(Ra,nd),dd=vi$1(od),pd=ot$3(od,ud),fd=[Qe$3(Ra,qa,nd),l$2([dd?l$2(ld,{shouldBreak:!0}):pd?l$2(ld):ld,ud])];return od.body?fd.push(" ",nd("body")):fd.push(qa.semi?";":""),fd}function Dl$2(Ra){let qa=K$6(Ra);return qa.length===1&&!Ra.typeParameters&&!d$2(Ra,g$4.Dangling)&&qa[0].type==="Identifier"&&!qa[0].typeAnnotation&&!d$2(qa[0])&&!qa[0].optional&&!Ra.predicate&&!Ra.returnType}function En$2(Ra,qa){if(qa.arrowParens==="always")return!1;if(qa.arrowParens==="avoid"){let{node:nd}=Ra;return Dl$2(nd)}return!1}function Ht$3(Ra,qa){let{node:nd}=Ra,od=[Y$5(Ra,qa,"returnType")];return nd.predicate&&od.push(qa("predicate")),od}function Ni(Ra,qa,nd){let{node:od}=Ra,ld=qa.semi?";":"",ud=[];if(od.argument){let fd=nd("argument");fl$2(qa,od.argument)?fd=["(",f$2([F$3,fd]),F$3,")"]:(De$4(od.argument)||od.argument.type==="SequenceExpression"||qa.experimentalTernaries&&od.argument.type==="ConditionalExpression"&&(od.argument.consequent.type==="ConditionalExpression"||od.argument.alternate.type==="ConditionalExpression"))&&(fd=l$2([b$3("("),f$2([E$5,fd]),E$5,b$3(")")])),ud.push(" ",fd)}let dd=d$2(od,g$4.Dangling),pd=ld&&dd&&d$2(od,g$4.Last|g$4.Line);return pd&&ud.push(ld),dd&&ud.push(" ",M$6(Ra,qa)),pd||ud.push(ld),ud}function Xi(Ra,qa,nd){return["return",Ni(Ra,qa,nd)]}function Yi(Ra,qa,nd){return["throw",Ni(Ra,qa,nd)]}function fl$2(Ra,qa){if(Oe$5(Ra.originalText,qa)||d$2(qa,g$4.Leading,nd=>de$4(Ra.originalText,R$6(nd),k$2(nd)))&&!X$6(qa))return!0;if(jt$2(qa)){let nd=qa,od;for(;od=uu$3(nd);)if(nd=od,Oe$5(Ra.originalText,nd))return!0}return!1}var ds=new WeakMap;function Hi(Ra){return ds.has(Ra)||ds.set(Ra,Ra.type==="ConditionalExpression"&&!ie$4(Ra,qa=>qa.type==="ObjectExpression")),ds.get(Ra)}var Vi=Ra=>Ra.type==="SequenceExpression";function $i$1(Ra,qa,nd,od={}){let ld=[],ud,dd=[],pd=!1,fd=!od.expandLastArg&&Ra.node.body.type==="ArrowFunctionExpression",md;(function Ud(){let{node:jd}=Ra,Ld=El$2(Ra,qa,nd,od);if(ld.length===0)ld.push(Ld);else{let{leading:Bd,trailing:Gd}=os$1(Ra,qa);ld.push([Bd,Ld]),dd.unshift(Gd)}fd&&(pd||(pd=jd.returnType&&K$6(jd).length>0||jd.typeParameters||K$6(jd).some(Bd=>Bd.type!=="Identifier"))),!fd||jd.body.type!=="ArrowFunctionExpression"?(ud=nd("body",od),md=jd.body):Ra.call(Ud,"body")})();let vd=!Oe$5(qa.originalText,md)&&(Vi(md)||Fl$2(md,ud,qa)||!pd&&Hi(md)),Ad=Ra.key==="callee"&<$3(Ra.parent),Nd=Symbol("arrow-chain"),Id=Cl$2(Ra,od,{signatureDocs:ld,shouldBreak:pd}),Od,Md=!1;return fd&&(Ad||od.assignmentLayout)&&(Md=!0,Od=od.assignmentLayout==="chain-tail-arrow-chain"||Ad&&!vd),ud=Al$2(Ra,qa,od,{bodyDoc:ud,bodyComments:dd,functionBody:md,shouldPutBodyOnSameLine:vd}),l$2([l$2(Md?f$2([E$5,Id]):Id,{shouldBreak:Od,id:Nd})," =>",fd?At$3(ud,{groupId:Nd}):l$2(ud),fd&&Ad?b$3(E$5,"",{groupId:Nd}):""])}function El$2(Ra,qa,nd,od){let{node:ld}=Ra,ud=[];if(ld.async&&ud.push("async "),En$2(Ra,qa))ud.push(nd(["params",0]));else{let pd=od.expandLastArg||od.expandFirstArg,fd=Ht$3(Ra,nd);if(pd){if(ne$5(fd))throw new Dt$3;fd=l$2(ur$2(fd))}ud.push(l$2([Je$3(Ra,nd,qa,pd,!0),fd]))}let dd=M$6(Ra,qa,{filter(pd){let fd=yt$2(qa.originalText,k$2(pd));return fd!==!1&&qa.originalText.slice(fd,fd+2)==="=>"}});return dd&&ud.push(" ",dd),ud}function Fl$2(Ra,qa,nd){var od,ld;return U$6(Ra)||se$5(Ra)||Ra.type==="ArrowFunctionExpression"||Ra.type==="DoExpression"||Ra.type==="BlockStatement"||X$6(Ra)||((od=qa.label)==null?void 0:od.hug)!==!1&&(((ld=qa.label)==null?void 0:ld.embed)||Lr$2(Ra,nd.originalText))}function Cl$2(Ra,qa,{signatureDocs:nd,shouldBreak:od}){if(nd.length===1)return nd[0];let{parent:ld,key:ud}=Ra;return ud!=="callee"&<$3(ld)||De$4(ld)?l$2([nd[0]," =>",f$2([x$5,P$6([" =>",x$5],nd.slice(1))])],{shouldBreak:od}):ud==="callee"&<$3(ld)||qa.assignmentLayout?l$2(P$6([" =>",x$5],nd),{shouldBreak:od}):l$2(f$2(P$6([" =>",x$5],nd)),{shouldBreak:od})}function Al$2(Ra,qa,nd,{bodyDoc:od,bodyComments:ld,functionBody:ud,shouldPutBodyOnSameLine:dd}){let{node:pd,parent:fd}=Ra,md=nd.expandLastArg&&ae$4(qa,"all")?b$3(","):"",vd=(nd.expandLastArg||fd.type==="JSXExpressionContainer")&&!d$2(pd)?E$5:"";return dd&&Hi(ud)?[" ",l$2([b$3("","("),f$2([E$5,od]),b$3("",")"),md,vd]),ld]:(Vi(ud)&&(od=l$2(["(",f$2([E$5,od]),E$5,")"])),dd?[" ",od,ld]:[f$2([x$5,od,ld]),md,vd])}var Tl$2=(Ra,qa,nd)=>{if(!(Ra&&qa==null)){if(qa.findLast)return qa.findLast(nd);for(let od=qa.length-1;od>=0;od--){let ld=qa[od];if(nd(ld,od,qa))return ld}}},Ki$1=Tl$2;function yr$1(Ra,qa,nd,od){let{node:ld}=Ra,ud=[],dd=Ki$1(!1,ld[od],pd=>pd.type!=="EmptyStatement");return Ra.each(({node:pd})=>{pd.type!=="EmptyStatement"&&(ud.push(nd()),pd!==dd&&(ud.push(F$3),pe$3(pd,qa)&&ud.push(F$3)))},od),ud}function Fn$2(Ra,qa,nd){let od=dl$2(Ra,qa,nd),{node:ld,parent:ud}=Ra;if(ld.type==="Program"&&(ud==null?void 0:ud.type)!=="ModuleExpression")return od?[od,F$3]:"";let dd=[];if(ld.type==="StaticBlock"&&dd.push("static "),dd.push("{"),od)dd.push(f$2([F$3,od]),F$3);else{let pd=Ra.grandparent;ud.type==="ArrowFunctionExpression"||ud.type==="FunctionExpression"||ud.type==="FunctionDeclaration"||ud.type==="ComponentDeclaration"||ud.type==="HookDeclaration"||ud.type==="ObjectMethod"||ud.type==="ClassMethod"||ud.type==="ClassPrivateMethod"||ud.type==="ForStatement"||ud.type==="WhileStatement"||ud.type==="DoWhileStatement"||ud.type==="DoExpression"||ud.type==="ModuleExpression"||ud.type==="CatchClause"&&!pd.finalizer||ud.type==="TSModuleDeclaration"||ld.type==="StaticBlock"||dd.push(F$3)}return dd.push("}"),dd}function dl$2(Ra,qa,nd){let{node:od}=Ra,ld=w$2(od.directives),ud=od.body.some(fd=>fd.type!=="EmptyStatement"),dd=d$2(od,g$4.Dangling);if(!ld&&!ud&&!dd)return"";let pd=[];return ld&&(pd.push(yr$1(Ra,qa,nd,"directives")),(ud||dd)&&(pd.push(F$3),pe$3(O$3(!1,od.directives,-1),qa)&&pd.push(F$3))),ud&&pd.push(yr$1(Ra,qa,nd,"body")),dd&&pd.push(M$6(Ra,qa)),pd}function xl$2(Ra){let qa=new WeakMap;return function(nd){return qa.has(nd)||qa.set(nd,Symbol(Ra)),qa.get(nd)}}var Cn$2=xl$2;function hl$2(Ra){switch(Ra){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function zi(Ra,qa,nd){let{node:od}=Ra;return l$2([od.variance?nd("variance"):"","[",f$2([nd("keyTparam")," in ",nd("sourceType")]),"]",hl$2(od.optional),": ",nd("propType")])}function xs$1(Ra,qa){return Ra==="+"||Ra==="-"?Ra+qa:qa}function Qi(Ra,qa,nd){let{node:od}=Ra,ld=de$4(qa.originalText,R$6(od),R$6(od.typeParameter));return l$2(["{",f$2([qa.bracketSpacing?x$5:E$5,l$2([nd("typeParameter"),od.optional?xs$1(od.optional,"?"):"",od.typeAnnotation?": ":"",nd("typeAnnotation")]),qa.semi?b$3(";"):""]),M$6(Ra,qa),qa.bracketSpacing?x$5:E$5,"}"],{shouldBreak:ld})}var Dr$1=Cn$2("typeParameters");function gl$2(Ra,qa,nd){let{node:od}=Ra;return K$6(od).length===1&&od.type.startsWith("TS")&&!od[nd][0].constraint&&Ra.parent.type==="ArrowFunctionExpression"&&!(qa.filepath&&/\.ts$/u.test(qa.filepath))}function Pt$2(Ra,qa,nd,od){let{node:ld}=Ra;if(!ld[od])return"";if(!Array.isArray(ld[od]))return nd(od);let ud=St$3(Ra.grandparent),dd=Ra.match(fd=>!(fd[od].length===1&&we$5(fd[od][0])),void 0,(fd,md)=>md==="typeAnnotation",fd=>fd.type==="Identifier",Fs);if(ld[od].length===0||!dd&&(ud||ld[od].length===1&&(ld[od][0].type==="NullableTypeAnnotation"||As$1(ld[od][0]))))return["<",P$6(", ",Ra.map(nd,od)),Sl$2(Ra,qa),">"];let pd=ld.type==="TSTypeParameterInstantiation"?"":gl$2(Ra,qa,od)?",":ae$4(qa)?b$3(","):"";return l$2(["<",f$2([E$5,P$6([",",x$5],Ra.map(nd,od))]),pd,E$5,">"],{id:Dr$1(ld)})}function Sl$2(Ra,qa){let{node:nd}=Ra;if(!d$2(nd,g$4.Dangling))return"";let od=!d$2(nd,g$4.Line),ld=M$6(Ra,qa,{indent:!od});return od?ld:[ld,F$3]}function An$2(Ra,qa,nd){let{node:od,parent:ld}=Ra,ud=[od.type==="TSTypeParameter"&&od.const?"const ":""],dd=od.type==="TSTypeParameter"?nd("name"):od.name;if(ld.type==="TSMappedType")return ld.readonly&&ud.push(xs$1(ld.readonly,"readonly")," "),ud.push("[",dd),od.constraint&&ud.push(" in ",nd("constraint")),ld.nameType&&ud.push(" as ",Ra.callParent(()=>nd("nameType"))),ud.push("]"),ud;if(od.variance&&ud.push(nd("variance")),od.in&&ud.push("in "),od.out&&ud.push("out "),ud.push(dd),od.bound&&(od.usesExtendsBound&&ud.push(" extends "),ud.push(Y$5(Ra,nd,"bound"))),od.constraint){let pd=Symbol("constraint");ud.push(" extends",l$2(f$2(x$5),{id:pd}),ke$5,At$3(nd("constraint"),{groupId:pd}))}return od.default&&ud.push(" = ",nd("default")),l$2(ud)}var Zi$1=v$2(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function Tn$2(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),Nt$3(Ra),"class"],ud=d$2(od.id,g$4.Trailing)||d$2(od.typeParameters,g$4.Trailing)||d$2(od.superClass)||w$2(od.extends)||w$2(od.mixins)||w$2(od.implements),dd=[],pd=[];if(od.id&&dd.push(" ",nd("id")),dd.push(nd("typeParameters")),od.superClass){let fd=[bl$3(Ra,qa,nd),nd(od.superTypeArguments?"superTypeArguments":"superTypeParameters")],md=Ra.call(vd=>["extends ",ye$5(vd,fd,qa)],"superClass");ud?pd.push(x$5,l$2(md)):pd.push(" ",md)}else pd.push(hs(Ra,qa,nd,"extends"));if(pd.push(hs(Ra,qa,nd,"mixins"),hs(Ra,qa,nd,"implements")),ud){let fd;ta$1(od)?fd=[...dd,f$2(pd)]:fd=f$2([...dd,pd]),ld.push(l$2(fd,{id:ea(od)}))}else ld.push(...dd,...pd);return ld.push(" ",nd("body")),ld}var ea=Cn$2("heritageGroup");function gs$2(Ra){return b$3(F$3,"",{groupId:ea(Ra)})}function Bl$2(Ra){return["extends","mixins","implements"].reduce((qa,nd)=>qa+(Array.isArray(Ra[nd])?Ra[nd].length:0),Ra.superClass?1:0)>1}function ta$1(Ra){return Ra.typeParameters&&!d$2(Ra.typeParameters,g$4.Trailing|g$4.Line)&&!Bl$2(Ra)}function hs(Ra,qa,nd,od){let{node:ld}=Ra;if(!w$2(ld[od]))return"";let ud=M$6(Ra,qa,{marker:od});return[ta$1(ld)?b$3(" ",x$5,{groupId:Dr$1(ld.typeParameters)}):x$5,ud,ud&&F$3,od,l$2(f$2([x$5,P$6([",",x$5],Ra.map(nd,od))]))]}function bl$3(Ra,qa,nd){let od=nd("superClass"),{parent:ld}=Ra;return ld.type==="AssignmentExpression"?l$2(b$3(["(",f$2([E$5,od]),E$5,")"],od)):od}function dn$4(Ra,qa,nd){let{node:od}=Ra,ld=[];return w$2(od.decorators)&&ld.push(Ds$1(Ra,qa,nd)),ld.push(Xt$3(od)),od.static&&ld.push("static "),ld.push(Nt$3(Ra)),od.override&&ld.push("override "),ld.push(mr$1(Ra,qa,nd)),ld}function xn$2(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=qa.semi?";":"";w$2(od.decorators)&&ld.push(Ds$1(Ra,qa,nd)),ld.push(Xt$3(od),$$3(Ra)),od.static&&ld.push("static "),ld.push(Nt$3(Ra)),od.override&&ld.push("override "),od.readonly&&ld.push("readonly "),od.variance&&ld.push(nd("variance")),(od.type==="ClassAccessorProperty"||od.type==="AccessorProperty"||od.type==="TSAbstractAccessorProperty")&&ld.push("accessor "),ld.push(Et$3(Ra,qa,nd),V$6(Ra),pn$3(Ra),Y$5(Ra,nd));let dd=od.type==="TSAbstractPropertyDefinition"||od.type==="TSAbstractAccessorProperty";return[Tt$3(Ra,qa,nd,ld," =",dd?void 0:"value"),ud]}function ra$2(Ra,qa,nd){let{node:od}=Ra,ld=[];return Ra.each(({node:ud,next:dd,isLast:pd})=>{ld.push(nd()),!qa.semi&&Zi$1(ud)&&Pl$2(ud,dd)&&ld.push(";"),pd||(ld.push(F$3),pe$3(ud,qa)&&ld.push(F$3))},"body"),d$2(od,g$4.Dangling)&&ld.push(M$6(Ra,qa)),[w$2(od.body)?gs$2(Ra.parent):"","{",ld.length>0?[f$2([F$3,ld]),F$3]:"","}"]}function Pl$2(Ra,qa){var nd;let{type:od,name:ld}=Ra.key;if(!Ra.computed&&od==="Identifier"&&(ld==="static"||ld==="get"||ld==="set")&&!Ra.value&&!Ra.typeAnnotation)return!0;if(!qa||qa.static||qa.accessibility||qa.readonly)return!1;if(!qa.computed){let ud=(nd=qa.key)==null?void 0:nd.name;if(ud==="in"||ud==="instanceof")return!0}if(Zi$1(qa)&&qa.variance&&!qa.static&&!qa.declare)return!0;switch(qa.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return qa.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((qa.value?qa.value.async:qa.async)||qa.kind==="get"||qa.kind==="set")return!1;let ud=qa.value?qa.value.generator:qa.generator;return!!(qa.computed||ud)}case"TSIndexSignature":return!0}return!1}function na$1(Ra,qa){if(qa.semi||Ss(Ra,qa)||bs$1(Ra,qa))return!1;let{node:nd,key:od,parent:ld}=Ra;return!!(nd.type==="ExpressionStatement"&&(od==="body"&&(ld.type==="Program"||ld.type==="BlockStatement"||ld.type==="StaticBlock"||ld.type==="TSModuleBlock")||od==="consequent"&&ld.type==="SwitchCase")&&Ra.call(()=>sa$1(Ra,qa),"expression"))}function sa$1(Ra,qa){let{node:nd}=Ra;switch(nd.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!En$2(Ra,qa))return!0;break;case"UnaryExpression":{let{prefix:od,operator:ld}=nd;if(od&&(ld==="+"||ld==="-"))return!0;break}case"BindExpression":if(!nd.object)return!0;break;case"Literal":if(nd.regex)return!0;break;default:if(X$6(nd))return!0}return Be$6(Ra,qa)?!0:jt$2(nd)?Ra.call(()=>sa$1(Ra,qa),...Pr$2(nd)):!1}function Ss({node:Ra,parent:qa},nd){return(nd.parentParser==="markdown"||nd.parentParser==="mdx")&&Ra.type==="ExpressionStatement"&&X$6(Ra.expression)&&qa.type==="Program"&&qa.body.length===1}function Bs$1(Ra){switch(Ra.type){case"MemberExpression":switch(Ra.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return Bs$1(Ra.object)}return!1;case"Identifier":return!0;default:return!1}}function bs$1({node:Ra,parent:qa},nd){return(nd.parser==="__vue_event_binding"||nd.parser==="__vue_ts_event_binding")&&Ra.type==="ExpressionStatement"&&qa.type==="Program"&&qa.body.length===1}function ua$1(Ra,qa,nd){let od=[nd("expression")];return bs$1(Ra,qa)?Bs$1(Ra.node.expression)&&od.push(";"):Ss(Ra,qa)||qa.semi&&od.push(";"),od}function ia(Ra,qa,nd){if(qa.__isVueBindings||qa.__isVueForBindingLeft){let od=Ra.map(nd,"program","body",0,"params");if(od.length===1)return od[0];let ld=P$6([",",x$5],od);return qa.__isVueForBindingLeft?["(",f$2([E$5,l$2(ld)]),E$5,")"]:ld}if(qa.__isEmbeddedTypescriptGenericParameters){let od=Ra.map(nd,"program","body",0,"typeParameters","params");return P$6([",",x$5],od)}}function pa$1(Ra,qa){let{node:nd}=Ra;switch(nd.type){case"RegExpLiteral":return aa$3(nd);case"BigIntLiteral":return hn$2(nd.extra.raw);case"NumericLiteral":return Ze$4(nd.extra.raw);case"StringLiteral":return Ie$4(tt$4(nd.extra.raw,qa));case"NullLiteral":return"null";case"BooleanLiteral":return String(nd.value);case"DecimalLiteral":return Ze$4(nd.value)+"m";case"DirectiveLiteral":return oa(nd.extra.raw,qa);case"Literal":{if(nd.regex)return aa$3(nd.regex);if(nd.bigint)return hn$2(nd.raw);if(nd.decimal)return Ze$4(nd.decimal)+"m";let{value:od}=nd;return typeof od=="number"?Ze$4(nd.raw):typeof od=="string"?kl$2(Ra)?oa(nd.raw,qa):Ie$4(tt$4(nd.raw,qa)):String(od)}}}function kl$2(Ra){if(Ra.key!=="expression")return;let{parent:qa}=Ra;return qa.type==="ExpressionStatement"&&qa.directive}function hn$2(Ra){return Ra.toLowerCase()}function aa$3({pattern:Ra,flags:qa}){return qa=[...qa].sort().join(""),`/${Ra}/${qa}`}function oa(Ra,qa){let nd=Ra.slice(1,-1);if(nd.includes('"')||nd.includes("'"))return Ra;let od=qa.singleQuote?"'":'"';return od+nd+od}function Il$2(Ra,qa,nd){let od=Ra.originalText.slice(qa,nd);for(let ld of Ra[Symbol.for("comments")]){let ud=R$6(ld);if(ud>nd)break;let dd=k$2(ld);if(dd<qa)continue;let pd=dd-ud;od=od.slice(0,ud-qa)+" ".repeat(pd)+od.slice(dd-qa)}return od}var fr$1=Il$2;function ca$2(Ra,qa,nd){let{node:od}=Ra;return["import",od.module?" module":"",od.phase?` ${od.phase}`:"",ks(od),ya(Ra,qa,nd),ma$1(Ra,qa,nd),fa(Ra,qa,nd),qa.semi?";":""]}var la$1=Ra=>Ra.type==="ExportDefaultDeclaration"||Ra.type==="DeclareExportDeclaration"&&Ra.default;function gn$3(Ra,qa,nd){let{node:od}=Ra,ld=[di$3(Ra,qa,nd),$$3(Ra),"export",la$1(od)?" default":""],{declaration:ud,exported:dd}=od;return d$2(od,g$4.Dangling)&&(ld.push(" ",M$6(Ra,qa)),wr$2(od)&&ld.push(F$3)),ud?ld.push(" ",nd("declaration")):(ld.push(Ol$2(od)),od.type==="ExportAllDeclaration"||od.type==="DeclareExportAllDeclaration"?(ld.push(" *"),dd&&ld.push(" as ",nd("exported"))):ld.push(ya(Ra,qa,nd)),ld.push(ma$1(Ra,qa,nd),fa(Ra,qa,nd))),ld.push(wl$2(od,qa)),ld}var Ll$2=v$2(["ClassDeclaration","ComponentDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","HookDeclaration","TSDeclareFunction","EnumDeclaration"]);function wl$2(Ra,qa){return qa.semi&&(!Ra.declaration||la$1(Ra)&&!Ll$2(Ra.declaration))?";":""}function Ps(Ra,qa=!0){return Ra&&Ra!=="value"?`${qa?" ":""}${Ra}${qa?"":" "}`:""}function ks(Ra,qa){return Ps(Ra.importKind,qa)}function Ol$2(Ra){return Ps(Ra.exportKind)}function ma$1(Ra,qa,nd){let{node:od}=Ra;if(!od.source)return"";let ld=[];return Da(od,qa)&&ld.push(" from"),ld.push(" ",nd("source")),ld}function ya(Ra,qa,nd){let{node:od}=Ra;if(!Da(od,qa))return"";let ld=[" "];if(w$2(od.specifiers)){let ud=[],dd=[];Ra.each(()=>{let pd=Ra.node.type;if(pd==="ExportNamespaceSpecifier"||pd==="ExportDefaultSpecifier"||pd==="ImportNamespaceSpecifier"||pd==="ImportDefaultSpecifier")ud.push(nd());else if(pd==="ExportSpecifier"||pd==="ImportSpecifier")dd.push(nd());else throw new Me$5(od,"specifier")},"specifiers"),ld.push(P$6(", ",ud)),dd.length>0&&(ud.length>0&&ld.push(", "),dd.length>1||ud.length>0||od.specifiers.some(pd=>d$2(pd))?ld.push(l$2(["{",f$2([qa.bracketSpacing?x$5:E$5,P$6([",",x$5],dd)]),b$3(ae$4(qa)?",":""),qa.bracketSpacing?x$5:E$5,"}"])):ld.push(["{",qa.bracketSpacing?" ":"",...dd,qa.bracketSpacing?" ":"","}"]))}else ld.push("{}");return ld}function Da(Ra,qa){return Ra.type!=="ImportDeclaration"||w$2(Ra.specifiers)||Ra.importKind==="type"?!0:fr$1(qa,R$6(Ra),R$6(Ra.source)).trimEnd().endsWith("from")}function _l$2(Ra,qa){var nd,od;if((nd=Ra.extra)!=null&&nd.deprecatedAssertSyntax)return"assert";let ld=fr$1(qa,k$2(Ra.source),(od=Ra.attributes)!=null&&od[0]?R$6(Ra.attributes[0]):k$2(Ra)).trimStart();return ld.startsWith("assert")?"assert":ld.startsWith("with")||w$2(Ra.attributes)?"with":void 0}function fa(Ra,qa,nd){let{node:od}=Ra;if(!od.source)return"";let ld=_l$2(od,qa);if(!ld)return"";let ud=[` ${ld} {`];return w$2(od.attributes)&&(qa.bracketSpacing&&ud.push(" "),ud.push(P$6(", ",Ra.map(nd,"attributes"))),qa.bracketSpacing&&ud.push(" ")),ud.push("}"),ud}function Ea(Ra,qa,nd){let{node:od}=Ra,{type:ld}=od,ud=ld.startsWith("Import"),dd=ud?"imported":"local",pd=ud?"local":"exported",fd=od[dd],md=od[pd],vd="",Ad="";return ld==="ExportNamespaceSpecifier"||ld==="ImportNamespaceSpecifier"?vd="*":fd&&(vd=nd(dd)),md&&!jl$2(od)&&(Ad=nd(pd)),[Ps(ld==="ImportSpecifier"?od.importKind:od.exportKind,!1),vd,vd&&Ad?" as ":"",Ad]}function jl$2(Ra){if(Ra.type!=="ImportSpecifier"&&Ra.type!=="ExportSpecifier")return!1;let{local:qa,[Ra.type==="ImportSpecifier"?"imported":"exported"]:nd}=Ra;if(qa.type!==nd.type||!eu$1(qa,nd))return!1;if(Q$6(qa))return qa.value===nd.value&&fe$6(qa)===fe$6(nd);switch(qa.type){case"Identifier":return qa.name===nd.name;default:return!1}}function dt$3(Ra,qa,nd){var od;let ld=qa.semi?";":"",{node:ud}=Ra,dd=ud.type==="ObjectTypeAnnotation",pd=ud.type==="TSEnumDeclaration"||ud.type==="EnumBooleanBody"||ud.type==="EnumNumberBody"||ud.type==="EnumBigIntBody"||ud.type==="EnumStringBody"||ud.type==="EnumSymbolBody",fd=[ud.type==="TSTypeLiteral"||pd?"members":ud.type==="TSInterfaceBody"?"body":"properties"];dd&&fd.push("indexers","callProperties","internalSlots");let md=fd.flatMap(zd=>Ra.map(({node:Xd})=>({node:Xd,printed:nd(),loc:R$6(Xd)}),zd));fd.length>1&&md.sort((zd,Xd)=>zd.loc-Xd.loc);let{parent:vd,key:Ad}=Ra,Nd=dd&&Ad==="body"&&(vd.type==="InterfaceDeclaration"||vd.type==="DeclareInterface"||vd.type==="DeclareClass"),Id=ud.type==="TSInterfaceBody"||pd||Nd||ud.type==="ObjectPattern"&&vd.type!=="FunctionDeclaration"&&vd.type!=="FunctionExpression"&&vd.type!=="ArrowFunctionExpression"&&vd.type!=="ObjectMethod"&&vd.type!=="ClassMethod"&&vd.type!=="ClassPrivateMethod"&&vd.type!=="AssignmentPattern"&&vd.type!=="CatchClause"&&ud.properties.some(zd=>zd.value&&(zd.value.type==="ObjectPattern"||zd.value.type==="ArrayPattern"))||ud.type!=="ObjectPattern"&&md.length>0&&de$4(qa.originalText,R$6(ud),md[0].loc),Od=Nd?";":ud.type==="TSInterfaceBody"||ud.type==="TSTypeLiteral"?b$3(ld,";"):",",Md=ud.type==="RecordExpression"?"#{":ud.exact?"{|":"{",Ud=ud.exact?"|}":"}",jd=[],Ld=md.map(zd=>{let Xd=[...jd,l$2(zd.printed)];return jd=[Od,x$5],(zd.node.type==="TSPropertySignature"||zd.node.type==="TSMethodSignature"||zd.node.type==="TSConstructSignatureDeclaration"||zd.node.type==="TSCallSignatureDeclaration")&&d$2(zd.node,g$4.PrettierIgnore)&&jd.shift(),pe$3(zd.node,qa)&&jd.push(F$3),Xd});if(ud.inexact||ud.hasUnknownMembers){let zd;if(d$2(ud,g$4.Dangling)){let Xd=d$2(ud,g$4.Line);zd=[M$6(Ra,qa),Xd||te$5(qa.originalText,k$2(O$3(!1,ct$3(ud),-1)))?F$3:x$5,"..."]}else zd=["..."];Ld.push([...jd,...zd])}let Bd=(od=O$3(!1,md,-1))==null?void 0:od.node,Gd=!(ud.inexact||ud.hasUnknownMembers||Bd&&(Bd.type==="RestElement"||(Bd.type==="TSPropertySignature"||Bd.type==="TSCallSignatureDeclaration"||Bd.type==="TSMethodSignature"||Bd.type==="TSConstructSignatureDeclaration")&&d$2(Bd,g$4.PrettierIgnore))),qd;if(Ld.length===0){if(!d$2(ud,g$4.Dangling))return[Md,Ud,Y$5(Ra,nd)];qd=l$2([Md,M$6(Ra,qa,{indent:!0}),E$5,Ud,V$6(Ra),Y$5(Ra,nd)])}else qd=[Nd&&w$2(ud.properties)?gs$2(vd):"",Md,f$2([qa.bracketSpacing?x$5:E$5,...Ld]),b$3(Gd&&(Od!==","||ae$4(qa))?Od:""),qa.bracketSpacing?x$5:E$5,Ud,V$6(Ra),Y$5(Ra,nd)];return Ra.match(zd=>zd.type==="ObjectPattern"&&!w$2(zd.decorators),Is$1)||we$5(ud)&&(Ra.match(void 0,(zd,Xd)=>Xd==="typeAnnotation",(zd,Xd)=>Xd==="typeAnnotation",Is$1)||Ra.match(void 0,(zd,Xd)=>zd.type==="FunctionTypeParam"&&Xd==="typeAnnotation",Is$1))||!Id&&Ra.match(zd=>zd.type==="ObjectPattern",zd=>zd.type==="AssignmentExpression"||zd.type==="VariableDeclarator")?qd:l$2(qd,{shouldBreak:Id})}function Is$1(Ra,qa){return(qa==="params"||qa==="parameters"||qa==="this"||qa==="rest")&&Cs(Ra)}function vl$2(Ra){let qa=[Ra];for(let nd=0;nd<qa.length;nd++){let od=qa[nd];for(let ld of["test","consequent","alternate"]){let ud=od[ld];if(X$6(ud))return!0;ud.type==="ConditionalExpression"&&qa.push(ud)}}return!1}function Ml$2(Ra,qa,nd){let{node:od}=Ra,ld=od.type==="ConditionalExpression",ud=ld?"alternate":"falseType",{parent:dd}=Ra,pd=ld?nd("test"):[nd("checkType")," ","extends"," ",nd("extendsType")];return dd.type===od.type&&dd[ud]===od?he$3(2,pd):pd}var Rl$2=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function Jl$2(Ra){let{node:qa}=Ra;if(qa.type!=="ConditionalExpression")return!1;let nd,od=qa;for(let ld=0;!nd;ld++){let ud=Ra.getParentNode(ld);if(ud.type==="ChainExpression"&&ud.expression===od||L$6(ud)&&ud.callee===od||q$6(ud)&&ud.object===od||ud.type==="TSNonNullExpression"&&ud.expression===od){od=ud;continue}ud.type==="NewExpression"&&ud.callee===od||Te$4(ud)&&ud.expression===od?(nd=Ra.getParentNode(ld+1),od=ud):nd=ud}return od===qa?!1:nd[Rl$2.get(nd.type)]===od}function Fa(Ra,qa,nd){let{node:od}=Ra,ld=od.type==="ConditionalExpression",ud=ld?"consequent":"trueType",dd=ld?"alternate":"falseType",pd=ld?["test"]:["checkType","extendsType"],fd=od[ud],md=od[dd],vd=[],Ad=!1,{parent:Nd}=Ra,Id=Nd.type===od.type&&pd.some(Yd=>Nd[Yd]===od),Od=Nd.type===od.type&&!Id,Md,Ud,jd=0;do Ud=Md||od,Md=Ra.getParentNode(jd),jd++;while(Md&&Md.type===od.type&&pd.every(Yd=>Md[Yd]!==Ud));let Ld=Md||Nd,Bd=Ud;if(ld&&(X$6(od[pd[0]])||X$6(fd)||X$6(md)||vl$2(Bd))){Ad=!0,Od=!0;let Yd=df=>[b$3("("),f$2([E$5,df]),E$5,b$3(")")],Zd=df=>df.type==="NullLiteral"||df.type==="Literal"&&df.value===null||df.type==="Identifier"&&df.name==="undefined";vd.push(" ? ",Zd(fd)?nd(ud):Yd(nd(ud))," : ",md.type===od.type||Zd(md)?nd(dd):Yd(nd(dd)))}else{let Yd=df=>qa.useTabs?f$2(nd(df)):he$3(2,nd(df)),Zd=[x$5,"? ",fd.type===od.type?b$3("","("):"",Yd(ud),fd.type===od.type?b$3("",")"):"",x$5,": ",Yd(dd)];vd.push(Nd.type!==od.type||Nd[dd]===od||Id?Zd:qa.useTabs?Mr$2(f$2(Zd)):he$3(Math.max(0,qa.tabWidth-2),Zd))}let Gd=[ud,dd,...pd].some(Yd=>d$2(od[Yd],Zd=>re$5(Zd)&&de$4(qa.originalText,R$6(Zd),k$2(Zd)))),qd=Yd=>Nd===Ld?l$2(Yd,{shouldBreak:Gd}):Gd?[Yd,Ee$6]:Yd,zd=!Ad&&(q$6(Nd)||Nd.type==="NGPipeExpression"&&Nd.left===od)&&!Nd.computed,Xd=Jl$2(Ra),gf=qd([Ml$2(Ra,qa,nd),Od?vd:f$2(vd),ld&&zd&&!Xd?E$5:""]);return Id||Xd?l$2([f$2([E$5,gf]),E$5]):gf}function ql$2(Ra,qa){return(q$6(qa)||qa.type==="NGPipeExpression"&&qa.left===Ra)&&!qa.computed}function Wl$2(Ra,qa,nd,od){return[...Ra.map(ld=>ct$3(ld)),ct$3(qa),ct$3(nd)].flat().some(ld=>re$5(ld)&&de$4(od.originalText,R$6(ld),k$2(ld)))}var Gl$2=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function Ul$2(Ra){let{node:qa}=Ra;if(qa.type!=="ConditionalExpression")return!1;let nd,od=qa;for(let ld=0;!nd;ld++){let ud=Ra.getParentNode(ld);if(ud.type==="ChainExpression"&&ud.expression===od||L$6(ud)&&ud.callee===od||q$6(ud)&&ud.object===od||ud.type==="TSNonNullExpression"&&ud.expression===od){od=ud;continue}ud.type==="NewExpression"&&ud.callee===od||Te$4(ud)&&ud.expression===od?(nd=Ra.getParentNode(ld+1),od=ud):nd=ud}return od===qa?!1:nd[Gl$2.get(nd.type)]===od}var Ls$2=Ra=>[b$3("("),f$2([E$5,Ra]),E$5,b$3(")")];function Vt$3(Ra,qa,nd,od){if(!qa.experimentalTernaries)return Fa(Ra,qa,nd);let{node:ld}=Ra,ud=ld.type==="ConditionalExpression",dd=ld.type==="TSConditionalType"||ld.type==="ConditionalTypeAnnotation",pd=ud?"consequent":"trueType",fd=ud?"alternate":"falseType",md=ud?["test"]:["checkType","extendsType"],vd=ld[pd],Ad=ld[fd],Nd=md.map(sh=>ld[sh]),{parent:Id}=Ra,Od=Id.type===ld.type,Md=Od&&md.some(sh=>Id[sh]===ld),Ud=Od&&Id[fd]===ld,jd=vd.type===ld.type,Ld=Ad.type===ld.type,Bd=Ld||Ud,Gd=qa.tabWidth>2||qa.useTabs,qd,zd,Xd=0;do zd=qd||ld,qd=Ra.getParentNode(Xd),Xd++;while(qd&&qd.type===ld.type&&md.every(sh=>qd[sh]!==zd));let gf=qd||Id,Yd=od&&od.assignmentLayout&&od.assignmentLayout!=="break-after-operator"&&(Id.type==="AssignmentExpression"||Id.type==="VariableDeclarator"||Id.type==="ClassProperty"||Id.type==="PropertyDefinition"||Id.type==="ClassPrivateProperty"||Id.type==="ObjectProperty"||Id.type==="Property"),Zd=(Id.type==="ReturnStatement"||Id.type==="ThrowStatement")&&!(jd||Ld),df=ud&&gf.type==="JSXExpressionContainer"&&Ra.grandparent.type!=="JSXAttribute",Ef=Ul$2(Ra),_f=ql$2(ld,Id),xf=dd&&Be$6(Ra,qa),vf=Gd?qa.useTabs?" ":" ".repeat(qa.tabWidth-1):"",Af=Wl$2(Nd,vd,Ad,qa)||jd||Ld,Df=!Bd&&!Od&&!dd&&(df?vd.type==="NullLiteral"||vd.type==="Literal"&&vd.value===null:rr$2(vd,qa)&&Mn$2(ld.test,3)),jf=Bd||Ud||dd&&!Od||Od&&ud&&Mn$2(ld.test,1)||Df,Jf=[];!jd&&d$2(vd,g$4.Dangling)&&Ra.call(sh=>{Jf.push(M$6(sh,qa),F$3)},"consequent");let eh=[];d$2(ld.test,g$4.Dangling)&&Ra.call(sh=>{eh.push(M$6(sh,qa))},"test"),!Ld&&d$2(Ad,g$4.Dangling)&&Ra.call(sh=>{eh.push(M$6(sh,qa))},"alternate"),d$2(ld,g$4.Dangling)&&eh.push(M$6(Ra,qa));let th=Symbol("test"),Uf=Symbol("consequent"),Of=Symbol("test-and-consequent"),Wf=ud?[Ls$2(nd("test")),ld.test.type==="ConditionalExpression"?Ee$6:""]:[nd("checkType")," ","extends"," ",ld.extendsType.type==="TSConditionalType"||ld.extendsType.type==="ConditionalTypeAnnotation"||ld.extendsType.type==="TSMappedType"?nd("extendsType"):l$2(Ls$2(nd("extendsType")))],qf=l$2([Wf," ?"],{id:th}),zf=nd(pd),Tf=f$2([jd||df&&(X$6(vd)||Od||Bd)?F$3:x$5,Jf,zf]),Sf=jf?l$2([qf,Bd?Tf:b$3(Tf,l$2(Tf,{id:Uf}),{groupId:th})],{id:Of}):[qf,Tf],Yf=nd(fd),ih=Df?b$3(Yf,Mr$2(Ls$2(Yf)),{groupId:Of}):Yf,Th=[Sf,eh.length>0?[f$2([F$3,eh]),F$3]:Ld?F$3:Df?b$3(x$5," ",{groupId:Of}):x$5,":",Ld?" ":Gd?jf?b$3(vf,b$3(Bd||Df?" ":vf," "),{groupId:Of}):b$3(vf," "):" ",Ld?ih:l$2([f$2(ih),df&&!Df?E$5:""]),_f&&!Ef?E$5:"",Af?Ee$6:""];return Yd&&!Af?l$2(f$2([E$5,l$2(Th)])):Yd||Zd?l$2(f$2(Th)):Ef||dd&&Md?l$2([f$2([E$5,Th]),xf?E$5:""]):Id===gf?l$2(Th):Th}function Ca(Ra,qa,nd,od){let{node:ld}=Ra;if(kr$2(ld))return pa$1(Ra,qa);let ud=qa.semi?";":"",dd=[];switch(ld.type){case"JsExpressionRoot":return nd("node");case"JsonRoot":return[nd("node"),F$3];case"File":return ia(Ra,qa,nd)??nd("program");case"EmptyStatement":return"";case"ExpressionStatement":return ua$1(Ra,qa,nd);case"ChainExpression":return nd("expression");case"ParenthesizedExpression":return!d$2(ld.expression)&&(se$5(ld.expression)||U$6(ld.expression))?["(",nd("expression"),")"]:l$2(["(",f$2([E$5,nd("expression")]),E$5,")"]);case"AssignmentExpression":return wi$1(Ra,qa,nd);case"VariableDeclarator":return Oi(Ra,qa,nd);case"BinaryExpression":case"LogicalExpression":return Yr$2(Ra,qa,nd);case"AssignmentPattern":return[nd("left")," = ",nd("right")];case"OptionalMemberExpression":case"MemberExpression":return bi$2(Ra,qa,nd);case"MetaProperty":return[nd("meta"),".",nd("property")];case"BindExpression":return ld.object&&dd.push(nd("object")),dd.push(l$2(f$2([E$5,Hr$3(Ra,qa,nd)]))),dd;case"Identifier":return[ld.name,V$6(Ra),pn$3(Ra),Y$5(Ra,nd)];case"V8IntrinsicIdentifier":return["%",ld.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return cn$4(Ra,nd);case"FunctionDeclaration":case"FunctionExpression":return Dn$2(Ra,nd,qa,od);case"ArrowFunctionExpression":return $i$1(Ra,qa,nd,od);case"YieldExpression":return dd.push("yield"),ld.delegate&&dd.push("*"),ld.argument&&dd.push(" ",nd("argument")),dd;case"AwaitExpression":if(dd.push("await"),ld.argument){dd.push(" ",nd("argument"));let{parent:pd}=Ra;if(L$6(pd)&&pd.callee===ld||q$6(pd)&&pd.object===ld){dd=[f$2([E$5,...dd]),E$5];let fd=Ra.findAncestor(md=>md.type==="AwaitExpression"||md.type==="BlockStatement");if((fd==null?void 0:fd.type)!=="AwaitExpression"||!ie$4(fd.argument,md=>md===ld))return l$2(dd)}}return dd;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return gn$3(Ra,qa,nd);case"ImportDeclaration":return ca$2(Ra,qa,nd);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Ea(Ra,qa,nd);case"ImportAttribute":return yn$4(Ra,qa,nd);case"Import":return"import";case"Program":case"BlockStatement":case"StaticBlock":return Fn$2(Ra,qa,nd);case"ClassBody":return ra$2(Ra,qa,nd);case"ThrowStatement":return Yi(Ra,qa,nd);case"ReturnStatement":return Xi(Ra,qa,nd);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Vr$2(Ra,qa,nd);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return dt$3(Ra,qa,nd);case"Property":return gt$3(ld)?mr$1(Ra,qa,nd):yn$4(Ra,qa,nd);case"ObjectProperty":return yn$4(Ra,qa,nd);case"ObjectMethod":return mr$1(Ra,qa,nd);case"Decorator":return["@",nd("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yt$2(Ra,qa,nd);case"SequenceExpression":{let{parent:pd}=Ra;if(pd.type==="ExpressionStatement"||pd.type==="ForStatement"){let fd=[];return Ra.each(({isFirst:md})=>{md?fd.push(nd()):fd.push(",",f$2([x$5,nd()]))},"expressions"),l$2(fd)}return l$2(P$6([",",x$5],Ra.map(nd,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[nd("value"),ud];case"UnaryExpression":return dd.push(ld.operator),/[a-z]$/u.test(ld.operator)&&dd.push(" "),d$2(ld.argument)?dd.push(l$2(["(",f$2([E$5,nd("argument")]),E$5,")"])):dd.push(nd("argument")),dd;case"UpdateExpression":return[ld.prefix?ld.operator:"",nd("argument"),ld.prefix?"":ld.operator];case"ConditionalExpression":return Vt$3(Ra,qa,nd,od);case"VariableDeclaration":{let pd=Ra.map(nd,"declarations"),fd=Ra.parent,md=fd.type==="ForStatement"||fd.type==="ForInStatement"||fd.type==="ForOfStatement",vd=ld.declarations.some(Nd=>Nd.init),Ad;return pd.length===1&&!d$2(ld.declarations[0])?Ad=pd[0]:pd.length>0&&(Ad=f$2(pd[0])),dd=[$$3(Ra),ld.kind,Ad?[" ",Ad]:"",f$2(pd.slice(1).map(Nd=>[",",vd&&!md?F$3:x$5,Nd]))],md&&fd.body!==ld||dd.push(ud),l$2(dd)}case"WithStatement":return l$2(["with (",nd("object"),")",ft$3(ld.body,nd("body"))]);case"IfStatement":{let pd=ft$3(ld.consequent,nd("consequent")),fd=l$2(["if (",l$2([f$2([E$5,nd("test")]),E$5]),")",pd]);if(dd.push(fd),ld.alternate){let md=d$2(ld.consequent,g$4.Trailing|g$4.Line)||wr$2(ld),vd=ld.consequent.type==="BlockStatement"&&!md;dd.push(vd?" ":F$3),d$2(ld,g$4.Dangling)&&dd.push(M$6(Ra,qa),md?F$3:" "),dd.push("else",l$2(ft$3(ld.alternate,nd("alternate"),ld.alternate.type==="IfStatement")))}return dd}case"ForStatement":{let pd=ft$3(ld.body,nd("body")),fd=M$6(Ra,qa),md=fd?[fd,E$5]:"";return!ld.init&&!ld.test&&!ld.update?[md,l$2(["for (;;)",pd])]:[md,l$2(["for (",l$2([f$2([E$5,nd("init"),";",x$5,nd("test"),";",x$5,nd("update")]),E$5]),")",pd])]}case"WhileStatement":return l$2(["while (",l$2([f$2([E$5,nd("test")]),E$5]),")",ft$3(ld.body,nd("body"))]);case"ForInStatement":return l$2(["for (",nd("left")," in ",nd("right"),")",ft$3(ld.body,nd("body"))]);case"ForOfStatement":return l$2(["for",ld.await?" await":""," (",nd("left")," of ",nd("right"),")",ft$3(ld.body,nd("body"))]);case"DoWhileStatement":{let pd=ft$3(ld.body,nd("body"));return dd=[l$2(["do",pd])],ld.body.type==="BlockStatement"?dd.push(" "):dd.push(F$3),dd.push("while (",l$2([f$2([E$5,nd("test")]),E$5]),")",ud),dd}case"DoExpression":return[ld.async?"async ":"","do ",nd("body")];case"BreakStatement":case"ContinueStatement":return dd.push(ld.type==="BreakStatement"?"break":"continue"),ld.label&&dd.push(" ",nd("label")),dd.push(ud),dd;case"LabeledStatement":return ld.body.type==="EmptyStatement"?[nd("label"),":;"]:[nd("label"),": ",nd("body")];case"TryStatement":return["try ",nd("block"),ld.handler?[" ",nd("handler")]:"",ld.finalizer?[" finally ",nd("finalizer")]:""];case"CatchClause":if(ld.param){let pd=d$2(ld.param,md=>!re$5(md)||md.leading&&te$5(qa.originalText,k$2(md))||md.trailing&&te$5(qa.originalText,R$6(md),{backwards:!0})),fd=nd("param");return["catch ",pd?["(",f$2([E$5,fd]),E$5,") "]:["(",fd,") "],nd("body")]}return["catch ",nd("body")];case"SwitchStatement":return[l$2(["switch (",f$2([E$5,nd("discriminant")]),E$5,")"])," {",ld.cases.length>0?f$2([F$3,P$6(F$3,Ra.map(({node:pd,isLast:fd})=>[nd(),!fd&&pe$3(pd,qa)?F$3:""],"cases"))]):"",F$3,"}"];case"SwitchCase":{ld.test?dd.push("case ",nd("test"),":"):dd.push("default:"),d$2(ld,g$4.Dangling)&&dd.push(" ",M$6(Ra,qa));let pd=ld.consequent.filter(fd=>fd.type!=="EmptyStatement");if(pd.length>0){let fd=yr$1(Ra,qa,nd,"consequent");dd.push(pd.length===1&&pd[0].type==="BlockStatement"?[" ",fd]:f$2([F$3,fd]))}return dd}case"DebuggerStatement":return["debugger",ud];case"ClassDeclaration":case"ClassExpression":return Tn$2(Ra,qa,nd);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return dn$4(Ra,qa,nd);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return xn$2(Ra,qa,nd);case"TemplateElement":return Ie$4(ld.value.raw);case"TemplateLiteral":return qr$2(Ra,nd,qa);case"TaggedTemplateExpression":return Uu$3(Ra,nd);case"PrivateIdentifier":return["#",ld.name];case"PrivateName":return["#",nd("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":return["module ",nd("body")];case"InterpreterDirective":default:throw new Me$5(ld,"ESTree")}}function Sn$3(Ra,qa,nd){let{parent:od,node:ld,key:ud}=Ra,dd=[nd("expression")];switch(ld.type){case"AsConstExpression":dd.push(" as const");break;case"AsExpression":case"TSAsExpression":dd.push(" as ",nd("typeAnnotation"));break;case"SatisfiesExpression":case"TSSatisfiesExpression":dd.push(" satisfies ",nd("typeAnnotation"));break}return ud==="callee"&&L$6(od)||ud==="object"&&q$6(od)?l$2([f$2([E$5,...dd]),E$5]):dd}function Aa$1(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),"component"];od.id&&ld.push(" ",nd("id")),ld.push(nd("typeParameters"));let ud=Nl$2(Ra,nd,qa);return od.rendersType?ld.push(l$2([ud," ",nd("rendersType")])):ld.push(l$2([ud])),od.body&&ld.push(" ",nd("body")),qa.semi&&od.type==="DeclareComponent"&&ld.push(";"),ld}function Nl$2(Ra,qa,nd){let{node:od}=Ra,ld=od.params;if(od.rest&&(ld=[...ld,od.rest]),ld.length===0)return["(",M$6(Ra,nd,{filter:dd=>ge$6(nd.originalText,k$2(dd))===")"}),")"];let ud=[];return Yl$2(Ra,(dd,pd)=>{let fd=pd===ld.length-1;fd&&od.rest&&ud.push("..."),ud.push(qa()),!fd&&(ud.push(","),pe$3(ld[pd],nd)?ud.push(F$3,F$3):ud.push(x$5))}),["(",f$2([E$5,...ud]),b$3(ae$4(nd,"all")&&!Xl$2(od,ld)?",":""),E$5,")"]}function Xl$2(Ra,qa){var nd;return Ra.rest||((nd=O$3(!1,qa,-1))==null?void 0:nd.type)==="RestElement"}function Yl$2(Ra,qa){let{node:nd}=Ra,od=0,ld=ud=>qa(ud,od++);Ra.each(ld,"params"),nd.rest&&Ra.call(ld,"rest")}function Ta(Ra,qa,nd){let{node:od}=Ra;return od.shorthand?nd("local"):[nd("name")," as ",nd("local")]}function da(Ra,qa,nd){let{node:od}=Ra,ld=[];return od.name&&ld.push(nd("name"),od.optional?"?: ":": "),ld.push(nd("typeAnnotation")),ld}function xa$2(Ra,qa,nd){return dt$3(Ra,nd,qa)}function Bn$2(Ra,qa){let{node:nd}=Ra,od=qa("id");nd.computed&&(od=["[",od,"]"]);let ld="";return nd.initializer&&(ld=qa("initializer")),nd.init&&(ld=qa("init")),ld?[od," = ",ld]:od}function ha(Ra,qa,nd){let{node:od}=Ra,ld;if(od.type==="EnumSymbolBody"||od.explicitType)switch(od.type){case"EnumBooleanBody":ld="boolean";break;case"EnumNumberBody":ld="number";break;case"EnumBigIntBody":ld="bigint";break;case"EnumStringBody":ld="string";break;case"EnumSymbolBody":ld="symbol";break}return[ld?`of ${ld} `:"",xa$2(Ra,qa,nd)]}function bn$3(Ra,qa,nd){let{node:od}=Ra;return[$$3(Ra),od.const?"const ":"","enum ",qa("id")," ",od.type==="TSEnumDeclaration"?xa$2(Ra,qa,nd):qa("body")]}function Sa$1(Ra,qa,nd){let{node:od}=Ra,ld=["hook"];od.id&&ld.push(" ",nd("id"));let ud=Je$3(Ra,nd,qa,!1,!0),dd=Ht$3(Ra,nd),pd=ot$3(od,dd);return ld.push(l$2([pd?l$2(ud):ud,dd]),od.body?" ":"",nd("body")),ld}function Ba$1(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),"hook"];return od.id&&ld.push(" ",nd("id")),qa.semi&&ld.push(";"),ld}function ga$1(Ra){var qa;let{node:nd}=Ra;return nd.type==="HookTypeAnnotation"&&((qa=Ra.getParentNode(2))==null?void 0:qa.type)==="DeclareHook"}function ba$2(Ra,qa,nd){let{node:od}=Ra,ld=[];ld.push(ga$1(Ra)?"":"hook ");let ud=Je$3(Ra,nd,qa,!1,!0),dd=[];return dd.push(ga$1(Ra)?": ":" => ",nd("returnType")),ot$3(od,dd)&&(ud=l$2(ud)),ld.push(ud,dd),l$2(ld)}function Pn$3(Ra,qa,nd){let{node:od}=Ra,ld=[$$3(Ra),"interface"],ud=[],dd=[];od.type!=="InterfaceTypeAnnotation"&&ud.push(" ",nd("id"),nd("typeParameters"));let pd=od.typeParameters&&!d$2(od.typeParameters,g$4.Trailing|g$4.Line);return w$2(od.extends)&&dd.push(pd?b$3(" ",x$5,{groupId:Dr$1(od.typeParameters)}):x$5,"extends ",(od.extends.length===1?mu$2:f$2)(P$6([",",x$5],Ra.map(nd,"extends")))),d$2(od.id,g$4.Trailing)||w$2(od.extends)?pd?ld.push(l$2([...ud,f$2(dd)])):ld.push(l$2(f$2([...ud,...dd]))):ld.push(...ud,...dd),ld.push(" ",nd("body")),l$2(ld)}function Pa$1(Ra,qa,nd){let{node:od}=Ra;if(Sr$2(od))return od.type.slice(0,-14).toLowerCase();let ld=qa.semi?";":"";switch(od.type){case"ComponentDeclaration":case"DeclareComponent":case"ComponentTypeAnnotation":return Aa$1(Ra,qa,nd);case"ComponentParameter":return Ta(Ra,qa,nd);case"ComponentTypeParameter":return da(Ra,qa,nd);case"HookDeclaration":return Sa$1(Ra,qa,nd);case"DeclareHook":return Ba$1(Ra,qa,nd);case"HookTypeAnnotation":return ba$2(Ra,qa,nd);case"DeclareClass":return Tn$2(Ra,qa,nd);case"DeclareFunction":return[$$3(Ra),"function ",nd("id"),nd("predicate"),ld];case"DeclareModule":return["declare module ",nd("id")," ",nd("body")];case"DeclareModuleExports":return["declare module.exports",Y$5(Ra,nd),ld];case"DeclareNamespace":return["declare namespace ",nd("id")," ",nd("body")];case"DeclareVariable":return[$$3(Ra),od.kind??"var"," ",nd("id"),ld];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return gn$3(Ra,qa,nd);case"DeclareOpaqueType":case"OpaqueType":return Mi$1(Ra,qa,nd);case"DeclareTypeAlias":case"TypeAlias":return Kr$3(Ra,qa,nd);case"IntersectionTypeAnnotation":return zr$2(Ra,qa,nd);case"UnionTypeAnnotation":return Qr$2(Ra,qa,nd);case"ConditionalTypeAnnotation":return Vt$3(Ra,qa,nd);case"InferTypeAnnotation":return tn$3(Ra,qa,nd);case"FunctionTypeAnnotation":return Zr$2(Ra,qa,nd);case"TupleTypeAnnotation":return Yt$2(Ra,qa,nd);case"TupleTypeLabeledElement":return nn$3(Ra,qa,nd);case"TupleTypeSpreadElement":return rn$3(Ra,qa,nd);case"GenericTypeAnnotation":return[nd("id"),Pt$2(Ra,qa,nd,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return en$3(Ra,qa,nd);case"TypeAnnotation":return sn$2(Ra,qa,nd);case"TypeParameter":return An$2(Ra,qa,nd);case"TypeofTypeAnnotation":return an$4(Ra,nd);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return un$3(nd);case"DeclareEnum":case"EnumDeclaration":return bn$3(Ra,nd,qa);case"EnumBooleanBody":case"EnumNumberBody":case"EnumBigIntBody":case"EnumStringBody":case"EnumSymbolBody":return ha(Ra,nd,qa);case"EnumBooleanMember":case"EnumNumberMember":case"EnumBigIntMember":case"EnumStringMember":case"EnumDefaultedMember":return Bn$2(Ra,nd);case"FunctionTypeParam":{let ud=od.name?nd("name"):Ra.parent.this===od?"this":"";return[ud,V$6(Ra),ud?": ":"",nd("typeAnnotation")]}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Pn$3(Ra,qa,nd);case"ClassImplements":case"InterfaceExtends":return[nd("id"),nd("typeParameters")];case"NullableTypeAnnotation":return["?",nd("typeAnnotation")];case"Variance":{let{kind:ud}=od;return ln$3.ok(ud==="plus"||ud==="minus"),ud==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",nd("argument")];case"ObjectTypeCallProperty":return[od.static?"static ":"",nd("value")];case"ObjectTypeMappedTypeProperty":return zi(Ra,qa,nd);case"ObjectTypeIndexer":return[od.static?"static ":"",od.variance?nd("variance"):"","[",nd("id"),od.id?": ":"",nd("key"),"]: ",nd("value")];case"ObjectTypeProperty":{let ud="";return od.proto?ud="proto ":od.static&&(ud="static "),[ud,od.kind!=="init"?od.kind+" ":"",od.variance?nd("variance"):"",Et$3(Ra,qa,nd),V$6(Ra),gt$3(od)?"":": ",nd("value")]}case"ObjectTypeAnnotation":return dt$3(Ra,qa,nd);case"ObjectTypeInternalSlot":return[od.static?"static ":"","[[",nd("id"),"]]",V$6(Ra),od.method?"":": ",nd("value")];case"ObjectTypeSpreadProperty":return cn$4(Ra,nd);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[nd("qualification"),".",nd("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(od.value);case"StringLiteralTypeAnnotation":return Ie$4(tt$4(fe$6(od),qa));case"NumberLiteralTypeAnnotation":return Ze$4(od.raw??od.extra.raw);case"BigIntLiteralTypeAnnotation":return hn$2(od.raw??od.extra.raw);case"TypeCastExpression":return["(",nd("expression"),Y$5(Ra,nd),")"];case"TypePredicate":return on$2(Ra,nd);case"TypeOperator":return[od.operator," ",nd("typeAnnotation")];case"TypeParameterDeclaration":case"TypeParameterInstantiation":return Pt$2(Ra,qa,nd,"params");case"InferredPredicate":case"DeclaredPredicate":return[Ra.key==="predicate"&&Ra.parent.type!=="DeclareFunction"&&!Ra.parent.returnType?": ":" ","%checks",...od.type==="DeclaredPredicate"?["(",nd("value"),")"]:[]];case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return Sn$3(Ra,qa,nd)}}function ka$1(Ra,qa,nd){var od;let{node:ld}=Ra;if(!ld.type.startsWith("TS"))return;if(Br$3(ld))return ld.type.slice(2,-7).toLowerCase();let ud=qa.semi?";":"",dd=[];switch(ld.type){case"TSThisType":return"this";case"TSTypeAssertion":{let pd=!(U$6(ld.expression)||se$5(ld.expression)),fd=l$2(["<",f$2([E$5,nd("typeAnnotation")]),E$5,">"]),md=[b$3("("),f$2([E$5,nd("expression")]),E$5,b$3(")")];return pd?ze$5([[fd,nd("expression")],[fd,l$2(md,{shouldBreak:!0})],[fd,nd("expression")]]):l$2([fd,nd("expression")])}case"TSDeclareFunction":return Dn$2(Ra,nd,qa);case"TSExportAssignment":return["export = ",nd("expression"),ud];case"TSModuleBlock":return Fn$2(Ra,qa,nd);case"TSInterfaceBody":case"TSTypeLiteral":return dt$3(Ra,qa,nd);case"TSTypeAliasDeclaration":return Kr$3(Ra,qa,nd);case"TSQualifiedName":return[nd("left"),".",nd("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return dn$4(Ra,qa,nd);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return xn$2(Ra,qa,nd);case"TSInterfaceHeritage":case"TSClassImplements":case"TSExpressionWithTypeArguments":case"TSInstantiationExpression":return[nd("expression"),nd(ld.typeArguments?"typeArguments":"typeParameters")];case"TSTemplateLiteralType":return qr$2(Ra,nd,qa);case"TSNamedTupleMember":return nn$3(Ra,qa,nd);case"TSRestType":return rn$3(Ra,qa,nd);case"TSOptionalType":return[nd("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Pn$3(Ra,qa,nd);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Pt$2(Ra,qa,nd,"params");case"TSTypeParameter":return An$2(Ra,qa,nd);case"TSAsExpression":case"TSSatisfiesExpression":return Sn$3(Ra,qa,nd);case"TSArrayType":return un$3(nd);case"TSPropertySignature":return[ld.readonly?"readonly ":"",Et$3(Ra,qa,nd),V$6(Ra),Y$5(Ra,nd)];case"TSParameterProperty":return[Xt$3(ld),ld.static?"static ":"",ld.override?"override ":"",ld.readonly?"readonly ":"",nd("parameter")];case"TSTypeQuery":return an$4(Ra,nd);case"TSIndexSignature":{let pd=ld.parameters.length>1?b$3(ae$4(qa)?",":""):"",fd=l$2([f$2([E$5,P$6([", ",E$5],Ra.map(nd,"parameters"))]),pd,E$5]),md=Ra.parent.type==="ClassBody"&&Ra.key==="body";return[md&&ld.static?"static ":"",ld.readonly?"readonly ":"","[",ld.parameters?fd:"","]",Y$5(Ra,nd),md?ud:""]}case"TSTypePredicate":return on$2(Ra,nd);case"TSNonNullExpression":return[nd("expression"),"!"];case"TSImportType":return[ld.isTypeOf?"typeof ":"","import(",nd("argument"),")",ld.qualifier?[".",nd("qualifier")]:"",Pt$2(Ra,qa,nd,ld.typeArguments?"typeArguments":"typeParameters")];case"TSLiteralType":return nd("literal");case"TSIndexedAccessType":return en$3(Ra,qa,nd);case"TSTypeOperator":return[ld.operator," ",nd("typeAnnotation")];case"TSMappedType":return Qi(Ra,qa,nd);case"TSMethodSignature":{let pd=ld.kind&&ld.kind!=="method"?`${ld.kind} `:"";dd.push(Xt$3(ld),pd,ld.computed?"[":"",nd("key"),ld.computed?"]":"",V$6(Ra));let fd=Je$3(Ra,nd,qa,!1,!0),md=ld.returnType?"returnType":"typeAnnotation",vd=ld[md],Ad=vd?Y$5(Ra,nd,md):"",Nd=ot$3(ld,Ad);return dd.push(Nd?l$2(fd):fd),vd&&dd.push(l$2(Ad)),l$2(dd)}case"TSNamespaceExportDeclaration":return["export as namespace ",nd("id"),qa.semi?";":""];case"TSEnumDeclaration":return bn$3(Ra,nd,qa);case"TSEnumMember":return Bn$2(Ra,nd);case"TSImportEqualsDeclaration":return[ld.isExport?"export ":"","import ",ks(ld,!1),nd("id")," = ",nd("moduleReference"),qa.semi?";":""];case"TSExternalModuleReference":return["require(",nd("expression"),")"];case"TSModuleDeclaration":{let{parent:pd}=Ra,fd=pd.type==="TSModuleDeclaration",md=((od=ld.body)==null?void 0:od.type)==="TSModuleDeclaration";if(fd)dd.push(".");else if(dd.push($$3(Ra)),!(ld.kind==="global"||ld.global)){let vd=ld.kind??(Q$6(ld.id)||fr$1(qa,R$6(ld),R$6(ld.id)).trim().endsWith("module")?"module":"namespace");dd.push(vd," ")}return dd.push(nd("id")),md?dd.push(nd("body")):ld.body?dd.push(" ",l$2(nd("body"))):dd.push(ud),dd}case"TSConditionalType":return Vt$3(Ra,qa,nd);case"TSInferType":return tn$3(Ra,qa,nd);case"TSIntersectionType":return zr$2(Ra,qa,nd);case"TSUnionType":return Qr$2(Ra,qa,nd);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return Zr$2(Ra,qa,nd);case"TSTupleType":return Yt$2(Ra,qa,nd);case"TSTypeReference":return[nd("typeName"),Pt$2(Ra,qa,nd,ld.typeArguments?"typeArguments":"typeParameters")];case"TSTypeAnnotation":return sn$2(Ra,qa,nd);case"TSEmptyBodyFunctionExpression":return fn$3(Ra,qa,nd);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Ts$1(Ra,nd,"?");case"TSJSDocNonNullableType":return Ts$1(Ra,nd,"!");case"TSParenthesizedType":default:throw new Me$5(ld,"TypeScript")}}function Hl$2(Ra,qa,nd,od){if(Xr$2(Ra))return ci$4(Ra,qa);for(let ld of[Ti$1,Ei$1,Pa$1,ka$1,Ca]){let ud=ld(Ra,qa,nd,od);if(ud!==void 0)return ud}}var Vl$2=v$2(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function $l$2(Ra,qa,nd,od){var ld;Ra.isRoot&&((ld=qa.__onHtmlBindingRoot)==null||ld.call(qa,Ra.node,qa));let ud=Hl$2(Ra,qa,nd,od);if(!ud)return"";let{node:dd}=Ra;if(Vl$2(dd))return ud;let pd=w$2(dd.decorators),fd=xi$1(Ra,qa,nd),md=dd.type==="ClassExpression";if(pd&&!md)return ir$3(ud,Nd=>l$2([fd,Nd]));let vd=Be$6(Ra,qa),Ad=na$1(Ra,qa);return!fd&&!vd&&!Ad?ud:ir$3(ud,Nd=>[Ad?";":"",vd?"(":"",vd&&md&&pd?[f$2([x$5,fd,Nd]),x$5]:[fd,Nd],vd?")":""])}var Ia$1=$l$2,Kl$2={avoidAstMutation:!0},La$1=[{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","flake.lock","mcmod.info",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],parsers:["jsonc"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"]}],Os$2={};Ar$1(Os$2,{getVisitorKeys:()=>Oa$2,massageAstNode:()=>ja,print:()=>Zl$2});var zl$2={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},wa=zl$2,Ql$2=hr$3(wa),Oa$2=Ql$2;function Zl$2(Ra,qa,nd){let{node:od}=Ra;switch(od.type){case"JsonRoot":return[nd("node"),F$3];case"ArrayExpression":{if(od.elements.length===0)return"[]";let ld=Ra.map(()=>Ra.node===null?"null":nd(),"elements");return["[",f$2([F$3,P$6([",",F$3],ld)]),F$3,"]"]}case"ObjectExpression":return od.properties.length===0?"{}":["{",f$2([F$3,P$6([",",F$3],Ra.map(nd,"properties"))]),F$3,"}"];case"ObjectProperty":return[nd("key"),": ",nd("value")];case"UnaryExpression":return[od.operator==="+"?"":od.operator,nd("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return od.value?"true":"false";case"StringLiteral":return JSON.stringify(od.value);case"NumericLiteral":return _a$1(Ra)?JSON.stringify(String(od.value)):JSON.stringify(od.value);case"Identifier":return _a$1(Ra)?JSON.stringify(od.name):od.name;case"TemplateLiteral":return nd(["quasis",0]);case"TemplateElement":return JSON.stringify(od.value.cooked);default:throw new Me$5(od,"JSON")}}function _a$1(Ra){return Ra.key==="key"&&Ra.parent.type==="ObjectProperty"}var em=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ja(Ra,qa){let{type:nd}=Ra;if(nd==="ObjectProperty"){let{key:od}=Ra;od.type==="Identifier"?qa.key={type:"StringLiteral",value:od.name}:od.type==="NumericLiteral"&&(qa.key={type:"StringLiteral",value:String(od.value)});return}if(nd==="UnaryExpression"&&Ra.operator==="+")return qa.argument;if(nd==="ArrayExpression"){for(let[od,ld]of Ra.elements.entries())ld===null&&qa.elements.splice(od,0,{type:"NullLiteral"});return}if(nd==="TemplateLiteral")return{type:"StringLiteral",value:Ra.quasis[0].value.cooked}}ja.ignoredProperties=em;var Er$1={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},kt$2="JavaScript",tm={arrowParens:{category:kt$2,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Er$1.bracketSameLine,bracketSpacing:Er$1.bracketSpacing,jsxBracketSameLine:{category:kt$2,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:kt$2,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalTernaries:{category:kt$2,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Er$1.singleQuote,jsxSingleQuote:{category:kt$2,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:kt$2,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:kt$2,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Er$1.singleAttributePerLine},va=tm,rm={estree:ws$1,"estree-json":Os$2},nm=[...Us$1,...La$1],$d=_s$2;const prettierPluginEstree=Object.freeze(Object.defineProperty({__proto__:null,default:$d,languages:nm,options:va,printers:rm},Symbol.toStringTag,{value:"Module"}));var el$1=Object.create,ft$2=Object.defineProperty,rl$1=Object.getOwnPropertyDescriptor,tl$1=Object.getOwnPropertyNames,nl$1=Object.getPrototypeOf,il$1=Object.prototype.hasOwnProperty,C$3=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),Ln$1=(Ra,qa)=>{for(var nd in qa)ft$2(Ra,nd,{get:qa[nd],enumerable:!0})},ul$1=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of tl$1(qa))!il$1.call(Ra,ld)&&ld!==nd&&ft$2(Ra,ld,{get:()=>qa[ld],enumerable:!(od=rl$1(qa,ld))||od.enumerable});return Ra},Ue$2=(Ra,qa,nd)=>(nd=Ra!=null?el$1(nl$1(Ra)):{},ul$1(ft$2(nd,"default",{value:Ra,enumerable:!0}),Ra)),xr$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){return String(od).replace(/\s+/g," ")}}),Pi=C$3((Ra,qa)=>{qa.exports=Od;var nd=9,od=10,ld=32,ud=33,dd=58,pd=91,fd=92,md=93,vd=94,Ad=96,Nd=4,Id=1024;function Od(qd){var zd=this.Parser,Xd=this.Compiler;Md(zd)&&jd(zd,qd),Ud(Xd)&&Ld(Xd)}function Md(qd){return!!(qd&&qd.prototype&&qd.prototype.blockTokenizers)}function Ud(qd){return!!(qd&&qd.prototype&&qd.prototype.visitors)}function jd(qd,zd){for(var Xd=zd||{},gf=qd.prototype,Yd=gf.blockTokenizers,Zd=gf.inlineTokenizers,df=gf.blockMethods,Ef=gf.inlineMethods,_f=Yd.definition,xf=Zd.reference,vf=[],Af=-1,Df=df.length,jf;++Af<Df;)jf=df[Af],!(jf==="newline"||jf==="indentedCode"||jf==="paragraph"||jf==="footnoteDefinition")&&vf.push([jf]);vf.push(["footnoteDefinition"]),Xd.inlineNotes&&(Bd(Ef,"reference","inlineNote"),Zd.inlineNote=th),Bd(df,"definition","footnoteDefinition"),Bd(Ef,"reference","footnoteCall"),Yd.definition=Of,Yd.footnoteDefinition=Jf,Zd.footnoteCall=eh,Zd.reference=Uf,gf.interruptFootnoteDefinition=vf,Uf.locator=xf.locator,eh.locator=Wf,th.locator=qf;function Jf(zf,Tf,Sf){for(var Yf=this,ih=Yf.interruptFootnoteDefinition,Th=Yf.offset,sh=Tf.length+1,Nf=0,ph=[],Oh,Zf,Rf,Bf,Kf,wh,Ah,mh,im,Bh,Tm,Pm,gm;Nf<sh&&(Bf=Tf.charCodeAt(Nf),!(Bf!==nd&&Bf!==ld));)Nf++;if(Tf.charCodeAt(Nf++)===pd&&Tf.charCodeAt(Nf++)===vd){for(Zf=Nf;Nf<sh;){if(Bf=Tf.charCodeAt(Nf),Bf!==Bf||Bf===od||Bf===nd||Bf===ld)return;if(Bf===md){Rf=Nf,Nf++;break}Nf++}if(!(Rf===void 0||Zf===Rf||Tf.charCodeAt(Nf++)!==dd)){if(Sf)return!0;for(Oh=Tf.slice(Zf,Rf),Kf=zf.now(),im=0,Bh=0,Tm=Nf,Pm=[];Nf<sh;){if(Bf=Tf.charCodeAt(Nf),Bf!==Bf||Bf===od)gm={start:im,contentStart:Tm||Nf,contentEnd:Nf,end:Nf},Pm.push(gm),Bf===od&&(im=Nf+1,Bh=0,Tm=void 0,gm.end=im);else if(Bh!==void 0)if(Bf===ld||Bf===nd)Bh+=Bf===ld?1:Nd-Bh%Nd,Bh>Nd&&(Bh=void 0,Tm=Nf);else{if(Bh<Nd&&gm&&(gm.contentStart===gm.contentEnd||Gd(ih,Yd,Yf,[zf,Tf.slice(Nf,Id),!0])))break;Bh=void 0,Tm=Nf}Nf++}for(Nf=-1,sh=Pm.length;sh>0&&(gm=Pm[sh-1],gm.contentStart===gm.contentEnd);)sh--;for(wh=zf(Tf.slice(0,gm.contentEnd));++Nf<sh;)gm=Pm[Nf],Th[Kf.line+Nf]=(Th[Kf.line+Nf]||0)+(gm.contentStart-gm.start),ph.push(Tf.slice(gm.contentStart,gm.end));return Ah=Yf.enterBlock(),mh=Yf.tokenizeBlock(ph.join(""),Kf),Ah(),wh({type:"footnoteDefinition",identifier:Oh.toLowerCase(),label:Oh,children:mh})}}}function eh(zf,Tf,Sf){var Yf=Tf.length+1,ih=0,Th,sh,Nf,ph;if(Tf.charCodeAt(ih++)===pd&&Tf.charCodeAt(ih++)===vd){for(sh=ih;ih<Yf;){if(ph=Tf.charCodeAt(ih),ph!==ph||ph===od||ph===nd||ph===ld)return;if(ph===md){Nf=ih,ih++;break}ih++}if(!(Nf===void 0||sh===Nf))return Sf?!0:(Th=Tf.slice(sh,Nf),zf(Tf.slice(0,ih))({type:"footnoteReference",identifier:Th.toLowerCase(),label:Th}))}}function th(zf,Tf,Sf){var Yf=this,ih=Tf.length+1,Th=0,sh=0,Nf,ph,Oh,Zf,Rf,Bf,Kf;if(Tf.charCodeAt(Th++)===vd&&Tf.charCodeAt(Th++)===pd){for(Oh=Th;Th<ih;){if(ph=Tf.charCodeAt(Th),ph!==ph)return;if(Bf===void 0)if(ph===fd)Th+=2;else if(ph===pd)sh++,Th++;else if(ph===md)if(sh===0){Zf=Th,Th++;break}else sh--,Th++;else if(ph===Ad){for(Rf=Th,Bf=1;Tf.charCodeAt(Rf+Bf)===Ad;)Bf++;Th+=Bf}else Th++;else if(ph===Ad){for(Rf=Th,Kf=1;Tf.charCodeAt(Rf+Kf)===Ad;)Kf++;Th+=Kf,Bf===Kf&&(Bf=void 0),Kf=void 0}else Th++}if(Zf!==void 0)return Sf?!0:(Nf=zf.now(),Nf.column+=2,Nf.offset+=2,zf(Tf.slice(0,Th))({type:"footnote",children:Yf.tokenizeInline(Tf.slice(Oh,Zf),Nf)}))}}function Uf(zf,Tf,Sf){var Yf=0;if(Tf.charCodeAt(Yf)===ud&&Yf++,Tf.charCodeAt(Yf)===pd&&Tf.charCodeAt(Yf+1)!==vd)return xf.call(this,zf,Tf,Sf)}function Of(zf,Tf,Sf){for(var Yf=0,ih=Tf.charCodeAt(Yf);ih===ld||ih===nd;)ih=Tf.charCodeAt(++Yf);if(ih===pd&&Tf.charCodeAt(Yf+1)!==vd)return _f.call(this,zf,Tf,Sf)}function Wf(zf,Tf){return zf.indexOf("[",Tf)}function qf(zf,Tf){return zf.indexOf("^[",Tf)}}function Ld(qd){var zd=qd.prototype.visitors,Xd=" ";zd.footnote=gf,zd.footnoteReference=Yd,zd.footnoteDefinition=Zd;function gf(df){return"^["+this.all(df).join("")+"]"}function Yd(df){return"[^"+(df.label||df.identifier)+"]"}function Zd(df){for(var Ef=this.all(df).join(`
|
||
|
||
`).split(`
|
||
`),_f=0,xf=Ef.length,vf;++_f<xf;)vf=Ef[_f],vf!==""&&(Ef[_f]=Xd+vf);return"[^"+(df.label||df.identifier)+"]: "+Ef.join(`
|
||
`)}}function Bd(qd,zd,Xd){qd.splice(qd.indexOf(zd),0,Xd)}function Gd(qd,zd,Xd,gf){for(var Yd=qd.length,Zd=-1;++Zd<Yd;)if(zd[qd[Zd][0]].apply(Xd,gf))return!0;return!1}}),Bt$3=C$3(Ra=>{Ra.isRemarkParser=qa,Ra.isRemarkCompiler=nd;function qa(od){return!!(od&&od.prototype&&od.prototype.blockTokenizers)}function nd(od){return!!(od&&od.prototype&&od.prototype.visitors)}}),Mi=C$3((Ra,qa)=>{var nd=Bt$3();qa.exports=Ad;var od=9,ld=32,ud=36,dd=48,pd=57,fd=92,md=["math","math-inline"],vd="math-display";function Ad(Od){let Md=this.Parser,Ud=this.Compiler;nd.isRemarkParser(Md)&&Nd(Md,Od),nd.isRemarkCompiler(Ud)&&Id(Ud)}function Nd(Od,Md){let Ud=Od.prototype,jd=Ud.inlineMethods;Bd.locator=Ld,Ud.inlineTokenizers.math=Bd,jd.splice(jd.indexOf("text"),0,"math");function Ld(Gd,qd){return Gd.indexOf("$",qd)}function Bd(Gd,qd,zd){let Xd=qd.length,gf=!1,Yd=!1,Zd=0,df,Ef,_f,xf,vf,Af,Df;if(qd.charCodeAt(Zd)===fd&&(Yd=!0,Zd++),qd.charCodeAt(Zd)===ud){if(Zd++,Yd)return zd?!0:Gd(qd.slice(0,Zd))({type:"text",value:"$"});if(qd.charCodeAt(Zd)===ud&&(gf=!0,Zd++),_f=qd.charCodeAt(Zd),!(_f===ld||_f===od)){for(xf=Zd;Zd<Xd;){if(Ef=_f,_f=qd.charCodeAt(Zd+1),Ef===ud){if(df=qd.charCodeAt(Zd-1),df!==ld&&df!==od&&(_f!==_f||_f<dd||_f>pd)&&(!gf||_f===ud)){vf=Zd-1,Zd++,gf&&Zd++,Af=Zd;break}}else Ef===fd&&(Zd++,_f=qd.charCodeAt(Zd+1));Zd++}if(Af!==void 0)return zd?!0:(Df=qd.slice(xf,vf+1),Gd(qd.slice(0,Af))({type:"inlineMath",value:Df,data:{hName:"span",hProperties:{className:md.concat(gf&&Md.inlineMathDouble?[vd]:[])},hChildren:[{type:"text",value:Df}]}}))}}}}function Id(Od){let Md=Od.prototype;Md.visitors.inlineMath=Ud;function Ud(jd){let Ld="$";return(jd.data&&jd.data.hProperties&&jd.data.hProperties.className||[]).includes(vd)&&(Ld="$$"),Ld+jd.value+Ld}}}),$i=C$3((Ra,qa)=>{var nd=Bt$3();qa.exports=vd;var od=10,ld=32,ud=36,dd=`
|
||
`,pd="$",fd=2,md=["math","math-display"];function vd(){let Id=this.Parser,Od=this.Compiler;nd.isRemarkParser(Id)&&Ad(Id),nd.isRemarkCompiler(Od)&&Nd(Od)}function Ad(Id){let Od=Id.prototype,Md=Od.blockMethods,Ud=Od.interruptParagraph,jd=Od.interruptList,Ld=Od.interruptBlockquote;Od.blockTokenizers.math=Bd,Md.splice(Md.indexOf("fencedCode")+1,0,"math"),Ud.splice(Ud.indexOf("fencedCode")+1,0,["math"]),jd.splice(jd.indexOf("fencedCode")+1,0,["math"]),Ld.splice(Ld.indexOf("fencedCode")+1,0,["math"]);function Bd(Gd,qd,zd){var Xd=qd.length,gf=0;let Yd,Zd,df,Ef,_f,xf,vf,Af,Df,jf,Jf;for(;gf<Xd&&qd.charCodeAt(gf)===ld;)gf++;for(_f=gf;gf<Xd&&qd.charCodeAt(gf)===ud;)gf++;if(xf=gf-_f,!(xf<fd)){for(;gf<Xd&&qd.charCodeAt(gf)===ld;)gf++;for(vf=gf;gf<Xd;){if(Yd=qd.charCodeAt(gf),Yd===ud)return;if(Yd===od)break;gf++}if(qd.charCodeAt(gf)===od){if(zd)return!0;for(Zd=[],vf!==gf&&Zd.push(qd.slice(vf,gf)),gf++,df=qd.indexOf(dd,gf+1),df=df===-1?Xd:df;gf<Xd;){for(Af=!1,jf=gf,Jf=df,Ef=df,Df=0;Ef>jf&&qd.charCodeAt(Ef-1)===ld;)Ef--;for(;Ef>jf&&qd.charCodeAt(Ef-1)===ud;)Df++,Ef--;for(xf<=Df&&qd.indexOf(pd,jf)===Ef&&(Af=!0,Jf=Ef);jf<=Jf&&jf-gf<_f&&qd.charCodeAt(jf)===ld;)jf++;if(Af)for(;Jf>jf&&qd.charCodeAt(Jf-1)===ld;)Jf--;if((!Af||jf!==Jf)&&Zd.push(qd.slice(jf,Jf)),Af)break;gf=df+1,df=qd.indexOf(dd,gf+1),df=df===-1?Xd:df}return Zd=Zd.join(`
|
||
`),Gd(qd.slice(0,df))({type:"math",value:Zd,data:{hName:"div",hProperties:{className:md.concat()},hChildren:[{type:"text",value:Zd}]}})}}}}function Nd(Id){let Od=Id.prototype;Od.visitors.math=Md;function Md(Ud){return`$$
|
||
`+Ud.value+`
|
||
$$`}}}),Wi=C$3((Ra,qa)=>{var nd=Mi(),od=$i();qa.exports=ld;function ld(ud){var dd=ud||{};od.call(this,dd),nd.call(this,dd)}}),Ie$3=C$3((Ra,qa)=>{qa.exports=od;var nd=Object.prototype.hasOwnProperty;function od(){for(var ld={},ud=0;ud<arguments.length;ud++){var dd=arguments[ud];for(var pd in dd)nd.call(dd,pd)&&(ld[pd]=dd[pd])}return ld}}),Ji$1=C$3((Ra,qa)=>{typeof Object.create=="function"?qa.exports=function(nd,od){od&&(nd.super_=od,nd.prototype=Object.create(od.prototype,{constructor:{value:nd,enumerable:!1,writable:!0,configurable:!0}}))}:qa.exports=function(nd,od){if(od){nd.super_=od;var ld=function(){};ld.prototype=od.prototype,nd.prototype=new ld,nd.prototype.constructor=nd}}}),Zi=C$3((Ra,qa)=>{var nd=Ie$3(),od=Ji$1();qa.exports=ld;function ld(ud){var dd,pd,fd;od(vd,ud),od(md,vd),dd=vd.prototype;for(pd in dd)fd=dd[pd],fd&&typeof fd=="object"&&(dd[pd]="concat"in fd?fd.concat():nd(fd));return vd;function md(Ad){return ud.apply(this,Ad)}function vd(){return this instanceof vd?ud.apply(this,arguments):new md(arguments)}}}),ru$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud){return dd;function dd(){var pd=ud||this,fd=pd[od];return pd[od]=!ld,md;function md(){pd[od]=fd}}}}),nu$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){for(var ld=String(od),ud=[],dd=/\r?\n|\r/g;dd.exec(ld);)ud.push(dd.lastIndex);return ud.push(ld.length+1),{toPoint:pd,toPosition:pd,toOffset:fd};function pd(md){var vd=-1;if(md>-1&&md<ud[ud.length-1]){for(;++vd<ud.length;)if(ud[vd]>md)return{line:vd+1,column:md-(ud[vd-1]||0)+1,offset:md}}return{}}function fd(md){var vd=md&&md.line,Ad=md&&md.column,Nd;return!isNaN(vd)&&!isNaN(Ad)&&vd-1 in ud&&(Nd=(ud[vd-2]||0)+Ad-1||0),Nd>-1&&Nd<ud[ud.length-1]?Nd:-1}}}),uu$2=C$3((Ra,qa)=>{qa.exports=od;var nd="\\";function od(ld,ud){return dd;function dd(pd){for(var fd=0,md=pd.indexOf(nd),vd=ld[ud],Ad=[],Nd;md!==-1;)Ad.push(pd.slice(fd,md)),fd=md+1,Nd=pd.charAt(fd),(!Nd||vd.indexOf(Nd)===-1)&&Ad.push(nd),md=pd.indexOf(nd,fd+1);return Ad.push(pd.slice(fd)),Ad.join("")}}}),au$2=C$3((Ra,qa)=>{qa.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),ou$1=C$3((Ra,qa)=>{qa.exports={0:"<22>",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Ne$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){var ld=typeof od=="string"?od.charCodeAt(0):od;return ld>=48&&ld<=57}}),lu$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){var ld=typeof od=="string"?od.charCodeAt(0):od;return ld>=97&&ld<=102||ld>=65&&ld<=70||ld>=48&&ld<=57}}),Ve$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){var ld=typeof od=="string"?od.charCodeAt(0):od;return ld>=97&&ld<=122||ld>=65&&ld<=90}}),pu$1=C$3((Ra,qa)=>{var nd=Ve$3(),od=Ne$3();qa.exports=ld;function ld(ud){return nd(ud)||od(ud)}}),du$1=C$3((Ra,qa)=>{qa.exports={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
||
`,Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""}}),Fu$1=C$3((Ra,qa)=>{var nd=du$1();qa.exports=ld;var od={}.hasOwnProperty;function ld(ud){return od.call(nd,ud)?nd[ud]:!1}}),pr$1=C$3((Ra,qa)=>{var nd=au$2(),od=ou$1(),ld=Ne$3(),ud=lu$1(),dd=pu$1(),pd=Fu$1();qa.exports=th;var fd={}.hasOwnProperty,md=String.fromCharCode,vd=Function.prototype,Ad={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Nd=9,Id=10,Od=12,Md=32,Ud=38,jd=59,Ld=60,Bd=61,Gd=35,qd=88,zd=120,Xd=65533,gf="named",Yd="hexadecimal",Zd="decimal",df={};df[Yd]=16,df[Zd]=10;var Ef={};Ef[gf]=dd,Ef[Zd]=ld,Ef[Yd]=ud;var _f=1,xf=2,vf=3,Af=4,Df=5,jf=6,Jf=7,eh={};eh[_f]="Named character references must be terminated by a semicolon",eh[xf]="Numeric character references must be terminated by a semicolon",eh[vf]="Named character references cannot be empty",eh[Af]="Numeric character references cannot be empty",eh[Df]="Named character references must be known",eh[jf]="Numeric character references cannot be disallowed",eh[Jf]="Numeric character references cannot be outside the permissible Unicode range";function th(qf,zf){var Tf={},Sf,Yf;zf||(zf={});for(Yf in Ad)Sf=zf[Yf],Tf[Yf]=Sf??Ad[Yf];return(Tf.position.indent||Tf.position.start)&&(Tf.indent=Tf.position.indent||[],Tf.position=Tf.position.start),Uf(qf,Tf)}function Uf(qf,zf){var Tf=zf.additional,Sf=zf.nonTerminated,Yf=zf.text,ih=zf.reference,Th=zf.warning,sh=zf.textContext,Nf=zf.referenceContext,ph=zf.warningContext,Oh=zf.position,Zf=zf.indent||[],Rf=qf.length,Bf=0,Kf=-1,wh=Oh.column||1,Ah=Oh.line||1,mh="",im=[],Bh,Tm,Pm,gm,Mm,Hm,gh,Lf,$f,fh,Ch,Zh,dm,Im,Ym,Fm,ug,rg,Eg;for(typeof Tf=="string"&&(Tf=Tf.charCodeAt(0)),Fm=kg(),Lf=Th?n_:vd,Bf--,Rf++;++Bf<Rf;)if(Mm===Id&&(wh=Zf[Kf]||1),Mm=qf.charCodeAt(Bf),Mm===Ud){if(gh=qf.charCodeAt(Bf+1),gh===Nd||gh===Id||gh===Od||gh===Md||gh===Ud||gh===Ld||gh!==gh||Tf&&gh===Tf){mh+=md(Mm),wh++;continue}for(dm=Bf+1,Zh=dm,Eg=dm,gh===Gd?(Eg=++Zh,gh=qf.charCodeAt(Eg),gh===qd||gh===zd?(Im=Yd,Eg=++Zh):Im=Zd):Im=gf,Bh="",Ch="",gm="",Ym=Ef[Im],Eg--;++Eg<Rf&&(gh=qf.charCodeAt(Eg),!!Ym(gh));)gm+=md(gh),Im===gf&&fd.call(nd,gm)&&(Bh=gm,Ch=nd[gm]);Pm=qf.charCodeAt(Eg)===jd,Pm&&(Eg++,Tm=Im===gf?pd(gm):!1,Tm&&(Bh=gm,Ch=Tm)),rg=1+Eg-dm,!Pm&&!Sf||(gm?Im===gf?(Pm&&!Ch?Lf(Df,1):(Bh!==gm&&(Eg=Zh+Bh.length,rg=1+Eg-Zh,Pm=!1),Pm||($f=Bh?_f:vf,zf.attribute?(gh=qf.charCodeAt(Eg),gh===Bd?(Lf($f,rg),Ch=null):dd(gh)?Ch=null:Lf($f,rg)):Lf($f,rg))),Hm=Ch):(Pm||Lf(xf,rg),Hm=parseInt(gm,df[Im]),Of(Hm)?(Lf(Jf,rg),Hm=md(Xd)):Hm in od?(Lf(jf,rg),Hm=od[Hm]):(fh="",Wf(Hm)&&Lf(jf,rg),Hm>65535&&(Hm-=65536,fh+=md(Hm>>>10|55296),Hm=56320|Hm&1023),Hm=fh+md(Hm))):Im!==gf&&Lf(Af,rg)),Hm?(Fg(),Fm=kg(),Bf=Eg-1,wh+=Eg-dm+1,im.push(Hm),ug=kg(),ug.offset++,ih&&ih.call(Nf,Hm,{start:Fm,end:ug},qf.slice(dm-1,Eg)),Fm=ug):(gm=qf.slice(dm-1,Eg),mh+=gm,wh+=gm.length,Bf=Eg-1)}else Mm===10&&(Ah++,Kf++,wh=0),Mm===Mm?(mh+=md(Mm),wh++):Fg();return im.join("");function kg(){return{line:Ah,column:wh,offset:Bf+(Oh.offset||0)}}function n_(Kg,Ng){var g_=kg();g_.column+=Ng,g_.offset+=Ng,Th.call(ph,eh[Kg],g_,Kg)}function Fg(){mh&&(im.push(mh),Yf&&Yf.call(sh,mh,{start:Fm,end:kg()}),mh="")}}function Of(qf){return qf>=55296&&qf<=57343||qf>1114111}function Wf(qf){return qf>=1&&qf<=8||qf===11||qf>=13&&qf<=31||qf>=127&&qf<=159||qf>=64976&&qf<=65007||(qf&65535)===65535||(qf&65535)===65534}}),Ou$1=C$3((Ra,qa)=>{var nd=Ie$3(),od=pr$1();qa.exports=ld;function ld(ud){return pd.raw=fd,pd;function dd(vd){for(var Ad=ud.offset,Nd=vd.line,Id=[];++Nd&&Nd in Ad;)Id.push((Ad[Nd]||0)+1);return{start:vd,indent:Id}}function pd(vd,Ad,Nd){od(vd,{position:dd(Ad),warning:md,text:Nd,reference:Nd,textContext:ud,referenceContext:ud})}function fd(vd,Ad,Nd){return od(vd,nd(Nd,{position:dd(Ad),warning:md}))}function md(vd,Ad,Nd){Nd!==3&&ud.file.message(vd,Ad)}}}),Iu$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(dd){return pd;function pd(fd,md){var vd=this,Ad=vd.offset,Nd=[],Id=vd[dd+"Methods"],Od=vd[dd+"Tokenizers"],Md=md.line,Ud=md.column,jd,Ld,Bd,Gd,qd,zd;if(!fd)return Nd;for(xf.now=Yd,xf.file=vd.file,Xd("");fd;){for(jd=-1,Ld=Id.length,qd=!1;++jd<Ld&&(Gd=Id[jd],Bd=Od[Gd],!(Bd&&(!Bd.onlyAtStart||vd.atStart)&&(!Bd.notInList||!vd.inList)&&(!Bd.notInBlock||!vd.inBlock)&&(!Bd.notInLink||!vd.inLink)&&(zd=fd.length,Bd.apply(vd,[xf,fd]),qd=zd!==fd.length,qd))););qd||vd.file.fail(new Error("Infinite loop"),xf.now())}return vd.eof=Yd(),Nd;function Xd(vf){for(var Af=-1,Df=vf.indexOf(`
|
||
`);Df!==-1;)Md++,Af=Df,Df=vf.indexOf(`
|
||
`,Df+1);Af===-1?Ud+=vf.length:Ud=vf.length-Af,Md in Ad&&(Af!==-1?Ud+=Ad[Md]:Ud<=Ad[Md]&&(Ud=Ad[Md]+1))}function gf(){var vf=[],Af=Md+1;return function(){for(var Df=Md+1;Af<Df;)vf.push((Ad[Af]||0)+1),Af++;return vf}}function Yd(){var vf={line:Md,column:Ud};return vf.offset=vd.toOffset(vf),vf}function Zd(vf){this.start=vf,this.end=Yd()}function df(vf){fd.slice(0,vf.length)!==vf&&vd.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),Yd())}function Ef(){var vf=Yd();return Af;function Af(Df,jf){var Jf=Df.position,eh=Jf?Jf.start:vf,th=[],Uf=Jf&&Jf.end.line,Of=vf.line;if(Df.position=new Zd(eh),Jf&&jf&&Jf.indent){if(th=Jf.indent,Uf<Of){for(;++Uf<Of;)th.push((Ad[Uf]||0)+1);th.push(vf.column)}jf=th.concat(jf)}return Df.position.indent=jf||[],Df}}function _f(vf,Af){var Df=Af?Af.children:Nd,jf=Df[Df.length-1],Jf;return jf&&vf.type===jf.type&&(vf.type==="text"||vf.type==="blockquote")&&od(jf)&&od(vf)&&(Jf=vf.type==="text"?ld:ud,vf=Jf.call(vd,jf,vf)),vf!==jf&&Df.push(vf),vd.atStart&&Nd.length!==0&&vd.exitStart(),vf}function xf(vf){var Af=gf(),Df=Ef(),jf=Yd();return df(vf),Jf.reset=eh,eh.test=th,Jf.test=th,fd=fd.slice(vf.length),Xd(vf),Af=Af(),Jf;function Jf(Uf,Of){return Df(_f(Df(Uf),Of),Af)}function eh(){var Uf=Jf.apply(null,arguments);return Md=jf.line,Ud=jf.column,fd=vf+fd,Uf}function th(){var Uf=Df({});return Md=jf.line,Ud=jf.column,fd=vf+fd,Uf.position}}}}function od(dd){var pd,fd;return dd.type!=="text"||!dd.position?!0:(pd=dd.position.start,fd=dd.position.end,pd.line!==fd.line||fd.column-pd.column===dd.value.length)}function ld(dd,pd){return dd.value+=pd.value,dd}function ud(dd,pd){return this.options.commonmark||this.options.gfm?pd:(dd.children=dd.children.concat(pd.children),dd)}}),Uu$2=C$3((Ra,qa)=>{qa.exports=ud;var nd=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],od=nd.concat(["~","|"]),ld=od.concat([`
|
||
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);ud.default=nd,ud.gfm=od,ud.commonmark=ld;function ud(dd){var pd=dd||{};return pd.commonmark?ld:pd.gfm?od:nd}}),Mu$1=C$3((Ra,qa)=>{qa.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]}),Rt$3=C$3((Ra,qa)=>{qa.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:Mu$1()}}),Vu$2=C$3((Ra,qa)=>{var nd=Ie$3(),od=Uu$2(),ld=Rt$3();qa.exports=ud;function ud(dd){var pd=this,fd=pd.options,md,vd;if(dd==null)dd={};else if(typeof dd=="object")dd=nd(dd);else throw new Error("Invalid value `"+dd+"` for setting `options`");for(md in ld){if(vd=dd[md],vd==null&&(vd=fd[md]),md!=="blocks"&&typeof vd!="boolean"||md==="blocks"&&typeof vd!="object")throw new Error("Invalid value `"+vd+"` for setting `options."+md+"`");dd[md]=vd}return pd.options=dd,pd.escape=od(dd),pd}}),Hu$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(pd){if(pd==null)return dd;if(typeof pd=="string")return ud(pd);if(typeof pd=="object")return"length"in pd?ld(pd):od(pd);if(typeof pd=="function")return pd;throw new Error("Expected function, string, or object as test")}function od(pd){return fd;function fd(md){var vd;for(vd in pd)if(md[vd]!==pd[vd])return!1;return!0}}function ld(pd){for(var fd=[],md=-1;++md<pd.length;)fd[md]=nd(pd[md]);return vd;function vd(){for(var Ad=-1;++Ad<fd.length;)if(fd[Ad].apply(this,arguments))return!0;return!1}}function ud(pd){return fd;function fd(md){return!!(md&&md.type===pd)}}function dd(){return!0}}),Ku$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){return od}}),Zu$2=C$3((Ra,qa)=>{qa.exports=pd;var nd=Hu$2(),od=Ku$2(),ld=!0,ud="skip",dd=!1;pd.CONTINUE=ld,pd.SKIP=ud,pd.EXIT=dd;function pd(md,vd,Ad,Nd){var Id,Od;typeof vd=="function"&&typeof Ad!="function"&&(Nd=Ad,Ad=vd,vd=null),Od=nd(vd),Id=Nd?-1:1,Md(md,null,[])();function Md(Ud,jd,Ld){var Bd=typeof Ud=="object"&&Ud!==null?Ud:{},Gd;return typeof Bd.type=="string"&&(Gd=typeof Bd.tagName=="string"?Bd.tagName:typeof Bd.name=="string"?Bd.name:void 0,qd.displayName="node ("+od(Bd.type+(Gd?"<"+Gd+">":""))+")"),qd;function qd(){var zd=Ld.concat(Ud),Xd=[],gf,Yd;if((!vd||Od(Ud,jd,Ld[Ld.length-1]||null))&&(Xd=fd(Ad(Ud,Ld)),Xd[0]===dd))return Xd;if(Ud.children&&Xd[0]!==ud)for(Yd=(Nd?Ud.children.length:-1)+Id;Yd>-1&&Yd<Ud.children.length;){if(gf=Md(Ud.children[Yd],Yd,zd)(),gf[0]===dd)return gf;Yd=typeof gf[1]=="number"?gf[1]:Yd+Id}return Xd}}}function fd(md){return md!==null&&typeof md=="object"&&"length"in md?md:typeof md=="number"?[ld,md]:[md]}}),ra$1=C$3((Ra,qa)=>{qa.exports=dd;var nd=Zu$2(),od=nd.CONTINUE,ld=nd.SKIP,ud=nd.EXIT;dd.CONTINUE=od,dd.SKIP=ld,dd.EXIT=ud;function dd(pd,fd,md,vd){typeof fd=="function"&&typeof md!="function"&&(vd=md,md=fd,fd=null),nd(pd,fd,Ad,vd);function Ad(Nd,Id){var Od=Id[Id.length-1],Md=Od?Od.children.indexOf(Nd):null;return md(Nd,Md,Od)}}}),na=C$3((Ra,qa)=>{var nd=ra$1();qa.exports=od;function od(dd,pd){return nd(dd,pd?ld:ud),dd}function ld(dd){delete dd.position}function ud(dd){dd.position=void 0}}),aa$2=C$3((Ra,qa)=>{var nd=Ie$3(),od=na();qa.exports=dd;var ld=`
|
||
`,ud=/\r\n|\r/g;function dd(){var pd=this,fd=String(pd.file),md={line:1,column:1,offset:0},vd=nd(md),Ad;return fd=fd.replace(ud,ld),fd.charCodeAt(0)===65279&&(fd=fd.slice(1),vd.column++,vd.offset++),Ad={type:"root",children:pd.tokenizeBlock(fd,vd),position:{start:md,end:pd.eof||nd(md)}},pd.options.position||od(Ad,!0),Ad}}),sa=C$3((Ra,qa)=>{var nd=/^[ \t]*(\n|$)/;qa.exports=od;function od(ld,ud,dd){for(var pd,fd="",md=0,vd=ud.length;md<vd&&(pd=nd.exec(ud.slice(md)),pd!=null);)md+=pd[0].length,fd+=pd[0];if(fd!==""){if(dd)return!0;ld(fd)}}}),Hr$2=C$3((Ra,qa)=>{var nd="",od;qa.exports=ld;function ld(ud,dd){if(typeof ud!="string")throw new TypeError("expected a string");if(dd===1)return ud;if(dd===2)return ud+ud;var pd=ud.length*dd;if(od!==ud||typeof od>"u")od=ud,nd="";else if(nd.length>=pd)return nd.substr(0,pd);for(;pd>nd.length&&dd>1;)dd&1&&(nd+=ud),dd>>=1,ud+=ud;return nd+=ud,nd=nd.substr(0,pd),nd}}),Mt$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){return String(od).replace(/\n+$/,"")}}),pa=C$3((Ra,qa)=>{var nd=Hr$2(),od=Mt$3();qa.exports=md;var ld=`
|
||
`,ud=" ",dd=" ",pd=4,fd=nd(dd,pd);function md(vd,Ad,Nd){for(var Id=-1,Od=Ad.length,Md="",Ud="",jd="",Ld="",Bd,Gd,qd;++Id<Od;)if(Bd=Ad.charAt(Id),qd)if(qd=!1,Md+=jd,Ud+=Ld,jd="",Ld="",Bd===ld)jd=Bd,Ld=Bd;else for(Md+=Bd,Ud+=Bd;++Id<Od;){if(Bd=Ad.charAt(Id),!Bd||Bd===ld){Ld=Bd,jd=Bd;break}Md+=Bd,Ud+=Bd}else if(Bd===dd&&Ad.charAt(Id+1)===Bd&&Ad.charAt(Id+2)===Bd&&Ad.charAt(Id+3)===Bd)jd+=fd,Id+=3,qd=!0;else if(Bd===ud)jd+=Bd,qd=!0;else{for(Gd="";Bd===ud||Bd===dd;)Gd+=Bd,Bd=Ad.charAt(++Id);if(Bd!==ld)break;jd+=Gd+Bd,Ld+=Bd}if(Ud)return Nd?!0:vd(Md)({type:"code",lang:null,meta:null,value:od(Ud)})}}),ma=C$3((Ra,qa)=>{qa.exports=md;var nd=`
|
||
`,od=" ",ld=" ",ud="~",dd="`",pd=3,fd=4;function md(vd,Ad,Nd){var Id=this,Od=Id.options.gfm,Md=Ad.length+1,Ud=0,jd="",Ld,Bd,Gd,qd,zd,Xd,gf,Yd,Zd,df,Ef,_f,xf;if(Od){for(;Ud<Md&&(Gd=Ad.charAt(Ud),!(Gd!==ld&&Gd!==od));)jd+=Gd,Ud++;if(_f=Ud,Gd=Ad.charAt(Ud),!(Gd!==ud&&Gd!==dd)){for(Ud++,Bd=Gd,Ld=1,jd+=Gd;Ud<Md&&(Gd=Ad.charAt(Ud),Gd===Bd);)jd+=Gd,Ld++,Ud++;if(!(Ld<pd)){for(;Ud<Md&&(Gd=Ad.charAt(Ud),!(Gd!==ld&&Gd!==od));)jd+=Gd,Ud++;for(qd="",gf="";Ud<Md&&(Gd=Ad.charAt(Ud),!(Gd===nd||Bd===dd&&Gd===Bd));)Gd===ld||Gd===od?gf+=Gd:(qd+=gf+Gd,gf=""),Ud++;if(Gd=Ad.charAt(Ud),!(Gd&&Gd!==nd)){if(Nd)return!0;xf=vd.now(),xf.column+=jd.length,xf.offset+=jd.length,jd+=qd,qd=Id.decode.raw(Id.unescape(qd),xf),gf&&(jd+=gf),gf="",df="",Ef="",Yd="",Zd="";for(var vf=!0;Ud<Md;){if(Gd=Ad.charAt(Ud),Yd+=df,Zd+=Ef,df="",Ef="",Gd!==nd){Yd+=Gd,Ef+=Gd,Ud++;continue}for(vf?(jd+=Gd,vf=!1):(df+=Gd,Ef+=Gd),gf="",Ud++;Ud<Md&&(Gd=Ad.charAt(Ud),Gd===ld);)gf+=Gd,Ud++;if(df+=gf,Ef+=gf.slice(_f),!(gf.length>=fd)){for(gf="";Ud<Md&&(Gd=Ad.charAt(Ud),Gd===Bd);)gf+=Gd,Ud++;if(df+=gf,Ef+=gf,!(gf.length<Ld)){for(gf="";Ud<Md&&(Gd=Ad.charAt(Ud),!(Gd!==ld&&Gd!==od));)df+=Gd,Ef+=Gd,Ud++;if(!Gd||Gd===nd)break}}}for(jd+=Yd+df,Ud=-1,Md=qd.length;++Ud<Md;)if(Gd=qd.charAt(Ud),Gd===ld||Gd===od)zd||(zd=qd.slice(0,Ud));else if(zd){Xd=qd.slice(Ud);break}return vd(jd)({type:"code",lang:zd||qd||null,meta:Xd||null,value:Zd})}}}}}}),Re$5=C$3((Ra,qa)=>{Ra=qa.exports=nd;function nd(od){return od.trim?od.trim():Ra.right(Ra.left(od))}Ra.left=function(od){return od.trimLeft?od.trimLeft():od.replace(/^\s\s*/,"")},Ra.right=function(od){if(od.trimRight)return od.trimRight();for(var ld=/\s/,ud=od.length;ld.test(od.charAt(--ud)););return od.slice(0,ud+1)}}),Kr$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud,dd){for(var pd=od.length,fd=-1,md,vd;++fd<pd;)if(md=od[fd],vd=md[1]||{},!(vd.pedantic!==void 0&&vd.pedantic!==ud.options.pedantic)&&!(vd.commonmark!==void 0&&vd.commonmark!==ud.options.commonmark)&&ld[md[0]].apply(ud,dd))return!0;return!1}}),ba$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Kr$2();qa.exports=fd;var ld=`
|
||
`,ud=" ",dd=" ",pd=">";function fd(md,vd,Ad){for(var Nd=this,Id=Nd.offset,Od=Nd.blockTokenizers,Md=Nd.interruptBlockquote,Ud=md.now(),jd=Ud.line,Ld=vd.length,Bd=[],Gd=[],qd=[],zd,Xd=0,gf,Yd,Zd,df,Ef,_f,xf,vf;Xd<Ld&&(gf=vd.charAt(Xd),!(gf!==dd&&gf!==ud));)Xd++;if(vd.charAt(Xd)===pd){if(Ad)return!0;for(Xd=0;Xd<Ld;){for(Zd=vd.indexOf(ld,Xd),_f=Xd,xf=!1,Zd===-1&&(Zd=Ld);Xd<Ld&&(gf=vd.charAt(Xd),!(gf!==dd&&gf!==ud));)Xd++;if(vd.charAt(Xd)===pd?(Xd++,xf=!0,vd.charAt(Xd)===dd&&Xd++):Xd=_f,df=vd.slice(Xd,Zd),!xf&&!nd(df)){Xd=_f;break}if(!xf&&(Yd=vd.slice(Xd),od(Md,Od,Nd,[md,Yd,!0])))break;Ef=_f===Xd?df:vd.slice(_f,Zd),qd.push(Xd-_f),Bd.push(Ef),Gd.push(df),Xd=Zd+1}for(Xd=-1,Ld=qd.length,zd=md(Bd.join(ld));++Xd<Ld;)Id[jd]=(Id[jd]||0)+qd[Xd],jd++;return vf=Nd.enterBlock(),Gd=Nd.tokenizeBlock(Gd.join(ld),Ud),vf(),zd({type:"blockquote",children:Gd})}}}),xa$1=C$3((Ra,qa)=>{qa.exports=pd;var nd=`
|
||
`,od=" ",ld=" ",ud="#",dd=6;function pd(fd,md,vd){for(var Ad=this,Nd=Ad.options.pedantic,Id=md.length+1,Od=-1,Md=fd.now(),Ud="",jd="",Ld,Bd,Gd;++Od<Id;){if(Ld=md.charAt(Od),Ld!==ld&&Ld!==od){Od--;break}Ud+=Ld}for(Gd=0;++Od<=Id;){if(Ld=md.charAt(Od),Ld!==ud){Od--;break}Ud+=Ld,Gd++}if(!(Gd>dd)&&!(!Gd||!Nd&&md.charAt(Od+1)===ud)){for(Id=md.length+1,Bd="";++Od<Id;){if(Ld=md.charAt(Od),Ld!==ld&&Ld!==od){Od--;break}Bd+=Ld}if(!(!Nd&&Bd.length===0&&Ld&&Ld!==nd)){if(vd)return!0;for(Ud+=Bd,Bd="",jd="";++Od<Id&&(Ld=md.charAt(Od),!(!Ld||Ld===nd));){if(Ld!==ld&&Ld!==od&&Ld!==ud){jd+=Bd+Ld,Bd="";continue}for(;Ld===ld||Ld===od;)Bd+=Ld,Ld=md.charAt(++Od);if(!Nd&&jd&&!Bd&&Ld===ud){jd+=Ld;continue}for(;Ld===ud;)Bd+=Ld,Ld=md.charAt(++Od);for(;Ld===ld||Ld===od;)Bd+=Ld,Ld=md.charAt(++Od);Od--}return Md.column+=Ud.length,Md.offset+=Ud.length,Ud+=jd+Bd,fd(Ud)({type:"heading",depth:Gd,children:Ad.tokenizeInline(jd,Md)})}}}}),Ba=C$3((Ra,qa)=>{qa.exports=md;var nd=" ",od=`
|
||
`,ld=" ",ud="*",dd="-",pd="_",fd=3;function md(vd,Ad,Nd){for(var Id=-1,Od=Ad.length+1,Md="",Ud,jd,Ld,Bd;++Id<Od&&(Ud=Ad.charAt(Id),!(Ud!==nd&&Ud!==ld));)Md+=Ud;if(!(Ud!==ud&&Ud!==dd&&Ud!==pd))for(jd=Ud,Md+=Ud,Ld=1,Bd="";++Id<Od;)if(Ud=Ad.charAt(Id),Ud===jd)Ld++,Md+=Bd+jd,Bd="";else if(Ud===ld)Bd+=Ud;else return Ld>=fd&&(!Ud||Ud===od)?(Md+=Bd,Nd?!0:vd(Md)({type:"thematicBreak"})):void 0}}),$t$3=C$3((Ra,qa)=>{qa.exports=dd;var nd=" ",od=" ",ld=1,ud=4;function dd(pd){for(var fd=0,md=0,vd=pd.charAt(fd),Ad={},Nd,Id=0;vd===nd||vd===od;){for(Nd=vd===nd?ud:ld,md+=Nd,Nd>1&&(md=Math.floor(md/Nd)*Nd);Id<md;)Ad[++Id]=fd;vd=pd.charAt(++fd)}return{indent:md,stops:Ad}}}),Oa$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Hr$2(),ld=$t$3();qa.exports=fd;var ud=`
|
||
`,dd=" ",pd="!";function fd(md,vd){var Ad=md.split(ud),Nd=Ad.length+1,Id=1/0,Od=[],Md,Ud,jd;for(Ad.unshift(od(dd,vd)+pd);Nd--;)if(Ud=ld(Ad[Nd]),Od[Nd]=Ud.stops,nd(Ad[Nd]).length!==0)if(Ud.indent)Ud.indent>0&&Ud.indent<Id&&(Id=Ud.indent);else{Id=1/0;break}if(Id!==1/0)for(Nd=Ad.length;Nd--;){for(jd=Od[Nd],Md=Id;Md&&!(Md in jd);)Md--;Ad[Nd]=Ad[Nd].slice(jd[Md]+1)}return Ad.shift(),Ad.join(ud)}}),Ua$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Hr$2(),ld=Ne$3(),ud=$t$3(),dd=Oa$1(),pd=Kr$2();qa.exports=gf;var fd="*",md="_",vd="+",Ad="-",Nd=".",Id=" ",Od=`
|
||
`,Md=" ",Ud=")",jd="x",Ld=4,Bd=/\n\n(?!\s*$)/,Gd=/^\[([ X\tx])][ \t]/,qd=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,zd=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,Xd=/^( {1,4}|\t)?/gm;function gf(Ef,_f,xf){for(var vf=this,Af=vf.options.commonmark,Df=vf.options.pedantic,jf=vf.blockTokenizers,Jf=vf.interruptList,eh=0,th=_f.length,Uf=null,Of,Wf,qf,zf,Tf,Sf,Yf,ih,Th,sh,Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah,mh=!1,im,Bh,Tm,Pm;eh<th&&(zf=_f.charAt(eh),!(zf!==Md&&zf!==Id));)eh++;if(zf=_f.charAt(eh),zf===fd||zf===vd||zf===Ad)Tf=zf,qf=!1;else{for(qf=!0,Wf="";eh<th&&(zf=_f.charAt(eh),!!ld(zf));)Wf+=zf,eh++;if(zf=_f.charAt(eh),!Wf||!(zf===Nd||Af&&zf===Ud)||xf&&Wf!=="1")return;Uf=parseInt(Wf,10),Tf=zf}if(zf=_f.charAt(++eh),!(zf!==Id&&zf!==Md&&(Df||zf!==Od&&zf!==""))){if(xf)return!0;for(eh=0,Zf=[],Rf=[],Bf=[];eh<th;){for(Sf=_f.indexOf(Od,eh),Yf=eh,ih=!1,Pm=!1,Sf===-1&&(Sf=th),Of=0;eh<th;){if(zf=_f.charAt(eh),zf===Md)Of+=Ld-Of%Ld;else if(zf===Id)Of++;else break;eh++}if(Kf&&Of>=Kf.indent&&(Pm=!0),zf=_f.charAt(eh),Th=null,!Pm){if(zf===fd||zf===vd||zf===Ad)Th=zf,eh++,Of++;else{for(Wf="";eh<th&&(zf=_f.charAt(eh),!!ld(zf));)Wf+=zf,eh++;zf=_f.charAt(eh),eh++,Wf&&(zf===Nd||Af&&zf===Ud)&&(Th=zf,Of+=Wf.length+1)}if(Th)if(zf=_f.charAt(eh),zf===Md)Of+=Ld-Of%Ld,eh++;else if(zf===Id){for(Tm=eh+Ld;eh<Tm&&_f.charAt(eh)===Id;)eh++,Of++;eh===Tm&&_f.charAt(eh)===Id&&(eh-=Ld-1,Of-=Ld-1)}else zf!==Od&&zf!==""&&(Th=null)}if(Th){if(!Df&&Tf!==Th)break;ih=!0}else!Af&&!Pm&&_f.charAt(Yf)===Id?Pm=!0:Af&&Kf&&(Pm=Of>=Kf.indent||Of>Ld),ih=!1,eh=Yf;if(Nf=_f.slice(Yf,Sf),sh=Yf===eh?Nf:_f.slice(eh,Sf),(Th===fd||Th===md||Th===Ad)&&jf.thematicBreak.call(vf,Ef,Nf,!0))break;if(ph=Oh,Oh=!ih&&!nd(sh).length,Pm&&Kf)Kf.value=Kf.value.concat(Bf,Nf),Rf=Rf.concat(Bf,Nf),Bf=[];else if(ih)Bf.length!==0&&(mh=!0,Kf.value.push(""),Kf.trail=Bf.concat()),Kf={value:[Nf],indent:Of,trail:[]},Zf.push(Kf),Rf=Rf.concat(Bf,Nf),Bf=[];else if(Oh){if(ph&&!Af)break;Bf.push(Nf)}else{if(ph||pd(Jf,jf,vf,[Ef,Nf,!0]))break;Kf.value=Kf.value.concat(Bf,Nf),Rf=Rf.concat(Bf,Nf),Bf=[]}eh=Sf+1}for(im=Ef(Rf.join(Od)).reset({type:"list",ordered:qf,start:Uf,spread:mh,children:[]}),wh=vf.enterList(),Ah=vf.enterBlock(),eh=-1,th=Zf.length;++eh<th;)Kf=Zf[eh].value.join(Od),Bh=Ef.now(),Ef(Kf)(Yd(vf,Kf,Bh),im),Kf=Zf[eh].trail.join(Od),eh!==th-1&&(Kf+=Od),Ef(Kf);return wh(),Ah(),im}}function Yd(Ef,_f,xf){var vf=Ef.offset,Af=Ef.options.pedantic?Zd:df,Df=null,jf,Jf;return _f=Af.apply(null,arguments),Ef.options.gfm&&(jf=_f.match(Gd),jf&&(Jf=jf[0].length,Df=jf[1].toLowerCase()===jd,vf[xf.line]+=Jf,_f=_f.slice(Jf))),{type:"listItem",spread:Bd.test(_f),checked:Df,children:Ef.tokenizeBlock(_f,xf)}}function Zd(Ef,_f,xf){var vf=Ef.offset,Af=xf.line;return _f=_f.replace(zd,Df),Af=xf.line,_f.replace(Xd,Df);function Df(jf){return vf[Af]=(vf[Af]||0)+jf.length,Af++,""}}function df(Ef,_f,xf){var vf=Ef.offset,Af=xf.line,Df,jf,Jf,eh,th,Uf,Of;for(_f=_f.replace(qd,Wf),eh=_f.split(Od),th=dd(_f,ud(Df).indent).split(Od),th[0]=Jf,vf[Af]=(vf[Af]||0)+jf.length,Af++,Uf=0,Of=eh.length;++Uf<Of;)vf[Af]=(vf[Af]||0)+eh[Uf].length-th[Uf].length,Af++;return th.join(Od);function Wf(qf,zf,Tf,Sf,Yf){return jf=zf+Tf+Sf,Jf=Yf,Number(Tf)<10&&jf.length%2===1&&(Tf=Id+Tf),Df=zf+od(Id,Tf.length)+Sf,Df+Jf}}}),Ga=C$3((Ra,qa)=>{qa.exports=vd;var nd=`
|
||
`,od=" ",ld=" ",ud="=",dd="-",pd=3,fd=1,md=2;function vd(Ad,Nd,Id){for(var Od=this,Md=Ad.now(),Ud=Nd.length,jd=-1,Ld="",Bd,Gd,qd,zd,Xd;++jd<Ud;){if(qd=Nd.charAt(jd),qd!==ld||jd>=pd){jd--;break}Ld+=qd}for(Bd="",Gd="";++jd<Ud;){if(qd=Nd.charAt(jd),qd===nd){jd--;break}qd===ld||qd===od?Gd+=qd:(Bd+=Gd+qd,Gd="")}if(Md.column+=Ld.length,Md.offset+=Ld.length,Ld+=Bd+Gd,qd=Nd.charAt(++jd),zd=Nd.charAt(++jd),!(qd!==nd||zd!==ud&&zd!==dd)){for(Ld+=qd,Gd=zd,Xd=zd===ud?fd:md;++jd<Ud;){if(qd=Nd.charAt(jd),qd!==zd){if(qd!==nd)return;jd--;break}Gd+=qd}return Id?!0:Ad(Ld+Gd)({type:"heading",depth:Xd,children:Od.tokenizeInline(Bd,Md)})}}}),Xt$2=C$3(Ra=>{var qa="[a-zA-Z_:][a-zA-Z0-9:._-]*",nd="[^\"'=<>`\\u0000-\\u0020]+",od="'[^']*'",ld='"[^"]*"',ud="(?:"+nd+"|"+od+"|"+ld+")",dd="(?:\\s+"+qa+"(?:\\s*=\\s*"+ud+")?)",pd="<[A-Za-z][A-Za-z0-9\\-]*"+dd+"*\\s*\\/?>",fd="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",md="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",vd="<[?].*?[?]>",Ad="<![A-Za-z]+\\s+[^>]*>",Nd="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";Ra.openCloseTag=new RegExp("^(?:"+pd+"|"+fd+")"),Ra.tag=new RegExp("^(?:"+pd+"|"+fd+"|"+md+"|"+vd+"|"+Ad+"|"+Nd+")")}),Ka=C$3((Ra,qa)=>{var nd=Xt$2().openCloseTag;qa.exports=Bd;var od=" ",ld=" ",ud=`
|
||
`,dd="<",pd=/^<(script|pre|style)(?=(\s|>|$))/i,fd=/<\/(script|pre|style)>/i,md=/^<!--/,vd=/-->/,Ad=/^<\?/,Nd=/\?>/,Id=/^<![A-Za-z]/,Od=/>/,Md=/^<!\[CDATA\[/,Ud=/]]>/,jd=/^$/,Ld=new RegExp(nd.source+"\\s*$");function Bd(Gd,qd,zd){for(var Xd=this,gf=Xd.options.blocks.join("|"),Yd=new RegExp("^</?("+gf+")(?=(\\s|/?>|$))","i"),Zd=qd.length,df=0,Ef,_f,xf,vf,Af,Df,jf,Jf=[[pd,fd,!0],[md,vd,!0],[Ad,Nd,!0],[Id,Od,!0],[Md,Ud,!0],[Yd,jd,!0],[Ld,jd,!1]];df<Zd&&(vf=qd.charAt(df),!(vf!==od&&vf!==ld));)df++;if(qd.charAt(df)===dd){for(Ef=qd.indexOf(ud,df+1),Ef=Ef===-1?Zd:Ef,_f=qd.slice(df,Ef),xf=-1,Af=Jf.length;++xf<Af;)if(Jf[xf][0].test(_f)){Df=Jf[xf];break}if(Df){if(zd)return Df[2];if(df=Ef,!Df[1].test(_f))for(;df<Zd;){if(Ef=qd.indexOf(ud,df+1),Ef=Ef===-1?Zd:Ef,_f=qd.slice(df+1,Ef),Df[1].test(_f)){_f&&(df=Ef);break}df=Ef}return jf=qd.slice(0,df),Gd(jf)({type:"html",value:jf})}}}}),ue$4=C$3((Ra,qa)=>{qa.exports=ld;var nd=String.fromCharCode,od=/\s/;function ld(ud){return od.test(typeof ud=="number"?nd(ud):ud.charAt(0))}}),Qt$2=C$3((Ra,qa)=>{var nd=xr$1();qa.exports=od;function od(ld){return nd(ld).toLowerCase()}}),io$1=C$3((Ra,qa)=>{var nd=ue$4(),od=Qt$2();qa.exports=jd;var ld='"',ud="'",dd="\\",pd=`
|
||
`,fd=" ",md=" ",vd="[",Ad="]",Nd="(",Id=")",Od=":",Md="<",Ud=">";function jd(Gd,qd,zd){for(var Xd=this,gf=Xd.options.commonmark,Yd=0,Zd=qd.length,df="",Ef,_f,xf,vf,Af,Df,jf,Jf;Yd<Zd&&(vf=qd.charAt(Yd),!(vf!==md&&vf!==fd));)df+=vf,Yd++;if(vf=qd.charAt(Yd),vf===vd){for(Yd++,df+=vf,xf="";Yd<Zd&&(vf=qd.charAt(Yd),vf!==Ad);)vf===dd&&(xf+=vf,Yd++,vf=qd.charAt(Yd)),xf+=vf,Yd++;if(!(!xf||qd.charAt(Yd)!==Ad||qd.charAt(Yd+1)!==Od)){for(Df=xf,df+=xf+Ad+Od,Yd=df.length,xf="";Yd<Zd&&(vf=qd.charAt(Yd),!(vf!==fd&&vf!==md&&vf!==pd));)df+=vf,Yd++;if(vf=qd.charAt(Yd),xf="",Ef=df,vf===Md){for(Yd++;Yd<Zd&&(vf=qd.charAt(Yd),!!Ld(vf));)xf+=vf,Yd++;if(vf=qd.charAt(Yd),vf===Ld.delimiter)df+=Md+xf+vf,Yd++;else{if(gf)return;Yd-=xf.length+1,xf=""}}if(!xf){for(;Yd<Zd&&(vf=qd.charAt(Yd),!!Bd(vf));)xf+=vf,Yd++;df+=xf}if(xf){for(jf=xf,xf="";Yd<Zd&&(vf=qd.charAt(Yd),!(vf!==fd&&vf!==md&&vf!==pd));)xf+=vf,Yd++;if(vf=qd.charAt(Yd),Af=null,vf===ld?Af=ld:vf===ud?Af=ud:vf===Nd&&(Af=Id),!Af)xf="",Yd=df.length;else if(xf){for(df+=xf+vf,Yd=df.length,xf="";Yd<Zd&&(vf=qd.charAt(Yd),vf!==Af);){if(vf===pd){if(Yd++,vf=qd.charAt(Yd),vf===pd||vf===Af)return;xf+=pd}xf+=vf,Yd++}if(vf=qd.charAt(Yd),vf!==Af)return;_f=df,df+=xf+vf,Yd++,Jf=xf,xf=""}else return;for(;Yd<Zd&&(vf=qd.charAt(Yd),!(vf!==fd&&vf!==md));)df+=vf,Yd++;if(vf=qd.charAt(Yd),!vf||vf===pd)return zd?!0:(Ef=Gd(Ef).test().end,jf=Xd.decode.raw(Xd.unescape(jf),Ef,{nonTerminated:!1}),Jf&&(_f=Gd(_f).test().end,Jf=Xd.decode.raw(Xd.unescape(Jf),_f)),Gd(df)({type:"definition",identifier:od(Df),label:Df,title:Jf||null,url:jf}))}}}}function Ld(Gd){return Gd!==Ud&&Gd!==vd&&Gd!==Ad}Ld.delimiter=Ud;function Bd(Gd){return Gd!==vd&&Gd!==Ad&&!nd(Gd)}}),oo$2=C$3((Ra,qa)=>{var nd=ue$4();qa.exports=Md;var od=" ",ld=`
|
||
`,ud=" ",dd="-",pd=":",fd="\\",md="|",vd=1,Ad=2,Nd="left",Id="center",Od="right";function Md(Ud,jd,Ld){var Bd=this,Gd,qd,zd,Xd,gf,Yd,Zd,df,Ef,_f,xf,vf,Af,Df,jf,Jf,eh,th,Uf,Of,Wf,qf;if(Bd.options.gfm){for(Gd=0,Jf=0,Yd=jd.length+1,Zd=[];Gd<Yd;){if(Of=jd.indexOf(ld,Gd),Wf=jd.indexOf(md,Gd+1),Of===-1&&(Of=jd.length),Wf===-1||Wf>Of){if(Jf<Ad)return;break}Zd.push(jd.slice(Gd,Of)),Jf++,Gd=Of+1}for(Xd=Zd.join(ld),qd=Zd.splice(1,1)[0]||[],Gd=0,Yd=qd.length,Jf--,zd=!1,xf=[];Gd<Yd;){if(Ef=qd.charAt(Gd),Ef===md){if(_f=null,zd===!1){if(qf===!1)return}else xf.push(zd),zd=!1;qf=!1}else if(Ef===dd)_f=!0,zd=zd||null;else if(Ef===pd)zd===Nd?zd=Id:_f&&zd===null?zd=Od:zd=Nd;else if(!nd(Ef))return;Gd++}if(zd!==!1&&xf.push(zd),!(xf.length<vd)){if(Ld)return!0;for(jf=-1,th=[],Uf=Ud(Xd).reset({type:"table",align:xf,children:th});++jf<Jf;){for(eh=Zd[jf],gf={type:"tableRow",children:[]},jf&&Ud(ld),Ud(eh).reset(gf,Uf),Yd=eh.length+1,Gd=0,df="",vf="",Af=!0;Gd<Yd;){if(Ef=eh.charAt(Gd),Ef===od||Ef===ud){vf?df+=Ef:Ud(Ef),Gd++;continue}Ef===""||Ef===md?Af?Ud(Ef):((vf||Ef)&&!Af&&(Xd=vf,df.length>1&&(Ef?(Xd+=df.slice(0,-1),df=df.charAt(df.length-1)):(Xd+=df,df="")),Df=Ud.now(),Ud(Xd)({type:"tableCell",children:Bd.tokenizeInline(vf,Df)},gf)),Ud(df+Ef),df="",vf=""):(df&&(vf+=df,df=""),vf+=Ef,Ef===fd&&Gd!==Yd-2&&(vf+=eh.charAt(Gd+1),Gd++)),Af=!1,Gd++}jf||Ud(ld+qd)}return Uf}}}}),lo$1=C$3((Ra,qa)=>{var nd=Re$5(),od=Mt$3(),ld=Kr$2();qa.exports=md;var ud=" ",dd=`
|
||
`,pd=" ",fd=4;function md(vd,Ad,Nd){for(var Id=this,Od=Id.options,Md=Od.commonmark,Ud=Id.blockTokenizers,jd=Id.interruptParagraph,Ld=Ad.indexOf(dd),Bd=Ad.length,Gd,qd,zd,Xd,gf;Ld<Bd;){if(Ld===-1){Ld=Bd;break}if(Ad.charAt(Ld+1)===dd)break;if(Md){for(Xd=0,Gd=Ld+1;Gd<Bd;){if(zd=Ad.charAt(Gd),zd===ud){Xd=fd;break}else if(zd===pd)Xd++;else break;Gd++}if(Xd>=fd&&zd!==dd){Ld=Ad.indexOf(dd,Ld+1);continue}}if(qd=Ad.slice(Ld+1),ld(jd,Ud,Id,[vd,qd,!0]))break;if(Gd=Ld,Ld=Ad.indexOf(dd,Ld+1),Ld!==-1&&nd(Ad.slice(Gd,Ld))===""){Ld=Gd;break}}return qd=Ad.slice(0,Ld),Nd?!0:(gf=vd.now(),qd=od(qd),vd(qd)({type:"paragraph",children:Id.tokenizeInline(qd,gf)}))}}),Do$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("\\",ld)}}),Fo$1=C$3((Ra,qa)=>{var nd=Do$1();qa.exports=ud,ud.locator=nd;var od=`
|
||
`,ld="\\";function ud(dd,pd,fd){var md=this,vd,Ad;if(pd.charAt(0)===ld&&(vd=pd.charAt(1),md.escape.indexOf(vd)!==-1))return fd?!0:(vd===od?Ad={type:"break"}:Ad={type:"text",value:vd},dd(ld+vd)(Ad))}}),tn$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("<",ld)}}),yo$1=C$3((Ra,qa)=>{var nd=ue$4(),od=pr$1(),ld=tn$2();qa.exports=Ad,Ad.locator=ld,Ad.notInLink=!0;var ud="<",dd=">",pd="@",fd="/",md="mailto:",vd=md.length;function Ad(Nd,Id,Od){var Md=this,Ud="",jd=Id.length,Ld=0,Bd="",Gd=!1,qd="",zd,Xd,gf,Yd,Zd;if(Id.charAt(0)===ud){for(Ld++,Ud=ud;Ld<jd&&(zd=Id.charAt(Ld),!(nd(zd)||zd===dd||zd===pd||zd===":"&&Id.charAt(Ld+1)===fd));)Bd+=zd,Ld++;if(Bd){if(qd+=Bd,Bd="",zd=Id.charAt(Ld),qd+=zd,Ld++,zd===pd)Gd=!0;else{if(zd!==":"||Id.charAt(Ld+1)!==fd)return;qd+=fd,Ld++}for(;Ld<jd&&(zd=Id.charAt(Ld),!(nd(zd)||zd===dd));)Bd+=zd,Ld++;if(zd=Id.charAt(Ld),!(!Bd||zd!==dd))return Od?!0:(qd+=Bd,gf=qd,Ud+=qd+zd,Xd=Nd.now(),Xd.column++,Xd.offset++,Gd&&(qd.slice(0,vd).toLowerCase()===md?(gf=gf.slice(vd),Xd.column+=vd,Xd.offset+=vd):qd=md+qd),Yd=Md.inlineTokenizers,Md.inlineTokenizers={text:Yd.text},Zd=Md.enterLink(),gf=Md.tokenizeInline(gf,Xd),Md.inlineTokenizers=Yd,Zd(),Nd(Ud)({type:"link",title:null,url:od(qd,{nonTerminated:!1}),children:gf}))}}}}),xo$2=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=String(od),dd=0,pd;if(typeof ld!="string")throw new Error("Expected character");for(pd=ud.indexOf(ld);pd!==-1;)dd++,pd=ud.indexOf(ld,pd+ld.length);return dd}}),Bo$1=C$3((Ra,qa)=>{qa.exports=od;var nd=["www.","http://","https://"];function od(ld,ud){var dd=-1,pd,fd,md;if(!this.options.gfm)return dd;for(fd=nd.length,pd=-1;++pd<fd;)md=ld.indexOf(nd[pd],ud),md!==-1&&(dd===-1||md<dd)&&(dd=md);return dd}}),Oo=C$3((Ra,qa)=>{var nd=xo$2(),od=pr$1(),ld=Ne$3(),ud=Ve$3(),dd=ue$4(),pd=Bo$1();qa.exports=Xd,Xd.locator=pd,Xd.notInLink=!0;var fd=33,md=38,vd=41,Ad=42,Nd=44,Id=45,Od=46,Md=58,Ud=59,jd=63,Ld=60,Bd=95,Gd=126,qd="(",zd=")";function Xd(gf,Yd,Zd){var df=this,Ef=df.options.gfm,_f=df.inlineTokenizers,xf=Yd.length,vf=-1,Af=!1,Df,jf,Jf,eh,th,Uf,Of,Wf,qf,zf,Tf,Sf,Yf,ih;if(Ef){if(Yd.slice(0,4)==="www.")Af=!0,eh=4;else if(Yd.slice(0,7).toLowerCase()==="http://")eh=7;else if(Yd.slice(0,8).toLowerCase()==="https://")eh=8;else return;for(vf=eh-1,Jf=eh,Df=[];eh<xf;){if(Of=Yd.charCodeAt(eh),Of===Od){if(vf===eh-1)break;Df.push(eh),vf=eh,eh++;continue}if(ld(Of)||ud(Of)||Of===Id||Of===Bd){eh++;continue}break}if(Of===Od&&(Df.pop(),eh--),Df[0]!==void 0&&(jf=Df.length<2?Jf:Df[Df.length-2]+1,Yd.slice(jf,eh).indexOf("_")===-1)){if(Zd)return!0;for(Wf=eh,th=eh;eh<xf&&(Of=Yd.charCodeAt(eh),!(dd(Of)||Of===Ld));)eh++,Of===fd||Of===Ad||Of===Nd||Of===Od||Of===Md||Of===jd||Of===Bd||Of===Gd||(Wf=eh);if(eh=Wf,Yd.charCodeAt(eh-1)===vd)for(Uf=Yd.slice(th,eh),qf=nd(Uf,qd),zf=nd(Uf,zd);zf>qf;)eh=th+Uf.lastIndexOf(zd),Uf=Yd.slice(th,eh),zf--;if(Yd.charCodeAt(eh-1)===Ud&&(eh--,ud(Yd.charCodeAt(eh-1)))){for(Wf=eh-2;ud(Yd.charCodeAt(Wf));)Wf--;Yd.charCodeAt(Wf)===md&&(eh=Wf)}return Tf=Yd.slice(0,eh),Yf=od(Tf,{nonTerminated:!1}),Af&&(Yf="http://"+Yf),ih=df.enterLink(),df.inlineTokenizers={text:_f.text},Sf=df.tokenizeInline(Tf,gf.now()),df.inlineTokenizers=_f,ih(),gf(Tf)({type:"link",title:null,url:Yf,children:Sf})}}}}),No=C$3((Ra,qa)=>{var nd=Ne$3(),od=Ve$3(),ld=43,ud=45,dd=46,pd=95;qa.exports=fd;function fd(vd,Ad){var Nd=this,Id,Od;if(!this.options.gfm||(Id=vd.indexOf("@",Ad),Id===-1))return-1;if(Od=Id,Od===Ad||!md(vd.charCodeAt(Od-1)))return fd.call(Nd,vd,Id+1);for(;Od>Ad&&md(vd.charCodeAt(Od-1));)Od--;return Od}function md(vd){return nd(vd)||od(vd)||vd===ld||vd===ud||vd===dd||vd===pd}}),Mo$2=C$3((Ra,qa)=>{var nd=pr$1(),od=Ne$3(),ld=Ve$3(),ud=No();qa.exports=Ad,Ad.locator=ud,Ad.notInLink=!0;var dd=43,pd=45,fd=46,md=64,vd=95;function Ad(Nd,Id,Od){var Md=this,Ud=Md.options.gfm,jd=Md.inlineTokenizers,Ld=0,Bd=Id.length,Gd=-1,qd,zd,Xd,gf;if(Ud){for(qd=Id.charCodeAt(Ld);od(qd)||ld(qd)||qd===dd||qd===pd||qd===fd||qd===vd;)qd=Id.charCodeAt(++Ld);if(Ld!==0&&qd===md){for(Ld++;Ld<Bd;){if(qd=Id.charCodeAt(Ld),od(qd)||ld(qd)||qd===pd||qd===fd||qd===vd){Ld++,Gd===-1&&qd===fd&&(Gd=Ld);continue}break}if(!(Gd===-1||Gd===Ld||qd===pd||qd===vd))return qd===fd&&Ld--,zd=Id.slice(0,Ld),Od?!0:(gf=Md.enterLink(),Md.inlineTokenizers={text:jd.text},Xd=Md.tokenizeInline(zd,Nd.now()),Md.inlineTokenizers=jd,gf(),Nd(zd)({type:"link",title:null,url:"mailto:"+nd(zd,{nonTerminated:!1}),children:Xd}))}}}}),Vo$1=C$3((Ra,qa)=>{var nd=Ve$3(),od=tn$2(),ld=Xt$2().tag;qa.exports=Ad,Ad.locator=od;var ud="<",dd="?",pd="!",fd="/",md=/^<a /i,vd=/^<\/a>/i;function Ad(Nd,Id,Od){var Md=this,Ud=Id.length,jd,Ld;if(!(Id.charAt(0)!==ud||Ud<3)&&(jd=Id.charAt(1),!(!nd(jd)&&jd!==dd&&jd!==pd&&jd!==fd)&&(Ld=Id.match(ld),!!Ld)))return Od?!0:(Ld=Ld[0],!Md.inLink&&md.test(Ld)?Md.inLink=!0:Md.inLink&&vd.test(Ld)&&(Md.inLink=!1),Nd(Ld)({type:"html",value:Ld}))}}),dn$3=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("[",ld),dd=od.indexOf("![",ld);return dd===-1||ud<dd?ud:dd}}),Qo$1=C$3((Ra,qa)=>{var nd=ue$4(),od=dn$3();qa.exports=Ud,Ud.locator=od;var ld=`
|
||
`,ud="!",dd='"',pd="'",fd="(",md=")",vd="<",Ad=">",Nd="[",Id="\\",Od="]",Md="`";function Ud(jd,Ld,Bd){var Gd=this,qd="",zd=0,Xd=Ld.charAt(0),gf=Gd.options.pedantic,Yd=Gd.options.commonmark,Zd=Gd.options.gfm,df,Ef,_f,xf,vf,Af,Df,jf,Jf,eh,th,Uf,Of,Wf,qf,zf,Tf,Sf;if(Xd===ud&&(jf=!0,qd=Xd,Xd=Ld.charAt(++zd)),Xd===Nd&&!(!jf&&Gd.inLink)){for(qd+=Xd,Wf="",zd++,th=Ld.length,zf=jd.now(),Of=0,zf.column+=zd,zf.offset+=zd;zd<th;){if(Xd=Ld.charAt(zd),Af=Xd,Xd===Md){for(Ef=1;Ld.charAt(zd+1)===Md;)Af+=Xd,zd++,Ef++;_f?Ef>=_f&&(_f=0):_f=Ef}else if(Xd===Id)zd++,Af+=Ld.charAt(zd);else if((!_f||Zd)&&Xd===Nd)Of++;else if((!_f||Zd)&&Xd===Od)if(Of)Of--;else{if(Ld.charAt(zd+1)!==fd)return;Af+=fd,df=!0,zd++;break}Wf+=Af,Af="",zd++}if(df){for(Jf=Wf,qd+=Wf+Af,zd++;zd<th&&(Xd=Ld.charAt(zd),!!nd(Xd));)qd+=Xd,zd++;if(Xd=Ld.charAt(zd),Wf="",xf=qd,Xd===vd){for(zd++,xf+=vd;zd<th&&(Xd=Ld.charAt(zd),Xd!==Ad);){if(Yd&&Xd===ld)return;Wf+=Xd,zd++}if(Ld.charAt(zd)!==Ad)return;qd+=vd+Wf+Ad,qf=Wf,zd++}else{for(Xd=null,Af="";zd<th&&(Xd=Ld.charAt(zd),!(Af&&(Xd===dd||Xd===pd||Yd&&Xd===fd)));){if(nd(Xd)){if(!gf)break;Af+=Xd}else{if(Xd===fd)Of++;else if(Xd===md){if(Of===0)break;Of--}Wf+=Af,Af="",Xd===Id&&(Wf+=Id,Xd=Ld.charAt(++zd)),Wf+=Xd}zd++}qd+=Wf,qf=Wf,zd=qd.length}for(Wf="";zd<th&&(Xd=Ld.charAt(zd),!!nd(Xd));)Wf+=Xd,zd++;if(Xd=Ld.charAt(zd),qd+=Wf,Wf&&(Xd===dd||Xd===pd||Yd&&Xd===fd))if(zd++,qd+=Xd,Wf="",eh=Xd===fd?md:Xd,vf=qd,Yd){for(;zd<th&&(Xd=Ld.charAt(zd),Xd!==eh);)Xd===Id&&(Wf+=Id,Xd=Ld.charAt(++zd)),zd++,Wf+=Xd;if(Xd=Ld.charAt(zd),Xd!==eh)return;for(Uf=Wf,qd+=Wf+Xd,zd++;zd<th&&(Xd=Ld.charAt(zd),!!nd(Xd));)qd+=Xd,zd++}else for(Af="";zd<th;){if(Xd=Ld.charAt(zd),Xd===eh)Df&&(Wf+=eh+Af,Af=""),Df=!0;else if(!Df)Wf+=Xd;else if(Xd===md){qd+=Wf+eh+Af,Uf=Wf;break}else nd(Xd)?Af+=Xd:(Wf+=eh+Af+Xd,Af="",Df=!1);zd++}if(Ld.charAt(zd)===md)return Bd?!0:(qd+=md,qf=Gd.decode.raw(Gd.unescape(qf),jd(xf).test().end,{nonTerminated:!1}),Uf&&(vf=jd(vf).test().end,Uf=Gd.decode.raw(Gd.unescape(Uf),vf)),Sf={type:jf?"image":"link",title:Uf||null,url:qf},jf?Sf.alt=Gd.decode.raw(Gd.unescape(Jf),zf)||null:(Tf=Gd.enterLink(),Sf.children=Gd.tokenizeInline(Jf,zf),Tf()),jd(qd)(Sf))}}}}),rs=C$3((Ra,qa)=>{var nd=ue$4(),od=dn$3(),ld=Qt$2();qa.exports=Od,Od.locator=od;var ud="link",dd="image",pd="shortcut",fd="collapsed",md="full",vd="!",Ad="[",Nd="\\",Id="]";function Od(Md,Ud,jd){var Ld=this,Bd=Ld.options.commonmark,Gd=Ud.charAt(0),qd=0,zd=Ud.length,Xd="",gf="",Yd=ud,Zd=pd,df,Ef,_f,xf,vf,Af,Df,jf;if(Gd===vd&&(Yd=dd,gf=Gd,Gd=Ud.charAt(++qd)),Gd===Ad){for(qd++,gf+=Gd,Af="",jf=0;qd<zd;){if(Gd=Ud.charAt(qd),Gd===Ad)Df=!0,jf++;else if(Gd===Id){if(!jf)break;jf--}Gd===Nd&&(Af+=Nd,Gd=Ud.charAt(++qd)),Af+=Gd,qd++}if(Xd=Af,df=Af,Gd=Ud.charAt(qd),Gd===Id){if(qd++,Xd+=Gd,Af="",!Bd)for(;qd<zd&&(Gd=Ud.charAt(qd),!!nd(Gd));)Af+=Gd,qd++;if(Gd=Ud.charAt(qd),Gd===Ad){for(Ef="",Af+=Gd,qd++;qd<zd&&(Gd=Ud.charAt(qd),!(Gd===Ad||Gd===Id));)Gd===Nd&&(Ef+=Nd,Gd=Ud.charAt(++qd)),Ef+=Gd,qd++;Gd=Ud.charAt(qd),Gd===Id?(Zd=Ef?md:fd,Af+=Ef+Gd,qd++):Ef="",Xd+=Af,Af=""}else{if(!df)return;Ef=df}if(!(Zd!==md&&Df))return Xd=gf+Xd,Yd===ud&&Ld.inLink?null:jd?!0:(_f=Md.now(),_f.column+=gf.length,_f.offset+=gf.length,Ef=Zd===md?Ef:df,xf={type:Yd+"Reference",identifier:ld(Ef),label:Ef,referenceType:Zd},Yd===ud?(vf=Ld.enterLink(),xf.children=Ld.tokenizeInline(df,_f),vf()):xf.alt=Ld.decode.raw(Ld.unescape(df),_f)||null,Md(Xd)(xf))}}}}),ns=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("**",ld),dd=od.indexOf("__",ld);return dd===-1?ud:ud===-1||dd<ud?dd:ud}}),os=C$3((Ra,qa)=>{var nd=Re$5(),od=ue$4(),ld=ns();qa.exports=fd,fd.locator=ld;var ud="\\",dd="*",pd="_";function fd(md,vd,Ad){var Nd=this,Id=0,Od=vd.charAt(Id),Md,Ud,jd,Ld,Bd,Gd,qd;if(!(Od!==dd&&Od!==pd||vd.charAt(++Id)!==Od)&&(Ud=Nd.options.pedantic,jd=Od,Bd=jd+jd,Gd=vd.length,Id++,Ld="",Od="",!(Ud&&od(vd.charAt(Id)))))for(;Id<Gd;){if(qd=Od,Od=vd.charAt(Id),Od===jd&&vd.charAt(Id+1)===jd&&(!Ud||!od(qd))&&(Od=vd.charAt(Id+2),Od!==jd))return nd(Ld)?Ad?!0:(Md=md.now(),Md.column+=2,Md.offset+=2,md(Bd+Ld+Bd)({type:"strong",children:Nd.tokenizeInline(Ld,Md)})):void 0;!Ud&&Od===ud&&(Ld+=Od,Od=vd.charAt(++Id)),Ld+=Od,Id++}}}),cs$2=C$3((Ra,qa)=>{qa.exports=ld;var nd=String.fromCharCode,od=/\w/;function ld(ud){return od.test(typeof ud=="number"?nd(ud):ud.charAt(0))}}),fs=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){var ud=od.indexOf("*",ld),dd=od.indexOf("_",ld);return dd===-1?ud:ud===-1||dd<ud?dd:ud}}),ms=C$3((Ra,qa)=>{var nd=Re$5(),od=cs$2(),ld=ue$4(),ud=fs();qa.exports=md,md.locator=ud;var dd="*",pd="_",fd="\\";function md(vd,Ad,Nd){var Id=this,Od=0,Md=Ad.charAt(Od),Ud,jd,Ld,Bd,Gd,qd,zd;if(!(Md!==dd&&Md!==pd)&&(jd=Id.options.pedantic,Gd=Md,Ld=Md,qd=Ad.length,Od++,Bd="",Md="",!(jd&&ld(Ad.charAt(Od)))))for(;Od<qd;){if(zd=Md,Md=Ad.charAt(Od),Md===Ld&&(!jd||!ld(zd))){if(Md=Ad.charAt(++Od),Md!==Ld){if(!nd(Bd)||zd===Ld)return;if(!jd&&Ld===pd&&od(Md)){Bd+=Ld;continue}return Nd?!0:(Ud=vd.now(),Ud.column++,Ud.offset++,vd(Gd+Bd+Ld)({type:"emphasis",children:Id.tokenizeInline(Bd,Ud)}))}Bd+=Ld}!jd&&Md===fd&&(Bd+=Md,Md=Ad.charAt(++Od)),Bd+=Md,Od++}}}),gs$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("~~",ld)}}),ys=C$3((Ra,qa)=>{var nd=ue$4(),od=gs$1();qa.exports=dd,dd.locator=od;var ld="~",ud="~~";function dd(pd,fd,md){var vd=this,Ad="",Nd="",Id="",Od="",Md,Ud,jd;if(!(!vd.options.gfm||fd.charAt(0)!==ld||fd.charAt(1)!==ld||nd(fd.charAt(2))))for(Md=1,Ud=fd.length,jd=pd.now(),jd.column+=2,jd.offset+=2;++Md<Ud;){if(Ad=fd.charAt(Md),Ad===ld&&Nd===ld&&(!Id||!nd(Id)))return md?!0:pd(ud+Od+ud)({type:"delete",children:vd.tokenizeInline(Od,jd)});Od+=Nd,Id=Nd,Nd=Ad}}}),xs=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){return od.indexOf("`",ld)}}),Bs=C$3((Ra,qa)=>{var nd=xs();qa.exports=dd,dd.locator=nd;var od=10,ld=32,ud=96;function dd(pd,fd,md){for(var vd=fd.length,Ad=0,Nd,Id,Od,Md,Ud,jd;Ad<vd&&fd.charCodeAt(Ad)===ud;)Ad++;if(!(Ad===0||Ad===vd)){for(Nd=Ad,Ud=fd.charCodeAt(Ad);Ad<vd;){if(Md=Ud,Ud=fd.charCodeAt(Ad+1),Md===ud){if(Id===void 0&&(Id=Ad),Od=Ad+1,Ud!==ud&&Od-Id===Nd){jd=!0;break}}else Id!==void 0&&(Id=void 0,Od=void 0);Ad++}if(jd){if(md)return!0;if(Ad=Nd,vd=Id,Md=fd.charCodeAt(Ad),Ud=fd.charCodeAt(vd-1),jd=!1,vd-Ad>2&&(Md===ld||Md===od)&&(Ud===ld||Ud===od)){for(Ad++,vd--;Ad<vd;){if(Md=fd.charCodeAt(Ad),Md!==ld&&Md!==od){jd=!0;break}Ad++}jd===!0&&(Nd++,Id--)}return pd(fd.slice(0,Od))({type:"inlineCode",value:fd.slice(Nd,Id)})}}}}),Ts=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld){for(var ud=od.indexOf(`
|
||
`,ld);ud>ld&&od.charAt(ud-1)===" ";)ud--;return ud}}),Os$1=C$3((Ra,qa)=>{var nd=Ts();qa.exports=dd,dd.locator=nd;var od=" ",ld=`
|
||
`,ud=2;function dd(pd,fd,md){for(var vd=fd.length,Ad=-1,Nd="",Id;++Ad<vd;){if(Id=fd.charAt(Ad),Id===ld)return Ad<ud?void 0:md?!0:(Nd+=Id,pd(Nd)({type:"break"}));if(Id!==od)return;Nd+=Id}}}),Ls$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od,ld,ud){var dd=this,pd,fd,md,vd,Ad,Nd,Id,Od,Md,Ud;if(ud)return!0;for(pd=dd.inlineMethods,vd=pd.length,fd=dd.inlineTokenizers,md=-1,Md=ld.length;++md<vd;)Od=pd[md],!(Od==="text"||!fd[Od])&&(Id=fd[Od].locator,Id||od.file.fail("Missing locator: `"+Od+"`"),Nd=Id.call(dd,ld,1),Nd!==-1&&Nd<Md&&(Md=Nd));Ad=ld.slice(0,Md),Ud=od.now(),dd.decode(Ad,Ud,jd);function jd(Ld,Bd,Gd){od(Gd||Ld)({type:"text",value:Ld})}}}),Us=C$3((Ra,qa)=>{var nd=Ie$3(),od=ru$1(),ld=nu$2(),ud=uu$2(),dd=Ou$1(),pd=Iu$1();qa.exports=fd;function fd(Ad,Nd){this.file=Nd,this.offset={},this.options=nd(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=ld(Nd).toOffset,this.unescape=ud(this,"escape"),this.decode=dd(this)}var md=fd.prototype;md.setOptions=Vu$2(),md.parse=aa$2(),md.options=Rt$3(),md.exitStart=od("atStart",!0),md.enterList=od("inList",!1),md.enterLink=od("inLink",!1),md.enterBlock=od("inBlock",!1),md.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],md.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],md.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]],md.blockTokenizers={blankLine:sa(),indentedCode:pa(),fencedCode:ma(),blockquote:ba$1(),atxHeading:xa$1(),thematicBreak:Ba(),list:Ua$1(),setextHeading:Ga(),html:Ka(),definition:io$1(),table:oo$2(),paragraph:lo$1()},md.inlineTokenizers={escape:Fo$1(),autoLink:yo$1(),url:Oo(),email:Mo$2(),html:Vo$1(),link:Qo$1(),reference:rs(),strong:os(),emphasis:ms(),deletion:ys(),code:Bs(),break:Os$1(),text:Ls$1()},md.blockMethods=vd(md.blockTokenizers),md.inlineMethods=vd(md.inlineTokenizers),md.tokenizeBlock=pd("block"),md.tokenizeInline=pd("inline"),md.tokenizeFactory=pd;function vd(Ad){var Nd=[],Id;for(Id in Ad)Nd.push(Id);return Nd}}),Gs=C$3((Ra,qa)=>{var nd=Zi(),od=Ie$3(),ld=Us();qa.exports=ud,ud.Parser=ld;function ud(dd){var pd=this.data("settings"),fd=nd(ld);fd.prototype.options=od(fd.prototype.options,pd,dd),this.Parser=fd}}),js$1=C$3((Ra,qa)=>{qa.exports=nd;function nd(od){if(od)throw od}}),yn$3=C$3((Ra,qa)=>{qa.exports=function(nd){return nd!=null&&nd.constructor!=null&&typeof nd.constructor.isBuffer=="function"&&nd.constructor.isBuffer(nd)}}),rc$1=C$3((Ra,qa)=>{var nd=Object.prototype.hasOwnProperty,od=Object.prototype.toString,ld=Object.defineProperty,ud=Object.getOwnPropertyDescriptor,dd=function(vd){return typeof Array.isArray=="function"?Array.isArray(vd):od.call(vd)==="[object Array]"},pd=function(vd){if(!vd||od.call(vd)!=="[object Object]")return!1;var Ad=nd.call(vd,"constructor"),Nd=vd.constructor&&vd.constructor.prototype&&nd.call(vd.constructor.prototype,"isPrototypeOf");if(vd.constructor&&!Ad&&!Nd)return!1;var Id;for(Id in vd);return typeof Id>"u"||nd.call(vd,Id)},fd=function(vd,Ad){ld&&Ad.name==="__proto__"?ld(vd,Ad.name,{enumerable:!0,configurable:!0,value:Ad.newValue,writable:!0}):vd[Ad.name]=Ad.newValue},md=function(vd,Ad){if(Ad==="__proto__")if(nd.call(vd,Ad)){if(ud)return ud(vd,Ad).value}else return;return vd[Ad]};qa.exports=function vd(){var Ad,Nd,Id,Od,Md,Ud,jd=arguments[0],Ld=1,Bd=arguments.length,Gd=!1;for(typeof jd=="boolean"&&(Gd=jd,jd=arguments[1]||{},Ld=2),(jd==null||typeof jd!="object"&&typeof jd!="function")&&(jd={});Ld<Bd;++Ld)if(Ad=arguments[Ld],Ad!=null)for(Nd in Ad)Id=md(jd,Nd),Od=md(Ad,Nd),jd!==Od&&(Gd&&Od&&(pd(Od)||(Md=dd(Od)))?(Md?(Md=!1,Ud=Id&&dd(Id)?Id:[]):Ud=Id&&pd(Id)?Id:{},fd(jd,{name:Nd,newValue:vd(Gd,Ud,Od)})):typeof Od<"u"&&fd(jd,{name:Nd,newValue:Od}));return jd}}),nc$1=C$3((Ra,qa)=>{qa.exports=nd=>{if(Object.prototype.toString.call(nd)!=="[object Object]")return!1;let od=Object.getPrototypeOf(nd);return od===null||od===Object.prototype}}),uc$1=C$3((Ra,qa)=>{var nd=[].slice;qa.exports=od;function od(ld,ud){var dd;return pd;function pd(){var vd=nd.call(arguments,0),Ad=ld.length>vd.length,Nd;Ad&&vd.push(fd);try{Nd=ld.apply(null,vd)}catch(Id){if(Ad&&dd)throw Id;return fd(Id)}Ad||(Nd&&typeof Nd.then=="function"?Nd.then(md,fd):Nd instanceof Error?fd(Nd):md(Nd))}function fd(){dd||(dd=!0,ud.apply(null,arguments))}function md(vd){fd(null,vd)}}}),lc=C$3((Ra,qa)=>{var nd=uc$1();qa.exports=ld,ld.wrap=nd;var od=[].slice;function ld(){var ud=[],dd={};return dd.run=pd,dd.use=fd,dd;function pd(){var md=-1,vd=od.call(arguments,0,-1),Ad=arguments[arguments.length-1];if(typeof Ad!="function")throw new Error("Expected function as last argument, not "+Ad);Nd.apply(null,[null].concat(vd));function Nd(Id){var Od=ud[++md],Md=od.call(arguments,0),Ud=Md.slice(1),jd=vd.length,Ld=-1;if(Id){Ad(Id);return}for(;++Ld<jd;)(Ud[Ld]===null||Ud[Ld]===void 0)&&(Ud[Ld]=vd[Ld]);vd=Ud,Od?nd(Od,Nd).apply(null,vd):Ad.apply(null,[null].concat(vd))}}function fd(md){if(typeof md!="function")throw new Error("Expected `fn` to be a function, not "+md);return ud.push(md),dd}}}),dc=C$3((Ra,qa)=>{var nd={}.hasOwnProperty;qa.exports=od;function od(pd){return!pd||typeof pd!="object"?"":nd.call(pd,"position")||nd.call(pd,"type")?ud(pd.position):nd.call(pd,"start")||nd.call(pd,"end")?ud(pd):nd.call(pd,"line")||nd.call(pd,"column")?ld(pd):""}function ld(pd){return(!pd||typeof pd!="object")&&(pd={}),dd(pd.line)+":"+dd(pd.column)}function ud(pd){return(!pd||typeof pd!="object")&&(pd={}),ld(pd.start)+"-"+ld(pd.end)}function dd(pd){return pd&&typeof pd=="number"?pd:1}}),Fc=C$3((Ra,qa)=>{var nd=dc();qa.exports=ud;function od(){}od.prototype=Error.prototype,ud.prototype=new od;var ld=ud.prototype;ld.file="",ld.name="",ld.reason="",ld.message="",ld.stack="",ld.fatal=null,ld.column=null,ld.line=null;function ud(pd,fd,md){var vd,Ad,Nd;typeof fd=="string"&&(md=fd,fd=null),vd=dd(md),Ad=nd(fd)||"1:1",Nd={start:{line:null,column:null},end:{line:null,column:null}},fd&&fd.position&&(fd=fd.position),fd&&(fd.start?(Nd=fd,fd=fd.start):Nd.start=fd),pd.stack&&(this.stack=pd.stack,pd=pd.message),this.message=pd,this.name=Ad,this.reason=pd,this.line=fd?fd.line:null,this.column=fd?fd.column:null,this.location=Nd,this.source=vd[0],this.ruleId=vd[1]}function dd(pd){var fd=[null,null],md;return typeof pd=="string"&&(md=pd.indexOf(":"),md===-1?fd[1]=pd:(fd[0]=pd.slice(0,md),fd[1]=pd.slice(md+1))),fd}}),gc=C$3(Ra=>{Ra.basename=qa,Ra.dirname=nd,Ra.extname=od,Ra.join=ld,Ra.sep="/";function qa(fd,md){var vd=0,Ad=-1,Nd,Id,Od,Md;if(md!==void 0&&typeof md!="string")throw new TypeError('"ext" argument must be a string');if(pd(fd),Nd=fd.length,md===void 0||!md.length||md.length>fd.length){for(;Nd--;)if(fd.charCodeAt(Nd)===47){if(Od){vd=Nd+1;break}}else Ad<0&&(Od=!0,Ad=Nd+1);return Ad<0?"":fd.slice(vd,Ad)}if(md===fd)return"";for(Id=-1,Md=md.length-1;Nd--;)if(fd.charCodeAt(Nd)===47){if(Od){vd=Nd+1;break}}else Id<0&&(Od=!0,Id=Nd+1),Md>-1&&(fd.charCodeAt(Nd)===md.charCodeAt(Md--)?Md<0&&(Ad=Nd):(Md=-1,Ad=Id));return vd===Ad?Ad=Id:Ad<0&&(Ad=fd.length),fd.slice(vd,Ad)}function nd(fd){var md,vd,Ad;if(pd(fd),!fd.length)return".";for(md=-1,Ad=fd.length;--Ad;)if(fd.charCodeAt(Ad)===47){if(vd){md=Ad;break}}else vd||(vd=!0);return md<0?fd.charCodeAt(0)===47?"/":".":md===1&&fd.charCodeAt(0)===47?"//":fd.slice(0,md)}function od(fd){var md=-1,vd=0,Ad=-1,Nd=0,Id,Od,Md;for(pd(fd),Md=fd.length;Md--;){if(Od=fd.charCodeAt(Md),Od===47){if(Id){vd=Md+1;break}continue}Ad<0&&(Id=!0,Ad=Md+1),Od===46?md<0?md=Md:Nd!==1&&(Nd=1):md>-1&&(Nd=-1)}return md<0||Ad<0||Nd===0||Nd===1&&md===Ad-1&&md===vd+1?"":fd.slice(md,Ad)}function ld(){for(var fd=-1,md;++fd<arguments.length;)pd(arguments[fd]),arguments[fd]&&(md=md===void 0?arguments[fd]:md+"/"+arguments[fd]);return md===void 0?".":ud(md)}function ud(fd){var md,vd;return pd(fd),md=fd.charCodeAt(0)===47,vd=dd(fd,!md),!vd.length&&!md&&(vd="."),vd.length&&fd.charCodeAt(fd.length-1)===47&&(vd+="/"),md?"/"+vd:vd}function dd(fd,md){for(var vd="",Ad=0,Nd=-1,Id=0,Od=-1,Md,Ud;++Od<=fd.length;){if(Od<fd.length)Md=fd.charCodeAt(Od);else{if(Md===47)break;Md=47}if(Md===47){if(!(Nd===Od-1||Id===1))if(Nd!==Od-1&&Id===2){if(vd.length<2||Ad!==2||vd.charCodeAt(vd.length-1)!==46||vd.charCodeAt(vd.length-2)!==46){if(vd.length>2){if(Ud=vd.lastIndexOf("/"),Ud!==vd.length-1){Ud<0?(vd="",Ad=0):(vd=vd.slice(0,Ud),Ad=vd.length-1-vd.lastIndexOf("/")),Nd=Od,Id=0;continue}}else if(vd.length){vd="",Ad=0,Nd=Od,Id=0;continue}}md&&(vd=vd.length?vd+"/..":"..",Ad=2)}else vd.length?vd+="/"+fd.slice(Nd+1,Od):vd=fd.slice(Nd+1,Od),Ad=Od-Nd-1;Nd=Od,Id=0}else Md===46&&Id>-1?Id++:Id=-1}return vd}function pd(fd){if(typeof fd!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(fd))}}),Ec=C$3(Ra=>{Ra.cwd=qa;function qa(){return"/"}}),yc=C$3((Ra,qa)=>{var nd=gc(),od=Ec(),ld=yn$3();qa.exports=pd;var ud={}.hasOwnProperty,dd=["history","path","basename","stem","extname","dirname"];pd.prototype.toString=Ld,Object.defineProperty(pd.prototype,"path",{get:fd,set:md}),Object.defineProperty(pd.prototype,"dirname",{get:vd,set:Ad}),Object.defineProperty(pd.prototype,"basename",{get:Nd,set:Id}),Object.defineProperty(pd.prototype,"extname",{get:Od,set:Md}),Object.defineProperty(pd.prototype,"stem",{get:Ud,set:jd});function pd(zd){var Xd,gf;if(!zd)zd={};else if(typeof zd=="string"||ld(zd))zd={contents:zd};else if("message"in zd&&"messages"in zd)return zd;if(!(this instanceof pd))return new pd(zd);for(this.data={},this.messages=[],this.history=[],this.cwd=od.cwd(),gf=-1;++gf<dd.length;)Xd=dd[gf],ud.call(zd,Xd)&&(this[Xd]=zd[Xd]);for(Xd in zd)dd.indexOf(Xd)<0&&(this[Xd]=zd[Xd])}function fd(){return this.history[this.history.length-1]}function md(zd){Gd(zd,"path"),this.path!==zd&&this.history.push(zd)}function vd(){return typeof this.path=="string"?nd.dirname(this.path):void 0}function Ad(zd){qd(this.path,"dirname"),this.path=nd.join(zd||"",this.basename)}function Nd(){return typeof this.path=="string"?nd.basename(this.path):void 0}function Id(zd){Gd(zd,"basename"),Bd(zd,"basename"),this.path=nd.join(this.dirname||"",zd)}function Od(){return typeof this.path=="string"?nd.extname(this.path):void 0}function Md(zd){if(Bd(zd,"extname"),qd(this.path,"extname"),zd){if(zd.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(zd.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=nd.join(this.dirname,this.stem+(zd||""))}function Ud(){return typeof this.path=="string"?nd.basename(this.path,this.extname):void 0}function jd(zd){Gd(zd,"stem"),Bd(zd,"stem"),this.path=nd.join(this.dirname||"",zd+(this.extname||""))}function Ld(zd){return(this.contents||"").toString(zd)}function Bd(zd,Xd){if(zd&&zd.indexOf(nd.sep)>-1)throw new Error("`"+Xd+"` cannot be a path: did not expect `"+nd.sep+"`")}function Gd(zd,Xd){if(!zd)throw new Error("`"+Xd+"` cannot be empty")}function qd(zd,Xd){if(!zd)throw new Error("Setting `"+Xd+"` requires `path` to be set too")}}),xc=C$3((Ra,qa)=>{var nd=Fc(),od=yc();qa.exports=od,od.prototype.message=ld,od.prototype.info=dd,od.prototype.fail=ud;function ld(pd,fd,md){var vd=new nd(pd,fd,md);return this.path&&(vd.name=this.path+":"+vd.name,vd.file=this.path),vd.fatal=!1,this.messages.push(vd),vd}function ud(){var pd=this.message.apply(this,arguments);throw pd.fatal=!0,pd}function dd(){var pd=this.message.apply(this,arguments);return pd.fatal=null,pd}}),kc=C$3((Ra,qa)=>{qa.exports=xc()}),Ic=C$3((Ra,qa)=>{var nd=js$1(),od=yn$3(),ld=rc$1(),ud=nc$1(),dd=lc(),pd=kc();qa.exports=Od().freeze();var fd=[].slice,md={}.hasOwnProperty,vd=dd().use(Ad).use(Nd).use(Id);function Ad(zd,Xd){Xd.tree=zd.parse(Xd.file)}function Nd(zd,Xd,gf){zd.run(Xd.tree,Xd.file,Yd);function Yd(Zd,df,Ef){Zd?gf(Zd):(Xd.tree=df,Xd.file=Ef,gf())}}function Id(zd,Xd){var gf=zd.stringify(Xd.tree,Xd.file);gf==null||(typeof gf=="string"||od(gf)?("value"in Xd.file&&(Xd.file.value=gf),Xd.file.contents=gf):Xd.file.result=gf)}function Od(){var zd=[],Xd=dd(),gf={},Yd=-1,Zd;return df.data=_f,df.freeze=Ef,df.attachers=zd,df.use=xf,df.parse=Af,df.stringify=Jf,df.run=Df,df.runSync=jf,df.process=eh,df.processSync=th,df;function df(){for(var Uf=Od(),Of=-1;++Of<zd.length;)Uf.use.apply(null,zd[Of]);return Uf.data(ld(!0,{},gf)),Uf}function Ef(){var Uf,Of;if(Zd)return df;for(;++Yd<zd.length;)Uf=zd[Yd],Uf[1]!==!1&&(Uf[1]===!0&&(Uf[1]=void 0),Of=Uf[0].apply(df,Uf.slice(1)),typeof Of=="function"&&Xd.use(Of));return Zd=!0,Yd=1/0,df}function _f(Uf,Of){return typeof Uf=="string"?arguments.length===2?(Bd("data",Zd),gf[Uf]=Of,df):md.call(gf,Uf)&&gf[Uf]||null:Uf?(Bd("data",Zd),gf=Uf,df):gf}function xf(Uf){var Of;if(Bd("use",Zd),Uf!=null)if(typeof Uf=="function")Tf.apply(null,arguments);else if(typeof Uf=="object")"length"in Uf?zf(Uf):Wf(Uf);else throw new Error("Expected usable value, not `"+Uf+"`");return Of&&(gf.settings=ld(gf.settings||{},Of)),df;function Wf(Sf){zf(Sf.plugins),Sf.settings&&(Of=ld(Of||{},Sf.settings))}function qf(Sf){if(typeof Sf=="function")Tf(Sf);else if(typeof Sf=="object")"length"in Sf?Tf.apply(null,Sf):Wf(Sf);else throw new Error("Expected usable value, not `"+Sf+"`")}function zf(Sf){var Yf=-1;if(Sf!=null)if(typeof Sf=="object"&&"length"in Sf)for(;++Yf<Sf.length;)qf(Sf[Yf]);else throw new Error("Expected a list of plugins, not `"+Sf+"`")}function Tf(Sf,Yf){var ih=vf(Sf);ih?(ud(ih[1])&&ud(Yf)&&(Yf=ld(!0,ih[1],Yf)),ih[1]=Yf):zd.push(fd.call(arguments))}}function vf(Uf){for(var Of=-1;++Of<zd.length;)if(zd[Of][0]===Uf)return zd[Of]}function Af(Uf){var Of=pd(Uf),Wf;return Ef(),Wf=df.Parser,jd("parse",Wf),Md(Wf,"parse")?new Wf(String(Of),Of).parse():Wf(String(Of),Of)}function Df(Uf,Of,Wf){if(Gd(Uf),Ef(),!Wf&&typeof Of=="function"&&(Wf=Of,Of=null),!Wf)return new Promise(qf);qf(null,Wf);function qf(zf,Tf){Xd.run(Uf,pd(Of),Sf);function Sf(Yf,ih,Th){ih=ih||Uf,Yf?Tf(Yf):zf?zf(ih):Wf(null,ih,Th)}}}function jf(Uf,Of){var Wf,qf;return Df(Uf,Of,zf),qd("runSync","run",qf),Wf;function zf(Tf,Sf){qf=!0,Wf=Sf,nd(Tf)}}function Jf(Uf,Of){var Wf=pd(Of),qf;return Ef(),qf=df.Compiler,Ld("stringify",qf),Gd(Uf),Md(qf,"compile")?new qf(Uf,Wf).compile():qf(Uf,Wf)}function eh(Uf,Of){if(Ef(),jd("process",df.Parser),Ld("process",df.Compiler),!Of)return new Promise(Wf);Wf(null,Of);function Wf(qf,zf){var Tf=pd(Uf);vd.run(df,{file:Tf},Sf);function Sf(Yf){Yf?zf(Yf):qf?qf(Tf):Of(null,Tf)}}}function th(Uf){var Of,Wf;return Ef(),jd("processSync",df.Parser),Ld("processSync",df.Compiler),Of=pd(Uf),eh(Of,qf),qd("processSync","process",Wf),Of;function qf(zf){Wf=!0,nd(zf)}}}function Md(zd,Xd){return typeof zd=="function"&&zd.prototype&&(Ud(zd.prototype)||Xd in zd.prototype)}function Ud(zd){var Xd;for(Xd in zd)return!0;return!1}function jd(zd,Xd){if(typeof Xd!="function")throw new Error("Cannot `"+zd+"` without `Parser`")}function Ld(zd,Xd){if(typeof Xd!="function")throw new Error("Cannot `"+zd+"` without `Compiler`")}function Bd(zd,Xd){if(Xd)throw new Error("Cannot invoke `"+zd+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function Gd(zd){if(!zd||typeof zd.type!="string")throw new Error("Expected node, got `"+zd+"`")}function qd(zd,Xd,gf){if(!gf)throw new Error("`"+zd+"` finished async. Use `"+Xd+"` instead")}}),Pn$2={};Ln$1(Pn$2,{languages:()=>_i,options:()=>Si,parsers:()=>On$2,printers:()=>qm});var al$2=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},N$5=al$2,ol$1=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},M$5=ol$1,qi=Ue$2(xr$1());function Be$5(Ra){if(typeof Ra!="string")throw new TypeError("Expected a string");return Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var $$2="string",H$5="array",ge$5="cursor",ee$4="indent",re$4="align",oe$4="trim",K$5="group",J$6="fill",X$5="if-break",se$4="indent-if-break",ce$6="line-suffix",le$4="line-suffix-boundary",W$6="line",fe$5="label",te$4="break-parent",wr$1=new Set([ge$5,ee$4,re$4,oe$4,K$5,J$6,X$5,se$4,ce$6,le$4,W$6,fe$5,te$4]);function cl$2(Ra){if(typeof Ra=="string")return $$2;if(Array.isArray(Ra))return H$5;if(!Ra)return;let{type:qa}=Ra;if(wr$1.has(qa))return qa}var Y$4=cl$2,ll$1=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function fl$1(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
|
||
Expected it to be 'string' or 'object'.`;if(Y$4(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=ll$1([...wr$1].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
|
||
Expected it to be ${od}.`}var Dt$2=class extends Error{constructor(nd){super(fl$1(nd));wg(this,"name","InvalidDocError");this.doc=nd}},qe$2=Dt$2,Nn$2={};function Dl$1(Ra,qa,nd,od){let ld=[Ra];for(;ld.length>0;){let ud=ld.pop();if(ud===Nn$2){nd(ld.pop());continue}nd&&ld.push(ud,Nn$2);let dd=Y$4(ud);if(!dd)throw new qe$2(ud);if((qa==null?void 0:qa(ud))!==!1)switch(dd){case H$5:case J$6:{let pd=dd===H$5?ud:ud.parts;for(let fd=pd.length,md=fd-1;md>=0;--md)ld.push(pd[md]);break}case X$5:ld.push(ud.flatContents,ud.breakContents);break;case K$5:if(od&&ud.expandedStates)for(let pd=ud.expandedStates.length,fd=pd-1;fd>=0;--fd)ld.push(ud.expandedStates[fd]);else ld.push(ud.contents);break;case re$4:case ee$4:case se$4:case fe$5:case ce$6:ld.push(ud.contents);break;case $$2:case ge$5:case oe$4:case le$4:case W$6:case te$4:break;default:throw new qe$2(ud)}}}var Rn$1=Dl$1,Un$2=()=>{},kr$1=Un$2;function Ze$3(Ra){return{type:ee$4,contents:Ra}}function ve$5(Ra,qa){return{type:re$4,contents:qa,n:Ra}}function ze$4(Ra,qa={}){return kr$1(qa.expandedStates),{type:K$5,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function _e$4(Ra){return ve$5({type:"root"},Ra)}function Ee$5(Ra){return{type:J$6,parts:Ra}}function zn$2(Ra,qa="",nd={}){return{type:X$5,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}var er$1={type:te$4},rr$1={type:W$6,hard:!0},pl$1={type:W$6,hard:!0,literal:!0},Br$2={type:W$6},qr$1={type:W$6,soft:!0},L$5=[rr$1,er$1],tr$1=[pl$1,er$1];function Tr$1(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}function dl$1(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(Y$4(ud)){case H$5:return qa(ud.map(od));case J$6:return qa({...ud,parts:ud.parts.map(od)});case X$5:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case K$5:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case re$4:case ee$4:case se$4:case fe$5:case ce$6:return qa({...ud,contents:od(ud.contents)});case $$2:case ge$5:case oe$4:case le$4:case W$6:case te$4:return qa(ud);default:throw new qe$2(ud)}}}function Mn$1(Ra){if(Ra.length>0){let qa=M$5(!1,Ra,-1);!qa.expandedStates&&!qa.break&&(qa.break="propagated")}return null}function Yn$1(Ra){let qa=new Set,nd=[];function od(ud){if(ud.type===te$4&&Mn$1(nd),ud.type===K$5){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===K$5&&nd.pop().break&&Mn$1(nd)}Rn$1(Ra,od,ld,!0)}function Ce$3(Ra,qa=tr$1){return dl$1(Ra,nd=>typeof nd=="string"?Tr$1(qa,nd.split(`
|
||
`)):nd)}function hl$1(Ra,qa){let nd=Ra.match(new RegExp(`(${Be$5(qa)})+`,"gu"));return nd===null?0:nd.reduce((od,ld)=>Math.max(od,ld.length/qa.length),0)}var _r$1=hl$1;function ml$1(Ra,qa){let nd=Ra.match(new RegExp(`(${Be$5(qa)})+`,"gu"));if(nd===null)return 0;let od=new Map,ld=0;for(let ud of nd){let dd=ud.length/qa.length;od.set(dd,!0),dd>ld&&(ld=dd)}for(let ud=1;ud<ld;ud++)if(!od.get(ud))return ud;return ld+1}var Gn$2=ml$1,Sr$1="'",Vn$2='"';function Fl$1(Ra,qa){let nd=qa===!0||qa===Sr$1?Sr$1:Vn$2,od=nd===Sr$1?Vn$2:Sr$1,ld=0,ud=0;for(let dd of Ra)dd===nd?ld++:dd===od&&ud++;return ld>ud?od:nd}var jn$1=Fl$1,pt$3=class extends Error{constructor(nd,od,ld="type"){super(`Unexpected ${od} node ${ld}: ${JSON.stringify(nd[ld])}.`);wg(this,"name","UnexpectedNodeError");this.node=nd}},$n$2=pt$3,Xn$2=Ue$2(xr$1());function gl$1(Ra){return(Ra==null?void 0:Ra.type)==="front-matter"}var Hn$1=gl$1,nr$1=3;function vl$1(Ra){let qa=Ra.slice(0,nr$1);if(qa!=="---"&&qa!=="+++")return;let nd=Ra.indexOf(`
|
||
`,nr$1);if(nd===-1)return;let od=Ra.slice(nr$1,nd).trim(),ld=Ra.indexOf(`
|
||
${qa}`,nd),ud=od;if(ud||(ud=qa==="+++"?"toml":"yaml"),ld===-1&&qa==="---"&&ud==="yaml"&&(ld=Ra.indexOf(`
|
||
...`,nd)),ld===-1)return;let dd=ld+1+nr$1,pd=Ra.charAt(dd+1);if(!/\s?/u.test(pd))return;let fd=Ra.slice(0,dd);return{type:"front-matter",language:ud,explicitLanguage:od,value:Ra.slice(nd+1,ld),startDelimiter:qa,endDelimiter:fd.slice(-nr$1),raw:fd}}function El$1(Ra){let qa=vl$1(Ra);if(!qa)return{content:Ra};let{raw:nd}=qa;return{frontMatter:qa,content:N$5(!1,nd,/[^\n]/gu," ")+Ra.slice(nd.length)}}var ir$2=El$1,Wn$1=["format","prettier"];function dt$2(Ra){let qa=`@(${Wn$1.join("|")})`,nd=new RegExp([`<!--\\s*${qa}\\s*-->`,`\\{\\s*\\/\\*\\s*${qa}\\s*\\*\\/\\s*\\}`,`<!--.*\r?
|
||
[\\s\\S]*(^|
|
||
)[^\\S
|
||
]*${qa}[^\\S
|
||
]*($|
|
||
)[\\s\\S]*
|
||
.*-->`].join("|"),"mu"),od=Ra.match(nd);return(od==null?void 0:od.index)===0}var Kn$2=Ra=>dt$2(ir$2(Ra).content.trimStart()),Jn$2=Ra=>{let qa=ir$2(Ra),nd=`<!-- @${Wn$1[0]} -->`;return qa.frontMatter?`${qa.frontMatter.raw}
|
||
|
||
${nd}
|
||
|
||
${qa.content}`:`${nd}
|
||
|
||
${qa.content}`},Cl$1=new Set(["position","raw"]);function Qn$2(Ra,qa,nd){if((Ra.type==="front-matter"||Ra.type==="code"||Ra.type==="yaml"||Ra.type==="import"||Ra.type==="export"||Ra.type==="jsx")&&delete qa.value,Ra.type==="list"&&delete qa.isAligned,(Ra.type==="list"||Ra.type==="listItem")&&delete qa.spread,Ra.type==="text")return null;if(Ra.type==="inlineCode"&&(qa.value=N$5(!1,Ra.value,`
|
||
`," ")),Ra.type==="wikiLink"&&(qa.value=N$5(!1,Ra.value.trim(),/[\t\n]+/gu," ")),(Ra.type==="definition"||Ra.type==="linkReference"||Ra.type==="imageReference")&&(qa.label=(0,Xn$2.default)(Ra.label)),(Ra.type==="link"||Ra.type==="image")&&Ra.url&&Ra.url.includes("("))for(let od of"<>")qa.url=N$5(!1,Ra.url,od,encodeURIComponent(od));if((Ra.type==="definition"||Ra.type==="link"||Ra.type==="image")&&Ra.title&&(qa.title=N$5(!1,Ra.title,/\\(?=["')])/gu,"")),(nd==null?void 0:nd.type)==="root"&&nd.children.length>0&&(nd.children[0]===Ra||Hn$1(nd.children[0])&&nd.children[1]===Ra)&&Ra.type==="html"&&dt$2(Ra.value))return null}Qn$2.ignoredProperties=Cl$1;var Zn$2=Qn$2,ei$2=/(?:[\u02ea-\u02eb\u1100-\u11ff\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u303f\u3041-\u3096\u3099-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u3190-\u4dbf\u4e00-\u9fff\ua700-\ua707\ua960-\ua97c\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufe10-\ufe1f\ufe30-\ufe6f\uff00-\uffef]|[\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872\ud874-\ud879\ud880-\ud883\ud885-\ud887][\udc00-\udfff]|\ud81b[\udfe3]|\ud82b[\udff0-\udff3\udff5-\udffb\udffd-\udffe]|\ud82c[\udc00-\udd22\udd32\udd50-\udd52\udd55\udd64-\udd67]|\ud83c[\ude00\ude50-\ude51]|\ud869[\udc00-\udedf\udf00-\udfff]|\ud86d[\udc00-\udf39\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1\udeb0-\udfff]|\ud87a[\udc00-\udfe0]|\ud87e[\udc00-\ude1d]|\ud884[\udc00-\udf4a\udf50-\udfff]|\ud888[\udc00-\udfaf])(?:[\ufe00-\ufe0f]|\udb40[\udd00-\uddef])?/u,Se$5=new RegExp("(?:[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e]|\\p{General_Category=Connector_Punctuation}|\\p{General_Category=Dash_Punctuation}|\\p{General_Category=Close_Punctuation}|\\p{General_Category=Final_Punctuation}|\\p{General_Category=Initial_Punctuation}|\\p{General_Category=Other_Punctuation}|\\p{General_Category=Open_Punctuation})","u");async function bl$2(Ra,qa){if(Ra.language==="yaml"){let nd=Ra.value.trim(),od=nd?await qa(nd,{parser:"yaml"}):"";return _e$4([Ra.startDelimiter,Ra.explicitLanguage,L$5,od,od?L$5:"",Ra.endDelimiter])}}var ri$2=bl$2,yl$1=Ra=>String(Ra).split(/[/\\]/u).pop();function ti$2(Ra,qa){if(!qa)return;let nd=yl$1(qa).toLowerCase();return Ra.find(({filenames:od})=>od==null?void 0:od.some(ld=>ld.toLowerCase()===nd))??Ra.find(({extensions:od})=>od==null?void 0:od.some(ld=>nd.endsWith(ld)))}function Al$1(Ra,qa){if(qa)return Ra.find(({name:nd})=>nd.toLowerCase()===qa)??Ra.find(({aliases:nd})=>nd==null?void 0:nd.includes(qa))??Ra.find(({extensions:nd})=>nd==null?void 0:nd.includes(`.${qa}`))}function xl$1(Ra,qa){let nd=Ra.plugins.flatMap(ld=>ld.languages??[]),od=Al$1(nd,qa.language)??ti$2(nd,qa.physicalFile)??ti$2(nd,qa.file)??(qa.physicalFile,void 0);return od==null?void 0:od.parsers[0]}var ni$2=xl$1,wl$1=new Proxy(()=>{},{get:()=>wl$1});function Oe$4(Ra){return Ra.position.start.offset}function Pe$4(Ra){return Ra.position.end.offset}var ht$2=new Set(["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"]),Or$1=new Set([...ht$2,"tableCell","paragraph","heading"]),Le$4="non-cjk",De$3="cj-letter",be$6="k-letter",ur$1="cjk-punctuation",kl$1=new RegExp("\\p{Script_Extensions=Hangul}","u");function Pr$1(Ra){let qa=[],nd=Ra.split(/([\t\n ]+)/u);for(let[ld,ud]of nd.entries()){if(ld%2===1){qa.push({type:"whitespace",value:/\n/u.test(ud)?`
|
||
`:" "});continue}if((ld===0||ld===nd.length-1)&&ud==="")continue;let dd=ud.split(new RegExp(`(${ei$2.source})`,"u"));for(let[pd,fd]of dd.entries())if(!((pd===0||pd===dd.length-1)&&fd==="")){if(pd%2===0){fd!==""&&od({type:"word",value:fd,kind:Le$4,hasLeadingPunctuation:Se$5.test(fd[0]),hasTrailingPunctuation:Se$5.test(M$5(!1,fd,-1))});continue}od(Se$5.test(fd)?{type:"word",value:fd,kind:ur$1,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:fd,kind:kl$1.test(fd)?be$6:De$3,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return qa;function od(ld){let ud=M$5(!1,qa,-1);(ud==null?void 0:ud.type)==="word"&&!dd(Le$4,ur$1)&&![ud.value,ld.value].some(pd=>/\u3000/u.test(pd))&&qa.push({type:"whitespace",value:""}),qa.push(ld);function dd(pd,fd){return ud.kind===pd&&ld.kind===fd||ud.kind===fd&&ld.kind===pd}}}function Me$4(Ra,qa){let nd=qa.originalText.slice(Ra.position.start.offset,Ra.position.end.offset),{numberText:od,leadingSpaces:ld}=nd.match(/^\s*(?<numberText>\d+)(\.|\))(?<leadingSpaces>\s*)/u).groups;return{number:Number(od),leadingSpaces:ld}}function ii$3(Ra,qa){return!Ra.ordered||Ra.children.length<2||Me$4(Ra.children[1],qa).number!==1?!1:Me$4(Ra.children[0],qa).number!==0?!0:Ra.children.length>2&&Me$4(Ra.children[2],qa).number===1}function Lr$1(Ra,qa){let{value:nd}=Ra;return Ra.position.end.offset===qa.length&&nd.endsWith(`
|
||
`)&&qa.endsWith(`
|
||
`)?nd.slice(0,-1):nd}function ye$4(Ra,qa){return function nd(od,ld,ud){let dd={...qa(od,ld,ud)};return dd.children&&(dd.children=dd.children.map((pd,fd)=>nd(pd,fd,[dd,...ud]))),dd}(Ra,null,[])}function mt$2(Ra){if((Ra==null?void 0:Ra.type)!=="link"||Ra.children.length!==1)return!1;let[qa]=Ra.children;return Oe$4(Ra)===Oe$4(qa)&&Pe$4(Ra)===Pe$4(qa)}function Bl$1(Ra,qa){let{node:nd}=Ra;if(nd.type==="code"&&nd.lang!==null){let od=ni$2(qa,{language:nd.lang});if(od)return async ld=>{let ud=qa.__inJsTemplate?"~":"`",dd=ud.repeat(Math.max(3,_r$1(nd.value,ud)+1)),pd={parser:od};nd.lang==="ts"||nd.lang==="typescript"?pd.filepath="dummy.ts":nd.lang==="tsx"&&(pd.filepath="dummy.tsx");let fd=await ld(Lr$1(nd,qa.originalText),pd);return _e$4([dd,nd.lang,nd.meta?" "+nd.meta:"",L$5,Ce$3(fd),L$5,dd])}}switch(nd.type){case"front-matter":return od=>ri$2(nd,od);case"import":case"export":return od=>od(nd.value,{parser:"babel"});case"jsx":return od=>od(`<$>${nd.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var ui$2=Bl$1,ar$2=null;function or$1(Ra){if(ar$2!==null&&typeof ar$2.property){let qa=ar$2;return ar$2=or$1.prototype=null,qa}return ar$2=or$1.prototype=Ra??Object.create(null),new or$1}var ql$1=10;for(let Ra=0;Ra<=ql$1;Ra++)or$1();function Ft$3(Ra){return or$1(Ra)}function Tl$1(Ra,qa="type"){Ft$3(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var ai$3=Tl$1,_l$1={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},oi$2=_l$1,Sl$1=ai$3(oi$2),si$2=Sl$1;function ci$3(Ra){switch(Ra){case"cr":return"\r";case"crlf":return`\r
|
||
`;default:return`
|
||
`}}var li$2=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function fi$2(Ra){return Ra===12288||Ra>=65281&&Ra<=65376||Ra>=65504&&Ra<=65510}function Di$1(Ra){return Ra>=4352&&Ra<=4447||Ra===8986||Ra===8987||Ra===9001||Ra===9002||Ra>=9193&&Ra<=9196||Ra===9200||Ra===9203||Ra===9725||Ra===9726||Ra===9748||Ra===9749||Ra>=9800&&Ra<=9811||Ra===9855||Ra===9875||Ra===9889||Ra===9898||Ra===9899||Ra===9917||Ra===9918||Ra===9924||Ra===9925||Ra===9934||Ra===9940||Ra===9962||Ra===9970||Ra===9971||Ra===9973||Ra===9978||Ra===9981||Ra===9989||Ra===9994||Ra===9995||Ra===10024||Ra===10060||Ra===10062||Ra>=10067&&Ra<=10069||Ra===10071||Ra>=10133&&Ra<=10135||Ra===10160||Ra===10175||Ra===11035||Ra===11036||Ra===11088||Ra===11093||Ra>=11904&&Ra<=11929||Ra>=11931&&Ra<=12019||Ra>=12032&&Ra<=12245||Ra>=12272&&Ra<=12287||Ra>=12289&&Ra<=12350||Ra>=12353&&Ra<=12438||Ra>=12441&&Ra<=12543||Ra>=12549&&Ra<=12591||Ra>=12593&&Ra<=12686||Ra>=12688&&Ra<=12771||Ra>=12783&&Ra<=12830||Ra>=12832&&Ra<=12871||Ra>=12880&&Ra<=19903||Ra>=19968&&Ra<=42124||Ra>=42128&&Ra<=42182||Ra>=43360&&Ra<=43388||Ra>=44032&&Ra<=55203||Ra>=63744&&Ra<=64255||Ra>=65040&&Ra<=65049||Ra>=65072&&Ra<=65106||Ra>=65108&&Ra<=65126||Ra>=65128&&Ra<=65131||Ra>=94176&&Ra<=94180||Ra===94192||Ra===94193||Ra>=94208&&Ra<=100343||Ra>=100352&&Ra<=101589||Ra>=101632&&Ra<=101640||Ra>=110576&&Ra<=110579||Ra>=110581&&Ra<=110587||Ra===110589||Ra===110590||Ra>=110592&&Ra<=110882||Ra===110898||Ra>=110928&&Ra<=110930||Ra===110933||Ra>=110948&&Ra<=110951||Ra>=110960&&Ra<=111355||Ra===126980||Ra===127183||Ra===127374||Ra>=127377&&Ra<=127386||Ra>=127488&&Ra<=127490||Ra>=127504&&Ra<=127547||Ra>=127552&&Ra<=127560||Ra===127568||Ra===127569||Ra>=127584&&Ra<=127589||Ra>=127744&&Ra<=127776||Ra>=127789&&Ra<=127797||Ra>=127799&&Ra<=127868||Ra>=127870&&Ra<=127891||Ra>=127904&&Ra<=127946||Ra>=127951&&Ra<=127955||Ra>=127968&&Ra<=127984||Ra===127988||Ra>=127992&&Ra<=128062||Ra===128064||Ra>=128066&&Ra<=128252||Ra>=128255&&Ra<=128317||Ra>=128331&&Ra<=128334||Ra>=128336&&Ra<=128359||Ra===128378||Ra===128405||Ra===128406||Ra===128420||Ra>=128507&&Ra<=128591||Ra>=128640&&Ra<=128709||Ra===128716||Ra>=128720&&Ra<=128722||Ra>=128725&&Ra<=128727||Ra>=128732&&Ra<=128735||Ra===128747||Ra===128748||Ra>=128756&&Ra<=128764||Ra>=128992&&Ra<=129003||Ra===129008||Ra>=129292&&Ra<=129338||Ra>=129340&&Ra<=129349||Ra>=129351&&Ra<=129535||Ra>=129648&&Ra<=129660||Ra>=129664&&Ra<=129672||Ra>=129680&&Ra<=129725||Ra>=129727&&Ra<=129733||Ra>=129742&&Ra<=129755||Ra>=129760&&Ra<=129768||Ra>=129776&&Ra<=129784||Ra>=131072&&Ra<=196605||Ra>=196608&&Ra<=262141}var pi$4=Ra=>!(fi$2(Ra)||Di$1(Ra)),Ol$1=/[^\x20-\x7F]/u;function Pl$1(Ra){if(!Ra)return 0;if(!Ol$1.test(Ra))return Ra.length;Ra=Ra.replace(li$2()," ");let qa=0;for(let nd of Ra){let od=nd.codePointAt(0);od<=31||od>=127&&od<=159||od>=768&&od<=879||(qa+=pi$4(od)?1:2)}return qa}var sr$1=Pl$1,G$6=Symbol("MODE_BREAK"),ne$4=Symbol("MODE_FLAT"),cr$2=Symbol("cursor");function di$2(){return{value:"",length:0,queue:[]}}function Ll$1(Ra,qa){return gt$2(Ra,{type:"indent"},qa)}function Il$1(Ra,qa,nd){return qa===Number.NEGATIVE_INFINITY?Ra.root||di$2():qa<0?gt$2(Ra,{type:"dedent"},nd):qa?qa.type==="root"?{...Ra,root:Ra}:gt$2(Ra,{type:typeof qa=="string"?"stringAlign":"numberAlign",n:qa},nd):Ra}function gt$2(Ra,qa,nd){let od=qa.type==="dedent"?Ra.queue.slice(0,-1):[...Ra.queue,qa],ld="",ud=0,dd=0,pd=0;for(let Od of od)switch(Od.type){case"indent":vd(),nd.useTabs?fd(1):md(nd.tabWidth);break;case"stringAlign":vd(),ld+=Od.n,ud+=Od.n.length;break;case"numberAlign":dd+=1,pd+=Od.n;break;default:throw new Error(`Unexpected type '${Od.type}'`)}return Nd(),{...Ra,value:ld,length:ud,queue:od};function fd(Od){ld+=" ".repeat(Od),ud+=nd.tabWidth*Od}function md(Od){ld+=" ".repeat(Od),ud+=Od}function vd(){nd.useTabs?Ad():Nd()}function Ad(){dd>0&&fd(dd),Id()}function Nd(){pd>0&&md(pd),Id()}function Id(){dd=0,pd=0}}function vt$3(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===cr$2){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let dd=ld[ud];if(dd===" "||dd===" ")qa++;else{Ra[od]=ld.slice(0,ud+1);break e}}}if(qa>0||nd>0)for(Ra.length=od+1;nd-- >0;)Ra.push(cr$2);return qa}function Ir$1(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let dd=qa.length,pd=[Ra],fd=[];for(;nd>=0;){if(pd.length===0){if(dd===0)return!0;pd.push(qa[--dd]);continue}let{mode:md,doc:vd}=pd.pop(),Ad=Y$4(vd);switch(Ad){case $$2:fd.push(vd),nd-=sr$1(vd);break;case H$5:case J$6:{let Nd=Ad===H$5?vd:vd.parts;for(let Id=Nd.length-1;Id>=0;Id--)pd.push({mode:md,doc:Nd[Id]});break}case ee$4:case re$4:case se$4:case fe$5:pd.push({mode:md,doc:vd.contents});break;case oe$4:nd+=vt$3(fd);break;case K$5:{if(ud&&vd.break)return!1;let Nd=vd.break?G$6:md,Id=vd.expandedStates&&Nd===G$6?M$5(!1,vd.expandedStates,-1):vd.contents;pd.push({mode:Nd,doc:Id});break}case X$5:{let Nd=(vd.groupId?ld[vd.groupId]||ne$4:md)===G$6?vd.breakContents:vd.flatContents;Nd&&pd.push({mode:md,doc:Nd});break}case W$6:if(md===G$6||vd.hard)return!0;vd.soft||(fd.push(" "),nd--);break;case ce$6:od=!0;break;case le$4:if(od)return!1;break}}return!1}function hi$1(Ra,qa){let nd={},od=qa.printWidth,ld=ci$3(qa.endOfLine),ud=0,dd=[{ind:di$2(),mode:G$6,doc:Ra}],pd=[],fd=!1,md=[],vd=0;for(Yn$1(Ra);dd.length>0;){let{ind:Nd,mode:Id,doc:Od}=dd.pop();switch(Y$4(Od)){case $$2:{let Md=ld!==`
|
||
`?N$5(!1,Od,`
|
||
`,ld):Od;pd.push(Md),dd.length>0&&(ud+=sr$1(Md));break}case H$5:for(let Md=Od.length-1;Md>=0;Md--)dd.push({ind:Nd,mode:Id,doc:Od[Md]});break;case ge$5:if(vd>=2)throw new Error("There are too many 'cursor' in doc.");pd.push(cr$2),vd++;break;case ee$4:dd.push({ind:Ll$1(Nd,qa),mode:Id,doc:Od.contents});break;case re$4:dd.push({ind:Il$1(Nd,Od.n,qa),mode:Id,doc:Od.contents});break;case oe$4:ud-=vt$3(pd);break;case K$5:switch(Id){case ne$4:if(!fd){dd.push({ind:Nd,mode:Od.break?G$6:ne$4,doc:Od.contents});break}case G$6:{fd=!1;let Md={ind:Nd,mode:ne$4,doc:Od.contents},Ud=od-ud,jd=md.length>0;if(!Od.break&&Ir$1(Md,dd,Ud,jd,nd))dd.push(Md);else if(Od.expandedStates){let Ld=M$5(!1,Od.expandedStates,-1);if(Od.break){dd.push({ind:Nd,mode:G$6,doc:Ld});break}else for(let Bd=1;Bd<Od.expandedStates.length+1;Bd++)if(Bd>=Od.expandedStates.length){dd.push({ind:Nd,mode:G$6,doc:Ld});break}else{let Gd=Od.expandedStates[Bd],qd={ind:Nd,mode:ne$4,doc:Gd};if(Ir$1(qd,dd,Ud,jd,nd)){dd.push(qd);break}}}else dd.push({ind:Nd,mode:G$6,doc:Od.contents});break}}Od.id&&(nd[Od.id]=M$5(!1,dd,-1).mode);break;case J$6:{let Md=od-ud,{parts:Ud}=Od;if(Ud.length===0)break;let[jd,Ld]=Ud,Bd={ind:Nd,mode:ne$4,doc:jd},Gd={ind:Nd,mode:G$6,doc:jd},qd=Ir$1(Bd,[],Md,md.length>0,nd,!0);if(Ud.length===1){qd?dd.push(Bd):dd.push(Gd);break}let zd={ind:Nd,mode:ne$4,doc:Ld},Xd={ind:Nd,mode:G$6,doc:Ld};if(Ud.length===2){qd?dd.push(zd,Bd):dd.push(Xd,Gd);break}Ud.splice(0,2);let gf={ind:Nd,mode:Id,doc:Ee$5(Ud)},Yd=Ud[0];Ir$1({ind:Nd,mode:ne$4,doc:[jd,Ld,Yd]},[],Md,md.length>0,nd,!0)?dd.push(gf,zd,Bd):qd?dd.push(gf,Xd,Bd):dd.push(gf,Xd,Gd);break}case X$5:case se$4:{let Md=Od.groupId?nd[Od.groupId]:Id;if(Md===G$6){let Ud=Od.type===X$5?Od.breakContents:Od.negate?Od.contents:Ze$3(Od.contents);Ud&&dd.push({ind:Nd,mode:Id,doc:Ud})}if(Md===ne$4){let Ud=Od.type===X$5?Od.flatContents:Od.negate?Ze$3(Od.contents):Od.contents;Ud&&dd.push({ind:Nd,mode:Id,doc:Ud})}break}case ce$6:md.push({ind:Nd,mode:Id,doc:Od.contents});break;case le$4:md.length>0&&dd.push({ind:Nd,mode:Id,doc:rr$1});break;case W$6:switch(Id){case ne$4:if(Od.hard)fd=!0;else{Od.soft||(pd.push(" "),ud+=1);break}case G$6:if(md.length>0){dd.push({ind:Nd,mode:Id,doc:Od},...md.reverse()),md.length=0;break}Od.literal?Nd.root?(pd.push(ld,Nd.root.value),ud=Nd.root.length):(pd.push(ld),ud=0):(ud-=vt$3(pd),pd.push(ld+Nd.value),ud=Nd.length);break}break;case fe$5:dd.push({ind:Nd,mode:Id,doc:Od.contents});break;case te$4:break;default:throw new qe$2(Od)}dd.length===0&&md.length>0&&(dd.push(...md.reverse()),md.length=0)}let Ad=pd.indexOf(cr$2);if(Ad!==-1){let Nd=pd.indexOf(cr$2,Ad+1),Id=pd.slice(0,Ad).join(""),Od=pd.slice(Ad+1,Nd).join(""),Md=pd.slice(Nd+1).join("");return{formatted:Id+Od+Md,cursorNodeStart:Id.length,cursorNodeText:Od}}return{formatted:pd.join("")}}function mi(Ra,qa,nd){let{node:od}=Ra,ld=[],ud=Ra.map(()=>Ra.map(({index:Ad})=>{let Nd=hi$1(nd(),qa).formatted,Id=sr$1(Nd);return ld[Ad]=Math.max(ld[Ad]??3,Id),{text:Nd,width:Id}},"children"),"children"),dd=fd(!1);if(qa.proseWrap!=="never")return[er$1,dd];let pd=fd(!0);return[er$1,ze$4(zn$2(pd,dd))];function fd(Ad){return Tr$1(rr$1,[vd(ud[0],Ad),md(Ad),...ud.slice(1).map(Nd=>vd(Nd,Ad))].map(Nd=>`| ${Nd.join(" | ")} |`))}function md(Ad){return ld.map((Nd,Id)=>{let Od=od.align[Id],Md=Od==="center"||Od==="left"?":":"-",Ud=Od==="center"||Od==="right"?":":"-",jd=Ad?"-":"-".repeat(Nd-2);return`${Md}${jd}${Ud}`})}function vd(Ad,Nd){return Ad.map(({text:Id,width:Od},Md)=>{if(Nd)return Id;let Ud=ld[Md]-Od,jd=od.align[Md],Ld=0;jd==="right"?Ld=Ud:jd==="center"&&(Ld=Math.floor(Ud/2));let Bd=Ud-Ld;return`${" ".repeat(Ld)}${Id}${" ".repeat(Bd)}`})}}function Fi(Ra,qa,nd){let od=Ra.map(nd,"children");return Nl$1(od)}function Nl$1(Ra){let qa=[""];return function nd(od){for(let ld of od){let ud=Y$4(ld);if(ud===H$5){nd(ld);continue}let dd=ld,pd=[];ud===J$6&&([dd,...pd]=ld.parts),qa.push([qa.pop(),dd],...pd)}}(Ra),Ee$5(qa)}var Rl$1=/^.$/su;function Ul$1(Ra,qa){return Ra=zl$1(Ra,qa),Ra=Yl$1(Ra),Ra=Vl$1(Ra,qa),Ra=jl$1(Ra,qa),Ra=Gl$1(Ra),Ra}function zl$1(Ra,qa){return ye$4(Ra,nd=>nd.type!=="text"||nd.value==="*"||nd.value==="_"||!Rl$1.test(nd.value)||nd.position.end.offset-nd.position.start.offset===nd.value.length?nd:{...nd,value:qa.originalText.slice(nd.position.start.offset,nd.position.end.offset)})}function Ml$1(Ra,qa,nd){return ye$4(Ra,od=>{if(!od.children)return od;let ld=od.children.reduce((ud,dd)=>{let pd=M$5(!1,ud,-1);return pd&&qa(pd,dd)?ud.splice(-1,1,nd(pd,dd)):ud.push(dd),ud},[]);return{...od,children:ld}})}function Yl$1(Ra){return Ml$1(Ra,(qa,nd)=>qa.type==="text"&&nd.type==="text",(qa,nd)=>({type:"text",value:qa.value+nd.value,position:{start:qa.position.start,end:nd.position.end}}))}function Gl$1(Ra){return ye$4(Ra,(qa,nd,[od])=>{if(qa.type!=="text")return qa;let{value:ld}=qa;return od.type==="paragraph"&&(nd===0&&(ld=ld.trimStart()),nd===od.children.length-1&&(ld=ld.trimEnd())),{type:"sentence",position:qa.position,children:Pr$1(ld)}})}function Vl$1(Ra,qa){return ye$4(Ra,(nd,od,ld)=>{if(nd.type==="code"){let ud=/^\n?(?: {4,}|\t)/u.test(qa.originalText.slice(nd.position.start.offset,nd.position.end.offset));if(nd.isIndented=ud,ud)for(let dd=0;dd<ld.length;dd++){let pd=ld[dd];if(pd.hasIndentedCodeblock)break;pd.type==="list"&&(pd.hasIndentedCodeblock=!0)}}return nd})}function jl$1(Ra,qa){return ye$4(Ra,(ld,ud,dd)=>{if(ld.type==="list"&&ld.children.length>0){for(let pd=0;pd<dd.length;pd++){let fd=dd[pd];if(fd.type==="list"&&!fd.isAligned)return ld.isAligned=!1,ld}ld.isAligned=od(ld)}return ld});function nd(ld){return ld.children.length===0?-1:ld.children[0].position.start.column-1}function od(ld){if(!ld.ordered)return!0;let[ud,dd]=ld.children;if(Me$4(ud,qa).leadingSpaces.length>1)return!0;let pd=nd(ud);if(pd===-1)return!1;if(ld.children.length===1)return pd%qa.tabWidth===0;let fd=nd(dd);return pd!==fd?!1:pd%qa.tabWidth===0?!0:Me$4(dd,qa).leadingSpaces.length>1}}var gi=Ul$1;function vi(Ra,qa){let nd=[""];return Ra.each(()=>{let{node:od}=Ra,ld=qa();switch(od.type){case"whitespace":if(Y$4(ld)!==$$2){nd.push(ld,"");break}default:nd.push([nd.pop(),ld])}},"children"),Ee$5(nd)}var $l$1=new Set(["heading","tableCell","link","wikiLink"]),Hl$1=new Set(`$(£¥·'"〈《「『【〔〖〝﹙﹛$([{£¥[{‵︴︵︷︹︻︽︿﹁﹃﹏〘⦅«`),Wl$1=new Set(`!%),.:;?]}¢°·'"†‡›℃∶、。〃〆〕〗〞﹚﹜!"%'),.:;?]}~–—•〉》」︰︱︲︳﹐﹑﹒﹔﹕﹖﹘︶︸︺︼︾﹀﹂﹗|、』】〙〟⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠〜~‼⁇⁈⁉・゙゚`),Ei=new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");function Kl$1({parent:Ra}){if(Ra.usesCJSpaces===void 0){let qa={" ":0,"":0},{children:nd}=Ra;for(let od=1;od<nd.length-1;++od){let ld=nd[od];if(ld.type==="whitespace"&&(ld.value===" "||ld.value==="")){let ud=nd[od-1].kind,dd=nd[od+1].kind;(ud===De$3&&dd===Le$4||ud===Le$4&&dd===De$3)&&++qa[ld.value]}}Ra.usesCJSpaces=qa[" "]>qa[""]}return Ra.usesCJSpaces}function Jl$1(Ra,qa){if(qa)return!0;let{previous:nd,next:od}=Ra;if(!nd||!od)return!0;let ld=nd.kind,ud=od.kind;return bi$1(ld)&&bi$1(ud)||ld===be$6&&ud===De$3||ud===be$6&&ld===De$3?!0:ld===ur$1||ud===ur$1||ld===De$3&&ud===De$3?!1:Ei.has(od.value[0])||Ei.has(M$5(!1,nd.value,-1))?!0:nd.hasTrailingPunctuation||od.hasLeadingPunctuation?!1:Kl$1(Ra)}function Ci(Ra){return Ra===Le$4||Ra===De$3||Ra===be$6}function bi$1(Ra){return Ra===Le$4||Ra===be$6}function Xl$1(Ra,qa,nd,od,ld){if(nd!=="always"||Ra.hasAncestor(pd=>$l$1.has(pd.type)))return!1;if(od)return qa!=="";if(qa===" ")return!0;let{previous:ud,next:dd}=Ra;return!(qa===""&&((ud==null?void 0:ud.kind)===be$6&&Ci(dd==null?void 0:dd.kind)||(dd==null?void 0:dd.kind)===be$6&&Ci(ud==null?void 0:ud.kind))||!ld&&(dd&&Wl$1.has(dd.value[0])||ud&&Hl$1.has(M$5(!1,ud.value,-1))))}function Et$2(Ra,qa,nd,od){if(nd==="preserve"&&qa===`
|
||
`)return L$5;let ld=qa===" "||qa===`
|
||
`&&Jl$1(Ra,od);return Xl$1(Ra,qa,nd,od,ld)?ld?Br$2:qr$1:ld?" ":""}var Ql$1=new Set(["listItem","definition"]);function Zl$1(Ra,qa,nd){var od,ld;let{node:ud}=Ra;if(af$1(Ra)){let dd=[""],pd=Pr$1(qa.originalText.slice(ud.position.start.offset,ud.position.end.offset));for(let fd of pd){if(fd.type==="word"){dd.push([dd.pop(),fd.value]);continue}let md=Et$2(Ra,fd.value,qa.proseWrap,!0);if(Y$4(md)===$$2){dd.push([dd.pop(),md]);continue}dd.push(md)}return Ee$5(dd)}switch(ud.type){case"front-matter":return qa.originalText.slice(ud.position.start.offset,ud.position.end.offset);case"root":return ud.children.length===0?"":[tf(Ra,qa,nd),L$5];case"paragraph":return Fi(Ra,qa,nd);case"sentence":return vi(Ra,nd);case"word":{let dd=N$5(!1,N$5(!1,ud.value,"*",String.raw`\*`),new RegExp([`(^|${Se$5.source})(_+)`,`(_+)(${Se$5.source}|$)`].join("|"),"gu"),(md,vd,Ad,Nd,Id)=>N$5(!1,Ad?`${vd}${Ad}`:`${Nd}${Id}`,"_",String.raw`\_`)),pd=(md,vd,Ad)=>md.type==="sentence"&&Ad===0,fd=(md,vd,Ad)=>mt$2(md.children[Ad-1]);return dd!==ud.value&&(Ra.match(void 0,pd,fd)||Ra.match(void 0,pd,(md,vd,Ad)=>md.type==="emphasis"&&Ad===0,fd))&&(dd=dd.replace(/^(\\?[*_])+/u,md=>N$5(!1,md,"\\",""))),dd}case"whitespace":{let{next:dd}=Ra,pd=dd&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(dd.value)?"never":qa.proseWrap;return Et$2(Ra,ud.value,pd)}case"emphasis":{let dd;if(mt$2(ud.children[0]))dd=qa.originalText[ud.position.start.offset];else{let{previous:pd,next:fd}=Ra;dd=(pd==null?void 0:pd.type)==="sentence"&&((od=M$5(!1,pd.children,-1))==null?void 0:od.type)==="word"&&!M$5(!1,pd.children,-1).hasTrailingPunctuation||(fd==null?void 0:fd.type)==="sentence"&&((ld=fd.children[0])==null?void 0:ld.type)==="word"&&!fd.children[0].hasLeadingPunctuation||Ra.hasAncestor(md=>md.type==="emphasis")?"*":"_"}return[dd,V$5(Ra,qa,nd),dd]}case"strong":return["**",V$5(Ra,qa,nd),"**"];case"delete":return["~~",V$5(Ra,qa,nd),"~~"];case"inlineCode":{let dd=qa.proseWrap==="preserve"?ud.value:N$5(!1,ud.value,`
|
||
`," "),pd=Gn$2(dd,"`"),fd="`".repeat(pd||1),md=dd.startsWith("`")||dd.endsWith("`")||/^[\n ]/u.test(dd)&&/[\n ]$/u.test(dd)&&/[^\n ]/u.test(dd)?" ":"";return[fd,md,dd,md,fd]}case"wikiLink":{let dd="";return qa.proseWrap==="preserve"?dd=ud.value:dd=N$5(!1,ud.value,/[\t\n]+/gu," "),["[[",dd,"]]"]}case"link":switch(qa.originalText[ud.position.start.offset]){case"<":{let dd="mailto:";return["<",ud.url.startsWith(dd)&&qa.originalText.slice(ud.position.start.offset+1,ud.position.start.offset+1+dd.length)!==dd?ud.url.slice(dd.length):ud.url,">"]}case"[":return["[",V$5(Ra,qa,nd),"](",Ct$2(ud.url,")"),Nr$1(ud.title,qa),")"];default:return qa.originalText.slice(ud.position.start.offset,ud.position.end.offset)}case"image":return["![",ud.alt||"","](",Ct$2(ud.url,")"),Nr$1(ud.title,qa),")"];case"blockquote":return["> ",ve$5("> ",V$5(Ra,qa,nd))];case"heading":return["#".repeat(ud.depth)+" ",V$5(Ra,qa,nd)];case"code":{if(ud.isIndented){let fd=" ".repeat(4);return ve$5(fd,[fd,Ce$3(ud.value,L$5)])}let dd=qa.__inJsTemplate?"~":"`",pd=dd.repeat(Math.max(3,_r$1(ud.value,dd)+1));return[pd,ud.lang||"",ud.meta?" "+ud.meta:"",L$5,Ce$3(Lr$1(ud,qa.originalText),L$5),L$5,pd]}case"html":{let{parent:dd,isLast:pd}=Ra,fd=dd.type==="root"&&pd?ud.value.trimEnd():ud.value,md=/^<!--.*-->$/su.test(fd);return Ce$3(fd,md?L$5:_e$4(tr$1))}case"list":{let dd=Ai(ud,Ra.parent),pd=ii$3(ud,qa);return V$5(Ra,qa,nd,{processor(fd){let md=Ad(),vd=fd.node;if(vd.children.length===2&&vd.children[1].type==="html"&&vd.children[0].position.start.column!==vd.children[1].position.start.column)return[md,yi$1(fd,qa,nd,md)];return[md,ve$5(" ".repeat(md.length),yi$1(fd,qa,nd,md))];function Ad(){let Nd=ud.ordered?(fd.isFirst?ud.start:pd?1:ud.start+fd.index)+(dd%2===0?". ":") "):dd%2===0?"- ":"* ";return ud.isAligned||ud.hasIndentedCodeblock?ef(Nd,qa):Nd}}})}case"thematicBreak":{let{ancestors:dd}=Ra,pd=dd.findIndex(fd=>fd.type==="list");return pd===-1?"---":Ai(dd[pd],dd[pd+1])%2===0?"***":"---"}case"linkReference":return["[",V$5(Ra,qa,nd),"]",ud.referenceType==="full"?bt$4(ud):ud.referenceType==="collapsed"?"[]":""];case"imageReference":switch(ud.referenceType){case"full":return["![",ud.alt||"","]",bt$4(ud)];default:return["![",ud.alt,"]",ud.referenceType==="collapsed"?"[]":""]}case"definition":{let dd=qa.proseWrap==="always"?Br$2:" ";return ze$4([bt$4(ud),":",Ze$3([dd,Ct$2(ud.url),ud.title===null?"":[dd,Nr$1(ud.title,qa,!1)]])])}case"footnote":return["[^",V$5(Ra,qa,nd),"]"];case"footnoteReference":return Bi(ud);case"footnoteDefinition":{let dd=ud.children.length===1&&ud.children[0].type==="paragraph"&&(qa.proseWrap==="never"||qa.proseWrap==="preserve"&&ud.children[0].position.start.line===ud.children[0].position.end.line);return[Bi(ud),": ",dd?V$5(Ra,qa,nd):ze$4([ve$5(" ".repeat(4),V$5(Ra,qa,nd,{processor:({isFirst:pd})=>pd?ze$4([qr$1,nd()]):nd()}))])]}case"table":return mi(Ra,qa,nd);case"tableCell":return V$5(Ra,qa,nd);case"break":return/\s/u.test(qa.originalText[ud.position.start.offset])?[" ",_e$4(tr$1)]:["\\",L$5];case"liquidNode":return Ce$3(ud.value,L$5);case"import":case"export":case"jsx":return ud.value;case"esComment":return["{/* ",ud.value," */}"];case"math":return["$$",L$5,ud.value?[Ce$3(ud.value,L$5),L$5]:"","$$"];case"inlineMath":return qa.originalText.slice(Oe$4(ud),Pe$4(ud));case"tableRow":case"listItem":case"text":default:throw new $n$2(ud,"Markdown")}}function yi$1(Ra,qa,nd,od){let{node:ld}=Ra,ud=ld.checked===null?"":ld.checked?"[x] ":"[ ] ";return[ud,V$5(Ra,qa,nd,{processor({node:dd,isFirst:pd}){if(pd&&dd.type!=="list")return ve$5(" ".repeat(ud.length),nd());let fd=" ".repeat(sf(qa.tabWidth-od.length,0,3));return[fd,ve$5(fd,nd())]}})]}function ef(Ra,qa){let nd=od();return Ra+" ".repeat(nd>=4?0:nd);function od(){let ld=Ra.length%qa.tabWidth;return ld===0?0:qa.tabWidth-ld}}function Ai(Ra,qa){return rf(Ra,qa,nd=>nd.ordered===Ra.ordered)}function rf(Ra,qa,nd){let od=-1;for(let ld of qa.children)if(ld.type===Ra.type&&nd(ld)?od++:od=-1,ld===Ra)return od}function tf(Ra,qa,nd){let od=[],ld=null,{children:ud}=Ra.node;for(let[dd,pd]of ud.entries())switch(yt$1(pd)){case"start":ld===null&&(ld={index:dd,offset:pd.position.end.offset});break;case"end":ld!==null&&(od.push({start:ld,end:{index:dd,offset:pd.position.start.offset}}),ld=null);break}return V$5(Ra,qa,nd,{processor({index:dd}){if(od.length>0){let pd=od[0];if(dd===pd.start.index)return[xi(ud[pd.start.index]),qa.originalText.slice(pd.start.offset,pd.end.offset),xi(ud[pd.end.index])];if(pd.start.index<dd&&dd<pd.end.index)return!1;if(dd===pd.end.index)return od.shift(),!1}return nd()}})}function V$5(Ra,qa,nd,od={}){let{processor:ld=nd}=od,ud=[];return Ra.each(()=>{let dd=ld(Ra);dd!==!1&&(ud.length>0&&nf(Ra)&&(ud.push(L$5),(uf(Ra,qa)||ki(Ra))&&ud.push(L$5),ki(Ra)&&ud.push(L$5)),ud.push(dd))},"children"),ud}function xi(Ra){if(Ra.type==="html")return Ra.value;if(Ra.type==="paragraph"&&Array.isArray(Ra.children)&&Ra.children.length===1&&Ra.children[0].type==="esComment")return["{/* ",Ra.children[0].value," */}"]}function yt$1(Ra){let qa;if(Ra.type==="html")qa=Ra.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/u);else{let nd;Ra.type==="esComment"?nd=Ra:Ra.type==="paragraph"&&Ra.children.length===1&&Ra.children[0].type==="esComment"&&(nd=Ra.children[0]),nd&&(qa=nd.value.match(/^prettier-ignore(?:-(start|end))?$/u))}return qa?qa[1]||"next":!1}function nf({node:Ra,parent:qa}){let nd=ht$2.has(Ra.type),od=Ra.type==="html"&&Or$1.has(qa.type);return!nd&&!od}function wi(Ra,qa){return Ra.type==="listItem"&&(Ra.spread||qa.originalText.charAt(Ra.position.end.offset-1)===`
|
||
`)}function uf({node:Ra,previous:qa,parent:nd},od){if(wi(qa,od))return!0;let ld=qa.type===Ra.type&&Ql$1.has(Ra.type),ud=nd.type==="listItem"&&!wi(nd,od),dd=yt$1(qa)==="next",pd=Ra.type==="html"&&qa.type==="html"&&qa.position.end.line+1===Ra.position.start.line,fd=Ra.type==="html"&&nd.type==="listItem"&&qa.type==="paragraph"&&qa.position.end.line+1===Ra.position.start.line;return!(ld||ud||dd||pd||fd)}function ki({node:Ra,previous:qa}){let nd=qa.type==="list",od=Ra.type==="code"&&Ra.isIndented;return nd&&od}function af$1(Ra){let qa=Ra.findAncestor(nd=>nd.type==="linkReference"||nd.type==="imageReference");return qa&&(qa.type!=="linkReference"||qa.referenceType!=="full")}var of=(Ra,qa)=>{for(let nd of qa)Ra=N$5(!1,Ra,nd,encodeURIComponent(nd));return Ra};function Ct$2(Ra,qa=[]){let nd=[" ",...Array.isArray(qa)?qa:[qa]];return new RegExp(nd.map(od=>Be$5(od)).join("|"),"u").test(Ra)?`<${of(Ra,"<>")}>`:Ra}function Nr$1(Ra,qa,nd=!0){if(!Ra)return"";if(nd)return" "+Nr$1(Ra,qa,!1);if(Ra=N$5(!1,Ra,/\\(?=["')])/gu,""),Ra.includes('"')&&Ra.includes("'")&&!Ra.includes(")"))return`(${Ra})`;let od=jn$1(Ra,qa.singleQuote);return Ra=N$5(!1,Ra,"\\","\\\\"),Ra=N$5(!1,Ra,od,`\\${od}`),`${od}${Ra}${od}`}function sf(Ra,qa,nd){return Ra<qa?qa:Ra>nd?nd:Ra}function cf$1(Ra){return Ra.index>0&&yt$1(Ra.previous)==="next"}function bt$4(Ra){return`[${(0,qi.default)(Ra.label)}]`}function Bi(Ra){return`[^${Ra.label}]`}var lf={preprocess:gi,print:Zl$1,embed:ui$2,massageAstNode:Zn$2,hasPrettierIgnore:cf$1,insertPragma:Jn$2,getVisitorKeys:si$2},Ti=lf,_i=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["md","pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"text.md",parsers:["mdx"],vscodeLanguageIds:["mdx"]}],At$2={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},ff$1={proseWrap:At$2.proseWrap,singleQuote:At$2.singleQuote},Si=ff$1,On$2={};Ln$1(On$2,{markdown:()=>km,mdx:()=>Bm,remark:()=>km});var Wc=Ue$2(Pi()),Kc=Ue$2(Wi()),Jc=Ue$2(Gs()),Xc=Ue$2(Ic()),vm=/^import\s/u,Em=/^export\s/u,Nc=String.raw`[a-z][a-z0-9]*(\.[a-z][a-z0-9]*)*|`,Rc=/<!---->|<!---?[^>-](?:-?[^-])*-->/u,Cm=/^\{\s*\/\*(.*)\*\/\s*\}/u,bm$2=`
|
||
|
||
`,Uc=Ra=>vm.test(Ra),Sn$2=Ra=>Em.test(Ra),zc=(Ra,qa)=>{let nd=qa.indexOf(bm$2),od=qa.slice(0,nd);if(Sn$2(od)||Uc(od))return Ra(od)({type:Sn$2(od)?"export":"import",value:od})},Mc=(Ra,qa)=>{let nd=Cm.exec(qa);if(nd)return Ra(nd[0])({type:"esComment",value:nd[1].trim()})};zc.locator=Ra=>Sn$2(Ra)||Uc(Ra)?-1:1;Mc.locator=(Ra,qa)=>Ra.indexOf("{",qa);var Yc=function(){let{Parser:Ra}=this,{blockTokenizers:qa,blockMethods:nd,inlineTokenizers:od,inlineMethods:ld}=Ra.prototype;qa.esSyntax=zc,od.esComment=Mc,nd.splice(nd.indexOf("paragraph"),0,"esSyntax"),ld.splice(ld.indexOf("text"),0,"esComment")},ym=function(){let Ra=this.Parser.prototype;Ra.blockMethods=["frontMatter",...Ra.blockMethods],Ra.blockTokenizers.frontMatter=qa;function qa(nd,od){let ld=ir$2(od);if(ld.frontMatter)return nd(ld.frontMatter.raw)(ld.frontMatter)}qa.onlyAtStart=!0},Gc=ym;function Am(){return Ra=>ye$4(Ra,(qa,nd,[od])=>qa.type!=="html"||Rc.test(qa.value)||Or$1.has(od.type)?qa:{...qa,type:"jsx"})}var Vc=Am,xm=function(){let Ra=this.Parser.prototype,qa=Ra.inlineMethods;qa.splice(qa.indexOf("text"),0,"liquid"),Ra.inlineTokenizers.liquid=nd;function nd(od,ld){let ud=ld.match(/^(\{%.*?%\}|\{\{.*?\}\})/su);if(ud)return od(ud[0])({type:"liquidNode",value:ud[0]})}nd.locator=function(od,ld){return od.indexOf("{",ld)}},jc=xm,wm=function(){let Ra="wikiLink",qa=/^\[\[(?<linkContents>.+?)\]\]/su,nd=this.Parser.prototype,od=nd.inlineMethods;od.splice(od.indexOf("link"),0,Ra),nd.inlineTokenizers.wikiLink=ld;function ld(ud,dd){let pd=qa.exec(dd);if(pd){let fd=pd.groups.linkContents.trim();return ud(pd[0])({type:Ra,value:fd})}}ld.locator=function(ud,dd){return ud.indexOf("[",dd)}},$c=wm;function Qc({isMDX:Ra}){return qa=>{let nd=(0,Xc.default)().use(Jc.default,{commonmark:!0,...Ra&&{blocks:[Nc]}}).use(Wc.default).use(Gc).use(Kc.default).use(Ra?Yc:Hc).use(jc).use(Ra?Vc:Hc).use($c);return nd.run(nd.parse(qa))}}function Hc(){}var Zc={astFormat:"mdast",hasPragma:Kn$2,locStart:Oe$4,locEnd:Pe$4},km={...Zc,parse:Qc({isMDX:!1})},Bm={...Zc,parse:Qc({isMDX:!0})},qm={mdast:Ti},fC=Pn$2;const prettierPluginMarkdown=Object.freeze(Object.defineProperty({__proto__:null,default:fC,languages:_i,options:Si,parsers:On$2,printers:qm},Symbol.toStringTag,{value:"Module"}));var al$1=Object.create,Ur$1=Object.defineProperty,ul=Object.getOwnPropertyDescriptor,ll=Object.getOwnPropertyNames,cl$1=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty,y$4=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),Xs=(Ra,qa)=>{for(var nd in qa)Ur$1(Ra,nd,{get:qa[nd],enumerable:!0})},pl=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of ll(qa))!fl.call(Ra,ld)&&ld!==nd&&Ur$1(Ra,ld,{get:()=>qa[ld],enumerable:!(od=ul(qa,ld))||od.enumerable});return Ra},ye$3=(Ra,qa,nd)=>(nd=Ra!=null?al$1(cl$1(Ra)):{},pl(Ur$1(nd,"default",{value:Ra,enumerable:!0}),Ra)),Ut$3=y$4((Ra,qa)=>{qa.exports.isClean=Symbol("isClean"),qa.exports.my=Symbol("my")}),yi=y$4((Ra,qa)=>{var nd=String,od=function(){return{isColorSupported:!1,reset:nd,bold:nd,dim:nd,italic:nd,underline:nd,inverse:nd,hidden:nd,strikethrough:nd,black:nd,red:nd,green:nd,yellow:nd,blue:nd,magenta:nd,cyan:nd,white:nd,gray:nd,bgBlack:nd,bgRed:nd,bgGreen:nd,bgYellow:nd,bgBlue:nd,bgMagenta:nd,bgCyan:nd,bgWhite:nd}};qa.exports=od(),qa.exports.createColors=od}),ss=y$4(()=>{}),Ft$2=y$4((Ra,qa)=>{var nd=yi(),od=ss(),ld=class sC extends Error{constructor(dd,pd,fd,md,vd,Ad){super(dd),this.name="CssSyntaxError",this.reason=dd,vd&&(this.file=vd),md&&(this.source=md),Ad&&(this.plugin=Ad),typeof pd<"u"&&typeof fd<"u"&&(typeof pd=="number"?(this.line=pd,this.column=fd):(this.line=pd.line,this.column=pd.column,this.endLine=fd.line,this.endColumn=fd.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,sC)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(dd){if(!this.source)return"";let pd=this.source;dd==null&&(dd=nd.isColorSupported),od&&dd&&(pd=od(pd));let fd=pd.split(/\r?\n/),md=Math.max(this.line-3,0),vd=Math.min(this.line+2,fd.length),Ad=String(vd).length,Nd,Id;if(dd){let{bold:Od,gray:Md,red:Ud}=nd.createColors(!0);Nd=jd=>Od(Ud(jd)),Id=jd=>Md(jd)}else Nd=Id=Od=>Od;return fd.slice(md,vd).map((Od,Md)=>{let Ud=md+1+Md,jd=" "+(" "+Ud).slice(-Ad)+" | ";if(Ud===this.line){let Ld=Id(jd.replace(/\d/g," "))+Od.slice(0,this.column-1).replace(/[^\t]/g," ");return Nd(">")+Id(jd)+Od+`
|
||
`+Ld+Nd("^")}return" "+Id(jd)+Od}).join(`
|
||
`)}toString(){let dd=this.showSourceCode();return dd&&(dd=`
|
||
|
||
`+dd+`
|
||
`),this.name+": "+this.message+dd}};qa.exports=ld,ld.default=ld}),$t$2=y$4((Ra,qa)=>{var nd={after:`
|
||
`,beforeClose:`
|
||
`,beforeComment:`
|
||
`,beforeDecl:`
|
||
`,beforeOpen:" ",beforeRule:`
|
||
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function od(ud){return ud[0].toUpperCase()+ud.slice(1)}var ld=class{constructor(ud){this.builder=ud}atrule(ud,dd){let pd="@"+ud.name,fd=ud.params?this.rawValue(ud,"params"):"";if(typeof ud.raws.afterName<"u"?pd+=ud.raws.afterName:fd&&(pd+=" "),ud.nodes)this.block(ud,pd+fd);else{let md=(ud.raws.between||"")+(dd?";":"");this.builder(pd+fd+md,ud)}}beforeAfter(ud,dd){let pd;ud.type==="decl"?pd=this.raw(ud,null,"beforeDecl"):ud.type==="comment"?pd=this.raw(ud,null,"beforeComment"):dd==="before"?pd=this.raw(ud,null,"beforeRule"):pd=this.raw(ud,null,"beforeClose");let fd=ud.parent,md=0;for(;fd&&fd.type!=="root";)md+=1,fd=fd.parent;if(pd.includes(`
|
||
`)){let vd=this.raw(ud,null,"indent");if(vd.length)for(let Ad=0;Ad<md;Ad++)pd+=vd}return pd}block(ud,dd){let pd=this.raw(ud,"between","beforeOpen");this.builder(dd+pd+"{",ud,"start");let fd;ud.nodes&&ud.nodes.length?(this.body(ud),fd=this.raw(ud,"after")):fd=this.raw(ud,"after","emptyBody"),fd&&this.builder(fd),this.builder("}",ud,"end")}body(ud){let dd=ud.nodes.length-1;for(;dd>0&&ud.nodes[dd].type==="comment";)dd-=1;let pd=this.raw(ud,"semicolon");for(let fd=0;fd<ud.nodes.length;fd++){let md=ud.nodes[fd],vd=this.raw(md,"before");vd&&this.builder(vd),this.stringify(md,dd!==fd||pd)}}comment(ud){let dd=this.raw(ud,"left","commentLeft"),pd=this.raw(ud,"right","commentRight");this.builder("/*"+dd+ud.text+pd+"*/",ud)}decl(ud,dd){let pd=this.raw(ud,"between","colon"),fd=ud.prop+pd+this.rawValue(ud,"value");ud.important&&(fd+=ud.raws.important||" !important"),dd&&(fd+=";"),this.builder(fd,ud)}document(ud){this.body(ud)}raw(ud,dd,pd){let fd;if(pd||(pd=dd),dd&&(fd=ud.raws[dd],typeof fd<"u"))return fd;let md=ud.parent;if(pd==="before"&&(!md||md.type==="root"&&md.first===ud||md&&md.type==="document"))return"";if(!md)return nd[pd];let vd=ud.root();if(vd.rawCache||(vd.rawCache={}),typeof vd.rawCache[pd]<"u")return vd.rawCache[pd];if(pd==="before"||pd==="after")return this.beforeAfter(ud,pd);{let Ad="raw"+od(pd);this[Ad]?fd=this[Ad](vd,ud):vd.walk(Nd=>{if(fd=Nd.raws[dd],typeof fd<"u")return!1})}return typeof fd>"u"&&(fd=nd[pd]),vd.rawCache[pd]=fd,fd}rawBeforeClose(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&pd.nodes.length>0&&typeof pd.raws.after<"u")return dd=pd.raws.after,dd.includes(`
|
||
`)&&(dd=dd.replace(/[^\n]+$/,"")),!1}),dd&&(dd=dd.replace(/\S/g,"")),dd}rawBeforeComment(ud,dd){let pd;return ud.walkComments(fd=>{if(typeof fd.raws.before<"u")return pd=fd.raws.before,pd.includes(`
|
||
`)&&(pd=pd.replace(/[^\n]+$/,"")),!1}),typeof pd>"u"?pd=this.raw(dd,null,"beforeDecl"):pd&&(pd=pd.replace(/\S/g,"")),pd}rawBeforeDecl(ud,dd){let pd;return ud.walkDecls(fd=>{if(typeof fd.raws.before<"u")return pd=fd.raws.before,pd.includes(`
|
||
`)&&(pd=pd.replace(/[^\n]+$/,"")),!1}),typeof pd>"u"?pd=this.raw(dd,null,"beforeRule"):pd&&(pd=pd.replace(/\S/g,"")),pd}rawBeforeOpen(ud){let dd;return ud.walk(pd=>{if(pd.type!=="decl"&&(dd=pd.raws.between,typeof dd<"u"))return!1}),dd}rawBeforeRule(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&(pd.parent!==ud||ud.first!==pd)&&typeof pd.raws.before<"u")return dd=pd.raws.before,dd.includes(`
|
||
`)&&(dd=dd.replace(/[^\n]+$/,"")),!1}),dd&&(dd=dd.replace(/\S/g,"")),dd}rawColon(ud){let dd;return ud.walkDecls(pd=>{if(typeof pd.raws.between<"u")return dd=pd.raws.between.replace(/[^\s:]/g,""),!1}),dd}rawEmptyBody(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&pd.nodes.length===0&&(dd=pd.raws.after,typeof dd<"u"))return!1}),dd}rawIndent(ud){if(ud.raws.indent)return ud.raws.indent;let dd;return ud.walk(pd=>{let fd=pd.parent;if(fd&&fd!==ud&&fd.parent&&fd.parent===ud&&typeof pd.raws.before<"u"){let md=pd.raws.before.split(`
|
||
`);return dd=md[md.length-1],dd=dd.replace(/\S/g,""),!1}}),dd}rawSemicolon(ud){let dd;return ud.walk(pd=>{if(pd.nodes&&pd.nodes.length&&pd.last.type==="decl"&&(dd=pd.raws.semicolon,typeof dd<"u"))return!1}),dd}rawValue(ud,dd){let pd=ud[dd],fd=ud.raws[dd];return fd&&fd.value===pd?fd.raw:pd}root(ud){this.body(ud),ud.raws.after&&this.builder(ud.raws.after)}rule(ud){this.block(ud,this.rawValue(ud,"selector")),ud.raws.ownSemicolon&&this.builder(ud.raws.ownSemicolon,ud,"end")}stringify(ud,dd){if(!this[ud.type])throw new Error("Unknown AST node type "+ud.type+". Maybe you need to change PostCSS stringifier.");this[ud.type](ud,dd)}};qa.exports=ld,ld.default=ld}),it$2=y$4((Ra,qa)=>{var nd=$t$2();function od(ld,ud){new nd(ud).stringify(ld)}qa.exports=od,od.default=od}),at$5=y$4((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=Ft$2(),ud=$t$2(),dd=it$2();function pd(md,vd){let Ad=new md.constructor;for(let Nd in md){if(!Object.prototype.hasOwnProperty.call(md,Nd)||Nd==="proxyCache")continue;let Id=md[Nd],Od=typeof Id;Nd==="parent"&&Od==="object"?vd&&(Ad[Nd]=vd):Nd==="source"?Ad[Nd]=Id:Array.isArray(Id)?Ad[Nd]=Id.map(Md=>pd(Md,Ad)):(Od==="object"&&Id!==null&&(Id=pd(Id)),Ad[Nd]=Id)}return Ad}var fd=class{constructor(md={}){this.raws={},this[nd]=!1,this[od]=!0;for(let vd in md)if(vd==="nodes"){this.nodes=[];for(let Ad of md[vd])typeof Ad.clone=="function"?this.append(Ad.clone()):this.append(Ad)}else this[vd]=md[vd]}addToError(md){if(md.postcssNode=this,md.stack&&this.source&&/\n\s{4}at /.test(md.stack)){let vd=this.source;md.stack=md.stack.replace(/\n\s{4}at /,`$&${vd.input.from}:${vd.start.line}:${vd.start.column}$&`)}return md}after(md){return this.parent.insertAfter(this,md),this}assign(md={}){for(let vd in md)this[vd]=md[vd];return this}before(md){return this.parent.insertBefore(this,md),this}cleanRaws(md){delete this.raws.before,delete this.raws.after,md||delete this.raws.between}clone(md={}){let vd=pd(this);for(let Ad in md)vd[Ad]=md[Ad];return vd}cloneAfter(md={}){let vd=this.clone(md);return this.parent.insertAfter(this,vd),vd}cloneBefore(md={}){let vd=this.clone(md);return this.parent.insertBefore(this,vd),vd}error(md,vd={}){if(this.source){let{end:Ad,start:Nd}=this.rangeBy(vd);return this.source.input.error(md,{column:Nd.column,line:Nd.line},{column:Ad.column,line:Ad.line},vd)}return new ld(md)}getProxyProcessor(){return{get(md,vd){return vd==="proxyOf"?md:vd==="root"?()=>md.root().toProxy():md[vd]},set(md,vd,Ad){return md[vd]===Ad||(md[vd]=Ad,(vd==="prop"||vd==="value"||vd==="name"||vd==="params"||vd==="important"||vd==="text")&&md.markDirty()),!0}}}markDirty(){if(this[nd]){this[nd]=!1;let md=this;for(;md=md.parent;)md[nd]=!1}}next(){if(!this.parent)return;let md=this.parent.index(this);return this.parent.nodes[md+1]}positionBy(md,vd){let Ad=this.source.start;if(md.index)Ad=this.positionInside(md.index,vd);else if(md.word){vd=this.toString();let Nd=vd.indexOf(md.word);Nd!==-1&&(Ad=this.positionInside(Nd,vd))}return Ad}positionInside(md,vd){let Ad=vd||this.toString(),Nd=this.source.start.column,Id=this.source.start.line;for(let Od=0;Od<md;Od++)Ad[Od]===`
|
||
`?(Nd=1,Id+=1):Nd+=1;return{column:Nd,line:Id}}prev(){if(!this.parent)return;let md=this.parent.index(this);return this.parent.nodes[md-1]}rangeBy(md){let vd={column:this.source.start.column,line:this.source.start.line},Ad=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:vd.column+1,line:vd.line};if(md.word){let Nd=this.toString(),Id=Nd.indexOf(md.word);Id!==-1&&(vd=this.positionInside(Id,Nd),Ad=this.positionInside(Id+md.word.length,Nd))}else md.start?vd={column:md.start.column,line:md.start.line}:md.index&&(vd=this.positionInside(md.index)),md.end?Ad={column:md.end.column,line:md.end.line}:typeof md.endIndex=="number"?Ad=this.positionInside(md.endIndex):md.index&&(Ad=this.positionInside(md.index+1));return(Ad.line<vd.line||Ad.line===vd.line&&Ad.column<=vd.column)&&(Ad={column:vd.column+1,line:vd.line}),{end:Ad,start:vd}}raw(md,vd){return new ud().raw(this,md,vd)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...md){if(this.parent){let vd=this,Ad=!1;for(let Nd of md)Nd===this?Ad=!0:Ad?(this.parent.insertAfter(vd,Nd),vd=Nd):this.parent.insertBefore(vd,Nd);Ad||this.remove()}return this}root(){let md=this;for(;md.parent&&md.parent.type!=="document";)md=md.parent;return md}toJSON(md,vd){let Ad={},Nd=vd==null;vd=vd||new Map;let Id=0;for(let Od in this){if(!Object.prototype.hasOwnProperty.call(this,Od)||Od==="parent"||Od==="proxyCache")continue;let Md=this[Od];if(Array.isArray(Md))Ad[Od]=Md.map(Ud=>typeof Ud=="object"&&Ud.toJSON?Ud.toJSON(null,vd):Ud);else if(typeof Md=="object"&&Md.toJSON)Ad[Od]=Md.toJSON(null,vd);else if(Od==="source"){let Ud=vd.get(Md.input);Ud==null&&(Ud=Id,vd.set(Md.input,Id),Id++),Ad[Od]={end:Md.end,inputId:Ud,start:Md.start}}else Ad[Od]=Md}return Nd&&(Ad.inputs=[...vd.keys()].map(Od=>Od.toJSON())),Ad}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(md=dd){md.stringify&&(md=md.stringify);let vd="";return md(this,Ad=>{vd+=Ad}),vd}warn(md,vd,Ad){let Nd={node:this};for(let Id in Ad)Nd[Id]=Ad[Id];return md.warn(vd,Nd)}get proxyOf(){return this}};qa.exports=fd,fd.default=fd}),lt$2=y$4((Ra,qa)=>{var nd=at$5(),od=class extends nd{constructor(ld){ld&&typeof ld.value<"u"&&typeof ld.value!="string"&&(ld={...ld,value:String(ld.value)}),super(ld),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};qa.exports=od,od.default=od}),Oe$3=y$4((Ra,qa)=>{var nd=at$5(),od=class extends nd{constructor(ld){super(ld),this.type="comment"}};qa.exports=od,od.default=od}),re$3=y$4((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=lt$2(),ud=Oe$3(),dd=at$5(),pd,fd,md,vd;function Ad(Od){return Od.map(Md=>(Md.nodes&&(Md.nodes=Ad(Md.nodes)),delete Md.source,Md))}function Nd(Od){if(Od[nd]=!1,Od.proxyOf.nodes)for(let Md of Od.proxyOf.nodes)Nd(Md)}var Id=class oC extends dd{append(...Md){for(let Ud of Md){let jd=this.normalize(Ud,this.last);for(let Ld of jd)this.proxyOf.nodes.push(Ld)}return this.markDirty(),this}cleanRaws(Md){if(super.cleanRaws(Md),this.nodes)for(let Ud of this.nodes)Ud.cleanRaws(Md)}each(Md){if(!this.proxyOf.nodes)return;let Ud=this.getIterator(),jd,Ld;for(;this.indexes[Ud]<this.proxyOf.nodes.length&&(jd=this.indexes[Ud],Ld=Md(this.proxyOf.nodes[jd],jd),Ld!==!1);)this.indexes[Ud]+=1;return delete this.indexes[Ud],Ld}every(Md){return this.nodes.every(Md)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let Md=this.lastEach;return this.indexes[Md]=0,Md}getProxyProcessor(){return{get(Md,Ud){return Ud==="proxyOf"?Md:Md[Ud]?Ud==="each"||typeof Ud=="string"&&Ud.startsWith("walk")?(...jd)=>Md[Ud](...jd.map(Ld=>typeof Ld=="function"?(Bd,Gd)=>Ld(Bd.toProxy(),Gd):Ld)):Ud==="every"||Ud==="some"?jd=>Md[Ud]((Ld,...Bd)=>jd(Ld.toProxy(),...Bd)):Ud==="root"?()=>Md.root().toProxy():Ud==="nodes"?Md.nodes.map(jd=>jd.toProxy()):Ud==="first"||Ud==="last"?Md[Ud].toProxy():Md[Ud]:Md[Ud]},set(Md,Ud,jd){return Md[Ud]===jd||(Md[Ud]=jd,(Ud==="name"||Ud==="params"||Ud==="selector")&&Md.markDirty()),!0}}}index(Md){return typeof Md=="number"?Md:(Md.proxyOf&&(Md=Md.proxyOf),this.proxyOf.nodes.indexOf(Md))}insertAfter(Md,Ud){let jd=this.index(Md),Ld=this.normalize(Ud,this.proxyOf.nodes[jd]).reverse();jd=this.index(Md);for(let Gd of Ld)this.proxyOf.nodes.splice(jd+1,0,Gd);let Bd;for(let Gd in this.indexes)Bd=this.indexes[Gd],jd<Bd&&(this.indexes[Gd]=Bd+Ld.length);return this.markDirty(),this}insertBefore(Md,Ud){let jd=this.index(Md),Ld=jd===0?"prepend":!1,Bd=this.normalize(Ud,this.proxyOf.nodes[jd],Ld).reverse();jd=this.index(Md);for(let qd of Bd)this.proxyOf.nodes.splice(jd,0,qd);let Gd;for(let qd in this.indexes)Gd=this.indexes[qd],jd<=Gd&&(this.indexes[qd]=Gd+Bd.length);return this.markDirty(),this}normalize(Md,Ud){if(typeof Md=="string")Md=Ad(pd(Md).nodes);else if(typeof Md>"u")Md=[];else if(Array.isArray(Md)){Md=Md.slice(0);for(let jd of Md)jd.parent&&jd.parent.removeChild(jd,"ignore")}else if(Md.type==="root"&&this.type!=="document"){Md=Md.nodes.slice(0);for(let jd of Md)jd.parent&&jd.parent.removeChild(jd,"ignore")}else if(Md.type)Md=[Md];else if(Md.prop){if(typeof Md.value>"u")throw new Error("Value field is missed in node creation");typeof Md.value!="string"&&(Md.value=String(Md.value)),Md=[new ld(Md)]}else if(Md.selector)Md=[new fd(Md)];else if(Md.name)Md=[new md(Md)];else if(Md.text)Md=[new ud(Md)];else throw new Error("Unknown node type in node creation");return Md.map(jd=>(jd[od]||oC.rebuild(jd),jd=jd.proxyOf,jd.parent&&jd.parent.removeChild(jd),jd[nd]&&Nd(jd),typeof jd.raws.before>"u"&&Ud&&typeof Ud.raws.before<"u"&&(jd.raws.before=Ud.raws.before.replace(/\S/g,"")),jd.parent=this.proxyOf,jd))}prepend(...Md){Md=Md.reverse();for(let Ud of Md){let jd=this.normalize(Ud,this.first,"prepend").reverse();for(let Ld of jd)this.proxyOf.nodes.unshift(Ld);for(let Ld in this.indexes)this.indexes[Ld]=this.indexes[Ld]+jd.length}return this.markDirty(),this}push(Md){return Md.parent=this,this.proxyOf.nodes.push(Md),this}removeAll(){for(let Md of this.proxyOf.nodes)Md.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(Md){Md=this.index(Md),this.proxyOf.nodes[Md].parent=void 0,this.proxyOf.nodes.splice(Md,1);let Ud;for(let jd in this.indexes)Ud=this.indexes[jd],Ud>=Md&&(this.indexes[jd]=Ud-1);return this.markDirty(),this}replaceValues(Md,Ud,jd){return jd||(jd=Ud,Ud={}),this.walkDecls(Ld=>{Ud.props&&!Ud.props.includes(Ld.prop)||Ud.fast&&!Ld.value.includes(Ud.fast)||(Ld.value=Ld.value.replace(Md,jd))}),this.markDirty(),this}some(Md){return this.nodes.some(Md)}walk(Md){return this.each((Ud,jd)=>{let Ld;try{Ld=Md(Ud,jd)}catch(Bd){throw Ud.addToError(Bd)}return Ld!==!1&&Ud.walk&&(Ld=Ud.walk(Md)),Ld})}walkAtRules(Md,Ud){return Ud?Md instanceof RegExp?this.walk((jd,Ld)=>{if(jd.type==="atrule"&&Md.test(jd.name))return Ud(jd,Ld)}):this.walk((jd,Ld)=>{if(jd.type==="atrule"&&jd.name===Md)return Ud(jd,Ld)}):(Ud=Md,this.walk((jd,Ld)=>{if(jd.type==="atrule")return Ud(jd,Ld)}))}walkComments(Md){return this.walk((Ud,jd)=>{if(Ud.type==="comment")return Md(Ud,jd)})}walkDecls(Md,Ud){return Ud?Md instanceof RegExp?this.walk((jd,Ld)=>{if(jd.type==="decl"&&Md.test(jd.prop))return Ud(jd,Ld)}):this.walk((jd,Ld)=>{if(jd.type==="decl"&&jd.prop===Md)return Ud(jd,Ld)}):(Ud=Md,this.walk((jd,Ld)=>{if(jd.type==="decl")return Ud(jd,Ld)}))}walkRules(Md,Ud){return Ud?Md instanceof RegExp?this.walk((jd,Ld)=>{if(jd.type==="rule"&&Md.test(jd.selector))return Ud(jd,Ld)}):this.walk((jd,Ld)=>{if(jd.type==="rule"&&jd.selector===Md)return Ud(jd,Ld)}):(Ud=Md,this.walk((jd,Ld)=>{if(jd.type==="rule")return Ud(jd,Ld)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Id.registerParse=Od=>{pd=Od},Id.registerRule=Od=>{fd=Od},Id.registerAtRule=Od=>{md=Od},Id.registerRoot=Od=>{vd=Od},qa.exports=Id,Id.default=Id,Id.rebuild=Od=>{Od.type==="atrule"?Object.setPrototypeOf(Od,md.prototype):Od.type==="rule"?Object.setPrototypeOf(Od,fd.prototype):Od.type==="decl"?Object.setPrototypeOf(Od,ld.prototype):Od.type==="comment"?Object.setPrototypeOf(Od,ud.prototype):Od.type==="root"&&Object.setPrototypeOf(Od,vd.prototype),Od[od]=!0,Od.nodes&&Od.nodes.forEach(Md=>{Id.rebuild(Md)})}}),Vt$2=y$4((Ra,qa)=>{var nd=/[\t\n\f\r "#'()/;[\\\]{}]/g,od=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,ld=/.[\r\n"'(/\\]/,ud=/[\da-f]/i;qa.exports=function(dd,pd={}){let fd=dd.css.valueOf(),md=pd.ignoreErrors,vd,Ad,Nd,Id,Od,Md,Ud,jd,Ld,Bd,Gd=fd.length,qd=0,zd=[],Xd=[];function gf(){return qd}function Yd(_f){throw dd.error("Unclosed "+_f,qd)}function Zd(){return Xd.length===0&&qd>=Gd}function df(_f){if(Xd.length)return Xd.pop();if(qd>=Gd)return;let xf=_f?_f.ignoreUnclosed:!1;switch(vd=fd.charCodeAt(qd),vd){case 10:case 32:case 9:case 13:case 12:{Ad=qd;do Ad+=1,vd=fd.charCodeAt(Ad);while(vd===32||vd===10||vd===9||vd===13||vd===12);Bd=["space",fd.slice(qd,Ad)],qd=Ad-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let vf=String.fromCharCode(vd);Bd=[vf,vf,qd];break}case 40:{if(jd=zd.length?zd.pop()[1]:"",Ld=fd.charCodeAt(qd+1),jd==="url"&&Ld!==39&&Ld!==34&&Ld!==32&&Ld!==10&&Ld!==9&&Ld!==12&&Ld!==13){Ad=qd;do{if(Md=!1,Ad=fd.indexOf(")",Ad+1),Ad===-1)if(md||xf){Ad=qd;break}else Yd("bracket");for(Ud=Ad;fd.charCodeAt(Ud-1)===92;)Ud-=1,Md=!Md}while(Md);Bd=["brackets",fd.slice(qd,Ad+1),qd,Ad],qd=Ad}else Ad=fd.indexOf(")",qd+1),Id=fd.slice(qd,Ad+1),Ad===-1||ld.test(Id)?Bd=["(","(",qd]:(Bd=["brackets",Id,qd,Ad],qd=Ad);break}case 39:case 34:{Nd=vd===39?"'":'"',Ad=qd;do{if(Md=!1,Ad=fd.indexOf(Nd,Ad+1),Ad===-1)if(md||xf){Ad=qd+1;break}else Yd("string");for(Ud=Ad;fd.charCodeAt(Ud-1)===92;)Ud-=1,Md=!Md}while(Md);Bd=["string",fd.slice(qd,Ad+1),qd,Ad],qd=Ad;break}case 64:{nd.lastIndex=qd+1,nd.test(fd),nd.lastIndex===0?Ad=fd.length-1:Ad=nd.lastIndex-2,Bd=["at-word",fd.slice(qd,Ad+1),qd,Ad],qd=Ad;break}case 92:{for(Ad=qd,Od=!0;fd.charCodeAt(Ad+1)===92;)Ad+=1,Od=!Od;if(vd=fd.charCodeAt(Ad+1),Od&&vd!==47&&vd!==32&&vd!==10&&vd!==9&&vd!==13&&vd!==12&&(Ad+=1,ud.test(fd.charAt(Ad)))){for(;ud.test(fd.charAt(Ad+1));)Ad+=1;fd.charCodeAt(Ad+1)===32&&(Ad+=1)}Bd=["word",fd.slice(qd,Ad+1),qd,Ad],qd=Ad;break}default:{vd===47&&fd.charCodeAt(qd+1)===42?(Ad=fd.indexOf("*/",qd+2)+1,Ad===0&&(md||xf?Ad=fd.length:Yd("comment")),Bd=["comment",fd.slice(qd,Ad+1),qd,Ad],qd=Ad):(od.lastIndex=qd+1,od.test(fd),od.lastIndex===0?Ad=fd.length-1:Ad=od.lastIndex-2,Bd=["word",fd.slice(qd,Ad+1),qd,Ad],zd.push(Bd),qd=Ad);break}}return qd++,Bd}function Ef(_f){Xd.push(_f)}return{back:Ef,endOfFile:Zd,nextToken:df,position:gf}}}),Gt$2=y$4((Ra,qa)=>{var nd=re$3(),od=class extends nd{constructor(ld){super(ld),this.type="atrule"}append(...ld){return this.proxyOf.nodes||(this.nodes=[]),super.append(...ld)}prepend(...ld){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...ld)}};qa.exports=od,od.default=od,nd.registerAtRule(od)}),Ae$4=y$4((Ra,qa)=>{var nd=re$3(),od,ld,ud=class extends nd{constructor(dd){super(dd),this.type="root",this.nodes||(this.nodes=[])}normalize(dd,pd,fd){let md=super.normalize(dd);if(pd){if(fd==="prepend")this.nodes.length>1?pd.raws.before=this.nodes[1].raws.before:delete pd.raws.before;else if(this.first!==pd)for(let vd of md)vd.raws.before=pd.raws.before}return md}removeChild(dd,pd){let fd=this.index(dd);return!pd&&fd===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[fd].raws.before),super.removeChild(dd)}toResult(dd={}){return new od(new ld,this,dd).stringify()}};ud.registerLazyResult=dd=>{od=dd},ud.registerProcessor=dd=>{ld=dd},qa.exports=ud,ud.default=ud,nd.registerRoot(ud)}),us=y$4((Ra,qa)=>{var nd={comma(od){return nd.split(od,[","],!0)},space(od){let ld=[" ",`
|
||
`," "];return nd.split(od,ld)},split(od,ld,ud){let dd=[],pd="",fd=!1,md=0,vd=!1,Ad="",Nd=!1;for(let Id of od)Nd?Nd=!1:Id==="\\"?Nd=!0:vd?Id===Ad&&(vd=!1):Id==='"'||Id==="'"?(vd=!0,Ad=Id):Id==="("?md+=1:Id===")"?md>0&&(md-=1):md===0&&ld.includes(Id)&&(fd=!0),fd?(pd!==""&&dd.push(pd.trim()),pd="",fd=!1):pd+=Id;return(ud||pd!=="")&&dd.push(pd.trim()),dd}};qa.exports=nd,nd.default=nd}),jt$1=y$4((Ra,qa)=>{var nd=re$3(),od=us(),ld=class extends nd{constructor(ud){super(ud),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return od.comma(this.selector)}set selectors(ud){let dd=this.selector?this.selector.match(/,\s*/):null,pd=dd?dd[0]:","+this.raw("between","beforeOpen");this.selector=ud.join(pd)}};qa.exports=ld,ld.default=ld,nd.registerRule(ld)}),Ht$2=y$4((Ra,qa)=>{var nd=lt$2(),od=Vt$2(),ld=Oe$3(),ud=Gt$2(),dd=Ae$4(),pd=jt$1(),fd={empty:!0,space:!0};function md(Ad){for(let Nd=Ad.length-1;Nd>=0;Nd--){let Id=Ad[Nd],Od=Id[3]||Id[2];if(Od)return Od}}var vd=class{constructor(Ad){this.input=Ad,this.root=new dd,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:Ad,start:{column:1,line:1,offset:0}}}atrule(Ad){let Nd=new ud;Nd.name=Ad[1].slice(1),Nd.name===""&&this.unnamedAtrule(Nd,Ad),this.init(Nd,Ad[2]);let Id,Od,Md,Ud=!1,jd=!1,Ld=[],Bd=[];for(;!this.tokenizer.endOfFile();){if(Ad=this.tokenizer.nextToken(),Id=Ad[0],Id==="("||Id==="["?Bd.push(Id==="("?")":"]"):Id==="{"&&Bd.length>0?Bd.push("}"):Id===Bd[Bd.length-1]&&Bd.pop(),Bd.length===0)if(Id===";"){Nd.source.end=this.getPosition(Ad[2]),Nd.source.end.offset++,this.semicolon=!0;break}else if(Id==="{"){jd=!0;break}else if(Id==="}"){if(Ld.length>0){for(Md=Ld.length-1,Od=Ld[Md];Od&&Od[0]==="space";)Od=Ld[--Md];Od&&(Nd.source.end=this.getPosition(Od[3]||Od[2]),Nd.source.end.offset++)}this.end(Ad);break}else Ld.push(Ad);else Ld.push(Ad);if(this.tokenizer.endOfFile()){Ud=!0;break}}Nd.raws.between=this.spacesAndCommentsFromEnd(Ld),Ld.length?(Nd.raws.afterName=this.spacesAndCommentsFromStart(Ld),this.raw(Nd,"params",Ld),Ud&&(Ad=Ld[Ld.length-1],Nd.source.end=this.getPosition(Ad[3]||Ad[2]),Nd.source.end.offset++,this.spaces=Nd.raws.between,Nd.raws.between="")):(Nd.raws.afterName="",Nd.params=""),jd&&(Nd.nodes=[],this.current=Nd)}checkMissedSemicolon(Ad){let Nd=this.colon(Ad);if(Nd===!1)return;let Id=0,Od;for(let Md=Nd-1;Md>=0&&(Od=Ad[Md],!(Od[0]!=="space"&&(Id+=1,Id===2)));Md--);throw this.input.error("Missed semicolon",Od[0]==="word"?Od[3]+1:Od[2])}colon(Ad){let Nd=0,Id,Od,Md;for(let[Ud,jd]of Ad.entries()){if(Id=jd,Od=Id[0],Od==="("&&(Nd+=1),Od===")"&&(Nd-=1),Nd===0&&Od===":")if(!Md)this.doubleColon(Id);else{if(Md[0]==="word"&&Md[1]==="progid")continue;return Ud}Md=Id}return!1}comment(Ad){let Nd=new ld;this.init(Nd,Ad[2]),Nd.source.end=this.getPosition(Ad[3]||Ad[2]),Nd.source.end.offset++;let Id=Ad[1].slice(2,-2);if(/^\s*$/.test(Id))Nd.text="",Nd.raws.left=Id,Nd.raws.right="";else{let Od=Id.match(/^(\s*)([^]*\S)(\s*)$/);Nd.text=Od[2],Nd.raws.left=Od[1],Nd.raws.right=Od[3]}}createTokenizer(){this.tokenizer=od(this.input)}decl(Ad,Nd){let Id=new nd;this.init(Id,Ad[0][2]);let Od=Ad[Ad.length-1];for(Od[0]===";"&&(this.semicolon=!0,Ad.pop()),Id.source.end=this.getPosition(Od[3]||Od[2]||md(Ad)),Id.source.end.offset++;Ad[0][0]!=="word";)Ad.length===1&&this.unknownWord(Ad),Id.raws.before+=Ad.shift()[1];for(Id.source.start=this.getPosition(Ad[0][2]),Id.prop="";Ad.length;){let Ld=Ad[0][0];if(Ld===":"||Ld==="space"||Ld==="comment")break;Id.prop+=Ad.shift()[1]}Id.raws.between="";let Md;for(;Ad.length;)if(Md=Ad.shift(),Md[0]===":"){Id.raws.between+=Md[1];break}else Md[0]==="word"&&/\w/.test(Md[1])&&this.unknownWord([Md]),Id.raws.between+=Md[1];(Id.prop[0]==="_"||Id.prop[0]==="*")&&(Id.raws.before+=Id.prop[0],Id.prop=Id.prop.slice(1));let Ud=[],jd;for(;Ad.length&&(jd=Ad[0][0],!(jd!=="space"&&jd!=="comment"));)Ud.push(Ad.shift());this.precheckMissedSemicolon(Ad);for(let Ld=Ad.length-1;Ld>=0;Ld--){if(Md=Ad[Ld],Md[1].toLowerCase()==="!important"){Id.important=!0;let Bd=this.stringFrom(Ad,Ld);Bd=this.spacesFromEnd(Ad)+Bd,Bd!==" !important"&&(Id.raws.important=Bd);break}else if(Md[1].toLowerCase()==="important"){let Bd=Ad.slice(0),Gd="";for(let qd=Ld;qd>0;qd--){let zd=Bd[qd][0];if(Gd.trim().indexOf("!")===0&&zd!=="space")break;Gd=Bd.pop()[1]+Gd}Gd.trim().indexOf("!")===0&&(Id.important=!0,Id.raws.important=Gd,Ad=Bd)}if(Md[0]!=="space"&&Md[0]!=="comment")break}Ad.some(Ld=>Ld[0]!=="space"&&Ld[0]!=="comment")&&(Id.raws.between+=Ud.map(Ld=>Ld[1]).join(""),Ud=[]),this.raw(Id,"value",Ud.concat(Ad),Nd),Id.value.includes(":")&&!Nd&&this.checkMissedSemicolon(Ad)}doubleColon(Ad){throw this.input.error("Double colon",{offset:Ad[2]},{offset:Ad[2]+Ad[1].length})}emptyRule(Ad){let Nd=new pd;this.init(Nd,Ad[2]),Nd.selector="",Nd.raws.between="",this.current=Nd}end(Ad){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(Ad[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(Ad)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(Ad){if(this.spaces+=Ad[1],this.current.nodes){let Nd=this.current.nodes[this.current.nodes.length-1];Nd&&Nd.type==="rule"&&!Nd.raws.ownSemicolon&&(Nd.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(Ad){let Nd=this.input.fromOffset(Ad);return{column:Nd.col,line:Nd.line,offset:Ad}}init(Ad,Nd){this.current.push(Ad),Ad.source={input:this.input,start:this.getPosition(Nd)},Ad.raws.before=this.spaces,this.spaces="",Ad.type!=="comment"&&(this.semicolon=!1)}other(Ad){let Nd=!1,Id=null,Od=!1,Md=null,Ud=[],jd=Ad[1].startsWith("--"),Ld=[],Bd=Ad;for(;Bd;){if(Id=Bd[0],Ld.push(Bd),Id==="("||Id==="[")Md||(Md=Bd),Ud.push(Id==="("?")":"]");else if(jd&&Od&&Id==="{")Md||(Md=Bd),Ud.push("}");else if(Ud.length===0)if(Id===";")if(Od){this.decl(Ld,jd);return}else break;else if(Id==="{"){this.rule(Ld);return}else if(Id==="}"){this.tokenizer.back(Ld.pop()),Nd=!0;break}else Id===":"&&(Od=!0);else Id===Ud[Ud.length-1]&&(Ud.pop(),Ud.length===0&&(Md=null));Bd=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Nd=!0),Ud.length>0&&this.unclosedBracket(Md),Nd&&Od){if(!jd)for(;Ld.length&&(Bd=Ld[Ld.length-1][0],!(Bd!=="space"&&Bd!=="comment"));)this.tokenizer.back(Ld.pop());this.decl(Ld,jd)}else this.unknownWord(Ld)}parse(){let Ad;for(;!this.tokenizer.endOfFile();)switch(Ad=this.tokenizer.nextToken(),Ad[0]){case"space":this.spaces+=Ad[1];break;case";":this.freeSemicolon(Ad);break;case"}":this.end(Ad);break;case"comment":this.comment(Ad);break;case"at-word":this.atrule(Ad);break;case"{":this.emptyRule(Ad);break;default:this.other(Ad);break}this.endFile()}precheckMissedSemicolon(){}raw(Ad,Nd,Id,Od){let Md,Ud,jd=Id.length,Ld="",Bd=!0,Gd,qd;for(let zd=0;zd<jd;zd+=1)Md=Id[zd],Ud=Md[0],Ud==="space"&&zd===jd-1&&!Od?Bd=!1:Ud==="comment"?(qd=Id[zd-1]?Id[zd-1][0]:"empty",Gd=Id[zd+1]?Id[zd+1][0]:"empty",!fd[qd]&&!fd[Gd]?Ld.slice(-1)===","?Bd=!1:Ld+=Md[1]:Bd=!1):Ld+=Md[1];if(!Bd){let zd=Id.reduce((Xd,gf)=>Xd+gf[1],"");Ad.raws[Nd]={raw:zd,value:Ld}}Ad[Nd]=Ld}rule(Ad){Ad.pop();let Nd=new pd;this.init(Nd,Ad[0][2]),Nd.raws.between=this.spacesAndCommentsFromEnd(Ad),this.raw(Nd,"selector",Ad),this.current=Nd}spacesAndCommentsFromEnd(Ad){let Nd,Id="";for(;Ad.length&&(Nd=Ad[Ad.length-1][0],!(Nd!=="space"&&Nd!=="comment"));)Id=Ad.pop()[1]+Id;return Id}spacesAndCommentsFromStart(Ad){let Nd,Id="";for(;Ad.length&&(Nd=Ad[0][0],!(Nd!=="space"&&Nd!=="comment"));)Id+=Ad.shift()[1];return Id}spacesFromEnd(Ad){let Nd,Id="";for(;Ad.length&&(Nd=Ad[Ad.length-1][0],Nd==="space");)Id=Ad.pop()[1]+Id;return Id}stringFrom(Ad,Nd){let Id="";for(let Od=Nd;Od<Ad.length;Od++)Id+=Ad[Od][1];return Ad.splice(Nd,Ad.length-Nd),Id}unclosedBlock(){let Ad=this.current.source.start;throw this.input.error("Unclosed block",Ad.line,Ad.column)}unclosedBracket(Ad){throw this.input.error("Unclosed bracket",{offset:Ad[2]},{offset:Ad[2]+1})}unexpectedClose(Ad){throw this.input.error("Unexpected }",{offset:Ad[2]},{offset:Ad[2]+1})}unknownWord(Ad){throw this.input.error("Unknown word",{offset:Ad[0][2]},{offset:Ad[0][2]+Ad[0][1].length})}unnamedAtrule(Ad,Nd){throw this.input.error("At-rule without name",{offset:Nd[2]},{offset:Nd[2]+Nd[1].length})}};qa.exports=vd}),Ki=y$4(()=>{}),Ji=y$4((Ra,qa)=>{var nd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",od=(ud,dd=21)=>(pd=dd)=>{let fd="",md=pd;for(;md--;)fd+=ud[Math.random()*ud.length|0];return fd},ld=(ud=21)=>{let dd="",pd=ud;for(;pd--;)dd+=nd[Math.random()*64|0];return dd};qa.exports={nanoid:ld,customAlphabet:od}}),cs$1=y$4((Ra,qa)=>{qa.exports=class{}}),Re$4=y$4((Ra,qa)=>{var{SourceMapConsumer:nd,SourceMapGenerator:od}=Ki(),{fileURLToPath:ld,pathToFileURL:ud}={},{isAbsolute:dd,resolve:pd}={},{nanoid:fd}=Ji(),md=ss(),vd=Ft$2(),Ad=cs$1(),Nd=Symbol("fromOffsetCache"),Id=!!(nd&&od),Od=!!(pd&&dd),Md=class{constructor(Ud,jd={}){if(Ud===null||typeof Ud>"u"||typeof Ud=="object"&&!Ud.toString)throw new Error(`PostCSS received ${Ud} instead of CSS string`);if(this.css=Ud.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,jd.from&&(!Od||/^\w+:\/\//.test(jd.from)||dd(jd.from)?this.file=jd.from:this.file=pd(jd.from)),Od&&Id){let Ld=new Ad(this.css,jd);if(Ld.text){this.map=Ld;let Bd=Ld.consumer().file;!this.file&&Bd&&(this.file=this.mapResolve(Bd))}}this.file||(this.id="<input css "+fd(6)+">"),this.map&&(this.map.file=this.from)}error(Ud,jd,Ld,Bd={}){let Gd,qd,zd;if(jd&&typeof jd=="object"){let gf=jd,Yd=Ld;if(typeof gf.offset=="number"){let Zd=this.fromOffset(gf.offset);jd=Zd.line,Ld=Zd.col}else jd=gf.line,Ld=gf.column;if(typeof Yd.offset=="number"){let Zd=this.fromOffset(Yd.offset);qd=Zd.line,zd=Zd.col}else qd=Yd.line,zd=Yd.column}else if(!Ld){let gf=this.fromOffset(jd);jd=gf.line,Ld=gf.col}let Xd=this.origin(jd,Ld,qd,zd);return Xd?Gd=new vd(Ud,Xd.endLine===void 0?Xd.line:{column:Xd.column,line:Xd.line},Xd.endLine===void 0?Xd.column:{column:Xd.endColumn,line:Xd.endLine},Xd.source,Xd.file,Bd.plugin):Gd=new vd(Ud,qd===void 0?jd:{column:Ld,line:jd},qd===void 0?Ld:{column:zd,line:qd},this.css,this.file,Bd.plugin),Gd.input={column:Ld,endColumn:zd,endLine:qd,line:jd,source:this.css},this.file&&(ud&&(Gd.input.url=ud(this.file).toString()),Gd.input.file=this.file),Gd}fromOffset(Ud){let jd,Ld;if(this[Nd])Ld=this[Nd];else{let Gd=this.css.split(`
|
||
`);Ld=new Array(Gd.length);let qd=0;for(let zd=0,Xd=Gd.length;zd<Xd;zd++)Ld[zd]=qd,qd+=Gd[zd].length+1;this[Nd]=Ld}jd=Ld[Ld.length-1];let Bd=0;if(Ud>=jd)Bd=Ld.length-1;else{let Gd=Ld.length-2,qd;for(;Bd<Gd;)if(qd=Bd+(Gd-Bd>>1),Ud<Ld[qd])Gd=qd-1;else if(Ud>=Ld[qd+1])Bd=qd+1;else{Bd=qd;break}}return{col:Ud-Ld[Bd]+1,line:Bd+1}}mapResolve(Ud){return/^\w+:\/\//.test(Ud)?Ud:pd(this.map.consumer().sourceRoot||this.map.root||".",Ud)}origin(Ud,jd,Ld,Bd){if(!this.map)return!1;let Gd=this.map.consumer(),qd=Gd.originalPositionFor({column:jd,line:Ud});if(!qd.source)return!1;let zd;typeof Ld=="number"&&(zd=Gd.originalPositionFor({column:Bd,line:Ld}));let Xd;dd(qd.source)?Xd=ud(qd.source):Xd=new URL(qd.source,this.map.consumer().sourceRoot||ud(this.map.mapFile));let gf={column:qd.column,endColumn:zd&&zd.column,endLine:zd&&zd.line,line:qd.line,url:Xd.toString()};if(Xd.protocol==="file:")if(ld)gf.file=ld(Xd);else throw new Error("file: protocol is not available in this PostCSS build");let Yd=Gd.sourceContentFor(qd.source);return Yd&&(gf.source=Yd),gf}toJSON(){let Ud={};for(let jd of["hasBOM","css","file","id"])this[jd]!=null&&(Ud[jd]=this[jd]);return this.map&&(Ud.map={...this.map},Ud.map.consumerCache&&(Ud.map.consumerCache=void 0)),Ud}get from(){return this.file||this.id}};qa.exports=Md,Md.default=Md,md&&md.registerInput&&md.registerInput(Md)}),pt$2=y$4((Ra,qa)=>{var nd=re$3(),od=Ht$2(),ld=Re$4();function ud(dd,pd){let fd=new ld(dd,pd),md=new od(fd);try{md.parse()}catch(vd){throw vd}return md.root}qa.exports=ud,ud.default=ud,nd.registerParse(ud)}),no$1=y$4((Ra,qa)=>{var nd=Vt$2(),od=Re$4();qa.exports={isInlineComment(ld){if(ld[0]==="word"&&ld[1].slice(0,2)==="//"){let ud=ld,dd=[],pd,fd;for(;ld;){if(/\r?\n/.test(ld[1])){if(/['"].*\r?\n/.test(ld[1])){dd.push(ld[1].substring(0,ld[1].indexOf(`
|
||
`))),fd=ld[1].substring(ld[1].indexOf(`
|
||
`));let vd=this.input.css.valueOf().substring(this.tokenizer.position());fd+=vd,pd=ld[3]+vd.length-fd.length}else this.tokenizer.back(ld);break}dd.push(ld[1]),pd=ld[2],ld=this.tokenizer.nextToken({ignoreUnclosed:!0})}let md=["comment",dd.join(""),ud[2],pd];return this.inlineComment(md),fd&&(this.input=new od(fd),this.tokenizer=nd(this.input)),!0}else if(ld[1]==="/"){let ud=this.tokenizer.nextToken({ignoreUnclosed:!0});if(ud[0]==="comment"&&/^\/\*/.test(ud[1]))return ud[0]="word",ud[1]=ud[1].slice(1),ld[1]="//",this.tokenizer.back(ud),qa.exports.isInlineComment.bind(this)(ld)}return!1}}}),oo$1=y$4((Ra,qa)=>{qa.exports={interpolation(nd){let od=[nd,this.tokenizer.nextToken()],ld=["word","}"];if(od[0][1].length>1||od[1][0]!=="{")return this.tokenizer.back(od[1]),!1;for(nd=this.tokenizer.nextToken();nd&&ld.includes(nd[0]);)od.push(nd),nd=this.tokenizer.nextToken();let ud=od.map(md=>md[1]),[dd]=od,pd=od.pop(),fd=["word",ud.join(""),dd[2],pd[2]];return this.tokenizer.back(nd),this.tokenizer.back(fd),!0}}}),uo$1=y$4((Ra,qa)=>{var nd=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,od=/\.[0-9]/,ld=ud=>{let[,dd]=ud,[pd]=dd;return(pd==="."||pd==="#")&&nd.test(dd)===!1&&od.test(dd)===!1};qa.exports={isMixinToken:ld}}),co$2=y$4((Ra,qa)=>{var nd=Vt$2(),od=/^url\((.+)\)/;qa.exports=ld=>{let{name:ud,params:dd=""}=ld;if(ud==="import"&&dd.length){ld.import=!0;let pd=nd({css:dd});for(ld.filename=dd.replace(od,"$1");!pd.endOfFile();){let[fd,md]=pd.nextToken();if(fd==="word"&&md==="url")return;if(fd==="brackets"){ld.options=md,ld.filename=dd.replace(md,"").trim();break}}}}}),mo$1=y$4((Ra,qa)=>{var nd=/:$/,od=/^:(\s+)?/;qa.exports=ld=>{let{name:ud,params:dd=""}=ld;if(ld.name.slice(-1)===":"){if(nd.test(ud)){let[pd]=ud.match(nd);ld.name=ud.replace(pd,""),ld.raws.afterName=pd+(ld.raws.afterName||""),ld.variable=!0,ld.value=ld.params}if(od.test(dd)){let[pd]=dd.match(od);ld.value=dd.replace(pd,""),ld.raws.afterName=(ld.raws.afterName||"")+pd,ld.variable=!0}}}}),go$1=y$4((Ra,qa)=>{var nd=Oe$3(),od=Ht$2(),{isInlineComment:ld}=no$1(),{interpolation:ud}=oo$1(),{isMixinToken:dd}=uo$1(),pd=co$2(),fd=mo$1(),md=/(!\s*important)$/i;qa.exports=class extends od{constructor(...vd){super(...vd),this.lastNode=null}atrule(vd){ud.bind(this)(vd)||(super.atrule(vd),pd(this.lastNode),fd(this.lastNode))}decl(...vd){super.decl(...vd),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(vd){vd[0][1]=` ${vd[0][1]}`;let Ad=vd.findIndex(Md=>Md[0]==="("),Nd=vd.reverse().find(Md=>Md[0]===")"),Id=vd.reverse().indexOf(Nd),Od=vd.splice(Ad,Id).map(Md=>Md[1]).join("");for(let Md of vd.reverse())this.tokenizer.back(Md);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Od}init(vd,Ad,Nd){super.init(vd,Ad,Nd),this.lastNode=vd}inlineComment(vd){let Ad=new nd,Nd=vd[1].slice(2);if(this.init(Ad,vd[2]),Ad.source.end=this.getPosition(vd[3]||vd[2]),Ad.inline=!0,Ad.raws.begin="//",/^\s*$/.test(Nd))Ad.text="",Ad.raws.left=Nd,Ad.raws.right="";else{let Id=Nd.match(/^(\s*)([^]*[^\s])(\s*)$/);[,Ad.raws.left,Ad.text,Ad.raws.right]=Id}}mixin(vd){let[Ad]=vd,Nd=Ad[1].slice(0,1),Id=vd.findIndex(Ld=>Ld[0]==="brackets"),Od=vd.findIndex(Ld=>Ld[0]==="("),Md="";if((Id<0||Id>3)&&Od>0){let Ld=vd.reduce((df,Ef,_f)=>Ef[0]===")"?_f:df),Bd=vd.slice(Od,Ld+Od).map(df=>df[1]).join(""),[Gd]=vd.slice(Od),qd=[Gd[2],Gd[3]],[zd]=vd.slice(Ld,Ld+1),Xd=[zd[2],zd[3]],gf=["brackets",Bd].concat(qd,Xd),Yd=vd.slice(0,Od),Zd=vd.slice(Ld+1);vd=Yd,vd.push(gf),vd=vd.concat(Zd)}let Ud=[];for(let Ld of vd)if((Ld[1]==="!"||Ud.length)&&Ud.push(Ld),Ld[1]==="important")break;if(Ud.length){let[Ld]=Ud,Bd=vd.indexOf(Ld),Gd=Ud[Ud.length-1],qd=[Ld[2],Ld[3]],zd=[Gd[4],Gd[5]],Xd=["word",Ud.map(gf=>gf[1]).join("")].concat(qd,zd);vd.splice(Bd,Ud.length,Xd)}let jd=vd.findIndex(Ld=>md.test(Ld[1]));jd>0&&([,Md]=vd[jd],vd.splice(jd,1));for(let Ld of vd.reverse())this.tokenizer.back(Ld);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Nd,Md&&(this.lastNode.important=!0,this.lastNode.raws.important=Md)}other(vd){ld.bind(this)(vd)||super.other(vd)}rule(vd){let Ad=vd[vd.length-1],Nd=vd[vd.length-2];if(Nd[0]==="at-word"&&Ad[0]==="{"&&(this.tokenizer.back(Ad),ud.bind(this)(Nd))){let Id=this.tokenizer.nextToken();vd=vd.slice(0,vd.length-2).concat([Id]);for(let Od of vd.reverse())this.tokenizer.back(Od);return}super.rule(vd),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(vd){let[Ad]=vd;if(vd[0][1]==="each"&&vd[1][0]==="("){this.each(vd);return}if(dd(Ad)){this.mixin(vd);return}super.unknownWord(vd)}}}),xo$1=y$4((Ra,qa)=>{var nd=$t$2();qa.exports=class extends nd{atrule(od,ld){if(!od.mixin&&!od.variable&&!od.function){super.atrule(od,ld);return}let ud=`${od.function?"":od.raws.identifier||"@"}${od.name}`,dd=od.params?this.rawValue(od,"params"):"",pd=od.raws.important||"";if(od.variable&&(dd=od.value),typeof od.raws.afterName<"u"?ud+=od.raws.afterName:dd&&(ud+=" "),od.nodes)this.block(od,ud+dd+pd);else{let fd=(od.raws.between||"")+pd+(ld?";":"");this.builder(ud+dd+fd,od)}}comment(od){if(od.inline){let ld=this.raw(od,"left","commentLeft"),ud=this.raw(od,"right","commentRight");this.builder(`//${ld}${od.text}${ud}`,od)}else super.comment(od)}}}),bo$1=y$4((Ra,qa)=>{var nd=Re$4(),od=go$1(),ld=xo$1();qa.exports={parse(ud,dd){let pd=new nd(ud,dd),fd=new od(pd);return fd.parse(),fd.root.walk(md=>{let vd=pd.css.lastIndexOf(md.source.input.css);if(vd===0)return;if(vd+md.source.input.css.length!==pd.css.length)throw new Error("Invalid state detected in postcss-less");let Ad=vd+md.source.start.offset,Nd=pd.fromOffset(vd+md.source.start.offset);if(md.source.start={offset:Ad,line:Nd.line,column:Nd.col},md.source.end){let Id=vd+md.source.end.offset,Od=pd.fromOffset(vd+md.source.end.offset);md.source.end={offset:Id,line:Od.line,column:Od.col}}}),fd.root},stringify(ud,dd){new ld(dd).stringify(ud)},nodeToString(ud){let dd="";return qa.exports.stringify(ud,pd=>{dd+=pd}),dd}}}),ws=y$4((Ra,qa)=>{qa.exports=class{generate(){}}}),Jt$3=y$4((Ra,qa)=>{var nd=re$3(),od,ld,ud=class extends nd{constructor(dd){super({type:"document",...dd}),this.nodes||(this.nodes=[])}toResult(dd={}){return new od(new ld,this,dd).stringify()}};ud.registerLazyResult=dd=>{od=dd},ud.registerProcessor=dd=>{ld=dd},qa.exports=ud,ud.default=ud}),gs=y$4((Ra,qa)=>{var nd={};qa.exports=function(od){nd[od]||(nd[od]=!0,typeof console<"u"&&console.warn&&console.warn(od))}}),vs=y$4((Ra,qa)=>{var nd=class{constructor(od,ld={}){if(this.type="warning",this.text=od,ld.node&&ld.node.source){let ud=ld.node.rangeBy(ld);this.line=ud.start.line,this.column=ud.start.column,this.endLine=ud.end.line,this.endColumn=ud.end.column}for(let ud in ld)this[ud]=ld[ud]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};qa.exports=nd,nd.default=nd}),Xt$1=y$4((Ra,qa)=>{var nd=vs(),od=class{constructor(ld,ud,dd){this.processor=ld,this.messages=[],this.root=ud,this.opts=dd,this.css=void 0,this.map=void 0}toString(){return this.css}warn(ld,ud={}){ud.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(ud.plugin=this.lastPlugin.postcssPlugin);let dd=new nd(ld,ud);return this.messages.push(dd),dd}warnings(){return this.messages.filter(ld=>ld.type==="warning")}get content(){return this.css}};qa.exports=od,od.default=od}),_s$1=y$4((Ra,qa)=>{var{isClean:nd,my:od}=Ut$3(),ld=ws(),ud=it$2(),dd=re$3(),pd=Jt$3();gs();var fd=Xt$1(),md=pt$2(),vd=Ae$4(),Ad={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Nd={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Id={Once:!0,postcssPlugin:!0,prepare:!0},Od=0;function Md(qd){return typeof qd=="object"&&typeof qd.then=="function"}function Ud(qd){let zd=!1,Xd=Ad[qd.type];return qd.type==="decl"?zd=qd.prop.toLowerCase():qd.type==="atrule"&&(zd=qd.name.toLowerCase()),zd&&qd.append?[Xd,Xd+"-"+zd,Od,Xd+"Exit",Xd+"Exit-"+zd]:zd?[Xd,Xd+"-"+zd,Xd+"Exit",Xd+"Exit-"+zd]:qd.append?[Xd,Od,Xd+"Exit"]:[Xd,Xd+"Exit"]}function jd(qd){let zd;return qd.type==="document"?zd=["Document",Od,"DocumentExit"]:qd.type==="root"?zd=["Root",Od,"RootExit"]:zd=Ud(qd),{eventIndex:0,events:zd,iterator:0,node:qd,visitorIndex:0,visitors:[]}}function Ld(qd){return qd[nd]=!1,qd.nodes&&qd.nodes.forEach(zd=>Ld(zd)),qd}var Bd={},Gd=class lC{constructor(zd,Xd,gf){this.stringified=!1,this.processed=!1;let Yd;if(typeof Xd=="object"&&Xd!==null&&(Xd.type==="root"||Xd.type==="document"))Yd=Ld(Xd);else if(Xd instanceof lC||Xd instanceof fd)Yd=Ld(Xd.root),Xd.map&&(typeof gf.map>"u"&&(gf.map={}),gf.map.inline||(gf.map.inline=!1),gf.map.prev=Xd.map);else{let Zd=md;gf.syntax&&(Zd=gf.syntax.parse),gf.parser&&(Zd=gf.parser),Zd.parse&&(Zd=Zd.parse);try{Yd=Zd(Xd,gf)}catch(df){this.processed=!0,this.error=df}Yd&&!Yd[od]&&dd.rebuild(Yd)}this.result=new fd(zd,Yd,gf),this.helpers={...Bd,postcss:Bd,result:this.result},this.plugins=this.processor.plugins.map(Zd=>typeof Zd=="object"&&Zd.prepare?{...Zd,...Zd.prepare(this.result)}:Zd)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(zd){return this.async().catch(zd)}finally(zd){return this.async().then(zd,zd)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(zd,Xd){let gf=this.result.lastPlugin;try{Xd&&Xd.addToError(zd),this.error=zd,zd.name==="CssSyntaxError"&&!zd.plugin?(zd.plugin=gf.postcssPlugin,zd.setMessage()):gf.postcssVersion}catch(Yd){console&&console.error&&console.error(Yd)}return zd}prepareVisitors(){this.listeners={};let zd=(Xd,gf,Yd)=>{this.listeners[gf]||(this.listeners[gf]=[]),this.listeners[gf].push([Xd,Yd])};for(let Xd of this.plugins)if(typeof Xd=="object")for(let gf in Xd){if(!Nd[gf]&&/^[A-Z]/.test(gf))throw new Error(`Unknown event ${gf} in ${Xd.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Id[gf])if(typeof Xd[gf]=="object")for(let Yd in Xd[gf])Yd==="*"?zd(Xd,gf,Xd[gf][Yd]):zd(Xd,gf+"-"+Yd.toLowerCase(),Xd[gf][Yd]);else typeof Xd[gf]=="function"&&zd(Xd,gf,Xd[gf])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let zd=0;zd<this.plugins.length;zd++){let Xd=this.plugins[zd],gf=this.runOnRoot(Xd);if(Md(gf))try{await gf}catch(Yd){throw this.handleError(Yd)}}if(this.prepareVisitors(),this.hasListener){let zd=this.result.root;for(;!zd[nd];){zd[nd]=!0;let Xd=[jd(zd)];for(;Xd.length>0;){let gf=this.visitTick(Xd);if(Md(gf))try{await gf}catch(Yd){let Zd=Xd[Xd.length-1].node;throw this.handleError(Yd,Zd)}}}if(this.listeners.OnceExit)for(let[Xd,gf]of this.listeners.OnceExit){this.result.lastPlugin=Xd;try{if(zd.type==="document"){let Yd=zd.nodes.map(Zd=>gf(Zd,this.helpers));await Promise.all(Yd)}else await gf(zd,this.helpers)}catch(Yd){throw this.handleError(Yd)}}}return this.processed=!0,this.stringify()}runOnRoot(zd){this.result.lastPlugin=zd;try{if(typeof zd=="object"&&zd.Once){if(this.result.root.type==="document"){let Xd=this.result.root.nodes.map(gf=>zd.Once(gf,this.helpers));return Md(Xd[0])?Promise.all(Xd):Xd}return zd.Once(this.result.root,this.helpers)}else if(typeof zd=="function")return zd(this.result.root,this.result)}catch(Xd){throw this.handleError(Xd)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let zd=this.result.opts,Xd=ud;zd.syntax&&(Xd=zd.syntax.stringify),zd.stringifier&&(Xd=zd.stringifier),Xd.stringify&&(Xd=Xd.stringify);let gf=new ld(Xd,this.result.root,this.result.opts).generate();return this.result.css=gf[0],this.result.map=gf[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let zd of this.plugins){let Xd=this.runOnRoot(zd);if(Md(Xd))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let zd=this.result.root;for(;!zd[nd];)zd[nd]=!0,this.walkSync(zd);if(this.listeners.OnceExit)if(zd.type==="document")for(let Xd of zd.nodes)this.visitSync(this.listeners.OnceExit,Xd);else this.visitSync(this.listeners.OnceExit,zd)}return this.result}then(zd,Xd){return this.async().then(zd,Xd)}toString(){return this.css}visitSync(zd,Xd){for(let[gf,Yd]of zd){this.result.lastPlugin=gf;let Zd;try{Zd=Yd(Xd,this.helpers)}catch(df){throw this.handleError(df,Xd.proxyOf)}if(Xd.type!=="root"&&Xd.type!=="document"&&!Xd.parent)return!0;if(Md(Zd))throw this.getAsyncError()}}visitTick(zd){let Xd=zd[zd.length-1],{node:gf,visitors:Yd}=Xd;if(gf.type!=="root"&&gf.type!=="document"&&!gf.parent){zd.pop();return}if(Yd.length>0&&Xd.visitorIndex<Yd.length){let[df,Ef]=Yd[Xd.visitorIndex];Xd.visitorIndex+=1,Xd.visitorIndex===Yd.length&&(Xd.visitors=[],Xd.visitorIndex=0),this.result.lastPlugin=df;try{return Ef(gf.toProxy(),this.helpers)}catch(_f){throw this.handleError(_f,gf)}}if(Xd.iterator!==0){let df=Xd.iterator,Ef;for(;Ef=gf.nodes[gf.indexes[df]];)if(gf.indexes[df]+=1,!Ef[nd]){Ef[nd]=!0,zd.push(jd(Ef));return}Xd.iterator=0,delete gf.indexes[df]}let Zd=Xd.events;for(;Xd.eventIndex<Zd.length;){let df=Zd[Xd.eventIndex];if(Xd.eventIndex+=1,df===Od){gf.nodes&&gf.nodes.length&&(gf[nd]=!0,Xd.iterator=gf.getIterator());return}else if(this.listeners[df]){Xd.visitors=this.listeners[df];return}}zd.pop()}walkSync(zd){zd[nd]=!0;let Xd=Ud(zd);for(let gf of Xd)if(gf===Od)zd.nodes&&zd.each(Yd=>{Yd[nd]||this.walkSync(Yd)});else{let Yd=this.listeners[gf];if(Yd&&this.visitSync(Yd,zd.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};Gd.registerPostcss=qd=>{Bd=qd},qa.exports=Gd,Gd.default=Gd,vd.registerLazyResult(Gd),pd.registerLazyResult(Gd)}),Lo$1=y$4((Ra,qa)=>{var nd=ws(),od=it$2();gs();var ld=pt$2(),ud=Xt$1(),dd=class{constructor(pd,fd,md){fd=fd.toString(),this.stringified=!1,this._processor=pd,this._css=fd,this._opts=md,this._map=void 0;let vd,Ad=od;this.result=new ud(this._processor,vd,this._opts),this.result.css=fd;let Nd=this;Object.defineProperty(this.result,"root",{get(){return Nd.root}});let Id=new nd(Ad,vd,this._opts,fd);if(Id.isMap()){let[Od,Md]=Id.generate();Od&&(this.result.css=Od),Md&&(this.result.map=Md)}else Id.clearAnnotation(),this.result.css=Id.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(pd){return this.async().catch(pd)}finally(pd){return this.async().then(pd,pd)}sync(){if(this.error)throw this.error;return this.result}then(pd,fd){return this.async().then(pd,fd)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let pd,fd=ld;try{pd=fd(this._css,this._opts)}catch(md){this.error=md}if(this.error)throw this.error;return this._root=pd,pd}get[Symbol.toStringTag](){return"NoWorkResult"}};qa.exports=dd,dd.default=dd}),Mo$1=y$4((Ra,qa)=>{var nd=Lo$1(),od=_s$1(),ld=Jt$3(),ud=Ae$4(),dd=class{constructor(pd=[]){this.version="8.4.39",this.plugins=this.normalize(pd)}normalize(pd){let fd=[];for(let md of pd)if(md.postcss===!0?md=md():md.postcss&&(md=md.postcss),typeof md=="object"&&Array.isArray(md.plugins))fd=fd.concat(md.plugins);else if(typeof md=="object"&&md.postcssPlugin)fd.push(md);else if(typeof md=="function")fd.push(md);else if(!(typeof md=="object"&&(md.parse||md.stringify)))throw new Error(md+" is not a PostCSS plugin");return fd}process(pd,fd={}){return!this.plugins.length&&!fd.parser&&!fd.stringifier&&!fd.syntax?new nd(this,pd,fd):new od(this,pd,fd)}use(pd){return this.plugins=this.plugins.concat(this.normalize([pd])),this}};qa.exports=dd,dd.default=dd,ud.registerProcessor(dd),ld.registerProcessor(dd)}),Uo$1=y$4((Ra,qa)=>{var nd=lt$2(),od=cs$1(),ld=Oe$3(),ud=Gt$2(),dd=Re$4(),pd=Ae$4(),fd=jt$1();function md(vd,Ad){if(Array.isArray(vd))return vd.map(Od=>md(Od));let{inputs:Nd,...Id}=vd;if(Nd){Ad=[];for(let Od of Nd){let Md={...Od,__proto__:dd.prototype};Md.map&&(Md.map={...Md.map,__proto__:od.prototype}),Ad.push(Md)}}if(Id.nodes&&(Id.nodes=vd.nodes.map(Od=>md(Od,Ad))),Id.source){let{inputId:Od,...Md}=Id.source;Id.source=Md,Od!=null&&(Id.source.input=Ad[Od])}if(Id.type==="root")return new pd(Id);if(Id.type==="decl")return new nd(Id);if(Id.type==="rule")return new fd(Id);if(Id.type==="comment")return new ld(Id);if(Id.type==="atrule")return new ud(Id);throw new Error("Unknown node type: "+vd.type)}qa.exports=md,md.default=md}),Zt$2=y$4((Ra,qa)=>{var nd=Ft$2(),od=lt$2(),ld=_s$1(),ud=re$3(),dd=Mo$1(),pd=it$2(),fd=Uo$1(),md=Jt$3(),vd=vs(),Ad=Oe$3(),Nd=Gt$2(),Id=Xt$1(),Od=Re$4(),Md=pt$2(),Ud=us(),jd=jt$1(),Ld=Ae$4(),Bd=at$5();function Gd(...qd){return qd.length===1&&Array.isArray(qd[0])&&(qd=qd[0]),new dd(qd)}Gd.plugin=function(qd,zd){let Xd=!1;function gf(...Zd){console&&console.warn&&!Xd&&(Xd=!0,console.warn(qd+`: postcss.plugin was deprecated. Migration guide:
|
||
https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let df=zd(...Zd);return df.postcssPlugin=qd,df.postcssVersion=new dd().version,df}let Yd;return Object.defineProperty(gf,"postcss",{get(){return Yd||(Yd=gf()),Yd}}),gf.process=function(Zd,df,Ef){return Gd([gf(Ef)]).process(Zd,df)},gf},Gd.stringify=pd,Gd.parse=Md,Gd.fromJSON=fd,Gd.list=Ud,Gd.comment=qd=>new Ad(qd),Gd.atRule=qd=>new Nd(qd),Gd.decl=qd=>new od(qd),Gd.rule=qd=>new jd(qd),Gd.root=qd=>new Ld(qd),Gd.document=qd=>new md(qd),Gd.CssSyntaxError=nd,Gd.Declaration=od,Gd.Container=ud,Gd.Processor=dd,Gd.Document=md,Gd.Comment=Ad,Gd.Warning=vd,Gd.AtRule=Nd,Gd.Result=Id,Gd.Input=Od,Gd.Rule=jd,Gd.Root=Ld,Gd.Node=Bd,ld.registerPostcss(Gd),qa.exports=Gd,Gd.default=Gd}),Ho$1=y$4((Ra,qa)=>{var{Container:nd}=Zt$2(),od=class extends nd{constructor(ld){super(ld),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};qa.exports=od}),Jo$1=y$4((Ra,qa)=>{var nd=/[\t\n\f\r "#'()/;[\\\]{}]/g,od=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,ld=/.[\r\n"'(/\\]/,ud=/[\da-f]/i,dd=/[\n\f\r]/g;qa.exports=function(pd,fd={}){let md=pd.css.valueOf(),vd=fd.ignoreErrors,Ad,Nd,Id,Od,Md,Ud,jd,Ld,Bd,Gd=md.length,qd=0,zd=[],Xd=[],gf;function Yd(){return qd}function Zd(vf){throw pd.error("Unclosed "+vf,qd)}function df(){return Xd.length===0&&qd>=Gd}function Ef(){let vf=1,Af=!1,Df=!1;for(;vf>0;)Nd+=1,md.length<=Nd&&Zd("interpolation"),Ad=md.charCodeAt(Nd),Ld=md.charCodeAt(Nd+1),Af?!Df&&Ad===Af?(Af=!1,Df=!1):Ad===92?Df=!Df:Df&&(Df=!1):Ad===39||Ad===34?Af=Ad:Ad===125?vf-=1:Ad===35&&Ld===123&&(vf+=1)}function _f(vf){if(Xd.length)return Xd.pop();if(qd>=Gd)return;let Af=vf?vf.ignoreUnclosed:!1;switch(Ad=md.charCodeAt(qd),Ad){case 10:case 32:case 9:case 13:case 12:{Nd=qd;do Nd+=1,Ad=md.charCodeAt(Nd);while(Ad===32||Ad===10||Ad===9||Ad===13||Ad===12);Bd=["space",md.slice(qd,Nd)],qd=Nd-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let Df=String.fromCharCode(Ad);Bd=[Df,Df,qd];break}case 44:{Bd=["word",",",qd,qd+1];break}case 40:{if(jd=zd.length?zd.pop()[1]:"",Ld=md.charCodeAt(qd+1),jd==="url"&&Ld!==39&&Ld!==34){for(gf=1,Ud=!1,Nd=qd+1;Nd<=md.length-1;){if(Ld=md.charCodeAt(Nd),Ld===92)Ud=!Ud;else if(Ld===40)gf+=1;else if(Ld===41&&(gf-=1,gf===0))break;Nd+=1}Od=md.slice(qd,Nd+1),Bd=["brackets",Od,qd,Nd],qd=Nd}else Nd=md.indexOf(")",qd+1),Od=md.slice(qd,Nd+1),Nd===-1||ld.test(Od)?Bd=["(","(",qd]:(Bd=["brackets",Od,qd,Nd],qd=Nd);break}case 39:case 34:{for(Id=Ad,Nd=qd,Ud=!1;Nd<Gd&&(Nd++,Nd===Gd&&Zd("string"),Ad=md.charCodeAt(Nd),Ld=md.charCodeAt(Nd+1),!(!Ud&&Ad===Id));)Ad===92?Ud=!Ud:Ud?Ud=!1:Ad===35&&Ld===123&&Ef();Bd=["string",md.slice(qd,Nd+1),qd,Nd],qd=Nd;break}case 64:{nd.lastIndex=qd+1,nd.test(md),nd.lastIndex===0?Nd=md.length-1:Nd=nd.lastIndex-2,Bd=["at-word",md.slice(qd,Nd+1),qd,Nd],qd=Nd;break}case 92:{for(Nd=qd,Md=!0;md.charCodeAt(Nd+1)===92;)Nd+=1,Md=!Md;if(Ad=md.charCodeAt(Nd+1),Md&&Ad!==47&&Ad!==32&&Ad!==10&&Ad!==9&&Ad!==13&&Ad!==12&&(Nd+=1,ud.test(md.charAt(Nd)))){for(;ud.test(md.charAt(Nd+1));)Nd+=1;md.charCodeAt(Nd+1)===32&&(Nd+=1)}Bd=["word",md.slice(qd,Nd+1),qd,Nd],qd=Nd;break}default:Ld=md.charCodeAt(qd+1),Ad===35&&Ld===123?(Nd=qd,Ef(),Od=md.slice(qd,Nd+1),Bd=["word",Od,qd,Nd],qd=Nd):Ad===47&&Ld===42?(Nd=md.indexOf("*/",qd+2)+1,Nd===0&&(vd||Af?Nd=md.length:Zd("comment")),Bd=["comment",md.slice(qd,Nd+1),qd,Nd],qd=Nd):Ad===47&&Ld===47?(dd.lastIndex=qd+1,dd.test(md),dd.lastIndex===0?Nd=md.length-1:Nd=dd.lastIndex-2,Od=md.slice(qd,Nd+1),Bd=["comment",Od,qd,Nd,"inline"],qd=Nd):(od.lastIndex=qd+1,od.test(md),od.lastIndex===0?Nd=md.length-1:Nd=od.lastIndex-2,Bd=["word",md.slice(qd,Nd+1),qd,Nd],zd.push(Bd),qd=Nd);break}return qd++,Bd}function xf(vf){Xd.push(vf)}return{back:xf,endOfFile:df,nextToken:_f,position:Yd}}}),Zo$1=y$4((Ra,qa)=>{var{Comment:nd}=Zt$2(),od=Ht$2(),ld=Ho$1(),ud=Jo$1(),dd=class extends od{atrule(pd){let fd=pd[1],md=pd;for(;!this.tokenizer.endOfFile();){let vd=this.tokenizer.nextToken();if(vd[0]==="word"&&vd[2]===md[3]+1)fd+=vd[1],md=vd;else{this.tokenizer.back(vd);break}}super.atrule(["at-word",fd,pd[2],md[3]])}comment(pd){if(pd[4]==="inline"){let fd=new nd;this.init(fd,pd[2]),fd.raws.inline=!0;let md=this.input.fromOffset(pd[3]);fd.source.end={column:md.col,line:md.line,offset:pd[3]+1};let vd=pd[1].slice(2);if(/^\s*$/.test(vd))fd.text="",fd.raws.left=vd,fd.raws.right="";else{let Ad=vd.match(/^(\s*)([^]*\S)(\s*)$/),Nd=Ad[2].replace(/(\*\/|\/\*)/g,"*//*");fd.text=Nd,fd.raws.left=Ad[1],fd.raws.right=Ad[3],fd.raws.text=Ad[2]}}else super.comment(pd)}createTokenizer(){this.tokenizer=ud(this.input)}raw(pd,fd,md,vd){if(super.raw(pd,fd,md,vd),pd.raws[fd]){let Ad=pd.raws[fd].raw;pd.raws[fd].raw=md.reduce((Nd,Id)=>{if(Id[0]==="comment"&&Id[4]==="inline"){let Od=Id[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Nd+"/*"+Od+"*/"}else return Nd+Id[1]},""),Ad!==pd.raws[fd].raw&&(pd.raws[fd].scss=Ad)}}rule(pd){let fd=!1,md=0,vd="";for(let Ad of pd)if(fd)Ad[0]!=="comment"&&Ad[0]!=="{"&&(vd+=Ad[1]);else{if(Ad[0]==="space"&&Ad[1].includes(`
|
||
`))break;Ad[0]==="("?md+=1:Ad[0]===")"?md-=1:md===0&&Ad[0]===":"&&(fd=!0)}if(!fd||vd.trim()===""||/^[#:A-Za-z-]/.test(vd))super.rule(pd);else{pd.pop();let Ad=new ld;this.init(Ad,pd[0][2]);let Nd;for(let Od=pd.length-1;Od>=0;Od--)if(pd[Od][0]!=="space"){Nd=pd[Od];break}if(Nd[3]){let Od=this.input.fromOffset(Nd[3]);Ad.source.end={column:Od.col,line:Od.line,offset:Nd[3]+1}}else{let Od=this.input.fromOffset(Nd[2]);Ad.source.end={column:Od.col,line:Od.line,offset:Nd[2]+1}}for(;pd[0][0]!=="word";)Ad.raws.before+=pd.shift()[1];if(pd[0][2]){let Od=this.input.fromOffset(pd[0][2]);Ad.source.start={column:Od.col,line:Od.line,offset:pd[0][2]}}for(Ad.prop="";pd.length;){let Od=pd[0][0];if(Od===":"||Od==="space"||Od==="comment")break;Ad.prop+=pd.shift()[1]}Ad.raws.between="";let Id;for(;pd.length;)if(Id=pd.shift(),Id[0]===":"){Ad.raws.between+=Id[1];break}else Ad.raws.between+=Id[1];(Ad.prop[0]==="_"||Ad.prop[0]==="*")&&(Ad.raws.before+=Ad.prop[0],Ad.prop=Ad.prop.slice(1)),Ad.raws.between+=this.spacesAndCommentsFromStart(pd),this.precheckMissedSemicolon(pd);for(let Od=pd.length-1;Od>0;Od--){if(Id=pd[Od],Id[1]==="!important"){Ad.important=!0;let Md=this.stringFrom(pd,Od);Md=this.spacesFromEnd(pd)+Md,Md!==" !important"&&(Ad.raws.important=Md);break}else if(Id[1]==="important"){let Md=pd.slice(0),Ud="";for(let jd=Od;jd>0;jd--){let Ld=Md[jd][0];if(Ud.trim().indexOf("!")===0&&Ld!=="space")break;Ud=Md.pop()[1]+Ud}Ud.trim().indexOf("!")===0&&(Ad.important=!0,Ad.raws.important=Ud,pd=Md)}if(Id[0]!=="space"&&Id[0]!=="comment")break}this.raw(Ad,"value",pd),Ad.value.includes(":")&&this.checkMissedSemicolon(pd),this.current=Ad}}};qa.exports=dd}),ta=y$4((Ra,qa)=>{var{Input:nd}=Zt$2(),od=Zo$1();qa.exports=function(ld,ud){let dd=new nd(ld,ud),pd=new od(dd);return pd.parse(),pd.root}}),Os=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0});function qa(nd){this.after=nd.after,this.before=nd.before,this.type=nd.type,this.value=nd.value,this.sourceIndex=nd.sourceIndex}Ra.default=qa}),As=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0});var qa=Os(),nd=od(qa);function od(ud){return ud&&ud.__esModule?ud:{default:ud}}function ld(ud){var dd=this;this.constructor(ud),this.nodes=ud.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(pd){pd.parent=dd})}ld.prototype=Object.create(nd.default.prototype),ld.constructor=nd.default,ld.prototype.walk=function(ud,dd){for(var pd=typeof ud=="string"||ud instanceof RegExp,fd=pd?dd:ud,md=typeof ud=="string"?new RegExp(ud):ud,vd=0;vd<this.nodes.length;vd++){var Ad=this.nodes[vd],Nd=pd?md.test(Ad.type):!0;if(Nd&&fd&&fd(Ad,vd,this.nodes)===!1||Ad.nodes&&Ad.walk(ud,dd)===!1)return!1}return!0},ld.prototype.each=function(){for(var ud=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],dd=0;dd<this.nodes.length;dd++){var pd=this.nodes[dd];if(ud(pd,dd,this.nodes)===!1)return!1}return!0},Ra.default=ld}),aa$1=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.parseMediaFeature=dd,Ra.parseMediaQuery=pd,Ra.parseMediaList=fd;var qa=Os(),nd=ud(qa),od=As(),ld=ud(od);function ud(md){return md&&md.__esModule?md:{default:md}}function dd(md){var vd=arguments.length<=1||arguments[1]===void 0?0:arguments[1],Ad=[{mode:"normal",character:null}],Nd=[],Id=0,Od="",Md=null,Ud=null,jd=vd,Ld=md;md[0]==="("&&md[md.length-1]===")"&&(Ld=md.substring(1,md.length-1),jd++);for(var Bd=0;Bd<Ld.length;Bd++){var Gd=Ld[Bd];if((Gd==="'"||Gd==='"')&&(Ad[Id].isCalculationEnabled===!0?(Ad.push({mode:"string",isCalculationEnabled:!1,character:Gd}),Id++):Ad[Id].mode==="string"&&Ad[Id].character===Gd&&Ld[Bd-1]!=="\\"&&(Ad.pop(),Id--)),Gd==="{"?(Ad.push({mode:"interpolation",isCalculationEnabled:!0}),Id++):Gd==="}"&&(Ad.pop(),Id--),Ad[Id].mode==="normal"&&Gd===":"){var qd=Ld.substring(Bd+1);Ud={type:"value",before:/^(\s*)/.exec(qd)[1],after:/(\s*)$/.exec(qd)[1],value:qd.trim()},Ud.sourceIndex=Ud.before.length+Bd+1+jd,Md={type:"colon",sourceIndex:Bd+jd,after:Ud.before,value:":"};break}Od+=Gd}return Od={type:"media-feature",before:/^(\s*)/.exec(Od)[1],after:/(\s*)$/.exec(Od)[1],value:Od.trim()},Od.sourceIndex=Od.before.length+jd,Nd.push(Od),Md!==null&&(Md.before=Od.after,Nd.push(Md)),Ud!==null&&Nd.push(Ud),Nd}function pd(md){var vd=arguments.length<=1||arguments[1]===void 0?0:arguments[1],Ad=[],Nd=0,Id=!1,Od=void 0;function Md(){return{before:"",after:"",value:""}}Od=Md();for(var Ud=0;Ud<md.length;Ud++){var jd=md[Ud];Id?(Od.value+=jd,(jd==="{"||jd==="(")&&Nd++,(jd===")"||jd==="}")&&Nd--):jd.search(/\s/)!==-1?Od.before+=jd:(jd==="("&&(Od.type="media-feature-expression",Nd++),Od.value=jd,Od.sourceIndex=vd+Ud,Id=!0),Id&&Nd===0&&(jd===")"||Ud===md.length-1||md[Ud+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Od.value)!==-1&&(Od.type="keyword"),Od.type==="media-feature-expression"&&(Od.nodes=dd(Od.value,Od.sourceIndex)),Ad.push(Array.isArray(Od.nodes)?new ld.default(Od):new nd.default(Od)),Od=Md(),Id=!1)}for(var Ld=0;Ld<Ad.length;Ld++)if(Od=Ad[Ld],Ld>0&&(Ad[Ld-1].after=Od.before),Od.type===void 0){if(Ld>0){if(Ad[Ld-1].type==="media-feature-expression"){Od.type="keyword";continue}if(Ad[Ld-1].value==="not"||Ad[Ld-1].value==="only"){Od.type="media-type";continue}if(Ad[Ld-1].value==="and"){Od.type="media-feature-expression";continue}Ad[Ld-1].type==="media-type"&&(Ad[Ld+1]?Od.type=Ad[Ld+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Od.type="media-feature-expression")}if(Ld===0){if(!Ad[Ld+1]){Od.type="media-type";continue}if(Ad[Ld+1]&&(Ad[Ld+1].type==="media-feature-expression"||Ad[Ld+1].type==="keyword")){Od.type="media-type";continue}if(Ad[Ld+2]){if(Ad[Ld+2].type==="media-feature-expression"){Od.type="media-type",Ad[Ld+1].type="keyword";continue}if(Ad[Ld+2].type==="keyword"){Od.type="keyword",Ad[Ld+1].type="media-type";continue}}if(Ad[Ld+3]&&Ad[Ld+3].type==="media-feature-expression"){Od.type="keyword",Ad[Ld+1].type="media-type",Ad[Ld+2].type="keyword";continue}}}return Ad}function fd(md){var vd=[],Ad=0,Nd=0,Id=/^(\s*)url\s*\(/.exec(md);if(Id!==null){for(var Od=Id[0].length,Md=1;Md>0;){var Ud=md[Od];Ud==="("&&Md++,Ud===")"&&Md--,Od++}vd.unshift(new nd.default({type:"url",value:md.substring(0,Od).trim(),sourceIndex:Id[1].length,before:Id[1],after:/^(\s*)/.exec(md.substring(Od))[1]})),Ad=Od}for(var jd=Ad;jd<md.length;jd++){var Ld=md[jd];if(Ld==="("&&Nd++,Ld===")"&&Nd--,Nd===0&&Ld===","){var Bd=md.substring(Ad,jd),Gd=/^(\s*)/.exec(Bd)[1];vd.push(new ld.default({type:"media-query",value:Bd.trim(),sourceIndex:Ad+Gd.length,nodes:pd(Bd,Ad),before:Gd,after:/(\s*)$/.exec(Bd)[1]})),Ad=jd+1}}var qd=md.substring(Ad),zd=/^(\s*)/.exec(qd)[1];return vd.push(new ld.default({type:"media-query",value:qd.trim(),sourceIndex:Ad+zd.length,nodes:pd(qd,Ad),before:zd,after:/(\s*)$/.exec(qd)[1]})),vd}}),ua=y$4(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=ud;var qa=As(),nd=ld(qa),od=aa$1();function ld(dd){return dd&&dd.__esModule?dd:{default:dd}}function ud(dd){return new nd.default({nodes:(0,od.parseMediaList)(dd),type:"media-query-list",value:dd.trim()})}}),qs=y$4((Ra,qa)=>{qa.exports=function(nd,od){if(od=typeof od=="number"?od:1/0,!od)return Array.isArray(nd)?nd.map(function(ud){return ud}):nd;return ld(nd,1);function ld(ud,dd){return ud.reduce(function(pd,fd){return Array.isArray(fd)&&dd<od?pd.concat(ld(fd,dd+1)):pd.concat(fd)},[])}}}),Ls=y$4((Ra,qa)=>{qa.exports=function(nd,od){for(var ld=-1,ud=[];(ld=nd.indexOf(od,ld+1))!==-1;)ud.push(ld);return ud}}),Ds=y$4((Ra,qa)=>{function nd(ud,dd){for(var pd=1,fd=ud.length,md=ud[0],vd=ud[0],Ad=1;Ad<fd;++Ad)if(vd=md,md=ud[Ad],dd(md,vd)){if(Ad===pd){pd++;continue}ud[pd++]=md}return ud.length=pd,ud}function od(ud){for(var dd=1,pd=ud.length,fd=ud[0],md=ud[0],vd=1;vd<pd;++vd,md=fd)if(md=fd,fd=ud[vd],fd!==md){if(vd===dd){dd++;continue}ud[dd++]=fd}return ud.length=dd,ud}function ld(ud,dd,pd){return ud.length===0?ud:dd?(pd||ud.sort(dd),nd(ud,dd)):(pd||ud.sort(),od(ud))}qa.exports=ld}),de$3=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(dd){return typeof dd}:function(dd){return dd&&typeof Symbol=="function"&&dd.constructor===Symbol&&dd!==Symbol.prototype?"symbol":typeof dd};function od(dd,pd){if(!(dd instanceof pd))throw new TypeError("Cannot call a class as a function")}var ld=function dd(pd,fd){if((typeof pd>"u"?"undefined":nd(pd))!=="object")return pd;var md=new pd.constructor;for(var vd in pd)if(pd.hasOwnProperty(vd)){var Ad=pd[vd],Nd=typeof Ad>"u"?"undefined":nd(Ad);vd==="parent"&&Nd==="object"?fd&&(md[vd]=fd):Ad instanceof Array?md[vd]=Ad.map(function(Id){return dd(Id,md)}):md[vd]=dd(Ad,md)}return md},ud=function(){function dd(){var pd=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};od(this,dd);for(var fd in pd)this[fd]=pd[fd];var md=pd.spaces;md=md===void 0?{}:md;var vd=md.before,Ad=vd===void 0?"":vd,Nd=md.after,Id=Nd===void 0?"":Nd;this.spaces={before:Ad,after:Id}}return dd.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},dd.prototype.replaceWith=function(){if(this.parent){for(var pd in arguments)this.parent.insertBefore(this,arguments[pd]);this.remove()}return this},dd.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},dd.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},dd.prototype.clone=function(){var pd=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fd=ld(this);for(var md in pd)fd[md]=pd[md];return fd},dd.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},dd}();Ra.default=ud,qa.exports=Ra.default}),D$3=y$4(Ra=>{Ra.__esModule=!0,Ra.TAG="tag",Ra.STRING="string",Ra.SELECTOR="selector",Ra.ROOT="root",Ra.PSEUDO="pseudo",Ra.NESTING="nesting",Ra.ID="id",Ra.COMMENT="comment",Ra.COMBINATOR="combinator",Ra.CLASS="class",Ra.ATTRIBUTE="attribute",Ra.UNIVERSAL="universal"}),ir$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function Id(Od,Md){for(var Ud=0;Ud<Md.length;Ud++){var jd=Md[Ud];jd.enumerable=jd.enumerable||!1,jd.configurable=!0,"value"in jd&&(jd.writable=!0),Object.defineProperty(Od,jd.key,jd)}}return function(Od,Md,Ud){return Md&&Id(Od.prototype,Md),Ud&&Id(Od,Ud),Od}}(),od=de$3(),ld=fd(od),ud=D$3(),dd=pd(ud);function pd(Id){if(Id&&Id.__esModule)return Id;var Od={};if(Id!=null)for(var Md in Id)Object.prototype.hasOwnProperty.call(Id,Md)&&(Od[Md]=Id[Md]);return Od.default=Id,Od}function fd(Id){return Id&&Id.__esModule?Id:{default:Id}}function md(Id,Od){if(!(Id instanceof Od))throw new TypeError("Cannot call a class as a function")}function vd(Id,Od){if(!Id)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Od&&(typeof Od=="object"||typeof Od=="function")?Od:Id}function Ad(Id,Od){if(typeof Od!="function"&&Od!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Od);Id.prototype=Object.create(Od&&Od.prototype,{constructor:{value:Id,enumerable:!1,writable:!0,configurable:!0}}),Od&&(Object.setPrototypeOf?Object.setPrototypeOf(Id,Od):Id.__proto__=Od)}var Nd=function(Id){Ad(Od,Id);function Od(Md){md(this,Od);var Ud=vd(this,Id.call(this,Md));return Ud.nodes||(Ud.nodes=[]),Ud}return Od.prototype.append=function(Md){return Md.parent=this,this.nodes.push(Md),this},Od.prototype.prepend=function(Md){return Md.parent=this,this.nodes.unshift(Md),this},Od.prototype.at=function(Md){return this.nodes[Md]},Od.prototype.index=function(Md){return typeof Md=="number"?Md:this.nodes.indexOf(Md)},Od.prototype.removeChild=function(Md){Md=this.index(Md),this.at(Md).parent=void 0,this.nodes.splice(Md,1);var Ud=void 0;for(var jd in this.indexes)Ud=this.indexes[jd],Ud>=Md&&(this.indexes[jd]=Ud-1);return this},Od.prototype.removeAll=function(){for(var jd=this.nodes,Md=Array.isArray(jd),Ud=0,jd=Md?jd:jd[Symbol.iterator]();;){var Ld;if(Md){if(Ud>=jd.length)break;Ld=jd[Ud++]}else{if(Ud=jd.next(),Ud.done)break;Ld=Ud.value}var Bd=Ld;Bd.parent=void 0}return this.nodes=[],this},Od.prototype.empty=function(){return this.removeAll()},Od.prototype.insertAfter=function(Md,Ud){var jd=this.index(Md);this.nodes.splice(jd+1,0,Ud);var Ld=void 0;for(var Bd in this.indexes)Ld=this.indexes[Bd],jd<=Ld&&(this.indexes[Bd]=Ld+this.nodes.length);return this},Od.prototype.insertBefore=function(Md,Ud){var jd=this.index(Md);this.nodes.splice(jd,0,Ud);var Ld=void 0;for(var Bd in this.indexes)Ld=this.indexes[Bd],jd<=Ld&&(this.indexes[Bd]=Ld+this.nodes.length);return this},Od.prototype.each=function(Md){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Ud=this.lastEach;if(this.indexes[Ud]=0,!!this.length){for(var jd=void 0,Ld=void 0;this.indexes[Ud]<this.length&&(jd=this.indexes[Ud],Ld=Md(this.at(jd),jd),Ld!==!1);)this.indexes[Ud]+=1;if(delete this.indexes[Ud],Ld===!1)return!1}},Od.prototype.walk=function(Md){return this.each(function(Ud,jd){var Ld=Md(Ud,jd);if(Ld!==!1&&Ud.length&&(Ld=Ud.walk(Md)),Ld===!1)return!1})},Od.prototype.walkAttributes=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.ATTRIBUTE)return Md.call(Ud,jd)})},Od.prototype.walkClasses=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.CLASS)return Md.call(Ud,jd)})},Od.prototype.walkCombinators=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.COMBINATOR)return Md.call(Ud,jd)})},Od.prototype.walkComments=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.COMMENT)return Md.call(Ud,jd)})},Od.prototype.walkIds=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.ID)return Md.call(Ud,jd)})},Od.prototype.walkNesting=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.NESTING)return Md.call(Ud,jd)})},Od.prototype.walkPseudos=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.PSEUDO)return Md.call(Ud,jd)})},Od.prototype.walkTags=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.TAG)return Md.call(Ud,jd)})},Od.prototype.walkUniversals=function(Md){var Ud=this;return this.walk(function(jd){if(jd.type===dd.UNIVERSAL)return Md.call(Ud,jd)})},Od.prototype.split=function(Md){var Ud=this,jd=[];return this.reduce(function(Ld,Bd,Gd){var qd=Md.call(Ud,Bd);return jd.push(Bd),qd?(Ld.push(jd),jd=[]):Gd===Ud.length-1&&Ld.push(jd),Ld},[])},Od.prototype.map=function(Md){return this.nodes.map(Md)},Od.prototype.reduce=function(Md,Ud){return this.nodes.reduce(Md,Ud)},Od.prototype.every=function(Md){return this.nodes.every(Md)},Od.prototype.some=function(Md){return this.nodes.some(Md)},Od.prototype.filter=function(Md){return this.nodes.filter(Md)},Od.prototype.sort=function(Md){return this.nodes.sort(Md)},Od.prototype.toString=function(){return this.map(String).join("")},nd(Od,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),Od}(ld.default);Ra.default=Nd,qa.exports=Ra.default}),ga=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.ROOT,Id}return Ad.prototype.toString=function(){var Nd=this.reduce(function(Id,Od){var Md=String(Od);return Md?Id+Md+",":""},"").slice(0,-1);return this.trailingComma?Nd+",":Nd},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),xa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.SELECTOR,Id}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),qe$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function vd(Ad,Nd){for(var Id=0;Id<Nd.length;Id++){var Od=Nd[Id];Od.enumerable=Od.enumerable||!1,Od.configurable=!0,"value"in Od&&(Od.writable=!0),Object.defineProperty(Ad,Od.key,Od)}}return function(Ad,Nd,Id){return Nd&&vd(Ad.prototype,Nd),Id&&vd(Ad,Id),Ad}}(),od=de$3(),ld=ud(od);function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(){return dd(this,Ad),pd(this,vd.apply(this,arguments))}return Ad.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},nd(Ad,[{key:"ns",get:function(){var Nd=this.namespace;return Nd?(typeof Nd=="string"?Nd:"")+"|":""}}]),Ad}(ld.default);Ra.default=md,qa.exports=Ra.default}),ka=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.CLASS,Id}return Ad.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Sa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.COMMENT,Id}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Oa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.ID,Id}return Ad.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Aa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.TAG,Id}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Pa=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.STRING,Id}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ia=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=ir$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.PSEUDO,Id}return Ad.prototype.toString=function(){var Nd=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),Nd,this.spaces.after].join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),La=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.ATTRIBUTE,Id.raws={},Id}return Ad.prototype.toString=function(){var Nd=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&Nd.push(this.operator),this.value&&Nd.push(this.value),this.raws.insensitive?Nd.push(this.raws.insensitive):this.insensitive&&Nd.push(" i"),Nd.push("]"),Nd.concat(this.spaces.after).join("")},Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ma=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=qe$1(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.UNIVERSAL,Id.value="*",Id}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ua=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.COMBINATOR,Id}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),$a=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=de$3(),od=ud(nd),ld=D$3();function ud(vd){return vd&&vd.__esModule?vd:{default:vd}}function dd(vd,Ad){if(!(vd instanceof Ad))throw new TypeError("Cannot call a class as a function")}function pd(vd,Ad){if(!vd)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ad&&(typeof Ad=="object"||typeof Ad=="function")?Ad:vd}function fd(vd,Ad){if(typeof Ad!="function"&&Ad!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ad);vd.prototype=Object.create(Ad&&Ad.prototype,{constructor:{value:vd,enumerable:!1,writable:!0,configurable:!0}}),Ad&&(Object.setPrototypeOf?Object.setPrototypeOf(vd,Ad):vd.__proto__=Ad)}var md=function(vd){fd(Ad,vd);function Ad(Nd){dd(this,Ad);var Id=pd(this,vd.call(this,Nd));return Id.type=ld.NESTING,Id.value="&",Id}return Ad}(od.default);Ra.default=md,qa.exports=Ra.default}),Ya=y$4((Ra,qa)=>{Ra.__esModule=!0,Ra.default=nd;function nd(od){return od.sort(function(ld,ud){return ld-ud})}qa.exports=Ra.default}),Xa=y$4((Ra,qa)=>{Ra.__esModule=!0,Ra.default=df;var nd=39,od=34,ld=92,ud=47,dd=10,pd=32,fd=12,md=9,vd=13,Ad=43,Nd=62,Id=126,Od=124,Md=44,Ud=40,jd=41,Ld=91,Bd=93,Gd=59,qd=42,zd=58,Xd=38,gf=64,Yd=/[ \n\t\r\{\(\)'"\\;/]/g,Zd=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function df(Ef){for(var _f=[],xf=Ef.css.valueOf(),vf=void 0,Af=void 0,Df=void 0,jf=void 0,Jf=void 0,eh=void 0,th=void 0,Uf=void 0,Of=void 0,Wf=void 0,qf=void 0,zf=xf.length,Tf=-1,Sf=1,Yf=0,ih=function(Th,sh){if(Ef.safe)xf+=sh,Af=xf.length-1;else throw Ef.error("Unclosed "+Th,Sf,Yf-Tf,Yf)};Yf<zf;){switch(vf=xf.charCodeAt(Yf),vf===dd&&(Tf=Yf,Sf+=1),vf){case dd:case pd:case md:case vd:case fd:Af=Yf;do Af+=1,vf=xf.charCodeAt(Af),vf===dd&&(Tf=Af,Sf+=1);while(vf===pd||vf===dd||vf===md||vf===vd||vf===fd);_f.push(["space",xf.slice(Yf,Af),Sf,Yf-Tf,Yf]),Yf=Af-1;break;case Ad:case Nd:case Id:case Od:Af=Yf;do Af+=1,vf=xf.charCodeAt(Af);while(vf===Ad||vf===Nd||vf===Id||vf===Od);_f.push(["combinator",xf.slice(Yf,Af),Sf,Yf-Tf,Yf]),Yf=Af-1;break;case qd:_f.push(["*","*",Sf,Yf-Tf,Yf]);break;case Xd:_f.push(["&","&",Sf,Yf-Tf,Yf]);break;case Md:_f.push([",",",",Sf,Yf-Tf,Yf]);break;case Ld:_f.push(["[","[",Sf,Yf-Tf,Yf]);break;case Bd:_f.push(["]","]",Sf,Yf-Tf,Yf]);break;case zd:_f.push([":",":",Sf,Yf-Tf,Yf]);break;case Gd:_f.push([";",";",Sf,Yf-Tf,Yf]);break;case Ud:_f.push(["(","(",Sf,Yf-Tf,Yf]);break;case jd:_f.push([")",")",Sf,Yf-Tf,Yf]);break;case nd:case od:Df=vf===nd?"'":'"',Af=Yf;do for(Wf=!1,Af=xf.indexOf(Df,Af+1),Af===-1&&ih("quote",Df),qf=Af;xf.charCodeAt(qf-1)===ld;)qf-=1,Wf=!Wf;while(Wf);_f.push(["string",xf.slice(Yf,Af+1),Sf,Yf-Tf,Sf,Af-Tf,Yf]),Yf=Af;break;case gf:Yd.lastIndex=Yf+1,Yd.test(xf),Yd.lastIndex===0?Af=xf.length-1:Af=Yd.lastIndex-2,_f.push(["at-word",xf.slice(Yf,Af+1),Sf,Yf-Tf,Sf,Af-Tf,Yf]),Yf=Af;break;case ld:for(Af=Yf,th=!0;xf.charCodeAt(Af+1)===ld;)Af+=1,th=!th;vf=xf.charCodeAt(Af+1),th&&vf!==ud&&vf!==pd&&vf!==dd&&vf!==md&&vf!==vd&&vf!==fd&&(Af+=1),_f.push(["word",xf.slice(Yf,Af+1),Sf,Yf-Tf,Sf,Af-Tf,Yf]),Yf=Af;break;default:vf===ud&&xf.charCodeAt(Yf+1)===qd?(Af=xf.indexOf("*/",Yf+2)+1,Af===0&&ih("comment","*/"),eh=xf.slice(Yf,Af+1),jf=eh.split(`
|
||
`),Jf=jf.length-1,Jf>0?(Uf=Sf+Jf,Of=Af-jf[Jf].length):(Uf=Sf,Of=Tf),_f.push(["comment",eh,Sf,Yf-Tf,Uf,Af-Of,Yf]),Tf=Of,Sf=Uf,Yf=Af):(Zd.lastIndex=Yf+1,Zd.test(xf),Zd.lastIndex===0?Af=xf.length-1:Af=Zd.lastIndex-2,_f.push(["word",xf.slice(Yf,Af+1),Sf,Yf-Tf,Sf,Af-Tf,Yf]),Yf=Af);break}Yf++}return _f}qa.exports=Ra.default}),tu$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function Tf(Sf,Yf){for(var ih=0;ih<Yf.length;ih++){var Th=Yf[ih];Th.enumerable=Th.enumerable||!1,Th.configurable=!0,"value"in Th&&(Th.writable=!0),Object.defineProperty(Sf,Th.key,Th)}}return function(Sf,Yf,ih){return Yf&&Tf(Sf.prototype,Yf),ih&&Tf(Sf,ih),Sf}}(),od=qs(),ld=Wf(od),ud=Ls(),dd=Wf(ud),pd=Ds(),fd=Wf(pd),md=ga(),vd=Wf(md),Ad=xa(),Nd=Wf(Ad),Id=ka(),Od=Wf(Id),Md=Sa(),Ud=Wf(Md),jd=Oa(),Ld=Wf(jd),Bd=Aa(),Gd=Wf(Bd),qd=Pa(),zd=Wf(qd),Xd=Ia(),gf=Wf(Xd),Yd=La(),Zd=Wf(Yd),df=Ma(),Ef=Wf(df),_f=Ua(),xf=Wf(_f),vf=$a(),Af=Wf(vf),Df=Ya(),jf=Wf(Df),Jf=Xa(),eh=Wf(Jf),th=D$3(),Uf=Of(th);function Of(Tf){if(Tf&&Tf.__esModule)return Tf;var Sf={};if(Tf!=null)for(var Yf in Tf)Object.prototype.hasOwnProperty.call(Tf,Yf)&&(Sf[Yf]=Tf[Yf]);return Sf.default=Tf,Sf}function Wf(Tf){return Tf&&Tf.__esModule?Tf:{default:Tf}}function qf(Tf,Sf){if(!(Tf instanceof Sf))throw new TypeError("Cannot call a class as a function")}var zf=function(){function Tf(Sf){qf(this,Tf),this.input=Sf,this.lossy=Sf.options.lossless===!1,this.position=0,this.root=new vd.default;var Yf=new Nd.default;return this.root.append(Yf),this.current=Yf,this.lossy?this.tokens=(0,eh.default)({safe:Sf.safe,css:Sf.css.trim()}):this.tokens=(0,eh.default)(Sf),this.loop()}return Tf.prototype.attribute=function(){var Sf="",Yf=void 0,ih=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)Sf+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Sf.indexOf("]")&&this.error("Expected a closing square bracket.");var Th=Sf.split(/((?:[*~^$|]?=))([^]*)/),sh=Th[0].split(/(\|)/g),Nf={operator:Th[1],value:Th[2],source:{start:{line:ih[2],column:ih[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:ih[4]};if(sh.length>1?(sh[0]===""&&(sh[0]=!0),Nf.attribute=this.parseValue(sh[2]),Nf.namespace=this.parseNamespace(sh[0])):Nf.attribute=this.parseValue(Th[0]),Yf=new Zd.default(Nf),Th[2]){var ph=Th[2].split(/(\s+i\s*?)$/),Oh=ph[0].trim();Yf.value=this.lossy?Oh:ph[0],ph[1]&&(Yf.insensitive=!0,this.lossy||(Yf.raws.insensitive=ph[1])),Yf.quoted=Oh[0]==="'"||Oh[0]==='"',Yf.raws.unquoted=Yf.quoted?Oh.slice(1,-1):Oh}this.newNode(Yf),this.position++},Tf.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var Sf=new xf.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(Sf.spaces.before=this.parseSpace(this.currToken[1]),Sf.source.start.line=this.nextToken[2],Sf.source.start.column=this.nextToken[3],Sf.source.end.column=this.nextToken[3],Sf.source.end.line=this.nextToken[2],Sf.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?Sf.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?Sf.value=this.currToken[1]:this.currToken[0]==="space"&&(Sf.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(Sf)},Tf.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Sf=new Nd.default;this.current.parent.append(Sf),this.current=Sf,this.position++},Tf.prototype.comment=function(){var Sf=new Ud.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(Sf),this.position++},Tf.prototype.error=function(Sf){throw new this.input.error(Sf)},Tf.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Tf.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Tf.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Tf.prototype.namespace=function(){var Sf=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(Sf);if(this.nextToken[0]==="*")return this.position++,this.universal(Sf)},Tf.prototype.nesting=function(){this.newNode(new Af.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},Tf.prototype.parentheses=function(){var Sf=this.current.last;if(Sf&&Sf.type===Uf.PSEUDO){var Yf=new Nd.default,ih=this.current;Sf.append(Yf),this.current=Yf;var Th=1;for(this.position++;this.position<this.tokens.length&&Th;)this.currToken[0]==="("&&Th++,this.currToken[0]===")"&&Th--,Th?this.parse():(Yf.parent.source.end.line=this.currToken[2],Yf.parent.source.end.column=this.currToken[3],this.position++);Th&&this.error("Expected closing parenthesis."),this.current=ih}else{var sh=1;for(this.position++,Sf.value+="(";this.position<this.tokens.length&&sh;)this.currToken[0]==="("&&sh++,this.currToken[0]===")"&&sh--,Sf.value+=this.parseParenthesisToken(this.currToken),this.position++;sh&&this.error("Expected closing parenthesis.")}},Tf.prototype.pseudo=function(){for(var Sf=this,Yf="",ih=this.currToken;this.currToken&&this.currToken[0]===":";)Yf+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Th=void 0;this.splitWord(!1,function(sh,Nf){Yf+=sh,Th=new gf.default({value:Yf,source:{start:{line:ih[2],column:ih[3]},end:{line:Sf.currToken[4],column:Sf.currToken[5]}},sourceIndex:ih[4]}),Sf.newNode(Th),Nf>1&&Sf.nextToken&&Sf.nextToken[0]==="("&&Sf.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Tf.prototype.space=function(){var Sf=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(Sf[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(Sf[1]),this.position++):this.combinator()},Tf.prototype.string=function(){var Sf=this.currToken;this.newNode(new zd.default({value:this.currToken[1],source:{start:{line:Sf[2],column:Sf[3]},end:{line:Sf[4],column:Sf[5]}},sourceIndex:Sf[6]})),this.position++},Tf.prototype.universal=function(Sf){var Yf=this.nextToken;if(Yf&&Yf[1]==="|")return this.position++,this.namespace();this.newNode(new Ef.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),Sf),this.position++},Tf.prototype.splitWord=function(Sf,Yf){for(var ih=this,Th=this.nextToken,sh=this.currToken[1];Th&&Th[0]==="word";){this.position++;var Nf=this.currToken[1];if(sh+=Nf,Nf.lastIndexOf("\\")===Nf.length-1){var ph=this.nextToken;ph&&ph[0]==="space"&&(sh+=this.parseSpace(ph[1]," "),this.position++)}Th=this.nextToken}var Oh=(0,dd.default)(sh,"."),Zf=(0,dd.default)(sh,"#"),Rf=(0,dd.default)(sh,"#{");Rf.length&&(Zf=Zf.filter(function(Kf){return!~Rf.indexOf(Kf)}));var Bf=(0,jf.default)((0,fd.default)((0,ld.default)([[0],Oh,Zf])));Bf.forEach(function(Kf,wh){var Ah=Bf[wh+1]||sh.length,mh=sh.slice(Kf,Ah);if(wh===0&&Yf)return Yf.call(ih,mh,Bf.length);var im=void 0;~Oh.indexOf(Kf)?im=new Od.default({value:mh.slice(1),source:{start:{line:ih.currToken[2],column:ih.currToken[3]+Kf},end:{line:ih.currToken[4],column:ih.currToken[3]+(Ah-1)}},sourceIndex:ih.currToken[6]+Bf[wh]}):~Zf.indexOf(Kf)?im=new Ld.default({value:mh.slice(1),source:{start:{line:ih.currToken[2],column:ih.currToken[3]+Kf},end:{line:ih.currToken[4],column:ih.currToken[3]+(Ah-1)}},sourceIndex:ih.currToken[6]+Bf[wh]}):im=new Gd.default({value:mh,source:{start:{line:ih.currToken[2],column:ih.currToken[3]+Kf},end:{line:ih.currToken[4],column:ih.currToken[3]+(Ah-1)}},sourceIndex:ih.currToken[6]+Bf[wh]}),ih.newNode(im,Sf)}),this.position++},Tf.prototype.word=function(Sf){var Yf=this.nextToken;return Yf&&Yf[1]==="|"?(this.position++,this.namespace()):this.splitWord(Sf)},Tf.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Tf.prototype.parse=function(Sf){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":Sf&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},Tf.prototype.parseNamespace=function(Sf){if(this.lossy&&typeof Sf=="string"){var Yf=Sf.trim();return Yf.length?Yf:!0}return Sf},Tf.prototype.parseSpace=function(Sf,Yf){return this.lossy?Yf||"":Sf},Tf.prototype.parseValue=function(Sf){return this.lossy&&Sf&&typeof Sf=="string"?Sf.trim():Sf},Tf.prototype.parseParenthesisToken=function(Sf){return this.lossy?Sf[0]==="space"?this.parseSpace(Sf[1]," "):this.parseValue(Sf[1]):Sf[1]},Tf.prototype.newNode=function(Sf,Yf){return Yf&&(Sf.namespace=this.parseNamespace(Yf)),this.spaces&&(Sf.spaces.before=this.spaces,this.spaces=""),this.current.append(Sf)},nd(Tf,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Tf}();Ra.default=zf,qa.exports=Ra.default}),su$1=y$4((Ra,qa)=>{Ra.__esModule=!0;var nd=function(){function fd(md,vd){for(var Ad=0;Ad<vd.length;Ad++){var Nd=vd[Ad];Nd.enumerable=Nd.enumerable||!1,Nd.configurable=!0,"value"in Nd&&(Nd.writable=!0),Object.defineProperty(md,Nd.key,Nd)}}return function(md,vd,Ad){return vd&&fd(md.prototype,vd),Ad&&fd(md,Ad),md}}(),od=tu$1(),ld=ud(od);function ud(fd){return fd&&fd.__esModule?fd:{default:fd}}function dd(fd,md){if(!(fd instanceof md))throw new TypeError("Cannot call a class as a function")}var pd=function(){function fd(md){return dd(this,fd),this.func=md||function(){},this}return fd.prototype.process=function(md){var vd=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ad=new ld.default({css:md,error:function(Nd){throw new Error(Nd)},options:vd});return this.res=Ad,this.func(Ad),this},nd(fd,[{key:"result",get:function(){return String(this.res)}}]),fd}();Ra.default=pd,qa.exports=Ra.default}),z$4=y$4((Ra,qa)=>{var nd=function(od,ld){let ud=new od.constructor;for(let dd in od){if(!od.hasOwnProperty(dd))continue;let pd=od[dd],fd=typeof pd;dd==="parent"&&fd==="object"?ld&&(ud[dd]=ld):dd==="source"?ud[dd]=pd:pd instanceof Array?ud[dd]=pd.map(md=>nd(md,ud)):dd!=="before"&&dd!=="after"&&dd!=="between"&&dd!=="semicolon"&&(fd==="object"&&pd!==null&&(pd=nd(pd)),ud[dd]=pd)}return ud};qa.exports=class{constructor(od){od=od||{},this.raws={before:"",after:""};for(let ld in od)this[ld]=od[ld]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(od){od=od||{};let ld=nd(this);for(let ud in od)ld[ud]=od[ud];return ld}cloneBefore(od){od=od||{};let ld=this.clone(od);return this.parent.insertBefore(this,ld),ld}cloneAfter(od){od=od||{};let ld=this.clone(od);return this.parent.insertAfter(this,ld),ld}replaceWith(){let od=Array.prototype.slice.call(arguments);if(this.parent){for(let ld of od)this.parent.insertBefore(this,ld);this.remove()}return this}moveTo(od){return this.cleanRaws(this.root()===od.root()),this.remove(),od.append(this),this}moveBefore(od){return this.cleanRaws(this.root()===od.root()),this.remove(),od.parent.insertBefore(od,this),this}moveAfter(od){return this.cleanRaws(this.root()===od.root()),this.remove(),od.parent.insertAfter(od,this),this}next(){let od=this.parent.index(this);return this.parent.nodes[od+1]}prev(){let od=this.parent.index(this);return this.parent.nodes[od-1]}toJSON(){let od={};for(let ld in this){if(!this.hasOwnProperty(ld)||ld==="parent")continue;let ud=this[ld];ud instanceof Array?od[ld]=ud.map(dd=>typeof dd=="object"&&dd.toJSON?dd.toJSON():dd):typeof ud=="object"&&ud.toJSON?od[ld]=ud.toJSON():od[ld]=ud}return od}root(){let od=this;for(;od.parent;)od=od.parent;return od}cleanRaws(od){delete this.raws.before,delete this.raws.after,od||delete this.raws.between}positionInside(od){let ld=this.toString(),ud=this.source.start.column,dd=this.source.start.line;for(let pd=0;pd<od;pd++)ld[pd]===`
|
||
`?(ud=1,dd+=1):ud+=1;return{line:dd,column:ud}}positionBy(od){let ld=this.source.start;if(Object(od).index)ld=this.positionInside(od.index);else if(Object(od).word){let ud=this.toString().indexOf(od.word);ud!==-1&&(ld=this.positionInside(ud))}return ld}}}),U$5=y$4((Ra,qa)=>{var nd=z$4(),od=class extends nd{constructor(ld){super(ld),this.nodes||(this.nodes=[])}push(ld){return ld.parent=this,this.nodes.push(ld),this}each(ld){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let ud=this.lastEach,dd,pd;if(this.indexes[ud]=0,!!this.nodes){for(;this.indexes[ud]<this.nodes.length&&(dd=this.indexes[ud],pd=ld(this.nodes[dd],dd),pd!==!1);)this.indexes[ud]+=1;return delete this.indexes[ud],pd}}walk(ld){return this.each((ud,dd)=>{let pd=ld(ud,dd);return pd!==!1&&ud.walk&&(pd=ud.walk(ld)),pd})}walkType(ld,ud){if(!ld||!ud)throw new Error("Parameters {type} and {callback} are required.");let dd=typeof ld=="function";return this.walk((pd,fd)=>{if(dd&&pd instanceof ld||!dd&&pd.type===ld)return ud.call(this,pd,fd)})}append(ld){return ld.parent=this,this.nodes.push(ld),this}prepend(ld){return ld.parent=this,this.nodes.unshift(ld),this}cleanRaws(ld){if(super.cleanRaws(ld),this.nodes)for(let ud of this.nodes)ud.cleanRaws(ld)}insertAfter(ld,ud){let dd=this.index(ld),pd;this.nodes.splice(dd+1,0,ud);for(let fd in this.indexes)pd=this.indexes[fd],dd<=pd&&(this.indexes[fd]=pd+this.nodes.length);return this}insertBefore(ld,ud){let dd=this.index(ld),pd;this.nodes.splice(dd,0,ud);for(let fd in this.indexes)pd=this.indexes[fd],dd<=pd&&(this.indexes[fd]=pd+this.nodes.length);return this}removeChild(ld){ld=this.index(ld),this.nodes[ld].parent=void 0,this.nodes.splice(ld,1);let ud;for(let dd in this.indexes)ud=this.indexes[dd],ud>=ld&&(this.indexes[dd]=ud-1);return this}removeAll(){for(let ld of this.nodes)ld.parent=void 0;return this.nodes=[],this}every(ld){return this.nodes.every(ld)}some(ld){return this.nodes.some(ld)}index(ld){return typeof ld=="number"?ld:this.nodes.indexOf(ld)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let ld=this.nodes.map(String).join("");return this.value&&(ld=this.value+ld),this.raws.before&&(ld=this.raws.before+ld),this.raws.after&&(ld+=this.raws.after),ld}};od.registerWalker=ld=>{let ud="walk"+ld.name;ud.lastIndexOf("s")!==ud.length-1&&(ud+="s"),!od.prototype[ud]&&(od.prototype[ud]=function(dd){return this.walkType(ld,dd)})},qa.exports=od}),uu$1=y$4((Ra,qa)=>{var nd=U$5();qa.exports=class extends nd{constructor(od){super(od),this.type="root"}}}),cu$2=y$4((Ra,qa)=>{var nd=U$5();qa.exports=class extends nd{constructor(od){super(od),this.type="value",this.unbalanced=0}}}),hu$1=y$4((Ra,qa)=>{var nd=U$5(),od=class extends nd{constructor(ld){super(ld),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};nd.registerWalker(od),qa.exports=od}),mu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="colon"}};nd.registerWalker(ld),qa.exports=ld}),wu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="comma"}};nd.registerWalker(ld),qa.exports=ld}),vu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="comment",this.inline=Object(ud).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};nd.registerWalker(ld),qa.exports=ld}),_u$1=y$4((Ra,qa)=>{var nd=U$5(),od=class extends nd{constructor(ld){super(ld),this.type="func",this.unbalanced=-1}};nd.registerWalker(od),qa.exports=od}),Eu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="number",this.unit=Object(ud).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};nd.registerWalker(ld),qa.exports=ld}),Tu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="operator"}};nd.registerWalker(ld),qa.exports=ld}),Cu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="paren",this.parenType=""}};nd.registerWalker(ld),qa.exports=ld}),Nu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="string"}toString(){let ud=this.quoted?this.raws.quote:"";return[this.raws.before,ud,this.value+"",ud,this.raws.after].join("")}};nd.registerWalker(ld),qa.exports=ld}),Ru$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="word"}};nd.registerWalker(ld),qa.exports=ld}),qu$1=y$4((Ra,qa)=>{var nd=U$5(),od=z$4(),ld=class extends od{constructor(ud){super(ud),this.type="unicode-range"}};nd.registerWalker(ld),qa.exports=ld}),Du$1=y$4((Ra,qa)=>{var nd=class extends Error{constructor(od){super(od),this.name=this.constructor.name,this.message=od||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(od).stack}};qa.exports=nd}),Uu$1=y$4((Ra,qa)=>{var nd=/[ \n\t\r\{\(\)'"\\;,/]/g,od=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,ld=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,ud=/^[a-z0-9]/i,dd=/^[a-f0-9?\-]/i,pd=Du$1();qa.exports=function(fd,md){md=md||{};let vd=[],Ad=fd.valueOf(),Nd=Ad.length,Id=-1,Od=1,Md=0,Ud=0,jd=null,Ld,Bd,Gd,qd,zd,Xd,gf,Yd,Zd,df,Ef;function _f(xf){let vf=`Unclosed ${xf} at line: ${Od}, column: ${Md-Id}, token: ${Md}`;throw new pd(vf)}for(;Md<Nd;){switch(Ld=Ad.charCodeAt(Md),Ld===10&&(Id=Md,Od+=1),Ld){case 10:case 32:case 9:case 13:case 12:Bd=Md;do Bd+=1,Ld=Ad.charCodeAt(Bd),Ld===10&&(Id=Bd,Od+=1);while(Ld===32||Ld===10||Ld===9||Ld===13||Ld===12);vd.push(["space",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1;break;case 58:Bd=Md+1,vd.push(["colon",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1;break;case 44:Bd=Md+1,vd.push(["comma",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1;break;case 123:vd.push(["{","{",Od,Md-Id,Od,Bd-Id,Md]);break;case 125:vd.push(["}","}",Od,Md-Id,Od,Bd-Id,Md]);break;case 40:Ud++,jd=!jd&&Ud===1&&vd.length>0&&vd[vd.length-1][0]==="word"&&vd[vd.length-1][1]==="url",vd.push(["(","(",Od,Md-Id,Od,Bd-Id,Md]);break;case 41:Ud--,jd=jd&&Ud>0,vd.push([")",")",Od,Md-Id,Od,Bd-Id,Md]);break;case 39:case 34:Gd=Ld===39?"'":'"',Bd=Md;do for(Zd=!1,Bd=Ad.indexOf(Gd,Bd+1),Bd===-1&&_f("quote"),df=Bd;Ad.charCodeAt(df-1)===92;)df-=1,Zd=!Zd;while(Zd);vd.push(["string",Ad.slice(Md,Bd+1),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd;break;case 64:nd.lastIndex=Md+1,nd.test(Ad),nd.lastIndex===0?Bd=Ad.length-1:Bd=nd.lastIndex-2,vd.push(["atword",Ad.slice(Md,Bd+1),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd;break;case 92:Bd=Md,Ld=Ad.charCodeAt(Bd+1),vd.push(["word",Ad.slice(Md,Bd+1),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd;break;case 43:case 45:case 42:if(Bd=Md+1,Ef=Ad.slice(Md+1,Bd+1),Ad.slice(Md-1,Md),Ld===45&&Ef.charCodeAt(0)===45){Bd++,vd.push(["word",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1;break}vd.push(["operator",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1;break;default:if(Ld===47&&(Ad.charCodeAt(Md+1)===42||md.loose&&!jd&&Ad.charCodeAt(Md+1)===47)){if(Ad.charCodeAt(Md+1)===42)Bd=Ad.indexOf("*/",Md+2)+1,Bd===0&&_f("comment");else{let xf=Ad.indexOf(`
|
||
`,Md+2);Bd=xf!==-1?xf-1:Nd}Xd=Ad.slice(Md,Bd+1),qd=Xd.split(`
|
||
`),zd=qd.length-1,zd>0?(gf=Od+zd,Yd=Bd-qd[zd].length):(gf=Od,Yd=Id),vd.push(["comment",Xd,Od,Md-Id,gf,Bd-Yd,Md]),Id=Yd,Od=gf,Md=Bd}else if(Ld===35&&!ud.test(Ad.slice(Md+1,Md+2)))Bd=Md+1,vd.push(["#",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1;else if((Ld===117||Ld===85)&&Ad.charCodeAt(Md+1)===43){Bd=Md+2;do Bd+=1,Ld=Ad.charCodeAt(Bd);while(Bd<Nd&&dd.test(Ad.slice(Bd,Bd+1)));vd.push(["unicoderange",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1}else if(Ld===47)Bd=Md+1,vd.push(["operator",Ad.slice(Md,Bd),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd-1;else{let xf=od;if(Ld>=48&&Ld<=57&&(xf=ld),xf.lastIndex=Md+1,xf.test(Ad),xf.lastIndex===0?Bd=Ad.length-1:Bd=xf.lastIndex-2,xf===ld||Ld===46){let vf=Ad.charCodeAt(Bd),Af=Ad.charCodeAt(Bd+1),Df=Ad.charCodeAt(Bd+2);(vf===101||vf===69)&&(Af===45||Af===43)&&Df>=48&&Df<=57&&(ld.lastIndex=Bd+2,ld.test(Ad),ld.lastIndex===0?Bd=Ad.length-1:Bd=ld.lastIndex-2)}vd.push(["word",Ad.slice(Md,Bd+1),Od,Md-Id,Od,Bd-Id,Md]),Md=Bd}break}Md++}return vd}}),$u$1=y$4((Ra,qa)=>{var nd=class extends Error{constructor(od){super(od),this.name=this.constructor.name,this.message=od||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(od).stack}};qa.exports=nd}),Vu$1=y$4((Ra,qa)=>{var nd=uu$1(),od=cu$2(),ld=hu$1(),ud=mu$1(),dd=wu$1(),pd=vu$1(),fd=_u$1(),md=Eu$1(),vd=Tu$1(),Ad=Cu$1(),Nd=Nu$1(),Id=Ru$1(),Od=qu$1(),Md=Uu$1(),Ud=qs(),jd=Ls(),Ld=Ds(),Bd=$u$1();function Gd(qd){return qd.sort((zd,Xd)=>zd-Xd)}qa.exports=class{constructor(qd,zd){let Xd={loose:!1};this.cache=[],this.input=qd,this.options=Object.assign({},Xd,zd),this.position=0,this.unbalanced=0,this.root=new nd;let gf=new od;this.root.append(gf),this.current=gf,this.tokens=Md(qd,this.options)}parse(){return this.loop()}colon(){let qd=this.currToken;this.newNode(new ud({value:qd[1],source:{start:{line:qd[2],column:qd[3]},end:{line:qd[4],column:qd[5]}},sourceIndex:qd[6]})),this.position++}comma(){let qd=this.currToken;this.newNode(new dd({value:qd[1],source:{start:{line:qd[2],column:qd[3]},end:{line:qd[4],column:qd[5]}},sourceIndex:qd[6]})),this.position++}comment(){let qd=!1,zd=this.currToken[1].replace(/\/\*|\*\//g,""),Xd;this.options.loose&&zd.startsWith("//")&&(zd=zd.substring(2),qd=!0),Xd=new pd({value:zd,inline:qd,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Xd),this.position++}error(qd,zd){throw new Bd(qd+` at line: ${zd[2]}, column ${zd[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let qd=this.currToken[1],zd;if(qd==="+"||qd==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return zd=new vd({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(zd)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let qd=1,zd=this.position+1,Xd=this.currToken,gf;for(;zd<this.tokens.length&&qd;){let Yd=this.tokens[zd];Yd[0]==="("&&qd++,Yd[0]===")"&&qd--,zd++}if(qd&&this.error("Expected closing parenthesis",Xd),gf=this.current.last,gf&&gf.type==="func"&&gf.unbalanced<0&&(gf.unbalanced=0,this.current=gf),this.current.unbalanced++,this.newNode(new Ad({value:Xd[1],source:{start:{line:Xd[2],column:Xd[3]},end:{line:Xd[4],column:Xd[5]}},sourceIndex:Xd[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let Yd=this.nextToken,Zd=this.currToken[1],df={line:this.currToken[2],column:this.currToken[3]};for(;Yd&&Yd[0]!==")"&&this.current.unbalanced;)this.position++,Zd+=this.currToken[1],Yd=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Id({value:Zd,source:{start:df,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let qd=this.currToken;this.newNode(new Ad({value:qd[1],source:{start:{line:qd[2],column:qd[3]},end:{line:qd[4],column:qd[5]}},sourceIndex:qd[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",qd),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let qd=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=qd[1],this.position++):(this.spaces=qd[1],this.position++)}unicodeRange(){let qd=this.currToken;this.newNode(new Od({value:qd[1],source:{start:{line:qd[2],column:qd[3]},end:{line:qd[4],column:qd[5]}},sourceIndex:qd[6]})),this.position++}splitWord(){let qd=this.nextToken,zd=this.currToken[1],Xd=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,gf=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Yd,Zd;if(!gf.test(zd))for(;qd&&qd[0]==="word";){this.position++;let df=this.currToken[1];zd+=df,qd=this.nextToken}Yd=jd(zd,"@"),Zd=Gd(Ld(Ud([[0],Yd]))),Zd.forEach((df,Ef)=>{let _f=Zd[Ef+1]||zd.length,xf=zd.slice(df,_f),vf;if(~Yd.indexOf(df))vf=new ld({value:xf.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+df},end:{line:this.currToken[4],column:this.currToken[3]+(_f-1)}},sourceIndex:this.currToken[6]+Zd[Ef]});else if(Xd.test(this.currToken[1])){let Af=xf.replace(Xd,"");vf=new md({value:xf.replace(Af,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+df},end:{line:this.currToken[4],column:this.currToken[3]+(_f-1)}},sourceIndex:this.currToken[6]+Zd[Ef],unit:Af})}else vf=new(qd&&qd[0]==="("?fd:Id)({value:xf,source:{start:{line:this.currToken[2],column:this.currToken[3]+df},end:{line:this.currToken[4],column:this.currToken[3]+(_f-1)}},sourceIndex:this.currToken[6]+Zd[Ef]}),vf.type==="word"?(vf.isHex=/^#(.+)/.test(xf),vf.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(xf)):this.cache.push(this.current);this.newNode(vf)}),this.position++}string(){let qd=this.currToken,zd=this.currToken[1],Xd=/^(\"|\')/,gf=Xd.test(zd),Yd="",Zd;gf&&(Yd=zd.match(Xd)[0],zd=zd.slice(1,zd.length-1)),Zd=new Nd({value:zd,source:{start:{line:qd[2],column:qd[3]},end:{line:qd[4],column:qd[5]}},sourceIndex:qd[6],quoted:gf}),Zd.raws.quote=Yd,this.newNode(Zd),this.position++}word(){return this.splitWord()}newNode(qd){return this.spaces&&(qd.raws.before+=this.spaces,this.spaces=""),this.current.append(qd)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}),Qs={};Xs(Qs,{languages:()=>pi$3,options:()=>di$1,parsers:()=>Ks,printers:()=>Ey});var hl=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},_$4=hl,Me$3="string",Be$4="array",Ue$1="cursor",we$4="indent",ge$4="align",Fe$3="trim",ve$4="group",xe$3="fill",oe$3="if-break",$e$2="indent-if-break",We$2="line-suffix",Ye$3="line-suffix-boundary",K$4="line",ze$3="label",be$5="break-parent",bt$3=new Set([Ue$1,we$4,ge$4,Fe$3,ve$4,xe$3,oe$3,$e$2,We$2,Ye$3,K$4,ze$3,be$5]);function dl(Ra){if(typeof Ra=="string")return Me$3;if(Array.isArray(Ra))return Be$4;if(!Ra)return;let{type:qa}=Ra;if(bt$3.has(qa))return qa}var Ve$2=dl,ml=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function yl(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
|
||
Expected it to be 'string' or 'object'.`;if(Ve$2(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=ml([...bt$3].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
|
||
Expected it to be ${od}.`}var Fr$1=class extends Error{constructor(nd){super(yl(nd));wg(this,"name","InvalidDocError");this.doc=nd}},$r$1=Fr$1,Zs=()=>{},_t$2=Zs;function q$5(Ra){return{type:we$4,contents:Ra}}function en$2(Ra,qa){return{type:ge$4,contents:qa,n:Ra}}function L$4(Ra,qa={}){return _t$2(qa.expandedStates),{type:ve$4,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function tn$1(Ra){return en$2({type:"root"},Ra)}function ue$3(Ra){return en$2(-1,Ra)}function Ge$2(Ra){return{type:xe$3,parts:Ra}}function kt$1(Ra,qa="",nd={}){return{type:oe$3,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}var je$4={type:be$5},wl={type:K$4,hard:!0},A$2={type:K$4},M$4={type:K$4,soft:!0},E$4=[wl,je$4];function V$4(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}var gl=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},G$5=gl;function vl(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(Ve$2(ud)){case Be$4:return qa(ud.map(od));case xe$3:return qa({...ud,parts:ud.parts.map(od)});case oe$3:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case ve$4:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case ge$4:case we$4:case $e$2:case ze$3:case We$2:return qa({...ud,contents:od(ud.contents)});case Me$3:case Ue$1:case Fe$3:case Ye$3:case K$4:case be$5:return qa(ud);default:throw new $r$1(ud)}}}function xl(Ra){return Ra.type===K$4&&!Ra.hard?Ra.soft?"":" ":Ra.type===oe$3?Ra.flatContents:Ra}function rn$2(Ra){return vl(Ra,xl)}function bl$1(Ra){return Array.isArray(Ra)&&Ra.length>0}var ee$3=bl$1,Et$1="'",sn$1='"';function _l(Ra,qa){let nd=qa===!0||qa===Et$1?Et$1:sn$1,od=nd===Et$1?sn$1:Et$1,ld=0,ud=0;for(let dd of Ra)dd===nd?ld++:dd===od&&ud++;return ld>ud?od:nd}var nn$2=_l;function kl(Ra,qa,nd){let od=qa==='"'?"'":'"',ld=_$4(!1,Ra,/\\(.)|(["'])/gsu,(ud,dd,pd)=>dd===od?dd:pd===qa?"\\"+pd:pd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(dd)?dd:"\\"+dd));return qa+ld+qa}var on$1=kl;function El(Ra,qa){let nd=Ra.slice(1,-1),od=qa.parser==="json"||qa.parser==="jsonc"||qa.parser==="json5"&&qa.quoteProps==="preserve"&&!qa.singleQuote?'"':qa.__isInHtmlAttribute?"'":nn$2(nd,qa.singleQuote);return on$1(nd,od,!(qa.parser==="css"||qa.parser==="less"||qa.parser==="scss"||qa.__embeddedInHtml))}var St$2=El,Wr$1=class extends Error{constructor(nd,od,ld="type"){super(`Unexpected ${od} node ${ld}: ${JSON.stringify(nd[ld])}.`);wg(this,"name","UnexpectedNodeError");this.node=nd}},an$3=Wr$1;function Sl(Ra){return(Ra==null?void 0:Ra.type)==="front-matter"}var _e$3=Sl,Tl=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function un$2(Ra,qa,nd){if(_e$3(Ra)&&Ra.language==="yaml"&&delete qa.value,Ra.type==="css-comment"&&nd.type==="css-root"&&nd.nodes.length>0&&((nd.nodes[0]===Ra||_e$3(nd.nodes[0])&&nd.nodes[1]===Ra)&&(delete qa.text,/^\*\s*@(?:format|prettier)\s*$/u.test(Ra.text))||nd.type==="css-root"&&G$5(!1,nd.nodes,-1)===Ra))return null;if(Ra.type==="value-root"&&delete qa.text,(Ra.type==="media-query"||Ra.type==="media-query-list"||Ra.type==="media-feature-expression")&&delete qa.value,Ra.type==="css-rule"&&delete qa.params,(Ra.type==="media-feature"||Ra.type==="media-keyword"||Ra.type==="media-type"||Ra.type==="media-unknown"||Ra.type==="media-url"||Ra.type==="media-value"||Ra.type==="selector-attribute"||Ra.type==="selector-string"||Ra.type==="selector-class"||Ra.type==="selector-combinator"||Ra.type==="value-string")&&Ra.value&&(qa.value=Ol(Ra.value)),Ra.type==="selector-combinator"&&(qa.value=_$4(!1,qa.value,/\s+/gu," ")),Ra.type==="media-feature"&&(qa.value=_$4(!1,qa.value," ","")),(Ra.type==="value-word"&&(Ra.isColor&&Ra.isHex||["initial","inherit","unset","revert"].includes(Ra.value.toLowerCase()))||Ra.type==="media-feature"||Ra.type==="selector-root-invalid"||Ra.type==="selector-pseudo")&&(qa.value=qa.value.toLowerCase()),Ra.type==="css-decl"&&(qa.prop=Ra.prop.toLowerCase()),(Ra.type==="css-atrule"||Ra.type==="css-import")&&(qa.name=Ra.name.toLowerCase()),Ra.type==="value-number"&&(qa.unit=Ra.unit.toLowerCase()),Ra.type==="value-unknown"&&(qa.value=_$4(!1,qa.value,/;$/gu,"")),Ra.type==="selector-attribute"&&(qa.attribute=Ra.attribute.trim(),Ra.namespace&&typeof Ra.namespace=="string"&&(qa.namespace=Ra.namespace.trim()||!0),Ra.value&&(qa.value=_$4(!1,qa.value.trim(),/^["']|["']$/gu,""),delete qa.quoted)),(Ra.type==="media-value"||Ra.type==="media-type"||Ra.type==="value-number"||Ra.type==="selector-root-invalid"||Ra.type==="selector-class"||Ra.type==="selector-combinator"||Ra.type==="selector-tag")&&Ra.value&&(qa.value=_$4(!1,qa.value,/([\d+.e-]+)([a-z]*)/giu,(od,ld,ud)=>{let dd=Number(ld);return Number.isNaN(dd)?od:dd+ud.toLowerCase()})),Ra.type==="selector-tag"){let od=qa.value.toLowerCase();["from","to"].includes(od)&&(qa.value=od)}if(Ra.type==="css-atrule"&&Ra.name.toLowerCase()==="supports"&&delete qa.value,Ra.type==="selector-unknown"&&delete qa.value,Ra.type==="value-comma_group"){let od=Ra.groups.findIndex(ld=>ld.type==="value-number"&&ld.unit==="...");od!==-1&&(qa.groups[od].unit="",qa.groups.splice(od+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(Ra.type==="value-comma_group"&&Ra.groups.some(od=>od.type==="value-atword"&&od.value.endsWith("[")||od.type==="value-word"&&od.value.startsWith("]")))return{type:"value-atword",value:Ra.groups.map(od=>od.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}un$2.ignoredProperties=Tl;function Ol(Ra){return _$4(!1,_$4(!1,Ra,"'",'"'),/\\([^\da-f])/giu,"$1")}var ln$2=un$2;async function Cl(Ra,qa){if(Ra.language==="yaml"){let nd=Ra.value.trim(),od=nd?await qa(nd,{parser:"yaml"}):"";return tn$1([Ra.startDelimiter,Ra.explicitLanguage,E$4,od,od?E$4:"",Ra.endDelimiter])}}var cn$3=Cl;function fn$2(Ra){let{node:qa}=Ra;if(qa.type==="front-matter")return async nd=>{let od=await cn$3(qa,nd);return od?[od,E$4]:void 0}}fn$2.getVisitorKeys=Ra=>Ra.type==="css-root"?["frontMatter"]:[];var pn$2=fn$2,He$3=null;function Ke$3(Ra){if(He$3!==null&&typeof He$3.property){let qa=He$3;return He$3=Ke$3.prototype=null,qa}return He$3=Ke$3.prototype=Ra??Object.create(null),new Ke$3}var Al=10;for(let Ra=0;Ra<=Al;Ra++)Ke$3();function Yr$1(Ra){return Ke$3(Ra)}function Nl(Ra,qa="type"){Yr$1(Ra);function nd(od){let ld=od[qa],ud=Ra[ld];if(!Array.isArray(ud))throw Object.assign(new Error(`Missing visitor keys for '${ld}'.`),{node:od});return ud}return nd}var hn$1=Nl,Pl={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},dn$2=Pl,Rl=hn$1(dn$2),mn$2=Rl;function Il(Ra,qa){let nd=0;for(let od=0;od<Ra.line-1;++od)nd=qa.indexOf(`
|
||
`,nd)+1;return nd+Ra.column}var zr$1=Il;function Tt$2(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var Ot$2=Tt$2(" "),yn$2=Tt$2(",; "),Ct$1=Tt$2(/[^\n\r]/u);function wn$1(Ra,qa){var nd,od,ld;if(typeof((od=(nd=Ra.source)==null?void 0:nd.start)==null?void 0:od.offset)=="number")return Ra.source.start.offset;if(typeof Ra.sourceIndex=="number")return Ra.sourceIndex;if((ld=Ra.source)!=null&&ld.start)return zr$1(Ra.source.start,qa);throw Object.assign(new Error("Can not locate node."),{node:Ra})}function Vr$1(Ra,qa){var nd,od;if(Ra.type==="css-comment"&&Ra.inline)return Ct$1(qa,Ra.source.startOffset);if(typeof((od=(nd=Ra.source)==null?void 0:nd.end)==null?void 0:od.offset)=="number")return Ra.source.end.offset;if(Ra.source){if(Ra.source.end)return zr$1(Ra.source.end,qa);if(ee$3(Ra.nodes))return Vr$1(G$5(!1,Ra.nodes,-1),qa)}return null}function Gr$1(Ra,qa){Ra.source&&(Ra.source.startOffset=wn$1(Ra,qa),Ra.source.endOffset=Vr$1(Ra,qa));for(let nd in Ra){let od=Ra[nd];nd==="source"||!od||typeof od!="object"||(od.type==="value-root"||od.type==="value-unknown"?gn$2(od,ql(Ra),od.text||od.value):Gr$1(od,qa))}}function gn$2(Ra,qa,nd){Ra.source&&(Ra.source.startOffset=wn$1(Ra,nd)+qa,Ra.source.endOffset=Vr$1(Ra,nd)+qa);for(let od in Ra){let ld=Ra[od];od==="source"||!ld||typeof ld!="object"||gn$2(ld,qa,nd)}}function ql(Ra){var qa;let nd=Ra.source.startOffset;return typeof Ra.prop=="string"&&(nd+=Ra.prop.length),Ra.type==="css-atrule"&&typeof Ra.name=="string"&&(nd+=1+Ra.name.length+Ra.raws.afterName.match(/^\s*:?\s*/u)[0].length),Ra.type!=="css-atrule"&&typeof((qa=Ra.raws)==null?void 0:qa.between)=="string"&&(nd+=Ra.raws.between.length),nd}function vn$1(Ra){let qa="initial",nd="initial",od,ld=!1,ud=[];for(let dd=0;dd<Ra.length;dd++){let pd=Ra[dd];switch(qa){case"initial":if(pd==="'"){qa="single-quotes";continue}if(pd==='"'){qa="double-quotes";continue}if((pd==="u"||pd==="U")&&Ra.slice(dd,dd+4).toLowerCase()==="url("){qa="url",dd+=3;continue}if(pd==="*"&&Ra[dd-1]==="/"){qa="comment-block";continue}if(pd==="/"&&Ra[dd-1]==="/"){qa="comment-inline",od=dd-1;continue}continue;case"single-quotes":if(pd==="'"&&Ra[dd-1]!=="\\"&&(qa=nd,nd="initial"),pd===`
|
||
`||pd==="\r")return Ra;continue;case"double-quotes":if(pd==='"'&&Ra[dd-1]!=="\\"&&(qa=nd,nd="initial"),pd===`
|
||
`||pd==="\r")return Ra;continue;case"url":if(pd===")"&&(qa="initial"),pd===`
|
||
`||pd==="\r")return Ra;if(pd==="'"){qa="single-quotes",nd="url";continue}if(pd==='"'){qa="double-quotes",nd="url";continue}continue;case"comment-block":pd==="/"&&Ra[dd-1]==="*"&&(qa="initial");continue;case"comment-inline":(pd==='"'||pd==="'"||pd==="*")&&(ld=!0),(pd===`
|
||
`||pd==="\r")&&(ld&&ud.push([od,dd]),qa="initial",ld=!1);continue}}for(let[dd,pd]of ud)Ra=Ra.slice(0,dd)+_$4(!1,Ra.slice(dd,pd),/["'*]/gu," ")+Ra.slice(pd);return Ra}function N$4(Ra){var qa;return(qa=Ra.source)==null?void 0:qa.startOffset}function P$5(Ra){var qa;return(qa=Ra.source)==null?void 0:qa.endOffset}var Ll=/\*\/$/,Dl=/^\/\*\*?/,kn$1=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ml=/(^|\s+)\/\/([^\n\r]*)/g,xn$1=/^(\r?\n)+/,Bl=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,bn$2=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Ul=/(\r?\n|^) *\* ?/g,En$1=[];function Sn$1(Ra){let qa=Ra.match(kn$1);return qa?qa[0].trimStart():""}function Tn$1(Ra){let qa=Ra.match(kn$1),nd=qa==null?void 0:qa[0];return nd==null?Ra:Ra.slice(nd.length)}function On$1(Ra){let qa=`
|
||
`;Ra=_$4(!1,Ra.replace(Dl,"").replace(Ll,""),Ul,"$1");let nd="";for(;nd!==Ra;)nd=Ra,Ra=_$4(!1,Ra,Bl,`${qa}$1 $2${qa}`);Ra=Ra.replace(xn$1,"").trimEnd();let od=Object.create(null),ld=_$4(!1,Ra,bn$2,"").replace(xn$1,"").trimEnd(),ud;for(;ud=bn$2.exec(Ra);){let dd=_$4(!1,ud[2],Ml,"");if(typeof od[ud[1]]=="string"||Array.isArray(od[ud[1]])){let pd=od[ud[1]];od[ud[1]]=[...En$1,...Array.isArray(pd)?pd:[pd],dd]}else od[ud[1]]=dd}return{comments:ld,pragmas:od}}function Cn$1({comments:Ra="",pragmas:qa={}}){let nd=`
|
||
`,od="/**",ld=" *",ud=" */",dd=Object.keys(qa),pd=dd.flatMap(md=>_n$1(md,qa[md])).map(md=>`${ld} ${md}${nd}`).join("");if(!Ra){if(dd.length===0)return"";if(dd.length===1&&!Array.isArray(qa[dd[0]])){let md=qa[dd[0]];return`${od} ${_n$1(dd[0],md)[0]}${ud}`}}let fd=Ra.split(nd).map(md=>`${ld} ${md}`).join(nd)+nd;return od+nd+(Ra?fd:"")+(Ra&&dd.length>0?ld+nd:"")+pd+ud}function _n$1(Ra,qa){return[...En$1,...Array.isArray(qa)?qa:[qa]].map(nd=>`@${Ra} ${nd}`.trim())}function Fl(Ra){if(!Ra.startsWith("#!"))return"";let qa=Ra.indexOf(`
|
||
`);return qa===-1?Ra:Ra.slice(0,qa)}var An$1=Fl;function Nn$1(Ra){let qa=An$1(Ra);qa&&(Ra=Ra.slice(qa.length+1));let nd=Sn$1(Ra),{pragmas:od,comments:ld}=On$1(nd);return{shebang:qa,text:Ra,pragmas:od,comments:ld}}function Pn$1(Ra){let{pragmas:qa}=Nn$1(Ra);return Object.prototype.hasOwnProperty.call(qa,"prettier")||Object.prototype.hasOwnProperty.call(qa,"format")}function Rn(Ra){let{shebang:qa,text:nd,pragmas:od,comments:ld}=Nn$1(Ra),ud=Tn$1(nd),dd=Cn$1({pragmas:{format:"",...od},comments:ld.trimStart()});return(qa?`${qa}
|
||
`:"")+dd+(ud.startsWith(`
|
||
`)?`
|
||
`:`
|
||
|
||
`)+ud}var Qe$2=3;function $l(Ra){let qa=Ra.slice(0,Qe$2);if(qa!=="---"&&qa!=="+++")return;let nd=Ra.indexOf(`
|
||
`,Qe$2);if(nd===-1)return;let od=Ra.slice(Qe$2,nd).trim(),ld=Ra.indexOf(`
|
||
${qa}`,nd),ud=od;if(ud||(ud=qa==="+++"?"toml":"yaml"),ld===-1&&qa==="---"&&ud==="yaml"&&(ld=Ra.indexOf(`
|
||
...`,nd)),ld===-1)return;let dd=ld+1+Qe$2,pd=Ra.charAt(dd+1);if(!/\s?/u.test(pd))return;let fd=Ra.slice(0,dd);return{type:"front-matter",language:ud,explicitLanguage:od,value:Ra.slice(nd+1,ld),startDelimiter:qa,endDelimiter:fd.slice(-Qe$2),raw:fd}}function Wl(Ra){let qa=$l(Ra);if(!qa)return{content:Ra};let{raw:nd}=qa;return{frontMatter:qa,content:_$4(!1,nd,/[^\n]/gu," ")+Ra.slice(nd.length)}}var Je$2=Wl;function In(Ra){return Pn$1(Je$2(Ra).content)}function qn$1(Ra){let{frontMatter:qa,content:nd}=Je$2(Ra);return(qa?qa.raw+`
|
||
|
||
`:"")+Rn(nd)}var Yl=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function Ln(Ra){var qa,nd;return(nd=(qa=Ra.findAncestor(od=>od.type==="css-decl"))==null?void 0:qa.prop)==null?void 0:nd.toLowerCase()}var zl=new Set(["initial","inherit","unset","revert"]);function Dn$1(Ra){return zl.has(Ra.toLowerCase())}function Mn(Ra,qa){var nd;let od=Ra.findAncestor(ld=>ld.type==="css-atrule");return((nd=od==null?void 0:od.name)==null?void 0:nd.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(qa.toLowerCase())}function te$3(Ra){return Ra.includes("$")||Ra.includes("@")||Ra.includes("#")||Ra.startsWith("%")||Ra.startsWith("--")||Ra.startsWith(":--")||Ra.includes("(")&&Ra.includes(")")?Ra:Ra.toLowerCase()}function ke$4(Ra,qa){var nd;let od=Ra.findAncestor(ld=>ld.type==="value-func");return((nd=od==null?void 0:od.value)==null?void 0:nd.toLowerCase())===qa}function Bn$1(Ra){var qa;let nd=Ra.findAncestor(ld=>ld.type==="css-rule"),od=(qa=nd==null?void 0:nd.raws)==null?void 0:qa.selector;return od&&(od.startsWith(":import")||od.startsWith(":export"))}function Ee$4(Ra,qa){let nd=Array.isArray(qa)?qa:[qa],od=Ra.findAncestor(ld=>ld.type==="css-atrule");return od&&nd.includes(od.name.toLowerCase())}function Un$1(Ra){var qa;let{node:nd}=Ra;return nd.groups[0].value==="url"&&nd.groups.length===2&&((qa=Ra.findAncestor(od=>od.type==="css-atrule"))==null?void 0:qa.name)==="import"}function Fn$1(Ra){return Ra.type==="value-func"&&Ra.value.toLowerCase()==="url"}function $n$1(Ra){return Ra.type==="value-func"&&Ra.value.toLowerCase()==="var"}function Wn(Ra){let{selector:qa}=Ra;return qa?typeof qa=="string"&&/^@.+:.*$/u.test(qa)||qa.value&&/^@.+:.*$/u.test(qa.value):!1}function Yn(Ra){return Ra.type==="value-word"&&["from","through","end"].includes(Ra.value)}function zn$1(Ra){return Ra.type==="value-word"&&["and","or","not"].includes(Ra.value)}function Vn$1(Ra){return Ra.type==="value-word"&&Ra.value==="in"}function At$1(Ra){return Ra.type==="value-operator"&&Ra.value==="*"}function Xe$2(Ra){return Ra.type==="value-operator"&&Ra.value==="/"}function Q$5(Ra){return Ra.type==="value-operator"&&Ra.value==="+"}function le$3(Ra){return Ra.type==="value-operator"&&Ra.value==="-"}function Vl(Ra){return Ra.type==="value-operator"&&Ra.value==="%"}function Nt$2(Ra){return At$1(Ra)||Xe$2(Ra)||Q$5(Ra)||le$3(Ra)||Vl(Ra)}function Gn$1(Ra){return Ra.type==="value-word"&&["==","!="].includes(Ra.value)}function jn(Ra){return Ra.type==="value-word"&&["<",">","<=",">="].includes(Ra.value)}function Ze$2(Ra,qa){return qa.parser==="scss"&&Ra.type==="css-atrule"&&["if","else","for","each","while"].includes(Ra.name)}function Hr$1(Ra){var qa;return((qa=Ra.raws)==null?void 0:qa.params)&&/^\(\s*\)$/u.test(Ra.raws.params)}function Pt$1(Ra){return Ra.name.startsWith("prettier-placeholder")}function Hn(Ra){return Ra.prop.startsWith("@prettier-placeholder")}function Kn$1(Ra,qa){return Ra.value==="$$"&&Ra.type==="value-func"&&(qa==null?void 0:qa.type)==="value-word"&&!qa.raws.before}function Qn$1(Ra){var qa,nd;return((qa=Ra.value)==null?void 0:qa.type)==="value-root"&&((nd=Ra.value.group)==null?void 0:nd.type)==="value-value"&&Ra.prop.toLowerCase()==="composes"}function Jn$1(Ra){var qa,nd,od;return((od=(nd=(qa=Ra.value)==null?void 0:qa.group)==null?void 0:nd.group)==null?void 0:od.type)==="value-paren_group"&&Ra.value.group.group.open!==null&&Ra.value.group.group.close!==null}function ce$5(Ra){var qa;return((qa=Ra.raws)==null?void 0:qa.before)===""}function Rt$2(Ra){var qa,nd;return Ra.type==="value-comma_group"&&((nd=(qa=Ra.groups)==null?void 0:qa[1])==null?void 0:nd.type)==="value-colon"}function jr$1(Ra){var qa;return Ra.type==="value-paren_group"&&((qa=Ra.groups)==null?void 0:qa[0])&&Rt$2(Ra.groups[0])}function Kr$1(Ra,qa){var nd;if(qa.parser!=="scss")return!1;let{node:od}=Ra;if(od.groups.length===0)return!1;let ld=Ra.grandparent;if(!jr$1(od)&&!(ld&&jr$1(ld)))return!1;let ud=Ra.findAncestor(dd=>dd.type==="css-decl");return!!((nd=ud==null?void 0:ud.prop)!=null&&nd.startsWith("$")||jr$1(ld)||ld.type==="value-func")}function Qr$1(Ra){return Ra.type==="value-comment"&&Ra.inline}function It$2(Ra){return Ra.type==="value-word"&&Ra.value==="#"}function Jr$1(Ra){return Ra.type==="value-word"&&Ra.value==="{"}function qt$3(Ra){return Ra.type==="value-word"&&Ra.value==="}"}function et$3(Ra){return["value-word","value-atword"].includes(Ra.type)}function Lt$1(Ra){return(Ra==null?void 0:Ra.type)==="value-colon"}function Xn$1(Ra,qa){if(!Rt$2(qa))return!1;let{groups:nd}=qa,od=nd.indexOf(Ra);return od===-1?!1:Lt$1(nd[od+1])}function Zn$1(Ra){return Ra.value&&["not","and","or"].includes(Ra.value.toLowerCase())}function ei$1(Ra){return Ra.type!=="value-func"?!1:Yl.has(Ra.value.toLowerCase())}function Se$4(Ra){return/\/\//u.test(Ra.split(/[\n\r]/u).pop())}function tt$3(Ra){return(Ra==null?void 0:Ra.type)==="value-atword"&&Ra.value.startsWith("prettier-placeholder-")}function ti$1(Ra,qa){var nd,od;if(((nd=Ra.open)==null?void 0:nd.value)!=="("||((od=Ra.close)==null?void 0:od.value)!==")"||Ra.groups.some(ld=>ld.type!=="value-comma_group"))return!1;if(qa.type==="value-comma_group"){let ld=qa.groups.indexOf(Ra)-1,ud=qa.groups[ld];if((ud==null?void 0:ud.type)==="value-word"&&ud.value==="with")return!0}return!1}function rt$2(Ra){var qa,nd;return Ra.type==="value-paren_group"&&((qa=Ra.open)==null?void 0:qa.value)==="("&&((nd=Ra.close)==null?void 0:nd.value)===")"}function Gl(Ra,qa,nd){var od;let{node:ld}=Ra,ud=Ra.parent,dd=Ra.grandparent,pd=Ln(Ra),fd=pd&&ud.type==="value-value"&&(pd==="grid"||pd.startsWith("grid-template")),md=Ra.findAncestor(jd=>jd.type==="css-atrule"),vd=md&&Ze$2(md,qa),Ad=ld.groups.some(jd=>Qr$1(jd)),Nd=Ra.map(nd,"groups"),Id=[],Od=ke$4(Ra,"url"),Md=!1,Ud=!1;for(let jd=0;jd<ld.groups.length;++jd){Id.push(Nd[jd]);let Ld=ld.groups[jd-1],Bd=ld.groups[jd],Gd=ld.groups[jd+1],qd=ld.groups[jd+2];if(Od){(Gd&&Q$5(Gd)||Q$5(Bd))&&Id.push(" ");continue}if(Ee$4(Ra,"forward")&&Bd.type==="value-word"&&Bd.value&&Ld!==void 0&&Ld.type==="value-word"&&Ld.value==="as"&&Gd.type==="value-operator"&&Gd.value==="*"||!Gd||Bd.type==="value-word"&&Bd.value.endsWith("-")&&tt$3(Gd))continue;if(Bd.type==="value-string"&&Bd.quoted){let df=Bd.value.lastIndexOf("#{"),Ef=Bd.value.lastIndexOf("}");df!==-1&&Ef!==-1?Md=df>Ef:df!==-1?Md=!0:Ef!==-1&&(Md=!1)}if(Md||Lt$1(Bd)||Lt$1(Gd)||Bd.type==="value-atword"&&(Bd.value===""||Bd.value.endsWith("["))||Gd.type==="value-word"&&Gd.value.startsWith("]")||Bd.value==="~"||Bd.type!=="value-string"&&Bd.value&&Bd.value.includes("\\")&&Gd&&Gd.type!=="value-comment"||Ld!=null&&Ld.value&&Ld.value.indexOf("\\")===Ld.value.length-1&&Bd.type==="value-operator"&&Bd.value==="/"||Bd.value==="\\"||Kn$1(Bd,Gd)||It$2(Bd)||Jr$1(Bd)||qt$3(Gd)||Jr$1(Gd)&&ce$5(Gd)||qt$3(Bd)&&ce$5(Gd)||Bd.value==="--"&&It$2(Gd))continue;let zd=Nt$2(Bd),Xd=Nt$2(Gd);if((zd&&It$2(Gd)||Xd&&qt$3(Bd))&&ce$5(Gd)||!Ld&&Xe$2(Bd)||ke$4(Ra,"calc")&&(Q$5(Bd)||Q$5(Gd)||le$3(Bd)||le$3(Gd))&&ce$5(Gd))continue;let gf=(Q$5(Bd)||le$3(Bd))&&jd===0&&(Gd.type==="value-number"||Gd.isHex)&&dd&&ei$1(dd)&&!ce$5(Gd),Yd=(qd==null?void 0:qd.type)==="value-func"||qd&&et$3(qd)||Bd.type==="value-func"||et$3(Bd),Zd=Gd.type==="value-func"||et$3(Gd)||(Ld==null?void 0:Ld.type)==="value-func"||Ld&&et$3(Ld);if(qa.parser==="scss"&&zd&&Bd.value==="-"&&Gd.type==="value-func"&&P$5(Bd)!==N$4(Gd)){Id.push(" ");continue}if(!(!(At$1(Gd)||At$1(Bd))&&!ke$4(Ra,"calc")&&!gf&&(Xe$2(Gd)&&!Yd||Xe$2(Bd)&&!Zd||Q$5(Gd)&&!Yd||Q$5(Bd)&&!Zd||le$3(Gd)||le$3(Bd))&&(ce$5(Gd)||zd&&(!Ld||Ld&&Nt$2(Ld))))&&!((qa.parser==="scss"||qa.parser==="less")&&zd&&Bd.value==="-"&&rt$2(Gd)&&P$5(Bd)===N$4(Gd.open)&&Gd.open.value==="(")){if(Qr$1(Bd)){if(ud.type==="value-paren_group"){Id.push(ue$3(E$4));continue}Id.push(E$4);continue}if(vd&&(Gn$1(Gd)||jn(Gd)||zn$1(Gd)||Vn$1(Bd)||Yn(Bd))){Id.push(" ");continue}if(md&&md.name.toLowerCase()==="namespace"){Id.push(" ");continue}if(fd){Bd.source&&Gd.source&&Bd.source.start.line!==Gd.source.start.line?(Id.push(E$4),Ud=!0):Id.push(" ");continue}if(Xd){Id.push(" ");continue}if((Gd==null?void 0:Gd.value)!=="..."&&!(tt$3(Bd)&&tt$3(Gd)&&P$5(Bd)===N$4(Gd))){if(tt$3(Bd)&&rt$2(Gd)&&P$5(Bd)===N$4(Gd.open)){Id.push(M$4);continue}if(Bd.value==="with"&&rt$2(Gd)){Id.push(" ");continue}(od=Bd.value)!=null&&od.endsWith("#")&&Gd.value==="{"&&rt$2(Gd.group)||Id.push(A$2)}}}return Ad&&Id.push(je$4),Ud&&Id.unshift(E$4),vd?L$4(q$5(Id)):Un$1(Ra)?L$4(Ge$2(Id)):L$4(q$5(Ge$2(Id)))}var ri$1=Gl;function jl(Ra){return Ra.length===1?Ra:Ra.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var si$1=jl,Xr$1=new Map([["em","em"],["rem","rem"],["ex","ex"],["rex","rex"],["cap","cap"],["rcap","rcap"],["ch","ch"],["rch","rch"],["ic","ic"],["ric","ric"],["lh","lh"],["rlh","rlh"],["vw","vw"],["svw","svw"],["lvw","lvw"],["dvw","dvw"],["vh","vh"],["svh","svh"],["lvh","lvh"],["dvh","dvh"],["vi","vi"],["svi","svi"],["lvi","lvi"],["dvi","dvi"],["vb","vb"],["svb","svb"],["lvb","lvb"],["dvb","dvb"],["vmin","vmin"],["svmin","svmin"],["lvmin","lvmin"],["dvmin","dvmin"],["vmax","vmax"],["svmax","svmax"],["lvmax","lvmax"],["dvmax","dvmax"],["cm","cm"],["mm","mm"],["q","Q"],["in","in"],["pt","pt"],["pc","pc"],["px","px"],["deg","deg"],["grad","grad"],["rad","rad"],["turn","turn"],["s","s"],["ms","ms"],["hz","Hz"],["khz","kHz"],["dpi","dpi"],["dpcm","dpcm"],["dppx","dppx"],["x","x"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"]]);function ni$1(Ra){let qa=Ra.toLowerCase();return Xr$1.has(qa)?Xr$1.get(qa):Ra}var ii$2=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu,Hl=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu,Kl=/[a-z]+/giu,Ql=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu,Jl=new RegExp(ii$2.source+`|(${Ql.source})?(${Hl.source})(${Kl.source})?`,"giu");function W$5(Ra,qa){return _$4(!1,Ra,ii$2,nd=>St$2(nd,qa))}function oi$1(Ra,qa){let nd=qa.singleQuote?"'":'"';return Ra.includes('"')||Ra.includes("'")?Ra:nd+Ra+nd}function fe$4(Ra){return _$4(!1,Ra,Jl,(qa,nd,od,ld,ud)=>!od&&ld?Zr$1(ld)+te$3(ud||""):qa)}function Zr$1(Ra){return si$1(Ra).replace(/\.0(?=$|e)/u,"")}function ai$2(Ra){return Ra.trailingComma==="es5"||Ra.trailingComma==="all"}function Xl(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
|
||
`)return qa-2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
|
||
`)return qa+2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var Dt$1=Xl;function Zl(Ra,qa,nd={}){let od=Ot$2(Ra,nd.backwards?qa-1:qa,nd),ld=Dt$1(Ra,od,nd);return od!==ld}var Mt$2=Zl;function ec(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var ui$1=ec;function tc(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?Ct$1(Ra,qa):qa}var li$1=tc;function rc(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=yn$2(Ra,od),od=ui$1(Ra,od),od=Ot$2(Ra,od);return od=li$1(Ra,od),od=Dt$1(Ra,od),od!==!1&&Mt$2(Ra,od)}var Bt$2=rc;function sc({node:Ra,parent:qa},nd){return!!(Ra.source&&nd.originalText.slice(N$4(Ra),N$4(qa.close)).trimEnd().endsWith(","))}function nc(Ra,qa){return $n$1(Ra.grandparent)&&sc(Ra,qa)?",":Ra.node.type!=="value-comment"&&!(Ra.node.type==="value-comma_group"&&Ra.node.groups.every(nd=>nd.type==="value-comment"))&&ai$2(qa)&&Ra.callParent(()=>Kr$1(Ra,qa))?kt$1(","):""}function ci$2(Ra,qa,nd){let{node:od,parent:ld}=Ra,ud=Ra.map(({node:Id})=>typeof Id=="string"?Id:nd(),"groups");if(ld&&Fn$1(ld)&&(od.groups.length===1||od.groups.length>0&&od.groups[0].type==="value-comma_group"&&od.groups[0].groups.length>0&&od.groups[0].groups[0].type==="value-word"&&od.groups[0].groups[0].value.startsWith("data:")))return[od.open?nd("open"):"",V$4(",",ud),od.close?nd("close"):""];if(!od.open){let Id=es(Ra),Od=V$4([",",Id?E$4:A$2],ud);return q$5(Id?[E$4,Od]:L$4(Ge$2(Od)))}let dd=Ra.map(({node:Id,isLast:Od,index:Md})=>{var Ud;let jd=ud[Md];if(Rt$2(Id)&&Id.type==="value-comma_group"&&Id.groups&&Id.groups[0].type!=="value-paren_group"&&((Ud=Id.groups[2])==null?void 0:Ud.type)==="value-paren_group"){let{parts:Bd}=jd.contents.contents;Bd[1]=L$4(Bd[1]),jd=L$4(ue$3(jd))}let Ld=[jd,Od?nc(Ra,qa):","];if(!Od&&Id.type==="value-comma_group"&&ee$3(Id.groups)){let Bd=G$5(!1,Id.groups,-1);!Bd.source&&Bd.close&&(Bd=Bd.close),Bd.source&&Bt$2(qa.originalText,P$5(Bd))&&Ld.push(E$4)}return Ld},"groups"),pd=Xn$1(od,ld),fd=ti$1(od,ld),md=Kr$1(Ra,qa),vd=fd||md&&!pd,Ad=fd||pd,Nd=L$4([od.open?nd("open"):"",q$5([M$4,V$4(A$2,dd)]),M$4,od.close?nd("close"):""],{shouldBreak:vd});return Ad?ue$3(Nd):Nd}function es(Ra){return Ra.match(qa=>qa.type==="value-paren_group"&&!qa.open&&qa.groups.some(nd=>nd.type==="value-comma_group"),(qa,nd)=>nd==="group"&&qa.type==="value-value",(qa,nd)=>nd==="group"&&qa.type==="value-root",(qa,nd)=>nd==="value"&&(qa.type==="css-decl"&&!qa.prop.startsWith("--")||qa.type==="css-atrule"&&qa.variable))}function ic(Ra,qa,nd){let od=[];return Ra.each(()=>{let{node:ld,previous:ud}=Ra;if((ud==null?void 0:ud.type)==="css-comment"&&ud.text.trim()==="prettier-ignore"?od.push(qa.originalText.slice(N$4(ld),P$5(ld))):od.push(nd()),Ra.isLast)return;let{next:dd}=Ra;dd.type==="css-comment"&&!Mt$2(qa.originalText,N$4(dd),{backwards:!0})&&!_e$3(ld)||dd.type==="css-atrule"&&dd.name==="else"&&ld.type!=="css-comment"?od.push(" "):(od.push(qa.__isHTMLStyleAttribute?A$2:E$4),Bt$2(qa.originalText,P$5(ld))&&!_e$3(ld)&&od.push(E$4))},"nodes"),od}var Te$3=ic;function oc(Ra,qa,nd){var od,ld,ud,dd,pd,fd;let{node:md}=Ra;switch(md.type){case"front-matter":return[md.raw,E$4];case"css-root":{let vd=Te$3(Ra,qa,nd),Ad=md.raws.after.trim();return Ad.startsWith(";")&&(Ad=Ad.slice(1).trim()),[md.frontMatter?[nd("frontMatter"),E$4]:"",vd,Ad?` ${Ad}`:"",md.nodes.length>0?E$4:""]}case"css-comment":{let vd=md.inline||md.raws.inline,Ad=qa.originalText.slice(N$4(md),P$5(md));return vd?Ad.trimEnd():Ad}case"css-rule":return[nd("selector"),md.important?" !important":"",md.nodes?[((od=md.selector)==null?void 0:od.type)==="selector-unknown"&&Se$4(md.selector.value)?A$2:md.selector?" ":"","{",md.nodes.length>0?q$5([E$4,Te$3(Ra,qa,nd)]):"",E$4,"}",Wn(md)?";":""]:";"];case"css-decl":{let vd=Ra.parent,{between:Ad}=md.raws,Nd=Ad.trim(),Id=Nd===":",Od=typeof md.value=="string"&&/^ *$/u.test(md.value),Md=typeof md.value=="string"?md.value:nd("value");return Md=Qn$1(md)?rn$2(Md):Md,!Id&&Se$4(Nd)&&!((ud=(ld=md.value)==null?void 0:ld.group)!=null&&ud.group&&Ra.call(()=>es(Ra),"value","group","group"))&&(Md=q$5([E$4,ue$3(Md)])),[_$4(!1,md.raws.before,/[\s;]/gu,""),vd.type==="css-atrule"&&vd.variable||Bn$1(Ra)?md.prop:te$3(md.prop),Nd.startsWith("//")?" ":"",Nd,md.extend||Od?"":" ",qa.parser==="less"&&md.extend&&md.selector?["extend(",nd("selector"),")"]:"",Md,md.raws.important?md.raws.important.replace(/\s*!\s*important/iu," !important"):md.important?" !important":"",md.raws.scssDefault?md.raws.scssDefault.replace(/\s*!default/iu," !default"):md.scssDefault?" !default":"",md.raws.scssGlobal?md.raws.scssGlobal.replace(/\s*!global/iu," !global"):md.scssGlobal?" !global":"",md.nodes?[" {",q$5([M$4,Te$3(Ra,qa,nd)]),M$4,"}"]:Hn(md)&&!vd.raws.semicolon&&qa.originalText[P$5(md)-1]!==";"?"":qa.__isHTMLStyleAttribute&&Ra.isLast?kt$1(";"):";"]}case"css-atrule":{let vd=Ra.parent,Ad=Pt$1(md)&&!vd.raws.semicolon&&qa.originalText[P$5(md)-1]!==";";if(qa.parser==="less"){if(md.mixin)return[nd("selector"),md.important?" !important":"",Ad?"":";"];if(md.function)return[md.name,typeof md.params=="string"?md.params:nd("params"),Ad?"":";"];if(md.variable)return["@",md.name,": ",md.value?nd("value"):"",md.raws.between.trim()?md.raws.between.trim()+" ":"",md.nodes?["{",q$5([md.nodes.length>0?M$4:"",Te$3(Ra,qa,nd)]),M$4,"}"]:"",Ad?"":";"]}let Nd=md.name==="import"&&((dd=md.params)==null?void 0:dd.type)==="value-unknown"&&md.params.value.endsWith(";");return["@",Hr$1(md)||md.name.endsWith(":")||Pt$1(md)?md.name:te$3(md.name),md.params?[Hr$1(md)?"":Pt$1(md)?md.raws.afterName===""?"":md.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(md.raws.afterName)?[E$4,E$4]:/^\s*\n/u.test(md.raws.afterName)?E$4:" ":" ",typeof md.params=="string"?md.params:nd("params")]:"",md.selector?q$5([" ",nd("selector")]):"",md.value?L$4([" ",nd("value"),Ze$2(md,qa)?Jn$1(md)?" ":A$2:""]):md.name==="else"?" ":"",md.nodes?[Ze$2(md,qa)?"":md.selector&&!md.selector.nodes&&typeof md.selector.value=="string"&&Se$4(md.selector.value)||!md.selector&&typeof md.params=="string"&&Se$4(md.params)?A$2:" ","{",q$5([md.nodes.length>0?M$4:"",Te$3(Ra,qa,nd)]),M$4,"}"]:Ad||Nd?"":";"]}case"media-query-list":{let vd=[];return Ra.each(({node:Ad})=>{Ad.type==="media-query"&&Ad.value===""||vd.push(nd())},"nodes"),L$4(q$5(V$4(A$2,vd)))}case"media-query":return[V$4(" ",Ra.map(nd,"nodes")),Ra.isLast?"":","];case"media-type":return fe$4(W$5(md.value,qa));case"media-feature-expression":return md.nodes?["(",...Ra.map(nd,"nodes"),")"]:md.value;case"media-feature":return te$3(W$5(_$4(!1,md.value,/ +/gu," "),qa));case"media-colon":return[md.value," "];case"media-value":return fe$4(W$5(md.value,qa));case"media-keyword":return W$5(md.value,qa);case"media-url":return W$5(_$4(!1,_$4(!1,md.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),qa);case"media-unknown":return md.value;case"selector-root":return L$4([Ee$4(Ra,"custom-selector")?[Ra.findAncestor(vd=>vd.type==="css-atrule").customSelector,A$2]:"",V$4([",",Ee$4(Ra,["extend","custom-selector","nest"])?A$2:E$4],Ra.map(nd,"nodes"))]);case"selector-selector":return L$4(q$5(Ra.map(nd,"nodes")));case"selector-comment":return md.value;case"selector-string":return W$5(md.value,qa);case"selector-tag":return[md.namespace?[md.namespace===!0?"":md.namespace.trim(),"|"]:"",((pd=Ra.previous)==null?void 0:pd.type)==="selector-nesting"?md.value:fe$4(Mn(Ra,md.value)?md.value.toLowerCase():md.value)];case"selector-id":return["#",md.value];case"selector-class":return[".",fe$4(W$5(md.value,qa))];case"selector-attribute":return["[",md.namespace?[md.namespace===!0?"":md.namespace.trim(),"|"]:"",md.attribute.trim(),md.operator??"",md.value?oi$1(W$5(md.value.trim(),qa),qa):"",md.insensitive?" i":"","]"];case"selector-combinator":{if(md.value==="+"||md.value===">"||md.value==="~"||md.value===">>>"){let Nd=Ra.parent;return[Nd.type==="selector-selector"&&Nd.nodes[0]===md?"":A$2,md.value,Ra.isLast?"":" "]}let vd=md.value.trim().startsWith("(")?A$2:"",Ad=fe$4(W$5(md.value.trim(),qa))||A$2;return[vd,Ad]}case"selector-universal":return[md.namespace?[md.namespace===!0?"":md.namespace.trim(),"|"]:"",md.value];case"selector-pseudo":return[te$3(md.value),ee$3(md.nodes)?L$4(["(",q$5([M$4,V$4([",",A$2],Ra.map(nd,"nodes"))]),M$4,")"]):""];case"selector-nesting":return md.value;case"selector-unknown":{let vd=Ra.findAncestor(Id=>Id.type==="css-rule");if(vd!=null&&vd.isSCSSNesterProperty)return fe$4(W$5(te$3(md.value),qa));let Ad=Ra.parent;if((fd=Ad.raws)!=null&&fd.selector){let Id=N$4(Ad),Od=Id+Ad.raws.selector.length;return qa.originalText.slice(Id,Od).trim()}let Nd=Ra.grandparent;if(Ad.type==="value-paren_group"&&(Nd==null?void 0:Nd.type)==="value-func"&&Nd.value==="selector"){let Id=P$5(Ad.open)+1,Od=N$4(Ad.close),Md=qa.originalText.slice(Id,Od).trim();return Se$4(Md)?[je$4,Md]:Md}return md.value}case"value-value":case"value-root":return nd("group");case"value-comment":return qa.originalText.slice(N$4(md),P$5(md));case"value-comma_group":return ri$1(Ra,qa,nd);case"value-paren_group":return ci$2(Ra,qa,nd);case"value-func":return[md.value,Ee$4(Ra,"supports")&&Zn$1(md)?" ":"",nd("group")];case"value-paren":return md.value;case"value-number":return[Zr$1(md.value),ni$1(md.unit)];case"value-operator":return md.value;case"value-word":return md.isColor&&md.isHex||Dn$1(md.value)?md.value.toLowerCase():md.value;case"value-colon":{let{previous:vd}=Ra;return[md.value,typeof(vd==null?void 0:vd.value)=="string"&&vd.value.endsWith("\\")||ke$4(Ra,"url")?"":A$2]}case"value-string":return St$2(md.raws.quote+md.value+md.raws.quote,qa);case"value-atword":return["@",md.value];case"value-unicode-range":return md.value;case"value-unknown":return md.value;case"value-comma":default:throw new an$3(md,"PostCSS")}}var ac$1={print:oc,embed:pn$2,insertPragma:qn$1,massageAstNode:ln$2,getVisitorKeys:mn$2},fi$1=ac$1,pi$3=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}],hi={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},uc={singleQuote:hi.singleQuote},di$1=uc,Ks={};Xs(Ks,{css:()=>by$1,less:()=>_y,scss:()=>ky});var el=ye$3(pt$2()),tl=ye$3(bo$1()),rl=ye$3(ta());function Hf(Ra,qa){let nd=new SyntaxError(Ra+" ("+qa.loc.start.line+":"+qa.loc.start.column+")");return Object.assign(nd,qa)}var ra=Hf,la=ye$3(ua());function J$5(Ra,qa,nd){if(Ra&&typeof Ra=="object"){delete Ra.parent;for(let od in Ra)J$5(Ra[od],qa,nd),od==="type"&&typeof Ra[od]=="string"&&!Ra[od].startsWith(qa)&&(!nd||!nd.test(Ra[od]))&&(Ra[od]=qa+Ra[od])}return Ra}function Is(Ra){if(Ra&&typeof Ra=="object"){delete Ra.parent;for(let qa in Ra)Is(Ra[qa]);!Array.isArray(Ra)&&Ra.value&&!Ra.type&&(Ra.type="unknown")}return Ra}var op=la.default.default;function ap$1(Ra){let qa;try{qa=op(Ra)}catch{return{type:"selector-unknown",value:Ra}}return J$5(Is(qa),"media-")}var ca$1=ap$1,nu$1=ye$3(su$1());function bm$1(Ra){if(/\/\/|\/\*/u.test(Ra))return{type:"selector-unknown",value:Ra.trim()};let qa;try{new nu$1.default(nd=>{qa=nd}).process(Ra)}catch{return{type:"selector-unknown",value:Ra}}return J$5(qa,"selector-")}var Z$5=bm$1,Qu$1=ye$3(Vu$1()),ly=Ra=>{for(;Ra.parent;)Ra=Ra.parent;return Ra},Mr$1=ly;function cy(Ra){return Mr$1(Ra).text.slice(Ra.group.open.sourceIndex+1,Ra.group.close.sourceIndex).trim()}var Gu$1=cy;function fy(Ra){if(ee$3(Ra)){for(let qa=Ra.length-1;qa>0;qa--)if(Ra[qa].type==="word"&&Ra[qa].value==="{"&&Ra[qa-1].type==="word"&&Ra[qa-1].value.endsWith("#"))return!0}return!1}var ju$1=fy;function py(Ra){return Ra.some(qa=>qa.type==="string"||qa.type==="func"&&!qa.value.endsWith("\\"))}var Hu$1=py;function hy(Ra,qa){return!!(qa.parser==="scss"&&(Ra==null?void 0:Ra.type)==="word"&&Ra.value.startsWith("$"))}var Ku$1=hy;function dy(Ra,qa){var nd;let{nodes:od}=Ra,ld={open:null,close:null,groups:[],type:"paren_group"},ud=[ld],dd=ld,pd={groups:[],type:"comma_group"},fd=[pd];for(let md=0;md<od.length;++md){let vd=od[md];if(qa.parser==="scss"&&vd.type==="number"&&vd.unit===".."&&vd.value.endsWith(".")&&(vd.value=vd.value.slice(0,-1),vd.unit="..."),vd.type==="func"&&vd.value==="selector"&&(vd.group.groups=[Z$5(Mr$1(Ra).text.slice(vd.group.open.sourceIndex+1,vd.group.close.sourceIndex))]),vd.type==="func"&&vd.value==="url"){let Ad=((nd=vd.group)==null?void 0:nd.groups)??[],Nd=[];for(let Id=0;Id<Ad.length;Id++){let Od=Ad[Id];Od.type==="comma_group"?Nd=[...Nd,...Od.groups]:Nd.push(Od)}(ju$1(Nd)||!Hu$1(Nd)&&!Ku$1(Nd[0],qa))&&(vd.group.groups=[Gu$1(vd)])}if(vd.type==="paren"&&vd.value==="(")ld={open:vd,close:null,groups:[],type:"paren_group"},ud.push(ld),pd={groups:[],type:"comma_group"},fd.push(pd);else if(vd.type==="paren"&&vd.value===")"){if(pd.groups.length>0&&ld.groups.push(pd),ld.close=vd,fd.length===1)throw new Error("Unbalanced parenthesis");fd.pop(),pd=G$5(!1,fd,-1),pd.groups.push(ld),ud.pop(),ld=G$5(!1,ud,-1)}else vd.type==="comma"?(ld.groups.push(pd),pd={groups:[],type:"comma_group"},fd[fd.length-1]=pd):pd.groups.push(vd)}return pd.groups.length>0&&ld.groups.push(pd),dd}function Br$1(Ra){return Ra.type==="paren_group"&&!Ra.open&&!Ra.close&&Ra.groups.length===1||Ra.type==="comma_group"&&Ra.groups.length===1?Br$1(Ra.groups[0]):Ra.type==="paren_group"||Ra.type==="comma_group"?{...Ra,groups:Ra.groups.map(Br$1)}:Ra}function Ju$1(Ra,qa){if(Ra&&typeof Ra=="object")for(let nd in Ra)nd!=="parent"&&(Ju$1(Ra[nd],qa),nd==="nodes"&&(Ra.group=Br$1(dy(Ra,qa)),delete Ra[nd]));return Ra}function my(Ra,qa){if(qa.parser==="less"&&Ra.startsWith("~`"))return{type:"value-unknown",value:Ra};let nd=null;try{nd=new Qu$1.default(Ra,{loose:!0}).parse()}catch{return{type:"value-unknown",value:Ra}}nd.text=Ra;let od=Ju$1(nd,qa);return J$5(od,"value-",/^selector-/u)}var ie$3=my,yy=new Set(["import","use","forward"]);function wy(Ra){return yy.has(Ra)}var Xu$1=wy;function gy(Ra,qa){return qa.parser!=="scss"||!Ra.selector?!1:Ra.selector.replace(/\/\*.*?\*\//u,"").replace(/\/\/.*\n/u,"").trim().endsWith(":")}var Zu$1=gy,vy=/(\s*)(!default).*$/u,xy=/(\s*)(!global).*$/u;function sl(Ra,qa){var nd,od;if(Ra&&typeof Ra=="object"){delete Ra.parent;for(let pd in Ra)sl(Ra[pd],qa);if(!Ra.type)return Ra;if(Ra.raws??(Ra.raws={}),Ra.type==="css-decl"&&typeof Ra.prop=="string"&&Ra.prop.startsWith("--")&&typeof Ra.value=="string"&&Ra.value.startsWith("{")){let pd;if(Ra.value.trimEnd().endsWith("}")){let fd=qa.originalText.slice(0,Ra.source.start.offset),md="a".repeat(Ra.prop.length)+qa.originalText.slice(Ra.source.start.offset+Ra.prop.length,Ra.source.end.offset),vd=_$4(!1,fd,/[^\n]/gu," ")+md,Ad;qa.parser==="scss"?Ad=ol:qa.parser==="less"?Ad=il:Ad=nl;let Nd;try{Nd=Ad(vd,{...qa})}catch{}((nd=Nd==null?void 0:Nd.nodes)==null?void 0:nd.length)===1&&Nd.nodes[0].type==="css-rule"&&(pd=Nd.nodes[0].nodes)}return pd?Ra.value={type:"css-rule",nodes:pd}:Ra.value={type:"value-unknown",value:Ra.raws.value.raw},Ra}let ld="";typeof Ra.selector=="string"&&(ld=Ra.raws.selector?Ra.raws.selector.scss??Ra.raws.selector.raw:Ra.selector,Ra.raws.between&&Ra.raws.between.trim().length>0&&(ld+=Ra.raws.between),Ra.raws.selector=ld);let ud="";typeof Ra.value=="string"&&(ud=Ra.raws.value?Ra.raws.value.scss??Ra.raws.value.raw:Ra.value,ud=ud.trim(),Ra.raws.value=ud);let dd="";if(typeof Ra.params=="string"&&(dd=Ra.raws.params?Ra.raws.params.scss??Ra.raws.params.raw:Ra.params,Ra.raws.afterName&&Ra.raws.afterName.trim().length>0&&(dd=Ra.raws.afterName+dd),Ra.raws.between&&Ra.raws.between.trim().length>0&&(dd=dd+Ra.raws.between),dd=dd.trim(),Ra.raws.params=dd),ld.trim().length>0)return ld.startsWith("@")&&ld.endsWith(":")?Ra:Ra.mixin?(Ra.selector=ie$3(ld,qa),Ra):(Zu$1(Ra,qa)&&(Ra.isSCSSNesterProperty=!0),Ra.selector=Z$5(ld),Ra);if(ud.length>0){let pd=ud.match(vy);pd&&(ud=ud.slice(0,pd.index),Ra.scssDefault=!0,pd[0].trim()!=="!default"&&(Ra.raws.scssDefault=pd[0]));let fd=ud.match(xy);if(fd&&(ud=ud.slice(0,fd.index),Ra.scssGlobal=!0,fd[0].trim()!=="!global"&&(Ra.raws.scssGlobal=fd[0])),ud.startsWith("progid:"))return{type:"value-unknown",value:ud};Ra.value=ie$3(ud,qa)}if(qa.parser==="less"&&Ra.type==="css-decl"&&ud.startsWith("extend(")&&(Ra.extend||(Ra.extend=Ra.raws.between===":"),Ra.extend&&!Ra.selector&&(delete Ra.value,Ra.selector=Z$5(ud.slice(7,-1)))),Ra.type==="css-atrule"){if(qa.parser==="less"){if(Ra.mixin){let pd=Ra.raws.identifier+Ra.name+Ra.raws.afterName+Ra.raws.params;return Ra.selector=Z$5(pd),delete Ra.params,Ra}if(Ra.function)return Ra}if(qa.parser==="css"&&Ra.name==="custom-selector"){let pd=Ra.params.match(/:--\S+\s+/u)[0].trim();return Ra.customSelector=pd,Ra.selector=Z$5(Ra.params.slice(pd.length).trim()),delete Ra.params,Ra}if(qa.parser==="less"){if(Ra.name.includes(":")&&!Ra.params){Ra.variable=!0;let pd=Ra.name.split(":");Ra.name=pd[0],Ra.value=ie$3(pd.slice(1).join(":"),qa)}if(!["page","nest","keyframes"].includes(Ra.name)&&((od=Ra.params)==null?void 0:od[0])===":"){Ra.variable=!0;let pd=Ra.params.slice(1);pd&&(Ra.value=ie$3(pd,qa)),Ra.raws.afterName+=":"}if(Ra.variable)return delete Ra.params,Ra.value||delete Ra.value,Ra}}if(Ra.type==="css-atrule"&&dd.length>0){let{name:pd}=Ra,fd=Ra.name.toLowerCase();return pd==="warn"||pd==="error"?(Ra.params={type:"media-unknown",value:dd},Ra):pd==="extend"||pd==="nest"?(Ra.selector=Z$5(dd),delete Ra.params,Ra):pd==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(dd)?Ra.params=ie$3(dd,qa):(Ra.selector=Z$5(dd),delete Ra.params),Ra):Xu$1(fd)?(Ra.import=!0,delete Ra.filename,Ra.params=ie$3(dd,qa),Ra):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(pd)?(dd=dd.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),dd=dd.replace(/^(?!if)(\S+)(\s+)\(/u,"$1($2"),Ra.value=ie$3(dd,qa),delete Ra.params,Ra):["media","custom-media"].includes(fd)?dd.includes("#{")?{type:"media-unknown",value:dd}:(Ra.params=ca$1(dd),Ra):(Ra.params=dd,Ra)}}return Ra}function js(Ra,qa,nd){let od=Je$2(qa),{frontMatter:ld}=od;qa=od.content;let ud;try{ud=Ra(qa,{map:!1})}catch(dd){let{name:pd,reason:fd,line:md,column:vd}=dd;throw typeof md!="number"?dd:ra(`${pd}: ${fd}`,{loc:{start:{line:md,column:vd}},cause:dd})}return nd.originalText=qa,ud=sl(J$5(ud,"css-"),nd),Gr$1(ud,qa),ld&&(ld.source={startOffset:0,endOffset:ld.raw.length},ud.frontMatter=ld),ud}function nl(Ra,qa={}){return js(el.default.default,Ra,qa)}function il(Ra,qa={}){return js(nd=>tl.default.parse(vn$1(nd)),Ra,qa)}function ol(Ra,qa={}){return js(rl.default,Ra,qa)}var Hs={astFormat:"postcss",hasPragma:In,locStart:N$4,locEnd:P$5},by$1={...Hs,parse:nl},_y={...Hs,parse:il},ky={...Hs,parse:ol},Ey={postcss:fi$1},Ob=Qs;const prettierPluginCss=Object.freeze(Object.defineProperty({__proto__:null,default:Ob,languages:pi$3,options:di$1,parsers:Ks,printers:Ey},Symbol.toStringTag,{value:"Module"}));var yu=Object.create,He$2=Object.defineProperty,Au=Object.getOwnPropertyDescriptor,Bu=Object.getOwnPropertyNames,wu=Object.getPrototypeOf,xu=Object.prototype.hasOwnProperty,sr=Ra=>{throw TypeError(Ra)},_u=(Ra,qa)=>()=>(Ra&&(qa=Ra(Ra=0)),qa),At=(Ra,qa)=>()=>(qa||Ra((qa={exports:{}}).exports,qa),qa.exports),We$1=(Ra,qa)=>{for(var nd in qa)He$2(Ra,nd,{get:qa[nd],enumerable:!0})},ar$1=(Ra,qa,nd,od)=>{if(qa&&typeof qa=="object"||typeof qa=="function")for(let ld of Bu(qa))!xu.call(Ra,ld)&&ld!==nd&&He$2(Ra,ld,{get:()=>qa[ld],enumerable:!(od=Au(qa,ld))||od.enumerable});return Ra},Me$2=(Ra,qa,nd)=>(nd=Ra!=null?yu(wu(Ra)):{},ar$1(He$2(nd,"default",{value:Ra,enumerable:!0}),Ra)),vu=Ra=>ar$1(He$2({},"__esModule",{value:!0}),Ra),bu$1=(Ra,qa,nd)=>qa.has(Ra)||sr("Cannot "+nd),Dr=(Ra,qa,nd)=>qa.has(Ra)?sr("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd),pe$2=(Ra,qa,nd)=>(bu$1(Ra,qa,"access private method"),nd),it$1=At((Ra,qa)=>{var nd=new Proxy(String,{get:()=>nd});qa.exports=nd}),Tn={};We$1(Tn,{default:()=>_o,shouldHighlight:()=>xo});var xo,_o,kn=_u(()=>{xo=()=>!1,_o=String}),Pn=At((Ra,qa)=>{var nd=String,od=function(){return{isColorSupported:!1,reset:nd,bold:nd,dim:nd,italic:nd,underline:nd,inverse:nd,hidden:nd,strikethrough:nd,black:nd,red:nd,green:nd,yellow:nd,blue:nd,magenta:nd,cyan:nd,white:nd,gray:nd,bgBlack:nd,bgRed:nd,bgGreen:nd,bgYellow:nd,bgBlue:nd,bgMagenta:nd,bgCyan:nd,bgWhite:nd}};qa.exports=od(),qa.exports.createColors=od}),$n=At(Ra=>{Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.codeFrameColumns=Id,Ra.default=Od;var qa=(kn(),vu(Tn)),nd=ld(Pn(),!0);function od(Md){if(typeof WeakMap!="function")return null;var Ud=new WeakMap,jd=new WeakMap;return(od=function(Ld){return Ld?jd:Ud})(Md)}function ld(Md,Ud){if(Md===null||typeof Md!="object"&&typeof Md!="function")return{default:Md};var jd=od(Ud);if(jd&&jd.has(Md))return jd.get(Md);var Ld={__proto__:null},Bd=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Gd in Md)if(Gd!=="default"&&{}.hasOwnProperty.call(Md,Gd)){var qd=Bd?Object.getOwnPropertyDescriptor(Md,Gd):null;qd&&(qd.get||qd.set)?Object.defineProperty(Ld,Gd,qd):Ld[Gd]=Md[Gd]}return Ld.default=Md,jd&&jd.set(Md,Ld),Ld}var ud=nd.default,dd=(Md,Ud)=>jd=>Md(Ud(jd)),pd;function fd(Md){return Md?(pd!=null||(pd=(0,nd.createColors)(!0)),pd):ud}var md=!1;function vd(Md){return{gutter:Md.gray,marker:dd(Md.red,Md.bold),message:dd(Md.red,Md.bold)}}var Ad=/\r\n|[\n\r\u2028\u2029]/;function Nd(Md,Ud,jd){let Ld=Object.assign({column:0,line:-1},Md.start),Bd=Object.assign({},Ld,Md.end),{linesAbove:Gd=2,linesBelow:qd=3}=jd||{},zd=Ld.line,Xd=Ld.column,gf=Bd.line,Yd=Bd.column,Zd=Math.max(zd-(Gd+1),0),df=Math.min(Ud.length,gf+qd);zd===-1&&(Zd=0),gf===-1&&(df=Ud.length);let Ef=gf-zd,_f={};if(Ef)for(let xf=0;xf<=Ef;xf++){let vf=xf+zd;if(!Xd)_f[vf]=!0;else if(xf===0){let Af=Ud[vf-1].length;_f[vf]=[Xd,Af-Xd+1]}else if(xf===Ef)_f[vf]=[0,Yd];else{let Af=Ud[vf-xf].length;_f[vf]=[0,Af]}}else Xd===Yd?Xd?_f[zd]=[Xd,0]:_f[zd]=!0:_f[zd]=[Xd,Yd-Xd];return{start:Zd,end:df,markerLines:_f}}function Id(Md,Ud,jd={}){let Ld=(jd.highlightCode||jd.forceColor)&&(0,qa.shouldHighlight)(jd),Bd=fd(jd.forceColor),Gd=vd(Bd),qd=(_f,xf)=>Ld?_f(xf):xf,zd=Md.split(Ad),{start:Xd,end:gf,markerLines:Yd}=Nd(Ud,zd,jd),Zd=Ud.start&&typeof Ud.start.column=="number",df=String(gf).length,Ef=(Ld?(0,qa.default)(Md,jd):Md).split(Ad,gf).slice(Xd,gf).map((_f,xf)=>{let vf=Xd+1+xf,Af=` ${` ${vf}`.slice(-df)} |`,Df=Yd[vf],jf=!Yd[vf+1];if(Df){let Jf="";if(Array.isArray(Df)){let eh=_f.slice(0,Math.max(Df[0]-1,0)).replace(/[^\t]/g," "),th=Df[1]||1;Jf=[`
|
||
`,qd(Gd.gutter,Af.replace(/\d/g," "))," ",eh,qd(Gd.marker,"^").repeat(th)].join(""),jf&&jd.message&&(Jf+=" "+qd(Gd.message,jd.message))}return[qd(Gd.marker,">"),qd(Gd.gutter,Af),_f.length>0?` ${_f}`:"",Jf].join("")}else return` ${qd(Gd.gutter,Af)}${_f.length>0?` ${_f}`:""}`}).join(`
|
||
`);return jd.message&&!Zd&&(Ef=`${" ".repeat(df+1)}${jd.message}
|
||
${Ef}`),Ld?Bd.reset(Ef):Ef}function Od(Md,Ud,jd,Ld={}){if(!md){md=!0;let Bd="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let Gd=new Error(Bd);Gd.name="DeprecationWarning",console.warn(new Error(Bd))}}return jd=Math.max(jd,0),Id(Md,{start:{column:jd,line:Ud}},Ld)}}),ir={};We$1(ir,{__debug:()=>di,check:()=>fi,doc:()=>nr,format:()=>gu,formatWithCursor:()=>Cu,getSupportInfo:()=>pi$2,util:()=>or,version:()=>fu});var Ou=(Ra,qa,nd,od)=>{if(!(Ra&&qa==null))return qa.replaceAll?qa.replaceAll(nd,od):nd.global?qa.replace(nd,od):qa.split(nd).join(od)},ne$3=Ou;function Z$4(){}Z$4.prototype={diff:function(Ra,qa){var nd,od=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ld=od.callback;typeof od=="function"&&(ld=od,od={}),this.options=od;var ud=this;function dd(Bd){return ld?(setTimeout(function(){ld(void 0,Bd)},0),!0):Bd}Ra=this.castInput(Ra),qa=this.castInput(qa),Ra=this.removeEmpty(this.tokenize(Ra)),qa=this.removeEmpty(this.tokenize(qa));var pd=qa.length,fd=Ra.length,md=1,vd=pd+fd;od.maxEditLength&&(vd=Math.min(vd,od.maxEditLength));var Ad=(nd=od.timeout)!==null&&nd!==void 0?nd:1/0,Nd=Date.now()+Ad,Id=[{oldPos:-1,lastComponent:void 0}],Od=this.extractCommon(Id[0],qa,Ra,0);if(Id[0].oldPos+1>=fd&&Od+1>=pd)return dd([{value:this.join(qa),count:qa.length}]);var Md=-1/0,Ud=1/0;function jd(){for(var Bd=Math.max(Md,-md);Bd<=Math.min(Ud,md);Bd+=2){var Gd=void 0,qd=Id[Bd-1],zd=Id[Bd+1];qd&&(Id[Bd-1]=void 0);var Xd=!1;if(zd){var gf=zd.oldPos-Bd;Xd=zd&&0<=gf&&gf<pd}var Yd=qd&&qd.oldPos+1<fd;if(!Xd&&!Yd){Id[Bd]=void 0;continue}if(!Yd||Xd&&qd.oldPos+1<zd.oldPos?Gd=ud.addToPath(zd,!0,void 0,0):Gd=ud.addToPath(qd,void 0,!0,1),Od=ud.extractCommon(Gd,qa,Ra,Bd),Gd.oldPos+1>=fd&&Od+1>=pd)return dd(Su(ud,Gd.lastComponent,qa,Ra,ud.useLongestToken));Id[Bd]=Gd,Gd.oldPos+1>=fd&&(Ud=Math.min(Ud,Bd-1)),Od+1>=pd&&(Md=Math.max(Md,Bd+1))}md++}if(ld)(function Bd(){setTimeout(function(){if(md>vd||Date.now()>Nd)return ld();jd()||Bd()},0)})();else for(;md<=vd&&Date.now()<=Nd;){var Ld=jd();if(Ld)return Ld}},addToPath:function(Ra,qa,nd,od){var ld=Ra.lastComponent;return ld&&ld.added===qa&&ld.removed===nd?{oldPos:Ra.oldPos+od,lastComponent:{count:ld.count+1,added:qa,removed:nd,previousComponent:ld.previousComponent}}:{oldPos:Ra.oldPos+od,lastComponent:{count:1,added:qa,removed:nd,previousComponent:ld}}},extractCommon:function(Ra,qa,nd,od){for(var ld=qa.length,ud=nd.length,dd=Ra.oldPos,pd=dd-od,fd=0;pd+1<ld&&dd+1<ud&&this.equals(qa[pd+1],nd[dd+1]);)pd++,dd++,fd++;return fd&&(Ra.lastComponent={count:fd,previousComponent:Ra.lastComponent}),Ra.oldPos=dd,pd},equals:function(Ra,qa){return this.options.comparator?this.options.comparator(Ra,qa):Ra===qa||this.options.ignoreCase&&Ra.toLowerCase()===qa.toLowerCase()},removeEmpty:function(Ra){for(var qa=[],nd=0;nd<Ra.length;nd++)Ra[nd]&&qa.push(Ra[nd]);return qa},castInput:function(Ra){return Ra},tokenize:function(Ra){return Ra.split("")},join:function(Ra){return Ra.join("")}};function Su(Ra,qa,nd,od,ld){for(var ud=[],dd;qa;)ud.push(qa),dd=qa.previousComponent,delete qa.previousComponent,qa=dd;ud.reverse();for(var pd=0,fd=ud.length,md=0,vd=0;pd<fd;pd++){var Ad=ud[pd];if(Ad.removed){if(Ad.value=Ra.join(od.slice(vd,vd+Ad.count)),vd+=Ad.count,pd&&ud[pd-1].added){var Nd=ud[pd-1];ud[pd-1]=ud[pd],ud[pd]=Nd}}else{if(!Ad.added&&ld){var Id=nd.slice(md,md+Ad.count);Id=Id.map(function(Md,Ud){var jd=od[vd+Ud];return jd.length>Md.length?jd:Md}),Ad.value=Ra.join(Id)}else Ad.value=Ra.join(nd.slice(md,md+Ad.count));md+=Ad.count,Ad.added||(vd+=Ad.count)}}var Od=ud[fd-1];return fd>1&&typeof Od.value=="string"&&(Od.added||Od.removed)&&Ra.equals("",Od.value)&&(ud[fd-2].value+=Od.value,ud.pop()),ud}var lr=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,cr$1=/\S/,fr=new Z$4;fr.equals=function(Ra,qa){return this.options.ignoreCase&&(Ra=Ra.toLowerCase(),qa=qa.toLowerCase()),Ra===qa||this.options.ignoreWhitespace&&!cr$1.test(Ra)&&!cr$1.test(qa)};fr.tokenize=function(Ra){for(var qa=Ra.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),nd=0;nd<qa.length-1;nd++)!qa[nd+1]&&qa[nd+2]&&lr.test(qa[nd])&&lr.test(qa[nd+2])&&(qa[nd]+=qa[nd+2],qa.splice(nd+1,2),nd--);return qa};var pr=new Z$4;pr.tokenize=function(Ra){this.options.stripTrailingCr&&(Ra=Ra.replace(/\r\n/g,`
|
||
`));var qa=[],nd=Ra.split(/(\n|\r\n)/);nd[nd.length-1]||nd.pop();for(var od=0;od<nd.length;od++){var ld=nd[od];od%2&&!this.options.newlineIsToken?qa[qa.length-1]+=ld:(this.options.ignoreWhitespace&&(ld=ld.trim()),qa.push(ld))}return qa};var Nu=new Z$4;Nu.tokenize=function(Ra){return Ra.split(/(\S.+?[.!?])(?=\s+|$)/)};var Tu=new Z$4;Tu.tokenize=function(Ra){return Ra.split(/([{}:;,]|\s+)/)};function $e$1(Ra){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$e$1=function(qa){return typeof qa}:$e$1=function(qa){return qa&&typeof Symbol=="function"&&qa.constructor===Symbol&&qa!==Symbol.prototype?"symbol":typeof qa},$e$1(Ra)}var ku=Object.prototype.toString,Ae$3=new Z$4;Ae$3.useLongestToken=!0;Ae$3.tokenize=pr.tokenize;Ae$3.castInput=function(Ra){var qa=this.options,nd=qa.undefinedReplacement,od=qa.stringifyReplacer,ld=od===void 0?function(ud,dd){return typeof dd>"u"?nd:dd}:od;return typeof Ra=="string"?Ra:JSON.stringify(Bt$1(Ra,null,null,ld),ld," ")};Ae$3.equals=function(Ra,qa){return Z$4.prototype.equals.call(Ae$3,Ra.replace(/,([\r\n])/g,"$1"),qa.replace(/,([\r\n])/g,"$1"))};function Bt$1(Ra,qa,nd,od,ld){qa=qa||[],nd=nd||[],od&&(Ra=od(ld,Ra));var ud;for(ud=0;ud<qa.length;ud+=1)if(qa[ud]===Ra)return nd[ud];var dd;if(ku.call(Ra)==="[object Array]"){for(qa.push(Ra),dd=new Array(Ra.length),nd.push(dd),ud=0;ud<Ra.length;ud+=1)dd[ud]=Bt$1(Ra[ud],qa,nd,od,ld);return qa.pop(),nd.pop(),dd}if(Ra&&Ra.toJSON&&(Ra=Ra.toJSON()),$e$1(Ra)==="object"&&Ra!==null){qa.push(Ra),dd={},nd.push(dd);var pd=[],fd;for(fd in Ra)Ra.hasOwnProperty(fd)&&pd.push(fd);for(pd.sort(),ud=0;ud<pd.length;ud+=1)fd=pd[ud],dd[fd]=Bt$1(Ra[fd],qa,nd,od,fd);qa.pop(),nd.pop()}else dd=Ra;return dd}var Ve$1=new Z$4;Ve$1.tokenize=function(Ra){return Ra.slice()};Ve$1.join=Ve$1.removeEmpty=function(Ra){return Ra};function dr(Ra,qa,nd){return Ve$1.diff(Ra,qa,nd)}function Fr(Ra){let qa=Ra.indexOf("\r");return qa>=0?Ra.charAt(qa+1)===`
|
||
`?"crlf":"cr":"lf"}function Be$3(Ra){switch(Ra){case"cr":return"\r";case"crlf":return`\r
|
||
`;default:return`
|
||
`}}function wt$1(Ra,qa){let nd;switch(qa){case`
|
||
`:nd=/\n/gu;break;case"\r":nd=/\r/gu;break;case`\r
|
||
`:nd=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(qa)}.`)}let od=Ra.match(nd);return od?od.length:0}function mr(Ra){return ne$3(!1,Ra,/\r\n?/gu,`
|
||
`)}var U$4="string",W$4="array",z$3="cursor",L$3="indent",P$4="align",I$4="trim",x$4="group",S$2="fill",_$3="if-break",R$5="indent-if-break",Y$3="line-suffix",j$3="line-suffix-boundary",B$4="line",N$3="label",b$2="break-parent",Ue=new Set([z$3,L$3,P$4,I$4,x$4,S$2,_$3,R$5,Y$3,j$3,B$4,N$3,b$2]);function Lu(Ra){if(typeof Ra=="string")return U$4;if(Array.isArray(Ra))return W$4;if(!Ra)return;let{type:qa}=Ra;if(Ue.has(qa))return qa}var G$4=Lu,Pu=Ra=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(Ra);function Iu(Ra){let qa=Ra===null?"null":typeof Ra;if(qa!=="string"&&qa!=="object")return`Unexpected doc '${qa}',
|
||
Expected it to be 'string' or 'object'.`;if(G$4(Ra))throw new Error("doc is valid.");let nd=Object.prototype.toString.call(Ra);if(nd!=="[object Object]")return`Unexpected doc '${nd}'.`;let od=Pu([...Ue].map(ld=>`'${ld}'`));return`Unexpected doc.type '${Ra.type}'.
|
||
Expected it to be ${od}.`}var xt$1=class extends Error{constructor(nd){super(Iu(nd));wg(this,"name","InvalidDocError");this.doc=nd}},Q$4=xt$1,Er={};function Ru(Ra,qa,nd,od){let ld=[Ra];for(;ld.length>0;){let ud=ld.pop();if(ud===Er){nd(ld.pop());continue}nd&&ld.push(ud,Er);let dd=G$4(ud);if(!dd)throw new Q$4(ud);if((qa==null?void 0:qa(ud))!==!1)switch(dd){case W$4:case S$2:{let pd=dd===W$4?ud:ud.parts;for(let fd=pd.length,md=fd-1;md>=0;--md)ld.push(pd[md]);break}case _$3:ld.push(ud.flatContents,ud.breakContents);break;case x$4:if(od&&ud.expandedStates)for(let pd=ud.expandedStates.length,fd=pd-1;fd>=0;--fd)ld.push(ud.expandedStates[fd]);else ld.push(ud.contents);break;case P$4:case L$3:case R$5:case N$3:case Y$3:ld.push(ud.contents);break;case U$4:case z$3:case I$4:case j$3:case B$4:case b$2:break;default:throw new Q$4(ud)}}}var we$3=Ru,hr$2=()=>{},ze$2=hr$2;function De$2(Ra){return{type:L$3,contents:Ra}}function ae$3(Ra,qa){return{type:P$4,contents:qa,n:Ra}}function _t$1(Ra,qa={}){return ze$2(qa.expandedStates),{type:x$4,id:qa.id,contents:Ra,break:!!qa.shouldBreak,expandedStates:qa.expandedStates}}function Cr(Ra){return ae$3(Number.NEGATIVE_INFINITY,Ra)}function gr(Ra){return ae$3({type:"root"},Ra)}function yr(Ra){return ae$3(-1,Ra)}function Ar(Ra,qa){return _t$1(Ra[0],{...qa,expandedStates:Ra})}function Ge$1(Ra){return{type:S$2,parts:Ra}}function Br(Ra,qa="",nd={}){return{type:_$3,breakContents:Ra,flatContents:qa,groupId:nd.groupId}}function wr(Ra,qa){return{type:R$5,contents:Ra,groupId:qa.groupId,negate:qa.negate}}function xe$2(Ra){return{type:Y$3,contents:Ra}}var xr={type:j$3},de$2={type:b$2},_r={type:I$4},_e$2={type:B$4,hard:!0},vt$2={type:B$4,hard:!0,literal:!0},Ke$2={type:B$4},vr={type:B$4,soft:!0},q$4=[_e$2,de$2],qe=[vt$2,de$2],ve$3={type:z$3};function be$4(Ra,qa){let nd=[];for(let od=0;od<qa.length;od++)od!==0&&nd.push(Ra),nd.push(qa[od]);return nd}function Je$1(Ra,qa,nd){let od=Ra;if(qa>0){for(let ld=0;ld<Math.floor(qa/nd);++ld)od=De$2(od);od=ae$3(qa%nd,od),od=ae$3(Number.NEGATIVE_INFINITY,od)}return od}function br$3(Ra,qa){return Ra?{type:N$3,label:Ra,contents:qa}:qa}function ee$2(Ra){var qa;if(!Ra)return"";if(Array.isArray(Ra)){let nd=[];for(let od of Ra)if(Array.isArray(od))nd.push(...ee$2(od));else{let ld=ee$2(od);ld!==""&&nd.push(ld)}return nd}return Ra.type===_$3?{...Ra,breakContents:ee$2(Ra.breakContents),flatContents:ee$2(Ra.flatContents)}:Ra.type===x$4?{...Ra,contents:ee$2(Ra.contents),expandedStates:(qa=Ra.expandedStates)==null?void 0:qa.map(ee$2)}:Ra.type===S$2?{type:"fill",parts:Ra.parts.map(ee$2)}:Ra.contents?{...Ra,contents:ee$2(Ra.contents)}:Ra}function Or(Ra){let qa=Object.create(null),nd=new Set;return od(ee$2(Ra));function od(ud,dd,pd){var fd,md;if(typeof ud=="string")return JSON.stringify(ud);if(Array.isArray(ud)){let vd=ud.map(od).filter(Boolean);return vd.length===1?vd[0]:`[${vd.join(", ")}]`}if(ud.type===B$4){let vd=((fd=pd==null?void 0:pd[dd+1])==null?void 0:fd.type)===b$2;return ud.literal?vd?"literalline":"literallineWithoutBreakParent":ud.hard?vd?"hardline":"hardlineWithoutBreakParent":ud.soft?"softline":"line"}if(ud.type===b$2)return((md=pd==null?void 0:pd[dd-1])==null?void 0:md.type)===B$4&&pd[dd-1].hard?void 0:"breakParent";if(ud.type===I$4)return"trim";if(ud.type===L$3)return"indent("+od(ud.contents)+")";if(ud.type===P$4)return ud.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+od(ud.contents)+")":ud.n<0?"dedent("+od(ud.contents)+")":ud.n.type==="root"?"markAsRoot("+od(ud.contents)+")":"align("+JSON.stringify(ud.n)+", "+od(ud.contents)+")";if(ud.type===_$3)return"ifBreak("+od(ud.breakContents)+(ud.flatContents?", "+od(ud.flatContents):"")+(ud.groupId?(ud.flatContents?"":', ""')+`, { groupId: ${ld(ud.groupId)} }`:"")+")";if(ud.type===R$5){let vd=[];ud.negate&&vd.push("negate: true"),ud.groupId&&vd.push(`groupId: ${ld(ud.groupId)}`);let Ad=vd.length>0?`, { ${vd.join(", ")} }`:"";return`indentIfBreak(${od(ud.contents)}${Ad})`}if(ud.type===x$4){let vd=[];ud.break&&ud.break!=="propagated"&&vd.push("shouldBreak: true"),ud.id&&vd.push(`id: ${ld(ud.id)}`);let Ad=vd.length>0?`, { ${vd.join(", ")} }`:"";return ud.expandedStates?`conditionalGroup([${ud.expandedStates.map(Nd=>od(Nd)).join(",")}]${Ad})`:`group(${od(ud.contents)}${Ad})`}if(ud.type===S$2)return`fill([${ud.parts.map(vd=>od(vd)).join(", ")}])`;if(ud.type===Y$3)return"lineSuffix("+od(ud.contents)+")";if(ud.type===j$3)return"lineSuffixBoundary";if(ud.type===N$3)return`label(${JSON.stringify(ud.label)}, ${od(ud.contents)})`;throw new Error("Unknown doc type "+ud.type)}function ld(ud){if(typeof ud!="symbol")return JSON.stringify(String(ud));if(ud in qa)return qa[ud];let dd=ud.description||"symbol";for(let pd=0;;pd++){let fd=dd+(pd>0?` #${pd}`:"");if(!nd.has(fd))return nd.add(fd),qa[ud]=`Symbol.for(${JSON.stringify(fd)})`}}}var Yu=(Ra,qa,nd)=>{if(!(Ra&&qa==null))return Array.isArray(qa)||typeof qa=="string"?qa[nd<0?qa.length+nd:nd]:qa.at(nd)},y$3=Yu,Sr=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Nr(Ra){return Ra===12288||Ra>=65281&&Ra<=65376||Ra>=65504&&Ra<=65510}function Tr(Ra){return Ra>=4352&&Ra<=4447||Ra===8986||Ra===8987||Ra===9001||Ra===9002||Ra>=9193&&Ra<=9196||Ra===9200||Ra===9203||Ra===9725||Ra===9726||Ra===9748||Ra===9749||Ra>=9800&&Ra<=9811||Ra===9855||Ra===9875||Ra===9889||Ra===9898||Ra===9899||Ra===9917||Ra===9918||Ra===9924||Ra===9925||Ra===9934||Ra===9940||Ra===9962||Ra===9970||Ra===9971||Ra===9973||Ra===9978||Ra===9981||Ra===9989||Ra===9994||Ra===9995||Ra===10024||Ra===10060||Ra===10062||Ra>=10067&&Ra<=10069||Ra===10071||Ra>=10133&&Ra<=10135||Ra===10160||Ra===10175||Ra===11035||Ra===11036||Ra===11088||Ra===11093||Ra>=11904&&Ra<=11929||Ra>=11931&&Ra<=12019||Ra>=12032&&Ra<=12245||Ra>=12272&&Ra<=12287||Ra>=12289&&Ra<=12350||Ra>=12353&&Ra<=12438||Ra>=12441&&Ra<=12543||Ra>=12549&&Ra<=12591||Ra>=12593&&Ra<=12686||Ra>=12688&&Ra<=12771||Ra>=12783&&Ra<=12830||Ra>=12832&&Ra<=12871||Ra>=12880&&Ra<=19903||Ra>=19968&&Ra<=42124||Ra>=42128&&Ra<=42182||Ra>=43360&&Ra<=43388||Ra>=44032&&Ra<=55203||Ra>=63744&&Ra<=64255||Ra>=65040&&Ra<=65049||Ra>=65072&&Ra<=65106||Ra>=65108&&Ra<=65126||Ra>=65128&&Ra<=65131||Ra>=94176&&Ra<=94180||Ra===94192||Ra===94193||Ra>=94208&&Ra<=100343||Ra>=100352&&Ra<=101589||Ra>=101632&&Ra<=101640||Ra>=110576&&Ra<=110579||Ra>=110581&&Ra<=110587||Ra===110589||Ra===110590||Ra>=110592&&Ra<=110882||Ra===110898||Ra>=110928&&Ra<=110930||Ra===110933||Ra>=110948&&Ra<=110951||Ra>=110960&&Ra<=111355||Ra===126980||Ra===127183||Ra===127374||Ra>=127377&&Ra<=127386||Ra>=127488&&Ra<=127490||Ra>=127504&&Ra<=127547||Ra>=127552&&Ra<=127560||Ra===127568||Ra===127569||Ra>=127584&&Ra<=127589||Ra>=127744&&Ra<=127776||Ra>=127789&&Ra<=127797||Ra>=127799&&Ra<=127868||Ra>=127870&&Ra<=127891||Ra>=127904&&Ra<=127946||Ra>=127951&&Ra<=127955||Ra>=127968&&Ra<=127984||Ra===127988||Ra>=127992&&Ra<=128062||Ra===128064||Ra>=128066&&Ra<=128252||Ra>=128255&&Ra<=128317||Ra>=128331&&Ra<=128334||Ra>=128336&&Ra<=128359||Ra===128378||Ra===128405||Ra===128406||Ra===128420||Ra>=128507&&Ra<=128591||Ra>=128640&&Ra<=128709||Ra===128716||Ra>=128720&&Ra<=128722||Ra>=128725&&Ra<=128727||Ra>=128732&&Ra<=128735||Ra===128747||Ra===128748||Ra>=128756&&Ra<=128764||Ra>=128992&&Ra<=129003||Ra===129008||Ra>=129292&&Ra<=129338||Ra>=129340&&Ra<=129349||Ra>=129351&&Ra<=129535||Ra>=129648&&Ra<=129660||Ra>=129664&&Ra<=129672||Ra>=129680&&Ra<=129725||Ra>=129727&&Ra<=129733||Ra>=129742&&Ra<=129755||Ra>=129760&&Ra<=129768||Ra>=129776&&Ra<=129784||Ra>=131072&&Ra<=196605||Ra>=196608&&Ra<=262141}var kr=Ra=>!(Nr(Ra)||Tr(Ra)),ju=/[^\x20-\x7F]/u;function Hu(Ra){if(!Ra)return 0;if(!ju.test(Ra))return Ra.length;Ra=Ra.replace(Sr()," ");let qa=0;for(let nd of Ra){let od=nd.codePointAt(0);od<=31||od>=127&&od<=159||od>=768&&od<=879||(qa+=kr(od)?1:2)}return qa}var Oe$2=Hu;function Ne$2(Ra,qa){if(typeof Ra=="string")return qa(Ra);let nd=new Map;return od(Ra);function od(ud){if(nd.has(ud))return nd.get(ud);let dd=ld(ud);return nd.set(ud,dd),dd}function ld(ud){switch(G$4(ud)){case W$4:return qa(ud.map(od));case S$2:return qa({...ud,parts:ud.parts.map(od)});case _$3:return qa({...ud,breakContents:od(ud.breakContents),flatContents:od(ud.flatContents)});case x$4:{let{expandedStates:dd,contents:pd}=ud;return dd?(dd=dd.map(od),pd=dd[0]):pd=od(pd),qa({...ud,contents:pd,expandedStates:dd})}case P$4:case L$3:case R$5:case N$3:case Y$3:return qa({...ud,contents:od(ud.contents)});case U$4:case z$3:case I$4:case j$3:case B$4:case b$2:return qa(ud);default:throw new Q$4(ud)}}}function Xe$1(Ra,qa,nd){let od=nd,ld=!1;function ud(dd){if(ld)return!1;let pd=qa(dd);pd!==void 0&&(ld=!0,od=pd)}return we$3(Ra,ud),od}function Wu(Ra){if(Ra.type===x$4&&Ra.break||Ra.type===B$4&&Ra.hard||Ra.type===b$2)return!0}function Ir(Ra){return Xe$1(Ra,Wu,!1)}function Lr(Ra){if(Ra.length>0){let qa=y$3(!1,Ra,-1);!qa.expandedStates&&!qa.break&&(qa.break="propagated")}return null}function Rr(Ra){let qa=new Set,nd=[];function od(ud){if(ud.type===b$2&&Lr(nd),ud.type===x$4){if(nd.push(ud),qa.has(ud))return!1;qa.add(ud)}}function ld(ud){ud.type===x$4&&nd.pop().break&&Lr(nd)}we$3(Ra,od,ld,!0)}function Mu(Ra){return Ra.type===B$4&&!Ra.hard?Ra.soft?"":" ":Ra.type===_$3?Ra.flatContents:Ra}function Yr(Ra){return Ne$2(Ra,Mu)}function Pr(Ra){for(Ra=[...Ra];Ra.length>=2&&y$3(!1,Ra,-2).type===B$4&&y$3(!1,Ra,-1).type===b$2;)Ra.length-=2;if(Ra.length>0){let qa=Se$3(y$3(!1,Ra,-1));Ra[Ra.length-1]=qa}return Ra}function Se$3(Ra){switch(G$4(Ra)){case L$3:case R$5:case x$4:case Y$3:case N$3:{let qa=Se$3(Ra.contents);return{...Ra,contents:qa}}case _$3:return{...Ra,breakContents:Se$3(Ra.breakContents),flatContents:Se$3(Ra.flatContents)};case S$2:return{...Ra,parts:Pr(Ra.parts)};case W$4:return Pr(Ra);case U$4:return Ra.replace(/[\n\r]*$/u,"");case P$4:case z$3:case I$4:case j$3:case B$4:case b$2:break;default:throw new Q$4(Ra)}return Ra}function Ze$1(Ra){return Se$3(Vu(Ra))}function $u(Ra){switch(G$4(Ra)){case S$2:if(Ra.parts.every(qa=>qa===""))return"";break;case x$4:if(!Ra.contents&&!Ra.id&&!Ra.break&&!Ra.expandedStates)return"";if(Ra.contents.type===x$4&&Ra.contents.id===Ra.id&&Ra.contents.break===Ra.break&&Ra.contents.expandedStates===Ra.expandedStates)return Ra.contents;break;case P$4:case L$3:case R$5:case Y$3:if(!Ra.contents)return"";break;case _$3:if(!Ra.flatContents&&!Ra.breakContents)return"";break;case W$4:{let qa=[];for(let nd of Ra){if(!nd)continue;let[od,...ld]=Array.isArray(nd)?nd:[nd];typeof od=="string"&&typeof y$3(!1,qa,-1)=="string"?qa[qa.length-1]+=od:qa.push(od),qa.push(...ld)}return qa.length===0?"":qa.length===1?qa[0]:qa}case U$4:case z$3:case I$4:case j$3:case B$4:case N$3:case b$2:break;default:throw new Q$4(Ra)}return Ra}function Vu(Ra){return Ne$2(Ra,qa=>$u(qa))}function jr(Ra,qa=qe){return Ne$2(Ra,nd=>typeof nd=="string"?be$4(qa,nd.split(`
|
||
`)):nd)}function Uu(Ra){if(Ra.type===B$4)return!0}function Hr(Ra){return Xe$1(Ra,Uu,!1)}function Qe$1(Ra,qa){return Ra.type===N$3?{...Ra,contents:qa(Ra.contents)}:qa(Ra)}var H$4=Symbol("MODE_BREAK"),J$4=Symbol("MODE_FLAT"),Te$2=Symbol("cursor");function Wr(){return{value:"",length:0,queue:[]}}function zu(Ra,qa){return bt$2(Ra,{type:"indent"},qa)}function Gu(Ra,qa,nd){return qa===Number.NEGATIVE_INFINITY?Ra.root||Wr():qa<0?bt$2(Ra,{type:"dedent"},nd):qa?qa.type==="root"?{...Ra,root:Ra}:bt$2(Ra,{type:typeof qa=="string"?"stringAlign":"numberAlign",n:qa},nd):Ra}function bt$2(Ra,qa,nd){let od=qa.type==="dedent"?Ra.queue.slice(0,-1):[...Ra.queue,qa],ld="",ud=0,dd=0,pd=0;for(let Od of od)switch(Od.type){case"indent":vd(),nd.useTabs?fd(1):md(nd.tabWidth);break;case"stringAlign":vd(),ld+=Od.n,ud+=Od.n.length;break;case"numberAlign":dd+=1,pd+=Od.n;break;default:throw new Error(`Unexpected type '${Od.type}'`)}return Nd(),{...Ra,value:ld,length:ud,queue:od};function fd(Od){ld+=" ".repeat(Od),ud+=nd.tabWidth*Od}function md(Od){ld+=" ".repeat(Od),ud+=Od}function vd(){nd.useTabs?Ad():Nd()}function Ad(){dd>0&&fd(dd),Id()}function Nd(){pd>0&&md(pd),Id()}function Id(){dd=0,pd=0}}function Ot$1(Ra){let qa=0,nd=0,od=Ra.length;e:for(;od--;){let ld=Ra[od];if(ld===Te$2){nd++;continue}for(let ud=ld.length-1;ud>=0;ud--){let dd=ld[ud];if(dd===" "||dd===" ")qa++;else{Ra[od]=ld.slice(0,ud+1);break e}}}if(qa>0||nd>0)for(Ra.length=od+1;nd-- >0;)Ra.push(Te$2);return qa}function et$2(Ra,qa,nd,od,ld,ud){if(nd===Number.POSITIVE_INFINITY)return!0;let dd=qa.length,pd=[Ra],fd=[];for(;nd>=0;){if(pd.length===0){if(dd===0)return!0;pd.push(qa[--dd]);continue}let{mode:md,doc:vd}=pd.pop(),Ad=G$4(vd);switch(Ad){case U$4:fd.push(vd),nd-=Oe$2(vd);break;case W$4:case S$2:{let Nd=Ad===W$4?vd:vd.parts;for(let Id=Nd.length-1;Id>=0;Id--)pd.push({mode:md,doc:Nd[Id]});break}case L$3:case P$4:case R$5:case N$3:pd.push({mode:md,doc:vd.contents});break;case I$4:nd+=Ot$1(fd);break;case x$4:{if(ud&&vd.break)return!1;let Nd=vd.break?H$4:md,Id=vd.expandedStates&&Nd===H$4?y$3(!1,vd.expandedStates,-1):vd.contents;pd.push({mode:Nd,doc:Id});break}case _$3:{let Nd=(vd.groupId?ld[vd.groupId]||J$4:md)===H$4?vd.breakContents:vd.flatContents;Nd&&pd.push({mode:md,doc:Nd});break}case B$4:if(md===H$4||vd.hard)return!0;vd.soft||(fd.push(" "),nd--);break;case Y$3:od=!0;break;case j$3:if(od)return!1;break}}return!1}function Fe$2(Ra,qa){let nd={},od=qa.printWidth,ld=Be$3(qa.endOfLine),ud=0,dd=[{ind:Wr(),mode:H$4,doc:Ra}],pd=[],fd=!1,md=[],vd=0;for(Rr(Ra);dd.length>0;){let{ind:Nd,mode:Id,doc:Od}=dd.pop();switch(G$4(Od)){case U$4:{let Md=ld!==`
|
||
`?ne$3(!1,Od,`
|
||
`,ld):Od;pd.push(Md),dd.length>0&&(ud+=Oe$2(Md));break}case W$4:for(let Md=Od.length-1;Md>=0;Md--)dd.push({ind:Nd,mode:Id,doc:Od[Md]});break;case z$3:if(vd>=2)throw new Error("There are too many 'cursor' in doc.");pd.push(Te$2),vd++;break;case L$3:dd.push({ind:zu(Nd,qa),mode:Id,doc:Od.contents});break;case P$4:dd.push({ind:Gu(Nd,Od.n,qa),mode:Id,doc:Od.contents});break;case I$4:ud-=Ot$1(pd);break;case x$4:switch(Id){case J$4:if(!fd){dd.push({ind:Nd,mode:Od.break?H$4:J$4,doc:Od.contents});break}case H$4:{fd=!1;let Md={ind:Nd,mode:J$4,doc:Od.contents},Ud=od-ud,jd=md.length>0;if(!Od.break&&et$2(Md,dd,Ud,jd,nd))dd.push(Md);else if(Od.expandedStates){let Ld=y$3(!1,Od.expandedStates,-1);if(Od.break){dd.push({ind:Nd,mode:H$4,doc:Ld});break}else for(let Bd=1;Bd<Od.expandedStates.length+1;Bd++)if(Bd>=Od.expandedStates.length){dd.push({ind:Nd,mode:H$4,doc:Ld});break}else{let Gd=Od.expandedStates[Bd],qd={ind:Nd,mode:J$4,doc:Gd};if(et$2(qd,dd,Ud,jd,nd)){dd.push(qd);break}}}else dd.push({ind:Nd,mode:H$4,doc:Od.contents});break}}Od.id&&(nd[Od.id]=y$3(!1,dd,-1).mode);break;case S$2:{let Md=od-ud,{parts:Ud}=Od;if(Ud.length===0)break;let[jd,Ld]=Ud,Bd={ind:Nd,mode:J$4,doc:jd},Gd={ind:Nd,mode:H$4,doc:jd},qd=et$2(Bd,[],Md,md.length>0,nd,!0);if(Ud.length===1){qd?dd.push(Bd):dd.push(Gd);break}let zd={ind:Nd,mode:J$4,doc:Ld},Xd={ind:Nd,mode:H$4,doc:Ld};if(Ud.length===2){qd?dd.push(zd,Bd):dd.push(Xd,Gd);break}Ud.splice(0,2);let gf={ind:Nd,mode:Id,doc:Ge$1(Ud)},Yd=Ud[0];et$2({ind:Nd,mode:J$4,doc:[jd,Ld,Yd]},[],Md,md.length>0,nd,!0)?dd.push(gf,zd,Bd):qd?dd.push(gf,Xd,Bd):dd.push(gf,Xd,Gd);break}case _$3:case R$5:{let Md=Od.groupId?nd[Od.groupId]:Id;if(Md===H$4){let Ud=Od.type===_$3?Od.breakContents:Od.negate?Od.contents:De$2(Od.contents);Ud&&dd.push({ind:Nd,mode:Id,doc:Ud})}if(Md===J$4){let Ud=Od.type===_$3?Od.flatContents:Od.negate?De$2(Od.contents):Od.contents;Ud&&dd.push({ind:Nd,mode:Id,doc:Ud})}break}case Y$3:md.push({ind:Nd,mode:Id,doc:Od.contents});break;case j$3:md.length>0&&dd.push({ind:Nd,mode:Id,doc:_e$2});break;case B$4:switch(Id){case J$4:if(Od.hard)fd=!0;else{Od.soft||(pd.push(" "),ud+=1);break}case H$4:if(md.length>0){dd.push({ind:Nd,mode:Id,doc:Od},...md.reverse()),md.length=0;break}Od.literal?Nd.root?(pd.push(ld,Nd.root.value),ud=Nd.root.length):(pd.push(ld),ud=0):(ud-=Ot$1(pd),pd.push(ld+Nd.value),ud=Nd.length);break}break;case N$3:dd.push({ind:Nd,mode:Id,doc:Od.contents});break;case b$2:break;default:throw new Q$4(Od)}dd.length===0&&md.length>0&&(dd.push(...md.reverse()),md.length=0)}let Ad=pd.indexOf(Te$2);if(Ad!==-1){let Nd=pd.indexOf(Te$2,Ad+1),Id=pd.slice(0,Ad).join(""),Od=pd.slice(Ad+1,Nd).join(""),Md=pd.slice(Nd+1).join("");return{formatted:Id+Od+Md,cursorNodeStart:Id.length,cursorNodeText:Od}}return{formatted:pd.join("")}}function Ku(Ra,qa,nd=0){let od=0;for(let ld=nd;ld<Ra.length;++ld)Ra[ld]===" "?od=od+qa-od%qa:od++;return od}var me$3=Ku,te$2,Nt$1,tt$2,St$1=class{constructor(qa){Dr(this,te$2),this.stack=[qa]}get key(){let{stack:qa,siblings:nd}=this;return y$3(!1,qa,nd===null?-2:-4)??null}get index(){return this.siblings===null?null:y$3(!1,this.stack,-2)}get node(){return y$3(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:qa}=this,nd=y$3(!1,qa,-3);return Array.isArray(nd)?nd:null}get next(){let{siblings:qa}=this;return qa===null?null:qa[this.index+1]}get previous(){let{siblings:qa}=this;return qa===null?null:qa[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:qa,index:nd}=this;return qa!==null&&nd===qa.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...pe$2(this,te$2,tt$2).call(this)]}getName(){let{stack:qa}=this,{length:nd}=qa;return nd>1?y$3(!1,qa,-2):null}getValue(){return y$3(!1,this.stack,-1)}getNode(qa=0){let nd=pe$2(this,te$2,Nt$1).call(this,qa);return nd===-1?null:this.stack[nd]}getParentNode(qa=0){return this.getNode(qa+1)}call(qa,...nd){let{stack:od}=this,{length:ld}=od,ud=y$3(!1,od,-1);for(let dd of nd)ud=ud[dd],od.push(dd,ud);try{return qa(this)}finally{od.length=ld}}callParent(qa,nd=0){let od=pe$2(this,te$2,Nt$1).call(this,nd+1),ld=this.stack.splice(od+1);try{return qa(this)}finally{this.stack.push(...ld)}}each(qa,...nd){let{stack:od}=this,{length:ld}=od,ud=y$3(!1,od,-1);for(let dd of nd)ud=ud[dd],od.push(dd,ud);try{for(let dd=0;dd<ud.length;++dd)od.push(dd,ud[dd]),qa(this,dd,ud),od.length-=2}finally{od.length=ld}}map(qa,...nd){let od=[];return this.each((ld,ud,dd)=>{od[ud]=qa(ld,ud,dd)},...nd),od}match(...qa){let nd=this.stack.length-1,od=null,ld=this.stack[nd--];for(let ud of qa){if(ld===void 0)return!1;let dd=null;if(typeof od=="number"&&(dd=od,od=this.stack[nd--],ld=this.stack[nd--]),ud&&!ud(ld,od,dd))return!1;od=this.stack[nd--],ld=this.stack[nd--]}return!0}findAncestor(qa){for(let nd of pe$2(this,te$2,tt$2).call(this))if(qa(nd))return nd}hasAncestor(qa){for(let nd of pe$2(this,te$2,tt$2).call(this))if(qa(nd))return!0;return!1}};te$2=new WeakSet,Nt$1=function(Ra){let{stack:qa}=this;for(let nd=qa.length-1;nd>=0;nd-=2)if(!Array.isArray(qa[nd])&&--Ra<0)return nd;return-1},tt$2=function*(){let{stack:Ra}=this;for(let qa=Ra.length-3;qa>=0;qa-=2){let nd=Ra[qa];Array.isArray(nd)||(yield nd)}};var Mr=St$1,$r=new Proxy(()=>{},{get:()=>$r}),ke$3=$r;function qu(Ra){return Ra!==null&&typeof Ra=="object"}var Vr=qu;function*Tt$1(Ra,qa){let{getVisitorKeys:nd,filter:od=()=>!0}=qa,ld=ud=>Vr(ud)&&od(ud);for(let ud of nd(Ra)){let dd=Ra[ud];if(Array.isArray(dd))for(let pd of dd)ld(pd)&&(yield pd);else ld(dd)&&(yield dd)}}function*Ur(Ra,qa){let nd=[Ra];for(let od=0;od<nd.length;od++){let ld=nd[od];for(let ud of Tt$1(ld,qa))yield ud,nd.push(ud)}}function Ee$3(Ra){return(qa,nd,od)=>{let ld=!!(od!=null&&od.backwards);if(nd===!1)return!1;let{length:ud}=qa,dd=nd;for(;dd>=0&&dd<ud;){let pd=qa.charAt(dd);if(Ra instanceof RegExp){if(!Ra.test(pd))return dd}else if(!Ra.includes(pd))return dd;ld?dd--:dd++}return dd===-1||dd===ud?dd:!1}}var zr=Ee$3(/\s/u),T$3=Ee$3(" "),rt$1=Ee$3(",; "),nt$2=Ee$3(/[^\n\r]/u);function Ju(Ra,qa,nd){let od=!!(nd!=null&&nd.backwards);if(qa===!1)return!1;let ld=Ra.charAt(qa);if(od){if(Ra.charAt(qa-1)==="\r"&&ld===`
|
||
`)return qa-2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa-1}else{if(ld==="\r"&&Ra.charAt(qa+1)===`
|
||
`)return qa+2;if(ld===`
|
||
`||ld==="\r"||ld==="\u2028"||ld==="\u2029")return qa+1}return qa}var M$3=Ju;function Xu(Ra,qa,nd={}){let od=T$3(Ra,nd.backwards?qa-1:qa,nd),ld=M$3(Ra,od,nd);return od!==ld}var V$3=Xu;function Zu(Ra){return Array.isArray(Ra)&&Ra.length>0}var kt=Zu,Gr=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Qu=Ra=>Object.keys(Ra).filter(qa=>!Gr.has(qa));function eo(Ra){return Ra?qa=>Ra(qa,Gr):Qu}var X$4=eo;function to(Ra){let qa=Ra.type||Ra.kind||"(unknown type)",nd=String(Ra.name||Ra.id&&(typeof Ra.id=="object"?Ra.id.name:Ra.id)||Ra.key&&(typeof Ra.key=="object"?Ra.key.name:Ra.key)||Ra.value&&(typeof Ra.value=="object"?"":String(Ra.value))||Ra.operator||"");return nd.length>20&&(nd=nd.slice(0,19)+"…"),qa+(nd?" "+nd:"")}function Lt(Ra,qa){(Ra.comments??(Ra.comments=[])).push(qa),qa.printed=!1,qa.nodeDescription=to(Ra)}function ue$2(Ra,qa){qa.leading=!0,qa.trailing=!1,Lt(Ra,qa)}function re$2(Ra,qa,nd){qa.leading=!1,qa.trailing=!1,nd&&(qa.marker=nd),Lt(Ra,qa)}function oe$2(Ra,qa){qa.leading=!1,qa.trailing=!0,Lt(Ra,qa)}var Pt=new WeakMap;function ut$2(Ra,qa){if(Pt.has(Ra))return Pt.get(Ra);let{printer:{getCommentChildNodes:nd,canAttachComment:od,getVisitorKeys:ld},locStart:ud,locEnd:dd}=qa;if(!od)return[];let pd=((nd==null?void 0:nd(Ra,qa))??[...Tt$1(Ra,{getVisitorKeys:X$4(ld)})]).flatMap(fd=>od(fd)?[fd]:ut$2(fd,qa));return pd.sort((fd,md)=>ud(fd)-ud(md)||dd(fd)-dd(md)),Pt.set(Ra,pd),pd}function qr(Ra,qa,nd,od){let{locStart:ld,locEnd:ud}=nd,dd=ld(qa),pd=ud(qa),fd=ut$2(Ra,nd),md,vd,Ad=0,Nd=fd.length;for(;Ad<Nd;){let Id=Ad+Nd>>1,Od=fd[Id],Md=ld(Od),Ud=ud(Od);if(Md<=dd&&pd<=Ud)return qr(Od,qa,nd,Od);if(Ud<=dd){md=Od,Ad=Id+1;continue}if(pd<=Md){vd=Od,Nd=Id;continue}throw new Error("Comment location overlaps with node location")}if((od==null?void 0:od.type)==="TemplateLiteral"){let{quasis:Id}=od,Od=Rt$1(Id,qa,nd);md&&Rt$1(Id,md,nd)!==Od&&(md=null),vd&&Rt$1(Id,vd,nd)!==Od&&(vd=null)}return{enclosingNode:od,precedingNode:md,followingNode:vd}}var It$1=()=>!1;function Jr(Ra,qa){let{comments:nd}=Ra;if(delete Ra.comments,!kt(nd)||!qa.printer.canAttachComment)return;let od=[],{locStart:ld,locEnd:ud,printer:{experimentalFeatures:{avoidAstMutation:dd=!1}={},handleComments:pd={}},originalText:fd}=qa,{ownLine:md=It$1,endOfLine:vd=It$1,remaining:Ad=It$1}=pd,Nd=nd.map((Id,Od)=>({...qr(Ra,Id,qa),comment:Id,text:fd,options:qa,ast:Ra,isLastComment:nd.length-1===Od}));for(let[Id,Od]of Nd.entries()){let{comment:Md,precedingNode:Ud,enclosingNode:jd,followingNode:Ld,text:Bd,options:Gd,ast:qd,isLastComment:zd}=Od;if(Gd.parser==="json"||Gd.parser==="json5"||Gd.parser==="jsonc"||Gd.parser==="__js_expression"||Gd.parser==="__ts_expression"||Gd.parser==="__vue_expression"||Gd.parser==="__vue_ts_expression"){if(ld(Md)-ld(qd)<=0){ue$2(qd,Md);continue}if(ud(Md)-ud(qd)>=0){oe$2(qd,Md);continue}}let Xd;if(dd?Xd=[Od]:(Md.enclosingNode=jd,Md.precedingNode=Ud,Md.followingNode=Ld,Xd=[Md,Bd,Gd,qd,zd]),ro(Bd,Gd,Nd,Id))Md.placement="ownLine",md(...Xd)||(Ld?ue$2(Ld,Md):Ud?oe$2(Ud,Md):re$2(jd||qd,Md));else if(no(Bd,Gd,Nd,Id))Md.placement="endOfLine",vd(...Xd)||(Ud?oe$2(Ud,Md):Ld?ue$2(Ld,Md):re$2(jd||qd,Md));else if(Md.placement="remaining",!Ad(...Xd))if(Ud&&Ld){let gf=od.length;gf>0&&od[gf-1].followingNode!==Ld&&Kr(od,Gd),od.push(Od)}else Ud?oe$2(Ud,Md):Ld?ue$2(Ld,Md):re$2(jd||qd,Md)}if(Kr(od,qa),!dd)for(let Id of nd)delete Id.precedingNode,delete Id.enclosingNode,delete Id.followingNode}var Xr=Ra=>!/[\S\n\u2028\u2029]/u.test(Ra);function ro(Ra,qa,nd,od){let{comment:ld,precedingNode:ud}=nd[od],{locStart:dd,locEnd:pd}=qa,fd=dd(ld);if(ud)for(let md=od-1;md>=0;md--){let{comment:vd,precedingNode:Ad}=nd[md];if(Ad!==ud||!Xr(Ra.slice(pd(vd),fd)))break;fd=dd(vd)}return V$3(Ra,fd,{backwards:!0})}function no(Ra,qa,nd,od){let{comment:ld,followingNode:ud}=nd[od],{locStart:dd,locEnd:pd}=qa,fd=pd(ld);if(ud)for(let md=od+1;md<nd.length;md++){let{comment:vd,followingNode:Ad}=nd[md];if(Ad!==ud||!Xr(Ra.slice(fd,dd(vd))))break;fd=pd(vd)}return V$3(Ra,fd)}function Kr(Ra,qa){var nd,od;let ld=Ra.length;if(ld===0)return;let{precedingNode:ud,followingNode:dd}=Ra[0],pd=qa.locStart(dd),fd;for(fd=ld;fd>0;--fd){let{comment:md,precedingNode:vd,followingNode:Ad}=Ra[fd-1];ke$3.strictEqual(vd,ud),ke$3.strictEqual(Ad,dd);let Nd=qa.originalText.slice(qa.locEnd(md),pd);if(((od=(nd=qa.printer).isGap)==null?void 0:od.call(nd,Nd,qa))??/^[\s(]*$/u.test(Nd))pd=qa.locStart(md);else break}for(let[md,{comment:vd}]of Ra.entries())md<fd?oe$2(ud,vd):ue$2(dd,vd);for(let md of[ud,dd])md.comments&&md.comments.length>1&&md.comments.sort((vd,Ad)=>qa.locStart(vd)-qa.locStart(Ad));Ra.length=0}function Rt$1(Ra,qa,nd){let od=nd.locStart(qa)-1;for(let ld=1;ld<Ra.length;++ld)if(od<nd.locStart(Ra[ld]))return ld-1;return 0}function uo(Ra,qa){let nd=qa-1;nd=T$3(Ra,nd,{backwards:!0}),nd=M$3(Ra,nd,{backwards:!0}),nd=T$3(Ra,nd,{backwards:!0});let od=M$3(Ra,nd,{backwards:!0});return nd!==od}var Le$3=uo;function Zr(Ra,qa){let nd=Ra.node;return nd.printed=!0,qa.printer.printComment(Ra,qa)}function oo(Ra,qa){var nd;let od=Ra.node,ld=[Zr(Ra,qa)],{printer:ud,originalText:dd,locStart:pd,locEnd:fd}=qa;if((nd=ud.isBlockComment)!=null&&nd.call(ud,od)){let vd=V$3(dd,fd(od))?V$3(dd,pd(od),{backwards:!0})?q$4:Ke$2:" ";ld.push(vd)}else ld.push(q$4);let md=M$3(dd,T$3(dd,fd(od)));return md!==!1&&V$3(dd,md)&&ld.push(q$4),ld}function io(Ra,qa,nd){var od;let ld=Ra.node,ud=Zr(Ra,qa),{printer:dd,originalText:pd,locStart:fd}=qa,md=(od=dd.isBlockComment)==null?void 0:od.call(dd,ld);if(nd!=null&&nd.hasLineSuffix&&!(nd!=null&&nd.isBlock)||V$3(pd,fd(ld),{backwards:!0})){let vd=Le$3(pd,fd(ld));return{doc:xe$2([q$4,vd?q$4:"",ud]),isBlock:md,hasLineSuffix:!0}}return!md||nd!=null&&nd.hasLineSuffix?{doc:[xe$2([" ",ud]),de$2],isBlock:md,hasLineSuffix:!0}:{doc:[" ",ud],isBlock:md,hasLineSuffix:!1}}function so(Ra,qa){let nd=Ra.node;if(!nd)return{};let od=qa[Symbol.for("printedComments")];if((nd.comments||[]).filter(pd=>!od.has(pd)).length===0)return{leading:"",trailing:""};let ld=[],ud=[],dd;return Ra.each(()=>{let pd=Ra.node;if(od!=null&&od.has(pd))return;let{leading:fd,trailing:md}=pd;fd?ld.push(oo(Ra,qa)):md&&(dd=io(Ra,qa,dd),ud.push(dd.doc))},"comments"),{leading:ld,trailing:ud}}function Qr(Ra,qa,nd){let{leading:od,trailing:ld}=so(Ra,nd);return!od&&!ld?qa:Qe$1(qa,ud=>[od,ud,ld])}function en$1(Ra){let{[Symbol.for("comments")]:qa,[Symbol.for("printedComments")]:nd}=Ra;for(let od of qa){if(!od.printed&&!nd.has(od))throw new Error('Comment "'+od.value.trim()+'" was not printed. Please report this error!');delete od.printed}}var Pe$3=class extends Error{constructor(){super(...arguments);wg(this,"name","ConfigError")}},Ie$2=class extends Error{constructor(){super(...arguments);wg(this,"name","UndefinedParserError")}},rn$1={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing
|
||
(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:Ra=>typeof Ra=="string"||typeof Ra=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:Ra=>typeof Ra=="string"||typeof Ra=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive).
|
||
The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset.
|
||
The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
||
in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function ot$2({plugins:Ra=[],showDeprecated:qa=!1}={}){let nd=Ra.flatMap(ld=>ld.languages??[]),od=[];for(let ld of lo(Object.assign({},...Ra.map(({options:ud})=>ud),rn$1)))!qa&&ld.deprecated||(Array.isArray(ld.choices)&&(qa||(ld.choices=ld.choices.filter(ud=>!ud.deprecated)),ld.name==="parser"&&(ld.choices=[...ld.choices,...Do(ld.choices,nd,Ra)])),ld.pluginDefaults=Object.fromEntries(Ra.filter(ud=>{var dd;return((dd=ud.defaultOptions)==null?void 0:dd[ld.name])!==void 0}).map(ud=>[ud.name,ud.defaultOptions[ld.name]])),od.push(ld));return{languages:nd,options:od}}function*Do(Ra,qa,nd){let od=new Set(Ra.map(ld=>ld.value));for(let ld of qa)if(ld.parsers){for(let ud of ld.parsers)if(!od.has(ud)){od.add(ud);let dd=nd.find(fd=>fd.parsers&&Object.prototype.hasOwnProperty.call(fd.parsers,ud)),pd=ld.name;dd!=null&&dd.name&&(pd+=` (plugin: ${dd.name})`),yield{value:ud,description:pd}}}}function lo(Ra){let qa=[];for(let[nd,od]of Object.entries(Ra)){let ld={name:nd,...od};Array.isArray(ld.default)&&(ld.default=y$3(!1,ld.default,-1).value),qa.push(ld)}return qa}var co$1=Ra=>String(Ra).split(/[/\\]/u).pop();function nn$1(Ra,qa){if(!qa)return;let nd=co$1(qa).toLowerCase();return Ra.find(({filenames:od})=>od==null?void 0:od.some(ld=>ld.toLowerCase()===nd))??Ra.find(({extensions:od})=>od==null?void 0:od.some(ld=>nd.endsWith(ld)))}function fo(Ra,qa){if(qa)return Ra.find(({name:nd})=>nd.toLowerCase()===qa)??Ra.find(({aliases:nd})=>nd==null?void 0:nd.includes(qa))??Ra.find(({extensions:nd})=>nd==null?void 0:nd.includes(`.${qa}`))}function po(Ra,qa){let nd=Ra.plugins.flatMap(ld=>ld.languages??[]),od=fo(nd,qa.language)??nn$1(nd,qa.physicalFile)??nn$1(nd,qa.file)??(qa.physicalFile,void 0);return od==null?void 0:od.parsers[0]}var un$1=po,ie$2={key:Ra=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(Ra)?Ra:JSON.stringify(Ra),value(Ra){if(Ra===null||typeof Ra!="object")return JSON.stringify(Ra);if(Array.isArray(Ra))return`[${Ra.map(nd=>ie$2.value(nd)).join(", ")}]`;let qa=Object.keys(Ra);return qa.length===0?"{}":`{ ${qa.map(nd=>`${ie$2.key(nd)}: ${ie$2.value(Ra[nd])}`).join(", ")} }`},pair:({key:Ra,value:qa})=>ie$2.value({[Ra]:qa})},Yt$1=Me$2(it$1()),an$2=(Ra,qa,{descriptor:nd})=>{let od=[`${Yt$1.default.yellow(typeof Ra=="string"?nd.key(Ra):nd.pair(Ra))} is deprecated`];return qa&&od.push(`we now treat it as ${Yt$1.default.blue(typeof qa=="string"?nd.key(qa):nd.pair(qa))}`),od.join("; ")+"."},le$2=Me$2(it$1()),st$2=Symbol.for("vnopts.VALUE_NOT_EXIST"),he$2=Symbol.for("vnopts.VALUE_UNCHANGED"),Dn=" ".repeat(2),cn$2=(Ra,qa,nd)=>{let{text:od,list:ld}=nd.normalizeExpectedResult(nd.schemas[Ra].expected(nd)),ud=[];return od&&ud.push(ln$1(Ra,qa,od,nd.descriptor)),ld&&ud.push([ln$1(Ra,qa,ld.title,nd.descriptor)].concat(ld.values.map(dd=>fn$1(dd,nd.loggerPrintWidth))).join(`
|
||
`)),pn$1(ud,nd.loggerPrintWidth)};function ln$1(Ra,qa,nd,od){return[`Invalid ${le$2.default.red(od.key(Ra))} value.`,`Expected ${le$2.default.blue(nd)},`,`but received ${qa===st$2?le$2.default.gray("nothing"):le$2.default.red(od.value(qa))}.`].join(" ")}function fn$1({text:Ra,list:qa},nd){let od=[];return Ra&&od.push(`- ${le$2.default.blue(Ra)}`),qa&&od.push([`- ${le$2.default.blue(qa.title)}:`].concat(qa.values.map(ld=>fn$1(ld,nd-Dn.length).replace(/^|\n/g,`$&${Dn}`))).join(`
|
||
`)),pn$1(od,nd)}function pn$1(Ra,qa){if(Ra.length===1)return Ra[0];let[nd,od]=Ra,[ld,ud]=Ra.map(dd=>dd.split(`
|
||
`,1)[0].length);return ld>qa&&ld>ud?od:nd}var Wt$2=Me$2(it$1()),jt=[],dn$1=[];function Ht$1(Ra,qa){if(Ra===qa)return 0;let nd=Ra;Ra.length>qa.length&&(Ra=qa,qa=nd);let od=Ra.length,ld=qa.length;for(;od>0&&Ra.charCodeAt(~-od)===qa.charCodeAt(~-ld);)od--,ld--;let ud=0;for(;ud<od&&Ra.charCodeAt(ud)===qa.charCodeAt(ud);)ud++;if(od-=ud,ld-=ud,od===0)return ld;let dd,pd,fd,md,vd=0,Ad=0;for(;vd<od;)dn$1[vd]=Ra.charCodeAt(ud+vd),jt[vd]=++vd;for(;Ad<ld;)for(dd=qa.charCodeAt(ud+Ad),fd=Ad++,pd=Ad,vd=0;vd<od;vd++)md=dd===dn$1[vd]?fd:fd+1,fd=jt[vd],pd=jt[vd]=fd>pd?md>pd?pd+1:md:md>fd?fd+1:md;return pd}var at$4=(Ra,qa,{descriptor:nd,logger:od,schemas:ld})=>{let ud=[`Ignored unknown option ${Wt$2.default.yellow(nd.pair({key:Ra,value:qa}))}.`],dd=Object.keys(ld).sort().find(pd=>Ht$1(Ra,pd)<3);dd&&ud.push(`Did you mean ${Wt$2.default.blue(nd.key(dd))}?`),od.warn(ud.join(" "))},Fo=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function mo(Ra,qa){let nd=new Ra(qa),od=Object.create(nd);for(let ld of Fo)ld in qa&&(od[ld]=Eo(qa[ld],nd,O$2.prototype[ld].length));return od}var O$2=class{static create(qa){return mo(this,qa)}constructor(qa){this.name=qa.name}default(qa){}expected(qa){return"nothing"}validate(qa,nd){return!1}deprecated(qa,nd){return!1}forward(qa,nd){}redirect(qa,nd){}overlap(qa,nd,od){return qa}preprocess(qa,nd){return qa}postprocess(qa,nd){return he$2}};function Eo(Ra,qa,nd){return typeof Ra=="function"?(...od)=>Ra(...od.slice(0,nd-1),qa,...od.slice(nd-1)):()=>Ra}var Dt=class extends O$2{constructor(Ra){super(Ra),this._sourceName=Ra.sourceName}expected(Ra){return Ra.schemas[this._sourceName].expected(Ra)}validate(Ra,qa){return qa.schemas[this._sourceName].validate(Ra,qa)}redirect(Ra,qa){return this._sourceName}},lt$1=class extends O$2{expected(){return"anything"}validate(){return!0}},ct$2=class extends O$2{constructor({valueSchema:qa,name:nd=qa.name,...od}){super({...od,name:nd}),this._valueSchema=qa}expected(qa){let{text:nd,list:od}=qa.normalizeExpectedResult(this._valueSchema.expected(qa));return{text:nd&&`an array of ${nd}`,list:od&&{title:"an array of the following values",values:[{list:od}]}}}validate(qa,nd){if(!Array.isArray(qa))return!1;let od=[];for(let ld of qa){let ud=nd.normalizeValidateResult(this._valueSchema.validate(ld,nd),ld);ud!==!0&&od.push(ud.value)}return od.length===0?!0:{value:od}}deprecated(qa,nd){let od=[];for(let ld of qa){let ud=nd.normalizeDeprecatedResult(this._valueSchema.deprecated(ld,nd),ld);ud!==!1&&od.push(...ud.map(({value:dd})=>({value:[dd]})))}return od}forward(qa,nd){let od=[];for(let ld of qa){let ud=nd.normalizeForwardResult(this._valueSchema.forward(ld,nd),ld);od.push(...ud.map(Fn))}return od}redirect(qa,nd){let od=[],ld=[];for(let ud of qa){let dd=nd.normalizeRedirectResult(this._valueSchema.redirect(ud,nd),ud);"remain"in dd&&od.push(dd.remain),ld.push(...dd.redirect.map(Fn))}return od.length===0?{redirect:ld}:{redirect:ld,remain:od}}overlap(qa,nd){return qa.concat(nd)}};function Fn({from:Ra,to:qa}){return{from:[Ra],to:qa}}var ft$1=class extends O$2{expected(){return"true or false"}validate(qa){return typeof qa=="boolean"}};function En(Ra,qa){let nd=Object.create(null);for(let od of Ra){let ld=od[qa];if(nd[ld])throw new Error(`Duplicate ${qa} ${JSON.stringify(ld)}`);nd[ld]=od}return nd}function hn(Ra,qa){let nd=new Map;for(let od of Ra){let ld=od[qa];if(nd.has(ld))throw new Error(`Duplicate ${qa} ${JSON.stringify(ld)}`);nd.set(ld,od)}return nd}function Cn(){let Ra=Object.create(null);return qa=>{let nd=JSON.stringify(qa);return Ra[nd]?!0:(Ra[nd]=!0,!1)}}function gn$1(Ra,qa){let nd=[],od=[];for(let ld of Ra)qa(ld)?nd.push(ld):od.push(ld);return[nd,od]}function yn$1(Ra){return Ra===Math.floor(Ra)}function An(Ra,qa){if(Ra===qa)return 0;let nd=typeof Ra,od=typeof qa,ld=["undefined","object","boolean","number","string"];return nd!==od?ld.indexOf(nd)-ld.indexOf(od):nd!=="string"?Number(Ra)-Number(qa):Ra.localeCompare(qa)}function Bn(Ra){return(...qa)=>{let nd=Ra(...qa);return typeof nd=="string"?new Error(nd):nd}}function Mt$1(Ra){return Ra===void 0?{}:Ra}function $t$1(Ra){if(typeof Ra=="string")return{text:Ra};let{text:qa,list:nd}=Ra;return ho((qa||nd)!==void 0,"Unexpected `expected` result, there should be at least one field."),nd?{text:qa,list:{title:nd.title,values:nd.values.map($t$1)}}:{text:qa}}function Vt$1(Ra,qa){return Ra===!0?!0:Ra===!1?{value:qa}:Ra}function Ut$2(Ra,qa,nd=!1){return Ra===!1?!1:Ra===!0?nd?!0:[{value:qa}]:"value"in Ra?[Ra]:Ra.length===0?!1:Ra}function mn$1(Ra,qa){return typeof Ra=="string"||"key"in Ra?{from:qa,to:Ra}:"from"in Ra?{from:Ra.from,to:Ra.to}:{from:qa,to:Ra.to}}function pt$1(Ra,qa){return Ra===void 0?[]:Array.isArray(Ra)?Ra.map(nd=>mn$1(nd,qa)):[mn$1(Ra,qa)]}function zt$1(Ra,qa){let nd=pt$1(typeof Ra=="object"&&"redirect"in Ra?Ra.redirect:Ra,qa);return nd.length===0?{remain:qa,redirect:nd}:typeof Ra=="object"&&"remain"in Ra?{remain:Ra.remain,redirect:nd}:{redirect:nd}}function ho(Ra,qa){if(!Ra)throw new Error(qa)}var dt$1=class extends O$2{constructor(qa){super(qa),this._choices=hn(qa.choices.map(nd=>nd&&typeof nd=="object"?nd:{value:nd}),"value")}expected({descriptor:qa}){let nd=Array.from(this._choices.keys()).map(ud=>this._choices.get(ud)).filter(({hidden:ud})=>!ud).map(ud=>ud.value).sort(An).map(qa.value),od=nd.slice(0,-2),ld=nd.slice(-2);return{text:od.concat(ld.join(" or ")).join(", "),list:{title:"one of the following values",values:nd}}}validate(qa){return this._choices.has(qa)}deprecated(qa){let nd=this._choices.get(qa);return nd&&nd.deprecated?{value:qa}:!1}forward(qa){let nd=this._choices.get(qa);return nd?nd.forward:void 0}redirect(qa){let nd=this._choices.get(qa);return nd?nd.redirect:void 0}},Ft$1=class extends O$2{expected(){return"a number"}validate(qa,nd){return typeof qa=="number"}},mt$1=class extends Ft$1{expected(){return"an integer"}validate(qa,nd){return nd.normalizeValidateResult(super.validate(qa,nd),qa)===!0&&yn$1(qa)}},Re$3=class extends O$2{expected(){return"a string"}validate(qa){return typeof qa=="string"}},wn=ie$2,xn=at$4,_n=cn$2,vn=an$2,Et=class{constructor(Ra,qa){let{logger:nd=console,loggerPrintWidth:od=80,descriptor:ld=wn,unknown:ud=xn,invalid:dd=_n,deprecated:pd=vn,missing:fd=()=>!1,required:md=()=>!1,preprocess:vd=Nd=>Nd,postprocess:Ad=()=>he$2}=qa||{};this._utils={descriptor:ld,logger:nd||{warn:()=>{}},loggerPrintWidth:od,schemas:En(Ra,"name"),normalizeDefaultResult:Mt$1,normalizeExpectedResult:$t$1,normalizeDeprecatedResult:Ut$2,normalizeForwardResult:pt$1,normalizeRedirectResult:zt$1,normalizeValidateResult:Vt$1},this._unknownHandler=ud,this._invalidHandler=Bn(dd),this._deprecatedHandler=pd,this._identifyMissing=(Nd,Id)=>!(Nd in Id)||fd(Nd,Id),this._identifyRequired=md,this._preprocess=vd,this._postprocess=Ad,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Cn()}normalize(Ra){let qa={},nd=[this._preprocess(Ra,this._utils)],od=()=>{for(;nd.length!==0;){let ld=nd.shift(),ud=this._applyNormalization(ld,qa);nd.push(...ud)}};od();for(let ld of Object.keys(this._utils.schemas)){let ud=this._utils.schemas[ld];if(!(ld in qa)){let dd=Mt$1(ud.default(this._utils));"value"in dd&&nd.push({[ld]:dd.value})}}od();for(let ld of Object.keys(this._utils.schemas)){if(!(ld in qa))continue;let ud=this._utils.schemas[ld],dd=qa[ld],pd=ud.postprocess(dd,this._utils);pd!==he$2&&(this._applyValidation(pd,ld,ud),qa[ld]=pd)}return this._applyPostprocess(qa),this._applyRequiredCheck(qa),qa}_applyNormalization(Ra,qa){let nd=[],{knownKeys:od,unknownKeys:ld}=this._partitionOptionKeys(Ra);for(let ud of od){let dd=this._utils.schemas[ud],pd=dd.preprocess(Ra[ud],this._utils);this._applyValidation(pd,ud,dd);let fd=({from:Ad,to:Nd})=>{nd.push(typeof Nd=="string"?{[Nd]:Ad}:{[Nd.key]:Nd.value})},md=({value:Ad,redirectTo:Nd})=>{let Id=Ut$2(dd.deprecated(Ad,this._utils),pd,!0);if(Id!==!1)if(Id===!0)this._hasDeprecationWarned(ud)||this._utils.logger.warn(this._deprecatedHandler(ud,Nd,this._utils));else for(let{value:Od}of Id){let Md={key:ud,value:Od};if(!this._hasDeprecationWarned(Md)){let Ud=typeof Nd=="string"?{key:Nd,value:Od}:Nd;this._utils.logger.warn(this._deprecatedHandler(Md,Ud,this._utils))}}};pt$1(dd.forward(pd,this._utils),pd).forEach(fd);let vd=zt$1(dd.redirect(pd,this._utils),pd);if(vd.redirect.forEach(fd),"remain"in vd){let Ad=vd.remain;qa[ud]=ud in qa?dd.overlap(qa[ud],Ad,this._utils):Ad,md({value:Ad})}for(let{from:Ad,to:Nd}of vd.redirect)md({value:Ad,redirectTo:Nd})}for(let ud of ld){let dd=Ra[ud];this._applyUnknownHandler(ud,dd,qa,(pd,fd)=>{nd.push({[pd]:fd})})}return nd}_applyRequiredCheck(Ra){for(let qa of Object.keys(this._utils.schemas))if(this._identifyMissing(qa,Ra)&&this._identifyRequired(qa))throw this._invalidHandler(qa,st$2,this._utils)}_partitionOptionKeys(Ra){let[qa,nd]=gn$1(Object.keys(Ra).filter(od=>!this._identifyMissing(od,Ra)),od=>od in this._utils.schemas);return{knownKeys:qa,unknownKeys:nd}}_applyValidation(Ra,qa,nd){let od=Vt$1(nd.validate(Ra,this._utils),Ra);if(od!==!0)throw this._invalidHandler(qa,od.value,this._utils)}_applyUnknownHandler(Ra,qa,nd,od){let ld=this._unknownHandler(Ra,qa,this._utils);if(ld)for(let ud of Object.keys(ld)){if(this._identifyMissing(ud,ld))continue;let dd=ld[ud];ud in this._utils.schemas?od(ud,dd):nd[ud]=dd}}_applyPostprocess(Ra){let qa=this._postprocess(Ra,this._utils);if(qa!==he$2){if(qa.delete)for(let nd of qa.delete)delete Ra[nd];if(qa.override){let{knownKeys:nd,unknownKeys:od}=this._partitionOptionKeys(qa.override);for(let ld of nd){let ud=qa.override[ld];this._applyValidation(ud,ld,this._utils.schemas[ld]),Ra[ld]=ud}for(let ld of od){let ud=qa.override[ld];this._applyUnknownHandler(ld,ud,Ra,(dd,pd)=>{let fd=this._utils.schemas[dd];this._applyValidation(pd,dd,fd),Ra[dd]=pd})}}}}},Gt$1;function go(Ra,qa,{logger:nd=!1,isCLI:od=!1,passThrough:ld=!1,FlagSchema:ud,descriptor:dd}={}){if(od){if(!ud)throw new Error("'FlagSchema' option is required.");if(!dd)throw new Error("'descriptor' option is required.")}else dd=ie$2;let pd=ld?Array.isArray(ld)?(Nd,Id)=>ld.includes(Nd)?{[Nd]:Id}:void 0:(Nd,Id)=>({[Nd]:Id}):(Nd,Id,Od)=>{let{_:Md,...Ud}=Od.schemas;return at$4(Nd,Id,{...Od,schemas:Ud})},fd=yo(qa,{isCLI:od,FlagSchema:ud}),md=new Et(fd,{logger:nd,unknown:pd,descriptor:dd}),vd=nd!==!1;vd&&Gt$1&&(md._hasDeprecationWarned=Gt$1);let Ad=md.normalize(Ra);return vd&&(Gt$1=md._hasDeprecationWarned),Ad}function yo(Ra,{isCLI:qa,FlagSchema:nd}){let od=[];qa&&od.push(lt$1.create({name:"_"}));for(let ld of Ra)od.push(Ao(ld,{isCLI:qa,optionInfos:Ra,FlagSchema:nd})),ld.alias&&qa&&od.push(Dt.create({name:ld.alias,sourceName:ld.name}));return od}function Ao(Ra,{isCLI:qa,optionInfos:nd,FlagSchema:od}){let{name:ld}=Ra,ud={name:ld},dd,pd={};switch(Ra.type){case"int":dd=mt$1,qa&&(ud.preprocess=Number);break;case"string":dd=Re$3;break;case"choice":dd=dt$1,ud.choices=Ra.choices.map(fd=>fd!=null&&fd.redirect?{...fd,redirect:{to:{key:Ra.name,value:fd.redirect}}}:fd);break;case"boolean":dd=ft$1;break;case"flag":dd=od,ud.flags=nd.flatMap(fd=>[fd.alias,fd.description&&fd.name,fd.oppositeDescription&&`no-${fd.name}`].filter(Boolean));break;case"path":dd=Re$3;break;default:throw new Error(`Unexpected type ${Ra.type}`)}if(Ra.exception?ud.validate=(fd,md,vd)=>Ra.exception(fd)||md.validate(fd,vd):ud.validate=(fd,md,vd)=>fd===void 0||md.validate(fd,vd),Ra.redirect&&(pd.redirect=fd=>fd?{to:typeof Ra.redirect=="string"?Ra.redirect:{key:Ra.redirect.option,value:Ra.redirect.value}}:void 0),Ra.deprecated&&(pd.deprecated=!0),qa&&!Ra.array){let fd=ud.preprocess||(md=>md);ud.preprocess=(md,vd,Ad)=>vd.preprocess(fd(Array.isArray(md)?y$3(!1,md,-1):md),Ad)}return Ra.array?ct$2.create({...qa?{preprocess:fd=>Array.isArray(fd)?fd:[fd]}:{},...pd,valueSchema:dd.create(ud)}):dd.create({...ud,...pd})}var bn$1=go,Bo=(Ra,qa,nd)=>{if(!(Ra&&qa==null)){if(qa.findLast)return qa.findLast(nd);for(let od=qa.length-1;od>=0;od--){let ld=qa[od];if(nd(ld,od,qa))return ld}}},Kt$1=Bo;function qt$2(Ra,qa){if(!qa)throw new Error("parserName is required.");let nd=Kt$1(!1,Ra,ld=>ld.parsers&&Object.prototype.hasOwnProperty.call(ld.parsers,qa));if(nd)return nd;let od=`Couldn't resolve parser "${qa}".`;throw od+=" Plugins must be explicitly added to the standalone bundle.",new Pe$3(od)}function On(Ra,qa){if(!qa)throw new Error("astFormat is required.");let nd=Kt$1(!1,Ra,ld=>ld.printers&&Object.prototype.hasOwnProperty.call(ld.printers,qa));if(nd)return nd;let od=`Couldn't find plugin for AST format "${qa}".`;throw od+=" Plugins must be explicitly added to the standalone bundle.",new Pe$3(od)}function ht$1({plugins:Ra,parser:qa}){let nd=qt$2(Ra,qa);return Jt$2(nd,qa)}function Jt$2(Ra,qa){let nd=Ra.parsers[qa];return typeof nd=="function"?nd():nd}function Sn(Ra,qa){let nd=Ra.printers[qa];return typeof nd=="function"?nd():nd}var Nn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function wo(Ra,qa={}){var nd;let od={...Ra};if(!od.parser)if(od.filepath){if(od.parser=un$1(od,{physicalFile:od.filepath}),!od.parser)throw new Ie$2(`No parser could be inferred for file "${od.filepath}".`)}else throw new Ie$2("No parser and no file path given, couldn't infer a parser.");let ld=ot$2({plugins:Ra.plugins,showDeprecated:!0}).options,ud={...Nn,...Object.fromEntries(ld.filter(Nd=>Nd.default!==void 0).map(Nd=>[Nd.name,Nd.default]))},dd=qt$2(od.plugins,od.parser),pd=await Jt$2(dd,od.parser);od.astFormat=pd.astFormat,od.locEnd=pd.locEnd,od.locStart=pd.locStart;let fd=(nd=dd.printers)!=null&&nd[pd.astFormat]?dd:On(od.plugins,pd.astFormat),md=await Sn(fd,pd.astFormat);od.printer=md;let vd=fd.defaultOptions?Object.fromEntries(Object.entries(fd.defaultOptions).filter(([,Nd])=>Nd!==void 0)):{},Ad={...ud,...vd};for(let[Nd,Id]of Object.entries(Ad))(od[Nd]===null||od[Nd]===void 0)&&(od[Nd]=Id);return od.parser==="json"&&(od.trailingComma="none"),bn$1(od,ld,{passThrough:Object.keys(Nn),...qa})}var se$3=wo,Vn=Me$2($n());async function ko(Ra,qa){let nd=await ht$1(qa),od=nd.preprocess?nd.preprocess(Ra,qa):Ra;qa.originalText=od;let ld;try{ld=await nd.parse(od,qa,qa)}catch(ud){Lo(ud,Ra)}return{text:od,ast:ld}}function Lo(Ra,qa){let{loc:nd}=Ra;if(nd){let od=(0,Vn.codeFrameColumns)(qa,nd,{highlightCode:!0});throw Ra.message+=`
|
||
`+od,Ra.codeFrame=od,Ra}throw Ra}var ce$4=ko;async function Un(Ra,qa,nd,od,ld){let{embeddedLanguageFormatting:ud,printer:{embed:dd,hasPrettierIgnore:pd=()=>!1,getVisitorKeys:fd}}=nd;if(!dd||ud!=="auto")return;if(dd.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let md=X$4(dd.getVisitorKeys??fd),vd=[];Id();let Ad=Ra.stack;for(let{print:Od,node:Md,pathStack:Ud}of vd)try{Ra.stack=Ud;let jd=await Od(Nd,qa,Ra,nd);jd&&ld.set(Md,jd)}catch(jd){if(globalThis.PRETTIER_DEBUG)throw jd}Ra.stack=Ad;function Nd(Od,Md){return Po(Od,Md,nd,od)}function Id(){let{node:Od}=Ra;if(Od===null||typeof Od!="object"||pd(Ra))return;for(let Ud of md(Od))Array.isArray(Od[Ud])?Ra.each(Id,Ud):Ra.call(Id,Ud);let Md=dd(Ra,nd);if(Md){if(typeof Md=="function"){vd.push({print:Md,node:Od,pathStack:[...Ra.stack]});return}ld.set(Od,Md)}}}async function Po(Ra,qa,nd,od){let ld=await se$3({...nd,...qa,parentParser:nd.parser,originalText:Ra},{passThrough:!0}),{ast:ud}=await ce$4(Ra,ld),dd=await od(ud,ld);return Ze$1(dd)}function Io(Ra,qa){let{originalText:nd,[Symbol.for("comments")]:od,locStart:ld,locEnd:ud,[Symbol.for("printedComments")]:dd}=qa,{node:pd}=Ra,fd=ld(pd),md=ud(pd);for(let vd of od)ld(vd)>=fd&&ud(vd)<=md&&dd.add(vd);return nd.slice(fd,md)}var zn=Io;async function Ye$2(Ra,qa){({ast:Ra}=await Qt$1(Ra,qa));let nd=new Map,od=new Mr(Ra),ld=new Map;await Un(od,dd,qa,Ye$2,ld);let ud=await Gn(od,qa,dd,void 0,ld);return en$1(qa),ud;function dd(fd,md){return fd===void 0||fd===od?pd(md):Array.isArray(fd)?od.call(()=>pd(md),...fd):od.call(()=>pd(md),fd)}function pd(fd){let md=od.node;if(md==null)return"";let vd=md&&typeof md=="object"&&fd===void 0;if(vd&&nd.has(md))return nd.get(md);let Ad=Gn(od,qa,dd,fd,ld);return vd&&nd.set(md,Ad),Ad}}function Gn(Ra,qa,nd,od,ld){var ud;let{node:dd}=Ra,{printer:pd}=qa,fd;return(ud=pd.hasPrettierIgnore)!=null&&ud.call(pd,Ra)?fd=zn(Ra,qa):ld.has(dd)?fd=ld.get(dd):fd=pd.print(Ra,qa,nd,od),dd===qa.cursorNode&&(fd=Qe$1(fd,md=>[ve$3,md,ve$3])),pd.printComment&&(!pd.willPrintOwnComments||!pd.willPrintOwnComments(Ra,qa))&&(fd=Qr(Ra,fd,qa)),fd}async function Qt$1(Ra,qa){let nd=Ra.comments??[];qa[Symbol.for("comments")]=nd,qa[Symbol.for("tokens")]=Ra.tokens??[],qa[Symbol.for("printedComments")]=new Set,Jr(Ra,qa);let{printer:{preprocess:od}}=qa;return Ra=od?await od(Ra,qa):Ra,{ast:Ra,comments:nd}}function Ro(Ra,qa){let{cursorOffset:nd,locStart:od,locEnd:ld}=qa,ud=X$4(qa.printer.getVisitorKeys),dd=fd=>od(fd)<=nd&&ld(fd)>=nd,pd=Ra;for(let fd of Ur(Ra,{getVisitorKeys:ud,filter:dd}))pd=fd;return pd}var Kn=Ro;function Yo(Ra,qa){let{printer:{massageAstNode:nd,getVisitorKeys:od}}=qa;if(!nd)return Ra;let ld=X$4(od),ud=nd.ignoredProperties??new Set;return dd(Ra);function dd(pd,fd){if(!(pd!==null&&typeof pd=="object"))return pd;if(Array.isArray(pd))return pd.map(Nd=>dd(Nd,fd)).filter(Boolean);let md={},vd=new Set(ld(pd));for(let Nd in pd)!Object.prototype.hasOwnProperty.call(pd,Nd)||ud.has(Nd)||(vd.has(Nd)?md[Nd]=dd(pd[Nd],pd):md[Nd]=pd[Nd]);let Ad=nd(pd,md,fd);if(Ad!==null)return Ad??md}}var qn=Yo,jo=(Ra,qa,nd)=>{if(!(Ra&&qa==null)){if(qa.findLastIndex)return qa.findLastIndex(nd);for(let od=qa.length-1;od>=0;od--){let ld=qa[od];if(nd(ld,od,qa))return od}return-1}},Jn=jo,Ho=({parser:Ra})=>Ra==="json"||Ra==="json5"||Ra==="jsonc"||Ra==="json-stringify";function Wo(Ra,qa){let nd=[Ra.node,...Ra.parentNodes],od=new Set([qa.node,...qa.parentNodes]);return nd.find(ld=>Qn.has(ld.type)&&od.has(ld))}function Xn(Ra){let qa=Jn(!1,Ra,nd=>nd.type!=="Program"&&nd.type!=="File");return qa===-1?Ra:Ra.slice(0,qa+1)}function Mo(Ra,qa,{locStart:nd,locEnd:od}){let ld=Ra.node,ud=qa.node;if(ld===ud)return{startNode:ld,endNode:ud};let dd=nd(Ra.node);for(let fd of Xn(qa.parentNodes))if(nd(fd)>=dd)ud=fd;else break;let pd=od(qa.node);for(let fd of Xn(Ra.parentNodes)){if(od(fd)<=pd)ld=fd;else break;if(ld===ud)break}return{startNode:ld,endNode:ud}}function er(Ra,qa,nd,od,ld=[],ud){let{locStart:dd,locEnd:pd}=nd,fd=dd(Ra),md=pd(Ra);if(!(qa>md||qa<fd||ud==="rangeEnd"&&qa===fd||ud==="rangeStart"&&qa===md)){for(let vd of ut$2(Ra,nd)){let Ad=er(vd,qa,nd,od,[Ra,...ld],ud);if(Ad)return Ad}if(!od||od(Ra,ld[0]))return{node:Ra,parentNodes:ld}}}function $o(Ra,qa){return qa!=="DeclareExportDeclaration"&&Ra!=="TypeParameterDeclaration"&&(Ra==="Directive"||Ra==="TypeAlias"||Ra==="TSExportAssignment"||Ra.startsWith("Declare")||Ra.startsWith("TSDeclare")||Ra.endsWith("Statement")||Ra.endsWith("Declaration"))}var Qn=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Vo=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Zn(Ra,qa,nd){if(!qa)return!1;switch(Ra.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return $o(qa.type,nd==null?void 0:nd.type);case"json":case"json5":case"jsonc":case"json-stringify":return Qn.has(qa.type);case"graphql":return Vo.has(qa.kind);case"vue":return qa.tag!=="root"}return!1}function eu(Ra,qa,nd){let{rangeStart:od,rangeEnd:ld,locStart:ud,locEnd:dd}=qa;ke$3.ok(ld>od);let pd=Ra.slice(od,ld).search(/\S/u),fd=pd===-1;if(!fd)for(od+=pd;ld>od&&!/\S/u.test(Ra[ld-1]);--ld);let md=er(nd,od,qa,(Id,Od)=>Zn(qa,Id,Od),[],"rangeStart"),vd=fd?md:er(nd,ld,qa,Id=>Zn(qa,Id),[],"rangeEnd");if(!md||!vd)return{rangeStart:0,rangeEnd:0};let Ad,Nd;if(Ho(qa)){let Id=Wo(md,vd);Ad=Id,Nd=Id}else({startNode:Ad,endNode:Nd}=Mo(md,vd,qa));return{rangeStart:Math.min(ud(Ad),ud(Nd)),rangeEnd:Math.max(dd(Ad),dd(Nd))}}var uu="\uFEFF",tu=Symbol("cursor");async function ou(Ra,qa,nd=0){if(!Ra||Ra.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:od,text:ld}=await ce$4(Ra,qa);qa.cursorOffset>=0&&(qa.cursorNode=Kn(od,qa));let ud=await Ye$2(od,qa);nd>0&&(ud=Je$1([q$4,ud],nd,qa.tabWidth));let dd=Fe$2(ud,qa);if(nd>0){let fd=dd.formatted.trim();dd.cursorNodeStart!==void 0&&(dd.cursorNodeStart-=dd.formatted.indexOf(fd)),dd.formatted=fd+Be$3(qa.endOfLine)}let pd=qa[Symbol.for("comments")];if(qa.cursorOffset>=0){let fd,md,vd,Ad,Nd;if(qa.cursorNode&&dd.cursorNodeText?(fd=qa.locStart(qa.cursorNode),md=ld.slice(fd,qa.locEnd(qa.cursorNode)),vd=qa.cursorOffset-fd,Ad=dd.cursorNodeStart,Nd=dd.cursorNodeText):(fd=0,md=ld,vd=qa.cursorOffset,Ad=0,Nd=dd.formatted),md===Nd)return{formatted:dd.formatted,cursorOffset:Ad+vd,comments:pd};let Id=md.split("");Id.splice(vd,0,tu);let Od=Nd.split(""),Md=dr(Id,Od),Ud=Ad;for(let jd of Md)if(jd.removed){if(jd.value.includes(tu))break}else Ud+=jd.count;return{formatted:dd.formatted,cursorOffset:Ud,comments:pd}}return{formatted:dd.formatted,cursorOffset:-1,comments:pd}}async function Uo(Ra,qa){let{ast:nd,text:od}=await ce$4(Ra,qa),{rangeStart:ld,rangeEnd:ud}=eu(od,qa,nd),dd=od.slice(ld,ud),pd=Math.min(ld,od.lastIndexOf(`
|
||
`,ld)+1),fd=od.slice(pd,ld).match(/^\s*/u)[0],md=me$3(fd,qa.tabWidth),vd=await ou(dd,{...qa,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:qa.cursorOffset>ld&&qa.cursorOffset<=ud?qa.cursorOffset-ld:-1,endOfLine:"lf"},md),Ad=vd.formatted.trimEnd(),{cursorOffset:Nd}=qa;Nd>ud?Nd+=Ad.length-dd.length:vd.cursorOffset>=0&&(Nd=vd.cursorOffset+ld);let Id=od.slice(0,ld)+Ad+od.slice(ud);if(qa.endOfLine!=="lf"){let Od=Be$3(qa.endOfLine);Nd>=0&&Od===`\r
|
||
`&&(Nd+=wt$1(Id.slice(0,Nd),`
|
||
`)),Id=ne$3(!1,Id,`
|
||
`,Od)}return{formatted:Id,cursorOffset:Nd,comments:vd.comments}}function tr(Ra,qa,nd){return typeof qa!="number"||Number.isNaN(qa)||qa<0||qa>Ra.length?nd:qa}function ru(Ra,qa){let{cursorOffset:nd,rangeStart:od,rangeEnd:ld}=qa;return nd=tr(Ra,nd,-1),od=tr(Ra,od,0),ld=tr(Ra,ld,Ra.length),{...qa,cursorOffset:nd,rangeStart:od,rangeEnd:ld}}function iu(Ra,qa){let{cursorOffset:nd,rangeStart:od,rangeEnd:ld,endOfLine:ud}=ru(Ra,qa),dd=Ra.charAt(0)===uu;if(dd&&(Ra=Ra.slice(1),nd--,od--,ld--),ud==="auto"&&(ud=Fr(Ra)),Ra.includes("\r")){let pd=fd=>wt$1(Ra.slice(0,Math.max(fd,0)),`\r
|
||
`);nd-=pd(nd),od-=pd(od),ld-=pd(ld),Ra=mr(Ra)}return{hasBOM:dd,text:Ra,options:ru(Ra,{...qa,cursorOffset:nd,rangeStart:od,rangeEnd:ld,endOfLine:ud})}}async function nu(Ra,qa){let nd=await ht$1(qa);return!nd.hasPragma||nd.hasPragma(Ra)}async function rr(Ra,qa){let{hasBOM:nd,text:od,options:ld}=iu(Ra,await se$3(qa));if(ld.rangeStart>=ld.rangeEnd&&od!==""||ld.requirePragma&&!await nu(od,ld))return{formatted:Ra,cursorOffset:qa.cursorOffset,comments:[]};let ud;return ld.rangeStart>0||ld.rangeEnd<od.length?ud=await Uo(od,ld):(!ld.requirePragma&&ld.insertPragma&&ld.printer.insertPragma&&!await nu(od,ld)&&(od=ld.printer.insertPragma(od)),ud=await ou(od,ld)),nd&&(ud.formatted=uu+ud.formatted,ud.cursorOffset>=0&&ud.cursorOffset++),ud}async function su(Ra,qa,nd){let{text:od,options:ld}=iu(Ra,await se$3(qa)),ud=await ce$4(od,ld);return nd&&(nd.preprocessForPrint&&(ud.ast=await Qt$1(ud.ast,ld)),nd.massage&&(ud.ast=qn(ud.ast,ld))),ud}async function au$1(Ra,qa){qa=await se$3(qa);let nd=await Ye$2(Ra,qa);return Fe$2(nd,qa)}async function Du(Ra,qa){let nd=Or(Ra),{formatted:od}=await rr(nd,{...qa,parser:"__js_expression"});return od}async function lu(Ra,qa){qa=await se$3(qa);let{ast:nd}=await ce$4(Ra,qa);return Ye$2(nd,qa)}async function cu$1(Ra,qa){return Fe$2(Ra,await se$3(qa))}var nr={};We$1(nr,{builders:()=>Go,printer:()=>Ko,utils:()=>qo});var Go={join:be$4,line:Ke$2,softline:vr,hardline:q$4,literalline:qe,group:_t$1,conditionalGroup:Ar,fill:Ge$1,lineSuffix:xe$2,lineSuffixBoundary:xr,cursor:ve$3,breakParent:de$2,ifBreak:Br,trim:_r,indent:De$2,indentIfBreak:wr,align:ae$3,addAlignmentToDoc:Je$1,markAsRoot:gr,dedentToRoot:Cr,dedent:yr,hardlineWithoutBreakParent:_e$2,literallineWithoutBreakParent:vt$2,label:br$3,concat:Ra=>Ra},Ko={printDocToString:Fe$2},qo={willBreak:Ir,traverseDoc:we$3,findInDoc:Xe$1,mapDoc:Ne$2,removeLines:Yr,stripTrailingHardline:Ze$1,replaceEndOfLine:jr,canBreak:Hr},fu="3.3.3",or={};We$1(or,{addDanglingComment:()=>re$2,addLeadingComment:()=>ue$2,addTrailingComment:()=>oe$2,getAlignmentSize:()=>me$3,getIndentSize:()=>pu,getMaxContinuousCount:()=>du,getNextNonSpaceNonCommentCharacter:()=>Fu,getNextNonSpaceNonCommentCharacterIndex:()=>si,getStringWidth:()=>Oe$2,hasNewline:()=>V$3,hasNewlineInRange:()=>mu,hasSpaces:()=>Eu,isNextLineEmpty:()=>ci$1,isNextLineEmptyAfterIndex:()=>gt$1,isPreviousLineEmpty:()=>Di,makeString:()=>hu,skip:()=>Ee$3,skipEverythingButNewLine:()=>nt$2,skipInlineComment:()=>Ce$2,skipNewline:()=>M$3,skipSpaces:()=>T$3,skipToLineEnd:()=>rt$1,skipTrailingComment:()=>ge$3,skipWhitespace:()=>zr});function Jo(Ra,qa){if(qa===!1)return!1;if(Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="*"){for(let nd=qa+2;nd<Ra.length;++nd)if(Ra.charAt(nd)==="*"&&Ra.charAt(nd+1)==="/")return nd+2}return qa}var Ce$2=Jo;function Xo(Ra,qa){return qa===!1?!1:Ra.charAt(qa)==="/"&&Ra.charAt(qa+1)==="/"?nt$2(Ra,qa):qa}var ge$3=Xo;function Zo(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=T$3(Ra,od),od=Ce$2(Ra,od),od=ge$3(Ra,od),od=M$3(Ra,od);return od}var je$3=Zo;function Qo(Ra,qa){let nd=null,od=qa;for(;od!==nd;)nd=od,od=rt$1(Ra,od),od=Ce$2(Ra,od),od=T$3(Ra,od);return od=ge$3(Ra,od),od=M$3(Ra,od),od!==!1&&V$3(Ra,od)}var gt$1=Qo;function ei(Ra,qa){let nd=Ra.lastIndexOf(`
|
||
`);return nd===-1?0:me$3(Ra.slice(nd+1).match(/^[\t ]*/u)[0],qa)}var pu=ei;function ur(Ra){if(typeof Ra!="string")throw new TypeError("Expected a string");return Ra.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ti(Ra,qa){let nd=Ra.match(new RegExp(`(${ur(qa)})+`,"gu"));return nd===null?0:nd.reduce((od,ld)=>Math.max(od,ld.length/qa.length),0)}var du=ti;function ri(Ra,qa){let nd=je$3(Ra,qa);return nd===!1?"":Ra.charAt(nd)}var Fu=ri;function ni(Ra,qa,nd){for(let od=qa;od<nd;++od)if(Ra.charAt(od)===`
|
||
`)return!0;return!1}var mu=ni;function ui(Ra,qa,nd={}){return T$3(Ra,nd.backwards?qa-1:qa,nd)!==qa}var Eu=ui;function oi(Ra,qa,nd){let od=qa==='"'?"'":'"',ld=ne$3(!1,Ra,/\\(.)|(["'])/gsu,(ud,dd,pd)=>dd===od?dd:pd===qa?"\\"+pd:pd||(nd&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(dd)?dd:"\\"+dd));return qa+ld+qa}var hu=oi;function ii$1(Ra,qa,nd){return je$3(Ra,nd(qa))}function si(Ra,qa){return arguments.length===2||typeof qa=="number"?je$3(Ra,qa):ii$1(...arguments)}function ai$1(Ra,qa,nd){return Le$3(Ra,nd(qa))}function Di(Ra,qa){return arguments.length===2||typeof qa=="number"?Le$3(Ra,qa):ai$1(...arguments)}function li(Ra,qa,nd){return gt$1(Ra,nd(qa))}function ci$1(Ra,qa){return arguments.length===2||typeof qa=="number"?gt$1(Ra,qa):li(...arguments)}function fe$3(Ra,qa=1){return async(...nd)=>{let od=nd[qa]??{},ld=od.plugins??[];return nd[qa]={...od,plugins:Array.isArray(ld)?ld:Object.values(ld)},Ra(...nd)}}var Cu=fe$3(rr);async function gu(Ra,qa){let{formatted:nd}=await Cu(Ra,{...qa,cursorOffset:-1});return nd}async function fi(Ra,qa){return await gu(Ra,qa)===Ra}var pi$2=fe$3(ot$2,0),di={parse:fe$3(su),formatAST:fe$3(au$1),formatDoc:fe$3(Du),printToDoc:fe$3(lu),printDocToString:fe$3(cu$1)};function addPrefix(Ra){return`${prefix}__${Ra}`}function customizeTheme(Ra,qa){const nd=JSON.parse(JSON.stringify(Ra)),{fontSize:od,color:ld}=qa;if(od)for(let ud=1;ud<=6;ud++){const dd=nd.block[`h${ud}`]["font-size"];nd.block[`h${ud}`]["font-size"]=`${od*Number.parseFloat(dd)}px`}return ld&&(nd.base["--md-primary-color"]=ld),nd}function customCssWithTemplate(Ra,qa,nd){const od=customizeTheme(nd,{color:qa}),ld=(pd,fd,md)=>{md.forEach(vd=>{fd[vd]&&(pd[vd]=Object.assign(pd[vd]||{},fd[vd]))})},ud=["h1","h2","h3","h4","h5","h6","code","code_pre","p","hr","blockquote","blockquote_note","blockquote_tip","blockquote_important","blockquote_warning","blockquote_caution","blockquote_p","blockquote_p_note","blockquote_p_tip","blockquote_p_important","blockquote_p_warning","blockquote_p_caution","blockquote_title","blockquote_title_note","blockquote_title_tip","blockquote_title_important","blockquote_title_warning","blockquote_title_caution","image","ul","ol"],dd=["strong","codespan","link","wx_link","listitem"];return ld(od.block,Ra,ud),ld(od.inline,Ra,dd),od}function css2json(Ra){Ra=Ra.replace(/\/\*[\s\S]*?\*\//g,"");const qa={},nd=od=>od.reduce((ld,ud)=>{const[dd,pd]=ud.split(":").map(fd=>fd.trim());return dd&&(ld[dd]=pd),ld},{});for(;Ra.includes("{")&&Ra.includes("}");){const od=Ra.indexOf("{"),ld=Ra.indexOf("}"),ud=Ra.substring(od+1,ld).split(";").map(fd=>fd.trim()).filter(Boolean),dd=Ra.substring(0,od).split(",").map(fd=>fd.trim()),pd=nd(ud);dd.forEach(fd=>{qa[fd]={...qa[fd]||{},...pd}}),Ra=Ra.slice(ld+1).trim()}return qa}function getStyleString(Ra){return Object.entries(Ra??{}).map(([qa,nd])=>`${qa}: ${nd}`).join("; ")}async function formatDoc(Ra,qa="markdown"){const nd={markdown:[prettierPluginMarkdown,prettierPluginBabel,prettierPluginEstree],css:[prettierPluginCss]},od=qa in nd?qa:"markdown";return await gu(Ra,{parser:od,plugins:nd[od]})}function downloadMD(Ra){const qa=document.createElement("a");qa.download="content.md",qa.style.display="none";const nd=new Blob([Ra]);qa.href=URL.createObjectURL(nd),document.body.appendChild(qa),qa.click(),document.body.removeChild(qa)}function exportHTML(Ra){const qa=document.querySelector("#output");ud(qa);const nd=qa.innerHTML.replaceAll("var(--md-primary-color)",Ra).replaceAll(/--md-primary-color:.+?;/g,""),od=document.createElement("a");od.download="content.html",od.style.display="none";const ld=new Blob([`<html><head><meta charset="utf-8" /></head><body><div style="width: 750px; margin: auto;">${nd}</div></body></html>`]);od.href=URL.createObjectURL(ld),document.body.appendChild(od),od.click(),document.body.removeChild(od);function ud(dd){function pd(Ad,Nd=["width","height","inlineSize","webkitLogicalWidth","webkitLogicalHeight"]){const Id=getComputedStyle(Ad,null);return Object.entries(Id).filter(([Od])=>{const Md=Od.replace(/[A-Z]/g,Ud=>`-${Ud.toLowerCase()}`);return Id.getPropertyValue(Md)&&!Nd.includes(Od)}).map(([Od,Md])=>`${Od.replace(/[A-Z]/g,jd=>`-${jd.toLowerCase()}`)}:${Md};`).join("")}switch(!0){case fd(dd):case md(dd):case vd(dd):dd.setAttribute("style",pd(dd))}dd.children.length&&Array.from(dd.children).forEach(Ad=>ud(Ad));function fd(Ad){return Ad.tagName==="PRE"&&Array.from(Ad.classList).includes("code__pre")}function md(Ad){return Ad==null?!1:Ad.tagName==="CODE"}function vd(Ad){return Ad.tagName==="SPAN"&&(md(Ad.parentElement)||md(Ad.parentElement.parentElement))}}}function createTable({data:Ra,rows:qa,cols:nd}){let od="";for(let ld=0;ld<qa+2;++ld){od+="| ";const ud=[];for(let dd=0;dd<nd;++dd){const pd=ld>1?ld-1:ld;ud.push(ld===1?"---":Ra[`k_${pd}_${dd}`]||" ")}od+=ud.join(" | "),od+=` |
|
||
`}return od}function toBase64$2(Ra){return new Promise((qa,nd)=>{const od=new FileReader;od.readAsDataURL(Ra),od.onload=()=>qa(od.result.split(",").pop()),od.onerror=ld=>nd(ld)})}function checkImage(Ra){if(!/\.(?:gif|jpe?g|png)$/i.test(Ra.name))return{ok:!1,msg:"请上传 JPG/PNG/GIF 格式的图片"};const nd=10;return Ra.size>nd*1024*1024?{ok:!1,msg:`由于公众号限制,图片大小不能超过 ${nd}M`}:{ok:!0}}function removeLeft(Ra){const qa=Ra.split(`
|
||
`),nd=qa.filter(od=>od.trim()).map(od=>od.match(/(^\s+)?/)[0].length).sort((od,ld)=>od-ld)[0];return qa.map(od=>od.slice(nd)).join(`
|
||
`)}function solveWeChatImage(){const qa=document.getElementById("output").getElementsByTagName("img");for(let nd=0;nd<qa.length;nd++){const od=qa[nd],ld=od.getAttribute("width"),ud=od.getAttribute("height");od.removeAttribute("width"),od.removeAttribute("height"),od.style.width=ld,od.style.height=ud}}function mergeCss(Ra){return juice(Ra,{inlinePseudoElements:!0,preserveImportant:!0})}function deepFreeze(Ra){return Ra instanceof Map?Ra.clear=Ra.delete=Ra.set=function(){throw new Error("map is read-only")}:Ra instanceof Set&&(Ra.add=Ra.clear=Ra.delete=function(){throw new Error("set is read-only")}),Object.freeze(Ra),Object.getOwnPropertyNames(Ra).forEach(qa=>{const nd=Ra[qa],od=typeof nd;(od==="object"||od==="function")&&!Object.isFrozen(nd)&&deepFreeze(nd)}),Ra}let Response$1=class{constructor(qa){qa.data===void 0&&(qa.data={}),this.data=qa.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function escapeHTML(Ra){return Ra.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit$1(Ra,...qa){const nd=Object.create(null);for(const od in Ra)nd[od]=Ra[od];return qa.forEach(function(od){for(const ld in od)nd[ld]=od[ld]}),nd}const SPAN_CLOSE="</span>",emitsWrappingTags=Ra=>!!Ra.scope,scopeToCSSClass=(Ra,{prefix:qa})=>{if(Ra.startsWith("language:"))return Ra.replace("language:","language-");if(Ra.includes(".")){const nd=Ra.split(".");return[`${qa}${nd.shift()}`,...nd.map((od,ld)=>`${od}${"_".repeat(ld+1)}`)].join(" ")}return`${qa}${Ra}`};class HTMLRenderer{constructor(qa,nd){this.buffer="",this.classPrefix=nd.classPrefix,qa.walk(this)}addText(qa){this.buffer+=escapeHTML(qa)}openNode(qa){if(!emitsWrappingTags(qa))return;const nd=scopeToCSSClass(qa.scope,{prefix:this.classPrefix});this.span(nd)}closeNode(qa){emitsWrappingTags(qa)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(qa){this.buffer+=`<span class="${qa}">`}}const newNode=(Ra={})=>{const qa={children:[]};return Object.assign(qa,Ra),qa};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(qa){this.top.children.push(qa)}openNode(qa){const nd=newNode({scope:qa});this.add(nd),this.stack.push(nd)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(qa){return this.constructor._walk(qa,this.rootNode)}static _walk(qa,nd){return typeof nd=="string"?qa.addText(nd):nd.children&&(qa.openNode(nd),nd.children.forEach(od=>this._walk(qa,od)),qa.closeNode(nd)),qa}static _collapse(qa){typeof qa!="string"&&qa.children&&(qa.children.every(nd=>typeof nd=="string")?qa.children=[qa.children.join("")]:qa.children.forEach(nd=>{TokenTree._collapse(nd)}))}}class TokenTreeEmitter extends TokenTree{constructor(qa){super(),this.options=qa}addText(qa){qa!==""&&this.add(qa)}startScope(qa){this.openNode(qa)}endScope(){this.closeNode()}__addSublanguage(qa,nd){const od=qa.root;nd&&(od.scope=`language:${nd}`),this.add(od)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(Ra){return Ra?typeof Ra=="string"?Ra:Ra.source:null}function lookahead(Ra){return concat$2("(?=",Ra,")")}function anyNumberOfTimes(Ra){return concat$2("(?:",Ra,")*")}function optional(Ra){return concat$2("(?:",Ra,")?")}function concat$2(...Ra){return Ra.map(nd=>source(nd)).join("")}function stripOptionsFromArgs(Ra){const qa=Ra[Ra.length-1];return typeof qa=="object"&&qa.constructor===Object?(Ra.splice(Ra.length-1,1),qa):{}}function either(...Ra){return"("+(stripOptionsFromArgs(Ra).capture?"":"?:")+Ra.map(od=>source(od)).join("|")+")"}function countMatchGroups(Ra){return new RegExp(Ra.toString()+"|").exec("").length-1}function startsWith$1(Ra,qa){const nd=Ra&&Ra.exec(qa);return nd&&nd.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(Ra,{joinWith:qa}){let nd=0;return Ra.map(od=>{nd+=1;const ld=nd;let ud=source(od),dd="";for(;ud.length>0;){const pd=BACKREF_RE.exec(ud);if(!pd){dd+=ud;break}dd+=ud.substring(0,pd.index),ud=ud.substring(pd.index+pd[0].length),pd[0][0]==="\\"&&pd[1]?dd+="\\"+String(Number(pd[1])+ld):(dd+=pd[0],pd[0]==="("&&nd++)}return dd}).map(od=>`(${od})`).join(qa)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(Ra={})=>{const qa=/^#![ ]*\//;return Ra.binary&&(Ra.begin=concat$2(qa,/.*\b/,Ra.binary,/\b.*/)),inherit$1({scope:"meta",begin:qa,end:/$/,relevance:0,"on:begin":(nd,od)=>{nd.index!==0&&od.ignoreMatch()}},Ra)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT$1=function(Ra,qa,nd={}){const od=inherit$1({scope:"comment",begin:Ra,end:qa,contains:[]},nd);od.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ld=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return od.contains.push({begin:concat$2(/[ ]+/,"(",ld,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),od},C_LINE_COMMENT_MODE=COMMENT$1("//","$"),C_BLOCK_COMMENT_MODE=COMMENT$1("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT$1("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]},TITLE_MODE={scope:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(Ra){return Object.assign(Ra,{"on:begin":(qa,nd)=>{nd.data._beginMatch=qa[1]},"on:end":(qa,nd)=>{nd.data._beginMatch!==qa[1]&&nd.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,APOS_STRING_MODE,BACKSLASH_ESCAPE,BINARY_NUMBER_MODE,BINARY_NUMBER_RE,COMMENT:COMMENT$1,C_BLOCK_COMMENT_MODE,C_LINE_COMMENT_MODE,C_NUMBER_MODE,C_NUMBER_RE,END_SAME_AS_BEGIN,HASH_COMMENT_MODE,IDENT_RE,MATCH_NOTHING_RE,METHOD_GUARD,NUMBER_MODE,NUMBER_RE,PHRASAL_WORDS_MODE,QUOTE_STRING_MODE,REGEXP_MODE,RE_STARTERS_RE,SHEBANG,TITLE_MODE,UNDERSCORE_IDENT_RE,UNDERSCORE_TITLE_MODE});function skipIfHasPrecedingDot(Ra,qa){Ra.input[Ra.index-1]==="."&&qa.ignoreMatch()}function scopeClassName(Ra,qa){Ra.className!==void 0&&(Ra.scope=Ra.className,delete Ra.className)}function beginKeywords(Ra,qa){qa&&Ra.beginKeywords&&(Ra.begin="\\b("+Ra.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Ra.__beforeBegin=skipIfHasPrecedingDot,Ra.keywords=Ra.keywords||Ra.beginKeywords,delete Ra.beginKeywords,Ra.relevance===void 0&&(Ra.relevance=0))}function compileIllegal(Ra,qa){Array.isArray(Ra.illegal)&&(Ra.illegal=either(...Ra.illegal))}function compileMatch(Ra,qa){if(Ra.match){if(Ra.begin||Ra.end)throw new Error("begin & end are not supported with match");Ra.begin=Ra.match,delete Ra.match}}function compileRelevance(Ra,qa){Ra.relevance===void 0&&(Ra.relevance=1)}const beforeMatchExt=(Ra,qa)=>{if(!Ra.beforeMatch)return;if(Ra.starts)throw new Error("beforeMatch cannot be used with starts");const nd=Object.assign({},Ra);Object.keys(Ra).forEach(od=>{delete Ra[od]}),Ra.keywords=nd.keywords,Ra.begin=concat$2(nd.beforeMatch,lookahead(nd.begin)),Ra.starts={relevance:0,contains:[Object.assign(nd,{endsParent:!0})]},Ra.relevance=0,delete nd.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(Ra,qa,nd=DEFAULT_KEYWORD_SCOPE){const od=Object.create(null);return typeof Ra=="string"?ld(nd,Ra.split(" ")):Array.isArray(Ra)?ld(nd,Ra):Object.keys(Ra).forEach(function(ud){Object.assign(od,compileKeywords(Ra[ud],qa,ud))}),od;function ld(ud,dd){qa&&(dd=dd.map(pd=>pd.toLowerCase())),dd.forEach(function(pd){const fd=pd.split("|");od[fd[0]]=[ud,scoreForKeyword(fd[0],fd[1])]})}}function scoreForKeyword(Ra,qa){return qa?Number(qa):commonKeyword(Ra)?0:1}function commonKeyword(Ra){return COMMON_KEYWORDS.includes(Ra.toLowerCase())}const seenDeprecations={},error=Ra=>{console.error(Ra)},warn=(Ra,...qa)=>{console.log(`WARN: ${Ra}`,...qa)},deprecated=(Ra,qa)=>{seenDeprecations[`${Ra}/${qa}`]||(console.log(`Deprecated as of ${Ra}. ${qa}`),seenDeprecations[`${Ra}/${qa}`]=!0)},MultiClassError=new Error;function remapScopeNames(Ra,qa,{key:nd}){let od=0;const ld=Ra[nd],ud={},dd={};for(let pd=1;pd<=qa.length;pd++)dd[pd+od]=ld[pd],ud[pd+od]=!0,od+=countMatchGroups(qa[pd-1]);Ra[nd]=dd,Ra[nd]._emit=ud,Ra[nd]._multi=!0}function beginMultiClass(Ra){if(Array.isArray(Ra.begin)){if(Ra.skip||Ra.excludeBegin||Ra.returnBegin)throw error("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof Ra.beginScope!="object"||Ra.beginScope===null)throw error("beginScope must be object"),MultiClassError;remapScopeNames(Ra,Ra.begin,{key:"beginScope"}),Ra.begin=_rewriteBackreferences(Ra.begin,{joinWith:""})}}function endMultiClass(Ra){if(Array.isArray(Ra.end)){if(Ra.skip||Ra.excludeEnd||Ra.returnEnd)throw error("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof Ra.endScope!="object"||Ra.endScope===null)throw error("endScope must be object"),MultiClassError;remapScopeNames(Ra,Ra.end,{key:"endScope"}),Ra.end=_rewriteBackreferences(Ra.end,{joinWith:""})}}function scopeSugar(Ra){Ra.scope&&typeof Ra.scope=="object"&&Ra.scope!==null&&(Ra.beginScope=Ra.scope,delete Ra.scope)}function MultiClass(Ra){scopeSugar(Ra),typeof Ra.beginScope=="string"&&(Ra.beginScope={_wrap:Ra.beginScope}),typeof Ra.endScope=="string"&&(Ra.endScope={_wrap:Ra.endScope}),beginMultiClass(Ra),endMultiClass(Ra)}function compileLanguage(Ra){function qa(dd,pd){return new RegExp(source(dd),"m"+(Ra.case_insensitive?"i":"")+(Ra.unicodeRegex?"u":"")+(pd?"g":""))}class nd{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(pd,fd){fd.position=this.position++,this.matchIndexes[this.matchAt]=fd,this.regexes.push([fd,pd]),this.matchAt+=countMatchGroups(pd)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const pd=this.regexes.map(fd=>fd[1]);this.matcherRe=qa(_rewriteBackreferences(pd,{joinWith:"|"}),!0),this.lastIndex=0}exec(pd){this.matcherRe.lastIndex=this.lastIndex;const fd=this.matcherRe.exec(pd);if(!fd)return null;const md=fd.findIndex((Ad,Nd)=>Nd>0&&Ad!==void 0),vd=this.matchIndexes[md];return fd.splice(0,md),Object.assign(fd,vd)}}class od{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(pd){if(this.multiRegexes[pd])return this.multiRegexes[pd];const fd=new nd;return this.rules.slice(pd).forEach(([md,vd])=>fd.addRule(md,vd)),fd.compile(),this.multiRegexes[pd]=fd,fd}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(pd,fd){this.rules.push([pd,fd]),fd.type==="begin"&&this.count++}exec(pd){const fd=this.getMatcher(this.regexIndex);fd.lastIndex=this.lastIndex;let md=fd.exec(pd);if(this.resumingScanAtSamePosition()&&!(md&&md.index===this.lastIndex)){const vd=this.getMatcher(0);vd.lastIndex=this.lastIndex+1,md=vd.exec(pd)}return md&&(this.regexIndex+=md.position+1,this.regexIndex===this.count&&this.considerAll()),md}}function ld(dd){const pd=new od;return dd.contains.forEach(fd=>pd.addRule(fd.begin,{rule:fd,type:"begin"})),dd.terminatorEnd&&pd.addRule(dd.terminatorEnd,{type:"end"}),dd.illegal&&pd.addRule(dd.illegal,{type:"illegal"}),pd}function ud(dd,pd){const fd=dd;if(dd.isCompiled)return fd;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(vd=>vd(dd,pd)),Ra.compilerExtensions.forEach(vd=>vd(dd,pd)),dd.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(vd=>vd(dd,pd)),dd.isCompiled=!0;let md=null;return typeof dd.keywords=="object"&&dd.keywords.$pattern&&(dd.keywords=Object.assign({},dd.keywords),md=dd.keywords.$pattern,delete dd.keywords.$pattern),md=md||/\w+/,dd.keywords&&(dd.keywords=compileKeywords(dd.keywords,Ra.case_insensitive)),fd.keywordPatternRe=qa(md,!0),pd&&(dd.begin||(dd.begin=/\B|\b/),fd.beginRe=qa(fd.begin),!dd.end&&!dd.endsWithParent&&(dd.end=/\B|\b/),dd.end&&(fd.endRe=qa(fd.end)),fd.terminatorEnd=source(fd.end)||"",dd.endsWithParent&&pd.terminatorEnd&&(fd.terminatorEnd+=(dd.end?"|":"")+pd.terminatorEnd)),dd.illegal&&(fd.illegalRe=qa(dd.illegal)),dd.contains||(dd.contains=[]),dd.contains=[].concat(...dd.contains.map(function(vd){return expandOrCloneMode(vd==="self"?dd:vd)})),dd.contains.forEach(function(vd){ud(vd,fd)}),dd.starts&&ud(dd.starts,pd),fd.matcher=ld(fd),fd}if(Ra.compilerExtensions||(Ra.compilerExtensions=[]),Ra.contains&&Ra.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Ra.classNameAliases=inherit$1(Ra.classNameAliases||{}),ud(Ra)}function dependencyOnParent(Ra){return Ra?Ra.endsWithParent||dependencyOnParent(Ra.starts):!1}function expandOrCloneMode(Ra){return Ra.variants&&!Ra.cachedVariants&&(Ra.cachedVariants=Ra.variants.map(function(qa){return inherit$1(Ra,{variants:null},qa)})),Ra.cachedVariants?Ra.cachedVariants:dependencyOnParent(Ra)?inherit$1(Ra,{starts:Ra.starts?inherit$1(Ra.starts):null}):Object.isFrozen(Ra)?inherit$1(Ra):Ra}var version$3="11.10.0";class HTMLInjectionError extends Error{constructor(qa,nd){super(qa),this.name="HTMLInjectionError",this.html=nd}}const escape$4=escapeHTML,inherit$2=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(Ra){const qa=Object.create(null),nd=Object.create(null),od=[];let ld=!0;const ud="Could not find the language '{}', did you forget to load/include a language module?",dd={disableAutodetect:!0,name:"Plain text",contains:[]};let pd={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function fd(Df){return pd.noHighlightRe.test(Df)}function md(Df){let jf=Df.className+" ";jf+=Df.parentNode?Df.parentNode.className:"";const Jf=pd.languageDetectRe.exec(jf);if(Jf){const eh=Yd(Jf[1]);return eh||(warn(ud.replace("{}",Jf[1])),warn("Falling back to no-highlight mode for this block.",Df)),eh?Jf[1]:"no-highlight"}return jf.split(/\s+/).find(eh=>fd(eh)||Yd(eh))}function vd(Df,jf,Jf){let eh="",th="";typeof jf=="object"?(eh=Df,Jf=jf.ignoreIllegals,th=jf.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead.
|
||
https://github.com/highlightjs/highlight.js/issues/2277`),th=Df,eh=jf),Jf===void 0&&(Jf=!0);const Uf={code:eh,language:th};vf("before:highlight",Uf);const Of=Uf.result?Uf.result:Ad(Uf.language,Uf.code,Jf);return Of.code=Uf.code,vf("after:highlight",Of),Of}function Ad(Df,jf,Jf,eh){const th=Object.create(null);function Uf(gm,Mm){return gm.keywords[Mm]}function Of(){if(!Kf.keywords){Ah.addText(mh);return}let gm=0;Kf.keywordPatternRe.lastIndex=0;let Mm=Kf.keywordPatternRe.exec(mh),Hm="";for(;Mm;){Hm+=mh.substring(gm,Mm.index);const gh=Zf.case_insensitive?Mm[0].toLowerCase():Mm[0],Lf=Uf(Kf,gh);if(Lf){const[$f,fh]=Lf;if(Ah.addText(Hm),Hm="",th[gh]=(th[gh]||0)+1,th[gh]<=MAX_KEYWORD_HITS&&(im+=fh),$f.startsWith("_"))Hm+=Mm[0];else{const Ch=Zf.classNameAliases[$f]||$f;zf(Mm[0],Ch)}}else Hm+=Mm[0];gm=Kf.keywordPatternRe.lastIndex,Mm=Kf.keywordPatternRe.exec(mh)}Hm+=mh.substring(gm),Ah.addText(Hm)}function Wf(){if(mh==="")return;let gm=null;if(typeof Kf.subLanguage=="string"){if(!qa[Kf.subLanguage]){Ah.addText(mh);return}gm=Ad(Kf.subLanguage,mh,!0,wh[Kf.subLanguage]),wh[Kf.subLanguage]=gm._top}else gm=Id(mh,Kf.subLanguage.length?Kf.subLanguage:null);Kf.relevance>0&&(im+=gm.relevance),Ah.__addSublanguage(gm._emitter,gm.language)}function qf(){Kf.subLanguage!=null?Wf():Of(),mh=""}function zf(gm,Mm){gm!==""&&(Ah.startScope(Mm),Ah.addText(gm),Ah.endScope())}function Tf(gm,Mm){let Hm=1;const gh=Mm.length-1;for(;Hm<=gh;){if(!gm._emit[Hm]){Hm++;continue}const Lf=Zf.classNameAliases[gm[Hm]]||gm[Hm],$f=Mm[Hm];Lf?zf($f,Lf):(mh=$f,Of(),mh=""),Hm++}}function Sf(gm,Mm){return gm.scope&&typeof gm.scope=="string"&&Ah.openNode(Zf.classNameAliases[gm.scope]||gm.scope),gm.beginScope&&(gm.beginScope._wrap?(zf(mh,Zf.classNameAliases[gm.beginScope._wrap]||gm.beginScope._wrap),mh=""):gm.beginScope._multi&&(Tf(gm.beginScope,Mm),mh="")),Kf=Object.create(gm,{parent:{value:Kf}}),Kf}function Yf(gm,Mm,Hm){let gh=startsWith$1(gm.endRe,Hm);if(gh){if(gm["on:end"]){const Lf=new Response$1(gm);gm["on:end"](Mm,Lf),Lf.isMatchIgnored&&(gh=!1)}if(gh){for(;gm.endsParent&&gm.parent;)gm=gm.parent;return gm}}if(gm.endsWithParent)return Yf(gm.parent,Mm,Hm)}function ih(gm){return Kf.matcher.regexIndex===0?(mh+=gm[0],1):(Pm=!0,0)}function Th(gm){const Mm=gm[0],Hm=gm.rule,gh=new Response$1(Hm),Lf=[Hm.__beforeBegin,Hm["on:begin"]];for(const $f of Lf)if($f&&($f(gm,gh),gh.isMatchIgnored))return ih(Mm);return Hm.skip?mh+=Mm:(Hm.excludeBegin&&(mh+=Mm),qf(),!Hm.returnBegin&&!Hm.excludeBegin&&(mh=Mm)),Sf(Hm,gm),Hm.returnBegin?0:Mm.length}function sh(gm){const Mm=gm[0],Hm=jf.substring(gm.index),gh=Yf(Kf,gm,Hm);if(!gh)return NO_MATCH;const Lf=Kf;Kf.endScope&&Kf.endScope._wrap?(qf(),zf(Mm,Kf.endScope._wrap)):Kf.endScope&&Kf.endScope._multi?(qf(),Tf(Kf.endScope,gm)):Lf.skip?mh+=Mm:(Lf.returnEnd||Lf.excludeEnd||(mh+=Mm),qf(),Lf.excludeEnd&&(mh=Mm));do Kf.scope&&Ah.closeNode(),!Kf.skip&&!Kf.subLanguage&&(im+=Kf.relevance),Kf=Kf.parent;while(Kf!==gh.parent);return gh.starts&&Sf(gh.starts,gm),Lf.returnEnd?0:Mm.length}function Nf(){const gm=[];for(let Mm=Kf;Mm!==Zf;Mm=Mm.parent)Mm.scope&&gm.unshift(Mm.scope);gm.forEach(Mm=>Ah.openNode(Mm))}let ph={};function Oh(gm,Mm){const Hm=Mm&&Mm[0];if(mh+=gm,Hm==null)return qf(),0;if(ph.type==="begin"&&Mm.type==="end"&&ph.index===Mm.index&&Hm===""){if(mh+=jf.slice(Mm.index,Mm.index+1),!ld){const gh=new Error(`0 width match regex (${Df})`);throw gh.languageName=Df,gh.badRule=ph.rule,gh}return 1}if(ph=Mm,Mm.type==="begin")return Th(Mm);if(Mm.type==="illegal"&&!Jf){const gh=new Error('Illegal lexeme "'+Hm+'" for mode "'+(Kf.scope||"<unnamed>")+'"');throw gh.mode=Kf,gh}else if(Mm.type==="end"){const gh=sh(Mm);if(gh!==NO_MATCH)return gh}if(Mm.type==="illegal"&&Hm==="")return 1;if(Tm>1e5&&Tm>Mm.index*3)throw new Error("potential infinite loop, way more iterations than matches");return mh+=Hm,Hm.length}const Zf=Yd(Df);if(!Zf)throw error(ud.replace("{}",Df)),new Error('Unknown language: "'+Df+'"');const Rf=compileLanguage(Zf);let Bf="",Kf=eh||Rf;const wh={},Ah=new pd.__emitter(pd);Nf();let mh="",im=0,Bh=0,Tm=0,Pm=!1;try{if(Zf.__emitTokens)Zf.__emitTokens(jf,Ah);else{for(Kf.matcher.considerAll();;){Tm++,Pm?Pm=!1:Kf.matcher.considerAll(),Kf.matcher.lastIndex=Bh;const gm=Kf.matcher.exec(jf);if(!gm)break;const Mm=jf.substring(Bh,gm.index),Hm=Oh(Mm,gm);Bh=gm.index+Hm}Oh(jf.substring(Bh))}return Ah.finalize(),Bf=Ah.toHTML(),{language:Df,value:Bf,relevance:im,illegal:!1,_emitter:Ah,_top:Kf}}catch(gm){if(gm.message&&gm.message.includes("Illegal"))return{language:Df,value:escape$4(jf),illegal:!0,relevance:0,_illegalBy:{message:gm.message,index:Bh,context:jf.slice(Bh-100,Bh+100),mode:gm.mode,resultSoFar:Bf},_emitter:Ah};if(ld)return{language:Df,value:escape$4(jf),illegal:!1,relevance:0,errorRaised:gm,_emitter:Ah,_top:Kf};throw gm}}function Nd(Df){const jf={value:escape$4(Df),illegal:!1,relevance:0,_top:dd,_emitter:new pd.__emitter(pd)};return jf._emitter.addText(Df),jf}function Id(Df,jf){jf=jf||pd.languages||Object.keys(qa);const Jf=Nd(Df),eh=jf.filter(Yd).filter(df).map(qf=>Ad(qf,Df,!1));eh.unshift(Jf);const th=eh.sort((qf,zf)=>{if(qf.relevance!==zf.relevance)return zf.relevance-qf.relevance;if(qf.language&&zf.language){if(Yd(qf.language).supersetOf===zf.language)return 1;if(Yd(zf.language).supersetOf===qf.language)return-1}return 0}),[Uf,Of]=th,Wf=Uf;return Wf.secondBest=Of,Wf}function Od(Df,jf,Jf){const eh=jf&&nd[jf]||Jf;Df.classList.add("hljs"),Df.classList.add(`language-${eh}`)}function Md(Df){let jf=null;const Jf=md(Df);if(fd(Jf))return;if(vf("before:highlightElement",{el:Df,language:Jf}),Df.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Df);return}if(Df.children.length>0&&(pd.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Df)),pd.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",Df.innerHTML);jf=Df;const eh=jf.textContent,th=Jf?vd(eh,{language:Jf,ignoreIllegals:!0}):Id(eh);Df.innerHTML=th.value,Df.dataset.highlighted="yes",Od(Df,Jf,th.language),Df.result={language:th.language,re:th.relevance,relevance:th.relevance},th.secondBest&&(Df.secondBest={language:th.secondBest.language,relevance:th.secondBest.relevance}),vf("after:highlightElement",{el:Df,result:th,text:eh})}function Ud(Df){pd=inherit$2(pd,Df)}const jd=()=>{Gd(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Ld(){Gd(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Bd=!1;function Gd(){if(document.readyState==="loading"){Bd=!0;return}document.querySelectorAll(pd.cssSelector).forEach(Md)}function qd(){Bd&&Gd()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",qd,!1);function zd(Df,jf){let Jf=null;try{Jf=jf(Ra)}catch(eh){if(error("Language definition for '{}' could not be registered.".replace("{}",Df)),ld)error(eh);else throw eh;Jf=dd}Jf.name||(Jf.name=Df),qa[Df]=Jf,Jf.rawDefinition=jf.bind(null,Ra),Jf.aliases&&Zd(Jf.aliases,{languageName:Df})}function Xd(Df){delete qa[Df];for(const jf of Object.keys(nd))nd[jf]===Df&&delete nd[jf]}function gf(){return Object.keys(qa)}function Yd(Df){return Df=(Df||"").toLowerCase(),qa[Df]||qa[nd[Df]]}function Zd(Df,{languageName:jf}){typeof Df=="string"&&(Df=[Df]),Df.forEach(Jf=>{nd[Jf.toLowerCase()]=jf})}function df(Df){const jf=Yd(Df);return jf&&!jf.disableAutodetect}function Ef(Df){Df["before:highlightBlock"]&&!Df["before:highlightElement"]&&(Df["before:highlightElement"]=jf=>{Df["before:highlightBlock"](Object.assign({block:jf.el},jf))}),Df["after:highlightBlock"]&&!Df["after:highlightElement"]&&(Df["after:highlightElement"]=jf=>{Df["after:highlightBlock"](Object.assign({block:jf.el},jf))})}function _f(Df){Ef(Df),od.push(Df)}function xf(Df){const jf=od.indexOf(Df);jf!==-1&&od.splice(jf,1)}function vf(Df,jf){const Jf=Df;od.forEach(function(eh){eh[Jf]&&eh[Jf](jf)})}function Af(Df){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),Md(Df)}Object.assign(Ra,{highlight:vd,highlightAuto:Id,highlightAll:Gd,highlightElement:Md,highlightBlock:Af,configure:Ud,initHighlighting:jd,initHighlightingOnLoad:Ld,registerLanguage:zd,unregisterLanguage:Xd,listLanguages:gf,getLanguage:Yd,registerAliases:Zd,autoDetection:df,inherit:inherit$2,addPlugin:_f,removePlugin:xf}),Ra.debugMode=function(){ld=!1},Ra.safeMode=function(){ld=!0},Ra.versionString=version$3,Ra.regex={concat:concat$2,lookahead,either,optional,anyNumberOfTimes};for(const Df in MODES)typeof MODES[Df]=="object"&&deepFreeze(MODES[Df]);return Object.assign(Ra,MODES),Ra},highlight=HLJS({});highlight.newInstance=()=>HLJS({});var core$2=highlight;highlight.HighlightJS=highlight;highlight.default=highlight;var _1c_1,hasRequired_1c;function require_1c(){if(hasRequired_1c)return _1c_1;hasRequired_1c=1;function Ra(qa){const nd="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",ud="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",fd="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",Id="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",eh="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",Of="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Wf="null истина ложь неопределено",qf=qa.inherit(qa.NUMBER_MODE),zf={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Tf={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Sf={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},Yf=qa.inherit(qa.C_LINE_COMMENT_MODE),ih={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:nd,keyword:ud+fd},contains:[Yf]},Th={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},sh={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:nd,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:nd,keyword:"знач",literal:Wf},contains:[qf,zf,Tf]},Yf]},qa.inherit(qa.TITLE_MODE,{begin:nd})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:nd,keyword:ud,built_in:Id,class:eh,type:Of,literal:Wf},contains:[ih,sh,Yf,Th,qf,zf,Tf,Sf]}}return _1c_1=Ra,_1c_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1;function Ra(qa){const nd=qa.regex,od=/^[a-zA-Z][a-zA-Z0-9-]*/,ld=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],ud=qa.COMMENT(/;/,/$/),dd={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},pd={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},fd={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},md={scope:"symbol",match:/%[si](?=".*")/},vd={scope:"attribute",match:nd.concat(od,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:ld,contains:[{scope:"operator",match:/=\/?/},vd,ud,dd,pd,fd,md,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE]}}return abnf_1=Ra,abnf_1}var accesslog_1,hasRequiredAccesslog;function requireAccesslog(){if(hasRequiredAccesslog)return accesslog_1;hasRequiredAccesslog=1;function Ra(qa){const nd=qa.regex,od=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:nd.concat(/"/,nd.either(...od)),end:/"/,keywords:od,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return accesslog_1=Ra,accesslog_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1;function Ra(qa){const nd=qa.regex,od=/[a-zA-Z_$][a-zA-Z0-9_$]*/,ld=nd.concat(od,nd.concat("(\\.",od,")*")),ud=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,dd={className:"rest_arg",begin:/[.]{3}/,end:od,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,ld],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,od],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[qa.inherit(qa.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd]},{begin:nd.concat(/:\s*/,ud)}]},qa.METHOD_GUARD],illegal:/#/}}return actionscript_1=Ra,actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1;function Ra(qa){const nd="\\d(_|\\d)*",od="[eE][-+]?"+nd,ld=nd+"(\\."+nd+")?("+od+")?",ud="\\w+",pd="\\b("+(nd+"#"+ud+"(\\."+ud+")?#("+od+")?")+"|"+ld+")",fd="[A-Za-z](_?[A-Za-z0-9.])*",md=`[]\\{\\}%#'"`,vd=qa.COMMENT("--","$"),Ad={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:md,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:fd,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[vd,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:pd,relevance:0},{className:"symbol",begin:"'"+fd},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:md},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[vd,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:md},Ad,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:md}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:md},Ad]}}return ada_1=Ra,ada_1}var angelscript_1,hasRequiredAngelscript;function requireAngelscript(){if(hasRequiredAngelscript)return angelscript_1;hasRequiredAngelscript=1;function Ra(qa){const nd={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},od={className:"symbol",begin:"[a-zA-Z0-9_]+@"},ld={className:"keyword",begin:"<",end:">",contains:[nd,od]};return nd.contains=[ld],od.contains=[ld],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE],relevance:0},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},nd,od,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return angelscript_1=Ra,angelscript_1}var apache_1,hasRequiredApache;function requireApache(){if(hasRequiredApache)return apache_1;hasRequiredApache=1;function Ra(qa){const nd={className:"number",begin:/[$%]\d+/},od={className:"number",begin:/\b\d+/},ld={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},ud={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[qa.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[ld,ud,qa.inherit(qa.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",nd]},ld,od,qa.QUOTE_STRING_MODE]}}],illegal:/\S/}}return apache_1=Ra,apache_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1;function Ra(qa){const nd=qa.regex,od=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),ld={className:"params",begin:/\(/,end:/\)/,contains:["self",qa.C_NUMBER_MODE,od]},ud=qa.COMMENT(/--/,/$/),dd=qa.COMMENT(/\(\*/,/\*\)/,{contains:["self",ud]}),pd=[ud,dd,qa.HASH_COMMENT_MODE],fd=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],md=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[od,qa.C_NUMBER_MODE,{className:"built_in",begin:nd.concat(/\b/,nd.either(...md),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:nd.concat(/\b/,nd.either(...fd),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[qa.UNDERSCORE_TITLE_MODE,ld]},...pd],illegal:/\/\/|->|=>|\[\[/}}return applescript_1=Ra,applescript_1}var arcade_1,hasRequiredArcade;function requireArcade(){if(hasRequiredArcade)return arcade_1;hasRequiredArcade=1;function Ra(qa){const nd=qa.regex,od="[A-Za-z_][0-9A-Za-z_]*",ld={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},ud=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","value","view"],dd={className:"symbol",begin:"\\$"+nd.either(...ud)},pd={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:qa.C_NUMBER_RE}],relevance:0},fd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ld,contains:[]},md={className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE,fd]};fd.contains=[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,pd,qa.REGEXP_MODE];const vd=fd.contains.concat([qa.C_BLOCK_COMMENT_MODE,qa.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:ld,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd,pd,{begin:/[{,]\s*/,relevance:0,contains:[{begin:od+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:od,relevance:0}]}]},{begin:"("+qa.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+od+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:od},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ld,contains:vd}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[qa.inherit(qa.TITLE_MODE,{className:"title.function",begin:od}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:vd}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return arcade_1=Ra,arcade_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;function Ra(nd){const od=nd.regex,ld=nd.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ud="decltype\\(auto\\)",dd="[a-zA-Z_]\\w*::",fd="(?!struct)("+ud+"|"+od.optional(dd)+"[a-zA-Z_]\\w*"+od.optional("<[^<>]+>")+")",md={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},Ad={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[nd.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},nd.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Nd={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},Id={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},nd.inherit(Ad,{className:"string"}),{className:"string",begin:/<.*?>/},ld,nd.C_BLOCK_COMMENT_MODE]},Od={className:"title",begin:od.optional(dd)+nd.IDENT_RE,relevance:0},Md=od.optional(dd)+nd.IDENT_RE+"\\s*\\(",Ud=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],jd=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],Ld=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],Bd=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],zd={type:jd,keyword:Ud,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:Ld},Xd={className:"function.dispatch",relevance:0,keywords:{_hint:Bd},begin:od.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,nd.IDENT_RE,od.lookahead(/(<[^<>]+>|)\s*\(/))},gf=[Xd,Id,md,ld,nd.C_BLOCK_COMMENT_MODE,Nd,Ad],Yd={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:zd,contains:gf.concat([{begin:/\(/,end:/\)/,keywords:zd,contains:gf.concat(["self"]),relevance:0}]),relevance:0},Zd={className:"function",begin:"("+fd+"[\\*&\\s]+)+"+Md,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:zd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ud,keywords:zd,relevance:0},{begin:Md,returnBegin:!0,contains:[Od],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[Ad,Nd]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:zd,relevance:0,contains:[ld,nd.C_BLOCK_COMMENT_MODE,Ad,Nd,md,{begin:/\(/,end:/\)/,keywords:zd,relevance:0,contains:["self",ld,nd.C_BLOCK_COMMENT_MODE,Ad,Nd,md]}]},md,ld,nd.C_BLOCK_COMMENT_MODE,Id]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:zd,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Yd,Zd,Xd,gf,[Id,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:zd,contains:["self",md]},{begin:nd.IDENT_RE+"::",keywords:zd},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function qa(nd){const od={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},ld=Ra(nd),ud=ld.keywords;return ud.type=[...ud.type,...od.type],ud.literal=[...ud.literal,...od.literal],ud.built_in=[...ud.built_in,...od.built_in],ud._hints=od._hints,ld.name="Arduino",ld.aliases=["ino"],ld.supersetOf="cpp",ld}return arduino_1=qa,arduino_1}var armasm_1,hasRequiredArmasm;function requireArmasm(){if(hasRequiredArmasm)return armasm_1;hasRequiredArmasm=1;function Ra(qa){const nd={variants:[qa.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),qa.COMMENT("[;@]","$",{relevance:0}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+qa.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},nd,qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return armasm_1=Ra,armasm_1}var xml_1,hasRequiredXml$1;function requireXml$1(){if(hasRequiredXml$1)return xml_1;hasRequiredXml$1=1;function Ra(qa){const nd=qa.regex,od=nd.concat(/[\p{L}_]/u,nd.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),ld=/[\p{L}0-9._:-]+/u,ud={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},dd={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},pd=qa.inherit(dd,{begin:/\(/,end:/\)/}),fd=qa.inherit(qa.APOS_STRING_MODE,{className:"string"}),md=qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),vd={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:ld,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[ud]},{begin:/'/,end:/'/,contains:[ud]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[dd,md,fd,pd,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[dd,pd,md,fd]}]}]},qa.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},ud,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[md]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[vd],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[vd],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:nd.concat(/</,nd.lookahead(nd.concat(od,nd.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:od,relevance:0,starts:vd}]},{className:"tag",begin:nd.concat(/<\//,nd.lookahead(nd.concat(od,/>/))),contains:[{className:"name",begin:od,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return xml_1=Ra,xml_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1;function Ra(qa){const nd=qa.regex,od={begin:"^'{3,}[ \\t]*$",relevance:10},ld=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],ud=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:nd.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],dd=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:nd.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],pd={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},fd={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[qa.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),qa.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},fd,pd,...ld,...ud,...dd,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},od,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return asciidoc_1=Ra,asciidoc_1}var aspectj_1,hasRequiredAspectj;function requireAspectj(){if(hasRequiredAspectj)return aspectj_1;hasRequiredAspectj=1;function Ra(qa){const nd=qa.regex,od=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],ld=["get","set","args","call"];return{name:"AspectJ",keywords:od,illegal:/<\/|#/,contains:[qa.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},qa.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:od.concat(ld),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[qa.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:od,illegal:/["\[\]]/,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:od.concat(ld),relevance:0},qa.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:od,excludeEnd:!0,contains:[{begin:nd.concat(qa.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[qa.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:od,contains:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return aspectj_1=Ra,aspectj_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1;function Ra(qa){const nd={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[nd,qa.inherit(qa.QUOTE_STRING_MODE,{contains:[nd]}),qa.COMMENT(";","$",{relevance:0}),qa.C_BLOCK_COMMENT_MODE,{className:"number",begin:qa.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return autohotkey_1=Ra,autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1;function Ra(qa){const nd="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",od=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],ld="True False And Null Not Or Default",ud="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",dd={variants:[qa.COMMENT(";","$",{relevance:0}),qa.COMMENT("#cs","#ce"),qa.COMMENT("#comments-start","#comments-end")]},pd={begin:"\\$[A-z0-9_]+"},fd={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},md={variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]},vd={className:"meta",begin:"#",end:"$",keywords:{keyword:od},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[fd,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},fd,dd]},Ad={className:"symbol",begin:"@[A-z0-9_]+"},Nd={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[qa.inherit(qa.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[pd,fd,md]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:nd,built_in:ud,literal:ld},contains:[dd,pd,fd,md,vd,Ad,Nd]}}return autoit_1=Ra,autoit_1}var avrasm_1,hasRequiredAvrasm;function requireAvrasm(){if(hasRequiredAvrasm)return avrasm_1;hasRequiredAvrasm=1;function Ra(qa){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+qa.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(";","$",{relevance:0}),qa.C_NUMBER_MODE,qa.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return avrasm_1=Ra,avrasm_1}var awk_1,hasRequiredAwk;function requireAwk(){if(hasRequiredAwk)return awk_1;hasRequiredAwk=1;function Ra(qa){const nd={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},od="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",ld={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:od},contains:[nd,ld,qa.REGEXP_MODE,qa.HASH_COMMENT_MODE,qa.NUMBER_MODE]}}return awk_1=Ra,awk_1}var axapta_1,hasRequiredAxapta;function requireAxapta(){if(hasRequiredAxapta)return axapta_1;hasRequiredAxapta=1;function Ra(qa){const nd=qa.UNDERSCORE_IDENT_RE,dd={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},pd={variants:[{match:[/(class|interface)\s+/,nd,/\s+(extends|implements)\s+/,nd]},{match:[/class\s+/,nd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:dd};return{name:"X++",aliases:["x++"],keywords:dd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},pd]}}return axapta_1=Ra,axapta_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1;function Ra(qa){const nd=qa.regex,od={},ld={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[od]}]};Object.assign(od,{className:"variable",variants:[{begin:nd.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},ld]});const ud={className:"subst",begin:/\$\(/,end:/\)/,contains:[qa.BACKSLASH_ESCAPE]},dd=qa.inherit(qa.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),pd={begin:/<<-?\s*(?=\w+)/,starts:{contains:[qa.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},fd={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,od,ud]};ud.contains.push(fd);const md={match:/\\"/},vd={className:"string",begin:/'/,end:/'/},Ad={match:/\\'/},Nd={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},qa.NUMBER_MODE,od]},Id=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],Od=qa.SHEBANG({binary:`(${Id.join("|")})`,relevance:10}),Md={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[qa.inherit(qa.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},Ud=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],jd=["true","false"],Ld={match:/(\/[a-z._-]+)+/},Bd=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],Gd=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],qd=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],zd=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:Ud,literal:jd,built_in:[...Bd,...Gd,"set","shopt",...qd,...zd]},contains:[Od,qa.SHEBANG(),Md,Nd,dd,pd,Ld,fd,md,vd,Ad,od]}}return bash_1=Ra,bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1;function Ra(qa){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[qa.QUOTE_STRING_MODE,qa.COMMENT("REM","$",{relevance:10}),qa.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return basic_1=Ra,basic_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1;function Ra(qa){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]}]}}return bnf_1=Ra,bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1;function Ra(qa){const nd={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[qa.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[nd]},nd]}}return brainfuck_1=Ra,brainfuck_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ld="decltype\\(auto\\)",ud="[a-zA-Z_]\\w*::",pd="("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",fd={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},vd={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},qa.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Ad={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},Nd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(vd,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Id={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},Od=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",jd={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},Ld=[Nd,fd,od,qa.C_BLOCK_COMMENT_MODE,Ad,vd],Bd={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:jd,contains:Ld.concat([{begin:/\(/,end:/\)/,keywords:jd,contains:Ld.concat(["self"]),relevance:0}]),relevance:0},Gd={begin:"("+pd+"[\\*&\\s]+)+"+Od,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:jd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:jd,relevance:0},{begin:Od,returnBegin:!0,contains:[qa.inherit(Id,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:jd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd,{begin:/\(/,end:/\)/,keywords:jd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd]}]},fd,od,qa.C_BLOCK_COMMENT_MODE,Nd]};return{name:"C",aliases:["h"],keywords:jd,disableAutodetect:!0,illegal:"</",contains:[].concat(Bd,Gd,Ld,[Nd,{begin:qa.IDENT_RE+"::",keywords:jd},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},qa.TITLE_MODE]}]),exports:{preprocessor:Nd,strings:vd,keywords:jd}}}return c_1=Ra,c_1}var cal_1,hasRequiredCal;function requireCal(){if(hasRequiredCal)return cal_1;hasRequiredCal=1;function Ra(qa){const nd=qa.regex,od=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],ld="false true",ud=[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\{/,/\}/,{relevance:0}),qa.COMMENT(/\(\*/,/\*\)/,{relevance:10})],dd={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},pd={className:"string",begin:/(#\d+)+/},fd={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},md={className:"string",begin:'"',end:'"'},vd={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:od,contains:[dd,pd,qa.NUMBER_MODE]},...ud]},Ad=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],Nd={match:[/OBJECT/,/\s+/,nd.either(...Ad),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:od,literal:ld},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},dd,pd,fd,md,qa.NUMBER_MODE,Nd,vd]}}return cal_1=Ra,cal_1}var capnproto_1,hasRequiredCapnproto;function requireCapnproto(){if(hasRequiredCapnproto)return capnproto_1;hasRequiredCapnproto=1;function Ra(qa){const nd=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],od=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],ld=["true","false"],ud={variants:[{match:[/(struct|enum|interface)/,/\s+/,qa.IDENT_RE]},{match:[/extends/,/\s*\(/,qa.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:nd,type:od,literal:ld},contains:[qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},ud]}}return capnproto_1=Ra,capnproto_1}var ceylon_1,hasRequiredCeylon;function requireCeylon(){if(hasRequiredCeylon)return ceylon_1;hasRequiredCeylon=1;function Ra(qa){const nd=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],od=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],ld=["doc","by","license","see","throws","tagged"],ud={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:nd,relevance:10},dd=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[ud]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return ud.contains=dd,{name:"Ceylon",keywords:{keyword:nd.concat(od),meta:ld},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[qa.C_LINE_COMMENT_MODE,qa.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(dd)}}return ceylon_1=Ra,ceylon_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;function Ra(qa){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return clean_1=Ra,clean_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1;function Ra(qa){const nd="a-zA-Z_\\-!.?+*=<>&'",od="[#]?["+nd+"]["+nd+"0-9/;:$#]*",ld="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",ud={$pattern:od,built_in:ld+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},dd={begin:od,relevance:0},pd={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},fd={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},md={scope:"regex",begin:/#"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE]},vd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),Ad={scope:"punctuation",match:/,/,relevance:0},Nd=qa.COMMENT(";","$",{relevance:0}),Id={className:"literal",begin:/\b(true|false|nil)\b/},Od={begin:"\\[|(#::?"+od+")?\\{",end:"[\\]\\}]",relevance:0},Md={className:"symbol",begin:"[:]{1,2}"+od},Ud={begin:"\\(",end:"\\)"},jd={endsWithParent:!0,relevance:0},Ld={keywords:ud,className:"name",begin:od,relevance:0,starts:jd},Bd=[Ad,Ud,fd,md,vd,Nd,Md,Od,pd,Id,dd],Gd={beginKeywords:ld,keywords:{$pattern:od,keyword:ld},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:od,relevance:0,excludeEnd:!0,endsParent:!0}].concat(Bd)};return Ud.contains=[Gd,Ld,jd],jd.contains=Bd,Od.contains=Bd,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[Ad,Ud,fd,md,vd,Nd,Md,Od,pd,Id]}}return clojure_1=Ra,clojure_1}var clojureRepl_1,hasRequiredClojureRepl;function requireClojureRepl(){if(hasRequiredClojureRepl)return clojureRepl_1;hasRequiredClojureRepl=1;function Ra(qa){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return clojureRepl_1=Ra,clojureRepl_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1;function Ra(qa){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},qa.COMMENT(/#\[\[/,/]]/),qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE]}}return cmake_1=Ra,cmake_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1;const Ra=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],qa=["true","false","null","undefined","NaN","Infinity"],nd=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],od=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ld=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ud=[].concat(ld,nd,od);function dd(pd){const fd=["npm","print"],md=["yes","no","on","off"],vd=["then","unless","until","loop","by","when","and","or","is","isnt","not"],Ad=["var","const","let","function","static"],Nd=qd=>zd=>!qd.includes(zd),Id={keyword:Ra.concat(vd).filter(Nd(Ad)),literal:qa.concat(md),built_in:ud.concat(fd)},Od="[A-Za-z$_][0-9A-Za-z$_]*",Md={className:"subst",begin:/#\{/,end:/\}/,keywords:Id},Ud=[pd.BINARY_NUMBER_MODE,pd.inherit(pd.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[pd.BACKSLASH_ESCAPE,Md]},{begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE,Md]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[Md,pd.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+Od},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];Md.contains=Ud;const jd=pd.inherit(pd.TITLE_MODE,{begin:Od}),Ld="(\\(.*\\)\\s*)?\\B[-=]>",Bd={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:Id,contains:["self"].concat(Ud)}]},Gd={variants:[{match:[/class\s+/,Od,/\s+extends\s+/,Od]},{match:[/class\s+/,Od]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:Id};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:Id,illegal:/\/\*/,contains:[...Ud,pd.COMMENT("###","###"),pd.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+Od+"\\s*=\\s*"+Ld,end:"[-=]>",returnBegin:!0,contains:[jd,Bd]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:Ld,end:"[-=]>",returnBegin:!0,contains:[Bd]}]},Gd,{begin:Od+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=dd,coffeescript_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1;function Ra(qa){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[qa.QUOTE_STRING_MODE,qa.COMMENT("\\(\\*","\\*\\)"),qa.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return coq_1=Ra,coq_1}var cos_1,hasRequiredCos;function requireCos(){if(hasRequiredCos)return cos_1;hasRequiredCos=1;function Ra(qa){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}return cos_1=Ra,cos_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ld="decltype\\(auto\\)",ud="[a-zA-Z_]\\w*::",pd="(?!struct)("+ld+"|"+nd.optional(ud)+"[a-zA-Z_]\\w*"+nd.optional("<[^<>]+>")+")",fd={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},vd={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},qa.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},Ad={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},Nd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(vd,{className:"string"}),{className:"string",begin:/<.*?>/},od,qa.C_BLOCK_COMMENT_MODE]},Id={className:"title",begin:nd.optional(ud)+qa.IDENT_RE,relevance:0},Od=nd.optional(ud)+qa.IDENT_RE+"\\s*\\(",Md=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],Ud=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],jd=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],Ld=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],qd={type:Ud,keyword:Md,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:jd},zd={className:"function.dispatch",relevance:0,keywords:{_hint:Ld},begin:nd.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,qa.IDENT_RE,nd.lookahead(/(<[^<>]+>|)\s*\(/))},Xd=[zd,Nd,fd,od,qa.C_BLOCK_COMMENT_MODE,Ad,vd],gf={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:qd,contains:Xd.concat([{begin:/\(/,end:/\)/,keywords:qd,contains:Xd.concat(["self"]),relevance:0}]),relevance:0},Yd={className:"function",begin:"("+pd+"[\\*&\\s]+)+"+Od,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:qd,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ld,keywords:qd,relevance:0},{begin:Od,returnBegin:!0,contains:[Id],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[vd,Ad]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:qd,relevance:0,contains:[od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd,{begin:/\(/,end:/\)/,keywords:qd,relevance:0,contains:["self",od,qa.C_BLOCK_COMMENT_MODE,vd,Ad,fd]}]},fd,od,qa.C_BLOCK_COMMENT_MODE,Nd]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:qd,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(gf,Yd,zd,Xd,[Nd,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:qd,contains:["self",fd]},{begin:qa.IDENT_RE+"::",keywords:qd},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return cpp_1=Ra,cpp_1}var crmsh_1,hasRequiredCrmsh;function requireCrmsh(){if(hasRequiredCrmsh)return crmsh_1;hasRequiredCrmsh=1;function Ra(qa){const nd="primitive rsc_template",od="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[qa.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:nd,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+od.split(" ").join("|")+")\\s+",keywords:od,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},qa.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}return crmsh_1=Ra,crmsh_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;function Ra(qa){const nd="(_?[ui](8|16|32|64|128))?",od="(_?f(32|64))?",ld="[a-zA-Z_]\\w*[!?=]?",ud="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",dd="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",pd={$pattern:ld,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},fd={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},md={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},vd={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:pd};function Ad(Ld,Bd){const Gd=[{begin:Ld,end:Bd}];return Gd[0].contains=Gd,Gd}const Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:Ad("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},Id={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%q<",end:">",contains:Ad("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},Od={begin:"(?!%\\})("+qa.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},Md={className:"regexp",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:"%r\\(",end:"\\)",contains:Ad("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:Ad("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:Ad(/\{/,/\}/)},{begin:"%r<",end:">",contains:Ad("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},Ud={className:"meta",begin:"@\\[",end:"\\]",contains:[qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"})]},jd=[vd,Nd,Id,Md,Od,Ud,md,qa.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[qa.HASH_COMMENT_MODE,qa.inherit(qa.TITLE_MODE,{begin:dd})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:ud,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:ud,endsParent:!0})],relevance:2},{className:"symbol",begin:qa.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[Nd,{begin:ud}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+nd},{begin:"\\b0o([0-7_]+)"+nd},{begin:"\\b0x([A-Fa-f0-9_]+)"+nd},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+od+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+nd}],relevance:0}];return fd.contains=jd,vd.contains=jd.slice(1),{name:"Crystal",aliases:["cr"],keywords:pd,contains:jd}}return crystal_1=Ra,crystal_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1;function Ra(qa){const nd=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],od=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],ld=["default","false","null","true"],ud=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],dd=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],pd={keyword:ud.concat(dd),built_in:nd,literal:ld},fd=qa.inherit(qa.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),md={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},vd={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},Ad={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},Nd=qa.inherit(Ad,{illegal:/\n/}),Id={className:"subst",begin:/\{/,end:/\}/,keywords:pd},Od=qa.inherit(Id,{illegal:/\n/}),Md={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},qa.BACKSLASH_ESCAPE,Od]},Ud={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},Id]},jd=qa.inherit(Ud,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},Od]});Id.contains=[Ud,Md,Ad,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.C_BLOCK_COMMENT_MODE],Od.contains=[jd,Md,Nd,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,md,qa.inherit(qa.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const Ld={variants:[vd,Ud,Md,Ad,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},Bd={begin:"<",end:">",contains:[{beginKeywords:"in out"},fd]},Gd=qa.IDENT_RE+"(<"+qa.IDENT_RE+"(\\s*,\\s*"+qa.IDENT_RE+")*>)?(\\[\\])?",qd={begin:"@"+qa.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:pd,illegal:/::/,contains:[qa.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},Ld,md,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},fd,Bd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[fd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[fd,Bd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+Gd+"\\s+)+"+qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:pd,contains:[{beginKeywords:od.join(" "),relevance:0},{begin:qa.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[qa.TITLE_MODE,Bd],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:pd,relevance:0,contains:[Ld,md,qa.C_BLOCK_COMMENT_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},qd]}}return csharp_1=Ra,csharp_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1;function Ra(qa){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return csp_1=Ra,csp_1}var css_1,hasRequiredCss;function requireCss(){if(hasRequiredCss)return css_1;hasRequiredCss=1;const Ra=md=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:md.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:md.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","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-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-end-end-radius","border-end-start-radius","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","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","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","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","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","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","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","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","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","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function fd(md){const vd=md.regex,Ad=Ra(md),Nd={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},Id="and or not only",Od=/@-?\w[\w]*(-\w+)*/,Md="[a-zA-Z-][a-zA-Z0-9_-]*",Ud=[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[Ad.BLOCK_COMMENT,Nd,Ad.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+Md,relevance:0},Ad.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+ud.join("|")+")"},{begin:":(:)?("+dd.join("|")+")"}]},Ad.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[Ad.BLOCK_COMMENT,Ad.HEXCOLOR,Ad.IMPORTANT,Ad.CSS_NUMBER_MODE,...Ud,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...Ud,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},Ad.FUNCTION_DISPATCH]},{begin:vd.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:Od},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:Id,attribute:ld.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...Ud,Ad.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b"}]}}return css_1=fd,css_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1;function Ra(qa){const nd={$pattern:qa.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},od="(0|[1-9][\\d_]*)",ld="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",ud="0[bB][01_]+",dd="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",pd="0[xX]"+dd,fd="([eE][+-]?"+ld+")",md="("+ld+"(\\.\\d*|"+fd+")|\\d+\\."+ld+"|\\."+od+fd+"?)",vd="(0[xX]("+dd+"\\."+dd+"|\\.?"+dd+")[pP][+-]?"+ld+")",Ad="("+od+"|"+ud+"|"+pd+")",Nd="("+vd+"|"+md+")",Id=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,Od={className:"number",begin:"\\b"+Ad+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},Md={className:"number",begin:"\\b("+Nd+"([fF]|L|i|[fF]i|Li)?|"+Ad+"(i|[fF]i|Li))",relevance:0},Ud={className:"string",begin:"'("+Id+"|.)",end:"'",illegal:"."},Ld={className:"string",begin:'"',contains:[{begin:Id,relevance:0}],end:'"[cwd]?'},Bd={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},Gd={className:"string",begin:"`",end:"`[cwd]?"},qd={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},zd={className:"string",begin:'q"\\{',end:'\\}"'},Xd={className:"meta",begin:"^#!",end:"$",relevance:5},gf={className:"meta",begin:"#(line)",end:"$",relevance:5},Yd={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},Zd=qa.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:nd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,Zd,qd,Ld,Bd,Gd,zd,Md,Od,Ud,Xd,gf,Yd]}}return d_1=Ra,d_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1;function Ra(qa){const nd=qa.regex,od={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},ld={begin:"^[-\\*]{3,}",end:"$"},ud={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},dd={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},pd={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},fd=/[A-Za-z][A-Za-z0-9+.-]*/,md={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:nd.concat(/\[.+?\]\(/,fd,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},vd={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},Ad={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},Nd=qa.inherit(vd,{contains:[]}),Id=qa.inherit(Ad,{contains:[]});vd.contains.push(Id),Ad.contains.push(Nd);let Od=[od,md];return[vd,Ad,Nd,Id].forEach(Ld=>{Ld.contains=Ld.contains.concat(Od)}),Od=Od.concat(vd,Ad),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:Od},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:Od}]}]},od,dd,vd,Ad,{className:"quote",begin:"^>\\s+",contains:Od,end:"$"},ud,ld,md,pd,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return markdown_1=Ra,markdown_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1;function Ra(qa){const nd={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},od={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},ld={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:'"""',end:'"""',contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:"'",end:"'",illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,nd,od]},{begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,nd,od]}]};od.contains=[qa.C_NUMBER_MODE,ld];const ud=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],dd=ud.map(md=>`${md}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:ud.concat(dd).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[ld,qa.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),qa.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},qa.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return dart_1=Ra,dart_1}var delphi_1,hasRequiredDelphi;function requireDelphi(){if(hasRequiredDelphi)return delphi_1;hasRequiredDelphi=1;function Ra(qa){const nd=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],od=[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\{/,/\}/,{relevance:0}),qa.COMMENT(/\(\*/,/\*\)/,{relevance:10})],ld={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},ud={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},dd={className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},pd={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},fd={begin:qa.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[qa.TITLE_MODE]},md={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[qa.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:nd,contains:[ud,pd,ld].concat(od)},ld].concat(od)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:nd,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[ud,pd,dd,fd,md,ld].concat(od)}}return delphi_1=Ra,delphi_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;function Ra(qa){const nd=qa.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:nd.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:nd.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return diff_1=Ra,diff_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;function Ra(qa){const nd={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[qa.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),qa.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[nd],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[nd]}]}}return django_1=Ra,django_1}var dns_1,hasRequiredDns;function requireDns(){if(hasRequiredDns)return dns_1;hasRequiredDns=1;function Ra(qa){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[qa.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((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])\\b"},qa.inherit(qa.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return dns_1=Ra,dns_1}var dockerfile_1,hasRequiredDockerfile;function requireDockerfile(){if(hasRequiredDockerfile)return dockerfile_1;hasRequiredDockerfile=1;function Ra(qa){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[qa.HASH_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}return dockerfile_1=Ra,dockerfile_1}var dos_1,hasRequiredDos;function requireDos(){if(hasRequiredDos)return dos_1;hasRequiredDos=1;function Ra(qa){const nd=qa.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:["if","else","goto","for","in","do","call","exit","not","exist","errorlevel","defined","equ","neq","lss","leq","gtr","geq"],built_in:["prn","nul","lpt3","lpt2","lpt1","con","com4","com3","com2","com1","aux","shift","cd","dir","echo","setlocal","endlocal","set","pause","copy","append","assoc","at","attrib","break","cacls","cd","chcp","chdir","chkdsk","chkntfs","cls","cmd","color","comp","compact","convert","date","dir","diskcomp","diskcopy","doskey","erase","fs","find","findstr","format","ftype","graftabl","help","keyb","label","md","mkdir","mode","more","move","path","pause","print","popd","pushd","promt","rd","recover","rem","rename","replace","restore","rmdir","shift","sort","start","subst","time","title","tree","type","ver","verify","vol","ping","net","ipconfig","taskkill","xcopy","ren","del"]},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[qa.inherit(qa.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),nd]},{className:"number",begin:"\\b\\d+",relevance:0},nd]}}return dos_1=Ra,dos_1}var dsconfig_1,hasRequiredDsconfig;function requireDsconfig(){if(hasRequiredDsconfig)return dsconfig_1;hasRequiredDsconfig=1;function Ra(qa){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},qa.HASH_COMMENT_MODE]}}return dsconfig_1=Ra,dsconfig_1}var dts_1,hasRequiredDts;function requireDts(){if(hasRequiredDts)return dts_1;hasRequiredDts=1;function Ra(qa){const nd={className:"string",variants:[qa.inherit(qa.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[qa.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},od={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:qa.C_NUMBER_RE}],relevance:0},ld={className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[qa.inherit(nd,{className:"string"}),{className:"string",begin:"<",end:">",illegal:"\\n"}]},nd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},ud={className:"variable",begin:/&[a-z\d_]*\b/},dd={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},pd={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},fd={className:"params",relevance:0,begin:"<",end:">",contains:[od,ud]},md={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},vd={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},Ad={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},Nd={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},Id={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[vd,ud,dd,pd,md,Nd,Ad,fd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od,nd,ld,Id,{begin:qa.IDENT_RE+"::",keywords:""}]}}return dts_1=Ra,dts_1}var dust_1,hasRequiredDust;function requireDust(){if(hasRequiredDust)return dust_1;hasRequiredDust=1;function Ra(qa){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[qa.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return dust_1=Ra,dust_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1;function Ra(qa){const nd=qa.COMMENT(/\(\*/,/\*\)/),od={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},ud={begin:/=/,end:/[.;]/,contains:[nd,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[nd,od,ud]}}return ebnf_1=Ra,ebnf_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1;function Ra(qa){const nd=qa.regex,od="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",ld="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",pd={$pattern:od,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},fd={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},md={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},Ad={match:/\\[\s\S]/,scope:"char.escape",relevance:0},Nd=`[/|([{<"']`,Id=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],Od=zd=>({scope:"char.escape",begin:nd.concat(/\\/,zd),relevance:0}),Md={className:"string",begin:"~[a-z](?="+Nd+")",contains:Id.map(zd=>qa.inherit(zd,{contains:[Od(zd.end),Ad,fd]}))},Ud={className:"string",begin:"~[A-Z](?="+Nd+")",contains:Id.map(zd=>qa.inherit(zd,{contains:[Od(zd.end)]}))},jd={className:"regex",variants:[{begin:"~r(?="+Nd+")",contains:Id.map(zd=>qa.inherit(zd,{end:nd.concat(zd.end,/[uismxfU]{0,7}/),contains:[Od(zd.end),Ad,fd]}))},{begin:"~R(?="+Nd+")",contains:Id.map(zd=>qa.inherit(zd,{end:nd.concat(zd.end,/[uismxfU]{0,7}/),contains:[Od(zd.end)]}))}]},Ld={className:"string",contains:[qa.BACKSLASH_ESCAPE,fd],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},Bd={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[qa.inherit(qa.TITLE_MODE,{begin:od,endsParent:!0})]},Gd=qa.inherit(Bd,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),qd=[Ld,jd,Ud,Md,qa.HASH_COMMENT_MODE,Gd,Bd,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[Ld,{begin:ld}],relevance:0},{className:"symbol",begin:od+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},md,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return fd.contains=qd,{name:"Elixir",aliases:["ex","exs"],keywords:pd,contains:qd}}return elixir_1=Ra,elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1;function Ra(qa){const nd={variants:[qa.COMMENT("--","$"),qa.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},od={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},ld={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},nd]},ud={begin:/\{/,end:/\}/,contains:ld.contains},dd={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[ld,nd],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[ld,nd],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[od,ld,ud,nd]},{beginKeywords:"infix infixl infixr",end:"$",contains:[qa.C_NUMBER_MODE,nd]},{begin:"port",end:"$",keywords:"port",contains:[nd]},dd,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,od,qa.inherit(qa.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),nd,{begin:"->|<-"}],illegal:/;/}}return elm_1=Ra,elm_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1;function Ra(qa){const nd=qa.regex,od="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",ld=nd.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),ud=nd.concat(ld,/(::\w+)*/),pd={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},fd={className:"doctag",begin:"@[A-Za-z]+"},md={begin:"#<",end:">"},vd=[qa.COMMENT("#","$",{contains:[fd]}),qa.COMMENT("^=begin","^=end",{contains:[fd],relevance:10}),qa.COMMENT("^__END__",qa.MATCH_NOTHING_RE)],Ad={className:"subst",begin:/#\{/,end:/\}/,keywords:pd},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,Ad],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:nd.concat(/<<[-~]?'?/,nd.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[qa.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[qa.BACKSLASH_ESCAPE,Ad]})]}]},Id="[1-9](_?[0-9])*|0",Od="[0-9](_?[0-9])*",Md={className:"number",relevance:0,variants:[{begin:`\\b(${Id})(\\.(${Od}))?([eE][+-]?(${Od})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},Ud={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:pd}]},Xd=[Nd,{variants:[{match:[/class\s+/,ud,/\s+<\s+/,ud]},{match:[/\b(class|module)\s+/,ud]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:pd},{match:[/(include|extend)\s+/,ud],scope:{2:"title.class"},keywords:pd},{relevance:0,match:[ud,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:ld,scope:"title.class"},{match:[/def/,/\s+/,od],scope:{1:"keyword",3:"title.function"},contains:[Ud]},{begin:qa.IDENT_RE+"::"},{className:"symbol",begin:qa.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[Nd,{begin:od}],relevance:0},Md,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:pd},{begin:"("+qa.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,Ad],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(md,vd),relevance:0}].concat(md,vd);Ad.contains=Xd,Ud.contains=Xd;const df=[{begin:/^\s*=>/,starts:{end:"$",contains:Xd}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:pd,contains:Xd}}];return vd.unshift(md),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:pd,illegal:/\/\*/,contains:[qa.SHEBANG({binary:"ruby"})].concat(df).concat(vd).concat(Xd)}}return ruby_1=Ra,ruby_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;function Ra(qa){return{name:"ERB",subLanguage:"xml",contains:[qa.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return erb_1=Ra,erb_1}var erlangRepl_1,hasRequiredErlangRepl;function requireErlangRepl(){if(hasRequiredErlangRepl)return erlangRepl_1;hasRequiredErlangRepl=1;function Ra(qa){const nd=qa.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},qa.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:nd.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return erlangRepl_1=Ra,erlangRepl_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1;function Ra(qa){const nd="[a-z'][a-zA-Z0-9_']*",od="("+nd+":"+nd+"|"+nd+")",ld={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},ud=qa.COMMENT("%","$"),dd={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},pd={begin:"fun\\s+"+nd+"/\\d+"},fd={begin:od+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:od,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},md={begin:/\{/,end:/\}/,relevance:0},vd={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},Ad={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},Nd={begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+qa.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},Id={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},Od={beginKeywords:"fun receive if try case",end:"end",keywords:ld};Od.contains=[ud,pd,qa.inherit(qa.APOS_STRING_MODE,{className:""}),Od,fd,qa.QUOTE_STRING_MODE,dd,md,vd,Ad,Nd,Id];const Md=[ud,pd,Od,fd,qa.QUOTE_STRING_MODE,dd,md,vd,Ad,Nd,Id];fd.contains[1].contains=Md,md.contains=Md,Nd.contains[1].contains=Md;const Ud=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],jd={className:"params",begin:"\\(",end:"\\)",contains:Md};return{name:"Erlang",aliases:["erl"],keywords:ld,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+nd+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[jd,qa.inherit(qa.TITLE_MODE,{begin:nd})],starts:{end:";|\\.",keywords:ld,contains:Md}},ud,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+qa.IDENT_RE,keyword:Ud.map(Ld=>`${Ld}|1.5`).join(" ")},contains:[jd]},dd,qa.QUOTE_STRING_MODE,Nd,vd,Ad,md,Id,{begin:/\.$/}]}}return erlang_1=Ra,erlang_1}var excel_1,hasRequiredExcel;function requireExcel(){if(hasRequiredExcel)return excel_1;hasRequiredExcel=1;function Ra(qa){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},qa.BACKSLASH_ESCAPE,qa.QUOTE_STRING_MODE,{className:"number",begin:qa.NUMBER_RE+"(%)?",relevance:0},qa.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return excel_1=Ra,excel_1}var fix_1,hasRequiredFix;function requireFix(){if(hasRequiredFix)return fix_1;hasRequiredFix=1;function Ra(qa){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return fix_1=Ra,fix_1}var flix_1,hasRequiredFlix;function requireFlix(){if(hasRequiredFlix)return flix_1;hasRequiredFlix=1;function Ra(qa){const nd={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},od={className:"string",variants:[{begin:'"',end:'"'}]},ud={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,nd,od,ud,qa.C_NUMBER_MODE]}}return flix_1=Ra,flix_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1;function Ra(qa){const nd=qa.regex,od={className:"params",begin:"\\(",end:"\\)"},ld={variants:[qa.COMMENT("!","$",{relevance:0}),qa.COMMENT("^C[ ]","$",{relevance:0}),qa.COMMENT("^C$","$",{relevance:0})]},ud=/(_[a-z_\d]+)?/,dd=/([de][+-]?\d+)?/,pd={className:"number",variants:[{begin:nd.concat(/\b\d+/,/\.(\d*)/,dd,ud)},{begin:nd.concat(/\b\d+/,dd,ud)},{begin:nd.concat(/\.\d+/,dd,ud)}],relevance:0},fd={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[qa.UNDERSCORE_TITLE_MODE,od]},md={className:"string",relevance:0,variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[md,fd,{begin:/^C\s*=(?!=)/,relevance:0},ld,pd]}}return fortran_1=Ra,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function Ra(pd){return new RegExp(pd.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function qa(pd){return pd?typeof pd=="string"?pd:pd.source:null}function nd(pd){return od("(?=",pd,")")}function od(...pd){return pd.map(md=>qa(md)).join("")}function ld(pd){const fd=pd[pd.length-1];return typeof fd=="object"&&fd.constructor===Object?(pd.splice(pd.length-1,1),fd):{}}function ud(...pd){return"("+(ld(pd).capture?"":"?:")+pd.map(vd=>qa(vd)).join("|")+")"}function dd(pd){const fd=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],md={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},vd=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],Ad=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],Nd=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],Id=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],Md={keyword:fd,literal:Ad,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":Nd},jd={variants:[pd.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),pd.C_LINE_COMMENT_MODE]},Ld=/[a-zA-Z_](\w|')*/,Bd={scope:"variable",begin:/``/,end:/``/},Gd=/\B('|\^)/,qd={scope:"symbol",variants:[{match:od(Gd,/``.*?``/)},{match:od(Gd,pd.UNDERSCORE_IDENT_RE)}],relevance:0},zd=function({includeEqual:qf}){let zf;qf?zf="!%&*+-/<=>@^|~?":zf="!%&*+-/<>@^|~?";const Tf=Array.from(zf),Sf=od("[",...Tf.map(Ra),"]"),Yf=ud(Sf,/\./),ih=od(Yf,nd(Yf)),Th=ud(od(ih,Yf,"*"),od(Sf,"+"));return{scope:"operator",match:ud(Th,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},Xd=zd({includeEqual:!0}),gf=zd({includeEqual:!1}),Yd=function(qf,zf){return{begin:od(qf,nd(od(/\s*/,ud(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:zf,end:nd(ud(/\n/,/=/)),relevance:0,keywords:pd.inherit(Md,{type:Id}),contains:[jd,qd,pd.inherit(Bd,{scope:null}),gf]}},Zd=Yd(/:/,"operator"),df=Yd(/\bof\b/,"keyword"),Ef={begin:[/(^|\s+)/,/type/,/\s+/,Ld],beginScope:{2:"keyword",4:"title.class"},end:nd(/\(|=|$/),keywords:Md,contains:[jd,pd.inherit(Bd,{scope:null}),qd,{scope:"operator",match:/<|>/},Zd]},_f={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},xf={begin:[/^\s*/,od(/#/,ud(...vd)),/\b/],beginScope:{2:"meta"},end:nd(/\s|$/)},vf={variants:[pd.BINARY_NUMBER_MODE,pd.C_NUMBER_MODE]},Af={scope:"string",begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE]},Df={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},pd.BACKSLASH_ESCAPE]},jf={scope:"string",begin:/"""/,end:/"""/,relevance:2},Jf={scope:"subst",begin:/\{/,end:/\}/,keywords:Md},eh={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},pd.BACKSLASH_ESCAPE,Jf]},th={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},pd.BACKSLASH_ESCAPE,Jf]},Uf={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Jf],relevance:2},Of={scope:"string",match:od(/'/,ud(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Jf.contains=[th,eh,Df,Af,Of,md,jd,Bd,Zd,_f,xf,vf,qd,Xd],{name:"F#",aliases:["fs","f#"],keywords:Md,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[md,{variants:[Uf,th,eh,jf,Df,Af,Of]},jd,Bd,Ef,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[Bd,jf,Df,Af,Of,vf]},df,Zd,_f,xf,vf,qd,Xd]}}return fsharp_1=dd,fsharp_1}var gams_1,hasRequiredGams;function requireGams(){if(hasRequiredGams)return gams_1;hasRequiredGams=1;function Ra(qa){const nd=qa.regex,od={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},ld={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},ud={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},dd={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},pd={begin:"/",end:"/",keywords:od,contains:[dd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE]},fd=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,md={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[dd,pd,{className:"comment",begin:nd.concat(fd,nd.anyNumberOfTimes(nd.concat(/[ ]+/,fd))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:od,contains:[qa.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,pd,md]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[md]},qa.COMMENT("^\\*","$"),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},ld,ud]},qa.C_NUMBER_MODE,ud]}}return gams_1=Ra,gams_1}var gauss_1,hasRequiredGauss;function requireGauss(){if(hasRequiredGauss)return gauss_1;hasRequiredGauss=1;function Ra(qa){const nd={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},od=qa.COMMENT("@","@"),ld={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od]},ud={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:qa.UNDERSCORE_IDENT_RE,relevance:0}]},dd=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,ud]}],pd={className:"title",begin:qa.UNDERSCORE_IDENT_RE,relevance:0},fd=function(Id,Od,Md){const Ud=qa.inherit({className:"function",beginKeywords:Id,end:Od,excludeEnd:!0,contains:[].concat(dd)},{});return Ud.contains.push(pd),Ud.contains.push(qa.C_NUMBER_MODE),Ud.contains.push(qa.C_BLOCK_COMMENT_MODE),Ud.contains.push(od),Ud},md={className:"built_in",begin:"\\b("+nd.built_in.split(" ").join("|")+")\\b"},vd={className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE],relevance:0},Ad={begin:qa.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:nd,relevance:0,contains:[{beginKeywords:nd.keyword},md,{className:"built_in",begin:qa.UNDERSCORE_IDENT_RE,relevance:0}]},Nd={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:nd.built_in,literal:nd.literal},contains:[qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,md,Ad,vd,"self"]};return Ad.contains.push(Nd),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:nd,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,od,vd,ld,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},fd("proc keyword",";"),fd("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[qa.C_BLOCK_COMMENT_MODE,od,Nd]},{variants:[{begin:qa.UNDERSCORE_IDENT_RE+"\\."+qa.UNDERSCORE_IDENT_RE},{begin:qa.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},Ad,ud]}}return gauss_1=Ra,gauss_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1;function Ra(qa){const nd="[A-Z_][A-Z0-9_.]*",od="%",ld={$pattern:nd,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},ud={className:"meta",begin:"([O])([0-9]+)"},dd=qa.inherit(qa.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+qa.C_NUMBER_RE}),pd=[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(/\(/,/\)/),dd,qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[dd],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:ld,contains:[{className:"meta",begin:od},ud].concat(pd)}}return gcode_1=Ra,gcode_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1;function Ra(qa){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},qa.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},qa.QUOTE_STRING_MODE]}}return gherkin_1=Ra,gherkin_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;function Ra(qa){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return glsl_1=Ra,glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1;function Ra(qa){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE]}}return gml_1=Ra,gml_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1;function Ra(qa){const dd={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:dd,illegal:"</",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"string",variants:[qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[qa.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:dd,illegal:/["']/}]}]}}return go_1=Ra,go_1}var golo_1,hasRequiredGolo;function requireGolo(){if(hasRequiredGolo)return golo_1;hasRequiredGolo=1;function Ra(qa){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}return golo_1=Ra,golo_1}var gradle_1,hasRequiredGradle;function requireGradle(){if(hasRequiredGradle)return gradle_1;hasRequiredGradle=1;function Ra(qa){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.REGEXP_MODE]}}return gradle_1=Ra,gradle_1}var graphql_1,hasRequiredGraphql;function requireGraphql(){if(hasRequiredGraphql)return graphql_1;hasRequiredGraphql=1;function Ra(qa){const nd=qa.regex,od=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:nd.concat(od,nd.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return graphql_1=Ra,graphql_1}var groovy_1,hasRequiredGroovy;function requireGroovy(){if(hasRequiredGroovy)return groovy_1;hasRequiredGroovy=1;function Ra(nd,od={}){return od.variants=nd,od}function qa(nd){const od=nd.regex,ld="[A-Za-z0-9_$]+",ud=Ra([nd.C_LINE_COMMENT_MODE,nd.C_BLOCK_COMMENT_MODE,nd.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),dd={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[nd.BACKSLASH_ESCAPE]},pd=Ra([nd.BINARY_NUMBER_MODE,nd.C_NUMBER_MODE]),fd=Ra([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},nd.APOS_STRING_MODE,nd.QUOTE_STRING_MODE],{className:"string"}),md={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,nd.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[nd.SHEBANG({binary:"groovy",relevance:10}),ud,fd,dd,pd,md,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:ld+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[ud,fd,dd,pd,"self"]},{className:"symbol",begin:"^[ ]*"+od.lookahead(ld+":"),excludeBegin:!0,end:ld+":",relevance:0}],illegal:/#|<\//}}return groovy_1=qa,groovy_1}var haml_1,hasRequiredHaml;function requireHaml(){if(hasRequiredHaml)return haml_1;hasRequiredHaml=1;function Ra(qa){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},qa.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return haml_1=Ra,haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;function Ra(qa){const nd=qa.regex,od={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},ld={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},ud=/""|"[^"]+"/,dd=/''|'[^']+'/,pd=/\[\]|\[[^\]]+\]/,fd=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,md=/(\.|\/)/,vd=nd.either(ud,dd,pd,fd),Ad=nd.concat(nd.optional(/\.|\.\/|\//),vd,nd.anyNumberOfTimes(nd.concat(md,vd))),Nd=nd.concat("(",pd,"|",fd,")(?==)"),Id={begin:Ad},Od=qa.inherit(Id,{keywords:ld}),Md={begin:/\(/,end:/\)/},Ud={className:"attr",begin:Nd,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,Od,Md]}}},jd={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Ld={contains:[qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,jd,Ud,Od,Md],returnEnd:!0},Bd=qa.inherit(Id,{className:"name",keywords:od,starts:qa.inherit(Ld,{end:/\)/})});Md.contains=[Bd];const Gd=qa.inherit(Id,{keywords:od,className:"name",starts:qa.inherit(Ld,{end:/\}\}/})}),qd=qa.inherit(Id,{keywords:od,className:"name"}),zd=qa.inherit(Id,{className:"name",keywords:od,starts:qa.inherit(Ld,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},qa.COMMENT(/\{\{!--/,/--\}\}/),qa.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[Gd],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[qd]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[Gd]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[qd]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[zd]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[zd]}]}}return handlebars_1=Ra,handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1;function Ra(qa){const nd="([0-9]_*)+",od="([0-9a-fA-F]_*)+",ld="([01]_*)+",ud="([0-7]_*)+",md="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",vd={variants:[qa.COMMENT("--+","$"),qa.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},Ad={className:"meta",begin:/\{-#/,end:/#-\}/},Nd={className:"meta",begin:"^#",end:"$"},Id={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},Od={begin:"\\(",end:"\\)",illegal:'"',contains:[Ad,Nd,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},qa.inherit(qa.TITLE_MODE,{begin:"[_a-z][\\w']*"}),vd]},Md={begin:/\{/,end:/\}/,contains:Od.contains},Ud={className:"number",relevance:0,variants:[{match:`\\b(${nd})(\\.(${nd}))?([eE][+-]?(${nd}))?\\b`},{match:`\\b0[xX]_*(${od})(\\.(${od}))?([pP][+-]?(${nd}))?\\b`},{match:`\\b0[oO](${ud})\\b`},{match:`\\b0[bB](${ld})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[Od,vd],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[Od,vd],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[Id,Od,vd]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[Ad,Id,Od,Md,vd]},{beginKeywords:"default",end:"$",contains:[Id,Od,vd]},{beginKeywords:"infix infixl infixr",end:"$",contains:[qa.C_NUMBER_MODE,vd]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[Id,qa.QUOTE_STRING_MODE,vd]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},Ad,Nd,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},qa.QUOTE_STRING_MODE,Ud,Id,qa.inherit(qa.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${md}--+|--+(?!-)${md}`},vd,{begin:"->|<-"}]}}return haskell_1=Ra,haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1;function Ra(qa){const nd="[a-zA-Z_$][a-zA-Z0-9_$]*",od=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},qa.QUOTE_STRING_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"number",begin:od,relevance:0},{className:"variable",begin:"\\$"+nd},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[qa.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+qa.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},qa.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:qa.IDENT_RE,relevance:0}]},qa.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[qa.TITLE_MODE]}],illegal:/<\//}}return haxe_1=Ra,haxe_1}var hsp_1,hasRequiredHsp;function requireHsp(){if(hasRequiredHsp)return hsp_1;hasRequiredHsp=1;function Ra(qa){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[qa.BACKSLASH_ESCAPE]},qa.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),qa.NUMBER_MODE,qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},qa.NUMBER_MODE,qa.C_NUMBER_MODE]}}return hsp_1=Ra,hsp_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1;function Ra(qa){const nd=qa.regex,od="HTTP/([32]|1\\.[01])",ld=/[A-Za-z][A-Za-z0-9-]*/,ud={className:"attribute",begin:nd.concat("^",ld,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},dd=[ud,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+od+" \\d{3})",end:/$/,contains:[{className:"meta",begin:od},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:dd}},{begin:"(?=^[A-Z]+ (.*?) "+od+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:od},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:dd}},qa.inherit(ud,{relevance:0})]}}return http_1=Ra,http_1}var hy_1,hasRequiredHy;function requireHy(){if(hasRequiredHy)return hy_1;hasRequiredHy=1;function Ra(qa){const nd="a-zA-Z_\\-!.?+*=<>&#'",od="["+nd+"]["+nd+"0-9/;:]*",ld={$pattern:od,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},ud="[-+]?\\d+(\\.\\d+)?",dd={begin:od,relevance:0},pd={className:"number",begin:ud,relevance:0},fd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),md=qa.COMMENT(";","$",{relevance:0}),vd={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},Ad={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},Nd={className:"comment",begin:"\\^"+od},Id=qa.COMMENT("\\^\\{","\\}"),Od={className:"symbol",begin:"[:]{1,2}"+od},Md={begin:"\\(",end:"\\)"},Ud={endsWithParent:!0,relevance:0},jd={className:"name",relevance:0,keywords:ld,begin:od,starts:Ud},Ld=[Md,fd,Nd,Id,md,Od,Ad,pd,vd,dd];return Md.contains=[qa.COMMENT("comment",""),jd,Ud],Ud.contains=Ld,Ad.contains=Ld,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[qa.SHEBANG(),Md,fd,Nd,Id,md,Od,Ad,pd,vd]}}return hy_1=Ra,hy_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1;function Ra(qa){const nd="\\[",od="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:nd,end:od}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:nd,end:od,contains:["self"]}]}}return inform7_1=Ra,inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1;function Ra(qa){const nd=qa.regex,od={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:qa.NUMBER_RE}]},ld=qa.COMMENT();ld.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const ud={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},dd={className:"literal",begin:/\bon|off|true|false|yes|no\b/},pd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},fd={begin:/\[/,end:/\]/,contains:[ld,dd,ud,pd,od,"self"],relevance:0},md=/[A-Za-z0-9_-]+/,vd=/"(\\"|[^"])*"/,Ad=/'[^']*'/,Nd=nd.either(md,vd,Ad),Id=nd.concat(Nd,"(\\s*\\.\\s*",Nd,")*",nd.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[ld,{className:"section",begin:/\[+/,end:/\]+/},{begin:Id,className:"attr",starts:{end:/$/,contains:[ld,fd,dd,ud,pd,od]}}]}}return ini_1=Ra,ini_1}var irpf90_1,hasRequiredIrpf90;function requireIrpf90(){if(hasRequiredIrpf90)return irpf90_1;hasRequiredIrpf90=1;function Ra(qa){const nd=qa.regex,od={className:"params",begin:"\\(",end:"\\)"},ld=/(_[a-z_\d]+)?/,ud=/([de][+-]?\d+)?/,dd={className:"number",variants:[{begin:nd.concat(/\b\d+/,/\.(\d*)/,ud,ld)},{begin:nd.concat(/\b\d+/,ud,ld)},{begin:nd.concat(/\.\d+/,ud,ld)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[qa.inherit(qa.APOS_STRING_MODE,{className:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[qa.UNDERSCORE_TITLE_MODE,od]},qa.COMMENT("!","$",{relevance:0}),qa.COMMENT("begin_doc","end_doc",{relevance:10}),dd]}}return irpf90_1=Ra,irpf90_1}var isbl_1,hasRequiredIsbl;function requireIsbl(){if(hasRequiredIsbl)return isbl_1;hasRequiredIsbl=1;function Ra(qa){const nd="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",od="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",ld="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",qf="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",B_="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",$b="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",u0="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",X_="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Pb=qf+B_,sy=u0,P0="null true false nil ",Rg={className:"number",begin:qa.NUMBER_RE,relevance:0},L0={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},T0={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},oy={className:"comment",begin:"//",end:"$",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,T0]},uv={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[qa.PHRASAL_WORDS_MODE,T0]},dv={variants:[oy,uv]},x0={$pattern:nd,keyword:ld,built_in:Pb,class:sy,literal:P0},F_={begin:"\\.\\s*"+qa.UNDERSCORE_IDENT_RE,keywords:x0,relevance:0},xb={className:"type",begin:":[ \\t]*("+X_.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Wb={className:"variable",keywords:x0,begin:nd,relevance:0,contains:[xb,F_]},C0=od+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:x0,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:C0,end:"\\)$",returnBegin:!0,keywords:x0,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:nd,built_in:$b},begin:C0,end:"\\(",returnBegin:!0,excludeEnd:!0},F_,Wb,L0,Rg,dv]},xb,F_,Wb,L0,Rg,dv]}}return isbl_1=Ra,isbl_1}var java_1,hasRequiredJava;function requireJava(){if(hasRequiredJava)return java_1;hasRequiredJava=1;var Ra="[0-9](_*[0-9])*",qa=`\\.(${Ra})`,nd="[0-9a-fA-F](_*[0-9a-fA-F])*",od={className:"number",variants:[{begin:`(\\b(${Ra})((${qa})|\\.)?|(${qa}))[eE][+-]?(${Ra})[fFdD]?\\b`},{begin:`\\b(${Ra})((${qa})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${qa})[fFdD]?\\b`},{begin:`\\b(${Ra})[fFdD]\\b`},{begin:`\\b0[xX]((${nd})\\.?|(${nd})?\\.(${nd}))[pP][+-]?(${Ra})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${nd})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function ld(dd,pd,fd){return fd===-1?"":dd.replace(pd,md=>ld(dd,pd,fd-1))}function ud(dd){const pd=dd.regex,fd="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",md=fd+ld("(?:<"+fd+"~~~(?:\\s*,\\s*"+fd+"~~~)*>)?",/~~~/g,2),Od={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},Md={className:"meta",begin:"@"+fd,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},Ud={className:"params",begin:/\(/,end:/\)/,keywords:Od,relevance:0,contains:[dd.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:Od,illegal:/<\/|#/,contains:[dd.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[dd.BACKSLASH_ESCAPE]},dd.APOS_STRING_MODE,dd.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,fd],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[pd.concat(/(?!else)/,fd),/\s+/,fd,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,fd],className:{1:"keyword",3:"title.class"},contains:[Ud,dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+md+"\\s+)",dd.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:Od,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:Od,relevance:0,contains:[Md,dd.APOS_STRING_MODE,dd.QUOTE_STRING_MODE,od,dd.C_BLOCK_COMMENT_MODE]},dd.C_LINE_COMMENT_MODE,dd.C_BLOCK_COMMENT_MODE]},od,Md]}}return java_1=ud,java_1}var javascript_1,hasRequiredJavascript;function requireJavascript(){if(hasRequiredJavascript)return javascript_1;hasRequiredJavascript=1;const Ra="[A-Za-z$_][0-9A-Za-z$_]*",qa=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],nd=["true","false","null","undefined","NaN","Infinity"],od=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ld=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ud=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],pd=[].concat(ud,od,ld);function fd(md){const vd=md.regex,Ad=(Tf,{after:Sf})=>{const Yf="</"+Tf[0].slice(1);return Tf.input.indexOf(Yf,Sf)!==-1},Nd=Ra,Id={begin:"<>",end:"</>"},Od=/<[A-Za-z0-9\\._:-]+\s*\/>/,Md={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Tf,Sf)=>{const Yf=Tf[0].length+Tf.index,ih=Tf.input[Yf];if(ih==="<"||ih===","){Sf.ignoreMatch();return}ih===">"&&(Ad(Tf,{after:Yf})||Sf.ignoreMatch());let Th;const sh=Tf.input.substring(Yf);if(Th=sh.match(/^\s*=/)){Sf.ignoreMatch();return}if((Th=sh.match(/^\s+extends\s+/))&&Th.index===0){Sf.ignoreMatch();return}}},Ud={$pattern:Ra,keyword:qa,literal:nd,built_in:pd,"variable.language":dd},jd="[0-9](_?[0-9])*",Ld=`\\.(${jd})`,Bd="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Gd={className:"number",variants:[{begin:`(\\b(${Bd})((${Ld})|\\.)?|(${Ld}))[eE][+-]?(${jd})\\b`},{begin:`\\b(${Bd})\\b((${Ld})\\b|\\.)?|(${Ld})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},qd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:Ud,contains:[]},zd={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,qd],subLanguage:"xml"}},Xd={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,qd],subLanguage:"css"}},gf={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[md.BACKSLASH_ESCAPE,qd],subLanguage:"graphql"}},Yd={className:"string",begin:"`",end:"`",contains:[md.BACKSLASH_ESCAPE,qd]},df={className:"comment",variants:[md.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:Nd+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),md.C_BLOCK_COMMENT_MODE,md.C_LINE_COMMENT_MODE]},Ef=[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,zd,Xd,gf,Yd,{match:/\$\d+/},Gd];qd.contains=Ef.concat({begin:/\{/,end:/\}/,keywords:Ud,contains:["self"].concat(Ef)});const _f=[].concat(df,qd.contains),xf=_f.concat([{begin:/(\s*)\(/,end:/\)/,keywords:Ud,contains:["self"].concat(_f)}]),vf={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Ud,contains:xf},Af={variants:[{match:[/class/,/\s+/,Nd,/\s+/,/extends/,/\s+/,vd.concat(Nd,"(",vd.concat(/\./,Nd),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,Nd],scope:{1:"keyword",3:"title.class"}}]},Df={relevance:0,match:vd.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...od,...ld]}},jf={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Jf={variants:[{match:[/function/,/\s+/,Nd,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[vf],illegal:/%/},eh={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function th(Tf){return vd.concat("(?!",Tf.join("|"),")")}const Uf={match:vd.concat(/\b/,th([...ud,"super","import"].map(Tf=>`${Tf}\\s*\\(`)),Nd,vd.lookahead(/\s*\(/)),className:"title.function",relevance:0},Of={begin:vd.concat(/\./,vd.lookahead(vd.concat(Nd,/(?![0-9A-Za-z$_(])/))),end:Nd,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Wf={match:[/get|set/,/\s+/,Nd,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},vf]},qf="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+md.UNDERSCORE_IDENT_RE+")\\s*=>",zf={match:[/const|var|let/,/\s+/,Nd,/\s*/,/=\s*/,/(async\s*)?/,vd.lookahead(qf)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[vf]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Ud,exports:{PARAMS_CONTAINS:xf,CLASS_REFERENCE:Df},illegal:/#(?![$_A-z])/,contains:[md.SHEBANG({label:"shebang",binary:"node",relevance:5}),jf,md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,zd,Xd,gf,Yd,df,{match:/\$\d+/},Gd,Df,{className:"attr",begin:Nd+vd.lookahead(":"),relevance:0},zf,{begin:"("+md.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[df,md.REGEXP_MODE,{className:"function",begin:qf,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:md.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Ud,contains:xf}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:Id.begin,end:Id.end},{match:Od},{begin:Md.begin,"on:begin":Md.isTrulyOpeningTag,end:Md.end}],subLanguage:"xml",contains:[{begin:Md.begin,end:Md.end,skip:!0,contains:["self"]}]}]},Jf,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+md.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[vf,md.inherit(md.TITLE_MODE,{begin:Nd,className:"title.function"})]},{match:/\.\.\./,relevance:0},Of,{match:"\\$"+Nd,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[vf]},Uf,eh,Af,Wf,{match:/\$[(.]/}]}}return javascript_1=fd,javascript_1}var jbossCli_1,hasRequiredJbossCli;function requireJbossCli(){if(hasRequiredJbossCli)return jbossCli_1;hasRequiredJbossCli=1;function Ra(qa){const od={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},ld={className:"function",begin:/:[\w\-.]+/,relevance:0},ud={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},dd={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[qa.HASH_COMMENT_MODE,qa.QUOTE_STRING_MODE,dd,ld,ud,od]}}return jbossCli_1=Ra,jbossCli_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1;function Ra(qa){const nd={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},od={match:/[{}[\],:]/,className:"punctuation",relevance:0},ld=["true","false","null"],ud={scope:"literal",beginKeywords:ld.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:ld},contains:[nd,od,qa.QUOTE_STRING_MODE,ud,qa.C_NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return json_1=Ra,json_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1;function Ra(qa){const nd="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",dd={$pattern:nd,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},pd={keywords:dd,illegal:/<\//},fd={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},md={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},vd={className:"subst",begin:/\$\(/,end:/\)/,keywords:dd},Ad={className:"variable",begin:"\\$"+nd},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE,vd,Ad],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},Id={className:"string",contains:[qa.BACKSLASH_ESCAPE,vd,Ad],begin:"`",end:"`"},Od={className:"meta",begin:"@"+nd},Md={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return pd.name="Julia",pd.contains=[fd,md,Nd,Id,Od,Md,qa.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],vd.contains=pd.contains,pd}return julia_1=Ra,julia_1}var juliaRepl_1,hasRequiredJuliaRepl;function requireJuliaRepl(){if(hasRequiredJuliaRepl)return juliaRepl_1;hasRequiredJuliaRepl=1;function Ra(qa){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return juliaRepl_1=Ra,juliaRepl_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1;var Ra="[0-9](_*[0-9])*",qa=`\\.(${Ra})`,nd="[0-9a-fA-F](_*[0-9a-fA-F])*",od={className:"number",variants:[{begin:`(\\b(${Ra})((${qa})|\\.)?|(${qa}))[eE][+-]?(${Ra})[fFdD]?\\b`},{begin:`\\b(${Ra})((${qa})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${qa})[fFdD]?\\b`},{begin:`\\b(${Ra})[fFdD]\\b`},{begin:`\\b0[xX]((${nd})\\.?|(${nd})?\\.(${nd}))[pP][+-]?(${Ra})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${nd})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function ld(ud){const dd={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},pd={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},fd={className:"symbol",begin:ud.UNDERSCORE_IDENT_RE+"@"},md={className:"subst",begin:/\$\{/,end:/\}/,contains:[ud.C_NUMBER_MODE]},vd={className:"variable",begin:"\\$"+ud.UNDERSCORE_IDENT_RE},Ad={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[vd,md]},{begin:"'",end:"'",illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[ud.BACKSLASH_ESCAPE,vd,md]}]};md.contains.push(Ad);const Nd={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+ud.UNDERSCORE_IDENT_RE+")?"},Id={className:"meta",begin:"@"+ud.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[ud.inherit(Ad,{className:"string"}),"self"]}]},Od=od,Md=ud.COMMENT("/\\*","\\*/",{contains:[ud.C_BLOCK_COMMENT_MODE]}),Ud={variants:[{className:"type",begin:ud.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},jd=Ud;return jd.variants[1].contains=[Ud],Ud.variants[1].contains=[jd],{name:"Kotlin",aliases:["kt","kts"],keywords:dd,contains:[ud.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),ud.C_LINE_COMMENT_MODE,Md,pd,fd,Nd,Id,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:dd,relevance:5,contains:[{begin:ud.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[ud.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:dd,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[Ud,ud.C_LINE_COMMENT_MODE,Md],relevance:0},ud.C_LINE_COMMENT_MODE,Md,Nd,Id,Ad,ud.C_NUMBER_MODE]},Md]},{begin:[/class|interface|trait/,/\s+/,ud.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},ud.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},Nd,Id]},Ad,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
||
`},Od]}}return kotlin_1=ld,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function Ra(qa){const nd="[a-zA-Z_][\\w.]*",od="<\\?(lasso(script)?|=)",ld="\\]|\\?>",ud={$pattern:nd+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},dd=qa.COMMENT("<!--","-->",{relevance:0}),pd={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[dd]}},fd={className:"meta",begin:"\\[/noprocess|"+od},md={className:"symbol",begin:"'"+nd+"'"},vd=[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.inherit(qa.C_NUMBER_MODE,{begin:qa.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+nd},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:nd,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+nd,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[md]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[qa.inherit(qa.TITLE_MODE,{begin:nd+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:ud,contains:[{className:"meta",begin:ld,relevance:0,starts:{end:"\\[|"+od,returnEnd:!0,relevance:0,contains:[dd]}},pd,fd,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:ud,contains:[{className:"meta",begin:ld,relevance:0,starts:{end:"\\[noprocess\\]|"+od,returnEnd:!0,contains:[dd]}},pd,fd].concat(vd)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(vd)}}return lasso_1=Ra,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function Ra(qa){const od=qa.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(df=>df+"(?![a-zA-Z@:_])")),ld=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(df=>df+"(?![a-zA-Z:_])").join("|")),ud=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],dd=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],pd={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:od},{endsParent:!0,begin:ld},{endsParent:!0,variants:dd},{endsParent:!0,relevance:0,variants:ud}]},fd={className:"params",relevance:0,begin:/#+\d?/},md={variants:dd},vd={className:"built_in",relevance:0,begin:/[$&^_]/},Ad={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},Nd=qa.COMMENT("%","$",{relevance:0}),Id=[pd,fd,md,vd,Ad,Nd],Od={begin:/\{/,end:/\}/,relevance:0,contains:["self",...Id]},Md=qa.inherit(Od,{relevance:0,endsParent:!0,contains:[Od,...Id]}),Ud={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[Od,...Id]},jd={begin:/\s+/,relevance:0},Ld=[Md],Bd=[Ud],Gd=function(df,Ef){return{contains:[jd],starts:{relevance:0,contains:df,starts:Ef}}},qd=function(df,Ef){return{begin:"\\\\"+df+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+df},relevance:0,contains:[jd],starts:Ef}},zd=function(df,Ef){return qa.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+df+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},Gd(Ld,Ef))},Xd=(df="string")=>qa.END_SAME_AS_BEGIN({className:df,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),gf=function(df){return{className:"string",end:"(?=\\\\end\\{"+df+"\\})"}},Yd=(df="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:df,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),Zd=[...["verb","lstinline"].map(df=>qd(df,{contains:[Xd()]})),qd("mint",Gd(Ld,{contains:[Xd()]})),qd("mintinline",Gd(Ld,{contains:[Yd(),Xd()]})),qd("url",{contains:[Yd("link"),Yd("link")]}),qd("hyperref",{contains:[Yd("link")]}),qd("href",Gd(Bd,{contains:[Yd("link")]})),...[].concat(...["","\\*"].map(df=>[zd("verbatim"+df,gf("verbatim"+df)),zd("filecontents"+df,Gd(Ld,gf("filecontents"+df))),...["","B","L"].map(Ef=>zd(Ef+"Verbatim"+df,Gd(Bd,gf(Ef+"Verbatim"+df))))])),zd("minted",Gd(Bd,Gd(Ld,gf("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...Zd,...Id]}}return latex_1=Ra,latex_1}var ldif_1,hasRequiredLdif;function requireLdif(){if(hasRequiredLdif)return ldif_1;hasRequiredLdif=1;function Ra(qa){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},qa.HASH_COMMENT_MODE]}}return ldif_1=Ra,ldif_1}var leaf_1,hasRequiredLeaf;function requireLeaf(){if(hasRequiredLeaf)return leaf_1;hasRequiredLeaf=1;function Ra(qa){const nd=/([A-Za-z_][A-Za-z_0-9]*)?/,ld={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},ud={match:[nd,/(?=\()/],scope:{1:"keyword"},contains:[ld]};return ld.contains.unshift(ud),{name:"Leaf",contains:[{match:[/#+/,nd,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[ld]},{match:[/#+/,nd,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return leaf_1=Ra,leaf_1}var less_1,hasRequiredLess;function requireLess(){if(hasRequiredLess)return less_1;hasRequiredLess=1;const Ra=vd=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:vd.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[vd.APOS_STRING_MODE,vd.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:vd.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","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-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-end-end-radius","border-end-start-radius","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","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","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","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","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","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","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","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","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","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse(),fd=ud.concat(dd).sort().reverse();function md(vd){const Ad=Ra(vd),Nd=fd,Id="and or not only",Od="[\\w-]+",Md="("+Od+"|@\\{"+Od+"\\})",Ud=[],jd=[],Ld=function(_f){return{className:"string",begin:"~?"+_f+".*?"+_f}},Bd=function(_f,xf,vf){return{className:_f,begin:xf,relevance:vf}},Gd={$pattern:/[a-z-]+/,keyword:Id,attribute:ld.join(" ")},qd={begin:"\\(",end:"\\)",contains:jd,keywords:Gd,relevance:0};jd.push(vd.C_LINE_COMMENT_MODE,vd.C_BLOCK_COMMENT_MODE,Ld("'"),Ld('"'),Ad.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},Ad.HEXCOLOR,qd,Bd("variable","@@?"+Od,10),Bd("variable","@\\{"+Od+"\\}"),Bd("built_in","~?`[^`]*?`"),{className:"attribute",begin:Od+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},Ad.IMPORTANT,{beginKeywords:"and not"},Ad.FUNCTION_DISPATCH);const zd=jd.concat({begin:/\{/,end:/\}/,contains:Ud}),Xd={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(jd)},gf={begin:Md+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},Ad.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:jd}}]},Yd={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:Gd,returnEnd:!0,contains:jd,relevance:0}},Zd={className:"variable",variants:[{begin:"@"+Od+"\\s*:",relevance:15},{begin:"@"+Od}],starts:{end:"[;}]",returnEnd:!0,contains:zd}},df={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:Md,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[vd.C_LINE_COMMENT_MODE,vd.C_BLOCK_COMMENT_MODE,Xd,Bd("keyword","all\\b"),Bd("variable","@\\{"+Od+"\\}"),{begin:"\\b("+od.join("|")+")\\b",className:"selector-tag"},Ad.CSS_NUMBER_MODE,Bd("selector-tag",Md,0),Bd("selector-id","#"+Md),Bd("selector-class","\\."+Md,0),Bd("selector-tag","&",0),Ad.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+ud.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+dd.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:zd},{begin:"!important"},Ad.FUNCTION_DISPATCH]},Ef={begin:Od+`:(:)?(${Nd.join("|")})`,returnBegin:!0,contains:[df]};return Ud.push(vd.C_LINE_COMMENT_MODE,vd.C_BLOCK_COMMENT_MODE,Yd,Zd,Ef,gf,df,Xd,Ad.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:Ud}}return less_1=md,less_1}var lisp_1,hasRequiredLisp;function requireLisp(){if(hasRequiredLisp)return lisp_1;hasRequiredLisp=1;function Ra(qa){const nd="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",od="\\|[^]*?\\|",ld="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",ud={className:"literal",begin:"\\b(t{1}|nil)\\b"},dd={className:"number",variants:[{begin:ld,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+ld+" +"+ld,end:"\\)"}]},pd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),fd=qa.COMMENT(";","$",{relevance:0}),md={begin:"\\*",end:"\\*"},vd={className:"symbol",begin:"[:&]"+nd},Ad={begin:nd,relevance:0},Nd={begin:od},Od={contains:[dd,pd,md,vd,{begin:"\\(",end:"\\)",contains:["self",ud,pd,dd,Ad]},Ad],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+od}]},Md={variants:[{begin:"'"+nd},{begin:"#'"+nd+"(::"+nd+")*"}]},Ud={begin:"\\(\\s*",end:"\\)"},jd={endsWithParent:!0,relevance:0};return Ud.contains=[{className:"name",variants:[{begin:nd,relevance:0},{begin:od}]},jd],jd.contains=[Od,Md,Ud,ud,dd,pd,fd,md,vd,Nd,Ad],{name:"Lisp",illegal:/\S/,contains:[dd,qa.SHEBANG(),ud,pd,fd,Od,Md,Ud,Ad]}}return lisp_1=Ra,lisp_1}var livecodeserver_1,hasRequiredLivecodeserver;function requireLivecodeserver(){if(hasRequiredLivecodeserver)return livecodeserver_1;hasRequiredLivecodeserver=1;function Ra(qa){const nd={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},od=[qa.C_BLOCK_COMMENT_MODE,qa.HASH_COMMENT_MODE,qa.COMMENT("--","$"),qa.COMMENT("[^:]//","$")],ld=qa.inherit(qa.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),ud=qa.inherit(qa.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[nd,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[nd,ud,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE,ld]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[ud,ld],relevance:0},{beginKeywords:"command on",end:"$",contains:[nd,ud,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE,ld]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE,ld].concat(od),illegal:";$|^\\[|^=|&|\\{"}}return livecodeserver_1=Ra,livecodeserver_1}var livescript_1,hasRequiredLivescript;function requireLivescript(){if(hasRequiredLivescript)return livescript_1;hasRequiredLivescript=1;const Ra=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],qa=["true","false","null","undefined","NaN","Infinity"],nd=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],od=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ld=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ud=[].concat(ld,nd,od);function dd(pd){const fd=["npm","print"],md=["yes","no","on","off","it","that","void"],vd=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],Ad={keyword:Ra.concat(vd),literal:qa.concat(md),built_in:ud.concat(fd)},Nd="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",Id=pd.inherit(pd.TITLE_MODE,{begin:Nd}),Od={className:"subst",begin:/#\{/,end:/\}/,keywords:Ad},Md={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:Ad},Ud=[pd.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[pd.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[pd.BACKSLASH_ESCAPE,Od,Md]},{begin:/"/,end:/"/,contains:[pd.BACKSLASH_ESCAPE,Od,Md]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[Od,pd.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+Nd},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];Od.contains=Ud;const jd={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:Ad,contains:["self"].concat(Ud)}]},Ld={begin:"(#=>|=>|\\|>>|-?->|!->)"},Bd={variants:[{match:[/class\s+/,Nd,/\s+extends\s+/,Nd]},{match:[/class\s+/,Nd]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:Ad};return{name:"LiveScript",aliases:["ls"],keywords:Ad,illegal:/\/\*/,contains:Ud.concat([pd.COMMENT("\\/\\*","\\*\\/"),pd.HASH_COMMENT_MODE,Ld,{className:"function",contains:[Id,jd],returnBegin:!0,variants:[{begin:"("+Nd+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+Nd+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+Nd+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},Bd,{begin:Nd+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return livescript_1=dd,livescript_1}var llvm_1,hasRequiredLlvm;function requireLlvm(){if(hasRequiredLlvm)return llvm_1;hasRequiredLlvm=1;function Ra(qa){const nd=qa.regex,od=/([-a-zA-Z$._][\w$.-]*)/,ld={className:"type",begin:/\bi\d+(?=\s|\b)/},ud={className:"operator",relevance:0,begin:/=/},dd={className:"punctuation",relevance:0,begin:/,/},pd={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},fd={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},md={className:"variable",variants:[{begin:nd.concat(/%/,od)},{begin:/%\d+/},{begin:/#\d+/}]},vd={className:"title",variants:[{begin:nd.concat(/@/,od)},{begin:/@\d+/},{begin:nd.concat(/!/,od)},{begin:nd.concat(/!\d+/,od)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[ld,qa.COMMENT(/;\s*$/,null,{relevance:0}),qa.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},vd,dd,ud,md,fd,pd]}}return llvm_1=Ra,llvm_1}var lsl_1,hasRequiredLsl;function requireLsl(){if(hasRequiredLsl)return lsl_1;hasRequiredLsl=1;function Ra(qa){const od={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},ld={className:"number",relevance:0,begin:qa.C_NUMBER_RE},ud={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},dd={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[od,{className:"comment",variants:[qa.COMMENT("//","$"),qa.COMMENT("/\\*","\\*/")],relevance:0},ld,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},dd,ud,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return lsl_1=Ra,lsl_1}var lua_1,hasRequiredLua;function requireLua(){if(hasRequiredLua)return lua_1;hasRequiredLua=1;function Ra(qa){const nd="\\[=*\\[",od="\\]=*\\]",ld={begin:nd,end:od,contains:["self"]},ud=[qa.COMMENT("--(?!"+nd+")","$"),qa.COMMENT("--"+nd,od,{contains:[ld],relevance:10})];return{name:"Lua",keywords:{$pattern:qa.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:ud.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[qa.inherit(qa.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:ud}].concat(ud)},qa.C_NUMBER_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:nd,end:od,contains:[ld],relevance:5}])}}return lua_1=Ra,lua_1}var makefile_1,hasRequiredMakefile;function requireMakefile(){if(hasRequiredMakefile)return makefile_1;hasRequiredMakefile=1;function Ra(qa){const nd={className:"variable",variants:[{begin:"\\$\\("+qa.UNDERSCORE_IDENT_RE+"\\)",contains:[qa.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},od={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,nd]},ld={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[nd]},ud={begin:"^"+qa.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},dd={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},pd={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[nd]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[qa.HASH_COMMENT_MODE,nd,od,ld,ud,dd,pd]}}return makefile_1=Ra,makefile_1}var mathematica_1,hasRequiredMathematica;function requireMathematica(){if(hasRequiredMathematica)return mathematica_1;hasRequiredMathematica=1;const Ra=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function qa(nd){const od=nd.regex,ld=/([2-9]|[1-2]\d|[3][0-5])\^\^/,ud=/(\w*\.\w+|\w+\.\w*|\w+)/,dd=/(\d*\.\d+|\d+\.\d*|\d+)/,pd=od.either(od.concat(ld,ud),dd),fd=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,md=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,vd=od.either(fd,md),Ad=/\*\^[+-]?\d+/,Id={className:"number",relevance:0,begin:od.concat(pd,od.optional(vd),od.optional(Ad))},Od=/[a-zA-Z$][a-zA-Z0-9$]*/,Md=new Set(Ra),Ud={variants:[{className:"builtin-symbol",begin:Od,"on:begin":(Xd,gf)=>{Md.has(Xd[0])||gf.ignoreMatch()}},{className:"symbol",relevance:0,begin:Od}]},jd={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},Ld={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},Bd={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},Gd={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},qd={className:"brace",relevance:0,begin:/[[\](){}]/},zd={className:"message-name",relevance:0,begin:od.concat("::",Od)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[nd.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),Bd,Gd,zd,Ud,jd,nd.QUOTE_STRING_MODE,Id,Ld,qd]}}return mathematica_1=qa,mathematica_1}var matlab_1,hasRequiredMatlab;function requireMatlab(){if(hasRequiredMatlab)return matlab_1;hasRequiredMatlab=1;function Ra(qa){const nd="('|\\.')+",od={relevance:0,contains:[{begin:nd}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[qa.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:od},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+nd,relevance:0},{className:"number",begin:qa.C_NUMBER_RE,relevance:0,starts:od},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:od},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:od},qa.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),qa.COMMENT("%","$")]}}return matlab_1=Ra,matlab_1}var maxima_1,hasRequiredMaxima;function requireMaxima(){if(hasRequiredMaxima)return maxima_1;hasRequiredMaxima=1;function Ra(qa){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},qa.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return maxima_1=Ra,maxima_1}var mel_1,hasRequiredMel;function requireMel(){if(hasRequiredMel)return mel_1;hasRequiredMel=1;function Ra(qa){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[qa.C_NUMBER_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}}return mel_1=Ra,mel_1}var mercury_1,hasRequiredMercury;function requireMercury(){if(hasRequiredMercury)return mercury_1;hasRequiredMercury=1;function Ra(qa){const nd={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},od=qa.COMMENT("%","$"),ld={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},ud=qa.inherit(qa.APOS_STRING_MODE,{relevance:0}),dd=qa.inherit(qa.QUOTE_STRING_MODE,{relevance:0}),pd={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return dd.contains=dd.contains.slice(),dd.contains.push(pd),{name:"Mercury",aliases:["m","moo"],keywords:nd,contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},od,qa.C_BLOCK_COMMENT_MODE,ld,qa.NUMBER_MODE,ud,dd,{begin:/:-/},{begin:/\.$/}]}}return mercury_1=Ra,mercury_1}var mipsasm_1,hasRequiredMipsasm;function requireMipsasm(){if(hasRequiredMipsasm)return mipsasm_1;hasRequiredMipsasm=1;function Ra(qa){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+qa.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},qa.COMMENT("[;#](?!\\s*$)","$"),qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return mipsasm_1=Ra,mipsasm_1}var mizar_1,hasRequiredMizar;function requireMizar(){if(hasRequiredMizar)return mizar_1;hasRequiredMizar=1;function Ra(qa){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[qa.COMMENT("::","$")]}}return mizar_1=Ra,mizar_1}var perl_1,hasRequiredPerl;function requirePerl(){if(hasRequiredPerl)return perl_1;hasRequiredPerl=1;function Ra(qa){const nd=qa.regex,od=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],ld=/[dualxmsipngr]{0,12}/,ud={$pattern:/[\w.]+/,keyword:od.join(" ")},dd={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:ud},pd={begin:/->\{/,end:/\}/},fd={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},md={scope:"variable",variants:[{begin:/\$\d/},{begin:nd.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[fd]},vd={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},Ad=[qa.BACKSLASH_ESCAPE,dd,md],Nd=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],Id=(Ud,jd,Ld="\\1")=>{const Bd=Ld==="\\1"?Ld:nd.concat(Ld,jd);return nd.concat(nd.concat("(?:",Ud,")"),jd,/(?:\\.|[^\\\/])*?/,Bd,/(?:\\.|[^\\\/])*?/,Ld,ld)},Od=(Ud,jd,Ld)=>nd.concat(nd.concat("(?:",Ud,")"),jd,/(?:\\.|[^\\\/])*?/,Ld,ld),Md=[md,qa.HASH_COMMENT_MODE,qa.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),pd,{className:"string",contains:Ad,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},vd,{begin:"(\\/\\/|"+qa.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[qa.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:Id("s|tr|y",nd.either(...Nd,{capture:!0}))},{begin:Id("s|tr|y","\\(","\\)")},{begin:Id("s|tr|y","\\[","\\]")},{begin:Id("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:Od("(?:m|qr)?",/\//,/\//)},{begin:Od("m|qr",nd.either(...Nd,{capture:!0}),/\1/)},{begin:Od("m|qr",/\(/,/\)/)},{begin:Od("m|qr",/\[/,/\]/)},{begin:Od("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[qa.TITLE_MODE,fd]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[qa.TITLE_MODE,fd,vd]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return dd.contains=Md,pd.contains=Md,{name:"Perl",aliases:["pl","pm"],keywords:ud,contains:Md}}return perl_1=Ra,perl_1}var mojolicious_1,hasRequiredMojolicious;function requireMojolicious(){if(hasRequiredMojolicious)return mojolicious_1;hasRequiredMojolicious=1;function Ra(qa){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return mojolicious_1=Ra,mojolicious_1}var monkey_1,hasRequiredMonkey;function requireMonkey(){if(hasRequiredMonkey)return monkey_1;hasRequiredMonkey=1;function Ra(qa){const nd={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},qa.NUMBER_MODE]},od={variants:[{match:[/(function|method)/,/\s+/,qa.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},ld={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,qa.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[qa.COMMENT("#rem","#end"),qa.COMMENT("'","$",{relevance:0}),od,ld,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[qa.UNDERSCORE_TITLE_MODE]},qa.QUOTE_STRING_MODE,nd]}}return monkey_1=Ra,monkey_1}var moonscript_1,hasRequiredMoonscript;function requireMoonscript(){if(hasRequiredMoonscript)return moonscript_1;hasRequiredMoonscript=1;function Ra(qa){const nd={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},od="[A-Za-z$_][0-9A-Za-z$_]*",ld={className:"subst",begin:/#\{/,end:/\}/,keywords:nd},ud=[qa.inherit(qa.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[qa.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,ld]}]},{className:"built_in",begin:"@__"+qa.IDENT_RE},{begin:"@"+qa.IDENT_RE},{begin:qa.IDENT_RE+"\\\\"+qa.IDENT_RE}];ld.contains=ud;const dd=qa.inherit(qa.TITLE_MODE,{begin:od}),pd="(\\(.*\\)\\s*)?\\B[-=]>",fd={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:nd,contains:["self"].concat(ud)}]};return{name:"MoonScript",aliases:["moon"],keywords:nd,illegal:/\/\*/,contains:ud.concat([qa.COMMENT("--","$"),{className:"function",begin:"^\\s*"+od+"\\s*=\\s*"+pd,end:"[-=]>",returnBegin:!0,contains:[dd,fd]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:pd,end:"[-=]>",returnBegin:!0,contains:[fd]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[dd]},dd]},{className:"name",begin:od+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return moonscript_1=Ra,moonscript_1}var n1ql_1,hasRequiredN1ql;function requireN1ql(){if(hasRequiredN1ql)return n1ql_1;hasRequiredN1ql=1;function Ra(qa){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE]},qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE]},qa.C_BLOCK_COMMENT_MODE]}}return n1ql_1=Ra,n1ql_1}var nestedtext_1,hasRequiredNestedtext;function requireNestedtext(){if(hasRequiredNestedtext)return nestedtext_1;hasRequiredNestedtext=1;function Ra(qa){const nd={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},od={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},ld={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},ud={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[qa.inherit(qa.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),ud,ld,nd,od]}}return nestedtext_1=Ra,nestedtext_1}var nginx_1,hasRequiredNginx;function requireNginx(){if(hasRequiredNginx)return nginx_1;hasRequiredNginx=1;function Ra(qa){const nd=qa.regex,od={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:nd.concat(/[$@]/,qa.UNDERSCORE_IDENT_RE)}]},ud={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[qa.HASH_COMMENT_MODE,{className:"string",contains:[qa.BACKSLASH_ESCAPE,od],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[od]},{className:"regexp",contains:[qa.BACKSLASH_ESCAPE,od],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},od]};return{name:"Nginx config",aliases:["nginxconf"],contains:[qa.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:ud.contains,keywords:{section:"upstream location"}},{className:"section",begin:nd.concat(qa.UNDERSCORE_IDENT_RE+nd.lookahead(/\s+\{/)),relevance:0},{begin:nd.lookahead(qa.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:qa.UNDERSCORE_IDENT_RE,starts:ud}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return nginx_1=Ra,nginx_1}var nim_1,hasRequiredNim;function requireNim(){if(hasRequiredNim)return nim_1;hasRequiredNim=1;function Ra(qa){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},qa.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},qa.HASH_COMMENT_MODE]}}return nim_1=Ra,nim_1}var nix_1,hasRequiredNix;function requireNix(){if(hasRequiredNix)return nix_1;hasRequiredNix=1;function Ra(qa){const nd={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},od={className:"subst",begin:/\$\{/,end:/\}/,keywords:nd},ld={className:"char.escape",begin:/''\$/},ud={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},dd={className:"string",contains:[ld,od],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},pd=[qa.NUMBER_MODE,qa.HASH_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,dd,ud];return od.contains=pd,{name:"Nix",aliases:["nixos"],keywords:nd,contains:pd}}return nix_1=Ra,nix_1}var nodeRepl_1,hasRequiredNodeRepl;function requireNodeRepl(){if(hasRequiredNodeRepl)return nodeRepl_1;hasRequiredNodeRepl=1;function Ra(qa){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return nodeRepl_1=Ra,nodeRepl_1}var nsis_1,hasRequiredNsis;function requireNsis(){if(hasRequiredNsis)return nsis_1;hasRequiredNsis=1;function Ra(qa){const nd=qa.regex,od=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],ld=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],ud=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],dd={className:"variable.constant",begin:nd.concat(/\$/,nd.either(...od))},pd={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},fd={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},md={className:"variable",begin:/\$+\([\w^.:!-]+\)/},vd={className:"params",begin:nd.either(...ld)},Ad={className:"keyword",begin:nd.concat(/!/,nd.either(...ud))},Nd={className:"char.escape",begin:/\$(\\[nrt]|\$)/},Id={className:"title.function",begin:/\w+::\w+/},Od={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[Nd,dd,pd,fd,md]},Md=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],Ud=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],jd={match:[/Function/,/\s+/,nd.concat(/(\.)?/,qa.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},Bd={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:Md,literal:Ud},contains:[qa.HASH_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT(";","$",{relevance:0}),Bd,jd,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},Od,Ad,pd,fd,md,vd,Id,qa.NUMBER_MODE]}}return nsis_1=Ra,nsis_1}var objectivec_1,hasRequiredObjectivec;function requireObjectivec(){if(hasRequiredObjectivec)return objectivec_1;hasRequiredObjectivec=1;function Ra(qa){const nd={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},od=/[a-zA-Z@][a-zA-Z0-9_]*/,fd={"variable.language":["this","super"],$pattern:od,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},md={$pattern:od,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:fd,illegal:"</",contains:[nd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.C_NUMBER_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},qa.inherit(qa.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+md.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:md,contains:[qa.UNDERSCORE_TITLE_MODE]},{begin:"\\."+qa.UNDERSCORE_IDENT_RE,relevance:0}]}}return objectivec_1=Ra,objectivec_1}var ocaml_1,hasRequiredOcaml;function requireOcaml(){if(hasRequiredOcaml)return ocaml_1;hasRequiredOcaml=1;function Ra(qa){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},qa.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},qa.inherit(qa.APOS_STRING_MODE,{className:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ocaml_1=Ra,ocaml_1}var openscad_1,hasRequiredOpenscad;function requireOpenscad(){if(hasRequiredOpenscad)return openscad_1;hasRequiredOpenscad=1;function Ra(qa){const nd={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},od={className:"literal",begin:"false|true|PI|undef"},ld={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},ud=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),dd={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},pd={className:"params",begin:"\\(",end:"\\)",contains:["self",ld,ud,nd,od]},fd={begin:"[*!#%]",relevance:0},md={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[pd,qa.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,ld,dd,ud,nd,fd,md]}}return openscad_1=Ra,openscad_1}var oxygene_1,hasRequiredOxygene;function requireOxygene(){if(hasRequiredOxygene)return oxygene_1;hasRequiredOxygene=1;function Ra(qa){const nd={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},od=qa.COMMENT(/\{/,/\}/,{relevance:0}),ld=qa.COMMENT("\\(\\*","\\*\\)",{relevance:10}),ud={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},dd={className:"string",begin:"(#\\d+)+"},pd={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[qa.inherit(qa.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:nd,contains:[ud,dd]},od,ld]},fd={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:nd,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[od,ld,qa.C_LINE_COMMENT_MODE,ud,dd,qa.NUMBER_MODE,pd,fd]}}return oxygene_1=Ra,oxygene_1}var parser3_1,hasRequiredParser3;function requireParser3(){if(hasRequiredParser3)return parser3_1;hasRequiredParser3=1;function Ra(qa){const nd=qa.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[qa.COMMENT("^#","$"),qa.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[nd]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},qa.C_NUMBER_MODE]}}return parser3_1=Ra,parser3_1}var pf_1,hasRequiredPf;function requirePf(){if(hasRequiredPf)return pf_1;hasRequiredPf=1;function Ra(qa){const nd={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},od={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[qa.HASH_COMMENT_MODE,qa.NUMBER_MODE,qa.QUOTE_STRING_MODE,nd,od]}}return pf_1=Ra,pf_1}var pgsql_1,hasRequiredPgsql;function requirePgsql(){if(hasRequiredPgsql)return pgsql_1;hasRequiredPgsql=1;function Ra(qa){const nd=qa.COMMENT("--","$"),od="[a-zA-Z_][a-zA-Z_0-9$]*",ld="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",ud="<<\\s*"+od+"\\s*>>",dd="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",pd="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",fd="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",md="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",vd=md.trim().split(" ").map(function(Ud){return Ud.split("|")[0]}).join("|"),Ad="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",Nd="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",Id="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",Md="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(Ud){return Ud.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:dd+fd+pd,built_in:Ad+Nd+Id},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:qa.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+Md+")\\s*\\("},{begin:"\\.("+vd+")\\b"},{begin:"\\b("+vd+")\\s+PATH\\b",keywords:{keyword:"PATH",type:md.replace("PATH ","")}},{className:"type",begin:"\\b("+vd+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},qa.END_SAME_AS_BEGIN({begin:ld,end:ld,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,nd,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:ud,relevance:10}]}}return pgsql_1=Ra,pgsql_1}var php_1,hasRequiredPhp;function requirePhp(){if(hasRequiredPhp)return php_1;hasRequiredPhp=1;function Ra(qa){const nd=qa.regex,od=/(?![A-Za-z0-9])(?![$])/,ld=nd.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,od),ud=nd.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,od),dd={scope:"variable",match:"\\$+"+ld},pd={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},fd={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},md=qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),vd=qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null,contains:qa.QUOTE_STRING_MODE.contains.concat(fd)}),Ad={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:qa.QUOTE_STRING_MODE.contains.concat(fd),"on:begin":(xf,vf)=>{vf.data._beginMatch=xf[1]||xf[2]},"on:end":(xf,vf)=>{vf.data._beginMatch!==xf[1]&&vf.ignoreMatch()}},Nd=qa.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),Id=`[
|
||
]`,Od={scope:"string",variants:[vd,md,Ad,Nd]},Md={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},Ud=["false","null","true"],jd=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],Ld=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],Gd={keyword:jd,literal:(xf=>{const vf=[];return xf.forEach(Af=>{vf.push(Af),Af.toLowerCase()===Af?vf.push(Af.toUpperCase()):vf.push(Af.toLowerCase())}),vf})(Ud),built_in:Ld},qd=xf=>xf.map(vf=>vf.replace(/\|\d+$/,"")),zd={variants:[{match:[/new/,nd.concat(Id,"+"),nd.concat("(?!",qd(Ld).join("\\b|"),"\\b)"),ud],scope:{1:"keyword",4:"title.class"}}]},Xd=nd.concat(ld,"\\b(?!\\()"),gf={variants:[{match:[nd.concat(/::/,nd.lookahead(/(?!class\b)/)),Xd],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[ud,nd.concat(/::/,nd.lookahead(/(?!class\b)/)),Xd],scope:{1:"title.class",3:"variable.constant"}},{match:[ud,nd.concat("::",nd.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[ud,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},Yd={scope:"attr",match:nd.concat(ld,nd.lookahead(":"),nd.lookahead(/(?!::)/))},Zd={relevance:0,begin:/\(/,end:/\)/,keywords:Gd,contains:[Yd,dd,gf,qa.C_BLOCK_COMMENT_MODE,Od,Md,zd]},df={relevance:0,match:[/\b/,nd.concat("(?!fn\\b|function\\b|",qd(jd).join("\\b|"),"|",qd(Ld).join("\\b|"),"\\b)"),ld,nd.concat(Id,"*"),nd.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Zd]};Zd.contains.push(df);const Ef=[Yd,gf,qa.C_BLOCK_COMMENT_MODE,Od,Md,zd],_f={begin:nd.concat(/#\[\s*/,ud),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:Ud,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:Ud,keyword:["new","array"]},contains:["self",...Ef]},...Ef,{scope:"meta",match:ud}]};return{case_insensitive:!1,keywords:Gd,contains:[_f,qa.HASH_COMMENT_MODE,qa.COMMENT("//","$"),qa.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:qa.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},pd,{scope:"variable.language",match:/\$this\b/},dd,df,gf,{match:[/const/,/\s/,ld],scope:{1:"keyword",3:"variable.constant"}},zd,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},qa.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:Gd,contains:["self",dd,gf,qa.C_BLOCK_COMMENT_MODE,Od,Md]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},qa.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[qa.inherit(qa.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},qa.UNDERSCORE_TITLE_MODE]},Od,Md]}}return php_1=Ra,php_1}var phpTemplate_1,hasRequiredPhpTemplate;function requirePhpTemplate(){if(hasRequiredPhpTemplate)return phpTemplate_1;hasRequiredPhpTemplate=1;function Ra(qa){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},qa.inherit(qa.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return phpTemplate_1=Ra,phpTemplate_1}var plaintext_1,hasRequiredPlaintext;function requirePlaintext(){if(hasRequiredPlaintext)return plaintext_1;hasRequiredPlaintext=1;function Ra(qa){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return plaintext_1=Ra,plaintext_1}var pony_1,hasRequiredPony;function requirePony(){if(hasRequiredPony)return pony_1;hasRequiredPony=1;function Ra(qa){const nd={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},od={className:"string",begin:'"""',end:'"""',relevance:10},ld={className:"string",begin:'"',end:'"',contains:[qa.BACKSLASH_ESCAPE]},ud={className:"string",begin:"'",end:"'",contains:[qa.BACKSLASH_ESCAPE],relevance:0},dd={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},pd={begin:qa.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:nd,contains:[dd,od,ld,ud,pd,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}}return pony_1=Ra,pony_1}var powershell_1,hasRequiredPowershell;function requirePowershell(){if(hasRequiredPowershell)return powershell_1;hasRequiredPowershell=1;function Ra(qa){const nd=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],od="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",ld="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",ud={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},dd=/\w[\w\d]*((-)[\w\d]+)*/,pd={begin:"`[\\s\\S]",relevance:0},fd={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},md={className:"literal",begin:/\$(null|true|false)\b/},vd={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[pd,fd,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},Ad={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},Nd={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},Id=qa.inherit(qa.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[Nd]}),Od={className:"built_in",variants:[{begin:"(".concat(od,")+(-)[\\w\\d]+")}]},Md={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[qa.TITLE_MODE]},Ud={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:dd,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[fd]}]},jd={begin:/using\s/,end:/$/,returnBegin:!0,contains:[vd,Ad,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Ld={variants:[{className:"operator",begin:"(".concat(ld,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},Bd={className:"selector-tag",begin:/@\B/,relevance:0},Gd={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(ud.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},qa.inherit(qa.TITLE_MODE,{endsParent:!0})]},qd=[Gd,Id,pd,qa.NUMBER_MODE,vd,Ad,Od,fd,md,Bd],zd={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",qd,{begin:"("+nd.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return Gd.contains.unshift(zd),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:ud,contains:qd.concat(Md,Ud,jd,Ld,zd)}}return powershell_1=Ra,powershell_1}var processing_1,hasRequiredProcessing;function requireProcessing(){if(hasRequiredProcessing)return processing_1;hasRequiredProcessing=1;function Ra(qa){const nd=qa.regex,od=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],ld=qa.IDENT_RE,ud={variants:[{match:nd.concat(nd.either(...od),nd.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:nd.concat(/\b(?!for|if|while)/,ld,nd.lookahead(/\s*\(/)),className:"title.function"}]},dd={match:[/new\s+/,ld],className:{1:"keyword",2:"class.title"}},pd={relevance:0,match:[/\./,ld],className:{2:"property"}},fd={variants:[{match:[/class/,/\s+/,ld,/\s+/,/extends/,/\s+/,ld]},{match:[/class/,/\s+/,ld]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},md=["boolean","byte","char","color","double","float","int","long","short"],vd=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...od,...vd],type:md},contains:[fd,dd,ud,pd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE]}}return processing_1=Ra,processing_1}var profile_1,hasRequiredProfile;function requireProfile(){if(hasRequiredProfile)return profile_1;hasRequiredProfile=1;function Ra(qa){return{name:"Python profiler",contains:[qa.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[qa.C_NUMBER_MODE],relevance:10},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return profile_1=Ra,profile_1}var prolog_1,hasRequiredProlog;function requireProlog(){if(hasRequiredProlog)return prolog_1;hasRequiredProlog=1;function Ra(qa){const nd={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},od={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},ld={begin:/\(/,end:/\)/,relevance:0},ud={begin:/\[/,end:/\]/},dd={className:"comment",begin:/%/,end:/$/,contains:[qa.PHRASAL_WORDS_MODE]},pd={className:"string",begin:/`/,end:/`/,contains:[qa.BACKSLASH_ESCAPE]},fd={className:"string",begin:/0'(\\'|.)/},md={className:"string",begin:/0'\\s/},Ad=[nd,od,ld,{begin:/:-/},ud,dd,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,pd,fd,md,qa.C_NUMBER_MODE];return ld.contains=Ad,ud.contains=Ad,{name:"Prolog",contains:Ad.concat([{begin:/\.$/}])}}return prolog_1=Ra,prolog_1}var properties_1,hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties_1;hasRequiredProperties=1;function Ra(qa){const nd="[ \\t\\f]*",od="[ \\t\\f]+",ld=nd+"[:=]"+nd,ud=od,dd="("+ld+"|"+ud+")",pd="([^\\\\:= \\t\\f\\n]|\\\\.)+",fd={end:dd,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[qa.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:pd+ld},{begin:pd+ud}],contains:[{className:"attr",begin:pd,endsParent:!0}],starts:fd},{className:"attr",begin:pd+nd+"$"}]}}return properties_1=Ra,properties_1}var protobuf_1,hasRequiredProtobuf;function requireProtobuf(){if(hasRequiredProtobuf)return protobuf_1;hasRequiredProtobuf=1;function Ra(qa){const nd=["package","import","option","optional","required","repeated","group","oneof"],od=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],ld={match:[/(message|enum|service)\s+/,qa.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:nd,type:od,literal:["true","false"]},contains:[qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,ld,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return protobuf_1=Ra,protobuf_1}var puppet_1,hasRequiredPuppet;function requirePuppet(){if(hasRequiredPuppet)return puppet_1;hasRequiredPuppet=1;function Ra(qa){const nd={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},od=qa.COMMENT("#","$"),ld="([A-Za-z_]|::)(\\w|::)*",ud=qa.inherit(qa.TITLE_MODE,{begin:ld}),dd={className:"variable",begin:"\\$"+ld},pd={className:"string",contains:[qa.BACKSLASH_ESCAPE,dd],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[od,dd,pd,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[ud,od]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:qa.IDENT_RE,endsParent:!0}]},{begin:qa.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:qa.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:nd,relevance:0,contains:[pd,od,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:qa.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},dd]}],relevance:0}]}}return puppet_1=Ra,puppet_1}var purebasic_1,hasRequiredPurebasic;function requirePurebasic(){if(hasRequiredPurebasic)return purebasic_1;hasRequiredPurebasic=1;function Ra(qa){const nd={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},od={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[qa.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},qa.UNDERSCORE_TITLE_MODE]},nd,od]}}return purebasic_1=Ra,purebasic_1}var python_1,hasRequiredPython;function requirePython(){if(hasRequiredPython)return python_1;hasRequiredPython=1;function Ra(qa){const nd=qa.regex,od=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),ld=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],fd={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:ld,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},md={className:"meta",begin:/^(>>>|\.\.\.) /},vd={className:"subst",begin:/\{/,end:/\}/,keywords:fd,illegal:/#/},Ad={begin:/\{\{/,relevance:0},Nd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[qa.BACKSLASH_ESCAPE,md],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[qa.BACKSLASH_ESCAPE,md],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[qa.BACKSLASH_ESCAPE,md,Ad,vd]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[qa.BACKSLASH_ESCAPE,md,Ad,vd]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[qa.BACKSLASH_ESCAPE,Ad,vd]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,Ad,vd]},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},Id="[0-9](_?[0-9])*",Od=`(\\b(${Id}))?\\.(${Id})|\\b(${Id})\\.`,Md=`\\b|${ld.join("|")}`,Ud={className:"number",relevance:0,variants:[{begin:`(\\b(${Id})|(${Od}))[eE][+-]?(${Id})[jJ]?(?=${Md})`},{begin:`(${Od})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${Md})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${Md})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${Md})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${Md})`},{begin:`\\b(${Id})[jJ](?=${Md})`}]},jd={className:"comment",begin:nd.lookahead(/# type:/),end:/$/,keywords:fd,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},Ld={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:fd,contains:["self",md,Ud,Nd,qa.HASH_COMMENT_MODE]}]};return vd.contains=[Nd,Ud,md],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:fd,illegal:/(<\/|\?)|=>/,contains:[md,Ud,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},Nd,jd,qa.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,od],scope:{1:"keyword",3:"title.function"},contains:[Ld]},{variants:[{match:[/\bclass/,/\s+/,od,/\s*/,/\(\s*/,od,/\s*\)/]},{match:[/\bclass/,/\s+/,od]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[Ud,Ld,Nd]}]}}return python_1=Ra,python_1}var pythonRepl_1,hasRequiredPythonRepl;function requirePythonRepl(){if(hasRequiredPythonRepl)return pythonRepl_1;hasRequiredPythonRepl=1;function Ra(qa){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return pythonRepl_1=Ra,pythonRepl_1}var q_1,hasRequiredQ;function requireQ(){if(hasRequiredQ)return q_1;hasRequiredQ=1;function Ra(qa){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[qa.C_LINE_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE]}}return q_1=Ra,q_1}var qml_1,hasRequiredQml;function requireQml(){if(hasRequiredQml)return qml_1;hasRequiredQml=1;function Ra(qa){const nd=qa.regex,od={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},ld="[a-zA-Z_][a-zA-Z0-9\\._]*",ud={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},dd={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},pd={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:ld,returnEnd:!1}},fd={begin:ld+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:ld,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},md={begin:nd.concat(ld,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[qa.inherit(qa.TITLE_MODE,{begin:ld})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:od,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[qa.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:qa.C_NUMBER_RE}],relevance:0},{begin:"("+qa.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},dd,ud,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[qa.inherit(qa.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+qa.IDENT_RE,relevance:0},pd,fd,md],illegal:/#/}}return qml_1=Ra,qml_1}var r_1,hasRequiredR;function requireR(){if(hasRequiredR)return r_1;hasRequiredR=1;function Ra(qa){const nd=qa.regex,od=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,ld=nd.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),ud=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,dd=nd.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:od,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[qa.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:nd.lookahead(nd.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:od},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),qa.HASH_COMMENT_MODE,{scope:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[qa.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),qa.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),qa.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),qa.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),qa.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),qa.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[ud,ld]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,ld]},{scope:{1:"punctuation",2:"number"},match:[dd,ld]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,ld]}]},{scope:{3:"operator"},match:[od,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:ud},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:dd},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return r_1=Ra,r_1}var reasonml_1,hasRequiredReasonml;function requireReasonml(){if(hasRequiredReasonml)return reasonml_1;hasRequiredReasonml=1;function Ra(qa){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},qa.inherit(qa.APOS_STRING_MODE,{scope:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return reasonml_1=Ra,reasonml_1}var rib_1,hasRequiredRib;function requireRib(){if(hasRequiredRib)return rib_1;hasRequiredRib=1;function Ra(qa){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[qa.HASH_COMMENT_MODE,qa.C_NUMBER_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]}}return rib_1=Ra,rib_1}var roboconf_1,hasRequiredRoboconf;function requireRoboconf(){if(hasRequiredRoboconf)return roboconf_1;hasRequiredRoboconf=1;function Ra(qa){const nd="[a-zA-Z-_][^\\n{]+\\{",od={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet "+nd,end:/\}/,keywords:"facet",contains:[od,qa.HASH_COMMENT_MODE]},{begin:"^\\s*instance of "+nd,end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",od,qa.HASH_COMMENT_MODE]},{begin:"^"+nd,end:/\}/,contains:[od,qa.HASH_COMMENT_MODE]},qa.HASH_COMMENT_MODE]}}return roboconf_1=Ra,roboconf_1}var routeros_1,hasRequiredRouteros;function requireRouteros(){if(hasRequiredRouteros)return routeros_1;hasRequiredRouteros=1;function Ra(qa){const nd="foreach do while for if from to step else on-error and or not in",od="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime",ld="add remove enable disable set get print export edit find run debug error info warning",ud="true false yes no nothing nil null",dd="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw",pd={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},fd={className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE,pd,{className:"variable",begin:/\$\(/,end:/\)/,contains:[qa.BACKSLASH_ESCAPE]}]},md={className:"string",begin:/'/,end:/'/};return{name:"MikroTik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:ud,keyword:nd+" :"+nd.split(" ").join(" :")+" :"+od.split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},qa.COMMENT("^#","$"),fd,md,pd,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[fd,md,pd,{className:"literal",begin:"\\b("+ud.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+ld.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+dd.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return routeros_1=Ra,routeros_1}var rsl_1,hasRequiredRsl;function requireRsl(){if(hasRequiredRsl)return rsl_1;hasRequiredRsl=1;function Ra(qa){const nd=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],od=["matrix","float","color","point","normal","vector"],ld=["while","for","if","do","return","else","break","extern","continue"],ud={match:[/(surface|displacement|light|volume|imager)/,/\s+/,qa.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:ld,built_in:nd,type:od},illegal:"</",contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.QUOTE_STRING_MODE,qa.APOS_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},ud,{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}return rsl_1=Ra,rsl_1}var ruleslanguage_1,hasRequiredRuleslanguage;function requireRuleslanguage(){if(hasRequiredRuleslanguage)return ruleslanguage_1;hasRequiredRuleslanguage=1;function Ra(qa){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}return ruleslanguage_1=Ra,ruleslanguage_1}var rust_1,hasRequiredRust;function requireRust(){if(hasRequiredRust)return rust_1;hasRequiredRust=1;function Ra(qa){const nd=qa.regex,od=/(r#)?/,ld=nd.concat(od,qa.UNDERSCORE_IDENT_RE),ud=nd.concat(od,qa.IDENT_RE),dd={className:"title.function.invoke",relevance:0,begin:nd.concat(/\b/,/(?!let|for|while|if|else|match\b)/,ud,nd.lookahead(/\s*\(/))},pd="([ui](8|16|32|64|128|size)|f(32|64))?",fd=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],md=["true","false","Some","None","Ok","Err"],vd=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],Ad=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:qa.IDENT_RE+"!?",type:Ad,keyword:fd,literal:md,built_in:vd},illegal:"</",contains:[qa.C_LINE_COMMENT_MODE,qa.COMMENT("/\\*","\\*/",{contains:["self"]}),qa.inherit(qa.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+pd},{begin:"\\b0o([0-7_]+)"+pd},{begin:"\\b0x([A-Fa-f0-9_]+)"+pd},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+pd}],relevance:0},{begin:[/fn/,/\s+/,ld],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[qa.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,ld],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,ld,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,ld],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,ld],className:{1:"keyword",3:"title.class"}},{begin:qa.IDENT_RE+"::",keywords:{keyword:"Self",built_in:vd,type:Ad}},{className:"punctuation",begin:"->"},dd]}}return rust_1=Ra,rust_1}var sas_1,hasRequiredSas;function requireSas(){if(hasRequiredSas)return sas_1;hasRequiredSas=1;function Ra(qa){const nd=qa.regex,od=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],ld=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],ud=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:od},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+nd.either(...ud)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:nd.either(...ld)+"(?=\\()"},{className:"string",variants:[qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE]},qa.COMMENT("\\*",";"),qa.C_BLOCK_COMMENT_MODE]}}return sas_1=Ra,sas_1}var scala_1,hasRequiredScala;function requireScala(){if(hasRequiredScala)return scala_1;hasRequiredScala=1;function Ra(qa){const nd=qa.regex,od={className:"meta",begin:"@[A-Za-z]+"},ld={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},ud={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[qa.BACKSLASH_ESCAPE,ld]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[ld],relevance:10}]},dd={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},pd={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},fd={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[dd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[dd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]},pd]},md={className:"function",beginKeywords:"def",end:nd.lookahead(/[:={\[(\n;]/),contains:[pd]},vd={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},Ad={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},Nd=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],Id={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,ud,dd,md,fd,qa.C_NUMBER_MODE,vd,Ad,...Nd,Id,od]}}return scala_1=Ra,scala_1}var scheme_1,hasRequiredScheme;function requireScheme(){if(hasRequiredScheme)return scheme_1;hasRequiredScheme=1;function Ra(qa){const nd="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",od="(-|\\+)?\\d+([./]\\d+)?",ld=od+"[+\\-]"+od+"i",ud={$pattern:nd,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},dd={className:"literal",begin:"(#t|#f|#\\\\"+nd+"|#\\\\.)"},pd={className:"number",variants:[{begin:od,relevance:0},{begin:ld,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},fd=qa.QUOTE_STRING_MODE,md=[qa.COMMENT(";","$",{relevance:0}),qa.COMMENT("#\\|","\\|#")],vd={begin:nd,relevance:0},Ad={className:"symbol",begin:"'"+nd},Nd={endsWithParent:!0,relevance:0},Id={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",dd,fd,pd,vd,Ad]}]},Od={className:"name",relevance:0,begin:nd,keywords:ud},Ud={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[Od,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[vd]}]},Od,Nd]};return Nd.contains=[dd,pd,fd,vd,Ad,Id,Ud].concat(md),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[qa.SHEBANG(),pd,fd,Ad,Id,Ud].concat(md)}}return scheme_1=Ra,scheme_1}var scilab_1,hasRequiredScilab;function requireScilab(){if(hasRequiredScilab)return scilab_1;hasRequiredScilab=1;function Ra(qa){const nd=[qa.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[qa.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[qa.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:nd},qa.COMMENT("//","$")].concat(nd)}}return scilab_1=Ra,scilab_1}var scss_1,hasRequiredScss;function requireScss(){if(hasRequiredScss)return scss_1;hasRequiredScss=1;const Ra=md=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:md.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:md.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","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-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-end-end-radius","border-end-start-radius","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","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","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","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","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","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","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","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","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","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function fd(md){const vd=Ra(md),Ad=dd,Nd=ud,Id="@[a-z-]+",Od="and or not only",Ud={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[md.C_LINE_COMMENT_MODE,md.C_BLOCK_COMMENT_MODE,vd.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},vd.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+od.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+Nd.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+Ad.join("|")+")"},Ud,{begin:/\(/,end:/\)/,contains:[vd.CSS_NUMBER_MODE]},vd.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[vd.BLOCK_COMMENT,Ud,vd.HEXCOLOR,vd.CSS_NUMBER_MODE,md.QUOTE_STRING_MODE,md.APOS_STRING_MODE,vd.IMPORTANT,vd.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:Id,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:Od,attribute:ld.join(" ")},contains:[{begin:Id,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},Ud,md.QUOTE_STRING_MODE,md.APOS_STRING_MODE,vd.HEXCOLOR,vd.CSS_NUMBER_MODE]},vd.FUNCTION_DISPATCH]}}return scss_1=fd,scss_1}var shell_1,hasRequiredShell;function requireShell(){if(hasRequiredShell)return shell_1;hasRequiredShell=1;function Ra(qa){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return shell_1=Ra,shell_1}var smali_1,hasRequiredSmali;function requireSmali(){if(hasRequiredSmali)return smali_1;hasRequiredSmali=1;function Ra(qa){const nd=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],od=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],ld=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},qa.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+ld.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+nd.join("|")+")\\s"},{begin:"\\s("+nd.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+od.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;:
|
||
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=Ra,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function Ra(qa){const nd="[a-z][a-zA-Z0-9_]*",od={className:"string",begin:"\\$.{1}"},ld={className:"symbol",begin:"#"+qa.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[qa.COMMENT('"','"'),qa.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:nd+":",relevance:0},qa.C_NUMBER_MODE,ld,od,{begin:"\\|[ ]*"+nd+"([ ]+"+nd+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+nd}]},{begin:"#\\(",end:"\\)",contains:[qa.APOS_STRING_MODE,od,qa.C_NUMBER_MODE,ld]}]}}return smalltalk_1=Ra,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function Ra(qa){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},qa.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},qa.inherit(qa.APOS_STRING_MODE,{className:"string",relevance:0}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return sml_1=Ra,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function Ra(qa){const nd={className:"variable",begin:/\b_+[a-zA-Z]\w*/},od={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},ld={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},ud=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],dd=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],pd=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],fd={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},qa.inherit(ld,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:ud,built_in:pd,literal:dd},contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.NUMBER_MODE,nd,od,ld,fd],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return sqf_1=Ra,sqf_1}var sql_1,hasRequiredSql;function requireSql(){if(hasRequiredSql)return sql_1;hasRequiredSql=1;function Ra(qa){const nd=qa.regex,od=qa.COMMENT("--","$"),ld={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},ud={begin:/"/,end:/"/,contains:[{begin:/""/}]},dd=["true","false","unknown"],pd=["double precision","large object","with timezone","without timezone"],fd=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],md=["add","asc","collation","desc","final","first","last","view"],vd=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],Ad=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],Nd=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],Id=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],Od=Ad,Md=[...vd,...md].filter(Gd=>!Ad.includes(Gd)),Ud={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},jd={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},Ld={begin:nd.concat(/\b/,nd.either(...Od),/\s*\(/),relevance:0,keywords:{built_in:Od}};function Bd(Gd,{exceptions:qd,when:zd}={}){const Xd=zd;return qd=qd||[],Gd.map(gf=>gf.match(/\|\d+$/)||qd.includes(gf)?gf:Xd(gf)?`${gf}|0`:gf)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:Bd(Md,{when:Gd=>Gd.length<3}),literal:dd,type:fd,built_in:Nd},contains:[{begin:nd.either(...Id),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:Md.concat(Id),literal:dd,type:fd}},{className:"type",begin:nd.either(...pd)},Ld,Ud,ld,ud,qa.C_NUMBER_MODE,qa.C_BLOCK_COMMENT_MODE,od,jd]}}return sql_1=Ra,sql_1}var stan_1,hasRequiredStan;function requireStan(){if(hasRequiredStan)return stan_1;hasRequiredStan=1;function Ra(qa){const nd=qa.regex,od=["functions","model","data","parameters","quantities","transformed","generated"],ld=["for","in","if","else","while","break","continue","return"],ud=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],dd=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],pd=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],fd=qa.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),md={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},qa.C_LINE_COMMENT_MODE]},vd=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:qa.IDENT_RE,title:od,type:ud,keyword:ld,built_in:dd},contains:[qa.C_LINE_COMMENT_MODE,md,qa.HASH_COMMENT_MODE,fd,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:nd.concat(/[<,]\s*/,nd.either(...vd),/\s*=/),keywords:vd},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,nd.either(...pd),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:pd,begin:nd.concat(/\w*/,nd.either(...pd),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,nd.concat(nd.either(...pd),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+nd.either(...pd)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:nd.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return stan_1=Ra,stan_1}var stata_1,hasRequiredStata;function requireStata(){if(hasRequiredStata)return stata_1;hasRequiredStata=1;function Ra(qa){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r
|
||
]*?"'`},{begin:`"[^\r
|
||
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},qa.COMMENT("^[ ]*\\*.*$",!1),qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE]}}return stata_1=Ra,stata_1}var step21_1,hasRequiredStep21;function requireStep21(){if(hasRequiredStep21)return step21_1;hasRequiredStep21=1;function Ra(qa){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,qa.COMMENT("/\\*\\*!","\\*/"),qa.C_NUMBER_MODE,qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return step21_1=Ra,step21_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1;const Ra=md=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:md.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[md.APOS_STRING_MODE,md.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:md.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qa=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],nd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],od=[...qa,...nd],ld=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),dd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","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-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-end-end-radius","border-end-start-radius","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","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","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","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","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","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","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","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","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","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function fd(md){const vd=Ra(md),Ad="and or not only",Nd={className:"variable",begin:"\\$"+md.IDENT_RE},Id=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],Od="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[md.QUOTE_STRING_MODE,md.APOS_STRING_MODE,md.C_LINE_COMMENT_MODE,md.C_BLOCK_COMMENT_MODE,vd.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+Od,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+Od,className:"selector-id"},{begin:"\\b("+od.join("|")+")"+Od,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+ud.join("|")+")"+Od},{className:"selector-pseudo",begin:"&?:(:)?("+dd.join("|")+")"+Od},vd.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:Ad,attribute:ld.join(" ")},contains:[vd.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+Id.join("|")+"))\\b"},Nd,vd.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[vd.HEXCOLOR,Nd,md.APOS_STRING_MODE,vd.CSS_NUMBER_MODE,md.QUOTE_STRING_MODE]}]},vd.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pd.join("|")+")\\b",starts:{end:/;|$/,contains:[vd.HEXCOLOR,Nd,md.APOS_STRING_MODE,md.QUOTE_STRING_MODE,vd.CSS_NUMBER_MODE,md.C_BLOCK_COMMENT_MODE,vd.IMPORTANT,vd.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},vd.FUNCTION_DISPATCH]}}return stylus_1=fd,stylus_1}var subunit_1,hasRequiredSubunit;function requireSubunit(){if(hasRequiredSubunit)return subunit_1;hasRequiredSubunit=1;function Ra(qa){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
|
||
(multipart)?`,end:`\\]
|
||
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return subunit_1=Ra,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function Ra(gf){return gf?typeof gf=="string"?gf:gf.source:null}function qa(gf){return nd("(?=",gf,")")}function nd(...gf){return gf.map(Zd=>Ra(Zd)).join("")}function od(gf){const Yd=gf[gf.length-1];return typeof Yd=="object"&&Yd.constructor===Object?(gf.splice(gf.length-1,1),Yd):{}}function ld(...gf){return"("+(od(gf).capture?"":"?:")+gf.map(df=>Ra(df)).join("|")+")"}const ud=gf=>nd(/\b/,gf,/\w$/.test(gf)?/\b/:/\B/),dd=["Protocol","Type"].map(ud),pd=["init","self"].map(ud),fd=["Any","Self"],md=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],vd=["false","nil","true"],Ad=["assignment","associativity","higherThan","left","lowerThan","none","right"],Nd=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Id=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Od=ld(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Md=ld(Od,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Ud=nd(Od,Md,"*"),jd=ld(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Ld=ld(jd,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Bd=nd(jd,Ld,"*"),Gd=nd(/[A-Z]/,Ld,"*"),qd=["attached","autoclosure",nd(/convention\(/,ld("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",nd(/objc\(/,Bd,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],zd=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Xd(gf){const Yd={match:/\s+/,relevance:0},Zd=gf.COMMENT("/\\*","\\*/",{contains:["self"]}),df=[gf.C_LINE_COMMENT_MODE,Zd],Ef={match:[/\./,ld(...dd,...pd)],className:{2:"keyword"}},_f={match:nd(/\./,ld(...md)),relevance:0},xf=md.filter(Ym=>typeof Ym=="string").concat(["_|0"]),vf=md.filter(Ym=>typeof Ym!="string").concat(fd).map(ud),Af={variants:[{className:"keyword",match:ld(...vf,...pd)}]},Df={$pattern:ld(/\b\w+/,/#\w+/),keyword:xf.concat(Nd),literal:vd},jf=[Ef,_f,Af],Jf={match:nd(/\./,ld(...Id)),relevance:0},eh={className:"built_in",match:nd(/\b/,ld(...Id),/(?=\()/)},th=[Jf,eh],Uf={match:/->/,relevance:0},Of={className:"operator",relevance:0,variants:[{match:Ud},{match:`\\.(\\.|${Md})+`}]},Wf=[Uf,Of],qf="([0-9]_*)+",zf="([0-9a-fA-F]_*)+",Tf={className:"number",relevance:0,variants:[{match:`\\b(${qf})(\\.(${qf}))?([eE][+-]?(${qf}))?\\b`},{match:`\\b0x(${zf})(\\.(${zf}))?([pP][+-]?(${qf}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Sf=(Ym="")=>({className:"subst",variants:[{match:nd(/\\/,Ym,/[0\\tnr"']/)},{match:nd(/\\/,Ym,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Yf=(Ym="")=>({className:"subst",match:nd(/\\/,Ym,/[\t ]*(?:[\r\n]|\r\n)/)}),ih=(Ym="")=>({className:"subst",label:"interpol",begin:nd(/\\/,Ym,/\(/),end:/\)/}),Th=(Ym="")=>({begin:nd(Ym,/"""/),end:nd(/"""/,Ym),contains:[Sf(Ym),Yf(Ym),ih(Ym)]}),sh=(Ym="")=>({begin:nd(Ym,/"/),end:nd(/"/,Ym),contains:[Sf(Ym),ih(Ym)]}),Nf={className:"string",variants:[Th(),Th("#"),Th("##"),Th("###"),sh(),sh("#"),sh("##"),sh("###")]},ph=[gf.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[gf.BACKSLASH_ESCAPE]}],Oh={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:ph},Zf=Ym=>{const Fm=nd(Ym,/\//),ug=nd(/\//,Ym);return{begin:Fm,end:ug,contains:[...ph,{scope:"comment",begin:`#(?!.*${ug})`,end:/$/}]}},Rf={scope:"regexp",variants:[Zf("###"),Zf("##"),Zf("#"),Oh]},Bf={match:nd(/`/,Bd,/`/)},Kf={className:"variable",match:/\$\d+/},wh={className:"variable",match:`\\$${Ld}+`},Ah=[Bf,Kf,wh],mh={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:zd,contains:[...Wf,Tf,Nf]}]}},im={scope:"keyword",match:nd(/@/,ld(...qd),qa(ld(/\(/,/\s+/)))},Bh={scope:"meta",match:nd(/@/,Bd)},Tm=[mh,im,Bh],Pm={match:qa(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:nd(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Ld,"+")},{className:"type",match:Gd,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:nd(/\s+&\s+/,qa(Gd)),relevance:0}]},gm={begin:/</,end:/>/,keywords:Df,contains:[...df,...jf,...Tm,Uf,Pm]};Pm.contains.push(gm);const Mm={match:nd(Bd,/\s*:/),keywords:"_|0",relevance:0},Hm={begin:/\(/,end:/\)/,relevance:0,keywords:Df,contains:["self",Mm,...df,Rf,...jf,...th,...Wf,Tf,Nf,...Ah,...Tm,Pm]},gh={begin:/</,end:/>/,keywords:"repeat each",contains:[...df,Pm]},Lf={begin:ld(qa(nd(Bd,/\s*:/)),qa(nd(Bd,/\s+/,Bd,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Bd}]},$f={begin:/\(/,end:/\)/,keywords:Df,contains:[Lf,...df,...jf,...Wf,Tf,Nf,...Tm,Pm,Hm],endsParent:!0,illegal:/["']/},fh={match:[/(func|macro)/,/\s+/,ld(Bf.match,Bd,Ud)],className:{1:"keyword",3:"title.function"},contains:[gh,$f,Yd],illegal:[/\[/,/%/]},Ch={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[gh,$f,Yd],illegal:/\[|%/},Zh={match:[/operator/,/\s+/,Ud],className:{1:"keyword",3:"title"}},dm={begin:[/precedencegroup/,/\s+/,Gd],className:{1:"keyword",3:"title"},contains:[Pm],keywords:[...Ad,...vd],end:/}/},Im={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Bd,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:Df,contains:[gh,...jf,{begin:/:/,end:/\{/,keywords:Df,contains:[{scope:"title.class.inherited",match:Gd},...jf],relevance:0}]};for(const Ym of Nf.variants){const Fm=Ym.contains.find(rg=>rg.label==="interpol");Fm.keywords=Df;const ug=[...jf,...th,...Wf,Tf,Nf,...Ah];Fm.contains=[...ug,{begin:/\(/,end:/\)/,contains:["self",...ug]}]}return{name:"Swift",keywords:Df,contains:[...df,fh,Ch,Im,Zh,dm,{beginKeywords:"import",end:/$/,contains:[...df],relevance:0},Rf,...jf,...th,...Wf,Tf,Nf,...Ah,...Tm,Pm,Hm]}}return swift_1=Xd,swift_1}var taggerscript_1,hasRequiredTaggerscript;function requireTaggerscript(){if(hasRequiredTaggerscript)return taggerscript_1;hasRequiredTaggerscript=1;function Ra(qa){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return taggerscript_1=Ra,taggerscript_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1;function Ra(qa){const nd="true false yes no null",od="[\\w#;/?:@&=+$,.~*'()[\\]]+",ld={className:"attr",variants:[{begin:/\w[\w :()\./-]*:(?=[ \t]|$)/},{begin:/"\w[\w :()\./-]*":(?=[ \t]|$)/},{begin:/'\w[\w :()\./-]*':(?=[ \t]|$)/}]},ud={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},dd={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[qa.BACKSLASH_ESCAPE,ud]},pd=qa.inherit(dd,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),Nd={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},Id={end:",",endsWithParent:!0,excludeEnd:!0,keywords:nd,relevance:0},Od={begin:/\{/,end:/\}/,contains:[Id],illegal:"\\n",relevance:0},Md={begin:"\\[",end:"\\]",contains:[Id],illegal:"\\n",relevance:0},Ud=[ld,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+od},{className:"type",begin:"!<"+od+">"},{className:"type",begin:"!"+od},{className:"type",begin:"!!"+od},{className:"meta",begin:"&"+qa.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+qa.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},qa.HASH_COMMENT_MODE,{beginKeywords:nd,keywords:{literal:nd}},Nd,{className:"number",begin:qa.C_NUMBER_RE+"\\b",relevance:0},Od,Md,dd],jd=[...Ud];return jd.pop(),jd.push(pd),Id.contains=jd,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:Ud}}return yaml_1=Ra,yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;function Ra(qa){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[qa.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return tap_1=Ra,tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1;function Ra(qa){const nd=qa.regex,od=/[a-zA-Z_][a-zA-Z0-9_]*/,ld={className:"number",variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[qa.COMMENT(";[ \\t]*#","$"),qa.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:nd.concat(/\$/,nd.optional(/::/),od,"(::",od,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[ld]}]},{className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null})]},ld]}}return tcl_1=Ra,tcl_1}var thrift_1,hasRequiredThrift;function requireThrift(){if(hasRequiredThrift)return thrift_1;hasRequiredThrift=1;function Ra(qa){const nd=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:nd,literal:"true false"},contains:[qa.QUOTE_STRING_MODE,qa.NUMBER_MODE,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[qa.inherit(qa.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...nd,"set","list","map"]},end:">",contains:["self"]}]}}return thrift_1=Ra,thrift_1}var tp_1,hasRequiredTp;function requireTp(){if(hasRequiredTp)return tp_1;hasRequiredTp=1;function Ra(qa){const nd={className:"number",begin:"[1-9][0-9]*",relevance:0},od={className:"symbol",begin:":[^\\]]+"},ld={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",nd,od]},ud={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",nd,qa.QUOTE_STRING_MODE,od]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[ld,ud,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},qa.COMMENT("//","[;$]"),qa.COMMENT("!","[;$]"),qa.COMMENT("--eg:","$"),qa.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},qa.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return tp_1=Ra,tp_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;function Ra(qa){const nd=qa.regex,od=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],ld=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let ud=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];ud=ud.concat(ud.map(Md=>`end${Md}`));const dd={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},pd={scope:"number",match:/\d+/},fd={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[dd,pd]},md={beginKeywords:od.join(" "),keywords:{name:od},relevance:0,contains:[fd]},vd={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:ld}]},Ad=(Md,{relevance:Ud})=>({beginScope:{1:"template-tag",3:"name"},relevance:Ud||2,endScope:"template-tag",begin:[/\{%/,/\s*/,nd.either(...Md)],end:/%\}/,keywords:"in",contains:[vd,md,dd,pd]}),Nd=/[a-z_]+/,Id=Ad(ud,{relevance:2}),Od=Ad([Nd],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[qa.COMMENT(/\{#/,/#\}/),Id,Od,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",vd,md,dd,pd]}]}}return twig_1=Ra,twig_1}var typescript_1,hasRequiredTypescript;function requireTypescript(){if(hasRequiredTypescript)return typescript_1;hasRequiredTypescript=1;const Ra="[A-Za-z$_][0-9A-Za-z$_]*",qa=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],nd=["true","false","null","undefined","NaN","Infinity"],od=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ld=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ud=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],pd=[].concat(ud,od,ld);function fd(vd){const Ad=vd.regex,Nd=(Sf,{after:Yf})=>{const ih="</"+Sf[0].slice(1);return Sf.input.indexOf(ih,Yf)!==-1},Id=Ra,Od={begin:"<>",end:"</>"},Md=/<[A-Za-z0-9\\._:-]+\s*\/>/,Ud={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Sf,Yf)=>{const ih=Sf[0].length+Sf.index,Th=Sf.input[ih];if(Th==="<"||Th===","){Yf.ignoreMatch();return}Th===">"&&(Nd(Sf,{after:ih})||Yf.ignoreMatch());let sh;const Nf=Sf.input.substring(ih);if(sh=Nf.match(/^\s*=/)){Yf.ignoreMatch();return}if((sh=Nf.match(/^\s+extends\s+/))&&sh.index===0){Yf.ignoreMatch();return}}},jd={$pattern:Ra,keyword:qa,literal:nd,built_in:pd,"variable.language":dd},Ld="[0-9](_?[0-9])*",Bd=`\\.(${Ld})`,Gd="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",qd={className:"number",variants:[{begin:`(\\b(${Gd})((${Bd})|\\.)?|(${Bd}))[eE][+-]?(${Ld})\\b`},{begin:`\\b(${Gd})\\b((${Bd})\\b|\\.)?|(${Bd})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},zd={className:"subst",begin:"\\$\\{",end:"\\}",keywords:jd,contains:[]},Xd={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[vd.BACKSLASH_ESCAPE,zd],subLanguage:"xml"}},gf={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[vd.BACKSLASH_ESCAPE,zd],subLanguage:"css"}},Yd={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[vd.BACKSLASH_ESCAPE,zd],subLanguage:"graphql"}},Zd={className:"string",begin:"`",end:"`",contains:[vd.BACKSLASH_ESCAPE,zd]},Ef={className:"comment",variants:[vd.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:Id+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),vd.C_BLOCK_COMMENT_MODE,vd.C_LINE_COMMENT_MODE]},_f=[vd.APOS_STRING_MODE,vd.QUOTE_STRING_MODE,Xd,gf,Yd,Zd,{match:/\$\d+/},qd];zd.contains=_f.concat({begin:/\{/,end:/\}/,keywords:jd,contains:["self"].concat(_f)});const xf=[].concat(Ef,zd.contains),vf=xf.concat([{begin:/(\s*)\(/,end:/\)/,keywords:jd,contains:["self"].concat(xf)}]),Af={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:jd,contains:vf},Df={variants:[{match:[/class/,/\s+/,Id,/\s+/,/extends/,/\s+/,Ad.concat(Id,"(",Ad.concat(/\./,Id),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,Id],scope:{1:"keyword",3:"title.class"}}]},jf={relevance:0,match:Ad.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...od,...ld]}},Jf={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},eh={variants:[{match:[/function/,/\s+/,Id,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Af],illegal:/%/},th={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Uf(Sf){return Ad.concat("(?!",Sf.join("|"),")")}const Of={match:Ad.concat(/\b/,Uf([...ud,"super","import"].map(Sf=>`${Sf}\\s*\\(`)),Id,Ad.lookahead(/\s*\(/)),className:"title.function",relevance:0},Wf={begin:Ad.concat(/\./,Ad.lookahead(Ad.concat(Id,/(?![0-9A-Za-z$_(])/))),end:Id,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},qf={match:[/get|set/,/\s+/,Id,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Af]},zf="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+vd.UNDERSCORE_IDENT_RE+")\\s*=>",Tf={match:[/const|var|let/,/\s+/,Id,/\s*/,/=\s*/,/(async\s*)?/,Ad.lookahead(zf)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Af]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:jd,exports:{PARAMS_CONTAINS:vf,CLASS_REFERENCE:jf},illegal:/#(?![$_A-z])/,contains:[vd.SHEBANG({label:"shebang",binary:"node",relevance:5}),Jf,vd.APOS_STRING_MODE,vd.QUOTE_STRING_MODE,Xd,gf,Yd,Zd,Ef,{match:/\$\d+/},qd,jf,{className:"attr",begin:Id+Ad.lookahead(":"),relevance:0},Tf,{begin:"("+vd.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Ef,vd.REGEXP_MODE,{className:"function",begin:zf,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:vd.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:jd,contains:vf}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:Od.begin,end:Od.end},{match:Md},{begin:Ud.begin,"on:begin":Ud.isTrulyOpeningTag,end:Ud.end}],subLanguage:"xml",contains:[{begin:Ud.begin,end:Ud.end,skip:!0,contains:["self"]}]}]},eh,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+vd.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Af,vd.inherit(vd.TITLE_MODE,{begin:Id,className:"title.function"})]},{match:/\.\.\./,relevance:0},Wf,{match:"\\$"+Id,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Af]},Of,th,Df,qf,{match:/\$[(.]/}]}}function md(vd){const Ad=fd(vd),Nd=Ra,Id=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],Od={begin:[/namespace/,/\s+/,vd.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},Md={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:Id},contains:[Ad.exports.CLASS_REFERENCE]},Ud={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},jd=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],Ld={$pattern:Ra,keyword:qa.concat(jd),literal:nd,built_in:pd.concat(Id),"variable.language":dd},Bd={className:"meta",begin:"@"+Nd},Gd=(Xd,gf,Yd)=>{const Zd=Xd.contains.findIndex(df=>df.label===gf);if(Zd===-1)throw new Error("can not find mode to replace");Xd.contains.splice(Zd,1,Yd)};Object.assign(Ad.keywords,Ld),Ad.exports.PARAMS_CONTAINS.push(Bd);const qd=Ad.contains.find(Xd=>Xd.className==="attr");Ad.exports.PARAMS_CONTAINS.push([Ad.exports.CLASS_REFERENCE,qd]),Ad.contains=Ad.contains.concat([Bd,Od,Md]),Gd(Ad,"shebang",vd.SHEBANG()),Gd(Ad,"use_strict",Ud);const zd=Ad.contains.find(Xd=>Xd.label==="func.def");return zd.relevance=0,Object.assign(Ad,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),Ad}return typescript_1=md,typescript_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1;function Ra(qa){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[qa.UNDERSCORE_TITLE_MODE]},qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},qa.APOS_STRING_MODE,qa.QUOTE_STRING_MODE,qa.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return vala_1=Ra,vala_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;function Ra(qa){const nd=qa.regex,od={className:"string",begin:/"(""|[^/n])"C\b/},ld={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},ud=/\d{1,2}\/\d{1,2}\/\d{4}/,dd=/\d{4}-\d{1,2}-\d{1,2}/,pd=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,fd=/\d{1,2}(:\d{1,2}){1,2}/,md={className:"literal",variants:[{begin:nd.concat(/# */,nd.either(dd,ud),/ *#/)},{begin:nd.concat(/# */,fd,/ *#/)},{begin:nd.concat(/# */,pd,/ *#/)},{begin:nd.concat(/# */,nd.either(dd,ud),/ +/,nd.either(pd,fd),/ *#/)}]},vd={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},Ad={className:"label",begin:/^\w+:/},Nd=qa.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),Id=qa.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[od,ld,md,vd,Ad,Nd,Id,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[Id]}]}}return vbnet_1=Ra,vbnet_1}var vbscript_1,hasRequiredVbscript;function requireVbscript(){if(hasRequiredVbscript)return vbscript_1;hasRequiredVbscript=1;function Ra(qa){const nd=qa.regex,od=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],ld=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],ud={begin:nd.concat(nd.either(...od),"\\s*\\("),relevance:0,keywords:{built_in:od}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:ld,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[ud,qa.inherit(qa.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),qa.COMMENT(/'/,/$/,{relevance:0}),qa.C_NUMBER_MODE]}}return vbscript_1=Ra,vbscript_1}var vbscriptHtml_1,hasRequiredVbscriptHtml;function requireVbscriptHtml(){if(hasRequiredVbscriptHtml)return vbscriptHtml_1;hasRequiredVbscriptHtml=1;function Ra(qa){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return vbscriptHtml_1=Ra,vbscriptHtml_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1;function Ra(qa){const nd=qa.regex,od={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},ld=["__FILE__","__LINE__"],ud=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:od,contains:[qa.C_BLOCK_COMMENT_MODE,qa.C_LINE_COMMENT_MODE,qa.QUOTE_STRING_MODE,{scope:"number",contains:[qa.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:nd.concat(/`/,nd.either(...ld))},{scope:"meta",begin:nd.concat(/`/,nd.either(...ud)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:ud}]}}return verilog_1=Ra,verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1;function Ra(qa){const nd="\\d(_|\\d)*",od="[eE][-+]?"+nd,ld=nd+"(\\."+nd+")?("+od+")?",ud="\\w+",pd="\\b("+(nd+"#"+ud+"(\\."+ud+")?#("+od+")?")+"|"+ld+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[qa.C_BLOCK_COMMENT_MODE,qa.COMMENT("--","$"),qa.QUOTE_STRING_MODE,{className:"number",begin:pd,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[qa.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[qa.BACKSLASH_ESCAPE]}]}}return vhdl_1=Ra,vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1;function Ra(qa){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[qa.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},qa.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,qa.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return vim_1=Ra,vim_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1;function Ra(qa){qa.regex;const nd=qa.COMMENT(/\(;/,/;\)/);nd.contains.push("self");const od=qa.COMMENT(/;;/,/$/),ld=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],ud={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},dd={className:"variable",begin:/\$[\w_]+/},pd={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},fd={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},md={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},vd={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:ld},contains:[od,nd,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},dd,pd,ud,qa.QUOTE_STRING_MODE,md,vd,fd]}}return wasm_1=Ra,wasm_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1;function Ra(qa){const nd=qa.regex,od=/[a-zA-Z]\w*/,ld=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],ud=["true","false","null"],dd=["this","super"],pd=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],fd=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],md={relevance:0,match:nd.concat(/\b(?!(if|while|for|else|super)\b)/,od,/(?=\s*[({])/),className:"title.function"},vd={match:nd.concat(nd.either(nd.concat(/\b(?!(if|while|for|else|super)\b)/,od),nd.either(...fd)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:od}]}]}},Ad={variants:[{match:[/class\s+/,od,/\s+is\s+/,od]},{match:[/class\s+/,od]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:ld},Nd={relevance:0,match:nd.either(...fd),className:"operator"},Id={className:"string",begin:/"""/,end:/"""/},Od={className:"property",begin:nd.concat(/\./,nd.lookahead(od)),end:od,excludeBegin:!0,relevance:0},Md={relevance:0,match:nd.concat(/\b_/,od),scope:"variable"},Ud={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:pd}},jd=qa.C_NUMBER_MODE,Ld={match:[od,/\s*/,/=/,/\s*/,/\(/,od,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},Bd=qa.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),Gd={scope:"subst",begin:/%\(/,end:/\)/,contains:[jd,Ud,md,Md,Nd]},qd={scope:"string",begin:/"/,end:/"/,contains:[Gd,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};Gd.contains.push(qd);const zd=[...ld,...dd,...ud],Xd={relevance:0,match:nd.concat("\\b(?!",zd.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:ld,"variable.language":dd,literal:ud},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:ud},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},jd,qd,Id,Bd,qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,Ud,Ad,Ld,vd,md,Nd,Md,Od,Xd]}}return wren_1=Ra,wren_1}var x86asm_1,hasRequiredX86asm;function requireX86asm(){if(hasRequiredX86asm)return x86asm_1;hasRequiredX86asm=1;function Ra(qa){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+qa.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[qa.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},qa.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return x86asm_1=Ra,x86asm_1}var xl_1,hasRequiredXl;function requireXl(){if(hasRequiredXl)return xl_1;hasRequiredXl=1;function Ra(qa){const nd=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],od=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],ld=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],dd={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:nd,literal:["true","false","nil"],built_in:od.concat(ld)},pd={className:"string",begin:'"',end:'"',illegal:"\\n"},fd={className:"string",begin:"'",end:"'",illegal:"\\n"},md={className:"string",begin:"<<",end:">>"},vd={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},Ad={beginKeywords:"import",end:"$",keywords:dd,contains:[pd]},Nd={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[qa.inherit(qa.TITLE_MODE,{starts:{endsWithParent:!0,keywords:dd}})]};return{name:"XL",aliases:["tao"],keywords:dd,contains:[qa.C_LINE_COMMENT_MODE,qa.C_BLOCK_COMMENT_MODE,pd,fd,md,Nd,Ad,vd,qa.NUMBER_MODE]}}return xl_1=Ra,xl_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1;function Ra(qa){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return xquery_1=Ra,xquery_1}var zephir_1,hasRequiredZephir;function requireZephir(){if(hasRequiredZephir)return zephir_1;hasRequiredZephir=1;function Ra(qa){const nd={className:"string",contains:[qa.BACKSLASH_ESCAPE],variants:[qa.inherit(qa.APOS_STRING_MODE,{illegal:null}),qa.inherit(qa.QUOTE_STRING_MODE,{illegal:null})]},od=qa.UNDERSCORE_TITLE_MODE,ld={variants:[qa.BINARY_NUMBER_MODE,qa.C_NUMBER_MODE]},ud="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:ud,contains:[qa.C_LINE_COMMENT_MODE,qa.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[qa.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[od,{className:"params",begin:/\(/,end:/\)/,keywords:ud,contains:["self",qa.C_BLOCK_COMMENT_MODE,nd,ld]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},od]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[od]},{beginKeywords:"use",end:/;/,contains:[od]},{begin:/=>/},nd,ld]}}return zephir_1=Ra,zephir_1}var hljs=core$2;hljs.registerLanguage("1c",require_1c());hljs.registerLanguage("abnf",requireAbnf());hljs.registerLanguage("accesslog",requireAccesslog());hljs.registerLanguage("actionscript",requireActionscript());hljs.registerLanguage("ada",requireAda());hljs.registerLanguage("angelscript",requireAngelscript());hljs.registerLanguage("apache",requireApache());hljs.registerLanguage("applescript",requireApplescript());hljs.registerLanguage("arcade",requireArcade());hljs.registerLanguage("arduino",requireArduino());hljs.registerLanguage("armasm",requireArmasm());hljs.registerLanguage("xml",requireXml$1());hljs.registerLanguage("asciidoc",requireAsciidoc());hljs.registerLanguage("aspectj",requireAspectj());hljs.registerLanguage("autohotkey",requireAutohotkey());hljs.registerLanguage("autoit",requireAutoit());hljs.registerLanguage("avrasm",requireAvrasm());hljs.registerLanguage("awk",requireAwk());hljs.registerLanguage("axapta",requireAxapta());hljs.registerLanguage("bash",requireBash());hljs.registerLanguage("basic",requireBasic());hljs.registerLanguage("bnf",requireBnf());hljs.registerLanguage("brainfuck",requireBrainfuck());hljs.registerLanguage("c",requireC());hljs.registerLanguage("cal",requireCal());hljs.registerLanguage("capnproto",requireCapnproto());hljs.registerLanguage("ceylon",requireCeylon());hljs.registerLanguage("clean",requireClean());hljs.registerLanguage("clojure",requireClojure());hljs.registerLanguage("clojure-repl",requireClojureRepl());hljs.registerLanguage("cmake",requireCmake());hljs.registerLanguage("coffeescript",requireCoffeescript());hljs.registerLanguage("coq",requireCoq());hljs.registerLanguage("cos",requireCos());hljs.registerLanguage("cpp",requireCpp());hljs.registerLanguage("crmsh",requireCrmsh());hljs.registerLanguage("crystal",requireCrystal());hljs.registerLanguage("csharp",requireCsharp());hljs.registerLanguage("csp",requireCsp());hljs.registerLanguage("css",requireCss());hljs.registerLanguage("d",requireD());hljs.registerLanguage("markdown",requireMarkdown());hljs.registerLanguage("dart",requireDart());hljs.registerLanguage("delphi",requireDelphi());hljs.registerLanguage("diff",requireDiff());hljs.registerLanguage("django",requireDjango());hljs.registerLanguage("dns",requireDns());hljs.registerLanguage("dockerfile",requireDockerfile());hljs.registerLanguage("dos",requireDos());hljs.registerLanguage("dsconfig",requireDsconfig());hljs.registerLanguage("dts",requireDts());hljs.registerLanguage("dust",requireDust());hljs.registerLanguage("ebnf",requireEbnf());hljs.registerLanguage("elixir",requireElixir());hljs.registerLanguage("elm",requireElm());hljs.registerLanguage("ruby",requireRuby());hljs.registerLanguage("erb",requireErb());hljs.registerLanguage("erlang-repl",requireErlangRepl());hljs.registerLanguage("erlang",requireErlang());hljs.registerLanguage("excel",requireExcel());hljs.registerLanguage("fix",requireFix());hljs.registerLanguage("flix",requireFlix());hljs.registerLanguage("fortran",requireFortran());hljs.registerLanguage("fsharp",requireFsharp());hljs.registerLanguage("gams",requireGams());hljs.registerLanguage("gauss",requireGauss());hljs.registerLanguage("gcode",requireGcode());hljs.registerLanguage("gherkin",requireGherkin());hljs.registerLanguage("glsl",requireGlsl());hljs.registerLanguage("gml",requireGml());hljs.registerLanguage("go",requireGo());hljs.registerLanguage("golo",requireGolo());hljs.registerLanguage("gradle",requireGradle());hljs.registerLanguage("graphql",requireGraphql());hljs.registerLanguage("groovy",requireGroovy());hljs.registerLanguage("haml",requireHaml());hljs.registerLanguage("handlebars",requireHandlebars());hljs.registerLanguage("haskell",requireHaskell());hljs.registerLanguage("haxe",requireHaxe());hljs.registerLanguage("hsp",requireHsp());hljs.registerLanguage("http",requireHttp());hljs.registerLanguage("hy",requireHy());hljs.registerLanguage("inform7",requireInform7());hljs.registerLanguage("ini",requireIni());hljs.registerLanguage("irpf90",requireIrpf90());hljs.registerLanguage("isbl",requireIsbl());hljs.registerLanguage("java",requireJava());hljs.registerLanguage("javascript",requireJavascript());hljs.registerLanguage("jboss-cli",requireJbossCli());hljs.registerLanguage("json",requireJson());hljs.registerLanguage("julia",requireJulia());hljs.registerLanguage("julia-repl",requireJuliaRepl());hljs.registerLanguage("kotlin",requireKotlin());hljs.registerLanguage("lasso",requireLasso());hljs.registerLanguage("latex",requireLatex());hljs.registerLanguage("ldif",requireLdif());hljs.registerLanguage("leaf",requireLeaf());hljs.registerLanguage("less",requireLess());hljs.registerLanguage("lisp",requireLisp());hljs.registerLanguage("livecodeserver",requireLivecodeserver());hljs.registerLanguage("livescript",requireLivescript());hljs.registerLanguage("llvm",requireLlvm());hljs.registerLanguage("lsl",requireLsl());hljs.registerLanguage("lua",requireLua());hljs.registerLanguage("makefile",requireMakefile());hljs.registerLanguage("mathematica",requireMathematica());hljs.registerLanguage("matlab",requireMatlab());hljs.registerLanguage("maxima",requireMaxima());hljs.registerLanguage("mel",requireMel());hljs.registerLanguage("mercury",requireMercury());hljs.registerLanguage("mipsasm",requireMipsasm());hljs.registerLanguage("mizar",requireMizar());hljs.registerLanguage("perl",requirePerl());hljs.registerLanguage("mojolicious",requireMojolicious());hljs.registerLanguage("monkey",requireMonkey());hljs.registerLanguage("moonscript",requireMoonscript());hljs.registerLanguage("n1ql",requireN1ql());hljs.registerLanguage("nestedtext",requireNestedtext());hljs.registerLanguage("nginx",requireNginx());hljs.registerLanguage("nim",requireNim());hljs.registerLanguage("nix",requireNix());hljs.registerLanguage("node-repl",requireNodeRepl());hljs.registerLanguage("nsis",requireNsis());hljs.registerLanguage("objectivec",requireObjectivec());hljs.registerLanguage("ocaml",requireOcaml());hljs.registerLanguage("openscad",requireOpenscad());hljs.registerLanguage("oxygene",requireOxygene());hljs.registerLanguage("parser3",requireParser3());hljs.registerLanguage("pf",requirePf());hljs.registerLanguage("pgsql",requirePgsql());hljs.registerLanguage("php",requirePhp());hljs.registerLanguage("php-template",requirePhpTemplate());hljs.registerLanguage("plaintext",requirePlaintext());hljs.registerLanguage("pony",requirePony());hljs.registerLanguage("powershell",requirePowershell());hljs.registerLanguage("processing",requireProcessing());hljs.registerLanguage("profile",requireProfile());hljs.registerLanguage("prolog",requireProlog());hljs.registerLanguage("properties",requireProperties());hljs.registerLanguage("protobuf",requireProtobuf());hljs.registerLanguage("puppet",requirePuppet());hljs.registerLanguage("purebasic",requirePurebasic());hljs.registerLanguage("python",requirePython());hljs.registerLanguage("python-repl",requirePythonRepl());hljs.registerLanguage("q",requireQ());hljs.registerLanguage("qml",requireQml());hljs.registerLanguage("r",requireR());hljs.registerLanguage("reasonml",requireReasonml());hljs.registerLanguage("rib",requireRib());hljs.registerLanguage("roboconf",requireRoboconf());hljs.registerLanguage("routeros",requireRouteros());hljs.registerLanguage("rsl",requireRsl());hljs.registerLanguage("ruleslanguage",requireRuleslanguage());hljs.registerLanguage("rust",requireRust());hljs.registerLanguage("sas",requireSas());hljs.registerLanguage("scala",requireScala());hljs.registerLanguage("scheme",requireScheme());hljs.registerLanguage("scilab",requireScilab());hljs.registerLanguage("scss",requireScss());hljs.registerLanguage("shell",requireShell());hljs.registerLanguage("smali",requireSmali());hljs.registerLanguage("smalltalk",requireSmalltalk());hljs.registerLanguage("sml",requireSml());hljs.registerLanguage("sqf",requireSqf());hljs.registerLanguage("sql",requireSql());hljs.registerLanguage("stan",requireStan());hljs.registerLanguage("stata",requireStata());hljs.registerLanguage("step21",requireStep21());hljs.registerLanguage("stylus",requireStylus());hljs.registerLanguage("subunit",requireSubunit());hljs.registerLanguage("swift",requireSwift());hljs.registerLanguage("taggerscript",requireTaggerscript());hljs.registerLanguage("yaml",requireYaml());hljs.registerLanguage("tap",requireTap());hljs.registerLanguage("tcl",requireTcl());hljs.registerLanguage("thrift",requireThrift());hljs.registerLanguage("tp",requireTp());hljs.registerLanguage("twig",requireTwig());hljs.registerLanguage("typescript",requireTypescript());hljs.registerLanguage("vala",requireVala());hljs.registerLanguage("vbnet",requireVbnet());hljs.registerLanguage("vbscript",requireVbscript());hljs.registerLanguage("vbscript-html",requireVbscriptHtml());hljs.registerLanguage("verilog",requireVerilog());hljs.registerLanguage("vhdl",requireVhdl());hljs.registerLanguage("vim",requireVim());hljs.registerLanguage("wasm",requireWasm());hljs.registerLanguage("wren",requireWren());hljs.registerLanguage("x86asm",requireX86asm());hljs.registerLanguage("xl",requireXl());hljs.registerLanguage("xquery",requireXquery());hljs.registerLanguage("zephir",requireZephir());hljs.HighlightJS=hljs;hljs.default=hljs;var lib$3=hljs;const HighlightJS=getDefaultExportFromCjs(lib$3);function _getDefaults$1(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let _defaults$1=_getDefaults$1();function changeDefaults$1(Ra){_defaults$1=Ra}const noopTest$1={exec:()=>null};function edit$1(Ra,qa=""){let nd=typeof Ra=="string"?Ra:Ra.source;const od={replace:(ld,ud)=>{let dd=typeof ud=="string"?ud:ud.source;return dd=dd.replace(other.caret,"$1"),nd=nd.replace(ld,dd),od},getRegex:()=>new RegExp(nd,qa)};return od}const other={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:Ra=>new RegExp(`^( {0,3}${Ra})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}#`),htmlBeginRegex:Ra=>new RegExp(`^ {0,${Math.min(3,Ra-1)}}<(?:[a-z].*>|!--)`,"i")},newline$1=/^(?:[ \t]*(?:\n|$))+/,blockCode$1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,fences$1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr$1=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading$1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bullet$1=/(?:[*+-]|\d{1,9}[.)])/,lheading$1=edit$1(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bullet$1).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),_paragraph$1=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,blockText$1=/^[^\n]+/,_blockLabel$1=/(?!\s*\])(?:\\.|[^\[\]\\])+/,def$1=edit$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",_blockLabel$1).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),list$1=edit$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bullet$1).getRegex(),_tag$1="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_comment$1=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,html$3=edit$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",_comment$1).replace("tag",_tag$1).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),paragraph$1=edit$1(_paragraph$1).replace("hr",hr$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag$1).getRegex(),blockquote$1=edit$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",paragraph$1).getRegex(),blockNormal$1={blockquote:blockquote$1,code:blockCode$1,def:def$1,fences:fences$1,heading:heading$1,hr:hr$1,html:html$3,lheading:lheading$1,list:list$1,newline:newline$1,paragraph:paragraph$1,table:noopTest$1,text:blockText$1},gfmTable$1=edit$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hr$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag$1).getRegex(),blockGfm$1={...blockNormal$1,table:gfmTable$1,paragraph:edit$1(_paragraph$1).replace("hr",hr$1).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",gfmTable$1).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag$1).getRegex()},blockPedantic$1={...blockNormal$1,html:edit$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_comment$1).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:noopTest$1,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:edit$1(_paragraph$1).replace("hr",hr$1).replace("heading",` *#{1,6} *[^
|
||
]`).replace("lheading",lheading$1).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape$1$1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,inlineCode$1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br$2=/^( {2,}|\\)\n(?!\s*$)/,inlineText$1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_punctuation$1=new RegExp("\\p{P}\\p{S}","u"),punctuation$1=edit$1(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,_punctuation$1).getRegex(),blockSkip$1=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,emStrongLDelim$1=edit$1(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,_punctuation$1).getRegex(),emStrongRDelimAst$1=edit$1("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,_punctuation$1).getRegex(),emStrongRDelimUnd$1=edit$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,_punctuation$1).getRegex(),anyPunctuation$1=edit$1(/\\([punct])/,"gu").replace(/punct/g,_punctuation$1).getRegex(),autolink$1=edit$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_inlineComment$1=edit$1(_comment$1).replace("(?:-->|$)","-->").getRegex(),tag$1=edit$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_inlineComment$1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_inlineLabel$1=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,link$1=edit$1(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",_inlineLabel$1).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),reflink$1=edit$1(/^!?\[(label)\]\[(ref)\]/).replace("label",_inlineLabel$1).replace("ref",_blockLabel$1).getRegex(),nolink$1=edit$1(/^!?\[(ref)\](?:\[\])?/).replace("ref",_blockLabel$1).getRegex(),reflinkSearch$1=edit$1("reflink|nolink(?!\\()","g").replace("reflink",reflink$1).replace("nolink",nolink$1).getRegex(),inlineNormal$1={_backpedal:noopTest$1,anyPunctuation:anyPunctuation$1,autolink:autolink$1,blockSkip:blockSkip$1,br:br$2,code:inlineCode$1,del:noopTest$1,emStrongLDelim:emStrongLDelim$1,emStrongRDelimAst:emStrongRDelimAst$1,emStrongRDelimUnd:emStrongRDelimUnd$1,escape:escape$1$1,link:link$1,nolink:nolink$1,punctuation:punctuation$1,reflink:reflink$1,reflinkSearch:reflinkSearch$1,tag:tag$1,text:inlineText$1,url:noopTest$1},inlinePedantic$1={...inlineNormal$1,link:edit$1(/^!?\[(label)\]\((.*?)\)/).replace("label",_inlineLabel$1).getRegex(),reflink:edit$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_inlineLabel$1).getRegex()},inlineGfm$1={...inlineNormal$1,escape:edit$1(escape$1$1).replace("])","~|])").getRegex(),url:edit$1(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},inlineBreaks$1={...inlineGfm$1,br:edit$1(br$2).replace("{2,}","*").getRegex(),text:edit$1(inlineGfm$1.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},block$1={normal:blockNormal$1,gfm:blockGfm$1,pedantic:blockPedantic$1},inline$1={normal:inlineNormal$1,gfm:inlineGfm$1,breaks:inlineBreaks$1,pedantic:inlinePedantic$1},escapeReplacements$1={"&":"&","<":"<",">":">",'"':""","'":"'"},getEscapeReplacement$1=Ra=>escapeReplacements$1[Ra];function escape$3(Ra,qa){if(qa){if(other.escapeTest.test(Ra))return Ra.replace(other.escapeReplace,getEscapeReplacement$1)}else if(other.escapeTestNoEncode.test(Ra))return Ra.replace(other.escapeReplaceNoEncode,getEscapeReplacement$1);return Ra}function cleanUrl$1(Ra){try{Ra=encodeURI(Ra).replace(other.percentDecode,"%")}catch{return null}return Ra}function splitCells$1(Ra,qa){var ud;const nd=Ra.replace(other.findPipe,(dd,pd,fd)=>{let md=!1,vd=pd;for(;--vd>=0&&fd[vd]==="\\";)md=!md;return md?"|":" |"}),od=nd.split(other.splitPipe);let ld=0;if(od[0].trim()||od.shift(),od.length>0&&!((ud=od.at(-1))!=null&&ud.trim())&&od.pop(),qa)if(od.length>qa)od.splice(qa);else for(;od.length<qa;)od.push("");for(;ld<od.length;ld++)od[ld]=od[ld].trim().replace(other.slashPipe,"|");return od}function rtrim$1(Ra,qa,nd){const od=Ra.length;if(od===0)return"";let ld=0;for(;ld<od;){const ud=Ra.charAt(od-ld-1);if(ud===qa&&!nd)ld++;else if(ud!==qa&&nd)ld++;else break}return Ra.slice(0,od-ld)}function findClosingBracket$1(Ra,qa){if(Ra.indexOf(qa[1])===-1)return-1;let nd=0;for(let od=0;od<Ra.length;od++)if(Ra[od]==="\\")od++;else if(Ra[od]===qa[0])nd++;else if(Ra[od]===qa[1]&&(nd--,nd<0))return od;return-1}function outputLink$1(Ra,qa,nd,od,ld){const ud=qa.href,dd=qa.title||null,pd=Ra[1].replace(ld.other.outputLinkReplace,"$1");if(Ra[0].charAt(0)!=="!"){od.state.inLink=!0;const fd={type:"link",raw:nd,href:ud,title:dd,text:pd,tokens:od.inlineTokens(pd)};return od.state.inLink=!1,fd}return{type:"image",raw:nd,href:ud,title:dd,text:pd}}function indentCodeCompensation$1(Ra,qa,nd){const od=Ra.match(nd.other.indentCodeCompensation);if(od===null)return qa;const ld=od[1];return qa.split(`
|
||
`).map(ud=>{const dd=ud.match(nd.other.beginningSpace);if(dd===null)return ud;const[pd]=dd;return pd.length>=ld.length?ud.slice(ld.length):ud}).join(`
|
||
`)}let _Tokenizer$1=class{constructor(qa){wg(this,"options");wg(this,"rules");wg(this,"lexer");this.options=qa||_defaults$1}space(qa){const nd=this.rules.block.newline.exec(qa);if(nd&&nd[0].length>0)return{type:"space",raw:nd[0]}}code(qa){const nd=this.rules.block.code.exec(qa);if(nd){const od=nd[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:nd[0],codeBlockStyle:"indented",text:this.options.pedantic?od:rtrim$1(od,`
|
||
`)}}}fences(qa){const nd=this.rules.block.fences.exec(qa);if(nd){const od=nd[0],ld=indentCodeCompensation$1(od,nd[3]||"",this.rules);return{type:"code",raw:od,lang:nd[2]?nd[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):nd[2],text:ld}}}heading(qa){const nd=this.rules.block.heading.exec(qa);if(nd){let od=nd[2].trim();if(this.rules.other.endingHash.test(od)){const ld=rtrim$1(od,"#");(this.options.pedantic||!ld||this.rules.other.endingSpaceChar.test(ld))&&(od=ld.trim())}return{type:"heading",raw:nd[0],depth:nd[1].length,text:od,tokens:this.lexer.inline(od)}}}hr(qa){const nd=this.rules.block.hr.exec(qa);if(nd)return{type:"hr",raw:rtrim$1(nd[0],`
|
||
`)}}blockquote(qa){const nd=this.rules.block.blockquote.exec(qa);if(nd){let od=rtrim$1(nd[0],`
|
||
`).split(`
|
||
`),ld="",ud="";const dd=[];for(;od.length>0;){let pd=!1;const fd=[];let md;for(md=0;md<od.length;md++)if(this.rules.other.blockquoteStart.test(od[md]))fd.push(od[md]),pd=!0;else if(!pd)fd.push(od[md]);else break;od=od.slice(md);const vd=fd.join(`
|
||
`),Ad=vd.replace(this.rules.other.blockquoteSetextReplace,`
|
||
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");ld=ld?`${ld}
|
||
${vd}`:vd,ud=ud?`${ud}
|
||
${Ad}`:Ad;const Nd=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(Ad,dd,!0),this.lexer.state.top=Nd,od.length===0)break;const Id=dd.at(-1);if((Id==null?void 0:Id.type)==="code")break;if((Id==null?void 0:Id.type)==="blockquote"){const Od=Id,Md=Od.raw+`
|
||
`+od.join(`
|
||
`),Ud=this.blockquote(Md);dd[dd.length-1]=Ud,ld=ld.substring(0,ld.length-Od.raw.length)+Ud.raw,ud=ud.substring(0,ud.length-Od.text.length)+Ud.text;break}else if((Id==null?void 0:Id.type)==="list"){const Od=Id,Md=Od.raw+`
|
||
`+od.join(`
|
||
`),Ud=this.list(Md);dd[dd.length-1]=Ud,ld=ld.substring(0,ld.length-Id.raw.length)+Ud.raw,ud=ud.substring(0,ud.length-Od.raw.length)+Ud.raw,od=Md.substring(dd.at(-1).raw.length).split(`
|
||
`);continue}}return{type:"blockquote",raw:ld,tokens:dd,text:ud}}}list(qa){let nd=this.rules.block.list.exec(qa);if(nd){let od=nd[1].trim();const ld=od.length>1,ud={type:"list",raw:"",ordered:ld,start:ld?+od.slice(0,-1):"",loose:!1,items:[]};od=ld?`\\d{1,9}\\${od.slice(-1)}`:`\\${od}`,this.options.pedantic&&(od=ld?od:"[*+-]");const dd=this.rules.other.listItemRegex(od);let pd=!1;for(;qa;){let md=!1,vd="",Ad="";if(!(nd=dd.exec(qa))||this.rules.block.hr.test(qa))break;vd=nd[0],qa=qa.substring(vd.length);let Nd=nd[2].split(`
|
||
`,1)[0].replace(this.rules.other.listReplaceTabs,Ld=>" ".repeat(3*Ld.length)),Id=qa.split(`
|
||
`,1)[0],Od=!Nd.trim(),Md=0;if(this.options.pedantic?(Md=2,Ad=Nd.trimStart()):Od?Md=nd[1].length+1:(Md=nd[2].search(this.rules.other.nonSpaceChar),Md=Md>4?1:Md,Ad=Nd.slice(Md),Md+=nd[1].length),Od&&this.rules.other.blankLine.test(Id)&&(vd+=Id+`
|
||
`,qa=qa.substring(Id.length+1),md=!0),!md){const Ld=this.rules.other.nextBulletRegex(Md),Bd=this.rules.other.hrRegex(Md),Gd=this.rules.other.fencesBeginRegex(Md),qd=this.rules.other.headingBeginRegex(Md),zd=this.rules.other.htmlBeginRegex(Md);for(;qa;){const Xd=qa.split(`
|
||
`,1)[0];let gf;if(Id=Xd,this.options.pedantic?(Id=Id.replace(this.rules.other.listReplaceNesting," "),gf=Id):gf=Id.replace(this.rules.other.tabCharGlobal," "),Gd.test(Id)||qd.test(Id)||zd.test(Id)||Ld.test(Id)||Bd.test(Id))break;if(gf.search(this.rules.other.nonSpaceChar)>=Md||!Id.trim())Ad+=`
|
||
`+gf.slice(Md);else{if(Od||Nd.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||Gd.test(Nd)||qd.test(Nd)||Bd.test(Nd))break;Ad+=`
|
||
`+Id}!Od&&!Id.trim()&&(Od=!0),vd+=Xd+`
|
||
`,qa=qa.substring(Xd.length+1),Nd=gf.slice(Md)}}ud.loose||(pd?ud.loose=!0:this.rules.other.doubleBlankLine.test(vd)&&(pd=!0));let Ud=null,jd;this.options.gfm&&(Ud=this.rules.other.listIsTask.exec(Ad),Ud&&(jd=Ud[0]!=="[ ] ",Ad=Ad.replace(this.rules.other.listReplaceTask,""))),ud.items.push({type:"list_item",raw:vd,task:!!Ud,checked:jd,loose:!1,text:Ad,tokens:[]}),ud.raw+=vd}const fd=ud.items.at(-1);fd&&(fd.raw=fd.raw.trimEnd(),fd.text=fd.text.trimEnd()),ud.raw=ud.raw.trimEnd();for(let md=0;md<ud.items.length;md++)if(this.lexer.state.top=!1,ud.items[md].tokens=this.lexer.blockTokens(ud.items[md].text,[]),!ud.loose){const vd=ud.items[md].tokens.filter(Nd=>Nd.type==="space"),Ad=vd.length>0&&vd.some(Nd=>this.rules.other.anyLine.test(Nd.raw));ud.loose=Ad}if(ud.loose)for(let md=0;md<ud.items.length;md++)ud.items[md].loose=!0;return ud}}html(qa){const nd=this.rules.block.html.exec(qa);if(nd)return{type:"html",block:!0,raw:nd[0],pre:nd[1]==="pre"||nd[1]==="script"||nd[1]==="style",text:nd[0]}}def(qa){const nd=this.rules.block.def.exec(qa);if(nd){const od=nd[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),ld=nd[2]?nd[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",ud=nd[3]?nd[3].substring(1,nd[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):nd[3];return{type:"def",tag:od,raw:nd[0],href:ld,title:ud}}}table(qa){var pd;const nd=this.rules.block.table.exec(qa);if(!nd||!this.rules.other.tableDelimiter.test(nd[2]))return;const od=splitCells$1(nd[1]),ld=nd[2].replace(this.rules.other.tableAlignChars,"").split("|"),ud=(pd=nd[3])!=null&&pd.trim()?nd[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
||
`):[],dd={type:"table",raw:nd[0],header:[],align:[],rows:[]};if(od.length===ld.length){for(const fd of ld)this.rules.other.tableAlignRight.test(fd)?dd.align.push("right"):this.rules.other.tableAlignCenter.test(fd)?dd.align.push("center"):this.rules.other.tableAlignLeft.test(fd)?dd.align.push("left"):dd.align.push(null);for(let fd=0;fd<od.length;fd++)dd.header.push({text:od[fd],tokens:this.lexer.inline(od[fd]),header:!0,align:dd.align[fd]});for(const fd of ud)dd.rows.push(splitCells$1(fd,dd.header.length).map((md,vd)=>({text:md,tokens:this.lexer.inline(md),header:!1,align:dd.align[vd]})));return dd}}lheading(qa){const nd=this.rules.block.lheading.exec(qa);if(nd)return{type:"heading",raw:nd[0],depth:nd[2].charAt(0)==="="?1:2,text:nd[1],tokens:this.lexer.inline(nd[1])}}paragraph(qa){const nd=this.rules.block.paragraph.exec(qa);if(nd){const od=nd[1].charAt(nd[1].length-1)===`
|
||
`?nd[1].slice(0,-1):nd[1];return{type:"paragraph",raw:nd[0],text:od,tokens:this.lexer.inline(od)}}}text(qa){const nd=this.rules.block.text.exec(qa);if(nd)return{type:"text",raw:nd[0],text:nd[0],tokens:this.lexer.inline(nd[0])}}escape(qa){const nd=this.rules.inline.escape.exec(qa);if(nd)return{type:"escape",raw:nd[0],text:nd[1]}}tag(qa){const nd=this.rules.inline.tag.exec(qa);if(nd)return!this.lexer.state.inLink&&this.rules.other.startATag.test(nd[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(nd[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(nd[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(nd[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:nd[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:nd[0]}}link(qa){const nd=this.rules.inline.link.exec(qa);if(nd){const od=nd[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(od)){if(!this.rules.other.endAngleBracket.test(od))return;const dd=rtrim$1(od.slice(0,-1),"\\");if((od.length-dd.length)%2===0)return}else{const dd=findClosingBracket$1(nd[2],"()");if(dd>-1){const fd=(nd[0].indexOf("!")===0?5:4)+nd[1].length+dd;nd[2]=nd[2].substring(0,dd),nd[0]=nd[0].substring(0,fd).trim(),nd[3]=""}}let ld=nd[2],ud="";if(this.options.pedantic){const dd=this.rules.other.pedanticHrefTitle.exec(ld);dd&&(ld=dd[1],ud=dd[3])}else ud=nd[3]?nd[3].slice(1,-1):"";return ld=ld.trim(),this.rules.other.startAngleBracket.test(ld)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(od)?ld=ld.slice(1):ld=ld.slice(1,-1)),outputLink$1(nd,{href:ld&&ld.replace(this.rules.inline.anyPunctuation,"$1"),title:ud&&ud.replace(this.rules.inline.anyPunctuation,"$1")},nd[0],this.lexer,this.rules)}}reflink(qa,nd){let od;if((od=this.rules.inline.reflink.exec(qa))||(od=this.rules.inline.nolink.exec(qa))){const ld=(od[2]||od[1]).replace(this.rules.other.multipleSpaceGlobal," "),ud=nd[ld.toLowerCase()];if(!ud){const dd=od[0].charAt(0);return{type:"text",raw:dd,text:dd}}return outputLink$1(od,ud,od[0],this.lexer,this.rules)}}emStrong(qa,nd,od=""){let ld=this.rules.inline.emStrongLDelim.exec(qa);if(!ld||ld[3]&&od.match(this.rules.other.unicodeAlphaNumeric))return;if(!(ld[1]||ld[2]||"")||!od||this.rules.inline.punctuation.exec(od)){const dd=[...ld[0]].length-1;let pd,fd,md=dd,vd=0;const Ad=ld[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(Ad.lastIndex=0,nd=nd.slice(-1*qa.length+dd);(ld=Ad.exec(nd))!=null;){if(pd=ld[1]||ld[2]||ld[3]||ld[4]||ld[5]||ld[6],!pd)continue;if(fd=[...pd].length,ld[3]||ld[4]){md+=fd;continue}else if((ld[5]||ld[6])&&dd%3&&!((dd+fd)%3)){vd+=fd;continue}if(md-=fd,md>0)continue;fd=Math.min(fd,fd+md+vd);const Nd=[...ld[0]][0].length,Id=qa.slice(0,dd+ld.index+Nd+fd);if(Math.min(dd,fd)%2){const Md=Id.slice(1,-1);return{type:"em",raw:Id,text:Md,tokens:this.lexer.inlineTokens(Md)}}const Od=Id.slice(2,-2);return{type:"strong",raw:Id,text:Od,tokens:this.lexer.inlineTokens(Od)}}}}codespan(qa){const nd=this.rules.inline.code.exec(qa);if(nd){let od=nd[2].replace(this.rules.other.newLineCharGlobal," ");const ld=this.rules.other.nonSpaceChar.test(od),ud=this.rules.other.startingSpaceChar.test(od)&&this.rules.other.endingSpaceChar.test(od);return ld&&ud&&(od=od.substring(1,od.length-1)),{type:"codespan",raw:nd[0],text:od}}}br(qa){const nd=this.rules.inline.br.exec(qa);if(nd)return{type:"br",raw:nd[0]}}del(qa){const nd=this.rules.inline.del.exec(qa);if(nd)return{type:"del",raw:nd[0],text:nd[2],tokens:this.lexer.inlineTokens(nd[2])}}autolink(qa){const nd=this.rules.inline.autolink.exec(qa);if(nd){let od,ld;return nd[2]==="@"?(od=nd[1],ld="mailto:"+od):(od=nd[1],ld=od),{type:"link",raw:nd[0],text:od,href:ld,tokens:[{type:"text",raw:od,text:od}]}}}url(qa){var od;let nd;if(nd=this.rules.inline.url.exec(qa)){let ld,ud;if(nd[2]==="@")ld=nd[0],ud="mailto:"+ld;else{let dd;do dd=nd[0],nd[0]=((od=this.rules.inline._backpedal.exec(nd[0]))==null?void 0:od[0])??"";while(dd!==nd[0]);ld=nd[0],nd[1]==="www."?ud="http://"+nd[0]:ud=nd[0]}return{type:"link",raw:nd[0],text:ld,href:ud,tokens:[{type:"text",raw:ld,text:ld}]}}}inlineText(qa){const nd=this.rules.inline.text.exec(qa);if(nd){const od=this.lexer.state.inRawBlock;return{type:"text",raw:nd[0],text:nd[0],escaped:od}}}},_Lexer$1=class S1{constructor(qa){wg(this,"tokens");wg(this,"options");wg(this,"state");wg(this,"tokenizer");wg(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=qa||_defaults$1,this.options.tokenizer=this.options.tokenizer||new _Tokenizer$1,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const nd={other,block:block$1.normal,inline:inline$1.normal};this.options.pedantic?(nd.block=block$1.pedantic,nd.inline=inline$1.pedantic):this.options.gfm&&(nd.block=block$1.gfm,this.options.breaks?nd.inline=inline$1.breaks:nd.inline=inline$1.gfm),this.tokenizer.rules=nd}static get rules(){return{block:block$1,inline:inline$1}}static lex(qa,nd){return new S1(nd).lex(qa)}static lexInline(qa,nd){return new S1(nd).inlineTokens(qa)}lex(qa){qa=qa.replace(other.carriageReturn,`
|
||
`),this.blockTokens(qa,this.tokens);for(let nd=0;nd<this.inlineQueue.length;nd++){const od=this.inlineQueue[nd];this.inlineTokens(od.src,od.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(qa,nd=[],od=!1){var ld,ud,dd;for(this.options.pedantic&&(qa=qa.replace(other.tabCharGlobal," ").replace(other.spaceLine,""));qa;){let pd;if((ud=(ld=this.options.extensions)==null?void 0:ld.block)!=null&&ud.some(md=>(pd=md.call({lexer:this},qa,nd))?(qa=qa.substring(pd.raw.length),nd.push(pd),!0):!1))continue;if(pd=this.tokenizer.space(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);pd.raw.length===1&&md!==void 0?md.raw+=`
|
||
`:nd.push(pd);continue}if(pd=this.tokenizer.code(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);(md==null?void 0:md.type)==="paragraph"||(md==null?void 0:md.type)==="text"?(md.raw+=`
|
||
`+pd.raw,md.text+=`
|
||
`+pd.text,this.inlineQueue.at(-1).src=md.text):nd.push(pd);continue}if(pd=this.tokenizer.fences(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.heading(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.hr(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.blockquote(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.list(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.html(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.def(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);(md==null?void 0:md.type)==="paragraph"||(md==null?void 0:md.type)==="text"?(md.raw+=`
|
||
`+pd.raw,md.text+=`
|
||
`+pd.raw,this.inlineQueue.at(-1).src=md.text):this.tokens.links[pd.tag]||(this.tokens.links[pd.tag]={href:pd.href,title:pd.title});continue}if(pd=this.tokenizer.table(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}if(pd=this.tokenizer.lheading(qa)){qa=qa.substring(pd.raw.length),nd.push(pd);continue}let fd=qa;if((dd=this.options.extensions)!=null&&dd.startBlock){let md=1/0;const vd=qa.slice(1);let Ad;this.options.extensions.startBlock.forEach(Nd=>{Ad=Nd.call({lexer:this},vd),typeof Ad=="number"&&Ad>=0&&(md=Math.min(md,Ad))}),md<1/0&&md>=0&&(fd=qa.substring(0,md+1))}if(this.state.top&&(pd=this.tokenizer.paragraph(fd))){const md=nd.at(-1);od&&(md==null?void 0:md.type)==="paragraph"?(md.raw+=`
|
||
`+pd.raw,md.text+=`
|
||
`+pd.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=md.text):nd.push(pd),od=fd.length!==qa.length,qa=qa.substring(pd.raw.length);continue}if(pd=this.tokenizer.text(qa)){qa=qa.substring(pd.raw.length);const md=nd.at(-1);(md==null?void 0:md.type)==="text"?(md.raw+=`
|
||
`+pd.raw,md.text+=`
|
||
`+pd.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=md.text):nd.push(pd);continue}if(qa){const md="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(md);break}else throw new Error(md)}}return this.state.top=!0,nd}inline(qa,nd=[]){return this.inlineQueue.push({src:qa,tokens:nd}),nd}inlineTokens(qa,nd=[]){var pd,fd,md;let od=qa,ld=null;if(this.tokens.links){const vd=Object.keys(this.tokens.links);if(vd.length>0)for(;(ld=this.tokenizer.rules.inline.reflinkSearch.exec(od))!=null;)vd.includes(ld[0].slice(ld[0].lastIndexOf("[")+1,-1))&&(od=od.slice(0,ld.index)+"["+"a".repeat(ld[0].length-2)+"]"+od.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(ld=this.tokenizer.rules.inline.blockSkip.exec(od))!=null;)od=od.slice(0,ld.index)+"["+"a".repeat(ld[0].length-2)+"]"+od.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(ld=this.tokenizer.rules.inline.anyPunctuation.exec(od))!=null;)od=od.slice(0,ld.index)+"++"+od.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let ud=!1,dd="";for(;qa;){ud||(dd=""),ud=!1;let vd;if((fd=(pd=this.options.extensions)==null?void 0:pd.inline)!=null&&fd.some(Nd=>(vd=Nd.call({lexer:this},qa,nd))?(qa=qa.substring(vd.raw.length),nd.push(vd),!0):!1))continue;if(vd=this.tokenizer.escape(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.tag(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.link(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.reflink(qa,this.tokens.links)){qa=qa.substring(vd.raw.length);const Nd=nd.at(-1);vd.type==="text"&&(Nd==null?void 0:Nd.type)==="text"?(Nd.raw+=vd.raw,Nd.text+=vd.text):nd.push(vd);continue}if(vd=this.tokenizer.emStrong(qa,od,dd)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.codespan(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.br(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.del(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(vd=this.tokenizer.autolink(qa)){qa=qa.substring(vd.raw.length),nd.push(vd);continue}if(!this.state.inLink&&(vd=this.tokenizer.url(qa))){qa=qa.substring(vd.raw.length),nd.push(vd);continue}let Ad=qa;if((md=this.options.extensions)!=null&&md.startInline){let Nd=1/0;const Id=qa.slice(1);let Od;this.options.extensions.startInline.forEach(Md=>{Od=Md.call({lexer:this},Id),typeof Od=="number"&&Od>=0&&(Nd=Math.min(Nd,Od))}),Nd<1/0&&Nd>=0&&(Ad=qa.substring(0,Nd+1))}if(vd=this.tokenizer.inlineText(Ad)){qa=qa.substring(vd.raw.length),vd.raw.slice(-1)!=="_"&&(dd=vd.raw.slice(-1)),ud=!0;const Nd=nd.at(-1);(Nd==null?void 0:Nd.type)==="text"?(Nd.raw+=vd.raw,Nd.text+=vd.text):nd.push(vd);continue}if(qa){const Nd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(Nd);break}else throw new Error(Nd)}}return nd}},_Renderer$1=class{constructor(qa){wg(this,"options");wg(this,"parser");this.options=qa||_defaults$1}space(qa){return""}code({text:qa,lang:nd,escaped:od}){var dd;const ld=(dd=(nd||"").match(other.notSpaceStart))==null?void 0:dd[0],ud=qa.replace(other.endingNewline,"")+`
|
||
`;return ld?'<pre><code class="language-'+escape$3(ld)+'">'+(od?ud:escape$3(ud,!0))+`</code></pre>
|
||
`:"<pre><code>"+(od?ud:escape$3(ud,!0))+`</code></pre>
|
||
`}blockquote({tokens:qa}){return`<blockquote>
|
||
${this.parser.parse(qa)}</blockquote>
|
||
`}html({text:qa}){return qa}heading({tokens:qa,depth:nd}){return`<h${nd}>${this.parser.parseInline(qa)}</h${nd}>
|
||
`}hr(qa){return`<hr>
|
||
`}list(qa){const nd=qa.ordered,od=qa.start;let ld="";for(let pd=0;pd<qa.items.length;pd++){const fd=qa.items[pd];ld+=this.listitem(fd)}const ud=nd?"ol":"ul",dd=nd&&od!==1?' start="'+od+'"':"";return"<"+ud+dd+`>
|
||
`+ld+"</"+ud+`>
|
||
`}listitem(qa){var od;let nd="";if(qa.task){const ld=this.checkbox({checked:!!qa.checked});qa.loose?((od=qa.tokens[0])==null?void 0:od.type)==="paragraph"?(qa.tokens[0].text=ld+" "+qa.tokens[0].text,qa.tokens[0].tokens&&qa.tokens[0].tokens.length>0&&qa.tokens[0].tokens[0].type==="text"&&(qa.tokens[0].tokens[0].text=ld+" "+escape$3(qa.tokens[0].tokens[0].text),qa.tokens[0].tokens[0].escaped=!0)):qa.tokens.unshift({type:"text",raw:ld+" ",text:ld+" ",escaped:!0}):nd+=ld+" "}return nd+=this.parser.parse(qa.tokens,!!qa.loose),`<li>${nd}</li>
|
||
`}checkbox({checked:qa}){return"<input "+(qa?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:qa}){return`<p>${this.parser.parseInline(qa)}</p>
|
||
`}table(qa){let nd="",od="";for(let ud=0;ud<qa.header.length;ud++)od+=this.tablecell(qa.header[ud]);nd+=this.tablerow({text:od});let ld="";for(let ud=0;ud<qa.rows.length;ud++){const dd=qa.rows[ud];od="";for(let pd=0;pd<dd.length;pd++)od+=this.tablecell(dd[pd]);ld+=this.tablerow({text:od})}return ld&&(ld=`<tbody>${ld}</tbody>`),`<table>
|
||
<thead>
|
||
`+nd+`</thead>
|
||
`+ld+`</table>
|
||
`}tablerow({text:qa}){return`<tr>
|
||
${qa}</tr>
|
||
`}tablecell(qa){const nd=this.parser.parseInline(qa.tokens),od=qa.header?"th":"td";return(qa.align?`<${od} align="${qa.align}">`:`<${od}>`)+nd+`</${od}>
|
||
`}strong({tokens:qa}){return`<strong>${this.parser.parseInline(qa)}</strong>`}em({tokens:qa}){return`<em>${this.parser.parseInline(qa)}</em>`}codespan({text:qa}){return`<code>${escape$3(qa,!0)}</code>`}br(qa){return"<br>"}del({tokens:qa}){return`<del>${this.parser.parseInline(qa)}</del>`}link({href:qa,title:nd,tokens:od}){const ld=this.parser.parseInline(od),ud=cleanUrl$1(qa);if(ud===null)return ld;qa=ud;let dd='<a href="'+qa+'"';return nd&&(dd+=' title="'+escape$3(nd)+'"'),dd+=">"+ld+"</a>",dd}image({href:qa,title:nd,text:od}){const ld=cleanUrl$1(qa);if(ld===null)return escape$3(od);qa=ld;let ud=`<img src="${qa}" alt="${od}"`;return nd&&(ud+=` title="${escape$3(nd)}"`),ud+=">",ud}text(qa){return"tokens"in qa&&qa.tokens?this.parser.parseInline(qa.tokens):"escaped"in qa&&qa.escaped?qa.text:escape$3(qa.text)}},_TextRenderer$1=class{strong({text:qa}){return qa}em({text:qa}){return qa}codespan({text:qa}){return qa}del({text:qa}){return qa}html({text:qa}){return qa}text({text:qa}){return qa}link({text:qa}){return""+qa}image({text:qa}){return""+qa}br(){return""}},_Parser$1=class T1{constructor(qa){wg(this,"options");wg(this,"renderer");wg(this,"textRenderer");this.options=qa||_defaults$1,this.options.renderer=this.options.renderer||new _Renderer$1,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer$1}static parse(qa,nd){return new T1(nd).parse(qa)}static parseInline(qa,nd){return new T1(nd).parseInline(qa)}parse(qa,nd=!0){var ld,ud;let od="";for(let dd=0;dd<qa.length;dd++){const pd=qa[dd];if((ud=(ld=this.options.extensions)==null?void 0:ld.renderers)!=null&&ud[pd.type]){const md=pd,vd=this.options.extensions.renderers[md.type].call({parser:this},md);if(vd!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(md.type)){od+=vd||"";continue}}const fd=pd;switch(fd.type){case"space":{od+=this.renderer.space(fd);continue}case"hr":{od+=this.renderer.hr(fd);continue}case"heading":{od+=this.renderer.heading(fd);continue}case"code":{od+=this.renderer.code(fd);continue}case"table":{od+=this.renderer.table(fd);continue}case"blockquote":{od+=this.renderer.blockquote(fd);continue}case"list":{od+=this.renderer.list(fd);continue}case"html":{od+=this.renderer.html(fd);continue}case"paragraph":{od+=this.renderer.paragraph(fd);continue}case"text":{let md=fd,vd=this.renderer.text(md);for(;dd+1<qa.length&&qa[dd+1].type==="text";)md=qa[++dd],vd+=`
|
||
`+this.renderer.text(md);nd?od+=this.renderer.paragraph({type:"paragraph",raw:vd,text:vd,tokens:[{type:"text",raw:vd,text:vd,escaped:!0}]}):od+=vd;continue}default:{const md='Token with "'+fd.type+'" type was not found.';if(this.options.silent)return console.error(md),"";throw new Error(md)}}}return od}parseInline(qa,nd=this.renderer){var ld,ud;let od="";for(let dd=0;dd<qa.length;dd++){const pd=qa[dd];if((ud=(ld=this.options.extensions)==null?void 0:ld.renderers)!=null&&ud[pd.type]){const md=this.options.extensions.renderers[pd.type].call({parser:this},pd);if(md!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(pd.type)){od+=md||"";continue}}const fd=pd;switch(fd.type){case"escape":{od+=nd.text(fd);break}case"html":{od+=nd.html(fd);break}case"link":{od+=nd.link(fd);break}case"image":{od+=nd.image(fd);break}case"strong":{od+=nd.strong(fd);break}case"em":{od+=nd.em(fd);break}case"codespan":{od+=nd.codespan(fd);break}case"br":{od+=nd.br(fd);break}case"del":{od+=nd.del(fd);break}case"text":{od+=nd.text(fd);break}default:{const md='Token with "'+fd.type+'" type was not found.';if(this.options.silent)return console.error(md),"";throw new Error(md)}}}return od}};var E1;let _Hooks$1=(E1=class{constructor(qa){wg(this,"options");wg(this,"block");this.options=qa||_defaults$1}preprocess(qa){return qa}postprocess(qa){return qa}processAllTokens(qa){return qa}provideLexer(){return this.block?_Lexer$1.lex:_Lexer$1.lexInline}provideParser(){return this.block?_Parser$1.parse:_Parser$1.parseInline}},wg(E1,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),E1),Marked$1=class{constructor(...qa){wg(this,"defaults",_getDefaults$1());wg(this,"options",this.setOptions);wg(this,"parse",this.parseMarkdown(!0));wg(this,"parseInline",this.parseMarkdown(!1));wg(this,"Parser",_Parser$1);wg(this,"Renderer",_Renderer$1);wg(this,"TextRenderer",_TextRenderer$1);wg(this,"Lexer",_Lexer$1);wg(this,"Tokenizer",_Tokenizer$1);wg(this,"Hooks",_Hooks$1);this.use(...qa)}walkTokens(qa,nd){var ld,ud;let od=[];for(const dd of qa)switch(od=od.concat(nd.call(this,dd)),dd.type){case"table":{const pd=dd;for(const fd of pd.header)od=od.concat(this.walkTokens(fd.tokens,nd));for(const fd of pd.rows)for(const md of fd)od=od.concat(this.walkTokens(md.tokens,nd));break}case"list":{const pd=dd;od=od.concat(this.walkTokens(pd.items,nd));break}default:{const pd=dd;(ud=(ld=this.defaults.extensions)==null?void 0:ld.childTokens)!=null&&ud[pd.type]?this.defaults.extensions.childTokens[pd.type].forEach(fd=>{const md=pd[fd].flat(1/0);od=od.concat(this.walkTokens(md,nd))}):pd.tokens&&(od=od.concat(this.walkTokens(pd.tokens,nd)))}}return od}use(...qa){const nd=this.defaults.extensions||{renderers:{},childTokens:{}};return qa.forEach(od=>{const ld={...od};if(ld.async=this.defaults.async||ld.async||!1,od.extensions&&(od.extensions.forEach(ud=>{if(!ud.name)throw new Error("extension name required");if("renderer"in ud){const dd=nd.renderers[ud.name];dd?nd.renderers[ud.name]=function(...pd){let fd=ud.renderer.apply(this,pd);return fd===!1&&(fd=dd.apply(this,pd)),fd}:nd.renderers[ud.name]=ud.renderer}if("tokenizer"in ud){if(!ud.level||ud.level!=="block"&&ud.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const dd=nd[ud.level];dd?dd.unshift(ud.tokenizer):nd[ud.level]=[ud.tokenizer],ud.start&&(ud.level==="block"?nd.startBlock?nd.startBlock.push(ud.start):nd.startBlock=[ud.start]:ud.level==="inline"&&(nd.startInline?nd.startInline.push(ud.start):nd.startInline=[ud.start]))}"childTokens"in ud&&ud.childTokens&&(nd.childTokens[ud.name]=ud.childTokens)}),ld.extensions=nd),od.renderer){const ud=this.defaults.renderer||new _Renderer$1(this.defaults);for(const dd in od.renderer){if(!(dd in ud))throw new Error(`renderer '${dd}' does not exist`);if(["options","parser"].includes(dd))continue;const pd=dd,fd=od.renderer[pd],md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad||""}}ld.renderer=ud}if(od.tokenizer){const ud=this.defaults.tokenizer||new _Tokenizer$1(this.defaults);for(const dd in od.tokenizer){if(!(dd in ud))throw new Error(`tokenizer '${dd}' does not exist`);if(["options","rules","lexer"].includes(dd))continue;const pd=dd,fd=od.tokenizer[pd],md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.tokenizer=ud}if(od.hooks){const ud=this.defaults.hooks||new _Hooks$1;for(const dd in od.hooks){if(!(dd in ud))throw new Error(`hook '${dd}' does not exist`);if(["options","block"].includes(dd))continue;const pd=dd,fd=od.hooks[pd],md=ud[pd];_Hooks$1.passThroughHooks.has(dd)?ud[pd]=vd=>{if(this.defaults.async)return Promise.resolve(fd.call(ud,vd)).then(Nd=>md.call(ud,Nd));const Ad=fd.call(ud,vd);return md.call(ud,Ad)}:ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.hooks=ud}if(od.walkTokens){const ud=this.defaults.walkTokens,dd=od.walkTokens;ld.walkTokens=function(pd){let fd=[];return fd.push(dd.call(this,pd)),ud&&(fd=fd.concat(ud.call(this,pd))),fd}}this.defaults={...this.defaults,...ld}}),this}setOptions(qa){return this.defaults={...this.defaults,...qa},this}lexer(qa,nd){return _Lexer$1.lex(qa,nd??this.defaults)}parser(qa,nd){return _Parser$1.parse(qa,nd??this.defaults)}parseMarkdown(qa){return(od,ld)=>{const ud={...ld},dd={...this.defaults,...ud},pd=this.onError(!!dd.silent,!!dd.async);if(this.defaults.async===!0&&ud.async===!1)return pd(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof od>"u"||od===null)return pd(new Error("marked(): input parameter is undefined or null"));if(typeof od!="string")return pd(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(od)+", string expected"));dd.hooks&&(dd.hooks.options=dd,dd.hooks.block=qa);const fd=dd.hooks?dd.hooks.provideLexer():qa?_Lexer$1.lex:_Lexer$1.lexInline,md=dd.hooks?dd.hooks.provideParser():qa?_Parser$1.parse:_Parser$1.parseInline;if(dd.async)return Promise.resolve(dd.hooks?dd.hooks.preprocess(od):od).then(vd=>fd(vd,dd)).then(vd=>dd.hooks?dd.hooks.processAllTokens(vd):vd).then(vd=>dd.walkTokens?Promise.all(this.walkTokens(vd,dd.walkTokens)).then(()=>vd):vd).then(vd=>md(vd,dd)).then(vd=>dd.hooks?dd.hooks.postprocess(vd):vd).catch(pd);try{dd.hooks&&(od=dd.hooks.preprocess(od));let vd=fd(od,dd);dd.hooks&&(vd=dd.hooks.processAllTokens(vd)),dd.walkTokens&&this.walkTokens(vd,dd.walkTokens);let Ad=md(vd,dd);return dd.hooks&&(Ad=dd.hooks.postprocess(Ad)),Ad}catch(vd){return pd(vd)}}}onError(qa,nd){return od=>{if(od.message+=`
|
||
Please report this to https://github.com/markedjs/marked.`,qa){const ld="<p>An error occurred:</p><pre>"+escape$3(od.message+"",!0)+"</pre>";return nd?Promise.resolve(ld):ld}if(nd)return Promise.reject(od);throw od}}};const markedInstance$1=new Marked$1;function marked$1(Ra,qa){return markedInstance$1.parse(Ra,qa)}marked$1.options=marked$1.setOptions=function(Ra){return markedInstance$1.setOptions(Ra),marked$1.defaults=markedInstance$1.defaults,changeDefaults$1(marked$1.defaults),marked$1};marked$1.getDefaults=_getDefaults$1;marked$1.defaults=_defaults$1;marked$1.use=function(...Ra){return markedInstance$1.use(...Ra),marked$1.defaults=markedInstance$1.defaults,changeDefaults$1(marked$1.defaults),marked$1};marked$1.walkTokens=function(Ra,qa){return markedInstance$1.walkTokens(Ra,qa)};marked$1.parseInline=markedInstance$1.parseInline;marked$1.Parser=_Parser$1;marked$1.parser=_Parser$1.parse;marked$1.Renderer=_Renderer$1;marked$1.TextRenderer=_TextRenderer$1;marked$1.Lexer=_Lexer$1;marked$1.lexer=_Lexer$1.lex;marked$1.Tokenizer=_Tokenizer$1;marked$1.Hooks=_Hooks$1;marked$1.parse=marked$1;marked$1.options;marked$1.setOptions;marked$1.use;marked$1.walkTokens;marked$1.parseInline;_Parser$1.parse;_Lexer$1.lex;const scriptRel="modulepreload",assetsURL=function(Ra){return"/md/"+Ra},seen={},__vitePreload=function(qa,nd,od){let ld=Promise.resolve();if(nd&&nd.length>0){document.getElementsByTagName("link");const dd=document.querySelector("meta[property=csp-nonce]"),pd=(dd==null?void 0:dd.nonce)||(dd==null?void 0:dd.getAttribute("nonce"));ld=Promise.allSettled(nd.map(fd=>{if(fd=assetsURL(fd),fd in seen)return;seen[fd]=!0;const md=fd.endsWith(".css"),vd=md?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${fd}"]${vd}`))return;const Ad=document.createElement("link");if(Ad.rel=md?"stylesheet":scriptRel,md||(Ad.as="script"),Ad.crossOrigin="",Ad.href=fd,pd&&Ad.setAttribute("nonce",pd),document.head.appendChild(Ad),md)return new Promise((Nd,Id)=>{Ad.addEventListener("load",Nd),Ad.addEventListener("error",()=>Id(new Error(`Unable to preload CSS for ${fd}`)))})}))}function ud(dd){const pd=new Event("vite:preloadError",{cancelable:!0});if(pd.payload=dd,window.dispatchEvent(pd),!pd.defaultPrevented)throw dd}return ld.then(dd=>{for(const pd of dd||[])pd.status==="rejected"&&ud(pd.reason);return qa().catch(ud)})};var dayjs_min={exports:{}};(function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=1e3,od=6e4,ld=36e5,ud="millisecond",dd="second",pd="minute",fd="hour",md="day",vd="week",Ad="month",Nd="quarter",Id="year",Od="date",Md="Invalid Date",Ud=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,jd=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Ld={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(xf){var vf=["th","st","nd","rd"],Af=xf%100;return"["+xf+(vf[(Af-20)%10]||vf[Af]||vf[0])+"]"}},Bd=function(xf,vf,Af){var Df=String(xf);return!Df||Df.length>=vf?xf:""+Array(vf+1-Df.length).join(Af)+xf},Gd={s:Bd,z:function(xf){var vf=-xf.utcOffset(),Af=Math.abs(vf),Df=Math.floor(Af/60),jf=Af%60;return(vf<=0?"+":"-")+Bd(Df,2,"0")+":"+Bd(jf,2,"0")},m:function xf(vf,Af){if(vf.date()<Af.date())return-xf(Af,vf);var Df=12*(Af.year()-vf.year())+(Af.month()-vf.month()),jf=vf.clone().add(Df,Ad),Jf=Af-jf<0,eh=vf.clone().add(Df+(Jf?-1:1),Ad);return+(-(Df+(Af-jf)/(Jf?jf-eh:eh-jf))||0)},a:function(xf){return xf<0?Math.ceil(xf)||0:Math.floor(xf)},p:function(xf){return{M:Ad,y:Id,w:vd,d:md,D:Od,h:fd,m:pd,s:dd,ms:ud,Q:Nd}[xf]||String(xf||"").toLowerCase().replace(/s$/,"")},u:function(xf){return xf===void 0}},qd="en",zd={};zd[qd]=Ld;var Xd="$isDayjsObject",gf=function(xf){return xf instanceof Ef||!(!xf||!xf[Xd])},Yd=function xf(vf,Af,Df){var jf;if(!vf)return qd;if(typeof vf=="string"){var Jf=vf.toLowerCase();zd[Jf]&&(jf=Jf),Af&&(zd[Jf]=Af,jf=Jf);var eh=vf.split("-");if(!jf&&eh.length>1)return xf(eh[0])}else{var th=vf.name;zd[th]=vf,jf=th}return!Df&&jf&&(qd=jf),jf||!Df&&qd},Zd=function(xf,vf){if(gf(xf))return xf.clone();var Af=typeof vf=="object"?vf:{};return Af.date=xf,Af.args=arguments,new Ef(Af)},df=Gd;df.l=Yd,df.i=gf,df.w=function(xf,vf){return Zd(xf,{locale:vf.$L,utc:vf.$u,x:vf.$x,$offset:vf.$offset})};var Ef=function(){function xf(Af){this.$L=Yd(Af.locale,null,!0),this.parse(Af),this.$x=this.$x||Af.x||{},this[Xd]=!0}var vf=xf.prototype;return vf.parse=function(Af){this.$d=function(Df){var jf=Df.date,Jf=Df.utc;if(jf===null)return new Date(NaN);if(df.u(jf))return new Date;if(jf instanceof Date)return new Date(jf);if(typeof jf=="string"&&!/Z$/i.test(jf)){var eh=jf.match(Ud);if(eh){var th=eh[2]-1||0,Uf=(eh[7]||"0").substring(0,3);return Jf?new Date(Date.UTC(eh[1],th,eh[3]||1,eh[4]||0,eh[5]||0,eh[6]||0,Uf)):new Date(eh[1],th,eh[3]||1,eh[4]||0,eh[5]||0,eh[6]||0,Uf)}}return new Date(jf)}(Af),this.init()},vf.init=function(){var Af=this.$d;this.$y=Af.getFullYear(),this.$M=Af.getMonth(),this.$D=Af.getDate(),this.$W=Af.getDay(),this.$H=Af.getHours(),this.$m=Af.getMinutes(),this.$s=Af.getSeconds(),this.$ms=Af.getMilliseconds()},vf.$utils=function(){return df},vf.isValid=function(){return this.$d.toString()!==Md},vf.isSame=function(Af,Df){var jf=Zd(Af);return this.startOf(Df)<=jf&&jf<=this.endOf(Df)},vf.isAfter=function(Af,Df){return Zd(Af)<this.startOf(Df)},vf.isBefore=function(Af,Df){return this.endOf(Df)<Zd(Af)},vf.$g=function(Af,Df,jf){return df.u(Af)?this[Df]:this.set(jf,Af)},vf.unix=function(){return Math.floor(this.valueOf()/1e3)},vf.valueOf=function(){return this.$d.getTime()},vf.startOf=function(Af,Df){var jf=this,Jf=!!df.u(Df)||Df,eh=df.p(Af),th=function(Yf,ih){var Th=df.w(jf.$u?Date.UTC(jf.$y,ih,Yf):new Date(jf.$y,ih,Yf),jf);return Jf?Th:Th.endOf(md)},Uf=function(Yf,ih){return df.w(jf.toDate()[Yf].apply(jf.toDate("s"),(Jf?[0,0,0,0]:[23,59,59,999]).slice(ih)),jf)},Of=this.$W,Wf=this.$M,qf=this.$D,zf="set"+(this.$u?"UTC":"");switch(eh){case Id:return Jf?th(1,0):th(31,11);case Ad:return Jf?th(1,Wf):th(0,Wf+1);case vd:var Tf=this.$locale().weekStart||0,Sf=(Of<Tf?Of+7:Of)-Tf;return th(Jf?qf-Sf:qf+(6-Sf),Wf);case md:case Od:return Uf(zf+"Hours",0);case fd:return Uf(zf+"Minutes",1);case pd:return Uf(zf+"Seconds",2);case dd:return Uf(zf+"Milliseconds",3);default:return this.clone()}},vf.endOf=function(Af){return this.startOf(Af,!1)},vf.$set=function(Af,Df){var jf,Jf=df.p(Af),eh="set"+(this.$u?"UTC":""),th=(jf={},jf[md]=eh+"Date",jf[Od]=eh+"Date",jf[Ad]=eh+"Month",jf[Id]=eh+"FullYear",jf[fd]=eh+"Hours",jf[pd]=eh+"Minutes",jf[dd]=eh+"Seconds",jf[ud]=eh+"Milliseconds",jf)[Jf],Uf=Jf===md?this.$D+(Df-this.$W):Df;if(Jf===Ad||Jf===Id){var Of=this.clone().set(Od,1);Of.$d[th](Uf),Of.init(),this.$d=Of.set(Od,Math.min(this.$D,Of.daysInMonth())).$d}else th&&this.$d[th](Uf);return this.init(),this},vf.set=function(Af,Df){return this.clone().$set(Af,Df)},vf.get=function(Af){return this[df.p(Af)]()},vf.add=function(Af,Df){var jf,Jf=this;Af=Number(Af);var eh=df.p(Df),th=function(Wf){var qf=Zd(Jf);return df.w(qf.date(qf.date()+Math.round(Wf*Af)),Jf)};if(eh===Ad)return this.set(Ad,this.$M+Af);if(eh===Id)return this.set(Id,this.$y+Af);if(eh===md)return th(1);if(eh===vd)return th(7);var Uf=(jf={},jf[pd]=od,jf[fd]=ld,jf[dd]=nd,jf)[eh]||1,Of=this.$d.getTime()+Af*Uf;return df.w(Of,this)},vf.subtract=function(Af,Df){return this.add(-1*Af,Df)},vf.format=function(Af){var Df=this,jf=this.$locale();if(!this.isValid())return jf.invalidDate||Md;var Jf=Af||"YYYY-MM-DDTHH:mm:ssZ",eh=df.z(this),th=this.$H,Uf=this.$m,Of=this.$M,Wf=jf.weekdays,qf=jf.months,zf=jf.meridiem,Tf=function(ih,Th,sh,Nf){return ih&&(ih[Th]||ih(Df,Jf))||sh[Th].slice(0,Nf)},Sf=function(ih){return df.s(th%12||12,ih,"0")},Yf=zf||function(ih,Th,sh){var Nf=ih<12?"AM":"PM";return sh?Nf.toLowerCase():Nf};return Jf.replace(jd,function(ih,Th){return Th||function(sh){switch(sh){case"YY":return String(Df.$y).slice(-2);case"YYYY":return df.s(Df.$y,4,"0");case"M":return Of+1;case"MM":return df.s(Of+1,2,"0");case"MMM":return Tf(jf.monthsShort,Of,qf,3);case"MMMM":return Tf(qf,Of);case"D":return Df.$D;case"DD":return df.s(Df.$D,2,"0");case"d":return String(Df.$W);case"dd":return Tf(jf.weekdaysMin,Df.$W,Wf,2);case"ddd":return Tf(jf.weekdaysShort,Df.$W,Wf,3);case"dddd":return Wf[Df.$W];case"H":return String(th);case"HH":return df.s(th,2,"0");case"h":return Sf(1);case"hh":return Sf(2);case"a":return Yf(th,Uf,!0);case"A":return Yf(th,Uf,!1);case"m":return String(Uf);case"mm":return df.s(Uf,2,"0");case"s":return String(Df.$s);case"ss":return df.s(Df.$s,2,"0");case"SSS":return df.s(Df.$ms,3,"0");case"Z":return eh}return null}(ih)||eh.replace(":","")})},vf.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},vf.diff=function(Af,Df,jf){var Jf,eh=this,th=df.p(Df),Uf=Zd(Af),Of=(Uf.utcOffset()-this.utcOffset())*od,Wf=this-Uf,qf=function(){return df.m(eh,Uf)};switch(th){case Id:Jf=qf()/12;break;case Ad:Jf=qf();break;case Nd:Jf=qf()/3;break;case vd:Jf=(Wf-Of)/6048e5;break;case md:Jf=(Wf-Of)/864e5;break;case fd:Jf=Wf/ld;break;case pd:Jf=Wf/od;break;case dd:Jf=Wf/nd;break;default:Jf=Wf}return jf?Jf:df.a(Jf)},vf.daysInMonth=function(){return this.endOf(Ad).$D},vf.$locale=function(){return zd[this.$L]},vf.locale=function(Af,Df){if(!Af)return this.$L;var jf=this.clone(),Jf=Yd(Af,Df,!0);return Jf&&(jf.$L=Jf),jf},vf.clone=function(){return df.w(this.$d,this)},vf.toDate=function(){return new Date(this.valueOf())},vf.toJSON=function(){return this.isValid()?this.toISOString():null},vf.toISOString=function(){return this.$d.toISOString()},vf.toString=function(){return this.$d.toUTCString()},xf}(),_f=Ef.prototype;return Zd.prototype=_f,[["$ms",ud],["$s",dd],["$m",pd],["$H",fd],["$W",md],["$M",Ad],["$y",Id],["$D",Od]].forEach(function(xf){_f[xf[1]]=function(vf){return this.$g(vf,xf[0],xf[1])}}),Zd.extend=function(xf,vf){return xf.$i||(xf(vf,Ef,Zd),xf.$i=!0),Zd},Zd.locale=Yd,Zd.isDayjs=gf,Zd.unix=function(xf){return Zd(1e3*xf)},Zd.en=zd[qd],Zd.Ls=zd,Zd.p={},Zd})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs2=getDefaultExportFromCjs(dayjs_minExports),Channel={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:Ra=>Ra>=255?255:Ra<0?0:Ra,g:Ra=>Ra>=255?255:Ra<0?0:Ra,b:Ra=>Ra>=255?255:Ra<0?0:Ra,h:Ra=>Ra%360,s:Ra=>Ra>=100?100:Ra<0?0:Ra,l:Ra=>Ra>=100?100:Ra<0?0:Ra,a:Ra=>Ra>=1?1:Ra<0?0:Ra},toLinear:Ra=>{const qa=Ra/255;return Ra>.03928?Math.pow((qa+.055)/1.055,2.4):qa/12.92},hue2rgb:(Ra,qa,nd)=>(nd<0&&(nd+=1),nd>1&&(nd-=1),nd<1/6?Ra+(qa-Ra)*6*nd:nd<1/2?qa:nd<2/3?Ra+(qa-Ra)*(2/3-nd)*6:Ra),hsl2rgb:({h:Ra,s:qa,l:nd},od)=>{if(!qa)return nd*2.55;Ra/=360,qa/=100,nd/=100;const ld=nd<.5?nd*(1+qa):nd+qa-nd*qa,ud=2*nd-ld;switch(od){case"r":return Channel.hue2rgb(ud,ld,Ra+1/3)*255;case"g":return Channel.hue2rgb(ud,ld,Ra)*255;case"b":return Channel.hue2rgb(ud,ld,Ra-1/3)*255}},rgb2hsl:({r:Ra,g:qa,b:nd},od)=>{Ra/=255,qa/=255,nd/=255;const ld=Math.max(Ra,qa,nd),ud=Math.min(Ra,qa,nd),dd=(ld+ud)/2;if(od==="l")return dd*100;if(ld===ud)return 0;const pd=ld-ud,fd=dd>.5?pd/(2-ld-ud):pd/(ld+ud);if(od==="s")return fd*100;switch(ld){case Ra:return((qa-nd)/pd+(qa<nd?6:0))*60;case qa:return((nd-Ra)/pd+2)*60;case nd:return((Ra-qa)/pd+4)*60;default:return-1}}},Lang={clamp:(Ra,qa,nd)=>qa>nd?Math.min(qa,Math.max(nd,Ra)):Math.min(nd,Math.max(qa,Ra)),round:Ra=>Math.round(Ra*1e10)/1e10},Unit={dec2hex:Ra=>{const qa=Math.round(Ra).toString(16);return qa.length>1?qa:`0${qa}`}},Utils$1={channel:Channel,lang:Lang,unit:Unit},DEC2HEX={};for(let Ra=0;Ra<=255;Ra++)DEC2HEX[Ra]=Utils$1.unit.dec2hex(Ra);const TYPE={ALL:0,RGB:1,HSL:2};class Type{constructor(){this.type=TYPE.ALL}get(){return this.type}set(qa){if(this.type&&this.type!==qa)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=qa}reset(){this.type=TYPE.ALL}is(qa){return this.type===qa}}class Channels{constructor(qa,nd){this.color=nd,this.changed=!1,this.data=qa,this.type=new Type}set(qa,nd){return this.color=nd,this.changed=!1,this.data=qa,this.type.type=TYPE.ALL,this}_ensureHSL(){const qa=this.data,{h:nd,s:od,l:ld}=qa;nd===void 0&&(qa.h=Utils$1.channel.rgb2hsl(qa,"h")),od===void 0&&(qa.s=Utils$1.channel.rgb2hsl(qa,"s")),ld===void 0&&(qa.l=Utils$1.channel.rgb2hsl(qa,"l"))}_ensureRGB(){const qa=this.data,{r:nd,g:od,b:ld}=qa;nd===void 0&&(qa.r=Utils$1.channel.hsl2rgb(qa,"r")),od===void 0&&(qa.g=Utils$1.channel.hsl2rgb(qa,"g")),ld===void 0&&(qa.b=Utils$1.channel.hsl2rgb(qa,"b"))}get r(){const qa=this.data,nd=qa.r;return!this.type.is(TYPE.HSL)&&nd!==void 0?nd:(this._ensureHSL(),Utils$1.channel.hsl2rgb(qa,"r"))}get g(){const qa=this.data,nd=qa.g;return!this.type.is(TYPE.HSL)&&nd!==void 0?nd:(this._ensureHSL(),Utils$1.channel.hsl2rgb(qa,"g"))}get b(){const qa=this.data,nd=qa.b;return!this.type.is(TYPE.HSL)&&nd!==void 0?nd:(this._ensureHSL(),Utils$1.channel.hsl2rgb(qa,"b"))}get h(){const qa=this.data,nd=qa.h;return!this.type.is(TYPE.RGB)&&nd!==void 0?nd:(this._ensureRGB(),Utils$1.channel.rgb2hsl(qa,"h"))}get s(){const qa=this.data,nd=qa.s;return!this.type.is(TYPE.RGB)&&nd!==void 0?nd:(this._ensureRGB(),Utils$1.channel.rgb2hsl(qa,"s"))}get l(){const qa=this.data,nd=qa.l;return!this.type.is(TYPE.RGB)&&nd!==void 0?nd:(this._ensureRGB(),Utils$1.channel.rgb2hsl(qa,"l"))}get a(){return this.data.a}set r(qa){this.type.set(TYPE.RGB),this.changed=!0,this.data.r=qa}set g(qa){this.type.set(TYPE.RGB),this.changed=!0,this.data.g=qa}set b(qa){this.type.set(TYPE.RGB),this.changed=!0,this.data.b=qa}set h(qa){this.type.set(TYPE.HSL),this.changed=!0,this.data.h=qa}set s(qa){this.type.set(TYPE.HSL),this.changed=!0,this.data.s=qa}set l(qa){this.type.set(TYPE.HSL),this.changed=!0,this.data.l=qa}set a(qa){this.changed=!0,this.data.a=qa}}const channels=new Channels({r:0,g:0,b:0,a:0},"transparent"),Hex={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:Ra=>{if(Ra.charCodeAt(0)!==35)return;const qa=Ra.match(Hex.re);if(!qa)return;const nd=qa[1],od=parseInt(nd,16),ld=nd.length,ud=ld%4===0,dd=ld>4,pd=dd?1:17,fd=dd?8:4,md=ud?0:-1,vd=dd?255:15;return channels.set({r:(od>>fd*(md+3)&vd)*pd,g:(od>>fd*(md+2)&vd)*pd,b:(od>>fd*(md+1)&vd)*pd,a:ud?(od&vd)*pd/255:1},Ra)},stringify:Ra=>{const{r:qa,g:nd,b:od,a:ld}=Ra;return ld<1?`#${DEC2HEX[Math.round(qa)]}${DEC2HEX[Math.round(nd)]}${DEC2HEX[Math.round(od)]}${DEC2HEX[Math.round(ld*255)]}`:`#${DEC2HEX[Math.round(qa)]}${DEC2HEX[Math.round(nd)]}${DEC2HEX[Math.round(od)]}`}},HSL={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:Ra=>{const qa=Ra.match(HSL.hueRe);if(qa){const[,nd,od]=qa;switch(od){case"grad":return Utils$1.channel.clamp.h(parseFloat(nd)*.9);case"rad":return Utils$1.channel.clamp.h(parseFloat(nd)*180/Math.PI);case"turn":return Utils$1.channel.clamp.h(parseFloat(nd)*360)}}return Utils$1.channel.clamp.h(parseFloat(Ra))},parse:Ra=>{const qa=Ra.charCodeAt(0);if(qa!==104&&qa!==72)return;const nd=Ra.match(HSL.re);if(!nd)return;const[,od,ld,ud,dd,pd]=nd;return channels.set({h:HSL._hue2deg(od),s:Utils$1.channel.clamp.s(parseFloat(ld)),l:Utils$1.channel.clamp.l(parseFloat(ud)),a:dd?Utils$1.channel.clamp.a(pd?parseFloat(dd)/100:parseFloat(dd)):1},Ra)},stringify:Ra=>{const{h:qa,s:nd,l:od,a:ld}=Ra;return ld<1?`hsla(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}%, ${Utils$1.lang.round(od)}%, ${ld})`:`hsl(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}%, ${Utils$1.lang.round(od)}%)`}},Keyword={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",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:"#ff00ff",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:"#00ff00",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:"#ff0000",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",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:Ra=>{Ra=Ra.toLowerCase();const qa=Keyword.colors[Ra];if(qa)return Hex.parse(qa)},stringify:Ra=>{const qa=Hex.stringify(Ra);for(const nd in Keyword.colors)if(Keyword.colors[nd]===qa)return nd}},RGB={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:Ra=>{const qa=Ra.charCodeAt(0);if(qa!==114&&qa!==82)return;const nd=Ra.match(RGB.re);if(!nd)return;const[,od,ld,ud,dd,pd,fd,md,vd]=nd;return channels.set({r:Utils$1.channel.clamp.r(ld?parseFloat(od)*2.55:parseFloat(od)),g:Utils$1.channel.clamp.g(dd?parseFloat(ud)*2.55:parseFloat(ud)),b:Utils$1.channel.clamp.b(fd?parseFloat(pd)*2.55:parseFloat(pd)),a:md?Utils$1.channel.clamp.a(vd?parseFloat(md)/100:parseFloat(md)):1},Ra)},stringify:Ra=>{const{r:qa,g:nd,b:od,a:ld}=Ra;return ld<1?`rgba(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}, ${Utils$1.lang.round(od)}, ${Utils$1.lang.round(ld)})`:`rgb(${Utils$1.lang.round(qa)}, ${Utils$1.lang.round(nd)}, ${Utils$1.lang.round(od)})`}},Color$1={format:{keyword:Keyword,hex:Hex,rgb:RGB,rgba:RGB,hsl:HSL,hsla:HSL},parse:Ra=>{if(typeof Ra!="string")return Ra;const qa=Hex.parse(Ra)||RGB.parse(Ra)||HSL.parse(Ra)||Keyword.parse(Ra);if(qa)return qa;throw new Error(`Unsupported color format: "${Ra}"`)},stringify:Ra=>!Ra.changed&&Ra.color?Ra.color:Ra.type.is(TYPE.HSL)||Ra.data.r===void 0?HSL.stringify(Ra):Ra.a<1||!Number.isInteger(Ra.r)||!Number.isInteger(Ra.g)||!Number.isInteger(Ra.b)?RGB.stringify(Ra):Hex.stringify(Ra)},change=(Ra,qa)=>{const nd=Color$1.parse(Ra);for(const od in qa)nd[od]=Utils$1.channel.clamp[od](qa[od]);return Color$1.stringify(nd)},rgba$1=(Ra,qa,nd=0,od=1)=>{if(typeof Ra!="number")return change(Ra,{a:qa});const ld=channels.set({r:Utils$1.channel.clamp.r(Ra),g:Utils$1.channel.clamp.g(qa),b:Utils$1.channel.clamp.b(nd),a:Utils$1.channel.clamp.a(od)});return Color$1.stringify(ld)},luminance=Ra=>{const{r:qa,g:nd,b:od}=Color$1.parse(Ra),ld=.2126*Utils$1.channel.toLinear(qa)+.7152*Utils$1.channel.toLinear(nd)+.0722*Utils$1.channel.toLinear(od);return Utils$1.lang.round(ld)},isLight=Ra=>luminance(Ra)>=.5,isDark=Ra=>!isLight(Ra),adjustChannel=(Ra,qa,nd)=>{const od=Color$1.parse(Ra),ld=od[qa],ud=Utils$1.channel.clamp[qa](ld+nd);return ld!==ud&&(od[qa]=ud),Color$1.stringify(od)},lighten=(Ra,qa)=>adjustChannel(Ra,"l",qa),darken=(Ra,qa)=>adjustChannel(Ra,"l",-qa),adjust=(Ra,qa)=>{const nd=Color$1.parse(Ra),od={};for(const ld in qa)qa[ld]&&(od[ld]=nd[ld]+qa[ld]);return change(Ra,od)},mix=(Ra,qa,nd=50)=>{const{r:od,g:ld,b:ud,a:dd}=Color$1.parse(Ra),{r:pd,g:fd,b:md,a:vd}=Color$1.parse(qa),Ad=nd/100,Nd=Ad*2-1,Id=dd-vd,Md=((Nd*Id===-1?Nd:(Nd+Id)/(1+Nd*Id))+1)/2,Ud=1-Md,jd=od*Md+pd*Ud,Ld=ld*Md+fd*Ud,Bd=ud*Md+md*Ud,Gd=dd*Ad+vd*(1-Ad);return rgba$1(jd,Ld,Bd,Gd)},invert=(Ra,qa=100)=>{const nd=Color$1.parse(Ra);return nd.r=255-nd.r,nd.g=255-nd.g,nd.b=255-nd.b,mix(nd,Ra,qa)};/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */const{entries,setPrototypeOf,isFrozen,getPrototypeOf:getPrototypeOf$2,getOwnPropertyDescriptor}=Object;let{freeze,seal,create:create$1}=Object,{apply:apply$2,construct}=typeof Reflect<"u"&&Reflect;freeze||(freeze=function(qa){return qa});seal||(seal=function(qa){return qa});apply$2||(apply$2=function(qa,nd,od){return qa.apply(nd,od)});construct||(construct=function(qa,nd){return new qa(...nd)});const arrayForEach=unapply(Array.prototype.forEach),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(Ra){return function(qa){for(var nd=arguments.length,od=new Array(nd>1?nd-1:0),ld=1;ld<nd;ld++)od[ld-1]=arguments[ld];return apply$2(Ra,qa,od)}}function unconstruct(Ra){return function(){for(var qa=arguments.length,nd=new Array(qa),od=0;od<qa;od++)nd[od]=arguments[od];return construct(Ra,nd)}}function addToSet(Ra,qa){let nd=arguments.length>2&&arguments[2]!==void 0?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(Ra,null);let od=qa.length;for(;od--;){let ld=qa[od];if(typeof ld=="string"){const ud=nd(ld);ud!==ld&&(isFrozen(qa)||(qa[od]=ud),ld=ud)}Ra[ld]=!0}return Ra}function cleanArray(Ra){for(let qa=0;qa<Ra.length;qa++)objectHasOwnProperty(Ra,qa)||(Ra[qa]=null);return Ra}function clone(Ra){const qa=create$1(null);for(const[nd,od]of entries(Ra))objectHasOwnProperty(Ra,nd)&&(Array.isArray(od)?qa[nd]=cleanArray(od):od&&typeof od=="object"&&od.constructor===Object?qa[nd]=clone(od):qa[nd]=od);return qa}function lookupGetter(Ra,qa){for(;Ra!==null;){const od=getOwnPropertyDescriptor(Ra,qa);if(od){if(od.get)return unapply(od.get);if(typeof od.value=="function")return unapply(od.value)}Ra=getPrototypeOf$2(Ra)}function nd(){return null}return nd}const html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text$1=freeze(["#text"]),html$2=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml$3=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\${[\w\W]*}/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var EXPRESSIONS=Object.freeze({__proto__:null,ARIA_ATTR,ATTR_WHITESPACE,CUSTOM_ELEMENT,DATA_ATTR,DOCTYPE_NAME,ERB_EXPR,IS_ALLOWED_URI,IS_SCRIPT_OR_DATA,MUSTACHE_EXPR,TMPLIT_EXPR});const NODE_TYPE={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},getGlobal=function(){return typeof window>"u"?null:window},_createTrustedTypesPolicy=function(qa,nd){if(typeof qa!="object"||typeof qa.createPolicy!="function")return null;let od=null;const ld="data-tt-policy-suffix";nd&&nd.hasAttribute(ld)&&(od=nd.getAttribute(ld));const ud="dompurify"+(od?"#"+od:"");try{return qa.createPolicy(ud,{createHTML(dd){return dd},createScriptURL(dd){return dd}})}catch{return console.warn("TrustedTypes policy "+ud+" could not be created."),null}};function createDOMPurify(){let Ra=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal();const qa=pm=>createDOMPurify(pm);if(qa.version="3.2.1",qa.removed=[],!Ra||!Ra.document||Ra.document.nodeType!==NODE_TYPE.document)return qa.isSupported=!1,qa;let{document:nd}=Ra;const od=nd,ld=od.currentScript,{DocumentFragment:ud,HTMLTemplateElement:dd,Node:pd,Element:fd,NodeFilter:md,NamedNodeMap:vd=Ra.NamedNodeMap||Ra.MozNamedAttrMap,HTMLFormElement:Ad,DOMParser:Nd,trustedTypes:Id}=Ra,Od=fd.prototype,Md=lookupGetter(Od,"cloneNode"),Ud=lookupGetter(Od,"remove"),jd=lookupGetter(Od,"nextSibling"),Ld=lookupGetter(Od,"childNodes"),Bd=lookupGetter(Od,"parentNode");if(typeof dd=="function"){const pm=nd.createElement("template");pm.content&&pm.content.ownerDocument&&(nd=pm.content.ownerDocument)}let Gd,qd="";const{implementation:zd,createNodeIterator:Xd,createDocumentFragment:gf,getElementsByTagName:Yd}=nd,{importNode:Zd}=od;let df={};qa.isSupported=typeof entries=="function"&&typeof Bd=="function"&&zd&&zd.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ef,ERB_EXPR:_f,TMPLIT_EXPR:xf,DATA_ATTR:vf,ARIA_ATTR:Af,IS_SCRIPT_OR_DATA:Df,ATTR_WHITESPACE:jf,CUSTOM_ELEMENT:Jf}=EXPRESSIONS;let{IS_ALLOWED_URI:eh}=EXPRESSIONS,th=null;const Uf=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text$1]);let Of=null;const Wf=addToSet({},[...html$2,...svg,...mathMl,...xml$3]);let qf=Object.seal(create$1(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),zf=null,Tf=null,Sf=!0,Yf=!0,ih=!1,Th=!0,sh=!1,Nf=!0,ph=!1,Oh=!1,Zf=!1,Rf=!1,Bf=!1,Kf=!1,wh=!0,Ah=!1;const mh="user-content-";let im=!0,Bh=!1,Tm={},Pm=null;const gm=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Mm=null;const Hm=addToSet({},["audio","video","img","source","image","track"]);let gh=null;const Lf=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$f="http://www.w3.org/1998/Math/MathML",fh="http://www.w3.org/2000/svg",Ch="http://www.w3.org/1999/xhtml";let Zh=Ch,dm=!1,Im=null;const Ym=addToSet({},[$f,fh,Ch],stringToString);let Fm=addToSet({},["mi","mo","mn","ms","mtext"]),ug=addToSet({},["annotation-xml"]);const rg=addToSet({},["title","style","font","a","script"]);let Eg=null;const kg=["application/xhtml+xml","text/html"],n_="text/html";let Fg=null,Kg=null;const Ng=nd.createElement("form"),g_=function(Uh){return Uh instanceof RegExp||Uh instanceof Function},Jg=function(){let Uh=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Kg&&Kg===Uh)){if((!Uh||typeof Uh!="object")&&(Uh={}),Uh=clone(Uh),Eg=kg.indexOf(Uh.PARSER_MEDIA_TYPE)===-1?n_:Uh.PARSER_MEDIA_TYPE,Fg=Eg==="application/xhtml+xml"?stringToString:stringToLowerCase,th=objectHasOwnProperty(Uh,"ALLOWED_TAGS")?addToSet({},Uh.ALLOWED_TAGS,Fg):Uf,Of=objectHasOwnProperty(Uh,"ALLOWED_ATTR")?addToSet({},Uh.ALLOWED_ATTR,Fg):Wf,Im=objectHasOwnProperty(Uh,"ALLOWED_NAMESPACES")?addToSet({},Uh.ALLOWED_NAMESPACES,stringToString):Ym,gh=objectHasOwnProperty(Uh,"ADD_URI_SAFE_ATTR")?addToSet(clone(Lf),Uh.ADD_URI_SAFE_ATTR,Fg):Lf,Mm=objectHasOwnProperty(Uh,"ADD_DATA_URI_TAGS")?addToSet(clone(Hm),Uh.ADD_DATA_URI_TAGS,Fg):Hm,Pm=objectHasOwnProperty(Uh,"FORBID_CONTENTS")?addToSet({},Uh.FORBID_CONTENTS,Fg):gm,zf=objectHasOwnProperty(Uh,"FORBID_TAGS")?addToSet({},Uh.FORBID_TAGS,Fg):{},Tf=objectHasOwnProperty(Uh,"FORBID_ATTR")?addToSet({},Uh.FORBID_ATTR,Fg):{},Tm=objectHasOwnProperty(Uh,"USE_PROFILES")?Uh.USE_PROFILES:!1,Sf=Uh.ALLOW_ARIA_ATTR!==!1,Yf=Uh.ALLOW_DATA_ATTR!==!1,ih=Uh.ALLOW_UNKNOWN_PROTOCOLS||!1,Th=Uh.ALLOW_SELF_CLOSE_IN_ATTR!==!1,sh=Uh.SAFE_FOR_TEMPLATES||!1,Nf=Uh.SAFE_FOR_XML!==!1,ph=Uh.WHOLE_DOCUMENT||!1,Rf=Uh.RETURN_DOM||!1,Bf=Uh.RETURN_DOM_FRAGMENT||!1,Kf=Uh.RETURN_TRUSTED_TYPE||!1,Zf=Uh.FORCE_BODY||!1,wh=Uh.SANITIZE_DOM!==!1,Ah=Uh.SANITIZE_NAMED_PROPS||!1,im=Uh.KEEP_CONTENT!==!1,Bh=Uh.IN_PLACE||!1,eh=Uh.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,Zh=Uh.NAMESPACE||Ch,Fm=Uh.MATHML_TEXT_INTEGRATION_POINTS||Fm,ug=Uh.HTML_INTEGRATION_POINTS||ug,qf=Uh.CUSTOM_ELEMENT_HANDLING||{},Uh.CUSTOM_ELEMENT_HANDLING&&g_(Uh.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(qf.tagNameCheck=Uh.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Uh.CUSTOM_ELEMENT_HANDLING&&g_(Uh.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(qf.attributeNameCheck=Uh.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Uh.CUSTOM_ELEMENT_HANDLING&&typeof Uh.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(qf.allowCustomizedBuiltInElements=Uh.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),sh&&(Yf=!1),Bf&&(Rf=!0),Tm&&(th=addToSet({},text$1),Of=[],Tm.html===!0&&(addToSet(th,html$1),addToSet(Of,html$2)),Tm.svg===!0&&(addToSet(th,svg$1),addToSet(Of,svg),addToSet(Of,xml$3)),Tm.svgFilters===!0&&(addToSet(th,svgFilters),addToSet(Of,svg),addToSet(Of,xml$3)),Tm.mathMl===!0&&(addToSet(th,mathMl$1),addToSet(Of,mathMl),addToSet(Of,xml$3))),Uh.ADD_TAGS&&(th===Uf&&(th=clone(th)),addToSet(th,Uh.ADD_TAGS,Fg)),Uh.ADD_ATTR&&(Of===Wf&&(Of=clone(Of)),addToSet(Of,Uh.ADD_ATTR,Fg)),Uh.ADD_URI_SAFE_ATTR&&addToSet(gh,Uh.ADD_URI_SAFE_ATTR,Fg),Uh.FORBID_CONTENTS&&(Pm===gm&&(Pm=clone(Pm)),addToSet(Pm,Uh.FORBID_CONTENTS,Fg)),im&&(th["#text"]=!0),ph&&addToSet(th,["html","head","body"]),th.table&&(addToSet(th,["tbody"]),delete zf.tbody),Uh.TRUSTED_TYPES_POLICY){if(typeof Uh.TRUSTED_TYPES_POLICY.createHTML!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Uh.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Gd=Uh.TRUSTED_TYPES_POLICY,qd=Gd.createHTML("")}else Gd===void 0&&(Gd=_createTrustedTypesPolicy(Id,ld)),Gd!==null&&typeof qd=="string"&&(qd=Gd.createHTML(""));freeze&&freeze(Uh),Kg=Uh}},C_=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]),N_=addToSet({},[...mathMl$1,...mathMlDisallowed]),a_=function(Uh){let Lm=Bd(Uh);(!Lm||!Lm.tagName)&&(Lm={namespaceURI:Zh,tagName:"template"});const Gm=stringToLowerCase(Uh.tagName),_g=stringToLowerCase(Lm.tagName);return Im[Uh.namespaceURI]?Uh.namespaceURI===fh?Lm.namespaceURI===Ch?Gm==="svg":Lm.namespaceURI===$f?Gm==="svg"&&(_g==="annotation-xml"||Fm[_g]):!!C_[Gm]:Uh.namespaceURI===$f?Lm.namespaceURI===Ch?Gm==="math":Lm.namespaceURI===fh?Gm==="math"&&ug[_g]:!!N_[Gm]:Uh.namespaceURI===Ch?Lm.namespaceURI===fh&&!ug[_g]||Lm.namespaceURI===$f&&!Fm[_g]?!1:!N_[Gm]&&(rg[Gm]||!C_[Gm]):!!(Eg==="application/xhtml+xml"&&Im[Uh.namespaceURI]):!1},c_=function(Uh){arrayPush(qa.removed,{element:Uh});try{Bd(Uh).removeChild(Uh)}catch{Ud(Uh)}},ng=function(Uh,Lm){try{arrayPush(qa.removed,{attribute:Lm.getAttributeNode(Uh),from:Lm})}catch{arrayPush(qa.removed,{attribute:null,from:Lm})}if(Lm.removeAttribute(Uh),Uh==="is"&&!Of[Uh])if(Rf||Bf)try{c_(Lm)}catch{}else try{Lm.setAttribute(Uh,"")}catch{}},ub=function(Uh){let Lm=null,Gm=null;if(Zf)Uh="<remove></remove>"+Uh;else{const Sg=stringMatch(Uh,/^[\r\n\t ]+/);Gm=Sg&&Sg[0]}Eg==="application/xhtml+xml"&&Zh===Ch&&(Uh='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Uh+"</body></html>");const _g=Gd?Gd.createHTML(Uh):Uh;if(Zh===Ch)try{Lm=new Nd().parseFromString(_g,Eg)}catch{}if(!Lm||!Lm.documentElement){Lm=zd.createDocument(Zh,"template",null);try{Lm.documentElement.innerHTML=dm?qd:_g}catch{}}const Km=Lm.body||Lm.documentElement;return Uh&&Gm&&Km.insertBefore(nd.createTextNode(Gm),Km.childNodes[0]||null),Zh===Ch?Yd.call(Lm,ph?"html":"body")[0]:ph?Lm.documentElement:Km},Tb=function(Uh){return Xd.call(Uh.ownerDocument||Uh,Uh,md.SHOW_ELEMENT|md.SHOW_COMMENT|md.SHOW_TEXT|md.SHOW_PROCESSING_INSTRUCTION|md.SHOW_CDATA_SECTION,null)},q_=function(Uh){return Uh instanceof Ad&&(typeof Uh.nodeName!="string"||typeof Uh.textContent!="string"||typeof Uh.removeChild!="function"||!(Uh.attributes instanceof vd)||typeof Uh.removeAttribute!="function"||typeof Uh.setAttribute!="function"||typeof Uh.namespaceURI!="string"||typeof Uh.insertBefore!="function"||typeof Uh.hasChildNodes!="function")},Pf=function(Uh){return typeof pd=="function"&&Uh instanceof pd};function kh(pm,Uh,Lm){df[pm]&&arrayForEach(df[pm],Gm=>{Gm.call(qa,Uh,Lm,Kg)})}const vh=function(Uh){let Lm=null;if(kh("beforeSanitizeElements",Uh,null),q_(Uh))return c_(Uh),!0;const Gm=Fg(Uh.nodeName);if(kh("uponSanitizeElement",Uh,{tagName:Gm,allowedTags:th}),Uh.hasChildNodes()&&!Pf(Uh.firstElementChild)&®ExpTest(/<[/\w]/g,Uh.innerHTML)&®ExpTest(/<[/\w]/g,Uh.textContent)||Uh.nodeType===NODE_TYPE.progressingInstruction||Nf&&Uh.nodeType===NODE_TYPE.comment&®ExpTest(/<[/\w]/g,Uh.data))return c_(Uh),!0;if(!th[Gm]||zf[Gm]){if(!zf[Gm]&&sm(Gm)&&(qf.tagNameCheck instanceof RegExp&®ExpTest(qf.tagNameCheck,Gm)||qf.tagNameCheck instanceof Function&&qf.tagNameCheck(Gm)))return!1;if(im&&!Pm[Gm]){const _g=Bd(Uh)||Uh.parentNode,Km=Ld(Uh)||Uh.childNodes;if(Km&&_g){const Sg=Km.length;for(let t_=Sg-1;t_>=0;--t_){const Zg=Md(Km[t_],!0);Zg.__removalCount=(Uh.__removalCount||0)+1,_g.insertBefore(Zg,jd(Uh))}}}return c_(Uh),!0}return Uh instanceof fd&&!a_(Uh)||(Gm==="noscript"||Gm==="noembed"||Gm==="noframes")&®ExpTest(/<\/no(script|embed|frames)/i,Uh.innerHTML)?(c_(Uh),!0):(sh&&Uh.nodeType===NODE_TYPE.text&&(Lm=Uh.textContent,arrayForEach([Ef,_f,xf],_g=>{Lm=stringReplace(Lm,_g," ")}),Uh.textContent!==Lm&&(arrayPush(qa.removed,{element:Uh.cloneNode()}),Uh.textContent=Lm)),kh("afterSanitizeElements",Uh,null),!1)},Rh=function(Uh,Lm,Gm){if(wh&&(Lm==="id"||Lm==="name")&&(Gm in nd||Gm in Ng))return!1;if(!(Yf&&!Tf[Lm]&®ExpTest(vf,Lm))){if(!(Sf&®ExpTest(Af,Lm))){if(!Of[Lm]||Tf[Lm]){if(!(sm(Uh)&&(qf.tagNameCheck instanceof RegExp&®ExpTest(qf.tagNameCheck,Uh)||qf.tagNameCheck instanceof Function&&qf.tagNameCheck(Uh))&&(qf.attributeNameCheck instanceof RegExp&®ExpTest(qf.attributeNameCheck,Lm)||qf.attributeNameCheck instanceof Function&&qf.attributeNameCheck(Lm))||Lm==="is"&&qf.allowCustomizedBuiltInElements&&(qf.tagNameCheck instanceof RegExp&®ExpTest(qf.tagNameCheck,Gm)||qf.tagNameCheck instanceof Function&&qf.tagNameCheck(Gm))))return!1}else if(!gh[Lm]){if(!regExpTest(eh,stringReplace(Gm,jf,""))){if(!((Lm==="src"||Lm==="xlink:href"||Lm==="href")&&Uh!=="script"&&stringIndexOf(Gm,"data:")===0&&Mm[Uh])){if(!(ih&&!regExpTest(Df,stringReplace(Gm,jf,"")))){if(Gm)return!1}}}}}}return!0},sm=function(Uh){return Uh!=="annotation-xml"&&stringMatch(Uh,Jf)},Jh=function(Uh){kh("beforeSanitizeAttributes",Uh,null);const{attributes:Lm}=Uh;if(!Lm)return;const Gm={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Of,forceKeepAttr:void 0};let _g=Lm.length;for(;_g--;){const Km=Lm[_g],{name:Sg,namespaceURI:t_,value:Zg}=Km,jg=Fg(Sg);let tg=Sg==="value"?Zg:stringTrim(Zg);if(Gm.attrName=jg,Gm.attrValue=tg,Gm.keepAttr=!0,Gm.forceKeepAttr=void 0,kh("uponSanitizeAttribute",Uh,Gm),tg=Gm.attrValue,Ah&&(jg==="id"||jg==="name")&&(ng(Sg,Uh),tg=mh+tg),Nf&®ExpTest(/((--!?|])>)|<\/(style|title)/i,tg)){ng(Sg,Uh);continue}if(Gm.forceKeepAttr||(ng(Sg,Uh),!Gm.keepAttr))continue;if(!Th&®ExpTest(/\/>/i,tg)){ng(Sg,Uh);continue}sh&&arrayForEach([Ef,_f,xf],Gg=>{tg=stringReplace(tg,Gg," ")});const y_=Fg(Uh.nodeName);if(Rh(y_,jg,tg)){if(Gd&&typeof Id=="object"&&typeof Id.getAttributeType=="function"&&!t_)switch(Id.getAttributeType(y_,jg)){case"TrustedHTML":{tg=Gd.createHTML(tg);break}case"TrustedScriptURL":{tg=Gd.createScriptURL(tg);break}}try{t_?Uh.setAttributeNS(t_,Sg,tg):Uh.setAttribute(Sg,tg),q_(Uh)?c_(Uh):arrayPop(qa.removed)}catch{}}}kh("afterSanitizeAttributes",Uh,null)},hm=function pm(Uh){let Lm=null;const Gm=Tb(Uh);for(kh("beforeSanitizeShadowDOM",Uh,null);Lm=Gm.nextNode();)kh("uponSanitizeShadowNode",Lm,null),!vh(Lm)&&(Lm.content instanceof ud&&pm(Lm.content),Jh(Lm));kh("afterSanitizeShadowDOM",Uh,null)};return qa.sanitize=function(pm){let Uh=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Lm=null,Gm=null,_g=null,Km=null;if(dm=!pm,dm&&(pm="<!-->"),typeof pm!="string"&&!Pf(pm))if(typeof pm.toString=="function"){if(pm=pm.toString(),typeof pm!="string")throw typeErrorCreate("dirty is not a string, aborting")}else throw typeErrorCreate("toString is not a function");if(!qa.isSupported)return pm;if(Oh||Jg(Uh),qa.removed=[],typeof pm=="string"&&(Bh=!1),Bh){if(pm.nodeName){const Zg=Fg(pm.nodeName);if(!th[Zg]||zf[Zg])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(pm instanceof pd)Lm=ub("<!---->"),Gm=Lm.ownerDocument.importNode(pm,!0),Gm.nodeType===NODE_TYPE.element&&Gm.nodeName==="BODY"||Gm.nodeName==="HTML"?Lm=Gm:Lm.appendChild(Gm);else{if(!Rf&&!sh&&!ph&&pm.indexOf("<")===-1)return Gd&&Kf?Gd.createHTML(pm):pm;if(Lm=ub(pm),!Lm)return Rf?null:Kf?qd:""}Lm&&Zf&&c_(Lm.firstChild);const Sg=Tb(Bh?pm:Lm);for(;_g=Sg.nextNode();)vh(_g)||(_g.content instanceof ud&&hm(_g.content),Jh(_g));if(Bh)return pm;if(Rf){if(Bf)for(Km=gf.call(Lm.ownerDocument);Lm.firstChild;)Km.appendChild(Lm.firstChild);else Km=Lm;return(Of.shadowroot||Of.shadowrootmode)&&(Km=Zd.call(od,Km,!0)),Km}let t_=ph?Lm.outerHTML:Lm.innerHTML;return ph&&th["!doctype"]&&Lm.ownerDocument&&Lm.ownerDocument.doctype&&Lm.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,Lm.ownerDocument.doctype.name)&&(t_="<!DOCTYPE "+Lm.ownerDocument.doctype.name+`>
|
||
`+t_),sh&&arrayForEach([Ef,_f,xf],Zg=>{t_=stringReplace(t_,Zg," ")}),Gd&&Kf?Gd.createHTML(t_):t_},qa.setConfig=function(){let pm=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Jg(pm),Oh=!0},qa.clearConfig=function(){Kg=null,Oh=!1},qa.isValidAttribute=function(pm,Uh,Lm){Kg||Jg({});const Gm=Fg(pm),_g=Fg(Uh);return Rh(Gm,_g,Lm)},qa.addHook=function(pm,Uh){typeof Uh=="function"&&(df[pm]=df[pm]||[],arrayPush(df[pm],Uh))},qa.removeHook=function(pm){if(df[pm])return arrayPop(df[pm])},qa.removeHooks=function(pm){df[pm]&&(df[pm]=[])},qa.removeAllHooks=function(){df={}},qa}var purify=createDOMPurify(),__defProp=Object.defineProperty,__name=(Ra,qa)=>__defProp(Ra,"name",{value:qa,configurable:!0}),__export=(Ra,qa)=>{for(var nd in qa)__defProp(Ra,nd,{get:qa[nd],enumerable:!0})},LEVELS={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},log$1={trace:__name((...Ra)=>{},"trace"),debug:__name((...Ra)=>{},"debug"),info:__name((...Ra)=>{},"info"),warn:__name((...Ra)=>{},"warn"),error:__name((...Ra)=>{},"error"),fatal:__name((...Ra)=>{},"fatal")},setLogLevel=__name(function(Ra="fatal"){let qa=LEVELS.fatal;typeof Ra=="string"?Ra.toLowerCase()in LEVELS&&(qa=LEVELS[Ra]):typeof Ra=="number"&&(qa=Ra),log$1.trace=()=>{},log$1.debug=()=>{},log$1.info=()=>{},log$1.warn=()=>{},log$1.error=()=>{},log$1.fatal=()=>{},qa<=LEVELS.fatal&&(log$1.fatal=console.error?console.error.bind(console,format$1("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",format$1("FATAL"))),qa<=LEVELS.error&&(log$1.error=console.error?console.error.bind(console,format$1("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",format$1("ERROR"))),qa<=LEVELS.warn&&(log$1.warn=console.warn?console.warn.bind(console,format$1("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",format$1("WARN"))),qa<=LEVELS.info&&(log$1.info=console.info?console.info.bind(console,format$1("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",format$1("INFO"))),qa<=LEVELS.debug&&(log$1.debug=console.debug?console.debug.bind(console,format$1("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",format$1("DEBUG"))),qa<=LEVELS.trace&&(log$1.trace=console.debug?console.debug.bind(console,format$1("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",format$1("TRACE")))},"setLogLevel"),format$1=__name(Ra=>`%c${dayjs2().format("ss.SSS")} : ${Ra} : `,"format"),frontMatterRegex=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,directiveRegex=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,anyCommentRegex=/\s*%%.*\n/gm,wS,UnknownDiagramError=(wS=class extends Error{constructor(qa){super(qa),this.name="UnknownDiagramError"}},__name(wS,"UnknownDiagramError"),wS),detectors={},detectType$1=__name(function(Ra,qa){Ra=Ra.replace(frontMatterRegex,"").replace(directiveRegex,"").replace(anyCommentRegex,`
|
||
`);for(const[nd,{detector:od}]of Object.entries(detectors))if(od(Ra,qa))return nd;throw new UnknownDiagramError(`No diagram type detected matching given configuration for text: ${Ra}`)},"detectType"),registerLazyLoadedDiagrams=__name((...Ra)=>{for(const{id:qa,detector:nd,loader:od}of Ra)addDetector(qa,nd,od)},"registerLazyLoadedDiagrams"),addDetector=__name((Ra,qa,nd)=>{detectors[Ra]&&log$1.warn(`Detector with key ${Ra} already exists. Overwriting.`),detectors[Ra]={detector:qa,loader:nd},log$1.debug(`Detector with key ${Ra} added${nd?" with loader":""}`)},"addDetector"),getDiagramLoader=__name(Ra=>detectors[Ra].loader,"getDiagramLoader"),assignWithDepth=__name((Ra,qa,{depth:nd=2,clobber:od=!1}={})=>{const ld={depth:nd,clobber:od};return Array.isArray(qa)&&!Array.isArray(Ra)?(qa.forEach(ud=>assignWithDepth(Ra,ud,ld)),Ra):Array.isArray(qa)&&Array.isArray(Ra)?(qa.forEach(ud=>{Ra.includes(ud)||Ra.push(ud)}),Ra):Ra===void 0||nd<=0?Ra!=null&&typeof Ra=="object"&&typeof qa=="object"?Object.assign(Ra,qa):qa:(qa!==void 0&&typeof Ra=="object"&&typeof qa=="object"&&Object.keys(qa).forEach(ud=>{typeof qa[ud]=="object"&&(Ra[ud]===void 0||typeof Ra[ud]=="object")?(Ra[ud]===void 0&&(Ra[ud]=Array.isArray(qa[ud])?[]:{}),Ra[ud]=assignWithDepth(Ra[ud],qa[ud],{depth:nd-1,clobber:od})):(od||typeof Ra[ud]!="object"&&typeof qa[ud]!="object")&&(Ra[ud]=qa[ud])}),Ra)},"assignWithDepth"),assignWithDepth_default=assignWithDepth,oldAttributeBackgroundColorOdd="#ffffff",oldAttributeBackgroundColorEven="#f2f2f2",mkBorder=__name((Ra,qa)=>qa?adjust(Ra,{s:-40,l:10}):adjust(Ra,{s:-40,l:-10}),"mkBorder"),DS,Theme=(DS=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||adjust(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||adjust(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||mkBorder(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||mkBorder(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||invert(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||invert(this.tertiaryColor),this.lineColor=this.lineColor||invert(this.background),this.arrowheadColor=this.arrowheadColor||invert(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?darken(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||darken(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||invert(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||lighten(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.darkMode)for(let Id=0;Id<this.THEME_COLOR_LIMIT;Id++)this["cScale"+Id]=darken(this["cScale"+Id],75);else for(let Id=0;Id<this.THEME_COLOR_LIMIT;Id++)this["cScale"+Id]=darken(this["cScale"+Id],25);for(let Id=0;Id<this.THEME_COLOR_LIMIT;Id++)this["cScaleInv"+Id]=this["cScaleInv"+Id]||invert(this["cScale"+Id]);for(let Id=0;Id<this.THEME_COLOR_LIMIT;Id++)this.darkMode?this["cScalePeer"+Id]=this["cScalePeer"+Id]||lighten(this["cScale"+Id],10):this["cScalePeer"+Id]=this["cScalePeer"+Id]||darken(this["cScale"+Id],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let Id=0;Id<this.THEME_COLOR_LIMIT;Id++)this["cScaleLabel"+Id]=this["cScaleLabel"+Id]||this.scaleLabelColor;const qa=this.darkMode?-4:-1;for(let Id=0;Id<5;Id++)this["surface"+Id]=this["surface"+Id]||adjust(this.mainBkg,{h:180,s:-15,l:qa*(5+Id*3)}),this["surfacePeer"+Id]=this["surfacePeer"+Id]||adjust(this.mainBkg,{h:180,s:-15,l:qa*(8+Id*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||adjust(this.primaryColor,{h:64}),this.fillType3=this.fillType3||adjust(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||adjust(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||adjust(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||adjust(this.primaryColor,{h:128}),this.fillType7=this.fillType7||adjust(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||adjust(this.primaryColor,{l:-10}),this.pie5=this.pie5||adjust(this.secondaryColor,{l:-10}),this.pie6=this.pie6||adjust(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||adjust(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||adjust(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||adjust(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||adjust(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||adjust(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||adjust(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((nd=this.xyChart)==null?void 0:nd.backgroundColor)||this.background,titleColor:((od=this.xyChart)==null?void 0:od.titleColor)||this.primaryTextColor,xAxisTitleColor:((ld=this.xyChart)==null?void 0:ld.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ud=this.xyChart)==null?void 0:ud.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((dd=this.xyChart)==null?void 0:dd.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((pd=this.xyChart)==null?void 0:pd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((fd=this.xyChart)==null?void 0:fd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((md=this.xyChart)==null?void 0:md.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((vd=this.xyChart)==null?void 0:vd.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Ad=this.xyChart)==null?void 0:Ad.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Nd=this.xyChart)==null?void 0:Nd.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?darken(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||adjust(this.primaryColor,{h:-30}),this.git4=this.git4||adjust(this.primaryColor,{h:-60}),this.git5=this.git5||adjust(this.primaryColor,{h:-90}),this.git6=this.git6||adjust(this.primaryColor,{h:60}),this.git7=this.git7||adjust(this.primaryColor,{h:120}),this.darkMode?(this.git0=lighten(this.git0,25),this.git1=lighten(this.git1,25),this.git2=lighten(this.git2,25),this.git3=lighten(this.git3,25),this.git4=lighten(this.git4,25),this.git5=lighten(this.git5,25),this.git6=lighten(this.git6,25),this.git7=lighten(this.git7,25)):(this.git0=darken(this.git0,25),this.git1=darken(this.git1,25),this.git2=darken(this.git2,25),this.git3=darken(this.git3,25),this.git4=darken(this.git4,25),this.git5=darken(this.git5,25),this.git6=darken(this.git6,25),this.git7=darken(this.git7,25)),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(DS,"Theme"),DS),getThemeVariables=__name(Ra=>{const qa=new Theme;return qa.calculate(Ra),qa},"getThemeVariables"),IS,Theme2=(IS=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=lighten(this.primaryColor,16),this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=invert(this.background),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=lighten(invert("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=rgba$1(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=darken("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=darken(this.sectionBkgColor,10),this.taskBorderColor=rgba$1(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=rgba$1(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.secondBkg=lighten(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=lighten(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=lighten(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330});for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||invert(this["cScale"+Nd]);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||lighten(this["cScale"+Nd],10);for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(-10+Nd*4)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(-7+Nd*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.scaleLabelColor;for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["pie"+Nd]=this["cScale"+Nd];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?darken(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=lighten(this.secondaryColor,20),this.git1=lighten(this.pie2||this.secondaryColor,20),this.git2=lighten(this.pie3||this.tertiaryColor,20),this.git3=lighten(this.pie4||adjust(this.primaryColor,{h:-30}),20),this.git4=lighten(this.pie5||adjust(this.primaryColor,{h:-60}),20),this.git5=lighten(this.pie6||adjust(this.primaryColor,{h:-90}),10),this.git6=lighten(this.pie7||adjust(this.primaryColor,{h:60}),10),this.git7=lighten(this.pie8||adjust(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||invert(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||invert(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||lighten(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||lighten(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(IS,"Theme"),IS),getThemeVariables2=__name(Ra=>{const qa=new Theme2;return qa.calculate(Ra),qa},"getThemeVariables"),RS,Theme3=(RS=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=adjust(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=rgba$1(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||darken(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||darken(this.tertiaryColor,40);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScale"+Nd]=darken(this["cScale"+Nd],10),this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||darken(this["cScale"+Nd],25);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||adjust(this["cScale"+Nd],{h:180});for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{h:30,l:-(5+Nd*5)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{h:30,l:-(7+Nd*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||invert(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||invert(this.labelTextColor);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=lighten(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||adjust(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||adjust(this.primaryColor,{l:-10}),this.pie5=this.pie5||adjust(this.secondaryColor,{l:-30}),this.pie6=this.pie6||adjust(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||adjust(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||adjust(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||adjust(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||adjust(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||adjust(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||adjust(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||adjust(this.primaryColor,{h:-30}),this.git4=this.git4||adjust(this.primaryColor,{h:-60}),this.git5=this.git5||adjust(this.primaryColor,{h:-90}),this.git6=this.git6||adjust(this.primaryColor,{h:60}),this.git7=this.git7||adjust(this.primaryColor,{h:120}),this.darkMode?(this.git0=lighten(this.git0,25),this.git1=lighten(this.git1,25),this.git2=lighten(this.git2,25),this.git3=lighten(this.git3,25),this.git4=lighten(this.git4,25),this.git5=lighten(this.git5,25),this.git6=lighten(this.git6,25),this.git7=lighten(this.git7,25)):(this.git0=darken(this.git0,25),this.git1=darken(this.git1,25),this.git2=darken(this.git2,25),this.git3=darken(this.git3,25),this.git4=darken(this.git4,25),this.git5=darken(this.git5,25),this.git6=darken(this.git6,25),this.git7=darken(this.git7,25)),this.gitInv0=this.gitInv0||darken(invert(this.git0),25),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||invert(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||invert(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(RS,"Theme"),RS),getThemeVariables3=__name(Ra=>{const qa=new Theme3;return qa.calculate(Ra),qa},"getThemeVariables"),OS,Theme4=(OS=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=lighten("#cde498",10),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.primaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.actorBorder=darken(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||adjust(this.primaryColor,{h:30}),this.cScale4=this.cScale4||adjust(this.primaryColor,{h:60}),this.cScale5=this.cScale5||adjust(this.primaryColor,{h:90}),this.cScale6=this.cScale6||adjust(this.primaryColor,{h:120}),this.cScale7=this.cScale7||adjust(this.primaryColor,{h:150}),this.cScale8=this.cScale8||adjust(this.primaryColor,{h:210}),this.cScale9=this.cScale9||adjust(this.primaryColor,{h:270}),this.cScale10=this.cScale10||adjust(this.primaryColor,{h:300}),this.cScale11=this.cScale11||adjust(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||darken(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||darken(this.tertiaryColor,40);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScale"+Nd]=darken(this["cScale"+Nd],10),this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||darken(this["cScale"+Nd],25);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||adjust(this["cScale"+Nd],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.scaleLabelColor;for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(5+Nd*5)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{h:30,s:-30,l:-(8+Nd*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||adjust(this.primaryColor,{l:-30}),this.pie5=this.pie5||adjust(this.secondaryColor,{l:-30}),this.pie6=this.pie6||adjust(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||adjust(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||adjust(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||adjust(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||adjust(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||adjust(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||adjust(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||adjust(this.primaryColor,{h:-30}),this.git4=this.git4||adjust(this.primaryColor,{h:-60}),this.git5=this.git5||adjust(this.primaryColor,{h:-90}),this.git6=this.git6||adjust(this.primaryColor,{h:60}),this.git7=this.git7||adjust(this.primaryColor,{h:120}),this.darkMode?(this.git0=lighten(this.git0,25),this.git1=lighten(this.git1,25),this.git2=lighten(this.git2,25),this.git3=lighten(this.git3,25),this.git4=lighten(this.git4,25),this.git5=lighten(this.git5,25),this.git6=lighten(this.git6,25),this.git7=lighten(this.git7,25)):(this.git0=darken(this.git0,25),this.git1=darken(this.git1,25),this.git2=darken(this.git2,25),this.git3=darken(this.git3,25),this.git4=darken(this.git4,25),this.git5=darken(this.git5,25),this.git6=darken(this.git6,25),this.git7=darken(this.git7,25)),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||invert(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||invert(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(OS,"Theme"),OS),getThemeVariables4=__name(Ra=>{const qa=new Theme4;return qa.calculate(Ra),qa},"getThemeVariables"),kS,Theme5=(kS=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=lighten(this.contrast,55),this.background="#ffffff",this.tertiaryColor=adjust(this.primaryColor,{h:-160}),this.primaryBorderColor=mkBorder(this.primaryColor,this.darkMode),this.secondaryBorderColor=mkBorder(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mkBorder(this.tertiaryColor,this.darkMode),this.primaryTextColor=invert(this.primaryColor),this.secondaryTextColor=invert(this.secondaryColor),this.tertiaryTextColor=invert(this.tertiaryColor),this.lineColor=invert(this.background),this.textColor=invert(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad;this.secondBkg=lighten(this.contrast,55),this.border2=this.contrast,this.actorBorder=lighten(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleInv"+Nd]=this["cScaleInv"+Nd]||invert(this["cScale"+Nd]);for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this.darkMode?this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||lighten(this["cScale"+Nd],10):this["cScalePeer"+Nd]=this["cScalePeer"+Nd]||darken(this["cScale"+Nd],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["cScaleLabel"+Nd]=this["cScaleLabel"+Nd]||this.scaleLabelColor;for(let Nd=0;Nd<5;Nd++)this["surface"+Nd]=this["surface"+Nd]||adjust(this.mainBkg,{l:-(5+Nd*5)}),this["surfacePeer"+Nd]=this["surfacePeer"+Nd]||adjust(this.mainBkg,{l:-(8+Nd*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=lighten(this.contrast,30),this.sectionBkgColor2=lighten(this.contrast,30),this.taskBorderColor=darken(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=lighten(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=darken(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=adjust(this.primaryColor,{h:64}),this.fillType3=adjust(this.secondaryColor,{h:64}),this.fillType4=adjust(this.primaryColor,{h:-64}),this.fillType5=adjust(this.secondaryColor,{h:-64}),this.fillType6=adjust(this.primaryColor,{h:128}),this.fillType7=adjust(this.secondaryColor,{h:128});for(let Nd=0;Nd<this.THEME_COLOR_LIMIT;Nd++)this["pie"+Nd]=this["cScale"+Nd];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||adjust(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||adjust(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||adjust(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||adjust(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||adjust(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||adjust(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||isDark(this.quadrant1Fill)?lighten(this.quadrant1Fill):darken(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((qa=this.xyChart)==null?void 0:qa.backgroundColor)||this.background,titleColor:((nd=this.xyChart)==null?void 0:nd.titleColor)||this.primaryTextColor,xAxisTitleColor:((od=this.xyChart)==null?void 0:od.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((ld=this.xyChart)==null?void 0:ld.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((ud=this.xyChart)==null?void 0:ud.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((dd=this.xyChart)==null?void 0:dd.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((pd=this.xyChart)==null?void 0:pd.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((fd=this.xyChart)==null?void 0:fd.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((md=this.xyChart)==null?void 0:md.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((vd=this.xyChart)==null?void 0:vd.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Ad=this.xyChart)==null?void 0:Ad.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=darken(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||adjust(this.primaryColor,{h:-30}),this.git4=this.pie5||adjust(this.primaryColor,{h:-60}),this.git5=this.pie6||adjust(this.primaryColor,{h:-90}),this.git6=this.pie7||adjust(this.primaryColor,{h:60}),this.git7=this.pie8||adjust(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||invert(this.git0),this.gitInv1=this.gitInv1||invert(this.git1),this.gitInv2=this.gitInv2||invert(this.git2),this.gitInv3=this.gitInv3||invert(this.git3),this.gitInv4=this.gitInv4||invert(this.git4),this.gitInv5=this.gitInv5||invert(this.git5),this.gitInv6=this.gitInv6||invert(this.git6),this.gitInv7=this.gitInv7||invert(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oldAttributeBackgroundColorOdd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||oldAttributeBackgroundColorEven}calculate(qa){if(typeof qa!="object"){this.updateColors();return}const nd=Object.keys(qa);nd.forEach(od=>{this[od]=qa[od]}),this.updateColors(),nd.forEach(od=>{this[od]=qa[od]})}},__name(kS,"Theme"),kS),getThemeVariables5=__name(Ra=>{const qa=new Theme5;return qa.calculate(Ra),qa},"getThemeVariables"),themes_default={base:{getThemeVariables},dark:{getThemeVariables:getThemeVariables2},default:{getThemeVariables:getThemeVariables3},forest:{getThemeVariables:getThemeVariables4},neutral:{getThemeVariables:getThemeVariables5}},config_schema_default={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},config$1={...config_schema_default,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:themes_default.default.getThemeVariables(),sequence:{...config_schema_default.sequence,messageFont:__name(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:__name(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:__name(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...config_schema_default.gantt,tickInterval:void 0,useWidth:void 0},c4:{...config_schema_default.c4,useWidth:void 0,personFont:__name(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:__name(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:__name(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:__name(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:__name(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:__name(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:__name(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:__name(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:__name(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:__name(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:__name(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:__name(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:__name(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:__name(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:__name(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:__name(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:__name(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:__name(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:__name(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:__name(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:__name(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:__name(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...config_schema_default.pie,useWidth:984},xyChart:{...config_schema_default.xyChart,useWidth:void 0},requirement:{...config_schema_default.requirement,useWidth:void 0},packet:{...config_schema_default.packet}},keyify=__name((Ra,qa="")=>Object.keys(Ra).reduce((nd,od)=>Array.isArray(Ra[od])?nd:typeof Ra[od]=="object"&&Ra[od]!==null?[...nd,qa+od,...keyify(Ra[od],"")]:[...nd,qa+od],[]),"keyify"),configKeys=new Set(keyify(config$1,"")),defaultConfig_default=config$1,sanitizeDirective=__name(Ra=>{if(log$1.debug("sanitizeDirective called with",Ra),!(typeof Ra!="object"||Ra==null)){if(Array.isArray(Ra)){Ra.forEach(qa=>sanitizeDirective(qa));return}for(const qa of Object.keys(Ra)){if(log$1.debug("Checking key",qa),qa.startsWith("__")||qa.includes("proto")||qa.includes("constr")||!configKeys.has(qa)||Ra[qa]==null){log$1.debug("sanitize deleting key: ",qa),delete Ra[qa];continue}if(typeof Ra[qa]=="object"){log$1.debug("sanitizing object",qa),sanitizeDirective(Ra[qa]);continue}const nd=["themeCSS","fontFamily","altFontFamily"];for(const od of nd)qa.includes(od)&&(log$1.debug("sanitizing css option",qa),Ra[qa]=sanitizeCss(Ra[qa]))}if(Ra.themeVariables)for(const qa of Object.keys(Ra.themeVariables)){const nd=Ra.themeVariables[qa];nd!=null&&nd.match&&!nd.match(/^[\d "#%(),.;A-Za-z]+$/)&&(Ra.themeVariables[qa]="")}log$1.debug("After sanitization",Ra)}},"sanitizeDirective"),sanitizeCss=__name(Ra=>{let qa=0,nd=0;for(const od of Ra){if(qa<nd)return"{ /* ERROR: Unbalanced CSS */ }";od==="{"?qa++:od==="}"&&nd++}return qa!==nd?"{ /* ERROR: Unbalanced CSS */ }":Ra},"sanitizeCss"),defaultConfig=Object.freeze(defaultConfig_default),siteConfig=assignWithDepth_default({},defaultConfig),configFromInitialize,directives=[],currentConfig=assignWithDepth_default({},defaultConfig),updateCurrentConfig=__name((Ra,qa)=>{let nd=assignWithDepth_default({},Ra),od={};for(const ld of qa)sanitize(ld),od=assignWithDepth_default(od,ld);if(nd=assignWithDepth_default(nd,od),od.theme&&od.theme in themes_default){const ld=assignWithDepth_default({},configFromInitialize),ud=assignWithDepth_default(ld.themeVariables||{},od.themeVariables);nd.theme&&nd.theme in themes_default&&(nd.themeVariables=themes_default[nd.theme].getThemeVariables(ud))}return currentConfig=nd,checkConfig(currentConfig),currentConfig},"updateCurrentConfig"),setSiteConfig=__name(Ra=>(siteConfig=assignWithDepth_default({},defaultConfig),siteConfig=assignWithDepth_default(siteConfig,Ra),Ra.theme&&themes_default[Ra.theme]&&(siteConfig.themeVariables=themes_default[Ra.theme].getThemeVariables(Ra.themeVariables)),updateCurrentConfig(siteConfig,directives),siteConfig),"setSiteConfig"),saveConfigFromInitialize=__name(Ra=>{configFromInitialize=assignWithDepth_default({},Ra)},"saveConfigFromInitialize"),updateSiteConfig=__name(Ra=>(siteConfig=assignWithDepth_default(siteConfig,Ra),updateCurrentConfig(siteConfig,directives),siteConfig),"updateSiteConfig"),getSiteConfig=__name(()=>assignWithDepth_default({},siteConfig),"getSiteConfig"),setConfig=__name(Ra=>(checkConfig(Ra),assignWithDepth_default(currentConfig,Ra),getConfig$1()),"setConfig"),getConfig$1=__name(()=>assignWithDepth_default({},currentConfig),"getConfig"),sanitize=__name(Ra=>{Ra&&(["secure",...siteConfig.secure??[]].forEach(qa=>{Object.hasOwn(Ra,qa)&&(log$1.debug(`Denied attempt to modify a secure key ${qa}`,Ra[qa]),delete Ra[qa])}),Object.keys(Ra).forEach(qa=>{qa.startsWith("__")&&delete Ra[qa]}),Object.keys(Ra).forEach(qa=>{typeof Ra[qa]=="string"&&(Ra[qa].includes("<")||Ra[qa].includes(">")||Ra[qa].includes("url(data:"))&&delete Ra[qa],typeof Ra[qa]=="object"&&sanitize(Ra[qa])}))},"sanitize"),addDirective=__name(Ra=>{var qa;sanitizeDirective(Ra),Ra.fontFamily&&!((qa=Ra.themeVariables)!=null&&qa.fontFamily)&&(Ra.themeVariables={...Ra.themeVariables,fontFamily:Ra.fontFamily}),directives.push(Ra),updateCurrentConfig(siteConfig,directives)},"addDirective"),reset=__name((Ra=siteConfig)=>{directives=[],updateCurrentConfig(Ra,directives)},"reset"),ConfigWarning={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},issuedWarnings={},issueWarning=__name(Ra=>{issuedWarnings[Ra]||(log$1.warn(ConfigWarning[Ra]),issuedWarnings[Ra]=!0)},"issueWarning"),checkConfig=__name(Ra=>{Ra&&(Ra.lazyLoadedDiagrams||Ra.loadExternalDiagramsAtStartup)&&issueWarning("LAZY_LOAD_DEPRECATED")},"checkConfig"),lineBreakRegex=/<br\s*\/?>/gi,getRows=__name(Ra=>Ra?breakToPlaceholder(Ra).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),setupDompurifyHooksIfNotSetup=(()=>{let Ra=!1;return()=>{Ra||(setupDompurifyHooks(),Ra=!0)}})();function setupDompurifyHooks(){const Ra="data-temp-href-target";purify.addHook("beforeSanitizeAttributes",qa=>{qa instanceof Element&&qa.tagName==="A"&&qa.hasAttribute("target")&&qa.setAttribute(Ra,qa.getAttribute("target")??"")}),purify.addHook("afterSanitizeAttributes",qa=>{qa instanceof Element&&qa.tagName==="A"&&qa.hasAttribute(Ra)&&(qa.setAttribute("target",qa.getAttribute(Ra)??""),qa.removeAttribute(Ra),qa.getAttribute("target")==="_blank"&&qa.setAttribute("rel","noopener"))})}__name(setupDompurifyHooks,"setupDompurifyHooks");var removeScript=__name(Ra=>(setupDompurifyHooksIfNotSetup(),purify.sanitize(Ra)),"removeScript"),sanitizeMore=__name((Ra,qa)=>{var nd;if(((nd=qa.flowchart)==null?void 0:nd.htmlLabels)!==!1){const od=qa.securityLevel;od==="antiscript"||od==="strict"?Ra=removeScript(Ra):od!=="loose"&&(Ra=breakToPlaceholder(Ra),Ra=Ra.replace(/</g,"<").replace(/>/g,">"),Ra=Ra.replace(/=/g,"="),Ra=placeholderToBreak(Ra))}return Ra},"sanitizeMore"),sanitizeText=__name((Ra,qa)=>Ra&&(qa.dompurifyConfig?Ra=purify.sanitize(sanitizeMore(Ra,qa),qa.dompurifyConfig).toString():Ra=purify.sanitize(sanitizeMore(Ra,qa),{FORBID_TAGS:["style"]}).toString(),Ra),"sanitizeText"),sanitizeTextOrArray=__name((Ra,qa)=>typeof Ra=="string"?sanitizeText(Ra,qa):Ra.flat().map(nd=>sanitizeText(nd,qa)),"sanitizeTextOrArray"),hasBreaks=__name(Ra=>lineBreakRegex.test(Ra),"hasBreaks"),splitBreaks=__name(Ra=>Ra.split(lineBreakRegex),"splitBreaks"),placeholderToBreak=__name(Ra=>Ra.replace(/#br#/g,"<br/>"),"placeholderToBreak"),breakToPlaceholder=__name(Ra=>Ra.replace(lineBreakRegex,"#br#"),"breakToPlaceholder"),getUrl=__name(Ra=>{let qa="";return Ra&&(qa=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,qa=qa.replaceAll(/\(/g,"\\("),qa=qa.replaceAll(/\)/g,"\\)")),qa},"getUrl"),evaluate=__name(Ra=>!(Ra===!1||["false","null","0"].includes(String(Ra).trim().toLowerCase())),"evaluate"),getMax=__name(function(...Ra){const qa=Ra.filter(nd=>!isNaN(nd));return Math.max(...qa)},"getMax"),getMin=__name(function(...Ra){const qa=Ra.filter(nd=>!isNaN(nd));return Math.min(...qa)},"getMin"),parseGenericTypes=__name(function(Ra){const qa=Ra.split(/(,)/),nd=[];for(let od=0;od<qa.length;od++){let ld=qa[od];if(ld===","&&od>0&&od+1<qa.length){const ud=qa[od-1],dd=qa[od+1];shouldCombineSets(ud,dd)&&(ld=ud+","+dd,od++,nd.pop())}nd.push(processSet(ld))}return nd.join("")},"parseGenericTypes"),countOccurrence=__name((Ra,qa)=>Math.max(0,Ra.split(qa).length-1),"countOccurrence"),shouldCombineSets=__name((Ra,qa)=>{const nd=countOccurrence(Ra,"~"),od=countOccurrence(qa,"~");return nd===1&&od===1},"shouldCombineSets"),processSet=__name(Ra=>{const qa=countOccurrence(Ra,"~");let nd=!1;if(qa<=1)return Ra;qa%2!==0&&Ra.startsWith("~")&&(Ra=Ra.substring(1),nd=!0);const od=[...Ra];let ld=od.indexOf("~"),ud=od.lastIndexOf("~");for(;ld!==-1&&ud!==-1&&ld!==ud;)od[ld]="<",od[ud]=">",ld=od.indexOf("~"),ud=od.lastIndexOf("~");return nd&&od.unshift("~"),od.join("")},"processSet"),isMathMLSupported=__name(()=>window.MathMLElement!==void 0,"isMathMLSupported"),katexRegex=/\$\$(.*)\$\$/g,hasKatex=__name(Ra=>{var qa;return(((qa=Ra.match(katexRegex))==null?void 0:qa.length)??0)>0},"hasKatex"),calculateMathMLDimensions=__name(async(Ra,qa)=>{Ra=await renderKatex(Ra,qa);const nd=document.createElement("div");nd.innerHTML=Ra,nd.id="katex-temp",nd.style.visibility="hidden",nd.style.position="absolute",nd.style.top="0";const od=document.querySelector("body");od==null||od.insertAdjacentElement("beforeend",nd);const ld={width:nd.clientWidth,height:nd.clientHeight};return nd.remove(),ld},"calculateMathMLDimensions"),renderKatex=__name(async(Ra,qa)=>{if(!hasKatex(Ra))return Ra;if(!(isMathMLSupported()||qa.legacyMathML||qa.forceLegacyMathML))return Ra.replace(katexRegex,"MathML is unsupported in this environment.");const{default:nd}=await __vitePreload(async()=>{const{default:ld}=await import("./katex-DAk0vv_m.js");return{default:ld}},[]),od=qa.forceLegacyMathML||!isMathMLSupported()&&qa.legacyMathML?"htmlAndMathml":"mathml";return Ra.split(lineBreakRegex).map(ld=>hasKatex(ld)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${ld}</div>`:`<div>${ld}</div>`).join("").replace(katexRegex,(ld,ud)=>nd.renderToString(ud,{throwOnError:!0,displayMode:!0,output:od}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))},"renderKatex"),common_default={getRows,sanitizeText,sanitizeTextOrArray,hasBreaks,splitBreaks,lineBreakRegex,removeScript,getUrl,evaluate,getMax,getMin},d3Attrs=__name(function(Ra,qa){for(let nd of qa)Ra.attr(nd[0],nd[1])},"d3Attrs"),calculateSvgSizeAttrs=__name(function(Ra,qa,nd){let od=new Map;return nd?(od.set("width","100%"),od.set("style",`max-width: ${qa}px;`)):(od.set("height",Ra),od.set("width",qa)),od},"calculateSvgSizeAttrs"),configureSvgSize=__name(function(Ra,qa,nd,od){const ld=calculateSvgSizeAttrs(qa,nd,od);d3Attrs(Ra,ld)},"configureSvgSize"),setupGraphViewbox=__name(function(Ra,qa,nd,od){const ld=qa.node().getBBox(),ud=ld.width,dd=ld.height;log$1.info(`SVG bounds: ${ud}x${dd}`,ld);let pd=0,fd=0;log$1.info(`Graph bounds: ${pd}x${fd}`,Ra),pd=ud+nd*2,fd=dd+nd*2,log$1.info(`Calculated bounds: ${pd}x${fd}`),configureSvgSize(qa,fd,pd,od);const md=`${ld.x-nd} ${ld.y-nd} ${ld.width+2*nd} ${ld.height+2*nd}`;qa.attr("viewBox",md)},"setupGraphViewbox"),themes={},getStyles$1=__name((Ra,qa,nd)=>{let od="";return Ra in themes&&themes[Ra]?od=themes[Ra](nd):log$1.warn(`No theme found for ${Ra}`),` & {
|
||
font-family: ${nd.fontFamily};
|
||
font-size: ${nd.fontSize};
|
||
fill: ${nd.textColor}
|
||
}
|
||
|
||
/* Classes common for multiple diagrams */
|
||
|
||
& .error-icon {
|
||
fill: ${nd.errorBkgColor};
|
||
}
|
||
& .error-text {
|
||
fill: ${nd.errorTextColor};
|
||
stroke: ${nd.errorTextColor};
|
||
}
|
||
|
||
& .edge-thickness-normal {
|
||
stroke-width: 1px;
|
||
}
|
||
& .edge-thickness-thick {
|
||
stroke-width: 3.5px
|
||
}
|
||
& .edge-pattern-solid {
|
||
stroke-dasharray: 0;
|
||
}
|
||
& .edge-thickness-invisible {
|
||
stroke-width: 0;
|
||
fill: none;
|
||
}
|
||
& .edge-pattern-dashed{
|
||
stroke-dasharray: 3;
|
||
}
|
||
.edge-pattern-dotted {
|
||
stroke-dasharray: 2;
|
||
}
|
||
|
||
& .marker {
|
||
fill: ${nd.lineColor};
|
||
stroke: ${nd.lineColor};
|
||
}
|
||
& .marker.cross {
|
||
stroke: ${nd.lineColor};
|
||
}
|
||
|
||
& svg {
|
||
font-family: ${nd.fontFamily};
|
||
font-size: ${nd.fontSize};
|
||
}
|
||
& p {
|
||
margin: 0
|
||
}
|
||
|
||
${od}
|
||
|
||
${qa}
|
||
`},"getStyles"),addStylesForDiagram=__name((Ra,qa)=>{qa!==void 0&&(themes[Ra]=qa)},"addStylesForDiagram"),styles_default=getStyles$1,commonDb_exports={};__export(commonDb_exports,{clear:()=>clear$2,getAccDescription:()=>getAccDescription,getAccTitle:()=>getAccTitle,getDiagramTitle:()=>getDiagramTitle,setAccDescription:()=>setAccDescription,setAccTitle:()=>setAccTitle,setDiagramTitle:()=>setDiagramTitle});var accTitle="",diagramTitle="",accDescription="",sanitizeText2=__name(Ra=>sanitizeText(Ra,getConfig$1()),"sanitizeText"),clear$2=__name(()=>{accTitle="",accDescription="",diagramTitle=""},"clear"),setAccTitle=__name(Ra=>{accTitle=sanitizeText2(Ra).replace(/^\s+/g,"")},"setAccTitle"),getAccTitle=__name(()=>accTitle,"getAccTitle"),setAccDescription=__name(Ra=>{accDescription=sanitizeText2(Ra).replace(/\n\s+/g,`
|
||
`)},"setAccDescription"),getAccDescription=__name(()=>accDescription,"getAccDescription"),setDiagramTitle=__name(Ra=>{diagramTitle=sanitizeText2(Ra)},"setDiagramTitle"),getDiagramTitle=__name(()=>diagramTitle,"getDiagramTitle"),log2=log$1,setLogLevel2=setLogLevel,getConfig2=getConfig$1,setConfig2=setConfig,defaultConfig2=defaultConfig,sanitizeText3=__name(Ra=>sanitizeText(Ra,getConfig2()),"sanitizeText"),setupGraphViewbox2=setupGraphViewbox,getCommonDb=__name(()=>commonDb_exports,"getCommonDb"),diagrams={},registerDiagram=__name((Ra,qa,nd)=>{var od;diagrams[Ra]&&log2.warn(`Diagram with id ${Ra} already registered. Overwriting.`),diagrams[Ra]=qa,nd&&addDetector(Ra,nd),addStylesForDiagram(Ra,qa.styles),(od=qa.injectUtils)==null||od.call(qa,log2,setLogLevel2,getConfig2,sanitizeText3,setupGraphViewbox2,getCommonDb(),()=>{})},"registerDiagram"),getDiagram=__name(Ra=>{if(Ra in diagrams)return diagrams[Ra];throw new DiagramNotFoundError(Ra)},"getDiagram"),MS,DiagramNotFoundError=(MS=class extends Error{constructor(qa){super(`Diagram ${qa} not found.`)}},__name(MS,"DiagramNotFoundError"),MS);function isNothing(Ra){return typeof Ra>"u"||Ra===null}__name(isNothing,"isNothing");function isObject$3(Ra){return typeof Ra=="object"&&Ra!==null}__name(isObject$3,"isObject");function toArray$2(Ra){return Array.isArray(Ra)?Ra:isNothing(Ra)?[]:[Ra]}__name(toArray$2,"toArray");function extend$2(Ra,qa){var nd,od,ld,ud;if(qa)for(ud=Object.keys(qa),nd=0,od=ud.length;nd<od;nd+=1)ld=ud[nd],Ra[ld]=qa[ld];return Ra}__name(extend$2,"extend");function repeat(Ra,qa){var nd="",od;for(od=0;od<qa;od+=1)nd+=Ra;return nd}__name(repeat,"repeat");function isNegativeZero(Ra){return Ra===0&&Number.NEGATIVE_INFINITY===1/Ra}__name(isNegativeZero,"isNegativeZero");var isNothing_1=isNothing,isObject_1=isObject$3,toArray_1=toArray$2,repeat_1=repeat,isNegativeZero_1=isNegativeZero,extend_1=extend$2,common={isNothing:isNothing_1,isObject:isObject_1,toArray:toArray_1,repeat:repeat_1,isNegativeZero:isNegativeZero_1,extend:extend_1};function formatError(Ra,qa){var nd="",od=Ra.reason||"(unknown reason)";return Ra.mark?(Ra.mark.name&&(nd+='in "'+Ra.mark.name+'" '),nd+="("+(Ra.mark.line+1)+":"+(Ra.mark.column+1)+")",!qa&&Ra.mark.snippet&&(nd+=`
|
||
|
||
`+Ra.mark.snippet),od+" "+nd):od}__name(formatError,"formatError");function YAMLException$1(Ra,qa){Error.call(this),this.name="YAMLException",this.reason=Ra,this.mark=qa,this.message=formatError(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}__name(YAMLException$1,"YAMLException$1");YAMLException$1.prototype=Object.create(Error.prototype);YAMLException$1.prototype.constructor=YAMLException$1;YAMLException$1.prototype.toString=__name(function(qa){return this.name+": "+formatError(this,qa)},"toString");var exception=YAMLException$1;function getLine(Ra,qa,nd,od,ld){var ud="",dd="",pd=Math.floor(ld/2)-1;return od-qa>pd&&(ud=" ... ",qa=od-pd+ud.length),nd-od>pd&&(dd=" ...",nd=od+pd-dd.length),{str:ud+Ra.slice(qa,nd).replace(/\t/g,"→")+dd,pos:od-qa+ud.length}}__name(getLine,"getLine");function padStart(Ra,qa){return common.repeat(" ",qa-Ra.length)+Ra}__name(padStart,"padStart");function makeSnippet(Ra,qa){if(qa=Object.create(qa||null),!Ra.buffer)return null;qa.maxLength||(qa.maxLength=79),typeof qa.indent!="number"&&(qa.indent=1),typeof qa.linesBefore!="number"&&(qa.linesBefore=3),typeof qa.linesAfter!="number"&&(qa.linesAfter=2);for(var nd=/\r?\n|\r|\0/g,od=[0],ld=[],ud,dd=-1;ud=nd.exec(Ra.buffer);)ld.push(ud.index),od.push(ud.index+ud[0].length),Ra.position<=ud.index&&dd<0&&(dd=od.length-2);dd<0&&(dd=od.length-1);var pd="",fd,md,vd=Math.min(Ra.line+qa.linesAfter,ld.length).toString().length,Ad=qa.maxLength-(qa.indent+vd+3);for(fd=1;fd<=qa.linesBefore&&!(dd-fd<0);fd++)md=getLine(Ra.buffer,od[dd-fd],ld[dd-fd],Ra.position-(od[dd]-od[dd-fd]),Ad),pd=common.repeat(" ",qa.indent)+padStart((Ra.line-fd+1).toString(),vd)+" | "+md.str+`
|
||
`+pd;for(md=getLine(Ra.buffer,od[dd],ld[dd],Ra.position,Ad),pd+=common.repeat(" ",qa.indent)+padStart((Ra.line+1).toString(),vd)+" | "+md.str+`
|
||
`,pd+=common.repeat("-",qa.indent+vd+3+md.pos)+`^
|
||
`,fd=1;fd<=qa.linesAfter&&!(dd+fd>=ld.length);fd++)md=getLine(Ra.buffer,od[dd+fd],ld[dd+fd],Ra.position-(od[dd]-od[dd+fd]),Ad),pd+=common.repeat(" ",qa.indent)+padStart((Ra.line+fd+1).toString(),vd)+" | "+md.str+`
|
||
`;return pd.replace(/\n$/,"")}__name(makeSnippet,"makeSnippet");var snippet=makeSnippet,TYPE_CONSTRUCTOR_OPTIONS=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],YAML_NODE_KINDS=["scalar","sequence","mapping"];function compileStyleAliases(Ra){var qa={};return Ra!==null&&Object.keys(Ra).forEach(function(nd){Ra[nd].forEach(function(od){qa[String(od)]=nd})}),qa}__name(compileStyleAliases,"compileStyleAliases");function Type$1(Ra,qa){if(qa=qa||{},Object.keys(qa).forEach(function(nd){if(TYPE_CONSTRUCTOR_OPTIONS.indexOf(nd)===-1)throw new exception('Unknown option "'+nd+'" is met in definition of "'+Ra+'" YAML type.')}),this.options=qa,this.tag=Ra,this.kind=qa.kind||null,this.resolve=qa.resolve||function(){return!0},this.construct=qa.construct||function(nd){return nd},this.instanceOf=qa.instanceOf||null,this.predicate=qa.predicate||null,this.represent=qa.represent||null,this.representName=qa.representName||null,this.defaultStyle=qa.defaultStyle||null,this.multi=qa.multi||!1,this.styleAliases=compileStyleAliases(qa.styleAliases||null),YAML_NODE_KINDS.indexOf(this.kind)===-1)throw new exception('Unknown kind "'+this.kind+'" is specified for "'+Ra+'" YAML type.')}__name(Type$1,"Type$1");var type$1=Type$1;function compileList(Ra,qa){var nd=[];return Ra[qa].forEach(function(od){var ld=nd.length;nd.forEach(function(ud,dd){ud.tag===od.tag&&ud.kind===od.kind&&ud.multi===od.multi&&(ld=dd)}),nd[ld]=od}),nd}__name(compileList,"compileList");function compileMap(){var Ra={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},qa,nd;function od(ld){ld.multi?(Ra.multi[ld.kind].push(ld),Ra.multi.fallback.push(ld)):Ra[ld.kind][ld.tag]=Ra.fallback[ld.tag]=ld}for(__name(od,"collectType"),qa=0,nd=arguments.length;qa<nd;qa+=1)arguments[qa].forEach(od);return Ra}__name(compileMap,"compileMap");function Schema$1(Ra){return this.extend(Ra)}__name(Schema$1,"Schema$1");Schema$1.prototype.extend=__name(function(qa){var nd=[],od=[];if(qa instanceof type$1)od.push(qa);else if(Array.isArray(qa))od=od.concat(qa);else if(qa&&(Array.isArray(qa.implicit)||Array.isArray(qa.explicit)))qa.implicit&&(nd=nd.concat(qa.implicit)),qa.explicit&&(od=od.concat(qa.explicit));else throw new exception("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");nd.forEach(function(ud){if(!(ud instanceof type$1))throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(ud.loadKind&&ud.loadKind!=="scalar")throw new exception("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(ud.multi)throw new exception("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),od.forEach(function(ud){if(!(ud instanceof type$1))throw new exception("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var ld=Object.create(Schema$1.prototype);return ld.implicit=(this.implicit||[]).concat(nd),ld.explicit=(this.explicit||[]).concat(od),ld.compiledImplicit=compileList(ld,"implicit"),ld.compiledExplicit=compileList(ld,"explicit"),ld.compiledTypeMap=compileMap(ld.compiledImplicit,ld.compiledExplicit),ld},"extend");var schema=Schema$1,str=new type$1("tag:yaml.org,2002:str",{kind:"scalar",construct:__name(function(Ra){return Ra!==null?Ra:""},"construct")}),seq$1=new type$1("tag:yaml.org,2002:seq",{kind:"sequence",construct:__name(function(Ra){return Ra!==null?Ra:[]},"construct")}),map$3=new type$1("tag:yaml.org,2002:map",{kind:"mapping",construct:__name(function(Ra){return Ra!==null?Ra:{}},"construct")}),failsafe=new schema({explicit:[str,seq$1,map$3]});function resolveYamlNull(Ra){if(Ra===null)return!0;var qa=Ra.length;return qa===1&&Ra==="~"||qa===4&&(Ra==="null"||Ra==="Null"||Ra==="NULL")}__name(resolveYamlNull,"resolveYamlNull");function constructYamlNull(){return null}__name(constructYamlNull,"constructYamlNull");function isNull(Ra){return Ra===null}__name(isNull,"isNull");var _null=new type$1("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:__name(function(){return"~"},"canonical"),lowercase:__name(function(){return"null"},"lowercase"),uppercase:__name(function(){return"NULL"},"uppercase"),camelcase:__name(function(){return"Null"},"camelcase"),empty:__name(function(){return""},"empty")},defaultStyle:"lowercase"});function resolveYamlBoolean(Ra){if(Ra===null)return!1;var qa=Ra.length;return qa===4&&(Ra==="true"||Ra==="True"||Ra==="TRUE")||qa===5&&(Ra==="false"||Ra==="False"||Ra==="FALSE")}__name(resolveYamlBoolean,"resolveYamlBoolean");function constructYamlBoolean(Ra){return Ra==="true"||Ra==="True"||Ra==="TRUE"}__name(constructYamlBoolean,"constructYamlBoolean");function isBoolean$2(Ra){return Object.prototype.toString.call(Ra)==="[object Boolean]"}__name(isBoolean$2,"isBoolean");var bool=new type$1("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean$2,represent:{lowercase:__name(function(Ra){return Ra?"true":"false"},"lowercase"),uppercase:__name(function(Ra){return Ra?"TRUE":"FALSE"},"uppercase"),camelcase:__name(function(Ra){return Ra?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function isHexCode(Ra){return 48<=Ra&&Ra<=57||65<=Ra&&Ra<=70||97<=Ra&&Ra<=102}__name(isHexCode,"isHexCode");function isOctCode(Ra){return 48<=Ra&&Ra<=55}__name(isOctCode,"isOctCode");function isDecCode(Ra){return 48<=Ra&&Ra<=57}__name(isDecCode,"isDecCode");function resolveYamlInteger(Ra){if(Ra===null)return!1;var qa=Ra.length,nd=0,od=!1,ld;if(!qa)return!1;if(ld=Ra[nd],(ld==="-"||ld==="+")&&(ld=Ra[++nd]),ld==="0"){if(nd+1===qa)return!0;if(ld=Ra[++nd],ld==="b"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(ld!=="0"&&ld!=="1")return!1;od=!0}return od&&ld!=="_"}if(ld==="x"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isHexCode(Ra.charCodeAt(nd)))return!1;od=!0}return od&&ld!=="_"}if(ld==="o"){for(nd++;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isOctCode(Ra.charCodeAt(nd)))return!1;od=!0}return od&&ld!=="_"}}if(ld==="_")return!1;for(;nd<qa;nd++)if(ld=Ra[nd],ld!=="_"){if(!isDecCode(Ra.charCodeAt(nd)))return!1;od=!0}return!(!od||ld==="_")}__name(resolveYamlInteger,"resolveYamlInteger");function constructYamlInteger(Ra){var qa=Ra,nd=1,od;if(qa.indexOf("_")!==-1&&(qa=qa.replace(/_/g,"")),od=qa[0],(od==="-"||od==="+")&&(od==="-"&&(nd=-1),qa=qa.slice(1),od=qa[0]),qa==="0")return 0;if(od==="0"){if(qa[1]==="b")return nd*parseInt(qa.slice(2),2);if(qa[1]==="x")return nd*parseInt(qa.slice(2),16);if(qa[1]==="o")return nd*parseInt(qa.slice(2),8)}return nd*parseInt(qa,10)}__name(constructYamlInteger,"constructYamlInteger");function isInteger(Ra){return Object.prototype.toString.call(Ra)==="[object Number]"&&Ra%1===0&&!common.isNegativeZero(Ra)}__name(isInteger,"isInteger");var int=new type$1("tag:yaml.org,2002:int",{kind:"scalar",resolve:resolveYamlInteger,construct:constructYamlInteger,predicate:isInteger,represent:{binary:__name(function(Ra){return Ra>=0?"0b"+Ra.toString(2):"-0b"+Ra.toString(2).slice(1)},"binary"),octal:__name(function(Ra){return Ra>=0?"0o"+Ra.toString(8):"-0o"+Ra.toString(8).slice(1)},"octal"),decimal:__name(function(Ra){return Ra.toString(10)},"decimal"),hexadecimal:__name(function(Ra){return Ra>=0?"0x"+Ra.toString(16).toUpperCase():"-0x"+Ra.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(Ra){return!(Ra===null||!YAML_FLOAT_PATTERN.test(Ra)||Ra[Ra.length-1]==="_")}__name(resolveYamlFloat,"resolveYamlFloat");function constructYamlFloat(Ra){var qa,nd;return qa=Ra.replace(/_/g,"").toLowerCase(),nd=qa[0]==="-"?-1:1,"+-".indexOf(qa[0])>=0&&(qa=qa.slice(1)),qa===".inf"?nd===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:qa===".nan"?NaN:nd*parseFloat(qa,10)}__name(constructYamlFloat,"constructYamlFloat");var SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;function representYamlFloat(Ra,qa){var nd;if(isNaN(Ra))switch(qa){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===Ra)switch(qa){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===Ra)switch(qa){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(common.isNegativeZero(Ra))return"-0.0";return nd=Ra.toString(10),SCIENTIFIC_WITHOUT_DOT.test(nd)?nd.replace("e",".e"):nd}__name(representYamlFloat,"representYamlFloat");function isFloat(Ra){return Object.prototype.toString.call(Ra)==="[object Number]"&&(Ra%1!==0||common.isNegativeZero(Ra))}__name(isFloat,"isFloat");var float=new type$1("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"}),json=failsafe.extend({implicit:[_null,bool,int,float]}),core$1=json,YAML_DATE_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),YAML_TIMESTAMP_REGEXP=new 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 resolveYamlTimestamp(Ra){return Ra===null?!1:YAML_DATE_REGEXP.exec(Ra)!==null||YAML_TIMESTAMP_REGEXP.exec(Ra)!==null}__name(resolveYamlTimestamp,"resolveYamlTimestamp");function constructYamlTimestamp(Ra){var qa,nd,od,ld,ud,dd,pd,fd=0,md=null,vd,Ad,Nd;if(qa=YAML_DATE_REGEXP.exec(Ra),qa===null&&(qa=YAML_TIMESTAMP_REGEXP.exec(Ra)),qa===null)throw new Error("Date resolve error");if(nd=+qa[1],od=+qa[2]-1,ld=+qa[3],!qa[4])return new Date(Date.UTC(nd,od,ld));if(ud=+qa[4],dd=+qa[5],pd=+qa[6],qa[7]){for(fd=qa[7].slice(0,3);fd.length<3;)fd+="0";fd=+fd}return qa[9]&&(vd=+qa[10],Ad=+(qa[11]||0),md=(vd*60+Ad)*6e4,qa[9]==="-"&&(md=-md)),Nd=new Date(Date.UTC(nd,od,ld,ud,dd,pd,fd)),md&&Nd.setTime(Nd.getTime()-md),Nd}__name(constructYamlTimestamp,"constructYamlTimestamp");function representYamlTimestamp(Ra){return Ra.toISOString()}__name(representYamlTimestamp,"representYamlTimestamp");var timestamp=new type$1("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});function resolveYamlMerge(Ra){return Ra==="<<"||Ra===null}__name(resolveYamlMerge,"resolveYamlMerge");var merge$2=new type$1("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge}),BASE64_MAP=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
||
\r`;function resolveYamlBinary(Ra){if(Ra===null)return!1;var qa,nd,od=0,ld=Ra.length,ud=BASE64_MAP;for(nd=0;nd<ld;nd++)if(qa=ud.indexOf(Ra.charAt(nd)),!(qa>64)){if(qa<0)return!1;od+=6}return od%8===0}__name(resolveYamlBinary,"resolveYamlBinary");function constructYamlBinary(Ra){var qa,nd,od=Ra.replace(/[\r\n=]/g,""),ld=od.length,ud=BASE64_MAP,dd=0,pd=[];for(qa=0;qa<ld;qa++)qa%4===0&&qa&&(pd.push(dd>>16&255),pd.push(dd>>8&255),pd.push(dd&255)),dd=dd<<6|ud.indexOf(od.charAt(qa));return nd=ld%4*6,nd===0?(pd.push(dd>>16&255),pd.push(dd>>8&255),pd.push(dd&255)):nd===18?(pd.push(dd>>10&255),pd.push(dd>>2&255)):nd===12&&pd.push(dd>>4&255),new Uint8Array(pd)}__name(constructYamlBinary,"constructYamlBinary");function representYamlBinary(Ra){var qa="",nd=0,od,ld,ud=Ra.length,dd=BASE64_MAP;for(od=0;od<ud;od++)od%3===0&&od&&(qa+=dd[nd>>18&63],qa+=dd[nd>>12&63],qa+=dd[nd>>6&63],qa+=dd[nd&63]),nd=(nd<<8)+Ra[od];return ld=ud%3,ld===0?(qa+=dd[nd>>18&63],qa+=dd[nd>>12&63],qa+=dd[nd>>6&63],qa+=dd[nd&63]):ld===2?(qa+=dd[nd>>10&63],qa+=dd[nd>>4&63],qa+=dd[nd<<2&63],qa+=dd[64]):ld===1&&(qa+=dd[nd>>2&63],qa+=dd[nd<<4&63],qa+=dd[64],qa+=dd[64]),qa}__name(representYamlBinary,"representYamlBinary");function isBinary(Ra){return Object.prototype.toString.call(Ra)==="[object Uint8Array]"}__name(isBinary,"isBinary");var binary=new type$1("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary}),_hasOwnProperty$3=Object.prototype.hasOwnProperty,_toString$2=Object.prototype.toString;function resolveYamlOmap(Ra){if(Ra===null)return!0;var qa=[],nd,od,ld,ud,dd,pd=Ra;for(nd=0,od=pd.length;nd<od;nd+=1){if(ld=pd[nd],dd=!1,_toString$2.call(ld)!=="[object Object]")return!1;for(ud in ld)if(_hasOwnProperty$3.call(ld,ud))if(!dd)dd=!0;else return!1;if(!dd)return!1;if(qa.indexOf(ud)===-1)qa.push(ud);else return!1}return!0}__name(resolveYamlOmap,"resolveYamlOmap");function constructYamlOmap(Ra){return Ra!==null?Ra:[]}__name(constructYamlOmap,"constructYamlOmap");var omap=new type$1("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOmap}),_toString$1=Object.prototype.toString;function resolveYamlPairs(Ra){if(Ra===null)return!0;var qa,nd,od,ld,ud,dd=Ra;for(ud=new Array(dd.length),qa=0,nd=dd.length;qa<nd;qa+=1){if(od=dd[qa],_toString$1.call(od)!=="[object Object]"||(ld=Object.keys(od),ld.length!==1))return!1;ud[qa]=[ld[0],od[ld[0]]]}return!0}__name(resolveYamlPairs,"resolveYamlPairs");function constructYamlPairs(Ra){if(Ra===null)return[];var qa,nd,od,ld,ud,dd=Ra;for(ud=new Array(dd.length),qa=0,nd=dd.length;qa<nd;qa+=1)od=dd[qa],ld=Object.keys(od),ud[qa]=[ld[0],od[ld[0]]];return ud}__name(constructYamlPairs,"constructYamlPairs");var pairs=new type$1("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:resolveYamlPairs,construct:constructYamlPairs}),_hasOwnProperty$2=Object.prototype.hasOwnProperty;function resolveYamlSet(Ra){if(Ra===null)return!0;var qa,nd=Ra;for(qa in nd)if(_hasOwnProperty$2.call(nd,qa)&&nd[qa]!==null)return!1;return!0}__name(resolveYamlSet,"resolveYamlSet");function constructYamlSet(Ra){return Ra!==null?Ra:{}}__name(constructYamlSet,"constructYamlSet");var set$2=new type$1("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet}),_default=core$1.extend({implicit:[timestamp,merge$2],explicit:[binary,omap,pairs,set$2]}),_hasOwnProperty$1=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(Ra){return Object.prototype.toString.call(Ra)}__name(_class,"_class");function is_EOL(Ra){return Ra===10||Ra===13}__name(is_EOL,"is_EOL");function is_WHITE_SPACE(Ra){return Ra===9||Ra===32}__name(is_WHITE_SPACE,"is_WHITE_SPACE");function is_WS_OR_EOL(Ra){return Ra===9||Ra===32||Ra===10||Ra===13}__name(is_WS_OR_EOL,"is_WS_OR_EOL");function is_FLOW_INDICATOR(Ra){return Ra===44||Ra===91||Ra===93||Ra===123||Ra===125}__name(is_FLOW_INDICATOR,"is_FLOW_INDICATOR");function fromHexCode(Ra){var qa;return 48<=Ra&&Ra<=57?Ra-48:(qa=Ra|32,97<=qa&&qa<=102?qa-97+10:-1)}__name(fromHexCode,"fromHexCode");function escapedHexLen(Ra){return Ra===120?2:Ra===117?4:Ra===85?8:0}__name(escapedHexLen,"escapedHexLen");function fromDecimalCode(Ra){return 48<=Ra&&Ra<=57?Ra-48:-1}__name(fromDecimalCode,"fromDecimalCode");function simpleEscapeSequence(Ra){return Ra===48?"\0":Ra===97?"\x07":Ra===98?"\b":Ra===116||Ra===9?" ":Ra===110?`
|
||
`:Ra===118?"\v":Ra===102?"\f":Ra===114?"\r":Ra===101?"\x1B":Ra===32?" ":Ra===34?'"':Ra===47?"/":Ra===92?"\\":Ra===78?"
":Ra===95?" ":Ra===76?"\u2028":Ra===80?"\u2029":""}__name(simpleEscapeSequence,"simpleEscapeSequence");function charFromCodepoint(Ra){return Ra<=65535?String.fromCharCode(Ra):String.fromCharCode((Ra-65536>>10)+55296,(Ra-65536&1023)+56320)}__name(charFromCodepoint,"charFromCodepoint");var simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256);for(i$2=0;i$2<256;i$2++)simpleEscapeCheck[i$2]=simpleEscapeSequence(i$2)?1:0,simpleEscapeMap[i$2]=simpleEscapeSequence(i$2);var i$2;function State$1(Ra,qa){this.input=Ra,this.filename=qa.filename||null,this.schema=qa.schema||_default,this.onWarning=qa.onWarning||null,this.legacy=qa.legacy||!1,this.json=qa.json||!1,this.listener=qa.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=Ra.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}__name(State$1,"State$1");function generateError(Ra,qa){var nd={name:Ra.filename,buffer:Ra.input.slice(0,-1),position:Ra.position,line:Ra.line,column:Ra.position-Ra.lineStart};return nd.snippet=snippet(nd),new exception(qa,nd)}__name(generateError,"generateError");function throwError(Ra,qa){throw generateError(Ra,qa)}__name(throwError,"throwError");function throwWarning(Ra,qa){Ra.onWarning&&Ra.onWarning.call(null,generateError(Ra,qa))}__name(throwWarning,"throwWarning");var directiveHandlers={YAML:__name(function(qa,nd,od){var ld,ud,dd;qa.version!==null&&throwError(qa,"duplication of %YAML directive"),od.length!==1&&throwError(qa,"YAML directive accepts exactly one argument"),ld=/^([0-9]+)\.([0-9]+)$/.exec(od[0]),ld===null&&throwError(qa,"ill-formed argument of the YAML directive"),ud=parseInt(ld[1],10),dd=parseInt(ld[2],10),ud!==1&&throwError(qa,"unacceptable YAML version of the document"),qa.version=od[0],qa.checkLineBreaks=dd<2,dd!==1&&dd!==2&&throwWarning(qa,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:__name(function(qa,nd,od){var ld,ud;od.length!==2&&throwError(qa,"TAG directive accepts exactly two arguments"),ld=od[0],ud=od[1],PATTERN_TAG_HANDLE.test(ld)||throwError(qa,"ill-formed tag handle (first argument) of the TAG directive"),_hasOwnProperty$1.call(qa.tagMap,ld)&&throwError(qa,'there is a previously declared suffix for "'+ld+'" tag handle'),PATTERN_TAG_URI.test(ud)||throwError(qa,"ill-formed tag prefix (second argument) of the TAG directive");try{ud=decodeURIComponent(ud)}catch{throwError(qa,"tag prefix is malformed: "+ud)}qa.tagMap[ld]=ud},"handleTagDirective")};function captureSegment(Ra,qa,nd,od){var ld,ud,dd,pd;if(qa<nd){if(pd=Ra.input.slice(qa,nd),od)for(ld=0,ud=pd.length;ld<ud;ld+=1)dd=pd.charCodeAt(ld),dd===9||32<=dd&&dd<=1114111||throwError(Ra,"expected valid JSON character");else PATTERN_NON_PRINTABLE.test(pd)&&throwError(Ra,"the stream contains non-printable characters");Ra.result+=pd}}__name(captureSegment,"captureSegment");function mergeMappings(Ra,qa,nd,od){var ld,ud,dd,pd;for(common.isObject(nd)||throwError(Ra,"cannot merge mappings; the provided source object is unacceptable"),ld=Object.keys(nd),dd=0,pd=ld.length;dd<pd;dd+=1)ud=ld[dd],_hasOwnProperty$1.call(qa,ud)||(qa[ud]=nd[ud],od[ud]=!0)}__name(mergeMappings,"mergeMappings");function storeMappingPair(Ra,qa,nd,od,ld,ud,dd,pd,fd){var md,vd;if(Array.isArray(ld))for(ld=Array.prototype.slice.call(ld),md=0,vd=ld.length;md<vd;md+=1)Array.isArray(ld[md])&&throwError(Ra,"nested arrays are not supported inside keys"),typeof ld=="object"&&_class(ld[md])==="[object Object]"&&(ld[md]="[object Object]");if(typeof ld=="object"&&_class(ld)==="[object Object]"&&(ld="[object Object]"),ld=String(ld),qa===null&&(qa={}),od==="tag:yaml.org,2002:merge")if(Array.isArray(ud))for(md=0,vd=ud.length;md<vd;md+=1)mergeMappings(Ra,qa,ud[md],nd);else mergeMappings(Ra,qa,ud,nd);else!Ra.json&&!_hasOwnProperty$1.call(nd,ld)&&_hasOwnProperty$1.call(qa,ld)&&(Ra.line=dd||Ra.line,Ra.lineStart=pd||Ra.lineStart,Ra.position=fd||Ra.position,throwError(Ra,"duplicated mapping key")),ld==="__proto__"?Object.defineProperty(qa,ld,{configurable:!0,enumerable:!0,writable:!0,value:ud}):qa[ld]=ud,delete nd[ld];return qa}__name(storeMappingPair,"storeMappingPair");function readLineBreak(Ra){var qa;qa=Ra.input.charCodeAt(Ra.position),qa===10?Ra.position++:qa===13?(Ra.position++,Ra.input.charCodeAt(Ra.position)===10&&Ra.position++):throwError(Ra,"a line break is expected"),Ra.line+=1,Ra.lineStart=Ra.position,Ra.firstTabInLine=-1}__name(readLineBreak,"readLineBreak");function skipSeparationSpace(Ra,qa,nd){for(var od=0,ld=Ra.input.charCodeAt(Ra.position);ld!==0;){for(;is_WHITE_SPACE(ld);)ld===9&&Ra.firstTabInLine===-1&&(Ra.firstTabInLine=Ra.position),ld=Ra.input.charCodeAt(++Ra.position);if(qa&&ld===35)do ld=Ra.input.charCodeAt(++Ra.position);while(ld!==10&&ld!==13&&ld!==0);if(is_EOL(ld))for(readLineBreak(Ra),ld=Ra.input.charCodeAt(Ra.position),od++,Ra.lineIndent=0;ld===32;)Ra.lineIndent++,ld=Ra.input.charCodeAt(++Ra.position);else break}return nd!==-1&&od!==0&&Ra.lineIndent<nd&&throwWarning(Ra,"deficient indentation"),od}__name(skipSeparationSpace,"skipSeparationSpace");function testDocumentSeparator(Ra){var qa=Ra.position,nd;return nd=Ra.input.charCodeAt(qa),!!((nd===45||nd===46)&&nd===Ra.input.charCodeAt(qa+1)&&nd===Ra.input.charCodeAt(qa+2)&&(qa+=3,nd=Ra.input.charCodeAt(qa),nd===0||is_WS_OR_EOL(nd)))}__name(testDocumentSeparator,"testDocumentSeparator");function writeFoldedLines(Ra,qa){qa===1?Ra.result+=" ":qa>1&&(Ra.result+=common.repeat(`
|
||
`,qa-1))}__name(writeFoldedLines,"writeFoldedLines");function readPlainScalar(Ra,qa,nd){var od,ld,ud,dd,pd,fd,md,vd,Ad=Ra.kind,Nd=Ra.result,Id;if(Id=Ra.input.charCodeAt(Ra.position),is_WS_OR_EOL(Id)||is_FLOW_INDICATOR(Id)||Id===35||Id===38||Id===42||Id===33||Id===124||Id===62||Id===39||Id===34||Id===37||Id===64||Id===96||(Id===63||Id===45)&&(ld=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(ld)||nd&&is_FLOW_INDICATOR(ld)))return!1;for(Ra.kind="scalar",Ra.result="",ud=dd=Ra.position,pd=!1;Id!==0;){if(Id===58){if(ld=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(ld)||nd&&is_FLOW_INDICATOR(ld))break}else if(Id===35){if(od=Ra.input.charCodeAt(Ra.position-1),is_WS_OR_EOL(od))break}else{if(Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)||nd&&is_FLOW_INDICATOR(Id))break;if(is_EOL(Id))if(fd=Ra.line,md=Ra.lineStart,vd=Ra.lineIndent,skipSeparationSpace(Ra,!1,-1),Ra.lineIndent>=qa){pd=!0,Id=Ra.input.charCodeAt(Ra.position);continue}else{Ra.position=dd,Ra.line=fd,Ra.lineStart=md,Ra.lineIndent=vd;break}}pd&&(captureSegment(Ra,ud,dd,!1),writeFoldedLines(Ra,Ra.line-fd),ud=dd=Ra.position,pd=!1),is_WHITE_SPACE(Id)||(dd=Ra.position+1),Id=Ra.input.charCodeAt(++Ra.position)}return captureSegment(Ra,ud,dd,!1),Ra.result?!0:(Ra.kind=Ad,Ra.result=Nd,!1)}__name(readPlainScalar,"readPlainScalar");function readSingleQuotedScalar(Ra,qa){var nd,od,ld;if(nd=Ra.input.charCodeAt(Ra.position),nd!==39)return!1;for(Ra.kind="scalar",Ra.result="",Ra.position++,od=ld=Ra.position;(nd=Ra.input.charCodeAt(Ra.position))!==0;)if(nd===39)if(captureSegment(Ra,od,Ra.position,!0),nd=Ra.input.charCodeAt(++Ra.position),nd===39)od=Ra.position,Ra.position++,ld=Ra.position;else return!0;else is_EOL(nd)?(captureSegment(Ra,od,ld,!0),writeFoldedLines(Ra,skipSeparationSpace(Ra,!1,qa)),od=ld=Ra.position):Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)?throwError(Ra,"unexpected end of the document within a single quoted scalar"):(Ra.position++,ld=Ra.position);throwError(Ra,"unexpected end of the stream within a single quoted scalar")}__name(readSingleQuotedScalar,"readSingleQuotedScalar");function readDoubleQuotedScalar(Ra,qa){var nd,od,ld,ud,dd,pd;if(pd=Ra.input.charCodeAt(Ra.position),pd!==34)return!1;for(Ra.kind="scalar",Ra.result="",Ra.position++,nd=od=Ra.position;(pd=Ra.input.charCodeAt(Ra.position))!==0;){if(pd===34)return captureSegment(Ra,nd,Ra.position,!0),Ra.position++,!0;if(pd===92){if(captureSegment(Ra,nd,Ra.position,!0),pd=Ra.input.charCodeAt(++Ra.position),is_EOL(pd))skipSeparationSpace(Ra,!1,qa);else if(pd<256&&simpleEscapeCheck[pd])Ra.result+=simpleEscapeMap[pd],Ra.position++;else if((dd=escapedHexLen(pd))>0){for(ld=dd,ud=0;ld>0;ld--)pd=Ra.input.charCodeAt(++Ra.position),(dd=fromHexCode(pd))>=0?ud=(ud<<4)+dd:throwError(Ra,"expected hexadecimal character");Ra.result+=charFromCodepoint(ud),Ra.position++}else throwError(Ra,"unknown escape sequence");nd=od=Ra.position}else is_EOL(pd)?(captureSegment(Ra,nd,od,!0),writeFoldedLines(Ra,skipSeparationSpace(Ra,!1,qa)),nd=od=Ra.position):Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)?throwError(Ra,"unexpected end of the document within a double quoted scalar"):(Ra.position++,od=Ra.position)}throwError(Ra,"unexpected end of the stream within a double quoted scalar")}__name(readDoubleQuotedScalar,"readDoubleQuotedScalar");function readFlowCollection(Ra,qa){var nd=!0,od,ld,ud,dd=Ra.tag,pd,fd=Ra.anchor,md,vd,Ad,Nd,Id,Od=Object.create(null),Md,Ud,jd,Ld;if(Ld=Ra.input.charCodeAt(Ra.position),Ld===91)vd=93,Id=!1,pd=[];else if(Ld===123)vd=125,Id=!0,pd={};else return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=pd),Ld=Ra.input.charCodeAt(++Ra.position);Ld!==0;){if(skipSeparationSpace(Ra,!0,qa),Ld=Ra.input.charCodeAt(Ra.position),Ld===vd)return Ra.position++,Ra.tag=dd,Ra.anchor=fd,Ra.kind=Id?"mapping":"sequence",Ra.result=pd,!0;nd?Ld===44&&throwError(Ra,"expected the node content, but found ','"):throwError(Ra,"missed comma between flow collection entries"),Ud=Md=jd=null,Ad=Nd=!1,Ld===63&&(md=Ra.input.charCodeAt(Ra.position+1),is_WS_OR_EOL(md)&&(Ad=Nd=!0,Ra.position++,skipSeparationSpace(Ra,!0,qa))),od=Ra.line,ld=Ra.lineStart,ud=Ra.position,composeNode(Ra,qa,CONTEXT_FLOW_IN,!1,!0),Ud=Ra.tag,Md=Ra.result,skipSeparationSpace(Ra,!0,qa),Ld=Ra.input.charCodeAt(Ra.position),(Nd||Ra.line===od)&&Ld===58&&(Ad=!0,Ld=Ra.input.charCodeAt(++Ra.position),skipSeparationSpace(Ra,!0,qa),composeNode(Ra,qa,CONTEXT_FLOW_IN,!1,!0),jd=Ra.result),Id?storeMappingPair(Ra,pd,Od,Ud,Md,jd,od,ld,ud):Ad?pd.push(storeMappingPair(Ra,null,Od,Ud,Md,jd,od,ld,ud)):pd.push(Md),skipSeparationSpace(Ra,!0,qa),Ld=Ra.input.charCodeAt(Ra.position),Ld===44?(nd=!0,Ld=Ra.input.charCodeAt(++Ra.position)):nd=!1}throwError(Ra,"unexpected end of the stream within a flow collection")}__name(readFlowCollection,"readFlowCollection");function readBlockScalar(Ra,qa){var nd,od,ld=CHOMPING_CLIP,ud=!1,dd=!1,pd=qa,fd=0,md=!1,vd,Ad;if(Ad=Ra.input.charCodeAt(Ra.position),Ad===124)od=!1;else if(Ad===62)od=!0;else return!1;for(Ra.kind="scalar",Ra.result="";Ad!==0;)if(Ad=Ra.input.charCodeAt(++Ra.position),Ad===43||Ad===45)CHOMPING_CLIP===ld?ld=Ad===43?CHOMPING_KEEP:CHOMPING_STRIP:throwError(Ra,"repeat of a chomping mode identifier");else if((vd=fromDecimalCode(Ad))>=0)vd===0?throwError(Ra,"bad explicit indentation width of a block scalar; it cannot be less than one"):dd?throwError(Ra,"repeat of an indentation width identifier"):(pd=qa+vd-1,dd=!0);else break;if(is_WHITE_SPACE(Ad)){do Ad=Ra.input.charCodeAt(++Ra.position);while(is_WHITE_SPACE(Ad));if(Ad===35)do Ad=Ra.input.charCodeAt(++Ra.position);while(!is_EOL(Ad)&&Ad!==0)}for(;Ad!==0;){for(readLineBreak(Ra),Ra.lineIndent=0,Ad=Ra.input.charCodeAt(Ra.position);(!dd||Ra.lineIndent<pd)&&Ad===32;)Ra.lineIndent++,Ad=Ra.input.charCodeAt(++Ra.position);if(!dd&&Ra.lineIndent>pd&&(pd=Ra.lineIndent),is_EOL(Ad)){fd++;continue}if(Ra.lineIndent<pd){ld===CHOMPING_KEEP?Ra.result+=common.repeat(`
|
||
`,ud?1+fd:fd):ld===CHOMPING_CLIP&&ud&&(Ra.result+=`
|
||
`);break}for(od?is_WHITE_SPACE(Ad)?(md=!0,Ra.result+=common.repeat(`
|
||
`,ud?1+fd:fd)):md?(md=!1,Ra.result+=common.repeat(`
|
||
`,fd+1)):fd===0?ud&&(Ra.result+=" "):Ra.result+=common.repeat(`
|
||
`,fd):Ra.result+=common.repeat(`
|
||
`,ud?1+fd:fd),ud=!0,dd=!0,fd=0,nd=Ra.position;!is_EOL(Ad)&&Ad!==0;)Ad=Ra.input.charCodeAt(++Ra.position);captureSegment(Ra,nd,Ra.position,!1)}return!0}__name(readBlockScalar,"readBlockScalar");function readBlockSequence(Ra,qa){var nd,od=Ra.tag,ld=Ra.anchor,ud=[],dd,pd=!1,fd;if(Ra.firstTabInLine!==-1)return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=ud),fd=Ra.input.charCodeAt(Ra.position);fd!==0&&(Ra.firstTabInLine!==-1&&(Ra.position=Ra.firstTabInLine,throwError(Ra,"tab characters must not be used in indentation")),!(fd!==45||(dd=Ra.input.charCodeAt(Ra.position+1),!is_WS_OR_EOL(dd))));){if(pd=!0,Ra.position++,skipSeparationSpace(Ra,!0,-1)&&Ra.lineIndent<=qa){ud.push(null),fd=Ra.input.charCodeAt(Ra.position);continue}if(nd=Ra.line,composeNode(Ra,qa,CONTEXT_BLOCK_IN,!1,!0),ud.push(Ra.result),skipSeparationSpace(Ra,!0,-1),fd=Ra.input.charCodeAt(Ra.position),(Ra.line===nd||Ra.lineIndent>qa)&&fd!==0)throwError(Ra,"bad indentation of a sequence entry");else if(Ra.lineIndent<qa)break}return pd?(Ra.tag=od,Ra.anchor=ld,Ra.kind="sequence",Ra.result=ud,!0):!1}__name(readBlockSequence,"readBlockSequence");function readBlockMapping(Ra,qa,nd){var od,ld,ud,dd,pd,fd,md=Ra.tag,vd=Ra.anchor,Ad={},Nd=Object.create(null),Id=null,Od=null,Md=null,Ud=!1,jd=!1,Ld;if(Ra.firstTabInLine!==-1)return!1;for(Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ad),Ld=Ra.input.charCodeAt(Ra.position);Ld!==0;){if(!Ud&&Ra.firstTabInLine!==-1&&(Ra.position=Ra.firstTabInLine,throwError(Ra,"tab characters must not be used in indentation")),od=Ra.input.charCodeAt(Ra.position+1),ud=Ra.line,(Ld===63||Ld===58)&&is_WS_OR_EOL(od))Ld===63?(Ud&&(storeMappingPair(Ra,Ad,Nd,Id,Od,null,dd,pd,fd),Id=Od=Md=null),jd=!0,Ud=!0,ld=!0):Ud?(Ud=!1,ld=!0):throwError(Ra,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),Ra.position+=1,Ld=od;else{if(dd=Ra.line,pd=Ra.lineStart,fd=Ra.position,!composeNode(Ra,nd,CONTEXT_FLOW_OUT,!1,!0))break;if(Ra.line===ud){for(Ld=Ra.input.charCodeAt(Ra.position);is_WHITE_SPACE(Ld);)Ld=Ra.input.charCodeAt(++Ra.position);if(Ld===58)Ld=Ra.input.charCodeAt(++Ra.position),is_WS_OR_EOL(Ld)||throwError(Ra,"a whitespace character is expected after the key-value separator within a block mapping"),Ud&&(storeMappingPair(Ra,Ad,Nd,Id,Od,null,dd,pd,fd),Id=Od=Md=null),jd=!0,Ud=!1,ld=!1,Id=Ra.tag,Od=Ra.result;else if(jd)throwError(Ra,"can not read an implicit mapping pair; a colon is missed");else return Ra.tag=md,Ra.anchor=vd,!0}else if(jd)throwError(Ra,"can not read a block mapping entry; a multiline key may not be an implicit key");else return Ra.tag=md,Ra.anchor=vd,!0}if((Ra.line===ud||Ra.lineIndent>qa)&&(Ud&&(dd=Ra.line,pd=Ra.lineStart,fd=Ra.position),composeNode(Ra,qa,CONTEXT_BLOCK_OUT,!0,ld)&&(Ud?Od=Ra.result:Md=Ra.result),Ud||(storeMappingPair(Ra,Ad,Nd,Id,Od,Md,dd,pd,fd),Id=Od=Md=null),skipSeparationSpace(Ra,!0,-1),Ld=Ra.input.charCodeAt(Ra.position)),(Ra.line===ud||Ra.lineIndent>qa)&&Ld!==0)throwError(Ra,"bad indentation of a mapping entry");else if(Ra.lineIndent<qa)break}return Ud&&storeMappingPair(Ra,Ad,Nd,Id,Od,null,dd,pd,fd),jd&&(Ra.tag=md,Ra.anchor=vd,Ra.kind="mapping",Ra.result=Ad),jd}__name(readBlockMapping,"readBlockMapping");function readTagProperty(Ra){var qa,nd=!1,od=!1,ld,ud,dd;if(dd=Ra.input.charCodeAt(Ra.position),dd!==33)return!1;if(Ra.tag!==null&&throwError(Ra,"duplication of a tag property"),dd=Ra.input.charCodeAt(++Ra.position),dd===60?(nd=!0,dd=Ra.input.charCodeAt(++Ra.position)):dd===33?(od=!0,ld="!!",dd=Ra.input.charCodeAt(++Ra.position)):ld="!",qa=Ra.position,nd){do dd=Ra.input.charCodeAt(++Ra.position);while(dd!==0&&dd!==62);Ra.position<Ra.length?(ud=Ra.input.slice(qa,Ra.position),dd=Ra.input.charCodeAt(++Ra.position)):throwError(Ra,"unexpected end of the stream within a verbatim tag")}else{for(;dd!==0&&!is_WS_OR_EOL(dd);)dd===33&&(od?throwError(Ra,"tag suffix cannot contain exclamation marks"):(ld=Ra.input.slice(qa-1,Ra.position+1),PATTERN_TAG_HANDLE.test(ld)||throwError(Ra,"named tag handle cannot contain such characters"),od=!0,qa=Ra.position+1)),dd=Ra.input.charCodeAt(++Ra.position);ud=Ra.input.slice(qa,Ra.position),PATTERN_FLOW_INDICATORS.test(ud)&&throwError(Ra,"tag suffix cannot contain flow indicator characters")}ud&&!PATTERN_TAG_URI.test(ud)&&throwError(Ra,"tag name cannot contain such characters: "+ud);try{ud=decodeURIComponent(ud)}catch{throwError(Ra,"tag name is malformed: "+ud)}return nd?Ra.tag=ud:_hasOwnProperty$1.call(Ra.tagMap,ld)?Ra.tag=Ra.tagMap[ld]+ud:ld==="!"?Ra.tag="!"+ud:ld==="!!"?Ra.tag="tag:yaml.org,2002:"+ud:throwError(Ra,'undeclared tag handle "'+ld+'"'),!0}__name(readTagProperty,"readTagProperty");function readAnchorProperty(Ra){var qa,nd;if(nd=Ra.input.charCodeAt(Ra.position),nd!==38)return!1;for(Ra.anchor!==null&&throwError(Ra,"duplication of an anchor property"),nd=Ra.input.charCodeAt(++Ra.position),qa=Ra.position;nd!==0&&!is_WS_OR_EOL(nd)&&!is_FLOW_INDICATOR(nd);)nd=Ra.input.charCodeAt(++Ra.position);return Ra.position===qa&&throwError(Ra,"name of an anchor node must contain at least one character"),Ra.anchor=Ra.input.slice(qa,Ra.position),!0}__name(readAnchorProperty,"readAnchorProperty");function readAlias(Ra){var qa,nd,od;if(od=Ra.input.charCodeAt(Ra.position),od!==42)return!1;for(od=Ra.input.charCodeAt(++Ra.position),qa=Ra.position;od!==0&&!is_WS_OR_EOL(od)&&!is_FLOW_INDICATOR(od);)od=Ra.input.charCodeAt(++Ra.position);return Ra.position===qa&&throwError(Ra,"name of an alias node must contain at least one character"),nd=Ra.input.slice(qa,Ra.position),_hasOwnProperty$1.call(Ra.anchorMap,nd)||throwError(Ra,'unidentified alias "'+nd+'"'),Ra.result=Ra.anchorMap[nd],skipSeparationSpace(Ra,!0,-1),!0}__name(readAlias,"readAlias");function composeNode(Ra,qa,nd,od,ld){var ud,dd,pd,fd=1,md=!1,vd=!1,Ad,Nd,Id,Od,Md,Ud;if(Ra.listener!==null&&Ra.listener("open",Ra),Ra.tag=null,Ra.anchor=null,Ra.kind=null,Ra.result=null,ud=dd=pd=CONTEXT_BLOCK_OUT===nd||CONTEXT_BLOCK_IN===nd,od&&skipSeparationSpace(Ra,!0,-1)&&(md=!0,Ra.lineIndent>qa?fd=1:Ra.lineIndent===qa?fd=0:Ra.lineIndent<qa&&(fd=-1)),fd===1)for(;readTagProperty(Ra)||readAnchorProperty(Ra);)skipSeparationSpace(Ra,!0,-1)?(md=!0,pd=ud,Ra.lineIndent>qa?fd=1:Ra.lineIndent===qa?fd=0:Ra.lineIndent<qa&&(fd=-1)):pd=!1;if(pd&&(pd=md||ld),(fd===1||CONTEXT_BLOCK_OUT===nd)&&(CONTEXT_FLOW_IN===nd||CONTEXT_FLOW_OUT===nd?Md=qa:Md=qa+1,Ud=Ra.position-Ra.lineStart,fd===1?pd&&(readBlockSequence(Ra,Ud)||readBlockMapping(Ra,Ud,Md))||readFlowCollection(Ra,Md)?vd=!0:(dd&&readBlockScalar(Ra,Md)||readSingleQuotedScalar(Ra,Md)||readDoubleQuotedScalar(Ra,Md)?vd=!0:readAlias(Ra)?(vd=!0,(Ra.tag!==null||Ra.anchor!==null)&&throwError(Ra,"alias node should not have any properties")):readPlainScalar(Ra,Md,CONTEXT_FLOW_IN===nd)&&(vd=!0,Ra.tag===null&&(Ra.tag="?")),Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result)):fd===0&&(vd=pd&&readBlockSequence(Ra,Ud))),Ra.tag===null)Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result);else if(Ra.tag==="?"){for(Ra.result!==null&&Ra.kind!=="scalar"&&throwError(Ra,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+Ra.kind+'"'),Ad=0,Nd=Ra.implicitTypes.length;Ad<Nd;Ad+=1)if(Od=Ra.implicitTypes[Ad],Od.resolve(Ra.result)){Ra.result=Od.construct(Ra.result),Ra.tag=Od.tag,Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result);break}}else if(Ra.tag!=="!"){if(_hasOwnProperty$1.call(Ra.typeMap[Ra.kind||"fallback"],Ra.tag))Od=Ra.typeMap[Ra.kind||"fallback"][Ra.tag];else for(Od=null,Id=Ra.typeMap.multi[Ra.kind||"fallback"],Ad=0,Nd=Id.length;Ad<Nd;Ad+=1)if(Ra.tag.slice(0,Id[Ad].tag.length)===Id[Ad].tag){Od=Id[Ad];break}Od||throwError(Ra,"unknown tag !<"+Ra.tag+">"),Ra.result!==null&&Od.kind!==Ra.kind&&throwError(Ra,"unacceptable node kind for !<"+Ra.tag+'> tag; it should be "'+Od.kind+'", not "'+Ra.kind+'"'),Od.resolve(Ra.result,Ra.tag)?(Ra.result=Od.construct(Ra.result,Ra.tag),Ra.anchor!==null&&(Ra.anchorMap[Ra.anchor]=Ra.result)):throwError(Ra,"cannot resolve a node with !<"+Ra.tag+"> explicit tag")}return Ra.listener!==null&&Ra.listener("close",Ra),Ra.tag!==null||Ra.anchor!==null||vd}__name(composeNode,"composeNode");function readDocument(Ra){var qa=Ra.position,nd,od,ld,ud=!1,dd;for(Ra.version=null,Ra.checkLineBreaks=Ra.legacy,Ra.tagMap=Object.create(null),Ra.anchorMap=Object.create(null);(dd=Ra.input.charCodeAt(Ra.position))!==0&&(skipSeparationSpace(Ra,!0,-1),dd=Ra.input.charCodeAt(Ra.position),!(Ra.lineIndent>0||dd!==37));){for(ud=!0,dd=Ra.input.charCodeAt(++Ra.position),nd=Ra.position;dd!==0&&!is_WS_OR_EOL(dd);)dd=Ra.input.charCodeAt(++Ra.position);for(od=Ra.input.slice(nd,Ra.position),ld=[],od.length<1&&throwError(Ra,"directive name must not be less than one character in length");dd!==0;){for(;is_WHITE_SPACE(dd);)dd=Ra.input.charCodeAt(++Ra.position);if(dd===35){do dd=Ra.input.charCodeAt(++Ra.position);while(dd!==0&&!is_EOL(dd));break}if(is_EOL(dd))break;for(nd=Ra.position;dd!==0&&!is_WS_OR_EOL(dd);)dd=Ra.input.charCodeAt(++Ra.position);ld.push(Ra.input.slice(nd,Ra.position))}dd!==0&&readLineBreak(Ra),_hasOwnProperty$1.call(directiveHandlers,od)?directiveHandlers[od](Ra,od,ld):throwWarning(Ra,'unknown document directive "'+od+'"')}if(skipSeparationSpace(Ra,!0,-1),Ra.lineIndent===0&&Ra.input.charCodeAt(Ra.position)===45&&Ra.input.charCodeAt(Ra.position+1)===45&&Ra.input.charCodeAt(Ra.position+2)===45?(Ra.position+=3,skipSeparationSpace(Ra,!0,-1)):ud&&throwError(Ra,"directives end mark is expected"),composeNode(Ra,Ra.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(Ra,!0,-1),Ra.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(Ra.input.slice(qa,Ra.position))&&throwWarning(Ra,"non-ASCII line breaks are interpreted as content"),Ra.documents.push(Ra.result),Ra.position===Ra.lineStart&&testDocumentSeparator(Ra)){Ra.input.charCodeAt(Ra.position)===46&&(Ra.position+=3,skipSeparationSpace(Ra,!0,-1));return}if(Ra.position<Ra.length-1)throwError(Ra,"end of the stream or a document separator is expected");else return}__name(readDocument,"readDocument");function loadDocuments(Ra,qa){Ra=String(Ra),qa=qa||{},Ra.length!==0&&(Ra.charCodeAt(Ra.length-1)!==10&&Ra.charCodeAt(Ra.length-1)!==13&&(Ra+=`
|
||
`),Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)));var nd=new State$1(Ra,qa),od=Ra.indexOf("\0");for(od!==-1&&(nd.position=od,throwError(nd,"null byte is not allowed in input")),nd.input+="\0";nd.input.charCodeAt(nd.position)===32;)nd.lineIndent+=1,nd.position+=1;for(;nd.position<nd.length-1;)readDocument(nd);return nd.documents}__name(loadDocuments,"loadDocuments");function loadAll$1(Ra,qa,nd){qa!==null&&typeof qa=="object"&&typeof nd>"u"&&(nd=qa,qa=null);var od=loadDocuments(Ra,nd);if(typeof qa!="function")return od;for(var ld=0,ud=od.length;ld<ud;ld+=1)qa(od[ld])}__name(loadAll$1,"loadAll$1");function load$1(Ra,qa){var nd=loadDocuments(Ra,qa);if(nd.length!==0){if(nd.length===1)return nd[0];throw new exception("expected a single document in the stream, but found more")}}__name(load$1,"load$1");var loadAll_1=loadAll$1,load_1=load$1,loader$1={loadAll:loadAll_1,load:load_1},_toString=Object.prototype.toString,_hasOwnProperty=Object.prototype.hasOwnProperty,CHAR_BOM=65279,CHAR_TAB=9,CHAR_LINE_FEED=10,CHAR_CARRIAGE_RETURN=13,CHAR_SPACE=32,CHAR_EXCLAMATION=33,CHAR_DOUBLE_QUOTE=34,CHAR_SHARP=35,CHAR_PERCENT=37,CHAR_AMPERSAND=38,CHAR_SINGLE_QUOTE=39,CHAR_ASTERISK=42,CHAR_COMMA=44,CHAR_MINUS=45,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_GREATER_THAN=62,CHAR_QUESTION=63,CHAR_COMMERCIAL_AT=64,CHAR_LEFT_SQUARE_BRACKET=91,CHAR_RIGHT_SQUARE_BRACKET=93,CHAR_GRAVE_ACCENT=96,CHAR_LEFT_CURLY_BRACKET=123,CHAR_VERTICAL_LINE=124,CHAR_RIGHT_CURLY_BRACKET=125,ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]="\\0";ESCAPE_SEQUENCES[7]="\\a";ESCAPE_SEQUENCES[8]="\\b";ESCAPE_SEQUENCES[9]="\\t";ESCAPE_SEQUENCES[10]="\\n";ESCAPE_SEQUENCES[11]="\\v";ESCAPE_SEQUENCES[12]="\\f";ESCAPE_SEQUENCES[13]="\\r";ESCAPE_SEQUENCES[27]="\\e";ESCAPE_SEQUENCES[34]='\\"';ESCAPE_SEQUENCES[92]="\\\\";ESCAPE_SEQUENCES[133]="\\N";ESCAPE_SEQUENCES[160]="\\_";ESCAPE_SEQUENCES[8232]="\\L";ESCAPE_SEQUENCES[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],DEPRECATED_BASE60_SYNTAX=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(Ra,qa){var nd,od,ld,ud,dd,pd,fd;if(qa===null)return{};for(nd={},od=Object.keys(qa),ld=0,ud=od.length;ld<ud;ld+=1)dd=od[ld],pd=String(qa[dd]),dd.slice(0,2)==="!!"&&(dd="tag:yaml.org,2002:"+dd.slice(2)),fd=Ra.compiledTypeMap.fallback[dd],fd&&_hasOwnProperty.call(fd.styleAliases,pd)&&(pd=fd.styleAliases[pd]),nd[dd]=pd;return nd}__name(compileStyleMap,"compileStyleMap");function encodeHex(Ra){var qa,nd,od;if(qa=Ra.toString(16).toUpperCase(),Ra<=255)nd="x",od=2;else if(Ra<=65535)nd="u",od=4;else if(Ra<=4294967295)nd="U",od=8;else throw new exception("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+nd+common.repeat("0",od-qa.length)+qa}__name(encodeHex,"encodeHex");var QUOTING_TYPE_SINGLE=1,QUOTING_TYPE_DOUBLE=2;function State(Ra){this.schema=Ra.schema||_default,this.indent=Math.max(1,Ra.indent||2),this.noArrayIndent=Ra.noArrayIndent||!1,this.skipInvalid=Ra.skipInvalid||!1,this.flowLevel=common.isNothing(Ra.flowLevel)?-1:Ra.flowLevel,this.styleMap=compileStyleMap(this.schema,Ra.styles||null),this.sortKeys=Ra.sortKeys||!1,this.lineWidth=Ra.lineWidth||80,this.noRefs=Ra.noRefs||!1,this.noCompatMode=Ra.noCompatMode||!1,this.condenseFlow=Ra.condenseFlow||!1,this.quotingType=Ra.quotingType==='"'?QUOTING_TYPE_DOUBLE:QUOTING_TYPE_SINGLE,this.forceQuotes=Ra.forceQuotes||!1,this.replacer=typeof Ra.replacer=="function"?Ra.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}__name(State,"State");function indentString(Ra,qa){for(var nd=common.repeat(" ",qa),od=0,ld=-1,ud="",dd,pd=Ra.length;od<pd;)ld=Ra.indexOf(`
|
||
`,od),ld===-1?(dd=Ra.slice(od),od=pd):(dd=Ra.slice(od,ld+1),od=ld+1),dd.length&&dd!==`
|
||
`&&(ud+=nd),ud+=dd;return ud}__name(indentString,"indentString");function generateNextLine(Ra,qa){return`
|
||
`+common.repeat(" ",Ra.indent*qa)}__name(generateNextLine,"generateNextLine");function testImplicitResolving(Ra,qa){var nd,od,ld;for(nd=0,od=Ra.implicitTypes.length;nd<od;nd+=1)if(ld=Ra.implicitTypes[nd],ld.resolve(qa))return!0;return!1}__name(testImplicitResolving,"testImplicitResolving");function isWhitespace(Ra){return Ra===CHAR_SPACE||Ra===CHAR_TAB}__name(isWhitespace,"isWhitespace");function isPrintable(Ra){return 32<=Ra&&Ra<=126||161<=Ra&&Ra<=55295&&Ra!==8232&&Ra!==8233||57344<=Ra&&Ra<=65533&&Ra!==CHAR_BOM||65536<=Ra&&Ra<=1114111}__name(isPrintable,"isPrintable");function isNsCharOrWhitespace(Ra){return isPrintable(Ra)&&Ra!==CHAR_BOM&&Ra!==CHAR_CARRIAGE_RETURN&&Ra!==CHAR_LINE_FEED}__name(isNsCharOrWhitespace,"isNsCharOrWhitespace");function isPlainSafe(Ra,qa,nd){var od=isNsCharOrWhitespace(Ra),ld=od&&!isWhitespace(Ra);return(nd?od:od&&Ra!==CHAR_COMMA&&Ra!==CHAR_LEFT_SQUARE_BRACKET&&Ra!==CHAR_RIGHT_SQUARE_BRACKET&&Ra!==CHAR_LEFT_CURLY_BRACKET&&Ra!==CHAR_RIGHT_CURLY_BRACKET)&&Ra!==CHAR_SHARP&&!(qa===CHAR_COLON&&!ld)||isNsCharOrWhitespace(qa)&&!isWhitespace(qa)&&Ra===CHAR_SHARP||qa===CHAR_COLON&&ld}__name(isPlainSafe,"isPlainSafe");function isPlainSafeFirst(Ra){return isPrintable(Ra)&&Ra!==CHAR_BOM&&!isWhitespace(Ra)&&Ra!==CHAR_MINUS&&Ra!==CHAR_QUESTION&&Ra!==CHAR_COLON&&Ra!==CHAR_COMMA&&Ra!==CHAR_LEFT_SQUARE_BRACKET&&Ra!==CHAR_RIGHT_SQUARE_BRACKET&&Ra!==CHAR_LEFT_CURLY_BRACKET&&Ra!==CHAR_RIGHT_CURLY_BRACKET&&Ra!==CHAR_SHARP&&Ra!==CHAR_AMPERSAND&&Ra!==CHAR_ASTERISK&&Ra!==CHAR_EXCLAMATION&&Ra!==CHAR_VERTICAL_LINE&&Ra!==CHAR_EQUALS&&Ra!==CHAR_GREATER_THAN&&Ra!==CHAR_SINGLE_QUOTE&&Ra!==CHAR_DOUBLE_QUOTE&&Ra!==CHAR_PERCENT&&Ra!==CHAR_COMMERCIAL_AT&&Ra!==CHAR_GRAVE_ACCENT}__name(isPlainSafeFirst,"isPlainSafeFirst");function isPlainSafeLast(Ra){return!isWhitespace(Ra)&&Ra!==CHAR_COLON}__name(isPlainSafeLast,"isPlainSafeLast");function codePointAt(Ra,qa){var nd=Ra.charCodeAt(qa),od;return nd>=55296&&nd<=56319&&qa+1<Ra.length&&(od=Ra.charCodeAt(qa+1),od>=56320&&od<=57343)?(nd-55296)*1024+od-56320+65536:nd}__name(codePointAt,"codePointAt");function needIndentIndicator(Ra){var qa=/^\n* /;return qa.test(Ra)}__name(needIndentIndicator,"needIndentIndicator");var STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;function chooseScalarStyle(Ra,qa,nd,od,ld,ud,dd,pd){var fd,md=0,vd=null,Ad=!1,Nd=!1,Id=od!==-1,Od=-1,Md=isPlainSafeFirst(codePointAt(Ra,0))&&isPlainSafeLast(codePointAt(Ra,Ra.length-1));if(qa||dd)for(fd=0;fd<Ra.length;md>=65536?fd+=2:fd++){if(md=codePointAt(Ra,fd),!isPrintable(md))return STYLE_DOUBLE;Md=Md&&isPlainSafe(md,vd,pd),vd=md}else{for(fd=0;fd<Ra.length;md>=65536?fd+=2:fd++){if(md=codePointAt(Ra,fd),md===CHAR_LINE_FEED)Ad=!0,Id&&(Nd=Nd||fd-Od-1>od&&Ra[Od+1]!==" ",Od=fd);else if(!isPrintable(md))return STYLE_DOUBLE;Md=Md&&isPlainSafe(md,vd,pd),vd=md}Nd=Nd||Id&&fd-Od-1>od&&Ra[Od+1]!==" "}return!Ad&&!Nd?Md&&!dd&&!ld(Ra)?STYLE_PLAIN:ud===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:nd>9&&needIndentIndicator(Ra)?STYLE_DOUBLE:dd?ud===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE:Nd?STYLE_FOLDED:STYLE_LITERAL}__name(chooseScalarStyle,"chooseScalarStyle");function writeScalar(Ra,qa,nd,od,ld){Ra.dump=function(){if(qa.length===0)return Ra.quotingType===QUOTING_TYPE_DOUBLE?'""':"''";if(!Ra.noCompatMode&&(DEPRECATED_BOOLEANS_SYNTAX.indexOf(qa)!==-1||DEPRECATED_BASE60_SYNTAX.test(qa)))return Ra.quotingType===QUOTING_TYPE_DOUBLE?'"'+qa+'"':"'"+qa+"'";var ud=Ra.indent*Math.max(1,nd),dd=Ra.lineWidth===-1?-1:Math.max(Math.min(Ra.lineWidth,40),Ra.lineWidth-ud),pd=od||Ra.flowLevel>-1&&nd>=Ra.flowLevel;function fd(md){return testImplicitResolving(Ra,md)}switch(__name(fd,"testAmbiguity"),chooseScalarStyle(qa,pd,Ra.indent,dd,fd,Ra.quotingType,Ra.forceQuotes&&!od,ld)){case STYLE_PLAIN:return qa;case STYLE_SINGLE:return"'"+qa.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(qa,Ra.indent)+dropEndingNewline(indentString(qa,ud));case STYLE_FOLDED:return">"+blockHeader(qa,Ra.indent)+dropEndingNewline(indentString(foldString(qa,dd),ud));case STYLE_DOUBLE:return'"'+escapeString(qa)+'"';default:throw new exception("impossible error: invalid scalar style")}}()}__name(writeScalar,"writeScalar");function blockHeader(Ra,qa){var nd=needIndentIndicator(Ra)?String(qa):"",od=Ra[Ra.length-1]===`
|
||
`,ld=od&&(Ra[Ra.length-2]===`
|
||
`||Ra===`
|
||
`),ud=ld?"+":od?"":"-";return nd+ud+`
|
||
`}__name(blockHeader,"blockHeader");function dropEndingNewline(Ra){return Ra[Ra.length-1]===`
|
||
`?Ra.slice(0,-1):Ra}__name(dropEndingNewline,"dropEndingNewline");function foldString(Ra,qa){for(var nd=/(\n+)([^\n]*)/g,od=function(){var md=Ra.indexOf(`
|
||
`);return md=md!==-1?md:Ra.length,nd.lastIndex=md,foldLine(Ra.slice(0,md),qa)}(),ld=Ra[0]===`
|
||
`||Ra[0]===" ",ud,dd;dd=nd.exec(Ra);){var pd=dd[1],fd=dd[2];ud=fd[0]===" ",od+=pd+(!ld&&!ud&&fd!==""?`
|
||
`:"")+foldLine(fd,qa),ld=ud}return od}__name(foldString,"foldString");function foldLine(Ra,qa){if(Ra===""||Ra[0]===" ")return Ra;for(var nd=/ [^ ]/g,od,ld=0,ud,dd=0,pd=0,fd="";od=nd.exec(Ra);)pd=od.index,pd-ld>qa&&(ud=dd>ld?dd:pd,fd+=`
|
||
`+Ra.slice(ld,ud),ld=ud+1),dd=pd;return fd+=`
|
||
`,Ra.length-ld>qa&&dd>ld?fd+=Ra.slice(ld,dd)+`
|
||
`+Ra.slice(dd+1):fd+=Ra.slice(ld),fd.slice(1)}__name(foldLine,"foldLine");function escapeString(Ra){for(var qa="",nd=0,od,ld=0;ld<Ra.length;nd>=65536?ld+=2:ld++)nd=codePointAt(Ra,ld),od=ESCAPE_SEQUENCES[nd],!od&&isPrintable(nd)?(qa+=Ra[ld],nd>=65536&&(qa+=Ra[ld+1])):qa+=od||encodeHex(nd);return qa}__name(escapeString,"escapeString");function writeFlowSequence(Ra,qa,nd){var od="",ld=Ra.tag,ud,dd,pd;for(ud=0,dd=nd.length;ud<dd;ud+=1)pd=nd[ud],Ra.replacer&&(pd=Ra.replacer.call(nd,String(ud),pd)),(writeNode(Ra,qa,pd,!1,!1)||typeof pd>"u"&&writeNode(Ra,qa,null,!1,!1))&&(od!==""&&(od+=","+(Ra.condenseFlow?"":" ")),od+=Ra.dump);Ra.tag=ld,Ra.dump="["+od+"]"}__name(writeFlowSequence,"writeFlowSequence");function writeBlockSequence(Ra,qa,nd,od){var ld="",ud=Ra.tag,dd,pd,fd;for(dd=0,pd=nd.length;dd<pd;dd+=1)fd=nd[dd],Ra.replacer&&(fd=Ra.replacer.call(nd,String(dd),fd)),(writeNode(Ra,qa+1,fd,!0,!0,!1,!0)||typeof fd>"u"&&writeNode(Ra,qa+1,null,!0,!0,!1,!0))&&((!od||ld!=="")&&(ld+=generateNextLine(Ra,qa)),Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?ld+="-":ld+="- ",ld+=Ra.dump);Ra.tag=ud,Ra.dump=ld||"[]"}__name(writeBlockSequence,"writeBlockSequence");function writeFlowMapping(Ra,qa,nd){var od="",ld=Ra.tag,ud=Object.keys(nd),dd,pd,fd,md,vd;for(dd=0,pd=ud.length;dd<pd;dd+=1)vd="",od!==""&&(vd+=", "),Ra.condenseFlow&&(vd+='"'),fd=ud[dd],md=nd[fd],Ra.replacer&&(md=Ra.replacer.call(nd,fd,md)),writeNode(Ra,qa,fd,!1,!1)&&(Ra.dump.length>1024&&(vd+="? "),vd+=Ra.dump+(Ra.condenseFlow?'"':"")+":"+(Ra.condenseFlow?"":" "),writeNode(Ra,qa,md,!1,!1)&&(vd+=Ra.dump,od+=vd));Ra.tag=ld,Ra.dump="{"+od+"}"}__name(writeFlowMapping,"writeFlowMapping");function writeBlockMapping(Ra,qa,nd,od){var ld="",ud=Ra.tag,dd=Object.keys(nd),pd,fd,md,vd,Ad,Nd;if(Ra.sortKeys===!0)dd.sort();else if(typeof Ra.sortKeys=="function")dd.sort(Ra.sortKeys);else if(Ra.sortKeys)throw new exception("sortKeys must be a boolean or a function");for(pd=0,fd=dd.length;pd<fd;pd+=1)Nd="",(!od||ld!=="")&&(Nd+=generateNextLine(Ra,qa)),md=dd[pd],vd=nd[md],Ra.replacer&&(vd=Ra.replacer.call(nd,md,vd)),writeNode(Ra,qa+1,md,!0,!0,!0)&&(Ad=Ra.tag!==null&&Ra.tag!=="?"||Ra.dump&&Ra.dump.length>1024,Ad&&(Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?Nd+="?":Nd+="? "),Nd+=Ra.dump,Ad&&(Nd+=generateNextLine(Ra,qa)),writeNode(Ra,qa+1,vd,!0,Ad)&&(Ra.dump&&CHAR_LINE_FEED===Ra.dump.charCodeAt(0)?Nd+=":":Nd+=": ",Nd+=Ra.dump,ld+=Nd));Ra.tag=ud,Ra.dump=ld||"{}"}__name(writeBlockMapping,"writeBlockMapping");function detectType(Ra,qa,nd){var od,ld,ud,dd,pd,fd;for(ld=nd?Ra.explicitTypes:Ra.implicitTypes,ud=0,dd=ld.length;ud<dd;ud+=1)if(pd=ld[ud],(pd.instanceOf||pd.predicate)&&(!pd.instanceOf||typeof qa=="object"&&qa instanceof pd.instanceOf)&&(!pd.predicate||pd.predicate(qa))){if(nd?pd.multi&&pd.representName?Ra.tag=pd.representName(qa):Ra.tag=pd.tag:Ra.tag="?",pd.represent){if(fd=Ra.styleMap[pd.tag]||pd.defaultStyle,_toString.call(pd.represent)==="[object Function]")od=pd.represent(qa,fd);else if(_hasOwnProperty.call(pd.represent,fd))od=pd.represent[fd](qa,fd);else throw new exception("!<"+pd.tag+'> tag resolver accepts not "'+fd+'" style');Ra.dump=od}return!0}return!1}__name(detectType,"detectType");function writeNode(Ra,qa,nd,od,ld,ud,dd){Ra.tag=null,Ra.dump=nd,detectType(Ra,nd,!1)||detectType(Ra,nd,!0);var pd=_toString.call(Ra.dump),fd=od,md;od&&(od=Ra.flowLevel<0||Ra.flowLevel>qa);var vd=pd==="[object Object]"||pd==="[object Array]",Ad,Nd;if(vd&&(Ad=Ra.duplicates.indexOf(nd),Nd=Ad!==-1),(Ra.tag!==null&&Ra.tag!=="?"||Nd||Ra.indent!==2&&qa>0)&&(ld=!1),Nd&&Ra.usedDuplicates[Ad])Ra.dump="*ref_"+Ad;else{if(vd&&Nd&&!Ra.usedDuplicates[Ad]&&(Ra.usedDuplicates[Ad]=!0),pd==="[object Object]")od&&Object.keys(Ra.dump).length!==0?(writeBlockMapping(Ra,qa,Ra.dump,ld),Nd&&(Ra.dump="&ref_"+Ad+Ra.dump)):(writeFlowMapping(Ra,qa,Ra.dump),Nd&&(Ra.dump="&ref_"+Ad+" "+Ra.dump));else if(pd==="[object Array]")od&&Ra.dump.length!==0?(Ra.noArrayIndent&&!dd&&qa>0?writeBlockSequence(Ra,qa-1,Ra.dump,ld):writeBlockSequence(Ra,qa,Ra.dump,ld),Nd&&(Ra.dump="&ref_"+Ad+Ra.dump)):(writeFlowSequence(Ra,qa,Ra.dump),Nd&&(Ra.dump="&ref_"+Ad+" "+Ra.dump));else if(pd==="[object String]")Ra.tag!=="?"&&writeScalar(Ra,Ra.dump,qa,ud,fd);else{if(pd==="[object Undefined]")return!1;if(Ra.skipInvalid)return!1;throw new exception("unacceptable kind of an object to dump "+pd)}Ra.tag!==null&&Ra.tag!=="?"&&(md=encodeURI(Ra.tag[0]==="!"?Ra.tag.slice(1):Ra.tag).replace(/!/g,"%21"),Ra.tag[0]==="!"?md="!"+md:md.slice(0,18)==="tag:yaml.org,2002:"?md="!!"+md.slice(18):md="!<"+md+">",Ra.dump=md+" "+Ra.dump)}return!0}__name(writeNode,"writeNode");function getDuplicateReferences(Ra,qa){var nd=[],od=[],ld,ud;for(inspectNode(Ra,nd,od),ld=0,ud=od.length;ld<ud;ld+=1)qa.duplicates.push(nd[od[ld]]);qa.usedDuplicates=new Array(ud)}__name(getDuplicateReferences,"getDuplicateReferences");function inspectNode(Ra,qa,nd){var od,ld,ud;if(Ra!==null&&typeof Ra=="object")if(ld=qa.indexOf(Ra),ld!==-1)nd.indexOf(ld)===-1&&nd.push(ld);else if(qa.push(Ra),Array.isArray(Ra))for(ld=0,ud=Ra.length;ld<ud;ld+=1)inspectNode(Ra[ld],qa,nd);else for(od=Object.keys(Ra),ld=0,ud=od.length;ld<ud;ld+=1)inspectNode(Ra[od[ld]],qa,nd)}__name(inspectNode,"inspectNode");function dump$1(Ra,qa){qa=qa||{};var nd=new State(qa);nd.noRefs||getDuplicateReferences(Ra,nd);var od=Ra;return nd.replacer&&(od=nd.replacer.call({"":od},"",od)),writeNode(nd,0,od,!0,!0)?nd.dump+`
|
||
`:""}__name(dump$1,"dump$1");function renamed(Ra,qa){return function(){throw new Error("Function yaml."+Ra+" is removed in js-yaml 4. Use yaml."+qa+" instead, which is now safe by default.")}}__name(renamed,"renamed");var JSON_SCHEMA=json,load=loader$1.load;/*! Bundled license information:
|
||
|
||
js-yaml/dist/js-yaml.mjs:
|
||
(*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
|
||
*/const defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1}),defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(Ra,qa,nd,od="")=>{const ld=Ra.split(":");if(Ra.slice(0,1)==="@"){if(ld.length<2||ld.length>3)return null;od=ld.shift().slice(1)}if(ld.length>3||!ld.length)return null;if(ld.length>1){const pd=ld.pop(),fd=ld.pop(),md={provider:ld.length>0?ld[0]:od,prefix:fd,name:pd};return validateIconName(md)?md:null}const ud=ld[0],dd=ud.split("-");if(dd.length>1){const pd={provider:od,prefix:dd.shift(),name:dd.join("-")};return validateIconName(pd)?pd:null}if(nd&&od===""){const pd={provider:od,prefix:"",name:ud};return validateIconName(pd,nd)?pd:null}return null},validateIconName=(Ra,qa)=>Ra?!!((Ra.provider===""||Ra.provider.match(matchIconName))&&(qa&&Ra.prefix===""||Ra.prefix.match(matchIconName))&&Ra.name.match(matchIconName)):!1;function mergeIconTransformations(Ra,qa){const nd={};!Ra.hFlip!=!qa.hFlip&&(nd.hFlip=!0),!Ra.vFlip!=!qa.vFlip&&(nd.vFlip=!0);const od=((Ra.rotate||0)+(qa.rotate||0))%4;return od&&(nd.rotate=od),nd}function mergeIconData(Ra,qa){const nd=mergeIconTransformations(Ra,qa);for(const od in defaultExtendedIconProps)od in defaultIconTransformations?od in Ra&&!(od in nd)&&(nd[od]=defaultIconTransformations[od]):od in qa?nd[od]=qa[od]:od in Ra&&(nd[od]=Ra[od]);return nd}function getIconsTree(Ra,qa){const nd=Ra.icons,od=Ra.aliases||Object.create(null),ld=Object.create(null);function ud(dd){if(nd[dd])return ld[dd]=[];if(!(dd in ld)){ld[dd]=null;const pd=od[dd]&&od[dd].parent,fd=pd&&ud(pd);fd&&(ld[dd]=[pd].concat(fd))}return ld[dd]}return(qa||Object.keys(nd).concat(Object.keys(od))).forEach(ud),ld}function internalGetIconData(Ra,qa,nd){const od=Ra.icons,ld=Ra.aliases||Object.create(null);let ud={};function dd(pd){ud=mergeIconData(od[pd]||ld[pd],ud)}return dd(qa),nd.forEach(dd),mergeIconData(Ra,ud)}function getIconData(Ra,qa){if(Ra.icons[qa])return internalGetIconData(Ra,qa,[]);const nd=getIconsTree(Ra,[qa])[qa];return nd?internalGetIconData(Ra,qa,nd):null}const unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(Ra,qa,nd){if(qa===1)return Ra;if(nd=nd||100,typeof Ra=="number")return Math.ceil(Ra*qa*nd)/nd;if(typeof Ra!="string")return Ra;const od=Ra.split(unitsSplit);if(od===null||!od.length)return Ra;const ld=[];let ud=od.shift(),dd=unitsTest.test(ud);for(;;){if(dd){const pd=parseFloat(ud);isNaN(pd)?ld.push(ud):ld.push(Math.ceil(pd*qa*nd)/nd)}else ld.push(ud);if(ud=od.shift(),ud===void 0)return ld.join("");dd=!dd}}function splitSVGDefs(Ra,qa="defs"){let nd="";const od=Ra.indexOf("<"+qa);for(;od>=0;){const ld=Ra.indexOf(">",od),ud=Ra.indexOf("</"+qa);if(ld===-1||ud===-1)break;const dd=Ra.indexOf(">",ud);if(dd===-1)break;nd+=Ra.slice(ld+1,ud).trim(),Ra=Ra.slice(0,od).trim()+Ra.slice(dd+1)}return{defs:nd,content:Ra}}function mergeDefsAndContent(Ra,qa){return Ra?"<defs>"+Ra+"</defs>"+qa:qa}function wrapSVGContent(Ra,qa,nd){const od=splitSVGDefs(Ra);return mergeDefsAndContent(od.defs,qa+od.content+nd)}const isUnsetKeyword=Ra=>Ra==="unset"||Ra==="undefined"||Ra==="none";function iconToSVG(Ra,qa){const nd={...defaultIconProps,...Ra},od={...defaultIconCustomisations,...qa},ld={left:nd.left,top:nd.top,width:nd.width,height:nd.height};let ud=nd.body;[nd,od].forEach(Md=>{const Ud=[],jd=Md.hFlip,Ld=Md.vFlip;let Bd=Md.rotate;jd?Ld?Bd+=2:(Ud.push("translate("+(ld.width+ld.left).toString()+" "+(0-ld.top).toString()+")"),Ud.push("scale(-1 1)"),ld.top=ld.left=0):Ld&&(Ud.push("translate("+(0-ld.left).toString()+" "+(ld.height+ld.top).toString()+")"),Ud.push("scale(1 -1)"),ld.top=ld.left=0);let Gd;switch(Bd<0&&(Bd-=Math.floor(Bd/4)*4),Bd=Bd%4,Bd){case 1:Gd=ld.height/2+ld.top,Ud.unshift("rotate(90 "+Gd.toString()+" "+Gd.toString()+")");break;case 2:Ud.unshift("rotate(180 "+(ld.width/2+ld.left).toString()+" "+(ld.height/2+ld.top).toString()+")");break;case 3:Gd=ld.width/2+ld.left,Ud.unshift("rotate(-90 "+Gd.toString()+" "+Gd.toString()+")");break}Bd%2===1&&(ld.left!==ld.top&&(Gd=ld.left,ld.left=ld.top,ld.top=Gd),ld.width!==ld.height&&(Gd=ld.width,ld.width=ld.height,ld.height=Gd)),Ud.length&&(ud=wrapSVGContent(ud,'<g transform="'+Ud.join(" ")+'">',"</g>"))});const dd=od.width,pd=od.height,fd=ld.width,md=ld.height;let vd,Ad;dd===null?(Ad=pd===null?"1em":pd==="auto"?md:pd,vd=calculateSize(Ad,fd/md)):(vd=dd==="auto"?fd:dd,Ad=pd===null?calculateSize(vd,md/fd):pd==="auto"?md:pd);const Nd={},Id=(Md,Ud)=>{isUnsetKeyword(Ud)||(Nd[Md]=Ud.toString())};Id("width",vd),Id("height",Ad);const Od=[ld.left,ld.top,fd,md];return Nd.viewBox=Od.join(" "),{attributes:Nd,viewBox:Od,body:ud}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(Ra,qa=randomPrefix){const nd=[];let od;for(;od=regex.exec(Ra);)nd.push(od[1]);if(!nd.length)return Ra;const ld="suffix"+(Math.random()*16777216|Date.now()).toString(16);return nd.forEach(ud=>{const dd=typeof qa=="function"?qa(ud):qa+(counter++).toString(),pd=ud.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");Ra=Ra.replace(new RegExp('([#;"])('+pd+')([")]|\\.[a-z])',"g"),"$1"+dd+ld+"$3")}),Ra=Ra.replace(new RegExp(ld,"g"),""),Ra}function iconToHTML(Ra,qa){let nd=Ra.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const od in qa)nd+=" "+od+'="'+qa[od]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+nd+">"+Ra+"</svg>"}var unknownIcon={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},iconsStore=new Map,loaderStore=new Map,registerIconPacks=__name(Ra=>{for(const qa of Ra){if(!qa.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(log$1.debug("Registering icon pack:",qa.name),"loader"in qa)loaderStore.set(qa.name,qa.loader);else if("icons"in qa)iconsStore.set(qa.name,qa.icons);else throw log$1.error("Invalid icon loader:",qa),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),getRegisteredIconData=__name(async(Ra,qa)=>{const nd=stringToIcon(Ra,!0,qa!==void 0);if(!nd)throw new Error(`Invalid icon name: ${Ra}`);const od=nd.prefix||qa;if(!od)throw new Error(`Icon name must contain a prefix: ${Ra}`);let ld=iconsStore.get(od);if(!ld){const dd=loaderStore.get(od);if(!dd)throw new Error(`Icon set not found: ${nd.prefix}`);try{ld={...await dd(),prefix:od},iconsStore.set(od,ld)}catch(pd){throw log$1.error(pd),new Error(`Failed to load icon set: ${nd.prefix}`)}}const ud=getIconData(ld,nd.name);if(!ud)throw new Error(`Icon not found: ${Ra}`);return ud},"getRegisteredIconData"),getIconSVG=__name(async(Ra,qa)=>{let nd;try{nd=await getRegisteredIconData(Ra,qa==null?void 0:qa.fallbackPrefix)}catch(ud){log$1.error(ud),nd=unknownIcon}const od=iconToSVG(nd,qa);return iconToHTML(replaceIDs(od.body),od.attributes)},"getIconSVG"),getSubGraphTitleMargins=__name(({flowchart:Ra})=>{var ld,ud;const qa=((ld=Ra==null?void 0:Ra.subGraphTitleMargin)==null?void 0:ld.top)??0,nd=((ud=Ra==null?void 0:Ra.subGraphTitleMargin)==null?void 0:ud.bottom)??0,od=qa+nd;return{subGraphTitleTopMargin:qa,subGraphTitleBottomMargin:nd,subGraphTitleTotalMargin:od}},"getSubGraphTitleMargins"),dist={},constants={};Object.defineProperty(constants,"__esModule",{value:!0});constants.BLANK_URL=constants.relativeFirstCharacters=constants.whitespaceEscapeCharsRegex=constants.urlSchemeRegex=constants.ctrlCharactersRegex=constants.htmlCtrlEntityRegex=constants.htmlEntitiesRegex=constants.invalidProtocolRegex=void 0;constants.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;constants.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;constants.htmlCtrlEntityRegex=/&(newline|tab);/gi;constants.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;constants.urlSchemeRegex=/^.+(:|:)/gim;constants.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;constants.relativeFirstCharacters=[".","/"];constants.BLANK_URL="about:blank";Object.defineProperty(dist,"__esModule",{value:!0});var sanitizeUrl_1=dist.sanitizeUrl=void 0,constants_1=constants;function isRelativeUrlWithoutProtocol(Ra){return constants_1.relativeFirstCharacters.indexOf(Ra[0])>-1}function decodeHtmlCharacters(Ra){var qa=Ra.replace(constants_1.ctrlCharactersRegex,"");return qa.replace(constants_1.htmlEntitiesRegex,function(nd,od){return String.fromCharCode(od)})}function isValidUrl(Ra){return URL.canParse(Ra)}function decodeURI$1(Ra){try{return decodeURIComponent(Ra)}catch{return Ra}}function sanitizeUrl(Ra){if(!Ra)return constants_1.BLANK_URL;var qa,nd=decodeURI$1(Ra.trim());do nd=decodeHtmlCharacters(nd).replace(constants_1.htmlCtrlEntityRegex,"").replace(constants_1.ctrlCharactersRegex,"").replace(constants_1.whitespaceEscapeCharsRegex,"").trim(),nd=decodeURI$1(nd),qa=nd.match(constants_1.ctrlCharactersRegex)||nd.match(constants_1.htmlEntitiesRegex)||nd.match(constants_1.htmlCtrlEntityRegex)||nd.match(constants_1.whitespaceEscapeCharsRegex);while(qa&&qa.length>0);var od=nd;if(!od)return constants_1.BLANK_URL;if(isRelativeUrlWithoutProtocol(od))return od;var ld=od.trimStart(),ud=ld.match(constants_1.urlSchemeRegex);if(!ud)return od;var dd=ud[0].toLowerCase().trim();if(constants_1.invalidProtocolRegex.test(dd))return constants_1.BLANK_URL;var pd=ld.replace(/\\/g,"/");if(dd==="mailto:"||dd.includes("://"))return pd;if(dd==="http:"||dd==="https:"){if(!isValidUrl(pd))return constants_1.BLANK_URL;var fd=new URL(pd);return fd.protocol=fd.protocol.toLowerCase(),fd.hostname=fd.hostname.toLowerCase(),fd.toString()}return pd}sanitizeUrl_1=dist.sanitizeUrl=sanitizeUrl;var noop$4={value:()=>{}};function dispatch(){for(var Ra=0,qa=arguments.length,nd={},od;Ra<qa;++Ra){if(!(od=arguments[Ra]+"")||od in nd||/[\s.]/.test(od))throw new Error("illegal type: "+od);nd[od]=[]}return new Dispatch(nd)}function Dispatch(Ra){this._=Ra}function parseTypenames$1(Ra,qa){return Ra.trim().split(/^|\s+/).map(function(nd){var od="",ld=nd.indexOf(".");if(ld>=0&&(od=nd.slice(ld+1),nd=nd.slice(0,ld)),nd&&!qa.hasOwnProperty(nd))throw new Error("unknown type: "+nd);return{type:nd,name:od}})}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(Ra,qa){var nd=this._,od=parseTypenames$1(Ra+"",nd),ld,ud=-1,dd=od.length;if(arguments.length<2){for(;++ud<dd;)if((ld=(Ra=od[ud]).type)&&(ld=get$1(nd[ld],Ra.name)))return ld;return}if(qa!=null&&typeof qa!="function")throw new Error("invalid callback: "+qa);for(;++ud<dd;)if(ld=(Ra=od[ud]).type)nd[ld]=set$1(nd[ld],Ra.name,qa);else if(qa==null)for(ld in nd)nd[ld]=set$1(nd[ld],Ra.name,null);return this},copy:function(){var Ra={},qa=this._;for(var nd in qa)Ra[nd]=qa[nd].slice();return new Dispatch(Ra)},call:function(Ra,qa){if((ld=arguments.length-2)>0)for(var nd=new Array(ld),od=0,ld,ud;od<ld;++od)nd[od]=arguments[od+2];if(!this._.hasOwnProperty(Ra))throw new Error("unknown type: "+Ra);for(ud=this._[Ra],od=0,ld=ud.length;od<ld;++od)ud[od].value.apply(qa,nd)},apply:function(Ra,qa,nd){if(!this._.hasOwnProperty(Ra))throw new Error("unknown type: "+Ra);for(var od=this._[Ra],ld=0,ud=od.length;ld<ud;++ld)od[ld].value.apply(qa,nd)}};function get$1(Ra,qa){for(var nd=0,od=Ra.length,ld;nd<od;++nd)if((ld=Ra[nd]).name===qa)return ld.value}function set$1(Ra,qa,nd){for(var od=0,ld=Ra.length;od<ld;++od)if(Ra[od].name===qa){Ra[od]=noop$4,Ra=Ra.slice(0,od).concat(Ra.slice(od+1));break}return nd!=null&&Ra.push({name:qa,value:nd}),Ra}var xhtml="http://www.w3.org/1999/xhtml";const namespaces={svg:"http://www.w3.org/2000/svg",xhtml,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function namespace(Ra){var qa=Ra+="",nd=qa.indexOf(":");return nd>=0&&(qa=Ra.slice(0,nd))!=="xmlns"&&(Ra=Ra.slice(nd+1)),namespaces.hasOwnProperty(qa)?{space:namespaces[qa],local:Ra}:Ra}function creatorInherit(Ra){return function(){var qa=this.ownerDocument,nd=this.namespaceURI;return nd===xhtml&&qa.documentElement.namespaceURI===xhtml?qa.createElement(Ra):qa.createElementNS(nd,Ra)}}function creatorFixed(Ra){return function(){return this.ownerDocument.createElementNS(Ra.space,Ra.local)}}function creator(Ra){var qa=namespace(Ra);return(qa.local?creatorFixed:creatorInherit)(qa)}function none(){}function selector(Ra){return Ra==null?none:function(){return this.querySelector(Ra)}}function selection_select(Ra){typeof Ra!="function"&&(Ra=selector(Ra));for(var qa=this._groups,nd=qa.length,od=new Array(nd),ld=0;ld<nd;++ld)for(var ud=qa[ld],dd=ud.length,pd=od[ld]=new Array(dd),fd,md,vd=0;vd<dd;++vd)(fd=ud[vd])&&(md=Ra.call(fd,fd.__data__,vd,ud))&&("__data__"in fd&&(md.__data__=fd.__data__),pd[vd]=md);return new Selection$1(od,this._parents)}function array$1(Ra){return Ra==null?[]:Array.isArray(Ra)?Ra:Array.from(Ra)}function empty(){return[]}function selectorAll(Ra){return Ra==null?empty:function(){return this.querySelectorAll(Ra)}}function arrayAll(Ra){return function(){return array$1(Ra.apply(this,arguments))}}function selection_selectAll(Ra){typeof Ra=="function"?Ra=arrayAll(Ra):Ra=selectorAll(Ra);for(var qa=this._groups,nd=qa.length,od=[],ld=[],ud=0;ud<nd;++ud)for(var dd=qa[ud],pd=dd.length,fd,md=0;md<pd;++md)(fd=dd[md])&&(od.push(Ra.call(fd,fd.__data__,md,dd)),ld.push(fd));return new Selection$1(od,ld)}function matcher(Ra){return function(){return this.matches(Ra)}}function childMatcher(Ra){return function(qa){return qa.matches(Ra)}}var find=Array.prototype.find;function childFind(Ra){return function(){return find.call(this.children,Ra)}}function childFirst(){return this.firstElementChild}function selection_selectChild(Ra){return this.select(Ra==null?childFirst:childFind(typeof Ra=="function"?Ra:childMatcher(Ra)))}var filter$2=Array.prototype.filter;function children$1(){return Array.from(this.children)}function childrenFilter(Ra){return function(){return filter$2.call(this.children,Ra)}}function selection_selectChildren(Ra){return this.selectAll(Ra==null?children$1:childrenFilter(typeof Ra=="function"?Ra:childMatcher(Ra)))}function selection_filter(Ra){typeof Ra!="function"&&(Ra=matcher(Ra));for(var qa=this._groups,nd=qa.length,od=new Array(nd),ld=0;ld<nd;++ld)for(var ud=qa[ld],dd=ud.length,pd=od[ld]=[],fd,md=0;md<dd;++md)(fd=ud[md])&&Ra.call(fd,fd.__data__,md,ud)&&pd.push(fd);return new Selection$1(od,this._parents)}function sparse(Ra){return new Array(Ra.length)}function selection_enter(){return new Selection$1(this._enter||this._groups.map(sparse),this._parents)}function EnterNode(Ra,qa){this.ownerDocument=Ra.ownerDocument,this.namespaceURI=Ra.namespaceURI,this._next=null,this._parent=Ra,this.__data__=qa}EnterNode.prototype={constructor:EnterNode,appendChild:function(Ra){return this._parent.insertBefore(Ra,this._next)},insertBefore:function(Ra,qa){return this._parent.insertBefore(Ra,qa)},querySelector:function(Ra){return this._parent.querySelector(Ra)},querySelectorAll:function(Ra){return this._parent.querySelectorAll(Ra)}};function constant$5(Ra){return function(){return Ra}}function bindIndex(Ra,qa,nd,od,ld,ud){for(var dd=0,pd,fd=qa.length,md=ud.length;dd<md;++dd)(pd=qa[dd])?(pd.__data__=ud[dd],od[dd]=pd):nd[dd]=new EnterNode(Ra,ud[dd]);for(;dd<fd;++dd)(pd=qa[dd])&&(ld[dd]=pd)}function bindKey(Ra,qa,nd,od,ld,ud,dd){var pd,fd,md=new Map,vd=qa.length,Ad=ud.length,Nd=new Array(vd),Id;for(pd=0;pd<vd;++pd)(fd=qa[pd])&&(Nd[pd]=Id=dd.call(fd,fd.__data__,pd,qa)+"",md.has(Id)?ld[pd]=fd:md.set(Id,fd));for(pd=0;pd<Ad;++pd)Id=dd.call(Ra,ud[pd],pd,ud)+"",(fd=md.get(Id))?(od[pd]=fd,fd.__data__=ud[pd],md.delete(Id)):nd[pd]=new EnterNode(Ra,ud[pd]);for(pd=0;pd<vd;++pd)(fd=qa[pd])&&md.get(Nd[pd])===fd&&(ld[pd]=fd)}function datum(Ra){return Ra.__data__}function selection_data(Ra,qa){if(!arguments.length)return Array.from(this,datum);var nd=qa?bindKey:bindIndex,od=this._parents,ld=this._groups;typeof Ra!="function"&&(Ra=constant$5(Ra));for(var ud=ld.length,dd=new Array(ud),pd=new Array(ud),fd=new Array(ud),md=0;md<ud;++md){var vd=od[md],Ad=ld[md],Nd=Ad.length,Id=arraylike(Ra.call(vd,vd&&vd.__data__,md,od)),Od=Id.length,Md=pd[md]=new Array(Od),Ud=dd[md]=new Array(Od),jd=fd[md]=new Array(Nd);nd(vd,Ad,Md,Ud,jd,Id,qa);for(var Ld=0,Bd=0,Gd,qd;Ld<Od;++Ld)if(Gd=Md[Ld]){for(Ld>=Bd&&(Bd=Ld+1);!(qd=Ud[Bd])&&++Bd<Od;);Gd._next=qd||null}}return dd=new Selection$1(dd,od),dd._enter=pd,dd._exit=fd,dd}function arraylike(Ra){return typeof Ra=="object"&&"length"in Ra?Ra:Array.from(Ra)}function selection_exit(){return new Selection$1(this._exit||this._groups.map(sparse),this._parents)}function selection_join(Ra,qa,nd){var od=this.enter(),ld=this,ud=this.exit();return typeof Ra=="function"?(od=Ra(od),od&&(od=od.selection())):od=od.append(Ra+""),qa!=null&&(ld=qa(ld),ld&&(ld=ld.selection())),nd==null?ud.remove():nd(ud),od&&ld?od.merge(ld).order():ld}function selection_merge(Ra){for(var qa=Ra.selection?Ra.selection():Ra,nd=this._groups,od=qa._groups,ld=nd.length,ud=od.length,dd=Math.min(ld,ud),pd=new Array(ld),fd=0;fd<dd;++fd)for(var md=nd[fd],vd=od[fd],Ad=md.length,Nd=pd[fd]=new Array(Ad),Id,Od=0;Od<Ad;++Od)(Id=md[Od]||vd[Od])&&(Nd[Od]=Id);for(;fd<ld;++fd)pd[fd]=nd[fd];return new Selection$1(pd,this._parents)}function selection_order(){for(var Ra=this._groups,qa=-1,nd=Ra.length;++qa<nd;)for(var od=Ra[qa],ld=od.length-1,ud=od[ld],dd;--ld>=0;)(dd=od[ld])&&(ud&&dd.compareDocumentPosition(ud)^4&&ud.parentNode.insertBefore(dd,ud),ud=dd);return this}function selection_sort(Ra){Ra||(Ra=ascending);function qa(Ad,Nd){return Ad&&Nd?Ra(Ad.__data__,Nd.__data__):!Ad-!Nd}for(var nd=this._groups,od=nd.length,ld=new Array(od),ud=0;ud<od;++ud){for(var dd=nd[ud],pd=dd.length,fd=ld[ud]=new Array(pd),md,vd=0;vd<pd;++vd)(md=dd[vd])&&(fd[vd]=md);fd.sort(qa)}return new Selection$1(ld,this._parents).order()}function ascending(Ra,qa){return Ra<qa?-1:Ra>qa?1:Ra>=qa?0:NaN}function selection_call(){var Ra=arguments[0];return arguments[0]=this,Ra.apply(null,arguments),this}function selection_nodes(){return Array.from(this)}function selection_node(){for(var Ra=this._groups,qa=0,nd=Ra.length;qa<nd;++qa)for(var od=Ra[qa],ld=0,ud=od.length;ld<ud;++ld){var dd=od[ld];if(dd)return dd}return null}function selection_size(){let Ra=0;for(const qa of this)++Ra;return Ra}function selection_empty(){return!this.node()}function selection_each(Ra){for(var qa=this._groups,nd=0,od=qa.length;nd<od;++nd)for(var ld=qa[nd],ud=0,dd=ld.length,pd;ud<dd;++ud)(pd=ld[ud])&&Ra.call(pd,pd.__data__,ud,ld);return this}function attrRemove$1(Ra){return function(){this.removeAttribute(Ra)}}function attrRemoveNS$1(Ra){return function(){this.removeAttributeNS(Ra.space,Ra.local)}}function attrConstant$1(Ra,qa){return function(){this.setAttribute(Ra,qa)}}function attrConstantNS$1(Ra,qa){return function(){this.setAttributeNS(Ra.space,Ra.local,qa)}}function attrFunction$1(Ra,qa){return function(){var nd=qa.apply(this,arguments);nd==null?this.removeAttribute(Ra):this.setAttribute(Ra,nd)}}function attrFunctionNS$1(Ra,qa){return function(){var nd=qa.apply(this,arguments);nd==null?this.removeAttributeNS(Ra.space,Ra.local):this.setAttributeNS(Ra.space,Ra.local,nd)}}function selection_attr(Ra,qa){var nd=namespace(Ra);if(arguments.length<2){var od=this.node();return nd.local?od.getAttributeNS(nd.space,nd.local):od.getAttribute(nd)}return this.each((qa==null?nd.local?attrRemoveNS$1:attrRemove$1:typeof qa=="function"?nd.local?attrFunctionNS$1:attrFunction$1:nd.local?attrConstantNS$1:attrConstant$1)(nd,qa))}function defaultView(Ra){return Ra.ownerDocument&&Ra.ownerDocument.defaultView||Ra.document&&Ra||Ra.defaultView}function styleRemove$1(Ra){return function(){this.style.removeProperty(Ra)}}function styleConstant$1(Ra,qa,nd){return function(){this.style.setProperty(Ra,qa,nd)}}function styleFunction$1(Ra,qa,nd){return function(){var od=qa.apply(this,arguments);od==null?this.style.removeProperty(Ra):this.style.setProperty(Ra,od,nd)}}function selection_style(Ra,qa,nd){return arguments.length>1?this.each((qa==null?styleRemove$1:typeof qa=="function"?styleFunction$1:styleConstant$1)(Ra,qa,nd??"")):styleValue(this.node(),Ra)}function styleValue(Ra,qa){return Ra.style.getPropertyValue(qa)||defaultView(Ra).getComputedStyle(Ra,null).getPropertyValue(qa)}function propertyRemove(Ra){return function(){delete this[Ra]}}function propertyConstant(Ra,qa){return function(){this[Ra]=qa}}function propertyFunction(Ra,qa){return function(){var nd=qa.apply(this,arguments);nd==null?delete this[Ra]:this[Ra]=nd}}function selection_property(Ra,qa){return arguments.length>1?this.each((qa==null?propertyRemove:typeof qa=="function"?propertyFunction:propertyConstant)(Ra,qa)):this.node()[Ra]}function classArray(Ra){return Ra.trim().split(/^|\s+/)}function classList(Ra){return Ra.classList||new ClassList(Ra)}function ClassList(Ra){this._node=Ra,this._names=classArray(Ra.getAttribute("class")||"")}ClassList.prototype={add:function(Ra){var qa=this._names.indexOf(Ra);qa<0&&(this._names.push(Ra),this._node.setAttribute("class",this._names.join(" ")))},remove:function(Ra){var qa=this._names.indexOf(Ra);qa>=0&&(this._names.splice(qa,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(Ra){return this._names.indexOf(Ra)>=0}};function classedAdd(Ra,qa){for(var nd=classList(Ra),od=-1,ld=qa.length;++od<ld;)nd.add(qa[od])}function classedRemove(Ra,qa){for(var nd=classList(Ra),od=-1,ld=qa.length;++od<ld;)nd.remove(qa[od])}function classedTrue(Ra){return function(){classedAdd(this,Ra)}}function classedFalse(Ra){return function(){classedRemove(this,Ra)}}function classedFunction(Ra,qa){return function(){(qa.apply(this,arguments)?classedAdd:classedRemove)(this,Ra)}}function selection_classed(Ra,qa){var nd=classArray(Ra+"");if(arguments.length<2){for(var od=classList(this.node()),ld=-1,ud=nd.length;++ld<ud;)if(!od.contains(nd[ld]))return!1;return!0}return this.each((typeof qa=="function"?classedFunction:qa?classedTrue:classedFalse)(nd,qa))}function textRemove(){this.textContent=""}function textConstant$1(Ra){return function(){this.textContent=Ra}}function textFunction$1(Ra){return function(){var qa=Ra.apply(this,arguments);this.textContent=qa??""}}function selection_text(Ra){return arguments.length?this.each(Ra==null?textRemove:(typeof Ra=="function"?textFunction$1:textConstant$1)(Ra)):this.node().textContent}function htmlRemove(){this.innerHTML=""}function htmlConstant(Ra){return function(){this.innerHTML=Ra}}function htmlFunction(Ra){return function(){var qa=Ra.apply(this,arguments);this.innerHTML=qa??""}}function selection_html(Ra){return arguments.length?this.each(Ra==null?htmlRemove:(typeof Ra=="function"?htmlFunction:htmlConstant)(Ra)):this.node().innerHTML}function raise(){this.nextSibling&&this.parentNode.appendChild(this)}function selection_raise(){return this.each(raise)}function lower(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function selection_lower(){return this.each(lower)}function selection_append(Ra){var qa=typeof Ra=="function"?Ra:creator(Ra);return this.select(function(){return this.appendChild(qa.apply(this,arguments))})}function constantNull(){return null}function selection_insert(Ra,qa){var nd=typeof Ra=="function"?Ra:creator(Ra),od=qa==null?constantNull:typeof qa=="function"?qa:selector(qa);return this.select(function(){return this.insertBefore(nd.apply(this,arguments),od.apply(this,arguments)||null)})}function remove(){var Ra=this.parentNode;Ra&&Ra.removeChild(this)}function selection_remove(){return this.each(remove)}function selection_cloneShallow(){var Ra=this.cloneNode(!1),qa=this.parentNode;return qa?qa.insertBefore(Ra,this.nextSibling):Ra}function selection_cloneDeep(){var Ra=this.cloneNode(!0),qa=this.parentNode;return qa?qa.insertBefore(Ra,this.nextSibling):Ra}function selection_clone(Ra){return this.select(Ra?selection_cloneDeep:selection_cloneShallow)}function selection_datum(Ra){return arguments.length?this.property("__data__",Ra):this.node().__data__}function contextListener(Ra){return function(qa){Ra.call(this,qa,this.__data__)}}function parseTypenames(Ra){return Ra.trim().split(/^|\s+/).map(function(qa){var nd="",od=qa.indexOf(".");return od>=0&&(nd=qa.slice(od+1),qa=qa.slice(0,od)),{type:qa,name:nd}})}function onRemove(Ra){return function(){var qa=this.__on;if(qa){for(var nd=0,od=-1,ld=qa.length,ud;nd<ld;++nd)ud=qa[nd],(!Ra.type||ud.type===Ra.type)&&ud.name===Ra.name?this.removeEventListener(ud.type,ud.listener,ud.options):qa[++od]=ud;++od?qa.length=od:delete this.__on}}}function onAdd(Ra,qa,nd){return function(){var od=this.__on,ld,ud=contextListener(qa);if(od){for(var dd=0,pd=od.length;dd<pd;++dd)if((ld=od[dd]).type===Ra.type&&ld.name===Ra.name){this.removeEventListener(ld.type,ld.listener,ld.options),this.addEventListener(ld.type,ld.listener=ud,ld.options=nd),ld.value=qa;return}}this.addEventListener(Ra.type,ud,nd),ld={type:Ra.type,name:Ra.name,value:qa,listener:ud,options:nd},od?od.push(ld):this.__on=[ld]}}function selection_on(Ra,qa,nd){var od=parseTypenames(Ra+""),ld,ud=od.length,dd;if(arguments.length<2){var pd=this.node().__on;if(pd){for(var fd=0,md=pd.length,vd;fd<md;++fd)for(ld=0,vd=pd[fd];ld<ud;++ld)if((dd=od[ld]).type===vd.type&&dd.name===vd.name)return vd.value}return}for(pd=qa?onAdd:onRemove,ld=0;ld<ud;++ld)this.each(pd(od[ld],qa,nd));return this}function dispatchEvent(Ra,qa,nd){var od=defaultView(Ra),ld=od.CustomEvent;typeof ld=="function"?ld=new ld(qa,nd):(ld=od.document.createEvent("Event"),nd?(ld.initEvent(qa,nd.bubbles,nd.cancelable),ld.detail=nd.detail):ld.initEvent(qa,!1,!1)),Ra.dispatchEvent(ld)}function dispatchConstant(Ra,qa){return function(){return dispatchEvent(this,Ra,qa)}}function dispatchFunction(Ra,qa){return function(){return dispatchEvent(this,Ra,qa.apply(this,arguments))}}function selection_dispatch(Ra,qa){return this.each((typeof qa=="function"?dispatchFunction:dispatchConstant)(Ra,qa))}function*selection_iterator(){for(var Ra=this._groups,qa=0,nd=Ra.length;qa<nd;++qa)for(var od=Ra[qa],ld=0,ud=od.length,dd;ld<ud;++ld)(dd=od[ld])&&(yield dd)}var root$1=[null];function Selection$1(Ra,qa){this._groups=Ra,this._parents=qa}function selection(){return new Selection$1([[document.documentElement]],root$1)}function selection_selection(){return this}Selection$1.prototype=selection.prototype={constructor:Selection$1,select:selection_select,selectAll:selection_selectAll,selectChild:selection_selectChild,selectChildren:selection_selectChildren,filter:selection_filter,data:selection_data,enter:selection_enter,exit:selection_exit,join:selection_join,merge:selection_merge,selection:selection_selection,order:selection_order,sort:selection_sort,call:selection_call,nodes:selection_nodes,node:selection_node,size:selection_size,empty:selection_empty,each:selection_each,attr:selection_attr,style:selection_style,property:selection_property,classed:selection_classed,text:selection_text,html:selection_html,raise:selection_raise,lower:selection_lower,append:selection_append,insert:selection_insert,remove:selection_remove,clone:selection_clone,datum:selection_datum,on:selection_on,dispatch:selection_dispatch,[Symbol.iterator]:selection_iterator};function select(Ra){return typeof Ra=="string"?new Selection$1([[document.querySelector(Ra)]],[document.documentElement]):new Selection$1([[Ra]],root$1)}function define$1(Ra,qa,nd){Ra.prototype=qa.prototype=nd,nd.constructor=Ra}function extend$1(Ra,qa){var nd=Object.create(Ra.prototype);for(var od in qa)nd[od]=qa[od];return nd}function Color(){}var darker=.7,brighter=1/darker,reI="\\s*([+-]?\\d+)\\s*",reN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",reP="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",reHex=/^#([0-9a-f]{3,8})$/,reRgbInteger=new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),reRgbPercent=new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),reRgbaInteger=new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),reRgbaPercent=new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),reHslPercent=new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),reHslaPercent=new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`),named={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};define$1(Color,color,{copy(Ra){return Object.assign(new this.constructor,this,Ra)},displayable(){return this.rgb().displayable()},hex:color_formatHex,formatHex:color_formatHex,formatHex8:color_formatHex8,formatHsl:color_formatHsl,formatRgb:color_formatRgb,toString:color_formatRgb});function color_formatHex(){return this.rgb().formatHex()}function color_formatHex8(){return this.rgb().formatHex8()}function color_formatHsl(){return hslConvert(this).formatHsl()}function color_formatRgb(){return this.rgb().formatRgb()}function color(Ra){var qa,nd;return Ra=(Ra+"").trim().toLowerCase(),(qa=reHex.exec(Ra))?(nd=qa[1].length,qa=parseInt(qa[1],16),nd===6?rgbn(qa):nd===3?new Rgb(qa>>8&15|qa>>4&240,qa>>4&15|qa&240,(qa&15)<<4|qa&15,1):nd===8?rgba(qa>>24&255,qa>>16&255,qa>>8&255,(qa&255)/255):nd===4?rgba(qa>>12&15|qa>>8&240,qa>>8&15|qa>>4&240,qa>>4&15|qa&240,((qa&15)<<4|qa&15)/255):null):(qa=reRgbInteger.exec(Ra))?new Rgb(qa[1],qa[2],qa[3],1):(qa=reRgbPercent.exec(Ra))?new Rgb(qa[1]*255/100,qa[2]*255/100,qa[3]*255/100,1):(qa=reRgbaInteger.exec(Ra))?rgba(qa[1],qa[2],qa[3],qa[4]):(qa=reRgbaPercent.exec(Ra))?rgba(qa[1]*255/100,qa[2]*255/100,qa[3]*255/100,qa[4]):(qa=reHslPercent.exec(Ra))?hsla(qa[1],qa[2]/100,qa[3]/100,1):(qa=reHslaPercent.exec(Ra))?hsla(qa[1],qa[2]/100,qa[3]/100,qa[4]):named.hasOwnProperty(Ra)?rgbn(named[Ra]):Ra==="transparent"?new Rgb(NaN,NaN,NaN,0):null}function rgbn(Ra){return new Rgb(Ra>>16&255,Ra>>8&255,Ra&255,1)}function rgba(Ra,qa,nd,od){return od<=0&&(Ra=qa=nd=NaN),new Rgb(Ra,qa,nd,od)}function rgbConvert(Ra){return Ra instanceof Color||(Ra=color(Ra)),Ra?(Ra=Ra.rgb(),new Rgb(Ra.r,Ra.g,Ra.b,Ra.opacity)):new Rgb}function rgb(Ra,qa,nd,od){return arguments.length===1?rgbConvert(Ra):new Rgb(Ra,qa,nd,od??1)}function Rgb(Ra,qa,nd,od){this.r=+Ra,this.g=+qa,this.b=+nd,this.opacity=+od}define$1(Rgb,rgb,extend$1(Color,{brighter(Ra){return Ra=Ra==null?brighter:Math.pow(brighter,Ra),new Rgb(this.r*Ra,this.g*Ra,this.b*Ra,this.opacity)},darker(Ra){return Ra=Ra==null?darker:Math.pow(darker,Ra),new Rgb(this.r*Ra,this.g*Ra,this.b*Ra,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:rgb_formatHex8,formatRgb:rgb_formatRgb,toString:rgb_formatRgb}));function rgb_formatHex(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}`}function rgb_formatHex8(){return`#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity)?1:this.opacity)*255)}`}function rgb_formatRgb(){const Ra=clampa(this.opacity);return`${Ra===1?"rgb(":"rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${Ra===1?")":`, ${Ra})`}`}function clampa(Ra){return isNaN(Ra)?1:Math.max(0,Math.min(1,Ra))}function clampi(Ra){return Math.max(0,Math.min(255,Math.round(Ra)||0))}function hex(Ra){return Ra=clampi(Ra),(Ra<16?"0":"")+Ra.toString(16)}function hsla(Ra,qa,nd,od){return od<=0?Ra=qa=nd=NaN:nd<=0||nd>=1?Ra=qa=NaN:qa<=0&&(Ra=NaN),new Hsl(Ra,qa,nd,od)}function hslConvert(Ra){if(Ra instanceof Hsl)return new Hsl(Ra.h,Ra.s,Ra.l,Ra.opacity);if(Ra instanceof Color||(Ra=color(Ra)),!Ra)return new Hsl;if(Ra instanceof Hsl)return Ra;Ra=Ra.rgb();var qa=Ra.r/255,nd=Ra.g/255,od=Ra.b/255,ld=Math.min(qa,nd,od),ud=Math.max(qa,nd,od),dd=NaN,pd=ud-ld,fd=(ud+ld)/2;return pd?(qa===ud?dd=(nd-od)/pd+(nd<od)*6:nd===ud?dd=(od-qa)/pd+2:dd=(qa-nd)/pd+4,pd/=fd<.5?ud+ld:2-ud-ld,dd*=60):pd=fd>0&&fd<1?0:dd,new Hsl(dd,pd,fd,Ra.opacity)}function hsl(Ra,qa,nd,od){return arguments.length===1?hslConvert(Ra):new Hsl(Ra,qa,nd,od??1)}function Hsl(Ra,qa,nd,od){this.h=+Ra,this.s=+qa,this.l=+nd,this.opacity=+od}define$1(Hsl,hsl,extend$1(Color,{brighter(Ra){return Ra=Ra==null?brighter:Math.pow(brighter,Ra),new Hsl(this.h,this.s,this.l*Ra,this.opacity)},darker(Ra){return Ra=Ra==null?darker:Math.pow(darker,Ra),new Hsl(this.h,this.s,this.l*Ra,this.opacity)},rgb(){var Ra=this.h%360+(this.h<0)*360,qa=isNaN(Ra)||isNaN(this.s)?0:this.s,nd=this.l,od=nd+(nd<.5?nd:1-nd)*qa,ld=2*nd-od;return new Rgb(hsl2rgb(Ra>=240?Ra-240:Ra+120,ld,od),hsl2rgb(Ra,ld,od),hsl2rgb(Ra<120?Ra+240:Ra-120,ld,od),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const Ra=clampa(this.opacity);return`${Ra===1?"hsl(":"hsla("}${clamph(this.h)}, ${clampt(this.s)*100}%, ${clampt(this.l)*100}%${Ra===1?")":`, ${Ra})`}`}}));function clamph(Ra){return Ra=(Ra||0)%360,Ra<0?Ra+360:Ra}function clampt(Ra){return Math.max(0,Math.min(1,Ra||0))}function hsl2rgb(Ra,qa,nd){return(Ra<60?qa+(nd-qa)*Ra/60:Ra<180?nd:Ra<240?qa+(nd-qa)*(240-Ra)/60:qa)*255}const constant$4=Ra=>()=>Ra;function linear(Ra,qa){return function(nd){return Ra+nd*qa}}function exponential(Ra,qa,nd){return Ra=Math.pow(Ra,nd),qa=Math.pow(qa,nd)-Ra,nd=1/nd,function(od){return Math.pow(Ra+od*qa,nd)}}function hue(Ra,qa){var nd=qa-Ra;return nd?linear(Ra,nd>180||nd<-180?nd-360*Math.round(nd/360):nd):constant$4(isNaN(Ra)?qa:Ra)}function gamma(Ra){return(Ra=+Ra)==1?nogamma:function(qa,nd){return nd-qa?exponential(qa,nd,Ra):constant$4(isNaN(qa)?nd:qa)}}function nogamma(Ra,qa){var nd=qa-Ra;return nd?linear(Ra,nd):constant$4(isNaN(Ra)?qa:Ra)}const interpolateRgb=function Ra(qa){var nd=gamma(qa);function od(ld,ud){var dd=nd((ld=rgb(ld)).r,(ud=rgb(ud)).r),pd=nd(ld.g,ud.g),fd=nd(ld.b,ud.b),md=nogamma(ld.opacity,ud.opacity);return function(vd){return ld.r=dd(vd),ld.g=pd(vd),ld.b=fd(vd),ld.opacity=md(vd),ld+""}}return od.gamma=Ra,od}(1);function interpolateNumber(Ra,qa){return Ra=+Ra,qa=+qa,function(nd){return Ra*(1-nd)+qa*nd}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero(Ra){return function(){return Ra}}function one(Ra){return function(qa){return Ra(qa)+""}}function interpolateString(Ra,qa){var nd=reA.lastIndex=reB.lastIndex=0,od,ld,ud,dd=-1,pd=[],fd=[];for(Ra=Ra+"",qa=qa+"";(od=reA.exec(Ra))&&(ld=reB.exec(qa));)(ud=ld.index)>nd&&(ud=qa.slice(nd,ud),pd[dd]?pd[dd]+=ud:pd[++dd]=ud),(od=od[0])===(ld=ld[0])?pd[dd]?pd[dd]+=ld:pd[++dd]=ld:(pd[++dd]=null,fd.push({i:dd,x:interpolateNumber(od,ld)})),nd=reB.lastIndex;return nd<qa.length&&(ud=qa.slice(nd),pd[dd]?pd[dd]+=ud:pd[++dd]=ud),pd.length<2?fd[0]?one(fd[0].x):zero(qa):(qa=fd.length,function(md){for(var vd=0,Ad;vd<qa;++vd)pd[(Ad=fd[vd]).i]=Ad.x(md);return pd.join("")})}var degrees=180/Math.PI,identity$1={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function decompose(Ra,qa,nd,od,ld,ud){var dd,pd,fd;return(dd=Math.sqrt(Ra*Ra+qa*qa))&&(Ra/=dd,qa/=dd),(fd=Ra*nd+qa*od)&&(nd-=Ra*fd,od-=qa*fd),(pd=Math.sqrt(nd*nd+od*od))&&(nd/=pd,od/=pd,fd/=pd),Ra*od<qa*nd&&(Ra=-Ra,qa=-qa,fd=-fd,dd=-dd),{translateX:ld,translateY:ud,rotate:Math.atan2(qa,Ra)*degrees,skewX:Math.atan(fd)*degrees,scaleX:dd,scaleY:pd}}var svgNode;function parseCss(Ra){const qa=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(Ra+"");return qa.isIdentity?identity$1:decompose(qa.a,qa.b,qa.c,qa.d,qa.e,qa.f)}function parseSvg(Ra){return Ra==null||(svgNode||(svgNode=document.createElementNS("http://www.w3.org/2000/svg","g")),svgNode.setAttribute("transform",Ra),!(Ra=svgNode.transform.baseVal.consolidate()))?identity$1:(Ra=Ra.matrix,decompose(Ra.a,Ra.b,Ra.c,Ra.d,Ra.e,Ra.f))}function interpolateTransform(Ra,qa,nd,od){function ld(md){return md.length?md.pop()+" ":""}function ud(md,vd,Ad,Nd,Id,Od){if(md!==Ad||vd!==Nd){var Md=Id.push("translate(",null,qa,null,nd);Od.push({i:Md-4,x:interpolateNumber(md,Ad)},{i:Md-2,x:interpolateNumber(vd,Nd)})}else(Ad||Nd)&&Id.push("translate("+Ad+qa+Nd+nd)}function dd(md,vd,Ad,Nd){md!==vd?(md-vd>180?vd+=360:vd-md>180&&(md+=360),Nd.push({i:Ad.push(ld(Ad)+"rotate(",null,od)-2,x:interpolateNumber(md,vd)})):vd&&Ad.push(ld(Ad)+"rotate("+vd+od)}function pd(md,vd,Ad,Nd){md!==vd?Nd.push({i:Ad.push(ld(Ad)+"skewX(",null,od)-2,x:interpolateNumber(md,vd)}):vd&&Ad.push(ld(Ad)+"skewX("+vd+od)}function fd(md,vd,Ad,Nd,Id,Od){if(md!==Ad||vd!==Nd){var Md=Id.push(ld(Id)+"scale(",null,",",null,")");Od.push({i:Md-4,x:interpolateNumber(md,Ad)},{i:Md-2,x:interpolateNumber(vd,Nd)})}else(Ad!==1||Nd!==1)&&Id.push(ld(Id)+"scale("+Ad+","+Nd+")")}return function(md,vd){var Ad=[],Nd=[];return md=Ra(md),vd=Ra(vd),ud(md.translateX,md.translateY,vd.translateX,vd.translateY,Ad,Nd),dd(md.rotate,vd.rotate,Ad,Nd),pd(md.skewX,vd.skewX,Ad,Nd),fd(md.scaleX,md.scaleY,vd.scaleX,vd.scaleY,Ad,Nd),md=vd=null,function(Id){for(var Od=-1,Md=Nd.length,Ud;++Od<Md;)Ad[(Ud=Nd[Od]).i]=Ud.x(Id);return Ad.join("")}}}var interpolateTransformCss=interpolateTransform(parseCss,"px, ","px)","deg)"),interpolateTransformSvg=interpolateTransform(parseSvg,", ",")",")"),frame=0,timeout$2=0,interval=0,pokeDelay=1e3,taskHead,taskTail,clockLast=0,clockNow=0,clockSkew=0,clock=typeof performance=="object"&&performance.now?performance:Date,setFrame=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(Ra){setTimeout(Ra,17)};function now(){return clockNow||(setFrame(clearNow),clockNow=clock.now()+clockSkew)}function clearNow(){clockNow=0}function Timer(){this._call=this._time=this._next=null}Timer.prototype=timer.prototype={constructor:Timer,restart:function(Ra,qa,nd){if(typeof Ra!="function")throw new TypeError("callback is not a function");nd=(nd==null?now():+nd)+(qa==null?0:+qa),!this._next&&taskTail!==this&&(taskTail?taskTail._next=this:taskHead=this,taskTail=this),this._call=Ra,this._time=nd,sleep()},stop:function(){this._call&&(this._call=null,this._time=1/0,sleep())}};function timer(Ra,qa,nd){var od=new Timer;return od.restart(Ra,qa,nd),od}function timerFlush(){now(),++frame;for(var Ra=taskHead,qa;Ra;)(qa=clockNow-Ra._time)>=0&&Ra._call.call(void 0,qa),Ra=Ra._next;--frame}function wake(){clockNow=(clockLast=clock.now())+clockSkew,frame=timeout$2=0;try{timerFlush()}finally{frame=0,nap(),clockNow=0}}function poke(){var Ra=clock.now(),qa=Ra-clockLast;qa>pokeDelay&&(clockSkew-=qa,clockLast=Ra)}function nap(){for(var Ra,qa=taskHead,nd,od=1/0;qa;)qa._call?(od>qa._time&&(od=qa._time),Ra=qa,qa=qa._next):(nd=qa._next,qa._next=null,qa=Ra?Ra._next=nd:taskHead=nd);taskTail=Ra,sleep(od)}function sleep(Ra){if(!frame){timeout$2&&(timeout$2=clearTimeout(timeout$2));var qa=Ra-clockNow;qa>24?(Ra<1/0&&(timeout$2=setTimeout(wake,Ra-clock.now()-clockSkew)),interval&&(interval=clearInterval(interval))):(interval||(clockLast=clock.now(),interval=setInterval(poke,pokeDelay)),frame=1,setFrame(wake))}}function timeout$1(Ra,qa,nd){var od=new Timer;return qa=qa==null?0:+qa,od.restart(ld=>{od.stop(),Ra(ld+qa)},qa,nd),od}var emptyOn=dispatch("start","end","cancel","interrupt"),emptyTween=[],CREATED=0,SCHEDULED=1,STARTING=2,STARTED=3,RUNNING=4,ENDING=5,ENDED=6;function schedule(Ra,qa,nd,od,ld,ud){var dd=Ra.__transition;if(!dd)Ra.__transition={};else if(nd in dd)return;create(Ra,nd,{name:qa,index:od,group:ld,on:emptyOn,tween:emptyTween,time:ud.time,delay:ud.delay,duration:ud.duration,ease:ud.ease,timer:null,state:CREATED})}function init$1(Ra,qa){var nd=get(Ra,qa);if(nd.state>CREATED)throw new Error("too late; already scheduled");return nd}function set(Ra,qa){var nd=get(Ra,qa);if(nd.state>STARTED)throw new Error("too late; already running");return nd}function get(Ra,qa){var nd=Ra.__transition;if(!nd||!(nd=nd[qa]))throw new Error("transition not found");return nd}function create(Ra,qa,nd){var od=Ra.__transition,ld;od[qa]=nd,nd.timer=timer(ud,0,nd.time);function ud(md){nd.state=SCHEDULED,nd.timer.restart(dd,nd.delay,nd.time),nd.delay<=md&&dd(md-nd.delay)}function dd(md){var vd,Ad,Nd,Id;if(nd.state!==SCHEDULED)return fd();for(vd in od)if(Id=od[vd],Id.name===nd.name){if(Id.state===STARTED)return timeout$1(dd);Id.state===RUNNING?(Id.state=ENDED,Id.timer.stop(),Id.on.call("interrupt",Ra,Ra.__data__,Id.index,Id.group),delete od[vd]):+vd<qa&&(Id.state=ENDED,Id.timer.stop(),Id.on.call("cancel",Ra,Ra.__data__,Id.index,Id.group),delete od[vd])}if(timeout$1(function(){nd.state===STARTED&&(nd.state=RUNNING,nd.timer.restart(pd,nd.delay,nd.time),pd(md))}),nd.state=STARTING,nd.on.call("start",Ra,Ra.__data__,nd.index,nd.group),nd.state===STARTING){for(nd.state=STARTED,ld=new Array(Nd=nd.tween.length),vd=0,Ad=-1;vd<Nd;++vd)(Id=nd.tween[vd].value.call(Ra,Ra.__data__,nd.index,nd.group))&&(ld[++Ad]=Id);ld.length=Ad+1}}function pd(md){for(var vd=md<nd.duration?nd.ease.call(null,md/nd.duration):(nd.timer.restart(fd),nd.state=ENDING,1),Ad=-1,Nd=ld.length;++Ad<Nd;)ld[Ad].call(Ra,vd);nd.state===ENDING&&(nd.on.call("end",Ra,Ra.__data__,nd.index,nd.group),fd())}function fd(){nd.state=ENDED,nd.timer.stop(),delete od[qa];for(var md in od)return;delete Ra.__transition}}function interrupt(Ra,qa){var nd=Ra.__transition,od,ld,ud=!0,dd;if(nd){qa=qa==null?null:qa+"";for(dd in nd){if((od=nd[dd]).name!==qa){ud=!1;continue}ld=od.state>STARTING&&od.state<ENDING,od.state=ENDED,od.timer.stop(),od.on.call(ld?"interrupt":"cancel",Ra,Ra.__data__,od.index,od.group),delete nd[dd]}ud&&delete Ra.__transition}}function selection_interrupt(Ra){return this.each(function(){interrupt(this,Ra)})}function tweenRemove(Ra,qa){var nd,od;return function(){var ld=set(this,Ra),ud=ld.tween;if(ud!==nd){od=nd=ud;for(var dd=0,pd=od.length;dd<pd;++dd)if(od[dd].name===qa){od=od.slice(),od.splice(dd,1);break}}ld.tween=od}}function tweenFunction(Ra,qa,nd){var od,ld;if(typeof nd!="function")throw new Error;return function(){var ud=set(this,Ra),dd=ud.tween;if(dd!==od){ld=(od=dd).slice();for(var pd={name:qa,value:nd},fd=0,md=ld.length;fd<md;++fd)if(ld[fd].name===qa){ld[fd]=pd;break}fd===md&&ld.push(pd)}ud.tween=ld}}function transition_tween(Ra,qa){var nd=this._id;if(Ra+="",arguments.length<2){for(var od=get(this.node(),nd).tween,ld=0,ud=od.length,dd;ld<ud;++ld)if((dd=od[ld]).name===Ra)return dd.value;return null}return this.each((qa==null?tweenRemove:tweenFunction)(nd,Ra,qa))}function tweenValue(Ra,qa,nd){var od=Ra._id;return Ra.each(function(){var ld=set(this,od);(ld.value||(ld.value={}))[qa]=nd.apply(this,arguments)}),function(ld){return get(ld,od).value[qa]}}function interpolate(Ra,qa){var nd;return(typeof qa=="number"?interpolateNumber:qa instanceof color?interpolateRgb:(nd=color(qa))?(qa=nd,interpolateRgb):interpolateString)(Ra,qa)}function attrRemove(Ra){return function(){this.removeAttribute(Ra)}}function attrRemoveNS(Ra){return function(){this.removeAttributeNS(Ra.space,Ra.local)}}function attrConstant(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var dd=this.getAttribute(Ra);return dd===ld?null:dd===od?ud:ud=qa(od=dd,nd)}}function attrConstantNS(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var dd=this.getAttributeNS(Ra.space,Ra.local);return dd===ld?null:dd===od?ud:ud=qa(od=dd,nd)}}function attrFunction(Ra,qa,nd){var od,ld,ud;return function(){var dd,pd=nd(this),fd;return pd==null?void this.removeAttribute(Ra):(dd=this.getAttribute(Ra),fd=pd+"",dd===fd?null:dd===od&&fd===ld?ud:(ld=fd,ud=qa(od=dd,pd)))}}function attrFunctionNS(Ra,qa,nd){var od,ld,ud;return function(){var dd,pd=nd(this),fd;return pd==null?void this.removeAttributeNS(Ra.space,Ra.local):(dd=this.getAttributeNS(Ra.space,Ra.local),fd=pd+"",dd===fd?null:dd===od&&fd===ld?ud:(ld=fd,ud=qa(od=dd,pd)))}}function transition_attr(Ra,qa){var nd=namespace(Ra),od=nd==="transform"?interpolateTransformSvg:interpolate;return this.attrTween(Ra,typeof qa=="function"?(nd.local?attrFunctionNS:attrFunction)(nd,od,tweenValue(this,"attr."+Ra,qa)):qa==null?(nd.local?attrRemoveNS:attrRemove)(nd):(nd.local?attrConstantNS:attrConstant)(nd,od,qa))}function attrInterpolate(Ra,qa){return function(nd){this.setAttribute(Ra,qa.call(this,nd))}}function attrInterpolateNS(Ra,qa){return function(nd){this.setAttributeNS(Ra.space,Ra.local,qa.call(this,nd))}}function attrTweenNS(Ra,qa){var nd,od;function ld(){var ud=qa.apply(this,arguments);return ud!==od&&(nd=(od=ud)&&attrInterpolateNS(Ra,ud)),nd}return ld._value=qa,ld}function attrTween(Ra,qa){var nd,od;function ld(){var ud=qa.apply(this,arguments);return ud!==od&&(nd=(od=ud)&&attrInterpolate(Ra,ud)),nd}return ld._value=qa,ld}function transition_attrTween(Ra,qa){var nd="attr."+Ra;if(arguments.length<2)return(nd=this.tween(nd))&&nd._value;if(qa==null)return this.tween(nd,null);if(typeof qa!="function")throw new Error;var od=namespace(Ra);return this.tween(nd,(od.local?attrTweenNS:attrTween)(od,qa))}function delayFunction(Ra,qa){return function(){init$1(this,Ra).delay=+qa.apply(this,arguments)}}function delayConstant(Ra,qa){return qa=+qa,function(){init$1(this,Ra).delay=qa}}function transition_delay(Ra){var qa=this._id;return arguments.length?this.each((typeof Ra=="function"?delayFunction:delayConstant)(qa,Ra)):get(this.node(),qa).delay}function durationFunction(Ra,qa){return function(){set(this,Ra).duration=+qa.apply(this,arguments)}}function durationConstant(Ra,qa){return qa=+qa,function(){set(this,Ra).duration=qa}}function transition_duration(Ra){var qa=this._id;return arguments.length?this.each((typeof Ra=="function"?durationFunction:durationConstant)(qa,Ra)):get(this.node(),qa).duration}function easeConstant(Ra,qa){if(typeof qa!="function")throw new Error;return function(){set(this,Ra).ease=qa}}function transition_ease(Ra){var qa=this._id;return arguments.length?this.each(easeConstant(qa,Ra)):get(this.node(),qa).ease}function easeVarying(Ra,qa){return function(){var nd=qa.apply(this,arguments);if(typeof nd!="function")throw new Error;set(this,Ra).ease=nd}}function transition_easeVarying(Ra){if(typeof Ra!="function")throw new Error;return this.each(easeVarying(this._id,Ra))}function transition_filter(Ra){typeof Ra!="function"&&(Ra=matcher(Ra));for(var qa=this._groups,nd=qa.length,od=new Array(nd),ld=0;ld<nd;++ld)for(var ud=qa[ld],dd=ud.length,pd=od[ld]=[],fd,md=0;md<dd;++md)(fd=ud[md])&&Ra.call(fd,fd.__data__,md,ud)&&pd.push(fd);return new Transition(od,this._parents,this._name,this._id)}function transition_merge(Ra){if(Ra._id!==this._id)throw new Error;for(var qa=this._groups,nd=Ra._groups,od=qa.length,ld=nd.length,ud=Math.min(od,ld),dd=new Array(od),pd=0;pd<ud;++pd)for(var fd=qa[pd],md=nd[pd],vd=fd.length,Ad=dd[pd]=new Array(vd),Nd,Id=0;Id<vd;++Id)(Nd=fd[Id]||md[Id])&&(Ad[Id]=Nd);for(;pd<od;++pd)dd[pd]=qa[pd];return new Transition(dd,this._parents,this._name,this._id)}function start(Ra){return(Ra+"").trim().split(/^|\s+/).every(function(qa){var nd=qa.indexOf(".");return nd>=0&&(qa=qa.slice(0,nd)),!qa||qa==="start"})}function onFunction(Ra,qa,nd){var od,ld,ud=start(qa)?init$1:set;return function(){var dd=ud(this,Ra),pd=dd.on;pd!==od&&(ld=(od=pd).copy()).on(qa,nd),dd.on=ld}}function transition_on(Ra,qa){var nd=this._id;return arguments.length<2?get(this.node(),nd).on.on(Ra):this.each(onFunction(nd,Ra,qa))}function removeFunction(Ra){return function(){var qa=this.parentNode;for(var nd in this.__transition)if(+nd!==Ra)return;qa&&qa.removeChild(this)}}function transition_remove(){return this.on("end.remove",removeFunction(this._id))}function transition_select(Ra){var qa=this._name,nd=this._id;typeof Ra!="function"&&(Ra=selector(Ra));for(var od=this._groups,ld=od.length,ud=new Array(ld),dd=0;dd<ld;++dd)for(var pd=od[dd],fd=pd.length,md=ud[dd]=new Array(fd),vd,Ad,Nd=0;Nd<fd;++Nd)(vd=pd[Nd])&&(Ad=Ra.call(vd,vd.__data__,Nd,pd))&&("__data__"in vd&&(Ad.__data__=vd.__data__),md[Nd]=Ad,schedule(md[Nd],qa,nd,Nd,md,get(vd,nd)));return new Transition(ud,this._parents,qa,nd)}function transition_selectAll(Ra){var qa=this._name,nd=this._id;typeof Ra!="function"&&(Ra=selectorAll(Ra));for(var od=this._groups,ld=od.length,ud=[],dd=[],pd=0;pd<ld;++pd)for(var fd=od[pd],md=fd.length,vd,Ad=0;Ad<md;++Ad)if(vd=fd[Ad]){for(var Nd=Ra.call(vd,vd.__data__,Ad,fd),Id,Od=get(vd,nd),Md=0,Ud=Nd.length;Md<Ud;++Md)(Id=Nd[Md])&&schedule(Id,qa,nd,Md,Nd,Od);ud.push(Nd),dd.push(vd)}return new Transition(ud,dd,qa,nd)}var Selection=selection.prototype.constructor;function transition_selection(){return new Selection(this._groups,this._parents)}function styleNull(Ra,qa){var nd,od,ld;return function(){var ud=styleValue(this,Ra),dd=(this.style.removeProperty(Ra),styleValue(this,Ra));return ud===dd?null:ud===nd&&dd===od?ld:ld=qa(nd=ud,od=dd)}}function styleRemove(Ra){return function(){this.style.removeProperty(Ra)}}function styleConstant(Ra,qa,nd){var od,ld=nd+"",ud;return function(){var dd=styleValue(this,Ra);return dd===ld?null:dd===od?ud:ud=qa(od=dd,nd)}}function styleFunction(Ra,qa,nd){var od,ld,ud;return function(){var dd=styleValue(this,Ra),pd=nd(this),fd=pd+"";return pd==null&&(fd=pd=(this.style.removeProperty(Ra),styleValue(this,Ra))),dd===fd?null:dd===od&&fd===ld?ud:(ld=fd,ud=qa(od=dd,pd))}}function styleMaybeRemove(Ra,qa){var nd,od,ld,ud="style."+qa,dd="end."+ud,pd;return function(){var fd=set(this,Ra),md=fd.on,vd=fd.value[ud]==null?pd||(pd=styleRemove(qa)):void 0;(md!==nd||ld!==vd)&&(od=(nd=md).copy()).on(dd,ld=vd),fd.on=od}}function transition_style(Ra,qa,nd){var od=(Ra+="")=="transform"?interpolateTransformCss:interpolate;return qa==null?this.styleTween(Ra,styleNull(Ra,od)).on("end.style."+Ra,styleRemove(Ra)):typeof qa=="function"?this.styleTween(Ra,styleFunction(Ra,od,tweenValue(this,"style."+Ra,qa))).each(styleMaybeRemove(this._id,Ra)):this.styleTween(Ra,styleConstant(Ra,od,qa),nd).on("end.style."+Ra,null)}function styleInterpolate(Ra,qa,nd){return function(od){this.style.setProperty(Ra,qa.call(this,od),nd)}}function styleTween(Ra,qa,nd){var od,ld;function ud(){var dd=qa.apply(this,arguments);return dd!==ld&&(od=(ld=dd)&&styleInterpolate(Ra,dd,nd)),od}return ud._value=qa,ud}function transition_styleTween(Ra,qa,nd){var od="style."+(Ra+="");if(arguments.length<2)return(od=this.tween(od))&&od._value;if(qa==null)return this.tween(od,null);if(typeof qa!="function")throw new Error;return this.tween(od,styleTween(Ra,qa,nd??""))}function textConstant(Ra){return function(){this.textContent=Ra}}function textFunction(Ra){return function(){var qa=Ra(this);this.textContent=qa??""}}function transition_text(Ra){return this.tween("text",typeof Ra=="function"?textFunction(tweenValue(this,"text",Ra)):textConstant(Ra==null?"":Ra+""))}function textInterpolate(Ra){return function(qa){this.textContent=Ra.call(this,qa)}}function textTween(Ra){var qa,nd;function od(){var ld=Ra.apply(this,arguments);return ld!==nd&&(qa=(nd=ld)&&textInterpolate(ld)),qa}return od._value=Ra,od}function transition_textTween(Ra){var qa="text";if(arguments.length<1)return(qa=this.tween(qa))&&qa._value;if(Ra==null)return this.tween(qa,null);if(typeof Ra!="function")throw new Error;return this.tween(qa,textTween(Ra))}function transition_transition(){for(var Ra=this._name,qa=this._id,nd=newId(),od=this._groups,ld=od.length,ud=0;ud<ld;++ud)for(var dd=od[ud],pd=dd.length,fd,md=0;md<pd;++md)if(fd=dd[md]){var vd=get(fd,qa);schedule(fd,Ra,nd,md,dd,{time:vd.time+vd.delay+vd.duration,delay:0,duration:vd.duration,ease:vd.ease})}return new Transition(od,this._parents,Ra,nd)}function transition_end(){var Ra,qa,nd=this,od=nd._id,ld=nd.size();return new Promise(function(ud,dd){var pd={value:dd},fd={value:function(){--ld===0&&ud()}};nd.each(function(){var md=set(this,od),vd=md.on;vd!==Ra&&(qa=(Ra=vd).copy(),qa._.cancel.push(pd),qa._.interrupt.push(pd),qa._.end.push(fd)),md.on=qa}),ld===0&&ud()})}var id$1=0;function Transition(Ra,qa,nd,od){this._groups=Ra,this._parents=qa,this._name=nd,this._id=od}function newId(){return++id$1}var selection_prototype=selection.prototype;Transition.prototype={constructor:Transition,select:transition_select,selectAll:transition_selectAll,selectChild:selection_prototype.selectChild,selectChildren:selection_prototype.selectChildren,filter:transition_filter,merge:transition_merge,selection:transition_selection,transition:transition_transition,call:selection_prototype.call,nodes:selection_prototype.nodes,node:selection_prototype.node,size:selection_prototype.size,empty:selection_prototype.empty,each:selection_prototype.each,on:transition_on,attr:transition_attr,attrTween:transition_attrTween,style:transition_style,styleTween:transition_styleTween,text:transition_text,textTween:transition_textTween,remove:transition_remove,tween:transition_tween,delay:transition_delay,duration:transition_duration,ease:transition_ease,easeVarying:transition_easeVarying,end:transition_end,[Symbol.iterator]:selection_prototype[Symbol.iterator]};function cubicInOut(Ra){return((Ra*=2)<=1?Ra*Ra*Ra:(Ra-=2)*Ra*Ra+2)/2}var defaultTiming={time:null,delay:0,duration:250,ease:cubicInOut};function inherit(Ra,qa){for(var nd;!(nd=Ra.__transition)||!(nd=nd[qa]);)if(!(Ra=Ra.parentNode))throw new Error(`transition ${qa} not found`);return nd}function selection_transition(Ra){var qa,nd;Ra instanceof Transition?(qa=Ra._id,Ra=Ra._name):(qa=newId(),(nd=defaultTiming).time=now(),Ra=Ra==null?null:Ra+"");for(var od=this._groups,ld=od.length,ud=0;ud<ld;++ud)for(var dd=od[ud],pd=dd.length,fd,md=0;md<pd;++md)(fd=dd[md])&&schedule(fd,Ra,qa,md,dd,nd||inherit(fd,qa));return new Transition(od,this._parents,Ra,qa)}selection.prototype.interrupt=selection_interrupt;selection.prototype.transition=selection_transition;const pi$1=Math.PI,tau$1=2*pi$1,epsilon$1=1e-6,tauEpsilon=tau$1-epsilon$1;function append$1(Ra){this._+=Ra[0];for(let qa=1,nd=Ra.length;qa<nd;++qa)this._+=arguments[qa]+Ra[qa]}function appendRound(Ra){let qa=Math.floor(Ra);if(!(qa>=0))throw new Error(`invalid digits: ${Ra}`);if(qa>15)return append$1;const nd=10**qa;return function(od){this._+=od[0];for(let ld=1,ud=od.length;ld<ud;++ld)this._+=Math.round(arguments[ld]*nd)/nd+od[ld]}}class Path{constructor(qa){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=qa==null?append$1:appendRound(qa)}moveTo(qa,nd){this._append`M${this._x0=this._x1=+qa},${this._y0=this._y1=+nd}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(qa,nd){this._append`L${this._x1=+qa},${this._y1=+nd}`}quadraticCurveTo(qa,nd,od,ld){this._append`Q${+qa},${+nd},${this._x1=+od},${this._y1=+ld}`}bezierCurveTo(qa,nd,od,ld,ud,dd){this._append`C${+qa},${+nd},${+od},${+ld},${this._x1=+ud},${this._y1=+dd}`}arcTo(qa,nd,od,ld,ud){if(qa=+qa,nd=+nd,od=+od,ld=+ld,ud=+ud,ud<0)throw new Error(`negative radius: ${ud}`);let dd=this._x1,pd=this._y1,fd=od-qa,md=ld-nd,vd=dd-qa,Ad=pd-nd,Nd=vd*vd+Ad*Ad;if(this._x1===null)this._append`M${this._x1=qa},${this._y1=nd}`;else if(Nd>epsilon$1)if(!(Math.abs(Ad*fd-md*vd)>epsilon$1)||!ud)this._append`L${this._x1=qa},${this._y1=nd}`;else{let Id=od-dd,Od=ld-pd,Md=fd*fd+md*md,Ud=Id*Id+Od*Od,jd=Math.sqrt(Md),Ld=Math.sqrt(Nd),Bd=ud*Math.tan((pi$1-Math.acos((Md+Nd-Ud)/(2*jd*Ld)))/2),Gd=Bd/Ld,qd=Bd/jd;Math.abs(Gd-1)>epsilon$1&&this._append`L${qa+Gd*vd},${nd+Gd*Ad}`,this._append`A${ud},${ud},0,0,${+(Ad*Id>vd*Od)},${this._x1=qa+qd*fd},${this._y1=nd+qd*md}`}}arc(qa,nd,od,ld,ud,dd){if(qa=+qa,nd=+nd,od=+od,dd=!!dd,od<0)throw new Error(`negative radius: ${od}`);let pd=od*Math.cos(ld),fd=od*Math.sin(ld),md=qa+pd,vd=nd+fd,Ad=1^dd,Nd=dd?ld-ud:ud-ld;this._x1===null?this._append`M${md},${vd}`:(Math.abs(this._x1-md)>epsilon$1||Math.abs(this._y1-vd)>epsilon$1)&&this._append`L${md},${vd}`,od&&(Nd<0&&(Nd=Nd%tau$1+tau$1),Nd>tauEpsilon?this._append`A${od},${od},0,1,${Ad},${qa-pd},${nd-fd}A${od},${od},0,1,${Ad},${this._x1=md},${this._y1=vd}`:Nd>epsilon$1&&this._append`A${od},${od},0,${+(Nd>=pi$1)},${Ad},${this._x1=qa+od*Math.cos(ud)},${this._y1=nd+od*Math.sin(ud)}`)}rect(qa,nd,od,ld){this._append`M${this._x0=this._x1=+qa},${this._y0=this._y1=+nd}h${od=+od}v${+ld}h${-od}Z`}toString(){return this._}}function constant$3(Ra){return function(){return Ra}}const abs$1=Math.abs,atan2=Math.atan2,cos=Math.cos,max$1=Math.max,min=Math.min,sin=Math.sin,sqrt=Math.sqrt,epsilon=1e-12,pi=Math.PI,halfPi=pi/2,tau=2*pi;function acos(Ra){return Ra>1?0:Ra<-1?pi:Math.acos(Ra)}function asin(Ra){return Ra>=1?halfPi:Ra<=-1?-halfPi:Math.asin(Ra)}function withPath(Ra){let qa=3;return Ra.digits=function(nd){if(!arguments.length)return qa;if(nd==null)qa=null;else{const od=Math.floor(nd);if(!(od>=0))throw new RangeError(`invalid digits: ${nd}`);qa=od}return Ra},()=>new Path(qa)}function array(Ra){return typeof Ra=="object"&&"length"in Ra?Ra:Array.from(Ra)}function Linear(Ra){this._context=Ra}Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;default:this._context.lineTo(Ra,qa);break}}};function curveLinear(Ra){return new Linear(Ra)}function x$3(Ra){return Ra[0]}function y$2(Ra){return Ra[1]}function line$1(Ra,qa){var nd=constant$3(!0),od=null,ld=curveLinear,ud=null,dd=withPath(pd);Ra=typeof Ra=="function"?Ra:Ra===void 0?x$3:constant$3(Ra),qa=typeof qa=="function"?qa:qa===void 0?y$2:constant$3(qa);function pd(fd){var md,vd=(fd=array(fd)).length,Ad,Nd=!1,Id;for(od==null&&(ud=ld(Id=dd())),md=0;md<=vd;++md)!(md<vd&&nd(Ad=fd[md],md,fd))===Nd&&((Nd=!Nd)?ud.lineStart():ud.lineEnd()),Nd&&ud.point(+Ra(Ad,md,fd),+qa(Ad,md,fd));if(Id)return ud=null,Id+""||null}return pd.x=function(fd){return arguments.length?(Ra=typeof fd=="function"?fd:constant$3(+fd),pd):Ra},pd.y=function(fd){return arguments.length?(qa=typeof fd=="function"?fd:constant$3(+fd),pd):qa},pd.defined=function(fd){return arguments.length?(nd=typeof fd=="function"?fd:constant$3(!!fd),pd):nd},pd.curve=function(fd){return arguments.length?(ld=fd,od!=null&&(ud=ld(od)),pd):ld},pd.context=function(fd){return arguments.length?(fd==null?od=ud=null:ud=ld(od=fd),pd):od},pd}class Bump{constructor(qa,nd){this._context=qa,this._x=nd}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(qa,nd){switch(qa=+qa,nd=+nd,this._point){case 0:{this._point=1,this._line?this._context.lineTo(qa,nd):this._context.moveTo(qa,nd);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+qa)/2,this._y0,this._x0,nd,qa,nd):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+nd)/2,qa,this._y0,qa,nd);break}}this._x0=qa,this._y0=nd}}function bumpX(Ra){return new Bump(Ra,!0)}function bumpY(Ra){return new Bump(Ra,!1)}function noop$3(){}function point$4(Ra,qa,nd){Ra._context.bezierCurveTo((2*Ra._x0+Ra._x1)/3,(2*Ra._y0+Ra._y1)/3,(Ra._x0+2*Ra._x1)/3,(Ra._y0+2*Ra._y1)/3,(Ra._x0+4*Ra._x1+qa)/6,(Ra._y0+4*Ra._y1+nd)/6)}function Basis(Ra){this._context=Ra}Basis.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:point$4(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:point$4(this,Ra,qa);break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa}};function curveBasis(Ra){return new Basis(Ra)}function BasisClosed(Ra){this._context=Ra}BasisClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._x2=Ra,this._y2=qa;break;case 1:this._point=2,this._x3=Ra,this._y3=qa;break;case 2:this._point=3,this._x4=Ra,this._y4=qa,this._context.moveTo((this._x0+4*this._x1+Ra)/6,(this._y0+4*this._y1+qa)/6);break;default:point$4(this,Ra,qa);break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa}};function curveBasisClosed(Ra){return new BasisClosed(Ra)}function BasisOpen(Ra){this._context=Ra}BasisOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var nd=(this._x0+4*this._x1+Ra)/6,od=(this._y0+4*this._y1+qa)/6;this._line?this._context.lineTo(nd,od):this._context.moveTo(nd,od);break;case 3:this._point=4;default:point$4(this,Ra,qa);break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa}};function curveBasisOpen(Ra){return new BasisOpen(Ra)}function Bundle(Ra,qa){this._basis=new Basis(Ra),this._beta=qa}Bundle.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var Ra=this._x,qa=this._y,nd=Ra.length-1;if(nd>0)for(var od=Ra[0],ld=qa[0],ud=Ra[nd]-od,dd=qa[nd]-ld,pd=-1,fd;++pd<=nd;)fd=pd/nd,this._basis.point(this._beta*Ra[pd]+(1-this._beta)*(od+fd*ud),this._beta*qa[pd]+(1-this._beta)*(ld+fd*dd));this._x=this._y=null,this._basis.lineEnd()},point:function(Ra,qa){this._x.push(+Ra),this._y.push(+qa)}};const curveBundle=function Ra(qa){function nd(od){return qa===1?new Basis(od):new Bundle(od,qa)}return nd.beta=function(od){return Ra(+od)},nd}(.85);function point$3(Ra,qa,nd){Ra._context.bezierCurveTo(Ra._x1+Ra._k*(Ra._x2-Ra._x0),Ra._y1+Ra._k*(Ra._y2-Ra._y0),Ra._x2+Ra._k*(Ra._x1-qa),Ra._y2+Ra._k*(Ra._y1-nd),Ra._x2,Ra._y2)}function Cardinal(Ra,qa){this._context=Ra,this._k=(1-qa)/6}Cardinal.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:point$3(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2,this._x1=Ra,this._y1=qa;break;case 2:this._point=3;default:point$3(this,Ra,qa);break}this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCardinal=function Ra(qa){function nd(od){return new Cardinal(od,qa)}return nd.tension=function(od){return Ra(+od)},nd}(0);function CardinalClosed(Ra,qa){this._context=Ra,this._k=(1-qa)/6}CardinalClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._x3=Ra,this._y3=qa;break;case 1:this._point=2,this._context.moveTo(this._x4=Ra,this._y4=qa);break;case 2:this._point=3,this._x5=Ra,this._y5=qa;break;default:point$3(this,Ra,qa);break}this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCardinalClosed=function Ra(qa){function nd(od){return new CardinalClosed(od,qa)}return nd.tension=function(od){return Ra(+od)},nd}(0);function CardinalOpen(Ra,qa){this._context=Ra,this._k=(1-qa)/6}CardinalOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$3(this,Ra,qa);break}this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCardinalOpen=function Ra(qa){function nd(od){return new CardinalOpen(od,qa)}return nd.tension=function(od){return Ra(+od)},nd}(0);function point$2(Ra,qa,nd){var od=Ra._x1,ld=Ra._y1,ud=Ra._x2,dd=Ra._y2;if(Ra._l01_a>epsilon){var pd=2*Ra._l01_2a+3*Ra._l01_a*Ra._l12_a+Ra._l12_2a,fd=3*Ra._l01_a*(Ra._l01_a+Ra._l12_a);od=(od*pd-Ra._x0*Ra._l12_2a+Ra._x2*Ra._l01_2a)/fd,ld=(ld*pd-Ra._y0*Ra._l12_2a+Ra._y2*Ra._l01_2a)/fd}if(Ra._l23_a>epsilon){var md=2*Ra._l23_2a+3*Ra._l23_a*Ra._l12_a+Ra._l12_2a,vd=3*Ra._l23_a*(Ra._l23_a+Ra._l12_a);ud=(ud*md+Ra._x1*Ra._l23_2a-qa*Ra._l12_2a)/vd,dd=(dd*md+Ra._y1*Ra._l23_2a-nd*Ra._l12_2a)/vd}Ra._context.bezierCurveTo(od,ld,ud,dd,Ra._x2,Ra._y2)}function CatmullRom(Ra,qa){this._context=Ra,this._alpha=qa}CatmullRom.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){if(Ra=+Ra,qa=+qa,this._point){var nd=this._x2-Ra,od=this._y2-qa;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(nd*nd+od*od,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;break;case 2:this._point=3;default:point$2(this,Ra,qa);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCatmullRom=function Ra(qa){function nd(od){return qa?new CatmullRom(od,qa):new Cardinal(od,0)}return nd.alpha=function(od){return Ra(+od)},nd}(.5);function CatmullRomClosed(Ra,qa){this._context=Ra,this._alpha=qa}CatmullRomClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(Ra,qa){if(Ra=+Ra,qa=+qa,this._point){var nd=this._x2-Ra,od=this._y2-qa;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(nd*nd+od*od,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=Ra,this._y3=qa;break;case 1:this._point=2,this._context.moveTo(this._x4=Ra,this._y4=qa);break;case 2:this._point=3,this._x5=Ra,this._y5=qa;break;default:point$2(this,Ra,qa);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCatmullRomClosed=function Ra(qa){function nd(od){return qa?new CatmullRomClosed(od,qa):new CardinalClosed(od,0)}return nd.alpha=function(od){return Ra(+od)},nd}(.5);function CatmullRomOpen(Ra,qa){this._context=Ra,this._alpha=qa}CatmullRomOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){if(Ra=+Ra,qa=+qa,this._point){var nd=this._x2-Ra,od=this._y2-qa;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(nd*nd+od*od,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$2(this,Ra,qa);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=Ra,this._y0=this._y1,this._y1=this._y2,this._y2=qa}};const curveCatmullRomOpen=function Ra(qa){function nd(od){return qa?new CatmullRomOpen(od,qa):new CardinalOpen(od,0)}return nd.alpha=function(od){return Ra(+od)},nd}(.5);function LinearClosed(Ra){this._context=Ra}LinearClosed.prototype={areaStart:noop$3,areaEnd:noop$3,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(Ra,qa){Ra=+Ra,qa=+qa,this._point?this._context.lineTo(Ra,qa):(this._point=1,this._context.moveTo(Ra,qa))}};function curveLinearClosed(Ra){return new LinearClosed(Ra)}function sign(Ra){return Ra<0?-1:1}function slope3(Ra,qa,nd){var od=Ra._x1-Ra._x0,ld=qa-Ra._x1,ud=(Ra._y1-Ra._y0)/(od||ld<0&&-0),dd=(nd-Ra._y1)/(ld||od<0&&-0),pd=(ud*ld+dd*od)/(od+ld);return(sign(ud)+sign(dd))*Math.min(Math.abs(ud),Math.abs(dd),.5*Math.abs(pd))||0}function slope2(Ra,qa){var nd=Ra._x1-Ra._x0;return nd?(3*(Ra._y1-Ra._y0)/nd-qa)/2:qa}function point$1(Ra,qa,nd){var od=Ra._x0,ld=Ra._y0,ud=Ra._x1,dd=Ra._y1,pd=(ud-od)/3;Ra._context.bezierCurveTo(od+pd,ld+pd*qa,ud-pd,dd-pd*nd,ud,dd)}function MonotoneX(Ra){this._context=Ra}MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:point$1(this,this._t0,slope2(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(Ra,qa){var nd=NaN;if(Ra=+Ra,qa=+qa,!(Ra===this._x1&&qa===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;break;case 2:this._point=3,point$1(this,slope2(this,nd=slope3(this,Ra,qa)),nd);break;default:point$1(this,this._t0,nd=slope3(this,Ra,qa));break}this._x0=this._x1,this._x1=Ra,this._y0=this._y1,this._y1=qa,this._t0=nd}}};function MonotoneY(Ra){this._context=new ReflectContext(Ra)}(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(Ra,qa){MonotoneX.prototype.point.call(this,qa,Ra)};function ReflectContext(Ra){this._context=Ra}ReflectContext.prototype={moveTo:function(Ra,qa){this._context.moveTo(qa,Ra)},closePath:function(){this._context.closePath()},lineTo:function(Ra,qa){this._context.lineTo(qa,Ra)},bezierCurveTo:function(Ra,qa,nd,od,ld,ud){this._context.bezierCurveTo(qa,Ra,od,nd,ud,ld)}};function monotoneX(Ra){return new MonotoneX(Ra)}function monotoneY(Ra){return new MonotoneY(Ra)}function Natural(Ra){this._context=Ra}Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var Ra=this._x,qa=this._y,nd=Ra.length;if(nd)if(this._line?this._context.lineTo(Ra[0],qa[0]):this._context.moveTo(Ra[0],qa[0]),nd===2)this._context.lineTo(Ra[1],qa[1]);else for(var od=controlPoints(Ra),ld=controlPoints(qa),ud=0,dd=1;dd<nd;++ud,++dd)this._context.bezierCurveTo(od[0][ud],ld[0][ud],od[1][ud],ld[1][ud],Ra[dd],qa[dd]);(this._line||this._line!==0&&nd===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(Ra,qa){this._x.push(+Ra),this._y.push(+qa)}};function controlPoints(Ra){var qa,nd=Ra.length-1,od,ld=new Array(nd),ud=new Array(nd),dd=new Array(nd);for(ld[0]=0,ud[0]=2,dd[0]=Ra[0]+2*Ra[1],qa=1;qa<nd-1;++qa)ld[qa]=1,ud[qa]=4,dd[qa]=4*Ra[qa]+2*Ra[qa+1];for(ld[nd-1]=2,ud[nd-1]=7,dd[nd-1]=8*Ra[nd-1]+Ra[nd],qa=1;qa<nd;++qa)od=ld[qa]/ud[qa-1],ud[qa]-=od,dd[qa]-=od*dd[qa-1];for(ld[nd-1]=dd[nd-1]/ud[nd-1],qa=nd-2;qa>=0;--qa)ld[qa]=(dd[qa]-ld[qa+1])/ud[qa];for(ud[nd-1]=(Ra[nd]+ld[nd-1])/2,qa=0;qa<nd-1;++qa)ud[qa]=2*Ra[qa+1]-ld[qa+1];return[ld,ud]}function curveNatural(Ra){return new Natural(Ra)}function Step(Ra,qa){this._context=Ra,this._t=qa}Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(Ra,qa){switch(Ra=+Ra,qa=+qa,this._point){case 0:this._point=1,this._line?this._context.lineTo(Ra,qa):this._context.moveTo(Ra,qa);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,qa),this._context.lineTo(Ra,qa);else{var nd=this._x*(1-this._t)+Ra*this._t;this._context.lineTo(nd,this._y),this._context.lineTo(nd,qa)}break}}this._x=Ra,this._y=qa}};function curveStep(Ra){return new Step(Ra,.5)}function stepBefore(Ra){return new Step(Ra,0)}function stepAfter(Ra){return new Step(Ra,1)}function Transform$4(Ra,qa,nd){this.k=Ra,this.x=qa,this.y=nd}Transform$4.prototype={constructor:Transform$4,scale:function(Ra){return Ra===1?this:new Transform$4(this.k*Ra,this.x,this.y)},translate:function(Ra,qa){return Ra===0&qa===0?this:new Transform$4(this.k,this.x+this.k*Ra,this.y+this.k*qa)},apply:function(Ra){return[Ra[0]*this.k+this.x,Ra[1]*this.k+this.y]},applyX:function(Ra){return Ra*this.k+this.x},applyY:function(Ra){return Ra*this.k+this.y},invert:function(Ra){return[(Ra[0]-this.x)/this.k,(Ra[1]-this.y)/this.k]},invertX:function(Ra){return(Ra-this.x)/this.k},invertY:function(Ra){return(Ra-this.y)/this.k},rescaleX:function(Ra){return Ra.copy().domain(Ra.range().map(this.invertX,this).map(Ra.invert,Ra))},rescaleY:function(Ra){return Ra.copy().domain(Ra.range().map(this.invertY,this).map(Ra.invert,Ra))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};Transform$4.prototype;var freeGlobal=typeof global$1=="object"&&global$1&&global$1.Object===Object&&global$1,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$1=root.Symbol,objectProto$c=Object.prototype,hasOwnProperty$d=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(Ra){var qa=hasOwnProperty$d.call(Ra,symToStringTag$1),nd=Ra[symToStringTag$1];try{Ra[symToStringTag$1]=void 0;var od=!0}catch{}var ld=nativeObjectToString$1.call(Ra);return od&&(qa?Ra[symToStringTag$1]=nd:delete Ra[symToStringTag$1]),ld}var objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString(Ra){return nativeObjectToString.call(Ra)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(Ra){return Ra==null?Ra===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(Ra)?getRawTag(Ra):objectToString(Ra)}function isObject$2(Ra){var qa=typeof Ra;return Ra!=null&&(qa=="object"||qa=="function")}var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$2(Ra){if(!isObject$2(Ra))return!1;var qa=baseGetTag(Ra);return qa==funcTag$1||qa==genTag||qa==asyncTag||qa==proxyTag}var coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var Ra=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return Ra?"Symbol(src)_1."+Ra:""}();function isMasked(Ra){return!!maskSrcKey&&maskSrcKey in Ra}var funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource(Ra){if(Ra!=null){try{return funcToString$2.call(Ra)}catch{}try{return Ra+""}catch{}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$a=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$c=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$c).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(Ra){if(!isObject$2(Ra)||isMasked(Ra))return!1;var qa=isFunction$2(Ra)?reIsNative:reIsHostCtor;return qa.test(toSource(Ra))}function getValue(Ra,qa){return Ra==null?void 0:Ra[qa]}function getNative(Ra,qa){var nd=getValue(Ra,qa);return baseIsNative(nd)?nd:void 0}var nativeCreate=getNative(Object,"create");function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}function hashDelete(Ra){var qa=this.has(Ra)&&delete this.__data__[Ra];return this.size-=qa?1:0,qa}var HASH_UNDEFINED$1="__lodash_hash_undefined__",objectProto$9=Object.prototype,hasOwnProperty$b=objectProto$9.hasOwnProperty;function hashGet(Ra){var qa=this.__data__;if(nativeCreate){var nd=qa[Ra];return nd===HASH_UNDEFINED$1?void 0:nd}return hasOwnProperty$b.call(qa,Ra)?qa[Ra]:void 0}var objectProto$8=Object.prototype,hasOwnProperty$a=objectProto$8.hasOwnProperty;function hashHas(Ra){var qa=this.__data__;return nativeCreate?qa[Ra]!==void 0:hasOwnProperty$a.call(qa,Ra)}var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(Ra,qa){var nd=this.__data__;return this.size+=this.has(Ra)?0:1,nd[Ra]=nativeCreate&&qa===void 0?HASH_UNDEFINED:qa,this}function Hash(Ra){var qa=-1,nd=Ra==null?0:Ra.length;for(this.clear();++qa<nd;){var od=Ra[qa];this.set(od[0],od[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function eq(Ra,qa){return Ra===qa||Ra!==Ra&&qa!==qa}function assocIndexOf(Ra,qa){for(var nd=Ra.length;nd--;)if(eq(Ra[nd][0],qa))return nd;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(Ra){var qa=this.__data__,nd=assocIndexOf(qa,Ra);if(nd<0)return!1;var od=qa.length-1;return nd==od?qa.pop():splice.call(qa,nd,1),--this.size,!0}function listCacheGet(Ra){var qa=this.__data__,nd=assocIndexOf(qa,Ra);return nd<0?void 0:qa[nd][1]}function listCacheHas(Ra){return assocIndexOf(this.__data__,Ra)>-1}function listCacheSet(Ra,qa){var nd=this.__data__,od=assocIndexOf(nd,Ra);return od<0?(++this.size,nd.push([Ra,qa])):nd[od][1]=qa,this}function ListCache(Ra){var qa=-1,nd=Ra==null?0:Ra.length;for(this.clear();++qa<nd;){var od=Ra[qa];this.set(od[0],od[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map$1=getNative(root,"Map");function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(Ra){var qa=typeof Ra;return qa=="string"||qa=="number"||qa=="symbol"||qa=="boolean"?Ra!=="__proto__":Ra===null}function getMapData(Ra,qa){var nd=Ra.__data__;return isKeyable(qa)?nd[typeof qa=="string"?"string":"hash"]:nd.map}function mapCacheDelete(Ra){var qa=getMapData(this,Ra).delete(Ra);return this.size-=qa?1:0,qa}function mapCacheGet(Ra){return getMapData(this,Ra).get(Ra)}function mapCacheHas(Ra){return getMapData(this,Ra).has(Ra)}function mapCacheSet(Ra,qa){var nd=getMapData(this,Ra),od=nd.size;return nd.set(Ra,qa),this.size+=nd.size==od?0:1,this}function MapCache(Ra){var qa=-1,nd=Ra==null?0:Ra.length;for(this.clear();++qa<nd;){var od=Ra[qa];this.set(od[0],od[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT="Expected a function";function memoize$2(Ra,qa){if(typeof Ra!="function"||qa!=null&&typeof qa!="function")throw new TypeError(FUNC_ERROR_TEXT);var nd=function(){var od=arguments,ld=qa?qa.apply(this,od):od[0],ud=nd.cache;if(ud.has(ld))return ud.get(ld);var dd=Ra.apply(this,od);return nd.cache=ud.set(ld,dd)||ud,dd};return nd.cache=new(memoize$2.Cache||MapCache),nd}memoize$2.Cache=MapCache;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(Ra){var qa=this.__data__,nd=qa.delete(Ra);return this.size=qa.size,nd}function stackGet(Ra){return this.__data__.get(Ra)}function stackHas(Ra){return this.__data__.has(Ra)}var LARGE_ARRAY_SIZE=200;function stackSet(Ra,qa){var nd=this.__data__;if(nd instanceof ListCache){var od=nd.__data__;if(!Map$1||od.length<LARGE_ARRAY_SIZE-1)return od.push([Ra,qa]),this.size=++nd.size,this;nd=this.__data__=new MapCache(od)}return nd.set(Ra,qa),this.size=nd.size,this}function Stack(Ra){var qa=this.__data__=new ListCache(Ra);this.size=qa.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;var defineProperty=function(){try{var Ra=getNative(Object,"defineProperty");return Ra({},"",{}),Ra}catch{}}();function baseAssignValue(Ra,qa,nd){qa=="__proto__"&&defineProperty?defineProperty(Ra,qa,{configurable:!0,enumerable:!0,value:nd,writable:!0}):Ra[qa]=nd}function assignMergeValue(Ra,qa,nd){(nd!==void 0&&!eq(Ra[qa],nd)||nd===void 0&&!(qa in Ra))&&baseAssignValue(Ra,qa,nd)}function createBaseFor(Ra){return function(qa,nd,od){for(var ld=-1,ud=Object(qa),dd=od(qa),pd=dd.length;pd--;){var fd=dd[++ld];if(nd(ud[fd],fd,ud)===!1)break}return qa}}var baseFor=createBaseFor(),freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$3=moduleExports$2?root.Buffer:void 0,allocUnsafe=Buffer$3?Buffer$3.allocUnsafe:void 0;function cloneBuffer(Ra,qa){if(qa)return Ra.slice();var nd=Ra.length,od=allocUnsafe?allocUnsafe(nd):new Ra.constructor(nd);return Ra.copy(od),od}var Uint8Array$1=root.Uint8Array;function cloneArrayBuffer(Ra){var qa=new Ra.constructor(Ra.byteLength);return new Uint8Array$1(qa).set(new Uint8Array$1(Ra)),qa}function cloneTypedArray(Ra,qa){var nd=qa?cloneArrayBuffer(Ra.buffer):Ra.buffer;return new Ra.constructor(nd,Ra.byteOffset,Ra.length)}function copyArray(Ra,qa){var nd=-1,od=Ra.length;for(qa||(qa=Array(od));++nd<od;)qa[nd]=Ra[nd];return qa}var objectCreate=Object.create,baseCreate=function(){function Ra(){}return function(qa){if(!isObject$2(qa))return{};if(objectCreate)return objectCreate(qa);Ra.prototype=qa;var nd=new Ra;return Ra.prototype=void 0,nd}}();function overArg(Ra,qa){return function(nd){return Ra(qa(nd))}}var getPrototype=overArg(Object.getPrototypeOf,Object),objectProto$7=Object.prototype;function isPrototype(Ra){var qa=Ra&&Ra.constructor,nd=typeof qa=="function"&&qa.prototype||objectProto$7;return Ra===nd}function initCloneObject(Ra){return typeof Ra.constructor=="function"&&!isPrototype(Ra)?baseCreate(getPrototype(Ra)):{}}function isObjectLike(Ra){return Ra!=null&&typeof Ra=="object"}var argsTag$1="[object Arguments]";function baseIsArguments(Ra){return isObjectLike(Ra)&&baseGetTag(Ra)==argsTag$1}var objectProto$6=Object.prototype,hasOwnProperty$9=objectProto$6.hasOwnProperty,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,isArguments$1=baseIsArguments(function(){return arguments}())?baseIsArguments:function(Ra){return isObjectLike(Ra)&&hasOwnProperty$9.call(Ra,"callee")&&!propertyIsEnumerable.call(Ra,"callee")},isArray$1=Array.isArray,MAX_SAFE_INTEGER$1=9007199254740991;function isLength(Ra){return typeof Ra=="number"&&Ra>-1&&Ra%1==0&&Ra<=MAX_SAFE_INTEGER$1}function isArrayLike$1(Ra){return Ra!=null&&isLength(Ra.length)&&!isFunction$2(Ra)}function isArrayLikeObject(Ra){return isObjectLike(Ra)&&isArrayLike$1(Ra)}function stubFalse(){return!1}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,Buffer$2=moduleExports$1?root.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$1=nativeIsBuffer||stubFalse,objectTag$2="[object Object]",funcProto=Function.prototype,objectProto$5=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$8=objectProto$5.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$1(Ra){if(!isObjectLike(Ra)||baseGetTag(Ra)!=objectTag$2)return!1;var qa=getPrototype(Ra);if(qa===null)return!0;var nd=hasOwnProperty$8.call(qa,"constructor")&&qa.constructor;return typeof nd=="function"&&nd instanceof nd&&funcToString.call(nd)==objectCtorString}var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag$2="[object Map]",numberTag="[object Number]",objectTag$1="[object Object]",regexpTag="[object RegExp]",setTag$2="[object Set]",stringTag="[object String]",weakMapTag$1="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag$1]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag$2]=typedArrayTags[numberTag]=typedArrayTags[objectTag$1]=typedArrayTags[regexpTag]=typedArrayTags[setTag$2]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag$1]=!1;function baseIsTypedArray(Ra){return isObjectLike(Ra)&&isLength(Ra.length)&&!!typedArrayTags[baseGetTag(Ra)]}function baseUnary(Ra){return function(qa){return Ra(qa)}}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var Ra=freeModule&&freeModule.require&&freeModule.require("util").types;return Ra||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function safeGet(Ra,qa){if(!(qa==="constructor"&&typeof Ra[qa]=="function")&&qa!="__proto__")return Ra[qa]}var objectProto$4=Object.prototype,hasOwnProperty$7=objectProto$4.hasOwnProperty;function assignValue(Ra,qa,nd){var od=Ra[qa];(!(hasOwnProperty$7.call(Ra,qa)&&eq(od,nd))||nd===void 0&&!(qa in Ra))&&baseAssignValue(Ra,qa,nd)}function copyObject(Ra,qa,nd,od){var ld=!nd;nd||(nd={});for(var ud=-1,dd=qa.length;++ud<dd;){var pd=qa[ud],fd=void 0;fd===void 0&&(fd=Ra[pd]),ld?baseAssignValue(nd,pd,fd):assignValue(nd,pd,fd)}return nd}function baseTimes(Ra,qa){for(var nd=-1,od=Array(Ra);++nd<Ra;)od[nd]=qa(nd);return od}var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(Ra,qa){var nd=typeof Ra;return qa=qa??MAX_SAFE_INTEGER,!!qa&&(nd=="number"||nd!="symbol"&&reIsUint.test(Ra))&&Ra>-1&&Ra%1==0&&Ra<qa}var objectProto$3=Object.prototype,hasOwnProperty$6=objectProto$3.hasOwnProperty;function arrayLikeKeys(Ra,qa){var nd=isArray$1(Ra),od=!nd&&isArguments$1(Ra),ld=!nd&&!od&&isBuffer$1(Ra),ud=!nd&&!od&&!ld&&isTypedArray$2(Ra),dd=nd||od||ld||ud,pd=dd?baseTimes(Ra.length,String):[],fd=pd.length;for(var md in Ra)(qa||hasOwnProperty$6.call(Ra,md))&&!(dd&&(md=="length"||ld&&(md=="offset"||md=="parent")||ud&&(md=="buffer"||md=="byteLength"||md=="byteOffset")||isIndex(md,fd)))&&pd.push(md);return pd}function nativeKeysIn(Ra){var qa=[];if(Ra!=null)for(var nd in Object(Ra))qa.push(nd);return qa}var objectProto$2=Object.prototype,hasOwnProperty$5=objectProto$2.hasOwnProperty;function baseKeysIn(Ra){if(!isObject$2(Ra))return nativeKeysIn(Ra);var qa=isPrototype(Ra),nd=[];for(var od in Ra)od=="constructor"&&(qa||!hasOwnProperty$5.call(Ra,od))||nd.push(od);return nd}function keysIn(Ra){return isArrayLike$1(Ra)?arrayLikeKeys(Ra,!0):baseKeysIn(Ra)}function toPlainObject(Ra){return copyObject(Ra,keysIn(Ra))}function baseMergeDeep(Ra,qa,nd,od,ld,ud,dd){var pd=safeGet(Ra,nd),fd=safeGet(qa,nd),md=dd.get(fd);if(md){assignMergeValue(Ra,nd,md);return}var vd=ud?ud(pd,fd,nd+"",Ra,qa,dd):void 0,Ad=vd===void 0;if(Ad){var Nd=isArray$1(fd),Id=!Nd&&isBuffer$1(fd),Od=!Nd&&!Id&&isTypedArray$2(fd);vd=fd,Nd||Id||Od?isArray$1(pd)?vd=pd:isArrayLikeObject(pd)?vd=copyArray(pd):Id?(Ad=!1,vd=cloneBuffer(fd,!0)):Od?(Ad=!1,vd=cloneTypedArray(fd,!0)):vd=[]:isPlainObject$1(fd)||isArguments$1(fd)?(vd=pd,isArguments$1(pd)?vd=toPlainObject(pd):(!isObject$2(pd)||isFunction$2(pd))&&(vd=initCloneObject(fd))):Ad=!1}Ad&&(dd.set(fd,vd),ld(vd,fd,od,ud,dd),dd.delete(fd)),assignMergeValue(Ra,nd,vd)}function baseMerge(Ra,qa,nd,od,ld){Ra!==qa&&baseFor(qa,function(ud,dd){if(ld||(ld=new Stack),isObject$2(ud))baseMergeDeep(Ra,qa,dd,nd,baseMerge,od,ld);else{var pd=od?od(safeGet(Ra,dd),ud,dd+"",Ra,qa,ld):void 0;pd===void 0&&(pd=ud),assignMergeValue(Ra,dd,pd)}},keysIn)}function identity(Ra){return Ra}function apply$1(Ra,qa,nd){switch(nd.length){case 0:return Ra.call(qa);case 1:return Ra.call(qa,nd[0]);case 2:return Ra.call(qa,nd[0],nd[1]);case 3:return Ra.call(qa,nd[0],nd[1],nd[2])}return Ra.apply(qa,nd)}var nativeMax=Math.max;function overRest(Ra,qa,nd){return qa=nativeMax(qa===void 0?Ra.length-1:qa,0),function(){for(var od=arguments,ld=-1,ud=nativeMax(od.length-qa,0),dd=Array(ud);++ld<ud;)dd[ld]=od[qa+ld];ld=-1;for(var pd=Array(qa+1);++ld<qa;)pd[ld]=od[ld];return pd[qa]=nd(dd),apply$1(Ra,this,pd)}}function constant$2(Ra){return function(){return Ra}}var baseSetToString=defineProperty?function(Ra,qa){return defineProperty(Ra,"toString",{configurable:!0,enumerable:!1,value:constant$2(qa),writable:!0})}:identity,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(Ra){var qa=0,nd=0;return function(){var od=nativeNow(),ld=HOT_SPAN-(od-nd);if(nd=od,ld>0){if(++qa>=HOT_COUNT)return arguments[0]}else qa=0;return Ra.apply(void 0,arguments)}}var setToString=shortOut(baseSetToString);function baseRest(Ra,qa){return setToString(overRest(Ra,qa,identity),Ra+"")}function isIterateeCall(Ra,qa,nd){if(!isObject$2(nd))return!1;var od=typeof qa;return(od=="number"?isArrayLike$1(nd)&&isIndex(qa,nd.length):od=="string"&&qa in nd)?eq(nd[qa],Ra):!1}function createAssigner(Ra){return baseRest(function(qa,nd){var od=-1,ld=nd.length,ud=ld>1?nd[ld-1]:void 0,dd=ld>2?nd[2]:void 0;for(ud=Ra.length>3&&typeof ud=="function"?(ld--,ud):void 0,dd&&isIterateeCall(nd[0],nd[1],dd)&&(ud=ld<3?void 0:ud,ld=1),qa=Object(qa);++od<ld;){var pd=nd[od];pd&&Ra(qa,pd,od,ud)}return qa})}var merge$1=createAssigner(function(Ra,qa,nd){baseMerge(Ra,qa,nd)}),ZERO_WIDTH_SPACE="",d3CurveTypes={curveBasis,curveBasisClosed,curveBasisOpen,curveBumpX:bumpX,curveBumpY:bumpY,curveBundle,curveCardinalClosed,curveCardinalOpen,curveCardinal,curveCatmullRomClosed,curveCatmullRomOpen,curveCatmullRom,curveLinear,curveLinearClosed,curveMonotoneX:monotoneX,curveMonotoneY:monotoneY,curveNatural,curveStep,curveStepAfter:stepAfter,curveStepBefore:stepBefore},directiveWithoutOpen=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,detectInit=__name(function(Ra,qa){const nd=detectDirective(Ra,/(?:init\b)|(?:initialize\b)/);let od={};if(Array.isArray(nd)){const dd=nd.map(pd=>pd.args);sanitizeDirective(dd),od=assignWithDepth_default(od,[...dd])}else od=nd.args;if(!od)return;let ld=detectType$1(Ra,qa);const ud="config";return od[ud]!==void 0&&(ld==="flowchart-v2"&&(ld="flowchart"),od[ld]=od[ud],delete od[ud]),od},"detectInit"),detectDirective=__name(function(Ra,qa=null){var nd,od;try{const ld=new RegExp(`[%]{2}(?![{]${directiveWithoutOpen.source})(?=[}][%]{2}).*
|
||
`,"ig");Ra=Ra.trim().replace(ld,"").replace(/'/gm,'"'),log$1.debug(`Detecting diagram directive${qa!==null?" type:"+qa:""} based on the text:${Ra}`);let ud;const dd=[];for(;(ud=directiveRegex.exec(Ra))!==null;)if(ud.index===directiveRegex.lastIndex&&directiveRegex.lastIndex++,ud&&!qa||qa&&((nd=ud[1])!=null&&nd.match(qa))||qa&&((od=ud[2])!=null&&od.match(qa))){const pd=ud[1]?ud[1]:ud[2],fd=ud[3]?ud[3].trim():ud[4]?JSON.parse(ud[4].trim()):null;dd.push({type:pd,args:fd})}return dd.length===0?{type:Ra,args:null}:dd.length===1?dd[0]:dd}catch(ld){return log$1.error(`ERROR: ${ld.message} - Unable to parse directive type: '${qa}' based on the text: '${Ra}'`),{type:void 0,args:null}}},"detectDirective"),removeDirectives=__name(function(Ra){return Ra.replace(directiveRegex,"")},"removeDirectives"),isSubstringInArray=__name(function(Ra,qa){for(const[nd,od]of qa.entries())if(od.match(Ra))return nd;return-1},"isSubstringInArray");function interpolateToCurve(Ra,qa){if(!Ra)return qa;const nd=`curve${Ra.charAt(0).toUpperCase()+Ra.slice(1)}`;return d3CurveTypes[nd]??qa}__name(interpolateToCurve,"interpolateToCurve");function formatUrl(Ra,qa){const nd=Ra.trim();if(nd)return qa.securityLevel!=="loose"?sanitizeUrl_1(nd):nd}__name(formatUrl,"formatUrl");var runFunc=__name((Ra,...qa)=>{const nd=Ra.split("."),od=nd.length-1,ld=nd[od];let ud=window;for(let dd=0;dd<od;dd++)if(ud=ud[nd[dd]],!ud){log$1.error(`Function name: ${Ra} not found in window`);return}ud[ld](...qa)},"runFunc");function distance(Ra,qa){return!Ra||!qa?0:Math.sqrt(Math.pow(qa.x-Ra.x,2)+Math.pow(qa.y-Ra.y,2))}__name(distance,"distance");function traverseEdge(Ra){let qa,nd=0;Ra.forEach(ld=>{nd+=distance(ld,qa),qa=ld});const od=nd/2;return calculatePoint(Ra,od)}__name(traverseEdge,"traverseEdge");function calcLabelPosition(Ra){return Ra.length===1?Ra[0]:traverseEdge(Ra)}__name(calcLabelPosition,"calcLabelPosition");var roundNumber=__name((Ra,qa=2)=>{const nd=Math.pow(10,qa);return Math.round(Ra*nd)/nd},"roundNumber"),calculatePoint=__name((Ra,qa)=>{let nd,od=qa;for(const ld of Ra){if(nd){const ud=distance(ld,nd);if(ud<od)od-=ud;else{const dd=od/ud;if(dd<=0)return nd;if(dd>=1)return{x:ld.x,y:ld.y};if(dd>0&&dd<1)return{x:roundNumber((1-dd)*nd.x+dd*ld.x,5),y:roundNumber((1-dd)*nd.y+dd*ld.y,5)}}}nd=ld}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),calcCardinalityPosition=__name((Ra,qa,nd)=>{log$1.info(`our points ${JSON.stringify(qa)}`),qa[0]!==nd&&(qa=qa.reverse());const ld=calculatePoint(qa,25),ud=Ra?10:5,dd=Math.atan2(qa[0].y-ld.y,qa[0].x-ld.x),pd={x:0,y:0};return pd.x=Math.sin(dd)*ud+(qa[0].x+ld.x)/2,pd.y=-Math.cos(dd)*ud+(qa[0].y+ld.y)/2,pd},"calcCardinalityPosition");function calcTerminalLabelPosition(Ra,qa,nd){const od=structuredClone(nd);log$1.info("our points",od),qa!=="start_left"&&qa!=="start_right"&&od.reverse();const ld=25+Ra,ud=calculatePoint(od,ld),dd=10+Ra*.5,pd=Math.atan2(od[0].y-ud.y,od[0].x-ud.x),fd={x:0,y:0};return qa==="start_left"?(fd.x=Math.sin(pd+Math.PI)*dd+(od[0].x+ud.x)/2,fd.y=-Math.cos(pd+Math.PI)*dd+(od[0].y+ud.y)/2):qa==="end_right"?(fd.x=Math.sin(pd-Math.PI)*dd+(od[0].x+ud.x)/2-5,fd.y=-Math.cos(pd-Math.PI)*dd+(od[0].y+ud.y)/2-5):qa==="end_left"?(fd.x=Math.sin(pd)*dd+(od[0].x+ud.x)/2-5,fd.y=-Math.cos(pd)*dd+(od[0].y+ud.y)/2-5):(fd.x=Math.sin(pd)*dd+(od[0].x+ud.x)/2,fd.y=-Math.cos(pd)*dd+(od[0].y+ud.y)/2),fd}__name(calcTerminalLabelPosition,"calcTerminalLabelPosition");function getStylesFromArray(Ra){let qa="",nd="";for(const od of Ra)od!==void 0&&(od.startsWith("color:")||od.startsWith("text-align:")?nd=nd+od+";":qa=qa+od+";");return{style:qa,labelStyle:nd}}__name(getStylesFromArray,"getStylesFromArray");var cnt=0,generateId=__name(()=>(cnt++,"id-"+Math.random().toString(36).substr(2,12)+"-"+cnt),"generateId");function makeRandomHex(Ra){let qa="";const nd="0123456789abcdef",od=nd.length;for(let ld=0;ld<Ra;ld++)qa+=nd.charAt(Math.floor(Math.random()*od));return qa}__name(makeRandomHex,"makeRandomHex");var random=__name(Ra=>makeRandomHex(Ra.length),"random"),getTextObj=__name(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),drawSimpleText=__name(function(Ra,qa){const nd=qa.text.replace(common_default.lineBreakRegex," "),[,od]=parseFontSize(qa.fontSize),ld=Ra.append("text");ld.attr("x",qa.x),ld.attr("y",qa.y),ld.style("text-anchor",qa.anchor),ld.style("font-family",qa.fontFamily),ld.style("font-size",od),ld.style("font-weight",qa.fontWeight),ld.attr("fill",qa.fill),qa.class!==void 0&&ld.attr("class",qa.class);const ud=ld.append("tspan");return ud.attr("x",qa.x+qa.textMargin*2),ud.attr("fill",qa.fill),ud.text(nd),ld},"drawSimpleText"),wrapLabel=memoize$2((Ra,qa,nd)=>{if(!Ra||(nd=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},nd),common_default.lineBreakRegex.test(Ra)))return Ra;const od=Ra.split(" ").filter(Boolean),ld=[];let ud="";return od.forEach((dd,pd)=>{const fd=calculateTextWidth(`${dd} `,nd),md=calculateTextWidth(ud,nd);if(fd>qa){const{hyphenatedStrings:Nd,remainingWord:Id}=breakString(dd,qa,"-",nd);ld.push(ud,...Nd),ud=Id}else md+fd>=qa?(ld.push(ud),ud=dd):ud=[ud,dd].filter(Boolean).join(" ");pd+1===od.length&&ld.push(ud)}),ld.filter(dd=>dd!=="").join(nd.joinWith)},(Ra,qa,nd)=>`${Ra}${qa}${nd.fontSize}${nd.fontWeight}${nd.fontFamily}${nd.joinWith}`),breakString=memoize$2((Ra,qa,nd="-",od)=>{od=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},od);const ld=[...Ra],ud=[];let dd="";return ld.forEach((pd,fd)=>{const md=`${dd}${pd}`;if(calculateTextWidth(md,od)>=qa){const Ad=fd+1,Nd=ld.length===Ad,Id=`${md}${nd}`;ud.push(Nd?md:Id),dd=""}else dd=md}),{hyphenatedStrings:ud,remainingWord:dd}},(Ra,qa,nd="-",od)=>`${Ra}${qa}${nd}${od.fontSize}${od.fontWeight}${od.fontFamily}`);function calculateTextHeight(Ra,qa){return calculateTextDimensions(Ra,qa).height}__name(calculateTextHeight,"calculateTextHeight");function calculateTextWidth(Ra,qa){return calculateTextDimensions(Ra,qa).width}__name(calculateTextWidth,"calculateTextWidth");var calculateTextDimensions=memoize$2((Ra,qa)=>{const{fontSize:nd=12,fontFamily:od="Arial",fontWeight:ld=400}=qa;if(!Ra)return{width:0,height:0};const[,ud]=parseFontSize(nd),dd=["sans-serif",od],pd=Ra.split(common_default.lineBreakRegex),fd=[],md=select("body");if(!md.remove)return{width:0,height:0,lineHeight:0};const vd=md.append("svg");for(const Nd of dd){let Id=0;const Od={width:0,height:0,lineHeight:0};for(const Md of pd){const Ud=getTextObj();Ud.text=Md||ZERO_WIDTH_SPACE;const jd=drawSimpleText(vd,Ud).style("font-size",ud).style("font-weight",ld).style("font-family",Nd),Ld=(jd._groups||jd)[0][0].getBBox();if(Ld.width===0&&Ld.height===0)throw new Error("svg element not in render tree");Od.width=Math.round(Math.max(Od.width,Ld.width)),Id=Math.round(Ld.height),Od.height+=Id,Od.lineHeight=Math.round(Math.max(Od.lineHeight,Id))}fd.push(Od)}vd.remove();const Ad=isNaN(fd[1].height)||isNaN(fd[1].width)||isNaN(fd[1].lineHeight)||fd[0].height>fd[1].height&&fd[0].width>fd[1].width&&fd[0].lineHeight>fd[1].lineHeight?0:1;return fd[Ad]},(Ra,qa)=>`${Ra}${qa.fontSize}${qa.fontWeight}${qa.fontFamily}`),$S,InitIDGenerator=($S=class{constructor(qa=!1,nd){this.count=0,this.count=nd?nd.length:0,this.next=qa?()=>this.count++:()=>Date.now()}},__name($S,"InitIDGenerator"),$S),decoder,entityDecode=__name(function(Ra){return decoder=decoder||document.createElement("div"),Ra=escape(Ra).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),decoder.innerHTML=Ra,unescape(decoder.textContent)},"entityDecode");function isDetailedError(Ra){return"str"in Ra}__name(isDetailedError,"isDetailedError");var insertTitle=__name((Ra,qa,nd,od)=>{var ud;if(!od)return;const ld=(ud=Ra.node())==null?void 0:ud.getBBox();ld&&Ra.append("text").text(od).attr("text-anchor","middle").attr("x",ld.x+ld.width/2).attr("y",-nd).attr("class",qa)},"insertTitle"),parseFontSize=__name(Ra=>{if(typeof Ra=="number")return[Ra,Ra+"px"];const qa=parseInt(Ra??"",10);return Number.isNaN(qa)?[void 0,void 0]:Ra===String(qa)?[qa,Ra+"px"]:[qa,Ra]},"parseFontSize");function cleanAndMerge(Ra,qa){return merge$1({},Ra,qa)}__name(cleanAndMerge,"cleanAndMerge");var utils_default={assignWithDepth:assignWithDepth_default,wrapLabel,calculateTextHeight,calculateTextWidth,calculateTextDimensions,cleanAndMerge,detectInit,detectDirective,isSubstringInArray,interpolateToCurve,calcLabelPosition,calcCardinalityPosition,calcTerminalLabelPosition,formatUrl,getStylesFromArray,generateId,random,runFunc,entityDecode,insertTitle,parseFontSize,InitIDGenerator},encodeEntities=__name(function(Ra){let qa=Ra;return qa=qa.replace(/style.*:\S*#.*;/g,function(nd){return nd.substring(0,nd.length-1)}),qa=qa.replace(/classDef.*:\S*#.*;/g,function(nd){return nd.substring(0,nd.length-1)}),qa=qa.replace(/#\w+;/g,function(nd){const od=nd.substring(1,nd.length-1);return/^\+?\d+$/.test(od)?"fl°°"+od+"¶ß":"fl°"+od+"¶ß"}),qa},"encodeEntities"),decodeEntities=__name(function(Ra){return Ra.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),getEdgeId=__name((Ra,qa,{counter:nd=0,prefix:od,suffix:ld})=>`${od?`${od}_`:""}${Ra}_${qa}_${nd}${ld?`_${ld}`:""}`,"getEdgeId");function handleUndefinedAttr(Ra){return Ra??null}__name(handleUndefinedAttr,"handleUndefinedAttr");function _getDefaults(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let _defaults=_getDefaults();function changeDefaults(Ra){_defaults=Ra}const escapeTest=/[&<>"']/,escapeReplace=new RegExp(escapeTest.source,"g"),escapeTestNoEncode=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode=new RegExp(escapeTestNoEncode.source,"g"),escapeReplacements={"&":"&","<":"<",">":">",'"':""","'":"'"},getEscapeReplacement=Ra=>escapeReplacements[Ra];function escape$1(Ra,qa){if(qa){if(escapeTest.test(Ra))return Ra.replace(escapeReplace,getEscapeReplacement)}else if(escapeTestNoEncode.test(Ra))return Ra.replace(escapeReplaceNoEncode,getEscapeReplacement);return Ra}const unescapeTest=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function unescape$1(Ra){return Ra.replace(unescapeTest,(qa,nd)=>(nd=nd.toLowerCase(),nd==="colon"?":":nd.charAt(0)==="#"?nd.charAt(1)==="x"?String.fromCharCode(parseInt(nd.substring(2),16)):String.fromCharCode(+nd.substring(1)):""))}const caret$1=/(^|[^\[])\^/g;function edit(Ra,qa){let nd=typeof Ra=="string"?Ra:Ra.source;qa=qa||"";const od={replace:(ld,ud)=>{let dd=typeof ud=="string"?ud:ud.source;return dd=dd.replace(caret$1,"$1"),nd=nd.replace(ld,dd),od},getRegex:()=>new RegExp(nd,qa)};return od}function cleanUrl(Ra){try{Ra=encodeURI(Ra).replace(/%25/g,"%")}catch{return null}return Ra}const noopTest={exec:()=>null};function splitCells(Ra,qa){const nd=Ra.replace(/\|/g,(ud,dd,pd)=>{let fd=!1,md=dd;for(;--md>=0&&pd[md]==="\\";)fd=!fd;return fd?"|":" |"}),od=nd.split(/ \|/);let ld=0;if(od[0].trim()||od.shift(),od.length>0&&!od[od.length-1].trim()&&od.pop(),qa)if(od.length>qa)od.splice(qa);else for(;od.length<qa;)od.push("");for(;ld<od.length;ld++)od[ld]=od[ld].trim().replace(/\\\|/g,"|");return od}function rtrim(Ra,qa,nd){const od=Ra.length;if(od===0)return"";let ld=0;for(;ld<od;){const ud=Ra.charAt(od-ld-1);if(ud===qa&&!nd)ld++;else if(ud!==qa&&nd)ld++;else break}return Ra.slice(0,od-ld)}function findClosingBracket(Ra,qa){if(Ra.indexOf(qa[1])===-1)return-1;let nd=0;for(let od=0;od<Ra.length;od++)if(Ra[od]==="\\")od++;else if(Ra[od]===qa[0])nd++;else if(Ra[od]===qa[1]&&(nd--,nd<0))return od;return-1}function outputLink(Ra,qa,nd,od){const ld=qa.href,ud=qa.title?escape$1(qa.title):null,dd=Ra[1].replace(/\\([\[\]])/g,"$1");if(Ra[0].charAt(0)!=="!"){od.state.inLink=!0;const pd={type:"link",raw:nd,href:ld,title:ud,text:dd,tokens:od.inlineTokens(dd)};return od.state.inLink=!1,pd}return{type:"image",raw:nd,href:ld,title:ud,text:escape$1(dd)}}function indentCodeCompensation(Ra,qa){const nd=Ra.match(/^(\s+)(?:```)/);if(nd===null)return qa;const od=nd[1];return qa.split(`
|
||
`).map(ld=>{const ud=ld.match(/^\s+/);if(ud===null)return ld;const[dd]=ud;return dd.length>=od.length?ld.slice(od.length):ld}).join(`
|
||
`)}class _Tokenizer{constructor(qa){wg(this,"options");wg(this,"rules");wg(this,"lexer");this.options=qa||_defaults}space(qa){const nd=this.rules.block.newline.exec(qa);if(nd&&nd[0].length>0)return{type:"space",raw:nd[0]}}code(qa){const nd=this.rules.block.code.exec(qa);if(nd){const od=nd[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:nd[0],codeBlockStyle:"indented",text:this.options.pedantic?od:rtrim(od,`
|
||
`)}}}fences(qa){const nd=this.rules.block.fences.exec(qa);if(nd){const od=nd[0],ld=indentCodeCompensation(od,nd[3]||"");return{type:"code",raw:od,lang:nd[2]?nd[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):nd[2],text:ld}}}heading(qa){const nd=this.rules.block.heading.exec(qa);if(nd){let od=nd[2].trim();if(/#$/.test(od)){const ld=rtrim(od,"#");(this.options.pedantic||!ld||/ $/.test(ld))&&(od=ld.trim())}return{type:"heading",raw:nd[0],depth:nd[1].length,text:od,tokens:this.lexer.inline(od)}}}hr(qa){const nd=this.rules.block.hr.exec(qa);if(nd)return{type:"hr",raw:rtrim(nd[0],`
|
||
`)}}blockquote(qa){const nd=this.rules.block.blockquote.exec(qa);if(nd){let od=rtrim(nd[0],`
|
||
`).split(`
|
||
`),ld="",ud="";const dd=[];for(;od.length>0;){let pd=!1;const fd=[];let md;for(md=0;md<od.length;md++)if(/^ {0,3}>/.test(od[md]))fd.push(od[md]),pd=!0;else if(!pd)fd.push(od[md]);else break;od=od.slice(md);const vd=fd.join(`
|
||
`),Ad=vd.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
|
||
$1`).replace(/^ {0,3}>[ \t]?/gm,"");ld=ld?`${ld}
|
||
${vd}`:vd,ud=ud?`${ud}
|
||
${Ad}`:Ad;const Nd=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(Ad,dd,!0),this.lexer.state.top=Nd,od.length===0)break;const Id=dd[dd.length-1];if((Id==null?void 0:Id.type)==="code")break;if((Id==null?void 0:Id.type)==="blockquote"){const Od=Id,Md=Od.raw+`
|
||
`+od.join(`
|
||
`),Ud=this.blockquote(Md);dd[dd.length-1]=Ud,ld=ld.substring(0,ld.length-Od.raw.length)+Ud.raw,ud=ud.substring(0,ud.length-Od.text.length)+Ud.text;break}else if((Id==null?void 0:Id.type)==="list"){const Od=Id,Md=Od.raw+`
|
||
`+od.join(`
|
||
`),Ud=this.list(Md);dd[dd.length-1]=Ud,ld=ld.substring(0,ld.length-Id.raw.length)+Ud.raw,ud=ud.substring(0,ud.length-Od.raw.length)+Ud.raw,od=Md.substring(dd[dd.length-1].raw.length).split(`
|
||
`);continue}}return{type:"blockquote",raw:ld,tokens:dd,text:ud}}}list(qa){let nd=this.rules.block.list.exec(qa);if(nd){let od=nd[1].trim();const ld=od.length>1,ud={type:"list",raw:"",ordered:ld,start:ld?+od.slice(0,-1):"",loose:!1,items:[]};od=ld?`\\d{1,9}\\${od.slice(-1)}`:`\\${od}`,this.options.pedantic&&(od=ld?od:"[*+-]");const dd=new RegExp(`^( {0,3}${od})((?:[ ][^\\n]*)?(?:\\n|$))`);let pd=!1;for(;qa;){let fd=!1,md="",vd="";if(!(nd=dd.exec(qa))||this.rules.block.hr.test(qa))break;md=nd[0],qa=qa.substring(md.length);let Ad=nd[2].split(`
|
||
`,1)[0].replace(/^\t+/,jd=>" ".repeat(3*jd.length)),Nd=qa.split(`
|
||
`,1)[0],Id=!Ad.trim(),Od=0;if(this.options.pedantic?(Od=2,vd=Ad.trimStart()):Id?Od=nd[1].length+1:(Od=nd[2].search(/[^ ]/),Od=Od>4?1:Od,vd=Ad.slice(Od),Od+=nd[1].length),Id&&/^ *$/.test(Nd)&&(md+=Nd+`
|
||
`,qa=qa.substring(Nd.length+1),fd=!0),!fd){const jd=new RegExp(`^ {0,${Math.min(3,Od-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),Ld=new RegExp(`^ {0,${Math.min(3,Od-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Bd=new RegExp(`^ {0,${Math.min(3,Od-1)}}(?:\`\`\`|~~~)`),Gd=new RegExp(`^ {0,${Math.min(3,Od-1)}}#`);for(;qa;){const qd=qa.split(`
|
||
`,1)[0];if(Nd=qd,this.options.pedantic&&(Nd=Nd.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Bd.test(Nd)||Gd.test(Nd)||jd.test(Nd)||Ld.test(qa))break;if(Nd.search(/[^ ]/)>=Od||!Nd.trim())vd+=`
|
||
`+Nd.slice(Od);else{if(Id||Ad.search(/[^ ]/)>=4||Bd.test(Ad)||Gd.test(Ad)||Ld.test(Ad))break;vd+=`
|
||
`+Nd}!Id&&!Nd.trim()&&(Id=!0),md+=qd+`
|
||
`,qa=qa.substring(qd.length+1),Ad=Nd.slice(Od)}}ud.loose||(pd?ud.loose=!0:/\n *\n *$/.test(md)&&(pd=!0));let Md=null,Ud;this.options.gfm&&(Md=/^\[[ xX]\] /.exec(vd),Md&&(Ud=Md[0]!=="[ ] ",vd=vd.replace(/^\[[ xX]\] +/,""))),ud.items.push({type:"list_item",raw:md,task:!!Md,checked:Ud,loose:!1,text:vd,tokens:[]}),ud.raw+=md}ud.items[ud.items.length-1].raw=ud.items[ud.items.length-1].raw.trimEnd(),ud.items[ud.items.length-1].text=ud.items[ud.items.length-1].text.trimEnd(),ud.raw=ud.raw.trimEnd();for(let fd=0;fd<ud.items.length;fd++)if(this.lexer.state.top=!1,ud.items[fd].tokens=this.lexer.blockTokens(ud.items[fd].text,[]),!ud.loose){const md=ud.items[fd].tokens.filter(Ad=>Ad.type==="space"),vd=md.length>0&&md.some(Ad=>/\n.*\n/.test(Ad.raw));ud.loose=vd}if(ud.loose)for(let fd=0;fd<ud.items.length;fd++)ud.items[fd].loose=!0;return ud}}html(qa){const nd=this.rules.block.html.exec(qa);if(nd)return{type:"html",block:!0,raw:nd[0],pre:nd[1]==="pre"||nd[1]==="script"||nd[1]==="style",text:nd[0]}}def(qa){const nd=this.rules.block.def.exec(qa);if(nd){const od=nd[1].toLowerCase().replace(/\s+/g," "),ld=nd[2]?nd[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",ud=nd[3]?nd[3].substring(1,nd[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):nd[3];return{type:"def",tag:od,raw:nd[0],href:ld,title:ud}}}table(qa){const nd=this.rules.block.table.exec(qa);if(!nd||!/[:|]/.test(nd[2]))return;const od=splitCells(nd[1]),ld=nd[2].replace(/^\||\| *$/g,"").split("|"),ud=nd[3]&&nd[3].trim()?nd[3].replace(/\n[ \t]*$/,"").split(`
|
||
`):[],dd={type:"table",raw:nd[0],header:[],align:[],rows:[]};if(od.length===ld.length){for(const pd of ld)/^ *-+: *$/.test(pd)?dd.align.push("right"):/^ *:-+: *$/.test(pd)?dd.align.push("center"):/^ *:-+ *$/.test(pd)?dd.align.push("left"):dd.align.push(null);for(let pd=0;pd<od.length;pd++)dd.header.push({text:od[pd],tokens:this.lexer.inline(od[pd]),header:!0,align:dd.align[pd]});for(const pd of ud)dd.rows.push(splitCells(pd,dd.header.length).map((fd,md)=>({text:fd,tokens:this.lexer.inline(fd),header:!1,align:dd.align[md]})));return dd}}lheading(qa){const nd=this.rules.block.lheading.exec(qa);if(nd)return{type:"heading",raw:nd[0],depth:nd[2].charAt(0)==="="?1:2,text:nd[1],tokens:this.lexer.inline(nd[1])}}paragraph(qa){const nd=this.rules.block.paragraph.exec(qa);if(nd){const od=nd[1].charAt(nd[1].length-1)===`
|
||
`?nd[1].slice(0,-1):nd[1];return{type:"paragraph",raw:nd[0],text:od,tokens:this.lexer.inline(od)}}}text(qa){const nd=this.rules.block.text.exec(qa);if(nd)return{type:"text",raw:nd[0],text:nd[0],tokens:this.lexer.inline(nd[0])}}escape(qa){const nd=this.rules.inline.escape.exec(qa);if(nd)return{type:"escape",raw:nd[0],text:escape$1(nd[1])}}tag(qa){const nd=this.rules.inline.tag.exec(qa);if(nd)return!this.lexer.state.inLink&&/^<a /i.test(nd[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(nd[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(nd[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(nd[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:nd[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:nd[0]}}link(qa){const nd=this.rules.inline.link.exec(qa);if(nd){const od=nd[2].trim();if(!this.options.pedantic&&/^</.test(od)){if(!/>$/.test(od))return;const dd=rtrim(od.slice(0,-1),"\\");if((od.length-dd.length)%2===0)return}else{const dd=findClosingBracket(nd[2],"()");if(dd>-1){const fd=(nd[0].indexOf("!")===0?5:4)+nd[1].length+dd;nd[2]=nd[2].substring(0,dd),nd[0]=nd[0].substring(0,fd).trim(),nd[3]=""}}let ld=nd[2],ud="";if(this.options.pedantic){const dd=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ld);dd&&(ld=dd[1],ud=dd[3])}else ud=nd[3]?nd[3].slice(1,-1):"";return ld=ld.trim(),/^</.test(ld)&&(this.options.pedantic&&!/>$/.test(od)?ld=ld.slice(1):ld=ld.slice(1,-1)),outputLink(nd,{href:ld&&ld.replace(this.rules.inline.anyPunctuation,"$1"),title:ud&&ud.replace(this.rules.inline.anyPunctuation,"$1")},nd[0],this.lexer)}}reflink(qa,nd){let od;if((od=this.rules.inline.reflink.exec(qa))||(od=this.rules.inline.nolink.exec(qa))){const ld=(od[2]||od[1]).replace(/\s+/g," "),ud=nd[ld.toLowerCase()];if(!ud){const dd=od[0].charAt(0);return{type:"text",raw:dd,text:dd}}return outputLink(od,ud,od[0],this.lexer)}}emStrong(qa,nd,od=""){let ld=this.rules.inline.emStrongLDelim.exec(qa);if(!ld||ld[3]&&od.match(/[\p{L}\p{N}]/u))return;if(!(ld[1]||ld[2]||"")||!od||this.rules.inline.punctuation.exec(od)){const dd=[...ld[0]].length-1;let pd,fd,md=dd,vd=0;const Ad=ld[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(Ad.lastIndex=0,nd=nd.slice(-1*qa.length+dd);(ld=Ad.exec(nd))!=null;){if(pd=ld[1]||ld[2]||ld[3]||ld[4]||ld[5]||ld[6],!pd)continue;if(fd=[...pd].length,ld[3]||ld[4]){md+=fd;continue}else if((ld[5]||ld[6])&&dd%3&&!((dd+fd)%3)){vd+=fd;continue}if(md-=fd,md>0)continue;fd=Math.min(fd,fd+md+vd);const Nd=[...ld[0]][0].length,Id=qa.slice(0,dd+ld.index+Nd+fd);if(Math.min(dd,fd)%2){const Md=Id.slice(1,-1);return{type:"em",raw:Id,text:Md,tokens:this.lexer.inlineTokens(Md)}}const Od=Id.slice(2,-2);return{type:"strong",raw:Id,text:Od,tokens:this.lexer.inlineTokens(Od)}}}}codespan(qa){const nd=this.rules.inline.code.exec(qa);if(nd){let od=nd[2].replace(/\n/g," ");const ld=/[^ ]/.test(od),ud=/^ /.test(od)&&/ $/.test(od);return ld&&ud&&(od=od.substring(1,od.length-1)),od=escape$1(od,!0),{type:"codespan",raw:nd[0],text:od}}}br(qa){const nd=this.rules.inline.br.exec(qa);if(nd)return{type:"br",raw:nd[0]}}del(qa){const nd=this.rules.inline.del.exec(qa);if(nd)return{type:"del",raw:nd[0],text:nd[2],tokens:this.lexer.inlineTokens(nd[2])}}autolink(qa){const nd=this.rules.inline.autolink.exec(qa);if(nd){let od,ld;return nd[2]==="@"?(od=escape$1(nd[1]),ld="mailto:"+od):(od=escape$1(nd[1]),ld=od),{type:"link",raw:nd[0],text:od,href:ld,tokens:[{type:"text",raw:od,text:od}]}}}url(qa){var od;let nd;if(nd=this.rules.inline.url.exec(qa)){let ld,ud;if(nd[2]==="@")ld=escape$1(nd[0]),ud="mailto:"+ld;else{let dd;do dd=nd[0],nd[0]=((od=this.rules.inline._backpedal.exec(nd[0]))==null?void 0:od[0])??"";while(dd!==nd[0]);ld=escape$1(nd[0]),nd[1]==="www."?ud="http://"+nd[0]:ud=nd[0]}return{type:"link",raw:nd[0],text:ld,href:ud,tokens:[{type:"text",raw:ld,text:ld}]}}}inlineText(qa){const nd=this.rules.inline.text.exec(qa);if(nd){let od;return this.lexer.state.inRawBlock?od=nd[0]:od=escape$1(nd[0]),{type:"text",raw:nd[0],text:od}}}}const newline=/^(?: *(?:\n|$))+/,blockCode=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bullet=/(?:[*+-]|\d{1,9}[.)])/,lheading=edit(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bullet).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),_paragraph=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,blockText=/^[^\n]+/,_blockLabel=/(?!\s*\])(?:\\.|[^\[\]\\])+/,def=edit(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",_blockLabel).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),list=edit(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bullet).getRegex(),_tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_comment=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,html=edit("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",_comment).replace("tag",_tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),paragraph=edit(_paragraph).replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex(),blockquote=edit(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",paragraph).getRegex(),blockNormal={blockquote,code:blockCode,def,fences,heading,hr,html,lheading,list,newline,paragraph,table:noopTest,text:blockText},gfmTable=edit("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex(),blockGfm={...blockNormal,table:gfmTable,paragraph:edit(_paragraph).replace("hr",hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",gfmTable).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_tag).getRegex()},blockPedantic={...blockNormal,html:edit(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:noopTest,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:edit(_paragraph).replace("hr",hr).replace("heading",` *#{1,6} *[^
|
||
]`).replace("lheading",lheading).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},escape$2=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,inlineCode=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br$1=/^( {2,}|\\)\n(?!\s*$)/,inlineText=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_punctuation="\\p{P}\\p{S}",punctuation=edit(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,_punctuation).getRegex(),blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,emStrongLDelim=edit(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,_punctuation).getRegex(),emStrongRDelimAst=edit("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,_punctuation).getRegex(),emStrongRDelimUnd=edit("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,_punctuation).getRegex(),anyPunctuation=edit(/\\([punct])/,"gu").replace(/punct/g,_punctuation).getRegex(),autolink=edit(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_inlineComment=edit(_comment).replace("(?:-->|$)","-->").getRegex(),tag=edit("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_inlineComment).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_inlineLabel=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,link=edit(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",_inlineLabel).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),reflink=edit(/^!?\[(label)\]\[(ref)\]/).replace("label",_inlineLabel).replace("ref",_blockLabel).getRegex(),nolink=edit(/^!?\[(ref)\](?:\[\])?/).replace("ref",_blockLabel).getRegex(),reflinkSearch=edit("reflink|nolink(?!\\()","g").replace("reflink",reflink).replace("nolink",nolink).getRegex(),inlineNormal={_backpedal:noopTest,anyPunctuation,autolink,blockSkip,br:br$1,code:inlineCode,del:noopTest,emStrongLDelim,emStrongRDelimAst,emStrongRDelimUnd,escape:escape$2,link,nolink,punctuation,reflink,reflinkSearch,tag,text:inlineText,url:noopTest},inlinePedantic={...inlineNormal,link:edit(/^!?\[(label)\]\((.*?)\)/).replace("label",_inlineLabel).getRegex(),reflink:edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_inlineLabel).getRegex()},inlineGfm={...inlineNormal,escape:edit(escape$2).replace("])","~|])").getRegex(),url:edit(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},inlineBreaks={...inlineGfm,br:edit(br$1).replace("{2,}","*").getRegex(),text:edit(inlineGfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},block={normal:blockNormal,gfm:blockGfm,pedantic:blockPedantic},inline={normal:inlineNormal,gfm:inlineGfm,breaks:inlineBreaks,pedantic:inlinePedantic};class _Lexer{constructor(qa){wg(this,"tokens");wg(this,"options");wg(this,"state");wg(this,"tokenizer");wg(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=qa||_defaults,this.options.tokenizer=this.options.tokenizer||new _Tokenizer,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const nd={block:block.normal,inline:inline.normal};this.options.pedantic?(nd.block=block.pedantic,nd.inline=inline.pedantic):this.options.gfm&&(nd.block=block.gfm,this.options.breaks?nd.inline=inline.breaks:nd.inline=inline.gfm),this.tokenizer.rules=nd}static get rules(){return{block,inline}}static lex(qa,nd){return new _Lexer(nd).lex(qa)}static lexInline(qa,nd){return new _Lexer(nd).inlineTokens(qa)}lex(qa){qa=qa.replace(/\r\n|\r/g,`
|
||
`),this.blockTokens(qa,this.tokens);for(let nd=0;nd<this.inlineQueue.length;nd++){const od=this.inlineQueue[nd];this.inlineTokens(od.src,od.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(qa,nd=[],od=!1){this.options.pedantic?qa=qa.replace(/\t/g," ").replace(/^ +$/gm,""):qa=qa.replace(/^( *)(\t+)/gm,(pd,fd,md)=>fd+" ".repeat(md.length));let ld,ud,dd;for(;qa;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(pd=>(ld=pd.call({lexer:this},qa,nd))?(qa=qa.substring(ld.raw.length),nd.push(ld),!0):!1))){if(ld=this.tokenizer.space(qa)){qa=qa.substring(ld.raw.length),ld.raw.length===1&&nd.length>0?nd[nd.length-1].raw+=`
|
||
`:nd.push(ld);continue}if(ld=this.tokenizer.code(qa)){qa=qa.substring(ld.raw.length),ud=nd[nd.length-1],ud&&(ud.type==="paragraph"||ud.type==="text")?(ud.raw+=`
|
||
`+ld.raw,ud.text+=`
|
||
`+ld.text,this.inlineQueue[this.inlineQueue.length-1].src=ud.text):nd.push(ld);continue}if(ld=this.tokenizer.fences(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.heading(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.hr(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.blockquote(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.list(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.html(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.def(qa)){qa=qa.substring(ld.raw.length),ud=nd[nd.length-1],ud&&(ud.type==="paragraph"||ud.type==="text")?(ud.raw+=`
|
||
`+ld.raw,ud.text+=`
|
||
`+ld.raw,this.inlineQueue[this.inlineQueue.length-1].src=ud.text):this.tokens.links[ld.tag]||(this.tokens.links[ld.tag]={href:ld.href,title:ld.title});continue}if(ld=this.tokenizer.table(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(ld=this.tokenizer.lheading(qa)){qa=qa.substring(ld.raw.length),nd.push(ld);continue}if(dd=qa,this.options.extensions&&this.options.extensions.startBlock){let pd=1/0;const fd=qa.slice(1);let md;this.options.extensions.startBlock.forEach(vd=>{md=vd.call({lexer:this},fd),typeof md=="number"&&md>=0&&(pd=Math.min(pd,md))}),pd<1/0&&pd>=0&&(dd=qa.substring(0,pd+1))}if(this.state.top&&(ld=this.tokenizer.paragraph(dd))){ud=nd[nd.length-1],od&&(ud==null?void 0:ud.type)==="paragraph"?(ud.raw+=`
|
||
`+ld.raw,ud.text+=`
|
||
`+ld.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ud.text):nd.push(ld),od=dd.length!==qa.length,qa=qa.substring(ld.raw.length);continue}if(ld=this.tokenizer.text(qa)){qa=qa.substring(ld.raw.length),ud=nd[nd.length-1],ud&&ud.type==="text"?(ud.raw+=`
|
||
`+ld.raw,ud.text+=`
|
||
`+ld.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ud.text):nd.push(ld);continue}if(qa){const pd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(pd);break}else throw new Error(pd)}}return this.state.top=!0,nd}inline(qa,nd=[]){return this.inlineQueue.push({src:qa,tokens:nd}),nd}inlineTokens(qa,nd=[]){let od,ld,ud,dd=qa,pd,fd,md;if(this.tokens.links){const vd=Object.keys(this.tokens.links);if(vd.length>0)for(;(pd=this.tokenizer.rules.inline.reflinkSearch.exec(dd))!=null;)vd.includes(pd[0].slice(pd[0].lastIndexOf("[")+1,-1))&&(dd=dd.slice(0,pd.index)+"["+"a".repeat(pd[0].length-2)+"]"+dd.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(pd=this.tokenizer.rules.inline.blockSkip.exec(dd))!=null;)dd=dd.slice(0,pd.index)+"["+"a".repeat(pd[0].length-2)+"]"+dd.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(pd=this.tokenizer.rules.inline.anyPunctuation.exec(dd))!=null;)dd=dd.slice(0,pd.index)+"++"+dd.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;qa;)if(fd||(md=""),fd=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(vd=>(od=vd.call({lexer:this},qa,nd))?(qa=qa.substring(od.raw.length),nd.push(od),!0):!1))){if(od=this.tokenizer.escape(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.tag(qa)){qa=qa.substring(od.raw.length),ld=nd[nd.length-1],ld&&od.type==="text"&&ld.type==="text"?(ld.raw+=od.raw,ld.text+=od.text):nd.push(od);continue}if(od=this.tokenizer.link(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.reflink(qa,this.tokens.links)){qa=qa.substring(od.raw.length),ld=nd[nd.length-1],ld&&od.type==="text"&&ld.type==="text"?(ld.raw+=od.raw,ld.text+=od.text):nd.push(od);continue}if(od=this.tokenizer.emStrong(qa,dd,md)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.codespan(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.br(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.del(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(od=this.tokenizer.autolink(qa)){qa=qa.substring(od.raw.length),nd.push(od);continue}if(!this.state.inLink&&(od=this.tokenizer.url(qa))){qa=qa.substring(od.raw.length),nd.push(od);continue}if(ud=qa,this.options.extensions&&this.options.extensions.startInline){let vd=1/0;const Ad=qa.slice(1);let Nd;this.options.extensions.startInline.forEach(Id=>{Nd=Id.call({lexer:this},Ad),typeof Nd=="number"&&Nd>=0&&(vd=Math.min(vd,Nd))}),vd<1/0&&vd>=0&&(ud=qa.substring(0,vd+1))}if(od=this.tokenizer.inlineText(ud)){qa=qa.substring(od.raw.length),od.raw.slice(-1)!=="_"&&(md=od.raw.slice(-1)),fd=!0,ld=nd[nd.length-1],ld&&ld.type==="text"?(ld.raw+=od.raw,ld.text+=od.text):nd.push(od);continue}if(qa){const vd="Infinite loop on byte: "+qa.charCodeAt(0);if(this.options.silent){console.error(vd);break}else throw new Error(vd)}}return nd}}class _Renderer{constructor(qa){wg(this,"options");wg(this,"parser");this.options=qa||_defaults}space(qa){return""}code({text:qa,lang:nd,escaped:od}){var dd;const ld=(dd=(nd||"").match(/^\S*/))==null?void 0:dd[0],ud=qa.replace(/\n$/,"")+`
|
||
`;return ld?'<pre><code class="language-'+escape$1(ld)+'">'+(od?ud:escape$1(ud,!0))+`</code></pre>
|
||
`:"<pre><code>"+(od?ud:escape$1(ud,!0))+`</code></pre>
|
||
`}blockquote({tokens:qa}){return`<blockquote>
|
||
${this.parser.parse(qa)}</blockquote>
|
||
`}html({text:qa}){return qa}heading({tokens:qa,depth:nd}){return`<h${nd}>${this.parser.parseInline(qa)}</h${nd}>
|
||
`}hr(qa){return`<hr>
|
||
`}list(qa){const nd=qa.ordered,od=qa.start;let ld="";for(let pd=0;pd<qa.items.length;pd++){const fd=qa.items[pd];ld+=this.listitem(fd)}const ud=nd?"ol":"ul",dd=nd&&od!==1?' start="'+od+'"':"";return"<"+ud+dd+`>
|
||
`+ld+"</"+ud+`>
|
||
`}listitem(qa){let nd="";if(qa.task){const od=this.checkbox({checked:!!qa.checked});qa.loose?qa.tokens.length>0&&qa.tokens[0].type==="paragraph"?(qa.tokens[0].text=od+" "+qa.tokens[0].text,qa.tokens[0].tokens&&qa.tokens[0].tokens.length>0&&qa.tokens[0].tokens[0].type==="text"&&(qa.tokens[0].tokens[0].text=od+" "+qa.tokens[0].tokens[0].text)):qa.tokens.unshift({type:"text",raw:od+" ",text:od+" "}):nd+=od+" "}return nd+=this.parser.parse(qa.tokens,!!qa.loose),`<li>${nd}</li>
|
||
`}checkbox({checked:qa}){return"<input "+(qa?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:qa}){return`<p>${this.parser.parseInline(qa)}</p>
|
||
`}table(qa){let nd="",od="";for(let ud=0;ud<qa.header.length;ud++)od+=this.tablecell(qa.header[ud]);nd+=this.tablerow({text:od});let ld="";for(let ud=0;ud<qa.rows.length;ud++){const dd=qa.rows[ud];od="";for(let pd=0;pd<dd.length;pd++)od+=this.tablecell(dd[pd]);ld+=this.tablerow({text:od})}return ld&&(ld=`<tbody>${ld}</tbody>`),`<table>
|
||
<thead>
|
||
`+nd+`</thead>
|
||
`+ld+`</table>
|
||
`}tablerow({text:qa}){return`<tr>
|
||
${qa}</tr>
|
||
`}tablecell(qa){const nd=this.parser.parseInline(qa.tokens),od=qa.header?"th":"td";return(qa.align?`<${od} align="${qa.align}">`:`<${od}>`)+nd+`</${od}>
|
||
`}strong({tokens:qa}){return`<strong>${this.parser.parseInline(qa)}</strong>`}em({tokens:qa}){return`<em>${this.parser.parseInline(qa)}</em>`}codespan({text:qa}){return`<code>${qa}</code>`}br(qa){return"<br>"}del({tokens:qa}){return`<del>${this.parser.parseInline(qa)}</del>`}link({href:qa,title:nd,tokens:od}){const ld=this.parser.parseInline(od),ud=cleanUrl(qa);if(ud===null)return ld;qa=ud;let dd='<a href="'+qa+'"';return nd&&(dd+=' title="'+nd+'"'),dd+=">"+ld+"</a>",dd}image({href:qa,title:nd,text:od}){const ld=cleanUrl(qa);if(ld===null)return od;qa=ld;let ud=`<img src="${qa}" alt="${od}"`;return nd&&(ud+=` title="${nd}"`),ud+=">",ud}text(qa){return"tokens"in qa&&qa.tokens?this.parser.parseInline(qa.tokens):qa.text}}class _TextRenderer{strong({text:qa}){return qa}em({text:qa}){return qa}codespan({text:qa}){return qa}del({text:qa}){return qa}html({text:qa}){return qa}text({text:qa}){return qa}link({text:qa}){return""+qa}image({text:qa}){return""+qa}br(){return""}}class _Parser{constructor(qa){wg(this,"options");wg(this,"renderer");wg(this,"textRenderer");this.options=qa||_defaults,this.options.renderer=this.options.renderer||new _Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new _TextRenderer}static parse(qa,nd){return new _Parser(nd).parse(qa)}static parseInline(qa,nd){return new _Parser(nd).parseInline(qa)}parse(qa,nd=!0){let od="";for(let ld=0;ld<qa.length;ld++){const ud=qa[ld];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ud.type]){const pd=ud,fd=this.options.extensions.renderers[pd.type].call({parser:this},pd);if(fd!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(pd.type)){od+=fd||"";continue}}const dd=ud;switch(dd.type){case"space":{od+=this.renderer.space(dd);continue}case"hr":{od+=this.renderer.hr(dd);continue}case"heading":{od+=this.renderer.heading(dd);continue}case"code":{od+=this.renderer.code(dd);continue}case"table":{od+=this.renderer.table(dd);continue}case"blockquote":{od+=this.renderer.blockquote(dd);continue}case"list":{od+=this.renderer.list(dd);continue}case"html":{od+=this.renderer.html(dd);continue}case"paragraph":{od+=this.renderer.paragraph(dd);continue}case"text":{let pd=dd,fd=this.renderer.text(pd);for(;ld+1<qa.length&&qa[ld+1].type==="text";)pd=qa[++ld],fd+=`
|
||
`+this.renderer.text(pd);nd?od+=this.renderer.paragraph({type:"paragraph",raw:fd,text:fd,tokens:[{type:"text",raw:fd,text:fd}]}):od+=fd;continue}default:{const pd='Token with "'+dd.type+'" type was not found.';if(this.options.silent)return console.error(pd),"";throw new Error(pd)}}}return od}parseInline(qa,nd){nd=nd||this.renderer;let od="";for(let ld=0;ld<qa.length;ld++){const ud=qa[ld];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[ud.type]){const pd=this.options.extensions.renderers[ud.type].call({parser:this},ud);if(pd!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(ud.type)){od+=pd||"";continue}}const dd=ud;switch(dd.type){case"escape":{od+=nd.text(dd);break}case"html":{od+=nd.html(dd);break}case"link":{od+=nd.link(dd);break}case"image":{od+=nd.image(dd);break}case"strong":{od+=nd.strong(dd);break}case"em":{od+=nd.em(dd);break}case"codespan":{od+=nd.codespan(dd);break}case"br":{od+=nd.br(dd);break}case"del":{od+=nd.del(dd);break}case"text":{od+=nd.text(dd);break}default:{const pd='Token with "'+dd.type+'" type was not found.';if(this.options.silent)return console.error(pd),"";throw new Error(pd)}}}return od}}class _Hooks{constructor(qa){wg(this,"options");this.options=qa||_defaults}preprocess(qa){return qa}postprocess(qa){return qa}processAllTokens(qa){return qa}}wg(_Hooks,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var lv,cC,x1,uC;class Marked{constructor(...qa){nC(this,lv);wg(this,"defaults",_getDefaults());wg(this,"options",this.setOptions);wg(this,"parse",xT(this,lv,x1).call(this,_Lexer.lex,_Parser.parse));wg(this,"parseInline",xT(this,lv,x1).call(this,_Lexer.lexInline,_Parser.parseInline));wg(this,"Parser",_Parser);wg(this,"Renderer",_Renderer);wg(this,"TextRenderer",_TextRenderer);wg(this,"Lexer",_Lexer);wg(this,"Tokenizer",_Tokenizer);wg(this,"Hooks",_Hooks);this.use(...qa)}walkTokens(qa,nd){var ld,ud;let od=[];for(const dd of qa)switch(od=od.concat(nd.call(this,dd)),dd.type){case"table":{const pd=dd;for(const fd of pd.header)od=od.concat(this.walkTokens(fd.tokens,nd));for(const fd of pd.rows)for(const md of fd)od=od.concat(this.walkTokens(md.tokens,nd));break}case"list":{const pd=dd;od=od.concat(this.walkTokens(pd.items,nd));break}default:{const pd=dd;(ud=(ld=this.defaults.extensions)==null?void 0:ld.childTokens)!=null&&ud[pd.type]?this.defaults.extensions.childTokens[pd.type].forEach(fd=>{const md=pd[fd].flat(1/0);od=od.concat(this.walkTokens(md,nd))}):pd.tokens&&(od=od.concat(this.walkTokens(pd.tokens,nd)))}}return od}use(...qa){const nd=this.defaults.extensions||{renderers:{},childTokens:{}};return qa.forEach(od=>{const ld={...od};if(ld.async=this.defaults.async||ld.async||!1,od.extensions&&(od.extensions.forEach(ud=>{if(!ud.name)throw new Error("extension name required");if("renderer"in ud){const dd=nd.renderers[ud.name];dd?nd.renderers[ud.name]=function(...pd){let fd=ud.renderer.apply(this,pd);return fd===!1&&(fd=dd.apply(this,pd)),fd}:nd.renderers[ud.name]=ud.renderer}if("tokenizer"in ud){if(!ud.level||ud.level!=="block"&&ud.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const dd=nd[ud.level];dd?dd.unshift(ud.tokenizer):nd[ud.level]=[ud.tokenizer],ud.start&&(ud.level==="block"?nd.startBlock?nd.startBlock.push(ud.start):nd.startBlock=[ud.start]:ud.level==="inline"&&(nd.startInline?nd.startInline.push(ud.start):nd.startInline=[ud.start]))}"childTokens"in ud&&ud.childTokens&&(nd.childTokens[ud.name]=ud.childTokens)}),ld.extensions=nd),od.renderer){const ud=this.defaults.renderer||new _Renderer(this.defaults);for(const dd in od.renderer){if(!(dd in ud))throw new Error(`renderer '${dd}' does not exist`);if(["options","parser"].includes(dd))continue;const pd=dd;let fd=od.renderer[pd];od.useNewRenderer||(fd=xT(this,lv,cC).call(this,fd,pd,ud));const md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad||""}}ld.renderer=ud}if(od.tokenizer){const ud=this.defaults.tokenizer||new _Tokenizer(this.defaults);for(const dd in od.tokenizer){if(!(dd in ud))throw new Error(`tokenizer '${dd}' does not exist`);if(["options","rules","lexer"].includes(dd))continue;const pd=dd,fd=od.tokenizer[pd],md=ud[pd];ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.tokenizer=ud}if(od.hooks){const ud=this.defaults.hooks||new _Hooks;for(const dd in od.hooks){if(!(dd in ud))throw new Error(`hook '${dd}' does not exist`);if(dd==="options")continue;const pd=dd,fd=od.hooks[pd],md=ud[pd];_Hooks.passThroughHooks.has(dd)?ud[pd]=vd=>{if(this.defaults.async)return Promise.resolve(fd.call(ud,vd)).then(Nd=>md.call(ud,Nd));const Ad=fd.call(ud,vd);return md.call(ud,Ad)}:ud[pd]=(...vd)=>{let Ad=fd.apply(ud,vd);return Ad===!1&&(Ad=md.apply(ud,vd)),Ad}}ld.hooks=ud}if(od.walkTokens){const ud=this.defaults.walkTokens,dd=od.walkTokens;ld.walkTokens=function(pd){let fd=[];return fd.push(dd.call(this,pd)),ud&&(fd=fd.concat(ud.call(this,pd))),fd}}this.defaults={...this.defaults,...ld}}),this}setOptions(qa){return this.defaults={...this.defaults,...qa},this}lexer(qa,nd){return _Lexer.lex(qa,nd??this.defaults)}parser(qa,nd){return _Parser.parse(qa,nd??this.defaults)}}lv=new WeakSet,cC=function(qa,nd,od){switch(nd){case"heading":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,od.parser.parseInline(ld.tokens),ld.depth,unescape$1(od.parser.parseInline(ld.tokens,od.parser.textRenderer)))};case"code":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text,ld.lang,!!ld.escaped)};case"table":return function(ld){if(!ld.type||ld.type!==nd)return qa.apply(this,arguments);let ud="",dd="";for(let fd=0;fd<ld.header.length;fd++)dd+=this.tablecell({text:ld.header[fd].text,tokens:ld.header[fd].tokens,header:!0,align:ld.align[fd]});ud+=this.tablerow({text:dd});let pd="";for(let fd=0;fd<ld.rows.length;fd++){const md=ld.rows[fd];dd="";for(let vd=0;vd<md.length;vd++)dd+=this.tablecell({text:md[vd].text,tokens:md[vd].tokens,header:!1,align:ld.align[vd]});pd+=this.tablerow({text:dd})}return qa.call(this,ud,pd)};case"blockquote":return function(ld){if(!ld.type||ld.type!==nd)return qa.apply(this,arguments);const ud=this.parser.parse(ld.tokens);return qa.call(this,ud)};case"list":return function(ld){if(!ld.type||ld.type!==nd)return qa.apply(this,arguments);const ud=ld.ordered,dd=ld.start,pd=ld.loose;let fd="";for(let md=0;md<ld.items.length;md++){const vd=ld.items[md],Ad=vd.checked,Nd=vd.task;let Id="";if(vd.task){const Od=this.checkbox({checked:!!Ad});pd?vd.tokens.length>0&&vd.tokens[0].type==="paragraph"?(vd.tokens[0].text=Od+" "+vd.tokens[0].text,vd.tokens[0].tokens&&vd.tokens[0].tokens.length>0&&vd.tokens[0].tokens[0].type==="text"&&(vd.tokens[0].tokens[0].text=Od+" "+vd.tokens[0].tokens[0].text)):vd.tokens.unshift({type:"text",text:Od+" "}):Id+=Od+" "}Id+=this.parser.parse(vd.tokens,pd),fd+=this.listitem({type:"list_item",raw:Id,text:Id,task:Nd,checked:!!Ad,loose:pd,tokens:vd.tokens})}return qa.call(this,fd,ud,dd)};case"html":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text,ld.block)};case"paragraph":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"escape":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text)};case"link":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.href,ld.title,this.parser.parseInline(ld.tokens))};case"image":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.href,ld.title,ld.text)};case"strong":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"em":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"codespan":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text)};case"del":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,this.parser.parseInline(ld.tokens))};case"text":return function(ld){return!ld.type||ld.type!==nd?qa.apply(this,arguments):qa.call(this,ld.text)}}return qa},x1=function(qa,nd){return(od,ld)=>{const ud={...ld},dd={...this.defaults,...ud};this.defaults.async===!0&&ud.async===!1&&(dd.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),dd.async=!0);const pd=xT(this,lv,uC).call(this,!!dd.silent,!!dd.async);if(typeof od>"u"||od===null)return pd(new Error("marked(): input parameter is undefined or null"));if(typeof od!="string")return pd(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(od)+", string expected"));if(dd.hooks&&(dd.hooks.options=dd),dd.async)return Promise.resolve(dd.hooks?dd.hooks.preprocess(od):od).then(fd=>qa(fd,dd)).then(fd=>dd.hooks?dd.hooks.processAllTokens(fd):fd).then(fd=>dd.walkTokens?Promise.all(this.walkTokens(fd,dd.walkTokens)).then(()=>fd):fd).then(fd=>nd(fd,dd)).then(fd=>dd.hooks?dd.hooks.postprocess(fd):fd).catch(pd);try{dd.hooks&&(od=dd.hooks.preprocess(od));let fd=qa(od,dd);dd.hooks&&(fd=dd.hooks.processAllTokens(fd)),dd.walkTokens&&this.walkTokens(fd,dd.walkTokens);let md=nd(fd,dd);return dd.hooks&&(md=dd.hooks.postprocess(md)),md}catch(fd){return pd(fd)}}},uC=function(qa,nd){return od=>{if(od.message+=`
|
||
Please report this to https://github.com/markedjs/marked.`,qa){const ld="<p>An error occurred:</p><pre>"+escape$1(od.message+"",!0)+"</pre>";return nd?Promise.resolve(ld):ld}if(nd)return Promise.reject(od);throw od}};const markedInstance=new Marked;function marked(Ra,qa){return markedInstance.parse(Ra,qa)}marked.options=marked.setOptions=function(Ra){return markedInstance.setOptions(Ra),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.getDefaults=_getDefaults;marked.defaults=_defaults;marked.use=function(...Ra){return markedInstance.use(...Ra),marked.defaults=markedInstance.defaults,changeDefaults(marked.defaults),marked};marked.walkTokens=function(Ra,qa){return markedInstance.walkTokens(Ra,qa)};marked.parseInline=markedInstance.parseInline;marked.Parser=_Parser;marked.parser=_Parser.parse;marked.Renderer=_Renderer;marked.TextRenderer=_TextRenderer;marked.Lexer=_Lexer;marked.lexer=_Lexer.lex;marked.Tokenizer=_Tokenizer;marked.Hooks=_Hooks;marked.parse=marked;marked.options;marked.setOptions;marked.use;marked.walkTokens;marked.parseInline;_Parser.parse;_Lexer.lex;function dedent(Ra){for(var qa=[],nd=1;nd<arguments.length;nd++)qa[nd-1]=arguments[nd];var od=Array.from(typeof Ra=="string"?[Ra]:Ra);od[od.length-1]=od[od.length-1].replace(/\r?\n([\t ]*)$/,"");var ld=od.reduce(function(pd,fd){var md=fd.match(/\n([\t ]+|(?!\s).)/g);return md?pd.concat(md.map(function(vd){var Ad,Nd;return(Nd=(Ad=vd.match(/[\t ]/g))===null||Ad===void 0?void 0:Ad.length)!==null&&Nd!==void 0?Nd:0})):pd},[]);if(ld.length){var ud=new RegExp(`
|
||
[ ]{`+Math.min.apply(Math,ld)+"}","g");od=od.map(function(pd){return pd.replace(ud,`
|
||
`)})}od[0]=od[0].replace(/^\r?\n/,"");var dd=od[0];return qa.forEach(function(pd,fd){var md=dd.match(/(?:^|\n)( *)$/),vd=md?md[1]:"",Ad=pd;typeof pd=="string"&&pd.includes(`
|
||
`)&&(Ad=String(pd).split(`
|
||
`).map(function(Nd,Id){return Id===0?Nd:""+vd+Nd}).join(`
|
||
`)),dd+=Ad+od[fd+1]}),dd}function preprocessMarkdown(Ra,{markdownAutoWrap:qa}){const od=Ra.replace(/<br\/>/g,`
|
||
`).replace(/\n{2,}/g,`
|
||
`),ld=dedent(od);return qa===!1?ld.replace(/ /g," "):ld}__name(preprocessMarkdown,"preprocessMarkdown");function markdownToLines(Ra,qa={}){const nd=preprocessMarkdown(Ra,qa),od=marked.lexer(nd),ld=[[]];let ud=0;function dd(pd,fd="normal"){pd.type==="text"?pd.text.split(`
|
||
`).forEach((vd,Ad)=>{Ad!==0&&(ud++,ld.push([])),vd.split(" ").forEach(Nd=>{Nd=Nd.replace(/'/g,"'"),Nd&&ld[ud].push({content:Nd,type:fd})})}):pd.type==="strong"||pd.type==="em"?pd.tokens.forEach(md=>{dd(md,pd.type)}):pd.type==="html"&&ld[ud].push({content:pd.text,type:"normal"})}return __name(dd,"processNode"),od.forEach(pd=>{var fd;pd.type==="paragraph"?(fd=pd.tokens)==null||fd.forEach(md=>{dd(md)}):pd.type==="html"&&ld[ud].push({content:pd.text,type:"normal"})}),ld}__name(markdownToLines,"markdownToLines");function markdownToHTML(Ra,{markdownAutoWrap:qa}={}){const nd=marked.lexer(Ra);function od(ld){var ud,dd,pd;return ld.type==="text"?qa===!1?ld.text.replace(/\n */g,"<br/>").replace(/ /g," "):ld.text.replace(/\n */g,"<br/>"):ld.type==="strong"?`<strong>${(ud=ld.tokens)==null?void 0:ud.map(od).join("")}</strong>`:ld.type==="em"?`<em>${(dd=ld.tokens)==null?void 0:dd.map(od).join("")}</em>`:ld.type==="paragraph"?`<p>${(pd=ld.tokens)==null?void 0:pd.map(od).join("")}</p>`:ld.type==="space"?"":ld.type==="html"?`${ld.text}`:ld.type==="escape"?ld.text:`Unsupported markdown: ${ld.type}`}return __name(od,"output"),nd.map(od).join("")}__name(markdownToHTML,"markdownToHTML");function splitTextToChars(Ra){return Intl.Segmenter?[...new Intl.Segmenter().segment(Ra)].map(qa=>qa.segment):[...Ra]}__name(splitTextToChars,"splitTextToChars");function splitWordToFitWidth(Ra,qa){const nd=splitTextToChars(qa.content);return splitWordToFitWidthRecursion(Ra,[],nd,qa.type)}__name(splitWordToFitWidth,"splitWordToFitWidth");function splitWordToFitWidthRecursion(Ra,qa,nd,od){if(nd.length===0)return[{content:qa.join(""),type:od},{content:"",type:od}];const[ld,...ud]=nd,dd=[...qa,ld];return Ra([{content:dd.join(""),type:od}])?splitWordToFitWidthRecursion(Ra,dd,ud,od):(qa.length===0&&ld&&(qa.push(ld),nd.shift()),[{content:qa.join(""),type:od},{content:nd.join(""),type:od}])}__name(splitWordToFitWidthRecursion,"splitWordToFitWidthRecursion");function splitLineToFitWidth(Ra,qa){if(Ra.some(({content:nd})=>nd.includes(`
|
||
`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return splitLineToFitWidthRecursion(Ra,qa)}__name(splitLineToFitWidth,"splitLineToFitWidth");function splitLineToFitWidthRecursion(Ra,qa,nd=[],od=[]){if(Ra.length===0)return od.length>0&&nd.push(od),nd.length>0?nd:[];let ld="";Ra[0].content===" "&&(ld=" ",Ra.shift());const ud=Ra.shift()??{content:" ",type:"normal"},dd=[...od];if(ld!==""&&dd.push({content:ld,type:"normal"}),dd.push(ud),qa(dd))return splitLineToFitWidthRecursion(Ra,qa,nd,dd);if(od.length>0)nd.push(od),Ra.unshift(ud);else if(ud.content){const[pd,fd]=splitWordToFitWidth(qa,ud);nd.push([pd]),fd.content&&Ra.unshift(fd)}return splitLineToFitWidthRecursion(Ra,qa,nd)}__name(splitLineToFitWidthRecursion,"splitLineToFitWidthRecursion");function applyStyle$1(Ra,qa){qa&&Ra.attr("style",qa)}__name(applyStyle$1,"applyStyle");async function addHtmlSpan(Ra,qa,nd,od,ld=!1){const ud=Ra.append("foreignObject");ud.attr("width",`${10*nd}px`),ud.attr("height",`${10*nd}px`);const dd=ud.append("xhtml:div");let pd=qa.label;qa.label&&hasKatex(qa.label)&&(pd=await renderKatex(qa.label.replace(common_default.lineBreakRegex,`
|
||
`),getConfig2()));const fd=qa.isNode?"nodeLabel":"edgeLabel",md=dd.append("span");md.html(pd),applyStyle$1(md,qa.labelStyle),md.attr("class",`${fd} ${od}`),applyStyle$1(dd,qa.labelStyle),dd.style("display","table-cell"),dd.style("white-space","nowrap"),dd.style("line-height","1.5"),dd.style("max-width",nd+"px"),dd.style("text-align","center"),dd.attr("xmlns","http://www.w3.org/1999/xhtml"),ld&&dd.attr("class","labelBkg");let vd=dd.node().getBoundingClientRect();return vd.width===nd&&(dd.style("display","table"),dd.style("white-space","break-spaces"),dd.style("width",nd+"px"),vd=dd.node().getBoundingClientRect()),ud.node()}__name(addHtmlSpan,"addHtmlSpan");function createTspan(Ra,qa,nd){return Ra.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",qa*nd-.1+"em").attr("dy",nd+"em")}__name(createTspan,"createTspan");function computeWidthOfText(Ra,qa,nd){const od=Ra.append("text"),ld=createTspan(od,1,qa);updateTextContentAndStyles(ld,nd);const ud=ld.node().getComputedTextLength();return od.remove(),ud}__name(computeWidthOfText,"computeWidthOfText");function computeDimensionOfText(Ra,qa,nd){var dd;const od=Ra.append("text"),ld=createTspan(od,1,qa);updateTextContentAndStyles(ld,[{content:nd,type:"normal"}]);const ud=(dd=ld.node())==null?void 0:dd.getBoundingClientRect();return ud&&od.remove(),ud}__name(computeDimensionOfText,"computeDimensionOfText");function createFormattedText(Ra,qa,nd,od=!1){const ud=qa.append("g"),dd=ud.insert("rect").attr("class","background").attr("style","stroke: none"),pd=ud.append("text").attr("y","-10.1");let fd=0;for(const md of nd){const vd=__name(Nd=>computeWidthOfText(ud,1.1,Nd)<=Ra,"checkWidth"),Ad=vd(md)?[md]:splitLineToFitWidth(md,vd);for(const Nd of Ad){const Id=createTspan(pd,fd,1.1);updateTextContentAndStyles(Id,Nd),fd++}}if(od){const md=pd.node().getBBox(),vd=2;return dd.attr("x",md.x-vd).attr("y",md.y-vd).attr("width",md.width+2*vd).attr("height",md.height+2*vd),ud.node()}else return pd.node()}__name(createFormattedText,"createFormattedText");function updateTextContentAndStyles(Ra,qa){Ra.text(""),qa.forEach((nd,od)=>{const ld=Ra.append("tspan").attr("font-style",nd.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",nd.type==="strong"?"bold":"normal");od===0?ld.text(nd.content):ld.text(" "+nd.content)})}__name(updateTextContentAndStyles,"updateTextContentAndStyles");function replaceIconSubstring(Ra){return Ra.replace(/fa[bklrs]?:fa-[\w-]+/g,qa=>`<i class='${qa.replace(":"," ")}'></i>`)}__name(replaceIconSubstring,"replaceIconSubstring");var createText=__name(async(Ra,qa="",{style:nd="",isTitle:od=!1,classes:ld="",useHtmlLabels:ud=!0,isNode:dd=!0,width:pd=200,addSvgBackground:fd=!1}={},md)=>{if(log$1.debug("XYZ createText",qa,nd,od,ld,ud,dd,"addSvgBackground: ",fd),ud){const vd=markdownToHTML(qa,md),Ad=replaceIconSubstring(decodeEntities(vd)),Nd=qa.replace(/\\\\/g,"\\"),Id={isNode:dd,label:hasKatex(qa)?Nd:Ad,labelStyle:nd.replace("fill:","color:")};return await addHtmlSpan(Ra,Id,pd,ld,fd)}else{const vd=qa.replace(/<br\s*\/?>/g,"<br/>"),Ad=markdownToLines(vd.replace("<br>","<br/>"),md),Nd=createFormattedText(pd,Ra,Ad,qa?fd:!1);if(dd){/stroke:/.exec(nd)&&(nd=nd.replace("stroke:","lineColor:"));const Id=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");select(Nd).attr("style",Id)}else{const Id=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");select(Nd).select("rect").attr("style",Id.replace(/background:/g,"fill:"));const Od=nd.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");select(Nd).select("text").attr("style",Od)}return Nd}},"createText");function t$1(Ra,qa,nd){if(Ra&&Ra.length){const[od,ld]=qa,ud=Math.PI/180*nd,dd=Math.cos(ud),pd=Math.sin(ud);for(const fd of Ra){const[md,vd]=fd;fd[0]=(md-od)*dd-(vd-ld)*pd+od,fd[1]=(md-od)*pd+(vd-ld)*dd+ld}}}function e$1(Ra,qa){return Ra[0]===qa[0]&&Ra[1]===qa[1]}function s$1(Ra,qa,nd,od=1){const ld=nd,ud=Math.max(qa,.1),dd=Ra[0]&&Ra[0][0]&&typeof Ra[0][0]=="number"?[Ra]:Ra,pd=[0,0];if(ld)for(const md of dd)t$1(md,pd,ld);const fd=function(md,vd,Ad){const Nd=[];for(const Ld of md){const Bd=[...Ld];e$1(Bd[0],Bd[Bd.length-1])||Bd.push([Bd[0][0],Bd[0][1]]),Bd.length>2&&Nd.push(Bd)}const Id=[];vd=Math.max(vd,.1);const Od=[];for(const Ld of Nd)for(let Bd=0;Bd<Ld.length-1;Bd++){const Gd=Ld[Bd],qd=Ld[Bd+1];if(Gd[1]!==qd[1]){const zd=Math.min(Gd[1],qd[1]);Od.push({ymin:zd,ymax:Math.max(Gd[1],qd[1]),x:zd===Gd[1]?Gd[0]:qd[0],islope:(qd[0]-Gd[0])/(qd[1]-Gd[1])})}}if(Od.sort((Ld,Bd)=>Ld.ymin<Bd.ymin?-1:Ld.ymin>Bd.ymin?1:Ld.x<Bd.x?-1:Ld.x>Bd.x?1:Ld.ymax===Bd.ymax?0:(Ld.ymax-Bd.ymax)/Math.abs(Ld.ymax-Bd.ymax)),!Od.length)return Id;let Md=[],Ud=Od[0].ymin,jd=0;for(;Md.length||Od.length;){if(Od.length){let Ld=-1;for(let Bd=0;Bd<Od.length&&!(Od[Bd].ymin>Ud);Bd++)Ld=Bd;Od.splice(0,Ld+1).forEach(Bd=>{Md.push({s:Ud,edge:Bd})})}if(Md=Md.filter(Ld=>!(Ld.edge.ymax<=Ud)),Md.sort((Ld,Bd)=>Ld.edge.x===Bd.edge.x?0:(Ld.edge.x-Bd.edge.x)/Math.abs(Ld.edge.x-Bd.edge.x)),(Ad!==1||jd%vd==0)&&Md.length>1)for(let Ld=0;Ld<Md.length;Ld+=2){const Bd=Ld+1;if(Bd>=Md.length)break;const Gd=Md[Ld].edge,qd=Md[Bd].edge;Id.push([[Math.round(Gd.x),Ud],[Math.round(qd.x),Ud]])}Ud+=Ad,Md.forEach(Ld=>{Ld.edge.x=Ld.edge.x+Ad*Ld.edge.islope}),jd++}return Id}(dd,ud,od);if(ld){for(const md of dd)t$1(md,pd,-ld);(function(md,vd,Ad){const Nd=[];md.forEach(Id=>Nd.push(...Id)),t$1(Nd,vd,Ad)})(fd,pd,-ld)}return fd}function n$1(Ra,qa){var nd;const od=qa.hachureAngle+90;let ld=qa.hachureGap;ld<0&&(ld=4*qa.strokeWidth),ld=Math.round(Math.max(ld,.1));let ud=1;return qa.roughness>=1&&(((nd=qa.randomizer)===null||nd===void 0?void 0:nd.next())||Math.random())>.7&&(ud=ld),s$1(Ra,ld,od,ud||1)}let o$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){return this._fillPolygons(qa,nd)}_fillPolygons(qa,nd){const od=n$1(qa,nd);return{type:"fillSketch",ops:this.renderLines(od,nd)}}renderLines(qa,nd){const od=[];for(const ld of qa)od.push(...this.helper.doubleLineOps(ld[0][0],ld[0][1],ld[1][0],ld[1][1],nd));return od}};function a$1(Ra){const qa=Ra[0],nd=Ra[1];return Math.sqrt(Math.pow(qa[0]-nd[0],2)+Math.pow(qa[1]-nd[1],2))}let h$1=class extends o$1{fillPolygons(qa,nd){let od=nd.hachureGap;od<0&&(od=4*nd.strokeWidth),od=Math.max(od,.1);const ld=n$1(qa,Object.assign({},nd,{hachureGap:od})),ud=Math.PI/180*nd.hachureAngle,dd=[],pd=.5*od*Math.cos(ud),fd=.5*od*Math.sin(ud);for(const[md,vd]of ld)a$1([md,vd])&&dd.push([[md[0]-pd,md[1]+fd],[...vd]],[[md[0]+pd,md[1]-fd],[...vd]]);return{type:"fillSketch",ops:this.renderLines(dd,nd)}}},r$1=class extends o$1{fillPolygons(qa,nd){const od=this._fillPolygons(qa,nd),ld=Object.assign({},nd,{hachureAngle:nd.hachureAngle+90}),ud=this._fillPolygons(qa,ld);return od.ops=od.ops.concat(ud.ops),od}},i$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=n$1(qa,nd=Object.assign({},nd,{hachureAngle:0}));return this.dotsOnLines(od,nd)}dotsOnLines(qa,nd){const od=[];let ld=nd.hachureGap;ld<0&&(ld=4*nd.strokeWidth),ld=Math.max(ld,.1);let ud=nd.fillWeight;ud<0&&(ud=nd.strokeWidth/2);const dd=ld/4;for(const pd of qa){const fd=a$1(pd),md=fd/ld,vd=Math.ceil(md)-1,Ad=fd-vd*ld,Nd=(pd[0][0]+pd[1][0])/2-ld/4,Id=Math.min(pd[0][1],pd[1][1]);for(let Od=0;Od<vd;Od++){const Md=Id+Ad+Od*ld,Ud=Nd-dd+2*Math.random()*dd,jd=Md-dd+2*Math.random()*dd,Ld=this.helper.ellipse(Ud,jd,ud,ud,nd);od.push(...Ld.ops)}}return{type:"fillSketch",ops:od}}},c$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=n$1(qa,nd);return{type:"fillSketch",ops:this.dashedLine(od,nd)}}dashedLine(qa,nd){const od=nd.dashOffset<0?nd.hachureGap<0?4*nd.strokeWidth:nd.hachureGap:nd.dashOffset,ld=nd.dashGap<0?nd.hachureGap<0?4*nd.strokeWidth:nd.hachureGap:nd.dashGap,ud=[];return qa.forEach(dd=>{const pd=a$1(dd),fd=Math.floor(pd/(od+ld)),md=(pd+ld-fd*(od+ld))/2;let vd=dd[0],Ad=dd[1];vd[0]>Ad[0]&&(vd=dd[1],Ad=dd[0]);const Nd=Math.atan((Ad[1]-vd[1])/(Ad[0]-vd[0]));for(let Id=0;Id<fd;Id++){const Od=Id*(od+ld),Md=Od+od,Ud=[vd[0]+Od*Math.cos(Nd)+md*Math.cos(Nd),vd[1]+Od*Math.sin(Nd)+md*Math.sin(Nd)],jd=[vd[0]+Md*Math.cos(Nd)+md*Math.cos(Nd),vd[1]+Md*Math.sin(Nd)+md*Math.sin(Nd)];ud.push(...this.helper.doubleLineOps(Ud[0],Ud[1],jd[0],jd[1],nd))}}),ud}},l$1=class{constructor(qa){this.helper=qa}fillPolygons(qa,nd){const od=nd.hachureGap<0?4*nd.strokeWidth:nd.hachureGap,ld=nd.zigzagOffset<0?od:nd.zigzagOffset,ud=n$1(qa,nd=Object.assign({},nd,{hachureGap:od+ld}));return{type:"fillSketch",ops:this.zigzagLines(ud,ld,nd)}}zigzagLines(qa,nd,od){const ld=[];return qa.forEach(ud=>{const dd=a$1(ud),pd=Math.round(dd/(2*nd));let fd=ud[0],md=ud[1];fd[0]>md[0]&&(fd=ud[1],md=ud[0]);const vd=Math.atan((md[1]-fd[1])/(md[0]-fd[0]));for(let Ad=0;Ad<pd;Ad++){const Nd=2*Ad*nd,Id=2*(Ad+1)*nd,Od=Math.sqrt(2*Math.pow(nd,2)),Md=[fd[0]+Nd*Math.cos(vd),fd[1]+Nd*Math.sin(vd)],Ud=[fd[0]+Id*Math.cos(vd),fd[1]+Id*Math.sin(vd)],jd=[Md[0]+Od*Math.cos(vd+Math.PI/4),Md[1]+Od*Math.sin(vd+Math.PI/4)];ld.push(...this.helper.doubleLineOps(Md[0],Md[1],jd[0],jd[1],od),...this.helper.doubleLineOps(jd[0],jd[1],Ud[0],Ud[1],od))}}),ld}};const u$1={};let p$1=class{constructor(qa){this.seed=qa}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}};const f$1=0,d$1=1,g$3=2,M$2={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function k$1(Ra,qa){return Ra.type===qa}function b$1(Ra){const qa=[],nd=function(dd){const pd=new Array;for(;dd!=="";)if(dd.match(/^([ \t\r\n,]+)/))dd=dd.substr(RegExp.$1.length);else if(dd.match(/^([aAcChHlLmMqQsStTvVzZ])/))pd[pd.length]={type:f$1,text:RegExp.$1},dd=dd.substr(RegExp.$1.length);else{if(!dd.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];pd[pd.length]={type:d$1,text:`${parseFloat(RegExp.$1)}`},dd=dd.substr(RegExp.$1.length)}return pd[pd.length]={type:g$3,text:""},pd}(Ra);let od="BOD",ld=0,ud=nd[ld];for(;!k$1(ud,g$3);){let dd=0;const pd=[];if(od==="BOD"){if(ud.text!=="M"&&ud.text!=="m")return b$1("M0,0"+Ra);ld++,dd=M$2[ud.text],od=ud.text}else k$1(ud,d$1)?dd=M$2[od]:(ld++,dd=M$2[ud.text],od=ud.text);if(!(ld+dd<nd.length))throw new Error("Path data ended short");for(let fd=ld;fd<ld+dd;fd++){const md=nd[fd];if(!k$1(md,d$1))throw new Error("Param not a number: "+od+","+md.text);pd[pd.length]=+md.text}if(typeof M$2[od]!="number")throw new Error("Bad segment: "+od);{const fd={key:od,data:pd};qa.push(fd),ld+=dd,ud=nd[ld],od==="M"&&(od="L"),od==="m"&&(od="l")}}return qa}function y$1(Ra){let qa=0,nd=0,od=0,ld=0;const ud=[];for(const{key:dd,data:pd}of Ra)switch(dd){case"M":ud.push({key:"M",data:[...pd]}),[qa,nd]=pd,[od,ld]=pd;break;case"m":qa+=pd[0],nd+=pd[1],ud.push({key:"M",data:[qa,nd]}),od=qa,ld=nd;break;case"L":ud.push({key:"L",data:[...pd]}),[qa,nd]=pd;break;case"l":qa+=pd[0],nd+=pd[1],ud.push({key:"L",data:[qa,nd]});break;case"C":ud.push({key:"C",data:[...pd]}),qa=pd[4],nd=pd[5];break;case"c":{const fd=pd.map((md,vd)=>vd%2?md+nd:md+qa);ud.push({key:"C",data:fd}),qa=fd[4],nd=fd[5];break}case"Q":ud.push({key:"Q",data:[...pd]}),qa=pd[2],nd=pd[3];break;case"q":{const fd=pd.map((md,vd)=>vd%2?md+nd:md+qa);ud.push({key:"Q",data:fd}),qa=fd[2],nd=fd[3];break}case"A":ud.push({key:"A",data:[...pd]}),qa=pd[5],nd=pd[6];break;case"a":qa+=pd[5],nd+=pd[6],ud.push({key:"A",data:[pd[0],pd[1],pd[2],pd[3],pd[4],qa,nd]});break;case"H":ud.push({key:"H",data:[...pd]}),qa=pd[0];break;case"h":qa+=pd[0],ud.push({key:"H",data:[qa]});break;case"V":ud.push({key:"V",data:[...pd]}),nd=pd[0];break;case"v":nd+=pd[0],ud.push({key:"V",data:[nd]});break;case"S":ud.push({key:"S",data:[...pd]}),qa=pd[2],nd=pd[3];break;case"s":{const fd=pd.map((md,vd)=>vd%2?md+nd:md+qa);ud.push({key:"S",data:fd}),qa=fd[2],nd=fd[3];break}case"T":ud.push({key:"T",data:[...pd]}),qa=pd[0],nd=pd[1];break;case"t":qa+=pd[0],nd+=pd[1],ud.push({key:"T",data:[qa,nd]});break;case"Z":case"z":ud.push({key:"Z",data:[]}),qa=od,nd=ld}return ud}function m$1(Ra){const qa=[];let nd="",od=0,ld=0,ud=0,dd=0,pd=0,fd=0;for(const{key:md,data:vd}of Ra){switch(md){case"M":qa.push({key:"M",data:[...vd]}),[od,ld]=vd,[ud,dd]=vd;break;case"C":qa.push({key:"C",data:[...vd]}),od=vd[4],ld=vd[5],pd=vd[2],fd=vd[3];break;case"L":qa.push({key:"L",data:[...vd]}),[od,ld]=vd;break;case"H":od=vd[0],qa.push({key:"L",data:[od,ld]});break;case"V":ld=vd[0],qa.push({key:"L",data:[od,ld]});break;case"S":{let Ad=0,Nd=0;nd==="C"||nd==="S"?(Ad=od+(od-pd),Nd=ld+(ld-fd)):(Ad=od,Nd=ld),qa.push({key:"C",data:[Ad,Nd,...vd]}),pd=vd[0],fd=vd[1],od=vd[2],ld=vd[3];break}case"T":{const[Ad,Nd]=vd;let Id=0,Od=0;nd==="Q"||nd==="T"?(Id=od+(od-pd),Od=ld+(ld-fd)):(Id=od,Od=ld);const Md=od+2*(Id-od)/3,Ud=ld+2*(Od-ld)/3,jd=Ad+2*(Id-Ad)/3,Ld=Nd+2*(Od-Nd)/3;qa.push({key:"C",data:[Md,Ud,jd,Ld,Ad,Nd]}),pd=Id,fd=Od,od=Ad,ld=Nd;break}case"Q":{const[Ad,Nd,Id,Od]=vd,Md=od+2*(Ad-od)/3,Ud=ld+2*(Nd-ld)/3,jd=Id+2*(Ad-Id)/3,Ld=Od+2*(Nd-Od)/3;qa.push({key:"C",data:[Md,Ud,jd,Ld,Id,Od]}),pd=Ad,fd=Nd,od=Id,ld=Od;break}case"A":{const Ad=Math.abs(vd[0]),Nd=Math.abs(vd[1]),Id=vd[2],Od=vd[3],Md=vd[4],Ud=vd[5],jd=vd[6];Ad===0||Nd===0?(qa.push({key:"C",data:[od,ld,Ud,jd,Ud,jd]}),od=Ud,ld=jd):(od!==Ud||ld!==jd)&&(x$2(od,ld,Ud,jd,Ad,Nd,Id,Od,Md).forEach(function(Ld){qa.push({key:"C",data:Ld})}),od=Ud,ld=jd);break}case"Z":qa.push({key:"Z",data:[]}),od=ud,ld=dd}nd=md}return qa}function w$1(Ra,qa,nd){return[Ra*Math.cos(nd)-qa*Math.sin(nd),Ra*Math.sin(nd)+qa*Math.cos(nd)]}function x$2(Ra,qa,nd,od,ld,ud,dd,pd,fd,md){const vd=(Ad=dd,Math.PI*Ad/180);var Ad;let Nd=[],Id=0,Od=0,Md=0,Ud=0;if(md)[Id,Od,Md,Ud]=md;else{[Ra,qa]=w$1(Ra,qa,-vd),[nd,od]=w$1(nd,od,-vd);const _f=(Ra-nd)/2,xf=(qa-od)/2;let vf=_f*_f/(ld*ld)+xf*xf/(ud*ud);vf>1&&(vf=Math.sqrt(vf),ld*=vf,ud*=vf);const Af=ld*ld,Df=ud*ud,jf=Af*Df-Af*xf*xf-Df*_f*_f,Jf=Af*xf*xf+Df*_f*_f,eh=(pd===fd?-1:1)*Math.sqrt(Math.abs(jf/Jf));Md=eh*ld*xf/ud+(Ra+nd)/2,Ud=eh*-ud*_f/ld+(qa+od)/2,Id=Math.asin(parseFloat(((qa-Ud)/ud).toFixed(9))),Od=Math.asin(parseFloat(((od-Ud)/ud).toFixed(9))),Ra<Md&&(Id=Math.PI-Id),nd<Md&&(Od=Math.PI-Od),Id<0&&(Id=2*Math.PI+Id),Od<0&&(Od=2*Math.PI+Od),fd&&Id>Od&&(Id-=2*Math.PI),!fd&&Od>Id&&(Od-=2*Math.PI)}let jd=Od-Id;if(Math.abs(jd)>120*Math.PI/180){const _f=Od,xf=nd,vf=od;Od=fd&&Od>Id?Id+120*Math.PI/180*1:Id+120*Math.PI/180*-1,Nd=x$2(nd=Md+ld*Math.cos(Od),od=Ud+ud*Math.sin(Od),xf,vf,ld,ud,dd,0,fd,[Od,_f,Md,Ud])}jd=Od-Id;const Ld=Math.cos(Id),Bd=Math.sin(Id),Gd=Math.cos(Od),qd=Math.sin(Od),zd=Math.tan(jd/4),Xd=4/3*ld*zd,gf=4/3*ud*zd,Yd=[Ra,qa],Zd=[Ra+Xd*Bd,qa-gf*Ld],df=[nd+Xd*qd,od-gf*Gd],Ef=[nd,od];if(Zd[0]=2*Yd[0]-Zd[0],Zd[1]=2*Yd[1]-Zd[1],md)return[Zd,df,Ef].concat(Nd);{Nd=[Zd,df,Ef].concat(Nd);const _f=[];for(let xf=0;xf<Nd.length;xf+=3){const vf=w$1(Nd[xf][0],Nd[xf][1],vd),Af=w$1(Nd[xf+1][0],Nd[xf+1][1],vd),Df=w$1(Nd[xf+2][0],Nd[xf+2][1],vd);_f.push([vf[0],vf[1],Af[0],Af[1],Df[0],Df[1]])}return _f}}const P$3={randOffset:function(Ra,qa){return G$3(Ra,qa)},randOffsetWithRange:function(Ra,qa,nd){return E$3(Ra,qa,nd)},ellipse:function(Ra,qa,nd,od,ld){const ud=T$2(nd,od,ld);return D$2(Ra,qa,ld,ud).opset},doubleLineOps:function(Ra,qa,nd,od,ld){return $$1(Ra,qa,nd,od,ld,!0)}};function v$1(Ra,qa,nd,od,ld){return{type:"path",ops:$$1(Ra,qa,nd,od,ld)}}function S$1(Ra,qa,nd){const od=(Ra||[]).length;if(od>2){const ld=[];for(let ud=0;ud<od-1;ud++)ld.push(...$$1(Ra[ud][0],Ra[ud][1],Ra[ud+1][0],Ra[ud+1][1],nd));return qa&&ld.push(...$$1(Ra[od-1][0],Ra[od-1][1],Ra[0][0],Ra[0][1],nd)),{type:"path",ops:ld}}return od===2?v$1(Ra[0][0],Ra[0][1],Ra[1][0],Ra[1][1],nd):{type:"path",ops:[]}}function O$1(Ra,qa,nd,od,ld){return function(ud,dd){return S$1(ud,!0,dd)}([[Ra,qa],[Ra+nd,qa],[Ra+nd,qa+od],[Ra,qa+od]],ld)}function L$2(Ra,qa){if(Ra.length){const nd=typeof Ra[0][0]=="number"?[Ra]:Ra,od=j$2(nd[0],1*(1+.2*qa.roughness),qa),ld=qa.disableMultiStroke?[]:j$2(nd[0],1.5*(1+.22*qa.roughness),z$2(qa));for(let ud=1;ud<nd.length;ud++){const dd=nd[ud];if(dd.length){const pd=j$2(dd,1*(1+.2*qa.roughness),qa),fd=qa.disableMultiStroke?[]:j$2(dd,1.5*(1+.22*qa.roughness),z$2(qa));for(const md of pd)md.op!=="move"&&od.push(md);for(const md of fd)md.op!=="move"&&ld.push(md)}}return{type:"path",ops:od.concat(ld)}}return{type:"path",ops:[]}}function T$2(Ra,qa,nd){const od=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(Ra/2,2)+Math.pow(qa/2,2))/2)),ld=Math.ceil(Math.max(nd.curveStepCount,nd.curveStepCount/Math.sqrt(200)*od)),ud=2*Math.PI/ld;let dd=Math.abs(Ra/2),pd=Math.abs(qa/2);const fd=1-nd.curveFitting;return dd+=G$3(dd*fd,nd),pd+=G$3(pd*fd,nd),{increment:ud,rx:dd,ry:pd}}function D$2(Ra,qa,nd,od){const[ld,ud]=F$2(od.increment,Ra,qa,od.rx,od.ry,1,od.increment*E$3(.1,E$3(.4,1,nd),nd),nd);let dd=q$3(ld,null,nd);if(!nd.disableMultiStroke&&nd.roughness!==0){const[pd]=F$2(od.increment,Ra,qa,od.rx,od.ry,1.5,0,nd),fd=q$3(pd,null,nd);dd=dd.concat(fd)}return{estimatedPoints:ud,opset:{type:"path",ops:dd}}}function A$1(Ra,qa,nd,od,ld,ud,dd,pd,fd){const md=Ra,vd=qa;let Ad=Math.abs(nd/2),Nd=Math.abs(od/2);Ad+=G$3(.01*Ad,fd),Nd+=G$3(.01*Nd,fd);let Id=ld,Od=ud;for(;Id<0;)Id+=2*Math.PI,Od+=2*Math.PI;Od-Id>2*Math.PI&&(Id=0,Od=2*Math.PI);const Md=2*Math.PI/fd.curveStepCount,Ud=Math.min(Md/2,(Od-Id)/2),jd=V$2(Ud,md,vd,Ad,Nd,Id,Od,1,fd);if(!fd.disableMultiStroke){const Ld=V$2(Ud,md,vd,Ad,Nd,Id,Od,1.5,fd);jd.push(...Ld)}return dd&&(pd?jd.push(...$$1(md,vd,md+Ad*Math.cos(Id),vd+Nd*Math.sin(Id),fd),...$$1(md,vd,md+Ad*Math.cos(Od),vd+Nd*Math.sin(Od),fd)):jd.push({op:"lineTo",data:[md,vd]},{op:"lineTo",data:[md+Ad*Math.cos(Id),vd+Nd*Math.sin(Id)]})),{type:"path",ops:jd}}function _$2(Ra,qa){const nd=m$1(y$1(b$1(Ra))),od=[];let ld=[0,0],ud=[0,0];for(const{key:dd,data:pd}of nd)switch(dd){case"M":ud=[pd[0],pd[1]],ld=[pd[0],pd[1]];break;case"L":od.push(...$$1(ud[0],ud[1],pd[0],pd[1],qa)),ud=[pd[0],pd[1]];break;case"C":{const[fd,md,vd,Ad,Nd,Id]=pd;od.push(...Z$3(fd,md,vd,Ad,Nd,Id,ud,qa)),ud=[Nd,Id];break}case"Z":od.push(...$$1(ud[0],ud[1],ld[0],ld[1],qa)),ud=[ld[0],ld[1]]}return{type:"path",ops:od}}function I$3(Ra,qa){const nd=[];for(const od of Ra)if(od.length){const ld=qa.maxRandomnessOffset||0,ud=od.length;if(ud>2){nd.push({op:"move",data:[od[0][0]+G$3(ld,qa),od[0][1]+G$3(ld,qa)]});for(let dd=1;dd<ud;dd++)nd.push({op:"lineTo",data:[od[dd][0]+G$3(ld,qa),od[dd][1]+G$3(ld,qa)]})}}return{type:"fillPath",ops:nd}}function C$2(Ra,qa){return function(nd,od){let ld=nd.fillStyle||"hachure";if(!u$1[ld])switch(ld){case"zigzag":u$1[ld]||(u$1[ld]=new h$1(od));break;case"cross-hatch":u$1[ld]||(u$1[ld]=new r$1(od));break;case"dots":u$1[ld]||(u$1[ld]=new i$1(od));break;case"dashed":u$1[ld]||(u$1[ld]=new c$1(od));break;case"zigzag-line":u$1[ld]||(u$1[ld]=new l$1(od));break;default:ld="hachure",u$1[ld]||(u$1[ld]=new o$1(od))}return u$1[ld]}(qa,P$3).fillPolygons(Ra,qa)}function z$2(Ra){const qa=Object.assign({},Ra);return qa.randomizer=void 0,Ra.seed&&(qa.seed=Ra.seed+1),qa}function W$3(Ra){return Ra.randomizer||(Ra.randomizer=new p$1(Ra.seed||0)),Ra.randomizer.next()}function E$3(Ra,qa,nd,od=1){return nd.roughness*od*(W$3(nd)*(qa-Ra)+Ra)}function G$3(Ra,qa,nd=1){return E$3(-Ra,Ra,qa,nd)}function $$1(Ra,qa,nd,od,ld,ud=!1){const dd=ud?ld.disableMultiStrokeFill:ld.disableMultiStroke,pd=R$4(Ra,qa,nd,od,ld,!0,!1);if(dd)return pd;const fd=R$4(Ra,qa,nd,od,ld,!0,!0);return pd.concat(fd)}function R$4(Ra,qa,nd,od,ld,ud,dd){const pd=Math.pow(Ra-nd,2)+Math.pow(qa-od,2),fd=Math.sqrt(pd);let md=1;md=fd<200?1:fd>500?.4:-.0016668*fd+1.233334;let vd=ld.maxRandomnessOffset||0;vd*vd*100>pd&&(vd=fd/10);const Ad=vd/2,Nd=.2+.2*W$3(ld);let Id=ld.bowing*ld.maxRandomnessOffset*(od-qa)/200,Od=ld.bowing*ld.maxRandomnessOffset*(Ra-nd)/200;Id=G$3(Id,ld,md),Od=G$3(Od,ld,md);const Md=[],Ud=()=>G$3(Ad,ld,md),jd=()=>G$3(vd,ld,md),Ld=ld.preserveVertices;return dd?Md.push({op:"move",data:[Ra+(Ld?0:Ud()),qa+(Ld?0:Ud())]}):Md.push({op:"move",data:[Ra+(Ld?0:G$3(vd,ld,md)),qa+(Ld?0:G$3(vd,ld,md))]}),dd?Md.push({op:"bcurveTo",data:[Id+Ra+(nd-Ra)*Nd+Ud(),Od+qa+(od-qa)*Nd+Ud(),Id+Ra+2*(nd-Ra)*Nd+Ud(),Od+qa+2*(od-qa)*Nd+Ud(),nd+(Ld?0:Ud()),od+(Ld?0:Ud())]}):Md.push({op:"bcurveTo",data:[Id+Ra+(nd-Ra)*Nd+jd(),Od+qa+(od-qa)*Nd+jd(),Id+Ra+2*(nd-Ra)*Nd+jd(),Od+qa+2*(od-qa)*Nd+jd(),nd+(Ld?0:jd()),od+(Ld?0:jd())]}),Md}function j$2(Ra,qa,nd){if(!Ra.length)return[];const od=[];od.push([Ra[0][0]+G$3(qa,nd),Ra[0][1]+G$3(qa,nd)]),od.push([Ra[0][0]+G$3(qa,nd),Ra[0][1]+G$3(qa,nd)]);for(let ld=1;ld<Ra.length;ld++)od.push([Ra[ld][0]+G$3(qa,nd),Ra[ld][1]+G$3(qa,nd)]),ld===Ra.length-1&&od.push([Ra[ld][0]+G$3(qa,nd),Ra[ld][1]+G$3(qa,nd)]);return q$3(od,null,nd)}function q$3(Ra,qa,nd){const od=Ra.length,ld=[];if(od>3){const ud=[],dd=1-nd.curveTightness;ld.push({op:"move",data:[Ra[1][0],Ra[1][1]]});for(let pd=1;pd+2<od;pd++){const fd=Ra[pd];ud[0]=[fd[0],fd[1]],ud[1]=[fd[0]+(dd*Ra[pd+1][0]-dd*Ra[pd-1][0])/6,fd[1]+(dd*Ra[pd+1][1]-dd*Ra[pd-1][1])/6],ud[2]=[Ra[pd+1][0]+(dd*Ra[pd][0]-dd*Ra[pd+2][0])/6,Ra[pd+1][1]+(dd*Ra[pd][1]-dd*Ra[pd+2][1])/6],ud[3]=[Ra[pd+1][0],Ra[pd+1][1]],ld.push({op:"bcurveTo",data:[ud[1][0],ud[1][1],ud[2][0],ud[2][1],ud[3][0],ud[3][1]]})}}else od===3?(ld.push({op:"move",data:[Ra[1][0],Ra[1][1]]}),ld.push({op:"bcurveTo",data:[Ra[1][0],Ra[1][1],Ra[2][0],Ra[2][1],Ra[2][0],Ra[2][1]]})):od===2&&ld.push(...R$4(Ra[0][0],Ra[0][1],Ra[1][0],Ra[1][1],nd,!0,!0));return ld}function F$2(Ra,qa,nd,od,ld,ud,dd,pd){const fd=[],md=[];if(pd.roughness===0){Ra/=4,md.push([qa+od*Math.cos(-Ra),nd+ld*Math.sin(-Ra)]);for(let vd=0;vd<=2*Math.PI;vd+=Ra){const Ad=[qa+od*Math.cos(vd),nd+ld*Math.sin(vd)];fd.push(Ad),md.push(Ad)}md.push([qa+od*Math.cos(0),nd+ld*Math.sin(0)]),md.push([qa+od*Math.cos(Ra),nd+ld*Math.sin(Ra)])}else{const vd=G$3(.5,pd)-Math.PI/2;md.push([G$3(ud,pd)+qa+.9*od*Math.cos(vd-Ra),G$3(ud,pd)+nd+.9*ld*Math.sin(vd-Ra)]);const Ad=2*Math.PI+vd-.01;for(let Nd=vd;Nd<Ad;Nd+=Ra){const Id=[G$3(ud,pd)+qa+od*Math.cos(Nd),G$3(ud,pd)+nd+ld*Math.sin(Nd)];fd.push(Id),md.push(Id)}md.push([G$3(ud,pd)+qa+od*Math.cos(vd+2*Math.PI+.5*dd),G$3(ud,pd)+nd+ld*Math.sin(vd+2*Math.PI+.5*dd)]),md.push([G$3(ud,pd)+qa+.98*od*Math.cos(vd+dd),G$3(ud,pd)+nd+.98*ld*Math.sin(vd+dd)]),md.push([G$3(ud,pd)+qa+.9*od*Math.cos(vd+.5*dd),G$3(ud,pd)+nd+.9*ld*Math.sin(vd+.5*dd)])}return[md,fd]}function V$2(Ra,qa,nd,od,ld,ud,dd,pd,fd){const md=ud+G$3(.1,fd),vd=[];vd.push([G$3(pd,fd)+qa+.9*od*Math.cos(md-Ra),G$3(pd,fd)+nd+.9*ld*Math.sin(md-Ra)]);for(let Ad=md;Ad<=dd;Ad+=Ra)vd.push([G$3(pd,fd)+qa+od*Math.cos(Ad),G$3(pd,fd)+nd+ld*Math.sin(Ad)]);return vd.push([qa+od*Math.cos(dd),nd+ld*Math.sin(dd)]),vd.push([qa+od*Math.cos(dd),nd+ld*Math.sin(dd)]),q$3(vd,null,fd)}function Z$3(Ra,qa,nd,od,ld,ud,dd,pd){const fd=[],md=[pd.maxRandomnessOffset||1,(pd.maxRandomnessOffset||1)+.3];let vd=[0,0];const Ad=pd.disableMultiStroke?1:2,Nd=pd.preserveVertices;for(let Id=0;Id<Ad;Id++)Id===0?fd.push({op:"move",data:[dd[0],dd[1]]}):fd.push({op:"move",data:[dd[0]+(Nd?0:G$3(md[0],pd)),dd[1]+(Nd?0:G$3(md[0],pd))]}),vd=Nd?[ld,ud]:[ld+G$3(md[Id],pd),ud+G$3(md[Id],pd)],fd.push({op:"bcurveTo",data:[Ra+G$3(md[Id],pd),qa+G$3(md[Id],pd),nd+G$3(md[Id],pd),od+G$3(md[Id],pd),vd[0],vd[1]]});return fd}function Q$3(Ra){return[...Ra]}function H$3(Ra,qa=0){const nd=Ra.length;if(nd<3)throw new Error("A curve must have at least three points.");const od=[];if(nd===3)od.push(Q$3(Ra[0]),Q$3(Ra[1]),Q$3(Ra[2]),Q$3(Ra[2]));else{const ld=[];ld.push(Ra[0],Ra[0]);for(let pd=1;pd<Ra.length;pd++)ld.push(Ra[pd]),pd===Ra.length-1&&ld.push(Ra[pd]);const ud=[],dd=1-qa;od.push(Q$3(ld[0]));for(let pd=1;pd+2<ld.length;pd++){const fd=ld[pd];ud[0]=[fd[0],fd[1]],ud[1]=[fd[0]+(dd*ld[pd+1][0]-dd*ld[pd-1][0])/6,fd[1]+(dd*ld[pd+1][1]-dd*ld[pd-1][1])/6],ud[2]=[ld[pd+1][0]+(dd*ld[pd][0]-dd*ld[pd+2][0])/6,ld[pd+1][1]+(dd*ld[pd][1]-dd*ld[pd+2][1])/6],ud[3]=[ld[pd+1][0],ld[pd+1][1]],od.push(ud[1],ud[2],ud[3])}}return od}function N$2(Ra,qa){return Math.pow(Ra[0]-qa[0],2)+Math.pow(Ra[1]-qa[1],2)}function B$3(Ra,qa,nd){const od=N$2(qa,nd);if(od===0)return N$2(Ra,qa);let ld=((Ra[0]-qa[0])*(nd[0]-qa[0])+(Ra[1]-qa[1])*(nd[1]-qa[1]))/od;return ld=Math.max(0,Math.min(1,ld)),N$2(Ra,J$3(qa,nd,ld))}function J$3(Ra,qa,nd){return[Ra[0]+(qa[0]-Ra[0])*nd,Ra[1]+(qa[1]-Ra[1])*nd]}function K$3(Ra,qa,nd,od){const ld=od||[];if(function(pd,fd){const md=pd[fd+0],vd=pd[fd+1],Ad=pd[fd+2],Nd=pd[fd+3];let Id=3*vd[0]-2*md[0]-Nd[0];Id*=Id;let Od=3*vd[1]-2*md[1]-Nd[1];Od*=Od;let Md=3*Ad[0]-2*Nd[0]-md[0];Md*=Md;let Ud=3*Ad[1]-2*Nd[1]-md[1];return Ud*=Ud,Id<Md&&(Id=Md),Od<Ud&&(Od=Ud),Id+Od}(Ra,qa)<nd){const pd=Ra[qa+0];ld.length?(ud=ld[ld.length-1],dd=pd,Math.sqrt(N$2(ud,dd))>1&&ld.push(pd)):ld.push(pd),ld.push(Ra[qa+3])}else{const fd=Ra[qa+0],md=Ra[qa+1],vd=Ra[qa+2],Ad=Ra[qa+3],Nd=J$3(fd,md,.5),Id=J$3(md,vd,.5),Od=J$3(vd,Ad,.5),Md=J$3(Nd,Id,.5),Ud=J$3(Id,Od,.5),jd=J$3(Md,Ud,.5);K$3([fd,Nd,Md,jd],0,nd,ld),K$3([jd,Ud,Od,Ad],0,nd,ld)}var ud,dd;return ld}function U$3(Ra,qa){return X$3(Ra,0,Ra.length,qa)}function X$3(Ra,qa,nd,od,ld){const ud=ld||[],dd=Ra[qa],pd=Ra[nd-1];let fd=0,md=1;for(let vd=qa+1;vd<nd-1;++vd){const Ad=B$3(Ra[vd],dd,pd);Ad>fd&&(fd=Ad,md=vd)}return Math.sqrt(fd)>od?(X$3(Ra,qa,md+1,od,ud),X$3(Ra,md,nd,od,ud)):(ud.length||ud.push(dd),ud.push(pd)),ud}function Y$2(Ra,qa=.15,nd){const od=[],ld=(Ra.length-1)/3;for(let ud=0;ud<ld;ud++)K$3(Ra,3*ud,qa,od);return nd&&nd>0?X$3(od,0,od.length,nd):od}const tt$1="none";let et$1=class{constructor(qa){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=qa||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(qa){return qa?Object.assign({},this.defaultOptions,qa):this.defaultOptions}_d(qa,nd,od){return{shape:qa,sets:nd||[],options:od||this.defaultOptions}}line(qa,nd,od,ld,ud){const dd=this._o(ud);return this._d("line",[v$1(qa,nd,od,ld,dd)],dd)}rectangle(qa,nd,od,ld,ud){const dd=this._o(ud),pd=[],fd=O$1(qa,nd,od,ld,dd);if(dd.fill){const md=[[qa,nd],[qa+od,nd],[qa+od,nd+ld],[qa,nd+ld]];dd.fillStyle==="solid"?pd.push(I$3([md],dd)):pd.push(C$2([md],dd))}return dd.stroke!==tt$1&&pd.push(fd),this._d("rectangle",pd,dd)}ellipse(qa,nd,od,ld,ud){const dd=this._o(ud),pd=[],fd=T$2(od,ld,dd),md=D$2(qa,nd,dd,fd);if(dd.fill)if(dd.fillStyle==="solid"){const vd=D$2(qa,nd,dd,fd).opset;vd.type="fillPath",pd.push(vd)}else pd.push(C$2([md.estimatedPoints],dd));return dd.stroke!==tt$1&&pd.push(md.opset),this._d("ellipse",pd,dd)}circle(qa,nd,od,ld){const ud=this.ellipse(qa,nd,od,od,ld);return ud.shape="circle",ud}linearPath(qa,nd){const od=this._o(nd);return this._d("linearPath",[S$1(qa,!1,od)],od)}arc(qa,nd,od,ld,ud,dd,pd=!1,fd){const md=this._o(fd),vd=[],Ad=A$1(qa,nd,od,ld,ud,dd,pd,!0,md);if(pd&&md.fill)if(md.fillStyle==="solid"){const Nd=Object.assign({},md);Nd.disableMultiStroke=!0;const Id=A$1(qa,nd,od,ld,ud,dd,!0,!1,Nd);Id.type="fillPath",vd.push(Id)}else vd.push(function(Nd,Id,Od,Md,Ud,jd,Ld){const Bd=Nd,Gd=Id;let qd=Math.abs(Od/2),zd=Math.abs(Md/2);qd+=G$3(.01*qd,Ld),zd+=G$3(.01*zd,Ld);let Xd=Ud,gf=jd;for(;Xd<0;)Xd+=2*Math.PI,gf+=2*Math.PI;gf-Xd>2*Math.PI&&(Xd=0,gf=2*Math.PI);const Yd=(gf-Xd)/Ld.curveStepCount,Zd=[];for(let df=Xd;df<=gf;df+=Yd)Zd.push([Bd+qd*Math.cos(df),Gd+zd*Math.sin(df)]);return Zd.push([Bd+qd*Math.cos(gf),Gd+zd*Math.sin(gf)]),Zd.push([Bd,Gd]),C$2([Zd],Ld)}(qa,nd,od,ld,ud,dd,md));return md.stroke!==tt$1&&vd.push(Ad),this._d("arc",vd,md)}curve(qa,nd){const od=this._o(nd),ld=[],ud=L$2(qa,od);if(od.fill&&od.fill!==tt$1)if(od.fillStyle==="solid"){const dd=L$2(qa,Object.assign(Object.assign({},od),{disableMultiStroke:!0,roughness:od.roughness?od.roughness+od.fillShapeRoughnessGain:0}));ld.push({type:"fillPath",ops:this._mergedShape(dd.ops)})}else{const dd=[],pd=qa;if(pd.length){const fd=typeof pd[0][0]=="number"?[pd]:pd;for(const md of fd)md.length<3?dd.push(...md):md.length===3?dd.push(...Y$2(H$3([md[0],md[0],md[1],md[2]]),10,(1+od.roughness)/2)):dd.push(...Y$2(H$3(md),10,(1+od.roughness)/2))}dd.length&&ld.push(C$2([dd],od))}return od.stroke!==tt$1&&ld.push(ud),this._d("curve",ld,od)}polygon(qa,nd){const od=this._o(nd),ld=[],ud=S$1(qa,!0,od);return od.fill&&(od.fillStyle==="solid"?ld.push(I$3([qa],od)):ld.push(C$2([qa],od))),od.stroke!==tt$1&&ld.push(ud),this._d("polygon",ld,od)}path(qa,nd){const od=this._o(nd),ld=[];if(!qa)return this._d("path",ld,od);qa=(qa||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const ud=od.fill&&od.fill!=="transparent"&&od.fill!==tt$1,dd=od.stroke!==tt$1,pd=!!(od.simplification&&od.simplification<1),fd=function(vd,Ad,Nd){const Id=m$1(y$1(b$1(vd))),Od=[];let Md=[],Ud=[0,0],jd=[];const Ld=()=>{jd.length>=4&&Md.push(...Y$2(jd,Ad)),jd=[]},Bd=()=>{Ld(),Md.length&&(Od.push(Md),Md=[])};for(const{key:qd,data:zd}of Id)switch(qd){case"M":Bd(),Ud=[zd[0],zd[1]],Md.push(Ud);break;case"L":Ld(),Md.push([zd[0],zd[1]]);break;case"C":if(!jd.length){const Xd=Md.length?Md[Md.length-1]:Ud;jd.push([Xd[0],Xd[1]])}jd.push([zd[0],zd[1]]),jd.push([zd[2],zd[3]]),jd.push([zd[4],zd[5]]);break;case"Z":Ld(),Md.push([Ud[0],Ud[1]])}if(Bd(),!Nd)return Od;const Gd=[];for(const qd of Od){const zd=U$3(qd,Nd);zd.length&&Gd.push(zd)}return Gd}(qa,1,pd?4-4*(od.simplification||1):(1+od.roughness)/2),md=_$2(qa,od);if(ud)if(od.fillStyle==="solid")if(fd.length===1){const vd=_$2(qa,Object.assign(Object.assign({},od),{disableMultiStroke:!0,roughness:od.roughness?od.roughness+od.fillShapeRoughnessGain:0}));ld.push({type:"fillPath",ops:this._mergedShape(vd.ops)})}else ld.push(I$3(fd,od));else ld.push(C$2(fd,od));return dd&&(pd?fd.forEach(vd=>{ld.push(S$1(vd,!1,od))}):ld.push(md)),this._d("path",ld,od)}opsToPath(qa,nd){let od="";for(const ld of qa.ops){const ud=typeof nd=="number"&&nd>=0?ld.data.map(dd=>+dd.toFixed(nd)):ld.data;switch(ld.op){case"move":od+=`M${ud[0]} ${ud[1]} `;break;case"bcurveTo":od+=`C${ud[0]} ${ud[1]}, ${ud[2]} ${ud[3]}, ${ud[4]} ${ud[5]} `;break;case"lineTo":od+=`L${ud[0]} ${ud[1]} `}}return od.trim()}toPaths(qa){const nd=qa.sets||[],od=qa.options||this.defaultOptions,ld=[];for(const ud of nd){let dd=null;switch(ud.type){case"path":dd={d:this.opsToPath(ud),stroke:od.stroke,strokeWidth:od.strokeWidth,fill:tt$1};break;case"fillPath":dd={d:this.opsToPath(ud),stroke:tt$1,strokeWidth:0,fill:od.fill||tt$1};break;case"fillSketch":dd=this.fillSketch(ud,od)}dd&&ld.push(dd)}return ld}fillSketch(qa,nd){let od=nd.fillWeight;return od<0&&(od=nd.strokeWidth/2),{d:this.opsToPath(qa),stroke:nd.fill||tt$1,strokeWidth:od,fill:tt$1}}_mergedShape(qa){return qa.filter((nd,od)=>od===0||nd.op!=="move")}},st$1=class{constructor(qa,nd){this.canvas=qa,this.ctx=this.canvas.getContext("2d"),this.gen=new et$1(nd)}draw(qa){const nd=qa.sets||[],od=qa.options||this.getDefaultOptions(),ld=this.ctx,ud=qa.options.fixedDecimalPlaceDigits;for(const dd of nd)switch(dd.type){case"path":ld.save(),ld.strokeStyle=od.stroke==="none"?"transparent":od.stroke,ld.lineWidth=od.strokeWidth,od.strokeLineDash&&ld.setLineDash(od.strokeLineDash),od.strokeLineDashOffset&&(ld.lineDashOffset=od.strokeLineDashOffset),this._drawToContext(ld,dd,ud),ld.restore();break;case"fillPath":{ld.save(),ld.fillStyle=od.fill||"";const pd=qa.shape==="curve"||qa.shape==="polygon"||qa.shape==="path"?"evenodd":"nonzero";this._drawToContext(ld,dd,ud,pd),ld.restore();break}case"fillSketch":this.fillSketch(ld,dd,od)}}fillSketch(qa,nd,od){let ld=od.fillWeight;ld<0&&(ld=od.strokeWidth/2),qa.save(),od.fillLineDash&&qa.setLineDash(od.fillLineDash),od.fillLineDashOffset&&(qa.lineDashOffset=od.fillLineDashOffset),qa.strokeStyle=od.fill||"",qa.lineWidth=ld,this._drawToContext(qa,nd,od.fixedDecimalPlaceDigits),qa.restore()}_drawToContext(qa,nd,od,ld="nonzero"){qa.beginPath();for(const ud of nd.ops){const dd=typeof od=="number"&&od>=0?ud.data.map(pd=>+pd.toFixed(od)):ud.data;switch(ud.op){case"move":qa.moveTo(dd[0],dd[1]);break;case"bcurveTo":qa.bezierCurveTo(dd[0],dd[1],dd[2],dd[3],dd[4],dd[5]);break;case"lineTo":qa.lineTo(dd[0],dd[1])}}nd.type==="fillPath"?qa.fill(ld):qa.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(qa,nd,od,ld,ud){const dd=this.gen.line(qa,nd,od,ld,ud);return this.draw(dd),dd}rectangle(qa,nd,od,ld,ud){const dd=this.gen.rectangle(qa,nd,od,ld,ud);return this.draw(dd),dd}ellipse(qa,nd,od,ld,ud){const dd=this.gen.ellipse(qa,nd,od,ld,ud);return this.draw(dd),dd}circle(qa,nd,od,ld){const ud=this.gen.circle(qa,nd,od,ld);return this.draw(ud),ud}linearPath(qa,nd){const od=this.gen.linearPath(qa,nd);return this.draw(od),od}polygon(qa,nd){const od=this.gen.polygon(qa,nd);return this.draw(od),od}arc(qa,nd,od,ld,ud,dd,pd=!1,fd){const md=this.gen.arc(qa,nd,od,ld,ud,dd,pd,fd);return this.draw(md),md}curve(qa,nd){const od=this.gen.curve(qa,nd);return this.draw(od),od}path(qa,nd){const od=this.gen.path(qa,nd);return this.draw(od),od}};const nt$1="http://www.w3.org/2000/svg";let ot$1=class{constructor(qa,nd){this.svg=qa,this.gen=new et$1(nd)}draw(qa){const nd=qa.sets||[],od=qa.options||this.getDefaultOptions(),ld=this.svg.ownerDocument||window.document,ud=ld.createElementNS(nt$1,"g"),dd=qa.options.fixedDecimalPlaceDigits;for(const pd of nd){let fd=null;switch(pd.type){case"path":fd=ld.createElementNS(nt$1,"path"),fd.setAttribute("d",this.opsToPath(pd,dd)),fd.setAttribute("stroke",od.stroke),fd.setAttribute("stroke-width",od.strokeWidth+""),fd.setAttribute("fill","none"),od.strokeLineDash&&fd.setAttribute("stroke-dasharray",od.strokeLineDash.join(" ").trim()),od.strokeLineDashOffset&&fd.setAttribute("stroke-dashoffset",`${od.strokeLineDashOffset}`);break;case"fillPath":fd=ld.createElementNS(nt$1,"path"),fd.setAttribute("d",this.opsToPath(pd,dd)),fd.setAttribute("stroke","none"),fd.setAttribute("stroke-width","0"),fd.setAttribute("fill",od.fill||""),qa.shape!=="curve"&&qa.shape!=="polygon"||fd.setAttribute("fill-rule","evenodd");break;case"fillSketch":fd=this.fillSketch(ld,pd,od)}fd&&ud.appendChild(fd)}return ud}fillSketch(qa,nd,od){let ld=od.fillWeight;ld<0&&(ld=od.strokeWidth/2);const ud=qa.createElementNS(nt$1,"path");return ud.setAttribute("d",this.opsToPath(nd,od.fixedDecimalPlaceDigits)),ud.setAttribute("stroke",od.fill||""),ud.setAttribute("stroke-width",ld+""),ud.setAttribute("fill","none"),od.fillLineDash&&ud.setAttribute("stroke-dasharray",od.fillLineDash.join(" ").trim()),od.fillLineDashOffset&&ud.setAttribute("stroke-dashoffset",`${od.fillLineDashOffset}`),ud}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(qa,nd){return this.gen.opsToPath(qa,nd)}line(qa,nd,od,ld,ud){const dd=this.gen.line(qa,nd,od,ld,ud);return this.draw(dd)}rectangle(qa,nd,od,ld,ud){const dd=this.gen.rectangle(qa,nd,od,ld,ud);return this.draw(dd)}ellipse(qa,nd,od,ld,ud){const dd=this.gen.ellipse(qa,nd,od,ld,ud);return this.draw(dd)}circle(qa,nd,od,ld){const ud=this.gen.circle(qa,nd,od,ld);return this.draw(ud)}linearPath(qa,nd){const od=this.gen.linearPath(qa,nd);return this.draw(od)}polygon(qa,nd){const od=this.gen.polygon(qa,nd);return this.draw(od)}arc(qa,nd,od,ld,ud,dd,pd=!1,fd){const md=this.gen.arc(qa,nd,od,ld,ud,dd,pd,fd);return this.draw(md)}curve(qa,nd){const od=this.gen.curve(qa,nd);return this.draw(od)}path(qa,nd){const od=this.gen.path(qa,nd);return this.draw(od)}};var at$3={canvas:(Ra,qa)=>new st$1(Ra,qa),svg:(Ra,qa)=>new ot$1(Ra,qa),generator:Ra=>new et$1(Ra),newSeed:()=>et$1.newSeed()},labelHelper=__name(async(Ra,qa,nd)=>{var Ad,Nd;let od;const ld=qa.useHtmlLabels||evaluate((Ad=getConfig2())==null?void 0:Ad.htmlLabels);nd?od=nd:od="node default";const ud=Ra.insert("g").attr("class",od).attr("id",qa.domId||qa.id),dd=ud.insert("g").attr("class","label").attr("style",handleUndefinedAttr(qa.labelStyle));let pd;qa.label===void 0?pd="":pd=typeof qa.label=="string"?qa.label:qa.label[0];const fd=await createText(dd,sanitizeText(decodeEntities(pd),getConfig2()),{useHtmlLabels:ld,width:qa.width||((Nd=getConfig2().flowchart)==null?void 0:Nd.wrappingWidth),cssClasses:"markdown-node-label",style:qa.labelStyle,addSvgBackground:!!qa.icon||!!qa.img});let md=fd.getBBox();const vd=((qa==null?void 0:qa.padding)??0)/2;if(ld){const Id=fd.children[0],Od=select(fd),Md=Id.getElementsByTagName("img");if(Md){const Ud=pd.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...Md].map(jd=>new Promise(Ld=>{function Bd(){if(jd.style.display="flex",jd.style.flexDirection="column",Ud){const Gd=getConfig2().fontSize?getConfig2().fontSize:window.getComputedStyle(document.body).fontSize,qd=5,[zd=defaultConfig_default.fontSize]=parseFontSize(Gd),Xd=zd*qd+"px";jd.style.minWidth=Xd,jd.style.maxWidth=Xd}else jd.style.width="100%";Ld(jd)}__name(Bd,"setupImage"),setTimeout(()=>{jd.complete&&Bd()}),jd.addEventListener("error",Bd),jd.addEventListener("load",Bd)})))}md=Id.getBoundingClientRect(),Od.attr("width",md.width),Od.attr("height",md.height)}return ld?dd.attr("transform","translate("+-md.width/2+", "+-md.height/2+")"):dd.attr("transform","translate(0, "+-md.height/2+")"),qa.centerLabel&&dd.attr("transform","translate("+-md.width/2+", "+-md.height/2+")"),dd.insert("rect",":first-child"),{shapeSvg:ud,bbox:md,halfPadding:vd,label:dd}},"labelHelper"),insertLabel=__name(async(Ra,qa,nd)=>{var fd,md,vd,Ad,Nd,Id;const od=nd.useHtmlLabels||evaluate((md=(fd=getConfig2())==null?void 0:fd.flowchart)==null?void 0:md.htmlLabels),ld=Ra.insert("g").attr("class","label").attr("style",nd.labelStyle||""),ud=await createText(ld,sanitizeText(decodeEntities(qa),getConfig2()),{useHtmlLabels:od,width:nd.width||((Ad=(vd=getConfig2())==null?void 0:vd.flowchart)==null?void 0:Ad.wrappingWidth),style:nd.labelStyle,addSvgBackground:!!nd.icon||!!nd.img});let dd=ud.getBBox();const pd=nd.padding/2;if(evaluate((Id=(Nd=getConfig2())==null?void 0:Nd.flowchart)==null?void 0:Id.htmlLabels)){const Od=ud.children[0],Md=select(ud);dd=Od.getBoundingClientRect(),Md.attr("width",dd.width),Md.attr("height",dd.height)}return od?ld.attr("transform","translate("+-dd.width/2+", "+-dd.height/2+")"):ld.attr("transform","translate(0, "+-dd.height/2+")"),nd.centerLabel&&ld.attr("transform","translate("+-dd.width/2+", "+-dd.height/2+")"),ld.insert("rect",":first-child"),{shapeSvg:Ra,bbox:dd,halfPadding:pd,label:ld}},"insertLabel"),updateNodeBounds=__name((Ra,qa)=>{const nd=qa.node().getBBox();Ra.width=nd.width,Ra.height=nd.height},"updateNodeBounds"),getNodeClasses=__name((Ra,qa)=>(Ra.look==="handDrawn"?"rough-node":"node")+" "+Ra.cssClasses+" "+(qa||""),"getNodeClasses");function createPathFromPoints(Ra){const qa=Ra.map((nd,od)=>`${od===0?"M":"L"}${nd.x},${nd.y}`);return qa.push("Z"),qa.join(" ")}__name(createPathFromPoints,"createPathFromPoints");function generateFullSineWavePoints(Ra,qa,nd,od,ld,ud){const dd=[],fd=nd-Ra,md=od-qa,vd=fd/ud,Ad=2*Math.PI/vd,Nd=qa+md/2;for(let Id=0;Id<=50;Id++){const Od=Id/50,Md=Ra+Od*fd,Ud=Nd+ld*Math.sin(Ad*(Md-Ra));dd.push({x:Md,y:Ud})}return dd}__name(generateFullSineWavePoints,"generateFullSineWavePoints");function generateCirclePoints(Ra,qa,nd,od,ld,ud){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Id=Ra+nd*Math.cos(Nd),Od=qa+nd*Math.sin(Nd);dd.push({x:-Id,y:-Od})}return dd}__name(generateCirclePoints,"generateCirclePoints");var intersectRect=__name((Ra,qa)=>{var nd=Ra.x,od=Ra.y,ld=qa.x-nd,ud=qa.y-od,dd=Ra.width/2,pd=Ra.height/2,fd,md;return Math.abs(ud)*dd>Math.abs(ld)*pd?(ud<0&&(pd=-pd),fd=ud===0?0:pd*ld/ud,md=pd):(ld<0&&(dd=-dd),fd=dd,md=ld===0?0:dd*ud/ld),{x:nd+fd,y:od+md}},"intersectRect"),intersect_rect_default=intersectRect;function applyStyle(Ra,qa){qa&&Ra.attr("style",qa)}__name(applyStyle,"applyStyle");async function addHtmlLabel(Ra){const qa=select(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),nd=qa.append("xhtml:div");let od=Ra.label;Ra.label&&hasKatex(Ra.label)&&(od=await renderKatex(Ra.label.replace(common_default.lineBreakRegex,`
|
||
`),getConfig2()));const ld=Ra.isNode?"nodeLabel":"edgeLabel";return nd.html('<span class="'+ld+'" '+(Ra.labelStyle?'style="'+Ra.labelStyle+'"':"")+">"+od+"</span>"),applyStyle(nd,Ra.labelStyle),nd.style("display","inline-block"),nd.style("padding-right","1px"),nd.style("white-space","nowrap"),nd.attr("xmlns","http://www.w3.org/1999/xhtml"),qa.node()}__name(addHtmlLabel,"addHtmlLabel");var createLabel=__name(async(Ra,qa,nd,od)=>{let ld=Ra||"";if(typeof ld=="object"&&(ld=ld[0]),evaluate(getConfig2().flowchart.htmlLabels)){ld=ld.replace(/\\n|\n/g,"<br />"),log$1.info("vertexText"+ld);const ud={isNode:od,label:decodeEntities(ld).replace(/fa[blrs]?:fa-[\w-]+/g,pd=>`<i class='${pd.replace(":"," ")}'></i>`),labelStyle:qa&&qa.replace("fill:","color:")};return await addHtmlLabel(ud)}else{const ud=document.createElementNS("http://www.w3.org/2000/svg","text");ud.setAttribute("style",qa.replace("color:","fill:"));let dd=[];typeof ld=="string"?dd=ld.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(ld)?dd=ld:dd=[];for(const pd of dd){const fd=document.createElementNS("http://www.w3.org/2000/svg","tspan");fd.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),fd.setAttribute("dy","1em"),fd.setAttribute("x","0"),nd?fd.setAttribute("class","title-row"):fd.setAttribute("class","row"),fd.textContent=pd.trim(),ud.appendChild(fd)}return ud}},"createLabel"),createLabel_default=createLabel,createRoundedRectPathD=__name((Ra,qa,nd,od,ld)=>["M",Ra+ld,qa,"H",Ra+nd-ld,"A",ld,ld,0,0,1,Ra+nd,qa+ld,"V",qa+od-ld,"A",ld,ld,0,0,1,Ra+nd-ld,qa+od,"H",Ra+ld,"A",ld,ld,0,0,1,Ra,qa+od-ld,"V",qa+ld,"A",ld,ld,0,0,1,Ra+ld,qa,"Z"].join(" "),"createRoundedRectPathD"),solidStateFill=__name(Ra=>{const{handDrawnSeed:qa}=getConfig2();return{fill:Ra,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:Ra,seed:qa}},"solidStateFill"),compileStyles=__name(Ra=>{const qa=styles2Map([...Ra.cssCompiledStyles||[],...Ra.cssStyles||[]]);return{stylesMap:qa,stylesArray:[...qa]}},"compileStyles"),styles2Map=__name(Ra=>{const qa=new Map;return Ra.forEach(nd=>{const[od,ld]=nd.split(":");qa.set(od.trim(),ld==null?void 0:ld.trim())}),qa},"styles2Map"),styles2String=__name(Ra=>{const{stylesArray:qa}=compileStyles(Ra),nd=[],od=[],ld=[],ud=[];return qa.forEach(dd=>{const pd=dd[0];pd==="color"||pd==="font-size"||pd==="font-family"||pd==="font-weight"||pd==="font-style"||pd==="text-decoration"||pd==="text-align"||pd==="text-transform"||pd==="line-height"||pd==="letter-spacing"||pd==="word-spacing"||pd==="text-shadow"||pd==="text-overflow"||pd==="white-space"||pd==="word-wrap"||pd==="word-break"||pd==="overflow-wrap"||pd==="hyphens"?nd.push(dd.join(":")+" !important"):(od.push(dd.join(":")+" !important"),pd.includes("stroke")&&ld.push(dd.join(":")+" !important"),pd==="fill"&&ud.push(dd.join(":")+" !important"))}),{labelStyles:nd.join(";"),nodeStyles:od.join(";"),stylesArray:qa,borderStyles:ld,backgroundStyles:ud}},"styles2String"),userNodeOverrides=__name((Ra,qa)=>{var fd;const{themeVariables:nd,handDrawnSeed:od}=getConfig2(),{nodeBorder:ld,mainBkg:ud}=nd,{stylesMap:dd}=compileStyles(Ra);return Object.assign({roughness:.7,fill:dd.get("fill")||ud,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:dd.get("stroke")||ld,seed:od,strokeWidth:((fd=dd.get("stroke-width"))==null?void 0:fd.replace("px",""))||1.3,fillLineDash:[0,0]},qa)},"userNodeOverrides"),rect=__name(async(Ra,qa)=>{log$1.info("Creating subgraph rect for ",qa.id,qa);const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{clusterBkg:ud,clusterBorder:dd}=od,{labelStyles:pd,nodeStyles:fd,borderStyles:md,backgroundStyles:vd}=styles2String(qa),Ad=Ra.insert("g").attr("class","cluster "+qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),Nd=evaluate(nd.flowchart.htmlLabels),Id=Ad.insert("g").attr("class","cluster-label "),Od=await createText(Id,qa.label,{style:qa.labelStyle,useHtmlLabels:Nd,isNode:!0});let Md=Od.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Xd=Od.children[0],gf=select(Od);Md=Xd.getBoundingClientRect(),gf.attr("width",Md.width),gf.attr("height",Md.height)}const Ud=qa.width<=Md.width+qa.padding?Md.width+qa.padding:qa.width;qa.width<=Md.width+qa.padding?qa.diff=(Ud-qa.width)/2-qa.padding:qa.diff=-qa.padding;const jd=qa.height,Ld=qa.x-Ud/2,Bd=qa.y-jd/2;log$1.trace("Data ",qa,JSON.stringify(qa));let Gd;if(qa.look==="handDrawn"){const Xd=at$3.svg(Ad),gf=userNodeOverrides(qa,{roughness:.7,fill:ud,stroke:dd,fillWeight:3,seed:ld}),Yd=Xd.path(createRoundedRectPathD(Ld,Bd,Ud,jd,0),gf);Gd=Ad.insert(()=>(log$1.debug("Rough node insert CXC",Yd),Yd),":first-child"),Gd.select("path:nth-child(2)").attr("style",md.join(";")),Gd.select("path").attr("style",vd.join(";").replace("fill","stroke"))}else Gd=Ad.insert("rect",":first-child"),Gd.attr("style",fd).attr("rx",qa.rx).attr("ry",qa.ry).attr("x",Ld).attr("y",Bd).attr("width",Ud).attr("height",jd);const{subGraphTitleTopMargin:qd}=getSubGraphTitleMargins(nd);if(Id.attr("transform",`translate(${qa.x-Md.width/2}, ${qa.y-qa.height/2+qd})`),pd){const Xd=Id.select("span");Xd&&Xd.attr("style",pd)}const zd=Gd.node().getBBox();return qa.offsetX=0,qa.width=zd.width,qa.height=zd.height,qa.offsetY=Md.height-qa.padding/2,qa.intersect=function(Xd){return intersect_rect_default(qa,Xd)},{cluster:Ad,labelBBox:Md}},"rect"),noteGroup=__name((Ra,qa)=>{const nd=Ra.insert("g").attr("class","note-cluster").attr("id",qa.id),od=nd.insert("rect",":first-child"),ld=0*qa.padding,ud=ld/2;od.attr("rx",qa.rx).attr("ry",qa.ry).attr("x",qa.x-qa.width/2-ud).attr("y",qa.y-qa.height/2-ud).attr("width",qa.width+ld).attr("height",qa.height+ld).attr("fill","none");const dd=od.node().getBBox();return qa.width=dd.width,qa.height=dd.height,qa.intersect=function(pd){return intersect_rect_default(qa,pd)},{cluster:nd,labelBBox:{width:0,height:0}}},"noteGroup"),roundedWithTitle=__name(async(Ra,qa)=>{const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{altBackground:ud,compositeBackground:dd,compositeTitleBackground:pd,nodeBorder:fd}=od,md=Ra.insert("g").attr("class",qa.cssClasses).attr("id",qa.id).attr("data-id",qa.id).attr("data-look",qa.look),vd=md.insert("g",":first-child"),Ad=md.insert("g").attr("class","cluster-label");let Nd=md.append("rect");const Id=Ad.node().appendChild(await createLabel_default(qa.label,qa.labelStyle,void 0,!0));let Od=Id.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Yd=Id.children[0],Zd=select(Id);Od=Yd.getBoundingClientRect(),Zd.attr("width",Od.width),Zd.attr("height",Od.height)}const Md=0*qa.padding,Ud=Md/2,jd=(qa.width<=Od.width+qa.padding?Od.width+qa.padding:qa.width)+Md;qa.width<=Od.width+qa.padding?qa.diff=(jd-qa.width)/2-qa.padding:qa.diff=-qa.padding;const Ld=qa.height+Md,Bd=qa.height+Md-Od.height-6,Gd=qa.x-jd/2,qd=qa.y-Ld/2;qa.width=jd;const zd=qa.y-qa.height/2-Ud+Od.height+2;let Xd;if(qa.look==="handDrawn"){const Yd=qa.cssClasses.includes("statediagram-cluster-alt"),Zd=at$3.svg(md),df=qa.rx||qa.ry?Zd.path(createRoundedRectPathD(Gd,qd,jd,Ld,10),{roughness:.7,fill:pd,fillStyle:"solid",stroke:fd,seed:ld}):Zd.rectangle(Gd,qd,jd,Ld,{seed:ld});Xd=md.insert(()=>df,":first-child");const Ef=Zd.rectangle(Gd,zd,jd,Bd,{fill:Yd?ud:dd,fillStyle:Yd?"hachure":"solid",stroke:fd,seed:ld});Xd=md.insert(()=>df,":first-child"),Nd=md.insert(()=>Ef)}else Xd=vd.insert("rect",":first-child"),Xd.attr("class","outer").attr("x",Gd).attr("y",qd).attr("width",jd).attr("height",Ld).attr("data-look",qa.look),Nd.attr("class","inner").attr("x",Gd).attr("y",zd).attr("width",jd).attr("height",Bd);Ad.attr("transform",`translate(${qa.x-Od.width/2}, ${qd+1-(evaluate(nd.flowchart.htmlLabels)?0:3)})`);const gf=Xd.node().getBBox();return qa.height=gf.height,qa.offsetX=0,qa.offsetY=Od.height-qa.padding/2,qa.labelBBox=Od,qa.intersect=function(Yd){return intersect_rect_default(qa,Yd)},{cluster:md,labelBBox:Od}},"roundedWithTitle"),kanbanSection=__name(async(Ra,qa)=>{log$1.info("Creating subgraph rect for ",qa.id,qa);const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{clusterBkg:ud,clusterBorder:dd}=od,{labelStyles:pd,nodeStyles:fd,borderStyles:md,backgroundStyles:vd}=styles2String(qa),Ad=Ra.insert("g").attr("class","cluster "+qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),Nd=evaluate(nd.flowchart.htmlLabels),Id=Ad.insert("g").attr("class","cluster-label "),Od=await createText(Id,qa.label,{style:qa.labelStyle,useHtmlLabels:Nd,isNode:!0,width:qa.width});let Md=Od.getBBox();if(evaluate(nd.flowchart.htmlLabels)){const Xd=Od.children[0],gf=select(Od);Md=Xd.getBoundingClientRect(),gf.attr("width",Md.width),gf.attr("height",Md.height)}const Ud=qa.width<=Md.width+qa.padding?Md.width+qa.padding:qa.width;qa.width<=Md.width+qa.padding?qa.diff=(Ud-qa.width)/2-qa.padding:qa.diff=-qa.padding;const jd=qa.height,Ld=qa.x-Ud/2,Bd=qa.y-jd/2;log$1.trace("Data ",qa,JSON.stringify(qa));let Gd;if(qa.look==="handDrawn"){const Xd=at$3.svg(Ad),gf=userNodeOverrides(qa,{roughness:.7,fill:ud,stroke:dd,fillWeight:4,seed:ld}),Yd=Xd.path(createRoundedRectPathD(Ld,Bd,Ud,jd,qa.rx),gf);Gd=Ad.insert(()=>(log$1.debug("Rough node insert CXC",Yd),Yd),":first-child"),Gd.select("path:nth-child(2)").attr("style",md.join(";")),Gd.select("path").attr("style",vd.join(";").replace("fill","stroke"))}else Gd=Ad.insert("rect",":first-child"),Gd.attr("style",fd).attr("rx",qa.rx).attr("ry",qa.ry).attr("x",Ld).attr("y",Bd).attr("width",Ud).attr("height",jd);const{subGraphTitleTopMargin:qd}=getSubGraphTitleMargins(nd);if(Id.attr("transform",`translate(${qa.x-Md.width/2}, ${qa.y-qa.height/2+qd})`),pd){const Xd=Id.select("span");Xd&&Xd.attr("style",pd)}const zd=Gd.node().getBBox();return qa.offsetX=0,qa.width=zd.width,qa.height=zd.height,qa.offsetY=Md.height-qa.padding/2,qa.intersect=function(Xd){return intersect_rect_default(qa,Xd)},{cluster:Ad,labelBBox:Md}},"kanbanSection"),divider=__name((Ra,qa)=>{const nd=getConfig2(),{themeVariables:od,handDrawnSeed:ld}=nd,{nodeBorder:ud}=od,dd=Ra.insert("g").attr("class",qa.cssClasses).attr("id",qa.id).attr("data-look",qa.look),pd=dd.insert("g",":first-child"),fd=0*qa.padding,md=qa.width+fd;qa.diff=-qa.padding;const vd=qa.height+fd,Ad=qa.x-md/2,Nd=qa.y-vd/2;qa.width=md;let Id;if(qa.look==="handDrawn"){const Ud=at$3.svg(dd).rectangle(Ad,Nd,md,vd,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:ud,seed:ld});Id=dd.insert(()=>Ud,":first-child")}else Id=pd.insert("rect",":first-child"),Id.attr("class","divider").attr("x",Ad).attr("y",Nd).attr("width",md).attr("height",vd).attr("data-look",qa.look);const Od=Id.node().getBBox();return qa.height=Od.height,qa.offsetX=0,qa.offsetY=0,qa.intersect=function(Md){return intersect_rect_default(qa,Md)},{cluster:dd,labelBBox:{}}},"divider"),squareRect=rect,shapes={rect,squareRect,roundedWithTitle,noteGroup,divider,kanbanSection},clusterElems=new Map,insertCluster=__name(async(Ra,qa)=>{const nd=qa.shape||"rect",od=await shapes[nd](Ra,qa);return clusterElems.set(qa.id,od),od},"insertCluster"),clear$1=__name(()=>{clusterElems=new Map},"clear");function intersectNode(Ra,qa){return Ra.intersect(qa)}__name(intersectNode,"intersectNode");var intersect_node_default=intersectNode;function intersectEllipse(Ra,qa,nd,od){var ld=Ra.x,ud=Ra.y,dd=ld-od.x,pd=ud-od.y,fd=Math.sqrt(qa*qa*pd*pd+nd*nd*dd*dd),md=Math.abs(qa*nd*dd/fd);od.x<ld&&(md=-md);var vd=Math.abs(qa*nd*pd/fd);return od.y<ud&&(vd=-vd),{x:ld+md,y:ud+vd}}__name(intersectEllipse,"intersectEllipse");var intersect_ellipse_default=intersectEllipse;function intersectCircle(Ra,qa,nd){return intersect_ellipse_default(Ra,qa,qa,nd)}__name(intersectCircle,"intersectCircle");var intersect_circle_default=intersectCircle;function intersectLine(Ra,qa,nd,od){var ld,ud,dd,pd,fd,md,vd,Ad,Nd,Id,Od,Md,Ud,jd,Ld;if(ld=qa.y-Ra.y,dd=Ra.x-qa.x,fd=qa.x*Ra.y-Ra.x*qa.y,Nd=ld*nd.x+dd*nd.y+fd,Id=ld*od.x+dd*od.y+fd,!(Nd!==0&&Id!==0&&sameSign(Nd,Id))&&(ud=od.y-nd.y,pd=nd.x-od.x,md=od.x*nd.y-nd.x*od.y,vd=ud*Ra.x+pd*Ra.y+md,Ad=ud*qa.x+pd*qa.y+md,!(vd!==0&&Ad!==0&&sameSign(vd,Ad))&&(Od=ld*pd-ud*dd,Od!==0)))return Md=Math.abs(Od/2),Ud=dd*md-pd*fd,jd=Ud<0?(Ud-Md)/Od:(Ud+Md)/Od,Ud=ud*fd-ld*md,Ld=Ud<0?(Ud-Md)/Od:(Ud+Md)/Od,{x:jd,y:Ld}}__name(intersectLine,"intersectLine");function sameSign(Ra,qa){return Ra*qa>0}__name(sameSign,"sameSign");var intersect_line_default=intersectLine;function intersectPolygon(Ra,qa,nd){let od=Ra.x,ld=Ra.y,ud=[],dd=Number.POSITIVE_INFINITY,pd=Number.POSITIVE_INFINITY;typeof qa.forEach=="function"?qa.forEach(function(vd){dd=Math.min(dd,vd.x),pd=Math.min(pd,vd.y)}):(dd=Math.min(dd,qa.x),pd=Math.min(pd,qa.y));let fd=od-Ra.width/2-dd,md=ld-Ra.height/2-pd;for(let vd=0;vd<qa.length;vd++){let Ad=qa[vd],Nd=qa[vd<qa.length-1?vd+1:0],Id=intersect_line_default(Ra,nd,{x:fd+Ad.x,y:md+Ad.y},{x:fd+Nd.x,y:md+Nd.y});Id&&ud.push(Id)}return ud.length?(ud.length>1&&ud.sort(function(vd,Ad){let Nd=vd.x-nd.x,Id=vd.y-nd.y,Od=Math.sqrt(Nd*Nd+Id*Id),Md=Ad.x-nd.x,Ud=Ad.y-nd.y,jd=Math.sqrt(Md*Md+Ud*Ud);return Od<jd?-1:Od===jd?0:1}),ud[0]):Ra}__name(intersectPolygon,"intersectPolygon");var intersect_polygon_default=intersectPolygon,intersect_default={node:intersect_node_default,circle:intersect_circle_default,ellipse:intersect_ellipse_default,polygon:intersect_polygon_default,rect:intersect_rect_default};function anchor(Ra,qa){const{labelStyles:nd}=styles2String(qa);qa.labelStyle=nd;const od=getNodeClasses(qa);let ld=od;od||(ld="anchor");const ud=Ra.insert("g").attr("class",ld).attr("id",qa.domId||qa.id),dd=1,{cssStyles:pd}=qa,fd=at$3.svg(ud),md=userNodeOverrides(qa,{fill:"black",stroke:"none",fillStyle:"solid"});qa.look!=="handDrawn"&&(md.roughness=0);const vd=fd.circle(0,0,dd*2,md),Ad=ud.insert(()=>vd,":first-child");return Ad.attr("class","anchor").attr("style",handleUndefinedAttr(pd)),updateNodeBounds(qa,Ad),qa.intersect=function(Nd){return log$1.info("Circle intersect",qa,dd,Nd),intersect_default.circle(qa,dd,Nd)},ud}__name(anchor,"anchor");function generateArcPoints(Ra,qa,nd,od,ld,ud,dd){const fd=(Ra+nd)/2,md=(qa+od)/2,vd=Math.atan2(od-qa,nd-Ra),Ad=(nd-Ra)/2,Nd=(od-qa)/2,Id=Ad/ld,Od=Nd/ud,Md=Math.sqrt(Id**2+Od**2);if(Md>1)throw new Error("The given radii are too small to create an arc between the points.");const Ud=Math.sqrt(1-Md**2),jd=fd+Ud*ud*Math.sin(vd)*(dd?-1:1),Ld=md-Ud*ld*Math.cos(vd)*(dd?-1:1),Bd=Math.atan2((qa-Ld)/ud,(Ra-jd)/ld);let qd=Math.atan2((od-Ld)/ud,(nd-jd)/ld)-Bd;dd&&qd<0&&(qd+=2*Math.PI),!dd&&qd>0&&(qd-=2*Math.PI);const zd=[];for(let Xd=0;Xd<20;Xd++){const gf=Xd/19,Yd=Bd+gf*qd,Zd=jd+ld*Math.cos(Yd),df=Ld+ud*Math.sin(Yd);zd.push({x:Zd,y:df})}return zd}__name(generateArcPoints,"generateArcPoints");async function bowTieRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+qa.padding+20,pd=ud.height+qa.padding,fd=pd/2,md=fd/(2.5+pd/50),{cssStyles:vd}=qa,Ad=[{x:dd/2,y:-pd/2},{x:-dd/2,y:-pd/2},...generateArcPoints(-dd/2,-pd/2,-dd/2,pd/2,md,fd,!1),{x:dd/2,y:pd/2},...generateArcPoints(dd/2,pd/2,dd/2,-pd/2,md,fd,!0)],Nd=at$3.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Od=createPathFromPoints(Ad),Md=Nd.path(Od,Id),Ud=ld.insert(()=>Md,":first-child");return Ud.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Ud.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Ud.selectAll("path").attr("style",od),Ud.attr("transform",`translate(${md/2}, 0)`),updateNodeBounds(qa,Ud),qa.intersect=function(jd){return intersect_default.polygon(qa,Ad,jd)},ld}__name(bowTieRect,"bowTieRect");function insertPolygonShape(Ra,qa,nd,od){return Ra.insert("polygon",":first-child").attr("points",od.map(function(ld){return ld.x+","+ld.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-qa/2+","+nd/2+")")}__name(insertPolygonShape,"insertPolygonShape");async function card(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.height+qa.padding,pd=12,fd=ud.width+qa.padding+pd,md=0,vd=fd,Ad=-dd,Nd=0,Id=[{x:md+pd,y:Ad},{x:vd,y:Ad},{x:vd,y:Nd},{x:md,y:Nd},{x:md,y:Ad+pd},{x:md+pd,y:Ad}];let Od;const{cssStyles:Md}=qa;if(qa.look==="handDrawn"){const Ud=at$3.svg(ld),jd=userNodeOverrides(qa,{}),Ld=createPathFromPoints(Id),Bd=Ud.path(Ld,jd);Od=ld.insert(()=>Bd,":first-child").attr("transform",`translate(${-fd/2}, ${dd/2})`),Md&&Od.attr("style",Md)}else Od=insertPolygonShape(ld,fd,dd,Id);return od&&Od.attr("style",od),updateNodeBounds(qa,Od),qa.intersect=function(Ud){return intersect_default.polygon(qa,Id,Ud)},ld}__name(card,"card");function choice(Ra,qa){const{nodeStyles:nd}=styles2String(qa);qa.label="";const od=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),{cssStyles:ld}=qa,ud=Math.max(28,qa.width??0),dd=[{x:0,y:ud/2},{x:ud/2,y:0},{x:0,y:-ud/2},{x:-ud/2,y:0}],pd=at$3.svg(od),fd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(fd.roughness=0,fd.fillStyle="solid");const md=createPathFromPoints(dd),vd=pd.path(md,fd),Ad=od.insert(()=>vd,":first-child");return ld&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",ld),nd&&qa.look!=="handDrawn"&&Ad.selectAll("path").attr("style",nd),qa.width=28,qa.height=28,qa.intersect=function(Nd){return intersect_default.polygon(qa,dd,Nd)},od}__name(choice,"choice");async function circle$1(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,halfPadding:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width/2+dd;let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$3.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=vd.circle(0,0,pd*2,Ad);fd=ld.insert(()=>Nd,":first-child"),fd.attr("class","basic label-container").attr("style",handleUndefinedAttr(md))}else fd=ld.insert("circle",":first-child").attr("class","basic label-container").attr("style",od).attr("r",pd).attr("cx",0).attr("cy",0);return updateNodeBounds(qa,fd),qa.intersect=function(vd){return log$1.info("Circle intersect",qa,pd,vd),intersect_default.circle(qa,pd,vd)},ld}__name(circle$1,"circle");function createLine(Ra){const qa=Math.cos(Math.PI/4),nd=Math.sin(Math.PI/4),od=Ra*2,ld={x:od/2*qa,y:od/2*nd},ud={x:-(od/2)*qa,y:od/2*nd},dd={x:-(od/2)*qa,y:-(od/2)*nd},pd={x:od/2*qa,y:-(od/2)*nd};return`M ${ud.x},${ud.y} L ${pd.x},${pd.y}
|
||
M ${ld.x},${ld.y} L ${dd.x},${dd.y}`}__name(createLine,"createLine");function crossedCircle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd,qa.label="";const ld=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),ud=Math.max(30,(qa==null?void 0:qa.width)??0),{cssStyles:dd}=qa,pd=at$3.svg(ld),fd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(fd.roughness=0,fd.fillStyle="solid");const md=pd.circle(0,0,ud*2,fd),vd=createLine(ud),Ad=pd.path(vd,fd),Nd=ld.insert(()=>md,":first-child");return Nd.insert(()=>Ad),dd&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",dd),od&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",od),updateNodeBounds(qa,Nd),qa.intersect=function(Id){return log$1.info("crossedCircle intersect",qa,{radius:ud,point:Id}),intersect_default.circle(qa,ud,Id)},ld}__name(crossedCircle,"crossedCircle");function generateCirclePoints2(Ra,qa,nd,od=100,ld=0,ud=180){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Id=Ra+nd*Math.cos(Nd),Od=qa+nd*Math.sin(Nd);dd.push({x:-Id,y:-Od})}return dd}__name(generateCirclePoints2,"generateCirclePoints");async function curlyBraceLeft(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=ud.height+(qa.padding??0),md=Math.max(5,fd*.1),{cssStyles:vd}=qa,Ad=[...generateCirclePoints2(pd/2,-fd/2,md,30,-90,0),{x:-pd/2-md,y:md},...generateCirclePoints2(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints2(pd/2+md*2,md,md,20,-90,-180),{x:-pd/2-md,y:-fd/2},...generateCirclePoints2(pd/2,fd/2,md,20,0,90)],Nd=[{x:pd/2,y:-fd/2-md},{x:-pd/2,y:-fd/2-md},...generateCirclePoints2(pd/2,-fd/2,md,20,-90,0),{x:-pd/2-md,y:-md},...generateCirclePoints2(pd/2+pd*.1,-md,md,20,-180,-270),...generateCirclePoints2(pd/2+pd*.1,md,md,20,-90,-180),{x:-pd/2-md,y:fd/2},...generateCirclePoints2(pd/2,fd/2,md,20,0,90),{x:-pd/2,y:fd/2+md},{x:pd/2,y:fd/2+md}],Id=at$3.svg(ld),Od=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const Ud=createPathFromPoints(Ad).replace("Z",""),jd=Id.path(Ud,Od),Ld=createPathFromPoints(Nd),Bd=Id.path(Ld,{...Od}),Gd=ld.insert("g",":first-child");return Gd.insert(()=>Bd,":first-child").attr("stroke-opacity",0),Gd.insert(()=>jd,":first-child"),Gd.attr("class","text"),vd&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",od),Gd.attr("transform",`translate(${md}, 0)`),dd.attr("transform",`translate(${-pd/2+md-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Gd),qa.intersect=function(qd){return intersect_default.polygon(qa,Nd,qd)},ld}__name(curlyBraceLeft,"curlyBraceLeft");function generateCirclePoints3(Ra,qa,nd,od=100,ld=0,ud=180){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Id=Ra+nd*Math.cos(Nd),Od=qa+nd*Math.sin(Nd);dd.push({x:Id,y:Od})}return dd}__name(generateCirclePoints3,"generateCirclePoints");async function curlyBraceRight(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=ud.height+(qa.padding??0),md=Math.max(5,fd*.1),{cssStyles:vd}=qa,Ad=[...generateCirclePoints3(pd/2,-fd/2,md,20,-90,0),{x:pd/2+md,y:-md},...generateCirclePoints3(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints3(pd/2+md*2,md,md,20,-90,-180),{x:pd/2+md,y:fd/2},...generateCirclePoints3(pd/2,fd/2,md,20,0,90)],Nd=[{x:-pd/2,y:-fd/2-md},{x:pd/2,y:-fd/2-md},...generateCirclePoints3(pd/2,-fd/2,md,20,-90,0),{x:pd/2+md,y:-md},...generateCirclePoints3(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints3(pd/2+md*2,md,md,20,-90,-180),{x:pd/2+md,y:fd/2},...generateCirclePoints3(pd/2,fd/2,md,20,0,90),{x:pd/2,y:fd/2+md},{x:-pd/2,y:fd/2+md}],Id=at$3.svg(ld),Od=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const Ud=createPathFromPoints(Ad).replace("Z",""),jd=Id.path(Ud,Od),Ld=createPathFromPoints(Nd),Bd=Id.path(Ld,{...Od}),Gd=ld.insert("g",":first-child");return Gd.insert(()=>Bd,":first-child").attr("stroke-opacity",0),Gd.insert(()=>jd,":first-child"),Gd.attr("class","text"),vd&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",od),Gd.attr("transform",`translate(${-md}, 0)`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)/2-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Gd),qa.intersect=function(qd){return intersect_default.polygon(qa,Nd,qd)},ld}__name(curlyBraceRight,"curlyBraceRight");function generateCirclePoints4(Ra,qa,nd,od=100,ld=0,ud=180){const dd=[],pd=ld*Math.PI/180,vd=(ud*Math.PI/180-pd)/(od-1);for(let Ad=0;Ad<od;Ad++){const Nd=pd+Ad*vd,Id=Ra+nd*Math.cos(Nd),Od=qa+nd*Math.sin(Nd);dd.push({x:-Id,y:-Od})}return dd}__name(generateCirclePoints4,"generateCirclePoints");async function curlyBraces(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=ud.height+(qa.padding??0),md=Math.max(5,fd*.1),{cssStyles:vd}=qa,Ad=[...generateCirclePoints4(pd/2,-fd/2,md,30,-90,0),{x:-pd/2-md,y:md},...generateCirclePoints4(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints4(pd/2+md*2,md,md,20,-90,-180),{x:-pd/2-md,y:-fd/2},...generateCirclePoints4(pd/2,fd/2,md,20,0,90)],Nd=[...generateCirclePoints4(-pd/2+md+md/2,-fd/2,md,20,-90,-180),{x:pd/2-md/2,y:md},...generateCirclePoints4(-pd/2-md/2,-md,md,20,0,90),...generateCirclePoints4(-pd/2-md/2,md,md,20,-90,0),{x:pd/2-md/2,y:-md},...generateCirclePoints4(-pd/2+md+md/2,fd/2,md,30,-180,-270)],Id=[{x:pd/2,y:-fd/2-md},{x:-pd/2,y:-fd/2-md},...generateCirclePoints4(pd/2,-fd/2,md,20,-90,0),{x:-pd/2-md,y:-md},...generateCirclePoints4(pd/2+md*2,-md,md,20,-180,-270),...generateCirclePoints4(pd/2+md*2,md,md,20,-90,-180),{x:-pd/2-md,y:fd/2},...generateCirclePoints4(pd/2,fd/2,md,20,0,90),{x:-pd/2,y:fd/2+md},{x:pd/2-md-md/2,y:fd/2+md},...generateCirclePoints4(-pd/2+md+md/2,-fd/2,md,20,-90,-180),{x:pd/2-md/2,y:md},...generateCirclePoints4(-pd/2-md/2,-md,md,20,0,90),...generateCirclePoints4(-pd/2-md/2,md,md,20,-90,0),{x:pd/2-md/2,y:-md},...generateCirclePoints4(-pd/2+md+md/2,fd/2,md,30,-180,-270)],Od=at$3.svg(ld),Md=userNodeOverrides(qa,{fill:"none"});qa.look!=="handDrawn"&&(Md.roughness=0,Md.fillStyle="solid");const jd=createPathFromPoints(Ad).replace("Z",""),Ld=Od.path(jd,Md),Gd=createPathFromPoints(Nd).replace("Z",""),qd=Od.path(Gd,Md),zd=createPathFromPoints(Id),Xd=Od.path(zd,{...Md}),gf=ld.insert("g",":first-child");return gf.insert(()=>Xd,":first-child").attr("stroke-opacity",0),gf.insert(()=>Ld,":first-child"),gf.insert(()=>qd,":first-child"),gf.attr("class","text"),vd&&qa.look!=="handDrawn"&&gf.selectAll("path").attr("style",vd),od&&qa.look!=="handDrawn"&&gf.selectAll("path").attr("style",od),gf.attr("transform",`translate(${md-md/4}, 0)`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)/2-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,gf),qa.intersect=function(Yd){return intersect_default.polygon(qa,Id,Yd)},ld}__name(curlyBraces,"curlyBraces");async function curvedTrapezoid(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=80,pd=20,fd=Math.max(dd,(ud.width+(qa.padding??0)*2)*1.25,(qa==null?void 0:qa.width)??0),md=Math.max(pd,ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=md/2,{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Od=fd,Md=md,Ud=Od-vd,jd=Md/4,Ld=[{x:Ud,y:0},{x:jd,y:0},{x:0,y:Md/2},{x:jd,y:Md},{x:Ud,y:Md},...generateCirclePoints(-Ud,-Md/2,vd,50,270,90)],Bd=createPathFromPoints(Ld),Gd=Nd.path(Bd,Id),qd=ld.insert(()=>Gd,":first-child");return qd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&qd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&qd.selectChildren("path").attr("style",od),qd.attr("transform",`translate(${-fd/2}, ${-md/2})`),updateNodeBounds(qa,qd),qa.intersect=function(zd){return intersect_default.polygon(qa,Ld,zd)},ld}__name(curvedTrapezoid,"curvedTrapezoid");var createCylinderPathD=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra},${qa+ud}`,`a${ld},${ud} 0,0,0 ${nd},0`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`].join(" "),"createCylinderPathD"),createOuterCylinderPathD=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra},${qa+ud}`,`M${Ra+nd},${qa+ud}`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`].join(" "),"createOuterCylinderPathD"),createInnerCylinderPathD=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra-nd/2},${-od/2}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createInnerCylinderPathD");async function cylinder(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+qa.padding,qa.width??0),fd=pd/2,md=fd/(2.5+pd/50),vd=Math.max(ud.height+md+qa.padding,qa.height??0);let Ad;const{cssStyles:Nd}=qa;if(qa.look==="handDrawn"){const Id=at$3.svg(ld),Od=createOuterCylinderPathD(0,0,pd,vd,fd,md),Md=createInnerCylinderPathD(0,md,pd,vd,fd,md),Ud=Id.path(Od,userNodeOverrides(qa,{})),jd=Id.path(Md,userNodeOverrides(qa,{fill:"none"}));Ad=ld.insert(()=>jd,":first-child"),Ad=ld.insert(()=>Ud,":first-child"),Ad.attr("class","basic label-container"),Nd&&Ad.attr("style",Nd)}else{const Id=createCylinderPathD(0,0,pd,vd,fd,md);Ad=ld.insert("path",":first-child").attr("d",Id).attr("class","basic label-container").attr("style",handleUndefinedAttr(Nd)).attr("style",od)}return Ad.attr("label-offset-y",md),Ad.attr("transform",`translate(${-pd/2}, ${-(vd/2+md)})`),updateNodeBounds(qa,Ad),dd.attr("transform",`translate(${-(ud.width/2)-(ud.x-(ud.left??0))}, ${-(ud.height/2)+(qa.padding??0)/1.5-(ud.y-(ud.top??0))})`),qa.intersect=function(Id){const Od=intersect_default.rect(qa,Id),Md=Od.x-(qa.x??0);if(fd!=0&&(Math.abs(Md)<(qa.width??0)/2||Math.abs(Md)==(qa.width??0)/2&&Math.abs(Od.y-(qa.y??0))>(qa.height??0)/2-md)){let Ud=md*md*(1-Md*Md/(fd*fd));Ud>0&&(Ud=Math.sqrt(Ud)),Ud=md-Ud,Id.y-(qa.y??0)>0&&(Ud=-Ud),Od.y+=Ud}return Od},ld}__name(cylinder,"cylinder");async function dividedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+qa.padding,fd=ud.height+qa.padding,md=fd*.2,vd=-pd/2,Ad=-fd/2-md/2,{cssStyles:Nd}=qa,Id=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const Md=[{x:vd,y:Ad+md},{x:-vd,y:Ad+md},{x:-vd,y:-Ad},{x:vd,y:-Ad},{x:vd,y:Ad},{x:-vd,y:Ad},{x:-vd,y:Ad+md}],Ud=Id.polygon(Md.map(Ld=>[Ld.x,Ld.y]),Od),jd=ld.insert(()=>Ud,":first-child");return jd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${vd+(qa.padding??0)/2-(ud.x-(ud.left??0))}, ${Ad+md+(qa.padding??0)/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,jd),qa.intersect=function(Ld){return intersect_default.rect(qa,Ld)},ld}__name(dividedRectangle,"dividedRectangle");async function doublecircle(Ra,qa){var Nd,Id;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,halfPadding:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=ud.width/2+dd+5,md=ud.width/2+dd;let vd;const{cssStyles:Ad}=qa;if(qa.look==="handDrawn"){const Od=at$3.svg(ld),Md=userNodeOverrides(qa,{roughness:.2,strokeWidth:2.5}),Ud=userNodeOverrides(qa,{roughness:.2,strokeWidth:1.5}),jd=Od.circle(0,0,fd*2,Md),Ld=Od.circle(0,0,md*2,Ud);vd=ld.insert("g",":first-child"),vd.attr("class",handleUndefinedAttr(qa.cssClasses)).attr("style",handleUndefinedAttr(Ad)),(Nd=vd.node())==null||Nd.appendChild(jd),(Id=vd.node())==null||Id.appendChild(Ld)}else{vd=ld.insert("g",":first-child");const Od=vd.insert("circle",":first-child"),Md=vd.insert("circle");vd.attr("class","basic label-container").attr("style",od),Od.attr("class","outer-circle").attr("style",od).attr("r",fd).attr("cx",0).attr("cy",0),Md.attr("class","inner-circle").attr("style",od).attr("r",md).attr("cx",0).attr("cy",0)}return updateNodeBounds(qa,vd),qa.intersect=function(Od){return log$1.info("DoubleCircle intersect",qa,fd,Od),intersect_default.circle(qa,fd,Od)},ld}__name(doublecircle,"doublecircle");function filledCircle(Ra,qa,{config:{themeVariables:nd}}){const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.label="",qa.labelStyle=od;const ud=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),dd=7,{cssStyles:pd}=qa,fd=at$3.svg(ud),{nodeBorder:md}=nd,vd=userNodeOverrides(qa,{fillStyle:"solid"});qa.look!=="handDrawn"&&(vd.roughness=0);const Ad=fd.circle(0,0,dd*2,vd),Nd=ud.insert(()=>Ad,":first-child");return Nd.selectAll("path").attr("style",`fill: ${md} !important;`),pd&&pd.length>0&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",pd),ld&&qa.look!=="handDrawn"&&Nd.selectAll("path").attr("style",ld),updateNodeBounds(qa,Nd),qa.intersect=function(Id){return log$1.info("filledCircle intersect",qa,{radius:dd,point:Id}),intersect_default.circle(qa,dd,Id)},ud}__name(filledCircle,"filledCircle");async function flippedTriangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=ud.width+(qa.padding??0),fd=pd+ud.height,md=pd+ud.height,vd=[{x:0,y:-fd},{x:md,y:-fd},{x:md/2,y:0}],{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Od=createPathFromPoints(vd),Md=Nd.path(Od,Id),Ud=ld.insert(()=>Md,":first-child").attr("transform",`translate(${-fd/2}, ${fd/2})`);return Ad&&qa.look!=="handDrawn"&&Ud.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Ud.selectChildren("path").attr("style",od),qa.width=pd,qa.height=fd,updateNodeBounds(qa,Ud),dd.attr("transform",`translate(${-ud.width/2-(ud.x-(ud.left??0))}, ${-fd/2+(qa.padding??0)/2+(ud.y-(ud.top??0))})`),qa.intersect=function(jd){return log$1.info("Triangle intersect",qa,vd,jd),intersect_default.polygon(qa,vd,jd)},ld}__name(flippedTriangle,"flippedTriangle");function forkJoin(Ra,qa,{dir:nd,config:{state:od,themeVariables:ld}}){const{nodeStyles:ud}=styles2String(qa);qa.label="";const dd=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),{cssStyles:pd}=qa;let fd=Math.max(70,(qa==null?void 0:qa.width)??0),md=Math.max(10,(qa==null?void 0:qa.height)??0);nd==="LR"&&(fd=Math.max(10,(qa==null?void 0:qa.width)??0),md=Math.max(70,(qa==null?void 0:qa.height)??0));const vd=-1*fd/2,Ad=-1*md/2,Nd=at$3.svg(dd),Id=userNodeOverrides(qa,{stroke:ld.lineColor,fill:ld.lineColor});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Od=Nd.rectangle(vd,Ad,fd,md,Id),Md=dd.insert(()=>Od,":first-child");pd&&qa.look!=="handDrawn"&&Md.selectAll("path").attr("style",pd),ud&&qa.look!=="handDrawn"&&Md.selectAll("path").attr("style",ud),updateNodeBounds(qa,Md);const Ud=(od==null?void 0:od.padding)??0;return qa.width&&qa.height&&(qa.width+=Ud/2||0,qa.height+=Ud/2||0),qa.intersect=function(jd){return intersect_default.rect(qa,jd)},dd}__name(forkJoin,"forkJoin");async function halfRoundedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const ld=80,ud=50,{shapeSvg:dd,bbox:pd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=Math.max(ld,pd.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(ud,pd.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=md/2,{cssStyles:Ad}=qa,Nd=at$3.svg(dd),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Od=[{x:-fd/2,y:-md/2},{x:fd/2-vd,y:-md/2},...generateCirclePoints(-fd/2+vd,0,vd,50,90,270),{x:fd/2-vd,y:md/2},{x:-fd/2,y:md/2}],Md=createPathFromPoints(Od),Ud=Nd.path(Md,Id),jd=dd.insert(()=>Ud,":first-child");return jd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),updateNodeBounds(qa,jd),qa.intersect=function(Ld){return log$1.info("Pill intersect",qa,{radius:vd,point:Ld}),intersect_default.polygon(qa,Od,Ld)},dd}__name(halfRoundedRectangle,"halfRoundedRectangle");var createHexagonPathD=__name((Ra,qa,nd,od,ld)=>[`M${Ra+ld},${qa}`,`L${Ra+nd-ld},${qa}`,`L${Ra+nd},${qa-od/2}`,`L${Ra+nd-ld},${qa-od}`,`L${Ra+ld},${qa-od}`,`L${Ra},${qa-od/2}`,"Z"].join(" "),"createHexagonPathD");async function hexagon(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=4,pd=ud.height+qa.padding,fd=pd/dd,md=ud.width+2*fd+qa.padding,vd=[{x:fd,y:0},{x:md-fd,y:0},{x:md,y:-pd/2},{x:md-fd,y:-pd},{x:fd,y:-pd},{x:0,y:-pd/2}];let Ad;const{cssStyles:Nd}=qa;if(qa.look==="handDrawn"){const Id=at$3.svg(ld),Od=userNodeOverrides(qa,{}),Md=createHexagonPathD(0,0,md,pd,fd),Ud=Id.path(Md,Od);Ad=ld.insert(()=>Ud,":first-child").attr("transform",`translate(${-md/2}, ${pd/2})`),Nd&&Ad.attr("style",Nd)}else Ad=insertPolygonShape(ld,md,pd,vd);return od&&Ad.attr("style",od),qa.width=md,qa.height=pd,updateNodeBounds(qa,Ad),qa.intersect=function(Id){return intersect_default.polygon(qa,vd,Id)},ld}__name(hexagon,"hexagon");async function hourglass(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.label="",qa.labelStyle=nd;const{shapeSvg:ld}=await labelHelper(Ra,qa,getNodeClasses(qa)),ud=Math.max(30,(qa==null?void 0:qa.width)??0),dd=Math.max(30,(qa==null?void 0:qa.height)??0),{cssStyles:pd}=qa,fd=at$3.svg(ld),md=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(md.roughness=0,md.fillStyle="solid");const vd=[{x:0,y:0},{x:ud,y:0},{x:0,y:dd},{x:ud,y:dd}],Ad=createPathFromPoints(vd),Nd=fd.path(Ad,md),Id=ld.insert(()=>Nd,":first-child");return Id.attr("class","basic label-container"),pd&&qa.look!=="handDrawn"&&Id.selectChildren("path").attr("style",pd),od&&qa.look!=="handDrawn"&&Id.selectChildren("path").attr("style",od),Id.attr("transform",`translate(${-ud/2}, ${-dd/2})`),updateNodeBounds(qa,Id),qa.intersect=function(Od){return log$1.info("Pill intersect",qa,{points:vd}),intersect_default.polygon(qa,vd,Od)},ld}__name(hourglass,"hourglass");async function icon(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,label:Ad}=await labelHelper(Ra,qa,"icon-shape default"),Nd=qa.pos==="t",Id=pd,Od=pd,{nodeBorder:Md}=nd,{stylesMap:Ud}=compileStyles(qa),jd=-Od/2,Ld=-Id/2,Bd=qa.label?8:0,Gd=at$3.svg(md),qd=userNodeOverrides(qa,{stroke:"none",fill:"none"});qa.look!=="handDrawn"&&(qd.roughness=0,qd.fillStyle="solid");const zd=Gd.rectangle(jd,Ld,Od,Id,qd),Xd=Math.max(Od,vd.width),gf=Id+vd.height+Bd,Yd=Gd.rectangle(-Xd/2,-gf/2,Xd,gf,{...qd,fill:"transparent",stroke:"none"}),Zd=md.insert(()=>zd,":first-child"),df=md.insert(()=>Yd);if(qa.icon){const Ef=md.append("g");Ef.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const _f=Ef.node().getBBox(),xf=_f.width,vf=_f.height,Af=_f.x,Df=_f.y;Ef.attr("transform",`translate(${-xf/2-Af},${Nd?vd.height/2+Bd/2-vf/2-Df:-vd.height/2-Bd/2-vf/2-Df})`),Ef.attr("style",`color: ${Ud.get("stroke")??Md};`)}return Ad.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${Nd?-gf/2:gf/2-vd.height})`),Zd.attr("transform",`translate(0,${Nd?vd.height/2+Bd/2:-vd.height/2-Bd/2})`),updateNodeBounds(qa,df),qa.intersect=function(Ef){if(log$1.info("iconSquare intersect",qa,Ef),!qa.label)return intersect_default.rect(qa,Ef);const _f=qa.x??0,xf=qa.y??0,vf=qa.height??0;let Af=[];return Nd?Af=[{x:_f-vd.width/2,y:xf-vf/2},{x:_f+vd.width/2,y:xf-vf/2},{x:_f+vd.width/2,y:xf-vf/2+vd.height+Bd},{x:_f+Od/2,y:xf-vf/2+vd.height+Bd},{x:_f+Od/2,y:xf+vf/2},{x:_f-Od/2,y:xf+vf/2},{x:_f-Od/2,y:xf-vf/2+vd.height+Bd},{x:_f-vd.width/2,y:xf-vf/2+vd.height+Bd}]:Af=[{x:_f-Od/2,y:xf-vf/2},{x:_f+Od/2,y:xf-vf/2},{x:_f+Od/2,y:xf-vf/2+Id},{x:_f+vd.width/2,y:xf-vf/2+Id},{x:_f+vd.width/2/2,y:xf+vf/2},{x:_f-vd.width/2,y:xf+vf/2},{x:_f-vd.width/2,y:xf-vf/2+Id},{x:_f-Od/2,y:xf-vf/2+Id}],intersect_default.polygon(qa,Af,Ef)},md}__name(icon,"icon");async function iconCircle(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,label:Ad}=await labelHelper(Ra,qa,"icon-shape default"),Nd=20,Id=qa.label?8:0,Od=qa.pos==="t",{nodeBorder:Md,mainBkg:Ud}=nd,{stylesMap:jd}=compileStyles(qa),Ld=at$3.svg(md),Bd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Bd.roughness=0,Bd.fillStyle="solid");const Gd=jd.get("fill");Bd.stroke=Gd??Ud;const qd=md.append("g");qa.icon&&qd.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const zd=qd.node().getBBox(),Xd=zd.width,gf=zd.height,Yd=zd.x,Zd=zd.y,df=Math.max(Xd,gf)*Math.SQRT2+Nd*2,Ef=Ld.circle(0,0,df,Bd),_f=Math.max(df,vd.width),xf=df+vd.height+Id,vf=Ld.rectangle(-_f/2,-xf/2,_f,xf,{...Bd,fill:"transparent",stroke:"none"}),Af=md.insert(()=>Ef,":first-child"),Df=md.insert(()=>vf);return qd.attr("transform",`translate(${-Xd/2-Yd},${Od?vd.height/2+Id/2-gf/2-Zd:-vd.height/2-Id/2-gf/2-Zd})`),qd.attr("style",`color: ${jd.get("stroke")??Md};`),Ad.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${Od?-xf/2:xf/2-vd.height})`),Af.attr("transform",`translate(0,${Od?vd.height/2+Id/2:-vd.height/2-Id/2})`),updateNodeBounds(qa,Df),qa.intersect=function(jf){return log$1.info("iconSquare intersect",qa,jf),intersect_default.rect(qa,jf)},md}__name(iconCircle,"iconCircle");async function iconRounded(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,halfPadding:Ad,label:Nd}=await labelHelper(Ra,qa,"icon-shape default"),Id=qa.pos==="t",Od=pd+Ad*2,Md=pd+Ad*2,{nodeBorder:Ud,mainBkg:jd}=nd,{stylesMap:Ld}=compileStyles(qa),Bd=-Md/2,Gd=-Od/2,qd=qa.label?8:0,zd=at$3.svg(md),Xd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Xd.roughness=0,Xd.fillStyle="solid");const gf=Ld.get("fill");Xd.stroke=gf??jd;const Yd=zd.path(createRoundedRectPathD(Bd,Gd,Md,Od,5),Xd),Zd=Math.max(Md,vd.width),df=Od+vd.height+qd,Ef=zd.rectangle(-Zd/2,-df/2,Zd,df,{...Xd,fill:"transparent",stroke:"none"}),_f=md.insert(()=>Yd,":first-child").attr("class","icon-shape2"),xf=md.insert(()=>Ef);if(qa.icon){const vf=md.append("g");vf.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const Af=vf.node().getBBox(),Df=Af.width,jf=Af.height,Jf=Af.x,eh=Af.y;vf.attr("transform",`translate(${-Df/2-Jf},${Id?vd.height/2+qd/2-jf/2-eh:-vd.height/2-qd/2-jf/2-eh})`),vf.attr("style",`color: ${Ld.get("stroke")??Ud};`)}return Nd.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${Id?-df/2:df/2-vd.height})`),_f.attr("transform",`translate(0,${Id?vd.height/2+qd/2:-vd.height/2-qd/2})`),updateNodeBounds(qa,xf),qa.intersect=function(vf){if(log$1.info("iconSquare intersect",qa,vf),!qa.label)return intersect_default.rect(qa,vf);const Af=qa.x??0,Df=qa.y??0,jf=qa.height??0;let Jf=[];return Id?Jf=[{x:Af-vd.width/2,y:Df-jf/2},{x:Af+vd.width/2,y:Df-jf/2},{x:Af+vd.width/2,y:Df-jf/2+vd.height+qd},{x:Af+Md/2,y:Df-jf/2+vd.height+qd},{x:Af+Md/2,y:Df+jf/2},{x:Af-Md/2,y:Df+jf/2},{x:Af-Md/2,y:Df-jf/2+vd.height+qd},{x:Af-vd.width/2,y:Df-jf/2+vd.height+qd}]:Jf=[{x:Af-Md/2,y:Df-jf/2},{x:Af+Md/2,y:Df-jf/2},{x:Af+Md/2,y:Df-jf/2+Od},{x:Af+vd.width/2,y:Df-jf/2+Od},{x:Af+vd.width/2/2,y:Df+jf/2},{x:Af-vd.width/2,y:Df+jf/2},{x:Af-vd.width/2,y:Df-jf/2+Od},{x:Af-Md/2,y:Df-jf/2+Od}],intersect_default.polygon(qa,Jf,vf)},md}__name(iconRounded,"iconRounded");async function iconSquare(Ra,qa,{config:{themeVariables:nd,flowchart:od}}){const{labelStyles:ld}=styles2String(qa);qa.labelStyle=ld;const ud=qa.assetHeight??48,dd=qa.assetWidth??48,pd=Math.max(ud,dd),fd=od==null?void 0:od.wrappingWidth;qa.width=Math.max(pd,fd??0);const{shapeSvg:md,bbox:vd,halfPadding:Ad,label:Nd}=await labelHelper(Ra,qa,"icon-shape default"),Id=qa.pos==="t",Od=pd+Ad*2,Md=pd+Ad*2,{nodeBorder:Ud,mainBkg:jd}=nd,{stylesMap:Ld}=compileStyles(qa),Bd=-Md/2,Gd=-Od/2,qd=qa.label?8:0,zd=at$3.svg(md),Xd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Xd.roughness=0,Xd.fillStyle="solid");const gf=Ld.get("fill");Xd.stroke=gf??jd;const Yd=zd.path(createRoundedRectPathD(Bd,Gd,Md,Od,.1),Xd),Zd=Math.max(Md,vd.width),df=Od+vd.height+qd,Ef=zd.rectangle(-Zd/2,-df/2,Zd,df,{...Xd,fill:"transparent",stroke:"none"}),_f=md.insert(()=>Yd,":first-child"),xf=md.insert(()=>Ef);if(qa.icon){const vf=md.append("g");vf.html(`<g>${await getIconSVG(qa.icon,{height:pd,width:pd,fallbackPrefix:""})}</g>`);const Af=vf.node().getBBox(),Df=Af.width,jf=Af.height,Jf=Af.x,eh=Af.y;vf.attr("transform",`translate(${-Df/2-Jf},${Id?vd.height/2+qd/2-jf/2-eh:-vd.height/2-qd/2-jf/2-eh})`),vf.attr("style",`color: ${Ld.get("stroke")??Ud};`)}return Nd.attr("transform",`translate(${-vd.width/2-(vd.x-(vd.left??0))},${Id?-df/2:df/2-vd.height})`),_f.attr("transform",`translate(0,${Id?vd.height/2+qd/2:-vd.height/2-qd/2})`),updateNodeBounds(qa,xf),qa.intersect=function(vf){if(log$1.info("iconSquare intersect",qa,vf),!qa.label)return intersect_default.rect(qa,vf);const Af=qa.x??0,Df=qa.y??0,jf=qa.height??0;let Jf=[];return Id?Jf=[{x:Af-vd.width/2,y:Df-jf/2},{x:Af+vd.width/2,y:Df-jf/2},{x:Af+vd.width/2,y:Df-jf/2+vd.height+qd},{x:Af+Md/2,y:Df-jf/2+vd.height+qd},{x:Af+Md/2,y:Df+jf/2},{x:Af-Md/2,y:Df+jf/2},{x:Af-Md/2,y:Df-jf/2+vd.height+qd},{x:Af-vd.width/2,y:Df-jf/2+vd.height+qd}]:Jf=[{x:Af-Md/2,y:Df-jf/2},{x:Af+Md/2,y:Df-jf/2},{x:Af+Md/2,y:Df-jf/2+Od},{x:Af+vd.width/2,y:Df-jf/2+Od},{x:Af+vd.width/2/2,y:Df+jf/2},{x:Af-vd.width/2,y:Df+jf/2},{x:Af-vd.width/2,y:Df-jf/2+Od},{x:Af-Md/2,y:Df-jf/2+Od}],intersect_default.polygon(qa,Jf,vf)},md}__name(iconSquare,"iconSquare");async function imageSquare(Ra,qa,{config:{flowchart:nd}}){const od=new Image;od.src=(qa==null?void 0:qa.img)??"",await od.decode();const ld=Number(od.naturalWidth.toString().replace("px","")),ud=Number(od.naturalHeight.toString().replace("px",""));qa.imageAspectRatio=ld/ud;const{labelStyles:dd}=styles2String(qa);qa.labelStyle=dd;const pd=nd==null?void 0:nd.wrappingWidth;qa.defaultWidth=nd==null?void 0:nd.wrappingWidth;const fd=Math.max(qa.label?pd??0:0,(qa==null?void 0:qa.assetWidth)??ld),md=qa.constraint==="on"&&qa!=null&&qa.assetHeight?qa.assetHeight*qa.imageAspectRatio:fd,vd=qa.constraint==="on"?md/qa.imageAspectRatio:(qa==null?void 0:qa.assetHeight)??ud;qa.width=Math.max(md,pd??0);const{shapeSvg:Ad,bbox:Nd,label:Id}=await labelHelper(Ra,qa,"image-shape default"),Od=qa.pos==="t",Md=-md/2,Ud=-vd/2,jd=qa.label?8:0,Ld=at$3.svg(Ad),Bd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Bd.roughness=0,Bd.fillStyle="solid");const Gd=Ld.rectangle(Md,Ud,md,vd,Bd),qd=Math.max(md,Nd.width),zd=vd+Nd.height+jd,Xd=Ld.rectangle(-qd/2,-zd/2,qd,zd,{...Bd,fill:"none",stroke:"none"}),gf=Ad.insert(()=>Gd,":first-child"),Yd=Ad.insert(()=>Xd);if(qa.img){const Zd=Ad.append("image");Zd.attr("href",qa.img),Zd.attr("width",md),Zd.attr("height",vd),Zd.attr("preserveAspectRatio","none"),Zd.attr("transform",`translate(${-md/2},${Od?zd/2-vd:-zd/2})`)}return Id.attr("transform",`translate(${-Nd.width/2-(Nd.x-(Nd.left??0))},${Od?-vd/2-Nd.height/2-jd/2:vd/2-Nd.height/2+jd/2})`),gf.attr("transform",`translate(0,${Od?Nd.height/2+jd/2:-Nd.height/2-jd/2})`),updateNodeBounds(qa,Yd),qa.intersect=function(Zd){if(log$1.info("iconSquare intersect",qa,Zd),!qa.label)return intersect_default.rect(qa,Zd);const df=qa.x??0,Ef=qa.y??0,_f=qa.height??0;let xf=[];return Od?xf=[{x:df-Nd.width/2,y:Ef-_f/2},{x:df+Nd.width/2,y:Ef-_f/2},{x:df+Nd.width/2,y:Ef-_f/2+Nd.height+jd},{x:df+md/2,y:Ef-_f/2+Nd.height+jd},{x:df+md/2,y:Ef+_f/2},{x:df-md/2,y:Ef+_f/2},{x:df-md/2,y:Ef-_f/2+Nd.height+jd},{x:df-Nd.width/2,y:Ef-_f/2+Nd.height+jd}]:xf=[{x:df-md/2,y:Ef-_f/2},{x:df+md/2,y:Ef-_f/2},{x:df+md/2,y:Ef-_f/2+vd},{x:df+Nd.width/2,y:Ef-_f/2+vd},{x:df+Nd.width/2/2,y:Ef+_f/2},{x:df-Nd.width/2,y:Ef+_f/2},{x:df-Nd.width/2,y:Ef-_f/2+vd},{x:df-md/2,y:Ef-_f/2+vd}],intersect_default.polygon(qa,xf,Zd)},Ad}__name(imageSquare,"imageSquare");async function inv_trapezoid(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),fd=[{x:0,y:0},{x:dd,y:0},{x:dd+3*pd/6,y:-pd},{x:-3*pd/6,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Id=createPathFromPoints(fd),Od=Ad.path(Id,Nd);md=ld.insert(()=>Od,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(inv_trapezoid,"inv_trapezoid");async function drawRect(Ra,qa,nd){const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od;const{shapeSvg:ud,bbox:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(dd.width+nd.labelPaddingX*2,(qa==null?void 0:qa.width)||0),fd=Math.max(dd.height+nd.labelPaddingY*2,(qa==null?void 0:qa.height)||0),md=-pd/2,vd=-fd/2;let Ad,{rx:Nd,ry:Id}=qa;const{cssStyles:Od}=qa;if(nd!=null&&nd.rx&&nd.ry&&(Nd=nd.rx,Id=nd.ry),qa.look==="handDrawn"){const Md=at$3.svg(ud),Ud=userNodeOverrides(qa,{}),jd=Nd||Id?Md.path(createRoundedRectPathD(md,vd,pd,fd,Nd||0),Ud):Md.rectangle(md,vd,pd,fd,Ud);Ad=ud.insert(()=>jd,":first-child"),Ad.attr("class","basic label-container").attr("style",handleUndefinedAttr(Od))}else Ad=ud.insert("rect",":first-child"),Ad.attr("class","basic label-container").attr("style",ld).attr("rx",handleUndefinedAttr(Nd)).attr("ry",handleUndefinedAttr(Id)).attr("x",md).attr("y",vd).attr("width",pd).attr("height",fd);return updateNodeBounds(qa,Ad),qa.intersect=function(Md){return intersect_default.rect(qa,Md)},ud}__name(drawRect,"drawRect");async function labelRect(Ra,qa){const{shapeSvg:nd,bbox:od,label:ld}=await labelHelper(Ra,qa,"label"),ud=nd.insert("rect",":first-child");return ud.attr("width",.1).attr("height",.1),nd.attr("class","label edgeLabel"),ld.attr("transform",`translate(${-(od.width/2)-(od.x-(od.left??0))}, ${-(od.height/2)-(od.y-(od.top??0))})`),updateNodeBounds(qa,ud),qa.intersect=function(fd){return intersect_default.rect(qa,fd)},nd}__name(labelRect,"labelRect");async function lean_left(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),fd=[{x:0,y:0},{x:dd+3*pd/6,y:0},{x:dd,y:-pd},{x:-(3*pd)/6,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Id=createPathFromPoints(fd),Od=Ad.path(Id,Nd);md=ld.insert(()=>Od,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(lean_left,"lean_left");async function lean_right(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),fd=[{x:-3*pd/6,y:0},{x:dd,y:0},{x:dd+3*pd/6,y:-pd},{x:0,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Id=createPathFromPoints(fd),Od=Ad.path(Id,Nd);md=ld.insert(()=>Od,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(lean_right,"lean_right");function lightningBolt(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.label="",qa.labelStyle=nd;const ld=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId??qa.id),{cssStyles:ud}=qa,dd=Math.max(35,(qa==null?void 0:qa.width)??0),pd=Math.max(35,(qa==null?void 0:qa.height)??0),fd=7,md=[{x:dd,y:0},{x:0,y:pd+fd/2},{x:dd-2*fd,y:pd+fd/2},{x:0,y:2*pd},{x:dd,y:pd-fd/2},{x:2*fd,y:pd-fd/2}],vd=at$3.svg(ld),Ad=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ad.roughness=0,Ad.fillStyle="solid");const Nd=createPathFromPoints(md),Id=vd.path(Nd,Ad),Od=ld.insert(()=>Id,":first-child");return ud&&qa.look!=="handDrawn"&&Od.selectAll("path").attr("style",ud),od&&qa.look!=="handDrawn"&&Od.selectAll("path").attr("style",od),Od.attr("transform",`translate(-${dd/2},${-pd})`),updateNodeBounds(qa,Od),qa.intersect=function(Md){return log$1.info("lightningBolt intersect",qa,Md),intersect_default.polygon(qa,md,Md)},ld}__name(lightningBolt,"lightningBolt");var createCylinderPathD2=__name((Ra,qa,nd,od,ld,ud,dd)=>[`M${Ra},${qa+ud}`,`a${ld},${ud} 0,0,0 ${nd},0`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`,`M${Ra},${qa+ud+dd}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createCylinderPathD"),createOuterCylinderPathD2=__name((Ra,qa,nd,od,ld,ud,dd)=>[`M${Ra},${qa+ud}`,`M${Ra+nd},${qa+ud}`,`a${ld},${ud} 0,0,0 ${-nd},0`,`l0,${od}`,`a${ld},${ud} 0,0,0 ${nd},0`,`l0,${-od}`,`M${Ra},${qa+ud+dd}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createOuterCylinderPathD"),createInnerCylinderPathD2=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra-nd/2},${-od/2}`,`a${ld},${ud} 0,0,0 ${nd},0`].join(" "),"createInnerCylinderPathD");async function linedCylinder(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0),qa.width??0),fd=pd/2,md=fd/(2.5+pd/50),vd=Math.max(ud.height+md+(qa.padding??0),qa.height??0),Ad=vd*.1;let Nd;const{cssStyles:Id}=qa;if(qa.look==="handDrawn"){const Od=at$3.svg(ld),Md=createOuterCylinderPathD2(0,0,pd,vd,fd,md,Ad),Ud=createInnerCylinderPathD2(0,md,pd,vd,fd,md),jd=userNodeOverrides(qa,{}),Ld=Od.path(Md,jd),Bd=Od.path(Ud,jd);ld.insert(()=>Bd,":first-child").attr("class","line"),Nd=ld.insert(()=>Ld,":first-child"),Nd.attr("class","basic label-container"),Id&&Nd.attr("style",Id)}else{const Od=createCylinderPathD2(0,0,pd,vd,fd,md,Ad);Nd=ld.insert("path",":first-child").attr("d",Od).attr("class","basic label-container").attr("style",handleUndefinedAttr(Id)).attr("style",od)}return Nd.attr("label-offset-y",md),Nd.attr("transform",`translate(${-pd/2}, ${-(vd/2+md)})`),updateNodeBounds(qa,Nd),dd.attr("transform",`translate(${-(ud.width/2)-(ud.x-(ud.left??0))}, ${-(ud.height/2)+md-(ud.y-(ud.top??0))})`),qa.intersect=function(Od){const Md=intersect_default.rect(qa,Od),Ud=Md.x-(qa.x??0);if(fd!=0&&(Math.abs(Ud)<(qa.width??0)/2||Math.abs(Ud)==(qa.width??0)/2&&Math.abs(Md.y-(qa.y??0))>(qa.height??0)/2-md)){let jd=md*md*(1-Ud*Ud/(fd*fd));jd>0&&(jd=Math.sqrt(jd)),jd=md-jd,Od.y-(qa.y??0)>0&&(jd=-jd),Md.y+=jd}return Md},ld}__name(linedCylinder,"linedCylinder");async function linedWaveEdgedRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/4,vd=fd+md,{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Od=[{x:-pd/2-pd/2*.1,y:-vd/2},{x:-pd/2-pd/2*.1,y:vd/2},...generateFullSineWavePoints(-pd/2-pd/2*.1,vd/2,pd/2+pd/2*.1,vd/2,md,.8),{x:pd/2+pd/2*.1,y:-vd/2},{x:-pd/2-pd/2*.1,y:-vd/2},{x:-pd/2,y:-vd/2},{x:-pd/2,y:vd/2*1.1},{x:-pd/2,y:-vd/2}],Md=Nd.polygon(Od.map(jd=>[jd.x,jd.y]),Id),Ud=ld.insert(()=>Md,":first-child");return Ud.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&Ud.selectAll("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Ud.selectAll("path").attr("style",od),Ud.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)+pd/2*.1/2-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)-md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Ud),qa.intersect=function(jd){return intersect_default.polygon(qa,Od,jd)},ld}__name(linedWaveEdgedRect,"linedWaveEdgedRect");async function multiRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=5,vd=-pd/2,Ad=-fd/2,{cssStyles:Nd}=qa,Id=at$3.svg(ld),Od=userNodeOverrides(qa,{}),Md=[{x:vd-md,y:Ad+md},{x:vd-md,y:Ad+fd+md},{x:vd+pd-md,y:Ad+fd+md},{x:vd+pd-md,y:Ad+fd},{x:vd+pd,y:Ad+fd},{x:vd+pd,y:Ad+fd-md},{x:vd+pd+md,y:Ad+fd-md},{x:vd+pd+md,y:Ad-md},{x:vd+md,y:Ad-md},{x:vd+md,y:Ad},{x:vd,y:Ad},{x:vd,y:Ad+md}],Ud=[{x:vd,y:Ad+md},{x:vd+pd-md,y:Ad+md},{x:vd+pd-md,y:Ad+fd},{x:vd+pd,y:Ad+fd},{x:vd+pd,y:Ad},{x:vd,y:Ad}];qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const jd=createPathFromPoints(Md),Ld=Id.path(jd,Od),Bd=createPathFromPoints(Ud),Gd=Id.path(Bd,{...Od,fill:"none"}),qd=ld.insert(()=>Gd,":first-child");return qd.insert(()=>Ld,":first-child"),qd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${-(ud.width/2)-md-(ud.x-(ud.left??0))}, ${-(ud.height/2)+md-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,qd),qa.intersect=function(zd){return intersect_default.polygon(qa,Md,zd)},ld}__name(multiRect,"multiRect");async function multiWaveEdgedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/4,vd=fd+md,Ad=-pd/2,Nd=-vd/2,Id=5,{cssStyles:Od}=qa,Md=generateFullSineWavePoints(Ad-Id,Nd+vd+Id,Ad+pd-Id,Nd+vd+Id,md,.8),Ud=Md==null?void 0:Md[Md.length-1],jd=[{x:Ad-Id,y:Nd+Id},{x:Ad-Id,y:Nd+vd+Id},...Md,{x:Ad+pd-Id,y:Ud.y-Id},{x:Ad+pd,y:Ud.y-Id},{x:Ad+pd,y:Ud.y-2*Id},{x:Ad+pd+Id,y:Ud.y-2*Id},{x:Ad+pd+Id,y:Nd-Id},{x:Ad+Id,y:Nd-Id},{x:Ad+Id,y:Nd},{x:Ad,y:Nd},{x:Ad,y:Nd+Id}],Ld=[{x:Ad,y:Nd+Id},{x:Ad+pd-Id,y:Nd+Id},{x:Ad+pd-Id,y:Ud.y-Id},{x:Ad+pd,y:Ud.y-Id},{x:Ad+pd,y:Nd},{x:Ad,y:Nd}],Bd=at$3.svg(ld),Gd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Gd.roughness=0,Gd.fillStyle="solid");const qd=createPathFromPoints(jd),zd=Bd.path(qd,Gd),Xd=createPathFromPoints(Ld),gf=Bd.path(Xd,Gd),Yd=ld.insert(()=>zd,":first-child");return Yd.insert(()=>gf),Yd.attr("class","basic label-container"),Od&&qa.look!=="handDrawn"&&Yd.selectAll("path").attr("style",Od),od&&qa.look!=="handDrawn"&&Yd.selectAll("path").attr("style",od),Yd.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-(ud.width/2)-Id-(ud.x-(ud.left??0))}, ${-(ud.height/2)+Id-md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Yd),qa.intersect=function(Zd){return intersect_default.polygon(qa,jd,Zd)},ld}__name(multiWaveEdgedRectangle,"multiWaveEdgedRectangle");async function note(Ra,qa,{config:{themeVariables:nd}}){var jd;const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od,qa.useHtmlLabels||((jd=getConfig$1().flowchart)==null?void 0:jd.htmlLabels)!==!1||(qa.centerLabel=!0);const{shapeSvg:dd,bbox:pd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=Math.max(pd.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(pd.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=-fd/2,Ad=-md/2,{cssStyles:Nd}=qa,Id=at$3.svg(dd),Od=userNodeOverrides(qa,{fill:nd.noteBkgColor,stroke:nd.noteBorderColor});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const Md=Id.rectangle(vd,Ad,fd,md,Od),Ud=dd.insert(()=>Md,":first-child");return Ud.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&Ud.selectAll("path").attr("style",Nd),ld&&qa.look!=="handDrawn"&&Ud.selectAll("path").attr("style",ld),updateNodeBounds(qa,Ud),qa.intersect=function(Ld){return intersect_default.rect(qa,Ld)},dd}__name(note,"note");var createDecisionBoxPathD=__name((Ra,qa,nd)=>[`M${Ra+nd/2},${qa}`,`L${Ra+nd},${qa-nd/2}`,`L${Ra+nd/2},${qa-nd}`,`L${Ra},${qa-nd/2}`,"Z"].join(" "),"createDecisionBoxPathD");async function question(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+qa.padding,pd=ud.height+qa.padding,fd=dd+pd,md=[{x:fd/2,y:0},{x:fd,y:-fd/2},{x:fd/2,y:-fd},{x:0,y:-fd/2}];let vd;const{cssStyles:Ad}=qa;if(qa.look==="handDrawn"){const Nd=at$3.svg(ld),Id=userNodeOverrides(qa,{}),Od=createDecisionBoxPathD(0,0,fd),Md=Nd.path(Od,Id);vd=ld.insert(()=>Md,":first-child").attr("transform",`translate(${-fd/2}, ${fd/2})`),Ad&&vd.attr("style",Ad)}else vd=insertPolygonShape(ld,fd,fd,md);return od&&vd.attr("style",od),updateNodeBounds(qa,vd),qa.intersect=function(Nd){return log$1.debug(`APA12 Intersect called SPLIT
|
||
point:`,Nd,`
|
||
node:
|
||
`,qa,`
|
||
res:`,intersect_default.polygon(qa,md,Nd)),intersect_default.polygon(qa,md,Nd)},ld}__name(question,"question");async function rect_left_inv_arrow(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0),(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0),(qa==null?void 0:qa.height)??0),md=-pd/2,vd=-fd/2,Ad=vd/2,Nd=[{x:md+Ad,y:vd},{x:md,y:0},{x:md+Ad,y:-vd},{x:-md,y:-vd},{x:-md,y:vd}],{cssStyles:Id}=qa,Od=at$3.svg(ld),Md=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Md.roughness=0,Md.fillStyle="solid");const Ud=createPathFromPoints(Nd),jd=Od.path(Ud,Md),Ld=ld.insert(()=>jd,":first-child");return Ld.attr("class","basic label-container"),Id&&qa.look!=="handDrawn"&&Ld.selectAll("path").attr("style",Id),od&&qa.look!=="handDrawn"&&Ld.selectAll("path").attr("style",od),Ld.attr("transform",`translate(${-Ad/2},0)`),dd.attr("transform",`translate(${-Ad/2-ud.width/2-(ud.x-(ud.left??0))}, ${-(ud.height/2)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Ld),qa.intersect=function(Bd){return intersect_default.polygon(qa,Nd,Bd)},ld}__name(rect_left_inv_arrow,"rect_left_inv_arrow");async function rectWithTitle(Ra,qa){var gf,Yd;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;let ld;qa.cssClasses?ld="node "+qa.cssClasses:ld="node default";const ud=Ra.insert("g").attr("class",ld).attr("id",qa.domId||qa.id),dd=ud.insert("g"),pd=ud.insert("g").attr("class","label").attr("style",od),fd=qa.description,md=qa.label,vd=pd.node().appendChild(await createLabel_default(md,qa.labelStyle,!0,!0));let Ad={width:0,height:0};if(evaluate((Yd=(gf=getConfig2())==null?void 0:gf.flowchart)==null?void 0:Yd.htmlLabels)){const Zd=vd.children[0],df=select(vd);Ad=Zd.getBoundingClientRect(),df.attr("width",Ad.width),df.attr("height",Ad.height)}log$1.info("Text 2",fd);const Nd=fd||[],Id=vd.getBBox(),Od=pd.node().appendChild(await createLabel_default(Nd.join?Nd.join("<br/>"):Nd,qa.labelStyle,!0,!0)),Md=Od.children[0],Ud=select(Od);Ad=Md.getBoundingClientRect(),Ud.attr("width",Ad.width),Ud.attr("height",Ad.height);const jd=(qa.padding||0)/2;select(Od).attr("transform","translate( "+(Ad.width>Id.width?0:(Id.width-Ad.width)/2)+", "+(Id.height+jd+5)+")"),select(vd).attr("transform","translate( "+(Ad.width<Id.width?0:-(Id.width-Ad.width)/2)+", 0)"),Ad=pd.node().getBBox(),pd.attr("transform","translate("+-Ad.width/2+", "+(-Ad.height/2-jd+3)+")");const Ld=Ad.width+(qa.padding||0),Bd=Ad.height+(qa.padding||0),Gd=-Ad.width/2-jd,qd=-Ad.height/2-jd;let zd,Xd;if(qa.look==="handDrawn"){const Zd=at$3.svg(ud),df=userNodeOverrides(qa,{}),Ef=Zd.path(createRoundedRectPathD(Gd,qd,Ld,Bd,qa.rx||0),df),_f=Zd.line(-Ad.width/2-jd,-Ad.height/2-jd+Id.height+jd,Ad.width/2+jd,-Ad.height/2-jd+Id.height+jd,df);Xd=ud.insert(()=>(log$1.debug("Rough node insert CXC",Ef),_f),":first-child"),zd=ud.insert(()=>(log$1.debug("Rough node insert CXC",Ef),Ef),":first-child")}else zd=dd.insert("rect",":first-child"),Xd=dd.insert("line"),zd.attr("class","outer title-state").attr("style",od).attr("x",-Ad.width/2-jd).attr("y",-Ad.height/2-jd).attr("width",Ad.width+(qa.padding||0)).attr("height",Ad.height+(qa.padding||0)),Xd.attr("class","divider").attr("x1",-Ad.width/2-jd).attr("x2",Ad.width/2+jd).attr("y1",-Ad.height/2-jd+Id.height+jd).attr("y2",-Ad.height/2-jd+Id.height+jd);return updateNodeBounds(qa,zd),qa.intersect=function(Zd){return intersect_default.rect(qa,Zd)},ud}__name(rectWithTitle,"rectWithTitle");async function roundedRect(Ra,qa){const nd={rx:5,ry:5,classes:"",labelPaddingX:((qa==null?void 0:qa.padding)||0)*1,labelPaddingY:((qa==null?void 0:qa.padding)||0)*1};return drawRect(Ra,qa,nd)}__name(roundedRect,"roundedRect");async function shadedProcess(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=(qa==null?void 0:qa.padding)??0,fd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=-ud.width/2-pd,Ad=-ud.height/2-pd,{cssStyles:Nd}=qa,Id=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const Md=[{x:vd,y:Ad},{x:vd+fd+8,y:Ad},{x:vd+fd+8,y:Ad+md},{x:vd-8,y:Ad+md},{x:vd-8,y:Ad},{x:vd,y:Ad},{x:vd,y:Ad+md}],Ud=Id.polygon(Md.map(Ld=>[Ld.x,Ld.y]),Od),jd=ld.insert(()=>Ud,":first-child");return jd.attr("class","basic label-container").attr("style",handleUndefinedAttr(Nd)),od&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),Nd&&qa.look!=="handDrawn"&&jd.selectAll("path").attr("style",od),dd.attr("transform",`translate(${-fd/2+4+(qa.padding??0)-(ud.x-(ud.left??0))},${-md/2+(qa.padding??0)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,jd),qa.intersect=function(Ld){return intersect_default.rect(qa,Ld)},ld}__name(shadedProcess,"shadedProcess");async function slopedRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=-pd/2,vd=-fd/2,{cssStyles:Ad}=qa,Nd=at$3.svg(ld),Id=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Id.roughness=0,Id.fillStyle="solid");const Od=[{x:md,y:vd},{x:md,y:vd+fd},{x:md+pd,y:vd+fd},{x:md+pd,y:vd-fd/2}],Md=createPathFromPoints(Od),Ud=Nd.path(Md,Id),jd=ld.insert(()=>Ud,":first-child");return jd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),jd.attr("transform",`translate(0, ${fd/4})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)-(ud.x-(ud.left??0))}, ${-fd/4+(qa.padding??0)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,jd),qa.intersect=function(Ld){return intersect_default.polygon(qa,Od,Ld)},ld}__name(slopedRect,"slopedRect");async function squareRect2(Ra,qa){const nd={rx:0,ry:0,classes:"",labelPaddingX:((qa==null?void 0:qa.padding)||0)*2,labelPaddingY:((qa==null?void 0:qa.padding)||0)*1};return drawRect(Ra,qa,nd)}__name(squareRect2,"squareRect");async function stadium(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.height+qa.padding,pd=ud.width+dd/4+qa.padding;let fd;const{cssStyles:md}=qa;if(qa.look==="handDrawn"){const vd=at$3.svg(ld),Ad=userNodeOverrides(qa,{}),Nd=createRoundedRectPathD(-pd/2,-dd/2,pd,dd,dd/2),Id=vd.path(Nd,Ad);fd=ld.insert(()=>Id,":first-child"),fd.attr("class","basic label-container").attr("style",handleUndefinedAttr(md))}else fd=ld.insert("rect",":first-child"),fd.attr("class","basic label-container").attr("style",od).attr("rx",dd/2).attr("ry",dd/2).attr("x",-pd/2).attr("y",-dd/2).attr("width",pd).attr("height",dd);return updateNodeBounds(qa,fd),qa.intersect=function(vd){return intersect_default.rect(qa,vd)},ld}__name(stadium,"stadium");async function state$1(Ra,qa){return drawRect(Ra,qa,{rx:5,ry:5,classes:"flowchart-node"})}__name(state$1,"state");function stateEnd(Ra,qa,{config:{themeVariables:nd}}){const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od;const{cssStyles:ud}=qa,{lineColor:dd,stateBorder:pd,nodeBorder:fd}=nd,md=Ra.insert("g").attr("class","node default").attr("id",qa.domId||qa.id),vd=at$3.svg(md),Ad=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ad.roughness=0,Ad.fillStyle="solid");const Nd=vd.circle(0,0,14,{...Ad,stroke:dd,strokeWidth:2}),Id=pd??fd,Od=vd.circle(0,0,5,{...Ad,fill:Id,stroke:Id,strokeWidth:2,fillStyle:"solid"}),Md=md.insert(()=>Nd,":first-child");return Md.insert(()=>Od),ud&&Md.selectAll("path").attr("style",ud),ld&&Md.selectAll("path").attr("style",ld),updateNodeBounds(qa,Md),qa.intersect=function(Ud){return intersect_default.circle(qa,7,Ud)},md}__name(stateEnd,"stateEnd");function stateStart(Ra,qa,{config:{themeVariables:nd}}){const{lineColor:od}=nd,ld=Ra.insert("g").attr("class","node default").attr("id",qa.domId||qa.id);let ud;if(qa.look==="handDrawn"){const pd=at$3.svg(ld).circle(0,0,14,solidStateFill(od));ud=ld.insert(()=>pd),ud.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else ud=ld.insert("circle",":first-child"),ud.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14);return updateNodeBounds(qa,ud),qa.intersect=function(dd){return intersect_default.circle(qa,7,dd)},ld}__name(stateStart,"stateStart");async function subroutine(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=((qa==null?void 0:qa.padding)||0)/2,pd=ud.width+qa.padding,fd=ud.height+qa.padding,md=-ud.width/2-dd,vd=-ud.height/2-dd,Ad=[{x:0,y:0},{x:pd,y:0},{x:pd,y:-fd},{x:0,y:-fd},{x:0,y:0},{x:-8,y:0},{x:pd+8,y:0},{x:pd+8,y:-fd},{x:-8,y:-fd},{x:-8,y:0}];if(qa.look==="handDrawn"){const Nd=at$3.svg(ld),Id=userNodeOverrides(qa,{}),Od=Nd.rectangle(md-8,vd,pd+16,fd,Id),Md=Nd.line(md,vd,md,vd+fd,Id),Ud=Nd.line(md+pd,vd,md+pd,vd+fd,Id);ld.insert(()=>Md,":first-child"),ld.insert(()=>Ud,":first-child");const jd=ld.insert(()=>Od,":first-child"),{cssStyles:Ld}=qa;jd.attr("class","basic label-container").attr("style",handleUndefinedAttr(Ld)),updateNodeBounds(qa,jd)}else{const Nd=insertPolygonShape(ld,pd,fd,Ad);od&&Nd.attr("style",od),updateNodeBounds(qa,Nd)}return qa.intersect=function(Nd){return intersect_default.polygon(qa,Ad,Nd)},ld}__name(subroutine,"subroutine");async function taggedRect(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),pd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),fd=-dd/2,md=-pd/2,vd=.2*pd,Ad=.2*pd,{cssStyles:Nd}=qa,Id=at$3.svg(ld),Od=userNodeOverrides(qa,{}),Md=[{x:fd-vd/2,y:md},{x:fd+dd+vd/2,y:md},{x:fd+dd+vd/2,y:md+pd},{x:fd-vd/2,y:md+pd}],Ud=[{x:fd+dd-vd/2,y:md+pd},{x:fd+dd+vd/2,y:md+pd},{x:fd+dd+vd/2,y:md+pd-Ad}];qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const jd=createPathFromPoints(Md),Ld=Id.path(jd,Od),Bd=createPathFromPoints(Ud),Gd=Id.path(Bd,{...Od,fillStyle:"solid"}),qd=ld.insert(()=>Gd,":first-child");return qd.insert(()=>Ld,":first-child"),qd.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",od),updateNodeBounds(qa,qd),qa.intersect=function(zd){return intersect_default.polygon(qa,Md,zd)},ld}__name(taggedRect,"taggedRect");async function taggedWaveEdgedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/4,vd=.2*pd,Ad=.2*fd,Nd=fd+md,{cssStyles:Id}=qa,Od=at$3.svg(ld),Md=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Md.roughness=0,Md.fillStyle="solid");const Ud=[{x:-pd/2-pd/2*.1,y:Nd/2},...generateFullSineWavePoints(-pd/2-pd/2*.1,Nd/2,pd/2+pd/2*.1,Nd/2,md,.8),{x:pd/2+pd/2*.1,y:-Nd/2},{x:-pd/2-pd/2*.1,y:-Nd/2}],jd=-pd/2+pd/2*.1,Ld=-Nd/2-Ad*.4,Bd=[{x:jd+pd-vd,y:(Ld+fd)*1.4},{x:jd+pd,y:Ld+fd-Ad},{x:jd+pd,y:(Ld+fd)*.9},...generateFullSineWavePoints(jd+pd,(Ld+fd)*1.3,jd+pd-vd,(Ld+fd)*1.5,-fd*.03,.5)],Gd=createPathFromPoints(Ud),qd=Od.path(Gd,Md),zd=createPathFromPoints(Bd),Xd=Od.path(zd,{...Md,fillStyle:"solid"}),gf=ld.insert(()=>Xd,":first-child");return gf.insert(()=>qd,":first-child"),gf.attr("class","basic label-container"),Id&&qa.look!=="handDrawn"&&gf.selectAll("path").attr("style",Id),od&&qa.look!=="handDrawn"&&gf.selectAll("path").attr("style",od),gf.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)-md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,gf),qa.intersect=function(Yd){return intersect_default.polygon(qa,Ud,Yd)},ld}__name(taggedWaveEdgedRectangle,"taggedWaveEdgedRectangle");async function text(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=Math.max(ud.width+qa.padding,(qa==null?void 0:qa.width)||0),pd=Math.max(ud.height+qa.padding,(qa==null?void 0:qa.height)||0),fd=-dd/2,md=-pd/2,vd=ld.insert("rect",":first-child");return vd.attr("class","text").attr("style",od).attr("rx",0).attr("ry",0).attr("x",fd).attr("y",md).attr("width",dd).attr("height",pd),updateNodeBounds(qa,vd),qa.intersect=function(Ad){return intersect_default.rect(qa,Ad)},ld}__name(text,"text");var createCylinderPathD3=__name((Ra,qa,nd,od,ld,ud)=>`M${Ra},${qa}
|
||
a${ld},${ud} 0,0,1 0,${-od}
|
||
l${nd},0
|
||
a${ld},${ud} 0,0,1 0,${od}
|
||
M${nd},${-od}
|
||
a${ld},${ud} 0,0,0 0,${od}
|
||
l${-nd},0`,"createCylinderPathD"),createOuterCylinderPathD3=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra},${qa}`,`M${Ra+nd},${qa}`,`a${ld},${ud} 0,0,0 0,${-od}`,`l${-nd},0`,`a${ld},${ud} 0,0,0 0,${od}`,`l${nd},0`].join(" "),"createOuterCylinderPathD"),createInnerCylinderPathD3=__name((Ra,qa,nd,od,ld,ud)=>[`M${Ra+nd/2},${-od/2}`,`a${ld},${ud} 0,0,0 0,${od}`].join(" "),"createInnerCylinderPathD");async function tiltedCylinder(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd,halfPadding:pd}=await labelHelper(Ra,qa,getNodeClasses(qa)),fd=qa.look==="neo"?pd*2:pd,md=ud.height+fd,vd=md/2,Ad=vd/(2.5+md/50),Nd=ud.width+Ad+fd,{cssStyles:Id}=qa;let Od;if(qa.look==="handDrawn"){const Md=at$3.svg(ld),Ud=createOuterCylinderPathD3(0,0,Nd,md,Ad,vd),jd=createInnerCylinderPathD3(0,0,Nd,md,Ad,vd),Ld=Md.path(Ud,userNodeOverrides(qa,{})),Bd=Md.path(jd,userNodeOverrides(qa,{fill:"none"}));Od=ld.insert(()=>Bd,":first-child"),Od=ld.insert(()=>Ld,":first-child"),Od.attr("class","basic label-container"),Id&&Od.attr("style",Id)}else{const Md=createCylinderPathD3(0,0,Nd,md,Ad,vd);Od=ld.insert("path",":first-child").attr("d",Md).attr("class","basic label-container").attr("style",handleUndefinedAttr(Id)).attr("style",od),Od.attr("class","basic label-container"),Id&&Od.selectAll("path").attr("style",Id),od&&Od.selectAll("path").attr("style",od)}return Od.attr("label-offset-x",Ad),Od.attr("transform",`translate(${-Nd/2}, ${md/2} )`),dd.attr("transform",`translate(${-(ud.width/2)-Ad-(ud.x-(ud.left??0))}, ${-(ud.height/2)-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Od),qa.intersect=function(Md){const Ud=intersect_default.rect(qa,Md),jd=Ud.y-(qa.y??0);if(vd!=0&&(Math.abs(jd)<(qa.height??0)/2||Math.abs(jd)==(qa.height??0)/2&&Math.abs(Ud.x-(qa.x??0))>(qa.width??0)/2-Ad)){let Ld=Ad*Ad*(1-jd*jd/(vd*vd));Ld!=0&&(Ld=Math.sqrt(Math.abs(Ld))),Ld=Ad-Ld,Md.x-(qa.x??0)>0&&(Ld=-Ld),Ud.x+=Ld}return Ud},ld}__name(tiltedCylinder,"tiltedCylinder");async function trapezoid(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=ud.width+qa.padding,pd=ud.height+qa.padding,fd=[{x:-3*pd/6,y:0},{x:dd+3*pd/6,y:0},{x:dd,y:-pd},{x:0,y:-pd}];let md;const{cssStyles:vd}=qa;if(qa.look==="handDrawn"){const Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{}),Id=createPathFromPoints(fd),Od=Ad.path(Id,Nd);md=ld.insert(()=>Od,":first-child").attr("transform",`translate(${-dd/2}, ${pd/2})`),vd&&md.attr("style",vd)}else md=insertPolygonShape(ld,dd,pd,fd);return od&&md.attr("style",od),qa.width=dd,qa.height=pd,updateNodeBounds(qa,md),qa.intersect=function(Ad){return intersect_default.polygon(qa,fd,Ad)},ld}__name(trapezoid,"trapezoid");async function trapezoidalPentagon(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=60,pd=20,fd=Math.max(dd,ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(pd,ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),{cssStyles:vd}=qa,Ad=at$3.svg(ld),Nd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Nd.roughness=0,Nd.fillStyle="solid");const Id=[{x:-fd/2*.8,y:-md/2},{x:fd/2*.8,y:-md/2},{x:fd/2,y:-md/2*.6},{x:fd/2,y:md/2},{x:-fd/2,y:md/2},{x:-fd/2,y:-md/2*.6}],Od=createPathFromPoints(Id),Md=Ad.path(Od,Nd),Ud=ld.insert(()=>Md,":first-child");return Ud.attr("class","basic label-container"),vd&&qa.look!=="handDrawn"&&Ud.selectChildren("path").attr("style",vd),od&&qa.look!=="handDrawn"&&Ud.selectChildren("path").attr("style",od),updateNodeBounds(qa,Ud),qa.intersect=function(jd){return intersect_default.polygon(qa,Id,jd)},ld}__name(trapezoidalPentagon,"trapezoidalPentagon");async function triangle(Ra,qa){var Ld;const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=evaluate((Ld=getConfig2().flowchart)==null?void 0:Ld.htmlLabels),fd=ud.width+(qa.padding??0),md=fd+ud.height,vd=fd+ud.height,Ad=[{x:0,y:0},{x:vd,y:0},{x:vd/2,y:-md}],{cssStyles:Nd}=qa,Id=at$3.svg(ld),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const Md=createPathFromPoints(Ad),Ud=Id.path(Md,Od),jd=ld.insert(()=>Ud,":first-child").attr("transform",`translate(${-md/2}, ${md/2})`);return Nd&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&jd.selectChildren("path").attr("style",od),qa.width=fd,qa.height=md,updateNodeBounds(qa,jd),dd.attr("transform",`translate(${-ud.width/2-(ud.x-(ud.left??0))}, ${md/2-(ud.height+(qa.padding??0)/(pd?2:1)-(ud.y-(ud.top??0)))})`),qa.intersect=function(Bd){return log$1.info("Triangle intersect",qa,Ad,Bd),intersect_default.polygon(qa,Ad,Bd)},ld}__name(triangle,"triangle");async function waveEdgedRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=fd/8,vd=fd+md,{cssStyles:Ad}=qa,Id=70-pd,Od=Id>0?Id/2:0,Md=at$3.svg(ld),Ud=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Ud.roughness=0,Ud.fillStyle="solid");const jd=[{x:-pd/2-Od,y:vd/2},...generateFullSineWavePoints(-pd/2-Od,vd/2,pd/2+Od,vd/2,md,.8),{x:pd/2+Od,y:-vd/2},{x:-pd/2-Od,y:-vd/2}],Ld=createPathFromPoints(jd),Bd=Md.path(Ld,Ud),Gd=ld.insert(()=>Bd,":first-child");return Gd.attr("class","basic label-container"),Ad&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",Ad),od&&qa.look!=="handDrawn"&&Gd.selectAll("path").attr("style",od),Gd.attr("transform",`translate(0,${-md/2})`),dd.attr("transform",`translate(${-pd/2+(qa.padding??0)-(ud.x-(ud.left??0))},${-fd/2+(qa.padding??0)-md-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Gd),qa.intersect=function(qd){return intersect_default.polygon(qa,jd,qd)},ld}__name(waveEdgedRectangle,"waveEdgedRectangle");async function waveRectangle(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud}=await labelHelper(Ra,qa,getNodeClasses(qa)),dd=100,pd=50,fd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),md=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),vd=fd/md;let Ad=fd,Nd=md;Ad>Nd*vd?Nd=Ad/vd:Ad=Nd*vd,Ad=Math.max(Ad,dd),Nd=Math.max(Nd,pd);const Id=Math.min(Nd*.2,Nd/4),Od=Nd+Id*2,{cssStyles:Md}=qa,Ud=at$3.svg(ld),jd=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(jd.roughness=0,jd.fillStyle="solid");const Ld=[{x:-Ad/2,y:Od/2},...generateFullSineWavePoints(-Ad/2,Od/2,Ad/2,Od/2,Id,1),{x:Ad/2,y:-Od/2},...generateFullSineWavePoints(Ad/2,-Od/2,-Ad/2,-Od/2,Id,-1)],Bd=createPathFromPoints(Ld),Gd=Ud.path(Bd,jd),qd=ld.insert(()=>Gd,":first-child");return qd.attr("class","basic label-container"),Md&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",Md),od&&qa.look!=="handDrawn"&&qd.selectAll("path").attr("style",od),updateNodeBounds(qa,qd),qa.intersect=function(zd){return intersect_default.polygon(qa,Ld,zd)},ld}__name(waveRectangle,"waveRectangle");async function windowPane(Ra,qa){const{labelStyles:nd,nodeStyles:od}=styles2String(qa);qa.labelStyle=nd;const{shapeSvg:ld,bbox:ud,label:dd}=await labelHelper(Ra,qa,getNodeClasses(qa)),pd=Math.max(ud.width+(qa.padding??0)*2,(qa==null?void 0:qa.width)??0),fd=Math.max(ud.height+(qa.padding??0)*2,(qa==null?void 0:qa.height)??0),md=5,vd=-pd/2,Ad=-fd/2,{cssStyles:Nd}=qa,Id=at$3.svg(ld),Od=userNodeOverrides(qa,{}),Md=[{x:vd-md,y:Ad-md},{x:vd-md,y:Ad+fd},{x:vd+pd,y:Ad+fd},{x:vd+pd,y:Ad-md}],Ud=`M${vd-md},${Ad-md} L${vd+pd},${Ad-md} L${vd+pd},${Ad+fd} L${vd-md},${Ad+fd} L${vd-md},${Ad-md}
|
||
M${vd-md},${Ad} L${vd+pd},${Ad}
|
||
M${vd},${Ad-md} L${vd},${Ad+fd}`;qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const jd=Id.path(Ud,Od),Ld=ld.insert(()=>jd,":first-child");return Ld.attr("transform",`translate(${md/2}, ${md/2})`),Ld.attr("class","basic label-container"),Nd&&qa.look!=="handDrawn"&&Ld.selectAll("path").attr("style",Nd),od&&qa.look!=="handDrawn"&&Ld.selectAll("path").attr("style",od),dd.attr("transform",`translate(${-(ud.width/2)+md/2-(ud.x-(ud.left??0))}, ${-(ud.height/2)+md/2-(ud.y-(ud.top??0))})`),updateNodeBounds(qa,Ld),qa.intersect=function(Bd){return intersect_default.polygon(qa,Md,Bd)},ld}__name(windowPane,"windowPane");async function textHelper(Ra,qa,nd,od,ld=nd.class.padding??12){const ud=od?0:3,dd=Ra.insert("g").attr("class",getNodeClasses(qa)).attr("id",qa.domId||qa.id);let pd=null,fd=null,md=null,vd=null,Ad=0,Nd=0,Id=0;if(pd=dd.insert("g").attr("class","annotation-group text"),qa.annotations.length>0){const Ld=qa.annotations[0];await addText(pd,{text:`«${Ld}»`},0),Ad=pd.node().getBBox().height}fd=dd.insert("g").attr("class","label-group text"),await addText(fd,qa,0,["font-weight: bolder"]);const Od=fd.node().getBBox();Nd=Od.height,md=dd.insert("g").attr("class","members-group text");let Md=0;for(const Ld of qa.members){const Bd=await addText(md,Ld,Md,[Ld.parseClassifier()]);Md+=Bd+ud}Id=md.node().getBBox().height,Id<=0&&(Id=ld/2),vd=dd.insert("g").attr("class","methods-group text");let Ud=0;for(const Ld of qa.methods){const Bd=await addText(vd,Ld,Ud,[Ld.parseClassifier()]);Ud+=Bd+ud}let jd=dd.node().getBBox();if(pd!==null){const Ld=pd.node().getBBox();pd.attr("transform",`translate(${-Ld.width/2})`)}return fd.attr("transform",`translate(${-Od.width/2}, ${Ad})`),jd=dd.node().getBBox(),md.attr("transform",`translate(0, ${Ad+Nd+ld*2})`),jd=dd.node().getBBox(),vd.attr("transform",`translate(0, ${Ad+Nd+(Id?Id+ld*4:ld*2)})`),jd=dd.node().getBBox(),{shapeSvg:dd,bbox:jd}}__name(textHelper,"textHelper");async function addText(Ra,qa,nd,od=[]){const ld=Ra.insert("g").attr("class","label").attr("style",od.join("; ")),ud=getConfig$1();let dd="useHtmlLabels"in qa?qa.useHtmlLabels:evaluate(ud.htmlLabels)??!0,pd="";"text"in qa?pd=qa.text:pd=qa.label,!dd&&pd.startsWith("\\")&&(pd=pd.substring(1)),hasKatex(pd)&&(dd=!0);const fd=await createText(ld,sanitizeText3(decodeEntities(pd)),{width:calculateTextWidth(pd,ud)+50,classes:"markdown-node-label",useHtmlLabels:dd},ud);let md,vd=1;if(dd){const Ad=fd.children[0],Nd=select(fd);vd=Ad.innerHTML.split("<br>").length,Ad.innerHTML.includes("</math>")&&(vd+=Ad.innerHTML.split("<mrow>").length-1);const Id=Ad.getElementsByTagName("img");if(Id){const Od=pd.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...Id].map(Md=>new Promise(Ud=>{function jd(){var Ld;if(Md.style.display="flex",Md.style.flexDirection="column",Od){const Bd=((Ld=ud.fontSize)==null?void 0:Ld.toString())??window.getComputedStyle(document.body).fontSize,qd=parseInt(Bd,10)*5+"px";Md.style.minWidth=qd,Md.style.maxWidth=qd}else Md.style.width="100%";Ud(Md)}__name(jd,"setupImage"),setTimeout(()=>{Md.complete&&jd()}),Md.addEventListener("error",jd),Md.addEventListener("load",jd)})))}md=Ad.getBoundingClientRect(),Nd.attr("width",md.width),Nd.attr("height",md.height)}else{od.includes("font-weight: bolder")&&select(fd).selectAll("tspan").attr("font-weight",""),vd=fd.children.length;const Ad=fd.children[0];(fd.textContent===""||fd.textContent.includes(">"))&&(Ad.textContent=pd[0]+pd.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),pd[1]===" "&&(Ad.textContent=Ad.textContent[0]+" "+Ad.textContent.substring(1))),Ad.textContent==="undefined"&&(Ad.textContent=""),md=fd.getBBox()}return ld.attr("transform","translate(0,"+(-md.height/(2*vd)+nd)+")"),md.height}__name(addText,"addText");async function classBox(Ra,qa){var Yd,Zd;const nd=getConfig2(),od=nd.class.padding??12,ld=od,ud=qa.useHtmlLabels??evaluate(nd.htmlLabels)??!0,dd=qa;dd.annotations=dd.annotations??[],dd.members=dd.members??[],dd.methods=dd.methods??[];const{shapeSvg:pd,bbox:fd}=await textHelper(Ra,qa,nd,ud,ld),{labelStyles:md,nodeStyles:vd}=styles2String(qa);qa.labelStyle=md,qa.cssStyles=dd.styles||"";const Ad=((Yd=dd.styles)==null?void 0:Yd.join(";"))||vd||"";qa.cssStyles||(qa.cssStyles=Ad.replaceAll("!important","").split(";"));const Nd=dd.members.length===0&&dd.methods.length===0&&!((Zd=nd.class)!=null&&Zd.hideEmptyMembersBox),Id=at$3.svg(pd),Od=userNodeOverrides(qa,{});qa.look!=="handDrawn"&&(Od.roughness=0,Od.fillStyle="solid");const Md=fd.width;let Ud=fd.height;dd.members.length===0&&dd.methods.length===0?Ud+=ld:dd.members.length>0&&dd.methods.length===0&&(Ud+=ld*2);const jd=-Md/2,Ld=-Ud/2,Bd=Id.rectangle(jd-od,Ld-od-(Nd?od:dd.members.length===0&&dd.methods.length===0?-od/2:0),Md+2*od,Ud+2*od+(Nd?od*2:dd.members.length===0&&dd.methods.length===0?-od:0),Od),Gd=pd.insert(()=>Bd,":first-child");Gd.attr("class","basic label-container");const qd=Gd.node().getBBox();pd.selectAll(".text").each((df,Ef,_f)=>{var Jf;const xf=select(_f[Ef]),vf=xf.attr("transform");let Af=0;if(vf){const th=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(vf);th&&(Af=parseFloat(th[2]))}let Df=Af+Ld+od-(Nd?od:dd.members.length===0&&dd.methods.length===0?-od/2:0);ud||(Df-=4);let jf=jd;(xf.attr("class").includes("label-group")||xf.attr("class").includes("annotation-group"))&&(jf=-((Jf=xf.node())==null?void 0:Jf.getBBox().width)/2||0,pd.selectAll("text").each(function(eh,th,Uf){window.getComputedStyle(Uf[th]).textAnchor==="middle"&&(jf=0)})),xf.attr("transform",`translate(${jf}, ${Df})`)});const zd=pd.select(".annotation-group").node().getBBox().height-(Nd?od/2:0)||0,Xd=pd.select(".label-group").node().getBBox().height-(Nd?od/2:0)||0,gf=pd.select(".members-group").node().getBBox().height-(Nd?od/2:0)||0;if(dd.members.length>0||dd.methods.length>0||Nd){const df=Id.line(qd.x,zd+Xd+Ld+od,qd.x+qd.width,zd+Xd+Ld+od,Od);pd.insert(()=>df).attr("class","divider").attr("style",Ad)}if(Nd||dd.members.length>0||dd.methods.length>0){const df=Id.line(qd.x,zd+Xd+gf+Ld+ld*2+od,qd.x+qd.width,zd+Xd+gf+Ld+od+ld*2,Od);pd.insert(()=>df).attr("class","divider").attr("style",Ad)}if(dd.look!=="handDrawn"&&pd.selectAll("path").attr("style",Ad),Gd.select(":nth-child(2)").attr("style",Ad),pd.selectAll(".divider").select("path").attr("style",Ad),qa.labelStyle?pd.selectAll("span").attr("style",qa.labelStyle):pd.selectAll("span").attr("style",Ad),!ud){const df=RegExp(/color\s*:\s*([^;]*)/),Ef=df.exec(Ad);if(Ef){const _f=Ef[0].replace("color","fill");pd.selectAll("tspan").attr("style",_f)}else if(md){const _f=df.exec(md);if(_f){const xf=_f[0].replace("color","fill");pd.selectAll("tspan").attr("style",xf)}}}return updateNodeBounds(qa,Gd),qa.intersect=function(df){return intersect_default.rect(qa,df)},pd}__name(classBox,"classBox");var colorFromPriority=__name(Ra=>{switch(Ra){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function kanbanItem(Ra,qa,{config:nd}){var Ef,_f;const{labelStyles:od,nodeStyles:ld}=styles2String(qa);qa.labelStyle=od||"";const ud=10,dd=qa.width;qa.width=(qa.width??200)-10;const{shapeSvg:pd,bbox:fd,label:md}=await labelHelper(Ra,qa,getNodeClasses(qa)),vd=qa.padding||10;let Ad="",Nd;"ticket"in qa&&qa.ticket&&((Ef=nd==null?void 0:nd.kanban)!=null&&Ef.ticketBaseUrl)&&(Ad=(_f=nd==null?void 0:nd.kanban)==null?void 0:_f.ticketBaseUrl.replace("#TICKET#",qa.ticket),Nd=pd.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",Ad).attr("target","_blank"));const Id={useHtmlLabels:qa.useHtmlLabels,labelStyle:qa.labelStyle||"",width:qa.width,img:qa.img,padding:qa.padding||8,centerLabel:!1};let Od,Md;Nd?{label:Od,bbox:Md}=await insertLabel(Nd,"ticket"in qa&&qa.ticket||"",Id):{label:Od,bbox:Md}=await insertLabel(pd,"ticket"in qa&&qa.ticket||"",Id);const{label:Ud,bbox:jd}=await insertLabel(pd,"assigned"in qa&&qa.assigned||"",Id);qa.width=dd;const Ld=10,Bd=(qa==null?void 0:qa.width)||0,Gd=Math.max(Md.height,jd.height)/2,qd=Math.max(fd.height+Ld*2,(qa==null?void 0:qa.height)||0)+Gd,zd=-Bd/2,Xd=-qd/2;md.attr("transform","translate("+(vd-Bd/2)+", "+(-Gd-fd.height/2)+")"),Od.attr("transform","translate("+(vd-Bd/2)+", "+(-Gd+fd.height/2)+")"),Ud.attr("transform","translate("+(vd+Bd/2-jd.width-2*ud)+", "+(-Gd+fd.height/2)+")");let gf;const{rx:Yd,ry:Zd}=qa,{cssStyles:df}=qa;if(qa.look==="handDrawn"){const xf=at$3.svg(pd),vf=userNodeOverrides(qa,{}),Af=Yd||Zd?xf.path(createRoundedRectPathD(zd,Xd,Bd,qd,Yd||0),vf):xf.rectangle(zd,Xd,Bd,qd,vf);gf=pd.insert(()=>Af,":first-child"),gf.attr("class","basic label-container").attr("style",df||null)}else{gf=pd.insert("rect",":first-child"),gf.attr("class","basic label-container __APA__").attr("style",ld).attr("rx",Yd??5).attr("ry",Zd??5).attr("x",zd).attr("y",Xd).attr("width",Bd).attr("height",qd);const xf="priority"in qa&&qa.priority;if(xf){const vf=pd.append("line"),Af=zd+2,Df=Xd+Math.floor((Yd??0)/2),jf=Xd+qd-Math.floor((Yd??0)/2);vf.attr("x1",Af).attr("y1",Df).attr("x2",Af).attr("y2",jf).attr("stroke-width","4").attr("stroke",colorFromPriority(xf))}}return updateNodeBounds(qa,gf),qa.height=qd,qa.intersect=function(xf){return intersect_default.rect(qa,xf)},pd}__name(kanbanItem,"kanbanItem");var shapesDefs=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:squareRect2},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:roundedRect},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:stadium},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:subroutine},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:cylinder},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:circle$1},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:question},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:hexagon},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:lean_right},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:lean_left},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:trapezoid},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:inv_trapezoid},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:doublecircle},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:text},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:card},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:shadedProcess},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:stateStart},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:stateEnd},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:forkJoin},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:hourglass},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:curlyBraceLeft},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:curlyBraceRight},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:curlyBraces},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:lightningBolt},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:waveEdgedRectangle},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:halfRoundedRectangle},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:tiltedCylinder},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:linedCylinder},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:curvedTrapezoid},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:dividedRectangle},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:triangle},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:windowPane},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:filledCircle},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:trapezoidalPentagon},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:flippedTriangle},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:slopedRect},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:multiWaveEdgedRectangle},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:multiRect},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:bowTieRect},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:crossedCircle},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:taggedWaveEdgedRectangle},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:taggedRect},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:waveRectangle},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:rect_left_inv_arrow},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:linedWaveEdgedRect}],generateShapeMap=__name(()=>{const qa=[...Object.entries({state:state$1,choice,note,rectWithTitle,labelRect,iconSquare,iconCircle,icon,iconRounded,imageSquare,anchor,kanbanItem,classBox}),...shapesDefs.flatMap(nd=>[nd.shortName,..."aliases"in nd?nd.aliases:[],..."internalAliases"in nd?nd.internalAliases:[]].map(ld=>[ld,nd.handler]))];return Object.fromEntries(qa)},"generateShapeMap"),shapes2=generateShapeMap();function isValidShape(Ra){return Ra in shapes2}__name(isValidShape,"isValidShape");var nodeElems=new Map;async function insertNode(Ra,qa,nd){let od,ld;qa.shape==="rect"&&(qa.rx&&qa.ry?qa.shape="roundedRect":qa.shape="squareRect");const ud=qa.shape?shapes2[qa.shape]:void 0;if(!ud)throw new Error(`No such shape: ${qa.shape}. Please check your syntax.`);if(qa.link){let dd;nd.config.securityLevel==="sandbox"?dd="_top":qa.linkTarget&&(dd=qa.linkTarget||"_blank"),od=Ra.insert("svg:a").attr("xlink:href",qa.link).attr("target",dd??null),ld=await ud(od,qa,nd)}else ld=await ud(Ra,qa,nd),od=ld;return qa.tooltip&&ld.attr("title",qa.tooltip),nodeElems.set(qa.id,od),qa.haveCallback&&od.attr("class",od.attr("class")+" clickable"),od}__name(insertNode,"insertNode");var setNodeElem=__name((Ra,qa)=>{nodeElems.set(qa.id,Ra)},"setNodeElem"),clear2=__name(()=>{nodeElems.clear()},"clear"),positionNode=__name(Ra=>{const qa=nodeElems.get(Ra.id);log$1.trace("Transforming node",Ra.diff,Ra,"translate("+(Ra.x-Ra.width/2-5)+", "+Ra.width/2+")");const nd=8,od=Ra.diff||0;return Ra.clusterNode?qa.attr("transform","translate("+(Ra.x+od-Ra.width/2)+", "+(Ra.y-Ra.height/2-nd)+")"):qa.attr("transform","translate("+Ra.x+", "+Ra.y+")"),od},"positionNode"),markerOffsets={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function calculateDeltaAndAngle(Ra,qa){if(Ra===void 0||qa===void 0)return{angle:0,deltaX:0,deltaY:0};Ra=pointTransformer(Ra),qa=pointTransformer(qa);const[nd,od]=[Ra.x,Ra.y],[ld,ud]=[qa.x,qa.y],dd=ld-nd,pd=ud-od;return{angle:Math.atan(pd/dd),deltaX:dd,deltaY:pd}}__name(calculateDeltaAndAngle,"calculateDeltaAndAngle");var pointTransformer=__name(Ra=>Array.isArray(Ra)?{x:Ra[0],y:Ra[1]}:Ra,"pointTransformer"),getLineFunctionsWithOffset=__name(Ra=>({x:__name(function(qa,nd,od){let ld=0;const ud=pointTransformer(od[0]).x<pointTransformer(od[od.length-1]).x?"left":"right";if(nd===0&&Object.hasOwn(markerOffsets,Ra.arrowTypeStart)){const{angle:Id,deltaX:Od}=calculateDeltaAndAngle(od[0],od[1]);ld=markerOffsets[Ra.arrowTypeStart]*Math.cos(Id)*(Od>=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Id,deltaX:Od}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.cos(Id)*(Od>=0?1:-1)}const dd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),pd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),fd=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),md=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),vd=markerOffsets[Ra.arrowTypeStart],Ad=markerOffsets[Ra.arrowTypeEnd],Nd=1;if(dd<Ad&&dd>0&&pd<Ad){let Id=Ad+Nd-dd;Id*=ud==="right"?-1:1,ld-=Id}if(fd<vd&&fd>0&&md<vd){let Id=vd+Nd-fd;Id*=ud==="right"?-1:1,ld+=Id}return pointTransformer(qa).x+ld},"x"),y:__name(function(qa,nd,od){let ld=0;const ud=pointTransformer(od[0]).y<pointTransformer(od[od.length-1]).y?"down":"up";if(nd===0&&Object.hasOwn(markerOffsets,Ra.arrowTypeStart)){const{angle:Id,deltaY:Od}=calculateDeltaAndAngle(od[0],od[1]);ld=markerOffsets[Ra.arrowTypeStart]*Math.abs(Math.sin(Id))*(Od>=0?1:-1)}else if(nd===od.length-1&&Object.hasOwn(markerOffsets,Ra.arrowTypeEnd)){const{angle:Id,deltaY:Od}=calculateDeltaAndAngle(od[od.length-1],od[od.length-2]);ld=markerOffsets[Ra.arrowTypeEnd]*Math.abs(Math.sin(Id))*(Od>=0?1:-1)}const dd=Math.abs(pointTransformer(qa).y-pointTransformer(od[od.length-1]).y),pd=Math.abs(pointTransformer(qa).x-pointTransformer(od[od.length-1]).x),fd=Math.abs(pointTransformer(qa).y-pointTransformer(od[0]).y),md=Math.abs(pointTransformer(qa).x-pointTransformer(od[0]).x),vd=markerOffsets[Ra.arrowTypeStart],Ad=markerOffsets[Ra.arrowTypeEnd],Nd=1;if(dd<Ad&&dd>0&&pd<Ad){let Id=Ad+Nd-dd;Id*=ud==="up"?-1:1,ld-=Id}if(fd<vd&&fd>0&&md<vd){let Id=vd+Nd-fd;Id*=ud==="up"?-1:1,ld+=Id}return pointTransformer(qa).y+ld},"y")}),"getLineFunctionsWithOffset"),addEdgeMarkers=__name((Ra,qa,nd,od,ld)=>{qa.arrowTypeStart&&addEdgeMarker(Ra,"start",qa.arrowTypeStart,nd,od,ld),qa.arrowTypeEnd&&addEdgeMarker(Ra,"end",qa.arrowTypeEnd,nd,od,ld)},"addEdgeMarkers"),arrowTypesMap={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},addEdgeMarker=__name((Ra,qa,nd,od,ld,ud)=>{const dd=arrowTypesMap[nd];if(!dd){log$1.warn(`Unknown arrow type: ${nd}`);return}const pd=qa==="start"?"Start":"End";Ra.attr(`marker-${qa}`,`url(${od}#${ld}_${ud}-${dd}${pd})`)},"addEdgeMarker"),edgeLabels=new Map,terminalLabels=new Map,clear=__name(()=>{edgeLabels.clear(),terminalLabels.clear()},"clear"),getLabelStyles=__name(Ra=>Ra?Ra.reduce((nd,od)=>nd+";"+od,""):"","getLabelStyles"),insertEdgeLabel=__name(async(Ra,qa)=>{let nd=evaluate(getConfig2().flowchart.htmlLabels);const od=await createText(Ra,qa.label,{style:getLabelStyles(qa.labelStyle),useHtmlLabels:nd,addSvgBackground:!0,isNode:!1});log$1.info("abc82",qa,qa.labelType);const ld=Ra.insert("g").attr("class","edgeLabel"),ud=ld.insert("g").attr("class","label");ud.node().appendChild(od);let dd=od.getBBox();if(nd){const fd=od.children[0],md=select(od);dd=fd.getBoundingClientRect(),md.attr("width",dd.width),md.attr("height",dd.height)}ud.attr("transform","translate("+-dd.width/2+", "+-dd.height/2+")"),edgeLabels.set(qa.id,ld),qa.width=dd.width,qa.height=dd.height;let pd;if(qa.startLabelLeft){const fd=await createLabel_default(qa.startLabelLeft,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startLeft=md,setTerminalWidth(pd,qa.startLabelLeft)}if(qa.startLabelRight){const fd=await createLabel_default(qa.startLabelRight,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=md.node().appendChild(fd),vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).startRight=md,setTerminalWidth(pd,qa.startLabelRight)}if(qa.endLabelLeft){const fd=await createLabel_default(qa.endLabelLeft,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),md.node().appendChild(fd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endLeft=md,setTerminalWidth(pd,qa.endLabelLeft)}if(qa.endLabelRight){const fd=await createLabel_default(qa.endLabelRight,getLabelStyles(qa.labelStyle)),md=Ra.insert("g").attr("class","edgeTerminals"),vd=md.insert("g").attr("class","inner");pd=vd.node().appendChild(fd);const Ad=fd.getBBox();vd.attr("transform","translate("+-Ad.width/2+", "+-Ad.height/2+")"),md.node().appendChild(fd),terminalLabels.get(qa.id)||terminalLabels.set(qa.id,{}),terminalLabels.get(qa.id).endRight=md,setTerminalWidth(pd,qa.endLabelRight)}return od},"insertEdgeLabel");function setTerminalWidth(Ra,qa){getConfig2().flowchart.htmlLabels&&Ra&&(Ra.style.width=qa.length*9+"px",Ra.style.height="12px")}__name(setTerminalWidth,"setTerminalWidth");var positionEdgeLabel=__name((Ra,qa)=>{log$1.debug("Moving label abc88 ",Ra.id,Ra.label,edgeLabels.get(Ra.id),qa);let nd=qa.updatedPath?qa.updatedPath:qa.originalPath;const od=getConfig2(),{subGraphTitleTotalMargin:ld}=getSubGraphTitleMargins(od);if(Ra.label){const ud=edgeLabels.get(Ra.id);let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcLabelPosition(nd);log$1.debug("Moving label "+Ra.label+" from (",dd,",",pd,") to (",fd.x,",",fd.y,") abc88"),qa.updatedPath&&(dd=fd.x,pd=fd.y)}ud.attr("transform",`translate(${dd}, ${pd+ld/2})`)}if(Ra.startLabelLeft){const ud=terminalLabels.get(Ra.id).startLeft;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_left",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.startLabelRight){const ud=terminalLabels.get(Ra.id).startRight;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeStart?10:0,"start_right",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.endLabelLeft){const ud=terminalLabels.get(Ra.id).endLeft;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_left",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}if(Ra.endLabelRight){const ud=terminalLabels.get(Ra.id).endRight;let dd=Ra.x,pd=Ra.y;if(nd){const fd=utils_default.calcTerminalLabelPosition(Ra.arrowTypeEnd?10:0,"end_right",nd);dd=fd.x,pd=fd.y}ud.attr("transform",`translate(${dd}, ${pd})`)}},"positionEdgeLabel"),outsideNode=__name((Ra,qa)=>{const nd=Ra.x,od=Ra.y,ld=Math.abs(qa.x-nd),ud=Math.abs(qa.y-od),dd=Ra.width/2,pd=Ra.height/2;return ld>=dd||ud>=pd},"outsideNode"),intersection=__name((Ra,qa,nd)=>{log$1.debug(`intersection calc abc89:
|
||
outsidePoint: ${JSON.stringify(qa)}
|
||
insidePoint : ${JSON.stringify(nd)}
|
||
node : x:${Ra.x} y:${Ra.y} w:${Ra.width} h:${Ra.height}`);const od=Ra.x,ld=Ra.y,ud=Math.abs(od-nd.x),dd=Ra.width/2;let pd=nd.x<qa.x?dd-ud:dd+ud;const fd=Ra.height/2,md=Math.abs(qa.y-nd.y),vd=Math.abs(qa.x-nd.x);if(Math.abs(ld-qa.y)*dd>Math.abs(od-qa.x)*fd){let Ad=nd.y<qa.y?qa.y-fd-ld:ld-fd-qa.y;pd=vd*Ad/md;const Nd={x:nd.x<qa.x?nd.x+pd:nd.x-vd+pd,y:nd.y<qa.y?nd.y+md-Ad:nd.y-md+Ad};return pd===0&&(Nd.x=qa.x,Nd.y=qa.y),vd===0&&(Nd.x=qa.x),md===0&&(Nd.y=qa.y),log$1.debug(`abc89 top/bottom calc, Q ${md}, q ${Ad}, R ${vd}, r ${pd}`,Nd),Nd}else{nd.x<qa.x?pd=qa.x-dd-od:pd=od-dd-qa.x;let Ad=md*pd/vd,Nd=nd.x<qa.x?nd.x+vd-pd:nd.x-vd+pd,Id=nd.y<qa.y?nd.y+Ad:nd.y-Ad;return log$1.debug(`sides calc abc89, Q ${md}, q ${Ad}, R ${vd}, r ${pd}`,{_x:Nd,_y:Id}),pd===0&&(Nd=qa.x,Id=qa.y),vd===0&&(Nd=qa.x),md===0&&(Id=qa.y),{x:Nd,y:Id}}},"intersection"),cutPathAtIntersect=__name((Ra,qa)=>{log$1.warn("abc88 cutPathAtIntersect",Ra,qa);let nd=[],od=Ra[0],ld=!1;return Ra.forEach(ud=>{if(log$1.info("abc88 checking point",ud,qa),!outsideNode(qa,ud)&&!ld){const dd=intersection(qa,od,ud);log$1.debug("abc88 inside",ud,od,dd),log$1.debug("abc88 intersection",dd,qa);let pd=!1;nd.forEach(fd=>{pd=pd||fd.x===dd.x&&fd.y===dd.y}),nd.some(fd=>fd.x===dd.x&&fd.y===dd.y)?log$1.warn("abc88 no intersect",dd,nd):nd.push(dd),ld=!0}else log$1.warn("abc88 outside",ud,od),od=ud,ld||nd.push(ud)}),log$1.debug("returning points",nd),nd},"cutPathAtIntersect");function extractCornerPoints(Ra){const qa=[],nd=[];for(let od=1;od<Ra.length-1;od++){const ld=Ra[od-1],ud=Ra[od],dd=Ra[od+1];(ld.x===ud.x&&ud.y===dd.y&&Math.abs(ud.x-dd.x)>5&&Math.abs(ud.y-ld.y)>5||ld.y===ud.y&&ud.x===dd.x&&Math.abs(ud.x-ld.x)>5&&Math.abs(ud.y-dd.y)>5)&&(qa.push(ud),nd.push(od))}return{cornerPoints:qa,cornerPointPositions:nd}}__name(extractCornerPoints,"extractCornerPoints");var findAdjacentPoint=__name(function(Ra,qa,nd){const od=qa.x-Ra.x,ld=qa.y-Ra.y,ud=Math.sqrt(od*od+ld*ld),dd=nd/ud;return{x:qa.x-dd*od,y:qa.y-dd*ld}},"findAdjacentPoint"),fixCorners=__name(function(Ra){const{cornerPointPositions:qa}=extractCornerPoints(Ra),nd=[];for(let od=0;od<Ra.length;od++)if(qa.includes(od)){const ld=Ra[od-1],ud=Ra[od+1],dd=Ra[od],pd=findAdjacentPoint(ld,dd,5),fd=findAdjacentPoint(ud,dd,5),md=fd.x-pd.x,vd=fd.y-pd.y;nd.push(pd);const Ad=Math.sqrt(2)*2;let Nd={x:dd.x,y:dd.y};if(Math.abs(ud.x-ld.x)>10&&Math.abs(ud.y-ld.y)>=10){log$1.debug("Corner point fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));const Id=5;dd.x===pd.x?Nd={x:md<0?pd.x-Id+Ad:pd.x+Id-Ad,y:vd<0?pd.y-Ad:pd.y+Ad}:Nd={x:md<0?pd.x-Ad:pd.x+Ad,y:vd<0?pd.y-Id+Ad:pd.y+Id-Ad}}else log$1.debug("Corner point skipping fixing",Math.abs(ud.x-ld.x),Math.abs(ud.y-ld.y));nd.push(Nd,fd)}else nd.push(Ra[od]);return nd},"fixCorners"),insertEdge=__name(function(Ra,qa,nd,od,ld,ud,dd){const{handDrawnSeed:pd}=getConfig2();let fd=qa.points,md=!1;const vd=ld;var Ad=ud;Ad.intersect&&vd.intersect&&(fd=fd.slice(1,qa.points.length-1),fd.unshift(vd.intersect(fd[0])),log$1.debug("Last point APA12",qa.start,"-->",qa.end,fd[fd.length-1],Ad,Ad.intersect(fd[fd.length-1])),fd.push(Ad.intersect(fd[fd.length-1]))),qa.toCluster&&(log$1.info("to cluster abc88",nd.get(qa.toCluster)),fd=cutPathAtIntersect(qa.points,nd.get(qa.toCluster).node),md=!0),qa.fromCluster&&(log$1.debug("from cluster abc88",nd.get(qa.fromCluster),JSON.stringify(fd,null,2)),fd=cutPathAtIntersect(fd.reverse(),nd.get(qa.fromCluster).node).reverse(),md=!0);let Nd=fd.filter(Xd=>!Number.isNaN(Xd.y));Nd=fixCorners(Nd);let Id=curveBasis;qa.curve&&(Id=qa.curve);const{x:Od,y:Md}=getLineFunctionsWithOffset(qa),Ud=line$1().x(Od).y(Md).curve(Id);let jd;switch(qa.thickness){case"normal":jd="edge-thickness-normal";break;case"thick":jd="edge-thickness-thick";break;case"invisible":jd="edge-thickness-invisible";break;default:jd="edge-thickness-normal"}switch(qa.pattern){case"solid":jd+=" edge-pattern-solid";break;case"dotted":jd+=" edge-pattern-dotted";break;case"dashed":jd+=" edge-pattern-dashed";break;default:jd+=" edge-pattern-solid"}let Ld,Bd=Ud(Nd);const Gd=Array.isArray(qa.style)?qa.style:[qa.style];if(qa.look==="handDrawn"){const Xd=at$3.svg(Ra);Object.assign([],Nd);const gf=Xd.path(Bd,{roughness:.3,seed:pd});jd+=" transition",Ld=select(gf).select("path").attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",Gd?Gd.reduce((Zd,df)=>Zd+";"+df,""):"");let Yd=Ld.attr("d");Ld.attr("d",Yd),Ra.node().appendChild(Ld.node())}else Ld=Ra.append("path").attr("d",Bd).attr("id",qa.id).attr("class"," "+jd+(qa.classes?" "+qa.classes:"")).attr("style",Gd?Gd.reduce((Xd,gf)=>Xd+";"+gf,""):"");let qd="";(getConfig2().flowchart.arrowMarkerAbsolute||getConfig2().state.arrowMarkerAbsolute)&&(qd=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,qd=qd.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),log$1.info("arrowTypeStart",qa.arrowTypeStart),log$1.info("arrowTypeEnd",qa.arrowTypeEnd),addEdgeMarkers(Ld,qa,qd,dd,od);let zd={};return md&&(zd.updatedPath=fd),zd.originalPath=qa.points,zd},"insertEdge"),insertMarkers=__name((Ra,qa,nd,od)=>{qa.forEach(ld=>{markers[ld](Ra,nd,od)})},"insertMarkers"),extension=__name((Ra,qa,nd)=>{log$1.trace("Making markers for ",nd),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionStart").attr("class","marker extension "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-extensionEnd").attr("class","marker extension "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),composition=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionStart").attr("class","marker composition "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-compositionEnd").attr("class","marker composition "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),aggregation=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationStart").attr("class","marker aggregation "+qa).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-aggregationEnd").attr("class","marker aggregation "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),dependency=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyStart").attr("class","marker dependency "+qa).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-dependencyEnd").attr("class","marker dependency "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),lollipop=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopStart").attr("class","marker lollipop "+qa).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-lollipopEnd").attr("class","marker lollipop "+qa).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),point=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-pointEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-pointStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),circle=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-circleEnd").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-circleStart").attr("class","marker "+qa).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),cross=__name((Ra,qa,nd)=>{Ra.append("marker").attr("id",nd+"_"+qa+"-crossEnd").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),Ra.append("marker").attr("id",nd+"_"+qa+"-crossStart").attr("class","marker cross "+qa).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb=__name((Ra,qa,nd)=>{Ra.append("defs").append("marker").attr("id",nd+"_"+qa+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),markers={extension,composition,aggregation,dependency,lollipop,point,circle,cross,barb},markers_default=insertMarkers,internalHelpers={common:common_default,getConfig:getConfig$1,insertCluster,insertEdge,insertEdgeLabel,insertMarkers:markers_default,insertNode,interpolateToCurve,labelHelper,log:log$1,positionEdgeLabel},layoutAlgorithms={},registerLayoutLoaders=__name(Ra=>{for(const qa of Ra)layoutAlgorithms[qa.name]=qa},"registerLayoutLoaders"),registerDefaultLayoutLoaders=__name(()=>{registerLayoutLoaders([{name:"dagre",loader:__name(async()=>await __vitePreload(()=>import("./dagre-4EVJKHTY-CUJD2kOL.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader")}])},"registerDefaultLayoutLoaders");registerDefaultLayoutLoaders();var render$1=__name(async(Ra,qa)=>{if(!(Ra.layoutAlgorithm in layoutAlgorithms))throw new Error(`Unknown layout algorithm: ${Ra.layoutAlgorithm}`);const nd=layoutAlgorithms[Ra.layoutAlgorithm];return(await nd.loader()).render(Ra,qa,internalHelpers,{algorithm:nd.algorithm})},"render"),getRegisteredLayoutAlgorithm=__name((Ra="",{fallback:qa="dagre"}={})=>{if(Ra in layoutAlgorithms)return Ra;if(qa in layoutAlgorithms)return log$1.warn(`Layout algorithm ${Ra} is not registered. Using ${qa} as fallback.`),qa;throw new Error(`Both layout algorithms ${Ra} and ${qa} are not registered.`)},"getRegisteredLayoutAlgorithm"),version$2="11.4.1",selectSvgElement=__name(Ra=>{var ld;const{securityLevel:qa}=getConfig2();let nd=select("body");if(qa==="sandbox"){const dd=((ld=select(`#i${Ra}`).node())==null?void 0:ld.contentDocument)??document;nd=select(dd.body)}return nd.select(`#${Ra}`)},"selectSvgElement"),COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode;function trim$1(Ra){return Ra.trim()}function replace(Ra,qa,nd){return Ra.replace(qa,nd)}function indexof(Ra,qa,nd){return Ra.indexOf(qa,nd)}function charat(Ra,qa){return Ra.charCodeAt(qa)|0}function substr(Ra,qa,nd){return Ra.slice(qa,nd)}function strlen(Ra){return Ra.length}function sizeof(Ra){return Ra.length}function append(Ra,qa){return qa.push(Ra),Ra}var line=1,column=1,length=0,position=0,character=0,characters="";function node(Ra,qa,nd,od,ld,ud,dd,pd){return{value:Ra,root:qa,parent:nd,type:od,props:ld,children:ud,line,column,length:dd,return:"",siblings:pd}}function char(){return character}function prev(){return character=position>0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position<length?charat(characters,position++):0,column++,character===10&&(column=1,line++),character}function peek(){return charat(characters,position)}function caret(){return position}function slice(Ra,qa){return substr(characters,Ra,qa)}function token$1(Ra){switch(Ra){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function alloc(Ra){return line=column=1,length=strlen(characters=Ra),position=0,[]}function dealloc(Ra){return characters="",Ra}function delimit(Ra){return trim$1(slice(position-1,delimiter(Ra===91?Ra+2:Ra===40?Ra+1:Ra)))}function whitespace(Ra){for(;(character=peek())&&character<33;)next();return token$1(Ra)>2||token$1(character)>3?"":" "}function escaping(Ra,qa){for(;--qa&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(Ra,caret()+(qa<6&&peek()==32&&next()==32))}function delimiter(Ra){for(;next();)switch(character){case Ra:return position;case 34:case 39:Ra!==34&&Ra!==39&&delimiter(character);break;case 40:Ra===41&&delimiter(Ra);break;case 92:next();break}return position}function commenter(Ra,qa){for(;next()&&Ra+character!==57;)if(Ra+character===84&&peek()===47)break;return"/*"+slice(qa,position-1)+"*"+from(Ra===47?Ra:next())}function identifier(Ra){for(;!token$1(peek());)next();return slice(Ra,position)}function compile(Ra){return dealloc(parse$1("",null,null,null,[""],Ra=alloc(Ra),0,[0],Ra))}function parse$1(Ra,qa,nd,od,ld,ud,dd,pd,fd){for(var md=0,vd=0,Ad=dd,Nd=0,Id=0,Od=0,Md=1,Ud=1,jd=1,Ld=0,Bd="",Gd=ld,qd=ud,zd=od,Xd=Bd;Ud;)switch(Od=Ld,Ld=next()){case 40:if(Od!=108&&charat(Xd,Ad-1)==58){indexof(Xd+=replace(delimit(Ld),"&","&\f"),"&\f",abs(md?pd[md-1]:0))!=-1&&(jd=-1);break}case 34:case 39:case 91:Xd+=delimit(Ld);break;case 9:case 10:case 13:case 32:Xd+=whitespace(Od);break;case 92:Xd+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),qa,nd,fd),fd),(token$1(Od||1)==5||token$1(peek()||1)==5)&&strlen(Xd)&&substr(Xd,-1,void 0)!==" "&&(Xd+=" ");break;default:Xd+="/"}break;case 123*Md:pd[md++]=strlen(Xd)*jd;case 125*Md:case 59:case 0:switch(Ld){case 0:case 125:Ud=0;case 59+vd:jd==-1&&(Xd=replace(Xd,/\f/g,"")),Id>0&&(strlen(Xd)-Ad||Md===0&&Od===47)&&append(Id>32?declaration(Xd+";",od,nd,Ad-1,fd):declaration(replace(Xd," ","")+";",od,nd,Ad-2,fd),fd);break;case 59:Xd+=";";default:if(append(zd=ruleset(Xd,qa,nd,md,vd,ld,pd,Bd,Gd=[],qd=[],Ad,ud),ud),Ld===123)if(vd===0)parse$1(Xd,qa,zd,zd,Gd,ud,Ad,pd,qd);else switch(Nd===99&&charat(Xd,3)===110?100:Nd){case 100:case 108:case 109:case 115:parse$1(Ra,zd,zd,od&&append(ruleset(Ra,zd,zd,0,0,ld,pd,Bd,ld,Gd=[],Ad,qd),qd),ld,qd,Ad,pd,od?Gd:qd);break;default:parse$1(Xd,zd,zd,zd,[""],qd,0,pd,qd)}}md=vd=Id=0,Md=jd=1,Bd=Xd="",Ad=dd;break;case 58:Ad=1+strlen(Xd),Id=Od;default:if(Md<1){if(Ld==123)--Md;else if(Ld==125&&Md++==0&&prev()==125)continue}switch(Xd+=from(Ld),Ld*Md){case 38:jd=vd>0?1:(Xd+="\f",-1);break;case 44:pd[md++]=(strlen(Xd)-1)*jd,jd=1;break;case 64:peek()===45&&(Xd+=delimit(next())),Nd=peek(),vd=Ad=strlen(Bd=Xd+=identifier(caret())),Ld++;break;case 45:Od===45&&strlen(Xd)==2&&(Md=0)}}return ud}function ruleset(Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad){for(var Nd=ld-1,Id=ld===0?ud:[""],Od=sizeof(Id),Md=0,Ud=0,jd=0;Md<od;++Md)for(var Ld=0,Bd=substr(Ra,Nd+1,Nd=abs(Ud=dd[Md])),Gd=Ra;Ld<Od;++Ld)(Gd=trim$1(Ud>0?Id[Ld]+" "+Bd:replace(Bd,/&\f/g,Id[Ld])))&&(fd[jd++]=Gd);return node(Ra,qa,nd,ld===0?RULESET:pd,fd,md,vd,Ad)}function comment(Ra,qa,nd,od){return node(Ra,qa,nd,COMMENT,from(char()),substr(Ra,2,-2),0,od)}function declaration(Ra,qa,nd,od,ld){return node(Ra,qa,nd,DECLARATION,substr(Ra,0,od),substr(Ra,od+1,-1),od,ld)}function serialize(Ra,qa){for(var nd="",od=0;od<Ra.length;od++)nd+=qa(Ra[od],od,Ra,qa)||"";return nd}function stringify$1(Ra,qa,nd,od){switch(Ra.type){case LAYER:if(Ra.children.length)break;case IMPORT:case DECLARATION:return Ra.return=Ra.return||Ra.value;case COMMENT:return"";case KEYFRAMES:return Ra.return=Ra.value+"{"+serialize(Ra.children,od)+"}";case RULESET:if(!strlen(Ra.value=Ra.props.join(",")))return""}return strlen(nd=serialize(Ra.children,od))?Ra.return=Ra.value+"{"+nd+"}":""}var nativeKeys=overArg(Object.keys,Object),objectProto$1=Object.prototype,hasOwnProperty$4=objectProto$1.hasOwnProperty;function baseKeys(Ra){if(!isPrototype(Ra))return nativeKeys(Ra);var qa=[];for(var nd in Object(Ra))hasOwnProperty$4.call(Ra,nd)&&nd!="constructor"&&qa.push(nd);return qa}var DataView$1=getNative(root,"DataView"),Promise$1=getNative(root,"Promise"),Set$1=getNative(root,"Set"),WeakMap$1=getNative(root,"WeakMap"),mapTag$1="[object Map]",objectTag="[object Object]",promiseTag="[object Promise]",setTag$1="[object Set]",weakMapTag="[object WeakMap]",dataViewTag="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap$1),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag||Map$1&&getTag(new Map$1)!=mapTag$1||Promise$1&&getTag(Promise$1.resolve())!=promiseTag||Set$1&&getTag(new Set$1)!=setTag$1||WeakMap$1&&getTag(new WeakMap$1)!=weakMapTag)&&(getTag=function(Ra){var qa=baseGetTag(Ra),nd=qa==objectTag?Ra.constructor:void 0,od=nd?toSource(nd):"";if(od)switch(od){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag$1;case promiseCtorString:return promiseTag;case setCtorString:return setTag$1;case weakMapCtorString:return weakMapTag}return qa});var mapTag="[object Map]",setTag="[object Set]",objectProto=Object.prototype,hasOwnProperty$3=objectProto.hasOwnProperty;function isEmpty$1(Ra){if(Ra==null)return!0;if(isArrayLike$1(Ra)&&(isArray$1(Ra)||typeof Ra=="string"||typeof Ra.splice=="function"||isBuffer$1(Ra)||isTypedArray$2(Ra)||isArguments$1(Ra)))return!Ra.length;var qa=getTag(Ra);if(qa==mapTag||qa==setTag)return!Ra.size;if(isPrototype(Ra))return!baseKeys(Ra).length;for(var nd in Ra)if(hasOwnProperty$3.call(Ra,nd))return!1;return!0}var id="c4",detector=__name(Ra=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(Ra),"detector"),loader=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./c4Diagram-6F5ED5ID-Cf2bnUEe.js");return{diagram:qa}},__vite__mapDeps([6,7]));return{id,diagram:Ra}},"loader"),plugin={id,detector,loader},c4Detector_default=plugin,id2="flowchart",detector2=__name((Ra,qa)=>{var nd,od;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"||((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"?!1:/^\s*graph/.test(Ra)},"detector"),loader2=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./flowDiagram-7ASYPVHJ-DZmM289e.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id2,diagram:Ra}},"loader"),plugin2={id:id2,detector:detector2,loader:loader2},flowDetector_default=plugin2,id3="flowchart-v2",detector3=__name((Ra,qa)=>{var nd,od,ld;return((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="dagre-d3"?!1:(((od=qa==null?void 0:qa.flowchart)==null?void 0:od.defaultRenderer)==="elk"&&(qa.layout="elk"),/^\s*graph/.test(Ra)&&((ld=qa==null?void 0:qa.flowchart)==null?void 0:ld.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(Ra))},"detector"),loader3=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./flowDiagram-7ASYPVHJ-DZmM289e.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id3,diagram:Ra}},"loader"),plugin3={id:id3,detector:detector3,loader:loader3},flowDetector_v2_default=plugin3,id4="er",detector4=__name(Ra=>/^\s*erDiagram/.test(Ra),"detector"),loader4=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./erDiagram-6RL3IURR-JoLnrKHA.js");return{diagram:qa}},__vite__mapDeps([11,1,2,3,4]));return{id:id4,diagram:Ra}},"loader"),plugin4={id:id4,detector:detector4,loader:loader4},erDetector_default=plugin4,id5="gitGraph",detector5=__name(Ra=>/^\s*gitGraph/.test(Ra),"detector"),loader5=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./gitGraphDiagram-NRZ2UAAF-S6FaD6f1.js");return{diagram:qa}},__vite__mapDeps([12,13,14,15,2,4,5]));return{id:id5,diagram:Ra}},"loader"),plugin5={id:id5,detector:detector5,loader:loader5},gitGraphDetector_default=plugin5,id6="gantt",detector6=__name(Ra=>/^\s*gantt/.test(Ra),"detector"),loader6=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./ganttDiagram-NTVNEXSI-DrTJM0kt.js");return{diagram:qa}},__vite__mapDeps([16,17,18]));return{id:id6,diagram:Ra}},"loader"),plugin6={id:id6,detector:detector6,loader:loader6},ganttDetector_default=plugin6,id7="info",detector7=__name(Ra=>/^\s*info/.test(Ra),"detector"),loader7=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./infoDiagram-A4XQUW5V-C1UotiDI.js");return{diagram:qa}},__vite__mapDeps([19,15,2,4,5]));return{id:id7,diagram:Ra}},"loader"),info={id:id7,detector:detector7,loader:loader7},id8="pie",detector8=__name(Ra=>/^\s*pie/.test(Ra),"detector"),loader8=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./pieDiagram-YF2LJOPJ-C055uuma.js");return{diagram:qa}},__vite__mapDeps([20,13,15,2,4,5,21,22,18]));return{id:id8,diagram:Ra}},"loader"),pie={id:id8,detector:detector8,loader:loader8},id9="quadrantChart",detector9=__name(Ra=>/^\s*quadrantChart/.test(Ra),"detector"),loader9=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./quadrantDiagram-OS5C2QUG-BGdO0KBB.js");return{diagram:qa}},__vite__mapDeps([23,17,18]));return{id:id9,diagram:Ra}},"loader"),plugin7={id:id9,detector:detector9,loader:loader9},quadrantDetector_default=plugin7,id10="xychart",detector10=__name(Ra=>/^\s*xychart-beta/.test(Ra),"detector"),loader10=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./xychartDiagram-6QU3TZC5-oryexS3N.js");return{diagram:qa}},__vite__mapDeps([24,18,22,17]));return{id:id10,diagram:Ra}},"loader"),plugin8={id:id10,detector:detector10,loader:loader10},xychartDetector_default=plugin8,id11="requirement",detector11=__name(Ra=>/^\s*requirement(Diagram)?/.test(Ra),"detector"),loader11=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./requirementDiagram-MIRIMTAZ-BjWqzJ-R.js");return{diagram:qa}},__vite__mapDeps([25,1,2,3,4]));return{id:id11,diagram:Ra}},"loader"),plugin9={id:id11,detector:detector11,loader:loader11},requirementDetector_default=plugin9,id12="sequence",detector12=__name(Ra=>/^\s*sequenceDiagram/.test(Ra),"detector"),loader12=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./sequenceDiagram-G6AWOVSC-D1Bcpv_D.js");return{diagram:qa}},__vite__mapDeps([26,7,14]));return{id:id12,diagram:Ra}},"loader"),plugin10={id:id12,detector:detector12,loader:loader12},sequenceDetector_default=plugin10,id13="class",detector13=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(Ra)},"detector"),loader13=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./classDiagram-LNE6IOMH-CJi4hYmZ.js");return{diagram:qa}},__vite__mapDeps([27,28,9]));return{id:id13,diagram:Ra}},"loader"),plugin11={id:id13,detector:detector13,loader:loader13},classDetector_default=plugin11,id14="classDiagram",detector14=__name((Ra,qa)=>{var nd;return/^\s*classDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.class)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(Ra)},"detector"),loader14=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./classDiagram-v2-MQ7JQ4JX-CJi4hYmZ.js");return{diagram:qa}},__vite__mapDeps([29,28,9]));return{id:id14,diagram:Ra}},"loader"),plugin12={id:id14,detector:detector14,loader:loader14},classDetector_V2_default=plugin12,id15="state",detector15=__name((Ra,qa)=>{var nd;return((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(Ra)},"detector"),loader15=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./stateDiagram-MAYHULR4-BY5LqN88.js");return{diagram:qa}},__vite__mapDeps([30,31,9,1,2,3,4]));return{id:id15,diagram:Ra}},"loader"),plugin13={id:id15,detector:detector15,loader:loader15},stateDetector_default=plugin13,id16="stateDiagram",detector16=__name((Ra,qa)=>{var nd;return!!(/^\s*stateDiagram-v2/.test(Ra)||/^\s*stateDiagram/.test(Ra)&&((nd=qa==null?void 0:qa.state)==null?void 0:nd.defaultRenderer)==="dagre-wrapper")},"detector"),loader16=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./stateDiagram-v2-4JROLMXI-ClBjuCK0.js");return{diagram:qa}},__vite__mapDeps([32,31,9]));return{id:id16,diagram:Ra}},"loader"),plugin14={id:id16,detector:detector16,loader:loader16},stateDetector_V2_default=plugin14,id17="journey",detector17=__name(Ra=>/^\s*journey/.test(Ra),"detector"),loader17=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./journeyDiagram-G5WM74LC-gEmuNUvt.js");return{diagram:qa}},__vite__mapDeps([33,7,21]));return{id:id17,diagram:Ra}},"loader"),plugin15={id:id17,detector:detector17,loader:loader17},journeyDetector_default=plugin15,draw=__name((Ra,qa,nd)=>{log$1.debug(`rendering svg for syntax error
|
||
`);const od=selectSvgElement(qa),ld=od.append("g");od.attr("viewBox","0 0 2412 512"),configureSvgSize(od,100,512,!0),ld.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),ld.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),ld.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),ld.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),ld.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),ld.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),ld.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),ld.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${nd}`)},"draw"),renderer={draw},errorRenderer_default=renderer,diagram={db:{},renderer,parser:{parse:__name(()=>{},"parse")}},errorDiagram_default=diagram,id18="flowchart-elk",detector18=__name((Ra,qa={})=>{var nd;return/^\s*flowchart-elk/.test(Ra)||/^\s*flowchart|graph/.test(Ra)&&((nd=qa==null?void 0:qa.flowchart)==null?void 0:nd.defaultRenderer)==="elk"?(qa.layout="elk",!0):!1},"detector"),loader18=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./flowDiagram-7ASYPVHJ-DZmM289e.js");return{diagram:qa}},__vite__mapDeps([8,9,10]));return{id:id18,diagram:Ra}},"loader"),plugin16={id:id18,detector:detector18,loader:loader18},detector_default=plugin16,id19="timeline",detector19=__name(Ra=>/^\s*timeline/.test(Ra),"detector"),loader19=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./timeline-definition-U7ZMHBDA-DrYwoiUK.js");return{diagram:qa}},__vite__mapDeps([34,21]));return{id:id19,diagram:Ra}},"loader"),plugin17={id:id19,detector:detector19,loader:loader19},detector_default2=plugin17,id20="mindmap",detector20=__name(Ra=>/^\s*mindmap/.test(Ra),"detector"),loader20=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./mindmap-definition-GWI6TPTV-CD8ejQHx.js");return{diagram:qa}},__vite__mapDeps([35,36]));return{id:id20,diagram:Ra}},"loader"),plugin18={id:id20,detector:detector20,loader:loader20},detector_default3=plugin18,id21="kanban",detector21=__name(Ra=>/^\s*kanban/.test(Ra),"detector"),loader21=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./kanban-definition-QRCXZQQD-DcrQzXa5.js");return{diagram:qa}},[]);return{id:id21,diagram:Ra}},"loader"),plugin19={id:id21,detector:detector21,loader:loader21},detector_default4=plugin19,id22="sankey",detector22=__name(Ra=>/^\s*sankey-beta/.test(Ra),"detector"),loader22=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./sankeyDiagram-Y46BX6SQ-DKDNSWZW.js");return{diagram:qa}},__vite__mapDeps([37,22,18]));return{id:id22,diagram:Ra}},"loader"),plugin20={id:id22,detector:detector22,loader:loader22},sankeyDetector_default=plugin20,id23="packet",detector23=__name(Ra=>/^\s*packet-beta/.test(Ra),"detector"),loader23=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./diagram-QW4FP2JN-C5ADMDuS.js");return{diagram:qa}},__vite__mapDeps([38,13,15,2,4,5]));return{id:id23,diagram:Ra}},"loader"),packet={id:id23,detector:detector23,loader:loader23},id24="block",detector24=__name(Ra=>/^\s*block-beta/.test(Ra),"detector"),loader24=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./blockDiagram-ZHA2E4KO-DVgBILom.js");return{diagram:qa}},__vite__mapDeps([39,5,2,1,10]));return{id:id24,diagram:Ra}},"loader"),plugin21={id:id24,detector:detector24,loader:loader24},blockDetector_default=plugin21,id25="architecture",detector25=__name(Ra=>/^\s*architecture/.test(Ra),"detector"),loader25=__name(async()=>{const{diagram:Ra}=await __vitePreload(async()=>{const{diagram:qa}=await import("./architectureDiagram-UYN6MBPD-D10ZxUYk.js");return{diagram:qa}},__vite__mapDeps([40,13,14,15,2,4,5,36]));return{id:id25,diagram:Ra}},"loader"),architecture={id:id25,detector:detector25,loader:loader25},architectureDetector_default=architecture,hasLoadedDiagrams=!1,addDiagrams=__name(()=>{hasLoadedDiagrams||(hasLoadedDiagrams=!0,registerDiagram("error",errorDiagram_default,Ra=>Ra.toLowerCase().trim()==="error"),registerDiagram("---",{db:{clear:__name(()=>{},"clear")},styles:{},renderer:{draw:__name(()=>{},"draw")},parser:{parse:__name(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:__name(()=>null,"init")},Ra=>Ra.toLowerCase().trimStart().startsWith("---")),registerLazyLoadedDiagrams(c4Detector_default,detector_default4,classDetector_V2_default,classDetector_default,erDetector_default,ganttDetector_default,info,pie,requirementDetector_default,sequenceDetector_default,detector_default,flowDetector_v2_default,flowDetector_default,detector_default3,detector_default2,gitGraphDetector_default,stateDetector_V2_default,stateDetector_default,journeyDetector_default,quadrantDetector_default,sankeyDetector_default,packet,xychartDetector_default,blockDetector_default,architectureDetector_default))},"addDiagrams"),loadRegisteredDiagrams=__name(async()=>{log$1.debug("Loading registered diagrams");const qa=(await Promise.allSettled(Object.entries(detectors).map(async([nd,{detector:od,loader:ld}])=>{if(ld)try{getDiagram(nd)}catch{try{const{diagram:ud,id:dd}=await ld();registerDiagram(dd,ud,od)}catch(ud){throw log$1.error(`Failed to load external diagram with key ${nd}. Removing from detectors.`),delete detectors[nd],ud}}}))).filter(nd=>nd.status==="rejected");if(qa.length>0){log$1.error(`Failed to load ${qa.length} external diagrams`);for(const nd of qa)log$1.error(nd);throw new Error(`Failed to load ${qa.length} external diagrams`)}},"loadRegisteredDiagrams"),SVG_ROLE="graphics-document document";function setA11yDiagramInfo(Ra,qa){Ra.attr("role",SVG_ROLE),qa!==""&&Ra.attr("aria-roledescription",qa)}__name(setA11yDiagramInfo,"setA11yDiagramInfo");function addSVGa11yTitleDescription(Ra,qa,nd,od){if(Ra.insert!==void 0){if(nd){const ld=`chart-desc-${od}`;Ra.attr("aria-describedby",ld),Ra.insert("desc",":first-child").attr("id",ld).text(nd)}if(qa){const ld=`chart-title-${od}`;Ra.attr("aria-labelledby",ld),Ra.insert("title",":first-child").attr("id",ld).text(qa)}}}__name(addSVGa11yTitleDescription,"addSVGa11yTitleDescription");var LE,Diagram=(LE=class{constructor(qa,nd,od,ld,ud){this.type=qa,this.text=nd,this.db=od,this.parser=ld,this.renderer=ud}static async fromText(qa,nd={}){var md,vd;const od=getConfig$1(),ld=detectType$1(qa,od);qa=encodeEntities(qa)+`
|
||
`;try{getDiagram(ld)}catch{const Ad=getDiagramLoader(ld);if(!Ad)throw new UnknownDiagramError(`Diagram ${ld} not found.`);const{id:Nd,diagram:Id}=await Ad();registerDiagram(Nd,Id)}const{db:ud,parser:dd,renderer:pd,init:fd}=getDiagram(ld);return dd.parser&&(dd.parser.yy=ud),(md=ud.clear)==null||md.call(ud),fd==null||fd(od),nd.title&&((vd=ud.setDiagramTitle)==null||vd.call(ud,nd.title)),await dd.parse(qa),new LE(ld,qa,ud,dd,pd)}async render(qa,nd){await this.renderer.draw(this.text,qa,nd,this)}getParser(){return this.parser}getType(){return this.type}},__name(LE,"Diagram"),LE),interactionFunctions=[],attachFunctions=__name(()=>{interactionFunctions.forEach(Ra=>{Ra()}),interactionFunctions=[]},"attachFunctions"),cleanupComments=__name(Ra=>Ra.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function extractFrontMatter(Ra){const qa=Ra.match(frontMatterRegex);if(!qa)return{text:Ra,metadata:{}};let nd=load(qa[1],{schema:JSON_SCHEMA})??{};nd=typeof nd=="object"&&!Array.isArray(nd)?nd:{};const od={};return nd.displayMode&&(od.displayMode=nd.displayMode.toString()),nd.title&&(od.title=nd.title.toString()),nd.config&&(od.config=nd.config),{text:Ra.slice(qa[0].length),metadata:od}}__name(extractFrontMatter,"extractFrontMatter");var cleanupText=__name(Ra=>Ra.replace(/\r\n?/g,`
|
||
`).replace(/<(\w+)([^>]*)>/g,(qa,nd,od)=>"<"+nd+od.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),processFrontmatter=__name(Ra=>{const{text:qa,metadata:nd}=extractFrontMatter(Ra),{displayMode:od,title:ld,config:ud={}}=nd;return od&&(ud.gantt||(ud.gantt={}),ud.gantt.displayMode=od),{title:ld,config:ud,text:qa}},"processFrontmatter"),processDirectives=__name(Ra=>{const qa=utils_default.detectInit(Ra)??{},nd=utils_default.detectDirective(Ra,"wrap");return Array.isArray(nd)?qa.wrap=nd.some(({type:od})=>od==="wrap"):(nd==null?void 0:nd.type)==="wrap"&&(qa.wrap=!0),{text:removeDirectives(Ra),directive:qa}},"processDirectives");function preprocessDiagram(Ra){const qa=cleanupText(Ra),nd=processFrontmatter(qa),od=processDirectives(nd.text),ld=cleanAndMerge(nd.config,od.directive);return Ra=cleanupComments(od.text),{code:Ra,title:nd.title,config:ld}}__name(preprocessDiagram,"preprocessDiagram");function toBase64$1(Ra){const qa=new TextEncoder().encode(Ra),nd=Array.from(qa,od=>String.fromCodePoint(od)).join("");return btoa(nd)}__name(toBase64$1,"toBase64");var MAX_TEXTLENGTH=5e4,MAX_TEXTLENGTH_EXCEEDED_MSG="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",SECURITY_LVL_SANDBOX="sandbox",SECURITY_LVL_LOOSE="loose",XMLNS_SVG_STD="http://www.w3.org/2000/svg",XMLNS_XLINK_STD="http://www.w3.org/1999/xlink",XMLNS_XHTML_STD="http://www.w3.org/1999/xhtml",IFRAME_WIDTH="100%",IFRAME_HEIGHT="100%",IFRAME_STYLES="border:0;margin:0;",IFRAME_BODY_STYLE="margin:0",IFRAME_SANDBOX_OPTS="allow-top-navigation-by-user-activation allow-popups",IFRAME_NOT_SUPPORTED_MSG='The "iframe" tag is not supported by your browser.',DOMPURIFY_TAGS=["foreignobject"],DOMPURIFY_ATTR=["dominant-baseline"];function processAndSetConfigs(Ra){const qa=preprocessDiagram(Ra);return reset(),addDirective(qa.config??{}),qa}__name(processAndSetConfigs,"processAndSetConfigs");async function parse(Ra,qa){addDiagrams();try{const{code:nd,config:od}=processAndSetConfigs(Ra);return{diagramType:(await getDiagramFromText(nd)).type,config:od}}catch(nd){if(qa!=null&&qa.suppressErrors)return!1;throw nd}}__name(parse,"parse");var cssImportantStyles=__name((Ra,qa,nd=[])=>`
|
||
.${Ra} ${qa} { ${nd.join(" !important; ")} !important; }`,"cssImportantStyles"),createCssStyles=__name((Ra,qa=new Map)=>{var od;let nd="";if(Ra.themeCSS!==void 0&&(nd+=`
|
||
${Ra.themeCSS}`),Ra.fontFamily!==void 0&&(nd+=`
|
||
:root { --mermaid-font-family: ${Ra.fontFamily}}`),Ra.altFontFamily!==void 0&&(nd+=`
|
||
:root { --mermaid-alt-font-family: ${Ra.altFontFamily}}`),qa instanceof Map){const pd=Ra.htmlLabels??((od=Ra.flowchart)==null?void 0:od.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];qa.forEach(fd=>{isEmpty$1(fd.styles)||pd.forEach(md=>{nd+=cssImportantStyles(fd.id,md,fd.styles)}),isEmpty$1(fd.textStyles)||(nd+=cssImportantStyles(fd.id,"tspan",((fd==null?void 0:fd.textStyles)||[]).map(md=>md.replace("color","fill"))))})}return nd},"createCssStyles"),createUserStyles=__name((Ra,qa,nd,od)=>{const ld=createCssStyles(Ra,nd),ud=styles_default(qa,ld,Ra.themeVariables);return serialize(compile(`${od}{${ud}}`),stringify$1)},"createUserStyles"),cleanUpSvgCode=__name((Ra="",qa,nd)=>{let od=Ra;return!nd&&!qa&&(od=od.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),od=decodeEntities(od),od=od.replace(/<br>/g,"<br/>"),od},"cleanUpSvgCode"),putIntoIFrame=__name((Ra="",qa)=>{var ld,ud;const nd=(ud=(ld=qa==null?void 0:qa.viewBox)==null?void 0:ld.baseVal)!=null&&ud.height?qa.viewBox.baseVal.height+"px":IFRAME_HEIGHT,od=toBase64$1(`<body style="${IFRAME_BODY_STYLE}">${Ra}</body>`);return`<iframe style="width:${IFRAME_WIDTH};height:${nd};${IFRAME_STYLES}" src="data:text/html;charset=UTF-8;base64,${od}" sandbox="${IFRAME_SANDBOX_OPTS}">
|
||
${IFRAME_NOT_SUPPORTED_MSG}
|
||
</iframe>`},"putIntoIFrame"),appendDivSvgG=__name((Ra,qa,nd,od,ld)=>{const ud=Ra.append("div");ud.attr("id",nd),od&&ud.attr("style",od);const dd=ud.append("svg").attr("id",qa).attr("width","100%").attr("xmlns",XMLNS_SVG_STD);return ld&&dd.attr("xmlns:xlink",ld),dd.append("g"),Ra},"appendDivSvgG");function sandboxedIframe(Ra,qa){return Ra.append("iframe").attr("id",qa).attr("style","width: 100%; height: 100%;").attr("sandbox","")}__name(sandboxedIframe,"sandboxedIframe");var removeExistingElements=__name((Ra,qa,nd,od)=>{var ld,ud,dd;(ld=Ra.getElementById(qa))==null||ld.remove(),(ud=Ra.getElementById(nd))==null||ud.remove(),(dd=Ra.getElementById(od))==null||dd.remove()},"removeExistingElements"),render=__name(async function(Ra,qa,nd){var Ef,_f,xf,vf,Af,Df;addDiagrams();const od=processAndSetConfigs(qa);qa=od.code;const ld=getConfig$1();log$1.debug(ld),qa.length>((ld==null?void 0:ld.maxTextSize)??MAX_TEXTLENGTH)&&(qa=MAX_TEXTLENGTH_EXCEEDED_MSG);const ud="#"+Ra,dd="i"+Ra,pd="#"+dd,fd="d"+Ra,md="#"+fd,vd=__name(()=>{const Jf=select(Nd?pd:md).node();Jf&&"remove"in Jf&&Jf.remove()},"removeTempElements");let Ad=select("body");const Nd=ld.securityLevel===SECURITY_LVL_SANDBOX,Id=ld.securityLevel===SECURITY_LVL_LOOSE,Od=ld.fontFamily;if(nd!==void 0){if(nd&&(nd.innerHTML=""),Nd){const jf=sandboxedIframe(select(nd),dd);Ad=select(jf.nodes()[0].contentDocument.body),Ad.node().style.margin=0}else Ad=select(nd);appendDivSvgG(Ad,Ra,fd,`font-family: ${Od}`,XMLNS_XLINK_STD)}else{if(removeExistingElements(document,Ra,fd,dd),Nd){const jf=sandboxedIframe(select("body"),dd);Ad=select(jf.nodes()[0].contentDocument.body),Ad.node().style.margin=0}else Ad=select("body");appendDivSvgG(Ad,Ra,fd)}let Md,Ud;try{Md=await Diagram.fromText(qa,{title:od.title})}catch(jf){if(ld.suppressErrorRendering)throw vd(),jf;Md=await Diagram.fromText("error"),Ud=jf}const jd=Ad.select(md).node(),Ld=Md.type,Bd=jd.firstChild,Gd=Bd.firstChild,qd=(_f=(Ef=Md.renderer).getClasses)==null?void 0:_f.call(Ef,qa,Md),zd=createUserStyles(ld,Ld,qd,ud),Xd=document.createElement("style");Xd.innerHTML=zd,Bd.insertBefore(Xd,Gd);try{await Md.renderer.draw(qa,Ra,version$2,Md)}catch(jf){throw ld.suppressErrorRendering?vd():errorRenderer_default.draw(qa,Ra,version$2),jf}const gf=Ad.select(`${md} svg`),Yd=(vf=(xf=Md.db).getAccTitle)==null?void 0:vf.call(xf),Zd=(Df=(Af=Md.db).getAccDescription)==null?void 0:Df.call(Af);addA11yInfo(Ld,gf,Yd,Zd),Ad.select(`[id="${Ra}"]`).selectAll("foreignobject > *").attr("xmlns",XMLNS_XHTML_STD);let df=Ad.select(md).node().innerHTML;if(log$1.debug("config.arrowMarkerAbsolute",ld.arrowMarkerAbsolute),df=cleanUpSvgCode(df,Nd,evaluate(ld.arrowMarkerAbsolute)),Nd){const jf=Ad.select(md+" svg").node();df=putIntoIFrame(df,jf)}else Id||(df=purify.sanitize(df,{ADD_TAGS:DOMPURIFY_TAGS,ADD_ATTR:DOMPURIFY_ATTR,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(attachFunctions(),Ud)throw Ud;return vd(),{diagramType:Ld,svg:df,bindFunctions:Md.db.bindFunctions}},"render");function initialize(Ra={}){var od;const qa=assignWithDepth_default({},Ra);qa!=null&&qa.fontFamily&&!((od=qa.themeVariables)!=null&&od.fontFamily)&&(qa.themeVariables||(qa.themeVariables={}),qa.themeVariables.fontFamily=qa.fontFamily),saveConfigFromInitialize(qa),qa!=null&&qa.theme&&qa.theme in themes_default?qa.themeVariables=themes_default[qa.theme].getThemeVariables(qa.themeVariables):qa&&(qa.themeVariables=themes_default.default.getThemeVariables(qa.themeVariables));const nd=typeof qa=="object"?setSiteConfig(qa):getSiteConfig();setLogLevel(nd.logLevel),addDiagrams()}__name(initialize,"initialize");var getDiagramFromText=__name((Ra,qa={})=>{const{code:nd}=preprocessDiagram(Ra);return Diagram.fromText(nd,qa)},"getDiagramFromText");function addA11yInfo(Ra,qa,nd,od){setA11yDiagramInfo(qa,Ra),addSVGa11yTitleDescription(qa,nd,od,qa.attr("id"))}__name(addA11yInfo,"addA11yInfo");var mermaidAPI=Object.freeze({render,parse,getDiagramFromText,initialize,getConfig:getConfig$1,setConfig,getSiteConfig,updateSiteConfig,reset:__name(()=>{reset()},"reset"),globalReset:__name(()=>{reset(defaultConfig)},"globalReset"),defaultConfig});setLogLevel(getConfig$1().logLevel);reset(getConfig$1());var handleError=__name((Ra,qa,nd)=>{log$1.warn(Ra),isDetailedError(Ra)?(nd&&nd(Ra.str,Ra.hash),qa.push({...Ra,message:Ra.str,error:Ra})):(nd&&nd(Ra),Ra instanceof Error&&qa.push({str:Ra.message,message:Ra.message,hash:Ra.name,error:Ra}))},"handleError"),run=__name(async function(Ra={querySelector:".mermaid"}){try{await runThrowsErrors(Ra)}catch(qa){if(isDetailedError(qa)&&log$1.error(qa.str),mermaid.parseError&&mermaid.parseError(qa),!Ra.suppressErrors)throw log$1.error("Use the suppressErrors option to suppress these errors"),qa}},"run"),runThrowsErrors=__name(async function({postRenderCallback:Ra,querySelector:qa,nodes:nd}={querySelector:".mermaid"}){const od=mermaidAPI.getConfig();log$1.debug(`${Ra?"":"No "}Callback function found`);let ld;if(nd)ld=nd;else if(qa)ld=document.querySelectorAll(qa);else throw new Error("Nodes and querySelector are both undefined");log$1.debug(`Found ${ld.length} diagrams`),(od==null?void 0:od.startOnLoad)!==void 0&&(log$1.debug("Start On Load: "+(od==null?void 0:od.startOnLoad)),mermaidAPI.updateSiteConfig({startOnLoad:od==null?void 0:od.startOnLoad}));const ud=new utils_default.InitIDGenerator(od.deterministicIds,od.deterministicIDSeed);let dd;const pd=[];for(const fd of Array.from(ld)){if(log$1.info("Rendering diagram: "+fd.id),fd.getAttribute("data-processed"))continue;fd.setAttribute("data-processed","true");const md=`mermaid-${ud.next()}`;dd=fd.innerHTML,dd=dedent(utils_default.entityDecode(dd)).trim().replace(/<br\s*\/?>/gi,"<br/>");const vd=utils_default.detectInit(dd);vd&&log$1.debug("Detected early reinit: ",vd);try{const{svg:Ad,bindFunctions:Nd}=await render2(md,dd,fd);fd.innerHTML=Ad,Ra&&await Ra(md),Nd&&Nd(fd)}catch(Ad){handleError(Ad,pd,mermaid.parseError)}}if(pd.length>0)throw pd[0]},"runThrowsErrors"),initialize2=__name(function(Ra){mermaidAPI.initialize(Ra)},"initialize"),init=__name(async function(Ra,qa,nd){log$1.warn("mermaid.init is deprecated. Please use run instead."),Ra&&initialize2(Ra);const od={postRenderCallback:nd,querySelector:".mermaid"};typeof qa=="string"?od.querySelector=qa:qa&&(qa instanceof HTMLElement?od.nodes=[qa]:od.nodes=qa),await run(od)},"init"),registerExternalDiagrams=__name(async(Ra,{lazyLoad:qa=!0}={})=>{addDiagrams(),registerLazyLoadedDiagrams(...Ra),qa===!1&&await loadRegisteredDiagrams()},"registerExternalDiagrams"),contentLoaded=__name(function(){if(mermaid.startOnLoad){const{startOnLoad:Ra}=mermaidAPI.getConfig();Ra&&mermaid.run().catch(qa=>log$1.error("Mermaid failed to initialize",qa))}},"contentLoaded");typeof document<"u"&&window.addEventListener("load",contentLoaded,!1);var setParseErrorHandler=__name(function(Ra){mermaid.parseError=Ra},"setParseErrorHandler"),executionQueue=[],executionQueueRunning=!1,executeQueue=__name(async()=>{if(!executionQueueRunning){for(executionQueueRunning=!0;executionQueue.length>0;){const Ra=executionQueue.shift();if(Ra)try{await Ra()}catch(qa){log$1.error("Error executing queue",qa)}}executionQueueRunning=!1}},"executeQueue"),parse2=__name(async(Ra,qa)=>new Promise((nd,od)=>{const ld=__name(()=>new Promise((ud,dd)=>{mermaidAPI.parse(Ra,qa).then(pd=>{ud(pd),nd(pd)},pd=>{var fd;log$1.error("Error parsing",pd),(fd=mermaid.parseError)==null||fd.call(mermaid,pd),dd(pd),od(pd)})}),"performCall");executionQueue.push(ld),executeQueue().catch(od)}),"parse"),render2=__name((Ra,qa,nd)=>new Promise((od,ld)=>{const ud=__name(()=>new Promise((dd,pd)=>{mermaidAPI.render(Ra,qa,nd).then(fd=>{dd(fd),od(fd)},fd=>{var md;log$1.error("Error parsing",fd),(md=mermaid.parseError)==null||md.call(mermaid,fd),pd(fd),ld(fd)})}),"performCall");executionQueue.push(ud),executeQueue().catch(ld)}),"render"),mermaid={startOnLoad:!0,mermaidAPI,parse:parse2,render:render2,init,run,registerExternalDiagrams,registerLayoutLoaders,initialize:initialize2,parseError:void 0,contentLoaded,setParseErrorHandler,detectType:detectType$1,registerIconPacks},mermaid_default=mermaid;/*! Check if previously processed *//*!
|
||
* Wait for document loaded before starting the execution
|
||
*/function markedAlert(Ra={}){const{className:qa="markdown-alert",variants:nd=[]}=Ra,od=resolveVariants(nd);return{walkTokens(ld){var dd,pd,fd,md;if(ld.type!=="blockquote")return;const ud=od.find(({type:vd})=>new RegExp(createSyntaxPattern(vd),"i").test(ld.text));if(ud){const{type:vd,icon:Ad,title:Nd=ucfirst(vd),titleClassName:Id=`${qa}-title`}=ud,Od=new RegExp(createSyntaxPattern(vd),"i"),{styles:Md}=Ra;Object.assign(ld,{type:"alert",meta:{className:qa,variant:vd,icon:Ad,title:Nd,titleClassName:Id,wrapperStyle:{...Md==null?void 0:Md.blockquote,...Md==null?void 0:Md[`blockquote_${vd}`]},titleStyle:{...Md==null?void 0:Md.blockquote_title,...Md==null?void 0:Md[`blockquote_title_${vd}`]},contentStyle:{...Md==null?void 0:Md.blockquote_p,...Md==null?void 0:Md[`blockquote_p_${vd}`]}}});const Ud=(dd=ld.tokens)==null?void 0:dd[0];if((pd=Ud.raw)==null?void 0:pd.replace(Od,"").trim()){const Ld=Ud.tokens[0];Object.assign(Ld,{raw:Ld.raw.replace(Od,""),text:Ld.text.replace(Od,"")}),((fd=Ud.tokens[1])==null?void 0:fd.type)==="br"&&Ud.tokens.splice(1,1)}else(md=ld.tokens)==null||md.shift()}},extensions:[{name:"alert",level:"block",renderer({meta:ld,tokens:ud=[]}){var fd;let dd=this.parser.parse(ud);dd=dd.replace(/<p .*?>/g,`<p style="${getStyleString(ld.contentStyle)}">`);let pd=`<blockquote class="${ld.className} ${ld.className}-${ld.variant}" style="${getStyleString(ld.wrapperStyle)}">
|
||
`;return pd+=`<p class="${ld.titleClassName}" style="${getStyleString(ld.titleStyle)}">`,pd+=ld.icon.replace("<svg",`<svg style="fill: ${((fd=ld.titleStyle)==null?void 0:fd.color)??"inherit"}"`),pd+=ld.title,pd+=`</p>
|
||
`,pd+=dd,pd+=`</blockquote>
|
||
`,pd}}]}}const defaultAlertVariant=[{type:"note",icon:'<svg class="octicon octicon-info" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg>'},{type:"tip",icon:'<svg class="octicon octicon-light-bulb" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></svg>'},{type:"important",icon:'<svg class="octicon octicon-report" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>'},{type:"warning",icon:'<svg class="octicon octicon-alert" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>'},{type:"caution",icon:'<svg class="octicon octicon-stop" style="margin-right: 0.25em;" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg>'}];function resolveVariants(Ra){return Ra.length?Object.values([...defaultAlertVariant,...Ra].reduce((qa,nd)=>(qa[nd.type]=nd,qa),{})):defaultAlertVariant}function createSyntaxPattern(Ra){return`^(?:\\[!${Ra}])\\s*?
|
||
*`}function ucfirst(Ra){return Ra.slice(0,1).toUpperCase()+Ra.slice(1).toLowerCase()}const inlineRule=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1(?=[\s?!.,:?!。,:]|$)/,inlineRuleNonStandard=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n$]))\1/,blockRule=/^(\${1,2})\n((?:\\[\s\S]|[^\\])+?)\n\1(?:\n|$)/;function createRenderer(Ra){return qa=>{window.MathJax.texReset();const od=window.MathJax.tex2svg(qa.text,{display:Ra}).firstChild,ld=od.style["min-width"]||od.getAttribute("width");return od.removeAttribute("width"),od.style="max-width: 300vw !important;",od.style.width=ld,od.style.display="initial",Ra?`<section style="text-align: center; overflow: auto;">${od.outerHTML}</section>`:`<span style="vertical-align: middle; line-height: 1;">${od.outerHTML}</span>`}}function inlineKatex(Ra,qa){const nd=Ra&&Ra.nonStandard,od=nd?inlineRuleNonStandard:inlineRule;return{name:"inlineKatex",level:"inline",start(ld){let ud,dd=ld;for(;dd;){if(ud=dd.indexOf("$"),ud===-1)return;if((nd?ud>-1:ud===0||dd.charAt(ud-1)===" ")&&dd.substring(ud).match(od))return ud;dd=dd.substring(ud+1).replace(/^\$+/,"")}},tokenizer(ld){const ud=ld.match(od);if(ud)return{type:"inlineKatex",raw:ud[0],text:ud[2].trim(),displayMode:ud[1].length===2}},renderer:qa}}function blockKatex(Ra,qa){return{name:"blockKatex",level:"block",tokenizer(nd){const od=nd.match(blockRule);if(od)return{type:"blockKatex",raw:od[0],text:od[2].trim(),displayMode:od[1].length===2}},renderer:qa}}function MDKatex(Ra={}){return{extensions:[inlineKatex(Ra,createRenderer(!1)),blockKatex(Ra,createRenderer(!0))]}}marked$1.use(MDKatex({nonStandard:!0}));function buildTheme({theme:Ra,fonts:qa,size:nd,isUseIndent:od}){const ld=cloneDeep(Ra),ud=toMerged(ld.base,{"font-family":qa,"font-size":nd});od&&(ld.block.p={"text-indent":"2em",...ld.block.p});const dd=pd=>Object.fromEntries(Object.entries(pd).map(([fd,md])=>[fd,toMerged(ud,md)]));return{...dd(ld.inline),...dd(ld.block)}}function buildAddition(){return`
|
||
<style>
|
||
.preview-wrapper pre::before {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
color: #ccc;
|
||
text-align: center;
|
||
font-size: 0.8em;
|
||
padding: 5px 10px 0;
|
||
line-height: 15px;
|
||
height: 15px;
|
||
font-weight: 600;
|
||
}
|
||
</style>
|
||
`}function getStyles(Ra,qa,nd=""){const od=Ra[qa];return od?`style="${getStyleString(od)}${nd}"`:""}function buildFootnoteArray(Ra){return Ra.map(([qa,nd,od])=>od===nd?`<code style="font-size: 90%; opacity: 0.6;">[${qa}]</code>: <i style="word-break: break-all">${nd}</i><br/>`:`<code style="font-size: 90%; opacity: 0.6;">[${qa}]</code> ${nd}: <i style="word-break: break-all">${od}</i><br/>`).join(`
|
||
`)}function transform$1(Ra,qa,nd){const od=Ra.split("-");for(const ld of od){if(ld==="alt"&&qa)return qa;if(ld==="title"&&nd)return nd}return""}const macCodeSvg=`
|
||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0px" y="0px" width="45px" height="13px" viewBox="0 0 450 130">
|
||
<ellipse cx="50" cy="65" rx="50" ry="52" stroke="rgb(220,60,54)" stroke-width="2" fill="rgb(237,108,96)" />
|
||
<ellipse cx="225" cy="65" rx="50" ry="52" stroke="rgb(218,151,33)" stroke-width="2" fill="rgb(247,193,81)" />
|
||
<ellipse cx="400" cy="65" rx="50" ry="52" stroke="rgb(27,161,37)" stroke-width="2" fill="rgb(100,200,86)" />
|
||
</svg>
|
||
`.trim();function initRenderer(Ra){const qa=[];let nd=0,od=buildTheme(Ra),ld=0,ud=0,dd=!1;function pd(Od,Md=""){return getStyles(od,Od,Md)}function fd(Od,Md,Ud){const jd=Ud??Od;return`<${jd} ${pd(Od)}>${Md}</${jd}>`}function md(Od,Md){return qa.push([++nd,Od,Md]),nd}function vd(Od){qa.length=0,nd=0,Ad(Od)}function Ad(Od){Ra={...Ra,...Od},od=buildTheme(Ra),marked$1.use(markedAlert({styles:od}))}const Nd=()=>qa.length?fd("h4","引用链接")+fd("footnotes",buildFootnoteArray(qa),"p"):"",Id={heading({tokens:Od,depth:Md}){const Ud=this.parser.parseInline(Od),jd=`h${Md}`;return fd(jd,Ud)},paragraph({tokens:Od}){const Md=this.parser.parseInline(Od),Ud=Md.includes("<figure")&&Md.includes("<img"),jd=Md.trim()==="";return Ud||jd?Md:fd("p",Md)},blockquote({tokens:Od}){let Md=this.parser.parse(Od);return Md=Md.replace(/<p .*?>/g,`<p ${pd("blockquote_p")}>`),fd("blockquote",Md)},code({text:Od,lang:Md=""}){if(Md.startsWith("mermaid"))return clearTimeout(ld),ld=setTimeout(()=>{mermaid_default.run()},0),`<pre class="mermaid">${Od}</pre>`;const Ud=Md.split(" ")[0],jd=HighlightJS.getLanguage(Ud)?Ud:"plaintext";let Ld=HighlightJS.highlight(Od,{language:jd}).value;Ld=Ld.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>").replace(/(>[^<]+)|(^[^<]+)/g,qd=>qd.replace(/\s/g," "));const Bd=`<span class="mac-sign" style="padding: 10px 14px 0;" hidden>${macCodeSvg}</span>`,Gd=`<code class="language-${Md}" ${pd("code")}>${Ld}</code>`;return`<pre class="hljs code__pre" ${pd("code_pre")}>${Bd}${Gd}</pre>`},codespan({text:Od}){return fd("codespan",Od,"code")},listitem(Od){const Md=dd?`${ud+1}. `:"• ",Ud=Od.tokens.map(jd=>this[jd.type](jd)).join("");return fd("listitem",`${Md}${Ud}`,"li")},list({ordered:Od,items:Md,start:Ud=1}){const jd=[];for(let Bd=0;Bd<Md.length;Bd++){dd=Od,ud=Number(Ud)+Bd-1;const Gd=Md[Bd];jd.push(this.listitem(Gd))}return fd(Od?"ol":"ul",jd.join(""))},image({href:Od,title:Md,text:Ud}){const jd=fd("figcaption",transform$1(Ra.legend,Ud,Md)),Ld=pd("figure"),Bd=pd("image");return`<figure ${Ld}><img ${Bd} src="${Od}" title="${Md}" alt="${Ud}"/>${jd}</figure>`},link({href:Od,title:Md,text:Ud,tokens:jd}){const Ld=this.parser.parseInline(jd);if(Od.startsWith("https://mp.weixin.qq.com"))return`<a href="${Od}" title="${Md||Ud}" ${pd("wx_link")}>${Ld}</a>`;if(Od===Ud)return Ld;if(Ra.citeStatus){const Bd=md(Md||Ud,Od);return`<span ${pd("link")}>${Ld}<sup>[${Bd}]</sup></span>`}return fd("link",Ld,"span")},strong({tokens:Od}){return fd("strong",this.parser.parseInline(Od))},em({tokens:Od}){return fd("em",this.parser.parseInline(Od),"span")},table({header:Od,rows:Md}){const Ud=Od.map(Ld=>this.tablecell(Ld)).join(""),jd=Md.map(Ld=>{const Bd=Ld.map(Gd=>this.tablecell(Gd)).join("");return fd("tr",Bd)}).join("");return`
|
||
<section style="padding:0 8px; max-width: 100%; overflow: auto">
|
||
<table class="preview-table">
|
||
<thead ${pd("thead")}>${Ud}</thead>
|
||
<tbody>${jd}</tbody>
|
||
</table>
|
||
</section>
|
||
`},tablecell(Od){const Md=this.parser.parseInline(Od.tokens);return fd("td",Md)},hr(Od){return fd("hr","")}};return marked$1.use({renderer:Id}),{buildAddition,buildFootnotes:Nd,setOptions:Ad,reset:vd}}var codemirror={exports:{}},hasRequiredCodemirror;function requireCodemirror(){return hasRequiredCodemirror||(hasRequiredCodemirror=1,function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=navigator.userAgent,od=navigator.platform,ld=/gecko\/\d/i.test(nd),ud=/MSIE \d/.test(nd),dd=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nd),pd=/Edge\/(\d+)/.exec(nd),fd=ud||dd||pd,md=fd&&(ud?document.documentMode||6:+(pd||dd)[1]),vd=!pd&&/WebKit\//.test(nd),Ad=vd&&/Qt\/\d+\.\d+/.test(nd),Nd=!pd&&/Chrome\/(\d+)/.exec(nd),Id=Nd&&+Nd[1],Od=/Opera\//.test(nd),Md=/Apple Computer/.test(navigator.vendor),Ud=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(nd),jd=/PhantomJS/.test(nd),Ld=Md&&(/Mobile\/\w+/.test(nd)||navigator.maxTouchPoints>2),Bd=/Android/.test(nd),Gd=Ld||Bd||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(nd),qd=Ld||/Mac/.test(od),zd=/\bCrOS\b/.test(nd),Xd=/win/i.test(od),gf=Od&&nd.match(/Version\/(\d*\.\d*)/);gf&&(gf=Number(gf[1])),gf&&gf>=15&&(Od=!1,vd=!0);var Yd=qd&&(Ad||Od&&(gf==null||gf<12.11)),Zd=ld||fd&&md>=9;function df(kd){return new RegExp("(^|\\s)"+kd+"(?:$|\\s)\\s*")}var Ef=function(kd,Hd){var Jd=kd.className,Qd=df(Hd).exec(Jd);if(Qd){var mf=Jd.slice(Qd.index+Qd[0].length);kd.className=Jd.slice(0,Qd.index)+(mf?Qd[1]+mf:"")}};function _f(kd){for(var Hd=kd.childNodes.length;Hd>0;--Hd)kd.removeChild(kd.firstChild);return kd}function xf(kd,Hd){return _f(kd).appendChild(Hd)}function vf(kd,Hd,Jd,Qd){var mf=document.createElement(kd);if(Jd&&(mf.className=Jd),Qd&&(mf.style.cssText=Qd),typeof Hd=="string")mf.appendChild(document.createTextNode(Hd));else if(Hd)for(var wf=0;wf<Hd.length;++wf)mf.appendChild(Hd[wf]);return mf}function Af(kd,Hd,Jd,Qd){var mf=vf(kd,Hd,Jd,Qd);return mf.setAttribute("role","presentation"),mf}var Df;document.createRange?Df=function(kd,Hd,Jd,Qd){var mf=document.createRange();return mf.setEnd(Qd||kd,Jd),mf.setStart(kd,Hd),mf}:Df=function(kd,Hd,Jd){var Qd=document.body.createTextRange();try{Qd.moveToElementText(kd.parentNode)}catch{return Qd}return Qd.collapse(!0),Qd.moveEnd("character",Jd),Qd.moveStart("character",Hd),Qd};function jf(kd,Hd){if(Hd.nodeType==3&&(Hd=Hd.parentNode),kd.contains)return kd.contains(Hd);do if(Hd.nodeType==11&&(Hd=Hd.host),Hd==kd)return!0;while(Hd=Hd.parentNode)}function Jf(kd){var Hd=kd.ownerDocument||kd,Jd;try{Jd=kd.activeElement}catch{Jd=Hd.body||null}for(;Jd&&Jd.shadowRoot&&Jd.shadowRoot.activeElement;)Jd=Jd.shadowRoot.activeElement;return Jd}function eh(kd,Hd){var Jd=kd.className;df(Hd).test(Jd)||(kd.className+=(Jd?" ":"")+Hd)}function th(kd,Hd){for(var Jd=kd.split(" "),Qd=0;Qd<Jd.length;Qd++)Jd[Qd]&&!df(Jd[Qd]).test(Hd)&&(Hd+=" "+Jd[Qd]);return Hd}var Uf=function(kd){kd.select()};Ld?Uf=function(kd){kd.selectionStart=0,kd.selectionEnd=kd.value.length}:fd&&(Uf=function(kd){try{kd.select()}catch{}});function Of(kd){return kd.display.wrapper.ownerDocument}function Wf(kd){return qf(kd.display.wrapper)}function qf(kd){return kd.getRootNode?kd.getRootNode():kd.ownerDocument}function zf(kd){return Of(kd).defaultView}function Tf(kd){var Hd=Array.prototype.slice.call(arguments,1);return function(){return kd.apply(null,Hd)}}function Sf(kd,Hd,Jd){Hd||(Hd={});for(var Qd in kd)kd.hasOwnProperty(Qd)&&(Jd!==!1||!Hd.hasOwnProperty(Qd))&&(Hd[Qd]=kd[Qd]);return Hd}function Yf(kd,Hd,Jd,Qd,mf){Hd==null&&(Hd=kd.search(/[^\s\u00a0]/),Hd==-1&&(Hd=kd.length));for(var wf=Qd||0,Gf=mf||0;;){var Qf=kd.indexOf(" ",wf);if(Qf<0||Qf>=Hd)return Gf+(Hd-wf);Gf+=Qf-wf,Gf+=Jd-Gf%Jd,wf=Qf+1}}var ih=function(){this.id=null,this.f=null,this.time=0,this.handler=Tf(this.onTimeout,this)};ih.prototype.onTimeout=function(kd){kd.id=0,kd.time<=+new Date?kd.f():setTimeout(kd.handler,kd.time-+new Date)},ih.prototype.set=function(kd,Hd){this.f=Hd;var Jd=+new Date+kd;(!this.id||Jd<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,kd),this.time=Jd)};function Th(kd,Hd){for(var Jd=0;Jd<kd.length;++Jd)if(kd[Jd]==Hd)return Jd;return-1}var sh=50,Nf={toString:function(){return"CodeMirror.Pass"}},ph={scroll:!1},Oh={origin:"*mouse"},Zf={origin:"+move"};function Rf(kd,Hd,Jd){for(var Qd=0,mf=0;;){var wf=kd.indexOf(" ",Qd);wf==-1&&(wf=kd.length);var Gf=wf-Qd;if(wf==kd.length||mf+Gf>=Hd)return Qd+Math.min(Gf,Hd-mf);if(mf+=wf-Qd,mf+=Jd-mf%Jd,Qd=wf+1,mf>=Hd)return Qd}}var Bf=[""];function Kf(kd){for(;Bf.length<=kd;)Bf.push(wh(Bf)+" ");return Bf[kd]}function wh(kd){return kd[kd.length-1]}function Ah(kd,Hd){for(var Jd=[],Qd=0;Qd<kd.length;Qd++)Jd[Qd]=Hd(kd[Qd],Qd);return Jd}function mh(kd,Hd,Jd){for(var Qd=0,mf=Jd(Hd);Qd<kd.length&&Jd(kd[Qd])<=mf;)Qd++;kd.splice(Qd,0,Hd)}function im(){}function Bh(kd,Hd){var Jd;return Object.create?Jd=Object.create(kd):(im.prototype=kd,Jd=new im),Hd&&Sf(Hd,Jd),Jd}var Tm=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Pm(kd){return/\w/.test(kd)||kd>""&&(kd.toUpperCase()!=kd.toLowerCase()||Tm.test(kd))}function gm(kd,Hd){return Hd?Hd.source.indexOf("\\w")>-1&&Pm(kd)?!0:Hd.test(kd):Pm(kd)}function Mm(kd){for(var Hd in kd)if(kd.hasOwnProperty(Hd)&&kd[Hd])return!1;return!0}var Hm=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function gh(kd){return kd.charCodeAt(0)>=768&&Hm.test(kd)}function Lf(kd,Hd,Jd){for(;(Jd<0?Hd>0:Hd<kd.length)&&gh(kd.charAt(Hd));)Hd+=Jd;return Hd}function $f(kd,Hd,Jd){for(var Qd=Hd>Jd?-1:1;;){if(Hd==Jd)return Hd;var mf=(Hd+Jd)/2,wf=Qd<0?Math.ceil(mf):Math.floor(mf);if(wf==Hd)return kd(wf)?Hd:Jd;kd(wf)?Jd=wf:Hd=wf+Qd}}function fh(kd,Hd,Jd,Qd){if(!kd)return Qd(Hd,Jd,"ltr",0);for(var mf=!1,wf=0;wf<kd.length;++wf){var Gf=kd[wf];(Gf.from<Jd&&Gf.to>Hd||Hd==Jd&&Gf.to==Hd)&&(Qd(Math.max(Gf.from,Hd),Math.min(Gf.to,Jd),Gf.level==1?"rtl":"ltr",wf),mf=!0)}mf||Qd(Hd,Jd,"ltr")}var Ch=null;function Zh(kd,Hd,Jd){var Qd;Ch=null;for(var mf=0;mf<kd.length;++mf){var wf=kd[mf];if(wf.from<Hd&&wf.to>Hd)return mf;wf.to==Hd&&(wf.from!=wf.to&&Jd=="before"?Qd=mf:Ch=mf),wf.from==Hd&&(wf.from!=wf.to&&Jd!="before"?Qd=mf:Ch=mf)}return Qd??Ch}var dm=function(){var kd="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",Hd="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Jd(yh){return yh<=247?kd.charAt(yh):1424<=yh&&yh<=1524?"R":1536<=yh&&yh<=1785?Hd.charAt(yh-1536):1774<=yh&&yh<=2220?"r":8192<=yh&&yh<=8203?"w":yh==8204?"b":"L"}var Qd=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,mf=/[stwN]/,wf=/[LRr]/,Gf=/[Lb1n]/,Qf=/[1n]/;function dh(yh,Wh,um){this.level=yh,this.from=Wh,this.to=um}return function(yh,Wh){var um=Wh=="ltr"?"L":"R";if(yh.length==0||Wh=="ltr"&&!Qd.test(yh))return!1;for(var Dm=yh.length,Sm=[],jm=0;jm<Dm;++jm)Sm.push(Jd(yh.charCodeAt(jm)));for(var Wm=0,eg=um;Wm<Dm;++Wm){var dg=Sm[Wm];dg=="m"?Sm[Wm]=eg:eg=dg}for(var yg=0,lg=um;yg<Dm;++yg){var xg=Sm[yg];xg=="1"&&lg=="r"?Sm[yg]="n":wf.test(xg)&&(lg=xg,xg=="r"&&(Sm[yg]="R"))}for(var Og=1,Ig=Sm[0];Og<Dm-1;++Og){var Wg=Sm[Og];Wg=="+"&&Ig=="1"&&Sm[Og+1]=="1"?Sm[Og]="1":Wg==","&&Ig==Sm[Og+1]&&(Ig=="1"||Ig=="n")&&(Sm[Og]=Ig),Ig=Wg}for(var b_=0;b_<Dm;++b_){var L_=Sm[b_];if(L_==",")Sm[b_]="N";else if(L_=="%"){var w_=void 0;for(w_=b_+1;w_<Dm&&Sm[w_]=="%";++w_);for(var O_=b_&&Sm[b_-1]=="!"||w_<Dm&&Sm[w_]=="1"?"1":"N",j_=b_;j_<w_;++j_)Sm[j_]=O_;b_=w_-1}}for(var U_=0,gb=um;U_<Dm;++U_){var lb=Sm[U_];gb=="L"&&lb=="1"?Sm[U_]="L":wf.test(lb)&&(gb=lb)}for(var W_=0;W_<Dm;++W_)if(mf.test(Sm[W_])){var H_=void 0;for(H_=W_+1;H_<Dm&&mf.test(Sm[H_]);++H_);for(var k_=(W_?Sm[W_-1]:um)=="L",Sb=(H_<Dm?Sm[H_]:um)=="L",Qv=k_==Sb?k_?"L":"R":um,ry=W_;ry<H_;++ry)Sm[ry]=Qv;W_=H_-1}for(var pb=[],y0,rb=0;rb<Dm;)if(Gf.test(Sm[rb])){var ET=rb;for(++rb;rb<Dm&&Gf.test(Sm[rb]);++rb);pb.push(new dh(0,ET,rb))}else{var v0=rb,ny=pb.length,iy=Wh=="rtl"?1:0;for(++rb;rb<Dm&&Sm[rb]!="L";++rb);for(var _b=v0;_b<rb;)if(Qf.test(Sm[_b])){v0<_b&&(pb.splice(ny,0,new dh(1,v0,_b)),ny+=iy);var Jv=_b;for(++_b;_b<rb&&Qf.test(Sm[_b]);++_b);pb.splice(ny,0,new dh(2,Jv,_b)),ny+=iy,v0=_b}else++_b;v0<rb&&pb.splice(ny,0,new dh(1,v0,rb))}return Wh=="ltr"&&(pb[0].level==1&&(y0=yh.match(/^\s+/))&&(pb[0].from=y0[0].length,pb.unshift(new dh(0,0,y0[0].length))),wh(pb).level==1&&(y0=yh.match(/\s+$/))&&(wh(pb).to-=y0[0].length,pb.push(new dh(0,Dm-y0[0].length,Dm)))),Wh=="rtl"?pb.reverse():pb}}();function Im(kd,Hd){var Jd=kd.order;return Jd==null&&(Jd=kd.order=dm(kd.text,Hd)),Jd}var Ym=[],Fm=function(kd,Hd,Jd){if(kd.addEventListener)kd.addEventListener(Hd,Jd,!1);else if(kd.attachEvent)kd.attachEvent("on"+Hd,Jd);else{var Qd=kd._handlers||(kd._handlers={});Qd[Hd]=(Qd[Hd]||Ym).concat(Jd)}};function ug(kd,Hd){return kd._handlers&&kd._handlers[Hd]||Ym}function rg(kd,Hd,Jd){if(kd.removeEventListener)kd.removeEventListener(Hd,Jd,!1);else if(kd.detachEvent)kd.detachEvent("on"+Hd,Jd);else{var Qd=kd._handlers,mf=Qd&&Qd[Hd];if(mf){var wf=Th(mf,Jd);wf>-1&&(Qd[Hd]=mf.slice(0,wf).concat(mf.slice(wf+1)))}}}function Eg(kd,Hd){var Jd=ug(kd,Hd);if(Jd.length)for(var Qd=Array.prototype.slice.call(arguments,2),mf=0;mf<Jd.length;++mf)Jd[mf].apply(null,Qd)}function kg(kd,Hd,Jd){return typeof Hd=="string"&&(Hd={type:Hd,preventDefault:function(){this.defaultPrevented=!0}}),Eg(kd,Jd||Hd.type,kd,Hd),Jg(Hd)||Hd.codemirrorIgnore}function n_(kd){var Hd=kd._handlers&&kd._handlers.cursorActivity;if(Hd)for(var Jd=kd.curOp.cursorActivityHandlers||(kd.curOp.cursorActivityHandlers=[]),Qd=0;Qd<Hd.length;++Qd)Th(Jd,Hd[Qd])==-1&&Jd.push(Hd[Qd])}function Fg(kd,Hd){return ug(kd,Hd).length>0}function Kg(kd){kd.prototype.on=function(Hd,Jd){Fm(this,Hd,Jd)},kd.prototype.off=function(Hd,Jd){rg(this,Hd,Jd)}}function Ng(kd){kd.preventDefault?kd.preventDefault():kd.returnValue=!1}function g_(kd){kd.stopPropagation?kd.stopPropagation():kd.cancelBubble=!0}function Jg(kd){return kd.defaultPrevented!=null?kd.defaultPrevented:kd.returnValue==!1}function C_(kd){Ng(kd),g_(kd)}function N_(kd){return kd.target||kd.srcElement}function a_(kd){var Hd=kd.which;return Hd==null&&(kd.button&1?Hd=1:kd.button&2?Hd=3:kd.button&4&&(Hd=2)),qd&&kd.ctrlKey&&Hd==1&&(Hd=3),Hd}var c_=function(){if(fd&&md<9)return!1;var kd=vf("div");return"draggable"in kd||"dragDrop"in kd}(),ng;function ub(kd){if(ng==null){var Hd=vf("span","");xf(kd,vf("span",[Hd,document.createTextNode("x")])),kd.firstChild.offsetHeight!=0&&(ng=Hd.offsetWidth<=1&&Hd.offsetHeight>2&&!(fd&&md<8))}var Jd=ng?vf("span",""):vf("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return Jd.setAttribute("cm-text",""),Jd}var Tb;function q_(kd){if(Tb!=null)return Tb;var Hd=xf(kd,document.createTextNode("AخA")),Jd=Df(Hd,0,1).getBoundingClientRect(),Qd=Df(Hd,1,2).getBoundingClientRect();return _f(kd),!Jd||Jd.left==Jd.right?!1:Tb=Qd.right-Jd.right<3}var Pf=`
|
||
|
||
b`.split(/\n/).length!=3?function(kd){for(var Hd=0,Jd=[],Qd=kd.length;Hd<=Qd;){var mf=kd.indexOf(`
|
||
`,Hd);mf==-1&&(mf=kd.length);var wf=kd.slice(Hd,kd.charAt(mf-1)=="\r"?mf-1:mf),Gf=wf.indexOf("\r");Gf!=-1?(Jd.push(wf.slice(0,Gf)),Hd+=Gf+1):(Jd.push(wf),Hd=mf+1)}return Jd}:function(kd){return kd.split(/\r\n?|\n/)},kh=window.getSelection?function(kd){try{return kd.selectionStart!=kd.selectionEnd}catch{return!1}}:function(kd){var Hd;try{Hd=kd.ownerDocument.selection.createRange()}catch{}return!Hd||Hd.parentElement()!=kd?!1:Hd.compareEndPoints("StartToEnd",Hd)!=0},vh=function(){var kd=vf("div");return"oncopy"in kd?!0:(kd.setAttribute("oncopy","return;"),typeof kd.oncopy=="function")}(),Rh=null;function sm(kd){if(Rh!=null)return Rh;var Hd=xf(kd,vf("span","x")),Jd=Hd.getBoundingClientRect(),Qd=Df(Hd,0,1).getBoundingClientRect();return Rh=Math.abs(Jd.left-Qd.left)>1}var Jh={},hm={};function pm(kd,Hd){arguments.length>2&&(Hd.dependencies=Array.prototype.slice.call(arguments,2)),Jh[kd]=Hd}function Uh(kd,Hd){hm[kd]=Hd}function Lm(kd){if(typeof kd=="string"&&hm.hasOwnProperty(kd))kd=hm[kd];else if(kd&&typeof kd.name=="string"&&hm.hasOwnProperty(kd.name)){var Hd=hm[kd.name];typeof Hd=="string"&&(Hd={name:Hd}),kd=Bh(Hd,kd),kd.name=Hd.name}else{if(typeof kd=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(kd))return Lm("application/xml");if(typeof kd=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(kd))return Lm("application/json")}return typeof kd=="string"?{name:kd}:kd||{name:"null"}}function Gm(kd,Hd){Hd=Lm(Hd);var Jd=Jh[Hd.name];if(!Jd)return Gm(kd,"text/plain");var Qd=Jd(kd,Hd);if(_g.hasOwnProperty(Hd.name)){var mf=_g[Hd.name];for(var wf in mf)mf.hasOwnProperty(wf)&&(Qd.hasOwnProperty(wf)&&(Qd["_"+wf]=Qd[wf]),Qd[wf]=mf[wf])}if(Qd.name=Hd.name,Hd.helperType&&(Qd.helperType=Hd.helperType),Hd.modeProps)for(var Gf in Hd.modeProps)Qd[Gf]=Hd.modeProps[Gf];return Qd}var _g={};function Km(kd,Hd){var Jd=_g.hasOwnProperty(kd)?_g[kd]:_g[kd]={};Sf(Hd,Jd)}function Sg(kd,Hd){if(Hd===!0)return Hd;if(kd.copyState)return kd.copyState(Hd);var Jd={};for(var Qd in Hd){var mf=Hd[Qd];mf instanceof Array&&(mf=mf.concat([])),Jd[Qd]=mf}return Jd}function t_(kd,Hd){for(var Jd;kd.innerMode&&(Jd=kd.innerMode(Hd),!(!Jd||Jd.mode==kd));)Hd=Jd.state,kd=Jd.mode;return Jd||{mode:kd,state:Hd}}function Zg(kd,Hd,Jd){return kd.startState?kd.startState(Hd,Jd):!0}var jg=function(kd,Hd,Jd){this.pos=this.start=0,this.string=kd,this.tabSize=Hd||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=Jd};jg.prototype.eol=function(){return this.pos>=this.string.length},jg.prototype.sol=function(){return this.pos==this.lineStart},jg.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},jg.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},jg.prototype.eat=function(kd){var Hd=this.string.charAt(this.pos),Jd;if(typeof kd=="string"?Jd=Hd==kd:Jd=Hd&&(kd.test?kd.test(Hd):kd(Hd)),Jd)return++this.pos,Hd},jg.prototype.eatWhile=function(kd){for(var Hd=this.pos;this.eat(kd););return this.pos>Hd},jg.prototype.eatSpace=function(){for(var kd=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>kd},jg.prototype.skipToEnd=function(){this.pos=this.string.length},jg.prototype.skipTo=function(kd){var Hd=this.string.indexOf(kd,this.pos);if(Hd>-1)return this.pos=Hd,!0},jg.prototype.backUp=function(kd){this.pos-=kd},jg.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Yf(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Yf(this.string,this.lineStart,this.tabSize):0)},jg.prototype.indentation=function(){return Yf(this.string,null,this.tabSize)-(this.lineStart?Yf(this.string,this.lineStart,this.tabSize):0)},jg.prototype.match=function(kd,Hd,Jd){if(typeof kd=="string"){var Qd=function(Gf){return Jd?Gf.toLowerCase():Gf},mf=this.string.substr(this.pos,kd.length);if(Qd(mf)==Qd(kd))return Hd!==!1&&(this.pos+=kd.length),!0}else{var wf=this.string.slice(this.pos).match(kd);return wf&&wf.index>0?null:(wf&&Hd!==!1&&(this.pos+=wf[0].length),wf)}},jg.prototype.current=function(){return this.string.slice(this.start,this.pos)},jg.prototype.hideFirstChars=function(kd,Hd){this.lineStart+=kd;try{return Hd()}finally{this.lineStart-=kd}},jg.prototype.lookAhead=function(kd){var Hd=this.lineOracle;return Hd&&Hd.lookAhead(kd)},jg.prototype.baseToken=function(){var kd=this.lineOracle;return kd&&kd.baseToken(this.pos)};function tg(kd,Hd){if(Hd-=kd.first,Hd<0||Hd>=kd.size)throw new Error("There is no line "+(Hd+kd.first)+" in the document.");for(var Jd=kd;!Jd.lines;)for(var Qd=0;;++Qd){var mf=Jd.children[Qd],wf=mf.chunkSize();if(Hd<wf){Jd=mf;break}Hd-=wf}return Jd.lines[Hd]}function y_(kd,Hd,Jd){var Qd=[],mf=Hd.line;return kd.iter(Hd.line,Jd.line+1,function(wf){var Gf=wf.text;mf==Jd.line&&(Gf=Gf.slice(0,Jd.ch)),mf==Hd.line&&(Gf=Gf.slice(Hd.ch)),Qd.push(Gf),++mf}),Qd}function Gg(kd,Hd,Jd){var Qd=[];return kd.iter(Hd,Jd,function(mf){Qd.push(mf.text)}),Qd}function Mg(kd,Hd){var Jd=Hd-kd.height;if(Jd)for(var Qd=kd;Qd;Qd=Qd.parent)Qd.height+=Jd}function _h(kd){if(kd.parent==null)return null;for(var Hd=kd.parent,Jd=Th(Hd.lines,kd),Qd=Hd.parent;Qd;Hd=Qd,Qd=Qd.parent)for(var mf=0;Qd.children[mf]!=Hd;++mf)Jd+=Qd.children[mf].chunkSize();return Jd+Hd.first}function Xh(kd,Hd){var Jd=kd.first;e:do{for(var Qd=0;Qd<kd.children.length;++Qd){var mf=kd.children[Qd],wf=mf.height;if(Hd<wf){kd=mf;continue e}Hd-=wf,Jd+=mf.chunkSize()}return Jd}while(!kd.lines);for(var Gf=0;Gf<kd.lines.length;++Gf){var Qf=kd.lines[Gf],dh=Qf.height;if(Hd<dh)break;Hd-=dh}return Jd+Gf}function Um(kd,Hd){return Hd>=kd.first&&Hd<kd.first+kd.size}function Jm(kd,Hd){return String(kd.lineNumberFormatter(Hd+kd.firstLineNumber))}function Om(kd,Hd,Jd){if(Jd===void 0&&(Jd=null),!(this instanceof Om))return new Om(kd,Hd,Jd);this.line=kd,this.ch=Hd,this.sticky=Jd}function og(kd,Hd){return kd.line-Hd.line||kd.ch-Hd.ch}function zg(kd,Hd){return kd.sticky==Hd.sticky&&og(kd,Hd)==0}function S_(kd){return Om(kd.line,kd.ch)}function M_(kd,Hd){return og(kd,Hd)<0?Hd:kd}function fb(kd,Hd){return og(kd,Hd)<0?kd:Hd}function Mb(kd,Hd){return Math.max(kd.first,Math.min(Hd,kd.first+kd.size-1))}function Pg(kd,Hd){if(Hd.line<kd.first)return Om(kd.first,0);var Jd=kd.first+kd.size-1;return Hd.line>Jd?Om(Jd,tg(kd,Jd).text.length):hb(Hd,tg(kd,Hd.line).text.length)}function hb(kd,Hd){var Jd=kd.ch;return Jd==null||Jd>Hd?Om(kd.line,Hd):Jd<0?Om(kd.line,0):kd}function T_(kd,Hd){for(var Jd=[],Qd=0;Qd<Hd.length;Qd++)Jd[Qd]=Pg(kd,Hd[Qd]);return Jd}var K_=function(kd,Hd){this.state=kd,this.lookAhead=Hd},B_=function(kd,Hd,Jd,Qd){this.state=Hd,this.doc=kd,this.line=Jd,this.maxLookAhead=Qd||0,this.baseTokens=null,this.baseTokenPos=1};B_.prototype.lookAhead=function(kd){var Hd=this.doc.getLine(this.line+kd);return Hd!=null&&kd>this.maxLookAhead&&(this.maxLookAhead=kd),Hd},B_.prototype.baseToken=function(kd){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=kd;)this.baseTokenPos+=2;var Hd=this.baseTokens[this.baseTokenPos+1];return{type:Hd&&Hd.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-kd}},B_.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},B_.fromSaved=function(kd,Hd,Jd){return Hd instanceof K_?new B_(kd,Sg(kd.mode,Hd.state),Jd,Hd.lookAhead):new B_(kd,Sg(kd.mode,Hd),Jd)},B_.prototype.save=function(kd){var Hd=kd!==!1?Sg(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new K_(Hd,this.maxLookAhead):Hd};function $b(kd,Hd,Jd,Qd){var mf=[kd.state.modeGen],wf={};oy(kd,Hd.text,kd.doc.mode,Jd,function(yh,Wh){return mf.push(yh,Wh)},wf,Qd);for(var Gf=Jd.state,Qf=function(yh){Jd.baseTokens=mf;var Wh=kd.state.overlays[yh],um=1,Dm=0;Jd.state=!0,oy(kd,Hd.text,Wh.mode,Jd,function(Sm,jm){for(var Wm=um;Dm<Sm;){var eg=mf[um];eg>Sm&&mf.splice(um,1,Sm,mf[um+1],eg),um+=2,Dm=Math.min(Sm,eg)}if(jm)if(Wh.opaque)mf.splice(Wm,um-Wm,Sm,"overlay "+jm),um=Wm+2;else for(;Wm<um;Wm+=2){var dg=mf[Wm+1];mf[Wm+1]=(dg?dg+" ":"")+"overlay "+jm}},wf),Jd.state=Gf,Jd.baseTokens=null,Jd.baseTokenPos=1},dh=0;dh<kd.state.overlays.length;++dh)Qf(dh);return{styles:mf,classes:wf.bgClass||wf.textClass?wf:null}}function u0(kd,Hd,Jd){if(!Hd.styles||Hd.styles[0]!=kd.state.modeGen){var Qd=X_(kd,_h(Hd)),mf=Hd.text.length>kd.options.maxHighlightLength&&Sg(kd.doc.mode,Qd.state),wf=$b(kd,Hd,Qd);mf&&(Qd.state=mf),Hd.stateAfter=Qd.save(!mf),Hd.styles=wf.styles,wf.classes?Hd.styleClasses=wf.classes:Hd.styleClasses&&(Hd.styleClasses=null),Jd===kd.doc.highlightFrontier&&(kd.doc.modeFrontier=Math.max(kd.doc.modeFrontier,++kd.doc.highlightFrontier))}return Hd.styles}function X_(kd,Hd,Jd){var Qd=kd.doc,mf=kd.display;if(!Qd.mode.startState)return new B_(Qd,!0,Hd);var wf=uv(kd,Hd,Jd),Gf=wf>Qd.first&&tg(Qd,wf-1).stateAfter,Qf=Gf?B_.fromSaved(Qd,Gf,wf):new B_(Qd,Zg(Qd.mode),wf);return Qd.iter(wf,Hd,function(dh){Pb(kd,dh.text,Qf);var yh=Qf.line;dh.stateAfter=yh==Hd-1||yh%5==0||yh>=mf.viewFrom&&yh<mf.viewTo?Qf.save():null,Qf.nextLine()}),Jd&&(Qd.modeFrontier=Qf.line),Qf}function Pb(kd,Hd,Jd,Qd){var mf=kd.doc.mode,wf=new jg(Hd,kd.options.tabSize,Jd);for(wf.start=wf.pos=Qd||0,Hd==""&&sy(mf,Jd.state);!wf.eol();)P0(mf,wf,Jd.state),wf.start=wf.pos}function sy(kd,Hd){if(kd.blankLine)return kd.blankLine(Hd);if(kd.innerMode){var Jd=t_(kd,Hd);if(Jd.mode.blankLine)return Jd.mode.blankLine(Jd.state)}}function P0(kd,Hd,Jd,Qd){for(var mf=0;mf<10;mf++){Qd&&(Qd[0]=t_(kd,Jd).mode);var wf=kd.token(Hd,Jd);if(Hd.pos>Hd.start)return wf}throw new Error("Mode "+kd.name+" failed to advance stream.")}var Rg=function(kd,Hd,Jd){this.start=kd.start,this.end=kd.pos,this.string=kd.current(),this.type=Hd||null,this.state=Jd};function L0(kd,Hd,Jd,Qd){var mf=kd.doc,wf=mf.mode,Gf;Hd=Pg(mf,Hd);var Qf=tg(mf,Hd.line),dh=X_(kd,Hd.line,Jd),yh=new jg(Qf.text,kd.options.tabSize,dh),Wh;for(Qd&&(Wh=[]);(Qd||yh.pos<Hd.ch)&&!yh.eol();)yh.start=yh.pos,Gf=P0(wf,yh,dh.state),Qd&&Wh.push(new Rg(yh,Gf,Sg(mf.mode,dh.state)));return Qd?Wh:new Rg(yh,Gf,dh.state)}function T0(kd,Hd){if(kd)for(;;){var Jd=kd.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Jd)break;kd=kd.slice(0,Jd.index)+kd.slice(Jd.index+Jd[0].length);var Qd=Jd[1]?"bgClass":"textClass";Hd[Qd]==null?Hd[Qd]=Jd[2]:new RegExp("(?:^|\\s)"+Jd[2]+"(?:$|\\s)").test(Hd[Qd])||(Hd[Qd]+=" "+Jd[2])}return kd}function oy(kd,Hd,Jd,Qd,mf,wf,Gf){var Qf=Jd.flattenSpans;Qf==null&&(Qf=kd.options.flattenSpans);var dh=0,yh=null,Wh=new jg(Hd,kd.options.tabSize,Qd),um,Dm=kd.options.addModeClass&&[null];for(Hd==""&&T0(sy(Jd,Qd.state),wf);!Wh.eol();){if(Wh.pos>kd.options.maxHighlightLength?(Qf=!1,Gf&&Pb(kd,Hd,Qd,Wh.pos),Wh.pos=Hd.length,um=null):um=T0(P0(Jd,Wh,Qd.state,Dm),wf),Dm){var Sm=Dm[0].name;Sm&&(um="m-"+(um?Sm+" "+um:Sm))}if(!Qf||yh!=um){for(;dh<Wh.start;)dh=Math.min(Wh.start,dh+5e3),mf(dh,yh);yh=um}Wh.start=Wh.pos}for(;dh<Wh.pos;){var jm=Math.min(Wh.pos,dh+5e3);mf(jm,yh),dh=jm}}function uv(kd,Hd,Jd){for(var Qd,mf,wf=kd.doc,Gf=Jd?-1:Hd-(kd.doc.mode.innerMode?1e3:100),Qf=Hd;Qf>Gf;--Qf){if(Qf<=wf.first)return wf.first;var dh=tg(wf,Qf-1),yh=dh.stateAfter;if(yh&&(!Jd||Qf+(yh instanceof K_?yh.lookAhead:0)<=wf.modeFrontier))return Qf;var Wh=Yf(dh.text,null,kd.options.tabSize);(mf==null||Qd>Wh)&&(mf=Qf-1,Qd=Wh)}return mf}function dv(kd,Hd){if(kd.modeFrontier=Math.min(kd.modeFrontier,Hd),!(kd.highlightFrontier<Hd-10)){for(var Jd=kd.first,Qd=Hd-1;Qd>Jd;Qd--){var mf=tg(kd,Qd).stateAfter;if(mf&&(!(mf instanceof K_)||Qd+mf.lookAhead<Hd)){Jd=Qd+1;break}}kd.highlightFrontier=Math.min(kd.highlightFrontier,Jd)}}var x0=!1,F_=!1;function xb(){x0=!0}function Wb(){F_=!0}function C0(kd,Hd,Jd){this.marker=kd,this.from=Hd,this.to=Jd}function B0(kd,Hd){if(kd)for(var Jd=0;Jd<kd.length;++Jd){var Qd=kd[Jd];if(Qd.marker==Hd)return Qd}}function BE(kd,Hd){for(var Jd,Qd=0;Qd<kd.length;++Qd)kd[Qd]!=Hd&&(Jd||(Jd=[])).push(kd[Qd]);return Jd}function eE(kd,Hd,Jd){var Qd=Jd&&window.WeakSet&&(Jd.markedSpans||(Jd.markedSpans=new WeakSet));Qd&&kd.markedSpans&&Qd.has(kd.markedSpans)?kd.markedSpans.push(Hd):(kd.markedSpans=kd.markedSpans?kd.markedSpans.concat([Hd]):[Hd],Qd&&Qd.add(kd.markedSpans)),Hd.marker.attachLine(kd)}function FE(kd,Hd,Jd){var Qd;if(kd)for(var mf=0;mf<kd.length;++mf){var wf=kd[mf],Gf=wf.marker,Qf=wf.from==null||(Gf.inclusiveLeft?wf.from<=Hd:wf.from<Hd);if(Qf||wf.from==Hd&&Gf.type=="bookmark"&&(!Jd||!wf.marker.insertLeft)){var dh=wf.to==null||(Gf.inclusiveRight?wf.to>=Hd:wf.to>Hd);(Qd||(Qd=[])).push(new C0(Gf,wf.from,dh?null:wf.to))}}return Qd}function PS(kd,Hd,Jd){var Qd;if(kd)for(var mf=0;mf<kd.length;++mf){var wf=kd[mf],Gf=wf.marker,Qf=wf.to==null||(Gf.inclusiveRight?wf.to>=Hd:wf.to>Hd);if(Qf||wf.from==Hd&&Gf.type=="bookmark"&&(!Jd||wf.marker.insertLeft)){var dh=wf.from==null||(Gf.inclusiveLeft?wf.from<=Hd:wf.from<Hd);(Qd||(Qd=[])).push(new C0(Gf,dh?null:wf.from-Hd,wf.to==null?null:wf.to-Hd))}}return Qd}function tE(kd,Hd){if(Hd.full)return null;var Jd=Um(kd,Hd.from.line)&&tg(kd,Hd.from.line).markedSpans,Qd=Um(kd,Hd.to.line)&&tg(kd,Hd.to.line).markedSpans;if(!Jd&&!Qd)return null;var mf=Hd.from.ch,wf=Hd.to.ch,Gf=og(Hd.from,Hd.to)==0,Qf=FE(Jd,mf,Gf),dh=PS(Qd,wf,Gf),yh=Hd.text.length==1,Wh=wh(Hd.text).length+(yh?mf:0);if(Qf)for(var um=0;um<Qf.length;++um){var Dm=Qf[um];if(Dm.to==null){var Sm=B0(dh,Dm.marker);Sm?yh&&(Dm.to=Sm.to==null?null:Sm.to+Wh):Dm.to=mf}}if(dh)for(var jm=0;jm<dh.length;++jm){var Wm=dh[jm];if(Wm.to!=null&&(Wm.to+=Wh),Wm.from==null){var eg=B0(Qf,Wm.marker);eg||(Wm.from=Wh,yh&&(Qf||(Qf=[])).push(Wm))}else Wm.from+=Wh,yh&&(Qf||(Qf=[])).push(Wm)}Qf&&(Qf=jE(Qf)),dh&&dh!=Qf&&(dh=jE(dh));var dg=[Qf];if(!yh){var yg=Hd.text.length-2,lg;if(yg>0&&Qf)for(var xg=0;xg<Qf.length;++xg)Qf[xg].to==null&&(lg||(lg=[])).push(new C0(Qf[xg].marker,null,null));for(var Og=0;Og<yg;++Og)dg.push(lg);dg.push(dh)}return dg}function jE(kd){for(var Hd=0;Hd<kd.length;++Hd){var Jd=kd[Hd];Jd.from!=null&&Jd.from==Jd.to&&Jd.marker.clearWhenEmpty!==!1&&kd.splice(Hd--,1)}return kd.length?kd:null}function UE(kd,Hd,Jd){var Qd=null;if(kd.iter(Hd.line,Jd.line+1,function(Sm){if(Sm.markedSpans)for(var jm=0;jm<Sm.markedSpans.length;++jm){var Wm=Sm.markedSpans[jm].marker;Wm.readOnly&&(!Qd||Th(Qd,Wm)==-1)&&(Qd||(Qd=[])).push(Wm)}}),!Qd)return null;for(var mf=[{from:Hd,to:Jd}],wf=0;wf<Qd.length;++wf)for(var Gf=Qd[wf],Qf=Gf.find(0),dh=0;dh<mf.length;++dh){var yh=mf[dh];if(!(og(yh.to,Qf.from)<0||og(yh.from,Qf.to)>0)){var Wh=[dh,1],um=og(yh.from,Qf.from),Dm=og(yh.to,Qf.to);(um<0||!Gf.inclusiveLeft&&!um)&&Wh.push({from:yh.from,to:Qf.from}),(Dm>0||!Gf.inclusiveRight&&!Dm)&&Wh.push({from:Qf.to,to:yh.to}),mf.splice.apply(mf,Wh),dh+=Wh.length-3}}return mf}function ig(kd){var Hd=kd.markedSpans;if(Hd){for(var Jd=0;Jd<Hd.length;++Jd)Hd[Jd].marker.detachLine(kd);kd.markedSpans=null}}function __(kd,Hd){if(Hd){for(var Jd=0;Jd<Hd.length;++Jd)Hd[Jd].marker.attachLine(kd);kd.markedSpans=Hd}}function uy(kd){return kd.inclusiveLeft?-1:0}function pv(kd){return kd.inclusiveRight?1:0}function rE(kd,Hd){var Jd=kd.lines.length-Hd.lines.length;if(Jd!=0)return Jd;var Qd=kd.find(),mf=Hd.find(),wf=og(Qd.from,mf.from)||uy(kd)-uy(Hd);if(wf)return-wf;var Gf=og(Qd.to,mf.to)||pv(kd)-pv(Hd);return Gf||Hd.id-kd.id}function HE(kd,Hd){var Jd=F_&&kd.markedSpans,Qd;if(Jd)for(var mf=void 0,wf=0;wf<Jd.length;++wf)mf=Jd[wf],mf.marker.collapsed&&(Hd?mf.from:mf.to)==null&&(!Qd||rE(Qd,mf.marker)<0)&&(Qd=mf.marker);return Qd}function GE(kd){return HE(kd,!0)}function Sy(kd){return HE(kd,!1)}function qE(kd,Hd){var Jd=F_&&kd.markedSpans,Qd;if(Jd)for(var mf=0;mf<Jd.length;++mf){var wf=Jd[mf];wf.marker.collapsed&&(wf.from==null||wf.from<Hd)&&(wf.to==null||wf.to>Hd)&&(!Qd||rE(Qd,wf.marker)<0)&&(Qd=wf.marker)}return Qd}function nE(kd,Hd,Jd,Qd,mf){var wf=tg(kd,Hd),Gf=F_&&wf.markedSpans;if(Gf)for(var Qf=0;Qf<Gf.length;++Qf){var dh=Gf[Qf];if(dh.marker.collapsed){var yh=dh.marker.find(0),Wh=og(yh.from,Jd)||uy(dh.marker)-uy(mf),um=og(yh.to,Qd)||pv(dh.marker)-pv(mf);if(!(Wh>=0&&um<=0||Wh<=0&&um>=0)&&(Wh<=0&&(dh.marker.inclusiveRight&&mf.inclusiveLeft?og(yh.to,Jd)>=0:og(yh.to,Jd)>0)||Wh>=0&&(dh.marker.inclusiveRight&&mf.inclusiveLeft?og(yh.from,Qd)<=0:og(yh.from,Qd)<0)))return!0}}}function h_(kd){for(var Hd;Hd=GE(kd);)kd=Hd.find(-1,!0).line;return kd}function iE(kd){for(var Hd;Hd=Sy(kd);)kd=Hd.find(1,!0).line;return kd}function A0(kd){for(var Hd,Jd;Hd=Sy(kd);)kd=Hd.find(1,!0).line,(Jd||(Jd=[])).push(kd);return Jd}function A_(kd,Hd){var Jd=tg(kd,Hd),Qd=h_(Jd);return Jd==Qd?Hd:_h(Qd)}function Lb(kd,Hd){if(Hd>kd.lastLine())return Hd;var Jd=tg(kd,Hd),Qd;if(!$_(kd,Jd))return Hd;for(;Qd=Sy(Jd);)Jd=Qd.find(1,!0).line;return _h(Jd)+1}function $_(kd,Hd){var Jd=F_&&Hd.markedSpans;if(Jd){for(var Qd=void 0,mf=0;mf<Jd.length;++mf)if(Qd=Jd[mf],!!Qd.marker.collapsed){if(Qd.from==null)return!0;if(!Qd.marker.widgetNode&&Qd.from==0&&Qd.marker.inclusiveLeft&&Ty(kd,Hd,Qd))return!0}}}function Ty(kd,Hd,Jd){if(Jd.to==null){var Qd=Jd.marker.find(1,!0);return Ty(kd,Qd.line,B0(Qd.line.markedSpans,Jd.marker))}if(Jd.marker.inclusiveRight&&Jd.to==Hd.text.length)return!0;for(var mf=void 0,wf=0;wf<Hd.markedSpans.length;++wf)if(mf=Hd.markedSpans[wf],mf.marker.collapsed&&!mf.marker.widgetNode&&mf.from==Jd.to&&(mf.to==null||mf.to!=Jd.from)&&(mf.marker.inclusiveLeft||Jd.marker.inclusiveRight)&&Ty(kd,Hd,mf))return!0}function Bb(kd){kd=h_(kd);for(var Hd=0,Jd=kd.parent,Qd=0;Qd<Jd.lines.length;++Qd){var mf=Jd.lines[Qd];if(mf==kd)break;Hd+=mf.height}for(var wf=Jd.parent;wf;Jd=wf,wf=Jd.parent)for(var Gf=0;Gf<wf.children.length;++Gf){var Qf=wf.children[Gf];if(Qf==Jd)break;Hd+=Qf.height}return Hd}function F0(kd){if(kd.height==0)return 0;for(var Hd=kd.text.length,Jd,Qd=kd;Jd=GE(Qd);){var mf=Jd.find(0,!0);Qd=mf.from.line,Hd+=mf.from.ch-mf.to.ch}for(Qd=kd;Jd=Sy(Qd);){var wf=Jd.find(0,!0);Hd-=Qd.text.length-wf.from.ch,Qd=wf.to.line,Hd+=Qd.text.length-wf.to.ch}return Hd}function fv(kd){var Hd=kd.display,Jd=kd.doc;Hd.maxLine=tg(Jd,Jd.first),Hd.maxLineLength=F0(Hd.maxLine),Hd.maxLineChanged=!0,Jd.iter(function(Qd){var mf=F0(Qd);mf>Hd.maxLineLength&&(Hd.maxLineLength=mf,Hd.maxLine=Qd)})}var Yb=function(kd,Hd,Jd){this.text=kd,__(this,Hd),this.height=Jd?Jd(this):1};Yb.prototype.lineNo=function(){return _h(this)},Kg(Yb);function VE(kd,Hd,Jd,Qd){kd.text=Hd,kd.stateAfter&&(kd.stateAfter=null),kd.styles&&(kd.styles=null),kd.order!=null&&(kd.order=null),ig(kd),__(kd,Jd);var mf=Qd?Qd(kd):1;mf!=kd.height&&Mg(kd,mf)}function vb(kd){kd.parent=null,ig(kd)}var sE={},Cb={};function zE(kd,Hd){if(!kd||/^\s*$/.test(kd))return null;var Jd=Hd.addModeClass?Cb:sE;return Jd[kd]||(Jd[kd]=kd.replace(/\S+/g,"cm-$&"))}function Cy(kd,Hd){var Jd=Af("span",null,null,vd?"padding-right: .1px":null),Qd={pre:Af("pre",[Jd],"CodeMirror-line"),content:Jd,col:0,pos:0,cm:kd,trailingSpace:!1,splitSpaces:kd.getOption("lineWrapping")};Hd.measure={};for(var mf=0;mf<=(Hd.rest?Hd.rest.length:0);mf++){var wf=mf?Hd.rest[mf-1]:Hd.line,Gf=void 0;Qd.pos=0,Qd.addToken=hv,q_(kd.display.measure)&&(Gf=Im(wf,kd.doc.direction))&&(Qd.addToken=x_(Qd.addToken,Gf)),Qd.map=[];var Qf=Hd!=kd.display.externalMeasured&&_h(wf);oE(wf,Qd,u0(kd,wf,Qf)),wf.styleClasses&&(wf.styleClasses.bgClass&&(Qd.bgClass=th(wf.styleClasses.bgClass,Qd.bgClass||"")),wf.styleClasses.textClass&&(Qd.textClass=th(wf.styleClasses.textClass,Qd.textClass||""))),Qd.map.length==0&&Qd.map.push(0,0,Qd.content.appendChild(ub(kd.display.measure))),mf==0?(Hd.measure.map=Qd.map,Hd.measure.cache={}):((Hd.measure.maps||(Hd.measure.maps=[])).push(Qd.map),(Hd.measure.caches||(Hd.measure.caches=[])).push({}))}if(vd){var dh=Qd.content.lastChild;(/\bcm-tab\b/.test(dh.className)||dh.querySelector&&dh.querySelector(".cm-tab"))&&(Qd.content.className="cm-tab-wrap-hack")}return Eg(kd,"renderLine",kd,Hd.line,Qd.pre),Qd.pre.className&&(Qd.textClass=th(Qd.pre.className,Qd.textClass||"")),Qd}function d0(kd){var Hd=vf("span","•","cm-invalidchar");return Hd.title="\\u"+kd.charCodeAt(0).toString(16),Hd.setAttribute("aria-label",Hd.title),Hd}function hv(kd,Hd,Jd,Qd,mf,wf,Gf){if(Hd){var Qf=kd.splitSpaces?mv(Hd,kd.trailingSpace):Hd,dh=kd.cm.state.specialChars,yh=!1,Wh;if(!dh.test(Hd))kd.col+=Hd.length,Wh=document.createTextNode(Qf),kd.map.push(kd.pos,kd.pos+Hd.length,Wh),fd&&md<9&&(yh=!0),kd.pos+=Hd.length;else{Wh=document.createDocumentFragment();for(var um=0;;){dh.lastIndex=um;var Dm=dh.exec(Hd),Sm=Dm?Dm.index-um:Hd.length-um;if(Sm){var jm=document.createTextNode(Qf.slice(um,um+Sm));fd&&md<9?Wh.appendChild(vf("span",[jm])):Wh.appendChild(jm),kd.map.push(kd.pos,kd.pos+Sm,jm),kd.col+=Sm,kd.pos+=Sm}if(!Dm)break;um+=Sm+1;var Wm=void 0;if(Dm[0]==" "){var eg=kd.cm.options.tabSize,dg=eg-kd.col%eg;Wm=Wh.appendChild(vf("span",Kf(dg),"cm-tab")),Wm.setAttribute("role","presentation"),Wm.setAttribute("cm-text"," "),kd.col+=dg}else Dm[0]=="\r"||Dm[0]==`
|
||
`?(Wm=Wh.appendChild(vf("span",Dm[0]=="\r"?"␍":"","cm-invalidchar")),Wm.setAttribute("cm-text",Dm[0]),kd.col+=1):(Wm=kd.cm.options.specialCharPlaceholder(Dm[0]),Wm.setAttribute("cm-text",Dm[0]),fd&&md<9?Wh.appendChild(vf("span",[Wm])):Wh.appendChild(Wm),kd.col+=1);kd.map.push(kd.pos,kd.pos+1,Wm),kd.pos++}}if(kd.trailingSpace=Qf.charCodeAt(Hd.length-1)==32,Jd||Qd||mf||yh||wf||Gf){var yg=Jd||"";Qd&&(yg+=Qd),mf&&(yg+=mf);var lg=vf("span",[Wh],yg,wf);if(Gf)for(var xg in Gf)Gf.hasOwnProperty(xg)&&xg!="style"&&xg!="class"&&lg.setAttribute(xg,Gf[xg]);return kd.content.appendChild(lg)}kd.content.appendChild(Wh)}}function mv(kd,Hd){if(kd.length>1&&!/ /.test(kd))return kd;for(var Jd=Hd,Qd="",mf=0;mf<kd.length;mf++){var wf=kd.charAt(mf);wf==" "&&Jd&&(mf==kd.length-1||kd.charCodeAt(mf+1)==32)&&(wf=" "),Qd+=wf,Jd=wf==" "}return Qd}function x_(kd,Hd){return function(Jd,Qd,mf,wf,Gf,Qf,dh){mf=mf?mf+" cm-force-border":"cm-force-border";for(var yh=Jd.pos,Wh=yh+Qd.length;;){for(var um=void 0,Dm=0;Dm<Hd.length&&(um=Hd[Dm],!(um.to>yh&&um.from<=yh));Dm++);if(um.to>=Wh)return kd(Jd,Qd,mf,wf,Gf,Qf,dh);kd(Jd,Qd.slice(0,um.to-yh),mf,wf,null,Qf,dh),wf=null,Qd=Qd.slice(um.to-yh),yh=um.to}}}function Kb(kd,Hd,Jd,Qd){var mf=!Qd&&Jd.widgetNode;mf&&kd.map.push(kd.pos,kd.pos+Hd,mf),!Qd&&kd.cm.display.input.needsContentAttribute&&(mf||(mf=kd.content.appendChild(document.createElement("span"))),mf.setAttribute("cm-marker",Jd.id)),mf&&(kd.cm.display.input.setUneditable(mf),kd.content.appendChild(mf)),kd.pos+=Hd,kd.trailingSpace=!1}function oE(kd,Hd,Jd){var Qd=kd.markedSpans,mf=kd.text,wf=0;if(!Qd){for(var Gf=1;Gf<Jd.length;Gf+=2)Hd.addToken(Hd,mf.slice(wf,wf=Jd[Gf]),zE(Jd[Gf+1],Hd.cm.options));return}for(var Qf=mf.length,dh=0,yh=1,Wh="",um,Dm,Sm=0,jm,Wm,eg,dg,yg;;){if(Sm==dh){jm=Wm=eg=Dm="",yg=null,dg=null,Sm=1/0;for(var lg=[],xg=void 0,Og=0;Og<Qd.length;++Og){var Ig=Qd[Og],Wg=Ig.marker;if(Wg.type=="bookmark"&&Ig.from==dh&&Wg.widgetNode)lg.push(Wg);else if(Ig.from<=dh&&(Ig.to==null||Ig.to>dh||Wg.collapsed&&Ig.to==dh&&Ig.from==dh)){if(Ig.to!=null&&Ig.to!=dh&&Sm>Ig.to&&(Sm=Ig.to,Wm=""),Wg.className&&(jm+=" "+Wg.className),Wg.css&&(Dm=(Dm?Dm+";":"")+Wg.css),Wg.startStyle&&Ig.from==dh&&(eg+=" "+Wg.startStyle),Wg.endStyle&&Ig.to==Sm&&(xg||(xg=[])).push(Wg.endStyle,Ig.to),Wg.title&&((yg||(yg={})).title=Wg.title),Wg.attributes)for(var b_ in Wg.attributes)(yg||(yg={}))[b_]=Wg.attributes[b_];Wg.collapsed&&(!dg||rE(dg.marker,Wg)<0)&&(dg=Ig)}else Ig.from>dh&&Sm>Ig.from&&(Sm=Ig.from)}if(xg)for(var L_=0;L_<xg.length;L_+=2)xg[L_+1]==Sm&&(Wm+=" "+xg[L_]);if(!dg||dg.from==dh)for(var w_=0;w_<lg.length;++w_)Kb(Hd,0,lg[w_]);if(dg&&(dg.from||0)==dh){if(Kb(Hd,(dg.to==null?Qf+1:dg.to)-dh,dg.marker,dg.from==null),dg.to==null)return;dg.to==dh&&(dg=!1)}}if(dh>=Qf)break;for(var O_=Math.min(Qf,Sm);;){if(Wh){var j_=dh+Wh.length;if(!dg){var U_=j_>O_?Wh.slice(0,O_-dh):Wh;Hd.addToken(Hd,U_,um?um+jm:jm,eg,dh+U_.length==Sm?Wm:"",Dm,yg)}if(j_>=O_){Wh=Wh.slice(O_-dh),dh=O_;break}dh=j_,eg=""}Wh=mf.slice(wf,wf=Jd[yh++]),um=zE(Jd[yh++],Hd.cm.options)}}}function WE(kd,Hd,Jd){this.line=Hd,this.rest=A0(Hd),this.size=this.rest?_h(wh(this.rest))-Jd+1:1,this.node=this.text=null,this.hidden=$_(kd,Hd)}function j0(kd,Hd,Jd){for(var Qd=[],mf,wf=Hd;wf<Jd;wf=mf){var Gf=new WE(kd.doc,tg(kd.doc,wf),wf);mf=wf+Gf.size,Qd.push(Gf)}return Qd}var Fb=null;function YE(kd){Fb?Fb.ops.push(kd):kd.ownsGroup=Fb={ops:[kd],delayedCallbacks:[]}}function LS(kd){var Hd=kd.delayedCallbacks,Jd=0;do{for(;Jd<Hd.length;Jd++)Hd[Jd].call(null);for(var Qd=0;Qd<kd.ops.length;Qd++){var mf=kd.ops[Qd];if(mf.cursorActivityHandlers)for(;mf.cursorActivityCalled<mf.cursorActivityHandlers.length;)mf.cursorActivityHandlers[mf.cursorActivityCalled++].call(null,mf.cm)}}while(Jd<Hd.length)}function Wd(kd,Hd){var Jd=kd.ownsGroup;if(Jd)try{LS(Jd)}finally{Fb=null,Hd(Jd)}}var Fd=null;function Kd(kd,Hd){var Jd=ug(kd,Hd);if(Jd.length){var Qd=Array.prototype.slice.call(arguments,2),mf;Fb?mf=Fb.delayedCallbacks:Fd?mf=Fd:(mf=Fd=[],setTimeout(yf,0));for(var wf=function(Qf){mf.push(function(){return Jd[Qf].apply(null,Qd)})},Gf=0;Gf<Jd.length;++Gf)wf(Gf)}}function yf(){var kd=Fd;Fd=null;for(var Hd=0;Hd<kd.length;++Hd)kd[Hd]()}function If(kd,Hd,Jd,Qd){for(var mf=0;mf<Hd.changes.length;mf++){var wf=Hd.changes[mf];wf=="text"?fm(kd,Hd):wf=="gutter"?zm(kd,Hd,Jd,Qd):wf=="class"?om(kd,Hd):wf=="widget"&&sg(kd,Hd,Qd)}Hd.changes=null}function uh(kd){return kd.node==kd.text&&(kd.node=vf("div",null,null,"position: relative"),kd.text.parentNode&&kd.text.parentNode.replaceChild(kd.node,kd.text),kd.node.appendChild(kd.text),fd&&md<8&&(kd.node.style.zIndex=2)),kd.node}function xh(kd,Hd){var Jd=Hd.bgClass?Hd.bgClass+" "+(Hd.line.bgClass||""):Hd.line.bgClass;if(Jd&&(Jd+=" CodeMirror-linebackground"),Hd.background)Jd?Hd.background.className=Jd:(Hd.background.parentNode.removeChild(Hd.background),Hd.background=null);else if(Jd){var Qd=uh(Hd);Hd.background=Qd.insertBefore(vf("div",null,Jd),Qd.firstChild),kd.display.input.setUneditable(Hd.background)}}function Vh(kd,Hd){var Jd=kd.display.externalMeasured;return Jd&&Jd.line==Hd.line?(kd.display.externalMeasured=null,Hd.measure=Jd.measure,Jd.built):Cy(kd,Hd)}function fm(kd,Hd){var Jd=Hd.text.className,Qd=Vh(kd,Hd);Hd.text==Hd.node&&(Hd.node=Qd.pre),Hd.text.parentNode.replaceChild(Qd.pre,Hd.text),Hd.text=Qd.pre,Qd.bgClass!=Hd.bgClass||Qd.textClass!=Hd.textClass?(Hd.bgClass=Qd.bgClass,Hd.textClass=Qd.textClass,om(kd,Hd)):Jd&&(Hd.text.className=Jd)}function om(kd,Hd){xh(kd,Hd),Hd.line.wrapClass?uh(Hd).className=Hd.line.wrapClass:Hd.node!=Hd.text&&(Hd.node.className="");var Jd=Hd.textClass?Hd.textClass+" "+(Hd.line.textClass||""):Hd.line.textClass;Hd.text.className=Jd||""}function zm(kd,Hd,Jd,Qd){if(Hd.gutter&&(Hd.node.removeChild(Hd.gutter),Hd.gutter=null),Hd.gutterBackground&&(Hd.node.removeChild(Hd.gutterBackground),Hd.gutterBackground=null),Hd.line.gutterClass){var mf=uh(Hd);Hd.gutterBackground=vf("div",null,"CodeMirror-gutter-background "+Hd.line.gutterClass,"left: "+(kd.options.fixedGutter?Qd.fixedPos:-Qd.gutterTotalWidth)+"px; width: "+Qd.gutterTotalWidth+"px"),kd.display.input.setUneditable(Hd.gutterBackground),mf.insertBefore(Hd.gutterBackground,Hd.text)}var wf=Hd.line.gutterMarkers;if(kd.options.lineNumbers||wf){var Gf=uh(Hd),Qf=Hd.gutter=vf("div",null,"CodeMirror-gutter-wrapper","left: "+(kd.options.fixedGutter?Qd.fixedPos:-Qd.gutterTotalWidth)+"px");if(Qf.setAttribute("aria-hidden","true"),kd.display.input.setUneditable(Qf),Gf.insertBefore(Qf,Hd.text),Hd.line.gutterClass&&(Qf.className+=" "+Hd.line.gutterClass),kd.options.lineNumbers&&(!wf||!wf["CodeMirror-linenumbers"])&&(Hd.lineNumber=Qf.appendChild(vf("div",Jm(kd.options,Jd),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+Qd.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+kd.display.lineNumInnerWidth+"px"))),wf)for(var dh=0;dh<kd.display.gutterSpecs.length;++dh){var yh=kd.display.gutterSpecs[dh].className,Wh=wf.hasOwnProperty(yh)&&wf[yh];Wh&&Qf.appendChild(vf("div",[Wh],"CodeMirror-gutter-elt","left: "+Qd.gutterLeft[yh]+"px; width: "+Qd.gutterWidth[yh]+"px"))}}}function sg(kd,Hd,Jd){Hd.alignable&&(Hd.alignable=null);for(var Qd=df("CodeMirror-linewidget"),mf=Hd.node.firstChild,wf=void 0;mf;mf=wf)wf=mf.nextSibling,Qd.test(mf.className)&&Hd.node.removeChild(mf);Ag(kd,Hd,Jd)}function Tg(kd,Hd,Jd,Qd){var mf=Vh(kd,Hd);return Hd.text=Hd.node=mf.pre,mf.bgClass&&(Hd.bgClass=mf.bgClass),mf.textClass&&(Hd.textClass=mf.textClass),om(kd,Hd),zm(kd,Hd,Jd,Qd),Ag(kd,Hd,Qd),Hd.node}function Ag(kd,Hd,Jd){if(qg(kd,Hd.line,Hd,Jd,!0),Hd.rest)for(var Qd=0;Qd<Hd.rest.length;Qd++)qg(kd,Hd.rest[Qd],Hd,Jd,!1)}function qg(kd,Hd,Jd,Qd,mf){if(Hd.widgets)for(var wf=uh(Jd),Gf=0,Qf=Hd.widgets;Gf<Qf.length;++Gf){var dh=Qf[Gf],yh=vf("div",[dh.node],"CodeMirror-linewidget"+(dh.className?" "+dh.className:""));dh.handleMouseEvents||yh.setAttribute("cm-ignore-events","true"),I_(dh,yh,Jd,Qd),kd.display.input.setUneditable(yh),mf&&dh.above?wf.insertBefore(yh,Jd.gutter||Jd.text):wf.appendChild(yh),Kd(dh,"redraw")}}function I_(kd,Hd,Jd,Qd){if(kd.noHScroll){(Jd.alignable||(Jd.alignable=[])).push(Hd);var mf=Qd.wrapperWidth;Hd.style.left=Qd.fixedPos+"px",kd.coverGutter||(mf-=Qd.gutterTotalWidth,Hd.style.paddingLeft=Qd.gutterTotalWidth+"px"),Hd.style.width=mf+"px"}kd.coverGutter&&(Hd.style.zIndex=5,Hd.style.position="relative",kd.noHScroll||(Hd.style.marginLeft=-Qd.gutterTotalWidth+"px"))}function r_(kd){if(kd.height!=null)return kd.height;var Hd=kd.doc.cm;if(!Hd)return 0;if(!jf(document.body,kd.node)){var Jd="position: relative;";kd.coverGutter&&(Jd+="margin-left: -"+Hd.display.gutters.offsetWidth+"px;"),kd.noHScroll&&(Jd+="width: "+Hd.display.wrapper.clientWidth+"px;"),xf(Hd.display.measure,vf("div",[kd.node],null,Jd))}return kd.height=kd.node.parentNode.offsetHeight}function u_(kd,Hd){for(var Jd=N_(Hd);Jd!=kd.wrapper;Jd=Jd.parentNode)if(!Jd||Jd.nodeType==1&&Jd.getAttribute("cm-ignore-events")=="true"||Jd.parentNode==kd.sizer&&Jd!=kd.mover)return!0}function Q_(kd){return kd.lineSpace.offsetTop}function Ay(kd){return kd.mover.offsetHeight-kd.lineSpace.offsetHeight}function gv(kd){if(kd.cachedPaddingH)return kd.cachedPaddingH;var Hd=xf(kd.measure,vf("pre","x","CodeMirror-line-like")),Jd=window.getComputedStyle?window.getComputedStyle(Hd):Hd.currentStyle,Qd={left:parseInt(Jd.paddingLeft),right:parseInt(Jd.paddingRight)};return!isNaN(Qd.left)&&!isNaN(Qd.right)&&(kd.cachedPaddingH=Qd),Qd}function p0(kd){return sh-kd.display.nativeBarWidth}function Dy(kd){return kd.display.scroller.clientWidth-p0(kd)-kd.display.barWidth}function BS(kd){return kd.display.scroller.clientHeight-p0(kd)-kd.display.barHeight}function _v(kd,Hd,Jd){var Qd=kd.options.lineWrapping,mf=Qd&&Dy(kd);if(!Hd.measure.heights||Qd&&Hd.measure.width!=mf){var wf=Hd.measure.heights=[];if(Qd){Hd.measure.width=mf;for(var Gf=Hd.text.firstChild.getClientRects(),Qf=0;Qf<Gf.length-1;Qf++){var dh=Gf[Qf],yh=Gf[Qf+1];Math.abs(dh.bottom-yh.bottom)>2&&wf.push((dh.bottom+yh.top)/2-Jd.top)}}wf.push(Jd.bottom-Jd.top)}}function CT(kd,Hd,Jd){if(kd.line==Hd)return{map:kd.measure.map,cache:kd.measure.cache};if(kd.rest){for(var Qd=0;Qd<kd.rest.length;Qd++)if(kd.rest[Qd]==Hd)return{map:kd.measure.maps[Qd],cache:kd.measure.caches[Qd]};for(var mf=0;mf<kd.rest.length;mf++)if(_h(kd.rest[mf])>Jd)return{map:kd.measure.maps[mf],cache:kd.measure.caches[mf],before:!0}}}function Ix(kd,Hd){Hd=h_(Hd);var Jd=_h(Hd),Qd=kd.display.externalMeasured=new WE(kd.doc,Hd,Jd);Qd.lineN=Jd;var mf=Qd.built=Cy(kd,Qd);return Qd.text=mf.pre,xf(kd.display.lineMeasure,mf.pre),Qd}function KE(kd,Hd,Jd,Qd){return Db(kd,wb(kd,Hd),Jd,Qd)}function XE(kd,Hd){if(Hd>=kd.display.viewFrom&&Hd<kd.display.viewTo)return kd.display.view[Iy(kd,Hd)];var Jd=kd.display.externalMeasured;if(Jd&&Hd>=Jd.lineN&&Hd<Jd.lineN+Jd.size)return Jd}function wb(kd,Hd){var Jd=_h(Hd),Qd=XE(kd,Jd);Qd&&!Qd.text?Qd=null:Qd&&Qd.changes&&(If(kd,Qd,Jd,vv(kd)),kd.curOp.forceUpdate=!0),Qd||(Qd=Ix(kd,Hd));var mf=CT(Qd,Hd,Jd);return{line:Hd,view:Qd,rect:null,map:mf.map,cache:mf.cache,before:mf.before,hasHeights:!1}}function Db(kd,Hd,Jd,Qd,mf){Hd.before&&(Jd=-1);var wf=Jd+(Qd||""),Gf;return Hd.cache.hasOwnProperty(wf)?Gf=Hd.cache[wf]:(Hd.rect||(Hd.rect=Hd.view.text.getBoundingClientRect()),Hd.hasHeights||(_v(kd,Hd.view,Hd.rect),Hd.hasHeights=!0),Gf=yv(kd,Hd,Jd,Qd),Gf.bogus||(Hd.cache[wf]=Gf)),{left:Gf.left,right:Gf.right,top:mf?Gf.rtop:Gf.top,bottom:mf?Gf.rbottom:Gf.bottom}}var AT={left:0,right:0,top:0,bottom:0};function wT(kd,Hd,Jd){for(var Qd,mf,wf,Gf,Qf,dh,yh=0;yh<kd.length;yh+=3)if(Qf=kd[yh],dh=kd[yh+1],Hd<Qf?(mf=0,wf=1,Gf="left"):Hd<dh?(mf=Hd-Qf,wf=mf+1):(yh==kd.length-3||Hd==dh&&kd[yh+3]>Hd)&&(wf=dh-Qf,mf=wf-1,Hd>=dh&&(Gf="right")),mf!=null){if(Qd=kd[yh+2],Qf==dh&&Jd==(Qd.insertLeft?"left":"right")&&(Gf=Jd),Jd=="left"&&mf==0)for(;yh&&kd[yh-2]==kd[yh-3]&&kd[yh-1].insertLeft;)Qd=kd[(yh-=3)+2],Gf="left";if(Jd=="right"&&mf==dh-Qf)for(;yh<kd.length-3&&kd[yh+3]==kd[yh+4]&&!kd[yh+5].insertLeft;)Qd=kd[(yh+=3)+2],Gf="right";break}return{node:Qd,start:mf,end:wf,collapse:Gf,coverStart:Qf,coverEnd:dh}}function Rx(kd,Hd){var Jd=AT;if(Hd=="left")for(var Qd=0;Qd<kd.length&&(Jd=kd[Qd]).left==Jd.right;Qd++);else for(var mf=kd.length-1;mf>=0&&(Jd=kd[mf]).left==Jd.right;mf--);return Jd}function yv(kd,Hd,Jd,Qd){var mf=wT(Hd.map,Jd,Qd),wf=mf.node,Gf=mf.start,Qf=mf.end,dh=mf.collapse,yh;if(wf.nodeType==3){for(var Wh=0;Wh<4;Wh++){for(;Gf&&gh(Hd.line.text.charAt(mf.coverStart+Gf));)--Gf;for(;mf.coverStart+Qf<mf.coverEnd&&gh(Hd.line.text.charAt(mf.coverStart+Qf));)++Qf;if(fd&&md<9&&Gf==0&&Qf==mf.coverEnd-mf.coverStart?yh=wf.parentNode.getBoundingClientRect():yh=Rx(Df(wf,Gf,Qf).getClientRects(),Qd),yh.left||yh.right||Gf==0)break;Qf=Gf,Gf=Gf-1,dh="right"}fd&&md<11&&(yh=Xb(kd.display.measure,yh))}else{Gf>0&&(dh=Qd="right");var um;kd.options.lineWrapping&&(um=wf.getClientRects()).length>1?yh=um[Qd=="right"?um.length-1:0]:yh=wf.getBoundingClientRect()}if(fd&&md<9&&!Gf&&(!yh||!yh.left&&!yh.right)){var Dm=wf.parentNode.getClientRects()[0];Dm?yh={left:Dm.left,right:Dm.left+D0(kd.display),top:Dm.top,bottom:Dm.bottom}:yh=AT}for(var Sm=yh.top-Hd.rect.top,jm=yh.bottom-Hd.rect.top,Wm=(Sm+jm)/2,eg=Hd.view.measure.heights,dg=0;dg<eg.length-1&&!(Wm<eg[dg]);dg++);var yg=dg?eg[dg-1]:0,lg=eg[dg],xg={left:(dh=="right"?yh.right:yh.left)-Hd.rect.left,right:(dh=="left"?yh.left:yh.right)-Hd.rect.left,top:yg,bottom:lg};return!yh.left&&!yh.right&&(xg.bogus=!0),kd.options.singleCursorHeightPerLine||(xg.rtop=Sm,xg.rbottom=jm),xg}function Xb(kd,Hd){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!sm(kd))return Hd;var Jd=screen.logicalXDPI/screen.deviceXDPI,Qd=screen.logicalYDPI/screen.deviceYDPI;return{left:Hd.left*Jd,right:Hd.right*Jd,top:Hd.top*Qd,bottom:Hd.bottom*Qd}}function FS(kd){if(kd.measure&&(kd.measure.cache={},kd.measure.heights=null,kd.rest))for(var Hd=0;Hd<kd.rest.length;Hd++)kd.measure.caches[Hd]={}}function DT(kd){kd.display.externalMeasure=null,_f(kd.display.lineMeasure);for(var Hd=0;Hd<kd.display.view.length;Hd++)FS(kd.display.view[Hd])}function lE(kd){DT(kd),kd.display.cachedCharWidth=kd.display.cachedTextHeight=kd.display.cachedPaddingH=null,kd.options.lineWrapping||(kd.display.maxLineChanged=!0),kd.display.lineNumChars=null}function NT(kd){return Nd&&Bd?-(kd.body.getBoundingClientRect().left-parseInt(getComputedStyle(kd.body).marginLeft)):kd.defaultView.pageXOffset||(kd.documentElement||kd.body).scrollLeft}function IT(kd){return Nd&&Bd?-(kd.body.getBoundingClientRect().top-parseInt(getComputedStyle(kd.body).marginTop)):kd.defaultView.pageYOffset||(kd.documentElement||kd.body).scrollTop}function jS(kd){var Hd=h_(kd),Jd=Hd.widgets,Qd=0;if(Jd)for(var mf=0;mf<Jd.length;++mf)Jd[mf].above&&(Qd+=r_(Jd[mf]));return Qd}function w0(kd,Hd,Jd,Qd,mf){if(!mf){var wf=jS(Hd);Jd.top+=wf,Jd.bottom+=wf}if(Qd=="line")return Jd;Qd||(Qd="local");var Gf=Bb(Hd);if(Qd=="local"?Gf+=Q_(kd.display):Gf-=kd.display.viewOffset,Qd=="page"||Qd=="window"){var Qf=kd.display.lineSpace.getBoundingClientRect();Gf+=Qf.top+(Qd=="window"?0:IT(Of(kd)));var dh=Qf.left+(Qd=="window"?0:NT(Of(kd)));Jd.left+=dh,Jd.right+=dh}return Jd.top+=Gf,Jd.bottom+=Gf,Jd}function Nm(kd,Hd,Jd){if(Jd=="div")return Hd;var Qd=Hd.left,mf=Hd.top;if(Jd=="page")Qd-=NT(Of(kd)),mf-=IT(Of(kd));else if(Jd=="local"||!Jd){var wf=kd.display.sizer.getBoundingClientRect();Qd+=wf.left,mf+=wf.top}var Gf=kd.display.lineSpace.getBoundingClientRect();return{left:Qd-Gf.left,top:mf-Gf.top}}function Vm(kd,Hd,Jd,Qd,mf){return Qd||(Qd=tg(kd.doc,Hd.line)),w0(kd,Qd,KE(kd,Qd,Hd.ch,mf),Jd)}function $m(kd,Hd,Jd,Qd,mf,wf){Qd=Qd||tg(kd.doc,Hd.line),mf||(mf=wb(kd,Qd));function Gf(jm,Wm){var eg=Db(kd,mf,jm,Wm?"right":"left",wf);return Wm?eg.left=eg.right:eg.right=eg.left,w0(kd,Qd,eg,Jd)}var Qf=Im(Qd,kd.doc.direction),dh=Hd.ch,yh=Hd.sticky;if(dh>=Qd.text.length?(dh=Qd.text.length,yh="before"):dh<=0&&(dh=0,yh="after"),!Qf)return Gf(yh=="before"?dh-1:dh,yh=="before");function Wh(jm,Wm,eg){var dg=Qf[Wm],yg=dg.level==1;return Gf(eg?jm-1:jm,yg!=eg)}var um=Zh(Qf,dh,yh),Dm=Ch,Sm=Wh(dh,um,yh=="before");return Dm!=null&&(Sm.other=Wh(dh,Dm,yh!="before")),Sm}function Dg(kd,Hd){var Jd=0;Hd=Pg(kd.doc,Hd),kd.options.lineWrapping||(Jd=D0(kd.display)*Hd.ch);var Qd=tg(kd.doc,Hd.line),mf=Bb(Qd)+Q_(kd.display);return{left:Jd,right:Jd,top:mf,bottom:mf+Qd.height}}function Vg(kd,Hd,Jd,Qd,mf){var wf=Om(kd,Hd,Jd);return wf.xRel=mf,Qd&&(wf.outside=Qd),wf}function s_(kd,Hd,Jd){var Qd=kd.doc;if(Jd+=kd.display.viewOffset,Jd<0)return Vg(Qd.first,0,null,-1,-1);var mf=Xh(Qd,Jd),wf=Qd.first+Qd.size-1;if(mf>wf)return Vg(Qd.first+Qd.size-1,tg(Qd,wf).text.length,null,1,1);Hd<0&&(Hd=0);for(var Gf=tg(Qd,mf);;){var Qf=Ox(kd,Gf,mf,Hd,Jd),dh=qE(Gf,Qf.ch+(Qf.xRel>0||Qf.outside>0?1:0));if(!dh)return Qf;var yh=dh.find(1);if(yh.line==mf)return yh;Gf=tg(Qd,mf=yh.line)}}function V_(kd,Hd,Jd,Qd){Qd-=jS(Hd);var mf=Hd.text.length,wf=$f(function(Gf){return Db(kd,Jd,Gf-1).bottom<=Qd},mf,0);return mf=$f(function(Gf){return Db(kd,Jd,Gf).top>Qd},wf,mf),{begin:wf,end:mf}}function v_(kd,Hd,Jd,Qd){Jd||(Jd=wb(kd,Hd));var mf=w0(kd,Hd,Db(kd,Jd,Qd),"line").top;return V_(kd,Hd,Jd,mf)}function cE(kd,Hd,Jd,Qd){return kd.bottom<=Jd?!1:kd.top>Jd?!0:(Qd?kd.left:kd.right)>Hd}function Ox(kd,Hd,Jd,Qd,mf){mf-=Bb(Hd);var wf=wb(kd,Hd),Gf=jS(Hd),Qf=0,dh=Hd.text.length,yh=!0,Wh=Im(Hd,kd.doc.direction);if(Wh){var um=(kd.options.lineWrapping?QE:jb)(kd,Hd,Jd,wf,Wh,Qd,mf);yh=um.level!=1,Qf=yh?um.from:um.to-1,dh=yh?um.to:um.from-1}var Dm=null,Sm=null,jm=$f(function(Og){var Ig=Db(kd,wf,Og);return Ig.top+=Gf,Ig.bottom+=Gf,cE(Ig,Qd,mf,!1)?(Ig.top<=mf&&Ig.left<=Qd&&(Dm=Og,Sm=Ig),!0):!1},Qf,dh),Wm,eg,dg=!1;if(Sm){var yg=Qd-Sm.left<Sm.right-Qd,lg=yg==yh;jm=Dm+(lg?0:1),eg=lg?"after":"before",Wm=yg?Sm.left:Sm.right}else{!yh&&(jm==dh||jm==Qf)&&jm++,eg=jm==0?"after":jm==Hd.text.length?"before":Db(kd,wf,jm-(yh?1:0)).bottom+Gf<=mf==yh?"after":"before";var xg=$m(kd,Om(Jd,jm,eg),"line",Hd,wf);Wm=xg.left,dg=mf<xg.top?-1:mf>=xg.bottom?1:0}return jm=Lf(Hd.text,jm,1),Vg(Jd,jm,eg,dg,Qd-Wm)}function jb(kd,Hd,Jd,Qd,mf,wf,Gf){var Qf=$f(function(um){var Dm=mf[um],Sm=Dm.level!=1;return cE($m(kd,Om(Jd,Sm?Dm.to:Dm.from,Sm?"before":"after"),"line",Hd,Qd),wf,Gf,!0)},0,mf.length-1),dh=mf[Qf];if(Qf>0){var yh=dh.level!=1,Wh=$m(kd,Om(Jd,yh?dh.from:dh.to,yh?"after":"before"),"line",Hd,Qd);cE(Wh,wf,Gf,!0)&&Wh.top>Gf&&(dh=mf[Qf-1])}return dh}function QE(kd,Hd,Jd,Qd,mf,wf,Gf){var Qf=V_(kd,Hd,Qd,Gf),dh=Qf.begin,yh=Qf.end;/\s/.test(Hd.text.charAt(yh-1))&&yh--;for(var Wh=null,um=null,Dm=0;Dm<mf.length;Dm++){var Sm=mf[Dm];if(!(Sm.from>=yh||Sm.to<=dh)){var jm=Sm.level!=1,Wm=Db(kd,Qd,jm?Math.min(yh,Sm.to)-1:Math.max(dh,Sm.from)).right,eg=Wm<wf?wf-Wm+1e9:Wm-wf;(!Wh||um>eg)&&(Wh=Sm,um=eg)}}return Wh||(Wh=mf[mf.length-1]),Wh.from<dh&&(Wh={from:dh,to:Wh.to,level:Wh.level}),Wh.to>yh&&(Wh={from:Wh.from,to:yh,level:Wh.level}),Wh}var Ny;function Qb(kd){if(kd.cachedTextHeight!=null)return kd.cachedTextHeight;if(Ny==null){Ny=vf("pre",null,"CodeMirror-line-like");for(var Hd=0;Hd<49;++Hd)Ny.appendChild(document.createTextNode("x")),Ny.appendChild(vf("br"));Ny.appendChild(document.createTextNode("x"))}xf(kd.measure,Ny);var Jd=Ny.offsetHeight/50;return Jd>3&&(kd.cachedTextHeight=Jd),_f(kd.measure),Jd||1}function D0(kd){if(kd.cachedCharWidth!=null)return kd.cachedCharWidth;var Hd=vf("span","xxxxxxxxxx"),Jd=vf("pre",[Hd],"CodeMirror-line-like");xf(kd.measure,Jd);var Qd=Hd.getBoundingClientRect(),mf=(Qd.right-Qd.left)/10;return mf>2&&(kd.cachedCharWidth=mf),mf||10}function vv(kd){for(var Hd=kd.display,Jd={},Qd={},mf=Hd.gutters.clientLeft,wf=Hd.gutters.firstChild,Gf=0;wf;wf=wf.nextSibling,++Gf){var Qf=kd.display.gutterSpecs[Gf].className;Jd[Qf]=wf.offsetLeft+wf.clientLeft+mf,Qd[Qf]=wf.clientWidth}return{fixedPos:f_(Hd),gutterTotalWidth:Hd.gutters.offsetWidth,gutterLeft:Jd,gutterWidth:Qd,wrapperWidth:Hd.wrapper.clientWidth}}function f_(kd){return kd.scroller.getBoundingClientRect().left-kd.sizer.getBoundingClientRect().left}function RT(kd){var Hd=Qb(kd.display),Jd=kd.options.lineWrapping,Qd=Jd&&Math.max(5,kd.display.scroller.clientWidth/D0(kd.display)-3);return function(mf){if($_(kd.doc,mf))return 0;var wf=0;if(mf.widgets)for(var Gf=0;Gf<mf.widgets.length;Gf++)mf.widgets[Gf].height&&(wf+=mf.widgets[Gf].height);return Jd?wf+(Math.ceil(mf.text.length/Qd)||1)*Hd:wf+Hd}}function JE(kd){var Hd=kd.doc,Jd=RT(kd);Hd.iter(function(Qd){var mf=Jd(Qd);mf!=Qd.height&&Mg(Qd,mf)})}function f0(kd,Hd,Jd,Qd){var mf=kd.display;if(!Jd&&N_(Hd).getAttribute("cm-not-content")=="true")return null;var wf,Gf,Qf=mf.lineSpace.getBoundingClientRect();try{wf=Hd.clientX-Qf.left,Gf=Hd.clientY-Qf.top}catch{return null}var dh=s_(kd,wf,Gf),yh;if(Qd&&dh.xRel>0&&(yh=tg(kd.doc,dh.line).text).length==dh.ch){var Wh=Yf(yh,yh.length,kd.options.tabSize)-yh.length;dh=Om(dh.line,Math.max(0,Math.round((wf-gv(kd.display).left)/D0(kd.display))-Wh))}return dh}function Iy(kd,Hd){if(Hd>=kd.display.viewTo||(Hd-=kd.display.viewFrom,Hd<0))return null;for(var Jd=kd.display.view,Qd=0;Qd<Jd.length;Qd++)if(Hd-=Jd[Qd].size,Hd<0)return Qd}function Eb(kd,Hd,Jd,Qd){Hd==null&&(Hd=kd.doc.first),Jd==null&&(Jd=kd.doc.first+kd.doc.size),Qd||(Qd=0);var mf=kd.display;if(Qd&&Jd<mf.viewTo&&(mf.updateLineNumbers==null||mf.updateLineNumbers>Hd)&&(mf.updateLineNumbers=Hd),kd.curOp.viewChanged=!0,Hd>=mf.viewTo)F_&&A_(kd.doc,Hd)<mf.viewTo&&Jb(kd);else if(Jd<=mf.viewFrom)F_&&Lb(kd.doc,Jd+Qd)>mf.viewFrom?Jb(kd):(mf.viewFrom+=Qd,mf.viewTo+=Qd);else if(Hd<=mf.viewFrom&&Jd>=mf.viewTo)Jb(kd);else if(Hd<=mf.viewFrom){var wf=Zb(kd,Jd,Jd+Qd,1);wf?(mf.view=mf.view.slice(wf.index),mf.viewFrom=wf.lineN,mf.viewTo+=Qd):Jb(kd)}else if(Jd>=mf.viewTo){var Gf=Zb(kd,Hd,Hd,-1);Gf?(mf.view=mf.view.slice(0,Gf.index),mf.viewTo=Gf.lineN):Jb(kd)}else{var Qf=Zb(kd,Hd,Hd,-1),dh=Zb(kd,Jd,Jd+Qd,1);Qf&&dh?(mf.view=mf.view.slice(0,Qf.index).concat(j0(kd,Qf.lineN,dh.lineN)).concat(mf.view.slice(dh.index)),mf.viewTo+=Qd):Jb(kd)}var yh=mf.externalMeasured;yh&&(Jd<yh.lineN?yh.lineN+=Qd:Hd<yh.lineN+yh.size&&(mf.externalMeasured=null))}function U0(kd,Hd,Jd){kd.curOp.viewChanged=!0;var Qd=kd.display,mf=kd.display.externalMeasured;if(mf&&Hd>=mf.lineN&&Hd<mf.lineN+mf.size&&(Qd.externalMeasured=null),!(Hd<Qd.viewFrom||Hd>=Qd.viewTo)){var wf=Qd.view[Iy(kd,Hd)];if(wf.node!=null){var Gf=wf.changes||(wf.changes=[]);Th(Gf,Jd)==-1&&Gf.push(Jd)}}}function Jb(kd){kd.display.viewFrom=kd.display.viewTo=kd.doc.first,kd.display.view=[],kd.display.viewOffset=0}function Zb(kd,Hd,Jd,Qd){var mf=Iy(kd,Hd),wf,Gf=kd.display.view;if(!F_||Jd==kd.doc.first+kd.doc.size)return{index:mf,lineN:Jd};for(var Qf=kd.display.viewFrom,dh=0;dh<mf;dh++)Qf+=Gf[dh].size;if(Qf!=Hd){if(Qd>0){if(mf==Gf.length-1)return null;wf=Qf+Gf[mf].size-Hd,mf++}else wf=Qf-Hd;Hd+=wf,Jd+=wf}for(;A_(kd.doc,Jd)!=Jd;){if(mf==(Qd<0?0:Gf.length-1))return null;Jd+=Qd*Gf[mf-(Qd<0?1:0)].size,mf+=Qd}return{index:mf,lineN:Jd}}function ZE(kd,Hd,Jd){var Qd=kd.display,mf=Qd.view;mf.length==0||Hd>=Qd.viewTo||Jd<=Qd.viewFrom?(Qd.view=j0(kd,Hd,Jd),Qd.viewFrom=Hd):(Qd.viewFrom>Hd?Qd.view=j0(kd,Hd,Qd.viewFrom).concat(Qd.view):Qd.viewFrom<Hd&&(Qd.view=Qd.view.slice(Iy(kd,Hd))),Qd.viewFrom=Hd,Qd.viewTo<Jd?Qd.view=Qd.view.concat(j0(kd,Qd.viewTo,Jd)):Qd.viewTo>Jd&&(Qd.view=Qd.view.slice(0,Iy(kd,Jd)))),Qd.viewTo=Jd}function US(kd){for(var Hd=kd.display.view,Jd=0,Qd=0;Qd<Hd.length;Qd++){var mf=Hd[Qd];!mf.hidden&&(!mf.node||mf.changes)&&++Jd}return Jd}function H0(kd){kd.display.input.showSelection(kd.display.input.prepareSelection())}function HS(kd,Hd){Hd===void 0&&(Hd=!0);var Jd=kd.doc,Qd={},mf=Qd.cursors=document.createDocumentFragment(),wf=Qd.selection=document.createDocumentFragment(),Gf=kd.options.$customCursor;Gf&&(Hd=!0);for(var Qf=0;Qf<Jd.sel.ranges.length;Qf++)if(!(!Hd&&Qf==Jd.sel.primIndex)){var dh=Jd.sel.ranges[Qf];if(!(dh.from().line>=kd.display.viewTo||dh.to().line<kd.display.viewFrom)){var yh=dh.empty();if(Gf){var Wh=Gf(kd,dh);Wh&&eS(kd,Wh,mf)}else(yh||kd.options.showCursorWhenSelecting)&&eS(kd,dh.head,mf);yh||OT(kd,dh,wf)}}return Qd}function eS(kd,Hd,Jd){var Qd=$m(kd,Hd,"div",null,null,!kd.options.singleCursorHeightPerLine),mf=Jd.appendChild(vf("div"," ","CodeMirror-cursor"));if(mf.style.left=Qd.left+"px",mf.style.top=Qd.top+"px",mf.style.height=Math.max(0,Qd.bottom-Qd.top)*kd.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(kd.getWrapperElement().className)){var wf=Vm(kd,Hd,"div",null,null),Gf=wf.right-wf.left;mf.style.width=(Gf>0?Gf:kd.defaultCharWidth())+"px"}if(Qd.other){var Qf=Jd.appendChild(vf("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));Qf.style.display="",Qf.style.left=Qd.other.left+"px",Qf.style.top=Qd.other.top+"px",Qf.style.height=(Qd.other.bottom-Qd.other.top)*.85+"px"}}function Ry(kd,Hd){return kd.top-Hd.top||kd.left-Hd.left}function OT(kd,Hd,Jd){var Qd=kd.display,mf=kd.doc,wf=document.createDocumentFragment(),Gf=gv(kd.display),Qf=Gf.left,dh=Math.max(Qd.sizerWidth,Dy(kd)-Qd.sizer.offsetLeft)-Gf.right,yh=mf.direction=="ltr";function Wh(lg,xg,Og,Ig){xg<0&&(xg=0),xg=Math.round(xg),Ig=Math.round(Ig),wf.appendChild(vf("div",null,"CodeMirror-selected","position: absolute; left: "+lg+`px;
|
||
top: `+xg+"px; width: "+(Og??dh-lg)+`px;
|
||
height: `+(Ig-xg)+"px"))}function um(lg,xg,Og){var Ig=tg(mf,lg),Wg=Ig.text.length,b_,L_;function w_(U_,gb){return Vm(kd,Om(lg,U_),"div",Ig,gb)}function O_(U_,gb,lb){var W_=v_(kd,Ig,null,U_),H_=gb=="ltr"==(lb=="after")?"left":"right",k_=lb=="after"?W_.begin:W_.end-(/\s/.test(Ig.text.charAt(W_.end-1))?2:1);return w_(k_,H_)[H_]}var j_=Im(Ig,mf.direction);return fh(j_,xg||0,Og??Wg,function(U_,gb,lb,W_){var H_=lb=="ltr",k_=w_(U_,H_?"left":"right"),Sb=w_(gb-1,H_?"right":"left"),Qv=xg==null&&U_==0,ry=Og==null&&gb==Wg,pb=W_==0,y0=!j_||W_==j_.length-1;if(Sb.top-k_.top<=3){var rb=(yh?Qv:ry)&&pb,ET=(yh?ry:Qv)&&y0,v0=rb?Qf:(H_?k_:Sb).left,ny=ET?dh:(H_?Sb:k_).right;Wh(v0,k_.top,ny-v0,k_.bottom)}else{var iy,_b,Jv,ST;H_?(iy=yh&&Qv&&pb?Qf:k_.left,_b=yh?dh:O_(U_,lb,"before"),Jv=yh?Qf:O_(gb,lb,"after"),ST=yh&&ry&&y0?dh:Sb.right):(iy=yh?O_(U_,lb,"before"):Qf,_b=!yh&&Qv&&pb?dh:k_.right,Jv=!yh&&ry&&y0?Qf:Sb.left,ST=yh?O_(gb,lb,"after"):dh),Wh(iy,k_.top,_b-iy,k_.bottom),k_.bottom<Sb.top&&Wh(Qf,k_.bottom,null,Sb.top),Wh(Jv,Sb.top,ST-Jv,Sb.bottom)}(!b_||Ry(k_,b_)<0)&&(b_=k_),Ry(Sb,b_)<0&&(b_=Sb),(!L_||Ry(k_,L_)<0)&&(L_=k_),Ry(Sb,L_)<0&&(L_=Sb)}),{start:b_,end:L_}}var Dm=Hd.from(),Sm=Hd.to();if(Dm.line==Sm.line)um(Dm.line,Dm.ch,Sm.ch);else{var jm=tg(mf,Dm.line),Wm=tg(mf,Sm.line),eg=h_(jm)==h_(Wm),dg=um(Dm.line,Dm.ch,eg?jm.text.length+1:null).end,yg=um(Sm.line,eg?0:null,Sm.ch).start;eg&&(dg.top<yg.top-2?(Wh(dg.right,dg.top,null,dg.bottom),Wh(Qf,yg.top,yg.left,yg.bottom)):Wh(dg.right,dg.top,yg.left-dg.right,dg.bottom)),dg.bottom<yg.top&&Wh(Qf,dg.bottom,null,yg.top)}Jd.appendChild(wf)}function Oy(kd){if(kd.state.focused){var Hd=kd.display;clearInterval(Hd.blinker);var Jd=!0;Hd.cursorDiv.style.visibility="",kd.options.cursorBlinkRate>0?Hd.blinker=setInterval(function(){kd.hasFocus()||Cv(kd),Hd.cursorDiv.style.visibility=(Jd=!Jd)?"":"hidden"},kd.options.cursorBlinkRate):kd.options.cursorBlinkRate<0&&(Hd.cursorDiv.style.visibility="hidden")}}function G0(kd){kd.hasFocus()||(kd.display.input.focus(),kd.state.focused||GS(kd))}function Ev(kd){kd.state.delayingBlurEvent=!0,setTimeout(function(){kd.state.delayingBlurEvent&&(kd.state.delayingBlurEvent=!1,kd.state.focused&&Cv(kd))},100)}function GS(kd,Hd){kd.state.delayingBlurEvent&&!kd.state.draggingText&&(kd.state.delayingBlurEvent=!1),kd.options.readOnly!="nocursor"&&(kd.state.focused||(Eg(kd,"focus",kd,Hd),kd.state.focused=!0,eh(kd.display.wrapper,"CodeMirror-focused"),!kd.curOp&&kd.display.selForContextMenu!=kd.doc.sel&&(kd.display.input.reset(),vd&&setTimeout(function(){return kd.display.input.reset(!0)},20)),kd.display.input.receivedFocus()),Oy(kd))}function Cv(kd,Hd){kd.state.delayingBlurEvent||(kd.state.focused&&(Eg(kd,"blur",kd,Hd),kd.state.focused=!1,Ef(kd.display.wrapper,"CodeMirror-focused")),clearInterval(kd.display.blinker),setTimeout(function(){kd.state.focused||(kd.display.shift=!1)},150))}function tS(kd){for(var Hd=kd.display,Jd=Hd.lineDiv.offsetTop,Qd=Math.max(0,Hd.scroller.getBoundingClientRect().top),mf=Hd.lineDiv.getBoundingClientRect().top,wf=0,Gf=0;Gf<Hd.view.length;Gf++){var Qf=Hd.view[Gf],dh=kd.options.lineWrapping,yh=void 0,Wh=0;if(!Qf.hidden){if(mf+=Qf.line.height,fd&&md<8){var um=Qf.node.offsetTop+Qf.node.offsetHeight;yh=um-Jd,Jd=um}else{var Dm=Qf.node.getBoundingClientRect();yh=Dm.bottom-Dm.top,!dh&&Qf.text.firstChild&&(Wh=Qf.text.firstChild.getBoundingClientRect().right-Dm.left-1)}var Sm=Qf.line.height-yh;if((Sm>.005||Sm<-.005)&&(mf<Qd&&(wf-=Sm),Mg(Qf.line,yh),uE(Qf.line),Qf.rest))for(var jm=0;jm<Qf.rest.length;jm++)uE(Qf.rest[jm]);if(Wh>kd.display.sizerWidth){var Wm=Math.ceil(Wh/D0(kd.display));Wm>kd.display.maxLineLength&&(kd.display.maxLineLength=Wm,kd.display.maxLine=Qf.line,kd.display.maxLineChanged=!0)}}}Math.abs(wf)>2&&(Hd.scroller.scrollTop+=wf)}function uE(kd){if(kd.widgets)for(var Hd=0;Hd<kd.widgets.length;++Hd){var Jd=kd.widgets[Hd],Qd=Jd.node.parentNode;Qd&&(Jd.height=Qd.offsetHeight)}}function $y(kd,Hd,Jd){var Qd=Jd&&Jd.top!=null?Math.max(0,Jd.top):kd.scroller.scrollTop;Qd=Math.floor(Qd-Q_(kd));var mf=Jd&&Jd.bottom!=null?Jd.bottom:Qd+kd.wrapper.clientHeight,wf=Xh(Hd,Qd),Gf=Xh(Hd,mf);if(Jd&&Jd.ensure){var Qf=Jd.ensure.from.line,dh=Jd.ensure.to.line;Qf<wf?(wf=Qf,Gf=Xh(Hd,Bb(tg(Hd,Qf))+kd.wrapper.clientHeight)):Math.min(dh,Hd.lastLine())>=Gf&&(wf=Xh(Hd,Bb(tg(Hd,dh))-kd.wrapper.clientHeight),Gf=dh)}return{from:wf,to:Math.max(Gf,wf+1)}}function qS(kd,Hd){if(!kg(kd,"scrollCursorIntoView")){var Jd=kd.display,Qd=Jd.sizer.getBoundingClientRect(),mf=null,wf=Jd.wrapper.ownerDocument;if(Hd.top+Qd.top<0?mf=!0:Hd.bottom+Qd.top>(wf.defaultView.innerHeight||wf.documentElement.clientHeight)&&(mf=!1),mf!=null&&!jd){var Gf=vf("div","",null,`position: absolute;
|
||
top: `+(Hd.top-Jd.viewOffset-Q_(kd.display))+`px;
|
||
height: `+(Hd.bottom-Hd.top+p0(kd)+Jd.barHeight)+`px;
|
||
left: `+Hd.left+"px; width: "+Math.max(2,Hd.right-Hd.left)+"px;");kd.display.lineSpace.appendChild(Gf),Gf.scrollIntoView(mf),kd.display.lineSpace.removeChild(Gf)}}}function kx(kd,Hd,Jd,Qd){Qd==null&&(Qd=0);var mf;!kd.options.lineWrapping&&Hd==Jd&&(Jd=Hd.sticky=="before"?Om(Hd.line,Hd.ch+1,"before"):Hd,Hd=Hd.ch?Om(Hd.line,Hd.sticky=="before"?Hd.ch-1:Hd.ch,"after"):Hd);for(var wf=0;wf<5;wf++){var Gf=!1,Qf=$m(kd,Hd),dh=!Jd||Jd==Hd?Qf:$m(kd,Jd);mf={left:Math.min(Qf.left,dh.left),top:Math.min(Qf.top,dh.top)-Qd,right:Math.max(Qf.left,dh.left),bottom:Math.max(Qf.bottom,dh.bottom)+Qd};var yh=VS(kd,mf),Wh=kd.doc.scrollTop,um=kd.doc.scrollLeft;if(yh.scrollTop!=null&&(dE(kd,yh.scrollTop),Math.abs(kd.doc.scrollTop-Wh)>1&&(Gf=!0)),yh.scrollLeft!=null&&(e0(kd,yh.scrollLeft),Math.abs(kd.doc.scrollLeft-um)>1&&(Gf=!0)),!Gf)break}return mf}function kT(kd,Hd){var Jd=VS(kd,Hd);Jd.scrollTop!=null&&dE(kd,Jd.scrollTop),Jd.scrollLeft!=null&&e0(kd,Jd.scrollLeft)}function VS(kd,Hd){var Jd=kd.display,Qd=Qb(kd.display);Hd.top<0&&(Hd.top=0);var mf=kd.curOp&&kd.curOp.scrollTop!=null?kd.curOp.scrollTop:Jd.scroller.scrollTop,wf=BS(kd),Gf={};Hd.bottom-Hd.top>wf&&(Hd.bottom=Hd.top+wf);var Qf=kd.doc.height+Ay(Jd),dh=Hd.top<Qd,yh=Hd.bottom>Qf-Qd;if(Hd.top<mf)Gf.scrollTop=dh?0:Hd.top;else if(Hd.bottom>mf+wf){var Wh=Math.min(Hd.top,(yh?Qf:Hd.bottom)-wf);Wh!=mf&&(Gf.scrollTop=Wh)}var um=kd.options.fixedGutter?0:Jd.gutters.offsetWidth,Dm=kd.curOp&&kd.curOp.scrollLeft!=null?kd.curOp.scrollLeft:Jd.scroller.scrollLeft-um,Sm=Dy(kd)-Jd.gutters.offsetWidth,jm=Hd.right-Hd.left>Sm;return jm&&(Hd.right=Hd.left+Sm),Hd.left<10?Gf.scrollLeft=0:Hd.left<Dm?Gf.scrollLeft=Math.max(0,Hd.left+um-(jm?0:10)):Hd.right>Sm+Dm-3&&(Gf.scrollLeft=Hd.right+(jm?0:10)-Sm),Gf}function zS(kd,Hd){Hd!=null&&(rS(kd),kd.curOp.scrollTop=(kd.curOp.scrollTop==null?kd.doc.scrollTop:kd.curOp.scrollTop)+Hd)}function D_(kd){rS(kd);var Hd=kd.getCursor();kd.curOp.scrollToPos={from:Hd,to:Hd,margin:kd.options.cursorScrollMargin}}function z_(kd,Hd,Jd){(Hd!=null||Jd!=null)&&rS(kd),Hd!=null&&(kd.curOp.scrollLeft=Hd),Jd!=null&&(kd.curOp.scrollTop=Jd)}function Mx(kd,Hd){rS(kd),kd.curOp.scrollToPos=Hd}function rS(kd){var Hd=kd.curOp.scrollToPos;if(Hd){kd.curOp.scrollToPos=null;var Jd=Dg(kd,Hd.from),Qd=Dg(kd,Hd.to);WS(kd,Jd,Qd,Hd.margin)}}function WS(kd,Hd,Jd,Qd){var mf=VS(kd,{left:Math.min(Hd.left,Jd.left),top:Math.min(Hd.top,Jd.top)-Qd,right:Math.max(Hd.right,Jd.right),bottom:Math.max(Hd.bottom,Jd.bottom)+Qd});z_(kd,mf.scrollLeft,mf.scrollTop)}function dE(kd,Hd){Math.abs(kd.doc.scrollTop-Hd)<2||(ld||t0(kd,{top:Hd}),nS(kd,Hd,!0),ld&&t0(kd),hE(kd,100))}function nS(kd,Hd,Jd){Hd=Math.max(0,Math.min(kd.display.scroller.scrollHeight-kd.display.scroller.clientHeight,Hd)),!(kd.display.scroller.scrollTop==Hd&&!Jd)&&(kd.doc.scrollTop=Hd,kd.display.scrollbars.setScrollTop(Hd),kd.display.scroller.scrollTop!=Hd&&(kd.display.scroller.scrollTop=Hd))}function e0(kd,Hd,Jd,Qd){Hd=Math.max(0,Math.min(Hd,kd.display.scroller.scrollWidth-kd.display.scroller.clientWidth)),!((Jd?Hd==kd.doc.scrollLeft:Math.abs(kd.doc.scrollLeft-Hd)<2)&&!Qd)&&(kd.doc.scrollLeft=Hd,LT(kd),kd.display.scroller.scrollLeft!=Hd&&(kd.display.scroller.scrollLeft=Hd),kd.display.scrollbars.setScrollLeft(Hd))}function Py(kd){var Hd=kd.display,Jd=Hd.gutters.offsetWidth,Qd=Math.round(kd.doc.height+Ay(kd.display));return{clientHeight:Hd.scroller.clientHeight,viewHeight:Hd.wrapper.clientHeight,scrollWidth:Hd.scroller.scrollWidth,clientWidth:Hd.scroller.clientWidth,viewWidth:Hd.wrapper.clientWidth,barLeft:kd.options.fixedGutter?Jd:0,docHeight:Qd,scrollHeight:Qd+p0(kd)+Hd.barHeight,nativeBarWidth:Hd.nativeBarWidth,gutterWidth:Jd}}var Ub=function(kd,Hd,Jd){this.cm=Jd;var Qd=this.vert=vf("div",[vf("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),mf=this.horiz=vf("div",[vf("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");Qd.tabIndex=mf.tabIndex=-1,kd(Qd),kd(mf),Fm(Qd,"scroll",function(){Qd.clientHeight&&Hd(Qd.scrollTop,"vertical")}),Fm(mf,"scroll",function(){mf.clientWidth&&Hd(mf.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,fd&&md<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ub.prototype.update=function(kd){var Hd=kd.scrollWidth>kd.clientWidth+1,Jd=kd.scrollHeight>kd.clientHeight+1,Qd=kd.nativeBarWidth;if(Jd){this.vert.style.display="block",this.vert.style.bottom=Hd?Qd+"px":"0";var mf=kd.viewHeight-(Hd?Qd:0);this.vert.firstChild.style.height=Math.max(0,kd.scrollHeight-kd.clientHeight+mf)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(Hd){this.horiz.style.display="block",this.horiz.style.right=Jd?Qd+"px":"0",this.horiz.style.left=kd.barLeft+"px";var wf=kd.viewWidth-kd.barLeft-(Jd?Qd:0);this.horiz.firstChild.style.width=Math.max(0,kd.scrollWidth-kd.clientWidth+wf)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&kd.clientHeight>0&&(Qd==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Jd?Qd:0,bottom:Hd?Qd:0}},Ub.prototype.setScrollLeft=function(kd){this.horiz.scrollLeft!=kd&&(this.horiz.scrollLeft=kd),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ub.prototype.setScrollTop=function(kd){this.vert.scrollTop!=kd&&(this.vert.scrollTop=kd),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ub.prototype.zeroWidthHack=function(){var kd=qd&&!Ud?"12px":"18px";this.horiz.style.height=this.vert.style.width=kd,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new ih,this.disableVert=new ih},Ub.prototype.enableZeroWidthBar=function(kd,Hd,Jd){kd.style.visibility="";function Qd(){var mf=kd.getBoundingClientRect(),wf=Jd=="vert"?document.elementFromPoint(mf.right-1,(mf.top+mf.bottom)/2):document.elementFromPoint((mf.right+mf.left)/2,mf.bottom-1);wf!=kd?kd.style.visibility="hidden":Hd.set(1e3,Qd)}Hd.set(1e3,Qd)},Ub.prototype.clear=function(){var kd=this.horiz.parentNode;kd.removeChild(this.horiz),kd.removeChild(this.vert)};var N0=function(){};N0.prototype.update=function(){return{bottom:0,right:0}},N0.prototype.setScrollLeft=function(){},N0.prototype.setScrollTop=function(){},N0.prototype.clear=function(){};function h0(kd,Hd){Hd||(Hd=Py(kd));var Jd=kd.display.barWidth,Qd=kd.display.barHeight;pE(kd,Hd);for(var mf=0;mf<4&&Jd!=kd.display.barWidth||Qd!=kd.display.barHeight;mf++)Jd!=kd.display.barWidth&&kd.options.lineWrapping&&tS(kd),pE(kd,Py(kd)),Jd=kd.display.barWidth,Qd=kd.display.barHeight}function pE(kd,Hd){var Jd=kd.display,Qd=Jd.scrollbars.update(Hd);Jd.sizer.style.paddingRight=(Jd.barWidth=Qd.right)+"px",Jd.sizer.style.paddingBottom=(Jd.barHeight=Qd.bottom)+"px",Jd.heightForcer.style.borderBottom=Qd.bottom+"px solid transparent",Qd.right&&Qd.bottom?(Jd.scrollbarFiller.style.display="block",Jd.scrollbarFiller.style.height=Qd.bottom+"px",Jd.scrollbarFiller.style.width=Qd.right+"px"):Jd.scrollbarFiller.style.display="",Qd.bottom&&kd.options.coverGutterNextToScrollbar&&kd.options.fixedGutter?(Jd.gutterFiller.style.display="block",Jd.gutterFiller.style.height=Qd.bottom+"px",Jd.gutterFiller.style.width=Hd.gutterWidth+"px"):Jd.gutterFiller.style.display=""}var Ly={native:Ub,null:N0};function MT(kd){kd.display.scrollbars&&(kd.display.scrollbars.clear(),kd.display.scrollbars.addClass&&Ef(kd.display.wrapper,kd.display.scrollbars.addClass)),kd.display.scrollbars=new Ly[kd.options.scrollbarStyle](function(Hd){kd.display.wrapper.insertBefore(Hd,kd.display.scrollbarFiller),Fm(Hd,"mousedown",function(){kd.state.focused&&setTimeout(function(){return kd.display.input.focus()},0)}),Hd.setAttribute("cm-not-content","true")},function(Hd,Jd){Jd=="horizontal"?e0(kd,Hd):dE(kd,Hd)},kd),kd.display.scrollbars.addClass&&eh(kd.display.wrapper,kd.display.scrollbars.addClass)}var $x=0;function By(kd){kd.curOp={cm:kd,viewChanged:!1,startHeight:kd.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++$x,markArrays:null},YE(kd.curOp)}function Hy(kd){var Hd=kd.curOp;Hd&&Wd(Hd,function(Jd){for(var Qd=0;Qd<Jd.ops.length;Qd++)Jd.ops[Qd].cm.curOp=null;Px(Jd)})}function Px(kd){for(var Hd=kd.ops,Jd=0;Jd<Hd.length;Jd++)iS(Hd[Jd]);for(var Qd=0;Qd<Hd.length;Qd++)fE(Hd[Qd]);for(var mf=0;mf<Hd.length;mf++)$T(Hd[mf]);for(var wf=0;wf<Hd.length;wf++)Mh(Hd[wf]);for(var Gf=0;Gf<Hd.length;Gf++)Av(Hd[Gf])}function iS(kd){var Hd=kd.cm,Jd=Hd.display;Bx(Hd),kd.updateMaxLine&&fv(Hd),kd.mustUpdate=kd.viewChanged||kd.forceUpdate||kd.scrollTop!=null||kd.scrollToPos&&(kd.scrollToPos.from.line<Jd.viewFrom||kd.scrollToPos.to.line>=Jd.viewTo)||Jd.maxLineChanged&&Hd.options.lineWrapping,kd.update=kd.mustUpdate&&new m0(Hd,kd.mustUpdate&&{top:kd.scrollTop,ensure:kd.scrollToPos},kd.forceUpdate)}function fE(kd){kd.updatedDisplay=kd.mustUpdate&&YS(kd.cm,kd.update)}function $T(kd){var Hd=kd.cm,Jd=Hd.display;kd.updatedDisplay&&tS(Hd),kd.barMeasure=Py(Hd),Jd.maxLineChanged&&!Hd.options.lineWrapping&&(kd.adjustWidthTo=KE(Hd,Jd.maxLine,Jd.maxLine.text.length).left+3,Hd.display.sizerWidth=kd.adjustWidthTo,kd.barMeasure.scrollWidth=Math.max(Jd.scroller.clientWidth,Jd.sizer.offsetLeft+kd.adjustWidthTo+p0(Hd)+Hd.display.barWidth),kd.maxScrollLeft=Math.max(0,Jd.sizer.offsetLeft+kd.adjustWidthTo-Dy(Hd))),(kd.updatedDisplay||kd.selectionChanged)&&(kd.preparedSelection=Jd.input.prepareSelection())}function Mh(kd){var Hd=kd.cm;kd.adjustWidthTo!=null&&(Hd.display.sizer.style.minWidth=kd.adjustWidthTo+"px",kd.maxScrollLeft<Hd.doc.scrollLeft&&e0(Hd,Math.min(Hd.display.scroller.scrollLeft,kd.maxScrollLeft),!0),Hd.display.maxLineChanged=!1);var Jd=kd.focus&&kd.focus==Jf(Wf(Hd));kd.preparedSelection&&Hd.display.input.showSelection(kd.preparedSelection,Jd),(kd.updatedDisplay||kd.startHeight!=Hd.doc.height)&&h0(Hd,kd.barMeasure),kd.updatedDisplay&&XS(Hd,kd.barMeasure),kd.selectionChanged&&Oy(Hd),Hd.state.focused&&kd.updateInput&&Hd.display.input.reset(kd.typing),Jd&&G0(kd.cm)}function Av(kd){var Hd=kd.cm,Jd=Hd.display,Qd=Hd.doc;if(kd.updatedDisplay&&PT(Hd,kd.update),Jd.wheelStartX!=null&&(kd.scrollTop!=null||kd.scrollLeft!=null||kd.scrollToPos)&&(Jd.wheelStartX=Jd.wheelStartY=null),kd.scrollTop!=null&&nS(Hd,kd.scrollTop,kd.forceScroll),kd.scrollLeft!=null&&e0(Hd,kd.scrollLeft,!0,!0),kd.scrollToPos){var mf=kx(Hd,Pg(Qd,kd.scrollToPos.from),Pg(Qd,kd.scrollToPos.to),kd.scrollToPos.margin);qS(Hd,mf)}var wf=kd.maybeHiddenMarkers,Gf=kd.maybeUnhiddenMarkers;if(wf)for(var Qf=0;Qf<wf.length;++Qf)wf[Qf].lines.length||Eg(wf[Qf],"hide");if(Gf)for(var dh=0;dh<Gf.length;++dh)Gf[dh].lines.length&&Eg(Gf[dh],"unhide");Jd.wrapper.offsetHeight&&(Qd.scrollTop=Hd.display.scroller.scrollTop),kd.changeObjs&&Eg(Hd,"changes",Hd,kd.changeObjs),kd.update&&kd.update.finish()}function db(kd,Hd){if(kd.curOp)return Hd();By(kd);try{return Hd()}finally{Hy(kd)}}function m_(kd,Hd){return function(){if(kd.curOp)return Hd.apply(kd,arguments);By(kd);try{return Hd.apply(kd,arguments)}finally{Hy(kd)}}}function Bg(kd){return function(){if(this.curOp)return kd.apply(this,arguments);By(this);try{return kd.apply(this,arguments)}finally{Hy(this)}}}function J_(kd){return function(){var Hd=this.cm;if(!Hd||Hd.curOp)return kd.apply(this,arguments);By(Hd);try{return kd.apply(this,arguments)}finally{Hy(Hd)}}}function hE(kd,Hd){kd.doc.highlightFrontier<kd.display.viewTo&&kd.state.highlight.set(Hd,Tf(Lx,kd))}function Lx(kd){var Hd=kd.doc;if(!(Hd.highlightFrontier>=kd.display.viewTo)){var Jd=+new Date+kd.options.workTime,Qd=X_(kd,Hd.highlightFrontier),mf=[];Hd.iter(Qd.line,Math.min(Hd.first+Hd.size,kd.display.viewTo+500),function(wf){if(Qd.line>=kd.display.viewFrom){var Gf=wf.styles,Qf=wf.text.length>kd.options.maxHighlightLength?Sg(Hd.mode,Qd.state):null,dh=$b(kd,wf,Qd,!0);Qf&&(Qd.state=Qf),wf.styles=dh.styles;var yh=wf.styleClasses,Wh=dh.classes;Wh?wf.styleClasses=Wh:yh&&(wf.styleClasses=null);for(var um=!Gf||Gf.length!=wf.styles.length||yh!=Wh&&(!yh||!Wh||yh.bgClass!=Wh.bgClass||yh.textClass!=Wh.textClass),Dm=0;!um&&Dm<Gf.length;++Dm)um=Gf[Dm]!=wf.styles[Dm];um&&mf.push(Qd.line),wf.stateAfter=Qd.save(),Qd.nextLine()}else wf.text.length<=kd.options.maxHighlightLength&&Pb(kd,wf.text,Qd),wf.stateAfter=Qd.line%5==0?Qd.save():null,Qd.nextLine();if(+new Date>Jd)return hE(kd,kd.options.workDelay),!0}),Hd.highlightFrontier=Qd.line,Hd.modeFrontier=Math.max(Hd.modeFrontier,Qd.line),mf.length&&db(kd,function(){for(var wf=0;wf<mf.length;wf++)U0(kd,mf[wf],"text")})}}var m0=function(kd,Hd,Jd){var Qd=kd.display;this.viewport=Hd,this.visible=$y(Qd,kd.doc,Hd),this.editorIsHidden=!Qd.wrapper.offsetWidth,this.wrapperHeight=Qd.wrapper.clientHeight,this.wrapperWidth=Qd.wrapper.clientWidth,this.oldDisplayWidth=Dy(kd),this.force=Jd,this.dims=vv(kd),this.events=[]};m0.prototype.signal=function(kd,Hd){Fg(kd,Hd)&&this.events.push(arguments)},m0.prototype.finish=function(){for(var kd=0;kd<this.events.length;kd++)Eg.apply(null,this.events[kd])};function Bx(kd){var Hd=kd.display;!Hd.scrollbarsClipped&&Hd.scroller.offsetWidth&&(Hd.nativeBarWidth=Hd.scroller.offsetWidth-Hd.scroller.clientWidth,Hd.heightForcer.style.height=p0(kd)+"px",Hd.sizer.style.marginBottom=-Hd.nativeBarWidth+"px",Hd.sizer.style.borderRightWidth=p0(kd)+"px",Hd.scrollbarsClipped=!0)}function Fx(kd){if(kd.hasFocus())return null;var Hd=Jf(Wf(kd));if(!Hd||!jf(kd.display.lineDiv,Hd))return null;var Jd={activeElt:Hd};if(window.getSelection){var Qd=zf(kd).getSelection();Qd.anchorNode&&Qd.extend&&jf(kd.display.lineDiv,Qd.anchorNode)&&(Jd.anchorNode=Qd.anchorNode,Jd.anchorOffset=Qd.anchorOffset,Jd.focusNode=Qd.focusNode,Jd.focusOffset=Qd.focusOffset)}return Jd}function jx(kd){if(!(!kd||!kd.activeElt||kd.activeElt==Jf(qf(kd.activeElt)))&&(kd.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(kd.activeElt.nodeName)&&kd.anchorNode&&jf(document.body,kd.anchorNode)&&jf(document.body,kd.focusNode))){var Hd=kd.activeElt.ownerDocument,Jd=Hd.defaultView.getSelection(),Qd=Hd.createRange();Qd.setEnd(kd.anchorNode,kd.anchorOffset),Qd.collapse(!1),Jd.removeAllRanges(),Jd.addRange(Qd),Jd.extend(kd.focusNode,kd.focusOffset)}}function YS(kd,Hd){var Jd=kd.display,Qd=kd.doc;if(Hd.editorIsHidden)return Jb(kd),!1;if(!Hd.force&&Hd.visible.from>=Jd.viewFrom&&Hd.visible.to<=Jd.viewTo&&(Jd.updateLineNumbers==null||Jd.updateLineNumbers>=Jd.viewTo)&&Jd.renderedView==Jd.view&&US(kd)==0)return!1;BT(kd)&&(Jb(kd),Hd.dims=vv(kd));var mf=Qd.first+Qd.size,wf=Math.max(Hd.visible.from-kd.options.viewportMargin,Qd.first),Gf=Math.min(mf,Hd.visible.to+kd.options.viewportMargin);Jd.viewFrom<wf&&wf-Jd.viewFrom<20&&(wf=Math.max(Qd.first,Jd.viewFrom)),Jd.viewTo>Gf&&Jd.viewTo-Gf<20&&(Gf=Math.min(mf,Jd.viewTo)),F_&&(wf=A_(kd.doc,wf),Gf=Lb(kd.doc,Gf));var Qf=wf!=Jd.viewFrom||Gf!=Jd.viewTo||Jd.lastWrapHeight!=Hd.wrapperHeight||Jd.lastWrapWidth!=Hd.wrapperWidth;ZE(kd,wf,Gf),Jd.viewOffset=Bb(tg(kd.doc,Jd.viewFrom)),kd.display.mover.style.top=Jd.viewOffset+"px";var dh=US(kd);if(!Qf&&dh==0&&!Hd.force&&Jd.renderedView==Jd.view&&(Jd.updateLineNumbers==null||Jd.updateLineNumbers>=Jd.viewTo))return!1;var yh=Fx(kd);return dh>4&&(Jd.lineDiv.style.display="none"),Ux(kd,Jd.updateLineNumbers,Hd.dims),dh>4&&(Jd.lineDiv.style.display=""),Jd.renderedView=Jd.view,jx(yh),_f(Jd.cursorDiv),_f(Jd.selectionDiv),Jd.gutters.style.height=Jd.sizer.style.minHeight=0,Qf&&(Jd.lastWrapHeight=Hd.wrapperHeight,Jd.lastWrapWidth=Hd.wrapperWidth,hE(kd,400)),Jd.updateLineNumbers=null,!0}function PT(kd,Hd){for(var Jd=Hd.viewport,Qd=!0;;Qd=!1){if(!Qd||!kd.options.lineWrapping||Hd.oldDisplayWidth==Dy(kd)){if(Jd&&Jd.top!=null&&(Jd={top:Math.min(kd.doc.height+Ay(kd.display)-BS(kd),Jd.top)}),Hd.visible=$y(kd.display,kd.doc,Jd),Hd.visible.from>=kd.display.viewFrom&&Hd.visible.to<=kd.display.viewTo)break}else Qd&&(Hd.visible=$y(kd.display,kd.doc,Jd));if(!YS(kd,Hd))break;tS(kd);var mf=Py(kd);H0(kd),h0(kd,mf),XS(kd,mf),Hd.force=!1}Hd.signal(kd,"update",kd),(kd.display.viewFrom!=kd.display.reportedViewFrom||kd.display.viewTo!=kd.display.reportedViewTo)&&(Hd.signal(kd,"viewportChange",kd,kd.display.viewFrom,kd.display.viewTo),kd.display.reportedViewFrom=kd.display.viewFrom,kd.display.reportedViewTo=kd.display.viewTo)}function t0(kd,Hd){var Jd=new m0(kd,Hd);if(YS(kd,Jd)){tS(kd),PT(kd,Jd);var Qd=Py(kd);H0(kd),h0(kd,Qd),XS(kd,Qd),Jd.finish()}}function Ux(kd,Hd,Jd){var Qd=kd.display,mf=kd.options.lineNumbers,wf=Qd.lineDiv,Gf=wf.firstChild;function Qf(jm){var Wm=jm.nextSibling;return vd&&qd&&kd.display.currentWheelTarget==jm?jm.style.display="none":jm.parentNode.removeChild(jm),Wm}for(var dh=Qd.view,yh=Qd.viewFrom,Wh=0;Wh<dh.length;Wh++){var um=dh[Wh];if(!um.hidden)if(!um.node||um.node.parentNode!=wf){var Dm=Tg(kd,um,yh,Jd);wf.insertBefore(Dm,Gf)}else{for(;Gf!=um.node;)Gf=Qf(Gf);var Sm=mf&&Hd!=null&&Hd<=yh&&um.lineNumber;um.changes&&(Th(um.changes,"gutter")>-1&&(Sm=!1),If(kd,um,yh,Jd)),Sm&&(_f(um.lineNumber),um.lineNumber.appendChild(document.createTextNode(Jm(kd.options,yh)))),Gf=um.node.nextSibling}yh+=um.size}for(;Gf;)Gf=Qf(Gf)}function KS(kd){var Hd=kd.gutters.offsetWidth;kd.sizer.style.marginLeft=Hd+"px",Kd(kd,"gutterChanged",kd)}function XS(kd,Hd){kd.display.sizer.style.minHeight=Hd.docHeight+"px",kd.display.heightForcer.style.top=Hd.docHeight+"px",kd.display.gutters.style.height=Hd.docHeight+kd.display.barHeight+p0(kd)+"px"}function LT(kd){var Hd=kd.display,Jd=Hd.view;if(!(!Hd.alignWidgets&&(!Hd.gutters.firstChild||!kd.options.fixedGutter))){for(var Qd=f_(Hd)-Hd.scroller.scrollLeft+kd.doc.scrollLeft,mf=Hd.gutters.offsetWidth,wf=Qd+"px",Gf=0;Gf<Jd.length;Gf++)if(!Jd[Gf].hidden){kd.options.fixedGutter&&(Jd[Gf].gutter&&(Jd[Gf].gutter.style.left=wf),Jd[Gf].gutterBackground&&(Jd[Gf].gutterBackground.style.left=wf));var Qf=Jd[Gf].alignable;if(Qf)for(var dh=0;dh<Qf.length;dh++)Qf[dh].style.left=wf}kd.options.fixedGutter&&(Hd.gutters.style.left=Qd+mf+"px")}}function BT(kd){if(!kd.options.lineNumbers)return!1;var Hd=kd.doc,Jd=Jm(kd.options,Hd.first+Hd.size-1),Qd=kd.display;if(Jd.length!=Qd.lineNumChars){var mf=Qd.measure.appendChild(vf("div",[vf("div",Jd)],"CodeMirror-linenumber CodeMirror-gutter-elt")),wf=mf.firstChild.offsetWidth,Gf=mf.offsetWidth-wf;return Qd.lineGutter.style.width="",Qd.lineNumInnerWidth=Math.max(wf,Qd.lineGutter.offsetWidth-Gf)+1,Qd.lineNumWidth=Qd.lineNumInnerWidth+Gf,Qd.lineNumChars=Qd.lineNumInnerWidth?Jd.length:-1,Qd.lineGutter.style.width=Qd.lineNumWidth+"px",KS(kd.display),!0}return!1}function r0(kd,Hd){for(var Jd=[],Qd=!1,mf=0;mf<kd.length;mf++){var wf=kd[mf],Gf=null;if(typeof wf!="string"&&(Gf=wf.style,wf=wf.className),wf=="CodeMirror-linenumbers")if(Hd)Qd=!0;else continue;Jd.push({className:wf,style:Gf})}return Hd&&!Qd&&Jd.push({className:"CodeMirror-linenumbers",style:null}),Jd}function FT(kd){var Hd=kd.gutters,Jd=kd.gutterSpecs;_f(Hd),kd.lineGutter=null;for(var Qd=0;Qd<Jd.length;++Qd){var mf=Jd[Qd],wf=mf.className,Gf=mf.style,Qf=Hd.appendChild(vf("div",null,"CodeMirror-gutter "+wf));Gf&&(Qf.style.cssText=Gf),wf=="CodeMirror-linenumbers"&&(kd.lineGutter=Qf,Qf.style.width=(kd.lineNumWidth||1)+"px")}Hd.style.display=Jd.length?"":"none",KS(kd)}function mE(kd){FT(kd.display),Eb(kd),LT(kd)}function Hx(kd,Hd,Jd,Qd){var mf=this;this.input=Jd,mf.scrollbarFiller=vf("div",null,"CodeMirror-scrollbar-filler"),mf.scrollbarFiller.setAttribute("cm-not-content","true"),mf.gutterFiller=vf("div",null,"CodeMirror-gutter-filler"),mf.gutterFiller.setAttribute("cm-not-content","true"),mf.lineDiv=Af("div",null,"CodeMirror-code"),mf.selectionDiv=vf("div",null,null,"position: relative; z-index: 1"),mf.cursorDiv=vf("div",null,"CodeMirror-cursors"),mf.measure=vf("div",null,"CodeMirror-measure"),mf.lineMeasure=vf("div",null,"CodeMirror-measure"),mf.lineSpace=Af("div",[mf.measure,mf.lineMeasure,mf.selectionDiv,mf.cursorDiv,mf.lineDiv],null,"position: relative; outline: none");var wf=Af("div",[mf.lineSpace],"CodeMirror-lines");mf.mover=vf("div",[wf],null,"position: relative"),mf.sizer=vf("div",[mf.mover],"CodeMirror-sizer"),mf.sizerWidth=null,mf.heightForcer=vf("div",null,null,"position: absolute; height: "+sh+"px; width: 1px;"),mf.gutters=vf("div",null,"CodeMirror-gutters"),mf.lineGutter=null,mf.scroller=vf("div",[mf.sizer,mf.heightForcer,mf.gutters],"CodeMirror-scroll"),mf.scroller.setAttribute("tabIndex","-1"),mf.wrapper=vf("div",[mf.scrollbarFiller,mf.gutterFiller,mf.scroller],"CodeMirror"),Nd&&Id>=105&&(mf.wrapper.style.clipPath="inset(0px)"),mf.wrapper.setAttribute("translate","no"),fd&&md<8&&(mf.gutters.style.zIndex=-1,mf.scroller.style.paddingRight=0),!vd&&!(ld&&Gd)&&(mf.scroller.draggable=!0),kd&&(kd.appendChild?kd.appendChild(mf.wrapper):kd(mf.wrapper)),mf.viewFrom=mf.viewTo=Hd.first,mf.reportedViewFrom=mf.reportedViewTo=Hd.first,mf.view=[],mf.renderedView=null,mf.externalMeasured=null,mf.viewOffset=0,mf.lastWrapHeight=mf.lastWrapWidth=0,mf.updateLineNumbers=null,mf.nativeBarWidth=mf.barHeight=mf.barWidth=0,mf.scrollbarsClipped=!1,mf.lineNumWidth=mf.lineNumInnerWidth=mf.lineNumChars=null,mf.alignWidgets=!1,mf.cachedCharWidth=mf.cachedTextHeight=mf.cachedPaddingH=null,mf.maxLine=null,mf.maxLineLength=0,mf.maxLineChanged=!1,mf.wheelDX=mf.wheelDY=mf.wheelStartX=mf.wheelStartY=null,mf.shift=!1,mf.selForContextMenu=null,mf.activeTouch=null,mf.gutterSpecs=r0(Qd.gutters,Qd.lineNumbers),FT(mf),Jd.init(mf)}var sS=0,I0=null;fd?I0=-.53:ld?I0=15:Nd?I0=-.7:Md&&(I0=-1/3);function q0(kd){var Hd=kd.wheelDeltaX,Jd=kd.wheelDeltaY;return Hd==null&&kd.detail&&kd.axis==kd.HORIZONTAL_AXIS&&(Hd=kd.detail),Jd==null&&kd.detail&&kd.axis==kd.VERTICAL_AXIS?Jd=kd.detail:Jd==null&&(Jd=kd.wheelDelta),{x:Hd,y:Jd}}function Gx(kd){var Hd=q0(kd);return Hd.x*=I0,Hd.y*=I0,Hd}function jT(kd,Hd){Nd&&Id==102&&(kd.display.chromeScrollHack==null?kd.display.sizer.style.pointerEvents="none":clearTimeout(kd.display.chromeScrollHack),kd.display.chromeScrollHack=setTimeout(function(){kd.display.chromeScrollHack=null,kd.display.sizer.style.pointerEvents=""},100));var Jd=q0(Hd),Qd=Jd.x,mf=Jd.y,wf=I0;Hd.deltaMode===0&&(Qd=Hd.deltaX,mf=Hd.deltaY,wf=1);var Gf=kd.display,Qf=Gf.scroller,dh=Qf.scrollWidth>Qf.clientWidth,yh=Qf.scrollHeight>Qf.clientHeight;if(Qd&&dh||mf&&yh){if(mf&&qd&&vd){e:for(var Wh=Hd.target,um=Gf.view;Wh!=Qf;Wh=Wh.parentNode)for(var Dm=0;Dm<um.length;Dm++)if(um[Dm].node==Wh){kd.display.currentWheelTarget=Wh;break e}}if(Qd&&!ld&&!Od&&wf!=null){mf&&yh&&dE(kd,Math.max(0,Qf.scrollTop+mf*wf)),e0(kd,Math.max(0,Qf.scrollLeft+Qd*wf)),(!mf||mf&&yh)&&Ng(Hd),Gf.wheelStartX=null;return}if(mf&&wf!=null){var Sm=mf*wf,jm=kd.doc.scrollTop,Wm=jm+Gf.wrapper.clientHeight;Sm<0?jm=Math.max(0,jm+Sm-50):Wm=Math.min(kd.doc.height,Wm+Sm+50),t0(kd,{top:jm,bottom:Wm})}sS<20&&Hd.deltaMode!==0&&(Gf.wheelStartX==null?(Gf.wheelStartX=Qf.scrollLeft,Gf.wheelStartY=Qf.scrollTop,Gf.wheelDX=Qd,Gf.wheelDY=mf,setTimeout(function(){if(Gf.wheelStartX!=null){var eg=Qf.scrollLeft-Gf.wheelStartX,dg=Qf.scrollTop-Gf.wheelStartY,yg=dg&&Gf.wheelDY&&dg/Gf.wheelDY||eg&&Gf.wheelDX&&eg/Gf.wheelDX;Gf.wheelStartX=Gf.wheelStartY=null,yg&&(I0=(I0*sS+yg)/(sS+1),++sS)}},200)):(Gf.wheelDX+=Qd,Gf.wheelDY+=mf))}}var R_=function(kd,Hd){this.ranges=kd,this.primIndex=Hd};R_.prototype.primary=function(){return this.ranges[this.primIndex]},R_.prototype.equals=function(kd){if(kd==this)return!0;if(kd.primIndex!=this.primIndex||kd.ranges.length!=this.ranges.length)return!1;for(var Hd=0;Hd<this.ranges.length;Hd++){var Jd=this.ranges[Hd],Qd=kd.ranges[Hd];if(!zg(Jd.anchor,Qd.anchor)||!zg(Jd.head,Qd.head))return!1}return!0},R_.prototype.deepCopy=function(){for(var kd=[],Hd=0;Hd<this.ranges.length;Hd++)kd[Hd]=new d_(S_(this.ranges[Hd].anchor),S_(this.ranges[Hd].head));return new R_(kd,this.primIndex)},R_.prototype.somethingSelected=function(){for(var kd=0;kd<this.ranges.length;kd++)if(!this.ranges[kd].empty())return!0;return!1},R_.prototype.contains=function(kd,Hd){Hd||(Hd=kd);for(var Jd=0;Jd<this.ranges.length;Jd++){var Qd=this.ranges[Jd];if(og(Hd,Qd.from())>=0&&og(kd,Qd.to())<=0)return Jd}return-1};var d_=function(kd,Hd){this.anchor=kd,this.head=Hd};d_.prototype.from=function(){return fb(this.anchor,this.head)},d_.prototype.to=function(){return M_(this.anchor,this.head)},d_.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function n0(kd,Hd,Jd){var Qd=kd&&kd.options.selectionsMayTouch,mf=Hd[Jd];Hd.sort(function(Dm,Sm){return og(Dm.from(),Sm.from())}),Jd=Th(Hd,mf);for(var wf=1;wf<Hd.length;wf++){var Gf=Hd[wf],Qf=Hd[wf-1],dh=og(Qf.to(),Gf.from());if(Qd&&!Gf.empty()?dh>0:dh>=0){var yh=fb(Qf.from(),Gf.from()),Wh=M_(Qf.to(),Gf.to()),um=Qf.empty()?Gf.from()==Gf.head:Qf.from()==Qf.head;wf<=Jd&&--Jd,Hd.splice(--wf,2,new d_(um?Wh:yh,um?yh:Wh))}}return new R_(Hd,Jd)}function V0(kd,Hd){return new R_([new d_(kd,Hd||kd)],0)}function z0(kd){return kd.text?Om(kd.from.line+kd.text.length-1,wh(kd.text).length+(kd.text.length==1?kd.from.ch:0)):kd.to}function UT(kd,Hd){if(og(kd,Hd.from)<0)return kd;if(og(kd,Hd.to)<=0)return z0(Hd);var Jd=kd.line+Hd.text.length-(Hd.to.line-Hd.from.line)-1,Qd=kd.ch;return kd.line==Hd.to.line&&(Qd+=z0(Hd).ch-Hd.to.ch),Om(Jd,Qd)}function oS(kd,Hd){for(var Jd=[],Qd=0;Qd<kd.sel.ranges.length;Qd++){var mf=kd.sel.ranges[Qd];Jd.push(new d_(UT(mf.anchor,Hd),UT(mf.head,Hd)))}return n0(kd.cm,Jd,kd.sel.primIndex)}function QS(kd,Hd,Jd){return kd.line==Hd.line?Om(Jd.line,kd.ch-Hd.ch+Jd.ch):Om(Jd.line+(kd.line-Hd.line),kd.ch)}function qx(kd,Hd,Jd){for(var Qd=[],mf=Om(kd.first,0),wf=mf,Gf=0;Gf<Hd.length;Gf++){var Qf=Hd[Gf],dh=QS(Qf.from,mf,wf),yh=QS(z0(Qf),mf,wf);if(mf=Qf.to,wf=yh,Jd=="around"){var Wh=kd.sel.ranges[Gf],um=og(Wh.head,Wh.anchor)<0;Qd[Gf]=new d_(um?yh:dh,um?dh:yh)}else Qd[Gf]=new d_(dh,dh)}return new R_(Qd,kd.sel.primIndex)}function JS(kd){kd.doc.mode=Gm(kd.options,kd.doc.modeOption),Wy(kd)}function Wy(kd){kd.doc.iter(function(Hd){Hd.stateAfter&&(Hd.stateAfter=null),Hd.styles&&(Hd.styles=null)}),kd.doc.modeFrontier=kd.doc.highlightFrontier=kd.doc.first,hE(kd,100),kd.state.modeGen++,kd.curOp&&Eb(kd)}function wv(kd,Hd){return Hd.from.ch==0&&Hd.to.ch==0&&wh(Hd.text)==""&&(!kd.cm||kd.cm.options.wholeLineUpdateBefore)}function Nv(kd,Hd,Jd,Qd){function mf(yg){return Jd?Jd[yg]:null}function wf(yg,lg,xg){VE(yg,lg,xg,Qd),Kd(yg,"change",yg,Hd)}function Gf(yg,lg){for(var xg=[],Og=yg;Og<lg;++Og)xg.push(new Yb(yh[Og],mf(Og),Qd));return xg}var Qf=Hd.from,dh=Hd.to,yh=Hd.text,Wh=tg(kd,Qf.line),um=tg(kd,dh.line),Dm=wh(yh),Sm=mf(yh.length-1),jm=dh.line-Qf.line;if(Hd.full)kd.insert(0,Gf(0,yh.length)),kd.remove(yh.length,kd.size-yh.length);else if(wv(kd,Hd)){var Wm=Gf(0,yh.length-1);wf(um,um.text,Sm),jm&&kd.remove(Qf.line,jm),Wm.length&&kd.insert(Qf.line,Wm)}else if(Wh==um)if(yh.length==1)wf(Wh,Wh.text.slice(0,Qf.ch)+Dm+Wh.text.slice(dh.ch),Sm);else{var eg=Gf(1,yh.length-1);eg.push(new Yb(Dm+Wh.text.slice(dh.ch),Sm,Qd)),wf(Wh,Wh.text.slice(0,Qf.ch)+yh[0],mf(0)),kd.insert(Qf.line+1,eg)}else if(yh.length==1)wf(Wh,Wh.text.slice(0,Qf.ch)+yh[0]+um.text.slice(dh.ch),mf(0)),kd.remove(Qf.line+1,jm);else{wf(Wh,Wh.text.slice(0,Qf.ch)+yh[0],mf(0)),wf(um,Dm+um.text.slice(dh.ch),Sm);var dg=Gf(1,yh.length-1);jm>1&&kd.remove(Qf.line+1,jm-1),kd.insert(Qf.line+1,dg)}Kd(kd,"change",kd,Hd)}function W0(kd,Hd,Jd){function Qd(mf,wf,Gf){if(mf.linked)for(var Qf=0;Qf<mf.linked.length;++Qf){var dh=mf.linked[Qf];if(dh.doc!=wf){var yh=Gf&&dh.sharedHist;Jd&&!yh||(Hd(dh.doc,yh),Qd(dh.doc,mf,yh))}}}Qd(kd,null,!0)}function ZS(kd,Hd){if(Hd.cm)throw new Error("This document is already in use.");kd.doc=Hd,Hd.cm=kd,JE(kd),JS(kd),HT(kd),kd.options.direction=Hd.direction,kd.options.lineWrapping||fv(kd),kd.options.mode=Hd.modeOption,Eb(kd)}function HT(kd){(kd.doc.direction=="rtl"?eh:Ef)(kd.display.lineDiv,"CodeMirror-rtl")}function R0(kd){db(kd,function(){HT(kd),Eb(kd)})}function Ov(kd){this.done=[],this.undone=[],this.undoDepth=kd?kd.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=kd?kd.maxGeneration:1}function O0(kd,Hd){var Jd={from:S_(Hd.from),to:z0(Hd),text:y_(kd,Hd.from,Hd.to)};return tT(kd,Jd,Hd.from.line,Hd.to.line+1),W0(kd,function(Qd){return tT(Qd,Jd,Hd.from.line,Hd.to.line+1)},!0),Jd}function Nb(kd){for(;kd.length;){var Hd=wh(kd);if(Hd.ranges)kd.pop();else break}}function Vx(kd,Hd){if(Hd)return Nb(kd.done),wh(kd.done);if(kd.done.length&&!wh(kd.done).ranges)return wh(kd.done);if(kd.done.length>1&&!kd.done[kd.done.length-2].ranges)return kd.done.pop(),wh(kd.done)}function eT(kd,Hd,Jd,Qd){var mf=kd.history;mf.undone.length=0;var wf=+new Date,Gf,Qf;if((mf.lastOp==Qd||mf.lastOrigin==Hd.origin&&Hd.origin&&(Hd.origin.charAt(0)=="+"&&mf.lastModTime>wf-(kd.cm?kd.cm.options.historyEventDelay:500)||Hd.origin.charAt(0)=="*"))&&(Gf=Vx(mf,mf.lastOp==Qd)))Qf=wh(Gf.changes),og(Hd.from,Hd.to)==0&&og(Hd.from,Qf.to)==0?Qf.to=z0(Hd):Gf.changes.push(O0(kd,Hd));else{var dh=wh(mf.done);for((!dh||!dh.ranges)&&i0(kd.sel,mf.done),Gf={changes:[O0(kd,Hd)],generation:mf.generation},mf.done.push(Gf);mf.done.length>mf.undoDepth;)mf.done.shift(),mf.done[0].ranges||mf.done.shift()}mf.done.push(Jd),mf.generation=++mf.maxGeneration,mf.lastModTime=mf.lastSelTime=wf,mf.lastOp=mf.lastSelOp=Qd,mf.lastOrigin=mf.lastSelOrigin=Hd.origin,Qf||Eg(kd,"historyAdded")}function GT(kd,Hd,Jd,Qd){var mf=Hd.charAt(0);return mf=="*"||mf=="+"&&Jd.ranges.length==Qd.ranges.length&&Jd.somethingSelected()==Qd.somethingSelected()&&new Date-kd.history.lastSelTime<=(kd.cm?kd.cm.options.historyEventDelay:500)}function gE(kd,Hd,Jd,Qd){var mf=kd.history,wf=Qd&&Qd.origin;Jd==mf.lastSelOp||wf&&mf.lastSelOrigin==wf&&(mf.lastModTime==mf.lastSelTime&&mf.lastOrigin==wf||GT(kd,wf,wh(mf.done),Hd))?mf.done[mf.done.length-1]=Hd:i0(Hd,mf.done),mf.lastSelTime=+new Date,mf.lastSelOrigin=wf,mf.lastSelOp=Jd,Qd&&Qd.clearRedo!==!1&&Nb(mf.undone)}function i0(kd,Hd){var Jd=wh(Hd);Jd&&Jd.ranges&&Jd.equals(kd)||Hd.push(kd)}function tT(kd,Hd,Jd,Qd){var mf=Hd["spans_"+kd.id],wf=0;kd.iter(Math.max(kd.first,Jd),Math.min(kd.first+kd.size,Qd),function(Gf){Gf.markedSpans&&((mf||(mf=Hd["spans_"+kd.id]={}))[wf]=Gf.markedSpans),++wf})}function zx(kd){if(!kd)return null;for(var Hd,Jd=0;Jd<kd.length;++Jd)kd[Jd].marker.explicitlyCleared?Hd||(Hd=kd.slice(0,Jd)):Hd&&Hd.push(kd[Jd]);return Hd?Hd.length?Hd:null:kd}function lS(kd,Hd){var Jd=Hd["spans_"+kd.id];if(!Jd)return null;for(var Qd=[],mf=0;mf<Hd.text.length;++mf)Qd.push(zx(Jd[mf]));return Qd}function qT(kd,Hd){var Jd=lS(kd,Hd),Qd=tE(kd,Hd);if(!Jd)return Qd;if(!Qd)return Jd;for(var mf=0;mf<Jd.length;++mf){var wf=Jd[mf],Gf=Qd[mf];if(wf&&Gf)e:for(var Qf=0;Qf<Gf.length;++Qf){for(var dh=Gf[Qf],yh=0;yh<wf.length;++yh)if(wf[yh].marker==dh.marker)continue e;wf.push(dh)}else Gf&&(Jd[mf]=Gf)}return Jd}function Qy(kd,Hd,Jd){for(var Qd=[],mf=0;mf<kd.length;++mf){var wf=kd[mf];if(wf.ranges){Qd.push(Jd?R_.prototype.deepCopy.call(wf):wf);continue}var Gf=wf.changes,Qf=[];Qd.push({changes:Qf});for(var dh=0;dh<Gf.length;++dh){var yh=Gf[dh],Wh=void 0;if(Qf.push({from:yh.from,to:yh.to,text:yh.text}),Hd)for(var um in yh)(Wh=um.match(/^spans_(\d+)$/))&&Th(Hd,Number(Wh[1]))>-1&&(wh(Qf)[um]=yh[um],delete yh[um])}}return Qd}function Z_(kd,Hd,Jd,Qd){if(Qd){var mf=kd.anchor;if(Jd){var wf=og(Hd,mf)<0;wf!=og(Jd,mf)<0?(mf=Hd,Hd=Jd):wf!=og(Hd,Jd)<0&&(Hd=Jd)}return new d_(mf,Hd)}else return new d_(Jd||Hd,Hd)}function kv(kd,Hd,Jd,Qd,mf){mf==null&&(mf=kd.cm&&(kd.cm.display.shift||kd.extend)),sb(kd,new R_([Z_(kd.sel.primary(),Hd,Jd,mf)],0),Qd)}function rT(kd,Hd,Jd){for(var Qd=[],mf=kd.cm&&(kd.cm.display.shift||kd.extend),wf=0;wf<kd.sel.ranges.length;wf++)Qd[wf]=Z_(kd.sel.ranges[wf],Hd[wf],null,mf);var Gf=n0(kd.cm,Qd,kd.sel.primIndex);sb(kd,Gf,Jd)}function Hb(kd,Hd,Jd,Qd){var mf=kd.sel.ranges.slice(0);mf[Hd]=Jd,sb(kd,n0(kd.cm,mf,kd.sel.primIndex),Qd)}function cS(kd,Hd,Jd,Qd){sb(kd,V0(Hd,Jd),Qd)}function uS(kd,Hd,Jd){var Qd={ranges:Hd.ranges,update:function(mf){this.ranges=[];for(var wf=0;wf<mf.length;wf++)this.ranges[wf]=new d_(Pg(kd,mf[wf].anchor),Pg(kd,mf[wf].head))},origin:Jd&&Jd.origin};return Eg(kd,"beforeSelectionChange",kd,Qd),kd.cm&&Eg(kd.cm,"beforeSelectionChange",kd.cm,Qd),Qd.ranges!=Hd.ranges?n0(kd.cm,Qd.ranges,Qd.ranges.length-1):Hd}function Y0(kd,Hd,Jd){var Qd=kd.history.done,mf=wh(Qd);mf&&mf.ranges?(Qd[Qd.length-1]=Hd,ob(kd,Hd,Jd)):sb(kd,Hd,Jd)}function sb(kd,Hd,Jd){ob(kd,Hd,Jd),gE(kd,kd.sel,kd.cm?kd.cm.curOp.id:NaN,Jd)}function ob(kd,Hd,Jd){(Fg(kd,"beforeSelectionChange")||kd.cm&&Fg(kd.cm,"beforeSelectionChange"))&&(Hd=uS(kd,Hd,Jd));var Qd=Jd&&Jd.bias||(og(Hd.primary().head,kd.sel.primary().head)<0?-1:1);dS(kd,zT(kd,Hd,Qd,!0)),!(Jd&&Jd.scroll===!1)&&kd.cm&&kd.cm.getOption("readOnly")!="nocursor"&&D_(kd.cm)}function dS(kd,Hd){Hd.equals(kd.sel)||(kd.sel=Hd,kd.cm&&(kd.cm.curOp.updateInput=1,kd.cm.curOp.selectionChanged=!0,n_(kd.cm)),Kd(kd,"cursorActivity",kd))}function VT(kd){dS(kd,zT(kd,kd.sel,null,!1))}function zT(kd,Hd,Jd,Qd){for(var mf,wf=0;wf<Hd.ranges.length;wf++){var Gf=Hd.ranges[wf],Qf=Hd.ranges.length==kd.sel.ranges.length&&kd.sel.ranges[wf],dh=Lv(kd,Gf.anchor,Qf&&Qf.anchor,Jd,Qd),yh=Gf.head==Gf.anchor?dh:Lv(kd,Gf.head,Qf&&Qf.head,Jd,Qd);(mf||dh!=Gf.anchor||yh!=Gf.head)&&(mf||(mf=Hd.ranges.slice(0,wf)),mf[wf]=new d_(dh,yh))}return mf?n0(kd.cm,mf,Hd.primIndex):Hd}function Mv(kd,Hd,Jd,Qd,mf){var wf=tg(kd,Hd.line);if(wf.markedSpans)for(var Gf=0;Gf<wf.markedSpans.length;++Gf){var Qf=wf.markedSpans[Gf],dh=Qf.marker,yh="selectLeft"in dh?!dh.selectLeft:dh.inclusiveLeft,Wh="selectRight"in dh?!dh.selectRight:dh.inclusiveRight;if((Qf.from==null||(yh?Qf.from<=Hd.ch:Qf.from<Hd.ch))&&(Qf.to==null||(Wh?Qf.to>=Hd.ch:Qf.to>Hd.ch))){if(mf&&(Eg(dh,"beforeCursorEnter"),dh.explicitlyCleared))if(wf.markedSpans){--Gf;continue}else break;if(!dh.atomic)continue;if(Jd){var um=dh.find(Qd<0?1:-1),Dm=void 0;if((Qd<0?Wh:yh)&&(um=WT(kd,um,-Qd,um&&um.line==Hd.line?wf:null)),um&&um.line==Hd.line&&(Dm=og(um,Jd))&&(Qd<0?Dm<0:Dm>0))return Mv(kd,um,Hd,Qd,mf)}var Sm=dh.find(Qd<0?-1:1);return(Qd<0?yh:Wh)&&(Sm=WT(kd,Sm,Qd,Sm.line==Hd.line?wf:null)),Sm?Mv(kd,Sm,Hd,Qd,mf):null}}return Hd}function Lv(kd,Hd,Jd,Qd,mf){var wf=Qd||1,Gf=Mv(kd,Hd,Jd,wf,mf)||!mf&&Mv(kd,Hd,Jd,wf,!0)||Mv(kd,Hd,Jd,-wf,mf)||!mf&&Mv(kd,Hd,Jd,-wf,!0);return Gf||(kd.cantEdit=!0,Om(kd.first,0))}function WT(kd,Hd,Jd,Qd){return Jd<0&&Hd.ch==0?Hd.line>kd.first?Pg(kd,Om(Hd.line-1)):null:Jd>0&&Hd.ch==(Qd||tg(kd,Hd.line)).text.length?Hd.line<kd.first+kd.size-1?Om(Hd.line+1,0):null:new Om(Hd.line,Hd.ch+Jd)}function Fv(kd){kd.setSelection(Om(kd.firstLine(),0),Om(kd.lastLine()),ph)}function nT(kd,Hd,Jd){var Qd={canceled:!1,from:Hd.from,to:Hd.to,text:Hd.text,origin:Hd.origin,cancel:function(){return Qd.canceled=!0}};return Jd&&(Qd.update=function(mf,wf,Gf,Qf){mf&&(Qd.from=Pg(kd,mf)),wf&&(Qd.to=Pg(kd,wf)),Gf&&(Qd.text=Gf),Qf!==void 0&&(Qd.origin=Qf)}),Eg(kd,"beforeChange",kd,Qd),kd.cm&&Eg(kd.cm,"beforeChange",kd.cm,Qd),Qd.canceled?(kd.cm&&(kd.cm.curOp.updateInput=2),null):{from:Qd.from,to:Qd.to,text:Qd.text,origin:Qd.origin}}function jv(kd,Hd,Jd){if(kd.cm){if(!kd.cm.curOp)return m_(kd.cm,jv)(kd,Hd,Jd);if(kd.cm.state.suppressEdits)return}if(!((Fg(kd,"beforeChange")||kd.cm&&Fg(kd.cm,"beforeChange"))&&(Hd=nT(kd,Hd,!0),!Hd))){var Qd=x0&&!Jd&&UE(kd,Hd.from,Hd.to);if(Qd)for(var mf=Qd.length-1;mf>=0;--mf)YT(kd,{from:Qd[mf].from,to:Qd[mf].to,text:mf?[""]:Hd.text,origin:Hd.origin});else YT(kd,Hd)}}function YT(kd,Hd){if(!(Hd.text.length==1&&Hd.text[0]==""&&og(Hd.from,Hd.to)==0)){var Jd=oS(kd,Hd);eT(kd,Hd,Jd,kd.cm?kd.cm.curOp.id:NaN),yE(kd,Hd,Jd,tE(kd,Hd));var Qd=[];W0(kd,function(mf,wf){!wf&&Th(Qd,mf.history)==-1&&(JT(mf.history,Hd),Qd.push(mf.history)),yE(mf,Hd,null,tE(mf,Hd))})}}function K0(kd,Hd,Jd){var Qd=kd.cm&&kd.cm.state.suppressEdits;if(!(Qd&&!Jd)){for(var mf=kd.history,wf,Gf=kd.sel,Qf=Hd=="undo"?mf.done:mf.undone,dh=Hd=="undo"?mf.undone:mf.done,yh=0;yh<Qf.length&&(wf=Qf[yh],!(Jd?wf.ranges&&!wf.equals(kd.sel):!wf.ranges));yh++);if(yh!=Qf.length){for(mf.lastOrigin=mf.lastSelOrigin=null;;)if(wf=Qf.pop(),wf.ranges){if(i0(wf,dh),Jd&&!wf.equals(kd.sel)){sb(kd,wf,{clearRedo:!1});return}Gf=wf}else if(Qd){Qf.push(wf);return}else break;var Wh=[];i0(Gf,dh),dh.push({changes:Wh,generation:mf.generation}),mf.generation=wf.generation||++mf.maxGeneration;for(var um=Fg(kd,"beforeChange")||kd.cm&&Fg(kd.cm,"beforeChange"),Dm=function(Wm){var eg=wf.changes[Wm];if(eg.origin=Hd,um&&!nT(kd,eg,!1))return Qf.length=0,{};Wh.push(O0(kd,eg));var dg=Wm?oS(kd,eg):wh(Qf);yE(kd,eg,dg,qT(kd,eg)),!Wm&&kd.cm&&kd.cm.scrollIntoView({from:eg.from,to:z0(eg)});var yg=[];W0(kd,function(lg,xg){!xg&&Th(yg,lg.history)==-1&&(JT(lg.history,eg),yg.push(lg.history)),yE(lg,eg,null,qT(lg,eg))})},Sm=wf.changes.length-1;Sm>=0;--Sm){var jm=Dm(Sm);if(jm)return jm.v}}}}function KT(kd,Hd){if(Hd!=0&&(kd.first+=Hd,kd.sel=new R_(Ah(kd.sel.ranges,function(mf){return new d_(Om(mf.anchor.line+Hd,mf.anchor.ch),Om(mf.head.line+Hd,mf.head.ch))}),kd.sel.primIndex),kd.cm)){Eb(kd.cm,kd.first,kd.first-Hd,Hd);for(var Jd=kd.cm.display,Qd=Jd.viewFrom;Qd<Jd.viewTo;Qd++)U0(kd.cm,Qd,"gutter")}}function yE(kd,Hd,Jd,Qd){if(kd.cm&&!kd.cm.curOp)return m_(kd.cm,yE)(kd,Hd,Jd,Qd);if(Hd.to.line<kd.first){KT(kd,Hd.text.length-1-(Hd.to.line-Hd.from.line));return}if(!(Hd.from.line>kd.lastLine())){if(Hd.from.line<kd.first){var mf=Hd.text.length-1-(kd.first-Hd.from.line);KT(kd,mf),Hd={from:Om(kd.first,0),to:Om(Hd.to.line+mf,Hd.to.ch),text:[wh(Hd.text)],origin:Hd.origin}}var wf=kd.lastLine();Hd.to.line>wf&&(Hd={from:Hd.from,to:Om(wf,tg(kd,wf).text.length),text:[Hd.text[0]],origin:Hd.origin}),Hd.removed=y_(kd,Hd.from,Hd.to),Jd||(Jd=oS(kd,Hd)),kd.cm?iT(kd.cm,Hd,Qd):Nv(kd,Hd,Qd),ob(kd,Jd,ph),kd.cantEdit&&Lv(kd,Om(kd.firstLine(),0))&&(kd.cantEdit=!1)}}function iT(kd,Hd,Jd){var Qd=kd.doc,mf=kd.display,wf=Hd.from,Gf=Hd.to,Qf=!1,dh=wf.line;kd.options.lineWrapping||(dh=_h(h_(tg(Qd,wf.line))),Qd.iter(dh,Gf.line+1,function(Sm){if(Sm==mf.maxLine)return Qf=!0,!0})),Qd.sel.contains(Hd.from,Hd.to)>-1&&n_(kd),Nv(Qd,Hd,Jd,RT(kd)),kd.options.lineWrapping||(Qd.iter(dh,wf.line+Hd.text.length,function(Sm){var jm=F0(Sm);jm>mf.maxLineLength&&(mf.maxLine=Sm,mf.maxLineLength=jm,mf.maxLineChanged=!0,Qf=!1)}),Qf&&(kd.curOp.updateMaxLine=!0)),dv(Qd,wf.line),hE(kd,400);var yh=Hd.text.length-(Gf.line-wf.line)-1;Hd.full?Eb(kd):wf.line==Gf.line&&Hd.text.length==1&&!wv(kd.doc,Hd)?U0(kd,wf.line,"text"):Eb(kd,wf.line,Gf.line+1,yh);var Wh=Fg(kd,"changes"),um=Fg(kd,"change");if(um||Wh){var Dm={from:wf,to:Gf,text:Hd.text,removed:Hd.removed,origin:Hd.origin};um&&Kd(kd,"change",kd,Dm),Wh&&(kd.curOp.changeObjs||(kd.curOp.changeObjs=[])).push(Dm)}kd.display.selForContextMenu=null}function Jy(kd,Hd,Jd,Qd,mf){var wf;Qd||(Qd=Jd),og(Qd,Jd)<0&&(wf=[Qd,Jd],Jd=wf[0],Qd=wf[1]),typeof Hd=="string"&&(Hd=kd.splitLines(Hd)),jv(kd,{from:Jd,to:Qd,text:Hd,origin:mf})}function XT(kd,Hd,Jd,Qd){Jd<kd.line?kd.line+=Qd:Hd<kd.line&&(kd.line=Hd,kd.ch=0)}function QT(kd,Hd,Jd,Qd){for(var mf=0;mf<kd.length;++mf){var wf=kd[mf],Gf=!0;if(wf.ranges){wf.copied||(wf=kd[mf]=wf.deepCopy(),wf.copied=!0);for(var Qf=0;Qf<wf.ranges.length;Qf++)XT(wf.ranges[Qf].anchor,Hd,Jd,Qd),XT(wf.ranges[Qf].head,Hd,Jd,Qd);continue}for(var dh=0;dh<wf.changes.length;++dh){var yh=wf.changes[dh];if(Jd<yh.from.line)yh.from=Om(yh.from.line+Qd,yh.from.ch),yh.to=Om(yh.to.line+Qd,yh.to.ch);else if(Hd<=yh.to.line){Gf=!1;break}}Gf||(kd.splice(0,mf+1),mf=0)}}function JT(kd,Hd){var Jd=Hd.from.line,Qd=Hd.to.line,mf=Hd.text.length-(Qd-Jd)-1;QT(kd.done,Jd,Qd,mf),QT(kd.undone,Jd,Qd,mf)}function Uv(kd,Hd,Jd,Qd){var mf=Hd,wf=Hd;return typeof Hd=="number"?wf=tg(kd,Mb(kd,Hd)):mf=_h(Hd),mf==null?null:(Qd(wf,mf)&&kd.cm&&U0(kd.cm,mf,Jd),wf)}function Zy(kd){this.lines=kd,this.parent=null;for(var Hd=0,Jd=0;Jd<kd.length;++Jd)kd[Jd].parent=this,Hd+=kd[Jd].height;this.height=Hd}Zy.prototype={chunkSize:function(){return this.lines.length},removeInner:function(kd,Hd){for(var Jd=kd,Qd=kd+Hd;Jd<Qd;++Jd){var mf=this.lines[Jd];this.height-=mf.height,vb(mf),Kd(mf,"delete")}this.lines.splice(kd,Hd)},collapse:function(kd){kd.push.apply(kd,this.lines)},insertInner:function(kd,Hd,Jd){this.height+=Jd,this.lines=this.lines.slice(0,kd).concat(Hd).concat(this.lines.slice(kd));for(var Qd=0;Qd<Hd.length;++Qd)Hd[Qd].parent=this},iterN:function(kd,Hd,Jd){for(var Qd=kd+Hd;kd<Qd;++kd)if(Jd(this.lines[kd]))return!0}};function vE(kd){this.children=kd;for(var Hd=0,Jd=0,Qd=0;Qd<kd.length;++Qd){var mf=kd[Qd];Hd+=mf.chunkSize(),Jd+=mf.height,mf.parent=this}this.size=Hd,this.height=Jd,this.parent=null}vE.prototype={chunkSize:function(){return this.size},removeInner:function(kd,Hd){this.size-=Hd;for(var Jd=0;Jd<this.children.length;++Jd){var Qd=this.children[Jd],mf=Qd.chunkSize();if(kd<mf){var wf=Math.min(Hd,mf-kd),Gf=Qd.height;if(Qd.removeInner(kd,wf),this.height-=Gf-Qd.height,mf==wf&&(this.children.splice(Jd--,1),Qd.parent=null),(Hd-=wf)==0)break;kd=0}else kd-=mf}if(this.size-Hd<25&&(this.children.length>1||!(this.children[0]instanceof Zy))){var Qf=[];this.collapse(Qf),this.children=[new Zy(Qf)],this.children[0].parent=this}},collapse:function(kd){for(var Hd=0;Hd<this.children.length;++Hd)this.children[Hd].collapse(kd)},insertInner:function(kd,Hd,Jd){this.size+=Hd.length,this.height+=Jd;for(var Qd=0;Qd<this.children.length;++Qd){var mf=this.children[Qd],wf=mf.chunkSize();if(kd<=wf){if(mf.insertInner(kd,Hd,Jd),mf.lines&&mf.lines.length>50){for(var Gf=mf.lines.length%25+25,Qf=Gf;Qf<mf.lines.length;){var dh=new Zy(mf.lines.slice(Qf,Qf+=25));mf.height-=dh.height,this.children.splice(++Qd,0,dh),dh.parent=this}mf.lines=mf.lines.slice(0,Gf),this.maybeSpill()}break}kd-=wf}},maybeSpill:function(){if(!(this.children.length<=10)){var kd=this;do{var Hd=kd.children.splice(kd.children.length-5,5),Jd=new vE(Hd);if(kd.parent){kd.size-=Jd.size,kd.height-=Jd.height;var mf=Th(kd.parent.children,kd);kd.parent.children.splice(mf+1,0,Jd)}else{var Qd=new vE(kd.children);Qd.parent=kd,kd.children=[Qd,Jd],kd=Qd}Jd.parent=kd.parent}while(kd.children.length>10);kd.parent.maybeSpill()}},iterN:function(kd,Hd,Jd){for(var Qd=0;Qd<this.children.length;++Qd){var mf=this.children[Qd],wf=mf.chunkSize();if(kd<wf){var Gf=Math.min(Hd,wf-kd);if(mf.iterN(kd,Gf,Jd))return!0;if((Hd-=Gf)==0)break;kd=0}else kd-=wf}}};var ev=function(kd,Hd,Jd){if(Jd)for(var Qd in Jd)Jd.hasOwnProperty(Qd)&&(this[Qd]=Jd[Qd]);this.doc=kd,this.node=Hd};ev.prototype.clear=function(){var kd=this.doc.cm,Hd=this.line.widgets,Jd=this.line,Qd=_h(Jd);if(!(Qd==null||!Hd)){for(var mf=0;mf<Hd.length;++mf)Hd[mf]==this&&Hd.splice(mf--,1);Hd.length||(Jd.widgets=null);var wf=r_(this);Mg(Jd,Math.max(0,Jd.height-wf)),kd&&(db(kd,function(){sT(kd,Jd,-wf),U0(kd,Qd,"widget")}),Kd(kd,"lineWidgetCleared",kd,this,Qd))}},ev.prototype.changed=function(){var kd=this,Hd=this.height,Jd=this.doc.cm,Qd=this.line;this.height=null;var mf=r_(this)-Hd;mf&&($_(this.doc,Qd)||Mg(Qd,Qd.height+mf),Jd&&db(Jd,function(){Jd.curOp.forceUpdate=!0,sT(Jd,Qd,mf),Kd(Jd,"lineWidgetChanged",Jd,kd,_h(Qd))}))},Kg(ev);function sT(kd,Hd,Jd){Bb(Hd)<(kd.curOp&&kd.curOp.scrollTop||kd.doc.scrollTop)&&zS(kd,Jd)}function ZT(kd,Hd,Jd,Qd){var mf=new ev(kd,Jd,Qd),wf=kd.cm;return wf&&mf.noHScroll&&(wf.display.alignWidgets=!0),Uv(kd,Hd,"widget",function(Gf){var Qf=Gf.widgets||(Gf.widgets=[]);if(mf.insertAt==null?Qf.push(mf):Qf.splice(Math.min(Qf.length,Math.max(0,mf.insertAt)),0,mf),mf.line=Gf,wf&&!$_(kd,Gf)){var dh=Bb(Gf)<kd.scrollTop;Mg(Gf,Gf.height+r_(mf)),dh&&zS(wf,mf.height),wf.curOp.forceUpdate=!0}return!0}),wf&&Kd(wf,"lineWidgetAdded",wf,mf,typeof Hd=="number"?Hd:_h(Hd)),mf}var oT=0,a0=function(kd,Hd){this.lines=[],this.type=Hd,this.doc=kd,this.id=++oT};a0.prototype.clear=function(){if(!this.explicitlyCleared){var kd=this.doc.cm,Hd=kd&&!kd.curOp;if(Hd&&By(kd),Fg(this,"clear")){var Jd=this.find();Jd&&Kd(this,"clear",Jd.from,Jd.to)}for(var Qd=null,mf=null,wf=0;wf<this.lines.length;++wf){var Gf=this.lines[wf],Qf=B0(Gf.markedSpans,this);kd&&!this.collapsed?U0(kd,_h(Gf),"text"):kd&&(Qf.to!=null&&(mf=_h(Gf)),Qf.from!=null&&(Qd=_h(Gf))),Gf.markedSpans=BE(Gf.markedSpans,Qf),Qf.from==null&&this.collapsed&&!$_(this.doc,Gf)&&kd&&Mg(Gf,Qb(kd.display))}if(kd&&this.collapsed&&!kd.options.lineWrapping)for(var dh=0;dh<this.lines.length;++dh){var yh=h_(this.lines[dh]),Wh=F0(yh);Wh>kd.display.maxLineLength&&(kd.display.maxLine=yh,kd.display.maxLineLength=Wh,kd.display.maxLineChanged=!0)}Qd!=null&&kd&&this.collapsed&&Eb(kd,Qd,mf+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,kd&&VT(kd.doc)),kd&&Kd(kd,"markerCleared",kd,this,Qd,mf),Hd&&Hy(kd),this.parent&&this.parent.clear()}},a0.prototype.find=function(kd,Hd){kd==null&&this.type=="bookmark"&&(kd=1);for(var Jd,Qd,mf=0;mf<this.lines.length;++mf){var wf=this.lines[mf],Gf=B0(wf.markedSpans,this);if(Gf.from!=null&&(Jd=Om(Hd?wf:_h(wf),Gf.from),kd==-1))return Jd;if(Gf.to!=null&&(Qd=Om(Hd?wf:_h(wf),Gf.to),kd==1))return Qd}return Jd&&{from:Jd,to:Qd}},a0.prototype.changed=function(){var kd=this,Hd=this.find(-1,!0),Jd=this,Qd=this.doc.cm;!Hd||!Qd||db(Qd,function(){var mf=Hd.line,wf=_h(Hd.line),Gf=XE(Qd,wf);if(Gf&&(FS(Gf),Qd.curOp.selectionChanged=Qd.curOp.forceUpdate=!0),Qd.curOp.updateMaxLine=!0,!$_(Jd.doc,mf)&&Jd.height!=null){var Qf=Jd.height;Jd.height=null;var dh=r_(Jd)-Qf;dh&&Mg(mf,mf.height+dh)}Kd(Qd,"markerChanged",Qd,kd)})},a0.prototype.attachLine=function(kd){if(!this.lines.length&&this.doc.cm){var Hd=this.doc.cm.curOp;(!Hd.maybeHiddenMarkers||Th(Hd.maybeHiddenMarkers,this)==-1)&&(Hd.maybeUnhiddenMarkers||(Hd.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(kd)},a0.prototype.detachLine=function(kd){if(this.lines.splice(Th(this.lines,kd),1),!this.lines.length&&this.doc.cm){var Hd=this.doc.cm.curOp;(Hd.maybeHiddenMarkers||(Hd.maybeHiddenMarkers=[])).push(this)}},Kg(a0);function Hv(kd,Hd,Jd,Qd,mf){if(Qd&&Qd.shared)return ex(kd,Hd,Jd,Qd,mf);if(kd.cm&&!kd.cm.curOp)return m_(kd.cm,Hv)(kd,Hd,Jd,Qd,mf);var wf=new a0(kd,mf),Gf=og(Hd,Jd);if(Qd&&Sf(Qd,wf,!1),Gf>0||Gf==0&&wf.clearWhenEmpty!==!1)return wf;if(wf.replacedWith&&(wf.collapsed=!0,wf.widgetNode=Af("span",[wf.replacedWith],"CodeMirror-widget"),Qd.handleMouseEvents||wf.widgetNode.setAttribute("cm-ignore-events","true"),Qd.insertLeft&&(wf.widgetNode.insertLeft=!0)),wf.collapsed){if(nE(kd,Hd.line,Hd,Jd,wf)||Hd.line!=Jd.line&&nE(kd,Jd.line,Hd,Jd,wf))throw new Error("Inserting collapsed marker partially overlapping an existing one");Wb()}wf.addToHistory&&eT(kd,{from:Hd,to:Jd,origin:"markText"},kd.sel,NaN);var Qf=Hd.line,dh=kd.cm,yh;if(kd.iter(Qf,Jd.line+1,function(um){dh&&wf.collapsed&&!dh.options.lineWrapping&&h_(um)==dh.display.maxLine&&(yh=!0),wf.collapsed&&Qf!=Hd.line&&Mg(um,0),eE(um,new C0(wf,Qf==Hd.line?Hd.ch:null,Qf==Jd.line?Jd.ch:null),kd.cm&&kd.cm.curOp),++Qf}),wf.collapsed&&kd.iter(Hd.line,Jd.line+1,function(um){$_(kd,um)&&Mg(um,0)}),wf.clearOnEnter&&Fm(wf,"beforeCursorEnter",function(){return wf.clear()}),wf.readOnly&&(xb(),(kd.history.done.length||kd.history.undone.length)&&kd.clearHistory()),wf.collapsed&&(wf.id=++oT,wf.atomic=!0),dh){if(yh&&(dh.curOp.updateMaxLine=!0),wf.collapsed)Eb(dh,Hd.line,Jd.line+1);else if(wf.className||wf.startStyle||wf.endStyle||wf.css||wf.attributes||wf.title)for(var Wh=Hd.line;Wh<=Jd.line;Wh++)U0(dh,Wh,"text");wf.atomic&&VT(dh.doc),Kd(dh,"markerAdded",dh,wf)}return wf}var Gv=function(kd,Hd){this.markers=kd,this.primary=Hd;for(var Jd=0;Jd<kd.length;++Jd)kd[Jd].parent=this};Gv.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var kd=0;kd<this.markers.length;++kd)this.markers[kd].clear();Kd(this,"clear")}},Gv.prototype.find=function(kd,Hd){return this.primary.find(kd,Hd)},Kg(Gv);function ex(kd,Hd,Jd,Qd,mf){Qd=Sf(Qd),Qd.shared=!1;var wf=[Hv(kd,Hd,Jd,Qd,mf)],Gf=wf[0],Qf=Qd.widgetNode;return W0(kd,function(dh){Qf&&(Qd.widgetNode=Qf.cloneNode(!0)),wf.push(Hv(dh,Pg(dh,Hd),Pg(dh,Jd),Qd,mf));for(var yh=0;yh<dh.linked.length;++yh)if(dh.linked[yh].isParent)return;Gf=wh(wf)}),new Gv(wf,Gf)}function tx(kd){return kd.findMarks(Om(kd.first,0),kd.clipPos(Om(kd.lastLine())),function(Hd){return Hd.parent})}function rx(kd,Hd){for(var Jd=0;Jd<Hd.length;Jd++){var Qd=Hd[Jd],mf=Qd.find(),wf=kd.clipPos(mf.from),Gf=kd.clipPos(mf.to);if(og(wf,Gf)){var Qf=Hv(kd,wf,Gf,Qd.primary,Qd.primary.type);Qd.markers.push(Qf),Qf.parent=Qd}}}function Wx(kd){for(var Hd=function(Qd){var mf=kd[Qd],wf=[mf.primary.doc];W0(mf.primary.doc,function(dh){return wf.push(dh)});for(var Gf=0;Gf<mf.markers.length;Gf++){var Qf=mf.markers[Gf];Th(wf,Qf.doc)==-1&&(Qf.parent=null,mf.markers.splice(Gf--,1))}},Jd=0;Jd<kd.length;Jd++)Hd(Jd)}var lT=0,mb=function(kd,Hd,Jd,Qd,mf){if(!(this instanceof mb))return new mb(kd,Hd,Jd,Qd,mf);Jd==null&&(Jd=0),vE.call(this,[new Zy([new Yb("",null)])]),this.first=Jd,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=Jd;var wf=Om(Jd,0);this.sel=V0(wf),this.history=new Ov(null),this.id=++lT,this.modeOption=Hd,this.lineSep=Qd,this.direction=mf=="rtl"?"rtl":"ltr",this.extend=!1,typeof kd=="string"&&(kd=this.splitLines(kd)),Nv(this,{from:wf,to:wf,text:kd}),sb(this,V0(wf),ph)};mb.prototype=Bh(vE.prototype,{constructor:mb,iter:function(kd,Hd,Jd){Jd?this.iterN(kd-this.first,Hd-kd,Jd):this.iterN(this.first,this.first+this.size,kd)},insert:function(kd,Hd){for(var Jd=0,Qd=0;Qd<Hd.length;++Qd)Jd+=Hd[Qd].height;this.insertInner(kd-this.first,Hd,Jd)},remove:function(kd,Hd){this.removeInner(kd-this.first,Hd)},getValue:function(kd){var Hd=Gg(this,this.first,this.first+this.size);return kd===!1?Hd:Hd.join(kd||this.lineSeparator())},setValue:J_(function(kd){var Hd=Om(this.first,0),Jd=this.first+this.size-1;jv(this,{from:Hd,to:Om(Jd,tg(this,Jd).text.length),text:this.splitLines(kd),origin:"setValue",full:!0},!0),this.cm&&z_(this.cm,0,0),sb(this,V0(Hd),ph)}),replaceRange:function(kd,Hd,Jd,Qd){Hd=Pg(this,Hd),Jd=Jd?Pg(this,Jd):Hd,Jy(this,kd,Hd,Jd,Qd)},getRange:function(kd,Hd,Jd){var Qd=y_(this,Pg(this,kd),Pg(this,Hd));return Jd===!1?Qd:Jd===""?Qd.join(""):Qd.join(Jd||this.lineSeparator())},getLine:function(kd){var Hd=this.getLineHandle(kd);return Hd&&Hd.text},getLineHandle:function(kd){if(Um(this,kd))return tg(this,kd)},getLineNumber:function(kd){return _h(kd)},getLineHandleVisualStart:function(kd){return typeof kd=="number"&&(kd=tg(this,kd)),h_(kd)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(kd){return Pg(this,kd)},getCursor:function(kd){var Hd=this.sel.primary(),Jd;return kd==null||kd=="head"?Jd=Hd.head:kd=="anchor"?Jd=Hd.anchor:kd=="end"||kd=="to"||kd===!1?Jd=Hd.to():Jd=Hd.from(),Jd},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:J_(function(kd,Hd,Jd){cS(this,Pg(this,typeof kd=="number"?Om(kd,Hd||0):kd),null,Jd)}),setSelection:J_(function(kd,Hd,Jd){cS(this,Pg(this,kd),Pg(this,Hd||kd),Jd)}),extendSelection:J_(function(kd,Hd,Jd){kv(this,Pg(this,kd),Hd&&Pg(this,Hd),Jd)}),extendSelections:J_(function(kd,Hd){rT(this,T_(this,kd),Hd)}),extendSelectionsBy:J_(function(kd,Hd){var Jd=Ah(this.sel.ranges,kd);rT(this,T_(this,Jd),Hd)}),setSelections:J_(function(kd,Hd,Jd){if(kd.length){for(var Qd=[],mf=0;mf<kd.length;mf++)Qd[mf]=new d_(Pg(this,kd[mf].anchor),Pg(this,kd[mf].head||kd[mf].anchor));Hd==null&&(Hd=Math.min(kd.length-1,this.sel.primIndex)),sb(this,n0(this.cm,Qd,Hd),Jd)}}),addSelection:J_(function(kd,Hd,Jd){var Qd=this.sel.ranges.slice(0);Qd.push(new d_(Pg(this,kd),Pg(this,Hd||kd))),sb(this,n0(this.cm,Qd,Qd.length-1),Jd)}),getSelection:function(kd){for(var Hd=this.sel.ranges,Jd,Qd=0;Qd<Hd.length;Qd++){var mf=y_(this,Hd[Qd].from(),Hd[Qd].to());Jd=Jd?Jd.concat(mf):mf}return kd===!1?Jd:Jd.join(kd||this.lineSeparator())},getSelections:function(kd){for(var Hd=[],Jd=this.sel.ranges,Qd=0;Qd<Jd.length;Qd++){var mf=y_(this,Jd[Qd].from(),Jd[Qd].to());kd!==!1&&(mf=mf.join(kd||this.lineSeparator())),Hd[Qd]=mf}return Hd},replaceSelection:function(kd,Hd,Jd){for(var Qd=[],mf=0;mf<this.sel.ranges.length;mf++)Qd[mf]=kd;this.replaceSelections(Qd,Hd,Jd||"+input")},replaceSelections:J_(function(kd,Hd,Jd){for(var Qd=[],mf=this.sel,wf=0;wf<mf.ranges.length;wf++){var Gf=mf.ranges[wf];Qd[wf]={from:Gf.from(),to:Gf.to(),text:this.splitLines(kd[wf]),origin:Jd}}for(var Qf=Hd&&Hd!="end"&&qx(this,Qd,Hd),dh=Qd.length-1;dh>=0;dh--)jv(this,Qd[dh]);Qf?Y0(this,Qf):this.cm&&D_(this.cm)}),undo:J_(function(){K0(this,"undo")}),redo:J_(function(){K0(this,"redo")}),undoSelection:J_(function(){K0(this,"undo",!0)}),redoSelection:J_(function(){K0(this,"redo",!0)}),setExtending:function(kd){this.extend=kd},getExtending:function(){return this.extend},historySize:function(){for(var kd=this.history,Hd=0,Jd=0,Qd=0;Qd<kd.done.length;Qd++)kd.done[Qd].ranges||++Hd;for(var mf=0;mf<kd.undone.length;mf++)kd.undone[mf].ranges||++Jd;return{undo:Hd,redo:Jd}},clearHistory:function(){var kd=this;this.history=new Ov(this.history),W0(this,function(Hd){return Hd.history=kd.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(kd){return kd&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(kd){return this.history.generation==(kd||this.cleanGeneration)},getHistory:function(){return{done:Qy(this.history.done),undone:Qy(this.history.undone)}},setHistory:function(kd){var Hd=this.history=new Ov(this.history);Hd.done=Qy(kd.done.slice(0),null,!0),Hd.undone=Qy(kd.undone.slice(0),null,!0)},setGutterMarker:J_(function(kd,Hd,Jd){return Uv(this,kd,"gutter",function(Qd){var mf=Qd.gutterMarkers||(Qd.gutterMarkers={});return mf[Hd]=Jd,!Jd&&Mm(mf)&&(Qd.gutterMarkers=null),!0})}),clearGutter:J_(function(kd){var Hd=this;this.iter(function(Jd){Jd.gutterMarkers&&Jd.gutterMarkers[kd]&&Uv(Hd,Jd,"gutter",function(){return Jd.gutterMarkers[kd]=null,Mm(Jd.gutterMarkers)&&(Jd.gutterMarkers=null),!0})})}),lineInfo:function(kd){var Hd;if(typeof kd=="number"){if(!Um(this,kd)||(Hd=kd,kd=tg(this,kd),!kd))return null}else if(Hd=_h(kd),Hd==null)return null;return{line:Hd,handle:kd,text:kd.text,gutterMarkers:kd.gutterMarkers,textClass:kd.textClass,bgClass:kd.bgClass,wrapClass:kd.wrapClass,widgets:kd.widgets}},addLineClass:J_(function(kd,Hd,Jd){return Uv(this,kd,Hd=="gutter"?"gutter":"class",function(Qd){var mf=Hd=="text"?"textClass":Hd=="background"?"bgClass":Hd=="gutter"?"gutterClass":"wrapClass";if(!Qd[mf])Qd[mf]=Jd;else{if(df(Jd).test(Qd[mf]))return!1;Qd[mf]+=" "+Jd}return!0})}),removeLineClass:J_(function(kd,Hd,Jd){return Uv(this,kd,Hd=="gutter"?"gutter":"class",function(Qd){var mf=Hd=="text"?"textClass":Hd=="background"?"bgClass":Hd=="gutter"?"gutterClass":"wrapClass",wf=Qd[mf];if(wf)if(Jd==null)Qd[mf]=null;else{var Gf=wf.match(df(Jd));if(!Gf)return!1;var Qf=Gf.index+Gf[0].length;Qd[mf]=wf.slice(0,Gf.index)+(!Gf.index||Qf==wf.length?"":" ")+wf.slice(Qf)||null}else return!1;return!0})}),addLineWidget:J_(function(kd,Hd,Jd){return ZT(this,kd,Hd,Jd)}),removeLineWidget:function(kd){kd.clear()},markText:function(kd,Hd,Jd){return Hv(this,Pg(this,kd),Pg(this,Hd),Jd,Jd&&Jd.type||"range")},setBookmark:function(kd,Hd){var Jd={replacedWith:Hd&&(Hd.nodeType==null?Hd.widget:Hd),insertLeft:Hd&&Hd.insertLeft,clearWhenEmpty:!1,shared:Hd&&Hd.shared,handleMouseEvents:Hd&&Hd.handleMouseEvents};return kd=Pg(this,kd),Hv(this,kd,kd,Jd,"bookmark")},findMarksAt:function(kd){kd=Pg(this,kd);var Hd=[],Jd=tg(this,kd.line).markedSpans;if(Jd)for(var Qd=0;Qd<Jd.length;++Qd){var mf=Jd[Qd];(mf.from==null||mf.from<=kd.ch)&&(mf.to==null||mf.to>=kd.ch)&&Hd.push(mf.marker.parent||mf.marker)}return Hd},findMarks:function(kd,Hd,Jd){kd=Pg(this,kd),Hd=Pg(this,Hd);var Qd=[],mf=kd.line;return this.iter(kd.line,Hd.line+1,function(wf){var Gf=wf.markedSpans;if(Gf)for(var Qf=0;Qf<Gf.length;Qf++){var dh=Gf[Qf];!(dh.to!=null&&mf==kd.line&&kd.ch>=dh.to||dh.from==null&&mf!=kd.line||dh.from!=null&&mf==Hd.line&&dh.from>=Hd.ch)&&(!Jd||Jd(dh.marker))&&Qd.push(dh.marker.parent||dh.marker)}++mf}),Qd},getAllMarks:function(){var kd=[];return this.iter(function(Hd){var Jd=Hd.markedSpans;if(Jd)for(var Qd=0;Qd<Jd.length;++Qd)Jd[Qd].from!=null&&kd.push(Jd[Qd].marker)}),kd},posFromIndex:function(kd){var Hd,Jd=this.first,Qd=this.lineSeparator().length;return this.iter(function(mf){var wf=mf.text.length+Qd;if(wf>kd)return Hd=kd,!0;kd-=wf,++Jd}),Pg(this,Om(Jd,Hd))},indexFromPos:function(kd){kd=Pg(this,kd);var Hd=kd.ch;if(kd.line<this.first||kd.ch<0)return 0;var Jd=this.lineSeparator().length;return this.iter(this.first,kd.line,function(Qd){Hd+=Qd.text.length+Jd}),Hd},copy:function(kd){var Hd=new mb(Gg(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return Hd.scrollTop=this.scrollTop,Hd.scrollLeft=this.scrollLeft,Hd.sel=this.sel,Hd.extend=!1,kd&&(Hd.history.undoDepth=this.history.undoDepth,Hd.setHistory(this.getHistory())),Hd},linkedDoc:function(kd){kd||(kd={});var Hd=this.first,Jd=this.first+this.size;kd.from!=null&&kd.from>Hd&&(Hd=kd.from),kd.to!=null&&kd.to<Jd&&(Jd=kd.to);var Qd=new mb(Gg(this,Hd,Jd),kd.mode||this.modeOption,Hd,this.lineSep,this.direction);return kd.sharedHist&&(Qd.history=this.history),(this.linked||(this.linked=[])).push({doc:Qd,sharedHist:kd.sharedHist}),Qd.linked=[{doc:this,isParent:!0,sharedHist:kd.sharedHist}],rx(Qd,tx(this)),Qd},unlinkDoc:function(kd){if(kd instanceof o_&&(kd=kd.doc),this.linked)for(var Hd=0;Hd<this.linked.length;++Hd){var Jd=this.linked[Hd];if(Jd.doc==kd){this.linked.splice(Hd,1),kd.unlinkDoc(this),Wx(tx(this));break}}if(kd.history==this.history){var Qd=[kd.id];W0(kd,function(mf){return Qd.push(mf.id)},!0),kd.history=new Ov(null),kd.history.done=Qy(this.history.done,Qd),kd.history.undone=Qy(this.history.undone,Qd)}},iterLinkedDocs:function(kd){W0(this,kd)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(kd){return this.lineSep?kd.split(this.lineSep):Pf(kd)},lineSeparator:function(){return this.lineSep||`
|
||
`},setDirection:J_(function(kd){kd!="rtl"&&(kd="ltr"),kd!=this.direction&&(this.direction=kd,this.iter(function(Hd){return Hd.order=null}),this.cm&&R0(this.cm))})}),mb.prototype.eachLine=mb.prototype.iter;var pS=0;function Yx(kd){var Hd=this;if(nx(Hd),!(kg(Hd,kd)||u_(Hd.display,kd))){Ng(kd),fd&&(pS=+new Date);var Jd=f0(Hd,kd,!0),Qd=kd.dataTransfer.files;if(!(!Jd||Hd.isReadOnly()))if(Qd&&Qd.length&&window.FileReader&&window.File)for(var mf=Qd.length,wf=Array(mf),Gf=0,Qf=function(){++Gf==mf&&m_(Hd,function(){Jd=Pg(Hd.doc,Jd);var Sm={from:Jd,to:Jd,text:Hd.doc.splitLines(wf.filter(function(jm){return jm!=null}).join(Hd.doc.lineSeparator())),origin:"paste"};jv(Hd.doc,Sm),Y0(Hd.doc,V0(Pg(Hd.doc,Jd),Pg(Hd.doc,z0(Sm))))})()},dh=function(Sm,jm){if(Hd.options.allowDropFileTypes&&Th(Hd.options.allowDropFileTypes,Sm.type)==-1){Qf();return}var Wm=new FileReader;Wm.onerror=function(){return Qf()},Wm.onload=function(){var eg=Wm.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(eg)){Qf();return}wf[jm]=eg,Qf()},Wm.readAsText(Sm)},yh=0;yh<Qd.length;yh++)dh(Qd[yh],yh);else{if(Hd.state.draggingText&&Hd.doc.sel.contains(Jd)>-1){Hd.state.draggingText(kd),setTimeout(function(){return Hd.display.input.focus()},20);return}try{var Wh=kd.dataTransfer.getData("Text");if(Wh){var um;if(Hd.state.draggingText&&!Hd.state.draggingText.copy&&(um=Hd.listSelections()),ob(Hd.doc,V0(Jd,Jd)),um)for(var Dm=0;Dm<um.length;++Dm)Jy(Hd.doc,"",um[Dm].anchor,um[Dm].head,"drag");Hd.replaceSelection(Wh,"around","paste"),Hd.display.input.focus()}}catch{}}}}function cT(kd,Hd){if(fd&&(!kd.state.draggingText||+new Date-pS<100)){C_(Hd);return}if(!(kg(kd,Hd)||u_(kd.display,Hd))&&(Hd.dataTransfer.setData("Text",kd.getSelection()),Hd.dataTransfer.effectAllowed="copyMove",Hd.dataTransfer.setDragImage&&!Md)){var Jd=vf("img",null,null,"position: fixed; left: 0; top: 0;");Jd.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Od&&(Jd.width=Jd.height=1,kd.display.wrapper.appendChild(Jd),Jd._top=Jd.offsetTop),Hd.dataTransfer.setDragImage(Jd,0,0),Od&&Jd.parentNode.removeChild(Jd)}}function Xg(kd,Hd){var Jd=f0(kd,Hd);if(Jd){var Qd=document.createDocumentFragment();eS(kd,Jd,Qd),kd.display.dragCursor||(kd.display.dragCursor=vf("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),kd.display.lineSpace.insertBefore(kd.display.dragCursor,kd.display.cursorDiv)),xf(kd.display.dragCursor,Qd)}}function nx(kd){kd.display.dragCursor&&(kd.display.lineSpace.removeChild(kd.display.dragCursor),kd.display.dragCursor=null)}function ix(kd){if(document.getElementsByClassName){for(var Hd=document.getElementsByClassName("CodeMirror"),Jd=[],Qd=0;Qd<Hd.length;Qd++){var mf=Hd[Qd].CodeMirror;mf&&Jd.push(mf)}Jd.length&&Jd[0].operation(function(){for(var wf=0;wf<Jd.length;wf++)kd(Jd[wf])})}}var qv=!1;function sx(){qv||(Kx(),qv=!0)}function Kx(){var kd;Fm(window,"resize",function(){kd==null&&(kd=setTimeout(function(){kd=null,ix(Xx)},100))}),Fm(window,"blur",function(){return ix(Cv)})}function Xx(kd){var Hd=kd.display;Hd.cachedCharWidth=Hd.cachedTextHeight=Hd.cachedPaddingH=null,Hd.scrollbarsClipped=!1,kd.setSize()}for(var eb={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},SE=0;SE<10;SE++)eb[SE+48]=eb[SE+96]=String(SE);for(var tv=65;tv<=90;tv++)eb[tv]=String.fromCharCode(tv);for(var rv=1;rv<=12;rv++)eb[rv+111]=eb[rv+63235]="F"+rv;var g0={};g0.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},g0.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},g0.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},g0.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},g0.default=qd?g0.macDefault:g0.pcDefault;function ox(kd){var Hd=kd.split(/-(?!$)/);kd=Hd[Hd.length-1];for(var Jd,Qd,mf,wf,Gf=0;Gf<Hd.length-1;Gf++){var Qf=Hd[Gf];if(/^(cmd|meta|m)$/i.test(Qf))wf=!0;else if(/^a(lt)?$/i.test(Qf))Jd=!0;else if(/^(c|ctrl|control)$/i.test(Qf))Qd=!0;else if(/^s(hift)?$/i.test(Qf))mf=!0;else throw new Error("Unrecognized modifier name: "+Qf)}return Jd&&(kd="Alt-"+kd),Qd&&(kd="Ctrl-"+kd),wf&&(kd="Cmd-"+kd),mf&&(kd="Shift-"+kd),kd}function Ib(kd){var Hd={};for(var Jd in kd)if(kd.hasOwnProperty(Jd)){var Qd=kd[Jd];if(/^(name|fallthrough|(de|at)tach)$/.test(Jd))continue;if(Qd=="..."){delete kd[Jd];continue}for(var mf=Ah(Jd.split(" "),ox),wf=0;wf<mf.length;wf++){var Gf=void 0,Qf=void 0;wf==mf.length-1?(Qf=mf.join(" "),Gf=Qd):(Qf=mf.slice(0,wf+1).join(" "),Gf="...");var dh=Hd[Qf];if(!dh)Hd[Qf]=Gf;else if(dh!=Gf)throw new Error("Inconsistent bindings for "+Qf)}delete kd[Jd]}for(var yh in Hd)kd[yh]=Hd[yh];return kd}function Rb(kd,Hd,Jd,Qd){Hd=xE(Hd);var mf=Hd.call?Hd.call(kd,Qd):Hd[kd];if(mf===!1)return"nothing";if(mf==="...")return"multi";if(mf!=null&&Jd(mf))return"handled";if(Hd.fallthrough){if(Object.prototype.toString.call(Hd.fallthrough)!="[object Array]")return Rb(kd,Hd.fallthrough,Jd,Qd);for(var wf=0;wf<Hd.fallthrough.length;wf++){var Gf=Rb(kd,Hd.fallthrough[wf],Jd,Qd);if(Gf)return Gf}}}function fS(kd){var Hd=typeof kd=="string"?kd:eb[kd.keyCode];return Hd=="Ctrl"||Hd=="Alt"||Hd=="Shift"||Hd=="Mod"}function uT(kd,Hd,Jd){var Qd=kd;return Hd.altKey&&Qd!="Alt"&&(kd="Alt-"+kd),(Yd?Hd.metaKey:Hd.ctrlKey)&&Qd!="Ctrl"&&(kd="Ctrl-"+kd),(Yd?Hd.ctrlKey:Hd.metaKey)&&Qd!="Mod"&&(kd="Cmd-"+kd),!Jd&&Hd.shiftKey&&Qd!="Shift"&&(kd="Shift-"+kd),kd}function TE(kd,Hd){if(Od&&kd.keyCode==34&&kd.char)return!1;var Jd=eb[kd.keyCode];return Jd==null||kd.altGraphKey?!1:(kd.keyCode==3&&kd.code&&(Jd=kd.code),uT(Jd,kd,Hd))}function xE(kd){return typeof kd=="string"?g0[kd]:kd}function X0(kd,Hd){for(var Jd=kd.doc.sel.ranges,Qd=[],mf=0;mf<Jd.length;mf++){for(var wf=Hd(Jd[mf]);Qd.length&&og(wf.from,wh(Qd).to)<=0;){var Gf=Qd.pop();if(og(Gf.from,wf.from)<0){wf.from=Gf.from;break}}Qd.push(wf)}db(kd,function(){for(var Qf=Qd.length-1;Qf>=0;Qf--)Jy(kd.doc,"",Qd[Qf].from,Qd[Qf].to,"+delete");D_(kd)})}function hS(kd,Hd,Jd){var Qd=Lf(kd.text,Hd+Jd,Jd);return Qd<0||Qd>kd.text.length?null:Qd}function CE(kd,Hd,Jd){var Qd=hS(kd,Hd.ch,Jd);return Qd==null?null:new Om(Hd.line,Qd,Jd<0?"after":"before")}function AE(kd,Hd,Jd,Qd,mf){if(kd){Hd.doc.direction=="rtl"&&(mf=-mf);var wf=Im(Jd,Hd.doc.direction);if(wf){var Gf=mf<0?wh(wf):wf[0],Qf=mf<0==(Gf.level==1),dh=Qf?"after":"before",yh;if(Gf.level>0||Hd.doc.direction=="rtl"){var Wh=wb(Hd,Jd);yh=mf<0?Jd.text.length-1:0;var um=Db(Hd,Wh,yh).top;yh=$f(function(Dm){return Db(Hd,Wh,Dm).top==um},mf<0==(Gf.level==1)?Gf.from:Gf.to-1,yh),dh=="before"&&(yh=hS(Jd,yh,1))}else yh=mf<0?Gf.to:Gf.from;return new Om(Qd,yh,dh)}}return new Om(Qd,mf<0?Jd.text.length:0,mf<0?"before":"after")}function Q0(kd,Hd,Jd,Qd){var mf=Im(Hd,kd.doc.direction);if(!mf)return CE(Hd,Jd,Qd);Jd.ch>=Hd.text.length?(Jd.ch=Hd.text.length,Jd.sticky="before"):Jd.ch<=0&&(Jd.ch=0,Jd.sticky="after");var wf=Zh(mf,Jd.ch,Jd.sticky),Gf=mf[wf];if(kd.doc.direction=="ltr"&&Gf.level%2==0&&(Qd>0?Gf.to>Jd.ch:Gf.from<Jd.ch))return CE(Hd,Jd,Qd);var Qf=function(dg,yg){return hS(Hd,dg instanceof Om?dg.ch:dg,yg)},dh,yh=function(dg){return kd.options.lineWrapping?(dh=dh||wb(kd,Hd),v_(kd,Hd,dh,dg)):{begin:0,end:Hd.text.length}},Wh=yh(Jd.sticky=="before"?Qf(Jd,-1):Jd.ch);if(kd.doc.direction=="rtl"||Gf.level==1){var um=Gf.level==1==Qd<0,Dm=Qf(Jd,um?1:-1);if(Dm!=null&&(um?Dm<=Gf.to&&Dm<=Wh.end:Dm>=Gf.from&&Dm>=Wh.begin)){var Sm=um?"before":"after";return new Om(Jd.line,Dm,Sm)}}var jm=function(dg,yg,lg){for(var xg=function(b_,L_){return L_?new Om(Jd.line,Qf(b_,1),"before"):new Om(Jd.line,b_,"after")};dg>=0&&dg<mf.length;dg+=yg){var Og=mf[dg],Ig=yg>0==(Og.level!=1),Wg=Ig?lg.begin:Qf(lg.end,-1);if(Og.from<=Wg&&Wg<Og.to||(Wg=Ig?Og.from:Qf(Og.to,-1),lg.begin<=Wg&&Wg<lg.end))return xg(Wg,Ig)}},Wm=jm(wf+Qd,Qd,Wh);if(Wm)return Wm;var eg=Qd>0?Wh.end:Qf(Wh.begin,-1);return eg!=null&&!(Qd>0&&eg==Hd.text.length)&&(Wm=jm(Qd>0?0:mf.length-1,Qd,yh(eg)),Wm)?Wm:null}var wE={selectAll:Fv,singleSelection:function(kd){return kd.setSelection(kd.getCursor("anchor"),kd.getCursor("head"),ph)},killLine:function(kd){return X0(kd,function(Hd){if(Hd.empty()){var Jd=tg(kd.doc,Hd.head.line).text.length;return Hd.head.ch==Jd&&Hd.head.line<kd.lastLine()?{from:Hd.head,to:Om(Hd.head.line+1,0)}:{from:Hd.head,to:Om(Hd.head.line,Jd)}}else return{from:Hd.from(),to:Hd.to()}})},deleteLine:function(kd){return X0(kd,function(Hd){return{from:Om(Hd.from().line,0),to:Pg(kd.doc,Om(Hd.to().line+1,0))}})},delLineLeft:function(kd){return X0(kd,function(Hd){return{from:Om(Hd.from().line,0),to:Hd.from()}})},delWrappedLineLeft:function(kd){return X0(kd,function(Hd){var Jd=kd.charCoords(Hd.head,"div").top+5,Qd=kd.coordsChar({left:0,top:Jd},"div");return{from:Qd,to:Hd.from()}})},delWrappedLineRight:function(kd){return X0(kd,function(Hd){var Jd=kd.charCoords(Hd.head,"div").top+5,Qd=kd.coordsChar({left:kd.display.lineDiv.offsetWidth+100,top:Jd},"div");return{from:Hd.from(),to:Qd}})},undo:function(kd){return kd.undo()},redo:function(kd){return kd.redo()},undoSelection:function(kd){return kd.undoSelection()},redoSelection:function(kd){return kd.redoSelection()},goDocStart:function(kd){return kd.extendSelection(Om(kd.firstLine(),0))},goDocEnd:function(kd){return kd.extendSelection(Om(kd.lastLine()))},goLineStart:function(kd){return kd.extendSelectionsBy(function(Hd){return k0(kd,Hd.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(kd){return kd.extendSelectionsBy(function(Hd){return dT(kd,Hd.head)},{origin:"+move",bias:1})},goLineEnd:function(kd){return kd.extendSelectionsBy(function(Hd){return lx(kd,Hd.head.line)},{origin:"+move",bias:-1})},goLineRight:function(kd){return kd.extendSelectionsBy(function(Hd){var Jd=kd.cursorCoords(Hd.head,"div").top+5;return kd.coordsChar({left:kd.display.lineDiv.offsetWidth+100,top:Jd},"div")},Zf)},goLineLeft:function(kd){return kd.extendSelectionsBy(function(Hd){var Jd=kd.cursorCoords(Hd.head,"div").top+5;return kd.coordsChar({left:0,top:Jd},"div")},Zf)},goLineLeftSmart:function(kd){return kd.extendSelectionsBy(function(Hd){var Jd=kd.cursorCoords(Hd.head,"div").top+5,Qd=kd.coordsChar({left:0,top:Jd},"div");return Qd.ch<kd.getLine(Qd.line).search(/\S/)?dT(kd,Hd.head):Qd},Zf)},goLineUp:function(kd){return kd.moveV(-1,"line")},goLineDown:function(kd){return kd.moveV(1,"line")},goPageUp:function(kd){return kd.moveV(-1,"page")},goPageDown:function(kd){return kd.moveV(1,"page")},goCharLeft:function(kd){return kd.moveH(-1,"char")},goCharRight:function(kd){return kd.moveH(1,"char")},goColumnLeft:function(kd){return kd.moveH(-1,"column")},goColumnRight:function(kd){return kd.moveH(1,"column")},goWordLeft:function(kd){return kd.moveH(-1,"word")},goGroupRight:function(kd){return kd.moveH(1,"group")},goGroupLeft:function(kd){return kd.moveH(-1,"group")},goWordRight:function(kd){return kd.moveH(1,"word")},delCharBefore:function(kd){return kd.deleteH(-1,"codepoint")},delCharAfter:function(kd){return kd.deleteH(1,"char")},delWordBefore:function(kd){return kd.deleteH(-1,"word")},delWordAfter:function(kd){return kd.deleteH(1,"word")},delGroupBefore:function(kd){return kd.deleteH(-1,"group")},delGroupAfter:function(kd){return kd.deleteH(1,"group")},indentAuto:function(kd){return kd.indentSelection("smart")},indentMore:function(kd){return kd.indentSelection("add")},indentLess:function(kd){return kd.indentSelection("subtract")},insertTab:function(kd){return kd.replaceSelection(" ")},insertSoftTab:function(kd){for(var Hd=[],Jd=kd.listSelections(),Qd=kd.options.tabSize,mf=0;mf<Jd.length;mf++){var wf=Jd[mf].from(),Gf=Yf(kd.getLine(wf.line),wf.ch,Qd);Hd.push(Kf(Qd-Gf%Qd))}kd.replaceSelections(Hd)},defaultTab:function(kd){kd.somethingSelected()?kd.indentSelection("add"):kd.execCommand("insertTab")},transposeChars:function(kd){return db(kd,function(){for(var Hd=kd.listSelections(),Jd=[],Qd=0;Qd<Hd.length;Qd++)if(Hd[Qd].empty()){var mf=Hd[Qd].head,wf=tg(kd.doc,mf.line).text;if(wf){if(mf.ch==wf.length&&(mf=new Om(mf.line,mf.ch-1)),mf.ch>0)mf=new Om(mf.line,mf.ch+1),kd.replaceRange(wf.charAt(mf.ch-1)+wf.charAt(mf.ch-2),Om(mf.line,mf.ch-2),mf,"+transpose");else if(mf.line>kd.doc.first){var Gf=tg(kd.doc,mf.line-1).text;Gf&&(mf=new Om(mf.line,1),kd.replaceRange(wf.charAt(0)+kd.doc.lineSeparator()+Gf.charAt(Gf.length-1),Om(mf.line-1,Gf.length-1),mf,"+transpose"))}}Jd.push(new d_(mf,mf))}kd.setSelections(Jd)})},newlineAndIndent:function(kd){return db(kd,function(){for(var Hd=kd.listSelections(),Jd=Hd.length-1;Jd>=0;Jd--)kd.replaceRange(kd.doc.lineSeparator(),Hd[Jd].anchor,Hd[Jd].head,"+input");Hd=kd.listSelections();for(var Qd=0;Qd<Hd.length;Qd++)kd.indentLine(Hd[Qd].from().line,null,!0);D_(kd)})},openLine:function(kd){return kd.replaceSelection(`
|
||
`,"start")},toggleOverwrite:function(kd){return kd.toggleOverwrite()}};function k0(kd,Hd){var Jd=tg(kd.doc,Hd),Qd=h_(Jd);return Qd!=Jd&&(Hd=_h(Qd)),AE(!0,kd,Qd,Hd,1)}function lx(kd,Hd){var Jd=tg(kd.doc,Hd),Qd=iE(Jd);return Qd!=Jd&&(Hd=_h(Qd)),AE(!0,kd,Jd,Hd,-1)}function dT(kd,Hd){var Jd=k0(kd,Hd.line),Qd=tg(kd.doc,Jd.line),mf=Im(Qd,kd.doc.direction);if(!mf||mf[0].level==0){var wf=Math.max(Jd.ch,Qd.text.search(/\S/)),Gf=Hd.line==Jd.line&&Hd.ch<=wf&&Hd.ch;return Om(Jd.line,Gf?0:wf,Jd.sticky)}return Jd}function Vv(kd,Hd,Jd){if(typeof Hd=="string"&&(Hd=wE[Hd],!Hd))return!1;kd.display.input.ensurePolled();var Qd=kd.display.shift,mf=!1;try{kd.isReadOnly()&&(kd.state.suppressEdits=!0),Jd&&(kd.display.shift=!1),mf=Hd(kd)!=Nf}finally{kd.display.shift=Qd,kd.state.suppressEdits=!1}return mf}function Qx(kd,Hd,Jd){for(var Qd=0;Qd<kd.state.keyMaps.length;Qd++){var mf=Rb(Hd,kd.state.keyMaps[Qd],Jd,kd);if(mf)return mf}return kd.options.extraKeys&&Rb(Hd,kd.options.extraKeys,Jd,kd)||Rb(Hd,kd.options.keyMap,Jd,kd)}var Jx=new ih;function DE(kd,Hd,Jd,Qd){var mf=kd.state.keySeq;if(mf){if(fS(Hd))return"handled";if(/\'$/.test(Hd)?kd.state.keySeq=null:Jx.set(50,function(){kd.state.keySeq==mf&&(kd.state.keySeq=null,kd.display.input.reset())}),pT(kd,mf+" "+Hd,Jd,Qd))return!0}return pT(kd,Hd,Jd,Qd)}function pT(kd,Hd,Jd,Qd){var mf=Qx(kd,Hd,Qd);return mf=="multi"&&(kd.state.keySeq=Hd),mf=="handled"&&Kd(kd,"keyHandled",kd,Hd,Jd),(mf=="handled"||mf=="multi")&&(Ng(Jd),Oy(kd)),!!mf}function fT(kd,Hd){var Jd=TE(Hd,!0);return Jd?Hd.shiftKey&&!kd.state.keySeq?DE(kd,"Shift-"+Jd,Hd,function(Qd){return Vv(kd,Qd,!0)})||DE(kd,Jd,Hd,function(Qd){if(typeof Qd=="string"?/^go[A-Z]/.test(Qd):Qd.motion)return Vv(kd,Qd)}):DE(kd,Jd,Hd,function(Qd){return Vv(kd,Qd)}):!1}function Zx(kd,Hd,Jd){return DE(kd,"'"+Jd+"'",Hd,function(Qd){return Vv(kd,Qd,!0)})}var mS=null;function hT(kd){var Hd=this;if(!(kd.target&&kd.target!=Hd.display.input.getField())&&(Hd.curOp.focus=Jf(Wf(Hd)),!kg(Hd,kd))){fd&&md<11&&kd.keyCode==27&&(kd.returnValue=!1);var Jd=kd.keyCode;Hd.display.shift=Jd==16||kd.shiftKey;var Qd=fT(Hd,kd);Od&&(mS=Qd?Jd:null,!Qd&&Jd==88&&!vh&&(qd?kd.metaKey:kd.ctrlKey)&&Hd.replaceSelection("",null,"cut")),ld&&!qd&&!Qd&&Jd==46&&kd.shiftKey&&!kd.ctrlKey&&document.execCommand&&document.execCommand("cut"),Jd==18&&!/\bCodeMirror-crosshair\b/.test(Hd.display.lineDiv.className)&&Ab(Hd)}}function Ab(kd){var Hd=kd.display.lineDiv;eh(Hd,"CodeMirror-crosshair");function Jd(Qd){(Qd.keyCode==18||!Qd.altKey)&&(Ef(Hd,"CodeMirror-crosshair"),rg(document,"keyup",Jd),rg(document,"mouseover",Jd))}Fm(document,"keyup",Jd),Fm(document,"mouseover",Jd)}function s0(kd){kd.keyCode==16&&(this.doc.sel.shift=!1),kg(this,kd)}function ux(kd){var Hd=this;if(!(kd.target&&kd.target!=Hd.display.input.getField())&&!(u_(Hd.display,kd)||kg(Hd,kd)||kd.ctrlKey&&!kd.altKey||qd&&kd.metaKey)){var Jd=kd.keyCode,Qd=kd.charCode;if(Od&&Jd==mS){mS=null,Ng(kd);return}if(!(Od&&(!kd.which||kd.which<10)&&fT(Hd,kd))){var mf=String.fromCharCode(Qd??Jd);mf!="\b"&&(Zx(Hd,kd,mf)||Hd.display.input.onKeyPress(kd))}}}var e1=400,zv=function(kd,Hd,Jd){this.time=kd,this.pos=Hd,this.button=Jd};zv.prototype.compare=function(kd,Hd,Jd){return this.time+e1>kd&&og(Hd,this.pos)==0&&Jd==this.button};var _0,Wv;function dx(kd,Hd){var Jd=+new Date;return Wv&&Wv.compare(Jd,kd,Hd)?(_0=Wv=null,"triple"):_0&&_0.compare(Jd,kd,Hd)?(Wv=new zv(Jd,kd,Hd),_0=null,"double"):(_0=new zv(Jd,kd,Hd),Wv=null,"single")}function px(kd){var Hd=this,Jd=Hd.display;if(!(kg(Hd,kd)||Jd.activeTouch&&Jd.input.supportsTouch())){if(Jd.input.ensurePolled(),Jd.shift=kd.shiftKey,u_(Jd,kd)){vd||(Jd.scroller.draggable=!1,setTimeout(function(){return Jd.scroller.draggable=!0},100));return}if(!Kv(Hd,kd)){var Qd=f0(Hd,kd),mf=a_(kd),wf=Qd?dx(Qd,mf):"single";zf(Hd).focus(),mf==1&&Hd.state.selectingText&&Hd.state.selectingText(kd),!(Qd&&fx(Hd,mf,Qd,wf,kd))&&(mf==1?Qd?NE(Hd,Qd,wf,kd):N_(kd)==Jd.scroller&&Ng(kd):mf==2?(Qd&&kv(Hd.doc,Qd),setTimeout(function(){return Jd.input.focus()},20)):mf==3&&(Zd?Hd.display.input.onContextMenu(kd):Ev(Hd)))}}}function fx(kd,Hd,Jd,Qd,mf){var wf="Click";return Qd=="double"?wf="Double"+wf:Qd=="triple"&&(wf="Triple"+wf),wf=(Hd==1?"Left":Hd==2?"Middle":"Right")+wf,DE(kd,uT(wf,mf),mf,function(Gf){if(typeof Gf=="string"&&(Gf=wE[Gf]),!Gf)return!1;var Qf=!1;try{kd.isReadOnly()&&(kd.state.suppressEdits=!0),Qf=Gf(kd,Jd)!=Nf}finally{kd.state.suppressEdits=!1}return Qf})}function Yv(kd,Hd,Jd){var Qd=kd.getOption("configureMouse"),mf=Qd?Qd(kd,Hd,Jd):{};if(mf.unit==null){var wf=zd?Jd.shiftKey&&Jd.metaKey:Jd.altKey;mf.unit=wf?"rectangle":Hd=="single"?"char":Hd=="double"?"word":"line"}return(mf.extend==null||kd.doc.extend)&&(mf.extend=kd.doc.extend||Jd.shiftKey),mf.addNew==null&&(mf.addNew=qd?Jd.metaKey:Jd.ctrlKey),mf.moveOnDrag==null&&(mf.moveOnDrag=!(qd?Jd.altKey:Jd.ctrlKey)),mf}function NE(kd,Hd,Jd,Qd){fd?setTimeout(Tf(G0,kd),0):kd.curOp.focus=Jf(Wf(kd));var mf=Yv(kd,Jd,Qd),wf=kd.doc.sel,Gf;kd.options.dragDrop&&c_&&!kd.isReadOnly()&&Jd=="single"&&(Gf=wf.contains(Hd))>-1&&(og((Gf=wf.ranges[Gf]).from(),Hd)<0||Hd.xRel>0)&&(og(Gf.to(),Hd)>0||Hd.xRel<0)?t1(kd,Qd,Hd,mf):hx(kd,Qd,Hd,mf)}function t1(kd,Hd,Jd,Qd){var mf=kd.display,wf=!1,Gf=m_(kd,function(yh){vd&&(mf.scroller.draggable=!1),kd.state.draggingText=!1,kd.state.delayingBlurEvent&&(kd.hasFocus()?kd.state.delayingBlurEvent=!1:Ev(kd)),rg(mf.wrapper.ownerDocument,"mouseup",Gf),rg(mf.wrapper.ownerDocument,"mousemove",Qf),rg(mf.scroller,"dragstart",dh),rg(mf.scroller,"drop",Gf),wf||(Ng(yh),Qd.addNew||kv(kd.doc,Jd,null,null,Qd.extend),vd&&!Md||fd&&md==9?setTimeout(function(){mf.wrapper.ownerDocument.body.focus({preventScroll:!0}),mf.input.focus()},20):mf.input.focus())}),Qf=function(yh){wf=wf||Math.abs(Hd.clientX-yh.clientX)+Math.abs(Hd.clientY-yh.clientY)>=10},dh=function(){return wf=!0};vd&&(mf.scroller.draggable=!0),kd.state.draggingText=Gf,Gf.copy=!Qd.moveOnDrag,Fm(mf.wrapper.ownerDocument,"mouseup",Gf),Fm(mf.wrapper.ownerDocument,"mousemove",Qf),Fm(mf.scroller,"dragstart",dh),Fm(mf.scroller,"drop",Gf),kd.state.delayingBlurEvent=!0,setTimeout(function(){return mf.input.focus()},20),mf.scroller.dragDrop&&mf.scroller.dragDrop()}function mT(kd,Hd,Jd){if(Jd=="char")return new d_(Hd,Hd);if(Jd=="word")return kd.findWordAt(Hd);if(Jd=="line")return new d_(Om(Hd.line,0),Pg(kd.doc,Om(Hd.line+1,0)));var Qd=Jd(kd,Hd);return new d_(Qd.from,Qd.to)}function hx(kd,Hd,Jd,Qd){fd&&Ev(kd);var mf=kd.display,wf=kd.doc;Ng(Hd);var Gf,Qf,dh=wf.sel,yh=dh.ranges;if(Qd.addNew&&!Qd.extend?(Qf=wf.sel.contains(Jd),Qf>-1?Gf=yh[Qf]:Gf=new d_(Jd,Jd)):(Gf=wf.sel.primary(),Qf=wf.sel.primIndex),Qd.unit=="rectangle")Qd.addNew||(Gf=new d_(Jd,Jd)),Jd=f0(kd,Hd,!0,!0),Qf=-1;else{var Wh=mT(kd,Jd,Qd.unit);Qd.extend?Gf=Z_(Gf,Wh.anchor,Wh.head,Qd.extend):Gf=Wh}Qd.addNew?Qf==-1?(Qf=yh.length,sb(wf,n0(kd,yh.concat([Gf]),Qf),{scroll:!1,origin:"*mouse"})):yh.length>1&&yh[Qf].empty()&&Qd.unit=="char"&&!Qd.extend?(sb(wf,n0(kd,yh.slice(0,Qf).concat(yh.slice(Qf+1)),0),{scroll:!1,origin:"*mouse"}),dh=wf.sel):Hb(wf,Qf,Gf,Oh):(Qf=0,sb(wf,new R_([Gf],0),Oh),dh=wf.sel);var um=Jd;function Dm(lg){if(og(um,lg)!=0)if(um=lg,Qd.unit=="rectangle"){for(var xg=[],Og=kd.options.tabSize,Ig=Yf(tg(wf,Jd.line).text,Jd.ch,Og),Wg=Yf(tg(wf,lg.line).text,lg.ch,Og),b_=Math.min(Ig,Wg),L_=Math.max(Ig,Wg),w_=Math.min(Jd.line,lg.line),O_=Math.min(kd.lastLine(),Math.max(Jd.line,lg.line));w_<=O_;w_++){var j_=tg(wf,w_).text,U_=Rf(j_,b_,Og);b_==L_?xg.push(new d_(Om(w_,U_),Om(w_,U_))):j_.length>U_&&xg.push(new d_(Om(w_,U_),Om(w_,Rf(j_,L_,Og))))}xg.length||xg.push(new d_(Jd,Jd)),sb(wf,n0(kd,dh.ranges.slice(0,Qf).concat(xg),Qf),{origin:"*mouse",scroll:!1}),kd.scrollIntoView(lg)}else{var gb=Gf,lb=mT(kd,lg,Qd.unit),W_=gb.anchor,H_;og(lb.anchor,W_)>0?(H_=lb.head,W_=fb(gb.from(),lb.anchor)):(H_=lb.anchor,W_=M_(gb.to(),lb.head));var k_=dh.ranges.slice(0);k_[Qf]=gS(kd,new d_(Pg(wf,W_),H_)),sb(wf,n0(kd,k_,Qf),Oh)}}var Sm=mf.wrapper.getBoundingClientRect(),jm=0;function Wm(lg){var xg=++jm,Og=f0(kd,lg,!0,Qd.unit=="rectangle");if(Og)if(og(Og,um)!=0){kd.curOp.focus=Jf(Wf(kd)),Dm(Og);var Ig=$y(mf,wf);(Og.line>=Ig.to||Og.line<Ig.from)&&setTimeout(m_(kd,function(){jm==xg&&Wm(lg)}),150)}else{var Wg=lg.clientY<Sm.top?-20:lg.clientY>Sm.bottom?20:0;Wg&&setTimeout(m_(kd,function(){jm==xg&&(mf.scroller.scrollTop+=Wg,Wm(lg))}),50)}}function eg(lg){kd.state.selectingText=!1,jm=1/0,lg&&(Ng(lg),mf.input.focus()),rg(mf.wrapper.ownerDocument,"mousemove",dg),rg(mf.wrapper.ownerDocument,"mouseup",yg),wf.history.lastSelOrigin=null}var dg=m_(kd,function(lg){lg.buttons===0||!a_(lg)?eg(lg):Wm(lg)}),yg=m_(kd,eg);kd.state.selectingText=yg,Fm(mf.wrapper.ownerDocument,"mousemove",dg),Fm(mf.wrapper.ownerDocument,"mouseup",yg)}function gS(kd,Hd){var Jd=Hd.anchor,Qd=Hd.head,mf=tg(kd.doc,Jd.line);if(og(Jd,Qd)==0&&Jd.sticky==Qd.sticky)return Hd;var wf=Im(mf);if(!wf)return Hd;var Gf=Zh(wf,Jd.ch,Jd.sticky),Qf=wf[Gf];if(Qf.from!=Jd.ch&&Qf.to!=Jd.ch)return Hd;var dh=Gf+(Qf.from==Jd.ch==(Qf.level!=1)?0:1);if(dh==0||dh==wf.length)return Hd;var yh;if(Qd.line!=Jd.line)yh=(Qd.line-Jd.line)*(kd.doc.direction=="ltr"?1:-1)>0;else{var Wh=Zh(wf,Qd.ch,Qd.sticky),um=Wh-Gf||(Qd.ch-Jd.ch)*(Qf.level==1?-1:1);Wh==dh-1||Wh==dh?yh=um<0:yh=um>0}var Dm=wf[dh+(yh?-1:0)],Sm=yh==(Dm.level==1),jm=Sm?Dm.from:Dm.to,Wm=Sm?"after":"before";return Jd.ch==jm&&Jd.sticky==Wm?Hd:new d_(new Om(Jd.line,jm,Wm),Qd)}function gT(kd,Hd,Jd,Qd){var mf,wf;if(Hd.touches)mf=Hd.touches[0].clientX,wf=Hd.touches[0].clientY;else try{mf=Hd.clientX,wf=Hd.clientY}catch{return!1}if(mf>=Math.floor(kd.display.gutters.getBoundingClientRect().right))return!1;Qd&&Ng(Hd);var Gf=kd.display,Qf=Gf.lineDiv.getBoundingClientRect();if(wf>Qf.bottom||!Fg(kd,Jd))return Jg(Hd);wf-=Qf.top-Gf.viewOffset;for(var dh=0;dh<kd.display.gutterSpecs.length;++dh){var yh=Gf.gutters.childNodes[dh];if(yh&&yh.getBoundingClientRect().right>=mf){var Wh=Xh(kd.doc,wf),um=kd.display.gutterSpecs[dh];return Eg(kd,Jd,kd,Wh,um.className,Hd),Jg(Hd)}}}function Kv(kd,Hd){return gT(kd,Hd,"gutterClick",!0)}function _S(kd,Hd){u_(kd.display,Hd)||yS(kd,Hd)||kg(kd,Hd,"contextmenu")||Zd||kd.display.input.onContextMenu(Hd)}function yS(kd,Hd){return Fg(kd,"gutterContextMenu")?gT(kd,Hd,"gutterContextMenu",!1):!1}function mx(kd){kd.display.wrapper.className=kd.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+kd.options.theme.replace(/(^|\s)\s*/g," cm-s-"),lE(kd)}var nv={toString:function(){return"CodeMirror.Init"}},IE={},RE={};function yT(kd){var Hd=kd.optionHandlers;function Jd(Qd,mf,wf,Gf){kd.defaults[Qd]=mf,wf&&(Hd[Qd]=Gf?function(Qf,dh,yh){yh!=nv&&wf(Qf,dh,yh)}:wf)}kd.defineOption=Jd,kd.Init=nv,Jd("value","",function(Qd,mf){return Qd.setValue(mf)},!0),Jd("mode",null,function(Qd,mf){Qd.doc.modeOption=mf,JS(Qd)},!0),Jd("indentUnit",2,JS,!0),Jd("indentWithTabs",!1),Jd("smartIndent",!0),Jd("tabSize",4,function(Qd){Wy(Qd),lE(Qd),Eb(Qd)},!0),Jd("lineSeparator",null,function(Qd,mf){if(Qd.doc.lineSep=mf,!!mf){var wf=[],Gf=Qd.doc.first;Qd.doc.iter(function(dh){for(var yh=0;;){var Wh=dh.text.indexOf(mf,yh);if(Wh==-1)break;yh=Wh+mf.length,wf.push(Om(Gf,Wh))}Gf++});for(var Qf=wf.length-1;Qf>=0;Qf--)Jy(Qd.doc,mf,wf[Qf],Om(wf[Qf].line,wf[Qf].ch+mf.length))}}),Jd("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(Qd,mf,wf){Qd.state.specialChars=new RegExp(mf.source+(mf.test(" ")?"":"| "),"g"),wf!=nv&&Qd.refresh()}),Jd("specialCharPlaceholder",d0,function(Qd){return Qd.refresh()},!0),Jd("electricChars",!0),Jd("inputStyle",Gd?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Jd("spellcheck",!1,function(Qd,mf){return Qd.getInputField().spellcheck=mf},!0),Jd("autocorrect",!1,function(Qd,mf){return Qd.getInputField().autocorrect=mf},!0),Jd("autocapitalize",!1,function(Qd,mf){return Qd.getInputField().autocapitalize=mf},!0),Jd("rtlMoveVisually",!Xd),Jd("wholeLineUpdateBefore",!0),Jd("theme","default",function(Qd){mx(Qd),mE(Qd)},!0),Jd("keyMap","default",function(Qd,mf,wf){var Gf=xE(mf),Qf=wf!=nv&&xE(wf);Qf&&Qf.detach&&Qf.detach(Qd,Gf),Gf.attach&&Gf.attach(Qd,Qf||null)}),Jd("extraKeys",null),Jd("configureMouse",null),Jd("lineWrapping",!1,gx,!0),Jd("gutters",[],function(Qd,mf){Qd.display.gutterSpecs=r0(mf,Qd.options.lineNumbers),mE(Qd)},!0),Jd("fixedGutter",!0,function(Qd,mf){Qd.display.gutters.style.left=mf?f_(Qd.display)+"px":"0",Qd.refresh()},!0),Jd("coverGutterNextToScrollbar",!1,function(Qd){return h0(Qd)},!0),Jd("scrollbarStyle","native",function(Qd){MT(Qd),h0(Qd),Qd.display.scrollbars.setScrollTop(Qd.doc.scrollTop),Qd.display.scrollbars.setScrollLeft(Qd.doc.scrollLeft)},!0),Jd("lineNumbers",!1,function(Qd,mf){Qd.display.gutterSpecs=r0(Qd.options.gutters,mf),mE(Qd)},!0),Jd("firstLineNumber",1,mE,!0),Jd("lineNumberFormatter",function(Qd){return Qd},mE,!0),Jd("showCursorWhenSelecting",!1,H0,!0),Jd("resetSelectionOnContextMenu",!0),Jd("lineWiseCopyCut",!0),Jd("pasteLinesPerSelection",!0),Jd("selectionsMayTouch",!1),Jd("readOnly",!1,function(Qd,mf){mf=="nocursor"&&(Cv(Qd),Qd.display.input.blur()),Qd.display.input.readOnlyChanged(mf)}),Jd("screenReaderLabel",null,function(Qd,mf){mf=mf===""?null:mf,Qd.display.input.screenReaderLabelChanged(mf)}),Jd("disableInput",!1,function(Qd,mf){mf||Qd.display.input.reset()},!0),Jd("dragDrop",!0,r1),Jd("allowDropFileTypes",null),Jd("cursorBlinkRate",530),Jd("cursorScrollMargin",0),Jd("cursorHeight",1,H0,!0),Jd("singleCursorHeightPerLine",!0,H0,!0),Jd("workTime",100),Jd("workDelay",100),Jd("flattenSpans",!0,Wy,!0),Jd("addModeClass",!1,Wy,!0),Jd("pollInterval",100),Jd("undoDepth",200,function(Qd,mf){return Qd.doc.history.undoDepth=mf}),Jd("historyEventDelay",1250),Jd("viewportMargin",10,function(Qd){return Qd.refresh()},!0),Jd("maxHighlightLength",1e4,Wy,!0),Jd("moveInputWithCursor",!0,function(Qd,mf){mf||Qd.display.input.resetPosition()}),Jd("tabindex",null,function(Qd,mf){return Qd.display.input.getField().tabIndex=mf||""}),Jd("autofocus",null),Jd("direction","ltr",function(Qd,mf){return Qd.doc.setDirection(mf)},!0),Jd("phrases",null)}function r1(kd,Hd,Jd){var Qd=Jd&&Jd!=nv;if(!Hd!=!Qd){var mf=kd.display.dragFunctions,wf=Hd?Fm:rg;wf(kd.display.scroller,"dragstart",mf.start),wf(kd.display.scroller,"dragenter",mf.enter),wf(kd.display.scroller,"dragover",mf.over),wf(kd.display.scroller,"dragleave",mf.leave),wf(kd.display.scroller,"drop",mf.drop)}}function gx(kd){kd.options.lineWrapping?(eh(kd.display.wrapper,"CodeMirror-wrap"),kd.display.sizer.style.minWidth="",kd.display.sizerWidth=null):(Ef(kd.display.wrapper,"CodeMirror-wrap"),fv(kd)),JE(kd),Eb(kd),lE(kd),setTimeout(function(){return h0(kd)},100)}function o_(kd,Hd){var Jd=this;if(!(this instanceof o_))return new o_(kd,Hd);this.options=Hd=Hd?Sf(Hd):{},Sf(IE,Hd,!1);var Qd=Hd.value;typeof Qd=="string"?Qd=new mb(Qd,Hd.mode,null,Hd.lineSeparator,Hd.direction):Hd.mode&&(Qd.modeOption=Hd.mode),this.doc=Qd;var mf=new o_.inputStyles[Hd.inputStyle](this),wf=this.display=new Hx(kd,Qd,mf,Hd);wf.wrapper.CodeMirror=this,mx(this),Hd.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),MT(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ih,keySeq:null,specialChars:null},Hd.autofocus&&!Gd&&wf.input.focus(),fd&&md<11&&setTimeout(function(){return Jd.display.input.reset(!0)},20),_x(this),sx(),By(this),this.curOp.forceUpdate=!0,ZS(this,Qd),Hd.autofocus&&!Gd||this.hasFocus()?setTimeout(function(){Jd.hasFocus()&&!Jd.state.focused&&GS(Jd)},20):Cv(this);for(var Gf in RE)RE.hasOwnProperty(Gf)&&RE[Gf](this,Hd[Gf],nv);BT(this),Hd.finishInit&&Hd.finishInit(this);for(var Qf=0;Qf<vS.length;++Qf)vS[Qf](this);Hy(this),vd&&Hd.lineWrapping&&getComputedStyle(wf.lineDiv).textRendering=="optimizelegibility"&&(wf.lineDiv.style.textRendering="auto")}o_.defaults=IE,o_.optionHandlers=RE;function _x(kd){var Hd=kd.display;Fm(Hd.scroller,"mousedown",m_(kd,px)),fd&&md<11?Fm(Hd.scroller,"dblclick",m_(kd,function(dh){if(!kg(kd,dh)){var yh=f0(kd,dh);if(!(!yh||Kv(kd,dh)||u_(kd.display,dh))){Ng(dh);var Wh=kd.findWordAt(yh);kv(kd.doc,Wh.anchor,Wh.head)}}})):Fm(Hd.scroller,"dblclick",function(dh){return kg(kd,dh)||Ng(dh)}),Fm(Hd.scroller,"contextmenu",function(dh){return _S(kd,dh)}),Fm(Hd.input.getField(),"contextmenu",function(dh){Hd.scroller.contains(dh.target)||_S(kd,dh)});var Jd,Qd={end:0};function mf(){Hd.activeTouch&&(Jd=setTimeout(function(){return Hd.activeTouch=null},1e3),Qd=Hd.activeTouch,Qd.end=+new Date)}function wf(dh){if(dh.touches.length!=1)return!1;var yh=dh.touches[0];return yh.radiusX<=1&&yh.radiusY<=1}function Gf(dh,yh){if(yh.left==null)return!0;var Wh=yh.left-dh.left,um=yh.top-dh.top;return Wh*Wh+um*um>20*20}Fm(Hd.scroller,"touchstart",function(dh){if(!kg(kd,dh)&&!wf(dh)&&!Kv(kd,dh)){Hd.input.ensurePolled(),clearTimeout(Jd);var yh=+new Date;Hd.activeTouch={start:yh,moved:!1,prev:yh-Qd.end<=300?Qd:null},dh.touches.length==1&&(Hd.activeTouch.left=dh.touches[0].pageX,Hd.activeTouch.top=dh.touches[0].pageY)}}),Fm(Hd.scroller,"touchmove",function(){Hd.activeTouch&&(Hd.activeTouch.moved=!0)}),Fm(Hd.scroller,"touchend",function(dh){var yh=Hd.activeTouch;if(yh&&!u_(Hd,dh)&&yh.left!=null&&!yh.moved&&new Date-yh.start<300){var Wh=kd.coordsChar(Hd.activeTouch,"page"),um;!yh.prev||Gf(yh,yh.prev)?um=new d_(Wh,Wh):!yh.prev.prev||Gf(yh,yh.prev.prev)?um=kd.findWordAt(Wh):um=new d_(Om(Wh.line,0),Pg(kd.doc,Om(Wh.line+1,0))),kd.setSelection(um.anchor,um.head),kd.focus(),Ng(dh)}mf()}),Fm(Hd.scroller,"touchcancel",mf),Fm(Hd.scroller,"scroll",function(){Hd.scroller.clientHeight&&(dE(kd,Hd.scroller.scrollTop),e0(kd,Hd.scroller.scrollLeft,!0),Eg(kd,"scroll",kd))}),Fm(Hd.scroller,"mousewheel",function(dh){return jT(kd,dh)}),Fm(Hd.scroller,"DOMMouseScroll",function(dh){return jT(kd,dh)}),Fm(Hd.wrapper,"scroll",function(){return Hd.wrapper.scrollTop=Hd.wrapper.scrollLeft=0}),Hd.dragFunctions={enter:function(dh){kg(kd,dh)||C_(dh)},over:function(dh){kg(kd,dh)||(Xg(kd,dh),C_(dh))},start:function(dh){return cT(kd,dh)},drop:m_(kd,Yx),leave:function(dh){kg(kd,dh)||nx(kd)}};var Qf=Hd.input.getField();Fm(Qf,"keyup",function(dh){return s0.call(kd,dh)}),Fm(Qf,"keydown",m_(kd,hT)),Fm(Qf,"keypress",m_(kd,ux)),Fm(Qf,"focus",function(dh){return GS(kd,dh)}),Fm(Qf,"blur",function(dh){return Cv(kd,dh)})}var vS=[];o_.defineInitHook=function(kd){return vS.push(kd)};function OE(kd,Hd,Jd,Qd){var mf=kd.doc,wf;Jd==null&&(Jd="add"),Jd=="smart"&&(mf.mode.indent?wf=X_(kd,Hd).state:Jd="prev");var Gf=kd.options.tabSize,Qf=tg(mf,Hd),dh=Yf(Qf.text,null,Gf);Qf.stateAfter&&(Qf.stateAfter=null);var yh=Qf.text.match(/^\s*/)[0],Wh;if(!Qd&&!/\S/.test(Qf.text))Wh=0,Jd="not";else if(Jd=="smart"&&(Wh=mf.mode.indent(wf,Qf.text.slice(yh.length),Qf.text),Wh==Nf||Wh>150)){if(!Qd)return;Jd="prev"}Jd=="prev"?Hd>mf.first?Wh=Yf(tg(mf,Hd-1).text,null,Gf):Wh=0:Jd=="add"?Wh=dh+kd.options.indentUnit:Jd=="subtract"?Wh=dh-kd.options.indentUnit:typeof Jd=="number"&&(Wh=dh+Jd),Wh=Math.max(0,Wh);var um="",Dm=0;if(kd.options.indentWithTabs)for(var Sm=Math.floor(Wh/Gf);Sm;--Sm)Dm+=Gf,um+=" ";if(Dm<Wh&&(um+=Kf(Wh-Dm)),um!=yh)return Jy(mf,um,Om(Hd,0),Om(Hd,yh.length),"+input"),Qf.stateAfter=null,!0;for(var jm=0;jm<mf.sel.ranges.length;jm++){var Wm=mf.sel.ranges[jm];if(Wm.head.line==Hd&&Wm.head.ch<yh.length){var eg=Om(Hd,yh.length);Hb(mf,jm,new d_(eg,eg));break}}}var Gb=null;function ES(kd){Gb=kd}function vT(kd,Hd,Jd,Qd,mf){var wf=kd.doc;kd.display.shift=!1,Qd||(Qd=wf.sel);var Gf=+new Date-200,Qf=mf=="paste"||kd.state.pasteIncoming>Gf,dh=Pf(Hd),yh=null;if(Qf&&Qd.ranges.length>1)if(Gb&&Gb.text.join(`
|
||
`)==Hd){if(Qd.ranges.length%Gb.text.length==0){yh=[];for(var Wh=0;Wh<Gb.text.length;Wh++)yh.push(wf.splitLines(Gb.text[Wh]))}}else dh.length==Qd.ranges.length&&kd.options.pasteLinesPerSelection&&(yh=Ah(dh,function(dg){return[dg]}));for(var um=kd.curOp.updateInput,Dm=Qd.ranges.length-1;Dm>=0;Dm--){var Sm=Qd.ranges[Dm],jm=Sm.from(),Wm=Sm.to();Sm.empty()&&(Jd&&Jd>0?jm=Om(jm.line,jm.ch-Jd):kd.state.overwrite&&!Qf?Wm=Om(Wm.line,Math.min(tg(wf,Wm.line).text.length,Wm.ch+wh(dh).length)):Qf&&Gb&&Gb.lineWise&&Gb.text.join(`
|
||
`)==dh.join(`
|
||
`)&&(jm=Wm=Om(jm.line,0)));var eg={from:jm,to:Wm,text:yh?yh[Dm%yh.length]:dh,origin:mf||(Qf?"paste":kd.state.cutIncoming>Gf?"cut":"+input")};jv(kd.doc,eg),Kd(kd,"inputRead",kd,eg)}Hd&&!Qf&&SS(kd,Hd),D_(kd),kd.curOp.updateInput<2&&(kd.curOp.updateInput=um),kd.curOp.typing=!0,kd.state.pasteIncoming=kd.state.cutIncoming=-1}function b0(kd,Hd){var Jd=kd.clipboardData&&kd.clipboardData.getData("Text");if(Jd)return kd.preventDefault(),!Hd.isReadOnly()&&!Hd.options.disableInput&&Hd.hasFocus()&&db(Hd,function(){return vT(Hd,Jd,0,null,"paste")}),!0}function SS(kd,Hd){if(!(!kd.options.electricChars||!kd.options.smartIndent))for(var Jd=kd.doc.sel,Qd=Jd.ranges.length-1;Qd>=0;Qd--){var mf=Jd.ranges[Qd];if(!(mf.head.ch>100||Qd&&Jd.ranges[Qd-1].head.line==mf.head.line)){var wf=kd.getModeAt(mf.head),Gf=!1;if(wf.electricChars){for(var Qf=0;Qf<wf.electricChars.length;Qf++)if(Hd.indexOf(wf.electricChars.charAt(Qf))>-1){Gf=OE(kd,mf.head.line,"smart");break}}else wf.electricInput&&wf.electricInput.test(tg(kd.doc,mf.head.line).text.slice(0,mf.head.ch))&&(Gf=OE(kd,mf.head.line,"smart"));Gf&&Kd(kd,"electricInput",kd,mf.head.line)}}}function TS(kd){for(var Hd=[],Jd=[],Qd=0;Qd<kd.doc.sel.ranges.length;Qd++){var mf=kd.doc.sel.ranges[Qd].head.line,wf={anchor:Om(mf,0),head:Om(mf+1,0)};Jd.push(wf),Hd.push(kd.getRange(wf.anchor,wf.head))}return{text:Hd,ranges:Jd}}function kE(kd,Hd,Jd,Qd){kd.setAttribute("autocorrect",Jd?"on":"off"),kd.setAttribute("autocapitalize",Qd?"on":"off"),kd.setAttribute("spellcheck",!!Hd)}function ME(){var kd=vf("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),Hd=vf("div",[kd],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return vd?kd.style.width="1000px":kd.setAttribute("wrap","off"),Ld&&(kd.style.border="1px solid black"),Hd}function Xv(kd){var Hd=kd.optionHandlers,Jd=kd.helpers={};kd.prototype={constructor:kd,focus:function(){zf(this).focus(),this.display.input.focus()},setOption:function(Qd,mf){var wf=this.options,Gf=wf[Qd];wf[Qd]==mf&&Qd!="mode"||(wf[Qd]=mf,Hd.hasOwnProperty(Qd)&&m_(this,Hd[Qd])(this,mf,Gf),Eg(this,"optionChange",this,Qd))},getOption:function(Qd){return this.options[Qd]},getDoc:function(){return this.doc},addKeyMap:function(Qd,mf){this.state.keyMaps[mf?"push":"unshift"](xE(Qd))},removeKeyMap:function(Qd){for(var mf=this.state.keyMaps,wf=0;wf<mf.length;++wf)if(mf[wf]==Qd||mf[wf].name==Qd)return mf.splice(wf,1),!0},addOverlay:Bg(function(Qd,mf){var wf=Qd.token?Qd:kd.getMode(this.options,Qd);if(wf.startState)throw new Error("Overlays may not be stateful.");mh(this.state.overlays,{mode:wf,modeSpec:Qd,opaque:mf&&mf.opaque,priority:mf&&mf.priority||0},function(Gf){return Gf.priority}),this.state.modeGen++,Eb(this)}),removeOverlay:Bg(function(Qd){for(var mf=this.state.overlays,wf=0;wf<mf.length;++wf){var Gf=mf[wf].modeSpec;if(Gf==Qd||typeof Qd=="string"&&Gf.name==Qd){mf.splice(wf,1),this.state.modeGen++,Eb(this);return}}}),indentLine:Bg(function(Qd,mf,wf){typeof mf!="string"&&typeof mf!="number"&&(mf==null?mf=this.options.smartIndent?"smart":"prev":mf=mf?"add":"subtract"),Um(this.doc,Qd)&&OE(this,Qd,mf,wf)}),indentSelection:Bg(function(Qd){for(var mf=this.doc.sel.ranges,wf=-1,Gf=0;Gf<mf.length;Gf++){var Qf=mf[Gf];if(Qf.empty())Qf.head.line>wf&&(OE(this,Qf.head.line,Qd,!0),wf=Qf.head.line,Gf==this.doc.sel.primIndex&&D_(this));else{var dh=Qf.from(),yh=Qf.to(),Wh=Math.max(wf,dh.line);wf=Math.min(this.lastLine(),yh.line-(yh.ch?0:1))+1;for(var um=Wh;um<wf;++um)OE(this,um,Qd);var Dm=this.doc.sel.ranges;dh.ch==0&&mf.length==Dm.length&&Dm[Gf].from().ch>0&&Hb(this.doc,Gf,new d_(dh,Dm[Gf].to()),ph)}}}),getTokenAt:function(Qd,mf){return L0(this,Qd,mf)},getLineTokens:function(Qd,mf){return L0(this,Om(Qd),mf,!0)},getTokenTypeAt:function(Qd){Qd=Pg(this.doc,Qd);var mf=u0(this,tg(this.doc,Qd.line)),wf=0,Gf=(mf.length-1)/2,Qf=Qd.ch,dh;if(Qf==0)dh=mf[2];else for(;;){var yh=wf+Gf>>1;if((yh?mf[yh*2-1]:0)>=Qf)Gf=yh;else if(mf[yh*2+1]<Qf)wf=yh+1;else{dh=mf[yh*2+2];break}}var Wh=dh?dh.indexOf("overlay "):-1;return Wh<0?dh:Wh==0?null:dh.slice(0,Wh-1)},getModeAt:function(Qd){var mf=this.doc.mode;return mf.innerMode?kd.innerMode(mf,this.getTokenAt(Qd).state).mode:mf},getHelper:function(Qd,mf){return this.getHelpers(Qd,mf)[0]},getHelpers:function(Qd,mf){var wf=[];if(!Jd.hasOwnProperty(mf))return wf;var Gf=Jd[mf],Qf=this.getModeAt(Qd);if(typeof Qf[mf]=="string")Gf[Qf[mf]]&&wf.push(Gf[Qf[mf]]);else if(Qf[mf])for(var dh=0;dh<Qf[mf].length;dh++){var yh=Gf[Qf[mf][dh]];yh&&wf.push(yh)}else Qf.helperType&&Gf[Qf.helperType]?wf.push(Gf[Qf.helperType]):Gf[Qf.name]&&wf.push(Gf[Qf.name]);for(var Wh=0;Wh<Gf._global.length;Wh++){var um=Gf._global[Wh];um.pred(Qf,this)&&Th(wf,um.val)==-1&&wf.push(um.val)}return wf},getStateAfter:function(Qd,mf){var wf=this.doc;return Qd=Mb(wf,Qd??wf.first+wf.size-1),X_(this,Qd+1,mf).state},cursorCoords:function(Qd,mf){var wf,Gf=this.doc.sel.primary();return Qd==null?wf=Gf.head:typeof Qd=="object"?wf=Pg(this.doc,Qd):wf=Qd?Gf.from():Gf.to(),$m(this,wf,mf||"page")},charCoords:function(Qd,mf){return Vm(this,Pg(this.doc,Qd),mf||"page")},coordsChar:function(Qd,mf){return Qd=Nm(this,Qd,mf||"page"),s_(this,Qd.left,Qd.top)},lineAtHeight:function(Qd,mf){return Qd=Nm(this,{top:Qd,left:0},mf||"page").top,Xh(this.doc,Qd+this.display.viewOffset)},heightAtLine:function(Qd,mf,wf){var Gf=!1,Qf;if(typeof Qd=="number"){var dh=this.doc.first+this.doc.size-1;Qd<this.doc.first?Qd=this.doc.first:Qd>dh&&(Qd=dh,Gf=!0),Qf=tg(this.doc,Qd)}else Qf=Qd;return w0(this,Qf,{top:0,left:0},mf||"page",wf||Gf).top+(Gf?this.doc.height-Bb(Qf):0)},defaultTextHeight:function(){return Qb(this.display)},defaultCharWidth:function(){return D0(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(Qd,mf,wf,Gf,Qf){var dh=this.display;Qd=$m(this,Pg(this.doc,Qd));var yh=Qd.bottom,Wh=Qd.left;if(mf.style.position="absolute",mf.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(mf),dh.sizer.appendChild(mf),Gf=="over")yh=Qd.top;else if(Gf=="above"||Gf=="near"){var um=Math.max(dh.wrapper.clientHeight,this.doc.height),Dm=Math.max(dh.sizer.clientWidth,dh.lineSpace.clientWidth);(Gf=="above"||Qd.bottom+mf.offsetHeight>um)&&Qd.top>mf.offsetHeight?yh=Qd.top-mf.offsetHeight:Qd.bottom+mf.offsetHeight<=um&&(yh=Qd.bottom),Wh+mf.offsetWidth>Dm&&(Wh=Dm-mf.offsetWidth)}mf.style.top=yh+"px",mf.style.left=mf.style.right="",Qf=="right"?(Wh=dh.sizer.clientWidth-mf.offsetWidth,mf.style.right="0px"):(Qf=="left"?Wh=0:Qf=="middle"&&(Wh=(dh.sizer.clientWidth-mf.offsetWidth)/2),mf.style.left=Wh+"px"),wf&&kT(this,{left:Wh,top:yh,right:Wh+mf.offsetWidth,bottom:yh+mf.offsetHeight})},triggerOnKeyDown:Bg(hT),triggerOnKeyPress:Bg(ux),triggerOnKeyUp:s0,triggerOnMouseDown:Bg(px),execCommand:function(Qd){if(wE.hasOwnProperty(Qd))return wE[Qd].call(null,this)},triggerElectric:Bg(function(Qd){SS(this,Qd)}),findPosH:function(Qd,mf,wf,Gf){var Qf=1;mf<0&&(Qf=-1,mf=-mf);for(var dh=Pg(this.doc,Qd),yh=0;yh<mf&&(dh=Lg(this.doc,dh,Qf,wf,Gf),!dh.hitSide);++yh);return dh},moveH:Bg(function(Qd,mf){var wf=this;this.extendSelectionsBy(function(Gf){return wf.display.shift||wf.doc.extend||Gf.empty()?Lg(wf.doc,Gf.head,Qd,mf,wf.options.rtlMoveVisually):Qd<0?Gf.from():Gf.to()},Zf)}),deleteH:Bg(function(Qd,mf){var wf=this.doc.sel,Gf=this.doc;wf.somethingSelected()?Gf.replaceSelection("",null,"+delete"):X0(this,function(Qf){var dh=Lg(Gf,Qf.head,Qd,mf,!1);return Qd<0?{from:dh,to:Qf.head}:{from:Qf.head,to:dh}})}),findPosV:function(Qd,mf,wf,Gf){var Qf=1,dh=Gf;mf<0&&(Qf=-1,mf=-mf);for(var yh=Pg(this.doc,Qd),Wh=0;Wh<mf;++Wh){var um=$m(this,yh,"div");if(dh==null?dh=um.left:um.left=dh,yh=$E(this,um,Qf,wf),yh.hitSide)break}return yh},moveV:Bg(function(Qd,mf){var wf=this,Gf=this.doc,Qf=[],dh=!this.display.shift&&!Gf.extend&&Gf.sel.somethingSelected();if(Gf.extendSelectionsBy(function(Wh){if(dh)return Qd<0?Wh.from():Wh.to();var um=$m(wf,Wh.head,"div");Wh.goalColumn!=null&&(um.left=Wh.goalColumn),Qf.push(um.left);var Dm=$E(wf,um,Qd,mf);return mf=="page"&&Wh==Gf.sel.primary()&&zS(wf,Vm(wf,Dm,"div").top-um.top),Dm},Zf),Qf.length)for(var yh=0;yh<Gf.sel.ranges.length;yh++)Gf.sel.ranges[yh].goalColumn=Qf[yh]}),findWordAt:function(Qd){var mf=this.doc,wf=tg(mf,Qd.line).text,Gf=Qd.ch,Qf=Qd.ch;if(wf){var dh=this.getHelper(Qd,"wordChars");(Qd.sticky=="before"||Qf==wf.length)&&Gf?--Gf:++Qf;for(var yh=wf.charAt(Gf),Wh=gm(yh,dh)?function(um){return gm(um,dh)}:/\s/.test(yh)?function(um){return/\s/.test(um)}:function(um){return!/\s/.test(um)&&!gm(um)};Gf>0&&Wh(wf.charAt(Gf-1));)--Gf;for(;Qf<wf.length&&Wh(wf.charAt(Qf));)++Qf}return new d_(Om(Qd.line,Gf),Om(Qd.line,Qf))},toggleOverwrite:function(Qd){Qd!=null&&Qd==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?eh(this.display.cursorDiv,"CodeMirror-overwrite"):Ef(this.display.cursorDiv,"CodeMirror-overwrite"),Eg(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Jf(Wf(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Bg(function(Qd,mf){z_(this,Qd,mf)}),getScrollInfo:function(){var Qd=this.display.scroller;return{left:Qd.scrollLeft,top:Qd.scrollTop,height:Qd.scrollHeight-p0(this)-this.display.barHeight,width:Qd.scrollWidth-p0(this)-this.display.barWidth,clientHeight:BS(this),clientWidth:Dy(this)}},scrollIntoView:Bg(function(Qd,mf){Qd==null?(Qd={from:this.doc.sel.primary().head,to:null},mf==null&&(mf=this.options.cursorScrollMargin)):typeof Qd=="number"?Qd={from:Om(Qd,0),to:null}:Qd.from==null&&(Qd={from:Qd,to:null}),Qd.to||(Qd.to=Qd.from),Qd.margin=mf||0,Qd.from.line!=null?Mx(this,Qd):WS(this,Qd.from,Qd.to,Qd.margin)}),setSize:Bg(function(Qd,mf){var wf=this,Gf=function(dh){return typeof dh=="number"||/^\d+$/.test(String(dh))?dh+"px":dh};Qd!=null&&(this.display.wrapper.style.width=Gf(Qd)),mf!=null&&(this.display.wrapper.style.height=Gf(mf)),this.options.lineWrapping&&DT(this);var Qf=this.display.viewFrom;this.doc.iter(Qf,this.display.viewTo,function(dh){if(dh.widgets){for(var yh=0;yh<dh.widgets.length;yh++)if(dh.widgets[yh].noHScroll){U0(wf,Qf,"widget");break}}++Qf}),this.curOp.forceUpdate=!0,Eg(this,"refresh",this)}),operation:function(Qd){return db(this,Qd)},startOperation:function(){return By(this)},endOperation:function(){return Hy(this)},refresh:Bg(function(){var Qd=this.display.cachedTextHeight;Eb(this),this.curOp.forceUpdate=!0,lE(this),z_(this,this.doc.scrollLeft,this.doc.scrollTop),KS(this.display),(Qd==null||Math.abs(Qd-Qb(this.display))>.5||this.options.lineWrapping)&&JE(this),Eg(this,"refresh",this)}),swapDoc:Bg(function(Qd){var mf=this.doc;return mf.cm=null,this.state.selectingText&&this.state.selectingText(),ZS(this,Qd),lE(this),this.display.input.reset(),z_(this,Qd.scrollLeft,Qd.scrollTop),this.curOp.forceScroll=!0,Kd(this,"swapDoc",this,mf),mf}),phrase:function(Qd){var mf=this.options.phrases;return mf&&Object.prototype.hasOwnProperty.call(mf,Qd)?mf[Qd]:Qd},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Kg(kd),kd.registerHelper=function(Qd,mf,wf){Jd.hasOwnProperty(Qd)||(Jd[Qd]=kd[Qd]={_global:[]}),Jd[Qd][mf]=wf},kd.registerGlobalHelper=function(Qd,mf,wf,Gf){kd.registerHelper(Qd,mf,Gf),Jd[Qd]._global.push({pred:wf,val:Gf})}}function Lg(kd,Hd,Jd,Qd,mf){var wf=Hd,Gf=Jd,Qf=tg(kd,Hd.line),dh=mf&&kd.direction=="rtl"?-Jd:Jd;function yh(){var yg=Hd.line+dh;return yg<kd.first||yg>=kd.first+kd.size?!1:(Hd=new Om(yg,Hd.ch,Hd.sticky),Qf=tg(kd,yg))}function Wh(yg){var lg;if(Qd=="codepoint"){var xg=Qf.text.charCodeAt(Hd.ch+(Jd>0?0:-1));if(isNaN(xg))lg=null;else{var Og=Jd>0?xg>=55296&&xg<56320:xg>=56320&&xg<57343;lg=new Om(Hd.line,Math.max(0,Math.min(Qf.text.length,Hd.ch+Jd*(Og?2:1))),-Jd)}}else mf?lg=Q0(kd.cm,Qf,Hd,Jd):lg=CE(Qf,Hd,Jd);if(lg==null)if(!yg&&yh())Hd=AE(mf,kd.cm,Qf,Hd.line,dh);else return!1;else Hd=lg;return!0}if(Qd=="char"||Qd=="codepoint")Wh();else if(Qd=="column")Wh(!0);else if(Qd=="word"||Qd=="group")for(var um=null,Dm=Qd=="group",Sm=kd.cm&&kd.cm.getHelper(Hd,"wordChars"),jm=!0;!(Jd<0&&!Wh(!jm));jm=!1){var Wm=Qf.text.charAt(Hd.ch)||`
|
||
`,eg=gm(Wm,Sm)?"w":Dm&&Wm==`
|
||
`?"n":!Dm||/\s/.test(Wm)?null:"p";if(Dm&&!jm&&!eg&&(eg="s"),um&&um!=eg){Jd<0&&(Jd=1,Wh(),Hd.sticky="after");break}if(eg&&(um=eg),Jd>0&&!Wh(!jm))break}var dg=Lv(kd,Hd,wf,Gf,!0);return zg(wf,dg)&&(dg.hitSide=!0),dg}function $E(kd,Hd,Jd,Qd){var mf=kd.doc,wf=Hd.left,Gf;if(Qd=="page"){var Qf=Math.min(kd.display.wrapper.clientHeight,zf(kd).innerHeight||mf(kd).documentElement.clientHeight),dh=Math.max(Qf-.5*Qb(kd.display),3);Gf=(Jd>0?Hd.bottom:Hd.top)+Jd*dh}else Qd=="line"&&(Gf=Jd>0?Hd.bottom+3:Hd.top-3);for(var yh;yh=s_(kd,wf,Gf),!!yh.outside;){if(Jd<0?Gf<=0:Gf>=mf.height){yh.hitSide=!0;break}Gf+=Jd*5}return yh}var p_=function(kd){this.cm=kd,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ih,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};p_.prototype.init=function(kd){var Hd=this,Jd=this,Qd=Jd.cm,mf=Jd.div=kd.lineDiv;mf.contentEditable=!0,kE(mf,Qd.options.spellcheck,Qd.options.autocorrect,Qd.options.autocapitalize);function wf(Qf){for(var dh=Qf.target;dh;dh=dh.parentNode){if(dh==mf)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(dh.className))break}return!1}Fm(mf,"paste",function(Qf){!wf(Qf)||kg(Qd,Qf)||b0(Qf,Qd)||md<=11&&setTimeout(m_(Qd,function(){return Hd.updateFromDOM()}),20)}),Fm(mf,"compositionstart",function(Qf){Hd.composing={data:Qf.data,done:!1}}),Fm(mf,"compositionupdate",function(Qf){Hd.composing||(Hd.composing={data:Qf.data,done:!1})}),Fm(mf,"compositionend",function(Qf){Hd.composing&&(Qf.data!=Hd.composing.data&&Hd.readFromDOMSoon(),Hd.composing.done=!0)}),Fm(mf,"touchstart",function(){return Jd.forceCompositionEnd()}),Fm(mf,"input",function(){Hd.composing||Hd.readFromDOMSoon()});function Gf(Qf){if(!(!wf(Qf)||kg(Qd,Qf))){if(Qd.somethingSelected())ES({lineWise:!1,text:Qd.getSelections()}),Qf.type=="cut"&&Qd.replaceSelection("",null,"cut");else if(Qd.options.lineWiseCopyCut){var dh=TS(Qd);ES({lineWise:!0,text:dh.text}),Qf.type=="cut"&&Qd.operation(function(){Qd.setSelections(dh.ranges,0,ph),Qd.replaceSelection("",null,"cut")})}else return;if(Qf.clipboardData){Qf.clipboardData.clearData();var yh=Gb.text.join(`
|
||
`);if(Qf.clipboardData.setData("Text",yh),Qf.clipboardData.getData("Text")==yh){Qf.preventDefault();return}}var Wh=ME(),um=Wh.firstChild;kE(um),Qd.display.lineSpace.insertBefore(Wh,Qd.display.lineSpace.firstChild),um.value=Gb.text.join(`
|
||
`);var Dm=Jf(qf(mf));Uf(um),setTimeout(function(){Qd.display.lineSpace.removeChild(Wh),Dm.focus(),Dm==mf&&Jd.showPrimarySelection()},50)}}Fm(mf,"copy",Gf),Fm(mf,"cut",Gf)},p_.prototype.screenReaderLabelChanged=function(kd){kd?this.div.setAttribute("aria-label",kd):this.div.removeAttribute("aria-label")},p_.prototype.prepareSelection=function(){var kd=HS(this.cm,!1);return kd.focus=Jf(qf(this.div))==this.div,kd},p_.prototype.showSelection=function(kd,Hd){!kd||!this.cm.display.view.length||((kd.focus||Hd)&&this.showPrimarySelection(),this.showMultipleSelections(kd))},p_.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},p_.prototype.showPrimarySelection=function(){var kd=this.getSelection(),Hd=this.cm,Jd=Hd.doc.sel.primary(),Qd=Jd.from(),mf=Jd.to();if(Hd.display.viewTo==Hd.display.viewFrom||Qd.line>=Hd.display.viewTo||mf.line<Hd.display.viewFrom){kd.removeAllRanges();return}var wf=tb(Hd,kd.anchorNode,kd.anchorOffset),Gf=tb(Hd,kd.focusNode,kd.focusOffset);if(!(wf&&!wf.bad&&Gf&&!Gf.bad&&og(fb(wf,Gf),Qd)==0&&og(M_(wf,Gf),mf)==0)){var Qf=Hd.display.view,dh=Qd.line>=Hd.display.viewFrom&&J0(Hd,Qd)||{node:Qf[0].measure.map[2],offset:0},yh=mf.line<Hd.display.viewTo&&J0(Hd,mf);if(!yh){var Wh=Qf[Qf.length-1].measure,um=Wh.maps?Wh.maps[Wh.maps.length-1]:Wh.map;yh={node:um[um.length-1],offset:um[um.length-2]-um[um.length-3]}}if(!dh||!yh){kd.removeAllRanges();return}var Dm=kd.rangeCount&&kd.getRangeAt(0),Sm;try{Sm=Df(dh.node,dh.offset,yh.offset,yh.node)}catch{}Sm&&(!ld&&Hd.state.focused?(kd.collapse(dh.node,dh.offset),Sm.collapsed||(kd.removeAllRanges(),kd.addRange(Sm))):(kd.removeAllRanges(),kd.addRange(Sm)),Dm&&kd.anchorNode==null?kd.addRange(Dm):ld&&this.startGracePeriod()),this.rememberSelection()}},p_.prototype.startGracePeriod=function(){var kd=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){kd.gracePeriod=!1,kd.selectionChanged()&&kd.cm.operation(function(){return kd.cm.curOp.selectionChanged=!0})},20)},p_.prototype.showMultipleSelections=function(kd){xf(this.cm.display.cursorDiv,kd.cursors),xf(this.cm.display.selectionDiv,kd.selection)},p_.prototype.rememberSelection=function(){var kd=this.getSelection();this.lastAnchorNode=kd.anchorNode,this.lastAnchorOffset=kd.anchorOffset,this.lastFocusNode=kd.focusNode,this.lastFocusOffset=kd.focusOffset},p_.prototype.selectionInEditor=function(){var kd=this.getSelection();if(!kd.rangeCount)return!1;var Hd=kd.getRangeAt(0).commonAncestorContainer;return jf(this.div,Hd)},p_.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Jf(qf(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},p_.prototype.blur=function(){this.div.blur()},p_.prototype.getField=function(){return this.div},p_.prototype.supportsTouch=function(){return!0},p_.prototype.receivedFocus=function(){var kd=this,Hd=this;this.selectionInEditor()?setTimeout(function(){return kd.pollSelection()},20):db(this.cm,function(){return Hd.cm.curOp.selectionChanged=!0});function Jd(){Hd.cm.state.focused&&(Hd.pollSelection(),Hd.polling.set(Hd.cm.options.pollInterval,Jd))}this.polling.set(this.cm.options.pollInterval,Jd)},p_.prototype.selectionChanged=function(){var kd=this.getSelection();return kd.anchorNode!=this.lastAnchorNode||kd.anchorOffset!=this.lastAnchorOffset||kd.focusNode!=this.lastFocusNode||kd.focusOffset!=this.lastFocusOffset},p_.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var kd=this.getSelection(),Hd=this.cm;if(Bd&&Nd&&this.cm.display.gutterSpecs.length&&n1(kd.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var Jd=tb(Hd,kd.anchorNode,kd.anchorOffset),Qd=tb(Hd,kd.focusNode,kd.focusOffset);Jd&&Qd&&db(Hd,function(){sb(Hd.doc,V0(Jd,Qd),ph),(Jd.bad||Qd.bad)&&(Hd.curOp.selectionChanged=!0)})}}},p_.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var kd=this.cm,Hd=kd.display,Jd=kd.doc.sel.primary(),Qd=Jd.from(),mf=Jd.to();if(Qd.ch==0&&Qd.line>kd.firstLine()&&(Qd=Om(Qd.line-1,tg(kd.doc,Qd.line-1).length)),mf.ch==tg(kd.doc,mf.line).text.length&&mf.line<kd.lastLine()&&(mf=Om(mf.line+1,0)),Qd.line<Hd.viewFrom||mf.line>Hd.viewTo-1)return!1;var wf,Gf,Qf;Qd.line==Hd.viewFrom||(wf=Iy(kd,Qd.line))==0?(Gf=_h(Hd.view[0].line),Qf=Hd.view[0].node):(Gf=_h(Hd.view[wf].line),Qf=Hd.view[wf-1].node.nextSibling);var dh=Iy(kd,mf.line),yh,Wh;if(dh==Hd.view.length-1?(yh=Hd.viewTo-1,Wh=Hd.lineDiv.lastChild):(yh=_h(Hd.view[dh+1].line)-1,Wh=Hd.view[dh+1].node.previousSibling),!Qf)return!1;for(var um=kd.doc.splitLines(yx(kd,Qf,Wh,Gf,yh)),Dm=y_(kd.doc,Om(Gf,0),Om(yh,tg(kd.doc,yh).text.length));um.length>1&&Dm.length>1;)if(wh(um)==wh(Dm))um.pop(),Dm.pop(),yh--;else if(um[0]==Dm[0])um.shift(),Dm.shift(),Gf++;else break;for(var Sm=0,jm=0,Wm=um[0],eg=Dm[0],dg=Math.min(Wm.length,eg.length);Sm<dg&&Wm.charCodeAt(Sm)==eg.charCodeAt(Sm);)++Sm;for(var yg=wh(um),lg=wh(Dm),xg=Math.min(yg.length-(um.length==1?Sm:0),lg.length-(Dm.length==1?Sm:0));jm<xg&&yg.charCodeAt(yg.length-jm-1)==lg.charCodeAt(lg.length-jm-1);)++jm;if(um.length==1&&Dm.length==1&&Gf==Qd.line)for(;Sm&&Sm>Qd.ch&&yg.charCodeAt(yg.length-jm-1)==lg.charCodeAt(lg.length-jm-1);)Sm--,jm++;um[um.length-1]=yg.slice(0,yg.length-jm).replace(/^\u200b+/,""),um[0]=um[0].slice(Sm).replace(/\u200b+$/,"");var Og=Om(Gf,Sm),Ig=Om(yh,Dm.length?wh(Dm).length-jm:0);if(um.length>1||um[0]||og(Og,Ig))return Jy(kd.doc,um,Og,Ig,"+input"),!0},p_.prototype.ensurePolled=function(){this.forceCompositionEnd()},p_.prototype.reset=function(){this.forceCompositionEnd()},p_.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},p_.prototype.readFromDOMSoon=function(){var kd=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(kd.readDOMTimeout=null,kd.composing)if(kd.composing.done)kd.composing=null;else return;kd.updateFromDOM()},80))},p_.prototype.updateFromDOM=function(){var kd=this;(this.cm.isReadOnly()||!this.pollContent())&&db(this.cm,function(){return Eb(kd.cm)})},p_.prototype.setUneditable=function(kd){kd.contentEditable="false"},p_.prototype.onKeyPress=function(kd){kd.charCode==0||this.composing||(kd.preventDefault(),this.cm.isReadOnly()||m_(this.cm,vT)(this.cm,String.fromCharCode(kd.charCode==null?kd.keyCode:kd.charCode),0))},p_.prototype.readOnlyChanged=function(kd){this.div.contentEditable=String(kd!="nocursor")},p_.prototype.onContextMenu=function(){},p_.prototype.resetPosition=function(){},p_.prototype.needsContentAttribute=!0;function J0(kd,Hd){var Jd=XE(kd,Hd.line);if(!Jd||Jd.hidden)return null;var Qd=tg(kd.doc,Hd.line),mf=CT(Jd,Qd,Hd.line),wf=Im(Qd,kd.doc.direction),Gf="left";if(wf){var Qf=Zh(wf,Hd.ch);Gf=Qf%2?"right":"left"}var dh=wT(mf.map,Hd.ch,Gf);return dh.offset=dh.collapse=="right"?dh.end:dh.start,dh}function n1(kd){for(var Hd=kd;Hd;Hd=Hd.parentNode)if(/CodeMirror-gutter-wrapper/.test(Hd.className))return!0;return!1}function Z0(kd,Hd){return Hd&&(kd.bad=!0),kd}function yx(kd,Hd,Jd,Qd,mf){var wf="",Gf=!1,Qf=kd.doc.lineSeparator(),dh=!1;function yh(Sm){return function(jm){return jm.id==Sm}}function Wh(){Gf&&(wf+=Qf,dh&&(wf+=Qf),Gf=dh=!1)}function um(Sm){Sm&&(Wh(),wf+=Sm)}function Dm(Sm){if(Sm.nodeType==1){var jm=Sm.getAttribute("cm-text");if(jm){um(jm);return}var Wm=Sm.getAttribute("cm-marker"),eg;if(Wm){var dg=kd.findMarks(Om(Qd,0),Om(mf+1,0),yh(+Wm));dg.length&&(eg=dg[0].find(0))&&um(y_(kd.doc,eg.from,eg.to).join(Qf));return}if(Sm.getAttribute("contenteditable")=="false")return;var yg=/^(pre|div|p|li|table|br)$/i.test(Sm.nodeName);if(!/^br$/i.test(Sm.nodeName)&&Sm.textContent.length==0)return;yg&&Wh();for(var lg=0;lg<Sm.childNodes.length;lg++)Dm(Sm.childNodes[lg]);/^(pre|p)$/i.test(Sm.nodeName)&&(dh=!0),yg&&(Gf=!0)}else Sm.nodeType==3&&um(Sm.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Dm(Hd),Hd!=Jd;)Hd=Hd.nextSibling,dh=!1;return wf}function tb(kd,Hd,Jd){var Qd;if(Hd==kd.display.lineDiv){if(Qd=kd.display.lineDiv.childNodes[Jd],!Qd)return Z0(kd.clipPos(Om(kd.display.viewTo-1)),!0);Hd=null,Jd=0}else for(Qd=Hd;;Qd=Qd.parentNode){if(!Qd||Qd==kd.display.lineDiv)return null;if(Qd.parentNode&&Qd.parentNode==kd.display.lineDiv)break}for(var mf=0;mf<kd.display.view.length;mf++){var wf=kd.display.view[mf];if(wf.node==Qd)return i1(wf,Hd,Jd)}}function i1(kd,Hd,Jd){var Qd=kd.text.firstChild,mf=!1;if(!Hd||!jf(Qd,Hd))return Z0(Om(_h(kd.line),0),!0);if(Hd==Qd&&(mf=!0,Hd=Qd.childNodes[Jd],Jd=0,!Hd)){var wf=kd.rest?wh(kd.rest):kd.line;return Z0(Om(_h(wf),wf.text.length),mf)}var Gf=Hd.nodeType==3?Hd:null,Qf=Hd;for(!Gf&&Hd.childNodes.length==1&&Hd.firstChild.nodeType==3&&(Gf=Hd.firstChild,Jd&&(Jd=Gf.nodeValue.length));Qf.parentNode!=Qd;)Qf=Qf.parentNode;var dh=kd.measure,yh=dh.maps;function Wh(eg,dg,yg){for(var lg=-1;lg<(yh?yh.length:0);lg++)for(var xg=lg<0?dh.map:yh[lg],Og=0;Og<xg.length;Og+=3){var Ig=xg[Og+2];if(Ig==eg||Ig==dg){var Wg=_h(lg<0?kd.line:kd.rest[lg]),b_=xg[Og]+yg;return(yg<0||Ig!=eg)&&(b_=xg[Og+(yg?1:0)]),Om(Wg,b_)}}}var um=Wh(Gf,Qf,Jd);if(um)return Z0(um,mf);for(var Dm=Qf.nextSibling,Sm=Gf?Gf.nodeValue.length-Jd:0;Dm;Dm=Dm.nextSibling){if(um=Wh(Dm,Dm.firstChild,0),um)return Z0(Om(um.line,um.ch-Sm),mf);Sm+=Dm.textContent.length}for(var jm=Qf.previousSibling,Wm=Jd;jm;jm=jm.previousSibling){if(um=Wh(jm,jm.firstChild,-1),um)return Z0(Om(um.line,um.ch+Wm),mf);Wm+=jm.textContent.length}}var P_=function(kd){this.cm=kd,this.prevInput="",this.pollingFast=!1,this.polling=new ih,this.hasSelection=!1,this.composing=null,this.resetting=!1};P_.prototype.init=function(kd){var Hd=this,Jd=this,Qd=this.cm;this.createField(kd);var mf=this.textarea;kd.wrapper.insertBefore(this.wrapper,kd.wrapper.firstChild),Ld&&(mf.style.width="0px"),Fm(mf,"input",function(){fd&&md>=9&&Hd.hasSelection&&(Hd.hasSelection=null),Jd.poll()}),Fm(mf,"paste",function(Gf){kg(Qd,Gf)||b0(Gf,Qd)||(Qd.state.pasteIncoming=+new Date,Jd.fastPoll())});function wf(Gf){if(!kg(Qd,Gf)){if(Qd.somethingSelected())ES({lineWise:!1,text:Qd.getSelections()});else if(Qd.options.lineWiseCopyCut){var Qf=TS(Qd);ES({lineWise:!0,text:Qf.text}),Gf.type=="cut"?Qd.setSelections(Qf.ranges,null,ph):(Jd.prevInput="",mf.value=Qf.text.join(`
|
||
`),Uf(mf))}else return;Gf.type=="cut"&&(Qd.state.cutIncoming=+new Date)}}Fm(mf,"cut",wf),Fm(mf,"copy",wf),Fm(kd.scroller,"paste",function(Gf){if(!(u_(kd,Gf)||kg(Qd,Gf))){if(!mf.dispatchEvent){Qd.state.pasteIncoming=+new Date,Jd.focus();return}var Qf=new Event("paste");Qf.clipboardData=Gf.clipboardData,mf.dispatchEvent(Qf)}}),Fm(kd.lineSpace,"selectstart",function(Gf){u_(kd,Gf)||Ng(Gf)}),Fm(mf,"compositionstart",function(){var Gf=Qd.getCursor("from");Jd.composing&&Jd.composing.range.clear(),Jd.composing={start:Gf,range:Qd.markText(Gf,Qd.getCursor("to"),{className:"CodeMirror-composing"})}}),Fm(mf,"compositionend",function(){Jd.composing&&(Jd.poll(),Jd.composing.range.clear(),Jd.composing=null)})},P_.prototype.createField=function(kd){this.wrapper=ME(),this.textarea=this.wrapper.firstChild;var Hd=this.cm.options;kE(this.textarea,Hd.spellcheck,Hd.autocorrect,Hd.autocapitalize)},P_.prototype.screenReaderLabelChanged=function(kd){kd?this.textarea.setAttribute("aria-label",kd):this.textarea.removeAttribute("aria-label")},P_.prototype.prepareSelection=function(){var kd=this.cm,Hd=kd.display,Jd=kd.doc,Qd=HS(kd);if(kd.options.moveInputWithCursor){var mf=$m(kd,Jd.sel.primary().head,"div"),wf=Hd.wrapper.getBoundingClientRect(),Gf=Hd.lineDiv.getBoundingClientRect();Qd.teTop=Math.max(0,Math.min(Hd.wrapper.clientHeight-10,mf.top+Gf.top-wf.top)),Qd.teLeft=Math.max(0,Math.min(Hd.wrapper.clientWidth-10,mf.left+Gf.left-wf.left))}return Qd},P_.prototype.showSelection=function(kd){var Hd=this.cm,Jd=Hd.display;xf(Jd.cursorDiv,kd.cursors),xf(Jd.selectionDiv,kd.selection),kd.teTop!=null&&(this.wrapper.style.top=kd.teTop+"px",this.wrapper.style.left=kd.teLeft+"px")},P_.prototype.reset=function(kd){if(!(this.contextMenuPending||this.composing&&kd)){var Hd=this.cm;if(this.resetting=!0,Hd.somethingSelected()){this.prevInput="";var Jd=Hd.getSelection();this.textarea.value=Jd,Hd.state.focused&&Uf(this.textarea),fd&&md>=9&&(this.hasSelection=Jd)}else kd||(this.prevInput=this.textarea.value="",fd&&md>=9&&(this.hasSelection=null));this.resetting=!1}},P_.prototype.getField=function(){return this.textarea},P_.prototype.supportsTouch=function(){return!1},P_.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Gd||Jf(qf(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},P_.prototype.blur=function(){this.textarea.blur()},P_.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},P_.prototype.receivedFocus=function(){this.slowPoll()},P_.prototype.slowPoll=function(){var kd=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){kd.poll(),kd.cm.state.focused&&kd.slowPoll()})},P_.prototype.fastPoll=function(){var kd=!1,Hd=this;Hd.pollingFast=!0;function Jd(){var Qd=Hd.poll();!Qd&&!kd?(kd=!0,Hd.polling.set(60,Jd)):(Hd.pollingFast=!1,Hd.slowPoll())}Hd.polling.set(20,Jd)},P_.prototype.poll=function(){var kd=this,Hd=this.cm,Jd=this.textarea,Qd=this.prevInput;if(this.contextMenuPending||this.resetting||!Hd.state.focused||kh(Jd)&&!Qd&&!this.composing||Hd.isReadOnly()||Hd.options.disableInput||Hd.state.keySeq)return!1;var mf=Jd.value;if(mf==Qd&&!Hd.somethingSelected())return!1;if(fd&&md>=9&&this.hasSelection===mf||qd&&/[\uf700-\uf7ff]/.test(mf))return Hd.display.input.reset(),!1;if(Hd.doc.sel==Hd.display.selForContextMenu){var wf=mf.charCodeAt(0);if(wf==8203&&!Qd&&(Qd=""),wf==8666)return this.reset(),this.cm.execCommand("undo")}for(var Gf=0,Qf=Math.min(Qd.length,mf.length);Gf<Qf&&Qd.charCodeAt(Gf)==mf.charCodeAt(Gf);)++Gf;return db(Hd,function(){vT(Hd,mf.slice(Gf),Qd.length-Gf,null,kd.composing?"*compose":null),mf.length>1e3||mf.indexOf(`
|
||
`)>-1?Jd.value=kd.prevInput="":kd.prevInput=mf,kd.composing&&(kd.composing.range.clear(),kd.composing.range=Hd.markText(kd.composing.start,Hd.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},P_.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},P_.prototype.onKeyPress=function(){fd&&md>=9&&(this.hasSelection=null),this.fastPoll()},P_.prototype.onContextMenu=function(kd){var Hd=this,Jd=Hd.cm,Qd=Jd.display,mf=Hd.textarea;Hd.contextMenuPending&&Hd.contextMenuPending();var wf=f0(Jd,kd),Gf=Qd.scroller.scrollTop;if(!wf||Od)return;var Qf=Jd.options.resetSelectionOnContextMenu;Qf&&Jd.doc.sel.contains(wf)==-1&&m_(Jd,sb)(Jd.doc,V0(wf),ph);var dh=mf.style.cssText,yh=Hd.wrapper.style.cssText,Wh=Hd.wrapper.offsetParent.getBoundingClientRect();Hd.wrapper.style.cssText="position: static",mf.style.cssText=`position: absolute; width: 30px; height: 30px;
|
||
top: `+(kd.clientY-Wh.top-5)+"px; left: "+(kd.clientX-Wh.left-5)+`px;
|
||
z-index: 1000; background: `+(fd?"rgba(255, 255, 255, .05)":"transparent")+`;
|
||
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var um;vd&&(um=mf.ownerDocument.defaultView.scrollY),Qd.input.focus(),vd&&mf.ownerDocument.defaultView.scrollTo(null,um),Qd.input.reset(),Jd.somethingSelected()||(mf.value=Hd.prevInput=" "),Hd.contextMenuPending=Sm,Qd.selForContextMenu=Jd.doc.sel,clearTimeout(Qd.detectingSelectAll);function Dm(){if(mf.selectionStart!=null){var Wm=Jd.somethingSelected(),eg=""+(Wm?mf.value:"");mf.value="⇚",mf.value=eg,Hd.prevInput=Wm?"":"",mf.selectionStart=1,mf.selectionEnd=eg.length,Qd.selForContextMenu=Jd.doc.sel}}function Sm(){if(Hd.contextMenuPending==Sm&&(Hd.contextMenuPending=!1,Hd.wrapper.style.cssText=yh,mf.style.cssText=dh,fd&&md<9&&Qd.scrollbars.setScrollTop(Qd.scroller.scrollTop=Gf),mf.selectionStart!=null)){(!fd||fd&&md<9)&&Dm();var Wm=0,eg=function(){Qd.selForContextMenu==Jd.doc.sel&&mf.selectionStart==0&&mf.selectionEnd>0&&Hd.prevInput==""?m_(Jd,Fv)(Jd):Wm++<10?Qd.detectingSelectAll=setTimeout(eg,500):(Qd.selForContextMenu=null,Qd.input.reset())};Qd.detectingSelectAll=setTimeout(eg,200)}}if(fd&&md>=9&&Dm(),Zd){C_(kd);var jm=function(){rg(window,"mouseup",jm),setTimeout(Sm,20)};Fm(window,"mouseup",jm)}else setTimeout(Sm,50)},P_.prototype.readOnlyChanged=function(kd){kd||this.reset(),this.textarea.disabled=kd=="nocursor",this.textarea.readOnly=!!kd},P_.prototype.setUneditable=function(){},P_.prototype.needsContentAttribute=!1;function vx(kd,Hd){if(Hd=Hd?Sf(Hd):{},Hd.value=kd.value,!Hd.tabindex&&kd.tabIndex&&(Hd.tabindex=kd.tabIndex),!Hd.placeholder&&kd.placeholder&&(Hd.placeholder=kd.placeholder),Hd.autofocus==null){var Jd=Jf(qf(kd));Hd.autofocus=Jd==kd||kd.getAttribute("autofocus")!=null&&Jd==document.body}function Qd(){kd.value=Qf.getValue()}var mf;if(kd.form&&(Fm(kd.form,"submit",Qd),!Hd.leaveSubmitMethodAlone)){var wf=kd.form;mf=wf.submit;try{var Gf=wf.submit=function(){Qd(),wf.submit=mf,wf.submit(),wf.submit=Gf}}catch{}}Hd.finishInit=function(dh){dh.save=Qd,dh.getTextArea=function(){return kd},dh.toTextArea=function(){dh.toTextArea=isNaN,Qd(),kd.parentNode.removeChild(dh.getWrapperElement()),kd.style.display="",kd.form&&(rg(kd.form,"submit",Qd),!Hd.leaveSubmitMethodAlone&&typeof kd.form.submit=="function"&&(kd.form.submit=mf))}},kd.style.display="none";var Qf=o_(function(dh){return kd.parentNode.insertBefore(dh,kd.nextSibling)},Hd);return Qf}function a1(kd){kd.off=rg,kd.on=Fm,kd.wheelEventPixels=Gx,kd.Doc=mb,kd.splitLines=Pf,kd.countColumn=Yf,kd.findColumn=Rf,kd.isWordChar=Pm,kd.Pass=Nf,kd.signal=Eg,kd.Line=Yb,kd.changeEnd=z0,kd.scrollbarModel=Ly,kd.Pos=Om,kd.cmpPos=og,kd.modes=Jh,kd.mimeModes=hm,kd.resolveMode=Lm,kd.getMode=Gm,kd.modeExtensions=_g,kd.extendMode=Km,kd.copyState=Sg,kd.startState=Zg,kd.innerMode=t_,kd.commands=wE,kd.keyMap=g0,kd.keyName=TE,kd.isModifierKey=fS,kd.lookupKey=Rb,kd.normalizeKeyMap=Ib,kd.StringStream=jg,kd.SharedTextMarker=Gv,kd.TextMarker=a0,kd.LineWidget=ev,kd.e_preventDefault=Ng,kd.e_stopPropagation=g_,kd.e_stop=C_,kd.addClass=eh,kd.contains=jf,kd.rmClass=Ef,kd.keyNames=eb}yT(o_),Xv(o_);var Ex="iter insert remove copy getEditor constructor".split(" ");for(var xS in mb.prototype)mb.prototype.hasOwnProperty(xS)&&Th(Ex,xS)<0&&(o_.prototype[xS]=function(kd){return function(){return kd.apply(this.doc,arguments)}}(mb.prototype[xS]));return Kg(mb),o_.inputStyles={textarea:P_,contenteditable:p_},o_.defineMode=function(kd){!o_.defaults.mode&&kd!="null"&&(o_.defaults.mode=kd),pm.apply(this,arguments)},o_.defineMIME=Uh,o_.defineMode("null",function(){return{token:function(kd){return kd.skipToEnd()}}}),o_.defineMIME("text/plain","null"),o_.defineExtension=function(kd,Hd){o_.prototype[kd]=Hd},o_.defineDocExtension=function(kd,Hd){mb.prototype[kd]=Hd},o_.fromTextArea=vx,a1(o_),o_.version="5.65.18",o_})}(codemirror)),codemirror.exports}var codemirrorExports=requireCodemirror();const CodeMirror=getDefaultExportFromCjs(codemirrorExports);var qt$1=Object.defineProperty,Jt$1=(Ra,qa,nd)=>qa in Ra?qt$1(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:nd}):Ra[qa]=nd,x$1=(Ra,qa,nd)=>Jt$1(Ra,typeof qa!="symbol"?qa+"":qa,nd);function Zt$1(Ra){if(typeof document>"u")return;let qa=document.head||document.getElementsByTagName("head")[0],nd=document.createElement("style");nd.type="text/css",qa.appendChild(nd),nd.styleSheet?nd.styleSheet.cssText=Ra:nd.appendChild(document.createTextNode(Ra))}Zt$1(":where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let vt$1=0,ae$2=class{constructor(){x$1(this,"subscribers"),x$1(this,"toasts"),x$1(this,"subscribe",qa=>(this.subscribers.push(qa),()=>{const nd=this.subscribers.indexOf(qa);this.subscribers.splice(nd,1)})),x$1(this,"publish",qa=>{this.subscribers.forEach(nd=>nd(qa))}),x$1(this,"addToast",qa=>{this.publish(qa),this.toasts=[...this.toasts,qa]}),x$1(this,"create",qa=>{var nd;const{message:od,...ld}=qa,ud=typeof qa.id=="number"||qa.id&&((nd=qa.id)==null?void 0:nd.length)>0?qa.id:vt$1++,dd=this.toasts.find(fd=>fd.id===ud),pd=qa.dismissible===void 0?!0:qa.dismissible;return dd?this.toasts=this.toasts.map(fd=>fd.id===ud?(this.publish({...fd,...qa,id:ud,title:od}),{...fd,...qa,id:ud,dismissible:pd,title:od}):fd):this.addToast({title:od,...ld,dismissible:pd,id:ud}),ud}),x$1(this,"dismiss",qa=>(qa||this.toasts.forEach(nd=>{this.subscribers.forEach(od=>od({id:nd.id,dismiss:!0}))}),this.subscribers.forEach(nd=>nd({id:qa,dismiss:!0})),qa)),x$1(this,"message",(qa,nd)=>this.create({...nd,message:qa,type:"default"})),x$1(this,"error",(qa,nd)=>this.create({...nd,type:"error",message:qa})),x$1(this,"success",(qa,nd)=>this.create({...nd,type:"success",message:qa})),x$1(this,"info",(qa,nd)=>this.create({...nd,type:"info",message:qa})),x$1(this,"warning",(qa,nd)=>this.create({...nd,type:"warning",message:qa})),x$1(this,"loading",(qa,nd)=>this.create({...nd,type:"loading",message:qa})),x$1(this,"promise",(qa,nd)=>{if(!nd)return;let od;nd.loading!==void 0&&(od=this.create({...nd,promise:qa,type:"loading",message:nd.loading,description:typeof nd.description!="function"?nd.description:void 0}));const ld=qa instanceof Promise?qa:qa();let ud=od!==void 0,dd;const pd=ld.then(async md=>{if(dd=["resolve",md],se$2(md)&&!md.ok){ud=!1;const vd=typeof nd.error=="function"?await nd.error(`HTTP error! status: ${md.status}`):nd.error,Ad=typeof nd.description=="function"?await nd.description(`HTTP error! status: ${md.status}`):nd.description;this.create({id:od,type:"error",message:vd,description:Ad})}else if(nd.success!==void 0){ud=!1;const vd=typeof nd.success=="function"?await nd.success(md):nd.success,Ad=typeof nd.description=="function"?await nd.description(md):nd.description;this.create({id:od,type:"success",message:vd,description:Ad})}}).catch(async md=>{if(dd=["reject",md],nd.error!==void 0){ud=!1;const vd=typeof nd.error=="function"?await nd.error(md):nd.error,Ad=typeof nd.description=="function"?await nd.description(md):nd.description;this.create({id:od,type:"error",message:vd,description:Ad})}}).finally(()=>{var md;ud&&(this.dismiss(od),od=void 0),(md=nd.finally)==null||md.call(nd)}),fd=()=>new Promise((md,vd)=>pd.then(()=>dd[0]==="reject"?vd(dd[1]):md(dd[1])).catch(vd));return typeof od!="string"&&typeof od!="number"?{unwrap:fd}:Object.assign(od,{unwrap:fd})}),x$1(this,"custom",(qa,nd)=>{const od=(nd==null?void 0:nd.id)||vt$1++;return this.publish({component:qa,id:od,...nd}),od}),this.subscribers=[],this.toasts=[]}};const I$2=new ae$2;function oe$1(Ra,qa){const nd=(qa==null?void 0:qa.id)||vt$1++;return I$2.create({message:Ra,id:nd,type:"default",...qa}),nd}const se$2=Ra=>Ra&&typeof Ra=="object"&&"ok"in Ra&&typeof Ra.ok=="boolean"&&"status"in Ra&&typeof Ra.status=="number",ne$2=oe$1,re$1=()=>I$2.toasts,Ke$1=Object.assign(ne$2,{success:I$2.success,info:I$2.info,warning:I$2.warning,error:I$2.error,custom:I$2.custom,message:I$2.message,promise:I$2.promise,dismiss:I$2.dismiss,loading:I$2.loading},{getHistory:re$1});function ut$1(Ra){return Ra.label!==void 0}function ie$1(){const Ra=ref$1(!1);return watchEffect(()=>{const qa=()=>{Ra.value=document.hidden};return document.addEventListener("visibilitychange",qa),()=>window.removeEventListener("visibilitychange",qa)}),{isDocumentHidden:Ra}}const le$1=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],de$1=["aria-label","data-disabled"],Wt$1=4e3,ue$1=20,ce$3=200,fe$2=defineComponent({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ref$1(!1),ud=ref$1(!1),dd=ref$1(!1),pd=ref$1(!1),fd=ref$1(!1),md=ref$1(0),vd=ref$1(0),Ad=ref$1(nd.toast.duration||nd.duration||Wt$1),Nd=ref$1(null),Id=ref$1(null),Od=computed(()=>nd.index===0),Md=computed(()=>nd.index+1<=nd.visibleToasts),Ud=computed(()=>nd.toast.type),jd=computed(()=>nd.toast.dismissible!==!1),Ld=computed(()=>nd.toast.class||""),Bd=computed(()=>nd.descriptionClass||""),Gd=nd.toast.style||{},qd=computed(()=>nd.heights.findIndex(qf=>qf.toastId===nd.toast.id)||0),zd=computed(()=>nd.toast.closeButton??nd.closeButton);computed(()=>nd.toast.duration||nd.duration||Wt$1);const Xd=ref$1(0),gf=ref$1(0),Yd=ref$1(null),Zd=computed(()=>nd.position.split("-")),df=computed(()=>Zd.value[0]),Ef=computed(()=>Zd.value[1]),_f=computed(()=>typeof nd.toast.title!="string"),xf=computed(()=>typeof nd.toast.description!="string"),vf=computed(()=>nd.heights.reduce((qf,zf,Tf)=>Tf>=qd.value?qf:qf+zf.height,0)),Af=ie$1(),Df=computed(()=>nd.toast.invert||nd.invert),jf=computed(()=>Ud.value==="loading"),Jf=computed(()=>qd.value*nd.gap+vf.value||0);onMounted(()=>{if(!ld.value)return;const qf=Id.value,zf=qf==null?void 0:qf.style.height;qf.style.height="auto";const Tf=qf.getBoundingClientRect().height;qf.style.height=zf,vd.value=Tf;let Sf;nd.heights.find(Yf=>Yf.toastId===nd.toast.id)?Sf=nd.heights.map(Yf=>Yf.toastId===nd.toast.id?{...Yf,height:Tf}:Yf):Sf=[{toastId:nd.toast.id,height:Tf,position:nd.toast.position},...nd.heights],od("update:heights",Sf)});function eh(){ud.value=!0,md.value=Jf.value;const qf=nd.heights.filter(zf=>zf.toastId!==nd.toast.id);od("update:heights",qf),setTimeout(()=>{od("removeToast",nd.toast)},ce$3)}function th(){var qf,zf;if(jf.value||!jd.value)return{};eh(),(zf=(qf=nd.toast).onDismiss)==null||zf.call(qf,nd.toast)}function Uf(qf){jf.value||!jd.value||(Nd.value=new Date,md.value=Jf.value,qf.target.setPointerCapture(qf.pointerId),qf.target.tagName!=="BUTTON"&&(dd.value=!0,Yd.value={x:qf.clientX,y:qf.clientY}))}function Of(){var qf,zf,Tf,Sf,Yf;if(pd.value||!jd)return;Yd.value=null;const ih=Number(((qf=Id.value)==null?void 0:qf.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Th=new Date().getTime()-((zf=Nd.value)==null?void 0:zf.getTime()),sh=Math.abs(ih)/Th;if(Math.abs(ih)>=ue$1||sh>.11){md.value=Jf.value,(Sf=(Tf=nd.toast).onDismiss)==null||Sf.call(Tf,nd.toast),eh(),pd.value=!0,fd.value=!1;return}(Yf=Id.value)==null||Yf.style.setProperty("--swipe-amount","0px"),dd.value=!1}function Wf(qf){var zf,Tf;if(!Yd.value||!jd.value)return;const Sf=qf.clientY-Yd.value.y,Yf=((zf=window.getSelection())==null?void 0:zf.toString().length)>0,ih=df.value==="top"?Math.min(0,Sf):Math.max(0,Sf);Math.abs(ih)>0&&(fd.value=!0),!Yf&&((Tf=Id.value)==null||Tf.style.setProperty("--swipe-amount",`${ih}px`))}return watchEffect(qf=>{if(nd.toast.promise&&Ud.value==="loading"||nd.toast.duration===1/0||nd.toast.type==="loading")return;let zf;const Tf=()=>{if(gf.value<Xd.value){const Yf=new Date().getTime()-Xd.value;Ad.value=Ad.value-Yf}gf.value=new Date().getTime()},Sf=()=>{Ad.value!==1/0&&(Xd.value=new Date().getTime(),zf=setTimeout(()=>{var Yf,ih;(ih=(Yf=nd.toast).onAutoClose)==null||ih.call(Yf,nd.toast),eh()},Ad.value))};nd.expanded||nd.interacting||nd.pauseWhenPageIsHidden&&Af?Tf():Sf(),qf(()=>{clearTimeout(zf)})}),watch(()=>nd.toast.delete,()=>{nd.toast.delete&&eh()},{deep:!0}),onMounted(()=>{if(ld.value=!0,Id.value){const qf=Id.value.getBoundingClientRect().height;vd.value=qf;const zf=[{toastId:nd.toast.id,height:qf,position:nd.toast.position},...nd.heights];od("update:heights",zf)}}),onBeforeUnmount(()=>{if(Id.value){const qf=nd.heights.filter(zf=>zf.toastId!==nd.toast.id);od("update:heights",qf)}}),(qf,zf)=>{var Tf,Sf,Yf,ih,Th,sh,Nf,ph,Oh,Zf,Rf,Bf,Kf,wh,Ah,mh,im,Bh,Tm,Pm,gm,Mm,Hm,gh,Lf,$f,fh;return openBlock(),createElementBlock("li",{ref_key:"toastRef",ref:Id,"aria-live":qf.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:normalizeClass(qf.cn(nd.class,Ld.value,(Tf=qf.classes)==null?void 0:Tf.toast,(Sf=qf.toast.classes)==null?void 0:Sf.toast,(Yf=qf.classes)==null?void 0:Yf[Ud.value],(Th=(ih=qf.toast)==null?void 0:ih.classes)==null?void 0:Th[Ud.value])),"data-rich-colors":qf.toast.richColors??qf.defaultRichColors,"data-styled":!(qf.toast.component||(sh=qf.toast)!=null&&sh.unstyled||qf.unstyled),"data-mounted":ld.value,"data-promise":!!qf.toast.promise,"data-removed":ud.value,"data-visible":Md.value,"data-y-position":df.value,"data-x-position":Ef.value,"data-index":qf.index,"data-front":Od.value,"data-swiping":dd.value,"data-dismissible":jd.value,"data-type":Ud.value,"data-invert":Df.value,"data-swipe-out":pd.value,"data-expanded":!!(qf.expanded||qf.expandByDefault&&ld.value),style:normalizeStyle({"--index":qf.index,"--toasts-before":qf.index,"--z-index":qf.toasts.length-qf.index,"--offset":`${ud.value?md.value:Jf.value}px`,"--initial-height":qf.expandByDefault?"auto":`${vd.value}px`,...qf.style,...unref(Gd)}),onPointerdown:Uf,onPointerup:Of,onPointermove:Wf},[zd.value&&!qf.toast.component?(openBlock(),createElementBlock("button",{key:0,"aria-label":qf.closeButtonAriaLabel||"Close toast","data-disabled":jf.value,"data-close-button":"true",class:normalizeClass(qf.cn((Nf=qf.classes)==null?void 0:Nf.closeButton,(Oh=(ph=qf.toast)==null?void 0:ph.classes)==null?void 0:Oh.closeButton)),onClick:th},[(Zf=qf.icons)!=null&&Zf.close?(openBlock(),createBlock(resolveDynamicComponent((Rf=qf.icons)==null?void 0:Rf.close),{key:0})):renderSlot(qf.$slots,"close-icon",{key:1})],10,de$1)):createCommentVNode("",!0),qf.toast.component?(openBlock(),createBlock(resolveDynamicComponent(qf.toast.component),mergeProps({key:1},qf.toast.componentProps,{onCloseToast:th}),null,16)):(openBlock(),createElementBlock(Fragment,{key:2},[Ud.value!=="default"||qf.toast.icon||qf.toast.promise?(openBlock(),createElementBlock("div",{key:0,"data-icon":"",class:normalizeClass(qf.cn((Bf=qf.classes)==null?void 0:Bf.icon,(wh=(Kf=qf.toast)==null?void 0:Kf.classes)==null?void 0:wh.icon))},[(qf.toast.promise||Ud.value==="loading")&&!qf.toast.icon?renderSlot(qf.$slots,"loading-icon",{key:0}):createCommentVNode("",!0),qf.toast.icon?(openBlock(),createBlock(resolveDynamicComponent(qf.toast.icon),{key:1})):(openBlock(),createElementBlock(Fragment,{key:2},[Ud.value==="success"?renderSlot(qf.$slots,"success-icon",{key:0}):Ud.value==="error"?renderSlot(qf.$slots,"error-icon",{key:1}):Ud.value==="warning"?renderSlot(qf.$slots,"warning-icon",{key:2}):Ud.value==="info"?renderSlot(qf.$slots,"info-icon",{key:3}):createCommentVNode("",!0)],64))],2)):createCommentVNode("",!0),createBaseVNode("div",{"data-content":"",class:normalizeClass(qf.cn((Ah=qf.classes)==null?void 0:Ah.content,(im=(mh=qf.toast)==null?void 0:mh.classes)==null?void 0:im.content))},[createBaseVNode("div",{"data-title":"",class:normalizeClass(qf.cn((Bh=qf.classes)==null?void 0:Bh.title,(Tm=qf.toast.classes)==null?void 0:Tm.title))},[_f.value?(openBlock(),createBlock(resolveDynamicComponent(qf.toast.title),normalizeProps(mergeProps({key:0},qf.toast.componentProps)),null,16)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(qf.toast.title),1)],64))],2),qf.toast.description?(openBlock(),createElementBlock("div",{key:0,"data-description":"",class:normalizeClass(qf.cn(qf.descriptionClass,Bd.value,(Pm=qf.classes)==null?void 0:Pm.description,(gm=qf.toast.classes)==null?void 0:gm.description))},[xf.value?(openBlock(),createBlock(resolveDynamicComponent(qf.toast.description),normalizeProps(mergeProps({key:0},qf.toast.componentProps)),null,16)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(qf.toast.description),1)],64))],2)):createCommentVNode("",!0)],2),qf.toast.cancel?(openBlock(),createElementBlock("button",{key:1,style:normalizeStyle(qf.toast.cancelButtonStyle||qf.cancelButtonStyle),class:normalizeClass(qf.cn((Mm=qf.classes)==null?void 0:Mm.cancelButton,(Hm=qf.toast.classes)==null?void 0:Hm.cancelButton)),"data-button":"","data-cancel":"",onClick:zf[0]||(zf[0]=Ch=>{var Zh,dm;unref(ut$1)(qf.toast.cancel)&&jd.value&&((dm=(Zh=qf.toast.cancel).onClick)==null||dm.call(Zh,Ch),eh())})},toDisplayString(unref(ut$1)(qf.toast.cancel)?(gh=qf.toast.cancel)==null?void 0:gh.label:qf.toast.cancel),7)):createCommentVNode("",!0),qf.toast.action?(openBlock(),createElementBlock("button",{key:2,style:normalizeStyle(qf.toast.actionButtonStyle||qf.actionButtonStyle),class:normalizeClass(qf.cn((Lf=qf.classes)==null?void 0:Lf.actionButton,($f=qf.toast.classes)==null?void 0:$f.actionButton)),"data-button":"","data-action":"",onClick:zf[1]||(zf[1]=Ch=>{var Zh,dm;unref(ut$1)(qf.toast.action)&&(Ch.defaultPrevented||((dm=(Zh=qf.toast.action).onClick)==null||dm.call(Zh,Ch),!Ch.defaultPrevented&&eh()))})},toDisplayString(unref(ut$1)(qf.toast.action)?(fh=qf.toast.action)==null?void 0:fh.label:qf.toast.action),7)):createCommentVNode("",!0)],64))],46,le$1)}}}),at$2=(Ra,qa)=>{const nd=Ra.__vccOpts||Ra;for(const[od,ld]of qa)nd[od]=ld;return nd},pe$1={},he$1={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function ge$2(Ra,qa){return openBlock(),createElementBlock("svg",he$1,qa[0]||(qa[0]=[createBaseVNode("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),createBaseVNode("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}const me$2=at$2(pe$1,[["render",ge$2]]),ve$2=["data-visible"],ye$2={class:"sonner-spinner"},be$3=defineComponent({__name:"Loader",props:{visible:{type:Boolean}},setup(Ra){const qa=Array(12).fill(0);return(nd,od)=>(openBlock(),createElementBlock("div",{class:"sonner-loading-wrapper","data-visible":nd.visible},[createBaseVNode("div",ye$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa),ld=>(openBlock(),createElementBlock("div",{key:`spinner-bar-${ld}`,class:"sonner-loading-bar"}))),128))])],8,ve$2))}}),we$2={},ke$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function xe$1(Ra,qa){return openBlock(),createElementBlock("svg",ke$2,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}const Te$1=at$2(we$2,[["render",xe$1]]),Be$2={},Se$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Ce$1(Ra,qa){return openBlock(),createElementBlock("svg",Se$2,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}const $e=at$2(Be$2,[["render",Ce$1]]),Ie$1={},Ee$2={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function Pe$2(Ra,qa){return openBlock(),createElementBlock("svg",Ee$2,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}const De$1=at$2(Ie$1,[["render",Pe$2]]),He$1={},ze$1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Me$1(Ra,qa){return openBlock(),createElementBlock("svg",ze$1,qa[0]||(qa[0]=[createBaseVNode("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}const Oe$1=at$2(He$1,[["render",Me$1]]),Ae$2=["aria-label"],Le$2=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],Ye$1=3,Ut$1="32px",Ne$1=356,Re$2=14,Fe$1=typeof window<"u"&&typeof document<"u";function je$2(...Ra){return Ra.filter(Boolean).join(" ")}const Ve=defineComponent({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:Re$2},visibleToasts:{default:Ye$1},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:Ut$1},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:je$2}},setup(Ra){const qa=Ra;function nd(){if(typeof window>"u"||typeof document>"u")return"ltr";const Bd=document.documentElement.getAttribute("dir");return Bd==="auto"||!Bd?window.getComputedStyle(document.documentElement).direction:Bd}const od=useAttrs(),ld=ref$1([]),ud=computed(()=>(Bd,Gd)=>ld.value.filter(qd=>!qd.position&&Gd===0||qd.position===Bd)),dd=computed(()=>{const Bd=ld.value.filter(Gd=>Gd.position).map(Gd=>Gd.position);return Bd.length>0?Array.from(new Set([qa.position].concat(Bd))):[qa.position]}),pd=ref$1([]),fd=ref$1(!1),md=ref$1(!1),vd=ref$1(qa.theme!=="system"?qa.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Ad=ref$1(null),Nd=ref$1(null),Id=ref$1(!1),Od=qa.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function Md(Bd){var Gd;(Gd=ld.value.find(qd=>qd.id===Bd.id))!=null&&Gd.delete||I$2.dismiss(Bd.id),ld.value=ld.value.filter(({id:qd})=>qd!==Bd.id)}function Ud(Bd){var Gd,qd;Id.value&&!((qd=(Gd=Bd.currentTarget)==null?void 0:Gd.contains)!=null&&qd.call(Gd,Bd.relatedTarget))&&(Id.value=!1,Nd.value&&(Nd.value.focus({preventScroll:!0}),Nd.value=null))}function jd(Bd){Bd.target instanceof HTMLElement&&Bd.target.dataset.dismissible==="false"||Id.value||(Id.value=!0,Nd.value=Bd.relatedTarget)}function Ld(Bd){Bd.target&&Bd.target instanceof HTMLElement&&Bd.target.dataset.dismissible==="false"||(md.value=!0)}return watchEffect(Bd=>{const Gd=I$2.subscribe(qd=>{if(qd.dismiss){ld.value=ld.value.map(zd=>zd.id===qd.id?{...zd,delete:!0}:zd);return}nextTick$1(()=>{const zd=ld.value.findIndex(Xd=>Xd.id===qd.id);zd!==-1?ld.value=[...ld.value.slice(0,zd),{...ld.value[zd],...qd},...ld.value.slice(zd+1)]:ld.value=[qd,...ld.value]})});Bd(Gd)}),watch(()=>qa.theme,Bd=>{if(Bd!=="system"){vd.value=Bd;return}if(Bd==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?vd.value="dark":vd.value="light"),typeof window>"u")return;const Gd=window.matchMedia("(prefers-color-scheme: dark)");try{Gd.addEventListener("change",({matches:qd})=>{qd?vd.value="dark":vd.value="light"})}catch{Gd.addListener(({matches:qd})=>{try{qd?vd.value="dark":vd.value="light"}catch(zd){console.error(zd)}})}}),watchEffect(()=>{Ad.value&&Nd.value&&(Nd.value.focus({preventScroll:!0}),Nd.value=null,Id.value=!1)}),watchEffect(()=>{ld.value.length<=1&&(fd.value=!1)}),watchEffect(Bd=>{function Gd(qd){const zd=qa.hotkey.every(Yd=>qd[Yd]||qd.code===Yd),Xd=Array.isArray(Ad.value)?Ad.value[0]:Ad.value;zd&&(fd.value=!0,Xd==null||Xd.focus());const gf=document.activeElement===Ad.value||(Xd==null?void 0:Xd.contains(document.activeElement));qd.code==="Escape"&&gf&&(fd.value=!1)}Fe$1&&(document.addEventListener("keydown",Gd),Bd(()=>{document.removeEventListener("keydown",Gd)}))}),(Bd,Gd)=>(openBlock(),createElementBlock("section",{"aria-label":`${Bd.containerAriaLabel} ${unref(Od)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(dd.value,(qd,zd)=>{var Xd;return openBlock(),createElementBlock("ol",mergeProps({key:qd,ref_for:!0,ref_key:"listRef",ref:Ad,"data-sonner-toaster":"",class:qa.class,dir:Bd.dir==="auto"?nd():Bd.dir,tabIndex:-1,"data-theme":Bd.theme,"data-rich-colors":Bd.richColors,"data-y-position":qd.split("-")[0],"data-x-position":qd.split("-")[1],"data-lifted":fd.value&&ld.value.length>1&&!Bd.expand,style:{"--front-toast-height":`${(Xd=pd.value[0])==null?void 0:Xd.height}px`,"--offset":typeof Bd.offset=="number"?`${Bd.offset}px`:Bd.offset||Ut$1,"--width":`${Ne$1}px`,"--gap":`${Bd.gap}px`,...Bd.style,...unref(od).style}},Bd.$attrs,{onBlur:Ud,onFocus:jd,onMouseenter:Gd[1]||(Gd[1]=()=>fd.value=!0),onMousemove:Gd[2]||(Gd[2]=()=>fd.value=!0),onMouseleave:Gd[3]||(Gd[3]=()=>{md.value||(fd.value=!1)}),onPointerdown:Ld,onPointerup:Gd[4]||(Gd[4]=()=>md.value=!1)}),[(openBlock(!0),createElementBlock(Fragment,null,renderList(ud.value(qd,zd),(gf,Yd)=>{var Zd,df,Ef,_f,xf,vf,Af,Df,jf;return openBlock(),createBlock(fe$2,{key:gf.id,heights:pd.value.filter(Jf=>Jf.position===gf.position),icons:Bd.icons,index:Yd,toast:gf,defaultRichColors:Bd.richColors,duration:((Zd=Bd.toastOptions)==null?void 0:Zd.duration)??Bd.duration,class:normalizeClass(((df=Bd.toastOptions)==null?void 0:df.class)??""),descriptionClass:(Ef=Bd.toastOptions)==null?void 0:Ef.descriptionClass,invert:Bd.invert,visibleToasts:Bd.visibleToasts,closeButton:((_f=Bd.toastOptions)==null?void 0:_f.closeButton)??Bd.closeButton,interacting:md.value,position:qd,style:normalizeStyle((xf=Bd.toastOptions)==null?void 0:xf.style),unstyled:(vf=Bd.toastOptions)==null?void 0:vf.unstyled,classes:(Af=Bd.toastOptions)==null?void 0:Af.classes,cancelButtonStyle:(Df=Bd.toastOptions)==null?void 0:Df.cancelButtonStyle,actionButtonStyle:(jf=Bd.toastOptions)==null?void 0:jf.actionButtonStyle,toasts:ld.value.filter(Jf=>Jf.position===gf.position),expandByDefault:Bd.expand,gap:Bd.gap,expanded:fd.value,pauseWhenPageIsHidden:Bd.pauseWhenPageIsHidden,cn:Bd.cn,"onUpdate:heights":Gd[0]||(Gd[0]=Jf=>{pd.value=Jf}),onRemoveToast:Md},{"close-icon":withCtx(()=>[renderSlot(Bd.$slots,"close-icon",{},()=>[createVNode(me$2)])]),"loading-icon":withCtx(()=>[renderSlot(Bd.$slots,"loading-icon",{},()=>[createVNode(be$3,{visible:gf.type==="loading"},null,8,["visible"])])]),"success-icon":withCtx(()=>[renderSlot(Bd.$slots,"success-icon",{},()=>[createVNode(Te$1)])]),"error-icon":withCtx(()=>[renderSlot(Bd.$slots,"error-icon",{},()=>[createVNode(Oe$1)])]),"warning-icon":withCtx(()=>[renderSlot(Bd.$slots,"warning-icon",{},()=>[createVNode(De$1)])]),"info-icon":withCtx(()=>[renderSlot(Bd.$slots,"info-icon",{},()=>[createVNode($e)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"])}),128))],16,Le$2)}),128))],8,Ae$2))}}),useStore=defineStore("store",()=>{const Ra=useDark(),qa=useToggle(Ra),nd=useStorage("isMacCodeBlock",!0),od=useToggle(nd),ld=useStorage("isEditOnLeft",!0),ud=useToggle(ld),dd=useStorage("isCiteStatus",!1),pd=useToggle(dd),fd=useStorage(addPrefix("use_indent"),!1),md=useToggle(fd),vd=ref$1(""),Ad=useStorage(addPrefix("theme"),themeOptions[0].value),Nd=useStorage("fonts",fontFamilyOptions[0].value),Id=useStorage("size",fontSizeOptions[2].value),Od=useStorage("color",colorOptions[0].value),Md=useStorage("codeBlockTheme",codeBlockThemeOptions[23].value),Ud=useStorage("legend",legendOptions[3].value),jd=computed(()=>Number(Id.value.replace("px",""))),Ld=ref$1(null),Bd=useStorage("__editor_content",DEFAULT_CONTENT),Gd=useStorage(addPrefix("is_open_post_slider"),!1),qd=useStorage(addPrefix("posts"),[{title:"文章1",content:DEFAULT_CONTENT}]),zd=useStorage(addPrefix("current_post_index"),0),Xd=Ah=>{zd.value=qd.value.push({title:Ah,content:`# ${Ah}`})-1},gf=(Ah,mh)=>{qd.value[Ah].title=mh},Yd=Ah=>{qd.value.splice(Ah,1),zd.value=Math.min(Ah,qd.value.length-1)};watch(zd,()=>{toRaw(Ld.value).setValue(qd.value[zd.value].content)}),onMounted(()=>{Bd.value!==DEFAULT_CONTENT&&(qd.value[zd.value].content=Bd.value,Bd.value=DEFAULT_CONTENT)});const Zd=()=>{formatDoc(Ld.value.getValue()).then(Ah=>{qd.value[zd.value].content=Ah,toRaw(Ld.value).setValue(Ah)})},df=()=>{const Ah=Md.value,mh=document.querySelector("#hljs");if(mh)mh.setAttribute("href",Ah);else{const im=document.createElement("link");im.setAttribute("type","text/css"),im.setAttribute("rel","stylesheet"),im.setAttribute("href",Ah),im.setAttribute("id","hljs"),document.head.appendChild(im)}},Ef=ref$1(null),_f=Ah=>{Ef.value.setValue(Ah)},xf=useStorage("__css_content",DEFAULT_CSS_CONTENT),vf=useStorage(addPrefix("css_content_config"),{active:"方案1",tabs:[{title:"方案1",name:"方案1",content:xf.value||DEFAULT_CSS_CONTENT}]});onMounted(()=>{xf.value=""});const Af=()=>vf.value.tabs.find(Ah=>Ah.name===vf.value.active),Df=Ah=>{vf.value.active=Ah;const mh=vf.value.tabs.find(im=>im.name===Ah).content;_f(mh)},jf=Ah=>{const mh=Af();mh.title=Ah,mh.name=Ah,vf.value.active=Ah},Jf=Ah=>{vf.value.tabs.push({name:Ah,title:Ah,content:DEFAULT_CSS_CONTENT}),vf.value.active=Ah,_f(DEFAULT_CSS_CONTENT)},eh=Ah=>vf.value.tabs.every(({name:mh})=>mh!==Ah),th=initRenderer({theme:customCssWithTemplate(css2json(Af().content),Od.value,customizeTheme(themeMap[Ad.value],{fontSize:jd.value,color:Od.value})),fonts:Nd.value,size:Id.value,isUseIndent:fd.value}),Uf=()=>{df(),th.reset({citeStatus:dd.value,legend:Ud.value,isUseIndent:fd.value});let Ah=marked$1.parse(Ld.value.getValue());Ah=Ah.replace(/(style=".*?)"/,'$1;margin-top: 0"'),Ah+=th.buildFootnotes(),Ah+=th.buildAddition(),nd.value&&(Ah+=`
|
||
<style>
|
||
.hljs.code__pre > .mac-sign {
|
||
display: flex;
|
||
}
|
||
</style>
|
||
`),Ah+=`
|
||
<style>
|
||
.code__pre {
|
||
padding: 0 !important;
|
||
}
|
||
|
||
.hljs.code__pre code {
|
||
display: -webkit-box;
|
||
padding: 0.5em 1em 1em;
|
||
overflow-x: auto;
|
||
text-indent: 0;
|
||
}
|
||
</style>
|
||
`,vd.value=Ah},Of=()=>{const Ah=css2json(Ef.value.getValue()),mh=customCssWithTemplate(Ah,Od.value,customizeTheme(themeMap[Ad.value],{fontSize:jd.value,color:Od.value}));th.setOptions({theme:mh}),Uf()};onMounted(()=>{const Ah=document.querySelector("#cssEditor");Ah.value=Af().content;const mh=Ra.value?"darcula":"xq-light";Ef.value=markRaw(CodeMirror.fromTextArea(Ah,{mode:"css",theme:mh,lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Bh){formatDoc(Bh.getValue(),"css").then(Tm=>{Af().content=Tm,Bh.setValue(Tm)})}}})),Ef.value.on("keyup",(im,Bh)=>{(Bh.keyCode>=65&&Bh.keyCode<=90||Bh.keyCode===189)&&im.showHint(Bh)}),Ef.value.on("update",()=>{Of(),Af().content=Ef.value.getValue()})}),watch(Ra,()=>{var mh,im;const Ah=Ra.value?"darcula":"xq-light";(im=(mh=toRaw(Ef.value))==null?void 0:mh.setOption)==null||im.call(mh,"theme",Ah)});const Wf=()=>{dd.value=!1,nd.value=!0,Ad.value=themeOptions[0].value,Nd.value=fontFamilyOptions[0].value,Nd.value=fontFamilyOptions[0].value,Id.value=fontSizeOptions[2].value,Od.value=colorOptions[0].value,Md.value=codeBlockThemeOptions[2].value,Ud.value=legendOptions[3].value,vf.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:xf.value||DEFAULT_CSS_CONTENT}]},Ef.value.setValue(DEFAULT_CSS_CONTENT),Of(),Uf(),Ke$1.success("样式重置成功~")},qf=Ah=>(...mh)=>{Ah(...mh),Uf()},zf=(Ah,mh)=>{const im=themeMap[Ad.value],Bh=Number(Ah.replace("px",""));return customCssWithTemplate(css2json(Af().content),mh,customizeTheme(im,{fontSize:Bh,color:mh}))},Tf=qf(Ah=>{th.setOptions({theme:customCssWithTemplate(css2json(Af().content),Od.value,customizeTheme(themeMap[Ah],{fontSize:jd.value}))}),Ad.value=Ah}),Sf=qf(Ah=>{th.setOptions({fonts:Ah}),Nd.value=Ah}),Yf=qf(Ah=>{const mh=zf(Ah,Od.value);th.setOptions({size:Ah,theme:mh}),Id.value=Ah}),ih=qf(Ah=>{const mh=zf(Id.value,Ah);th.setOptions({theme:mh}),Od.value=Ah}),Th=qf(Ah=>{Md.value=Ah}),sh=qf(Ah=>{Ud.value=Ah}),Nf=qf(()=>{od()}),ph=qf(()=>{pd()}),Oh=qf(()=>{md()}),Zf=()=>{exportHTML(Od.value),document.querySelector("#output").innerHTML=vd.value},Rf=()=>{downloadMD(Ld.value.getValue())},Bf=()=>{const Ah=document.body,mh=document.createElement("input");mh.type="file",mh.name="filename",mh.accept=".md",mh.onchange=()=>{const im=mh.files[0];if(!im)return;const Bh=new FileReader;Bh.readAsText(im),Bh.onload=Tm=>{Ld.value.setValue(Tm.target.result),Ke$1.success("文档导入成功")}},Ah.appendChild(mh),mh.click(),Ah.removeChild(mh)},Kf=ref$1(!1);return{isDark:Ra,toggleDark:qa,isEditOnLeft:ld,toggleEditOnLeft:ud,isMacCodeBlock:nd,isCiteStatus:dd,citeStatusChanged:ph,isUseIndent:fd,useIndentChanged:Oh,output:vd,editor:Ld,cssEditor:Ef,theme:Ad,fontFamily:Nd,fontSize:Id,primaryColor:Od,codeBlockTheme:Md,legend:Ud,editorRefresh:Uf,themeChanged:Tf,fontChanged:Sf,sizeChanged:Yf,colorChanged:ih,codeBlockThemeChanged:Th,legendChanged:sh,macCodeBlockChanged:Nf,formatContent:Zd,exportEditorContent2HTML:Zf,exportEditorContent2MD:Rf,importMarkdownContent:Bf,isOpenConfirmDialog:Kf,resetStyleConfirm:()=>{Kf.value=!0},resetStyle:Wf,cssContentConfig:vf,addCssContentTab:Jf,validatorTabName:eh,setCssEditorValue:_f,tabChanged:Df,renameTab:jf,posts:qd,currentPostIndex:zd,addPost:Xd,renamePost:gf,delPost:Yd,isOpenPostSlider:Gd}}),useDisplayStore=defineStore("display",()=>{const Ra=ref$1(!1),qa=useToggle(Ra),nd=ref$1(!1),od=useToggle(nd),ld=ref$1(!1),ud=useToggle(ld);return{isShowCssEditor:Ra,toggleShowCssEditor:qa,isShowInsertFormDialog:nd,toggleShowInsertFormDialog:od,isShowUploadImgDialog:ld,toggleShowUploadImgDialog:ud}}),_hoisted_1$a={class:"space-x-2 flex justify-between"},_hoisted_2$6={class:"space-y-2 border-1 rounded p-2"},_sfc_main$_=defineComponent({__name:"InsertFormDialog",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{toggleShowInsertFormDialog:od}=nd,ld=ref$1(3),ud=ref$1(3),dd=ref$1({});function pd(){ld.value=3,ud.value=3,dd.value={}}function fd(){const vd=createTable({rows:ld.value,cols:ud.value,data:dd.value});toRaw(qa.editor).replaceSelection(`
|
||
${vd}
|
||
`,"end"),pd(),od()}function md(vd){vd||od(!1)}return(vd,Ad)=>{const Nd=_sfc_main$$,Id=_sfc_main$10,Od=_sfc_main$11,Md=_sfc_main$12,Ud=_sfc_main$13,jd=_sfc_main$14,Ld=_sfc_main$15,Bd=_sfc_main$16,Gd=_sfc_main$17,qd=_sfc_main$1h,zd=_sfc_main$18,Xd=_sfc_main$19,gf=_sfc_main$1a;return openBlock(),createBlock(gf,{open:unref(nd).isShowInsertFormDialog,"onUpdate:open":md},{default:withCtx(()=>[createVNode(Xd,null,{default:withCtx(()=>[createVNode(Id,null,{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>Ad[3]||(Ad[3]=[createTextVNode("插入表格")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$a,[createVNode(Bd,{modelValue:unref(ld),"onUpdate:modelValue":Ad[0]||(Ad[0]=Yd=>isRef(ld)?ld.value=Yd:null),min:1,max:100},{default:withCtx(()=>[createVNode(Od,null,{default:withCtx(()=>Ad[4]||(Ad[4]=[createTextVNode("行数")])),_:1}),createVNode(Ld,null,{default:withCtx(()=>[createVNode(Md),createVNode(Ud),createVNode(jd)]),_:1})]),_:1},8,["modelValue"]),createVNode(Bd,{modelValue:unref(ud),"onUpdate:modelValue":Ad[1]||(Ad[1]=Yd=>isRef(ud)?ud.value=Yd:null),min:1,max:100},{default:withCtx(()=>[createVNode(Od,null,{default:withCtx(()=>Ad[5]||(Ad[5]=[createTextVNode("列数")])),_:1}),createVNode(Ld,null,{default:withCtx(()=>[createVNode(Md),createVNode(Ud),createVNode(jd)]),_:1})]),_:1},8,["modelValue"])]),createBaseVNode("div",_hoisted_2$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ld)+1,Yd=>(openBlock(),createElementBlock("div",{key:Yd,class:normalizeClass([{"head-style":Yd===1},"space-x-2 flex"])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ud),Zd=>(openBlock(),createBlock(Gd,{key:Zd,modelValue:unref(dd)[`k_${Yd-1}_${Zd-1}`],"onUpdate:modelValue":df=>unref(dd)[`k_${Yd-1}_${Zd-1}`]=df,class:normalizeClass({"bg-gray-100 dark:bg-gray-900":Yd===1}),placeholder:Yd===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","class","placeholder"]))),128))],2))),128))]),createVNode(zd,null,{default:withCtx(()=>[createVNode(qd,{variant:"outline",onClick:Ad[2]||(Ad[2]=Yd=>unref(od)(!1))},{default:withCtx(()=>Ad[6]||(Ad[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(qd,{onClick:fd},{default:withCtx(()=>Ad[7]||(Ad[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$Z=defineComponent({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(fg),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$9={class:"space-y-4"},_hoisted_2$5={class:"h-60 border"},_sfc_main$Y=defineComponent({__name:"CustomUploadForm",setup(Ra){const qa=useStore(),nd=useLocalStorage("formCustomConfig",removeLeft(`
|
||
const {file, util, okCb, errCb} = CUSTOM_ARG
|
||
const param = new FormData()
|
||
param.append('file', file)
|
||
util.axios.post('${window.location.origin}/upload', param, {
|
||
headers: { 'Content-Type': 'multipart/form-data' }
|
||
}).then(res => {
|
||
okCb(res.url)
|
||
}).catch(err => {
|
||
errCb(err)
|
||
})
|
||
`).trim()),od=useTemplateRef("formCustomTextarea"),ld=ref$1(null);onMounted(()=>{ld.value=markRaw(CodeMirror.fromTextArea(od.value,{mode:"javascript",theme:qa.isDark?"darcula":"xq-light",lineNumbers:!0})),nextTick$1(()=>{nextTick$1(()=>{var dd;(dd=ld.value)==null||dd.setValue(nd.value)})})});function ud(){const dd=ld.value.getValue();localStorage.setItem("formCustomConfig",dd),Ke$1.success("保存成功")}return(dd,pd)=>{const fd=_sfc_main$1h;return openBlock(),createElementBlock("div",_hoisted_1$9,[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("textarea",{ref_key:"formCustomTextarea",ref:od,placeholder:"Your custom code here."},null,512)]),createVNode(fd,{variant:"link",class:"p-0",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"},{default:withCtx(()=>pd[0]||(pd[0]=[createTextVNode(" 参数详情 ")])),_:1}),createVNode(fd,{class:"block",onClick:ud},{default:withCtx(()=>pd[1]||(pd[1]=[createTextVNode(" 保存配置 ")])),_:1})])}}}),_sfc_main$X=defineComponent({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(cg$1),mergeProps(unref(ud),{class:unref(cn$5)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",nd.class)}),{default:withCtx(()=>[createVNode(unref(pg),{class:normalizeClass(unref(cn$5)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5"))},{default:withCtx(()=>[renderSlot(dd.$slots,"thumb")]),_:3},8,["class"])]),_:3},16,["class"]))}}),_sfc_main$W=defineComponent({__name:"FormItem",props:{label:{},required:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>{const ld=_sfc_main$11;return openBlock(),createElementBlock("div",null,[createVNode(ld,{class:"flex items-center"},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(["mr-4 min-h-4 w-[150px] flex-shrink-0 text-right font-bold",{required:qa.required}])},toDisplayString(qa.label),3),renderSlot(nd.$slots,"default",{},void 0,!0)]),_:3})])}}}),__unplugin_components_12=_export_sfc(_sfc_main$W,[["__scopeId","data-v-a66ad4e0"]]),_sfc_main$V=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(mg),mergeProps({class:unref(cn$5)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",qa.class)},nd.value),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$U=defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(ky$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$8={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$T=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zy),mergeProps(unref(od),{class:unref(cn$5)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$8,[createVNode(unref(Ky),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),createVNode(unref(jy),null,{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),_sfc_main$S=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(qy),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$R=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gy),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronUp),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$Q=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(My),mergeProps(unref(od),{class:unref(cn$5)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(Xy),{"as-child":""},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),_sfc_main$P=defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Yy),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$O=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Vy),null,{default:withCtx(()=>[createVNode(unref(Fy),mergeProps({...unref(ud),...dd.$attrs},{class:unref(cn$5)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",dd.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",nd.class)}),{default:withCtx(()=>[createVNode(unref(_sfc_main$R)),createVNode(unref(Uy),{class:normalizeClass(unref(cn$5)("p-1",dd.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["class"]),createVNode(unref(_sfc_main$S))]),_:3},16,["class"])]),_:3}))}}),_sfc_main$N=defineComponent({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(vg),mergeProps(nd.value,{class:unref(cn$5)("inline-flex items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$7={class:"truncate"},_sfc_main$M=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(hg),mergeProps(unref(od),{class:unref(cn$5)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$7,[renderSlot(ld.$slots,"default")])]),_:3},16,["class"]))}}),_hoisted_1$6={class:"space-y-4"},_hoisted_2$4={class:"space-y-4"},_hoisted_3$4={class:"space-y-4"},_hoisted_4$2={class:"space-y-4"},_hoisted_5$2={class:"space-y-4"},_hoisted_6$2={class:"space-y-4"},_hoisted_7$1={class:"flex flex-col items-start"},_hoisted_8$1={class:"space-y-4"},_hoisted_9$1={class:"flex flex-col items-start"},_sfc_main$L=defineComponent({__name:"UploadImgDialog",emits:["uploadImage"],setup(Ra,{emit:qa}){const nd=qa,od=useDisplayStore(),ld=ref$1({repo:"",branch:"",accessToken:""}),ud=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:"",useSSL:!0}),dd=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),pd=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""}),fd=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),md=ref$1({accountId:"",accessKey:"",secretKey:"",bucket:"",domain:"",path:""}),vd=ref$1({proxyOrigin:"",appID:"",appsecret:""}),Ad=ref$1(window.location.href.startsWith("http")),Nd=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"mp",label:"公众号图床"},{value:"r2",label:"Cloudflare R2"},{value:"formCustom",label:"自定义代码"}],Id=ref$1("default"),Od=ref$1("upload");onBeforeMount(()=>{localStorage.getItem("githubConfig")&&(ld.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(ud.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(dd.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(pd.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(fd.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("r2Config")&&(md.value=JSON.parse(localStorage.getItem("r2Config"))),localStorage.getItem("imgHost")&&(Id.value=localStorage.getItem("imgHost")),localStorage.getItem("mpConfig")&&(vd.value=JSON.parse(localStorage.getItem("mpConfig")))});function Md(){localStorage.setItem("imgHost",Id.value),Ke$1.success("已成功切换图床")}function Ud(){if(!(ld.value.repo&&ld.value.accessToken)){const Ef=ld.value.repo?"token":"GitHub 仓库";Ke$1.error(`参数「${Ef}」不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify(ld.value)),Ke$1.success("保存成功")}function jd(){if(!(ud.value.accessKeyId&&ud.value.accessKeySecret&&ud.value.bucket&&ud.value.region)){Ke$1.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(ud.value)),Ke$1.success("保存成功")}function Ld(){if(!(fd.value.endpoint&&fd.value.bucket&&fd.value.accessKey&&fd.value.secretKey)){Ke$1.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(fd.value)),Ke$1.success("保存成功")}function Bd(){if(!(dd.value.secretId&&dd.value.secretKey&&dd.value.bucket&&dd.value.region)){Ke$1.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(dd.value)),Ke$1.success("保存成功")}function Gd(){if(!(pd.value.accessKey&&pd.value.secretKey&&pd.value.bucket&&pd.value.domain)){Ke$1.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(pd.value)),Ke$1.success("保存成功")}function qd(){if(!(md.value.accountId&&md.value.accessKey&&md.value.secretKey&&md.value.bucket&&md.value.domain)){Ke$1.error("Cloudflare R2参数配置不全");return}localStorage.setItem("r2Config",JSON.stringify(md.value)),Ke$1.success("保存成功")}function zd(){if(!(vd.value.appID&&vd.value.appsecret)){Ke$1.error("公众号图床 参数配置不全");return}if(Ad.value&&!vd.value.proxyOrigin){Ke$1.error("代理域名必须配置");return}localStorage.setItem("mpConfig",JSON.stringify(vd.value)),Ke$1.success("保存成功")}function Xd(Ef){const _f=checkImage(Ef);if(!_f.ok)return Ke$1.error(_f.msg||""),!1;let xf=localStorage.getItem("imgHost");xf=xf||"default",localStorage.setItem("imgHost",xf);const vf=localStorage.getItem(`${xf}Config`);return xf==="default"||vf?!0:(Ke$1.error(`请先配置 ${xf} 图床参数`),!1)}const gf=ref$1(!1),{open:Yd,onChange:Zd}=useFileDialog({accept:"image/*"});Zd(Ef=>{if(Ef==null)return;const _f=Ef[0];Xd(_f)&&nd("uploadImage",_f)});function df(Ef){gf.value=!1,Ef.stopPropagation();const _f=Array.from(Ef.dataTransfer.files)[0];Xd(_f)&&nd("uploadImage",_f)}return(Ef,_f)=>{const xf=_sfc_main$$,vf=_sfc_main$10,Af=_sfc_main$M,Df=_sfc_main$N,jf=_sfc_main$P,Jf=_sfc_main$Q,eh=_sfc_main$T,th=_sfc_main$O,Uf=_sfc_main$U,Of=_sfc_main$11,Wf=_sfc_main$V,qf=_sfc_main$17,zf=__unplugin_components_12,Tf=_sfc_main$1h,Sf=_sfc_main$X,Yf=_sfc_main$Y,ih=_sfc_main$Z,Th=_sfc_main$19,sh=_sfc_main$1a;return openBlock(),createBlock(sh,{open:unref(od).isShowUploadImgDialog,"onUpdate:open":_f[42]||(_f[42]=Nf=>unref(od).isShowUploadImgDialog=Nf)},{default:withCtx(()=>[createVNode(Th,{class:"max-w-max"},{default:withCtx(()=>[createVNode(vf,null,{default:withCtx(()=>[createVNode(xf,null,{default:withCtx(()=>_f[43]||(_f[43]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(ih,{modelValue:unref(Od),"onUpdate:modelValue":_f[41]||(_f[41]=Nf=>isRef(Od)?Od.value=Nf:null),class:"w-max"},{default:withCtx(()=>[createVNode(Df,null,{default:withCtx(()=>[createVNode(Af,{value:"upload"},{default:withCtx(()=>_f[44]||(_f[44]=[createTextVNode(" 选择上传 ")])),_:1}),createVNode(Af,{value:"github"},{default:withCtx(()=>_f[45]||(_f[45]=[createTextVNode(" GitHub 图床 ")])),_:1}),createVNode(Af,{value:"aliOSS"},{default:withCtx(()=>_f[46]||(_f[46]=[createTextVNode(" 阿里云 OSS ")])),_:1}),createVNode(Af,{value:"txCOS"},{default:withCtx(()=>_f[47]||(_f[47]=[createTextVNode(" 腾讯云 COS ")])),_:1}),createVNode(Af,{value:"qiniu"},{default:withCtx(()=>_f[48]||(_f[48]=[createTextVNode(" 七牛云 Kodo ")])),_:1}),createVNode(Af,{value:"minio"},{default:withCtx(()=>_f[49]||(_f[49]=[createTextVNode(" MinIO ")])),_:1}),createVNode(Af,{value:"mp"},{default:withCtx(()=>_f[50]||(_f[50]=[createTextVNode(" 公众号图床 ")])),_:1}),createVNode(Af,{value:"r2"},{default:withCtx(()=>_f[51]||(_f[51]=[createTextVNode(" Cloudflare R2 ")])),_:1}),createVNode(Af,{value:"formCustom"},{default:withCtx(()=>_f[52]||(_f[52]=[createTextVNode(" 自定义代码 ")])),_:1})]),_:1}),createVNode(Wf,{value:"upload"},{default:withCtx(()=>[createVNode(Of,null,{default:withCtx(()=>[_f[53]||(_f[53]=createBaseVNode("span",{class:"my-4 block"}," 图床 ",-1)),createVNode(Uf,{modelValue:unref(Id),"onUpdate:modelValue":[_f[0]||(_f[0]=Nf=>isRef(Id)?Id.value=Nf:null),Md]},{default:withCtx(()=>[createVNode(Jf,null,{default:withCtx(()=>[createVNode(jf,{placeholder:"请选择"})]),_:1}),createVNode(th,null,{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(Nd,Nf=>createVNode(eh,{key:Nf.value,label:Nf.label,value:Nf.value},{default:withCtx(()=>[createTextVNode(toDisplayString(Nf.label),1)]),_:2},1032,["label","value"])),64))]),_:1})]),_:1},8,["modelValue"])]),_:1}),createBaseVNode("div",{class:normalizeClass(["bg-clip-padding mt-4 h-50 flex flex-col cursor-pointer items-center justify-evenly border-2 rounded border-dashed transition-colors hover:border-gray-700 hover:bg-gray-400/50 dark:hover:border-gray-200 dark:hover:bg-gray-500/50",{"border-gray-700 bg-gray-400/50 dark:border-gray-200 dark:bg-gray-500/50":unref(gf)}]),onClick:_f[1]||(_f[1]=Nf=>unref(Yd)()),onDrop:withModifiers(df,["prevent"]),onDragover:_f[2]||(_f[2]=withModifiers(Nf=>gf.value=!0,["prevent"])),onDragleave:_f[3]||(_f[3]=withModifiers(Nf=>gf.value=!1,["prevent"]))},[createVNode(unref(CloudUpload),{class:"size-20"}),_f[54]||(_f[54]=createBaseVNode("p",null,[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("strong",null,"点击上传")],-1))],34)]),_:1}),createVNode(Wf,{value:"github"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$6,[createVNode(zf,{label:"GitHub 仓库",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ld).repo,"onUpdate:modelValue":_f[4]||(_f[4]=Nf=>unref(ld).repo=Nf),modelModifiers:{trim:!0},placeholder:"如:github.com/yanglbme/resource"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"分支"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ld).branch,"onUpdate:modelValue":_f[5]||(_f[5]=Nf=>unref(ld).branch=Nf),modelModifiers:{trim:!0},placeholder:"如:release,可不填,默认 master"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Token",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ld).accessToken,"onUpdate:modelValue":_f[6]||(_f[6]=Nf=>unref(ld).accessToken=Nf),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},null,8,["modelValue"])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"},{default:withCtx(()=>_f[55]||(_f[55]=[createTextVNode(" 如何获取 GitHub Token? ")])),_:1})]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{onClick:Ud},{default:withCtx(()=>_f[56]||(_f[56]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Wf,{value:"aliOSS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$4,[createVNode(zf,{label:"AccessKey ID",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ud).accessKeyId,"onUpdate:modelValue":_f[7]||(_f[7]=Nf=>unref(ud).accessKeyId=Nf),modelModifiers:{trim:!0},placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"AccessKey Secret",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ud).accessKeySecret,"onUpdate:modelValue":_f[8]||(_f[8]=Nf=>unref(ud).accessKeySecret=Nf),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ud).bucket,"onUpdate:modelValue":_f[9]||(_f[9]=Nf=>unref(ud).bucket=Nf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ud).region,"onUpdate:modelValue":_f[10]||(_f[10]=Nf=>unref(ud).region=Nf),modelModifiers:{trim:!0},placeholder:"如:oss-cn-shenzhen"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(Sf,{checked:unref(ud).useSSL,"onUpdate:checked":_f[11]||(_f[11]=Nf=>unref(ud).useSSL=Nf)},null,8,["checked"])]),_:1}),createVNode(zf,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ud).cdnHost,"onUpdate:modelValue":_f[12]||(_f[12]=Nf=>unref(ud).cdnHost=Nf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"存储路径"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(ud).path,"onUpdate:modelValue":_f[13]||(_f[13]=Nf=>unref(ud).path=Nf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>_f[57]||(_f[57]=[createTextVNode(" 如何使用阿里云 OSS? ")])),_:1})]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{onClick:jd},{default:withCtx(()=>_f[58]||(_f[58]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Wf,{value:"txCOS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3$4,[createVNode(zf,{label:"SecretId",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(dd).secretId,"onUpdate:modelValue":_f[14]||(_f[14]=Nf=>unref(dd).secretId=Nf),modelModifiers:{trim:!0},placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(dd).secretKey,"onUpdate:modelValue":_f[15]||(_f[15]=Nf=>unref(dd).secretKey=Nf),modelModifiers:{trim:!0},type:"password",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(dd).bucket,"onUpdate:modelValue":_f[16]||(_f[16]=Nf=>unref(dd).bucket=Nf),modelModifiers:{trim:!0},placeholder:"如:doocs-3212520134"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(dd).region,"onUpdate:modelValue":_f[17]||(_f[17]=Nf=>unref(dd).region=Nf),modelModifiers:{trim:!0},placeholder:"如:ap-guangzhou"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(dd).cdnHost,"onUpdate:modelValue":_f[18]||(_f[18]=Nf=>unref(dd).cdnHost=Nf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"存储路径"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(dd).path,"onUpdate:modelValue":_f[19]||(_f[19]=Nf=>unref(dd).path=Nf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认根目录"},null,8,["modelValue"])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>_f[59]||(_f[59]=[createTextVNode(" 如何使用腾讯云 COS? ")])),_:1})]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{onClick:Bd},{default:withCtx(()=>_f[60]||(_f[60]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Wf,{value:"qiniu"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_4$2,[createVNode(zf,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(pd).accessKey,"onUpdate:modelValue":_f[20]||(_f[20]=Nf=>unref(pd).accessKey=Nf),modelModifiers:{trim:!0},placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(pd).secretKey,"onUpdate:modelValue":_f[21]||(_f[21]=Nf=>unref(pd).secretKey=Nf),modelModifiers:{trim:!0},type:"password",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(pd).bucket,"onUpdate:modelValue":_f[22]||(_f[22]=Nf=>unref(pd).bucket=Nf),modelModifiers:{trim:!0},placeholder:"如:md"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Bucket 对应域名",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(pd).domain,"onUpdate:modelValue":_f[23]||(_f[23]=Nf=>unref(pd).domain=Nf),modelModifiers:{trim:!0},placeholder:"如:https://images.123ylb.cn"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"存储区域"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(pd).region,"onUpdate:modelValue":_f[24]||(_f[24]=Nf=>unref(pd).region=Nf),modelModifiers:{trim:!0},placeholder:"如:z2,可不填"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"存储路径"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(pd).path,"onUpdate:modelValue":_f[25]||(_f[25]=Nf=>unref(pd).path=Nf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>_f[61]||(_f[61]=[createTextVNode(" 如何使用七牛云 Kodo? ")])),_:1})]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{onClick:Gd},{default:withCtx(()=>_f[62]||(_f[62]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Wf,{value:"minio"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$2,[createVNode(zf,{label:"Endpoint",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(fd).endpoint,"onUpdate:modelValue":_f[26]||(_f[26]=Nf=>unref(fd).endpoint=Nf),modelModifiers:{trim:!0},placeholder:"如:play.min.io"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Port"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(fd).port,"onUpdate:modelValue":_f[27]||(_f[27]=Nf=>unref(fd).port=Nf),modelModifiers:{trim:!0},type:"number",placeholder:"如:9000,可不填,http 默认为 80,https 默认为 443"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(Sf,{checked:unref(fd).useSSL,"onUpdate:checked":_f[28]||(_f[28]=Nf=>unref(fd).useSSL=Nf)},null,8,["checked"])]),_:1}),createVNode(zf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(fd).bucket,"onUpdate:modelValue":_f[29]||(_f[29]=Nf=>unref(fd).bucket=Nf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(fd).accessKey,"onUpdate:modelValue":_f[30]||(_f[30]=Nf=>unref(fd).accessKey=Nf),modelModifiers:{trim:!0},placeholder:"如:zhangsan"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(fd).secretKey,"onUpdate:modelValue":_f[31]||(_f[31]=Nf=>unref(fd).secretKey=Nf),modelModifiers:{trim:!0},placeholder:"如:asdasdasd"},null,8,["modelValue"])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>_f[63]||(_f[63]=[createTextVNode(" 如何使用 MinIO? ")])),_:1})]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{onClick:Ld},{default:withCtx(()=>_f[64]||(_f[64]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Wf,{value:"mp"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_6$2,[createVNode(zf,{label:"代理域名",required:unref(Ad)},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(vd).proxyOrigin,"onUpdate:modelValue":_f[32]||(_f[32]=Nf=>unref(vd).proxyOrigin=Nf),modelModifiers:{trim:!0},placeholder:"如:http://proxy.example.com,使用插件时可不填"},null,8,["modelValue"])]),_:1},8,["required"]),createVNode(zf,{label:"appID",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(vd).appID,"onUpdate:modelValue":_f[33]||(_f[33]=Nf=>unref(vd).appID=Nf),modelModifiers:{trim:!0},placeholder:"如:wx6e1234567890efa3"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"appsecret",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(vd).appsecret,"onUpdate:modelValue":_f[34]||(_f[34]=Nf=>unref(vd).appsecret=Nf),modelModifiers:{trim:!0},placeholder:"如:d9f1abcdef01234567890abcdef82397"},null,8,["modelValue"])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_7$1,[createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Getting_Started_Guide.html",target:"_blank"},{default:withCtx(()=>_f[65]||(_f[65]=[createTextVNode(" 如何开启公众号开发者模式并获取应用账号密钥? ")])),_:1}),createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://mpmd.pages.dev/tutorial/",target:"_blank"},{default:withCtx(()=>_f[66]||(_f[66]=[createTextVNode(" 如何在浏览器插件中使用公众号图床? ")])),_:1})])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{onClick:zd},{default:withCtx(()=>_f[67]||(_f[67]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Wf,{value:"r2"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$1,[createVNode(zf,{label:"AccountId",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(md).accountId,"onUpdate:modelValue":_f[35]||(_f[35]=Nf=>unref(md).accountId=Nf),modelModifiers:{trim:!0},placeholder:"如: 0030f123e55a57546f4c281c564e560",class:"min-w-[350px]"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(md).accessKey,"onUpdate:modelValue":_f[36]||(_f[36]=Nf=>unref(md).accessKey=Nf),modelModifiers:{trim:!0},placeholder:"如: 358090b3a12824a6b0787gae7ad0fc72"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(md).secretKey,"onUpdate:modelValue":_f[37]||(_f[37]=Nf=>unref(md).secretKey=Nf),modelModifiers:{trim:!0},type:"password",placeholder:"如: c1c4dbcb0b6b785ac6633422a06dff3dac055fe74fe40xj1b5c5fcf1bf128010"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(md).bucket,"onUpdate:modelValue":_f[38]||(_f[38]=Nf=>unref(md).bucket=Nf),modelModifiers:{trim:!0},placeholder:"如:md"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"域名",required:""},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(md).domain,"onUpdate:modelValue":_f[39]||(_f[39]=Nf=>unref(md).domain=Nf),modelModifiers:{trim:!0},placeholder:"如:https://oss.example.com"},null,8,["modelValue"])]),_:1}),createVNode(zf,{label:"存储路径"},{default:withCtx(()=>[createVNode(qf,{modelValue:unref(md).path,"onUpdate:modelValue":_f[40]||(_f[40]=Nf=>unref(md).path=Nf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$1,[createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://developers.cloudflare.com/r2/api/s3/api/",target:"_blank"},{default:withCtx(()=>_f[68]||(_f[68]=[createTextVNode(" 如何使用 S3 API 操作 Cloudflare R2 ")])),_:1}),createVNode(Tf,{variant:"link",class:"p-0",as:"a",href:"https://developers.cloudflare.com/r2/buckets/cors/",target:"_blank"},{default:withCtx(()=>_f[69]||(_f[69]=[createTextVNode(" 如何设置跨域(CORS) ")])),_:1})])]),_:1}),createVNode(zf,null,{default:withCtx(()=>[createVNode(Tf,{onClick:qd},{default:withCtx(()=>_f[70]||(_f[70]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Wf,{value:"formCustom"},{default:withCtx(()=>[createVNode(Yf)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["open"])}}}),_sfc_main$K=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Su$2),mergeProps(unref(od),{class:unref(cn$5)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$5={class:"cssEditor-wrapper order-1 h-full flex flex-col border-l-1"},_sfc_main$J=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),od=ref$1(!1),ld=ref$1(""),ud=ref$1(["",qa.cssContentConfig.active]);function dd(jd){ld.value=jd,od.value=!0}function pd(){if(!ld.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(ld.value)){Ke$1.error("不能与现有方案重名");return}qa.renameTab(ld.value),od.value=!1,Ke$1.success("修改成功~")}const fd=ref$1(!1),md=ref$1("");function vd(){if(!md.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(md.value)){Ke$1.error("不能与现有方案重名");return}qa.addCssContentTab(md.value),fd.value=!1,qa.cssContentConfig.active=md.value,ud.value=[ud.value[1],md.value],Ke$1.success("新建成功~")}const Ad=ref$1(!1),Nd=ref$1("");function Id(jd){Nd.value=jd,Ad.value=!0}function Od(){const jd=qa.cssContentConfig.tabs;if(jd.length===1){Ke$1.warning("至少保留一个方案");return}let Ld=qa.cssContentConfig.active;Ld===Nd.value&&jd.forEach((Bd,Gd)=>{if(Bd.name===Nd.value){const qd=jd[Gd+1]||jd[Gd-1];qd&&(Ld=qd.name)}}),qa.tabChanged(Ld),qa.cssContentConfig.tabs=jd.filter(Bd=>Bd.name!==Nd.value),Ke$1.success("删除成功~")}function Md(){md.value=`方案${qa.cssContentConfig.tabs.length+1}`,fd.value=!0}function Ud(jd){if(jd==="add"){qa.cssContentConfig.active=ud.value[1],Md();return}ud.value=[ud.value[1],jd]}return(jd,Ld)=>{const Bd=_sfc_main$M,Gd=_sfc_main$N,qd=_sfc_main$Z,zd=_sfc_main$$,Xd=_sfc_main$K,gf=_sfc_main$10,Yd=_sfc_main$17,Zd=_sfc_main$1h,df=_sfc_main$18,Ef=_sfc_main$19,_f=_sfc_main$1a,xf=_sfc_main$1c,vf=_sfc_main$1d,Af=_sfc_main$1e,Df=_sfc_main$1f,jf=_sfc_main$1g,Jf=_sfc_main$1i,eh=_sfc_main$1j,th=_sfc_main$1k;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createBaseVNode("div",_hoisted_1$5,[createVNode(qd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":[Ld[0]||(Ld[0]=Uf=>unref(qa).cssContentConfig.active=Uf),Ud]},{default:withCtx(()=>[createVNode(Gd,{class:"w-full overflow-x-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,Uf=>(openBlock(),createBlock(Bd,{key:Uf.name,value:Uf.name,class:"flex-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(Uf.title)+" ",1),withDirectives(createVNode(unref(PenLine),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:Of=>dd(Uf.name)},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Uf.name]]),withDirectives(createVNode(unref(X$7),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:withModifiers(Of=>Id(Uf.name),["self"])},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Uf.name]])]),_:2},1032,["value"]))),128)),createVNode(Bd,{value:"add"},{default:withCtx(()=>[createVNode(unref(Plus),{class:"h-5 w-5"})]),_:1})]),_:1})]),_:1},8,["modelValue"]),Ld[21]||(Ld[21]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1)),createVNode(_f,{open:unref(fd),"onUpdate:open":Ld[4]||(Ld[4]=Uf=>isRef(fd)?fd.value=Uf:null)},{default:withCtx(()=>[createVNode(Ef,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(gf,null,{default:withCtx(()=>[createVNode(zd,null,{default:withCtx(()=>Ld[9]||(Ld[9]=[createTextVNode("新建自定义 CSS")])),_:1}),createVNode(Xd,null,{default:withCtx(()=>Ld[10]||(Ld[10]=[createTextVNode(" 请输入方案名称 ")])),_:1})]),_:1}),createVNode(Yd,{modelValue:unref(md),"onUpdate:modelValue":Ld[1]||(Ld[1]=Uf=>isRef(md)?md.value=Uf:null)},null,8,["modelValue"]),createVNode(df,null,{default:withCtx(()=>[createVNode(Zd,{variant:"outline",onClick:Ld[2]||(Ld[2]=Uf=>fd.value=!1)},{default:withCtx(()=>Ld[11]||(Ld[11]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Zd,{onClick:Ld[3]||(Ld[3]=Uf=>vd())},{default:withCtx(()=>Ld[12]||(Ld[12]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(_f,{open:unref(od),"onUpdate:open":Ld[7]||(Ld[7]=Uf=>isRef(od)?od.value=Uf:null)},{default:withCtx(()=>[createVNode(Ef,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(gf,null,{default:withCtx(()=>[createVNode(zd,null,{default:withCtx(()=>Ld[13]||(Ld[13]=[createTextVNode("编辑方案名称")])),_:1}),createVNode(Xd,null,{default:withCtx(()=>Ld[14]||(Ld[14]=[createTextVNode(" 请输入新的方案名称 ")])),_:1})]),_:1}),createVNode(Yd,{modelValue:unref(ld),"onUpdate:modelValue":Ld[5]||(Ld[5]=Uf=>isRef(ld)?ld.value=Uf:null)},null,8,["modelValue"]),createVNode(df,null,{default:withCtx(()=>[createVNode(Zd,{variant:"outline",onClick:Ld[6]||(Ld[6]=Uf=>od.value=!1)},{default:withCtx(()=>Ld[15]||(Ld[15]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Zd,{onClick:pd},{default:withCtx(()=>Ld[16]||(Ld[16]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(th,{open:unref(Ad),"onUpdate:open":Ld[8]||(Ld[8]=Uf=>isRef(Ad)?Ad.value=Uf:null)},{default:withCtx(()=>[createVNode(eh,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>[createVNode(xf,null,{default:withCtx(()=>Ld[17]||(Ld[17]=[createTextVNode("提示")])),_:1}),createVNode(vf,null,{default:withCtx(()=>Ld[18]||(Ld[18]=[createTextVNode(" 此操作将删除该自定义方案,是否继续? ")])),_:1})]),_:1}),createVNode(Jf,null,{default:withCtx(()=>[createVNode(Df,null,{default:withCtx(()=>Ld[19]||(Ld[19]=[createTextVNode("取消")])),_:1}),createVNode(jf,{onClick:Od},{default:withCtx(()=>Ld[20]||(Ld[20]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512),[[vShow,unref(nd).isShowCssEditor]])]),_:1})}}}),__unplugin_components_8=_export_sfc(_sfc_main$J,[["__scopeId","data-v-13972d5d"]]),_sfc_main$I=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(em$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$H=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(am$1),null,{default:withCtx(()=>[createVNode(unref(nm$1),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$G=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$F=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(rm$1),mergeProps(nd.value,{class:unref(cn$5)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$E=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(lm),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$D=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(tm$1),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$C=defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(ah$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$B=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(oh),null,{default:withCtx(()=>[createVNode(unref(lh),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$A=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(rh),mergeProps(unref(od),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$z=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(nh),mergeProps({class:"outline-none"},unref(nd)),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$y=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ji$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_hoisted_1$4={class:"space-y-1 h-full overflow-auto p-2"},_hoisted_2$3=["onClick"],_hoisted_3$3={class:"line-clamp-1"},_sfc_main$x=defineComponent({__name:"PostSlider",setup(Ra){const qa=useStore(),nd=ref$1(!1),od=ref$1("");watch(nd,()=>{nd.value&&(od.value="")});function ld(){if(od.value===""){Ke$1.error("文章标题不可为空");return}qa.addPost(od.value),nd.value=!1,Ke$1.success("文章新增成功")}const ud=ref$1(-1),dd=ref$1(!1),pd=ref$1("");function fd(Id){ud.value=Id,pd.value=qa.posts[Id].title,dd.value=!0}function md(){if(pd.value===""){Ke$1.error("文章标题不可为空");return}qa.renamePost(ud.value,pd.value),dd.value=!1,Ke$1.success("文章重命名成功")}const vd=ref$1(!1);function Ad(Id){ud.value=Id,vd.value=!0}function Nd(){qa.delPost(ud.value),vd.value=!1,Ke$1.success("文章删除成功")}return(Id,Od)=>{const Md=_sfc_main$1h,Ud=_sfc_main$y,jd=_sfc_main$$,Ld=_sfc_main$K,Bd=_sfc_main$10,Gd=_sfc_main$17,qd=_sfc_main$18,zd=_sfc_main$19,Xd=_sfc_main$1a,gf=_sfc_main$z,Yd=_sfc_main$A,Zd=_sfc_main$B,df=_sfc_main$C,Ef=_sfc_main$1c,_f=_sfc_main$1d,xf=_sfc_main$1e,vf=_sfc_main$1f,Af=_sfc_main$1g,Df=_sfc_main$1i,jf=_sfc_main$1j,Jf=_sfc_main$1k;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden border-r bg-gray/20 transition-width dark:bg-gray/40",{"w-0":!unref(qa).isOpenPostSlider,"w-50":unref(qa).isOpenPostSlider}])},[createBaseVNode("nav",_hoisted_1$4,[createVNode(Xd,{open:unref(nd),"onUpdate:open":Od[2]||(Od[2]=eh=>isRef(nd)?nd.value=eh:null)},{default:withCtx(()=>[createVNode(Ud,{"as-child":""},{default:withCtx(()=>[createVNode(Md,{variant:"outline",class:"w-full",size:"xs"},{default:withCtx(()=>[createVNode(unref(Plus)),Od[9]||(Od[9]=createTextVNode(" 新增文章 "))]),_:1})]),_:1}),createVNode(zd,null,{default:withCtx(()=>[createVNode(Bd,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>Od[10]||(Od[10]=[createTextVNode("新增文章")])),_:1}),createVNode(Ld,null,{default:withCtx(()=>Od[11]||(Od[11]=[createTextVNode(" 请输入文章名称 ")])),_:1})]),_:1}),createVNode(Gd,{modelValue:unref(od),"onUpdate:modelValue":Od[0]||(Od[0]=eh=>isRef(od)?od.value=eh:null)},null,8,["modelValue"]),createVNode(qd,null,{default:withCtx(()=>[createVNode(Md,{onClick:Od[1]||(Od[1]=eh=>ld())},{default:withCtx(()=>Od[12]||(Od[12]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).posts,(eh,th)=>(openBlock(),createElementBlock("a",{key:eh.title,href:"#",class:normalizeClass([{"bg-primary text-primary-foreground shadow-lg border-2 border-primary":unref(qa).currentPostIndex===th,"dark:bg-primary-dark dark:text-primary-foreground-dark dark:border-primary-dark":unref(qa).currentPostIndex===th},"hover:bg-primary/90 hover:text-primary-foreground dark:bg-muted dark:hover:bg-muted dark:hover:border-primary-dark h-8 w-full inline-flex items-center justify-start gap-2 whitespace-nowrap rounded px-2 text-sm transition-colors dark:text-white dark:hover:text-white"]),onClick:Uf=>unref(qa).currentPostIndex=th},[createBaseVNode("span",_hoisted_3$3,toDisplayString(eh.title),1),createVNode(df,null,{default:withCtx(()=>[createVNode(gf,{"as-child":""},{default:withCtx(()=>[createVNode(Md,{size:"xs",variant:"ghost",class:"ml-auto px-1.5"},{default:withCtx(()=>[createVNode(unref(Ellipsis),{class:"size-4"})]),_:1})]),_:1}),createVNode(Zd,null,{default:withCtx(()=>[createVNode(Yd,{onClick:withModifiers(Uf=>fd(th),["stop"])},{default:withCtx(()=>[createVNode(unref(PenLine),{class:"mr-2 size-4"}),Od[13]||(Od[13]=createTextVNode(" 重命名 "))]),_:2},1032,["onClick"]),unref(qa).posts.length>1?(openBlock(),createBlock(Yd,{key:0,onClick:withModifiers(Uf=>Ad(th),["stop"])},{default:withCtx(()=>[createVNode(unref(Trash),{class:"mr-2 size-4"}),Od[14]||(Od[14]=createTextVNode(" 删除 "))]),_:2},1032,["onClick"])):createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)],10,_hoisted_2$3))),128)),createVNode(Xd,{open:unref(dd),"onUpdate:open":Od[6]||(Od[6]=eh=>isRef(dd)?dd.value=eh:null)},{default:withCtx(()=>[createVNode(zd,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(Bd,null,{default:withCtx(()=>[createVNode(jd,null,{default:withCtx(()=>Od[15]||(Od[15]=[createTextVNode("编辑文章名称")])),_:1}),createVNode(Ld,null,{default:withCtx(()=>Od[16]||(Od[16]=[createTextVNode(" 请输入新的文章名称 ")])),_:1})]),_:1}),createVNode(Gd,{modelValue:unref(pd),"onUpdate:modelValue":Od[3]||(Od[3]=eh=>isRef(pd)?pd.value=eh:null)},null,8,["modelValue"]),createVNode(qd,null,{default:withCtx(()=>[createVNode(Md,{variant:"outline",onClick:Od[4]||(Od[4]=eh=>dd.value=!1)},{default:withCtx(()=>Od[17]||(Od[17]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Md,{onClick:Od[5]||(Od[5]=eh=>md())},{default:withCtx(()=>Od[18]||(Od[18]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Jf,{open:unref(vd),"onUpdate:open":Od[8]||(Od[8]=eh=>isRef(vd)?vd.value=eh:null)},{default:withCtx(()=>[createVNode(jf,null,{default:withCtx(()=>[createVNode(xf,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>Od[19]||(Od[19]=[createTextVNode("提示")])),_:1}),createVNode(_f,null,{default:withCtx(()=>Od[20]||(Od[20]=[createTextVNode(" 此操作将删除该文章,是否继续? ")])),_:1})]),_:1}),createVNode(Df,null,{default:withCtx(()=>[createVNode(vf,null,{default:withCtx(()=>Od[21]||(Od[21]=[createTextVNode("取消")])),_:1}),createVNode(Af,{onClick:Od[7]||(Od[7]=eh=>Nd())},{default:withCtx(()=>Od[22]||(Od[22]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])])],2)}}}),_sfc_main$w=defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,dd)=>withDirectives((openBlock(),createElementBlock("textarea",{"onUpdate:modelValue":dd[0]||(dd[0]=pd=>isRef(ld)?ld.value=pd:null),class:normalizeClass(unref(cn$5)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$v=defineComponent({__name:"AlertDescription",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)("text-sm [&_p]:leading-relaxed",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$u=defineComponent({__name:"AlertTitle",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("h5",{class:normalizeClass(unref(cn$5)("mb-1 font-medium leading-none tracking-tight",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),alertVariants=cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),_sfc_main$t=defineComponent({__name:"Alert",props:{class:{},variant:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$5)(unref(alertVariants)({variant:nd.variant}),qa.class)),role:"alert"},[renderSlot(nd.$slots,"default")],2))}}),_hoisted_1$3={class:"w-full flex items-center gap-4"},_hoisted_2$2={class:"w-full flex items-center gap-4"},_hoisted_3$2={class:"w-full flex items-start gap-4"},_sfc_main$s=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:nd}=storeToRefs(qa),od=ref$1(!1),ld=ref$1({title:"",desc:"",thumb:"",content:"",auto:{}});function ud(){var md;let fd={};try{fd={thumb:(md=document.querySelector("#output img"))==null?void 0:md.src,title:[1,2,3,4,5,6].map(vd=>document.querySelector(`#output h${vd}`)).filter(vd=>vd)[0].textContent,desc:document.querySelector("#output p").textContent,content:nd.value}}catch(vd){console.log("error",vd)}ld.value={...fd,auto:fd}}function dd(){od.value=!1,window.syncPost({thumb:ld.value.thumb||ld.value.auto.thumb,title:ld.value.title||ld.value.auto.title,desc:ld.value.desc||ld.value.auto.desc,content:ld.value.content||ld.value.auto.content})}function pd(fd){fd||(od.value=!1)}return(fd,md)=>{const vd=_sfc_main$1h,Ad=_sfc_main$y,Nd=_sfc_main$$,Id=_sfc_main$10,Od=_sfc_main$u,Md=_sfc_main$v,Ud=_sfc_main$t,jd=_sfc_main$11,Ld=_sfc_main$17,Bd=_sfc_main$w,Gd=_sfc_main$18,qd=_sfc_main$19,zd=_sfc_main$1a;return openBlock(),createBlock(zd,{open:unref(od),"onUpdate:open":[md[4]||(md[4]=Xd=>isRef(od)?od.value=Xd:null),pd]},{default:withCtx(()=>[createVNode(Ad,null,{default:withCtx(()=>[createVNode(vd,{variant:"outline",onClick:ud},{default:withCtx(()=>md[5]||(md[5]=[createTextVNode(" 发布 ")])),_:1})]),_:1}),createVNode(qd,null,{default:withCtx(()=>[createVNode(Id,null,{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>md[6]||(md[6]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(Ud,null,{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(Od,null,{default:withCtx(()=>md[7]||(md[7]=[createTextVNode("提示")])),_:1}),createVNode(Md,null,{default:withCtx(()=>md[8]||(md[8]=[createTextVNode(" 此功能由第三方浏览器插件支持,本平台不保证安全性。 ")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$3,[createVNode(jd,{for:"thumb",class:"w-10 text-end"},{default:withCtx(()=>md[9]||(md[9]=[createTextVNode(" 封面 ")])),_:1}),createVNode(Ld,{id:"thumb",modelValue:unref(ld).thumb,"onUpdate:modelValue":md[0]||(md[0]=Xd=>unref(ld).thumb=Xd),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$2,[createVNode(jd,{for:"title",class:"w-10 text-end"},{default:withCtx(()=>md[10]||(md[10]=[createTextVNode(" 标题 ")])),_:1}),createVNode(Ld,{id:"title",modelValue:unref(ld).title,"onUpdate:modelValue":md[1]||(md[1]=Xd=>unref(ld).title=Xd),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$2,[createVNode(jd,{for:"desc",class:"w-10 text-end"},{default:withCtx(()=>md[11]||(md[11]=[createTextVNode(" 描述 ")])),_:1}),createVNode(Bd,{id:"desc",modelValue:unref(ld).desc,"onUpdate:modelValue":md[2]||(md[2]=Xd=>unref(ld).desc=Xd),placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),createVNode(Gd,null,{default:withCtx(()=>[createVNode(vd,{variant:"outline",onClick:md[3]||(md[3]=Xd=>od.value=!1)},{default:withCtx(()=>md[12]||(md[12]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(vd,{onClick:dd},{default:withCtx(()=>md[13]||(md[13]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$r=defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(hs$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$q=defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(gs$4),null,{default:withCtx(()=>[createVNode(unref(Cs$2),mergeProps({...unref(ud),...dd.$attrs},{class:unref(cn$5)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$p=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(ys$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$o=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(ud),{class:unref(cn$5)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$n=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;function ld(pd){pd||od("close")}const ud=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function dd(pd){window.open(pd,"_blank")}return(pd,fd)=>{const md=_sfc_main$$,vd=_sfc_main$10,Ad=_sfc_main$1h,Nd=_sfc_main$18,Id=_sfc_main$19,Od=_sfc_main$1a;return openBlock(),createBlock(Od,{open:nd.visible,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(Id,null,{default:withCtx(()=>[createVNode(vd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[0]||(fd[0]=[createTextVNode("关于")])),_:1})]),_:1}),fd[1]||(fd[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs,原创技术文章第一时间推送!"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(Nd,{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ud,Md=>createVNode(Ad,{key:Md.url,onClick:Ud=>dd(Md.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(Md.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$m=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Lh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$l=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(Hh),mergeProps(unref(od),{class:unref(cn$5)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$2={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$k=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(qh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$2,[createVNode(unref(Yh),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$j=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zh),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$i=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(nd,od)=>{const ld=_sfc_main$j,ud=_sfc_main$k,dd=_sfc_main$l,pd=_sfc_main$m,fd=_sfc_main$n;return openBlock(),createElementBlock(Fragment,null,[createVNode(pd,null,{default:withCtx(()=>[createVNode(ld,null,{default:withCtx(()=>od[2]||(od[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(dd,{align:"start"},{default:withCtx(()=>[createVNode(ud,{onClick:od[0]||(od[0]=md=>qa.value=!0)},{default:withCtx(()=>od[3]||(od[3]=[createBaseVNode("span",null,"关于",-1)])),_:1})]),_:1})]),_:1}),createVNode(fd,{visible:unref(qa),onClose:od[1]||(od[1]=md=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$h=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Eh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Dh),null,{default:withCtx(()=>[createVNode(unref($h),mergeProps(unref(od),{class:unref(cn$5)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ph),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$e=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gh),mergeProps({class:unref(cn$5)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(od)),null,16,["class"]))}}),_sfc_main$d=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,dd)=>(openBlock(),createBlock(unref(Qh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$c=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(ey),mergeProps(unref(ud),{class:unref(cn$5)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$b=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$a=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(ty),mergeProps(unref(od),{class:unref(cn$5)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$9=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function nd(od,ld){switch(od){case"字体":return{fontFamily:ld};case"字号":return{fontSize:ld};case"主题色":return{color:ld};default:return{}}}return(od,ld)=>{const ud=_sfc_main$a,dd=_sfc_main$b,pd=_sfc_main$k,fd=_sfc_main$c,md=_sfc_main$d;return openBlock(),createBlock(md,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>[ld[0]||(ld[0]=createBaseVNode("span",{class:"mr-2 h-4 w-4"},null,-1)),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(fd,{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(od.options,({label:vd,value:Ad,desc:Nd})=>(openBlock(),createBlock(pd,{key:Ad,label:vd,"model-value":Ad,class:"w-50",checked:od.current===Ad,onClick:Id=>od.change(Ad)},{default:withCtx(()=>[createTextVNode(toDisplayString(vd)+" ",1),createVNode(dd,{style:normalizeStyle(nd(od.title,Ad))},{default:withCtx(()=>[createTextVNode(toDisplayString(Nd),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","checked","onClick"]))),128))]),_:1})]),_:1})}}});var E$2="top",R$3="bottom",W$2="right",P$2="left",me$1="auto",G$2=[E$2,R$3,W$2,P$2],U$2="start",J$2="end",Xe="clippingParents",je$1="viewport",K$2="popper",Ye="reference",De=G$2.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$2,qa+"-"+J$2])},[]),Ee$1=[].concat(G$2,[me$1]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$2,qa+"-"+J$2])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C$1(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$2(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$2(Ra){var qa=H$2(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$2(Ra){var qa=H$2(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$1(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$2(Ra).ShadowRoot;return Ra instanceof qa||Ra instanceof ShadowRoot}function Mt(Ra){var qa=Ra.state;Object.keys(qa.elements).forEach(function(nd){var od=qa.styles[nd]||{},ld=qa.attributes[nd]||{},ud=qa.elements[nd];!B$2(ud)||!C$1(ud)||(Object.assign(ud.style,od),Object.keys(ld).forEach(function(dd){var pd=ld[dd];pd===!1?ud.removeAttribute(dd):ud.setAttribute(dd,pd===!0?"":pd)}))})}function Rt(Ra){var qa=Ra.state,nd={popper:{position:qa.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qa.elements.popper.style,nd.popper),qa.styles=nd,qa.elements.arrow&&Object.assign(qa.elements.arrow.style,nd.arrow),function(){Object.keys(qa.elements).forEach(function(od){var ld=qa.elements[od],ud=qa.attributes[od]||{},dd=Object.keys(qa.styles.hasOwnProperty(od)?qa.styles[od]:nd[od]),pd=dd.reduce(function(fd,md){return fd[md]="",fd},{});!B$2(ld)||!C$1(ld)||(Object.assign(ld.style,pd),Object.keys(ud).forEach(function(fd){ld.removeAttribute(fd)}))})}}var Ae$1={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q$2(Ra){return Ra.split("-")[0]}var X$2=Math.max,ve$1=Math.min,Z$2=Math.round;function ee$1(Ra,qa){qa===void 0&&(qa=!1);var nd=Ra.getBoundingClientRect(),od=1,ld=1;if(B$2(Ra)&&qa){var ud=Ra.offsetHeight,dd=Ra.offsetWidth;dd>0&&(od=Z$2(nd.width)/dd||1),ud>0&&(ld=Z$2(nd.height)/ud||1)}return{width:nd.width/od,height:nd.height/ld,top:nd.top/ld,right:nd.right/od,bottom:nd.bottom/ld,left:nd.left/od,x:nd.left/od,y:nd.top/ld}}function ke$1(Ra){var qa=ee$1(Ra),nd=Ra.offsetWidth,od=Ra.offsetHeight;return Math.abs(qa.width-nd)<=1&&(nd=qa.width),Math.abs(qa.height-od)<=1&&(od=qa.height),{x:Ra.offsetLeft,y:Ra.offsetTop,width:nd,height:od}}function it(Ra,qa){var nd=qa.getRootNode&&qa.getRootNode();if(Ra.contains(qa))return!0;if(nd&&Pe$1(nd)){var od=qa;do{if(od&&Ra.isSameNode(od))return!0;od=od.parentNode||od.host}while(od)}return!1}function N$1(Ra){return H$2(Ra).getComputedStyle(Ra)}function Wt(Ra){return["table","td","th"].indexOf(C$1(Ra))>=0}function I$1(Ra){return((Q$2(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$1(Ra){return C$1(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$1(Ra)?Ra.host:null)||I$1(Ra)}function at$1(Ra){return!B$2(Ra)||N$1(Ra).position==="fixed"?null:Ra.offsetParent}function Bt(Ra){var qa=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,nd=navigator.userAgent.indexOf("Trident")!==-1;if(nd&&B$2(Ra)){var od=N$1(Ra);if(od.position==="fixed")return null}var ld=ge$1(Ra);for(Pe$1(ld)&&(ld=ld.host);B$2(ld)&&["html","body"].indexOf(C$1(ld))<0;){var ud=N$1(ld);if(ud.transform!=="none"||ud.perspective!=="none"||ud.contain==="paint"||["transform","perspective"].indexOf(ud.willChange)!==-1||qa&&ud.willChange==="filter"||qa&&ud.filter&&ud.filter!=="none")return ld;ld=ld.parentNode}return null}function se$1(Ra){for(var qa=H$2(Ra),nd=at$1(Ra);nd&&Wt(nd)&&N$1(nd).position==="static";)nd=at$1(nd);return nd&&(C$1(nd)==="html"||C$1(nd)==="body"&&N$1(nd).position==="static")?qa:nd||Bt(Ra)||qa}function Le$1(Ra){return["top","bottom"].indexOf(Ra)>=0?"x":"y"}function fe$1(Ra,qa,nd){return X$2(Ra,ve$1(qa,nd))}function St(Ra,qa,nd){var od=fe$1(Ra,qa,nd);return od>nd?nd:od}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(Ra){return Object.assign({},st(),Ra)}function ct$1(Ra,qa){return qa.reduce(function(nd,od){return nd[od]=Ra,nd},{})}var Tt=function(Ra,qa){return Ra=typeof Ra=="function"?Ra(Object.assign({},qa.rects,{placement:qa.placement})):Ra,ft(typeof Ra!="number"?Ra:ct$1(Ra,G$2))};function Ht(Ra){var qa,nd=Ra.state,od=Ra.name,ld=Ra.options,ud=nd.elements.arrow,dd=nd.modifiersData.popperOffsets,pd=q$2(nd.placement),fd=Le$1(pd),md=[P$2,W$2].indexOf(pd)>=0,vd=md?"height":"width";if(!(!ud||!dd)){var Ad=Tt(ld.padding,nd),Nd=ke$1(ud),Id=fd==="y"?E$2:P$2,Od=fd==="y"?R$3:W$2,Md=nd.rects.reference[vd]+nd.rects.reference[fd]-dd[fd]-nd.rects.popper[vd],Ud=dd[fd]-nd.rects.reference[fd],jd=se$1(ud),Ld=jd?fd==="y"?jd.clientHeight||0:jd.clientWidth||0:0,Bd=Md/2-Ud/2,Gd=Ad[Id],qd=Ld-Nd[vd]-Ad[Od],zd=Ld/2-Nd[vd]/2+Bd,Xd=fe$1(Gd,zd,qd),gf=fd;nd.modifiersData[od]=(qa={},qa[gf]=Xd,qa.centerOffset=Xd-zd,qa)}}function Ct(Ra){var qa=Ra.state,nd=Ra.options,od=nd.element,ld=od===void 0?"[data-popper-arrow]":od;ld!=null&&(typeof ld=="string"&&(ld=qa.elements.popper.querySelector(ld),!ld)||!it(qa.elements.popper,ld)||(qa.elements.arrow=ld))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$1(Ra){return Ra.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(Ra){var qa=Ra.x,nd=Ra.y,od=window,ld=od.devicePixelRatio||1;return{x:Z$2(qa*ld)/ld||0,y:Z$2(nd*ld)/ld||0}}function ut(Ra){var qa,nd=Ra.popper,od=Ra.popperRect,ld=Ra.placement,ud=Ra.variation,dd=Ra.offsets,pd=Ra.position,fd=Ra.gpuAcceleration,md=Ra.adaptive,vd=Ra.roundOffsets,Ad=Ra.isFixed,Nd=dd.x,Id=Nd===void 0?0:Nd,Od=dd.y,Md=Od===void 0?0:Od,Ud=typeof vd=="function"?vd({x:Id,y:Md}):{x:Id,y:Md};Id=Ud.x,Md=Ud.y;var jd=dd.hasOwnProperty("x"),Ld=dd.hasOwnProperty("y"),Bd=P$2,Gd=E$2,qd=window;if(md){var zd=se$1(nd),Xd="clientHeight",gf="clientWidth";if(zd===H$2(nd)&&(zd=I$1(nd),N$1(zd).position!=="static"&&pd==="absolute"&&(Xd="scrollHeight",gf="scrollWidth")),zd=zd,ld===E$2||(ld===P$2||ld===W$2)&&ud===J$2){Gd=R$3;var Yd=Ad&&zd===qd&&qd.visualViewport?qd.visualViewport.height:zd[Xd];Md-=Yd-od.height,Md*=fd?1:-1}if(ld===P$2||(ld===E$2||ld===R$3)&&ud===J$2){Bd=W$2;var Zd=Ad&&zd===qd&&qd.visualViewport?qd.visualViewport.width:zd[gf];Id-=Zd-od.width,Id*=fd?1:-1}}var df=Object.assign({position:pd},md&&qt),Ef=vd===!0?Vt({x:Id,y:Md}):{x:Id,y:Md};if(Id=Ef.x,Md=Ef.y,fd){var _f;return Object.assign({},df,(_f={},_f[Gd]=Ld?"0":"",_f[Bd]=jd?"0":"",_f.transform=(qd.devicePixelRatio||1)<=1?"translate("+Id+"px, "+Md+"px)":"translate3d("+Id+"px, "+Md+"px, 0)",_f))}return Object.assign({},df,(qa={},qa[Gd]=Ld?Md+"px":"",qa[Bd]=jd?Id+"px":"",qa.transform="",qa))}function Nt(Ra){var qa=Ra.state,nd=Ra.options,od=nd.gpuAcceleration,ld=od===void 0?!0:od,ud=nd.adaptive,dd=ud===void 0?!0:ud,pd=nd.roundOffsets,fd=pd===void 0?!0:pd,md={placement:q$2(qa.placement),variation:te$1(qa.placement),popper:qa.elements.popper,popperRect:qa.rects.popper,gpuAcceleration:ld,isFixed:qa.options.strategy==="fixed"};qa.modifiersData.popperOffsets!=null&&(qa.styles.popper=Object.assign({},qa.styles.popper,ut(Object.assign({},md,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:dd,roundOffsets:fd})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut(Object.assign({},md,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:fd})))),qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-placement":qa.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye$1={passive:!0};function It(Ra){var qa=Ra.state,nd=Ra.instance,od=Ra.options,ld=od.scroll,ud=ld===void 0?!0:ld,dd=od.resize,pd=dd===void 0?!0:dd,fd=H$2(qa.elements.popper),md=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return ud&&md.forEach(function(vd){vd.addEventListener("scroll",nd.update,ye$1)}),pd&&fd.addEventListener("resize",nd.update,ye$1),function(){ud&&md.forEach(function(vd){vd.removeEventListener("scroll",nd.update,ye$1)}),pd&&fd.removeEventListener("resize",nd.update,ye$1)}}var Re$1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be$2(Ra){return Ra.replace(/left|right|bottom|top/g,function(qa){return _t[qa]})}var zt={start:"end",end:"start"};function lt(Ra){return Ra.replace(/start|end/g,function(qa){return zt[qa]})}function We(Ra){var qa=H$2(Ra),nd=qa.pageXOffset,od=qa.pageYOffset;return{scrollLeft:nd,scrollTop:od}}function Be$1(Ra){return ee$1(I$1(Ra)).left+We(Ra).scrollLeft}function Ft(Ra){var qa=H$2(Ra),nd=I$1(Ra),od=qa.visualViewport,ld=nd.clientWidth,ud=nd.clientHeight,dd=0,pd=0;return od&&(ld=od.width,ud=od.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(dd=od.offsetLeft,pd=od.offsetTop)),{width:ld,height:ud,x:dd+Be$1(Ra),y:pd}}function Ut(Ra){var qa,nd=I$1(Ra),od=We(Ra),ld=(qa=Ra.ownerDocument)==null?void 0:qa.body,ud=X$2(nd.scrollWidth,nd.clientWidth,ld?ld.scrollWidth:0,ld?ld.clientWidth:0),dd=X$2(nd.scrollHeight,nd.clientHeight,ld?ld.scrollHeight:0,ld?ld.clientHeight:0),pd=-od.scrollLeft+Be$1(Ra),fd=-od.scrollTop;return N$1(ld||nd).direction==="rtl"&&(pd+=X$2(nd.clientWidth,ld?ld.clientWidth:0)-ud),{width:ud,height:dd,x:pd,y:fd}}function Se$1(Ra){var qa=N$1(Ra),nd=qa.overflow,od=qa.overflowX,ld=qa.overflowY;return/auto|scroll|overlay|hidden/.test(nd+ld+od)}function dt(Ra){return["html","body","#document"].indexOf(C$1(Ra))>=0?Ra.ownerDocument.body:B$2(Ra)&&Se$1(Ra)?Ra:dt(ge$1(Ra))}function ce$2(Ra,qa){var nd;qa===void 0&&(qa=[]);var od=dt(Ra),ld=od===((nd=Ra.ownerDocument)==null?void 0:nd.body),ud=H$2(od),dd=ld?[ud].concat(ud.visualViewport||[],Se$1(od)?od:[]):od,pd=qa.concat(dd);return ld?pd:pd.concat(ce$2(ge$1(dd)))}function Te(Ra){return Object.assign({},Ra,{left:Ra.x,top:Ra.y,right:Ra.x+Ra.width,bottom:Ra.y+Ra.height})}function Xt(Ra){var qa=ee$1(Ra);return qa.top=qa.top+Ra.clientTop,qa.left=qa.left+Ra.clientLeft,qa.bottom=qa.top+Ra.clientHeight,qa.right=qa.left+Ra.clientWidth,qa.width=Ra.clientWidth,qa.height=Ra.clientHeight,qa.x=qa.left,qa.y=qa.top,qa}function ht(Ra,qa){return qa===je$1?Te(Ft(Ra)):Q$2(qa)?Xt(qa):Te(Ut(I$1(Ra)))}function Yt(Ra){var qa=ce$2(ge$1(Ra)),nd=["absolute","fixed"].indexOf(N$1(Ra).position)>=0,od=nd&&B$2(Ra)?se$1(Ra):Ra;return Q$2(od)?qa.filter(function(ld){return Q$2(ld)&&it(ld,od)&&C$1(ld)!=="body"}):[]}function Gt(Ra,qa,nd){var od=qa==="clippingParents"?Yt(Ra):[].concat(qa),ld=[].concat(od,[nd]),ud=ld[0],dd=ld.reduce(function(pd,fd){var md=ht(Ra,fd);return pd.top=X$2(md.top,pd.top),pd.right=ve$1(md.right,pd.right),pd.bottom=ve$1(md.bottom,pd.bottom),pd.left=X$2(md.left,pd.left),pd},ht(Ra,ud));return dd.width=dd.right-dd.left,dd.height=dd.bottom-dd.top,dd.x=dd.left,dd.y=dd.top,dd}function mt(Ra){var qa=Ra.reference,nd=Ra.element,od=Ra.placement,ld=od?q$2(od):null,ud=od?te$1(od):null,dd=qa.x+qa.width/2-nd.width/2,pd=qa.y+qa.height/2-nd.height/2,fd;switch(ld){case E$2:fd={x:dd,y:qa.y-nd.height};break;case R$3:fd={x:dd,y:qa.y+qa.height};break;case W$2:fd={x:qa.x+qa.width,y:pd};break;case P$2:fd={x:qa.x-nd.width,y:pd};break;default:fd={x:qa.x,y:qa.y}}var md=ld?Le$1(ld):null;if(md!=null){var vd=md==="y"?"height":"width";switch(ud){case U$2:fd[md]=fd[md]-(qa[vd]/2-nd[vd]/2);break;case J$2:fd[md]=fd[md]+(qa[vd]/2-nd[vd]/2);break}}return fd}function ne$1(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=od===void 0?Ra.placement:od,ud=nd.boundary,dd=ud===void 0?Xe:ud,pd=nd.rootBoundary,fd=pd===void 0?je$1:pd,md=nd.elementContext,vd=md===void 0?K$2:md,Ad=nd.altBoundary,Nd=Ad===void 0?!1:Ad,Id=nd.padding,Od=Id===void 0?0:Id,Md=ft(typeof Od!="number"?Od:ct$1(Od,G$2)),Ud=vd===K$2?Ye:K$2,jd=Ra.rects.popper,Ld=Ra.elements[Nd?Ud:vd],Bd=Gt(Q$2(Ld)?Ld:Ld.contextElement||I$1(Ra.elements.popper),dd,fd),Gd=ee$1(Ra.elements.reference),qd=mt({reference:Gd,element:jd,strategy:"absolute",placement:ld}),zd=Te(Object.assign({},jd,qd)),Xd=vd===K$2?zd:Gd,gf={top:Bd.top-Xd.top+Md.top,bottom:Xd.bottom-Bd.bottom+Md.bottom,left:Bd.left-Xd.left+Md.left,right:Xd.right-Bd.right+Md.right},Yd=Ra.modifiersData.offset;if(vd===K$2&&Yd){var Zd=Yd[ld];Object.keys(gf).forEach(function(df){var Ef=[W$2,R$3].indexOf(df)>=0?1:-1,_f=[E$2,R$3].indexOf(df)>=0?"y":"x";gf[df]+=Zd[_f]*Ef})}return gf}function Jt(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=nd.boundary,ud=nd.rootBoundary,dd=nd.padding,pd=nd.flipVariations,fd=nd.allowedAutoPlacements,md=fd===void 0?Ee$1:fd,vd=te$1(od),Ad=vd?pd?De:De.filter(function(Od){return te$1(Od)===vd}):G$2,Nd=Ad.filter(function(Od){return md.indexOf(Od)>=0});Nd.length===0&&(Nd=Ad);var Id=Nd.reduce(function(Od,Md){return Od[Md]=ne$1(Ra,{placement:Md,boundary:ld,rootBoundary:ud,padding:dd})[q$2(Md)],Od},{});return Object.keys(Id).sort(function(Od,Md){return Id[Od]-Id[Md]})}function Kt(Ra){if(q$2(Ra)===me$1)return[];var qa=be$2(Ra);return[lt(Ra),qa,lt(qa)]}function Qt(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name;if(!qa.modifiersData[od]._skip){for(var ld=nd.mainAxis,ud=ld===void 0?!0:ld,dd=nd.altAxis,pd=dd===void 0?!0:dd,fd=nd.fallbackPlacements,md=nd.padding,vd=nd.boundary,Ad=nd.rootBoundary,Nd=nd.altBoundary,Id=nd.flipVariations,Od=Id===void 0?!0:Id,Md=nd.allowedAutoPlacements,Ud=qa.options.placement,jd=q$2(Ud),Ld=jd===Ud,Bd=fd||(Ld||!Od?[be$2(Ud)]:Kt(Ud)),Gd=[Ud].concat(Bd).reduce(function(Wf,qf){return Wf.concat(q$2(qf)===me$1?Jt(qa,{placement:qf,boundary:vd,rootBoundary:Ad,padding:md,flipVariations:Od,allowedAutoPlacements:Md}):qf)},[]),qd=qa.rects.reference,zd=qa.rects.popper,Xd=new Map,gf=!0,Yd=Gd[0],Zd=0;Zd<Gd.length;Zd++){var df=Gd[Zd],Ef=q$2(df),_f=te$1(df)===U$2,xf=[E$2,R$3].indexOf(Ef)>=0,vf=xf?"width":"height",Af=ne$1(qa,{placement:df,boundary:vd,rootBoundary:Ad,altBoundary:Nd,padding:md}),Df=xf?_f?W$2:P$2:_f?R$3:E$2;qd[vf]>zd[vf]&&(Df=be$2(Df));var jf=be$2(Df),Jf=[];if(ud&&Jf.push(Af[Ef]<=0),pd&&Jf.push(Af[Df]<=0,Af[jf]<=0),Jf.every(function(Wf){return Wf})){Yd=df,gf=!1;break}Xd.set(df,Jf)}if(gf)for(var eh=Od?3:1,th=function(Wf){var qf=Gd.find(function(zf){var Tf=Xd.get(zf);if(Tf)return Tf.slice(0,Wf).every(function(Sf){return Sf})});if(qf)return Yd=qf,"break"},Uf=eh;Uf>0;Uf--){var Of=th(Uf);if(Of==="break")break}qa.placement!==Yd&&(qa.modifiersData[od]._skip=!0,qa.placement=Yd,qa.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(Ra,qa,nd){return nd===void 0&&(nd={x:0,y:0}),{top:Ra.top-qa.height-nd.y,right:Ra.right-qa.width+nd.x,bottom:Ra.bottom-qa.height+nd.y,left:Ra.left-qa.width-nd.x}}function yt(Ra){return[E$2,W$2,R$3,P$2].some(function(qa){return Ra[qa]>=0})}function Zt(Ra){var qa=Ra.state,nd=Ra.name,od=qa.rects.reference,ld=qa.rects.popper,ud=qa.modifiersData.preventOverflow,dd=ne$1(qa,{elementContext:"reference"}),pd=ne$1(qa,{altBoundary:!0}),fd=gt(dd,od),md=gt(pd,ld,ud),vd=yt(fd),Ad=yt(md);qa.modifiersData[nd]={referenceClippingOffsets:fd,popperEscapeOffsets:md,isReferenceHidden:vd,hasPopperEscaped:Ad},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":vd,"data-popper-escaped":Ad})}var bt$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(Ra,qa,nd){var od=q$2(Ra),ld=[P$2,E$2].indexOf(od)>=0?-1:1,ud=typeof nd=="function"?nd(Object.assign({},qa,{placement:Ra})):nd,dd=ud[0],pd=ud[1];return dd=dd||0,pd=(pd||0)*ld,[P$2,W$2].indexOf(od)>=0?{x:pd,y:dd}:{x:dd,y:pd}}function tn(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.offset,ud=ld===void 0?[0,0]:ld,dd=Ee$1.reduce(function(vd,Ad){return vd[Ad]=en(Ad,qa.rects,ud),vd},{}),pd=dd[qa.placement],fd=pd.x,md=pd.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=fd,qa.modifiersData.popperOffsets.y+=md),qa.modifiersData[od]=dd}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(Ra){var qa=Ra.state,nd=Ra.name;qa.modifiersData[nd]=mt({reference:qa.rects.reference,element:qa.rects.popper,strategy:"absolute",placement:qa.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(Ra){return Ra==="x"?"y":"x"}function on(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.mainAxis,ud=ld===void 0?!0:ld,dd=nd.altAxis,pd=dd===void 0?!1:dd,fd=nd.boundary,md=nd.rootBoundary,vd=nd.altBoundary,Ad=nd.padding,Nd=nd.tether,Id=Nd===void 0?!0:Nd,Od=nd.tetherOffset,Md=Od===void 0?0:Od,Ud=ne$1(qa,{boundary:fd,rootBoundary:md,padding:Ad,altBoundary:vd}),jd=q$2(qa.placement),Ld=te$1(qa.placement),Bd=!Ld,Gd=Le$1(jd),qd=rn(Gd),zd=qa.modifiersData.popperOffsets,Xd=qa.rects.reference,gf=qa.rects.popper,Yd=typeof Md=="function"?Md(Object.assign({},qa.rects,{placement:qa.placement})):Md,Zd=typeof Yd=="number"?{mainAxis:Yd,altAxis:Yd}:Object.assign({mainAxis:0,altAxis:0},Yd),df=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,Ef={x:0,y:0};if(zd){if(ud){var _f,xf=Gd==="y"?E$2:P$2,vf=Gd==="y"?R$3:W$2,Af=Gd==="y"?"height":"width",Df=zd[Gd],jf=Df+Ud[xf],Jf=Df-Ud[vf],eh=Id?-gf[Af]/2:0,th=Ld===U$2?Xd[Af]:gf[Af],Uf=Ld===U$2?-gf[Af]:-Xd[Af],Of=qa.elements.arrow,Wf=Id&&Of?ke$1(Of):{width:0,height:0},qf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st(),zf=qf[xf],Tf=qf[vf],Sf=fe$1(0,Xd[Af],Wf[Af]),Yf=Bd?Xd[Af]/2-eh-Sf-zf-Zd.mainAxis:th-Sf-zf-Zd.mainAxis,ih=Bd?-Xd[Af]/2+eh+Sf+Tf+Zd.mainAxis:Uf+Sf+Tf+Zd.mainAxis,Th=qa.elements.arrow&&se$1(qa.elements.arrow),sh=Th?Gd==="y"?Th.clientTop||0:Th.clientLeft||0:0,Nf=(_f=df==null?void 0:df[Gd])!=null?_f:0,ph=Df+Yf-Nf-sh,Oh=Df+ih-Nf,Zf=fe$1(Id?ve$1(jf,ph):jf,Df,Id?X$2(Jf,Oh):Jf);zd[Gd]=Zf,Ef[Gd]=Zf-Df}if(pd){var Rf,Bf=Gd==="x"?E$2:P$2,Kf=Gd==="x"?R$3:W$2,wh=zd[qd],Ah=qd==="y"?"height":"width",mh=wh+Ud[Bf],im=wh-Ud[Kf],Bh=[E$2,P$2].indexOf(jd)!==-1,Tm=(Rf=df==null?void 0:df[qd])!=null?Rf:0,Pm=Bh?mh:wh-Xd[Ah]-gf[Ah]-Tm+Zd.altAxis,gm=Bh?wh+Xd[Ah]+gf[Ah]-Tm-Zd.altAxis:im,Mm=Id&&Bh?St(Pm,wh,gm):fe$1(Id?Pm:mh,wh,Id?gm:im);zd[qd]=Mm,Ef[qd]=Mm-wh}qa.modifiersData[od]=Ef}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an$1(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn(Ra){return Ra===H$2(Ra)||!B$2(Ra)?We(Ra):an$1(Ra)}function fn(Ra){var qa=Ra.getBoundingClientRect(),nd=Z$2(qa.width)/Ra.offsetWidth||1,od=Z$2(qa.height)/Ra.offsetHeight||1;return nd!==1||od!==1}function cn$1(Ra,qa,nd){nd===void 0&&(nd=!1);var od=B$2(qa),ld=B$2(qa)&&fn(qa),ud=I$1(qa),dd=ee$1(Ra,ld),pd={scrollLeft:0,scrollTop:0},fd={x:0,y:0};return(od||!od&&!nd)&&((C$1(qa)!=="body"||Se$1(ud))&&(pd=sn(qa)),B$2(qa)?(fd=ee$1(qa,!0),fd.x+=qa.clientLeft,fd.y+=qa.clientTop):ud&&(fd.x=Be$1(ud))),{x:dd.left+pd.scrollLeft-fd.x,y:dd.top+pd.scrollTop-fd.y,width:dd.width,height:dd.height}}function pn(Ra){var qa=new Map,nd=new Set,od=[];Ra.forEach(function(ud){qa.set(ud.name,ud)});function ld(ud){nd.add(ud.name);var dd=[].concat(ud.requires||[],ud.requiresIfExists||[]);dd.forEach(function(pd){if(!nd.has(pd)){var fd=qa.get(pd);fd&&ld(fd)}}),od.push(ud)}return Ra.forEach(function(ud){nd.has(ud.name)||ld(ud)}),od}function un(Ra){var qa=pn(Ra);return ot.reduce(function(nd,od){return nd.concat(qa.filter(function(ld){return ld.phase===od}))},[])}function ln(Ra){var qa;return function(){return qa||(qa=new Promise(function(nd){Promise.resolve().then(function(){qa=void 0,nd(Ra())})})),qa}}function dn(Ra){var qa=Ra.reduce(function(nd,od){var ld=nd[od.name];return nd[od.name]=ld?Object.assign({},ld,od,{options:Object.assign({},ld.options,od.options),data:Object.assign({},ld.data,od.data)}):od,nd},{});return Object.keys(qa).map(function(nd){return qa[nd]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var Ra=arguments.length,qa=new Array(Ra),nd=0;nd<Ra;nd++)qa[nd]=arguments[nd];return!qa.some(function(od){return!(od&&typeof od.getBoundingClientRect=="function")})}function we$1(Ra){Ra===void 0&&(Ra={});var qa=Ra,nd=qa.defaultModifiers,od=nd===void 0?[]:nd,ld=qa.defaultOptions,ud=ld===void 0?Ot:ld;return function(dd,pd,fd){fd===void 0&&(fd=ud);var md={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,ud),modifiersData:{},elements:{reference:dd,popper:pd},attributes:{},styles:{}},vd=[],Ad=!1,Nd={state:md,setOptions:function(Md){var Ud=typeof Md=="function"?Md(md.options):Md;Od(),md.options=Object.assign({},ud,md.options,Ud),md.scrollParents={reference:Q$2(dd)?ce$2(dd):dd.contextElement?ce$2(dd.contextElement):[],popper:ce$2(pd)};var jd=un(dn([].concat(od,md.options.modifiers)));return md.orderedModifiers=jd.filter(function(Ld){return Ld.enabled}),Id(),Nd.update()},forceUpdate:function(){if(!Ad){var Md=md.elements,Ud=Md.reference,jd=Md.popper;if($t(Ud,jd)){md.rects={reference:cn$1(Ud,se$1(jd),md.options.strategy==="fixed"),popper:ke$1(jd)},md.reset=!1,md.placement=md.options.placement,md.orderedModifiers.forEach(function(gf){return md.modifiersData[gf.name]=Object.assign({},gf.data)});for(var Ld=0;Ld<md.orderedModifiers.length;Ld++){if(md.reset===!0){md.reset=!1,Ld=-1;continue}var Bd=md.orderedModifiers[Ld],Gd=Bd.fn,qd=Bd.options,zd=qd===void 0?{}:qd,Xd=Bd.name;typeof Gd=="function"&&(md=Gd({state:md,options:zd,name:Xd,instance:Nd})||md)}}}},update:ln(function(){return new Promise(function(Md){Nd.forceUpdate(),Md(md)})}),destroy:function(){Od(),Ad=!0}};if(!$t(dd,pd))return Nd;Nd.setOptions(fd).then(function(Md){!Ad&&fd.onFirstUpdate&&fd.onFirstUpdate(Md)});function Id(){md.orderedModifiers.forEach(function(Md){var Ud=Md.name,jd=Md.options,Ld=jd===void 0?{}:jd,Bd=Md.effect;if(typeof Bd=="function"){var Gd=Bd({state:md,name:Ud,instance:Nd,options:Ld}),qd=function(){};vd.push(Gd||qd)}})}function Od(){vd.forEach(function(Md){return Md()}),vd=[]}return Nd}}we$1();var mn=[Re$1,He,Me,Ae$1];we$1({defaultModifiers:mn});var gn=[Re$1,He,Me,Ae$1,wt,vt,xt,pt,bt$1],yn=we$1({defaultModifiers:gn});function F$1(Ra,qa){(qa==null||qa>Ra.length)&&(qa=Ra.length);for(var nd=0,od=Array(qa);nd<qa;nd++)od[nd]=Ra[nd];return od}function _$1(Ra,qa){if(Ra){if(typeof Ra=="string")return F$1(Ra,qa);var nd={}.toString.call(Ra).slice(8,-1);return nd==="Object"&&Ra.constructor&&(nd=Ra.constructor.name),nd==="Map"||nd==="Set"?Array.from(Ra):nd==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(nd)?F$1(Ra,qa):void 0}}function E$1(Ra){return function(qa){if(Array.isArray(qa))return F$1(qa)}(Ra)||function(qa){if(typeof Symbol<"u"&&qa[Symbol.iterator]!=null||qa["@@iterator"]!=null)return Array.from(qa)}(Ra)||_$1(Ra)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function P$1(Ra){return P$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(qa){return typeof qa}:function(qa){return qa&&typeof Symbol=="function"&&qa.constructor===Symbol&&qa!==Symbol.prototype?"symbol":typeof qa},P$1(Ra)}function j$1(Ra,qa,nd,od,ld,ud,dd){try{var pd=Ra[ud](dd),fd=pd.value}catch(md){return void nd(md)}pd.done?qa(fd):Promise.resolve(fd).then(od,ld)}function L$1(Ra){return function(){var qa=this,nd=arguments;return new Promise(function(od,ld){var ud=Ra.apply(qa,nd);function dd(fd){j$1(ud,od,ld,dd,pd,"next",fd)}function pd(fd){j$1(ud,od,ld,dd,pd,"throw",fd)}dd(void 0)})}}var B$1={exports:{}},R$2={exports:{}};(function(Ra){function qa(nd){return Ra.exports=qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(od){return typeof od}:function(od){return od&&typeof Symbol=="function"&&od.constructor===Symbol&&od!==Symbol.prototype?"symbol":typeof od},Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports,qa(nd)}Ra.exports=qa,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports})(R$2),function(Ra){var qa=R$2.exports.default;function nd(){Ra.exports=nd=function(){return ld},Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports;var od,ld={},ud=Object.prototype,dd=ud.hasOwnProperty,pd=Object.defineProperty||function(Jf,eh,th){Jf[eh]=th.value},fd=typeof Symbol=="function"?Symbol:{},md=fd.iterator||"@@iterator",vd=fd.asyncIterator||"@@asyncIterator",Ad=fd.toStringTag||"@@toStringTag";function Nd(Jf,eh,th){return Object.defineProperty(Jf,eh,{value:th,enumerable:!0,configurable:!0,writable:!0}),Jf[eh]}try{Nd({},"")}catch{Nd=function(eh,th,Uf){return eh[th]=Uf}}function Id(Jf,eh,th,Uf){var Of=eh&&eh.prototype instanceof Gd?eh:Gd,Wf=Object.create(Of.prototype),qf=new Df(Uf||[]);return pd(Wf,"_invoke",{value:_f(Jf,th,qf)}),Wf}function Od(Jf,eh,th){try{return{type:"normal",arg:Jf.call(eh,th)}}catch(Uf){return{type:"throw",arg:Uf}}}ld.wrap=Id;var Md="suspendedStart",Ud="suspendedYield",jd="executing",Ld="completed",Bd={};function Gd(){}function qd(){}function zd(){}var Xd={};Nd(Xd,md,function(){return this});var gf=Object.getPrototypeOf,Yd=gf&&gf(gf(jf([])));Yd&&Yd!==ud&&dd.call(Yd,md)&&(Xd=Yd);var Zd=zd.prototype=Gd.prototype=Object.create(Xd);function df(Jf){["next","throw","return"].forEach(function(eh){Nd(Jf,eh,function(th){return this._invoke(eh,th)})})}function Ef(Jf,eh){function th(Of,Wf,qf,zf){var Tf=Od(Jf[Of],Jf,Wf);if(Tf.type!=="throw"){var Sf=Tf.arg,Yf=Sf.value;return Yf&&qa(Yf)=="object"&&dd.call(Yf,"__await")?eh.resolve(Yf.__await).then(function(ih){th("next",ih,qf,zf)},function(ih){th("throw",ih,qf,zf)}):eh.resolve(Yf).then(function(ih){Sf.value=ih,qf(Sf)},function(ih){return th("throw",ih,qf,zf)})}zf(Tf.arg)}var Uf;pd(this,"_invoke",{value:function(Of,Wf){function qf(){return new eh(function(zf,Tf){th(Of,Wf,zf,Tf)})}return Uf=Uf?Uf.then(qf,qf):qf()}})}function _f(Jf,eh,th){var Uf=Md;return function(Of,Wf){if(Uf===jd)throw Error("Generator is already running");if(Uf===Ld){if(Of==="throw")throw Wf;return{value:od,done:!0}}for(th.method=Of,th.arg=Wf;;){var qf=th.delegate;if(qf){var zf=xf(qf,th);if(zf){if(zf===Bd)continue;return zf}}if(th.method==="next")th.sent=th._sent=th.arg;else if(th.method==="throw"){if(Uf===Md)throw Uf=Ld,th.arg;th.dispatchException(th.arg)}else th.method==="return"&&th.abrupt("return",th.arg);Uf=jd;var Tf=Od(Jf,eh,th);if(Tf.type==="normal"){if(Uf=th.done?Ld:Ud,Tf.arg===Bd)continue;return{value:Tf.arg,done:th.done}}Tf.type==="throw"&&(Uf=Ld,th.method="throw",th.arg=Tf.arg)}}}function xf(Jf,eh){var th=eh.method,Uf=Jf.iterator[th];if(Uf===od)return eh.delegate=null,th==="throw"&&Jf.iterator.return&&(eh.method="return",eh.arg=od,xf(Jf,eh),eh.method==="throw")||th!=="return"&&(eh.method="throw",eh.arg=new TypeError("The iterator does not provide a '"+th+"' method")),Bd;var Of=Od(Uf,Jf.iterator,eh.arg);if(Of.type==="throw")return eh.method="throw",eh.arg=Of.arg,eh.delegate=null,Bd;var Wf=Of.arg;return Wf?Wf.done?(eh[Jf.resultName]=Wf.value,eh.next=Jf.nextLoc,eh.method!=="return"&&(eh.method="next",eh.arg=od),eh.delegate=null,Bd):Wf:(eh.method="throw",eh.arg=new TypeError("iterator result is not an object"),eh.delegate=null,Bd)}function vf(Jf){var eh={tryLoc:Jf[0]};1 in Jf&&(eh.catchLoc=Jf[1]),2 in Jf&&(eh.finallyLoc=Jf[2],eh.afterLoc=Jf[3]),this.tryEntries.push(eh)}function Af(Jf){var eh=Jf.completion||{};eh.type="normal",delete eh.arg,Jf.completion=eh}function Df(Jf){this.tryEntries=[{tryLoc:"root"}],Jf.forEach(vf,this),this.reset(!0)}function jf(Jf){if(Jf||Jf===""){var eh=Jf[md];if(eh)return eh.call(Jf);if(typeof Jf.next=="function")return Jf;if(!isNaN(Jf.length)){var th=-1,Uf=function Of(){for(;++th<Jf.length;)if(dd.call(Jf,th))return Of.value=Jf[th],Of.done=!1,Of;return Of.value=od,Of.done=!0,Of};return Uf.next=Uf}}throw new TypeError(qa(Jf)+" is not iterable")}return qd.prototype=zd,pd(Zd,"constructor",{value:zd,configurable:!0}),pd(zd,"constructor",{value:qd,configurable:!0}),qd.displayName=Nd(zd,Ad,"GeneratorFunction"),ld.isGeneratorFunction=function(Jf){var eh=typeof Jf=="function"&&Jf.constructor;return!!eh&&(eh===qd||(eh.displayName||eh.name)==="GeneratorFunction")},ld.mark=function(Jf){return Object.setPrototypeOf?Object.setPrototypeOf(Jf,zd):(Jf.__proto__=zd,Nd(Jf,Ad,"GeneratorFunction")),Jf.prototype=Object.create(Zd),Jf},ld.awrap=function(Jf){return{__await:Jf}},df(Ef.prototype),Nd(Ef.prototype,vd,function(){return this}),ld.AsyncIterator=Ef,ld.async=function(Jf,eh,th,Uf,Of){Of===void 0&&(Of=Promise);var Wf=new Ef(Id(Jf,eh,th,Uf),Of);return ld.isGeneratorFunction(eh)?Wf:Wf.next().then(function(qf){return qf.done?qf.value:Wf.next()})},df(Zd),Nd(Zd,Ad,"Generator"),Nd(Zd,md,function(){return this}),Nd(Zd,"toString",function(){return"[object Generator]"}),ld.keys=function(Jf){var eh=Object(Jf),th=[];for(var Uf in eh)th.push(Uf);return th.reverse(),function Of(){for(;th.length;){var Wf=th.pop();if(Wf in eh)return Of.value=Wf,Of.done=!1,Of}return Of.done=!0,Of}},ld.values=jf,Df.prototype={constructor:Df,reset:function(Jf){if(this.prev=0,this.next=0,this.sent=this._sent=od,this.done=!1,this.delegate=null,this.method="next",this.arg=od,this.tryEntries.forEach(Af),!Jf)for(var eh in this)eh.charAt(0)==="t"&&dd.call(this,eh)&&!isNaN(+eh.slice(1))&&(this[eh]=od)},stop:function(){this.done=!0;var Jf=this.tryEntries[0].completion;if(Jf.type==="throw")throw Jf.arg;return this.rval},dispatchException:function(Jf){if(this.done)throw Jf;var eh=this;function th(Tf,Sf){return Wf.type="throw",Wf.arg=Jf,eh.next=Tf,Sf&&(eh.method="next",eh.arg=od),!!Sf}for(var Uf=this.tryEntries.length-1;Uf>=0;--Uf){var Of=this.tryEntries[Uf],Wf=Of.completion;if(Of.tryLoc==="root")return th("end");if(Of.tryLoc<=this.prev){var qf=dd.call(Of,"catchLoc"),zf=dd.call(Of,"finallyLoc");if(qf&&zf){if(this.prev<Of.catchLoc)return th(Of.catchLoc,!0);if(this.prev<Of.finallyLoc)return th(Of.finallyLoc)}else if(qf){if(this.prev<Of.catchLoc)return th(Of.catchLoc,!0)}else{if(!zf)throw Error("try statement without catch or finally");if(this.prev<Of.finallyLoc)return th(Of.finallyLoc)}}}},abrupt:function(Jf,eh){for(var th=this.tryEntries.length-1;th>=0;--th){var Uf=this.tryEntries[th];if(Uf.tryLoc<=this.prev&&dd.call(Uf,"finallyLoc")&&this.prev<Uf.finallyLoc){var Of=Uf;break}}Of&&(Jf==="break"||Jf==="continue")&&Of.tryLoc<=eh&&eh<=Of.finallyLoc&&(Of=null);var Wf=Of?Of.completion:{};return Wf.type=Jf,Wf.arg=eh,Of?(this.method="next",this.next=Of.finallyLoc,Bd):this.complete(Wf)},complete:function(Jf,eh){if(Jf.type==="throw")throw Jf.arg;return Jf.type==="break"||Jf.type==="continue"?this.next=Jf.arg:Jf.type==="return"?(this.rval=this.arg=Jf.arg,this.method="return",this.next="end"):Jf.type==="normal"&&eh&&(this.next=eh),Bd},finish:function(Jf){for(var eh=this.tryEntries.length-1;eh>=0;--eh){var th=this.tryEntries[eh];if(th.finallyLoc===Jf)return this.complete(th.completion,th.afterLoc),Af(th),Bd}},catch:function(Jf){for(var eh=this.tryEntries.length-1;eh>=0;--eh){var th=this.tryEntries[eh];if(th.tryLoc===Jf){var Uf=th.completion;if(Uf.type==="throw"){var Of=Uf.arg;Af(th)}return Of}}throw Error("illegal catch attempt")},delegateYield:function(Jf,eh,th){return this.delegate={iterator:jf(Jf),resultName:eh,nextLoc:th},this.method==="next"&&(this.arg=od),Bd}},ld}Ra.exports=nd,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports}(B$1);var z$1=B$1.exports(),M$1=z$1;try{regeneratorRuntime=z$1}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=z$1:Function("r","regeneratorRuntime = r")(z$1)}function D$1(Ra,qa){return function(nd){if(Array.isArray(nd))return nd}(Ra)||function(nd,od){var ld=nd==null?null:typeof Symbol<"u"&&nd[Symbol.iterator]||nd["@@iterator"];if(ld!=null){var ud,dd,pd,fd,md=[],vd=!0,Ad=!1;try{if(pd=(ld=ld.call(nd)).next,od===0){if(Object(ld)!==ld)return;vd=!1}else for(;!(vd=(ud=pd.call(ld)).done)&&(md.push(ud.value),md.length!==od);vd=!0);}catch(Nd){Ad=!0,dd=Nd}finally{try{if(!vd&&ld.return!=null&&(fd=ld.return(),Object(fd)!==fd))return}finally{if(Ad)throw dd}}return md}}(Ra,qa)||_$1(Ra,qa)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function T$1(Ra){var qa=function(nd,od){if(P$1(nd)!="object"||!nd)return nd;var ld=nd[Symbol.toPrimitive];if(ld!==void 0){var ud=ld.call(nd,od||"default");if(P$1(ud)!="object")return ud;throw new TypeError("@@toPrimitive must return a primitive value.")}return(od==="string"?String:Number)(nd)}(Ra,"string");return P$1(qa)=="symbol"?qa:qa+""}function H$1(Ra,qa,nd){return(qa=T$1(qa))in Ra?Object.defineProperty(Ra,qa,{value:nd,enumerable:!0,configurable:!0,writable:!0}):Ra[qa]=nd,Ra}var G$1=defineComponent({name:"Saturation",props:{size:{type:Number,default:160},hue:{type:Number,default:0},saturation:{type:Number,default:0},value:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),background:"hsl(".concat(Ra.hue,", 100%, 50%)")}});return{saturationStyle:od,sliderStyle:computed(function(){return{top:"".concat((100-Ra.value)/100*Ra.size-5,"px"),left:"".concat(Ra.saturation*Ra.size/100-5,"px"),width:"".concat(10,"px"),height:"".concat(10,"px")}}),onSelect:function(ld){var ud=ld.target.getBoundingClientRect(),dd=ud.left,pd=ud.top,fd=function(vd){var Ad=vd.clientX,Nd=vd.clientY,Id=Ad-dd,Od=Nd-pd;Id<0&&(Id=0),Od<0&&(Od=0),Id>Ra.size&&(Id=Ra.size),Od>Ra.size&&(Od=Ra.size);var Md=Id/Ra.size*100,Ud=100-Od/Ra.size*100;nd("change",Md,Ud)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(ld),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}});function V$1(Ra,qa){qa===void 0&&(qa={});var nd=qa.insertAt;if(Ra&&typeof document<"u"){var od=document.head||document.getElementsByTagName("head")[0],ld=document.createElement("style");ld.type="text/css",nd==="top"&&od.firstChild?od.insertBefore(ld,od.firstChild):od.appendChild(ld),ld.styleSheet?ld.styleSheet.cssText=Ra:ld.appendChild(document.createTextNode(Ra))}}V$1(".saturation[data-v-24517fec]{position:relative}.saturation-black[data-v-24517fec],.saturation-white[data-v-24517fec]{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.saturation-white[data-v-24517fec]{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.saturation-black[data-v-24517fec]{background:linear-gradient(0deg,#000,transparent)}.slider[data-v-24517fec]{border:1px solid #fff;border-radius:50%;box-shadow:0 0 1px 1px rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;top:0;z-index:1}"),G$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"saturation",style:normalizeStyle(Ra.saturationStyle),onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[qa[1]||(qa[1]=createBaseVNode("div",{class:"saturation-white"},null,-1)),qa[2]||(qa[2]=createBaseVNode("div",{class:"saturation-black"},null,-1)),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],36)},G$1.__scopeId="data-v-24517fec",G$1.__file="src/picker/Saturation.vue";var Y$1=defineComponent({name:"Hue",props:{width:{type:Number,default:15},height:{type:Number,default:160},hue:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat((1-Ra.hue/360)*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1();return onMounted(function(){(function(){ld.value.width=Ra.width,ld.value.height=Ra.height;var ud=ld.value.getContext("2d"),dd=ud.createLinearGradient(0,0,0,Ra.height);dd.addColorStop(0,"#FF0000"),dd.addColorStop(.17,"#FF00FF"),dd.addColorStop(.34,"#0000FF"),dd.addColorStop(.51,"#00FFFF"),dd.addColorStop(.68,"#00FF00"),dd.addColorStop(.17*5,"#FFFF00"),dd.addColorStop(1,"#FF0000"),ud.fillStyle=dd,ud.fillRect(0,0,Ra.width,Ra.height)})()}),{canvas:ld,sliderStyle:od,onSelect:function(ud){var dd=ud.target.getBoundingClientRect().top,pd=function(md){var vd=md.clientY-dd;vd<0&&(vd=0),vd>Ra.height&&(vd=Ra.height);var Ad=-100*vd/Ra.height+100;nd("change",360*Ad/100)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(ud),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}}),$={ref:"canvas"};V$1(".hue[data-v-78b9f4f0]{position:relative}.slider[data-v-78b9f4f0]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),Y$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"hue",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",$,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},Y$1.__scopeId="data-v-78b9f4f0",Y$1.__file="src/picker/Hue.vue";var J$1=defineComponent({name:"Alpha",props:{width:{type:Number,default:15},height:{type:Number,default:160},color:{type:String,default:"#000000"},alpha:{type:Number,default:1}},setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat(Ra.alpha*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1(),ud=function(){var dd=ld.value.getContext("2d");ld.value.width=Ra.width,ld.value.height=Ra.height;var pd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);dd.fillStyle=dd.createPattern(pd,"repeat"),dd.fillRect(0,0,Ra.width,Ra.height);var fd=dd.createLinearGradient(0,0,0,Ra.height);fd.addColorStop(.01,"rgba(255,255,255,0)"),fd.addColorStop(.99,Ra.color),dd.fillStyle=fd,dd.fillRect(0,0,Ra.width,Ra.height)};return watch(function(){return Ra.color},function(){ud()}),onMounted(function(){ud()}),{canvas:ld,sliderStyle:od,onSelect:function(dd){var pd=dd.target.getBoundingClientRect().top,fd=function(vd){var Ad=vd.clientY-pd;Ad<0&&(Ad=0),Ad>Ra.height&&(Ad=Ra.height);var Nd=parseFloat((Ad/Ra.height).toFixed(2));nd("change",Nd)},md=function(){document.removeEventListener("mousemove",fd),document.removeEventListener("mouseup",md)};fd(dd),document.addEventListener("mousemove",fd),document.addEventListener("mouseup",md)}}}}),X$1={ref:"canvas"};V$1(".alpha[data-v-24dc9656]{position:relative}.slider[data-v-24dc9656]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),J$1.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"alpha",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",X$1,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},J$1.__scopeId="data-v-24dc9656",J$1.__file="src/picker/Alpha.vue";var q$1={rgb:"RGBA",hex:"HEX",hsl:"HSLA",hsv:"HSVA"},U$1={rgb:"RGB",hex:"HEX",hsl:"HSL",hsv:"HSV"},W$1={RGB:"rgb",RGBA:"rgb",HEX:"hex",HSL:"hsl",HSLA:"hsl",HSV:"hsv",HSVA:"hsv"};function K$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Q$1(Ra){for(var qa=1;qa<arguments.length;qa++){var nd=arguments[qa]!=null?arguments[qa]:{};qa%2?K$1(Object(nd),!0).forEach(function(od){H$1(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):K$1(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}var Z$1=null,ee=function(Ra,qa,nd){var od=ref$1({}),ld=nd||{},ud=ld.placement,dd=ld.defaultStyle,pd={strategy:ld.strategy||"absolute",placement:ud||"auto",onFirstUpdate:function(){Z$1.update()},modifiers:[{name:"offset",options:{offset:[0,5]}},{name:"computeStyles",options:{gpuAcceleration:!1,adaptive:!0}},{name:"flip",options:{allowedAutoPlacements:["top","bottom"]}},{name:"applyStyles",enabled:!1},{name:"updateState",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(fd){var md=fd.state,vd=md.styles,Ad=md.placement,Nd=vd.popper;od.value=Q$1(Q$1(Q$1({},Nd),dd),{},{transformOrigin:Ad==="top"?"center bottom":"center top"})}}]};return watch(function(){return[unref(Ra),unref(qa)]},function(fd,md){var vd,Ad=D$1(fd,2),Nd=Ad[0],Id=Ad[1],Od=D$1(md,2),Md=Od[0],Ud=Od[1];if(Nd&&Id&&(Md!==Nd||Ud!==Md)){(vd=Z$1)===null||vd===void 0||vd.destroy();var jd=Nd.$el||Nd,Ld=Id.$el||Id;nextTick$1(function(){Z$1=yn(jd,Ld,pd)})}}),onBeforeUnmount(function(){var fd;Z$1&&((fd=Z$1)===null||fd===void 0||fd.destroy(),Z$1=null)}),{instance:Z$1,style:od}},te=defineComponent({props:{value:{type:String,default:"RGBA"},showAlpha:{type:Boolean},options:{type:[Boolean,Array]}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1(null),ld=ref$1(null),ud=ref$1(!1),dd=ee(od,ld,{strategy:"fixed",defaultStyle:{zIndex:2}}).style,pd=computed(function(){return Array.isArray(Ra.options)&&Ra.options.length>1}),fd=computed(function(){var vd=Ra.options,Ad=Ra.showAlpha,Nd=Ra.value;return Array.isArray(vd)?Ad?vd.map(function(Id){return q$1[Id]}).filter(function(Id){return!Id.includes(Nd)}):vd.map(function(Id){return U$1[Id]}).filter(function(Id){return!Id.includes(Nd)}):[]}),md=function(vd){var Ad,Nd,Id=vd.target;!((Ad=unref(od))!==null&&Ad!==void 0&&Ad.isEqualNode(Id))&&(!((Nd=unref(od))===null||Nd===void 0)&&Nd.contains(Id))||(ud.value=!1)};return onMounted(function(){document.addEventListener("mouseup",md,!1)}),onUnmounted(function(){document.removeEventListener("mouseup",md,!1)}),{targetRef:od,selectorRef:ld,selectorStyle:dd,isShowSelector:ud,isNeedSelect:pd,formatOptions:fd,onShow:function(){pd.value&&(ud.value=!0)},onFormatChange:function(vd){nd("change",W$1[vd])}}}}),re={class:"format"},ne={key:0,class:"arrow"},oe=["onClick"];V$1(".format[data-v-5f6e8f5e]{position:relative}.label[data-v-5f6e8f5e]{align-items:center;background:#e7e8e9;color:#999;display:flex;float:left;font-weight:500;height:30px;justify-content:center;position:relative;width:60px}[pick-colors-theme=dark] .label[data-v-5f6e8f5e]{background:#252930;color:#999}.arrow[data-v-5f6e8f5e]{height:6px;margin-bottom:4px;margin-left:5px;transform:rotate(135deg);width:6px}.arrow[data-v-5f6e8f5e],[pick-colors-theme=dark] .arrow[data-v-5f6e8f5e]{border-right:1px solid #999;border-top:1px solid #999}.selector[data-v-5f6e8f5e]{align-items:center;background:#f7f8f9;border-radius:5px;box-shadow:0 0 16px 0 rgba(0,0,0,.16);cursor:pointer;display:flex;flex-direction:column;font-weight:400;justify-content:center;padding:4px}[pick-colors-theme=dark] .selector[data-v-5f6e8f5e]{background:#252930;color:#999}.selector-item[data-v-5f6e8f5e]{align-items:center;display:flex;height:30px;justify-content:center;width:60px}.selector-item[data-v-5f6e8f5e]:hover{background:#e1f2fe}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]{color:#fff}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]:hover{background:#0087fa}.active-selector-item[data-v-5f6e8f5e]{background:#e1f2fe}[pick-colors-theme=dark] .active-selector-item[data-v-5f6e8f5e]{background:#0087fa}.v-enter-active[data-v-5f6e8f5e],.v-leave-active[data-v-5f6e8f5e]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-5f6e8f5e],.v-leave-to[data-v-5f6e8f5e]{opacity:0;transform:scaleY(0)}"),te.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",re,[createBaseVNode("div",{class:"label",ref:"targetRef",onClick:qa[0]||(qa[0]=function(){return Ra.onShow&&Ra.onShow.apply(Ra,arguments)})},[createBaseVNode("span",null,toDisplayString(Ra.value),1),Ra.isNeedSelect?(openBlock(),createElementBlock("div",ne)):createCommentVNode("v-if",!0)],512),createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowSelector?(openBlock(),createElementBlock("div",{key:0,class:"selector",ref:"selectorRef",style:normalizeStyle(Ra.selectorStyle)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.formatOptions,function(dd){return openBlock(),createElementBlock("div",{class:"selector-item",key:dd,onClick:function(pd){return Ra.onFormatChange(dd)}},toDisplayString(dd),9,oe)}),128))],4)):createCommentVNode("v-if",!0)]}),_:1})])},te.__scopeId="data-v-5f6e8f5e",te.__file="src/picker/input-value/FormatValue.vue";var ae$1=defineComponent({name:"Input",components:{FormatValue:te},props:{format:{type:String,default:"RGBA"},value:{type:String,default:""},width:{type:Number},showAlpha:{type:Boolean},formatOptions:{type:[Boolean,Array]}},emits:["change","focus","blur","enter","formatChange"],setup:function(Ra,qa){var nd=qa.emit;return{onInput:function(od){var ld;nd("change",(ld=od.target)===null||ld===void 0?void 0:ld.value)},valueStyle:computed(function(){return{minWidth:"".concat(Ra.width,"px"),maxWidth:"".concat(Ra.width,"px"),width:"".concat(Ra.width,"px")}}),onFocus:function(){nd("focus")},onBlur:function(){nd("blur")},onEnter:function(){nd("enter")},onFormatChange:function(od){nd("formatChange",od)}}}}),ie={class:"input"},le=[".value"];function ce$1(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function ue(Ra){for(var qa=1;qa<arguments.length;qa++){var nd=arguments[qa]!=null?arguments[qa]:{};qa%2?ce$1(Object(nd),!0).forEach(function(od){H$1(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):ce$1(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}V$1(".input[data-v-2c454c00]{display:flex;font-size:12px}.value[data-v-2c454c00]{background:#eceef0;border:1px solid #eceef0;box-sizing:border-box;color:#666;flex:1;height:30px;text-align:center}[pick-colors-theme=dark] .value[data-v-2c454c00]{background:#2e333a;border:1px solid #2e333a;color:#fff}.value[data-v-2c454c00]:focus{border:1px solid #1890ff;outline:none}"),ae$1.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("FormatValue");return openBlock(),createElementBlock("div",ie,[createVNode(dd,{value:Ra.format,showAlpha:Ra.showAlpha,options:Ra.formatOptions,onChange:Ra.onFormatChange},null,8,["value","showAlpha","options","onChange"]),createBaseVNode("input",{class:"value",style:normalizeStyle(Ra.valueStyle),".value":Ra.value,onFocus:qa[0]||(qa[0]=function(){return Ra.onFocus&&Ra.onFocus.apply(Ra,arguments)}),onInput:qa[1]||(qa[1]=function(){return Ra.onInput&&Ra.onInput.apply(Ra,arguments)}),onBlur:qa[2]||(qa[2]=function(){return Ra.onBlur&&Ra.onBlur.apply(Ra,arguments)}),onKeydown:qa[3]||(qa[3]=withKeys(function(){return Ra.onEnter&&Ra.onEnter.apply(Ra,arguments)},["enter"]))},null,44,le)])},ae$1.__scopeId="data-v-2c454c00",ae$1.__file="src/picker/input-value/InputValue.vue";var se=function(Ra,qa,nd){return[Ra,qa*nd/((Ra=(2-qa)*nd)<1?Ra:2-Ra)||0,Ra/2]},fe={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},de=function(Ra){Ra=Math.min(Math.round(Ra),255);var qa=Math.floor(Ra/16),nd=Ra%16;return"".concat(fe[qa]||qa).concat(fe[nd]||nd)},pe=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;return isNaN(qa)||isNaN(nd)||isNaN(od)?"":"#".concat(de(qa)).concat(de(nd)).concat(de(od))},he=function(Ra,qa){var nd;typeof(nd=Ra)=="string"&&nd.indexOf(".")!==-1&&parseFloat(nd)===1&&(Ra="100%");var od=function(ld){return typeof ld=="string"&&ld.indexOf("%")!==-1}(Ra);return Ra=Math.min(qa,Math.max(0,parseFloat("".concat(Ra)))),od&&(Ra=parseInt("".concat(Ra*qa),10)/100),Math.abs(Ra-qa)<1e-6?1:Ra%qa/parseFloat(qa)},ve=function(Ra,qa,nd){Ra=6*he(Ra,360),qa=he(qa,100),nd=he(nd,100);var od=Math.floor(Ra),ld=Ra-od,ud=nd*(1-qa),dd=nd*(1-ld*qa),pd=nd*(1-(1-ld)*qa),fd=od%6,md=[nd,dd,ud,ud,pd,nd][fd],vd=[pd,nd,nd,dd,ud,ud][fd],Ad=[ud,ud,pd,nd,nd,dd][fd];return{r:Math.round(255*md),g:Math.round(255*vd),b:Math.round(255*Ad)}},me=function(Ra,qa,nd){var od,ld,ud=Ra.h,dd=Ra.s,pd=Ra.v,fd=Ra.a;if(nd)switch(fd=(ld=(od=fd).toString().match(/\.(\d{1,2})(\d*)/))&&ld[2].length>0?parseFloat(od.toFixed(2)):od,qa){case"hsl":var md=se(ud,dd/100,pd/100);return"hsla(".concat(ud.toFixed(0),", ").concat(Math.round(100*md[1]),"%, ").concat(Math.round(100*md[2]),"%, ").concat(fd,")");case"hsv":return"hsva(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%, ").concat(fd,")");case"rgb":var vd=ve(ud,dd,pd),Ad=vd.r,Nd=vd.g,Id=vd.b;return"rgba(".concat(Ad,", ").concat(Nd,", ").concat(Id,", ").concat(fd,")");default:return"".concat(pe(ve(ud,dd,pd))).concat(de(255*fd))}else switch(qa){case"hsl":var Od=se(ud,dd/100,pd/100);return"hsl(".concat(ud.toFixed(0),", ").concat(Math.round(100*Od[1]),"%, ").concat(Math.round(100*Od[2]),"%)");case"hsv":return"hsv(".concat(ud.toFixed(0),", ").concat(Math.round(dd),"%, ").concat(Math.round(pd),"%)");case"rgb":var Md=ve(ud,dd,pd),Ud=Md.r,jd=Md.g,Ld=Md.b;return"rgb(".concat(Ud,", ").concat(jd,", ").concat(Ld,")");default:return pe(ve(ud,dd,pd))}},ge=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;qa=he(qa,255),nd=he(nd,255),od=he(od,255);var ld,ud=Math.max(qa,nd,od),dd=Math.min(qa,nd,od),pd=ud,fd=ud-dd,md=ud===0?0:fd/ud;if(ud===dd)ld=0;else{switch(ud){case qa:ld=(nd-od)/fd+(nd<od?6:0);break;case nd:ld=(od-qa)/fd+2;break;case od:ld=(qa-nd)/fd+4}ld/=6}return{h:360*ld,s:100*md,v:100*pd}},ye=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.l;od/=100;var ld=nd/=100,ud=Math.max(od,.01);return nd*=(od*=2)<=1?od:2-od,ld*=ud<=1?ud:2-ud,{h:+qa,s:100*(od===0?2*ld/(ud+ld):2*nd/(od+nd)),v:100*((od+nd)/2)}},be$1=function(Ra){var qa=[];if(Ra.match(/^#([0-9a-fA-f]{3,4})$/g))for(var nd=1;nd<Ra.length;nd++)qa.push(parseInt("0x"+Ra[nd].repeat(2)));else if(Ra.match(/^#([0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/g))for(var od=1;od<Ra.length;od+=2)qa.push(parseInt("0x"+Ra.slice(od,od+2)));return{r:qa[0],g:qa[1],b:qa[2],a:qa[3]}},xe=function(Ra,qa,nd){if(typeof Ra=="string"&&Ra!==""){var od=Ce(Ra,Oe(Ra),nd),ld=Ae(od);return ld==null?"":me(ld,qa,nd)}return""},we=function(Ra){var qa=D$1(Ra.match(/(\d(\.\d+)?)+/g),4);return{r:qa[0],g:qa[1],b:qa[2],a:qa[3]}},Se=function(Ra){var qa=D$1(Ra.match(/(\d(\.\d+)?)+/g),4),nd=qa[0],od=qa[1],ld=qa[2],ud=qa[3];return{h:nd,s:parseFloat(od),l:parseFloat(ld),a:ud}},ke=function(Ra){var qa=D$1(Ra.match(/(\d(\.\d+)?)+/g),4),nd=qa[0],od=qa[1],ld=qa[2],ud=qa[3];return{h:parseFloat(nd),s:parseFloat(od),v:parseFloat(ld),a:parseFloat(ud)}},Ce=function(Ra,qa){if(!(arguments.length>2&&arguments[2]!==void 0)||arguments[2])switch(qa){case"rgb":var nd=we(Ra),od=nd.r,ld=nd.g,ud=nd.b,dd=nd.a;return ue(ue({},ge({r:od,g:ld,b:ud})),{},{a:+dd});case"hsv":var pd=ke(Ra);return{h:pd.h,s:pd.s,v:pd.v,a:pd.a};case"hsl":var fd=Se(Ra),md=fd.h,vd=fd.s,Ad=fd.l,Nd=fd.a;return ue(ue({},ye({h:md,s:vd,l:Ad})),{},{a:+Nd});default:var Id=be$1(Ra),Od=Id.r,Md=Id.g,Ud=Id.b,jd=Id.a;return ue(ue({},ge({r:Od,g:Md,b:Ud})),{},{a:jd/255})}else switch(qa){case"rgb":return ue(ue({},ge(we(Ra))),{},{a:1});case"hsv":var Ld=ke(Ra);return{h:Ld.h,s:Ld.s,v:Ld.v,a:1};case"hsl":return ue(ue({},ye(Se(Ra))),{},{a:1});default:return ue(ue({},ge(be$1(Ra))),{},{a:1})}},Oe=function(Ra){return Ra.match(/^#/)?"hex":Ra.match(/^rgb/)?"rgb":Ra.match(/^hsl/)?"hsl":Ra.match(/^hsv/)?"hsv":"hex"},Ae=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.v,ld=Ra.a;return isNaN(qa)&&isNaN(nd)&&isNaN(od)?null:(isNaN(qa)&&(qa=0),isNaN(nd)&&(nd=0),isNaN(od)&&(od=0),isNaN(ld)&&(ld=1),{h:qa,s:nd,v:od,a:ld})},Ne=defineComponent({name:"ColorItem",props:{size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},value:{type:String,default:""},border:{type:Boolean,default:!0},borderRadius:{type:Number,default:5},selected:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1}},emits:["select"],setup:function(Ra){var qa=ref$1(),nd=inject("theme",{theme:"light"}).theme,od=computed(function(){return parseFloat((Ra.width||Ra.size)+"")}),ld=computed(function(){return parseFloat((Ra.height||Ra.size)+"")}),ud=computed(function(){return{width:"".concat(unref(od),"px"),height:"".concat(unref(ld),"px"),border:Ra.border?"1px solid ".concat(unref(nd)==="dark"?"#434345":"#d9d9d9"):"",borderRadius:"".concat(Ra.borderRadius,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(nd)==="dark"?"#2681ff":"#1890ff"):""}}),dd=function(){var pd=qa.value.getContext("2d");qa.value.width=unref(od),qa.value.height=unref(ld);var fd=function(md){var vd=document.createElement("canvas"),Ad=vd.getContext("2d"),Nd=2*md;return vd.width=Nd,vd.height=Nd,Ad.fillStyle="#ffffff",Ad.fillRect(0,0,Nd,Nd),Ad.fillStyle="#ccd5db",Ad.fillRect(0,0,md,md),Ad.fillRect(md,md,md,md),vd}(5);pd.fillStyle=pd.createPattern(fd,"repeat"),pd.fillRect(0,0,unref(od),unref(ld)),pd.fillStyle=Ra.value,pd.fillRect(0,0,unref(od),unref(ld))};return watch(function(){return Ra.value},function(){dd()}),onMounted(function(){dd()}),{canvas:qa,colorItemStyle:ud}}}),Ie=["draggable"];V$1(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"),Ne.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("canvas",{class:"color-item",style:normalizeStyle(Ra.colorItemStyle),ref:"canvas",draggable:Ra.draggable},null,12,Ie)},Ne.__scopeId="data-v-02da71fd",Ne.__file="src/color-item/ColorItem.vue";var Fe=defineComponent({name:"Colors",components:{ColorItem:Ne},props:{colors:{type:Array,default:function(){return[]}},selectedIndex:{type:Number,default:-1}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit;return{onSelectColor:function(od,ld){nd("change",od,ld)},useColors:computed(function(){return Ra.colors.map(function(od){return xe(od,"hex",!0)})})}}}),_e$1={class:"colors"};function Ee(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Pe(Ra){for(var qa=1;qa<arguments.length;qa++){var nd=arguments[qa]!=null?arguments[qa]:{};qa%2?Ee(Object(nd),!0).forEach(function(od){H$1(Ra,od,nd[od])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ra,Object.getOwnPropertyDescriptors(nd)):Ee(Object(nd)).forEach(function(od){Object.defineProperty(Ra,od,Object.getOwnPropertyDescriptor(nd,od))})}return Ra}V$1(".colors[data-v-0f8b52a8]{align-items:center;display:flex;flex-wrap:wrap;margin-top:5px}.color-item[data-v-0f8b52a8]{margin:5px}"),Fe.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("color-item");return openBlock(),createElementBlock("div",_e$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.useColors,function(pd,fd){return openBlock(),createBlock(dd,{key:fd,class:"color-item",size:16,value:pd,border:!1,"border-radius":3,selected:Ra.selectedIndex===fd,onClick:withModifiers(function(md){return Ra.onSelectColor(pd,+fd)},["stop","prevent"])},null,8,["value","selected","onClick"])}),128))])},Fe.__scopeId="data-v-0f8b52a8",Fe.__file="src/picker/Colors.vue";var je=defineComponent({name:"Picker",components:{Colors:Fe,Saturation:G$1,Hue:Y$1,Alpha:J$1,InputValue:ae$1},props:{format:{type:String,default:"hex"},showAlpha:{type:Boolean,default:!1},value:{type:String,default:""},colors:{type:Array,default:function(){return[]}},style:{type:Object,default:function(){return{}}},formatOptions:{type:[Boolean,Array]}},emits:["change","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return Pe(Pe({},Ra.style),{},{width:Ra.showAlpha?"230px":"205px"})}),ld=ref$1(),ud=ref$1(),dd=ref$1(),pd=function(){var Md,Ud=(Md=Ra.value)===null||Md===void 0?void 0:Md.trim();if(Ud!=null&&Ud!==""){var jd=Oe(Ud);return Ae(Ce(Ud,jd,Ra.showAlpha))}return null};watch(function(){return Ra.value},function(){Ra.value!==unref(dd)&&(ld.value=pd())},{immediate:!0}),watch(function(){return[unref(ld),Ra.format]},function(Md){var Ud=D$1(Md,2),jd=Ud[0],Ld=Ud[1],Bd="";jd!=null?(Bd=me(Pe({},jd),Ra.format,Ra.showAlpha),ud.value=Pe({},jd)):ud.value=null,dd.value=Bd;var Gd=pd();JSON.stringify(jd)!==JSON.stringify(Gd)&&JSON.stringify(jd)!==JSON.stringify(Ld)&&nd("change",Bd)},{immediate:!0});var fd=computed(function(){var Md;return((Md=unref(ld))===null||Md===void 0?void 0:Md.h)||0}),md=computed(function(){var Md;return((Md=unref(ld))===null||Md===void 0?void 0:Md.s)||0}),vd=computed(function(){var Md;return((Md=unref(ld))===null||Md===void 0?void 0:Md.v)||0}),Ad=computed(function(){var Md,Ud;return((Md=unref(ld))===null||Md===void 0?void 0:Md.a)!=null?(Ud=unref(ld))===null||Ud===void 0?void 0:Ud.a:1}),Nd=computed(function(){return ve(unref(fd),unref(md),unref(vd))}),Id=computed(function(){return"rgb(".concat(unref(Nd).r,", ").concat(unref(Nd).g,", ").concat(unref(Nd).b,")")}),Od=ref$1(-1);return{h:fd,s:md,v:vd,a:Ad,rgbStr:Id,onSelectSaturation:function(Md,Ud){Od.value=-1,unref(ld)==null?ld.value={h:unref(fd),s:Md,v:Ud,a:unref(Ad)}:ld.value=Pe(Pe({},unref(ld)),{},{s:Md,v:Ud})},onSelectHue:function(Md){Od.value=-1,unref(ld)==null&&(ld.value={h:Md,s:unref(md),v:unref(vd),a:unref(Ad)}),ld.value=Pe(Pe({},unref(ld)),{},{h:Md})},onSelectAlpha:function(Md){Od.value=-1,unref(ld)==null?ld.value={h:unref(fd),s:unref(md),v:unref(vd),a:Md}:ld.value=Pe(Pe({},unref(ld)),{},{a:Md})},handleInputFormat:function(Md){return Ra.showAlpha?q$1[Md]:U$1[Md]},colorValue:dd,pickerStyle:od,onInputChange:function(Md){Od.value=-1,dd.value=Md},handleChange:function(){var Md,Ud=(Md=unref(dd))===null||Md===void 0?void 0:Md.trim();if(Ud!==""){var jd=Ra.showAlpha,Ld=Oe(Ud),Bd=Ae(Ce(Ud,Ld,jd)),Gd=function(qd){if(!qd)return!1;var zd=qd.h,Xd=qd.s,gf=qd.v,Yd=qd.a;return!(isNaN(zd)||isNaN(Xd)||isNaN(gf)||isNaN(Yd))}(Bd);Gd?ld.value=Bd:unref(ud)!=null?ld.value=unref(ud):dd.value=""}else ld.value=null},selectColorIndex:Od,onSelectColor:function(Md,Ud){if(Od.value=Ud,(Md=Md.trim())==="")ld.value=null;else{var jd=Oe(Md);jd?function(Ld,Bd,Gd){if(Ld.length!==0){var qd=Ce(Ld,Bd,Gd),zd=qd.h,Xd=qd.s,gf=qd.v;if(!(isNaN(zd)||isNaN(Xd)||isNaN(gf))){var Yd=1,Zd=qd.a;isNaN(Zd)||(Yd=Zd),ld.value={h:zd,s:Xd,v:gf,a:Yd}}}}(Md,jd,!0):ld.value=null}},onFormatChange:function(Md){nd("formatChange",Md)}}}}),Le={class:"picker-inner"},Be={class:"picker-header"};V$1(".picker[data-v-6ceadec6]{background:#f7f8f9;border-radius:4px;box-shadow:0 0 16px 0 rgba(0,0,0,.16)}.picker-inner[data-v-6ceadec6]{padding:10px}[pick-colors-theme=dark] .picker-inner[data-v-6ceadec6]{background:#1d2024;box-shadow:0 0 16px 0 rgba(0,0,0,.16)}.picker-header[data-v-6ceadec6]{display:flex;margin-bottom:5px}.alpha[data-v-6ceadec6],.hue[data-v-6ceadec6]{margin-left:10px}.colors[data-v-6ceadec6]{margin-top:5px}"),je.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("saturation"),pd=resolveComponent("hue"),fd=resolveComponent("alpha"),md=resolveComponent("input-value"),vd=resolveComponent("Colors");return openBlock(),createElementBlock("div",{class:"picker",style:normalizeStyle(Ra.pickerStyle)},[createBaseVNode("div",Le,[createBaseVNode("div",Be,[createVNode(dd,{class:"saturation",hue:Ra.h,saturation:Ra.s,value:Ra.v,onChange:Ra.onSelectSaturation},null,8,["hue","saturation","value","onChange"]),createVNode(pd,{class:"hue",hue:Ra.h,onChange:Ra.onSelectHue},null,8,["hue","onChange"]),Ra.showAlpha?(openBlock(),createBlock(fd,{key:0,class:"alpha",alpha:Ra.a,color:Ra.rgbStr,onChange:Ra.onSelectAlpha},null,8,["alpha","color","onChange"])):createCommentVNode("v-if",!0)]),createVNode(md,{format:Ra.handleInputFormat(Ra.format),value:Ra.colorValue,showAlpha:Ra.showAlpha,width:Ra.showAlpha?150:125,formatOptions:Ra.formatOptions,onChange:Ra.onInputChange,onBlur:Ra.handleChange,onEnter:Ra.handleChange,onFormatChange:Ra.onFormatChange},null,8,["format","value","showAlpha","width","formatOptions","onChange","onBlur","onEnter","onFormatChange"]),Ra.colors.length>0?(openBlock(),createBlock(vd,{key:0,class:"colors",colors:Ra.colors,"selected-index":Ra.selectColorIndex,onChange:Ra.onSelectColor},null,8,["colors","selected-index","onChange"])):createCommentVNode("v-if",!0)])],4)},je.__scopeId="data-v-6ceadec6",je.__file="src/picker/Picker.vue";var Re=defineComponent({name:"AddColorItem",props:{size:{type:Number,default:20},selected:{type:Boolean,default:!1}},setup:function(Ra){var qa=inject("theme",{theme:"light"}).theme;return{addColorItemStyle:computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),lineHeight:"".concat(Ra.size,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(qa)==="dark"?"#2681ff":"#1890ff"):""}})}}});V$1(".add-color-item[data-v-ceb1719c]{background:#fff;border:1px solid #d9d9d9;border-radius:5px;vertical-align:top}.container[data-v-ceb1719c]{pointer-events:none;transform:scale(.9);transform-origin:center}[pick-colors-theme=dark] .add-color-item[data-v-ceb1719c]{background:#141414;border:1px solid #434343}path[data-v-ceb1719c]{fill:#000}[pick-colors-theme=dark] path[data-v-ceb1719c]{fill:#fff}"),Re.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("svg",{class:"add-color-item",style:normalizeStyle(Ra.addColorItemStyle),viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qa[0]||(qa[0]=[createBaseVNode("g",{class:"container"},[createBaseVNode("path",{d:"M544 464V160h-80v304H160v80h304v304h80V544h304v-80z"})],-1)]),4)},Re.__scopeId="data-v-ceb1719c",Re.__file="src/add-color-item/AddColorItem.vue";var ze=defineComponent({name:"ColorPicker",components:{ColorItem:Ne,Picker:je,AddColorItem:Re},props:{value:{type:[String,Array]},theme:{type:String,default:"light"},size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},format:{type:String},showPicker:{type:Boolean,default:void 0},showAlpha:{type:Boolean,default:!1},addColor:{type:Boolean,default:!1},deleteColor:{type:Boolean,default:!0},max:{type:Number,default:13},popupContainer:{type:[String,Object,Boolean],default:"body"},zIndex:{type:Number,default:1e3},colors:{type:Array,default:function(){return["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","#ff4500","#ff7d4d","#00babd","#1f93ff","#fa64c3"]}},position:{type:String},placement:{type:String},formatOptions:{type:[Boolean,Array],default:!1}},emits:["change","update:value","update:showPicker","overflowMax","closePicker","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1([]),ld=computed(function(){return unref(od).map(function(Yd){return xe(Yd,"hex",Ra.showAlpha)})}),ud=ref$1("hex");watch(function(){return Ra.format},function(){ud.value=Ra.format},{immediate:!0}),watch(function(){return Ra.value},function(){var Yd=Ra.value||"",Zd=Array.isArray(Yd)?Yd:[Yd];od.value=Zd.map(function(df){return xe(df,unref(ud),Ra.showAlpha)})},{immediate:!0});var dd=ref$1(void 0),pd=computed(function(){return unref(od)[unref(dd)]}),fd=ref$1(!1);watch(function(){return Ra.showPicker},function(){fd.value=Ra.showPicker},{immediate:!0});var md,vd,Ad=ref$1(null),Nd=ref$1(null),Id=ee(Ad,Nd,{defaultStyle:{zIndex:Ra.zIndex},strategy:Ra.position,placement:Ra.placement}).style,Od=function(){unref(Ad)==null&&(Ad.value=unref(gf)[0]),unref(dd)==null&&(dd.value=0),Ra.showPicker===void 0?fd.value=!0:nd("update:showPicker",!0)},Md=function(){dd.value=void 0,Ra.showPicker===void 0?fd.value=!1:nd("update:showPicker",!1),nd("closePicker",toRaw(Array.isArray(Ra.value)||Ra.addColor?unref(od):unref(od)[0]))},Ud=ref$1(),jd=function(){var Yd=L$1(M$1.mark(function Zd(df){var Ef,_f,xf,vf;return M$1.wrap(function(Af){for(;;)switch(Af.prev=Af.next){case 0:if(_f=df.target,(xf=(Ef=_f.dataset)===null||Ef===void 0?void 0:Ef.index)!=null&&xf!==""){Af.next=4;break}return Af.abrupt("return");case 4:if(vf=+xf,unref(dd)!==vf){Af.next=7;break}return Af.abrupt("return");case 7:unref(dd)!=null&&unref(dd)!==vf?(Md(),md&&clearTimeout(md),md=setTimeout(function(){Od(),clearTimeout(md)},100)):Od(),dd.value=vf,Ad.value=_f;case 10:case"end":return Af.stop()}},Zd)}));return function(Zd){return Yd.apply(this,arguments)}}(),Ld=function(){var Yd=L$1(M$1.mark(function Zd(df){var Ef,_f,xf,vf,Af;return M$1.wrap(function(Df){for(;;)switch(Df.prev=Df.next){case 0:if(vf=df.target,!(!((Ef=unref(Ud))!==null&&Ef!==void 0&&Ef.isEqualNode(vf))&&(!((_f=unref(Ud))===null||_f===void 0)&&_f.contains(vf)))){Df.next=4;break}return Df.abrupt("return");case 4:if(Af=(xf=unref(Nd))===null||xf===void 0?void 0:xf.$el,!(Af!=null&&Af.contains(vf))){Df.next=8;break}return Df.abrupt("return");case 8:vd&&clearTimeout(vd),vd=setTimeout(function(){unref(fd)&&Md()},0);case 10:case"end":return Df.stop()}},Zd)}));return function(Zd){return Yd.apply(this,arguments)}}();watch(fd,function(){unref(fd)&&(Od(),clearTimeout(vd))});var Bd,Gd=ref$1(Ra.max>unref(od).length),qd=computed(function(){return typeof Ra.popupContainer=="string"||P$1(Ra.popupContainer)==="object"&&Ra.popupContainer!=null?Ra.popupContainer:"body"}),zd=computed(function(){return typeof Ra.popupContainer=="boolean"&&Ra.popupContainer===!1}),Xd=computed(function(){return Ra.theme});watch(function(){return[Ra.theme,unref(Nd)]},function(){nextTick$1(function(){var Yd,Zd;(Yd=unref(Ud))===null||Yd===void 0||Yd.setAttribute("pick-colors-theme",unref(Xd)),(Zd=unref(Nd))===null||Zd===void 0||(Zd=Zd.$el)===null||Zd===void 0||Zd.setAttribute("pick-colors-theme",unref(Xd))})},{immediate:!0}),provide("theme",{theme:Xd});var gf=ref$1([]);return onMounted(function(){document.addEventListener("mouseup",Ld,!1),Ra.showPicker&&Od()}),onUnmounted(function(){document.removeEventListener("mouseup",Ld,!1),md&&(clearTimeout(md),md=null),vd&&(clearTimeout(vd),vd=null)}),{valueList:od,colorItemSelected:function(Yd){return(Ra.addColor?unref(od).length>0:unref(od).length>1)&&unref(dd)===Yd},selectedColor:pd,selectedIndex:dd,isShowPicker:fd,addColorItemShow:Gd,onPickerChange:function(Yd){var Zd=unref(dd),df=unref(od).slice(),Ef=unref(od).length;if(Zd!=null){Zd>=0?df[Zd]=Yd:(dd.value=Ef,df.push(Yd));var _f="";_f=Array.isArray(Ra.value)||Ra.addColor?df:Yd,od.value=Array.isArray(_f)?_f:[_f],nd("update:value",_f),nd("change",_f,Yd,Zd),Ra.addColor&&Ef>=Ra.max&&(Gd.value=!1,nd("overflowMax"))}},colorPicker:Ud,onColorClick:jd,pickerRef:Nd,onColorItemDragStart:function(Yd){Yd.dataTransfer.effectAllowed="move";var Zd=Yd.target;Bd=+Zd.dataset.index},onColorItemDragOver:function(Yd){},onColorItemDrop:function(Yd){var Zd=+Yd.target.dataset.index,df=E$1(unref(od)),Ef=df[Bd];df.splice(Bd,1);var _f=df.slice(0,Zd),xf=df.splice(Zd),vf=_f.concat([Ef]).concat(xf);nd("update:value",vf),nd("change",vf,vf[Bd],Bd)},colorItemsRef:gf,pickerStyle:Id,values:ld,teleportDisabled:zd,toPopupContainer:qd,formatValue:ud,onFormatChange:function(Yd){ud.value=Yd,nd("formatChange",Yd)}}}});V$1(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43ade8]{margin:5px}.add-color-item[data-v-3c43ade8]{display:inline-block;margin:5px}.picker[data-v-3c43ade8]{overflow:hidden}.v-enter-active[data-v-3c43ade8],.v-leave-active[data-v-3c43ade8]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-3c43ade8],.v-leave-to[data-v-3c43ade8]{opacity:0;transform:scaleY(0)}"),ze.render=function(Ra,qa,nd,od,ld,ud){var dd=resolveComponent("color-item"),pd=resolveComponent("add-color-item"),fd=resolveComponent("picker");return openBlock(),createElementBlock("div",{class:"color-picker",ref:"colorPicker",onDragstart:qa[0]||(qa[0]=withModifiers(function(){return Ra.onColorItemDragStart&&Ra.onColorItemDragStart.apply(Ra,arguments)},["stop"])),onDragover:qa[1]||(qa[1]=withModifiers(function(){return Ra.onColorItemDragOver&&Ra.onColorItemDragOver.apply(Ra,arguments)},["prevent","stop"])),onDrop:qa[2]||(qa[2]=withModifiers(function(){return Ra.onColorItemDrop&&Ra.onColorItemDrop.apply(Ra,arguments)},["prevent","stop"])),onClick:qa[3]||(qa[3]=withModifiers(function(){return Ra.onColorClick&&Ra.onColorClick.apply(Ra,arguments)},["stop"]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.values,function(md,vd){return openBlock(),createBlock(dd,{class:"color-item",key:vd,ref_for:!0,ref:function(Ad){return Ra.colorItemsRef[vd]=Ad},size:Ra.size,width:Ra.width,height:Ra.height,value:md,selected:Ra.colorItemSelected(vd),"data-index":vd,draggable:Ra.valueList.length>1,format:Ra.formatValue},null,8,["size","width","height","value","selected","data-index","draggable","format"])}),128)),Ra.addColor&&Ra.addColorItemShow?(openBlock(),createBlock(pd,{key:0,class:"add-color-item",ref:"addColorItem",selected:Ra.colorItemSelected(-1),"data-index":-1},null,8,["selected"])):createCommentVNode("v-if",!0),(openBlock(),createBlock(Teleport,{to:Ra.toPopupContainer,disabled:Ra.teleportDisabled},[createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowPicker?(openBlock(),createBlock(fd,{key:0,class:"picker",style:normalizeStyle(Ra.pickerStyle),ref:"pickerRef",value:Ra.selectedColor,format:Ra.formatValue,"show-alpha":Ra.showAlpha,colors:Ra.colors,formatOptions:Ra.formatOptions,onChange:Ra.onPickerChange,onFormatChange:Ra.onFormatChange},null,8,["style","value","format","show-alpha","colors","formatOptions","onChange","onFormatChange"])):createCommentVNode("v-if",!0)]}),_:1})],8,["to","disabled"]))],544)},ze.__scopeId="data-v-3c43ade8",ze.__file="src/ColorPicker.vue";const _sfc_main$8=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:nd}=useDisplayStore(),{theme:od,fontFamily:ld,fontSize:ud,primaryColor:dd,codeBlockTheme:pd,legend:fd,isMacCodeBlock:md,cssEditor:vd}=storeToRefs(qa),{resetStyleConfirm:Ad,themeChanged:Nd,fontChanged:Id,sizeChanged:Od,colorChanged:Md,codeBlockThemeChanged:Ud,legendChanged:jd,macCodeBlockChanged:Ld}=qa,Bd=ref$1(null);function Gd(){var Yd;(Yd=Bd.value)==null||Yd.show()}function qd(){nd(),setTimeout(()=>{vd.value.refresh()},50)}const zd=useTemplateRef("pickColorsContainer"),Xd=ref$1("rgb"),gf=ref$1(["rgb","hex","hsl","hsv"]);return(Yd,Zd)=>{const df=_sfc_main$j,Ef=_sfc_main$9,_f=_sfc_main$e,xf=_sfc_main$f,vf=_sfc_main$g,Af=_sfc_main$h,Df=_sfc_main$k,jf=_sfc_main$l,Jf=_sfc_main$m;return openBlock(),createBlock(Jf,null,{default:withCtx(()=>[createVNode(df,null,{default:withCtx(()=>Zd[1]||(Zd[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(jf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(Ef,{title:"主题",options:unref(themeOptions),current:unref(od),change:unref(Nd)},null,8,["options","current","change"]),createVNode(_f),createVNode(Ef,{title:"字体",options:unref(fontFamilyOptions),current:unref(ld),change:unref(Id)},null,8,["options","current","change"]),createVNode(Ef,{title:"字号",options:unref(fontSizeOptions),current:unref(ud),change:unref(Od)},null,8,["options","current","change"]),createVNode(Ef,{title:"主题色",options:unref(colorOptions),current:unref(dd),change:unref(Md)},null,8,["options","current","change"]),createVNode(Ef,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(pd),change:unref(Ud)},null,8,["options","current","change"]),createVNode(Ef,{title:"图注格式",options:unref(legendOptions),current:unref(fd),change:unref(jd)},null,8,["options","current","change"]),createVNode(_f),createVNode(Df,{onClick:withModifiers(Gd,["self","prevent"])},{default:withCtx(()=>[createVNode(Af,{"open-delay":100},{default:withCtx(()=>[createVNode(xf,{class:"w-full flex"},{default:withCtx(()=>Zd[2]||(Zd[2]=[createTextVNode(" 自定义主题色 ")])),_:1}),createVNode(vf,{side:"right",class:"w-min"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"pickColorsContainer",ref:zd},[createVNode(unref(ze),{value:unref(dd),"onUpdate:value":Zd[0]||(Zd[0]=eh=>isRef(dd)?dd.value=eh:null),"show-alpha":"",format:unref(Xd),"format-options":unref(gf),theme:unref(qa).isDark?"dark":"light","popup-container":unref(zd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])],512)]),_:1})]),_:1})]),_:1}),createVNode(Df,{onClick:qd},{default:withCtx(()=>Zd[3]||(Zd[3]=[createTextVNode(" 自定义 CSS ")])),_:1}),createVNode(_f),createVNode(Df,{checked:unref(md),onClick:unref(Ld)},{default:withCtx(()=>Zd[4]||(Zd[4]=[createTextVNode(" Mac 代码块 ")])),_:1},8,["checked","onClick"]),createVNode(_f),createVNode(Df,{divided:"",onClick:unref(Ad)},{default:withCtx(()=>Zd[5]||(Zd[5]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_sfc_main$7=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:dd,...pd}=nd;return pd}),ud=xe$5(ld,od);return(dd,pd)=>(openBlock(),createBlock(unref(jh),mergeProps(unref(ud),{class:unref(cn$5)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",dd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$6=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:nd}=useDisplayStore();return(od,ld)=>{const ud=_sfc_main$j,dd=_sfc_main$7,pd=_sfc_main$l,fd=_sfc_main$m;return openBlock(),createBlock(fd,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>ld[2]||(ld[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(pd,{align:"start"},{default:withCtx(()=>[createVNode(dd,{onClick:ld[0]||(ld[0]=md=>unref(nd)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),ld[3]||(ld[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(dd,{onClick:ld[1]||(ld[1]=md=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),ld[4]||(ld[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1})}}}),_sfc_main$5=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$5)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$4=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:nd,isEditOnLeft:od}=storeToRefs(qa),{exportEditorContent2HTML:ld,exportEditorContent2MD:ud,importMarkdownContent:dd}=qa;return(pd,fd)=>{const md=_sfc_main$j,vd=_sfc_main$7,Ad=_sfc_main$e,Nd=_sfc_main$k,Id=_sfc_main$l,Od=_sfc_main$m;return openBlock(),createBlock(Od,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>fd[5]||(fd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Id,{align:"start"},{default:withCtx(()=>[createVNode(vd,{onClick:fd[0]||(fd[0]=Md=>unref(dd)())},{default:withCtx(()=>[createVNode(unref(Upload),{class:"mr-2 size-4"}),fd[6]||(fd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(vd,{onClick:fd[1]||(fd[1]=Md=>unref(ud)())},{default:withCtx(()=>[createVNode(unref(Download),{class:"mr-2 size-4"}),fd[7]||(fd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(vd,{onClick:fd[2]||(fd[2]=Md=>unref(ld)())},{default:withCtx(()=>[createVNode(unref(FileCode),{class:"mr-2 size-4"}),fd[8]||(fd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(Ad),createVNode(Nd,{checked:unref(nd),"onUpdate:checked":fd[3]||(fd[3]=Md=>isRef(nd)?nd.value=Md:null)},{default:withCtx(()=>fd[9]||(fd[9]=[createTextVNode(" 深色模式 ")])),_:1},8,["checked"]),createVNode(Ad),createVNode(Nd,{checked:unref(od),"onUpdate:checked":fd[4]||(fd[4]=Md=>isRef(od)?od.value=Md:null)},{default:withCtx(()=>fd[10]||(fd[10]=[createTextVNode(" 左侧编辑 ")])),_:1},8,["checked"])]),_:1})]),_:1})}}}),_sfc_main$3=defineComponent({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ve),mergeProps({class:"toaster group"},qa,{"toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}}),_hoisted_1$1={class:"header-container h-15 flex items-center px-5"},_hoisted_2$1={class:"space-y-4"},_hoisted_3$1={class:"space-y-2"},_hoisted_4$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5$1={class:"space-y-2"},_hoisted_6$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_7={class:"space-y-2"},_hoisted_8={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"space-y-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_hoisted_26={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_27={class:"space-y-2"},_sfc_main$2=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const nd=qa,od=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],ld=useStore(),ud=useDisplayStore(),{isDark:dd,isCiteStatus:pd,output:fd,primaryColor:md}=storeToRefs(ld),{toggleDark:vd,editorRefresh:Ad,citeStatusChanged:Nd}=ld;function Id(){nd("startCopy"),setTimeout(()=>{function Ld(Gd){const qd=document.createElement("div");return qd.innerHTML=Gd,qd.querySelectorAll("li > ul, li > ol").forEach(Xd=>{Xd.parentElement.insertAdjacentElement("afterend",Xd)}),qd.innerHTML}const Bd=dd.value;Bd&&vd(),nextTick$1(()=>{solveWeChatImage();const Gd=document.getElementById("output");Gd.innerHTML=mergeCss(Gd.innerHTML),Gd.innerHTML=Ld(Gd.innerHTML),Gd.innerHTML=Gd.innerHTML.replace(/top:(.*?)em/g,"transform: translateY($1em)").replace(/hsl\(var\(--foreground\)\)/g,"#3f3f3f").replace(/var\(--blockquote-background\)/g,"#f7f7f7").replace(/var\(--md-primary-color\)/g,md.value).replace(/--md-primary-color:.+?;/g,"").replace(/<span class="nodeLabel"([^>]*)><p[^>]*>(.*?)<\/p><\/span>/g,'<span class="nodeLabel"$1>$2</span>'),Gd.focus();const qd=document.createElement("p");qd.style.fontSize="0",qd.style.lineHeight="0",qd.style.margin="0",qd.innerHTML=" ",Gd.insertBefore(qd,Gd.firstChild),Gd.querySelectorAll(".nodeLabel").forEach(gf=>{const Yd=gf.parentElement,Zd=Yd.getAttribute("xmlns"),df=Yd.getAttribute("style"),Ef=document.createElement("section");Ef.setAttribute("xmlns",Zd),Ef.setAttribute("style",df),Ef.innerHTML=Yd.innerHTML;const _f=Yd.parentElement;_f.innerHTML="",_f.appendChild(Ef)}),window.getSelection().removeAllRanges();const Xd=document.createRange();Xd.setStartBefore(Gd.firstChild),Xd.setEndAfter(Gd.lastChild),window.getSelection().addRange(Xd),document.execCommand("copy"),window.getSelection().removeAllRanges(),Gd.innerHTML=fd.value,Bd&&nextTick$1(()=>vd()),Ke$1.success("已复制渲染后的文章到剪贴板,可直接到公众号后台粘贴"),Ad(),nd("endCopy")})},350)}function Od(){ud.toggleShowCssEditor(),setTimeout(()=>{ld.cssEditor.refresh()},50)}const Md=useTemplateRef("pickColorsContainer"),Ud=ref$1("rgb"),jd=ref$1(["rgb","hex","hsl","hsv"]);return(Ld,Bd)=>{const Gd=_sfc_main$4,qd=_sfc_main$j,zd=_sfc_main$5,Xd=_sfc_main$k,gf=_sfc_main$e,Yd=_sfc_main$l,Zd=_sfc_main$m,df=_sfc_main$6,Ef=_sfc_main$8,_f=_sfc_main$i,xf=_sfc_main$o,vf=_sfc_main$1h,Af=_sfc_main$p,Df=_sfc_main$P,jf=_sfc_main$Q,Jf=_sfc_main$T,eh=_sfc_main$O,th=_sfc_main$U,Uf=_sfc_main$q,Of=_sfc_main$r,Wf=_sfc_main$s;return openBlock(),createElementBlock("header",_hoisted_1$1,[createVNode(xf,{class:"menubar mr-auto"},{default:withCtx(()=>[createVNode(Gd),createVNode(Zd,null,{default:withCtx(()=>[createVNode(qd,null,{default:withCtx(()=>Bd[17]||(Bd[17]=[createTextVNode(" 格式 ")])),_:1}),createVNode(Yd,{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(od,({label:qf,kbd:zf,emitArgs:Tf})=>createVNode(Xd,{key:qf,onClick:Sf=>Tf[0]==="addFormat"?Ld.$emit(Tf[0],Tf[1]):Ld.$emit(Tf[0])},{default:withCtx(()=>[createTextVNode(toDisplayString(qf)+" ",1),createVNode(zd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(zf,Sf=>(openBlock(),createElementBlock("kbd",{key:Sf,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(Sf),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(gf),createVNode(Xd,{checked:unref(pd),onClick:Bd[0]||(Bd[0]=qf=>unref(Nd)())},{default:withCtx(()=>Bd[18]||(Bd[18]=[createTextVNode(" 微信外链转底部引用 ")])),_:1},8,["checked"])]),_:1})]),_:1}),createVNode(df),createVNode(Ef),createVNode(_f)]),_:1}),unref(ld).isOpenPostSlider?(openBlock(),createBlock(vf,{key:1,variant:"outline",class:"mr-2",onClick:Bd[2]||(Bd[2]=qf=>unref(ld).isOpenPostSlider=!1)},{default:withCtx(()=>[createVNode(unref(PanelLeftClose),{class:"size-4"})]),_:1})):(openBlock(),createBlock(vf,{key:0,variant:"outline",class:"mr-2",onClick:Bd[1]||(Bd[1]=qf=>unref(ld).isOpenPostSlider=!0)},{default:withCtx(()=>[createVNode(unref(PanelLeftOpen),{class:"size-4"})]),_:1})),createVNode(Of,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>[createVNode(vf,{variant:"outline"},{default:withCtx(()=>[createVNode(unref(Settings),{class:"h-4 w-4"})]),_:1})]),_:1}),createVNode(Uf,{class:"h-100 w-100 overflow-auto px-6",align:"end"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[Bd[19]||(Bd[19]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:qf,value:zf})=>(openBlock(),createBlock(vf,{key:zf,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).theme===zf}]),variant:"outline",onClick:Tf=>unref(ld).themeChanged(zf)},{default:withCtx(()=>[createTextVNode(toDisplayString(qf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5$1,[Bd[20]||(Bd[20]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_6$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:qf,value:zf})=>(openBlock(),createBlock(vf,{key:zf,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).fontFamily===zf}]),onClick:Tf=>unref(ld).fontChanged(zf)},{default:withCtx(()=>[createTextVNode(toDisplayString(qf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7,[Bd[21]||(Bd[21]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:qf,desc:zf})=>(openBlock(),createBlock(vf,{key:qf,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).fontSize===qf}]),onClick:Tf=>unref(ld).sizeChanged(qf)},{default:withCtx(()=>[createTextVNode(toDisplayString(zf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Bd[22]||(Bd[22]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_10,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:qf,value:zf})=>(openBlock(),createBlock(vf,{key:zf,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).primaryColor===zf}]),variant:"outline",onClick:Tf=>unref(ld).colorChanged(zf)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:zf})},null,4),createTextVNode(" "+toDisplayString(qf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_11,[Bd[23]||(Bd[23]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",{ref_key:"pickColorsContainer",ref:Md},[unref(Md)?(openBlock(),createBlock(unref(ze),{key:0,value:unref(md),"onUpdate:value":Bd[3]||(Bd[3]=qf=>isRef(md)?md.value=qf:null),"show-alpha":"",format:unref(Ud),"format-options":unref(jd),theme:unref(ld).isDark?"dark":"light","popup-container":unref(Md),onChange:unref(ld).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])):createCommentVNode("",!0)],512)]),createBaseVNode("div",_hoisted_12,[Bd[24]||(Bd[24]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(th,{modelValue:unref(ld).codeBlockTheme,"onUpdate:modelValue":[Bd[4]||(Bd[4]=qf=>unref(ld).codeBlockTheme=qf),unref(ld).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(jf,null,{default:withCtx(()=>[createVNode(Df,{placeholder:"Select a fruit"})]),_:1}),createVNode(eh,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:qf,value:zf})=>(openBlock(),createBlock(Jf,{key:qf,value:zf},{default:withCtx(()=>[createTextVNode(toDisplayString(qf),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_13,[Bd[25]||(Bd[25]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:qf,value:zf})=>(openBlock(),createBlock(vf,{key:zf,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).legend===zf}]),variant:"outline",onClick:Tf=>unref(ld).legendChanged(zf)},{default:withCtx(()=>[createTextVNode(toDisplayString(qf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_15,[Bd[28]||(Bd[28]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_16,[createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Bd[5]||(Bd[5]=qf=>!unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Bd[26]||(Bd[26]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Bd[6]||(Bd[6]=qf=>unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Bd[27]||(Bd[27]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Bd[31]||(Bd[31]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_18,[createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isCiteStatus}]),variant:"outline",onClick:Bd[7]||(Bd[7]=qf=>!unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Bd[29]||(Bd[29]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isCiteStatus}]),variant:"outline",onClick:Bd[8]||(Bd[8]=qf=>unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Bd[30]||(Bd[30]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Bd[34]||(Bd[34]=createBaseVNode("h2",null,"段落首行缩进",-1)),createBaseVNode("div",_hoisted_20,[createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isUseIndent}]),variant:"outline",onClick:Bd[9]||(Bd[9]=qf=>!unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Bd[32]||(Bd[32]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isUseIndent}]),variant:"outline",onClick:Bd[10]||(Bd[10]=qf=>unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Bd[33]||(Bd[33]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Bd[37]||(Bd[37]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_22,[createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ud).isShowCssEditor}]),variant:"outline",onClick:Bd[11]||(Bd[11]=qf=>!unref(ud).isShowCssEditor&&Od())},{default:withCtx(()=>Bd[35]||(Bd[35]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ud).isShowCssEditor}]),variant:"outline",onClick:Bd[12]||(Bd[12]=qf=>unref(ud).isShowCssEditor&&Od())},{default:withCtx(()=>Bd[36]||(Bd[36]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Bd[40]||(Bd[40]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_24,[createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isEditOnLeft}]),variant:"outline",onClick:Bd[13]||(Bd[13]=qf=>!unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Bd[38]||(Bd[38]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isEditOnLeft}]),variant:"outline",onClick:Bd[14]||(Bd[14]=qf=>unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Bd[39]||(Bd[39]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Bd[41]||(Bd[41]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_26,[createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(dd)}]),variant:"outline",onClick:Bd[15]||(Bd[15]=qf=>unref(ld).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(vf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(dd)}]),variant:"outline",onClick:Bd[16]||(Bd[16]=qf=>unref(ld).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_27,[Bd[43]||(Bd[43]=createBaseVNode("h2",null,"样式配置",-1)),createVNode(vf,{onClick:unref(ld).resetStyleConfirm},{default:withCtx(()=>Bd[42]||(Bd[42]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])])])]),_:1})]),_:1}),createVNode(vf,{variant:"outline",class:"mx-2",onClick:Id},{default:withCtx(()=>Bd[44]||(Bd[44]=[createTextVNode(" 复制 ")])),_:1}),createVNode(Wf),createVNode(unref(_sfc_main$3),{"rich-colors":"",position:"top-center"})])}}}),__unplugin_components_0=_export_sfc(_sfc_main$2,[["__scopeId","data-v-1417df7b"]]);function bind$2(Ra,qa){return function(){return Ra.apply(qa,arguments)}}var define_process_default$8={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const{toString:toString$1}=Object.prototype,{getPrototypeOf:getPrototypeOf$1}=Object,kindOf=(Ra=>qa=>{const nd=toString$1.call(qa);return Ra[nd]||(Ra[nd]=nd.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction$1(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer$2=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer$2(Ra.buffer),qa}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$1=Ra=>Ra!==null&&typeof Ra=="object",isBoolean$1=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf$1(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject$1(Ra)&&isFunction$1(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction$1(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction$1(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream$3,isRequest$2,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach$2(Ra,qa,{allOwnKeys:nd=!1}={}){if(Ra===null||typeof Ra>"u")return;let od,ld;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(od=0,ld=Ra.length;od<ld;od++)qa.call(null,Ra[od],od,Ra);else{const ud=nd?Object.getOwnPropertyNames(Ra):Object.keys(Ra),dd=ud.length;let pd;for(od=0;od<dd;od++)pd=ud[od],qa.call(null,Ra[pd],pd,Ra)}}function findKey(Ra,qa){qa=qa.toLowerCase();const nd=Object.keys(Ra);let od=nd.length,ld;for(;od-- >0;)if(ld=nd[od],qa===ld.toLowerCase())return ld;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},nd=(od,ld)=>{const ud=Ra&&findKey(qa,ld)||ld;isPlainObject(qa[ud])&&isPlainObject(od)?qa[ud]=merge(qa[ud],od):isPlainObject(od)?qa[ud]=merge({},od):isArray(od)?qa[ud]=od.slice():qa[ud]=od};for(let od=0,ld=arguments.length;od<ld;od++)arguments[od]&&forEach$2(arguments[od],nd);return qa}const extend=(Ra,qa,nd,{allOwnKeys:od}={})=>(forEach$2(qa,(ld,ud)=>{nd&&isFunction$1(ld)?Ra[ud]=bind$2(ld,nd):Ra[ud]=ld},{allOwnKeys:od}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits$2=(Ra,qa,nd,od)=>{Ra.prototype=Object.create(qa.prototype,od),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),nd&&Object.assign(Ra.prototype,nd)},toFlatObject=(Ra,qa,nd,od)=>{let ld,ud,dd;const pd={};if(qa=qa||{},Ra==null)return qa;do{for(ld=Object.getOwnPropertyNames(Ra),ud=ld.length;ud-- >0;)dd=ld[ud],(!od||od(dd,Ra,qa))&&!pd[dd]&&(qa[dd]=Ra[dd],pd[dd]=!0);Ra=nd!==!1&&getPrototypeOf$1(Ra)}while(Ra&&(!nd||nd(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith$1=(Ra,qa,nd)=>{Ra=String(Ra),(nd===void 0||nd>Ra.length)&&(nd=Ra.length),nd-=qa.length;const od=Ra.indexOf(qa,nd);return od!==-1&&od===nd},toArray$1=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber$1(qa))return null;const nd=new Array(qa);for(;qa-- >0;)nd[qa]=Ra[qa];return nd},isTypedArray$1=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf$1(Uint8Array)),forEachEntry=(Ra,qa)=>{const od=(Ra&&Ra[Symbol.iterator]).call(Ra);let ld;for(;(ld=od.next())&&!ld.done;){const ud=ld.value;qa.call(Ra,ud[0],ud[1])}},matchAll=(Ra,qa)=>{let nd;const od=[];for(;(nd=Ra.exec(qa))!==null;)od.push(nd);return od},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(nd,od,ld){return od.toUpperCase()+ld}),hasOwnProperty$2=(({hasOwnProperty:Ra})=>(qa,nd)=>Ra.call(qa,nd))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const nd=Object.getOwnPropertyDescriptors(Ra),od={};forEach$2(nd,(ld,ud)=>{let dd;(dd=qa(ld,ud,Ra))!==!1&&(od[ud]=dd||ld)}),Object.defineProperties(Ra,od)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,nd)=>{if(isFunction$1(Ra)&&["arguments","caller","callee"].indexOf(nd)!==-1)return!1;const od=Ra[nd];if(isFunction$1(od)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+nd+"'")})}})},toObjectSet=(Ra,qa)=>{const nd={},od=ld=>{ld.forEach(ud=>{nd[ud]=!0})};return isArray(Ra)?od(Ra):od(String(Ra).split(qa)),nd},noop$2=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let nd="";const{length:od}=qa;for(;Ra--;)nd+=qa[Math.random()*od|0];return nd};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction$1(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),nd=(od,ld)=>{if(isObject$1(od)){if(qa.indexOf(od)>=0)return;if(!("toJSON"in od)){qa[ld]=od;const ud=isArray(od)?[]:{};return forEach$2(od,(dd,pd)=>{const fd=nd(dd,ld+1);!isUndefined(fd)&&(ud[pd]=fd)}),qa[ld]=void 0,ud}}return od};return nd(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject$1(Ra)||isFunction$1(Ra))&&isFunction$1(Ra.then)&&isFunction$1(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((nd,od)=>(_global.addEventListener("message",({source:ld,data:ud})=>{ld===_global&&ud===nd&&od.length&&od.shift()()},!1),ld=>{od.push(ld),_global.postMessage(nd,"*")}))(`axios@${Math.random()}`,[]):nd=>setTimeout(nd))(typeof setImmediate=="function",isFunction$1(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default$8<"u"&&define_process_default$8.nextTick||_setImmediate,utils$2={isArray,isArrayBuffer:isArrayBuffer$2,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$1,isPlainObject,isReadableStream:isReadableStream$3,isRequest:isRequest$2,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach:forEach$2,merge,extend,trim,stripBOM,inherits:inherits$2,toFlatObject,kindOf,kindOfTest,endsWith:endsWith$1,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$2,hasOwnProp:hasOwnProperty$2,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$2,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,nd,od,ld){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),nd&&(this.config=nd),od&&(this.request=od),ld&&(this.response=ld,this.status=ld.status?ld.status:null)}utils$2.inherits(AxiosError,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:utils$2.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["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(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,nd,od,ld,ud)=>{const dd=Object.create(prototype$1);return utils$2.toFlatObject(Ra,dd,function(fd){return fd!==Error.prototype},pd=>pd!=="isAxiosError"),AxiosError.call(dd,Ra.message,qa,nd,od,ld),dd.cause=Ra,dd.name=Ra.name,ud&&Object.assign(dd,ud),dd};const httpAdapter=null;function isVisitable(Ra){return utils$2.isPlainObject(Ra)||utils$2.isArray(Ra)}function removeBrackets(Ra){return utils$2.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,nd){return Ra?Ra.concat(qa).map(function(ld,ud){return ld=removeBrackets(ld),!nd&&ud?"["+ld+"]":ld}).join(nd?".":""):qa}function isFlatArray(Ra){return utils$2.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$2.toFlatObject(utils$2,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,nd){if(!utils$2.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,nd=utils$2.toFlatObject(nd,{metaTokens:!0,dots:!1,indexes:!1},!1,function(Md,Ud){return!utils$2.isUndefined(Ud[Md])});const od=nd.metaTokens,ld=nd.visitor||vd,ud=nd.dots,dd=nd.indexes,fd=(nd.Blob||typeof Blob<"u"&&Blob)&&utils$2.isSpecCompliantForm(qa);if(!utils$2.isFunction(ld))throw new TypeError("visitor must be a function");function md(Od){if(Od===null)return"";if(utils$2.isDate(Od))return Od.toISOString();if(!fd&&utils$2.isBlob(Od))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(Od)||utils$2.isTypedArray(Od)?fd&&typeof Blob=="function"?new Blob([Od]):Buffer$4.from(Od):Od}function vd(Od,Md,Ud){let jd=Od;if(Od&&!Ud&&typeof Od=="object"){if(utils$2.endsWith(Md,"{}"))Md=od?Md:Md.slice(0,-2),Od=JSON.stringify(Od);else if(utils$2.isArray(Od)&&isFlatArray(Od)||(utils$2.isFileList(Od)||utils$2.endsWith(Md,"[]"))&&(jd=utils$2.toArray(Od)))return Md=removeBrackets(Md),jd.forEach(function(Bd,Gd){!(utils$2.isUndefined(Bd)||Bd===null)&&qa.append(dd===!0?renderKey([Md],Gd,ud):dd===null?Md:Md+"[]",md(Bd))}),!1}return isVisitable(Od)?!0:(qa.append(renderKey(Ud,Md,ud),md(Od)),!1)}const Ad=[],Nd=Object.assign(predicates,{defaultVisitor:vd,convertValue:md,isVisitable});function Id(Od,Md){if(!utils$2.isUndefined(Od)){if(Ad.indexOf(Od)!==-1)throw Error("Circular reference detected in "+Md.join("."));Ad.push(Od),utils$2.forEach(Od,function(jd,Ld){(!(utils$2.isUndefined(jd)||jd===null)&&ld.call(qa,jd,utils$2.isString(Ld)?Ld.trim():Ld,Md,Nd))===!0&&Id(jd,Md?Md.concat(Ld):[Ld])}),Ad.pop()}}if(!utils$2.isObject(Ra))throw new TypeError("data must be an object");return Id(Ra),qa}function encode$2(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(od){return qa[od]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,nd){this._pairs.push([qa,nd])};prototype.toString=function(qa){const nd=qa?function(od){return qa.call(this,od,encode$2)}:encode$2;return this._pairs.map(function(ld){return nd(ld[0])+"="+nd(ld[1])},"").join("&")};function encode$1(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,nd){if(!qa)return Ra;const od=nd&&nd.encode||encode$1;utils$2.isFunction(nd)&&(nd={serialize:nd});const ld=nd&&nd.serialize;let ud;if(ld?ud=ld(qa,nd):ud=utils$2.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,nd).toString(od),ud){const dd=Ra.indexOf("#");dd!==-1&&(Ra=Ra.slice(0,dd)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+ud}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,nd,od){return this.handlers.push({fulfilled:qa,rejected:nd,synchronous:od?od.synchronous:!1,runWhen:od?od.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$2.forEach(this.handlers,function(od){od!==null&&qa(od)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils$1,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(nd,od,ld,ud){return platform.isNode&&utils$2.isBuffer(nd)?(this.append(od,nd.toString("base64")),!1):ud.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$2.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},nd=Object.keys(Ra);let od;const ld=nd.length;let ud;for(od=0;od<ld;od++)ud=nd[od],qa[ud]=Ra[ud];return qa}function formDataToJSON(Ra){function qa(nd,od,ld,ud){let dd=nd[ud++];if(dd==="__proto__")return!0;const pd=Number.isFinite(+dd),fd=ud>=nd.length;return dd=!dd&&utils$2.isArray(ld)?ld.length:dd,fd?(utils$2.hasOwnProp(ld,dd)?ld[dd]=[ld[dd],od]:ld[dd]=od,!pd):((!ld[dd]||!utils$2.isObject(ld[dd]))&&(ld[dd]=[]),qa(nd,od,ld[dd],ud)&&utils$2.isArray(ld[dd])&&(ld[dd]=arrayToObject(ld[dd])),!pd)}if(utils$2.isFormData(Ra)&&utils$2.isFunction(Ra.entries)){const nd={};return utils$2.forEachEntry(Ra,(od,ld)=>{qa(parsePropPath(od),ld,nd,0)}),nd}return null}function stringifySafely(Ra,qa,nd){if(utils$2.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$2.trim(Ra)}catch(od){if(od.name!=="SyntaxError")throw od}return(0,JSON.stringify)(Ra)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,nd){const od=nd.getContentType()||"",ld=od.indexOf("application/json")>-1,ud=utils$2.isObject(qa);if(ud&&utils$2.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$2.isFormData(qa))return ld?JSON.stringify(formDataToJSON(qa)):qa;if(utils$2.isArrayBuffer(qa)||utils$2.isBuffer(qa)||utils$2.isStream(qa)||utils$2.isFile(qa)||utils$2.isBlob(qa)||utils$2.isReadableStream(qa))return qa;if(utils$2.isArrayBufferView(qa))return qa.buffer;if(utils$2.isURLSearchParams(qa))return nd.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let pd;if(ud){if(od.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((pd=utils$2.isFileList(qa))||od.indexOf("multipart/form-data")>-1){const fd=this.env&&this.env.FormData;return toFormData(pd?{"files[]":qa}:qa,fd&&new fd,this.formSerializer)}}return ud||ld?(nd.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const nd=this.transitional||defaults$1.transitional,od=nd&&nd.forcedJSONParsing,ld=this.responseType==="json";if(utils$2.isResponse(qa)||utils$2.isReadableStream(qa))return qa;if(qa&&utils$2.isString(qa)&&(od&&!this.responseType||ld)){const dd=!(nd&&nd.silentJSONParsing)&&ld;try{return JSON.parse(qa)}catch(pd){if(dd)throw pd.name==="SyntaxError"?AxiosError.from(pd,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):pd}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$2.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults$1.headers[Ra]={}});const ignoreDuplicateOf=utils$2.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"]),parseHeaders=Ra=>{const qa={};let nd,od,ld;return Ra&&Ra.split(`
|
||
`).forEach(function(dd){ld=dd.indexOf(":"),nd=dd.substring(0,ld).trim().toLowerCase(),od=dd.substring(ld+1).trim(),!(!nd||qa[nd]&&ignoreDuplicateOf[nd])&&(nd==="set-cookie"?qa[nd]?qa[nd].push(od):qa[nd]=[od]:qa[nd]=qa[nd]?qa[nd]+", "+od:od)}),qa},$internals=Symbol("internals");function normalizeHeader(Ra){return Ra&&String(Ra).trim().toLowerCase()}function normalizeValue(Ra){return Ra===!1||Ra==null?Ra:utils$2.isArray(Ra)?Ra.map(normalizeValue):String(Ra)}function parseTokens(Ra){const qa=Object.create(null),nd=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let od;for(;od=nd.exec(Ra);)qa[od[1]]=od[2];return qa}const isValidHeaderName=Ra=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Ra.trim());function matchHeaderValue(Ra,qa,nd,od,ld){if(utils$2.isFunction(od))return od.call(this,qa,nd);if(ld&&(qa=nd),!!utils$2.isString(qa)){if(utils$2.isString(od))return qa.indexOf(od)!==-1;if(utils$2.isRegExp(od))return od.test(qa)}}function formatHeader(Ra){return Ra.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(qa,nd,od)=>nd.toUpperCase()+od)}function buildAccessors(Ra,qa){const nd=utils$2.toCamelCase(" "+qa);["get","set","has"].forEach(od=>{Object.defineProperty(Ra,od+nd,{value:function(ld,ud,dd){return this[od].call(this,qa,ld,ud,dd)},configurable:!0})})}class AxiosHeaders{constructor(qa){qa&&this.set(qa)}set(qa,nd,od){const ld=this;function ud(pd,fd,md){const vd=normalizeHeader(fd);if(!vd)throw new Error("header name must be a non-empty string");const Ad=utils$2.findKey(ld,vd);(!Ad||ld[Ad]===void 0||md===!0||md===void 0&&ld[Ad]!==!1)&&(ld[Ad||fd]=normalizeValue(pd))}const dd=(pd,fd)=>utils$2.forEach(pd,(md,vd)=>ud(md,vd,fd));if(utils$2.isPlainObject(qa)||qa instanceof this.constructor)dd(qa,nd);else if(utils$2.isString(qa)&&(qa=qa.trim())&&!isValidHeaderName(qa))dd(parseHeaders(qa),nd);else if(utils$2.isHeaders(qa))for(const[pd,fd]of qa.entries())ud(fd,pd,od);else qa!=null&&ud(nd,qa,od);return this}get(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);if(od){const ld=this[od];if(!nd)return ld;if(nd===!0)return parseTokens(ld);if(utils$2.isFunction(nd))return nd.call(this,ld,od);if(utils$2.isRegExp(nd))return nd.exec(ld);throw new TypeError("parser must be boolean|regexp|function")}}}has(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);return!!(od&&this[od]!==void 0&&(!nd||matchHeaderValue(this,this[od],od,nd)))}return!1}delete(qa,nd){const od=this;let ld=!1;function ud(dd){if(dd=normalizeHeader(dd),dd){const pd=utils$2.findKey(od,dd);pd&&(!nd||matchHeaderValue(od,od[pd],pd,nd))&&(delete od[pd],ld=!0)}}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),ld}clear(qa){const nd=Object.keys(this);let od=nd.length,ld=!1;for(;od--;){const ud=nd[od];(!qa||matchHeaderValue(this,this[ud],ud,qa,!0))&&(delete this[ud],ld=!0)}return ld}normalize(qa){const nd=this,od={};return utils$2.forEach(this,(ld,ud)=>{const dd=utils$2.findKey(od,ud);if(dd){nd[dd]=normalizeValue(ld),delete nd[ud];return}const pd=qa?formatHeader(ud):String(ud).trim();pd!==ud&&delete nd[ud],nd[pd]=normalizeValue(ld),od[pd]=!0}),this}concat(...qa){return this.constructor.concat(this,...qa)}toJSON(qa){const nd=Object.create(null);return utils$2.forEach(this,(od,ld)=>{od!=null&&od!==!1&&(nd[ld]=qa&&utils$2.isArray(od)?od.join(", "):od)}),nd}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([qa,nd])=>qa+": "+nd).join(`
|
||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(qa){return qa instanceof this?qa:new this(qa)}static concat(qa,...nd){const od=new this(qa);return nd.forEach(ld=>od.set(ld)),od}static accessor(qa){const od=(this[$internals]=this[$internals]={accessors:{}}).accessors,ld=this.prototype;function ud(dd){const pd=normalizeHeader(dd);od[pd]||(buildAccessors(ld,dd),od[pd]=!0)}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$2.reduceDescriptors(AxiosHeaders.prototype,({value:Ra},qa)=>{let nd=qa[0].toUpperCase()+qa.slice(1);return{get:()=>Ra,set(od){this[nd]=od}}});utils$2.freezeMethods(AxiosHeaders);function transformData(Ra,qa){const nd=this||defaults$1,od=qa||nd,ld=AxiosHeaders.from(od.headers);let ud=od.data;return utils$2.forEach(Ra,function(pd){ud=pd.call(nd,ud,ld.normalize(),qa?qa.status:void 0)}),ld.normalize(),ud}function isCancel(Ra){return!!(Ra&&Ra.__CANCEL__)}function CanceledError(Ra,qa,nd){AxiosError.call(this,Ra??"canceled",AxiosError.ERR_CANCELED,qa,nd),this.name="CanceledError"}utils$2.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(Ra,qa,nd){const od=nd.config.validateStatus;!nd.status||!od||od(nd.status)?Ra(nd):qa(new AxiosError("Request failed with status code "+nd.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(nd.status/100)-4],nd.config,nd.request,nd))}function parseProtocol(Ra){const qa=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Ra);return qa&&qa[1]||""}function speedometer(Ra,qa){Ra=Ra||10;const nd=new Array(Ra),od=new Array(Ra);let ld=0,ud=0,dd;return qa=qa!==void 0?qa:1e3,function(fd){const md=Date.now(),vd=od[ud];dd||(dd=md),nd[ld]=fd,od[ld]=md;let Ad=ud,Nd=0;for(;Ad!==ld;)Nd+=nd[Ad++],Ad=Ad%Ra;if(ld=(ld+1)%Ra,ld===ud&&(ud=(ud+1)%Ra),md-dd<qa)return;const Id=vd&&md-vd;return Id?Math.round(Nd*1e3/Id):void 0}}function throttle(Ra,qa){let nd=0,od=1e3/qa,ld,ud;const dd=(md,vd=Date.now())=>{nd=vd,ld=null,ud&&(clearTimeout(ud),ud=null),Ra.apply(null,md)};return[(...md)=>{const vd=Date.now(),Ad=vd-nd;Ad>=od?dd(md,vd):(ld=md,ud||(ud=setTimeout(()=>{ud=null,dd(ld)},od-Ad)))},()=>ld&&dd(ld)]}const progressEventReducer=(Ra,qa,nd=3)=>{let od=0;const ld=speedometer(50,250);return throttle(ud=>{const dd=ud.loaded,pd=ud.lengthComputable?ud.total:void 0,fd=dd-od,md=ld(fd),vd=dd<=pd;od=dd;const Ad={loaded:dd,total:pd,progress:pd?dd/pd:void 0,bytes:fd,rate:md||void 0,estimated:md&&pd&&vd?(pd-dd)/md:void 0,event:ud,lengthComputable:pd!=null,[qa?"download":"upload"]:!0};Ra(Ad)},nd)},progressEventDecorator=(Ra,qa)=>{const nd=Ra!=null;return[od=>qa[0]({lengthComputable:nd,total:Ra,loaded:od}),qa[1]]},asyncDecorator=Ra=>(...qa)=>utils$2.asap(()=>Ra(...qa)),isURLSameOrigin=platform.hasStandardBrowserEnv?((Ra,qa)=>nd=>(nd=new URL(nd,platform.origin),Ra.protocol===nd.protocol&&Ra.host===nd.host&&(qa||Ra.port===nd.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(Ra,qa,nd,od,ld,ud){const dd=[Ra+"="+encodeURIComponent(qa)];utils$2.isNumber(nd)&&dd.push("expires="+new Date(nd).toGMTString()),utils$2.isString(od)&&dd.push("path="+od),utils$2.isString(ld)&&dd.push("domain="+ld),ud===!0&&dd.push("secure"),document.cookie=dd.join("; ")},read(Ra){const qa=document.cookie.match(new RegExp("(^|;\\s*)("+Ra+")=([^;]*)"));return qa?decodeURIComponent(qa[3]):null},remove(Ra){this.write(Ra,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(Ra){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ra)}function combineURLs(Ra,qa){return qa?Ra.replace(/\/?\/$/,"")+"/"+qa.replace(/^\/+/,""):Ra}function buildFullPath(Ra,qa){return Ra&&!isAbsoluteURL(qa)?combineURLs(Ra,qa):qa}const headersToObject=Ra=>Ra instanceof AxiosHeaders?{...Ra}:Ra;function mergeConfig(Ra,qa){qa=qa||{};const nd={};function od(md,vd,Ad,Nd){return utils$2.isPlainObject(md)&&utils$2.isPlainObject(vd)?utils$2.merge.call({caseless:Nd},md,vd):utils$2.isPlainObject(vd)?utils$2.merge({},vd):utils$2.isArray(vd)?vd.slice():vd}function ld(md,vd,Ad,Nd){if(utils$2.isUndefined(vd)){if(!utils$2.isUndefined(md))return od(void 0,md,Ad,Nd)}else return od(md,vd,Ad,Nd)}function ud(md,vd){if(!utils$2.isUndefined(vd))return od(void 0,vd)}function dd(md,vd){if(utils$2.isUndefined(vd)){if(!utils$2.isUndefined(md))return od(void 0,md)}else return od(void 0,vd)}function pd(md,vd,Ad){if(Ad in qa)return od(md,vd);if(Ad in Ra)return od(void 0,md)}const fd={url:ud,method:ud,data:ud,baseURL:dd,transformRequest:dd,transformResponse:dd,paramsSerializer:dd,timeout:dd,timeoutMessage:dd,withCredentials:dd,withXSRFToken:dd,adapter:dd,responseType:dd,xsrfCookieName:dd,xsrfHeaderName:dd,onUploadProgress:dd,onDownloadProgress:dd,decompress:dd,maxContentLength:dd,maxBodyLength:dd,beforeRedirect:dd,transport:dd,httpAgent:dd,httpsAgent:dd,cancelToken:dd,socketPath:dd,responseEncoding:dd,validateStatus:pd,headers:(md,vd,Ad)=>ld(headersToObject(md),headersToObject(vd),Ad,!0)};return utils$2.forEach(Object.keys(Object.assign({},Ra,qa)),function(vd){const Ad=fd[vd]||ld,Nd=Ad(Ra[vd],qa[vd],vd);utils$2.isUndefined(Nd)&&Ad!==pd||(nd[vd]=Nd)}),nd}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:nd,withXSRFToken:od,xsrfHeaderName:ld,xsrfCookieName:ud,headers:dd,auth:pd}=qa;qa.headers=dd=AxiosHeaders.from(dd),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),pd&&dd.set("Authorization","Basic "+btoa((pd.username||"")+":"+(pd.password?unescape(encodeURIComponent(pd.password)):"")));let fd;if(utils$2.isFormData(nd)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)dd.setContentType(void 0);else if((fd=dd.getContentType())!==!1){const[md,...vd]=fd?fd.split(";").map(Ad=>Ad.trim()).filter(Boolean):[];dd.setContentType([md||"multipart/form-data",...vd].join("; "))}}if(platform.hasStandardBrowserEnv&&(od&&utils$2.isFunction(od)&&(od=od(qa)),od||od!==!1&&isURLSameOrigin(qa.url))){const md=ld&&ud&&cookies.read(ud);md&&dd.set(ld,md)}return qa},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(Ra){return new Promise(function(nd,od){const ld=resolveConfig(Ra);let ud=ld.data;const dd=AxiosHeaders.from(ld.headers).normalize();let{responseType:pd,onUploadProgress:fd,onDownloadProgress:md}=ld,vd,Ad,Nd,Id,Od;function Md(){Id&&Id(),Od&&Od(),ld.cancelToken&&ld.cancelToken.unsubscribe(vd),ld.signal&&ld.signal.removeEventListener("abort",vd)}let Ud=new XMLHttpRequest;Ud.open(ld.method.toUpperCase(),ld.url,!0),Ud.timeout=ld.timeout;function jd(){if(!Ud)return;const Bd=AxiosHeaders.from("getAllResponseHeaders"in Ud&&Ud.getAllResponseHeaders()),qd={data:!pd||pd==="text"||pd==="json"?Ud.responseText:Ud.response,status:Ud.status,statusText:Ud.statusText,headers:Bd,config:Ra,request:Ud};settle(function(Xd){nd(Xd),Md()},function(Xd){od(Xd),Md()},qd),Ud=null}"onloadend"in Ud?Ud.onloadend=jd:Ud.onreadystatechange=function(){!Ud||Ud.readyState!==4||Ud.status===0&&!(Ud.responseURL&&Ud.responseURL.indexOf("file:")===0)||setTimeout(jd)},Ud.onabort=function(){Ud&&(od(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,Ud)),Ud=null)},Ud.onerror=function(){od(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Ud)),Ud=null},Ud.ontimeout=function(){let Gd=ld.timeout?"timeout of "+ld.timeout+"ms exceeded":"timeout exceeded";const qd=ld.transitional||transitionalDefaults;ld.timeoutErrorMessage&&(Gd=ld.timeoutErrorMessage),od(new AxiosError(Gd,qd.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,Ud)),Ud=null},ud===void 0&&dd.setContentType(null),"setRequestHeader"in Ud&&utils$2.forEach(dd.toJSON(),function(Gd,qd){Ud.setRequestHeader(qd,Gd)}),utils$2.isUndefined(ld.withCredentials)||(Ud.withCredentials=!!ld.withCredentials),pd&&pd!=="json"&&(Ud.responseType=ld.responseType),md&&([Nd,Od]=progressEventReducer(md,!0),Ud.addEventListener("progress",Nd)),fd&&Ud.upload&&([Ad,Id]=progressEventReducer(fd),Ud.upload.addEventListener("progress",Ad),Ud.upload.addEventListener("loadend",Id)),(ld.cancelToken||ld.signal)&&(vd=Bd=>{Ud&&(od(!Bd||Bd.type?new CanceledError(null,Ra,Ud):Bd),Ud.abort(),Ud=null)},ld.cancelToken&&ld.cancelToken.subscribe(vd),ld.signal&&(ld.signal.aborted?vd():ld.signal.addEventListener("abort",vd)));const Ld=parseProtocol(ld.url);if(Ld&&platform.protocols.indexOf(Ld)===-1){od(new AxiosError("Unsupported protocol "+Ld+":",AxiosError.ERR_BAD_REQUEST,Ra));return}Ud.send(ud||null)})},composeSignals=(Ra,qa)=>{const{length:nd}=Ra=Ra?Ra.filter(Boolean):[];if(qa||nd){let od=new AbortController,ld;const ud=function(md){if(!ld){ld=!0,pd();const vd=md instanceof Error?md:this.reason;od.abort(vd instanceof AxiosError?vd:new CanceledError(vd instanceof Error?vd.message:vd))}};let dd=qa&&setTimeout(()=>{dd=null,ud(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const pd=()=>{Ra&&(dd&&clearTimeout(dd),dd=null,Ra.forEach(md=>{md.unsubscribe?md.unsubscribe(ud):md.removeEventListener("abort",ud)}),Ra=null)};Ra.forEach(md=>md.addEventListener("abort",ud));const{signal:fd}=od;return fd.unsubscribe=()=>utils$2.asap(pd),fd}},streamChunk=function*(Ra,qa){let nd=Ra.byteLength;if(nd<qa){yield Ra;return}let od=0,ld;for(;od<nd;)ld=od+qa,yield Ra.slice(od,ld),od=ld},readBytes=async function*(Ra,qa){for await(const nd of readStream(Ra))yield*streamChunk(nd,qa)},readStream=async function*(Ra){if(Ra[Symbol.asyncIterator]){yield*Ra;return}const qa=Ra.getReader();try{for(;;){const{done:nd,value:od}=await qa.read();if(nd)break;yield od}}finally{await qa.cancel()}},trackStream=(Ra,qa,nd,od)=>{const ld=readBytes(Ra,qa);let ud=0,dd,pd=fd=>{dd||(dd=!0,od&&od(fd))};return new ReadableStream({async pull(fd){try{const{done:md,value:vd}=await ld.next();if(md){pd(),fd.close();return}let Ad=vd.byteLength;if(nd){let Nd=ud+=Ad;nd(Nd)}fd.enqueue(new Uint8Array(vd))}catch(md){throw pd(md),md}},cancel(fd){return pd(fd),ld.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(Ra=>qa=>Ra.encode(qa))(new TextEncoder):async Ra=>new Uint8Array(await new Response(Ra).arrayBuffer())),test$1=(Ra,...qa)=>{try{return!!Ra(...qa)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test$1(()=>{let Ra=!1;const qa=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return Ra=!0,"half"}}).headers.has("Content-Type");return Ra&&!qa}),DEFAULT_CHUNK_SIZE$1=64*1024,supportsResponseStream=isReadableStreamSupported&&test$1(()=>utils$2.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(Ra=>Ra.body)};isFetchSupported&&(Ra=>{["text","arrayBuffer","blob","formData","stream"].forEach(qa=>{!resolvers[qa]&&(resolvers[qa]=utils$2.isFunction(Ra[qa])?nd=>nd[qa]():(nd,od)=>{throw new AxiosError(`Response type '${qa}' is not supported`,AxiosError.ERR_NOT_SUPPORT,od)})})})(new Response);const getBodyLength=async Ra=>{if(Ra==null)return 0;if(utils$2.isBlob(Ra))return Ra.size;if(utils$2.isSpecCompliantForm(Ra))return(await new Request(platform.origin,{method:"POST",body:Ra}).arrayBuffer()).byteLength;if(utils$2.isArrayBufferView(Ra)||utils$2.isArrayBuffer(Ra))return Ra.byteLength;if(utils$2.isURLSearchParams(Ra)&&(Ra=Ra+""),utils$2.isString(Ra))return(await encodeText(Ra)).byteLength},resolveBodyLength=async(Ra,qa)=>{const nd=utils$2.toFiniteNumber(Ra.getContentLength());return nd??getBodyLength(qa)},fetchAdapter=isFetchSupported&&(async Ra=>{let{url:qa,method:nd,data:od,signal:ld,cancelToken:ud,timeout:dd,onDownloadProgress:pd,onUploadProgress:fd,responseType:md,headers:vd,withCredentials:Ad="same-origin",fetchOptions:Nd}=resolveConfig(Ra);md=md?(md+"").toLowerCase():"text";let Id=composeSignals([ld,ud&&ud.toAbortSignal()],dd),Od;const Md=Id&&Id.unsubscribe&&(()=>{Id.unsubscribe()});let Ud;try{if(fd&&supportsRequestStream&&nd!=="get"&&nd!=="head"&&(Ud=await resolveBodyLength(vd,od))!==0){let qd=new Request(qa,{method:"POST",body:od,duplex:"half"}),zd;if(utils$2.isFormData(od)&&(zd=qd.headers.get("content-type"))&&vd.setContentType(zd),qd.body){const[Xd,gf]=progressEventDecorator(Ud,progressEventReducer(asyncDecorator(fd)));od=trackStream(qd.body,DEFAULT_CHUNK_SIZE$1,Xd,gf)}}utils$2.isString(Ad)||(Ad=Ad?"include":"omit");const jd="credentials"in Request.prototype;Od=new Request(qa,{...Nd,signal:Id,method:nd.toUpperCase(),headers:vd.normalize().toJSON(),body:od,duplex:"half",credentials:jd?Ad:void 0});let Ld=await fetch(Od);const Bd=supportsResponseStream&&(md==="stream"||md==="response");if(supportsResponseStream&&(pd||Bd&&Md)){const qd={};["status","statusText","headers"].forEach(Yd=>{qd[Yd]=Ld[Yd]});const zd=utils$2.toFiniteNumber(Ld.headers.get("content-length")),[Xd,gf]=pd&&progressEventDecorator(zd,progressEventReducer(asyncDecorator(pd),!0))||[];Ld=new Response(trackStream(Ld.body,DEFAULT_CHUNK_SIZE$1,Xd,()=>{gf&&gf(),Md&&Md()}),qd)}md=md||"text";let Gd=await resolvers[utils$2.findKey(resolvers,md)||"text"](Ld,Ra);return!Bd&&Md&&Md(),await new Promise((qd,zd)=>{settle(qd,zd,{data:Gd,headers:AxiosHeaders.from(Ld.headers),status:Ld.status,statusText:Ld.statusText,config:Ra,request:Od})})}catch(jd){throw Md&&Md(),jd&&jd.name==="TypeError"&&/fetch/i.test(jd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Od),{cause:jd.cause||jd}):AxiosError.from(jd,jd&&jd.code,Ra,Od)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$2.forEach(knownAdapters,(Ra,qa)=>{if(Ra){try{Object.defineProperty(Ra,"name",{value:qa})}catch{}Object.defineProperty(Ra,"adapterName",{value:qa})}});const renderReason=Ra=>`- ${Ra}`,isResolvedHandle=Ra=>utils$2.isFunction(Ra)||Ra===null||Ra===!1,adapters={getAdapter:Ra=>{Ra=utils$2.isArray(Ra)?Ra:[Ra];const{length:qa}=Ra;let nd,od;const ld={};for(let ud=0;ud<qa;ud++){nd=Ra[ud];let dd;if(od=nd,!isResolvedHandle(nd)&&(od=knownAdapters[(dd=String(nd)).toLowerCase()],od===void 0))throw new AxiosError(`Unknown adapter '${dd}'`);if(od)break;ld[dd||"#"+ud]=od}if(!od){const ud=Object.entries(ld).map(([pd,fd])=>`adapter ${pd} `+(fd===!1?"is not supported by the environment":"is not available in the build"));let dd=qa?ud.length>1?`since :
|
||
`+ud.map(renderReason).join(`
|
||
`):" "+renderReason(ud[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+dd,"ERR_NOT_SUPPORT")}return od},adapters:knownAdapters};function throwIfCancellationRequested(Ra){if(Ra.cancelToken&&Ra.cancelToken.throwIfRequested(),Ra.signal&&Ra.signal.aborted)throw new CanceledError(null,Ra)}function dispatchRequest(Ra){return throwIfCancellationRequested(Ra),Ra.headers=AxiosHeaders.from(Ra.headers),Ra.data=transformData.call(Ra,Ra.transformRequest),["post","put","patch"].indexOf(Ra.method)!==-1&&Ra.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(Ra.adapter||defaults$1.adapter)(Ra).then(function(od){return throwIfCancellationRequested(Ra),od.data=transformData.call(Ra,Ra.transformResponse,od),od.headers=AxiosHeaders.from(od.headers),od},function(od){return isCancel(od)||(throwIfCancellationRequested(Ra),od&&od.response&&(od.response.data=transformData.call(Ra,Ra.transformResponse,od.response),od.response.headers=AxiosHeaders.from(od.response.headers))),Promise.reject(od)})}const VERSION="1.7.8",validators$1={};["object","boolean","number","function","string","symbol"].forEach((Ra,qa)=>{validators$1[Ra]=function(od){return typeof od===Ra||"a"+(qa<1?"n ":" ")+Ra}});const deprecatedWarnings={};validators$1.transitional=function(qa,nd,od){function ld(ud,dd){return"[Axios v"+VERSION+"] Transitional option '"+ud+"'"+dd+(od?". "+od:"")}return(ud,dd,pd)=>{if(qa===!1)throw new AxiosError(ld(dd," has been removed"+(nd?" in "+nd:"")),AxiosError.ERR_DEPRECATED);return nd&&!deprecatedWarnings[dd]&&(deprecatedWarnings[dd]=!0,console.warn(ld(dd," has been deprecated since v"+nd+" and will be removed in the near future"))),qa?qa(ud,dd,pd):!0}};validators$1.spelling=function(qa){return(nd,od)=>(console.warn(`${od} is likely a misspelling of ${qa}`),!0)};function assertOptions(Ra,qa,nd){if(typeof Ra!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const od=Object.keys(Ra);let ld=od.length;for(;ld-- >0;){const ud=od[ld],dd=qa[ud];if(dd){const pd=Ra[ud],fd=pd===void 0||dd(pd,ud,Ra);if(fd!==!0)throw new AxiosError("option "+ud+" must be "+fd,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(nd!==!0)throw new AxiosError("Unknown option "+ud,AxiosError.ERR_BAD_OPTION)}}const validator$6={assertOptions,validators:validators$1},validators=validator$6.validators;class Axios{constructor(qa){this.defaults=qa,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(qa,nd){try{return await this._request(qa,nd)}catch(od){if(od instanceof Error){let ld={};Error.captureStackTrace?Error.captureStackTrace(ld):ld=new Error;const ud=ld.stack?ld.stack.replace(/^.+\n/,""):"";try{od.stack?ud&&!String(od.stack).endsWith(ud.replace(/^.+\n.+\n/,""))&&(od.stack+=`
|
||
`+ud):od.stack=ud}catch{}}throw od}}_request(qa,nd){typeof qa=="string"?(nd=nd||{},nd.url=qa):nd=qa||{},nd=mergeConfig(this.defaults,nd);const{transitional:od,paramsSerializer:ld,headers:ud}=nd;od!==void 0&&validator$6.assertOptions(od,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ld!=null&&(utils$2.isFunction(ld)?nd.paramsSerializer={serialize:ld}:validator$6.assertOptions(ld,{encode:validators.function,serialize:validators.function},!0)),validator$6.assertOptions(nd,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),nd.method=(nd.method||this.defaults.method||"get").toLowerCase();let dd=ud&&utils$2.merge(ud.common,ud[nd.method]);ud&&utils$2.forEach(["delete","get","head","post","put","patch","common"],Od=>{delete ud[Od]}),nd.headers=AxiosHeaders.concat(dd,ud);const pd=[];let fd=!0;this.interceptors.request.forEach(function(Md){typeof Md.runWhen=="function"&&Md.runWhen(nd)===!1||(fd=fd&&Md.synchronous,pd.unshift(Md.fulfilled,Md.rejected))});const md=[];this.interceptors.response.forEach(function(Md){md.push(Md.fulfilled,Md.rejected)});let vd,Ad=0,Nd;if(!fd){const Od=[dispatchRequest.bind(this),void 0];for(Od.unshift.apply(Od,pd),Od.push.apply(Od,md),Nd=Od.length,vd=Promise.resolve(nd);Ad<Nd;)vd=vd.then(Od[Ad++],Od[Ad++]);return vd}Nd=pd.length;let Id=nd;for(Ad=0;Ad<Nd;){const Od=pd[Ad++],Md=pd[Ad++];try{Id=Od(Id)}catch(Ud){Md.call(this,Ud);break}}try{vd=dispatchRequest.call(this,Id)}catch(Od){return Promise.reject(Od)}for(Ad=0,Nd=md.length;Ad<Nd;)vd=vd.then(md[Ad++],md[Ad++]);return vd}getUri(qa){qa=mergeConfig(this.defaults,qa);const nd=buildFullPath(qa.baseURL,qa.url);return buildURL(nd,qa.params,qa.paramsSerializer)}}utils$2.forEach(["delete","get","head","options"],function(qa){Axios.prototype[qa]=function(nd,od){return this.request(mergeConfig(od||{},{method:qa,url:nd,data:(od||{}).data}))}});utils$2.forEach(["post","put","patch"],function(qa){function nd(od){return function(ud,dd,pd){return this.request(mergeConfig(pd||{},{method:qa,headers:od?{"Content-Type":"multipart/form-data"}:{},url:ud,data:dd}))}}Axios.prototype[qa]=nd(),Axios.prototype[qa+"Form"]=nd(!0)});class CancelToken{constructor(qa){if(typeof qa!="function")throw new TypeError("executor must be a function.");let nd;this.promise=new Promise(function(ud){nd=ud});const od=this;this.promise.then(ld=>{if(!od._listeners)return;let ud=od._listeners.length;for(;ud-- >0;)od._listeners[ud](ld);od._listeners=null}),this.promise.then=ld=>{let ud;const dd=new Promise(pd=>{od.subscribe(pd),ud=pd}).then(ld);return dd.cancel=function(){od.unsubscribe(ud)},dd},qa(function(ud,dd,pd){od.reason||(od.reason=new CanceledError(ud,dd,pd),nd(od.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(qa){if(this.reason){qa(this.reason);return}this._listeners?this._listeners.push(qa):this._listeners=[qa]}unsubscribe(qa){if(!this._listeners)return;const nd=this._listeners.indexOf(qa);nd!==-1&&this._listeners.splice(nd,1)}toAbortSignal(){const qa=new AbortController,nd=od=>{qa.abort(od)};return this.subscribe(nd),qa.signal.unsubscribe=()=>this.unsubscribe(nd),qa.signal}static source(){let qa;return{token:new CancelToken(function(ld){qa=ld}),cancel:qa}}}function spread(Ra){return function(nd){return Ra.apply(null,nd)}}function isAxiosError(Ra){return utils$2.isObject(Ra)&&Ra.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([Ra,qa])=>{HttpStatusCode[qa]=Ra});function createInstance(Ra){const qa=new Axios(Ra),nd=bind$2(Axios.prototype.request,qa);return utils$2.extend(nd,Axios.prototype,qa,{allOwnKeys:!0}),utils$2.extend(nd,qa,null,{allOwnKeys:!0}),nd.create=function(ld){return createInstance(mergeConfig(Ra,ld))},nd}const axios=createInstance(defaults$1);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(qa){return Promise.all(qa)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=Ra=>formDataToJSON(utils$2.isHTMLForm(Ra)?new FormData(Ra):Ra);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const service=axios.create({baseURL:"",timeout:30*1e3});service.interceptors.request.use(Ra=>(/^(?:post|put|delete)$/i.test(`${Ra.method}`)&&Ra.data&&Ra.data.upload&&(Ra.headers["Content-Type"]="multipart/form-data"),Ra),Ra=>{Promise.reject(Ra)});service.interceptors.response.use(Ra=>Ra.data?Ra.data:Promise.reject(Ra),Ra=>Promise.reject(Ra));function utf16to8(Ra){let qa="";const nd=Ra.length;for(let od=0;od<nd;od++){const ld=Ra.charCodeAt(od);ld>=1&&ld<=127?qa+=Ra.charAt(od):ld>2047?(qa+=String.fromCharCode(224|ld>>12&15),qa+=String.fromCharCode(128|ld>>6&63),qa+=String.fromCharCode(128|ld&63)):(qa+=String.fromCharCode(192|ld>>6&31),qa+=String.fromCharCode(128|ld&63))}return qa}function utf8to16(Ra){let qa="",nd=0;const od=Ra.length;for(;nd<od;){const ld=Ra.charCodeAt(nd++);let ud,dd;switch(ld>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:qa+=Ra.charAt(nd-1);break;case 12:case 13:ud=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&31)<<6|ud&63);break;case 14:ud=Ra.charCodeAt(nd++),dd=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&15)<<12|(ud&63)<<6|dd&63);break}}return qa}const base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",base64DecodeChars=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];function base64encode(Ra){let qa="",nd=0;const od=Ra.length;for(;nd<od;){const ld=Ra.charCodeAt(nd++)&255;if(nd===od){qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4),qa+="==";break}const ud=Ra.charCodeAt(nd++);if(nd===od){qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2),qa+="=";break}const dd=Ra.charCodeAt(nd++);qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2|(dd&192)>>6),qa+=base64EncodeChars.charAt(dd&63)}return qa}function base64decode(Ra){let qa,nd,od,ld,ud=0;const dd=Ra.length;let pd="";for(;ud<dd;){do qa=base64DecodeChars[Ra.charCodeAt(ud++)&255];while(ud<dd&&qa===-1);if(qa===-1)break;do nd=base64DecodeChars[Ra.charCodeAt(ud++)&255];while(ud<dd&&nd===-1);if(nd===-1)break;pd+=String.fromCharCode(qa<<2|(nd&48)>>4);do{if(od=Ra.charCodeAt(ud++)&255,od===61)return pd;od=base64DecodeChars[od]}while(ud<dd&&od===-1);if(od===-1)break;pd+=String.fromCharCode((nd&15)<<4|(od&60)>>2);do{if(ld=Ra.charCodeAt(ud++)&255,ld===61)return pd;ld=base64DecodeChars[ld]}while(ud<dd&&ld===-1);if(ld===-1)break;pd+=String.fromCharCode((od&3)<<6|ld)}return pd}function safe64(Ra){return Ra=Ra.replace(/\+/g,"-"),Ra=Ra.replace(/\//g,"_"),Ra}const tokenTools=Object.freeze(Object.defineProperty({__proto__:null,base64decode,base64encode,safe64,utf16to8,utf8to16},Symbol.toStringTag,{value:"Module"})),getHttpHandlerExtensionConfiguration=Ra=>{let qa=Ra.httpHandler;return{setHttpHandler(nd){qa=nd},httpHandler(){return qa},updateHttpClientConfig(nd,od){qa.updateHttpClientConfig(nd,od)},httpHandlerConfigs(){return qa.httpHandlerConfigs()}}},resolveHttpHandlerRuntimeConfig=Ra=>({httpHandler:Ra.httpHandler()});var HttpAuthLocation;(function(Ra){Ra.HEADER="header",Ra.QUERY="query"})(HttpAuthLocation||(HttpAuthLocation={}));var HttpApiKeyAuthLocation;(function(Ra){Ra.HEADER="header",Ra.QUERY="query"})(HttpApiKeyAuthLocation||(HttpApiKeyAuthLocation={}));var EndpointURLScheme;(function(Ra){Ra.HTTP="http",Ra.HTTPS="https"})(EndpointURLScheme||(EndpointURLScheme={}));var AlgorithmId;(function(Ra){Ra.MD5="md5",Ra.CRC32="crc32",Ra.CRC32C="crc32c",Ra.SHA1="sha1",Ra.SHA256="sha256"})(AlgorithmId||(AlgorithmId={}));var FieldPosition;(function(Ra){Ra[Ra.HEADER=0]="HEADER",Ra[Ra.TRAILER=1]="TRAILER"})(FieldPosition||(FieldPosition={}));const SMITHY_CONTEXT_KEY="__smithy_context";var IniSectionType;(function(Ra){Ra.PROFILE="profile",Ra.SSO_SESSION="sso-session",Ra.SERVICES="services"})(IniSectionType||(IniSectionType={}));var RequestHandlerProtocol;(function(Ra){Ra.HTTP_0_9="http/0.9",Ra.HTTP_1_0="http/1.0",Ra.TDS_8_0="tds/8.0"})(RequestHandlerProtocol||(RequestHandlerProtocol={}));class HttpRequest{constructor(qa){this.method=qa.method||"GET",this.hostname=qa.hostname||"localhost",this.port=qa.port,this.query=qa.query||{},this.headers=qa.headers||{},this.body=qa.body,this.protocol=qa.protocol?qa.protocol.slice(-1)!==":"?`${qa.protocol}:`:qa.protocol:"https:",this.path=qa.path?qa.path.charAt(0)!=="/"?`/${qa.path}`:qa.path:"/",this.username=qa.username,this.password=qa.password,this.fragment=qa.fragment}static clone(qa){const nd=new HttpRequest({...qa,headers:{...qa.headers}});return nd.query&&(nd.query=cloneQuery(nd.query)),nd}static isInstance(qa){if(!qa)return!1;const nd=qa;return"method"in nd&&"protocol"in nd&&"hostname"in nd&&"path"in nd&&typeof nd.query=="object"&&typeof nd.headers=="object"}clone(){return HttpRequest.clone(this)}}function cloneQuery(Ra){return Object.keys(Ra).reduce((qa,nd)=>{const od=Ra[nd];return{...qa,[nd]:Array.isArray(od)?[...od]:od}},{})}class HttpResponse{constructor(qa){this.statusCode=qa.statusCode,this.reason=qa.reason,this.headers=qa.headers||{},this.body=qa.body}static isInstance(qa){if(!qa)return!1;const nd=qa;return typeof nd.statusCode=="number"&&typeof nd.headers=="object"}}function addExpectContinueMiddleware(Ra){return qa=>async nd=>{var ld,ud;const{request:od}=nd;return HttpRequest.isInstance(od)&&od.body&&Ra.runtime==="node"&&((ud=(ld=Ra.requestHandler)==null?void 0:ld.constructor)==null?void 0:ud.name)!=="FetchHttpHandler"&&(od.headers={...od.headers,Expect:"100-continue"}),qa({...nd,request:od})}}const addExpectContinueMiddlewareOptions={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},getAddExpectContinuePlugin=Ra=>({applyToStack:qa=>{qa.add(addExpectContinueMiddleware(Ra),addExpectContinueMiddlewareOptions)}}),RequestChecksumCalculation={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},DEFAULT_REQUEST_CHECKSUM_CALCULATION=RequestChecksumCalculation.WHEN_SUPPORTED,DEFAULT_RESPONSE_CHECKSUM_VALIDATION=RequestChecksumCalculation.WHEN_SUPPORTED;var ChecksumAlgorithm;(function(Ra){Ra.MD5="MD5",Ra.CRC32="CRC32",Ra.CRC32C="CRC32C",Ra.SHA1="SHA1",Ra.SHA256="SHA256"})(ChecksumAlgorithm||(ChecksumAlgorithm={}));var ChecksumLocation;(function(Ra){Ra.HEADER="header",Ra.TRAILER="trailer"})(ChecksumLocation||(ChecksumLocation={}));const DEFAULT_CHECKSUM_ALGORITHM=ChecksumAlgorithm.MD5,S3_EXPRESS_DEFAULT_CHECKSUM_ALGORITHM=ChecksumAlgorithm.CRC32;var SelectorType$1;(function(Ra){Ra.ENV="env",Ra.CONFIG="shared config entry"})(SelectorType$1||(SelectorType$1={}));function setCredentialFeature(Ra,qa,nd){return Ra.$source||(Ra.$source={}),Ra.$source[qa]=nd,Ra}function setFeature$1(Ra,qa,nd){Ra.__aws_sdk_context?Ra.__aws_sdk_context.features||(Ra.__aws_sdk_context.features={}):Ra.__aws_sdk_context={features:{}},Ra.__aws_sdk_context.features[qa]=nd}const getDateHeader=Ra=>{var qa,nd;return HttpResponse.isInstance(Ra)?((qa=Ra.headers)==null?void 0:qa.date)??((nd=Ra.headers)==null?void 0:nd.Date):void 0},getSkewCorrectedDate=Ra=>new Date(Date.now()+Ra),isClockSkewed=(Ra,qa)=>Math.abs(getSkewCorrectedDate(qa).getTime()-Ra)>=3e5,getUpdatedSystemClockOffset=(Ra,qa)=>{const nd=Date.parse(Ra);return isClockSkewed(nd,qa)?nd-Date.now():qa},throwSigningPropertyError=(Ra,qa)=>{if(!qa)throw new Error(`Property \`${Ra}\` is not resolved for AWS SDK SigV4Auth`);return qa},validateSigningProperties=async Ra=>{var md,vd,Ad;const qa=throwSigningPropertyError("context",Ra.context),nd=throwSigningPropertyError("config",Ra.config),od=(Ad=(vd=(md=qa.endpointV2)==null?void 0:md.properties)==null?void 0:vd.authSchemes)==null?void 0:Ad[0],ud=await throwSigningPropertyError("signer",nd.signer)(od),dd=Ra==null?void 0:Ra.signingRegion,pd=Ra==null?void 0:Ra.signingRegionSet,fd=Ra==null?void 0:Ra.signingName;return{config:nd,signer:ud,signingRegion:dd,signingRegionSet:pd,signingName:fd}};class AwsSdkSigV4Signer{async sign(qa,nd,od){var Ad;if(!HttpRequest.isInstance(qa))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const ld=await validateSigningProperties(od),{config:ud,signer:dd}=ld;let{signingRegion:pd,signingName:fd}=ld;const md=od.context;if(((Ad=md==null?void 0:md.authSchemes)==null?void 0:Ad.length)??!1){const[Nd,Id]=md.authSchemes;(Nd==null?void 0:Nd.name)==="sigv4a"&&(Id==null?void 0:Id.name)==="sigv4"&&(pd=(Id==null?void 0:Id.signingRegion)??pd,fd=(Id==null?void 0:Id.signingName)??fd)}return await dd.sign(qa,{signingDate:getSkewCorrectedDate(ud.systemClockOffset),signingRegion:pd,signingService:fd})}errorHandler(qa){return nd=>{const od=nd.ServerTime??getDateHeader(nd.$response);if(od){const ld=throwSigningPropertyError("config",qa.config),ud=ld.systemClockOffset;ld.systemClockOffset=getUpdatedSystemClockOffset(od,ld.systemClockOffset),ld.systemClockOffset!==ud&&nd.$metadata&&(nd.$metadata.clockSkewCorrected=!0)}throw nd}}successHandler(qa,nd){const od=getDateHeader(qa);if(od){const ld=throwSigningPropertyError("config",nd.config);ld.systemClockOffset=getUpdatedSystemClockOffset(od,ld.systemClockOffset)}}}class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer{async sign(qa,nd,od){var Nd;if(!HttpRequest.isInstance(qa))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:ld,signer:ud,signingRegion:dd,signingRegionSet:pd,signingName:fd}=await validateSigningProperties(od),vd=(await((Nd=ld.sigv4aSigningRegionSet)==null?void 0:Nd.call(ld))??pd??[dd]).join(",");return await ud.sign(qa,{signingDate:getSkewCorrectedDate(ld.systemClockOffset),signingRegion:vd,signingService:fd})}}const getSmithyContext=Ra=>Ra[SMITHY_CONTEXT_KEY]||(Ra[SMITHY_CONTEXT_KEY]={}),normalizeProvider$1=Ra=>{if(typeof Ra=="function")return Ra;const qa=Promise.resolve(Ra);return()=>qa};function convertHttpAuthSchemesToMap(Ra){const qa=new Map;for(const nd of Ra)qa.set(nd.schemeId,nd);return qa}const httpAuthSchemeMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{var md;const ud=Ra.httpAuthSchemeProvider(await qa.httpAuthSchemeParametersProvider(Ra,od,ld.input)),dd=convertHttpAuthSchemesToMap(Ra.httpAuthSchemes),pd=getSmithyContext(od),fd=[];for(const vd of ud){const Ad=dd.get(vd.schemeId);if(!Ad){fd.push(`HttpAuthScheme \`${vd.schemeId}\` was not enabled for this service.`);continue}const Nd=Ad.identityProvider(await qa.identityProviderConfigProvider(Ra));if(!Nd){fd.push(`HttpAuthScheme \`${vd.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:Id={},signingProperties:Od={}}=((md=vd.propertiesExtractor)==null?void 0:md.call(vd,Ra,od))||{};vd.identityProperties=Object.assign(vd.identityProperties||{},Id),vd.signingProperties=Object.assign(vd.signingProperties||{},Od),pd.selectedHttpAuthScheme={httpAuthOption:vd,identity:await Nd(vd.identityProperties),signer:Ad.signer};break}if(!pd.selectedHttpAuthScheme)throw new Error(fd.join(`
|
||
`));return nd(ld)},httpAuthSchemeEndpointRuleSetMiddlewareOptions={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},getHttpAuthSchemeEndpointRuleSetPlugin=(Ra,{httpAuthSchemeParametersProvider:qa,identityProviderConfigProvider:nd})=>({applyToStack:od=>{od.addRelativeTo(httpAuthSchemeMiddleware(Ra,{httpAuthSchemeParametersProvider:qa,identityProviderConfigProvider:nd}),httpAuthSchemeEndpointRuleSetMiddlewareOptions)}}),deserializerMiddleware=(Ra,qa)=>nd=>async od=>{const{response:ld}=await nd(od);try{const ud=await qa(ld,Ra);return{response:ld,output:ud}}catch(ud){if(Object.defineProperty(ud,"$response",{value:ld}),!("$metadata"in ud)){const dd="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";ud.message+=`
|
||
`+dd,typeof ud.$responseBodyText<"u"&&ud.$response&&(ud.$response.body=ud.$responseBodyText)}throw ud}},serializerMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{var pd;const ud=(pd=od.endpointV2)!=null&&pd.url&&Ra.urlParser?async()=>Ra.urlParser(od.endpointV2.url):Ra.endpoint;if(!ud)throw new Error("No valid endpoint provider available.");const dd=await qa(ld.input,{...Ra,endpoint:ud});return nd({...ld,request:dd})},deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function getSerdePlugin(Ra,qa,nd){return{applyToStack:od=>{od.add(deserializerMiddleware(Ra,nd),deserializerMiddlewareOption),od.add(serializerMiddleware(Ra,qa),serializerMiddlewareOption)}}}serializerMiddlewareOption.name;const defaultErrorHandler$1=Ra=>qa=>{throw qa},defaultSuccessHandler$1=(Ra,qa)=>{},httpSigningMiddleware=Ra=>(qa,nd)=>async od=>{if(!HttpRequest.isInstance(od.request))return qa(od);const ud=getSmithyContext(nd).selectedHttpAuthScheme;if(!ud)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:dd={}},identity:pd,signer:fd}=ud,md=await qa({...od,request:await fd.sign(od.request,pd,dd)}).catch((fd.errorHandler||defaultErrorHandler$1)(dd));return(fd.successHandler||defaultSuccessHandler$1)(md.response,dd),md},httpSigningMiddlewareOptions={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},getHttpSigningPlugin=Ra=>({applyToStack:qa=>{qa.addRelativeTo(httpSigningMiddleware(),httpSigningMiddlewareOptions)}}),normalizeProvider=Ra=>{if(typeof Ra=="function")return Ra;const qa=Promise.resolve(Ra);return()=>qa},alphabetByEncoding={},alphabetByValue=new Array(64);for(let Ra=0,qa=65,nd=90;Ra+qa<=nd;Ra++){const od=String.fromCharCode(Ra+qa);alphabetByEncoding[od]=Ra,alphabetByValue[Ra]=od}for(let Ra=0,qa=97,nd=122;Ra+qa<=nd;Ra++){const od=String.fromCharCode(Ra+qa),ld=Ra+26;alphabetByEncoding[od]=ld,alphabetByValue[ld]=od}for(let Ra=0;Ra<10;Ra++){alphabetByEncoding[Ra.toString(10)]=Ra+52;const qa=Ra.toString(10),nd=Ra+52;alphabetByEncoding[qa]=nd,alphabetByValue[nd]=qa}alphabetByEncoding["+"]=62;alphabetByValue[62]="+";alphabetByEncoding["/"]=63;alphabetByValue[63]="/";const bitsPerLetter=6,bitsPerByte=8,maxLetterValue=63,fromBase64=Ra=>{let qa=Ra.length/4*3;Ra.slice(-2)==="=="?qa-=2:Ra.slice(-1)==="="&&qa--;const nd=new ArrayBuffer(qa),od=new DataView(nd);for(let ld=0;ld<Ra.length;ld+=4){let ud=0,dd=0;for(let md=ld,vd=ld+3;md<=vd;md++)if(Ra[md]!=="="){if(!(Ra[md]in alphabetByEncoding))throw new TypeError(`Invalid character ${Ra[md]} in base64 string.`);ud|=alphabetByEncoding[Ra[md]]<<(vd-md)*bitsPerLetter,dd+=bitsPerLetter}else ud>>=bitsPerLetter;const pd=ld/4*3;ud>>=dd%bitsPerByte;const fd=Math.floor(dd/bitsPerByte);for(let md=0;md<fd;md++){const vd=(fd-md-1)*bitsPerByte;od.setUint8(pd+md,(ud&255<<vd)>>vd)}}return new Uint8Array(nd)},fromUtf8$3=Ra=>new TextEncoder().encode(Ra),toUint8Array=Ra=>typeof Ra=="string"?fromUtf8$3(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra),toUtf8=Ra=>{if(typeof Ra=="string")return Ra;if(typeof Ra!="object"||typeof Ra.byteOffset!="number"||typeof Ra.byteLength!="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(Ra)};function toBase64(Ra){let qa;typeof Ra=="string"?qa=fromUtf8$3(Ra):qa=Ra;const nd=typeof qa=="object"&&typeof qa.length=="number",od=typeof qa=="object"&&typeof qa.byteOffset=="number"&&typeof qa.byteLength=="number";if(!nd&&!od)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let ld="";for(let ud=0;ud<qa.length;ud+=3){let dd=0,pd=0;for(let md=ud,vd=Math.min(ud+3,qa.length);md<vd;md++)dd|=qa[md]<<(vd-md-1)*bitsPerByte,pd+=bitsPerByte;const fd=Math.ceil(pd/bitsPerLetter);dd<<=fd*bitsPerLetter-pd;for(let md=1;md<=fd;md++){const vd=(fd-md)*bitsPerLetter;ld+=alphabetByValue[(dd&maxLetterValue<<vd)>>vd]}ld+="==".slice(0,4-fd)}return ld}function transformToString(Ra,qa="utf-8"){return qa==="base64"?toBase64(Ra):toUtf8(Ra)}function transformFromString(Ra,qa){return qa==="base64"?Uint8ArrayBlobAdapter.mutate(fromBase64(Ra)):Uint8ArrayBlobAdapter.mutate(fromUtf8$3(Ra))}class Uint8ArrayBlobAdapter extends Uint8Array{static fromString(qa,nd="utf-8"){switch(typeof qa){case"string":return transformFromString(qa,nd);default:throw new Error(`Unsupported conversion from ${typeof qa} to Uint8ArrayBlobAdapter.`)}}static mutate(qa){return Object.setPrototypeOf(qa,Uint8ArrayBlobAdapter.prototype),qa}transformToString(qa="utf-8"){return transformToString(this,qa)}}const getAwsChunkedEncodingStream=(Ra,qa)=>{const{base64Encoder:nd,bodyLengthChecker:od,checksumAlgorithmFn:ld,checksumLocationName:ud,streamHasher:dd}=qa,pd=nd!==void 0&&od!==void 0&&ld!==void 0&&ud!==void 0&&dd!==void 0,fd=pd?dd(ld,Ra):void 0,md=Ra.getReader();return new ReadableStream({async pull(vd){const{value:Ad,done:Nd}=await md.read();if(Nd){if(vd.enqueue(`0\r
|
||
`),pd){const Id=nd(await fd);vd.enqueue(`${ud}:${Id}\r
|
||
`),vd.enqueue(`\r
|
||
`)}vd.close()}else vd.enqueue(`${(od(Ad)||0).toString(16)}\r
|
||
${Ad}\r
|
||
`)}})},escapeUri=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,hexEncode),hexEncode=Ra=>`%${Ra.charCodeAt(0).toString(16).toUpperCase()}`;function buildQueryString(Ra){const qa=[];for(let nd of Object.keys(Ra).sort()){const od=Ra[nd];if(nd=escapeUri(nd),Array.isArray(od))for(let ld=0,ud=od.length;ld<ud;ld++)qa.push(`${nd}=${escapeUri(od[ld])}`);else{let ld=nd;(od||typeof od=="string")&&(ld+=`=${escapeUri(od)}`),qa.push(ld)}}return qa.join("&")}function createRequest(Ra,qa){return new Request(Ra,qa)}function requestTimeout(Ra=0){return new Promise((qa,nd)=>{Ra&&setTimeout(()=>{const od=new Error(`Request did not complete within ${Ra} ms`);od.name="TimeoutError",nd(od)},Ra)})}const keepAliveSupport={supported:void 0};class FetchHttpHandler{static create(qa){return typeof(qa==null?void 0:qa.handle)=="function"?qa:new FetchHttpHandler(qa)}constructor(qa){typeof qa=="function"?this.configProvider=qa().then(nd=>nd||{}):(this.config=qa??{},this.configProvider=Promise.resolve(this.config)),keepAliveSupport.supported===void 0&&(keepAliveSupport.supported=typeof Request<"u"&&"keepalive"in createRequest("https://[::1]"))}destroy(){}async handle(qa,{abortSignal:nd}={}){var jd;this.config||(this.config=await this.configProvider);const od=this.config.requestTimeout,ld=this.config.keepAlive===!0,ud=this.config.credentials;if(nd!=null&&nd.aborted){const Ld=new Error("Request aborted");return Ld.name="AbortError",Promise.reject(Ld)}let dd=qa.path;const pd=buildQueryString(qa.query||{});pd&&(dd+=`?${pd}`),qa.fragment&&(dd+=`#${qa.fragment}`);let fd="";if(qa.username!=null||qa.password!=null){const Ld=qa.username??"",Bd=qa.password??"";fd=`${Ld}:${Bd}@`}const{port:md,method:vd}=qa,Ad=`${qa.protocol}//${fd}${qa.hostname}${md?`:${md}`:""}${dd}`,Nd=vd==="GET"||vd==="HEAD"?void 0:qa.body,Id={body:Nd,headers:new Headers(qa.headers),method:vd,credentials:ud};(jd=this.config)!=null&&jd.cache&&(Id.cache=this.config.cache),Nd&&(Id.duplex="half"),typeof AbortController<"u"&&(Id.signal=nd),keepAliveSupport.supported&&(Id.keepalive=ld),typeof this.config.requestInit=="function"&&Object.assign(Id,this.config.requestInit(qa));let Od=()=>{};const Md=createRequest(Ad,Id),Ud=[fetch(Md).then(Ld=>{const Bd=Ld.headers,Gd={};for(const zd of Bd.entries())Gd[zd[0]]=zd[1];return Ld.body!=null?{response:new HttpResponse({headers:Gd,reason:Ld.statusText,statusCode:Ld.status,body:Ld.body})}:Ld.blob().then(zd=>({response:new HttpResponse({headers:Gd,reason:Ld.statusText,statusCode:Ld.status,body:zd})}))}),requestTimeout(od)];return nd&&Ud.push(new Promise((Ld,Bd)=>{const Gd=()=>{const qd=new Error("Request aborted");qd.name="AbortError",Bd(qd)};if(typeof nd.addEventListener=="function"){const qd=nd;qd.addEventListener("abort",Gd,{once:!0}),Od=()=>qd.removeEventListener("abort",Gd)}else nd.onabort=Gd})),Promise.race(Ud).finally(Od)}updateHttpClientConfig(qa,nd){this.config=void 0,this.configProvider=this.configProvider.then(od=>(od[qa]=nd,od))}httpHandlerConfigs(){return this.config??{}}}const streamCollector=async Ra=>{var qa;return typeof Blob=="function"&&Ra instanceof Blob||((qa=Ra.constructor)==null?void 0:qa.name)==="Blob"?new Uint8Array(await Ra.arrayBuffer()):collectStream(Ra)};async function collectStream(Ra){const qa=[],nd=Ra.getReader();let od=!1,ld=0;for(;!od;){const{done:pd,value:fd}=await nd.read();fd&&(qa.push(fd),ld+=fd.length),od=pd}const ud=new Uint8Array(ld);let dd=0;for(const pd of qa)ud.set(pd,dd),dd+=pd.length;return ud}const SHORT_TO_HEX={},HEX_TO_SHORT={};for(let Ra=0;Ra<256;Ra++){let qa=Ra.toString(16).toLowerCase();qa.length===1&&(qa=`0${qa}`),SHORT_TO_HEX[Ra]=qa,HEX_TO_SHORT[qa]=Ra}function fromHex(Ra){if(Ra.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const qa=new Uint8Array(Ra.length/2);for(let nd=0;nd<Ra.length;nd+=2){const od=Ra.slice(nd,nd+2).toLowerCase();if(od in HEX_TO_SHORT)qa[nd/2]=HEX_TO_SHORT[od];else throw new Error(`Cannot decode unrecognized sequence ${od} as hexadecimal`)}return qa}function toHex(Ra){let qa="";for(let nd=0;nd<Ra.byteLength;nd++)qa+=SHORT_TO_HEX[Ra[nd]];return qa}const isReadableStream$2=Ra=>{var qa;return typeof ReadableStream=="function"&&(((qa=Ra==null?void 0:Ra.constructor)==null?void 0:qa.name)===ReadableStream.name||Ra instanceof ReadableStream)},ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED="The stream has already been transformed.",sdkStreamMixin=Ra=>{var ld,ud;if(!isBlobInstance(Ra)&&!isReadableStream$2(Ra)){const dd=((ud=(ld=Ra==null?void 0:Ra.__proto__)==null?void 0:ld.constructor)==null?void 0:ud.name)||Ra;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${dd}`)}let qa=!1;const nd=async()=>{if(qa)throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED);return qa=!0,await streamCollector(Ra)},od=dd=>{if(typeof dd.stream!="function")throw new Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
|
||
If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return dd.stream()};return Object.assign(Ra,{transformToByteArray:nd,transformToString:async dd=>{const pd=await nd();if(dd==="base64")return toBase64(pd);if(dd==="hex")return toHex(pd);if(dd===void 0||dd==="utf8"||dd==="utf-8")return toUtf8(pd);if(typeof TextDecoder=="function")return new TextDecoder(dd).decode(pd);throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(qa)throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED);if(qa=!0,isBlobInstance(Ra))return od(Ra);if(isReadableStream$2(Ra))return Ra;throw new Error(`Cannot transform payload to web stream, got ${Ra}`)}})},isBlobInstance=Ra=>typeof Blob=="function"&&Ra instanceof Blob;async function splitStream(Ra){return typeof Ra.stream=="function"&&(Ra=Ra.stream()),Ra.tee()}async function headStream(Ra,qa){let nd=0;const od=[],ld=Ra.getReader();let ud=!1;for(;!ud;){const{done:fd,value:md}=await ld.read();if(md&&(od.push(md),nd+=(md==null?void 0:md.byteLength)??0),nd>=qa)break;ud=fd}ld.releaseLock();const dd=new Uint8Array(Math.min(qa,nd));let pd=0;for(const fd of od){if(fd.byteLength>dd.byteLength-pd){dd.set(fd.subarray(0,dd.byteLength-pd),pd);break}else dd.set(fd,pd);pd+=fd.length}return dd}const ReadableStreamRef=typeof ReadableStream=="function"?ReadableStream:function(){};class ChecksumStream extends ReadableStreamRef{}const createChecksumStream=({expectedChecksum:Ra,checksum:qa,source:nd,checksumSourceLocation:od,base64Encoder:ld})=>{var fd;if(!isReadableStream$2(nd))throw new Error(`@smithy/util-stream: unsupported source type ${((fd=nd==null?void 0:nd.constructor)==null?void 0:fd.name)??nd} in ChecksumStream.`);const ud=ld??toBase64;if(typeof TransformStream!="function")throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");const dd=new TransformStream({start(){},async transform(md,vd){qa.update(md),vd.enqueue(md)},async flush(md){const vd=await qa.digest(),Ad=ud(vd);if(Ra!==Ad){const Nd=new Error(`Checksum mismatch: expected "${Ra}" but received "${Ad}" in response header "${od}".`);md.error(Nd)}else md.terminate()}});nd.pipeThrough(dd);const pd=dd.readable;return Object.setPrototypeOf(pd,ChecksumStream.prototype),pd},collectBody$1=async(Ra=new Uint8Array,qa)=>{if(Ra instanceof Uint8Array)return Uint8ArrayBlobAdapter.mutate(Ra);if(!Ra)return Uint8ArrayBlobAdapter.mutate(new Uint8Array);const nd=qa.streamCollector(Ra);return Uint8ArrayBlobAdapter.mutate(await nd)};function extendedEncodeURIComponent(Ra){return encodeURIComponent(Ra).replace(/[!'()*]/g,function(qa){return"%"+qa.charCodeAt(0).toString(16).toUpperCase()})}const resolvedPath=(Ra,qa,nd,od,ld,ud)=>{if(qa!=null&&qa[nd]!==void 0){const dd=od();if(dd.length<=0)throw new Error("Empty value provided for input HTTP label: "+nd+".");Ra=Ra.replace(ld,ud?dd.split("/").map(pd=>extendedEncodeURIComponent(pd)).join("/"):extendedEncodeURIComponent(dd))}else throw new Error("No value provided for input HTTP label: "+nd+".");return Ra};function requestBuilder(Ra,qa){return new RequestBuilder(Ra,qa)}class RequestBuilder{constructor(qa,nd){this.input=qa,this.context=nd,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:qa,protocol:nd="https",port:od,path:ld}=await this.context.endpoint();this.path=ld;for(const ud of this.resolvePathStack)ud(this.path);return new HttpRequest({protocol:nd,hostname:this.hostname||qa,port:od,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(qa){return this.hostname=qa,this}bp(qa){return this.resolvePathStack.push(nd=>{this.path=`${nd!=null&&nd.endsWith("/")?nd.slice(0,-1):nd||""}`+qa}),this}p(qa,nd,od,ld){return this.resolvePathStack.push(ud=>{this.path=resolvedPath(ud,this.input,qa,nd,od,ld)}),this}h(qa){return this.headers=qa,this}q(qa){return this.query=qa,this}b(qa){return this.body=qa,this}m(qa){return this.method=qa,this}}function setFeature(Ra,qa,nd){Ra.__smithy_context?Ra.__smithy_context.features||(Ra.__smithy_context.features={}):Ra.__smithy_context={features:{}},Ra.__smithy_context.features[qa]=nd}class DefaultIdentityProviderConfig{constructor(qa){this.authSchemes=new Map;for(const[nd,od]of Object.entries(qa))od!==void 0&&this.authSchemes.set(nd,od)}getIdentityProvider(qa){return this.authSchemes.get(qa)}}const createIsIdentityExpiredFunction=Ra=>qa=>doesIdentityRequireRefresh(qa)&&qa.expiration.getTime()-Date.now()<Ra,EXPIRATION_MS=3e5,isIdentityExpired=createIsIdentityExpiredFunction(EXPIRATION_MS),doesIdentityRequireRefresh=Ra=>Ra.expiration!==void 0,memoizeIdentityProvider=(Ra,qa,nd)=>{if(Ra===void 0)return;const od=typeof Ra!="function"?async()=>Promise.resolve(Ra):Ra;let ld,ud,dd,pd=!1;const fd=async md=>{ud||(ud=od(md));try{ld=await ud,dd=!0,pd=!1}finally{ud=void 0}return ld};return qa===void 0?async md=>((!dd||md!=null&&md.forceRefresh)&&(ld=await fd(md)),ld):async md=>((!dd||md!=null&&md.forceRefresh)&&(ld=await fd(md)),pd?ld:nd(ld)?(qa(ld)&&await fd(md),ld):(pd=!0,ld))},memoize$1=(Ra,qa,nd)=>{let od,ld,ud,dd=!1;const pd=async()=>{ld||(ld=Ra());try{od=await ld,ud=!0,dd=!1}finally{ld=void 0}return od};return async fd=>((!ud||fd!=null&&fd.forceRefresh)&&(od=await pd()),od)},resolveAwsSdkSigV4AConfig=Ra=>(Ra.sigv4aSigningRegionSet=normalizeProvider(Ra.sigv4aSigningRegionSet),Ra),ALGORITHM_QUERY_PARAM="X-Amz-Algorithm",CREDENTIAL_QUERY_PARAM="X-Amz-Credential",AMZ_DATE_QUERY_PARAM="X-Amz-Date",SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders",EXPIRES_QUERY_PARAM="X-Amz-Expires",SIGNATURE_QUERY_PARAM="X-Amz-Signature",TOKEN_QUERY_PARAM="X-Amz-Security-Token",AUTH_HEADER="authorization",AMZ_DATE_HEADER=AMZ_DATE_QUERY_PARAM.toLowerCase(),DATE_HEADER="date",GENERATED_HEADERS=[AUTH_HEADER,AMZ_DATE_HEADER,DATE_HEADER],SIGNATURE_HEADER=SIGNATURE_QUERY_PARAM.toLowerCase(),SHA256_HEADER="x-amz-content-sha256",TOKEN_HEADER=TOKEN_QUERY_PARAM.toLowerCase(),ALWAYS_UNSIGNABLE_HEADERS={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},PROXY_HEADER_PATTERN=/^proxy-/,SEC_HEADER_PATTERN=/^sec-/,ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256",EVENT_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256-PAYLOAD",UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD",MAX_CACHE_SIZE=50,KEY_TYPE_IDENTIFIER="aws4_request",MAX_PRESIGNED_TTL=60*60*24*7,signingKeyCache={},cacheQueue=[],createScope=(Ra,qa,nd)=>`${Ra}/${qa}/${nd}/${KEY_TYPE_IDENTIFIER}`,getSigningKey$1=async(Ra,qa,nd,od,ld)=>{const ud=await hmac$1(Ra,qa.secretAccessKey,qa.accessKeyId),dd=`${nd}:${od}:${ld}:${toHex(ud)}:${qa.sessionToken}`;if(dd in signingKeyCache)return signingKeyCache[dd];for(cacheQueue.push(dd);cacheQueue.length>MAX_CACHE_SIZE;)delete signingKeyCache[cacheQueue.shift()];let pd=`AWS4${qa.secretAccessKey}`;for(const fd of[nd,od,ld,KEY_TYPE_IDENTIFIER])pd=await hmac$1(Ra,pd,fd);return signingKeyCache[dd]=pd},hmac$1=(Ra,qa,nd)=>{const od=new Ra(qa);return od.update(toUint8Array(nd)),od.digest()},getCanonicalHeaders=({headers:Ra},qa,nd)=>{const od={};for(const ld of Object.keys(Ra).sort()){if(Ra[ld]==null)continue;const ud=ld.toLowerCase();(ud in ALWAYS_UNSIGNABLE_HEADERS||qa!=null&&qa.has(ud)||PROXY_HEADER_PATTERN.test(ud)||SEC_HEADER_PATTERN.test(ud))&&(!nd||nd&&!nd.has(ud))||(od[ud]=Ra[ld].trim().replace(/\s+/g," "))}return od},getCanonicalQuery=({query:Ra={}})=>{const qa=[],nd={};for(const od of Object.keys(Ra)){if(od.toLowerCase()===SIGNATURE_HEADER)continue;const ld=escapeUri(od);qa.push(ld);const ud=Ra[od];typeof ud=="string"?nd[ld]=`${ld}=${escapeUri(ud)}`:Array.isArray(ud)&&(nd[ld]=ud.slice(0).reduce((dd,pd)=>dd.concat([`${ld}=${escapeUri(pd)}`]),[]).sort().join("&"))}return qa.sort().map(od=>nd[od]).filter(od=>od).join("&")},isArrayBuffer$1=Ra=>typeof ArrayBuffer=="function"&&Ra instanceof ArrayBuffer||Object.prototype.toString.call(Ra)==="[object ArrayBuffer]",getPayloadHash=async({headers:Ra,body:qa},nd)=>{for(const od of Object.keys(Ra))if(od.toLowerCase()===SHA256_HEADER)return Ra[od];if(qa==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if(typeof qa=="string"||ArrayBuffer.isView(qa)||isArrayBuffer$1(qa)){const od=new nd;return od.update(toUint8Array(qa)),toHex(await od.digest())}return UNSIGNED_PAYLOAD};class HeaderFormatter{format(qa){const nd=[];for(const ud of Object.keys(qa)){const dd=fromUtf8$3(ud);nd.push(Uint8Array.from([dd.byteLength]),dd,this.formatHeaderValue(qa[ud]))}const od=new Uint8Array(nd.reduce((ud,dd)=>ud+dd.byteLength,0));let ld=0;for(const ud of nd)od.set(ud,ld),ld+=ud.byteLength;return od}formatHeaderValue(qa){switch(qa.type){case"boolean":return Uint8Array.from([qa.value?0:1]);case"byte":return Uint8Array.from([2,qa.value]);case"short":const nd=new DataView(new ArrayBuffer(3));return nd.setUint8(0,3),nd.setInt16(1,qa.value,!1),new Uint8Array(nd.buffer);case"integer":const od=new DataView(new ArrayBuffer(5));return od.setUint8(0,4),od.setInt32(1,qa.value,!1),new Uint8Array(od.buffer);case"long":const ld=new Uint8Array(9);return ld[0]=5,ld.set(qa.value.bytes,1),ld;case"binary":const ud=new DataView(new ArrayBuffer(3+qa.value.byteLength));ud.setUint8(0,6),ud.setUint16(1,qa.value.byteLength,!1);const dd=new Uint8Array(ud.buffer);return dd.set(qa.value,3),dd;case"string":const pd=fromUtf8$3(qa.value),fd=new DataView(new ArrayBuffer(3+pd.byteLength));fd.setUint8(0,7),fd.setUint16(1,pd.byteLength,!1);const md=new Uint8Array(fd.buffer);return md.set(pd,3),md;case"timestamp":const vd=new Uint8Array(9);return vd[0]=8,vd.set(Int64$1.fromNumber(qa.value.valueOf()).bytes,1),vd;case"uuid":if(!UUID_PATTERN$1.test(qa.value))throw new Error(`Invalid UUID received: ${qa.value}`);const Ad=new Uint8Array(17);return Ad[0]=9,Ad.set(fromHex(qa.value.replace(/\-/g,"")),1),Ad}}}var HEADER_VALUE_TYPE$1;(function(Ra){Ra[Ra.boolTrue=0]="boolTrue",Ra[Ra.boolFalse=1]="boolFalse",Ra[Ra.byte=2]="byte",Ra[Ra.short=3]="short",Ra[Ra.integer=4]="integer",Ra[Ra.long=5]="long",Ra[Ra.byteArray=6]="byteArray",Ra[Ra.string=7]="string",Ra[Ra.timestamp=8]="timestamp",Ra[Ra.uuid=9]="uuid"})(HEADER_VALUE_TYPE$1||(HEADER_VALUE_TYPE$1={}));const UUID_PATTERN$1=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;let Int64$1=class dC{constructor(qa){if(this.bytes=qa,qa.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(qa){if(qa>9223372036854776e3||qa<-9223372036854776e3)throw new Error(`${qa} is too large (or, if negative, too small) to represent as an Int64`);const nd=new Uint8Array(8);for(let od=7,ld=Math.abs(Math.round(qa));od>-1&&ld>0;od--,ld/=256)nd[od]=ld;return qa<0&&negate$1(nd),new dC(nd)}valueOf(){const qa=this.bytes.slice(0),nd=qa[0]&128;return nd&&negate$1(qa),parseInt(toHex(qa),16)*(nd?-1:1)}toString(){return String(this.valueOf())}};function negate$1(Ra){for(let qa=0;qa<8;qa++)Ra[qa]^=255;for(let qa=7;qa>-1&&(Ra[qa]++,Ra[qa]===0);qa--);}const hasHeader$1=(Ra,qa)=>{Ra=Ra.toLowerCase();for(const nd of Object.keys(qa))if(Ra===nd.toLowerCase())return!0;return!1},moveHeadersToQuery=(Ra,qa={})=>{var ld,ud;const{headers:nd,query:od={}}=HttpRequest.clone(Ra);for(const dd of Object.keys(nd)){const pd=dd.toLowerCase();(pd.slice(0,6)==="x-amz-"&&!((ld=qa.unhoistableHeaders)!=null&&ld.has(pd))||(ud=qa.hoistableHeaders)!=null&&ud.has(pd))&&(od[dd]=nd[dd],delete nd[dd])}return{...Ra,headers:nd,query:od}},prepareRequest=Ra=>{Ra=HttpRequest.clone(Ra);for(const qa of Object.keys(Ra.headers))GENERATED_HEADERS.indexOf(qa.toLowerCase())>-1&&delete Ra.headers[qa];return Ra},iso8601=Ra=>toDate(Ra).toISOString().replace(/\.\d{3}Z$/,"Z"),toDate=Ra=>typeof Ra=="number"?new Date(Ra*1e3):typeof Ra=="string"?Number(Ra)?new Date(Number(Ra)*1e3):new Date(Ra):Ra;class SignatureV4{constructor({applyChecksum:qa,credentials:nd,region:od,service:ld,sha256:ud,uriEscapePath:dd=!0}){this.headerFormatter=new HeaderFormatter,this.service=ld,this.sha256=ud,this.uriEscapePath=dd,this.applyChecksum=typeof qa=="boolean"?qa:!0,this.regionProvider=normalizeProvider$1(od),this.credentialProvider=normalizeProvider$1(nd)}async presign(qa,nd={}){const{signingDate:od=new Date,expiresIn:ld=3600,unsignableHeaders:ud,unhoistableHeaders:dd,signableHeaders:pd,hoistableHeaders:fd,signingRegion:md,signingService:vd}=nd,Ad=await this.credentialProvider();this.validateResolvedCredentials(Ad);const Nd=md??await this.regionProvider(),{longDate:Id,shortDate:Od}=formatDate(od);if(ld>MAX_PRESIGNED_TTL)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const Md=createScope(Od,Nd,vd??this.service),Ud=moveHeadersToQuery(prepareRequest(qa),{unhoistableHeaders:dd,hoistableHeaders:fd});Ad.sessionToken&&(Ud.query[TOKEN_QUERY_PARAM]=Ad.sessionToken),Ud.query[ALGORITHM_QUERY_PARAM]=ALGORITHM_IDENTIFIER,Ud.query[CREDENTIAL_QUERY_PARAM]=`${Ad.accessKeyId}/${Md}`,Ud.query[AMZ_DATE_QUERY_PARAM]=Id,Ud.query[EXPIRES_QUERY_PARAM]=ld.toString(10);const jd=getCanonicalHeaders(Ud,ud,pd);return Ud.query[SIGNED_HEADERS_QUERY_PARAM]=getCanonicalHeaderList(jd),Ud.query[SIGNATURE_QUERY_PARAM]=await this.getSignature(Id,Md,this.getSigningKey(Ad,Nd,Od,vd),this.createCanonicalRequest(Ud,jd,await getPayloadHash(qa,this.sha256))),Ud}async sign(qa,nd){return typeof qa=="string"?this.signString(qa,nd):qa.headers&&qa.payload?this.signEvent(qa,nd):qa.message?this.signMessage(qa,nd):this.signRequest(qa,nd)}async signEvent({headers:qa,payload:nd},{signingDate:od=new Date,priorSignature:ld,signingRegion:ud,signingService:dd}){const pd=ud??await this.regionProvider(),{shortDate:fd,longDate:md}=formatDate(od),vd=createScope(fd,pd,dd??this.service),Ad=await getPayloadHash({headers:{},body:nd},this.sha256),Nd=new this.sha256;Nd.update(qa);const Id=toHex(await Nd.digest()),Od=[EVENT_ALGORITHM_IDENTIFIER,md,vd,ld,Id,Ad].join(`
|
||
`);return this.signString(Od,{signingDate:od,signingRegion:pd,signingService:dd})}async signMessage(qa,{signingDate:nd=new Date,signingRegion:od,signingService:ld}){return this.signEvent({headers:this.headerFormatter.format(qa.message.headers),payload:qa.message.body},{signingDate:nd,signingRegion:od,signingService:ld,priorSignature:qa.priorSignature}).then(dd=>({message:qa.message,signature:dd}))}async signString(qa,{signingDate:nd=new Date,signingRegion:od,signingService:ld}={}){const ud=await this.credentialProvider();this.validateResolvedCredentials(ud);const dd=od??await this.regionProvider(),{shortDate:pd}=formatDate(nd),fd=new this.sha256(await this.getSigningKey(ud,dd,pd,ld));return fd.update(toUint8Array(qa)),toHex(await fd.digest())}async signRequest(qa,{signingDate:nd=new Date,signableHeaders:od,unsignableHeaders:ld,signingRegion:ud,signingService:dd}={}){const pd=await this.credentialProvider();this.validateResolvedCredentials(pd);const fd=ud??await this.regionProvider(),md=prepareRequest(qa),{longDate:vd,shortDate:Ad}=formatDate(nd),Nd=createScope(Ad,fd,dd??this.service);md.headers[AMZ_DATE_HEADER]=vd,pd.sessionToken&&(md.headers[TOKEN_HEADER]=pd.sessionToken);const Id=await getPayloadHash(md,this.sha256);!hasHeader$1(SHA256_HEADER,md.headers)&&this.applyChecksum&&(md.headers[SHA256_HEADER]=Id);const Od=getCanonicalHeaders(md,ld,od),Md=await this.getSignature(vd,Nd,this.getSigningKey(pd,fd,Ad,dd),this.createCanonicalRequest(md,Od,Id));return md.headers[AUTH_HEADER]=`${ALGORITHM_IDENTIFIER} Credential=${pd.accessKeyId}/${Nd}, SignedHeaders=${getCanonicalHeaderList(Od)}, Signature=${Md}`,md}createCanonicalRequest(qa,nd,od){const ld=Object.keys(nd).sort();return`${qa.method}
|
||
${this.getCanonicalPath(qa)}
|
||
${getCanonicalQuery(qa)}
|
||
${ld.map(ud=>`${ud}:${nd[ud]}`).join(`
|
||
`)}
|
||
|
||
${ld.join(";")}
|
||
${od}`}async createStringToSign(qa,nd,od){const ld=new this.sha256;ld.update(toUint8Array(od));const ud=await ld.digest();return`${ALGORITHM_IDENTIFIER}
|
||
${qa}
|
||
${nd}
|
||
${toHex(ud)}`}getCanonicalPath({path:qa}){if(this.uriEscapePath){const nd=[];for(const ud of qa.split("/"))(ud==null?void 0:ud.length)!==0&&ud!=="."&&(ud===".."?nd.pop():nd.push(ud));const od=`${qa!=null&&qa.startsWith("/")?"/":""}${nd.join("/")}${nd.length>0&&(qa!=null&&qa.endsWith("/"))?"/":""}`;return escapeUri(od).replace(/%2F/g,"/")}return qa}async getSignature(qa,nd,od,ld){const ud=await this.createStringToSign(qa,nd,ld),dd=new this.sha256(await od);return dd.update(toUint8Array(ud)),toHex(await dd.digest())}getSigningKey(qa,nd,od,ld){return getSigningKey$1(this.sha256,qa,od,nd,ld||this.service)}validateResolvedCredentials(qa){if(typeof qa!="object"||typeof qa.accessKeyId!="string"||typeof qa.secretAccessKey!="string")throw new Error("Resolved credential object is not valid")}}const formatDate=Ra=>{const qa=iso8601(Ra).replace(/[\-:]/g,"");return{longDate:qa,shortDate:qa.slice(0,8)}},getCanonicalHeaderList=Ra=>Object.keys(Ra).sort().join(";"),resolveAwsSdkSigV4Config=Ra=>{let qa=!1,nd;Ra.credentials&&(qa=!0,nd=memoizeIdentityProvider(Ra.credentials,isIdentityExpired,doesIdentityRequireRefresh)),nd||(Ra.credentialDefaultProvider?nd=normalizeProvider(Ra.credentialDefaultProvider(Object.assign({},Ra,{parentClientConfig:Ra}))):nd=async()=>{throw new Error("`credentials` is missing")});const od=async()=>nd({callerClientConfig:Ra}),{signingEscapePath:ld=!0,systemClockOffset:ud=Ra.systemClockOffset||0,sha256:dd}=Ra;let pd;return Ra.signer?pd=normalizeProvider(Ra.signer):Ra.regionInfoProvider?pd=()=>normalizeProvider(Ra.region)().then(async fd=>[await Ra.regionInfoProvider(fd,{useFipsEndpoint:await Ra.useFipsEndpoint(),useDualstackEndpoint:await Ra.useDualstackEndpoint()})||{},fd]).then(([fd,md])=>{const{signingRegion:vd,signingService:Ad}=fd;Ra.signingRegion=Ra.signingRegion||vd||md,Ra.signingName=Ra.signingName||Ad||Ra.serviceId;const Nd={...Ra,credentials:od,region:Ra.signingRegion,service:Ra.signingName,sha256:dd,uriEscapePath:ld},Id=Ra.signerConstructor||SignatureV4;return new Id(Nd)}):pd=async fd=>{fd=Object.assign({},{name:"sigv4",signingName:Ra.signingName||Ra.defaultSigningName,signingRegion:await normalizeProvider(Ra.region)(),properties:{}},fd);const md=fd.signingRegion,vd=fd.signingName;Ra.signingRegion=Ra.signingRegion||md,Ra.signingName=Ra.signingName||vd||Ra.serviceId;const Ad={...Ra,credentials:od,region:Ra.signingRegion,service:Ra.signingName,sha256:dd,uriEscapePath:ld},Nd=Ra.signerConstructor||SignatureV4;return new Nd(Ad)},{...Ra,systemClockOffset:ud,signingEscapePath:ld,credentials:qa?async()=>od().then(fd=>setCredentialFeature(fd,"CREDENTIALS_CODE","e")):od,signer:pd}},getAllAliases=(Ra,qa)=>{const nd=[];if(Ra&&nd.push(Ra),qa)for(const od of qa)nd.push(od);return nd},getMiddlewareNameWithAliases=(Ra,qa)=>`${Ra||"anonymous"}${qa&&qa.length>0?` (a.k.a. ${qa.join(",")})`:""}`,constructStack=()=>{let Ra=[],qa=[],nd=!1;const od=new Set,ld=Ad=>Ad.sort((Nd,Id)=>stepWeights[Id.step]-stepWeights[Nd.step]||priorityWeights[Id.priority||"normal"]-priorityWeights[Nd.priority||"normal"]),ud=Ad=>{let Nd=!1;const Id=Od=>{const Md=getAllAliases(Od.name,Od.aliases);if(Md.includes(Ad)){Nd=!0;for(const Ud of Md)od.delete(Ud);return!1}return!0};return Ra=Ra.filter(Id),qa=qa.filter(Id),Nd},dd=Ad=>{let Nd=!1;const Id=Od=>{if(Od.middleware===Ad){Nd=!0;for(const Md of getAllAliases(Od.name,Od.aliases))od.delete(Md);return!1}return!0};return Ra=Ra.filter(Id),qa=qa.filter(Id),Nd},pd=Ad=>{var Nd;return Ra.forEach(Id=>{Ad.add(Id.middleware,{...Id})}),qa.forEach(Id=>{Ad.addRelativeTo(Id.middleware,{...Id})}),(Nd=Ad.identifyOnResolve)==null||Nd.call(Ad,vd.identifyOnResolve()),Ad},fd=Ad=>{const Nd=[];return Ad.before.forEach(Id=>{Id.before.length===0&&Id.after.length===0?Nd.push(Id):Nd.push(...fd(Id))}),Nd.push(Ad),Ad.after.reverse().forEach(Id=>{Id.before.length===0&&Id.after.length===0?Nd.push(Id):Nd.push(...fd(Id))}),Nd},md=(Ad=!1)=>{const Nd=[],Id=[],Od={};return Ra.forEach(Ud=>{const jd={...Ud,before:[],after:[]};for(const Ld of getAllAliases(jd.name,jd.aliases))Od[Ld]=jd;Nd.push(jd)}),qa.forEach(Ud=>{const jd={...Ud,before:[],after:[]};for(const Ld of getAllAliases(jd.name,jd.aliases))Od[Ld]=jd;Id.push(jd)}),Id.forEach(Ud=>{if(Ud.toMiddleware){const jd=Od[Ud.toMiddleware];if(jd===void 0){if(Ad)return;throw new Error(`${Ud.toMiddleware} is not found when adding ${getMiddlewareNameWithAliases(Ud.name,Ud.aliases)} middleware ${Ud.relation} ${Ud.toMiddleware}`)}Ud.relation==="after"&&jd.after.push(Ud),Ud.relation==="before"&&jd.before.push(Ud)}}),ld(Nd).map(fd).reduce((Ud,jd)=>(Ud.push(...jd),Ud),[])},vd={add:(Ad,Nd={})=>{const{name:Id,override:Od,aliases:Md}=Nd,Ud={step:"initialize",priority:"normal",middleware:Ad,...Nd},jd=getAllAliases(Id,Md);if(jd.length>0){if(jd.some(Ld=>od.has(Ld))){if(!Od)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(Id,Md)}'`);for(const Ld of jd){const Bd=Ra.findIndex(qd=>{var zd;return qd.name===Ld||((zd=qd.aliases)==null?void 0:zd.some(Xd=>Xd===Ld))});if(Bd===-1)continue;const Gd=Ra[Bd];if(Gd.step!==Ud.step||Ud.priority!==Gd.priority)throw new Error(`"${getMiddlewareNameWithAliases(Gd.name,Gd.aliases)}" middleware with ${Gd.priority} priority in ${Gd.step} step cannot be overridden by "${getMiddlewareNameWithAliases(Id,Md)}" middleware with ${Ud.priority} priority in ${Ud.step} step.`);Ra.splice(Bd,1)}}for(const Ld of jd)od.add(Ld)}Ra.push(Ud)},addRelativeTo:(Ad,Nd)=>{const{name:Id,override:Od,aliases:Md}=Nd,Ud={middleware:Ad,...Nd},jd=getAllAliases(Id,Md);if(jd.length>0){if(jd.some(Ld=>od.has(Ld))){if(!Od)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(Id,Md)}'`);for(const Ld of jd){const Bd=qa.findIndex(qd=>{var zd;return qd.name===Ld||((zd=qd.aliases)==null?void 0:zd.some(Xd=>Xd===Ld))});if(Bd===-1)continue;const Gd=qa[Bd];if(Gd.toMiddleware!==Ud.toMiddleware||Gd.relation!==Ud.relation)throw new Error(`"${getMiddlewareNameWithAliases(Gd.name,Gd.aliases)}" middleware ${Gd.relation} "${Gd.toMiddleware}" middleware cannot be overridden by "${getMiddlewareNameWithAliases(Id,Md)}" middleware ${Ud.relation} "${Ud.toMiddleware}" middleware.`);qa.splice(Bd,1)}}for(const Ld of jd)od.add(Ld)}qa.push(Ud)},clone:()=>pd(constructStack()),use:Ad=>{Ad.applyToStack(vd)},remove:Ad=>typeof Ad=="string"?ud(Ad):dd(Ad),removeByTag:Ad=>{let Nd=!1;const Id=Od=>{const{tags:Md,name:Ud,aliases:jd}=Od;if(Md&&Md.includes(Ad)){const Ld=getAllAliases(Ud,jd);for(const Bd of Ld)od.delete(Bd);return Nd=!0,!1}return!0};return Ra=Ra.filter(Id),qa=qa.filter(Id),Nd},concat:Ad=>{var Id;const Nd=pd(constructStack());return Nd.use(Ad),Nd.identifyOnResolve(nd||Nd.identifyOnResolve()||(((Id=Ad.identifyOnResolve)==null?void 0:Id.call(Ad))??!1)),Nd},applyToStack:pd,identify:()=>md(!0).map(Ad=>{const Nd=Ad.step??Ad.relation+" "+Ad.toMiddleware;return getMiddlewareNameWithAliases(Ad.name,Ad.aliases)+" - "+Nd}),identifyOnResolve(Ad){return typeof Ad=="boolean"&&(nd=Ad),nd},resolve:(Ad,Nd)=>{for(const Id of md().map(Od=>Od.middleware).reverse())Ad=Id(Ad,Nd);return nd&&console.log(vd.identify()),Ad}};return vd},stepWeights={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},priorityWeights={high:3,normal:2,low:1};let Client$1=class{constructor(qa){this.config=qa,this.middlewareStack=constructStack()}send(qa,nd,od){const ld=typeof nd!="function"?nd:void 0,ud=typeof nd=="function"?nd:od,dd=ld===void 0&&this.config.cacheMiddleware===!0;let pd;if(dd){this.handlers||(this.handlers=new WeakMap);const fd=this.handlers;fd.has(qa.constructor)?pd=fd.get(qa.constructor):(pd=qa.resolveMiddleware(this.middlewareStack,this.config,ld),fd.set(qa.constructor,pd))}else delete this.handlers,pd=qa.resolveMiddleware(this.middlewareStack,this.config,ld);if(ud)pd(qa).then(fd=>ud(null,fd.output),fd=>ud(fd)).catch(()=>{});else return pd(qa).then(fd=>fd.output)}destroy(){var qa,nd,od;(od=(nd=(qa=this.config)==null?void 0:qa.requestHandler)==null?void 0:nd.destroy)==null||od.call(nd),delete this.handlers}};class Command{constructor(){this.middlewareStack=constructStack()}static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(qa,nd,od,{middlewareFn:ld,clientName:ud,commandName:dd,inputFilterSensitiveLog:pd,outputFilterSensitiveLog:fd,smithyContext:md,additionalContext:vd,CommandCtor:Ad}){for(const Ud of ld.bind(this)(Ad,qa,nd,od))this.middlewareStack.use(Ud);const Nd=qa.concat(this.middlewareStack),{logger:Id}=nd,Od={logger:Id,clientName:ud,commandName:dd,inputFilterSensitiveLog:pd,outputFilterSensitiveLog:fd,[SMITHY_CONTEXT_KEY]:{commandInstance:this,...md},...vd},{requestHandler:Md}=nd;return Nd.resolve(Ud=>Md.handle(Ud.request,od||{}),Od)}}class ClassBuilder{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=qa=>qa,this._outputFilterSensitiveLog=qa=>qa,this._serializer=null,this._deserializer=null}init(qa){this._init=qa}ep(qa){return this._ep=qa,this}m(qa){return this._middlewareFn=qa,this}s(qa,nd,od={}){return this._smithyContext={service:qa,operation:nd,...od},this}c(qa={}){return this._additionalContext=qa,this}n(qa,nd){return this._clientName=qa,this._commandName=nd,this}f(qa=od=>od,nd=od=>od){return this._inputFilterSensitiveLog=qa,this._outputFilterSensitiveLog=nd,this}ser(qa){return this._serializer=qa,this}de(qa){return this._deserializer=qa,this}build(){const qa=this;let nd;return nd=class extends Command{static getEndpointParameterInstructions(){return qa._ep}constructor(...[od]){super(),this.serialize=qa._serializer,this.deserialize=qa._deserializer,this.input=od??{},qa._init(this)}resolveMiddleware(od,ld,ud){return this.resolveMiddlewareWithContext(od,ld,ud,{CommandCtor:nd,middlewareFn:qa._middlewareFn,clientName:qa._clientName,commandName:qa._commandName,inputFilterSensitiveLog:qa._inputFilterSensitiveLog,outputFilterSensitiveLog:qa._outputFilterSensitiveLog,smithyContext:qa._smithyContext,additionalContext:qa._additionalContext})}}}}const SENSITIVE_STRING="***SensitiveInformation***",parseBoolean=Ra=>{switch(Ra){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${Ra}"`)}},expectNumber=Ra=>{if(Ra!=null){if(typeof Ra=="string"){const qa=parseFloat(Ra);if(!Number.isNaN(qa))return String(qa)!==String(Ra)&&logger.warn(stackTraceWarning(`Expected number but observed string: ${Ra}`)),qa}if(typeof Ra=="number")return Ra;throw new TypeError(`Expected number, got ${typeof Ra}: ${Ra}`)}},MAX_FLOAT=Math.ceil(2**127*(2-2**-23)),expectFloat32=Ra=>{const qa=expectNumber(Ra);if(qa!==void 0&&!Number.isNaN(qa)&&qa!==1/0&&qa!==-1/0&&Math.abs(qa)>MAX_FLOAT)throw new TypeError(`Expected 32-bit float, got ${Ra}`);return qa},expectLong=Ra=>{if(Ra!=null){if(Number.isInteger(Ra)&&!Number.isNaN(Ra))return Ra;throw new TypeError(`Expected integer, got ${typeof Ra}: ${Ra}`)}},expectShort=Ra=>expectSizedInt(Ra,16),expectByte=Ra=>expectSizedInt(Ra,8),expectSizedInt=(Ra,qa)=>{const nd=expectLong(Ra);if(nd!==void 0&&castInt(nd,qa)!==nd)throw new TypeError(`Expected ${qa}-bit integer, got ${Ra}`);return nd},castInt=(Ra,qa)=>{switch(qa){case 32:return Int32Array.of(Ra)[0];case 16:return Int16Array.of(Ra)[0];case 8:return Int8Array.of(Ra)[0]}},expectNonNull=(Ra,qa)=>{if(Ra==null)throw qa?new TypeError(`Expected a non-null value for ${qa}`):new TypeError("Expected a non-null value");return Ra},expectObject=Ra=>{if(Ra==null)return;if(typeof Ra=="object"&&!Array.isArray(Ra))return Ra;const qa=Array.isArray(Ra)?"array":typeof Ra;throw new TypeError(`Expected object, got ${qa}: ${Ra}`)},expectString=Ra=>{if(Ra!=null){if(typeof Ra=="string")return Ra;if(["boolean","number","bigint"].includes(typeof Ra))return logger.warn(stackTraceWarning(`Expected string, got ${typeof Ra}: ${Ra}`)),String(Ra);throw new TypeError(`Expected string, got ${typeof Ra}: ${Ra}`)}},strictParseFloat32=Ra=>expectFloat32(typeof Ra=="string"?parseNumber(Ra):Ra),NUMBER_REGEX=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,parseNumber=Ra=>{const qa=Ra.match(NUMBER_REGEX);if(qa===null||qa[0].length!==Ra.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(Ra)},strictParseLong=Ra=>expectLong(typeof Ra=="string"?parseNumber(Ra):Ra),strictParseShort=Ra=>expectShort(typeof Ra=="string"?parseNumber(Ra):Ra),strictParseByte=Ra=>expectByte(typeof Ra=="string"?parseNumber(Ra):Ra),stackTraceWarning=Ra=>String(new TypeError(Ra).stack||Ra).split(`
|
||
`).slice(0,5).filter(qa=>!qa.includes("stackTraceWarning")).join(`
|
||
`),logger={warn:console.warn},DAYS=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(Ra){const qa=Ra.getUTCFullYear(),nd=Ra.getUTCMonth(),od=Ra.getUTCDay(),ld=Ra.getUTCDate(),ud=Ra.getUTCHours(),dd=Ra.getUTCMinutes(),pd=Ra.getUTCSeconds(),fd=ld<10?`0${ld}`:`${ld}`,md=ud<10?`0${ud}`:`${ud}`,vd=dd<10?`0${dd}`:`${dd}`,Ad=pd<10?`0${pd}`:`${pd}`;return`${DAYS[od]}, ${fd} ${MONTHS[nd]} ${qa} ${md}:${vd}:${Ad} GMT`}const RFC3339_WITH_OFFSET=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),parseRfc3339DateTimeWithOffset=Ra=>{if(Ra==null)return;if(typeof Ra!="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const qa=RFC3339_WITH_OFFSET.exec(Ra);if(!qa)throw new TypeError("Invalid RFC-3339 date-time value");const[nd,od,ld,ud,dd,pd,fd,md,vd]=qa,Ad=strictParseShort(stripLeadingZeroes(od)),Nd=parseDateValue(ld,"month",1,12),Id=parseDateValue(ud,"day",1,31),Od=buildDate(Ad,Nd,Id,{hours:dd,minutes:pd,seconds:fd,fractionalMilliseconds:md});return vd.toUpperCase()!="Z"&&Od.setTime(Od.getTime()-parseOffsetToMilliseconds(vd)),Od},buildDate=(Ra,qa,nd,od)=>{const ld=qa-1;return validateDayOfMonth(Ra,ld,nd),new Date(Date.UTC(Ra,ld,nd,parseDateValue(od.hours,"hour",0,23),parseDateValue(od.minutes,"minute",0,59),parseDateValue(od.seconds,"seconds",0,60),parseMilliseconds(od.fractionalMilliseconds)))},DAYS_IN_MONTH=[31,28,31,30,31,30,31,31,30,31,30,31],validateDayOfMonth=(Ra,qa,nd)=>{let od=DAYS_IN_MONTH[qa];if(qa===1&&isLeapYear(Ra)&&(od=29),nd>od)throw new TypeError(`Invalid day for ${MONTHS[qa]} in ${Ra}: ${nd}`)},isLeapYear=Ra=>Ra%4===0&&(Ra%100!==0||Ra%400===0),parseDateValue=(Ra,qa,nd,od)=>{const ld=strictParseByte(stripLeadingZeroes(Ra));if(ld<nd||ld>od)throw new TypeError(`${qa} must be between ${nd} and ${od}, inclusive`);return ld},parseMilliseconds=Ra=>Ra==null?0:strictParseFloat32("0."+Ra)*1e3,parseOffsetToMilliseconds=Ra=>{const qa=Ra[0];let nd=1;if(qa=="+")nd=1;else if(qa=="-")nd=-1;else throw new TypeError(`Offset direction, ${qa}, must be "+" or "-"`);const od=Number(Ra.substring(1,3)),ld=Number(Ra.substring(4,6));return nd*(od*60+ld)*60*1e3},stripLeadingZeroes=Ra=>{let qa=0;for(;qa<Ra.length-1&&Ra.charAt(qa)==="0";)qa++;return qa===0?Ra:Ra.slice(qa)};class ServiceException extends Error{constructor(qa){super(qa.message),Object.setPrototypeOf(this,ServiceException.prototype),this.name=qa.name,this.$fault=qa.$fault,this.$metadata=qa.$metadata}}const decorateServiceException=(Ra,qa={})=>{Object.entries(qa).filter(([,od])=>od!==void 0).forEach(([od,ld])=>{(Ra[od]==null||Ra[od]==="")&&(Ra[od]=ld)});const nd=Ra.message||Ra.Message||"UnknownError";return Ra.message=nd,delete Ra.Message,Ra},throwDefaultError$1=({output:Ra,parsedBody:qa,exceptionCtor:nd,errorCode:od})=>{const ld=deserializeMetadata$1(Ra),ud=ld.httpStatusCode?ld.httpStatusCode+"":void 0,dd=new nd({name:(qa==null?void 0:qa.code)||(qa==null?void 0:qa.Code)||od||ud||"UnknownError",$fault:"client",$metadata:ld});throw decorateServiceException(dd,qa)},withBaseException=Ra=>({output:qa,parsedBody:nd,errorCode:od})=>{throwDefaultError$1({output:qa,parsedBody:nd,exceptionCtor:Ra,errorCode:od})},deserializeMetadata$1=Ra=>({httpStatusCode:Ra.statusCode,requestId:Ra.headers["x-amzn-requestid"]??Ra.headers["x-amzn-request-id"]??Ra.headers["x-amz-request-id"],extendedRequestId:Ra.headers["x-amz-id-2"],cfId:Ra.headers["x-amz-cf-id"]}),loadConfigsForDefaultMode=Ra=>{switch(Ra){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},getChecksumConfiguration=Ra=>{const qa=[];for(const nd in AlgorithmId){const od=AlgorithmId[nd];Ra[od]!==void 0&&qa.push({algorithmId:()=>od,checksumConstructor:()=>Ra[od]})}return{_checksumAlgorithms:qa,addChecksumAlgorithm(nd){this._checksumAlgorithms.push(nd)},checksumAlgorithms(){return this._checksumAlgorithms}}},resolveChecksumRuntimeConfig=Ra=>{const qa={};return Ra.checksumAlgorithms().forEach(nd=>{qa[nd.algorithmId()]=nd.checksumConstructor()}),qa},getRetryConfiguration=Ra=>{let qa=Ra.retryStrategy;return{setRetryStrategy(nd){qa=nd},retryStrategy(){return qa}}},resolveRetryRuntimeConfig=Ra=>{const qa={};return qa.retryStrategy=Ra.retryStrategy(),qa},getDefaultExtensionConfiguration=Ra=>({...getChecksumConfiguration(Ra),...getRetryConfiguration(Ra)}),resolveDefaultRuntimeConfig=Ra=>({...resolveChecksumRuntimeConfig(Ra),...resolveRetryRuntimeConfig(Ra)}),getValueFromTextNode=Ra=>{const qa="#text";for(const nd in Ra)Ra.hasOwnProperty(nd)&&Ra[nd][qa]!==void 0?Ra[nd]=Ra[nd][qa]:typeof Ra[nd]=="object"&&Ra[nd]!==null&&(Ra[nd]=getValueFromTextNode(Ra[nd]));return Ra},isSerializableHeaderValue=Ra=>Ra!=null;class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}function map$2(Ra,qa,nd){let od,ld,ud;if(typeof qa>"u"&&typeof nd>"u")od={},ud=Ra;else{if(od=Ra,typeof qa=="function")return ld=qa,ud=nd,mapWithFilter(od,ld,ud);ud=qa}for(const dd of Object.keys(ud)){if(!Array.isArray(ud[dd])){od[dd]=ud[dd];continue}applyInstruction(od,null,ud,dd)}return od}const mapWithFilter=(Ra,qa,nd)=>map$2(Ra,Object.entries(nd).reduce((od,[ld,ud])=>(Array.isArray(ud)?od[ld]=ud:typeof ud=="function"?od[ld]=[qa,ud()]:od[ld]=[qa,ud],od),{})),applyInstruction=(Ra,qa,nd,od)=>{let[ld,ud]=nd[od];if(typeof ud=="function"){let dd;const pd=ld===void 0&&(dd=ud())!=null,fd=typeof ld=="function"&&!!ld(void 0)||typeof ld!="function"&&!!ld;pd?Ra[od]=dd:fd&&(Ra[od]=ud())}else{const dd=ld===void 0&&ud!=null,pd=typeof ld=="function"&&!!ld(ud)||typeof ld!="function"&&!!ld;(dd||pd)&&(Ra[od]=ud)}},serializeDateTime=Ra=>Ra.toISOString().replace(".000Z","Z"),collectBodyString=(Ra,qa)=>collectBody$1(Ra,qa).then(nd=>qa.utf8Encoder(nd));var validator$5={},util$9={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(pd,fd){const md=[];let vd=fd.exec(pd);for(;vd;){const Ad=[];Ad.startIndex=fd.lastIndex-vd[0].length;const Nd=vd.length;for(let Id=0;Id<Nd;Id++)Ad.push(vd[Id]);md.push(Ad),vd=fd.exec(pd)}return md},dd=function(pd){const fd=ld.exec(pd);return!(fd===null||typeof fd>"u")};Ra.isExist=function(pd){return typeof pd<"u"},Ra.isEmptyObject=function(pd){return Object.keys(pd).length===0},Ra.merge=function(pd,fd,md){if(fd){const vd=Object.keys(fd),Ad=vd.length;for(let Nd=0;Nd<Ad;Nd++)md==="strict"?pd[vd[Nd]]=[fd[vd[Nd]]]:pd[vd[Nd]]=fd[vd[Nd]]}},Ra.getValue=function(pd){return Ra.isExist(pd)?pd:""},Ra.isName=dd,Ra.getAllMatches=ud,Ra.nameRegexp=od})(util$9);const util$8=util$9,defaultOptions$5={allowBooleanAttributes:!1,unpairedTags:[]};validator$5.validate=function(Ra,qa){qa=Object.assign({},defaultOptions$5,qa);const nd=[];let od=!1,ld=!1;Ra[0]==="\uFEFF"&&(Ra=Ra.substr(1));for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<"&&Ra[ud+1]==="?"){if(ud+=2,ud=readPI$1(Ra,ud),ud.err)return ud}else if(Ra[ud]==="<"){let dd=ud;if(ud++,Ra[ud]==="!"){ud=readCommentAndCDATA$1(Ra,ud);continue}else{let pd=!1;Ra[ud]==="/"&&(pd=!0,ud++);let fd="";for(;ud<Ra.length&&Ra[ud]!==">"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==`
|
||
`&&Ra[ud]!=="\r";ud++)fd+=Ra[ud];if(fd=fd.trim(),fd[fd.length-1]==="/"&&(fd=fd.substring(0,fd.length-1),ud--),!validateTagName$1(fd)){let Ad;return fd.trim().length===0?Ad="Invalid space after '<'.":Ad="Tag '"+fd+"' is an invalid name.",getErrorObject$1("InvalidTag",Ad,getLineNumberForPosition$1(Ra,ud))}const md=readAttributeStr$1(Ra,ud);if(md===!1)return getErrorObject$1("InvalidAttr","Attributes for '"+fd+"' have open quote.",getLineNumberForPosition$1(Ra,ud));let vd=md.value;if(ud=md.index,vd[vd.length-1]==="/"){const Ad=ud-vd.length;vd=vd.substring(0,vd.length-1);const Nd=validateAttributeString$1(vd,qa);if(Nd===!0)od=!0;else return getErrorObject$1(Nd.err.code,Nd.err.msg,getLineNumberForPosition$1(Ra,Ad+Nd.err.line))}else if(pd)if(md.tagClosed){if(vd.trim().length>0)return getErrorObject$1("InvalidTag","Closing tag '"+fd+"' can't have attributes or invalid starting.",getLineNumberForPosition$1(Ra,dd));if(nd.length===0)return getErrorObject$1("InvalidTag","Closing tag '"+fd+"' has not been opened.",getLineNumberForPosition$1(Ra,dd));{const Ad=nd.pop();if(fd!==Ad.tagName){let Nd=getLineNumberForPosition$1(Ra,Ad.tagStartPos);return getErrorObject$1("InvalidTag","Expected closing tag '"+Ad.tagName+"' (opened in line "+Nd.line+", col "+Nd.col+") instead of closing tag '"+fd+"'.",getLineNumberForPosition$1(Ra,dd))}nd.length==0&&(ld=!0)}}else return getErrorObject$1("InvalidTag","Closing tag '"+fd+"' doesn't have proper closing.",getLineNumberForPosition$1(Ra,ud));else{const Ad=validateAttributeString$1(vd,qa);if(Ad!==!0)return getErrorObject$1(Ad.err.code,Ad.err.msg,getLineNumberForPosition$1(Ra,ud-vd.length+Ad.err.line));if(ld===!0)return getErrorObject$1("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition$1(Ra,ud));qa.unpairedTags.indexOf(fd)!==-1||nd.push({tagName:fd,tagStartPos:dd}),od=!0}for(ud++;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="!"){ud++,ud=readCommentAndCDATA$1(Ra,ud);continue}else if(Ra[ud+1]==="?"){if(ud=readPI$1(Ra,++ud),ud.err)return ud}else break;else if(Ra[ud]==="&"){const Ad=validateAmpersand$1(Ra,ud);if(Ad==-1)return getErrorObject$1("InvalidChar","char '&' is not expected.",getLineNumberForPosition$1(Ra,ud));ud=Ad}else if(ld===!0&&!isWhiteSpace$1(Ra[ud]))return getErrorObject$1("InvalidXml","Extra text at the end",getLineNumberForPosition$1(Ra,ud));Ra[ud]==="<"&&ud--}}else{if(isWhiteSpace$1(Ra[ud]))continue;return getErrorObject$1("InvalidChar","char '"+Ra[ud]+"' is not expected.",getLineNumberForPosition$1(Ra,ud))}if(od){if(nd.length==1)return getErrorObject$1("InvalidTag","Unclosed tag '"+nd[0].tagName+"'.",getLineNumberForPosition$1(Ra,nd[0].tagStartPos));if(nd.length>0)return getErrorObject$1("InvalidXml","Invalid '"+JSON.stringify(nd.map(ud=>ud.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject$1("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace$1(Ra){return Ra===" "||Ra===" "||Ra===`
|
||
`||Ra==="\r"}function readPI$1(Ra,qa){const nd=qa;for(;qa<Ra.length;qa++)if(Ra[qa]=="?"||Ra[qa]==" "){const od=Ra.substr(nd,qa-nd);if(qa>5&&od==="xml")return getErrorObject$1("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition$1(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA$1(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa<Ra.length;qa++)if(Ra[qa]==="-"&&Ra[qa+1]==="-"&&Ra[qa+2]===">"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let nd=1;for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="<")nd++;else if(Ra[qa]===">"&&(nd--,nd===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="]"&&Ra[qa+1]==="]"&&Ra[qa+2]===">"){qa+=2;break}}return qa}const doubleQuote$1='"',singleQuote$1="'";function readAttributeStr$1(Ra,qa){let nd="",od="",ld=!1;for(;qa<Ra.length;qa++){if(Ra[qa]===doubleQuote$1||Ra[qa]===singleQuote$1)od===""?od=Ra[qa]:od!==Ra[qa]||(od="");else if(Ra[qa]===">"&&od===""){ld=!0;break}nd+=Ra[qa]}return od!==""?!1:{value:nd,index:qa,tagClosed:ld}}const validAttrStrRegxp$1=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString$1(Ra,qa){const nd=util$8.getAllMatches(Ra,validAttrStrRegxp$1),od={};for(let ld=0;ld<nd.length;ld++){if(nd[ld][1].length===0)return getErrorObject$1("InvalidAttr","Attribute '"+nd[ld][2]+"' has no space in starting.",getPositionFromMatch$1(nd[ld]));if(nd[ld][3]!==void 0&&nd[ld][4]===void 0)return getErrorObject$1("InvalidAttr","Attribute '"+nd[ld][2]+"' is without value.",getPositionFromMatch$1(nd[ld]));if(nd[ld][3]===void 0&&!qa.allowBooleanAttributes)return getErrorObject$1("InvalidAttr","boolean attribute '"+nd[ld][2]+"' is not allowed.",getPositionFromMatch$1(nd[ld]));const ud=nd[ld][2];if(!validateAttrName$1(ud))return getErrorObject$1("InvalidAttr","Attribute '"+ud+"' is an invalid name.",getPositionFromMatch$1(nd[ld]));if(!od.hasOwnProperty(ud))od[ud]=1;else return getErrorObject$1("InvalidAttr","Attribute '"+ud+"' is repeated.",getPositionFromMatch$1(nd[ld]))}return!0}function validateNumberAmpersand$1(Ra,qa){let nd=/\d/;for(Ra[qa]==="x"&&(qa++,nd=/[\da-fA-F]/);qa<Ra.length;qa++){if(Ra[qa]===";")return qa;if(!Ra[qa].match(nd))break}return-1}function validateAmpersand$1(Ra,qa){if(qa++,Ra[qa]===";")return-1;if(Ra[qa]==="#")return qa++,validateNumberAmpersand$1(Ra,qa);let nd=0;for(;qa<Ra.length;qa++,nd++)if(!(Ra[qa].match(/\w/)&&nd<20)){if(Ra[qa]===";")break;return-1}return qa}function getErrorObject$1(Ra,qa,nd){return{err:{code:Ra,msg:qa,line:nd.line||nd,col:nd.col}}}function validateAttrName$1(Ra){return util$8.isName(Ra)}function validateTagName$1(Ra){return util$8.isName(Ra)}function getLineNumberForPosition$1(Ra,qa){const nd=Ra.substring(0,qa).split(/\r?\n/);return{line:nd.length,col:nd[nd.length-1].length+1}}function getPositionFromMatch$1(Ra){return Ra.startIndex+Ra[1].length}var OptionsBuilder$1={};const defaultOptions$4={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,nd){return Ra}},buildOptions$3=function(Ra){return Object.assign({},defaultOptions$4,Ra)};OptionsBuilder$1.buildOptions=buildOptions$3;OptionsBuilder$1.defaultOptions=defaultOptions$4;let XmlNode$1=class{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,nd){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:nd})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}};var xmlNode$3=XmlNode$1;const util$7=util$9;function readDocType$3(Ra,qa){const nd={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let od=1,ld=!1,ud=!1,dd="";for(;qa<Ra.length;qa++)if(Ra[qa]==="<"&&!ud){if(ld&&isEntity$1(Ra,qa))qa+=7,[entityName,val,qa]=readEntityExp$1(Ra,qa+1),val.indexOf("&")===-1&&(nd[validateEntityName$1(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(ld&&isElement$1(Ra,qa))qa+=8;else if(ld&&isAttlist$1(Ra,qa))qa+=8;else if(ld&&isNotation$1(Ra,qa))qa+=9;else if(isComment$1)ud=!0;else throw new Error("Invalid DOCTYPE");od++,dd=""}else if(Ra[qa]===">"){if(ud?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ud=!1,od--):od--,od===0)break}else Ra[qa]==="["?ld=!0:dd+=Ra[qa];if(od!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:nd,i:qa}}function readEntityExp$1(Ra,qa){let nd="";for(;qa<Ra.length&&Ra[qa]!=="'"&&Ra[qa]!=='"';qa++)nd+=Ra[qa];if(nd=nd.trim(),nd.indexOf(" ")!==-1)throw new Error("External entites are not supported");const od=Ra[qa++];let ld="";for(;qa<Ra.length&&Ra[qa]!==od;qa++)ld+=Ra[qa];return[nd,ld,qa]}function isComment$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="-"&&Ra[qa+3]==="-"}function isEntity$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="N"&&Ra[qa+4]==="T"&&Ra[qa+5]==="I"&&Ra[qa+6]==="T"&&Ra[qa+7]==="Y"}function isElement$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="L"&&Ra[qa+4]==="E"&&Ra[qa+5]==="M"&&Ra[qa+6]==="E"&&Ra[qa+7]==="N"&&Ra[qa+8]==="T"}function isAttlist$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="A"&&Ra[qa+3]==="T"&&Ra[qa+4]==="T"&&Ra[qa+5]==="L"&&Ra[qa+6]==="I"&&Ra[qa+7]==="S"&&Ra[qa+8]==="T"}function isNotation$1(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="N"&&Ra[qa+3]==="O"&&Ra[qa+4]==="T"&&Ra[qa+5]==="A"&&Ra[qa+6]==="T"&&Ra[qa+7]==="I"&&Ra[qa+8]==="O"&&Ra[qa+9]==="N"}function validateEntityName$1(Ra){if(util$7.isName(Ra))return Ra;throw new Error(`Invalid entity name ${Ra}`)}var DocTypeReader$1=readDocType$3;const hexRegex=/^[-+]?0x[a-fA-F0-9]+$/,numRegex=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const consider={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function toNumber$2(Ra,qa={}){if(qa=Object.assign({},consider,qa),!Ra||typeof Ra!="string")return Ra;let nd=Ra.trim();if(qa.skipLike!==void 0&&qa.skipLike.test(nd))return Ra;if(qa.hex&&hexRegex.test(nd))return Number.parseInt(nd,16);{const od=numRegex.exec(nd);if(od){const ld=od[1],ud=od[2];let dd=trimZeros(od[3]);const pd=od[4]||od[6];if(!qa.leadingZeros&&ud.length>0&&ld&&nd[2]!==".")return Ra;if(!qa.leadingZeros&&ud.length>0&&!ld&&nd[1]!==".")return Ra;{const fd=Number(nd),md=""+fd;return md.search(/[eE]/)!==-1||pd?qa.eNotation?fd:Ra:nd.indexOf(".")!==-1?md==="0"&&dd===""||md===dd||ld&&md==="-"+dd?fd:Ra:ud?dd===md||ld+dd===md?fd:Ra:nd===md||nd===ld+md?fd:Ra}}else return Ra}}function trimZeros(Ra){return Ra&&Ra.indexOf(".")!==-1&&(Ra=Ra.replace(/0+$/,""),Ra==="."?Ra="0":Ra[0]==="."?Ra="0"+Ra:Ra[Ra.length-1]==="."&&(Ra=Ra.substr(0,Ra.length-1))),Ra}var strnum=toNumber$2;const util$6=util$9,xmlNode$2=xmlNode$3,readDocType$2=DocTypeReader$1,toNumber$1=strnum;let OrderedObjParser$3=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,16))}},this.addExternalEntities=addExternalEntities$1,this.parseXml=parseXml$2,this.parseTextData=parseTextData$1,this.resolveNameSpace=resolveNameSpace$1,this.buildAttributesMap=buildAttributesMap$1,this.isItStopNode=isItStopNode$1,this.replaceEntitiesValue=replaceEntitiesValue$3,this.readStopNodeData=readStopNodeData$1,this.saveTextToParentTag=saveTextToParentTag$1,this.addChild=addChild$1}};function addExternalEntities$1(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];this.lastEntities[od]={regex:new RegExp("&"+od+";","g"),val:Ra[od]}}}function parseTextData$1(Ra,qa,nd,od,ld,ud,dd){if(Ra!==void 0&&(this.options.trimValues&&!od&&(Ra=Ra.trim()),Ra.length>0)){dd||(Ra=this.replaceEntitiesValue(Ra));const pd=this.options.tagValueProcessor(qa,Ra,nd,ld,ud);return pd==null?Ra:typeof pd!=typeof Ra||pd!==Ra?pd:this.options.trimValues?parseValue$1(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue$1(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace$1(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),nd=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=nd+qa[1])}return Ra}const attrsRegx$1=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap$1(Ra,qa,nd){if(!this.options.ignoreAttributes&&typeof Ra=="string"){const od=util$6.getAllMatches(Ra,attrsRegx$1),ld=od.length,ud={};for(let dd=0;dd<ld;dd++){const pd=this.resolveNameSpace(od[dd][1]);let fd=od[dd][4],md=this.options.attributeNamePrefix+pd;if(pd.length)if(this.options.transformAttributeName&&(md=this.options.transformAttributeName(md)),md==="__proto__"&&(md="#__proto__"),fd!==void 0){this.options.trimValues&&(fd=fd.trim()),fd=this.replaceEntitiesValue(fd);const vd=this.options.attributeValueProcessor(pd,fd,qa);vd==null?ud[md]=fd:typeof vd!=typeof fd||vd!==fd?ud[md]=vd:ud[md]=parseValue$1(fd,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(ud[md]=!0)}if(!Object.keys(ud).length)return;if(this.options.attributesGroupName){const dd={};return dd[this.options.attributesGroupName]=ud,dd}return ud}}const parseXml$2=function(Ra){Ra=Ra.replace(/\r\n?/g,`
|
||
`);const qa=new xmlNode$2("!xml");let nd=qa,od="",ld="";for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="/"){const pd=findClosingIndex$1(Ra,">",ud,"Closing Tag is not closed.");let fd=Ra.substring(ud+2,pd).trim();if(this.options.removeNSPrefix){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1))}this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&(od=this.saveTextToParentTag(od,nd,ld));const md=ld.substring(ld.lastIndexOf(".")+1);if(fd&&this.options.unpairedTags.indexOf(fd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${fd}>`);let vd=0;md&&this.options.unpairedTags.indexOf(md)!==-1?(vd=ld.lastIndexOf(".",ld.lastIndexOf(".")-1),this.tagsNodeStack.pop()):vd=ld.lastIndexOf("."),ld=ld.substring(0,vd),nd=this.tagsNodeStack.pop(),od="",ud=pd}else if(Ra[ud+1]==="?"){let pd=readTagExp$1(Ra,ud,!1,"?>");if(!pd)throw new Error("Pi Tag is not closed.");if(od=this.saveTextToParentTag(od,nd,ld),!(this.options.ignoreDeclaration&&pd.tagName==="?xml"||this.options.ignorePiTags)){const fd=new xmlNode$2(pd.tagName);fd.add(this.options.textNodeName,""),pd.tagName!==pd.tagExp&&pd.attrExpPresent&&(fd[":@"]=this.buildAttributesMap(pd.tagExp,ld,pd.tagName)),this.addChild(nd,fd,ld)}ud=pd.closeIndex+1}else if(Ra.substr(ud+1,3)==="!--"){const pd=findClosingIndex$1(Ra,"-->",ud+4,"Comment is not closed.");if(this.options.commentPropName){const fd=Ra.substring(ud+4,pd-2);od=this.saveTextToParentTag(od,nd,ld),nd.add(this.options.commentPropName,[{[this.options.textNodeName]:fd}])}ud=pd}else if(Ra.substr(ud+1,2)==="!D"){const pd=readDocType$2(Ra,ud);this.docTypeEntities=pd.entities,ud=pd.i}else if(Ra.substr(ud+1,2)==="!["){const pd=findClosingIndex$1(Ra,"]]>",ud,"CDATA is not closed.")-2,fd=Ra.substring(ud+9,pd);od=this.saveTextToParentTag(od,nd,ld);let md=this.parseTextData(fd,nd.tagname,ld,!0,!1,!0,!0);md==null&&(md=""),this.options.cdataPropName?nd.add(this.options.cdataPropName,[{[this.options.textNodeName]:fd}]):nd.add(this.options.textNodeName,md),ud=pd+2}else{let pd=readTagExp$1(Ra,ud,this.options.removeNSPrefix),fd=pd.tagName;const md=pd.rawTagName;let vd=pd.tagExp,Ad=pd.attrExpPresent,Nd=pd.closeIndex;this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&od&&nd.tagname!=="!xml"&&(od=this.saveTextToParentTag(od,nd,ld,!1));const Id=nd;if(Id&&this.options.unpairedTags.indexOf(Id.tagname)!==-1&&(nd=this.tagsNodeStack.pop(),ld=ld.substring(0,ld.lastIndexOf("."))),fd!==qa.tagname&&(ld+=ld?"."+fd:fd),this.isItStopNode(this.options.stopNodes,ld,fd)){let Od="";if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1)fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),ud=pd.closeIndex;else if(this.options.unpairedTags.indexOf(fd)!==-1)ud=pd.closeIndex;else{const Ud=this.readStopNodeData(Ra,md,Nd+1);if(!Ud)throw new Error(`Unexpected end of ${md}`);ud=Ud.i,Od=Ud.tagContent}const Md=new xmlNode$2(fd);fd!==vd&&Ad&&(Md[":@"]=this.buildAttributesMap(vd,ld,fd)),Od&&(Od=this.parseTextData(Od,fd,ld,!0,Ad,!0,!0)),ld=ld.substr(0,ld.lastIndexOf(".")),Md.add(this.options.textNodeName,Od),this.addChild(nd,Md,ld)}else{if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1){fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),this.options.transformTagName&&(fd=this.options.transformTagName(fd));const Od=new xmlNode$2(fd);fd!==vd&&Ad&&(Od[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,Od,ld),ld=ld.substr(0,ld.lastIndexOf("."))}else{const Od=new xmlNode$2(fd);this.tagsNodeStack.push(nd),fd!==vd&&Ad&&(Od[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,Od,ld),nd=Od}od="",ud=Nd}}else od+=Ra[ud];return qa.child};function addChild$1(Ra,qa,nd){const od=this.options.updateTag(qa.tagname,nd,qa[":@"]);od===!1||(typeof od=="string"&&(qa.tagname=od),Ra.addChild(qa))}const replaceEntitiesValue$3=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const nd=this.docTypeEntities[qa];Ra=Ra.replace(nd.regx,nd.val)}for(let qa in this.lastEntities){const nd=this.lastEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const nd=this.htmlEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag$1(Ra,qa,nd,od){return Ra&&(od===void 0&&(od=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,nd,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,od),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode$1(Ra,qa,nd){const od="*."+nd;for(const ld in Ra){const ud=Ra[ld];if(od===ud||qa===ud)return!0}return!1}function tagExpWithClosingIndex$1(Ra,qa,nd=">"){let od,ld="";for(let ud=qa;ud<Ra.length;ud++){let dd=Ra[ud];if(od)dd===od&&(od="");else if(dd==='"'||dd==="'")od=dd;else if(dd===nd[0])if(nd[1]){if(Ra[ud+1]===nd[1])return{data:ld,index:ud}}else return{data:ld,index:ud};else dd===" "&&(dd=" ");ld+=dd}}function findClosingIndex$1(Ra,qa,nd,od){const ld=Ra.indexOf(qa,nd);if(ld===-1)throw new Error(od);return ld+qa.length-1}function readTagExp$1(Ra,qa,nd,od=">"){const ld=tagExpWithClosingIndex$1(Ra,qa+1,od);if(!ld)return;let ud=ld.data;const dd=ld.index,pd=ud.search(/\s/);let fd=ud,md=!0;pd!==-1&&(fd=ud.substring(0,pd),ud=ud.substring(pd+1).trimStart());const vd=fd;if(nd){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1),md=fd!==ld.data.substr(Ad+1))}return{tagName:fd,tagExp:ud,closeIndex:dd,attrExpPresent:md,rawTagName:vd}}function readStopNodeData$1(Ra,qa,nd){const od=nd;let ld=1;for(;nd<Ra.length;nd++)if(Ra[nd]==="<")if(Ra[nd+1]==="/"){const ud=findClosingIndex$1(Ra,">",nd,`${qa} is not closed`);if(Ra.substring(nd+2,ud).trim()===qa&&(ld--,ld===0))return{tagContent:Ra.substring(od,nd),i:ud};nd=ud}else if(Ra[nd+1]==="?")nd=findClosingIndex$1(Ra,"?>",nd+1,"StopNode is not closed.");else if(Ra.substr(nd+1,3)==="!--")nd=findClosingIndex$1(Ra,"-->",nd+3,"StopNode is not closed.");else if(Ra.substr(nd+1,2)==="![")nd=findClosingIndex$1(Ra,"]]>",nd,"StopNode is not closed.")-2;else{const ud=readTagExp$1(Ra,nd,">");ud&&((ud&&ud.tagName)===qa&&ud.tagExp[ud.tagExp.length-1]!=="/"&&ld++,nd=ud.closeIndex)}}function parseValue$1(Ra,qa,nd){if(qa&&typeof Ra=="string"){const od=Ra.trim();return od==="true"?!0:od==="false"?!1:toNumber$1(Ra,nd)}else return util$6.isExist(Ra)?Ra:""}var OrderedObjParser_1$1=OrderedObjParser$3,node2json$1={};function prettify$3(Ra,qa){return compress$1(Ra,qa)}function compress$1(Ra,qa,nd){let od;const ld={};for(let ud=0;ud<Ra.length;ud++){const dd=Ra[ud],pd=propName$3(dd);let fd="";if(nd===void 0?fd=pd:fd=nd+"."+pd,pd===qa.textNodeName)od===void 0?od=dd[pd]:od+=""+dd[pd];else{if(pd===void 0)continue;if(dd[pd]){let md=compress$1(dd[pd],qa,fd);const vd=isLeafTag$1(md,qa);dd[":@"]?assignAttributes$1(md,dd[":@"],fd,qa):Object.keys(md).length===1&&md[qa.textNodeName]!==void 0&&!qa.alwaysCreateTextNode?md=md[qa.textNodeName]:Object.keys(md).length===0&&(qa.alwaysCreateTextNode?md[qa.textNodeName]="":md=""),ld[pd]!==void 0&&ld.hasOwnProperty(pd)?(Array.isArray(ld[pd])||(ld[pd]=[ld[pd]]),ld[pd].push(md)):qa.isArray(pd,fd,vd)?ld[pd]=[md]:ld[pd]=md}}}return typeof od=="string"?od.length>0&&(ld[qa.textNodeName]=od):od!==void 0&&(ld[qa.textNodeName]=od),ld}function propName$3(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(od!==":@")return od}}function assignAttributes$1(Ra,qa,nd,od){if(qa){const ld=Object.keys(qa),ud=ld.length;for(let dd=0;dd<ud;dd++){const pd=ld[dd];od.isArray(pd,nd+"."+pd,!0,!0)?Ra[pd]=[qa[pd]]:Ra[pd]=qa[pd]}}}function isLeafTag$1(Ra,qa){const{textNodeName:nd}=qa,od=Object.keys(Ra).length;return!!(od===0||od===1&&(Ra[nd]||typeof Ra[nd]=="boolean"||Ra[nd]===0))}node2json$1.prettify=prettify$3;const{buildOptions:buildOptions$2}=OptionsBuilder$1,OrderedObjParser$2=OrderedObjParser_1$1,{prettify:prettify$2}=node2json$1,validator$4=validator$5;let XMLParser$3=class{constructor(qa){this.externalEntities={},this.options=buildOptions$2(qa)}parse(qa,nd){if(typeof qa!="string")if(qa.toString)qa=qa.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(nd){nd===!0&&(nd={});const ud=validator$4.validate(qa,nd);if(ud!==!0)throw Error(`${ud.err.msg}:${ud.err.line}:${ud.err.col}`)}const od=new OrderedObjParser$2(this.options);od.addExternalEntities(this.externalEntities);const ld=od.parseXml(qa);return this.options.preserveOrder||ld===void 0?ld:prettify$2(ld,this.options)}addEntity(qa,nd){if(nd.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(qa.indexOf("&")!==-1||qa.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(nd==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[qa]=nd}};var XMLParser_1$1=XMLParser$3;const EOL$1=`
|
||
`;function toXml$1(Ra,qa){let nd="";return qa.format&&qa.indentBy.length>0&&(nd=EOL$1),arrToStr$1(Ra,qa,"",nd)}function arrToStr$1(Ra,qa,nd,od){let ld="",ud=!1;for(let dd=0;dd<Ra.length;dd++){const pd=Ra[dd],fd=propName$2(pd);if(fd===void 0)continue;let md="";if(nd.length===0?md=fd:md=`${nd}.${fd}`,fd===qa.textNodeName){let Od=pd[fd];isStopNode$1(md,qa)||(Od=qa.tagValueProcessor(fd,Od),Od=replaceEntitiesValue$2(Od,qa)),ud&&(ld+=od),ld+=Od,ud=!1;continue}else if(fd===qa.cdataPropName){ud&&(ld+=od),ld+=`<![CDATA[${pd[fd][0][qa.textNodeName]}]]>`,ud=!1;continue}else if(fd===qa.commentPropName){ld+=od+`<!--${pd[fd][0][qa.textNodeName]}-->`,ud=!0;continue}else if(fd[0]==="?"){const Od=attr_to_str$1(pd[":@"],qa),Md=fd==="?xml"?"":od;let Ud=pd[fd][0][qa.textNodeName];Ud=Ud.length!==0?" "+Ud:"",ld+=Md+`<${fd}${Ud}${Od}?>`,ud=!0;continue}let vd=od;vd!==""&&(vd+=qa.indentBy);const Ad=attr_to_str$1(pd[":@"],qa),Nd=od+`<${fd}${Ad}`,Id=arrToStr$1(pd[fd],qa,md,vd);qa.unpairedTags.indexOf(fd)!==-1?qa.suppressUnpairedNode?ld+=Nd+">":ld+=Nd+"/>":(!Id||Id.length===0)&&qa.suppressEmptyNode?ld+=Nd+"/>":Id&&Id.endsWith(">")?ld+=Nd+`>${Id}${od}</${fd}>`:(ld+=Nd+">",Id&&od!==""&&(Id.includes("/>")||Id.includes("</"))?ld+=od+qa.indentBy+Id+od:ld+=Id,ld+=`</${fd}>`),ud=!0}return ld}function propName$2(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(Ra.hasOwnProperty(od)&&od!==":@")return od}}function attr_to_str$1(Ra,qa){let nd="";if(Ra&&!qa.ignoreAttributes)for(let od in Ra){if(!Ra.hasOwnProperty(od))continue;let ld=qa.attributeValueProcessor(od,Ra[od]);ld=replaceEntitiesValue$2(ld,qa),ld===!0&&qa.suppressBooleanAttributes?nd+=` ${od.substr(qa.attributeNamePrefix.length)}`:nd+=` ${od.substr(qa.attributeNamePrefix.length)}="${ld}"`}return nd}function isStopNode$1(Ra,qa){Ra=Ra.substr(0,Ra.length-qa.textNodeName.length-1);let nd=Ra.substr(Ra.lastIndexOf(".")+1);for(let od in qa.stopNodes)if(qa.stopNodes[od]===Ra||qa.stopNodes[od]==="*."+nd)return!0;return!1}function replaceEntitiesValue$2(Ra,qa){if(Ra&&Ra.length>0&&qa.processEntities)for(let nd=0;nd<qa.entities.length;nd++){const od=qa.entities[nd];Ra=Ra.replace(od.regex,od.val)}return Ra}var orderedJs2Xml$1=toXml$1;const buildFromOrderedJs$1=orderedJs2Xml$1,defaultOptions$3={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder$1(Ra){this.options=Object.assign({},defaultOptions$3,Ra),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute$1),this.processTextOrObjNode=processTextOrObjNode$1,this.options.format?(this.indentate=indentate$1,this.tagEndChar=`>
|
||
`,this.newLine=`
|
||
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Builder$1.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs$1(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0).val)};Builder$1.prototype.j2x=function(Ra,qa){let nd="",od="";for(let ld in Ra)if(Object.prototype.hasOwnProperty.call(Ra,ld))if(typeof Ra[ld]>"u")this.isAttribute(ld)&&(od+="");else if(Ra[ld]===null)this.isAttribute(ld)?od+="":ld[0]==="?"?od+=this.indentate(qa)+"<"+ld+"?"+this.tagEndChar:od+=this.indentate(qa)+"<"+ld+"/"+this.tagEndChar;else if(Ra[ld]instanceof Date)od+=this.buildTextValNode(Ra[ld],ld,"",qa);else if(typeof Ra[ld]!="object"){const ud=this.isAttribute(ld);if(ud)nd+=this.buildAttrPairStr(ud,""+Ra[ld]);else if(ld===this.options.textNodeName){let dd=this.options.tagValueProcessor(ld,""+Ra[ld]);od+=this.replaceEntitiesValue(dd)}else od+=this.buildTextValNode(Ra[ld],ld,"",qa)}else if(Array.isArray(Ra[ld])){const ud=Ra[ld].length;let dd="",pd="";for(let fd=0;fd<ud;fd++){const md=Ra[ld][fd];if(!(typeof md>"u"))if(md===null)ld[0]==="?"?od+=this.indentate(qa)+"<"+ld+"?"+this.tagEndChar:od+=this.indentate(qa)+"<"+ld+"/"+this.tagEndChar;else if(typeof md=="object")if(this.options.oneListGroup){const vd=this.j2x(md,qa+1);dd+=vd.val,this.options.attributesGroupName&&md.hasOwnProperty(this.options.attributesGroupName)&&(pd+=vd.attrStr)}else dd+=this.processTextOrObjNode(md,ld,qa);else if(this.options.oneListGroup){let vd=this.options.tagValueProcessor(ld,md);vd=this.replaceEntitiesValue(vd),dd+=vd}else dd+=this.buildTextValNode(md,ld,"",qa)}this.options.oneListGroup&&(dd=this.buildObjectNode(dd,ld,pd,qa)),od+=dd}else if(this.options.attributesGroupName&&ld===this.options.attributesGroupName){const ud=Object.keys(Ra[ld]),dd=ud.length;for(let pd=0;pd<dd;pd++)nd+=this.buildAttrPairStr(ud[pd],""+Ra[ld][ud[pd]])}else od+=this.processTextOrObjNode(Ra[ld],ld,qa);return{attrStr:nd,val:od}};Builder$1.prototype.buildAttrPairStr=function(Ra,qa){return qa=this.options.attributeValueProcessor(Ra,""+qa),qa=this.replaceEntitiesValue(qa),this.options.suppressBooleanAttributes&&qa==="true"?" "+Ra:" "+Ra+'="'+qa+'"'};function processTextOrObjNode$1(Ra,qa,nd){const od=this.j2x(Ra,nd+1);return Ra[this.options.textNodeName]!==void 0&&Object.keys(Ra).length===1?this.buildTextValNode(Ra[this.options.textNodeName],qa,od.attrStr,nd):this.buildObjectNode(od.val,qa,od.attrStr,nd)}Builder$1.prototype.buildObjectNode=function(Ra,qa,nd,od){if(Ra==="")return qa[0]==="?"?this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar:this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar;{let ld="</"+qa+this.tagEndChar,ud="";return qa[0]==="?"&&(ud="?",ld=""),(nd||nd==="")&&Ra.indexOf("<")===-1?this.indentate(od)+"<"+qa+nd+ud+">"+Ra+ld:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&ud.length===0?this.indentate(od)+`<!--${Ra}-->`+this.newLine:this.indentate(od)+"<"+qa+nd+ud+this.tagEndChar+Ra+this.indentate(od)+ld}};Builder$1.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`></${Ra}`,qa};Builder$1.prototype.buildTextValNode=function(Ra,qa,nd,od){if(this.options.cdataPropName!==!1&&qa===this.options.cdataPropName)return this.indentate(od)+`<![CDATA[${Ra}]]>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(od)+`<!--${Ra}-->`+this.newLine;if(qa[0]==="?")return this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar;{let ld=this.options.tagValueProcessor(qa,Ra);return ld=this.replaceEntitiesValue(ld),ld===""?this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar:this.indentate(od)+"<"+qa+nd+">"+ld+"</"+qa+this.tagEndChar}};Builder$1.prototype.replaceEntitiesValue=function(Ra){if(Ra&&Ra.length>0&&this.options.processEntities)for(let qa=0;qa<this.options.entities.length;qa++){const nd=this.options.entities[qa];Ra=Ra.replace(nd.regex,nd.val)}return Ra};function indentate$1(Ra){return this.options.indentBy.repeat(Ra)}function isAttribute$1(Ra){return Ra.startsWith(this.options.attributeNamePrefix)&&Ra!==this.options.textNodeName?Ra.substr(this.attrPrefixLen):!1}var json2xml$1=Builder$1;const validator$3=validator$5,XMLParser$2=XMLParser_1$1,XMLBuilder$1=json2xml$1;var fxp$3={XMLParser:XMLParser$2,XMLValidator:validator$3,XMLBuilder:XMLBuilder$1};const parseXmlBody=(Ra,qa)=>collectBodyString(Ra,qa).then(nd=>{if(nd.length){const od=new fxp$3.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(fd,md)=>md.trim()===""&&md.includes(`
|
||
`)?"":void 0});od.addEntity("#xD","\r"),od.addEntity("#10",`
|
||
`);let ld;try{ld=od.parse(nd,!0)}catch(fd){throw fd&&typeof fd=="object"&&Object.defineProperty(fd,"$responseBodyText",{value:nd}),fd}const ud="#text",dd=Object.keys(ld)[0],pd=ld[dd];return pd[ud]&&(pd[dd]=pd[ud],delete pd[ud]),getValueFromTextNode(pd)}return{}}),parseXmlErrorBody=async(Ra,qa)=>{const nd=await parseXmlBody(Ra,qa);return nd.Error&&(nd.Error.message=nd.Error.message??nd.Error.Message),nd},loadRestXmlErrorCode=(Ra,qa)=>{var nd;if(((nd=qa==null?void 0:qa.Error)==null?void 0:nd.Code)!==void 0)return qa.Error.Code;if((qa==null?void 0:qa.Code)!==void 0)return qa.Code;if(Ra.statusCode==404)return"NotFound"},CLIENT_SUPPORTED_ALGORITHMS=[ChecksumAlgorithm.CRC32,ChecksumAlgorithm.CRC32C,ChecksumAlgorithm.SHA1,ChecksumAlgorithm.SHA256],PRIORITY_ORDER_ALGORITHMS=[ChecksumAlgorithm.SHA256,ChecksumAlgorithm.SHA1,ChecksumAlgorithm.CRC32,ChecksumAlgorithm.CRC32C],getChecksumAlgorithmForRequest=(Ra,{requestChecksumRequired:qa,requestAlgorithmMember:nd},od)=>{const ld=od?S3_EXPRESS_DEFAULT_CHECKSUM_ALGORITHM:DEFAULT_CHECKSUM_ALGORITHM;if(!nd||!Ra[nd])return qa?ld:void 0;const ud=Ra[nd];if(!CLIENT_SUPPORTED_ALGORITHMS.includes(ud))throw new Error(`The checksum algorithm "${ud}" is not supported by the client. Select one of ${CLIENT_SUPPORTED_ALGORITHMS}.`);return ud},getChecksumLocationName=Ra=>Ra===ChecksumAlgorithm.MD5?"content-md5":`x-amz-checksum-${Ra.toLowerCase()}`,hasHeader=(Ra,qa)=>{const nd=Ra.toLowerCase();for(const od of Object.keys(qa))if(nd===od.toLowerCase())return!0;return!1},hasHeaderWithPrefix=(Ra,qa)=>{const nd=Ra.toLowerCase();for(const od of Object.keys(qa))if(od.toLowerCase().startsWith(nd))return!0;return!1},isStreaming=Ra=>Ra!==void 0&&typeof Ra!="string"&&!ArrayBuffer.isView(Ra)&&!isArrayBuffer$1(Ra);function __awaiter$8(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})}function __generator$8(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return dd.next=pd(0),dd.throw=pd(1),dd.return=pd(2),typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;dd&&(dd=0,md[0]&&(nd=0)),nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}}function __values(Ra){var qa=typeof Symbol=="function"&&Symbol.iterator,nd=qa&&Ra[qa],od=0;if(nd)return nd.call(Ra);if(Ra&&typeof Ra.length=="number")return{next:function(){return Ra&&od>=Ra.length&&(Ra=void 0),{value:Ra&&Ra[od++],done:!Ra}}};throw new TypeError(qa?"Object is not iterable.":"Symbol.iterator is not defined.")}typeof SuppressedError=="function"&&SuppressedError;const fromUtf8$2=Ra=>new TextEncoder().encode(Ra);var fromUtf8$1=typeof Buffer$4<"u"&&Buffer$4.from?function(Ra){return Buffer$4.from(Ra,"utf8")}:fromUtf8$2;function convertToBuffer$2(Ra){return Ra instanceof Uint8Array?Ra:typeof Ra=="string"?fromUtf8$1(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra)}function isEmptyData$2(Ra){return typeof Ra=="string"?Ra.length===0:Ra.byteLength===0}function numToUint8(Ra){return new Uint8Array([(Ra&4278190080)>>24,(Ra&16711680)>>16,(Ra&65280)>>8,Ra&255])}function uint32ArrayFrom(Ra){if(!Uint32Array.from){for(var qa=new Uint32Array(Ra.length),nd=0;nd<Ra.length;)qa[nd]=Ra[nd],nd+=1;return qa}return Uint32Array.from(Ra)}var AwsCrc32c=function(){function Ra(){this.crc32c=new Crc32c}return Ra.prototype.update=function(qa){isEmptyData$2(qa)||this.crc32c.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return __awaiter$8(this,void 0,void 0,function(){return __generator$8(this,function(qa){return[2,numToUint8(this.crc32c.digest())]})})},Ra.prototype.reset=function(){this.crc32c=new Crc32c},Ra}(),Crc32c=function(){function Ra(){this.checksum=4294967295}return Ra.prototype.update=function(qa){var nd,od;try{for(var ld=__values(qa),ud=ld.next();!ud.done;ud=ld.next()){var dd=ud.value;this.checksum=this.checksum>>>8^lookupTable$1[(this.checksum^dd)&255]}}catch(pd){nd={error:pd}}finally{try{ud&&!ud.done&&(od=ld.return)&&od.call(ld)}finally{if(nd)throw nd.error}}return this},Ra.prototype.digest=function(){return(this.checksum^4294967295)>>>0},Ra}(),a_lookupTable=[0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697],lookupTable$1=uint32ArrayFrom(a_lookupTable),AwsCrc32=function(){function Ra(){this.crc32=new Crc32}return Ra.prototype.update=function(qa){isEmptyData$2(qa)||this.crc32.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return __awaiter$8(this,void 0,void 0,function(){return __generator$8(this,function(qa){return[2,numToUint8(this.crc32.digest())]})})},Ra.prototype.reset=function(){this.crc32=new Crc32},Ra}(),Crc32=function(){function Ra(){this.checksum=4294967295}return Ra.prototype.update=function(qa){var nd,od;try{for(var ld=__values(qa),ud=ld.next();!ud.done;ud=ld.next()){var dd=ud.value;this.checksum=this.checksum>>>8^lookupTable[(this.checksum^dd)&255]}}catch(pd){nd={error:pd}}finally{try{ud&&!ud.done&&(od=ld.return)&&od.call(ld)}finally{if(nd)throw nd.error}}return this},Ra.prototype.digest=function(){return(this.checksum^4294967295)>>>0},Ra}(),a_lookUpTable=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],lookupTable=uint32ArrayFrom(a_lookUpTable);const getCrc32ChecksumAlgorithmFunction=()=>AwsCrc32,selectChecksumAlgorithmFunction=(Ra,qa)=>{switch(Ra){case ChecksumAlgorithm.MD5:return qa.md5;case ChecksumAlgorithm.CRC32:return getCrc32ChecksumAlgorithmFunction();case ChecksumAlgorithm.CRC32C:return AwsCrc32c;case ChecksumAlgorithm.SHA1:return qa.sha1;case ChecksumAlgorithm.SHA256:return qa.sha256;default:throw new Error(`Unsupported checksum algorithm: ${Ra}`)}},stringHasher=(Ra,qa)=>{const nd=new Ra;return nd.update(toUint8Array(qa||"")),nd.digest()},flexibleChecksumsMiddlewareOptions={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},flexibleChecksumsMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{if(!HttpRequest.isInstance(ld.request)||hasHeaderWithPrefix("x-amz-checksum-",ld.request.headers))return nd(ld);const{request:ud,input:dd}=ld,{body:pd,headers:fd}=ud,{base64Encoder:md,streamHasher:vd}=Ra,{requestChecksumRequired:Ad,requestAlgorithmMember:Nd}=qa,Id=getChecksumAlgorithmForRequest(dd,{requestChecksumRequired:Ad,requestAlgorithmMember:Nd==null?void 0:Nd.name},!!od.isS3ExpressBucket);let Od=pd,Md=fd;if(Id){switch(Id){case ChecksumAlgorithm.CRC32:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case ChecksumAlgorithm.CRC32C:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case ChecksumAlgorithm.SHA1:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case ChecksumAlgorithm.SHA256:setFeature$1(od,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y");break}const jd=getChecksumLocationName(Id),Ld=selectChecksumAlgorithmFunction(Id,Ra);if(isStreaming(pd)){const{getAwsChunkedEncodingStream:Bd,bodyLengthChecker:Gd}=Ra;Od=Bd(pd,{base64Encoder:md,bodyLengthChecker:Gd,checksumLocationName:jd,checksumAlgorithmFn:Ld,streamHasher:vd}),Md={...fd,"content-encoding":fd["content-encoding"]?`${fd["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":fd["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":jd},delete Md["content-length"]}else if(!hasHeader(jd,fd)){const Bd=await stringHasher(Ld,pd);Md={...fd,[jd]:md(Bd)}}}return await nd({...ld,request:{...ud,headers:Md,body:Od}})},getChecksumAlgorithmListForResponse=(Ra=[])=>{const qa=[];for(const nd of PRIORITY_ORDER_ALGORITHMS)!Ra.includes(nd)||!CLIENT_SUPPORTED_ALGORITHMS.includes(nd)||qa.push(nd);return qa},isChecksumWithPartNumber=Ra=>{const qa=Ra.lastIndexOf("-");if(qa!==-1){const nd=Ra.slice(qa+1);if(!nd.startsWith("0")){const od=parseInt(nd,10);if(!isNaN(od)&&od>=1&&od<=1e4)return!0}}return!1};function createReadStreamOnBuffer(Ra){return new Blob([Ra]).stream()}const getChecksum=async(Ra,{checksumAlgorithmFn:qa,base64Encoder:nd})=>nd(await stringHasher(qa,Ra)),validateChecksumFromResponse=async(Ra,{config:qa,responseAlgorithms:nd})=>{const od=getChecksumAlgorithmListForResponse(nd),{body:ld,headers:ud}=Ra;for(const dd of od){const pd=getChecksumLocationName(dd),fd=ud[pd];if(fd){const md=selectChecksumAlgorithmFunction(dd,qa),{base64Encoder:vd}=qa;if(isStreaming(ld)){Ra.body=createChecksumStream({expectedChecksum:fd,checksumSourceLocation:pd,checksum:new md,source:ld,base64Encoder:vd});return}const Ad=await getChecksum(ld,{checksumAlgorithmFn:md,base64Encoder:vd});if(Ad===fd)break;throw new Error(`Checksum mismatch: expected "${Ad}" but received "${fd}" in response header "${pd}".`)}}},flexibleChecksumsResponseMiddlewareOptions={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},flexibleChecksumsResponseMiddleware=(Ra,qa)=>(nd,od)=>async ld=>{if(!HttpRequest.isInstance(ld.request))return nd(ld);const ud=ld.input,dd=await nd(ld),pd=dd.response;let fd;const{requestValidationModeMember:md,responseAlgorithms:vd}=qa;if(md&&ud[md]==="ENABLED"){const{clientName:Ad,commandName:Nd}=od;if(Ad==="S3Client"&&Nd==="GetObjectCommand"&&getChecksumAlgorithmListForResponse(vd).every(Md=>{const Ud=getChecksumLocationName(Md),jd=pd.headers[Ud];return!jd||isChecksumWithPartNumber(jd)}))return dd;const Od=isStreaming(pd.body);Od&&(fd=await Ra.streamCollector(pd.body),pd.body=createReadStreamOnBuffer(fd)),await validateChecksumFromResponse(dd.response,{config:Ra,responseAlgorithms:vd}),Od&&fd&&(pd.body=createReadStreamOnBuffer(fd))}return dd},getFlexibleChecksumsPlugin=(Ra,qa)=>({applyToStack:nd=>{nd.add(flexibleChecksumsMiddleware(Ra,qa),flexibleChecksumsMiddlewareOptions),nd.addRelativeTo(flexibleChecksumsResponseMiddleware(Ra,qa),flexibleChecksumsResponseMiddlewareOptions)}}),resolveFlexibleChecksumsConfig=Ra=>({...Ra,requestChecksumCalculation:normalizeProvider$1(Ra.requestChecksumCalculation??DEFAULT_REQUEST_CHECKSUM_CALCULATION),responseChecksumValidation:normalizeProvider$1(Ra.responseChecksumValidation??DEFAULT_RESPONSE_CHECKSUM_VALIDATION)});function resolveHostHeaderConfig(Ra){return Ra}const hostHeaderMiddleware=Ra=>qa=>async nd=>{if(!HttpRequest.isInstance(nd.request))return qa(nd);const{request:od}=nd,{handlerProtocol:ld=""}=Ra.requestHandler.metadata||{};if(ld.indexOf("h2")>=0&&!od.headers[":authority"])delete od.headers.host,od.headers[":authority"]=od.hostname+(od.port?":"+od.port:"");else if(!od.headers.host){let ud=od.hostname;od.port!=null&&(ud+=`:${od.port}`),od.headers.host=ud}return qa(nd)},hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},getHostHeaderPlugin=Ra=>({applyToStack:qa=>{qa.add(hostHeaderMiddleware(Ra),hostHeaderMiddlewareOptions)}}),loggerMiddleware=()=>(Ra,qa)=>async nd=>{var od,ld;try{const ud=await Ra(nd),{clientName:dd,commandName:pd,logger:fd,dynamoDbDocumentClientOptions:md={}}=qa,{overrideInputFilterSensitiveLog:vd,overrideOutputFilterSensitiveLog:Ad}=md,Nd=vd??qa.inputFilterSensitiveLog,Id=Ad??qa.outputFilterSensitiveLog,{$metadata:Od,...Md}=ud.output;return(od=fd==null?void 0:fd.info)==null||od.call(fd,{clientName:dd,commandName:pd,input:Nd(nd.input),output:Id(Md),metadata:Od}),ud}catch(ud){const{clientName:dd,commandName:pd,logger:fd,dynamoDbDocumentClientOptions:md={}}=qa,{overrideInputFilterSensitiveLog:vd}=md,Ad=vd??qa.inputFilterSensitiveLog;throw(ld=fd==null?void 0:fd.error)==null||ld.call(fd,{clientName:dd,commandName:pd,input:Ad(nd.input),error:ud,metadata:ud.$metadata}),ud}},loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},getLoggerPlugin=Ra=>({applyToStack:qa=>{qa.add(loggerMiddleware(),loggerMiddlewareOptions)}});var define_process_env_default={};const TRACE_ID_HEADER_NAME="X-Amzn-Trace-Id",ENV_LAMBDA_FUNCTION_NAME="AWS_LAMBDA_FUNCTION_NAME",ENV_TRACE_ID="_X_AMZN_TRACE_ID",recursionDetectionMiddleware=Ra=>qa=>async nd=>{const{request:od}=nd;if(!HttpRequest.isInstance(od)||Ra.runtime!=="node"||od.headers.hasOwnProperty(TRACE_ID_HEADER_NAME))return qa(nd);const ld=define_process_env_default[ENV_LAMBDA_FUNCTION_NAME],ud=define_process_env_default[ENV_TRACE_ID],dd=pd=>typeof pd=="string"&&pd.length>0;return dd(ld)&&dd(ud)&&(od.headers[TRACE_ID_HEADER_NAME]=ud),qa({...nd,request:od})},addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},getRecursionDetectionPlugin=Ra=>({applyToStack:qa=>{qa.add(recursionDetectionMiddleware(Ra),addRecursionDetectionMiddlewareOptions)}}),CONTENT_LENGTH_HEADER$1="content-length";function checkContentLengthHeader(){return(Ra,qa)=>async nd=>{var ld;const{request:od}=nd;if(HttpRequest.isInstance(od)&&!(CONTENT_LENGTH_HEADER$1 in od.headers)){const ud="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";typeof((ld=qa==null?void 0:qa.logger)==null?void 0:ld.warn)=="function"&&!(qa.logger instanceof NoOpLogger)?qa.logger.warn(ud):console.warn(ud)}return Ra({...nd})}}const checkContentLengthHeaderMiddlewareOptions={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},getCheckContentLengthHeaderPlugin=Ra=>({applyToStack:qa=>{qa.add(checkContentLengthHeader(),checkContentLengthHeaderMiddlewareOptions)}}),regionRedirectEndpointMiddleware=Ra=>(qa,nd)=>async od=>{const ld=await Ra.region(),ud=Ra.region;let dd=()=>{};nd.__s3RegionRedirect&&(Object.defineProperty(Ra,"region",{writable:!1,value:async()=>nd.__s3RegionRedirect}),dd=()=>Object.defineProperty(Ra,"region",{writable:!0,value:ud}));try{const pd=await qa(od);if(nd.__s3RegionRedirect){dd();const fd=await Ra.region();if(ld!==fd)throw new Error("Region was not restored following S3 region redirect.")}return pd}catch(pd){throw dd(),pd}},regionRedirectEndpointMiddlewareOptions={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function regionRedirectMiddleware(Ra){return(qa,nd)=>async od=>{var ld,ud,dd;try{return await qa(od)}catch(pd){if(Ra.followRegionRedirects&&(((ld=pd==null?void 0:pd.$metadata)==null?void 0:ld.httpStatusCode)===301||((ud=pd==null?void 0:pd.$metadata)==null?void 0:ud.httpStatusCode)===400&&(pd==null?void 0:pd.name)==="IllegalLocationConstraintException")){try{const fd=pd.$response.headers["x-amz-bucket-region"];(dd=nd.logger)==null||dd.debug(`Redirecting from ${await Ra.region()} to ${fd}`),nd.__s3RegionRedirect=fd}catch(fd){throw new Error("Region redirect failed: "+fd)}return qa(od)}throw pd}}}const regionRedirectMiddlewareOptions={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},getRegionRedirectMiddlewarePlugin=Ra=>({applyToStack:qa=>{qa.add(regionRedirectMiddleware(Ra),regionRedirectMiddlewareOptions),qa.addRelativeTo(regionRedirectEndpointMiddleware(Ra),regionRedirectEndpointMiddlewareOptions)}});class S3ExpressIdentityCache{constructor(qa={}){this.data=qa,this.lastPurgeTime=Date.now()}get(qa){const nd=this.data[qa];if(nd)return nd}set(qa,nd){return this.data[qa]=nd,nd}delete(qa){delete this.data[qa]}async purgeExpired(){const qa=Date.now();if(!(this.lastPurgeTime+S3ExpressIdentityCache.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>qa))for(const nd in this.data){const od=this.data[nd];if(!od.isRefreshing){const ld=await od.identity;ld.expiration&&ld.expiration.getTime()<qa&&delete this.data[nd]}}}}S3ExpressIdentityCache.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;class S3ExpressIdentityCacheEntry{constructor(qa,nd=!1,od=Date.now()){this._identity=qa,this.isRefreshing=nd,this.accessed=od}get identity(){return this.accessed=Date.now(),this._identity}}class S3ExpressIdentityProviderImpl{constructor(qa,nd=new S3ExpressIdentityCache){this.createSessionFn=qa,this.cache=nd}async getS3ExpressIdentity(qa,nd){const od=nd.Bucket,{cache:ld}=this,ud=ld.get(od);return ud?ud.identity.then(dd=>{var md,vd;return(((md=dd.expiration)==null?void 0:md.getTime())??0)<Date.now()?ld.set(od,new S3ExpressIdentityCacheEntry(this.getIdentity(od))).identity:((((vd=dd.expiration)==null?void 0:vd.getTime())??0)<Date.now()+S3ExpressIdentityProviderImpl.REFRESH_WINDOW_MS&&!ud.isRefreshing&&(ud.isRefreshing=!0,this.getIdentity(od).then(Ad=>{ld.set(od,new S3ExpressIdentityCacheEntry(Promise.resolve(Ad)))})),dd)}):ld.set(od,new S3ExpressIdentityCacheEntry(this.getIdentity(od))).identity}async getIdentity(qa){var ld,ud;await this.cache.purgeExpired().catch(dd=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
|
||
`+dd)});const nd=await this.createSessionFn(qa);if(!((ld=nd.Credentials)!=null&&ld.AccessKeyId)||!((ud=nd.Credentials)!=null&&ud.SecretAccessKey))throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:nd.Credentials.AccessKeyId,secretAccessKey:nd.Credentials.SecretAccessKey,sessionToken:nd.Credentials.SessionToken,expiration:nd.Credentials.Expiration?new Date(nd.Credentials.Expiration):void 0}}}S3ExpressIdentityProviderImpl.REFRESH_WINDOW_MS=6e4;var SelectorType;(function(Ra){Ra.ENV="env",Ra.CONFIG="shared config entry"})(SelectorType||(SelectorType={}));const S3_EXPRESS_BUCKET_TYPE="Directory",S3_EXPRESS_BACKEND="S3Express",S3_EXPRESS_AUTH_SCHEME="sigv4-s3express",SESSION_TOKEN_QUERY_PARAM="X-Amz-S3session-Token",SESSION_TOKEN_HEADER=SESSION_TOKEN_QUERY_PARAM.toLowerCase();class SignatureV4S3Express extends SignatureV4{async signWithCredentials(qa,nd,od){const ld=getCredentialsWithoutSessionToken(nd);qa.headers[SESSION_TOKEN_HEADER]=nd.sessionToken;const ud=this;return setSingleOverride(ud,ld),ud.signRequest(qa,od??{})}async presignWithCredentials(qa,nd,od){const ld=getCredentialsWithoutSessionToken(nd);return delete qa.headers[SESSION_TOKEN_HEADER],qa.headers[SESSION_TOKEN_QUERY_PARAM]=nd.sessionToken,qa.query=qa.query??{},qa.query[SESSION_TOKEN_QUERY_PARAM]=nd.sessionToken,setSingleOverride(this,ld),this.presign(qa,od)}}function getCredentialsWithoutSessionToken(Ra){return{accessKeyId:Ra.accessKeyId,secretAccessKey:Ra.secretAccessKey,expiration:Ra.expiration}}function setSingleOverride(Ra,qa){const nd=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),od=Ra.credentialProvider,ld=()=>(clearTimeout(nd),Ra.credentialProvider=od,Promise.resolve(qa));Ra.credentialProvider=ld}const s3ExpressMiddleware=Ra=>(qa,nd)=>async od=>{var ld,ud,dd,pd,fd;if(nd.endpointV2){const md=nd.endpointV2,vd=((dd=(ud=(ld=md.properties)==null?void 0:ld.authSchemes)==null?void 0:ud[0])==null?void 0:dd.name)===S3_EXPRESS_AUTH_SCHEME;if((((pd=md.properties)==null?void 0:pd.backend)===S3_EXPRESS_BACKEND||((fd=md.properties)==null?void 0:fd.bucketType)===S3_EXPRESS_BUCKET_TYPE)&&(setFeature$1(nd,"S3_EXPRESS_BUCKET","J"),nd.isS3ExpressBucket=!0),vd){const Nd=od.input.Bucket;if(Nd){const Id=await Ra.s3ExpressIdentityProvider.getS3ExpressIdentity(await Ra.credentials(),{Bucket:Nd});nd.s3ExpressIdentity=Id,HttpRequest.isInstance(od.request)&&Id.sessionToken&&(od.request.headers[SESSION_TOKEN_HEADER]=Id.sessionToken)}}}return qa(od)},s3ExpressMiddlewareOptions={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},getS3ExpressPlugin=Ra=>({applyToStack:qa=>{qa.add(s3ExpressMiddleware(Ra),s3ExpressMiddlewareOptions)}}),signS3Express=async(Ra,qa,nd,od)=>{const ld=await od.signWithCredentials(nd,Ra,{});if(ld.headers["X-Amz-Security-Token"]||ld.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return ld},defaultErrorHandler=Ra=>qa=>{throw qa},defaultSuccessHandler=(Ra,qa)=>{},s3ExpressHttpSigningMiddleware=Ra=>(qa,nd)=>async od=>{if(!HttpRequest.isInstance(od.request))return qa(od);const ud=getSmithyContext(nd).selectedHttpAuthScheme;if(!ud)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:dd={}},identity:pd,signer:fd}=ud;let md;nd.s3ExpressIdentity?md=await signS3Express(nd.s3ExpressIdentity,dd,od.request,await Ra.signer()):md=await fd.sign(od.request,pd,dd);const vd=await qa({...od,request:md}).catch((fd.errorHandler||defaultErrorHandler)(dd));return(fd.successHandler||defaultSuccessHandler)(vd.response,dd),vd},getS3ExpressHttpSigningPlugin=Ra=>({applyToStack:qa=>{qa.addRelativeTo(s3ExpressHttpSigningMiddleware(Ra),httpSigningMiddlewareOptions)}}),resolveS3Config=(Ra,{session:qa})=>{const[nd,od]=qa;return{...Ra,forcePathStyle:Ra.forcePathStyle??!1,useAccelerateEndpoint:Ra.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:Ra.disableMultiregionAccessPoints??!1,followRegionRedirects:Ra.followRegionRedirects??!1,s3ExpressIdentityProvider:Ra.s3ExpressIdentityProvider??new S3ExpressIdentityProviderImpl(async ld=>nd().send(new od({Bucket:ld,SessionMode:"ReadWrite"}))),bucketEndpoint:Ra.bucketEndpoint??!1}},THROW_IF_EMPTY_BODY={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},MAX_BYTES_TO_INSPECT=3e3,throw200ExceptionsMiddleware=Ra=>(qa,nd)=>async od=>{const ld=await qa(od),{response:ud}=ld;if(!HttpResponse.isInstance(ud))return ld;const{statusCode:dd,body:pd}=ud;if(dd<200||dd>=300||!(typeof(pd==null?void 0:pd.stream)=="function"||typeof(pd==null?void 0:pd.pipe)=="function"||typeof(pd==null?void 0:pd.tee)=="function"))return ld;let md=pd,vd=pd;pd&&typeof pd=="object"&&!(pd instanceof Uint8Array)&&([md,vd]=await splitStream(pd)),ud.body=vd;const Ad=await collectBody(md,{streamCollector:async Id=>headStream(Id,MAX_BYTES_TO_INSPECT)});typeof(md==null?void 0:md.destroy)=="function"&&md.destroy();const Nd=Ra.utf8Encoder(Ad.subarray(Ad.length-16));if(Ad.length===0&&THROW_IF_EMPTY_BODY[nd.commandName]){const Id=new Error("S3 aborted request");throw Id.name="InternalError",Id}return Nd&&Nd.endsWith("</Error>")&&(ud.statusCode=400),ld},collectBody=(Ra=new Uint8Array,qa)=>Ra instanceof Uint8Array?Promise.resolve(Ra):qa.streamCollector(Ra)||Promise.resolve(new Uint8Array),throw200ExceptionsMiddlewareOptions={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},getThrow200ExceptionsPlugin=Ra=>({applyToStack:qa=>{qa.addRelativeTo(throw200ExceptionsMiddleware(Ra),throw200ExceptionsMiddlewareOptions)}}),validate=Ra=>typeof Ra=="string"&&Ra.indexOf("arn:")===0&&Ra.split(":").length>=6;function bucketEndpointMiddleware(Ra){return(qa,nd)=>async od=>{var ld,ud,dd,pd;if(Ra.bucketEndpoint){const fd=nd.endpointV2;if(fd){const md=od.input.Bucket;if(typeof md=="string")try{const vd=new URL(md);nd.endpointV2={...fd,url:vd}}catch(vd){const Ad=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${md} could not be parsed as URL.`;throw((ud=(ld=nd.logger)==null?void 0:ld.constructor)==null?void 0:ud.name)==="NoOpLogger"?console.warn(Ad):(pd=(dd=nd.logger)==null?void 0:dd.warn)==null||pd.call(dd,Ad),vd}}}return qa(od)}}const bucketEndpointMiddlewareOptions={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function validateBucketNameMiddleware({bucketEndpoint:Ra}){return qa=>async nd=>{const{input:{Bucket:od}}=nd;if(!Ra&&typeof od=="string"&&!validate(od)&&od.indexOf("/")>=0){const ld=new Error(`Bucket name shouldn't contain '/', received '${od}'`);throw ld.name="InvalidBucketName",ld}return qa({...nd})}}const validateBucketNameMiddlewareOptions={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},getValidateBucketNamePlugin=Ra=>({applyToStack:qa=>{qa.add(validateBucketNameMiddleware(Ra),validateBucketNameMiddlewareOptions),qa.addRelativeTo(bucketEndpointMiddleware(Ra),bucketEndpointMiddlewareOptions)}}),DEFAULT_UA_APP_ID=void 0;function isValidUserAgentAppId(Ra){return Ra===void 0?!0:typeof Ra=="string"&&Ra.length<=50}function resolveUserAgentConfig(Ra){const qa=normalizeProvider(Ra.userAgentAppId??DEFAULT_UA_APP_ID);return{...Ra,customUserAgent:typeof Ra.customUserAgent=="string"?[[Ra.customUserAgent]]:Ra.customUserAgent,userAgentAppId:async()=>{var od,ld;const nd=await qa();if(!isValidUserAgentAppId(nd)){const ud=((ld=(od=Ra.logger)==null?void 0:od.constructor)==null?void 0:ld.name)==="NoOpLogger"||!Ra.logger?console:Ra.logger;typeof nd!="string"?ud==null||ud.warn("userAgentAppId must be a string or undefined."):nd.length>50&&(ud==null||ud.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."))}return nd}}}class EndpointCache{constructor({size:qa,params:nd}){this.data=new Map,this.parameters=[],this.capacity=qa??50,nd&&(this.parameters=nd)}get(qa,nd){const od=this.hash(qa);if(od===!1)return nd();if(!this.data.has(od)){if(this.data.size>this.capacity+10){const ld=this.data.keys();let ud=0;for(;;){const{value:dd,done:pd}=ld.next();if(this.data.delete(dd),pd||++ud>10)break}}this.data.set(od,nd())}return this.data.get(od)}size(){return this.data.size}hash(qa){let nd="";const{parameters:od}=this;if(od.length===0)return!1;for(const ld of od){const ud=String(qa[ld]??"");if(ud.includes("|;"))return!1;nd+=ud+"|;"}return nd}}const IP_V4_REGEX=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),isIpAddress=Ra=>IP_V4_REGEX.test(Ra)||Ra.startsWith("[")&&Ra.endsWith("]"),VALID_HOST_LABEL_REGEX=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),isValidHostLabel=(Ra,qa=!1)=>{if(!qa)return VALID_HOST_LABEL_REGEX.test(Ra);const nd=Ra.split(".");for(const od of nd)if(!isValidHostLabel(od))return!1;return!0},customEndpointFunctions={},debugId="endpoints";function toDebugString(Ra){return typeof Ra!="object"||Ra==null?Ra:"ref"in Ra?`$${toDebugString(Ra.ref)}`:"fn"in Ra?`${Ra.fn}(${(Ra.argv||[]).map(toDebugString).join(", ")})`:JSON.stringify(Ra,null,2)}class EndpointError extends Error{constructor(qa){super(qa),this.name="EndpointError"}}const booleanEquals=(Ra,qa)=>Ra===qa,getAttrPathList=Ra=>{const qa=Ra.split("."),nd=[];for(const od of qa){const ld=od.indexOf("[");if(ld!==-1){if(od.indexOf("]")!==od.length-1)throw new EndpointError(`Path: '${Ra}' does not end with ']'`);const ud=od.slice(ld+1,-1);if(Number.isNaN(parseInt(ud)))throw new EndpointError(`Invalid array index: '${ud}' in path: '${Ra}'`);ld!==0&&nd.push(od.slice(0,ld)),nd.push(ud)}else nd.push(od)}return nd},getAttr=(Ra,qa)=>getAttrPathList(qa).reduce((nd,od)=>{if(typeof nd!="object")throw new EndpointError(`Index '${od}' in '${qa}' not found in '${JSON.stringify(Ra)}'`);return Array.isArray(nd)?nd[parseInt(od)]:nd[od]},Ra),isSet=Ra=>Ra!=null,not=Ra=>!Ra,DEFAULT_PORTS={[EndpointURLScheme.HTTP]:80,[EndpointURLScheme.HTTPS]:443},parseURL=Ra=>{const qa=(()=>{try{if(Ra instanceof URL)return Ra;if(typeof Ra=="object"&&"hostname"in Ra){const{hostname:Nd,port:Id,protocol:Od="",path:Md="",query:Ud={}}=Ra,jd=new URL(`${Od}//${Nd}${Id?`:${Id}`:""}${Md}`);return jd.search=Object.entries(Ud).map(([Ld,Bd])=>`${Ld}=${Bd}`).join("&"),jd}return new URL(Ra)}catch{return null}})();if(!qa)return console.error(`Unable to parse ${JSON.stringify(Ra)} as a whatwg URL.`),null;const nd=qa.href,{host:od,hostname:ld,pathname:ud,protocol:dd,search:pd}=qa;if(pd)return null;const fd=dd.slice(0,-1);if(!Object.values(EndpointURLScheme).includes(fd))return null;const md=isIpAddress(ld),vd=nd.includes(`${od}:${DEFAULT_PORTS[fd]}`)||typeof Ra=="string"&&Ra.includes(`${od}:${DEFAULT_PORTS[fd]}`),Ad=`${od}${vd?`:${DEFAULT_PORTS[fd]}`:""}`;return{scheme:fd,authority:Ad,path:ud,normalizedPath:ud.endsWith("/")?ud:`${ud}/`,isIp:md}},stringEquals=(Ra,qa)=>Ra===qa,substring=(Ra,qa,nd,od)=>qa>=nd||Ra.length<nd?null:od?Ra.substring(Ra.length-nd,Ra.length-qa):Ra.substring(qa,nd),uriEncode=Ra=>encodeURIComponent(Ra).replace(/[!*'()]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),endpointFunctions={booleanEquals,getAttr,isSet,isValidHostLabel,not,parseURL,stringEquals,substring,uriEncode},evaluateTemplate=(Ra,qa)=>{const nd=[],od={...qa.endpointParams,...qa.referenceRecord};let ld=0;for(;ld<Ra.length;){const ud=Ra.indexOf("{",ld);if(ud===-1){nd.push(Ra.slice(ld));break}nd.push(Ra.slice(ld,ud));const dd=Ra.indexOf("}",ud);if(dd===-1){nd.push(Ra.slice(ud));break}Ra[ud+1]==="{"&&Ra[dd+1]==="}"&&(nd.push(Ra.slice(ud+1,dd)),ld=dd+2);const pd=Ra.substring(ud+1,dd);if(pd.includes("#")){const[fd,md]=pd.split("#");nd.push(getAttr(od[fd],md))}else nd.push(od[pd]);ld=dd+1}return nd.join("")},getReferenceValue=({ref:Ra},qa)=>({...qa.endpointParams,...qa.referenceRecord})[Ra],evaluateExpression=(Ra,qa,nd)=>{if(typeof Ra=="string")return evaluateTemplate(Ra,nd);if(Ra.fn)return callFunction(Ra,nd);if(Ra.ref)return getReferenceValue(Ra,nd);throw new EndpointError(`'${qa}': ${String(Ra)} is not a string, function or reference.`)},callFunction=({fn:Ra,argv:qa},nd)=>{const od=qa.map(ud=>["boolean","number"].includes(typeof ud)?ud:evaluateExpression(ud,"arg",nd)),ld=Ra.split(".");return ld[0]in customEndpointFunctions&&ld[1]!=null?customEndpointFunctions[ld[0]][ld[1]](...od):endpointFunctions[Ra](...od)},evaluateCondition=({assign:Ra,...qa},nd)=>{var ld,ud;if(Ra&&Ra in nd.referenceRecord)throw new EndpointError(`'${Ra}' is already defined in Reference Record.`);const od=callFunction(qa,nd);return(ud=(ld=nd.logger)==null?void 0:ld.debug)==null||ud.call(ld,`${debugId} evaluateCondition: ${toDebugString(qa)} = ${toDebugString(od)}`),{result:od===""?!0:!!od,...Ra!=null&&{toAssign:{name:Ra,value:od}}}},evaluateConditions=(Ra=[],qa)=>{var od,ld;const nd={};for(const ud of Ra){const{result:dd,toAssign:pd}=evaluateCondition(ud,{...qa,referenceRecord:{...qa.referenceRecord,...nd}});if(!dd)return{result:dd};pd&&(nd[pd.name]=pd.value,(ld=(od=qa.logger)==null?void 0:od.debug)==null||ld.call(od,`${debugId} assign: ${pd.name} := ${toDebugString(pd.value)}`))}return{result:!0,referenceRecord:nd}},getEndpointHeaders=(Ra,qa)=>Object.entries(Ra).reduce((nd,[od,ld])=>({...nd,[od]:ld.map(ud=>{const dd=evaluateExpression(ud,"Header value entry",qa);if(typeof dd!="string")throw new EndpointError(`Header '${od}' value '${dd}' is not a string`);return dd})}),{}),getEndpointProperty=(Ra,qa)=>{if(Array.isArray(Ra))return Ra.map(nd=>getEndpointProperty(nd,qa));switch(typeof Ra){case"string":return evaluateTemplate(Ra,qa);case"object":if(Ra===null)throw new EndpointError(`Unexpected endpoint property: ${Ra}`);return getEndpointProperties(Ra,qa);case"boolean":return Ra;default:throw new EndpointError(`Unexpected endpoint property type: ${typeof Ra}`)}},getEndpointProperties=(Ra,qa)=>Object.entries(Ra).reduce((nd,[od,ld])=>({...nd,[od]:getEndpointProperty(ld,qa)}),{}),getEndpointUrl=(Ra,qa)=>{const nd=evaluateExpression(Ra,"Endpoint URL",qa);if(typeof nd=="string")try{return new URL(nd)}catch(od){throw console.error(`Failed to construct URL with ${nd}`,od),od}throw new EndpointError(`Endpoint URL must be a string, got ${typeof nd}`)},evaluateEndpointRule=(Ra,qa)=>{var vd,Ad;const{conditions:nd,endpoint:od}=Ra,{result:ld,referenceRecord:ud}=evaluateConditions(nd,qa);if(!ld)return;const dd={...qa,referenceRecord:{...qa.referenceRecord,...ud}},{url:pd,properties:fd,headers:md}=od;return(Ad=(vd=qa.logger)==null?void 0:vd.debug)==null||Ad.call(vd,`${debugId} Resolving endpoint from template: ${toDebugString(od)}`),{...md!=null&&{headers:getEndpointHeaders(md,dd)},...fd!=null&&{properties:getEndpointProperties(fd,dd)},url:getEndpointUrl(pd,dd)}},evaluateErrorRule=(Ra,qa)=>{const{conditions:nd,error:od}=Ra,{result:ld,referenceRecord:ud}=evaluateConditions(nd,qa);if(ld)throw new EndpointError(evaluateExpression(od,"Error",{...qa,referenceRecord:{...qa.referenceRecord,...ud}}))},evaluateTreeRule=(Ra,qa)=>{const{conditions:nd,rules:od}=Ra,{result:ld,referenceRecord:ud}=evaluateConditions(nd,qa);if(ld)return evaluateRules(od,{...qa,referenceRecord:{...qa.referenceRecord,...ud}})},evaluateRules=(Ra,qa)=>{for(const nd of Ra)if(nd.type==="endpoint"){const od=evaluateEndpointRule(nd,qa);if(od)return od}else if(nd.type==="error")evaluateErrorRule(nd,qa);else if(nd.type==="tree"){const od=evaluateTreeRule(nd,qa);if(od)return od}else throw new EndpointError(`Unknown endpoint rule: ${nd}`);throw new EndpointError("Rules evaluation failed")},resolveEndpoint=(Ra,qa)=>{var md,vd,Ad,Nd;const{endpointParams:nd,logger:od}=qa,{parameters:ld,rules:ud}=Ra;(vd=(md=qa.logger)==null?void 0:md.debug)==null||vd.call(md,`${debugId} Initial EndpointParams: ${toDebugString(nd)}`);const dd=Object.entries(ld).filter(([,Id])=>Id.default!=null).map(([Id,Od])=>[Id,Od.default]);if(dd.length>0)for(const[Id,Od]of dd)nd[Id]=nd[Id]??Od;const pd=Object.entries(ld).filter(([,Id])=>Id.required).map(([Id])=>Id);for(const Id of pd)if(nd[Id]==null)throw new EndpointError(`Missing required parameter: '${Id}'`);const fd=evaluateRules(ud,{endpointParams:nd,logger:od,referenceRecord:{}});return(Nd=(Ad=qa.logger)==null?void 0:Ad.debug)==null||Nd.call(Ad,`${debugId} Resolved endpoint: ${toDebugString(fd)}`),fd},isVirtualHostableS3Bucket=(Ra,qa=!1)=>{if(qa){for(const nd of Ra.split("."))if(!isVirtualHostableS3Bucket(nd))return!1;return!0}return!(!isValidHostLabel(Ra)||Ra.length<3||Ra.length>63||Ra!==Ra.toLowerCase()||isIpAddress(Ra))},ARN_DELIMITER=":",RESOURCE_DELIMITER="/",parseArn=Ra=>{const qa=Ra.split(ARN_DELIMITER);if(qa.length<6)return null;const[nd,od,ld,ud,dd,...pd]=qa;if(nd!=="arn"||od===""||ld===""||pd.join(ARN_DELIMITER)==="")return null;const fd=pd.map(md=>md.split(RESOURCE_DELIMITER)).flat();return{partition:od,service:ld,region:ud,accountId:dd,resourceId:fd}},partitions=[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version$1="1.1",partitionsInfo={partitions,version:version$1};let selectedPartitionsInfo=partitionsInfo;const partition=Ra=>{const{partitions:qa}=selectedPartitionsInfo;for(const od of qa){const{regions:ld,outputs:ud}=od;for(const[dd,pd]of Object.entries(ld))if(dd===Ra)return{...ud,...pd}}for(const od of qa){const{regionRegex:ld,outputs:ud}=od;if(new RegExp(ld).test(Ra))return{...ud}}const nd=qa.find(od=>od.id==="aws");if(!nd)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...nd.outputs}},awsEndpointFunctions={isVirtualHostableS3Bucket,parseArn,partition};customEndpointFunctions.aws=awsEndpointFunctions;const ACCOUNT_ID_ENDPOINT_REGEX=/\d{12}\.ddb/;async function checkFeatures(Ra,qa,nd){var ud,dd,pd,fd,md,vd,Ad;const od=nd.request;if(((ud=od==null?void 0:od.headers)==null?void 0:ud["smithy-protocol"])==="rpc-v2-cbor"&&setFeature$1(Ra,"PROTOCOL_RPC_V2_CBOR","M"),typeof qa.retryStrategy=="function"){const Nd=await qa.retryStrategy();typeof Nd.acquireInitialRetryToken=="function"?(pd=(dd=Nd.constructor)==null?void 0:dd.name)!=null&&pd.includes("Adaptive")?setFeature$1(Ra,"RETRY_MODE_ADAPTIVE","F"):setFeature$1(Ra,"RETRY_MODE_STANDARD","E"):setFeature$1(Ra,"RETRY_MODE_LEGACY","D")}if(typeof qa.accountIdEndpointMode=="function"){const Nd=Ra.endpointV2;switch(String((fd=Nd==null?void 0:Nd.url)==null?void 0:fd.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)&&setFeature$1(Ra,"ACCOUNT_ID_ENDPOINT","O"),await((md=qa.accountIdEndpointMode)==null?void 0:md.call(qa))){case"disabled":setFeature$1(Ra,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":setFeature$1(Ra,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":setFeature$1(Ra,"ACCOUNT_ID_MODE_REQUIRED","R");break}}const ld=(Ad=(vd=Ra.__smithy_context)==null?void 0:vd.selectedHttpAuthScheme)==null?void 0:Ad.identity;if(ld!=null&&ld.$source){const Nd=ld;Nd.accountId&&setFeature$1(Ra,"RESOLVED_ACCOUNT_ID","T");for(const[Id,Od]of Object.entries(Nd.$source??{}))setFeature$1(Ra,Id,Od)}}const USER_AGENT="user-agent",X_AMZ_USER_AGENT="x-amz-user-agent",SPACE=" ",UA_NAME_SEPARATOR="/",UA_NAME_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,UA_VALUE_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,UA_ESCAPE_CHAR="-",BYTE_LIMIT=1024;function encodeFeatures(Ra){let qa="";for(const nd in Ra){const od=Ra[nd];if(qa.length+od.length+1<=BYTE_LIMIT){qa.length?qa+=","+od:qa+=od;continue}break}return qa}const userAgentMiddleware=Ra=>(qa,nd)=>async od=>{var Id,Od,Md,Ud;const{request:ld}=od;if(!HttpRequest.isInstance(ld))return qa(od);const{headers:ud}=ld,dd=((Id=nd==null?void 0:nd.userAgent)==null?void 0:Id.map(escapeUserAgent))||[],pd=(await Ra.defaultUserAgentProvider()).map(escapeUserAgent);await checkFeatures(nd,Ra,od);const fd=nd;pd.push(`m/${encodeFeatures(Object.assign({},(Od=nd.__smithy_context)==null?void 0:Od.features,(Md=fd.__aws_sdk_context)==null?void 0:Md.features))}`);const md=((Ud=Ra==null?void 0:Ra.customUserAgent)==null?void 0:Ud.map(escapeUserAgent))||[],vd=await Ra.userAgentAppId();vd&&pd.push(escapeUserAgent([`app/${vd}`]));const Ad=[].concat([...pd,...dd,...md]).join(SPACE),Nd=[...pd.filter(jd=>jd.startsWith("aws-sdk-")),...md].join(SPACE);return Ra.runtime!=="browser"?(Nd&&(ud[X_AMZ_USER_AGENT]=ud[X_AMZ_USER_AGENT]?`${ud[USER_AGENT]} ${Nd}`:Nd),ud[USER_AGENT]=Ad):ud[X_AMZ_USER_AGENT]=Ad,qa({...od,request:ld})},escapeUserAgent=Ra=>{var dd;const qa=Ra[0].split(UA_NAME_SEPARATOR).map(pd=>pd.replace(UA_NAME_ESCAPE_REGEX,UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR),nd=(dd=Ra[1])==null?void 0:dd.replace(UA_VALUE_ESCAPE_REGEX,UA_ESCAPE_CHAR),od=qa.indexOf(UA_NAME_SEPARATOR),ld=qa.substring(0,od);let ud=qa.substring(od+1);return ld==="api"&&(ud=ud.toLowerCase()),[ld,ud,nd].filter(pd=>pd&&pd.length>0).reduce((pd,fd,md)=>{switch(md){case 0:return fd;case 1:return`${pd}/${fd}`;default:return`${pd}#${fd}`}},"")},getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},getUserAgentPlugin=Ra=>({applyToStack:qa=>{qa.add(userAgentMiddleware(Ra),getUserAgentMiddlewareOptions)}}),DEFAULT_USE_DUALSTACK_ENDPOINT=!1,DEFAULT_USE_FIPS_ENDPOINT=!1,isFipsRegion=Ra=>typeof Ra=="string"&&(Ra.startsWith("fips-")||Ra.endsWith("-fips")),getRealRegion=Ra=>isFipsRegion(Ra)?["fips-aws-global","aws-fips"].includes(Ra)?"us-east-1":Ra.replace(/fips-(dkr-|prod-)?|-fips/,""):Ra,resolveRegionConfig=Ra=>{const{region:qa,useFipsEndpoint:nd}=Ra;if(!qa)throw new Error("Region is missing");return{...Ra,region:async()=>{if(typeof qa=="string")return getRealRegion(qa);const od=await qa();return getRealRegion(od)},useFipsEndpoint:async()=>{const od=typeof qa=="string"?qa:await qa();return isFipsRegion(od)?!0:typeof nd!="function"?Promise.resolve(!!nd):nd()}}},resolveEventStreamSerdeConfig=Ra=>({...Ra,eventStreamMarshaller:Ra.eventStreamSerdeProvider(Ra)}),CONTENT_LENGTH_HEADER="content-length";function contentLengthMiddleware(Ra){return qa=>async nd=>{const od=nd.request;if(HttpRequest.isInstance(od)){const{body:ld,headers:ud}=od;if(ld&&Object.keys(ud).map(dd=>dd.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER)===-1)try{const dd=Ra(ld);od.headers={...od.headers,[CONTENT_LENGTH_HEADER]:String(dd)}}catch{}}return qa({...nd,request:od})}}const contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},getContentLengthPlugin=Ra=>({applyToStack:qa=>{qa.add(contentLengthMiddleware(Ra.bodyLengthChecker),contentLengthMiddlewareOptions)}}),resolveParamsForS3=async Ra=>{const qa=(Ra==null?void 0:Ra.Bucket)||"";if(typeof Ra.Bucket=="string"&&(Ra.Bucket=qa.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),isArnBucketName(qa)){if(Ra.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!isDnsCompatibleBucketName(qa)||qa.indexOf(".")!==-1&&!String(Ra.Endpoint).startsWith("http:")||qa.toLowerCase()!==qa||qa.length<3)&&(Ra.ForcePathStyle=!0);return Ra.DisableMultiRegionAccessPoints&&(Ra.disableMultiRegionAccessPoints=!0,Ra.DisableMRAP=!0),Ra},DOMAIN_PATTERN=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,IP_ADDRESS_PATTERN=/(\d+\.){3}\d+/,DOTS_PATTERN=/\.\./,isDnsCompatibleBucketName=Ra=>DOMAIN_PATTERN.test(Ra)&&!IP_ADDRESS_PATTERN.test(Ra)&&!DOTS_PATTERN.test(Ra),isArnBucketName=Ra=>{const[qa,nd,od,,,ld]=Ra.split(":"),ud=qa==="arn"&&Ra.split(":").length>=6,dd=!!(ud&&nd&&od&&ld);if(ud&&!dd)throw new Error(`Invalid ARN: ${Ra} was an invalid ARN.`);return dd},createConfigValueProvider=(Ra,qa,nd)=>{const od=async()=>{const ld=nd[Ra]??nd[qa];return typeof ld=="function"?ld():ld};return Ra==="credentialScope"||qa==="CredentialScope"?async()=>{const ld=typeof nd.credentials=="function"?await nd.credentials():nd.credentials;return(ld==null?void 0:ld.credentialScope)??(ld==null?void 0:ld.CredentialScope)}:Ra==="accountId"||qa==="AccountId"?async()=>{const ld=typeof nd.credentials=="function"?await nd.credentials():nd.credentials;return(ld==null?void 0:ld.accountId)??(ld==null?void 0:ld.AccountId)}:Ra==="endpoint"||qa==="endpoint"?async()=>{const ld=await od();if(ld&&typeof ld=="object"){if("url"in ld)return ld.url.href;if("hostname"in ld){const{protocol:ud,hostname:dd,port:pd,path:fd}=ld;return`${ud}//${dd}${pd?":"+pd:""}${fd}`}}return ld}:od},getEndpointFromConfig=async Ra=>{};function parseQueryString(Ra){const qa={};if(Ra=Ra.replace(/^\?/,""),Ra)for(const nd of Ra.split("&")){let[od,ld=null]=nd.split("=");od=decodeURIComponent(od),ld&&(ld=decodeURIComponent(ld)),od in qa?Array.isArray(qa[od])?qa[od].push(ld):qa[od]=[qa[od],ld]:qa[od]=ld}return qa}const parseUrl=Ra=>{if(typeof Ra=="string")return parseUrl(new URL(Ra));const{hostname:qa,pathname:nd,port:od,protocol:ld,search:ud}=Ra;let dd;return ud&&(dd=parseQueryString(ud)),{hostname:qa,port:od?parseInt(od):void 0,protocol:ld,path:nd,query:dd}},toEndpointV1=Ra=>typeof Ra=="object"?"url"in Ra?parseUrl(Ra.url):Ra:parseUrl(Ra),getEndpointFromInstructions=async(Ra,qa,nd,od)=>{if(!nd.endpoint){let dd;nd.serviceConfiguredEndpoint?dd=await nd.serviceConfiguredEndpoint():dd=await getEndpointFromConfig(nd.serviceId),dd&&(nd.endpoint=()=>Promise.resolve(toEndpointV1(dd)))}const ld=await resolveParams(Ra,qa,nd);if(typeof nd.endpointProvider!="function")throw new Error("config.endpointProvider is not set.");return nd.endpointProvider(ld,od)},resolveParams=async(Ra,qa,nd)=>{var ud;const od={},ld=((ud=qa==null?void 0:qa.getEndpointParameterInstructions)==null?void 0:ud.call(qa))||{};for(const[dd,pd]of Object.entries(ld))switch(pd.type){case"staticContextParams":od[dd]=pd.value;break;case"contextParams":od[dd]=Ra[pd.name];break;case"clientContextParams":case"builtInParams":od[dd]=await createConfigValueProvider(pd.name,dd,nd)();break;case"operationContextParams":od[dd]=pd.get(Ra);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(pd))}return Object.keys(ld).length===0&&Object.assign(od,nd),String(nd.serviceId).toLowerCase()==="s3"&&await resolveParamsForS3(od),od},endpointMiddleware=({config:Ra,instructions:qa})=>(nd,od)=>async ld=>{var pd,fd,md;Ra.endpoint&&setFeature(od,"ENDPOINT_OVERRIDE","N");const ud=await getEndpointFromInstructions(ld.input,{getEndpointParameterInstructions(){return qa}},{...Ra},od);od.endpointV2=ud,od.authSchemes=(pd=ud.properties)==null?void 0:pd.authSchemes;const dd=(fd=od.authSchemes)==null?void 0:fd[0];if(dd){od.signing_region=dd.signingRegion,od.signing_service=dd.signingName;const vd=getSmithyContext(od),Ad=(md=vd==null?void 0:vd.selectedHttpAuthScheme)==null?void 0:md.httpAuthOption;Ad&&(Ad.signingProperties=Object.assign(Ad.signingProperties||{},{signing_region:dd.signingRegion,signingRegion:dd.signingRegion,signing_service:dd.signingName,signingName:dd.signingName,signingRegionSet:dd.signingRegionSet},dd.properties))}return nd({...ld})},endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:serializerMiddlewareOption.name},getEndpointPlugin=(Ra,qa)=>({applyToStack:nd=>{nd.addRelativeTo(endpointMiddleware({config:Ra,instructions:qa}),endpointMiddlewareOptions)}}),resolveEndpointConfig=Ra=>{const qa=Ra.tls??!0,{endpoint:nd}=Ra,od=nd!=null?async()=>toEndpointV1(await normalizeProvider$1(nd)()):void 0,ud={...Ra,endpoint:od,tls:qa,isCustomEndpoint:!!nd,useDualstackEndpoint:normalizeProvider$1(Ra.useDualstackEndpoint??!1),useFipsEndpoint:normalizeProvider$1(Ra.useFipsEndpoint??!1)};let dd;return ud.serviceConfiguredEndpoint=async()=>(Ra.serviceId&&!dd&&(dd=getEndpointFromConfig(Ra.serviceId)),dd),ud};var RETRY_MODES;(function(Ra){Ra.STANDARD="standard",Ra.ADAPTIVE="adaptive"})(RETRY_MODES||(RETRY_MODES={}));const DEFAULT_MAX_ATTEMPTS=3,DEFAULT_RETRY_MODE=RETRY_MODES.STANDARD,THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],TRANSIENT_ERROR_CODES=["TimeoutError","RequestTimeout","RequestTimeoutException"],TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504],NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],isClockSkewCorrectedError=Ra=>{var qa;return(qa=Ra.$metadata)==null?void 0:qa.clockSkewCorrected},isThrottlingError=Ra=>{var qa,nd;return((qa=Ra.$metadata)==null?void 0:qa.httpStatusCode)===429||THROTTLING_ERROR_CODES.includes(Ra.name)||((nd=Ra.$retryable)==null?void 0:nd.throttling)==!0},isTransientError=(Ra,qa=0)=>{var nd;return isClockSkewCorrectedError(Ra)||TRANSIENT_ERROR_CODES.includes(Ra.name)||NODEJS_TIMEOUT_ERROR_CODES.includes((Ra==null?void 0:Ra.code)||"")||TRANSIENT_ERROR_STATUS_CODES.includes(((nd=Ra.$metadata)==null?void 0:nd.httpStatusCode)||0)||Ra.cause!==void 0&&qa<=10&&isTransientError(Ra.cause,qa+1)},isServerError=Ra=>{var qa;if(((qa=Ra.$metadata)==null?void 0:qa.httpStatusCode)!==void 0){const nd=Ra.$metadata.httpStatusCode;return 500<=nd&&nd<=599&&!isTransientError(Ra)}return!1};class DefaultRateLimiter{constructor(qa){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(qa==null?void 0:qa.beta)??.7,this.minCapacity=(qa==null?void 0:qa.minCapacity)??1,this.minFillRate=(qa==null?void 0:qa.minFillRate)??.5,this.scaleConstant=(qa==null?void 0:qa.scaleConstant)??.4,this.smooth=(qa==null?void 0:qa.smooth)??.8;const nd=this.getCurrentTimeInSeconds();this.lastThrottleTime=nd,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(qa){if(this.enabled){if(this.refillTokenBucket(),qa>this.currentCapacity){const nd=(qa-this.currentCapacity)/this.fillRate*1e3;await new Promise(od=>DefaultRateLimiter.setTimeoutFn(od,nd))}this.currentCapacity=this.currentCapacity-qa}}refillTokenBucket(){const qa=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=qa;return}const nd=(qa-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+nd),this.lastTimestamp=qa}updateClientSendingRate(qa){let nd;if(this.updateMeasuredRate(),isThrottlingError(qa)){const ld=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=ld,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),nd=this.cubicThrottle(ld),this.enableTokenBucket()}else this.calculateTimeWindow(),nd=this.cubicSuccess(this.getCurrentTimeInSeconds());const od=Math.min(nd,2*this.measuredTxRate);this.updateTokenBucketRate(od)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(qa){return this.getPrecise(qa*this.beta)}cubicSuccess(qa){return this.getPrecise(this.scaleConstant*Math.pow(qa-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(qa){this.refillTokenBucket(),this.fillRate=Math.max(qa,this.minFillRate),this.maxCapacity=Math.max(qa,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const qa=this.getCurrentTimeInSeconds(),nd=Math.floor(qa*2)/2;if(this.requestCount++,nd>this.lastTxRateBucket){const od=this.requestCount/(nd-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(od*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=nd}}getPrecise(qa){return parseFloat(qa.toFixed(8))}}DefaultRateLimiter.setTimeoutFn=setTimeout;const DEFAULT_RETRY_DELAY_BASE=100,MAXIMUM_RETRY_DELAY=20*1e3,THROTTLING_RETRY_DELAY_BASE=500,INITIAL_RETRY_TOKENS=500,RETRY_COST=5,TIMEOUT_RETRY_COST=10,NO_RETRY_INCREMENT=1,INVOCATION_ID_HEADER="amz-sdk-invocation-id",REQUEST_HEADER="amz-sdk-request",getDefaultRetryBackoffStrategy=()=>{let Ra=DEFAULT_RETRY_DELAY_BASE;return{computeNextBackoffDelay:od=>Math.floor(Math.min(MAXIMUM_RETRY_DELAY,Math.random()*2**od*Ra)),setDelayBase:od=>{Ra=od}}},createDefaultRetryToken=({retryDelay:Ra,retryCount:qa,retryCost:nd})=>({getRetryCount:()=>qa,getRetryDelay:()=>Math.min(MAXIMUM_RETRY_DELAY,Ra),getRetryCost:()=>nd});class StandardRetryStrategy{constructor(qa){this.maxAttempts=qa,this.mode=RETRY_MODES.STANDARD,this.capacity=INITIAL_RETRY_TOKENS,this.retryBackoffStrategy=getDefaultRetryBackoffStrategy(),this.maxAttemptsProvider=typeof qa=="function"?qa:async()=>qa}async acquireInitialRetryToken(qa){return createDefaultRetryToken({retryDelay:DEFAULT_RETRY_DELAY_BASE,retryCount:0})}async refreshRetryTokenForRetry(qa,nd){const od=await this.getMaxAttempts();if(this.shouldRetry(qa,nd,od)){const ld=nd.errorType;this.retryBackoffStrategy.setDelayBase(ld==="THROTTLING"?THROTTLING_RETRY_DELAY_BASE:DEFAULT_RETRY_DELAY_BASE);const ud=this.retryBackoffStrategy.computeNextBackoffDelay(qa.getRetryCount()),dd=nd.retryAfterHint?Math.max(nd.retryAfterHint.getTime()-Date.now()||0,ud):ud,pd=this.getCapacityCost(ld);return this.capacity-=pd,createDefaultRetryToken({retryDelay:dd,retryCount:qa.getRetryCount()+1,retryCost:pd})}throw new Error("No retry token available")}recordSuccess(qa){this.capacity=Math.max(INITIAL_RETRY_TOKENS,this.capacity+(qa.getRetryCost()??NO_RETRY_INCREMENT))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`),DEFAULT_MAX_ATTEMPTS}}shouldRetry(qa,nd,od){return qa.getRetryCount()+1<od&&this.capacity>=this.getCapacityCost(nd.errorType)&&this.isRetryableError(nd.errorType)}getCapacityCost(qa){return qa==="TRANSIENT"?TIMEOUT_RETRY_COST:RETRY_COST}isRetryableError(qa){return qa==="THROTTLING"||qa==="TRANSIENT"}}class AdaptiveRetryStrategy{constructor(qa,nd){this.maxAttemptsProvider=qa,this.mode=RETRY_MODES.ADAPTIVE;const{rateLimiter:od}=nd??{};this.rateLimiter=od??new DefaultRateLimiter,this.standardRetryStrategy=new StandardRetryStrategy(qa)}async acquireInitialRetryToken(qa){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(qa)}async refreshRetryTokenForRetry(qa,nd){return this.rateLimiter.updateClientSendingRate(nd),this.standardRetryStrategy.refreshRetryTokenForRetry(qa,nd)}recordSuccess(qa){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(qa)}}let getRandomValues$1;const rnds8$1=new Uint8Array(16);function rng$1(){if(!getRandomValues$1&&(getRandomValues$1=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues$1))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues$1(rnds8$1)}const byteToHex$1=[];for(let Ra=0;Ra<256;++Ra)byteToHex$1.push((Ra+256).toString(16).slice(1));function unsafeStringify$1(Ra,qa=0){return byteToHex$1[Ra[qa+0]]+byteToHex$1[Ra[qa+1]]+byteToHex$1[Ra[qa+2]]+byteToHex$1[Ra[qa+3]]+"-"+byteToHex$1[Ra[qa+4]]+byteToHex$1[Ra[qa+5]]+"-"+byteToHex$1[Ra[qa+6]]+byteToHex$1[Ra[qa+7]]+"-"+byteToHex$1[Ra[qa+8]]+byteToHex$1[Ra[qa+9]]+"-"+byteToHex$1[Ra[qa+10]]+byteToHex$1[Ra[qa+11]]+byteToHex$1[Ra[qa+12]]+byteToHex$1[Ra[qa+13]]+byteToHex$1[Ra[qa+14]]+byteToHex$1[Ra[qa+15]]}const randomUUID$1=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native$1={randomUUID:randomUUID$1};function v4$1(Ra,qa,nd){if(native$1.randomUUID&&!qa&&!Ra)return native$1.randomUUID();Ra=Ra||{};const od=Ra.random||(Ra.rng||rng$1)();return od[6]=od[6]&15|64,od[8]=od[8]&63|128,unsafeStringify$1(od)}const asSdkError=Ra=>Ra instanceof Error?Ra:Ra instanceof Object?Object.assign(new Error,Ra):typeof Ra=="string"?new Error(Ra):new Error(`AWS SDK error wrapper for ${Ra}`),resolveRetryConfig=Ra=>{const{retryStrategy:qa}=Ra,nd=normalizeProvider$1(Ra.maxAttempts??DEFAULT_MAX_ATTEMPTS);return{...Ra,maxAttempts:nd,retryStrategy:async()=>qa||(await normalizeProvider$1(Ra.retryMode)()===RETRY_MODES.ADAPTIVE?new AdaptiveRetryStrategy(nd):new StandardRetryStrategy(nd))}},isStreamingPayload=Ra=>(Ra==null?void 0:Ra.body)instanceof ReadableStream,retryMiddleware=Ra=>(qa,nd)=>async od=>{var dd;let ld=await Ra.retryStrategy();const ud=await Ra.maxAttempts();if(isRetryStrategyV2(ld)){ld=ld;let pd=await ld.acquireInitialRetryToken(nd.partition_id),fd=new Error,md=0,vd=0;const{request:Ad}=od,Nd=HttpRequest.isInstance(Ad);for(Nd&&(Ad.headers[INVOCATION_ID_HEADER]=v4$1());;)try{Nd&&(Ad.headers[REQUEST_HEADER]=`attempt=${md+1}; max=${ud}`);const{response:Id,output:Od}=await qa(od);return ld.recordSuccess(pd),Od.$metadata.attempts=md+1,Od.$metadata.totalRetryDelay=vd,{response:Id,output:Od}}catch(Id){const Od=getRetryErrorInfo(Id);if(fd=asSdkError(Id),Nd&&isStreamingPayload(Ad))throw(dd=nd.logger instanceof NoOpLogger?console:nd.logger)==null||dd.warn("An error was encountered in a non-retryable streaming request."),fd;try{pd=await ld.refreshRetryTokenForRetry(pd,Od)}catch{throw fd.$metadata||(fd.$metadata={}),fd.$metadata.attempts=md+1,fd.$metadata.totalRetryDelay=vd,fd}md=pd.getRetryCount();const Md=pd.getRetryDelay();vd+=Md,await new Promise(Ud=>setTimeout(Ud,Md))}}else return ld=ld,ld!=null&&ld.mode&&(nd.userAgent=[...nd.userAgent||[],["cfg/retry-mode",ld.mode]]),ld.retry(qa,od)},isRetryStrategyV2=Ra=>typeof Ra.acquireInitialRetryToken<"u"&&typeof Ra.refreshRetryTokenForRetry<"u"&&typeof Ra.recordSuccess<"u",getRetryErrorInfo=Ra=>{const qa={error:Ra,errorType:getRetryErrorType(Ra)},nd=getRetryAfterHint(Ra.$response);return nd&&(qa.retryAfterHint=nd),qa},getRetryErrorType=Ra=>isThrottlingError(Ra)?"THROTTLING":isTransientError(Ra)?"TRANSIENT":isServerError(Ra)?"SERVER_ERROR":"CLIENT_ERROR",retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},getRetryPlugin=Ra=>({applyToStack:qa=>{qa.add(retryMiddleware(Ra),retryMiddlewareOptions)}}),getRetryAfterHint=Ra=>{if(!HttpResponse.isInstance(Ra))return;const qa=Object.keys(Ra.headers).find(ud=>ud.toLowerCase()==="retry-after");if(!qa)return;const nd=Ra.headers[qa],od=Number(nd);return Number.isNaN(od)?new Date(nd):new Date(od*1e3)},signatureV4CrtContainer={CrtSignerV4:null};class SignatureV4MultiRegion{constructor(qa){this.sigv4Signer=new SignatureV4S3Express(qa),this.signerOptions=qa}async sign(qa,nd={}){if(nd.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(qa,nd)}return this.sigv4Signer.sign(qa,nd)}async signWithCredentials(qa,nd,od={}){if(od.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().signWithCredentials(qa,nd,od)}return this.sigv4Signer.signWithCredentials(qa,nd,od)}async presign(qa,nd={}){if(nd.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(qa,nd)}return this.sigv4Signer.presign(qa,nd)}async presignWithCredentials(qa,nd,od={}){if(od.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(qa,nd,od)}getSigv4aSigner(){if(!this.sigv4aSigner){let qa=null;try{if(qa=signatureV4CrtContainer.CrtSignerV4,typeof qa!="function")throw new Error}catch(nd){throw nd.message=`${nd.message}
|
||
Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly.
|
||
You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";].
|
||
For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,nd}this.sigv4aSigner=new qa({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}const ci="required",cj="type",ck="conditions",cl="fn",cm="argv",cn="ref",co="assign",cp="url",cq="properties",cr="backend",cs="authSchemes",ct="disableDoubleEncoding",cu="signingName",cv="signingRegion",cw="headers",cx="signingRegionSet",a=6,b=!1,c=!0,d="isSet",e="booleanEquals",f="error",g$2="aws.partition",h="stringEquals",i="getAttr",j="name",k="substring",l="bucketSuffix",m="parseURL",n="{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",o="endpoint",p="tree",q="aws.isVirtualHostableS3Bucket",r="{url#scheme}://{Bucket}.{url#authority}{url#path}",s="not",t="{url#scheme}://{url#authority}{url#path}",u="hardwareType",v="regionPrefix",w="bucketAliasSuffix",x="outpostId",y="isValidHostLabel",z="sigv4a",A="s3-outposts",B="s3",C="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",D="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",E="https://{Bucket}.s3.{partitionResult#dnsSuffix}",F="aws.parseArn",G="bucketArn",H="arnType",I="",J="s3-object-lambda",K="accesspoint",L="accessPointName",M="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",N="mrapPartition",O="outpostType",P="arnPrefix",Q="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",R$1="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",S="https://s3.{partitionResult#dnsSuffix}",T={[ci]:!1,[cj]:"String"},U={[ci]:!0,default:!1,[cj]:"Boolean"},V={[ci]:!1,[cj]:"Boolean"},W={[cl]:e,[cm]:[{[cn]:"Accelerate"},!0]},X={[cl]:e,[cm]:[{[cn]:"UseFIPS"},!0]},Y={[cl]:e,[cm]:[{[cn]:"UseDualStack"},!0]},Z={[cl]:d,[cm]:[{[cn]:"Endpoint"}]},aa={[cl]:g$2,[cm]:[{[cn]:"Region"}],[co]:"partitionResult"},ab={[cl]:h,[cm]:[{[cl]:i,[cm]:[{[cn]:"partitionResult"},j]},"aws-cn"]},ac={[cl]:d,[cm]:[{[cn]:"Bucket"}]},ad={[cn]:"Bucket"},ae={[cl]:m,[cm]:[{[cn]:"Endpoint"}],[co]:"url"},af={[cl]:e,[cm]:[{[cl]:i,[cm]:[{[cn]:"url"},"isIp"]},!0]},ag={[cn]:"url"},ah={[cl]:"uriEncode",[cm]:[ad],[co]:"uri_encoded_bucket"},ai={[cr]:"S3Express",[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:"s3express",[cv]:"{Region}"}]},aj={},ak={[cl]:q,[cm]:[ad,!1]},al={[f]:"S3Express bucket name is not a valid virtual hostable name.",[cj]:f},am={[cr]:"S3Express",[cs]:[{[ct]:!0,[j]:"sigv4-s3express",[cu]:"s3express",[cv]:"{Region}"}]},an={[cl]:d,[cm]:[{[cn]:"UseS3ExpressControlEndpoint"}]},ao={[cl]:e,[cm]:[{[cn]:"UseS3ExpressControlEndpoint"},!0]},ap={[cl]:s,[cm]:[Z]},aq={[f]:"Unrecognized S3Express bucket name format.",[cj]:f},ar={[cl]:s,[cm]:[ac]},as={[cn]:u},at={[ck]:[ap],[f]:"Expected a endpoint to be specified but no endpoint was found",[cj]:f},au={[cs]:[{[ct]:!0,[j]:z,[cu]:A,[cx]:["*"]},{[ct]:!0,[j]:"sigv4",[cu]:A,[cv]:"{Region}"}]},av={[cl]:e,[cm]:[{[cn]:"ForcePathStyle"},!1]},aw={[cn]:"ForcePathStyle"},ax={[cl]:e,[cm]:[{[cn]:"Accelerate"},!1]},ay={[cl]:h,[cm]:[{[cn]:"Region"},"aws-global"]},az={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"us-east-1"}]},aA={[cl]:s,[cm]:[ay]},aB={[cl]:e,[cm]:[{[cn]:"UseGlobalEndpoint"},!0]},aC={[cp]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:{[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"{Region}"}]},[cw]:{}},aD={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"{Region}"}]},aE={[cl]:e,[cm]:[{[cn]:"UseGlobalEndpoint"},!1]},aF={[cl]:e,[cm]:[{[cn]:"UseDualStack"},!1]},aG={[cp]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aH={[cl]:e,[cm]:[{[cn]:"UseFIPS"},!1]},aI={[cp]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aJ={[cp]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aK={[cl]:e,[cm]:[{[cl]:i,[cm]:[ag,"isIp"]},!1]},aL={[cp]:C,[cq]:aD,[cw]:{}},aM={[cp]:r,[cq]:aD,[cw]:{}},aN={[o]:aM,[cj]:o},aO={[cp]:D,[cq]:aD,[cw]:{}},aP={[cp]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},aQ={[f]:"Invalid region: region was not a valid DNS name.",[cj]:f},aR={[cn]:G},aS={[cn]:H},aT={[cl]:i,[cm]:[aR,"service"]},aU={[cn]:L},aV={[ck]:[Y],[f]:"S3 Object Lambda does not support Dual-stack",[cj]:f},aW={[ck]:[W],[f]:"S3 Object Lambda does not support S3 Accelerate",[cj]:f},aX={[ck]:[{[cl]:d,[cm]:[{[cn]:"DisableAccessPoints"}]},{[cl]:e,[cm]:[{[cn]:"DisableAccessPoints"},!0]}],[f]:"Access points are not supported for this operation",[cj]:f},aY={[ck]:[{[cl]:d,[cm]:[{[cn]:"UseArnRegion"}]},{[cl]:e,[cm]:[{[cn]:"UseArnRegion"},!1]},{[cl]:s,[cm]:[{[cl]:h,[cm]:[{[cl]:i,[cm]:[aR,"region"]},"{Region}"]}]}],[f]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[cj]:f},aZ={[cl]:i,[cm]:[{[cn]:"bucketPartition"},j]},ba={[cl]:i,[cm]:[aR,"accountId"]},bb={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:J,[cv]:"{bucketArn#region}"}]},bc={[f]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[cj]:f},bd={[f]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[cj]:f},be={[f]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[cj]:f},bf={[f]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[cj]:f},bg={[f]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[cj]:f},bh={[f]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",[cj]:f},bi={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:B,[cv]:"{bucketArn#region}"}]},bj={[cs]:[{[ct]:!0,[j]:z,[cu]:A,[cx]:["*"]},{[ct]:!0,[j]:"sigv4",[cu]:A,[cv]:"{bucketArn#region}"}]},bk={[cl]:F,[cm]:[ad]},bl={[cp]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bm={[cp]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bn={[cp]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bo={[cp]:Q,[cq]:aD,[cw]:{}},bp={[cp]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:aD,[cw]:{}},bq={[cn]:"UseObjectLambdaEndpoint"},br={[cs]:[{[ct]:!0,[j]:"sigv4",[cu]:J,[cv]:"{Region}"}]},bs={[cp]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bt={[cp]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bu={[cp]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bv={[cp]:t,[cq]:aD,[cw]:{}},bw={[cp]:"https://s3.{Region}.{partitionResult#dnsSuffix}",[cq]:aD,[cw]:{}},bx=[{[cn]:"Region"}],by=[{[cn]:"Endpoint"}],bz=[ad],bA=[Y],bB=[W],bC=[Z,ae],bD=[{[cl]:d,[cm]:[{[cn]:"DisableS3ExpressSessionAuth"}]},{[cl]:e,[cm]:[{[cn]:"DisableS3ExpressSessionAuth"},!0]}],bE=[af],bF=[ah],bG=[ak],bH=[X],bI=[{[cl]:k,[cm]:[ad,6,14,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,14,16,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bJ=[{[ck]:[X],[o]:{[cp]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:ai,[cw]:{}},[cj]:o},{[o]:{[cp]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:ai,[cw]:{}},[cj]:o}],bK=[{[cl]:k,[cm]:[ad,6,15,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,15,17,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bL=[{[cl]:k,[cm]:[ad,6,19,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,19,21,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bM=[{[cl]:k,[cm]:[ad,6,20,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,20,22,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bN=[{[cl]:k,[cm]:[ad,6,26,!0],[co]:"s3expressAvailabilityZoneId"},{[cl]:k,[cm]:[ad,26,28,!0],[co]:"s3expressAvailabilityZoneDelim"},{[cl]:h,[cm]:[{[cn]:"s3expressAvailabilityZoneDelim"},"--"]}],bO=[{[ck]:[X],[o]:{[cp]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:am,[cw]:{}},[cj]:o},{[o]:{[cp]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",[cq]:am,[cw]:{}},[cj]:o}],bP=[ac],bQ=[{[cl]:y,[cm]:[{[cn]:x},!1]}],bR=[{[cl]:h,[cm]:[{[cn]:v},"beta"]}],bS=["*"],bT=[aa],bU=[{[cl]:y,[cm]:[{[cn]:"Region"},!1]}],bV=[{[cl]:h,[cm]:[{[cn]:"Region"},"us-east-1"]}],bW=[{[cl]:h,[cm]:[aS,K]}],bX=[{[cl]:i,[cm]:[aR,"resourceId[1]"],[co]:L},{[cl]:s,[cm]:[{[cl]:h,[cm]:[aU,I]}]}],bY=[aR,"resourceId[1]"],bZ=[{[cl]:s,[cm]:[{[cl]:h,[cm]:[{[cl]:i,[cm]:[aR,"region"]},I]}]}],ca=[{[cl]:s,[cm]:[{[cl]:d,[cm]:[{[cl]:i,[cm]:[aR,"resourceId[2]"]}]}]}],cb=[aR,"resourceId[2]"],cc=[{[cl]:g$2,[cm]:[{[cl]:i,[cm]:[aR,"region"]}],[co]:"bucketPartition"}],cd=[{[cl]:h,[cm]:[aZ,{[cl]:i,[cm]:[{[cn]:"partitionResult"},j]}]}],ce=[{[cl]:y,[cm]:[{[cl]:i,[cm]:[aR,"region"]},!0]}],cf=[{[cl]:y,[cm]:[ba,!1]}],cg=[{[cl]:y,[cm]:[aU,!1]}],ch=[{[cl]:y,[cm]:[{[cn]:"Region"},!0]}],_data={version:"1.0",parameters:{Bucket:T,Region:T,UseFIPS:U,UseDualStack:U,Endpoint:T,ForcePathStyle:U,Accelerate:U,UseGlobalEndpoint:U,UseObjectLambdaEndpoint:V,Key:T,Prefix:T,CopySource:T,DisableAccessPoints:V,DisableMultiRegionAccessPoints:U,UseArnRegion:V,UseS3ExpressControlEndpoint:V,DisableS3ExpressSessionAuth:V},rules:[{[ck]:[{[cl]:d,[cm]:bx}],rules:[{[ck]:[W,X],error:"Accelerate cannot be used with FIPS",[cj]:f},{[ck]:[Y,Z],error:"Cannot set dual-stack in combination with a custom endpoint.",[cj]:f},{[ck]:[Z,X],error:"A custom endpoint cannot be combined with FIPS",[cj]:f},{[ck]:[Z,W],error:"A custom endpoint cannot be combined with S3 Accelerate",[cj]:f},{[ck]:[X,aa,ab],error:"Partition does not support FIPS",[cj]:f},{[ck]:[ac,{[cl]:k,[cm]:[ad,0,a,c],[co]:l},{[cl]:h,[cm]:[{[cn]:l},"--x-s3"]}],rules:[{[ck]:bA,error:"S3Express does not support Dual-stack.",[cj]:f},{[ck]:bB,error:"S3Express does not support S3 Accelerate.",[cj]:f},{[ck]:bC,rules:[{[ck]:bD,rules:[{[ck]:bE,rules:[{[ck]:bF,rules:[{endpoint:{[cp]:n,[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p}],[cj]:p},{[ck]:bG,rules:[{endpoint:{[cp]:r,[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p},al],[cj]:p},{[ck]:bE,rules:[{[ck]:bF,rules:[{endpoint:{[cp]:n,[cq]:am,[cw]:aj},[cj]:o}],[cj]:p}],[cj]:p},{[ck]:bG,rules:[{endpoint:{[cp]:r,[cq]:am,[cw]:aj},[cj]:o}],[cj]:p},al],[cj]:p},{[ck]:[an,ao],rules:[{[ck]:[ah,ap],rules:[{[ck]:bH,endpoint:{[cp]:"https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}",[cq]:ai,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}",[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p}],[cj]:p},{[ck]:bG,rules:[{[ck]:bD,rules:[{[ck]:bI,rules:bJ,[cj]:p},{[ck]:bK,rules:bJ,[cj]:p},{[ck]:bL,rules:bJ,[cj]:p},{[ck]:bM,rules:bJ,[cj]:p},{[ck]:bN,rules:bJ,[cj]:p},aq],[cj]:p},{[ck]:bI,rules:bO,[cj]:p},{[ck]:bK,rules:bO,[cj]:p},{[ck]:bL,rules:bO,[cj]:p},{[ck]:bM,rules:bO,[cj]:p},{[ck]:bN,rules:bO,[cj]:p},aq],[cj]:p},al],[cj]:p},{[ck]:[ar,an,ao],rules:[{[ck]:bC,endpoint:{[cp]:t,[cq]:ai,[cw]:aj},[cj]:o},{[ck]:bH,endpoint:{[cp]:"https://s3express-control-fips.{Region}.amazonaws.com",[cq]:ai,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://s3express-control.{Region}.amazonaws.com",[cq]:ai,[cw]:aj},[cj]:o}],[cj]:p},{[ck]:[ac,{[cl]:k,[cm]:[ad,49,50,c],[co]:u},{[cl]:k,[cm]:[ad,8,12,c],[co]:v},{[cl]:k,[cm]:[ad,0,7,c],[co]:w},{[cl]:k,[cm]:[ad,32,49,c],[co]:x},{[cl]:g$2,[cm]:bx,[co]:"regionPartition"},{[cl]:h,[cm]:[{[cn]:w},"--op-s3"]}],rules:[{[ck]:bQ,rules:[{[ck]:[{[cl]:h,[cm]:[as,"e"]}],rules:[{[ck]:bR,rules:[at,{[ck]:bC,endpoint:{[cp]:"https://{Bucket}.ec2.{url#authority}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{endpoint:{[cp]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{[ck]:[{[cl]:h,[cm]:[as,"o"]}],rules:[{[ck]:bR,rules:[at,{[ck]:bC,endpoint:{[cp]:"https://{Bucket}.op-{outpostId}.{url#authority}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{endpoint:{[cp]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[cq]:au,[cw]:aj},[cj]:o}],[cj]:p},{error:'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"',[cj]:f}],[cj]:p},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[cj]:f}],[cj]:p},{[ck]:bP,rules:[{[ck]:[Z,{[cl]:s,[cm]:[{[cl]:d,[cm]:[{[cl]:m,[cm]:by}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[cj]:f},{[ck]:[av,ak],rules:[{[ck]:bT,rules:[{[ck]:bU,rules:[{[ck]:[W,ab],error:"S3 Accelerate cannot be used in this region",[cj]:f},{[ck]:[Y,X,ax,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,X,ax,ap,aA,aB],rules:[{endpoint:aC,[cj]:o}],[cj]:p},{[ck]:[Y,X,ax,ap,aA,aE],endpoint:aC,[cj]:o},{[ck]:[aF,X,ax,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,X,ax,ap,aA,aB],rules:[{endpoint:aG,[cj]:o}],[cj]:p},{[ck]:[aF,X,ax,ap,aA,aE],endpoint:aG,[cj]:o},{[ck]:[Y,aH,W,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,aH,W,ap,aA,aB],rules:[{endpoint:aI,[cj]:o}],[cj]:p},{[ck]:[Y,aH,W,ap,aA,aE],endpoint:aI,[cj]:o},{[ck]:[Y,aH,ax,ap,ay],endpoint:{[cp]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,aH,ax,ap,aA,aB],rules:[{endpoint:aJ,[cj]:o}],[cj]:p},{[ck]:[Y,aH,ax,ap,aA,aE],endpoint:aJ,[cj]:o},{[ck]:[aF,aH,ax,Z,ae,af,ay],endpoint:{[cp]:C,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,ax,Z,ae,aK,ay],endpoint:{[cp]:r,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,ax,Z,ae,af,aA,aB],rules:[{[ck]:bV,endpoint:aL,[cj]:o},{endpoint:aL,[cj]:o}],[cj]:p},{[ck]:[aF,aH,ax,Z,ae,aK,aA,aB],rules:[{[ck]:bV,endpoint:aM,[cj]:o},aN],[cj]:p},{[ck]:[aF,aH,ax,Z,ae,af,aA,aE],endpoint:aL,[cj]:o},{[ck]:[aF,aH,ax,Z,ae,aK,aA,aE],endpoint:aM,[cj]:o},{[ck]:[aF,aH,W,ap,ay],endpoint:{[cp]:D,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,W,ap,aA,aB],rules:[{[ck]:bV,endpoint:aO,[cj]:o},{endpoint:aO,[cj]:o}],[cj]:p},{[ck]:[aF,aH,W,ap,aA,aE],endpoint:aO,[cj]:o},{[ck]:[aF,aH,ax,ap,ay],endpoint:{[cp]:E,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,aH,ax,ap,aA,aB],rules:[{[ck]:bV,endpoint:{[cp]:E,[cq]:aD,[cw]:aj},[cj]:o},{endpoint:aP,[cj]:o}],[cj]:p},{[ck]:[aF,aH,ax,ap,aA,aE],endpoint:aP,[cj]:o}],[cj]:p},aQ],[cj]:p}],[cj]:p},{[ck]:[Z,ae,{[cl]:h,[cm]:[{[cl]:i,[cm]:[ag,"scheme"]},"http"]},{[cl]:q,[cm]:[ad,c]},av,aH,aF,ax],rules:[{[ck]:bT,rules:[{[ck]:bU,rules:[aN],[cj]:p},aQ],[cj]:p}],[cj]:p},{[ck]:[av,{[cl]:F,[cm]:bz,[co]:G}],rules:[{[ck]:[{[cl]:i,[cm]:[aR,"resourceId[0]"],[co]:H},{[cl]:s,[cm]:[{[cl]:h,[cm]:[aS,I]}]}],rules:[{[ck]:[{[cl]:h,[cm]:[aT,J]}],rules:[{[ck]:bW,rules:[{[ck]:bX,rules:[aV,aW,{[ck]:bZ,rules:[aX,{[ck]:ca,rules:[aY,{[ck]:cc,rules:[{[ck]:bT,rules:[{[ck]:cd,rules:[{[ck]:ce,rules:[{[ck]:[{[cl]:h,[cm]:[ba,I]}],error:"Invalid ARN: Missing account id",[cj]:f},{[ck]:cf,rules:[{[ck]:cg,rules:[{[ck]:bC,endpoint:{[cp]:M,[cq]:bb,[cw]:aj},[cj]:o},{[ck]:bH,endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bb,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bb,[cw]:aj},[cj]:o}],[cj]:p},bc],[cj]:p},bd],[cj]:p},be],[cj]:p},bf],[cj]:p}],[cj]:p}],[cj]:p},bg],[cj]:p},{error:"Invalid ARN: bucket ARN is missing a region",[cj]:f}],[cj]:p},bh],[cj]:p},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[cj]:f}],[cj]:p},{[ck]:bW,rules:[{[ck]:bX,rules:[{[ck]:bZ,rules:[{[ck]:bW,rules:[{[ck]:bZ,rules:[aX,{[ck]:ca,rules:[aY,{[ck]:cc,rules:[{[ck]:bT,rules:[{[ck]:[{[cl]:h,[cm]:[aZ,"{partitionResult#name}"]}],rules:[{[ck]:ce,rules:[{[ck]:[{[cl]:h,[cm]:[aT,B]}],rules:[{[ck]:cf,rules:[{[ck]:cg,rules:[{[ck]:bB,error:"Access Points do not support S3 Accelerate",[cj]:f},{[ck]:[X,Y],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[X,aF],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[aH,Y],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[aH,aF,Z,ae],endpoint:{[cp]:M,[cq]:bi,[cw]:aj},[cj]:o},{[ck]:[aH,aF],endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bi,[cw]:aj},[cj]:o}],[cj]:p},bc],[cj]:p},bd],[cj]:p},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",[cj]:f}],[cj]:p},be],[cj]:p},bf],[cj]:p}],[cj]:p}],[cj]:p},bg],[cj]:p}],[cj]:p}],[cj]:p},{[ck]:[{[cl]:y,[cm]:[aU,c]}],rules:[{[ck]:bA,error:"S3 MRAP does not support dual-stack",[cj]:f},{[ck]:bH,error:"S3 MRAP does not support FIPS",[cj]:f},{[ck]:bB,error:"S3 MRAP does not support S3 Accelerate",[cj]:f},{[ck]:[{[cl]:e,[cm]:[{[cn]:"DisableMultiRegionAccessPoints"},c]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",[cj]:f},{[ck]:[{[cl]:g$2,[cm]:bx,[co]:N}],rules:[{[ck]:[{[cl]:h,[cm]:[{[cl]:i,[cm]:[{[cn]:N},j]},{[cl]:i,[cm]:[aR,"partition"]}]}],rules:[{endpoint:{[cp]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",[cq]:{[cs]:[{[ct]:c,name:z,[cu]:B,[cx]:bS}]},[cw]:aj},[cj]:o}],[cj]:p},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[cj]:f}],[cj]:p}],[cj]:p},{error:"Invalid Access Point Name",[cj]:f}],[cj]:p},bh],[cj]:p},{[ck]:[{[cl]:h,[cm]:[aT,A]}],rules:[{[ck]:bA,error:"S3 Outposts does not support Dual-stack",[cj]:f},{[ck]:bH,error:"S3 Outposts does not support FIPS",[cj]:f},{[ck]:bB,error:"S3 Outposts does not support S3 Accelerate",[cj]:f},{[ck]:[{[cl]:d,[cm]:[{[cl]:i,[cm]:[aR,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",[cj]:f},{[ck]:[{[cl]:i,[cm]:bY,[co]:x}],rules:[{[ck]:bQ,rules:[aY,{[ck]:cc,rules:[{[ck]:bT,rules:[{[ck]:cd,rules:[{[ck]:ce,rules:[{[ck]:cf,rules:[{[ck]:[{[cl]:i,[cm]:cb,[co]:O}],rules:[{[ck]:[{[cl]:i,[cm]:[aR,"resourceId[3]"],[co]:L}],rules:[{[ck]:[{[cl]:h,[cm]:[{[cn]:O},K]}],rules:[{[ck]:bC,endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",[cq]:bj,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",[cq]:bj,[cw]:aj},[cj]:o}],[cj]:p},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[cj]:f}],[cj]:p},{error:"Invalid ARN: expected an access point name",[cj]:f}],[cj]:p},{error:"Invalid ARN: Expected a 4-component resource",[cj]:f}],[cj]:p},bd],[cj]:p},be],[cj]:p},bf],[cj]:p}],[cj]:p}],[cj]:p},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[cj]:f}],[cj]:p},{error:"Invalid ARN: The Outpost Id was not set",[cj]:f}],[cj]:p},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",[cj]:f}],[cj]:p},{error:"Invalid ARN: No ARN type specified",[cj]:f}],[cj]:p},{[ck]:[{[cl]:k,[cm]:[ad,0,4,b],[co]:P},{[cl]:h,[cm]:[{[cn]:P},"arn:"]},{[cl]:s,[cm]:[{[cl]:d,[cm]:[bk]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[cj]:f},{[ck]:[{[cl]:e,[cm]:[aw,c]},bk],error:"Path-style addressing cannot be used with ARN buckets",[cj]:f},{[ck]:bF,rules:[{[ck]:bT,rules:[{[ck]:[ax],rules:[{[ck]:[Y,ap,X,ay],endpoint:{[cp]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,ap,X,aA,aB],rules:[{endpoint:bl,[cj]:o}],[cj]:p},{[ck]:[Y,ap,X,aA,aE],endpoint:bl,[cj]:o},{[ck]:[aF,ap,X,ay],endpoint:{[cp]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,ap,X,aA,aB],rules:[{endpoint:bm,[cj]:o}],[cj]:p},{[ck]:[aF,ap,X,aA,aE],endpoint:bm,[cj]:o},{[ck]:[Y,ap,aH,ay],endpoint:{[cp]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[Y,ap,aH,aA,aB],rules:[{endpoint:bn,[cj]:o}],[cj]:p},{[ck]:[Y,ap,aH,aA,aE],endpoint:bn,[cj]:o},{[ck]:[aF,Z,ae,aH,ay],endpoint:{[cp]:Q,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,Z,ae,aH,aA,aB],rules:[{[ck]:bV,endpoint:bo,[cj]:o},{endpoint:bo,[cj]:o}],[cj]:p},{[ck]:[aF,Z,ae,aH,aA,aE],endpoint:bo,[cj]:o},{[ck]:[aF,ap,aH,ay],endpoint:{[cp]:R$1,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aF,ap,aH,aA,aB],rules:[{[ck]:bV,endpoint:{[cp]:R$1,[cq]:aD,[cw]:aj},[cj]:o},{endpoint:bp,[cj]:o}],[cj]:p},{[ck]:[aF,ap,aH,aA,aE],endpoint:bp,[cj]:o}],[cj]:p},{error:"Path-style addressing cannot be used with S3 Accelerate",[cj]:f}],[cj]:p}],[cj]:p}],[cj]:p},{[ck]:[{[cl]:d,[cm]:[bq]},{[cl]:e,[cm]:[bq,c]}],rules:[{[ck]:bT,rules:[{[ck]:ch,rules:[aV,aW,{[ck]:bC,endpoint:{[cp]:t,[cq]:br,[cw]:aj},[cj]:o},{[ck]:bH,endpoint:{[cp]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",[cq]:br,[cw]:aj},[cj]:o},{endpoint:{[cp]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",[cq]:br,[cw]:aj},[cj]:o}],[cj]:p},aQ],[cj]:p}],[cj]:p},{[ck]:[ar],rules:[{[ck]:bT,rules:[{[ck]:ch,rules:[{[ck]:[X,Y,ap,ay],endpoint:{[cp]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[X,Y,ap,aA,aB],rules:[{endpoint:bs,[cj]:o}],[cj]:p},{[ck]:[X,Y,ap,aA,aE],endpoint:bs,[cj]:o},{[ck]:[X,aF,ap,ay],endpoint:{[cp]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[X,aF,ap,aA,aB],rules:[{endpoint:bt,[cj]:o}],[cj]:p},{[ck]:[X,aF,ap,aA,aE],endpoint:bt,[cj]:o},{[ck]:[aH,Y,ap,ay],endpoint:{[cp]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aH,Y,ap,aA,aB],rules:[{endpoint:bu,[cj]:o}],[cj]:p},{[ck]:[aH,Y,ap,aA,aE],endpoint:bu,[cj]:o},{[ck]:[aH,aF,Z,ae,ay],endpoint:{[cp]:t,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aH,aF,Z,ae,aA,aB],rules:[{[ck]:bV,endpoint:bv,[cj]:o},{endpoint:bv,[cj]:o}],[cj]:p},{[ck]:[aH,aF,Z,ae,aA,aE],endpoint:bv,[cj]:o},{[ck]:[aH,aF,ap,ay],endpoint:{[cp]:S,[cq]:az,[cw]:aj},[cj]:o},{[ck]:[aH,aF,ap,aA,aB],rules:[{[ck]:bV,endpoint:{[cp]:S,[cq]:aD,[cw]:aj},[cj]:o},{endpoint:bw,[cj]:o}],[cj]:p},{[ck]:[aH,aF,ap,aA,aE],endpoint:bw,[cj]:o}],[cj]:p},aQ],[cj]:p}],[cj]:p}],[cj]:p},{error:"A region must be set when sending requests to S3.",[cj]:f}]},ruleSet=_data,cache$1=new EndpointCache({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),defaultEndpointResolver=(Ra,qa={})=>cache$1.get(Ra,()=>resolveEndpoint(ruleSet,{endpointParams:Ra,logger:qa.logger}));customEndpointFunctions.aws=awsEndpointFunctions;const createEndpointRuleSetHttpAuthSchemeParametersProvider=Ra=>async(qa,nd,od)=>{var pd,fd,md;if(!od)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");const ld=await Ra(qa,nd,od),ud=(md=(fd=(pd=getSmithyContext(nd))==null?void 0:pd.commandInstance)==null?void 0:fd.constructor)==null?void 0:md.getEndpointParameterInstructions;if(!ud)throw new Error(`getEndpointParameterInstructions() is not defined on \`${nd.commandName}\``);const dd=await resolveParams(od,{getEndpointParameterInstructions:ud},qa);return Object.assign(ld,dd)},_defaultS3HttpAuthSchemeParametersProvider=async(Ra,qa,nd)=>({operation:getSmithyContext(qa).operation,region:await normalizeProvider$1(Ra.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),defaultS3HttpAuthSchemeParametersProvider=createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultS3HttpAuthSchemeParametersProvider);function createAwsAuthSigv4HttpAuthOption(Ra){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:Ra.region},propertiesExtractor:(qa,nd)=>({signingProperties:{config:qa,context:nd}})}}function createAwsAuthSigv4aHttpAuthOption(Ra){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:Ra.region},propertiesExtractor:(qa,nd)=>({signingProperties:{config:qa,context:nd}})}}const createEndpointRuleSetHttpAuthSchemeProvider=(Ra,qa,nd)=>ld=>{var fd;const dd=(fd=Ra(ld).properties)==null?void 0:fd.authSchemes;if(!dd)return qa(ld);const pd=[];for(const md of dd){const{name:vd,properties:Ad={},...Nd}=md,Id=vd.toLowerCase();vd!==Id&&console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${vd}\` to \`${Id}\``);let Od;if(Id==="sigv4a"){if(Od="aws.auth#sigv4a",dd.find(Ld=>{const Bd=Ld.name.toLowerCase();return Bd!=="sigv4a"&&Bd.startsWith("sigv4")}))continue}else if(Id.startsWith("sigv4"))Od="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${Id}\``);const Md=nd[Od];if(!Md)throw new Error(`Could not find HttpAuthOption create function for \`${Od}\``);const Ud=Md(ld);Ud.schemeId=Od,Ud.signingProperties={...Ud.signingProperties||{},...Nd,...Ad},pd.push(Ud)}return pd},_defaultS3HttpAuthSchemeProvider=Ra=>{const qa=[];switch(Ra.operation){default:qa.push(createAwsAuthSigv4HttpAuthOption(Ra)),qa.push(createAwsAuthSigv4aHttpAuthOption(Ra))}return qa},defaultS3HttpAuthSchemeProvider=createEndpointRuleSetHttpAuthSchemeProvider(defaultEndpointResolver,_defaultS3HttpAuthSchemeProvider,{"aws.auth#sigv4":createAwsAuthSigv4HttpAuthOption,"aws.auth#sigv4a":createAwsAuthSigv4aHttpAuthOption}),resolveHttpAuthSchemeConfig=Ra=>{const qa=resolveAwsSdkSigV4Config(Ra);return{...resolveAwsSdkSigV4AConfig(qa)}},resolveClientEndpointParameters=Ra=>({...Ra,useFipsEndpoint:Ra.useFipsEndpoint??!1,useDualstackEndpoint:Ra.useDualstackEndpoint??!1,forcePathStyle:Ra.forcePathStyle??!1,useAccelerateEndpoint:Ra.useAccelerateEndpoint??!1,useGlobalEndpoint:Ra.useGlobalEndpoint??!1,disableMultiregionAccessPoints:Ra.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"}),commonParams={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};class S3ServiceException extends ServiceException{constructor(qa){super(qa),Object.setPrototypeOf(this,S3ServiceException.prototype)}}class NoSuchUpload extends S3ServiceException{constructor(qa){super({name:"NoSuchUpload",$fault:"client",...qa}),this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,NoSuchUpload.prototype)}}class ObjectNotInActiveTierError extends S3ServiceException{constructor(qa){super({name:"ObjectNotInActiveTierError",$fault:"client",...qa}),this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,ObjectNotInActiveTierError.prototype)}}class BucketAlreadyExists extends S3ServiceException{constructor(qa){super({name:"BucketAlreadyExists",$fault:"client",...qa}),this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,BucketAlreadyExists.prototype)}}class BucketAlreadyOwnedByYou extends S3ServiceException{constructor(qa){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...qa}),this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,BucketAlreadyOwnedByYou.prototype)}}class NoSuchBucket extends S3ServiceException{constructor(qa){super({name:"NoSuchBucket",$fault:"client",...qa}),this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,NoSuchBucket.prototype)}}var AnalyticsFilter;(function(Ra){Ra.visit=(qa,nd)=>qa.Prefix!==void 0?nd.Prefix(qa.Prefix):qa.Tag!==void 0?nd.Tag(qa.Tag):qa.And!==void 0?nd.And(qa.And):nd._(qa.$unknown[0],qa.$unknown[1])})(AnalyticsFilter||(AnalyticsFilter={}));var MetricsFilter;(function(Ra){Ra.visit=(qa,nd)=>qa.Prefix!==void 0?nd.Prefix(qa.Prefix):qa.Tag!==void 0?nd.Tag(qa.Tag):qa.AccessPointArn!==void 0?nd.AccessPointArn(qa.AccessPointArn):qa.And!==void 0?nd.And(qa.And):nd._(qa.$unknown[0],qa.$unknown[1])})(MetricsFilter||(MetricsFilter={}));class InvalidObjectState extends S3ServiceException{constructor(qa){super({name:"InvalidObjectState",$fault:"client",...qa}),this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,InvalidObjectState.prototype),this.StorageClass=qa.StorageClass,this.AccessTier=qa.AccessTier}}class NoSuchKey extends S3ServiceException{constructor(qa){super({name:"NoSuchKey",$fault:"client",...qa}),this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,NoSuchKey.prototype)}}class NotFound extends S3ServiceException{constructor(qa){super({name:"NotFound",$fault:"client",...qa}),this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,NotFound.prototype)}}const SessionCredentialsFilterSensitiveLog=Ra=>({...Ra,...Ra.SecretAccessKey&&{SecretAccessKey:SENSITIVE_STRING},...Ra.SessionToken&&{SessionToken:SENSITIVE_STRING}}),CreateSessionOutputFilterSensitiveLog=Ra=>({...Ra,...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING},...Ra.Credentials&&{Credentials:SessionCredentialsFilterSensitiveLog(Ra.Credentials)}}),CreateSessionRequestFilterSensitiveLog=Ra=>({...Ra,...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING}});class EncryptionTypeMismatch extends S3ServiceException{constructor(qa){super({name:"EncryptionTypeMismatch",$fault:"client",...qa}),this.name="EncryptionTypeMismatch",this.$fault="client",Object.setPrototypeOf(this,EncryptionTypeMismatch.prototype)}}class InvalidRequest extends S3ServiceException{constructor(qa){super({name:"InvalidRequest",$fault:"client",...qa}),this.name="InvalidRequest",this.$fault="client",Object.setPrototypeOf(this,InvalidRequest.prototype)}}class InvalidWriteOffset extends S3ServiceException{constructor(qa){super({name:"InvalidWriteOffset",$fault:"client",...qa}),this.name="InvalidWriteOffset",this.$fault="client",Object.setPrototypeOf(this,InvalidWriteOffset.prototype)}}class TooManyParts extends S3ServiceException{constructor(qa){super({name:"TooManyParts",$fault:"client",...qa}),this.name="TooManyParts",this.$fault="client",Object.setPrototypeOf(this,TooManyParts.prototype)}}class ObjectAlreadyInActiveTierError extends S3ServiceException{constructor(qa){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...qa}),this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,ObjectAlreadyInActiveTierError.prototype)}}var SelectObjectContentEventStream;(function(Ra){Ra.visit=(qa,nd)=>qa.Records!==void 0?nd.Records(qa.Records):qa.Stats!==void 0?nd.Stats(qa.Stats):qa.Progress!==void 0?nd.Progress(qa.Progress):qa.Cont!==void 0?nd.Cont(qa.Cont):qa.End!==void 0?nd.End(qa.End):nd._(qa.$unknown[0],qa.$unknown[1])})(SelectObjectContentEventStream||(SelectObjectContentEventStream={}));const PutObjectOutputFilterSensitiveLog=Ra=>({...Ra,...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING}}),PutObjectRequestFilterSensitiveLog=Ra=>({...Ra,...Ra.SSECustomerKey&&{SSECustomerKey:SENSITIVE_STRING},...Ra.SSEKMSKeyId&&{SSEKMSKeyId:SENSITIVE_STRING},...Ra.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:SENSITIVE_STRING}}),se_CreateSessionCommand=async(Ra,qa)=>{const nd=requestBuilder(Ra,qa),od=map$2({},isSerializableHeaderValue,{[_xacsm]:Ra[_SM],[_xasse]:Ra[_SSE],[_xasseakki]:Ra[_SSEKMSKI],[_xassec]:Ra[_SSEKMSEC],[_xassebke]:[()=>isSerializableHeaderValue(Ra[_BKE]),()=>Ra[_BKE].toString()]});nd.bp("/"),nd.p("Bucket",()=>Ra.Bucket,"{Bucket}",!1);const ld=map$2({[_s]:[,""]});return nd.m("GET").h(od).q(ld).b(void 0),nd.build()},se_PutObjectCommand=async(Ra,qa)=>{const nd=requestBuilder(Ra,qa),od=map$2({},isSerializableHeaderValue,{[_ct]:Ra[_CT]||"application/octet-stream",[_xaa]:Ra[_ACL],[_cc]:Ra[_CC],[_cd]:Ra[_CD],[_ce]:Ra[_CE],[_cl]:Ra[_CL],[_cl_]:[()=>isSerializableHeaderValue(Ra[_CLo]),()=>Ra[_CLo].toString()],[_cm]:Ra[_CMD],[_xasca]:Ra[_CA],[_xacc]:Ra[_CCRC],[_xacc_]:Ra[_CCRCC],[_xacs]:Ra[_CSHA],[_xacs_]:Ra[_CSHAh],[_e]:[()=>isSerializableHeaderValue(Ra[_E]),()=>dateToUtcString(Ra[_E]).toString()],[_im]:Ra[_IM],[_inm]:Ra[_INM],[_xagfc]:Ra[_GFC],[_xagr]:Ra[_GR],[_xagra]:Ra[_GRACP],[_xagwa]:Ra[_GWACP],[_xawob]:[()=>isSerializableHeaderValue(Ra[_WOB]),()=>Ra[_WOB].toString()],[_xasse]:Ra[_SSE],[_xasc]:Ra[_SC],[_xawrl]:Ra[_WRL],[_xasseca]:Ra[_SSECA],[_xasseck]:Ra[_SSECK],[_xasseckm]:Ra[_SSECKMD],[_xasseakki]:Ra[_SSEKMSKI],[_xassec]:Ra[_SSEKMSEC],[_xassebke]:[()=>isSerializableHeaderValue(Ra[_BKE]),()=>Ra[_BKE].toString()],[_xarp]:Ra[_RP],[_xat]:Ra[_T],[_xaolm]:Ra[_OLM],[_xaolrud]:[()=>isSerializableHeaderValue(Ra[_OLRUD]),()=>serializeDateTime(Ra[_OLRUD]).toString()],[_xaollh]:Ra[_OLLHS],[_xaebo]:Ra[_EBO],...Ra.Metadata!==void 0&&Object.keys(Ra.Metadata).reduce((pd,fd)=>(pd[`x-amz-meta-${fd.toLowerCase()}`]=Ra.Metadata[fd],pd),{})});nd.bp("/{Key+}"),nd.p("Bucket",()=>Ra.Bucket,"{Bucket}",!1),nd.p("Key",()=>Ra.Key,"{Key+}",!0);const ld=map$2({[_xi]:[,"PutObject"]});let ud,dd;return Ra.Body!==void 0&&(dd=Ra.Body,ud=dd),nd.m("PUT").h(od).q(ld).b(ud),nd.build()},de_CreateSessionCommand=async(Ra,qa)=>{if(Ra.statusCode!==200&&Ra.statusCode>=300)return de_CommandError(Ra,qa);const nd=map$2({$metadata:deserializeMetadata(Ra),[_SSE]:[,Ra.headers[_xasse]],[_SSEKMSKI]:[,Ra.headers[_xasseakki]],[_SSEKMSEC]:[,Ra.headers[_xassec]],[_BKE]:[()=>Ra.headers[_xassebke]!==void 0,()=>parseBoolean(Ra.headers[_xassebke])]}),od=expectNonNull(expectObject(await parseXmlBody(Ra.body,qa)),"body");return od[_C]!=null&&(nd[_C]=de_SessionCredentials(od[_C])),nd},de_PutObjectCommand=async(Ra,qa)=>{if(Ra.statusCode!==200&&Ra.statusCode>=300)return de_CommandError(Ra,qa);const nd=map$2({$metadata:deserializeMetadata(Ra),[_Exp]:[,Ra.headers[_xae]],[_ETa]:[,Ra.headers[_eta]],[_CCRC]:[,Ra.headers[_xacc]],[_CCRCC]:[,Ra.headers[_xacc_]],[_CSHA]:[,Ra.headers[_xacs]],[_CSHAh]:[,Ra.headers[_xacs_]],[_SSE]:[,Ra.headers[_xasse]],[_VI]:[,Ra.headers[_xavi]],[_SSECA]:[,Ra.headers[_xasseca]],[_SSECKMD]:[,Ra.headers[_xasseckm]],[_SSEKMSKI]:[,Ra.headers[_xasseakki]],[_SSEKMSEC]:[,Ra.headers[_xassec]],[_BKE]:[()=>Ra.headers[_xassebke]!==void 0,()=>parseBoolean(Ra.headers[_xassebke])],[_Si]:[()=>Ra.headers[_xaos]!==void 0,()=>strictParseLong(Ra.headers[_xaos])],[_RC]:[,Ra.headers[_xarc]]});return await collectBody$1(Ra.body,qa),nd},de_CommandError=async(Ra,qa)=>{const nd={...Ra,body:await parseXmlErrorBody(Ra.body,qa)},od=loadRestXmlErrorCode(Ra,nd.body);switch(od){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await de_NoSuchUploadRes(nd);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await de_ObjectNotInActiveTierErrorRes(nd);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await de_BucketAlreadyExistsRes(nd);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await de_BucketAlreadyOwnedByYouRes(nd);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await de_NoSuchBucketRes(nd);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await de_InvalidObjectStateRes(nd);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await de_NoSuchKeyRes(nd);case"NotFound":case"com.amazonaws.s3#NotFound":throw await de_NotFoundRes(nd);case"EncryptionTypeMismatch":case"com.amazonaws.s3#EncryptionTypeMismatch":throw await de_EncryptionTypeMismatchRes(nd);case"InvalidRequest":case"com.amazonaws.s3#InvalidRequest":throw await de_InvalidRequestRes(nd);case"InvalidWriteOffset":case"com.amazonaws.s3#InvalidWriteOffset":throw await de_InvalidWriteOffsetRes(nd);case"TooManyParts":case"com.amazonaws.s3#TooManyParts":throw await de_TooManyPartsRes(nd);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await de_ObjectAlreadyInActiveTierErrorRes(nd);default:const ld=nd.body;return throwDefaultError({output:Ra,parsedBody:ld,errorCode:od})}},throwDefaultError=withBaseException(S3ServiceException),de_BucketAlreadyExistsRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new BucketAlreadyExists({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_BucketAlreadyOwnedByYouRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new BucketAlreadyOwnedByYou({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_EncryptionTypeMismatchRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new EncryptionTypeMismatch({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_InvalidObjectStateRes=async(Ra,qa)=>{const nd=map$2({}),od=Ra.body;od[_AT]!=null&&(nd[_AT]=expectString(od[_AT])),od[_SC]!=null&&(nd[_SC]=expectString(od[_SC]));const ld=new InvalidObjectState({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(ld,Ra.body)},de_InvalidRequestRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new InvalidRequest({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_InvalidWriteOffsetRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new InvalidWriteOffset({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NoSuchBucketRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NoSuchBucket({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NoSuchKeyRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NoSuchKey({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NoSuchUploadRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NoSuchUpload({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_NotFoundRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new NotFound({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_ObjectAlreadyInActiveTierErrorRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new ObjectAlreadyInActiveTierError({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_ObjectNotInActiveTierErrorRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new ObjectNotInActiveTierError({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_TooManyPartsRes=async(Ra,qa)=>{const nd=map$2({});Ra.body;const od=new TooManyParts({$metadata:deserializeMetadata(Ra),...nd});return decorateServiceException(od,Ra.body)},de_SessionCredentials=(Ra,qa)=>{const nd={};return Ra[_AKI]!=null&&(nd[_AKI]=expectString(Ra[_AKI])),Ra[_SAK]!=null&&(nd[_SAK]=expectString(Ra[_SAK])),Ra[_ST]!=null&&(nd[_ST]=expectString(Ra[_ST])),Ra[_Exp]!=null&&(nd[_Exp]=expectNonNull(parseRfc3339DateTimeWithOffset(Ra[_Exp]))),nd},deserializeMetadata=Ra=>({httpStatusCode:Ra.statusCode,requestId:Ra.headers["x-amzn-requestid"]??Ra.headers["x-amzn-request-id"]??Ra.headers["x-amz-request-id"],extendedRequestId:Ra.headers["x-amz-id-2"],cfId:Ra.headers["x-amz-cf-id"]}),_ACL="ACL",_AKI="AccessKeyId",_AT="AccessTier",_BKE="BucketKeyEnabled",_C="Credentials",_CA="ChecksumAlgorithm",_CC="CacheControl",_CCRC="ChecksumCRC32",_CCRCC="ChecksumCRC32C",_CD="ContentDisposition",_CE="ContentEncoding",_CL="ContentLanguage",_CLo="ContentLength",_CMD="ContentMD5",_CSHA="ChecksumSHA1",_CSHAh="ChecksumSHA256",_CT="ContentType",_E="Expires",_EBO="ExpectedBucketOwner",_ETa="ETag",_Exp="Expiration",_GFC="GrantFullControl",_GR="GrantRead",_GRACP="GrantReadACP",_GWACP="GrantWriteACP",_IM="IfMatch",_INM="IfNoneMatch",_OLLHS="ObjectLockLegalHoldStatus",_OLM="ObjectLockMode",_OLRUD="ObjectLockRetainUntilDate",_RC="RequestCharged",_RP="RequestPayer",_SAK="SecretAccessKey",_SC="StorageClass",_SM="SessionMode",_SSE="ServerSideEncryption",_SSECA="SSECustomerAlgorithm",_SSECK="SSECustomerKey",_SSECKMD="SSECustomerKeyMD5",_SSEKMSEC="SSEKMSEncryptionContext",_SSEKMSKI="SSEKMSKeyId",_ST="SessionToken",_Si="Size",_T="Tagging",_VI="VersionId",_WOB="WriteOffsetBytes",_WRL="WebsiteRedirectLocation",_cc="cache-control",_cd="content-disposition",_ce="content-encoding",_cl="content-language",_cl_="content-length",_cm="content-md5",_ct="content-type",_e="expires",_eta="etag",_im="if-match",_inm="if-none-match",_s="session",_xaa="x-amz-acl",_xacc="x-amz-checksum-crc32",_xacc_="x-amz-checksum-crc32c",_xacs="x-amz-checksum-sha1",_xacs_="x-amz-checksum-sha256",_xacsm="x-amz-create-session-mode",_xae="x-amz-expiration",_xaebo="x-amz-expected-bucket-owner",_xagfc="x-amz-grant-full-control",_xagr="x-amz-grant-read",_xagra="x-amz-grant-read-acp",_xagwa="x-amz-grant-write-acp",_xaollh="x-amz-object-lock-legal-hold",_xaolm="x-amz-object-lock-mode",_xaolrud="x-amz-object-lock-retain-until-date",_xaos="x-amz-object-size",_xarc="x-amz-request-charged",_xarp="x-amz-request-payer",_xasc="x-amz-storage-class",_xasca="x-amz-sdk-checksum-algorithm",_xasse="x-amz-server-side-encryption",_xasseakki="x-amz-server-side-encryption-aws-kms-key-id",_xassebke="x-amz-server-side-encryption-bucket-key-enabled",_xassec="x-amz-server-side-encryption-context",_xasseca="x-amz-server-side-encryption-customer-algorithm",_xasseck="x-amz-server-side-encryption-customer-key",_xasseckm="x-amz-server-side-encryption-customer-key-md5",_xat="x-amz-tagging",_xavi="x-amz-version-id",_xawob="x-amz-write-offset-bytes",_xawrl="x-amz-website-redirect-location",_xi="x-id";class CreateSessionCommand extends Command.classBuilder().ep({...commonParams,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(qa,nd,od,ld){return[getSerdePlugin(od,this.serialize,this.deserialize),getEndpointPlugin(od,qa.getEndpointParameterInstructions()),getThrow200ExceptionsPlugin(od)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(CreateSessionRequestFilterSensitiveLog,CreateSessionOutputFilterSensitiveLog).ser(se_CreateSessionCommand).de(de_CreateSessionCommand).build(){}const name="@aws-sdk/client-s3",description="AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",version="3.716.0",scripts={build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3",test:"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && vitest run -c vitest.config.browser.ts --mode development","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts --mode development && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:watch":"yarn g:vitest watch"},main$1="./dist-cjs/index.js",types$1="./dist-types/index.d.ts",module$1="./dist-es/index.js",sideEffects=!1,dependencies={"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.716.0","@aws-sdk/client-sts":"3.716.0","@aws-sdk/core":"3.716.0","@aws-sdk/credential-provider-node":"3.716.0","@aws-sdk/middleware-bucket-endpoint":"3.714.0","@aws-sdk/middleware-expect-continue":"3.714.0","@aws-sdk/middleware-flexible-checksums":"3.716.0","@aws-sdk/middleware-host-header":"3.714.0","@aws-sdk/middleware-location-constraint":"3.714.0","@aws-sdk/middleware-logger":"3.714.0","@aws-sdk/middleware-recursion-detection":"3.714.0","@aws-sdk/middleware-sdk-s3":"3.716.0","@aws-sdk/middleware-ssec":"3.714.0","@aws-sdk/middleware-user-agent":"3.716.0","@aws-sdk/region-config-resolver":"3.714.0","@aws-sdk/signature-v4-multi-region":"3.716.0","@aws-sdk/types":"3.714.0","@aws-sdk/util-endpoints":"3.714.0","@aws-sdk/util-user-agent-browser":"3.714.0","@aws-sdk/util-user-agent-node":"3.716.0","@aws-sdk/xml-builder":"3.709.0","@smithy/config-resolver":"^3.0.13","@smithy/core":"^2.5.5","@smithy/eventstream-serde-browser":"^3.0.14","@smithy/eventstream-serde-config-resolver":"^3.0.11","@smithy/eventstream-serde-node":"^3.0.13","@smithy/fetch-http-handler":"^4.1.2","@smithy/hash-blob-browser":"^3.1.10","@smithy/hash-node":"^3.0.11","@smithy/hash-stream-node":"^3.1.10","@smithy/invalid-dependency":"^3.0.11","@smithy/md5-js":"^3.0.11","@smithy/middleware-content-length":"^3.0.13","@smithy/middleware-endpoint":"^3.2.6","@smithy/middleware-retry":"^3.0.31","@smithy/middleware-serde":"^3.0.11","@smithy/middleware-stack":"^3.0.11","@smithy/node-config-provider":"^3.1.12","@smithy/node-http-handler":"^3.3.2","@smithy/protocol-http":"^4.1.8","@smithy/smithy-client":"^3.5.1","@smithy/types":"^3.7.2","@smithy/url-parser":"^3.0.11","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.31","@smithy/util-defaults-mode-node":"^3.0.31","@smithy/util-endpoints":"^2.1.7","@smithy/util-middleware":"^3.0.11","@smithy/util-retry":"^3.0.11","@smithy/util-stream":"^3.3.2","@smithy/util-utf8":"^3.0.0","@smithy/util-waiter":"^3.2.0",tslib:"^2.6.2"},devDependencies={"@aws-sdk/signature-v4-crt":"3.716.0","@tsconfig/node16":"16.1.3","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines={node:">=16.0.0"},typesVersions={"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files=["dist-*/**"],author={name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license="Apache-2.0",browser$1={"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},homepage="https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",repository={type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"},packageInfo={name,description,version,scripts,main:main$1,types:types$1,module:module$1,sideEffects,dependencies,devDependencies,engines,typesVersions,files,author,license,browser:browser$1,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage,repository},fromUtf8=Ra=>new TextEncoder().encode(Ra);function isEmptyData$1(Ra){return typeof Ra=="string"?Ra.length===0:Ra.byteLength===0}var SHA_1_HASH={name:"SHA-1"},SHA_1_HMAC_ALGO={name:"HMAC",hash:SHA_1_HASH},EMPTY_DATA_SHA_1=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]);const fallbackWindow={};function locateWindow(){return typeof window<"u"?window:typeof self<"u"?self:fallbackWindow}var Sha1$1=function(){function Ra(qa){this.toHash=new Uint8Array(0),qa!==void 0&&(this.key=new Promise(function(nd,od){locateWindow().crypto.subtle.importKey("raw",convertToBuffer$1(qa),SHA_1_HMAC_ALGO,!1,["sign"]).then(nd,od)}),this.key.catch(function(){}))}return Ra.prototype.update=function(qa){if(!isEmptyData$1(qa)){var nd=convertToBuffer$1(qa),od=new Uint8Array(this.toHash.byteLength+nd.byteLength);od.set(this.toHash,0),od.set(nd,this.toHash.byteLength),this.toHash=od}},Ra.prototype.digest=function(){var qa=this;return this.key?this.key.then(function(nd){return locateWindow().crypto.subtle.sign(SHA_1_HMAC_ALGO,nd,qa.toHash).then(function(od){return new Uint8Array(od)})}):isEmptyData$1(this.toHash)?Promise.resolve(EMPTY_DATA_SHA_1):Promise.resolve().then(function(){return locateWindow().crypto.subtle.digest(SHA_1_HASH,qa.toHash)}).then(function(nd){return Promise.resolve(new Uint8Array(nd))})},Ra.prototype.reset=function(){this.toHash=new Uint8Array(0)},Ra}();function convertToBuffer$1(Ra){return typeof Ra=="string"?fromUtf8(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra)}var subtleCryptoMethods=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function supportsWebCrypto(Ra){if(supportsSecureRandom(Ra)&&typeof Ra.crypto.subtle=="object"){var qa=Ra.crypto.subtle;return supportsSubtleCrypto(qa)}return!1}function supportsSecureRandom(Ra){if(typeof Ra=="object"&&typeof Ra.crypto=="object"){var qa=Ra.crypto.getRandomValues;return typeof qa=="function"}return!1}function supportsSubtleCrypto(Ra){return Ra&&subtleCryptoMethods.every(function(qa){return typeof Ra[qa]=="function"})}var Sha1=function(){function Ra(qa){if(supportsWebCrypto(locateWindow()))this.hash=new Sha1$1(qa);else throw new Error("SHA1 not supported")}return Ra.prototype.update=function(qa,nd){this.hash.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return this.hash.digest()},Ra.prototype.reset=function(){this.hash.reset()},Ra}(),SHA_256_HASH={name:"SHA-256"},SHA_256_HMAC_ALGO={name:"HMAC",hash:SHA_256_HASH},EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]),Sha256$2=function(){function Ra(qa){this.toHash=new Uint8Array(0),this.secret=qa,this.reset()}return Ra.prototype.update=function(qa){if(!isEmptyData$2(qa)){var nd=convertToBuffer$2(qa),od=new Uint8Array(this.toHash.byteLength+nd.byteLength);od.set(this.toHash,0),od.set(nd,this.toHash.byteLength),this.toHash=od}},Ra.prototype.digest=function(){var qa=this;return this.key?this.key.then(function(nd){return locateWindow().crypto.subtle.sign(SHA_256_HMAC_ALGO,nd,qa.toHash).then(function(od){return new Uint8Array(od)})}):isEmptyData$2(this.toHash)?Promise.resolve(EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return locateWindow().crypto.subtle.digest(SHA_256_HASH,qa.toHash)}).then(function(nd){return Promise.resolve(new Uint8Array(nd))})},Ra.prototype.reset=function(){var qa=this;this.toHash=new Uint8Array(0),this.secret&&this.secret!==void 0&&(this.key=new Promise(function(nd,od){locateWindow().crypto.subtle.importKey("raw",convertToBuffer$2(qa.secret),SHA_256_HMAC_ALGO,!1,["sign"]).then(nd,od)}),this.key.catch(function(){}))},Ra}(),BLOCK_SIZE$1=64,DIGEST_LENGTH$1=32,KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),INIT$1=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],MAX_HASHABLE_LENGTH=Math.pow(2,53)-1,RawSha256=function(){function Ra(){this.state=Int32Array.from(INIT$1),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return Ra.prototype.update=function(qa){if(this.finished)throw new Error("Attempted to update an already finished hash.");var nd=0,od=qa.byteLength;if(this.bytesHashed+=od,this.bytesHashed*8>MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;od>0;)this.buffer[this.bufferLength++]=qa[nd++],od--,this.bufferLength===BLOCK_SIZE$1&&(this.hashBuffer(),this.bufferLength=0)},Ra.prototype.digest=function(){if(!this.finished){var qa=this.bytesHashed*8,nd=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),od=this.bufferLength;if(nd.setUint8(this.bufferLength++,128),od%BLOCK_SIZE$1>=BLOCK_SIZE$1-8){for(var ld=this.bufferLength;ld<BLOCK_SIZE$1;ld++)nd.setUint8(ld,0);this.hashBuffer(),this.bufferLength=0}for(var ld=this.bufferLength;ld<BLOCK_SIZE$1-8;ld++)nd.setUint8(ld,0);nd.setUint32(BLOCK_SIZE$1-8,Math.floor(qa/4294967296),!0),nd.setUint32(BLOCK_SIZE$1-4,qa),this.hashBuffer(),this.finished=!0}for(var ud=new Uint8Array(DIGEST_LENGTH$1),ld=0;ld<8;ld++)ud[ld*4]=this.state[ld]>>>24&255,ud[ld*4+1]=this.state[ld]>>>16&255,ud[ld*4+2]=this.state[ld]>>>8&255,ud[ld*4+3]=this.state[ld]>>>0&255;return ud},Ra.prototype.hashBuffer=function(){for(var qa=this,nd=qa.buffer,od=qa.state,ld=od[0],ud=od[1],dd=od[2],pd=od[3],fd=od[4],md=od[5],vd=od[6],Ad=od[7],Nd=0;Nd<BLOCK_SIZE$1;Nd++){if(Nd<16)this.temp[Nd]=(nd[Nd*4]&255)<<24|(nd[Nd*4+1]&255)<<16|(nd[Nd*4+2]&255)<<8|nd[Nd*4+3]&255;else{var Id=this.temp[Nd-2],Od=(Id>>>17|Id<<15)^(Id>>>19|Id<<13)^Id>>>10;Id=this.temp[Nd-15];var Md=(Id>>>7|Id<<25)^(Id>>>18|Id<<14)^Id>>>3;this.temp[Nd]=(Od+this.temp[Nd-7]|0)+(Md+this.temp[Nd-16]|0)}var Ud=(((fd>>>6|fd<<26)^(fd>>>11|fd<<21)^(fd>>>25|fd<<7))+(fd&md^~fd&vd)|0)+(Ad+(KEY[Nd]+this.temp[Nd]|0)|0)|0,jd=((ld>>>2|ld<<30)^(ld>>>13|ld<<19)^(ld>>>22|ld<<10))+(ld&ud^ld&dd^ud&dd)|0;Ad=vd,vd=md,md=fd,fd=pd+Ud|0,pd=dd,dd=ud,ud=ld,ld=Ud+jd|0}od[0]+=ld,od[1]+=ud,od[2]+=dd,od[3]+=pd,od[4]+=fd,od[5]+=md,od[6]+=vd,od[7]+=Ad},Ra}(),Sha256$1=function(){function Ra(qa){this.secret=qa,this.hash=new RawSha256,this.reset()}return Ra.prototype.update=function(qa){if(!(isEmptyData$2(qa)||this.error))try{this.hash.update(convertToBuffer$2(qa))}catch(nd){this.error=nd}},Ra.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},Ra.prototype.digest=function(){return __awaiter$8(this,void 0,void 0,function(){return __generator$8(this,function(qa){return[2,this.digestSync()]})})},Ra.prototype.reset=function(){if(this.hash=new RawSha256,this.secret){this.outer=new RawSha256;var qa=bufferFromSecret(this.secret),nd=new Uint8Array(BLOCK_SIZE$1);nd.set(qa);for(var od=0;od<BLOCK_SIZE$1;od++)qa[od]^=54,nd[od]^=92;this.hash.update(qa),this.outer.update(nd);for(var od=0;od<qa.byteLength;od++)qa[od]=0}},Ra}();function bufferFromSecret(Ra){var qa=convertToBuffer$2(Ra);if(qa.byteLength>BLOCK_SIZE$1){var nd=new RawSha256;nd.update(qa),qa=nd.digest()}var od=new Uint8Array(BLOCK_SIZE$1);return od.set(qa),od}var Sha256=function(){function Ra(qa){supportsWebCrypto(locateWindow())?this.hash=new Sha256$2(qa):this.hash=new Sha256$1(qa)}return Ra.prototype.update=function(qa,nd){this.hash.update(convertToBuffer$2(qa))},Ra.prototype.digest=function(){return this.hash.digest()},Ra.prototype.reset=function(){this.hash.reset()},Ra}();const BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class Utils{static getFirstMatch(qa,nd){const od=nd.match(qa);return od&&od.length>0&&od[1]||""}static getSecondMatch(qa,nd){const od=nd.match(qa);return od&&od.length>1&&od[2]||""}static matchAndReturnConst(qa,nd,od){if(qa.test(nd))return od}static getWindowsVersionName(qa){switch(qa){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(qa){const nd=qa.split(".").splice(0,2).map(od=>parseInt(od,10)||0);if(nd.push(0),nd[0]===10)switch(nd[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(qa){const nd=qa.split(".").splice(0,2).map(od=>parseInt(od,10)||0);if(nd.push(0),!(nd[0]===1&&nd[1]<5)){if(nd[0]===1&&nd[1]<6)return"Cupcake";if(nd[0]===1&&nd[1]>=6)return"Donut";if(nd[0]===2&&nd[1]<2)return"Eclair";if(nd[0]===2&&nd[1]===2)return"Froyo";if(nd[0]===2&&nd[1]>2)return"Gingerbread";if(nd[0]===3)return"Honeycomb";if(nd[0]===4&&nd[1]<1)return"Ice Cream Sandwich";if(nd[0]===4&&nd[1]<4)return"Jelly Bean";if(nd[0]===4&&nd[1]>=4)return"KitKat";if(nd[0]===5)return"Lollipop";if(nd[0]===6)return"Marshmallow";if(nd[0]===7)return"Nougat";if(nd[0]===8)return"Oreo";if(nd[0]===9)return"Pie"}}static getVersionPrecision(qa){return qa.split(".").length}static compareVersions(qa,nd,od=!1){const ld=Utils.getVersionPrecision(qa),ud=Utils.getVersionPrecision(nd);let dd=Math.max(ld,ud),pd=0;const fd=Utils.map([qa,nd],md=>{const vd=dd-Utils.getVersionPrecision(md),Ad=md+new Array(vd+1).join(".0");return Utils.map(Ad.split("."),Nd=>new Array(20-Nd.length).join("0")+Nd).reverse()});for(od&&(pd=dd-Math.min(ld,ud)),dd-=1;dd>=pd;){if(fd[0][dd]>fd[1][dd])return 1;if(fd[0][dd]===fd[1][dd]){if(dd===pd)return 0;dd-=1}else if(fd[0][dd]<fd[1][dd])return-1}}static map(qa,nd){const od=[];let ld;if(Array.prototype.map)return Array.prototype.map.call(qa,nd);for(ld=0;ld<qa.length;ld+=1)od.push(nd(qa[ld]));return od}static find(qa,nd){let od,ld;if(Array.prototype.find)return Array.prototype.find.call(qa,nd);for(od=0,ld=qa.length;od<ld;od+=1){const ud=qa[od];if(nd(ud,od))return ud}}static assign(qa,...nd){const od=qa;let ld,ud;if(Object.assign)return Object.assign(qa,...nd);for(ld=0,ud=nd.length;ld<ud;ld+=1){const dd=nd[ld];typeof dd=="object"&&dd!==null&&Object.keys(dd).forEach(fd=>{od[fd]=dd[fd]})}return qa}static getBrowserAlias(qa){return BROWSER_ALIASES_MAP[qa]}static getBrowserTypeByAlias(qa){return BROWSER_MAP[qa]||""}}const commonVersionIdentifier=/version\/(\d+(\.?_?\d+)+)/i,browsersList=[{test:[/googlebot/i],describe(Ra){const qa={name:"Googlebot"},nd=Utils.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/opera/i],describe(Ra){const qa={name:"Opera"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/opr\/|opios/i],describe(Ra){const qa={name:"Opera"},nd=Utils.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/SamsungBrowser/i],describe(Ra){const qa={name:"Samsung Internet for Android"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/Whale/i],describe(Ra){const qa={name:"NAVER Whale Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/MZBrowser/i],describe(Ra){const qa={name:"MZ Browser"},nd=Utils.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/focus/i],describe(Ra){const qa={name:"Focus"},nd=Utils.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/swing/i],describe(Ra){const qa={name:"Swing"},nd=Utils.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/coast/i],describe(Ra){const qa={name:"Opera Coast"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(Ra){const qa={name:"Opera Touch"},nd=Utils.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/yabrowser/i],describe(Ra){const qa={name:"Yandex Browser"},nd=Utils.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/ucbrowser/i],describe(Ra){const qa={name:"UC Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/Maxthon|mxios/i],describe(Ra){const qa={name:"Maxthon"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/epiphany/i],describe(Ra){const qa={name:"Epiphany"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/puffin/i],describe(Ra){const qa={name:"Puffin"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/sleipnir/i],describe(Ra){const qa={name:"Sleipnir"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/k-meleon/i],describe(Ra){const qa={name:"K-Meleon"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/micromessenger/i],describe(Ra){const qa={name:"WeChat"},nd=Utils.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/qqbrowser/i],describe(Ra){const qa={name:/qqbrowserlite/i.test(Ra)?"QQ Browser Lite":"QQ Browser"},nd=Utils.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/msie|trident/i],describe(Ra){const qa={name:"Internet Explorer"},nd=Utils.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/\sedg\//i],describe(Ra){const qa={name:"Microsoft Edge"},nd=Utils.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/edg([ea]|ios)/i],describe(Ra){const qa={name:"Microsoft Edge"},nd=Utils.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/vivaldi/i],describe(Ra){const qa={name:"Vivaldi"},nd=Utils.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/seamonkey/i],describe(Ra){const qa={name:"SeaMonkey"},nd=Utils.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/sailfish/i],describe(Ra){const qa={name:"Sailfish"},nd=Utils.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/silk/i],describe(Ra){const qa={name:"Amazon Silk"},nd=Utils.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/phantom/i],describe(Ra){const qa={name:"PhantomJS"},nd=Utils.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/slimerjs/i],describe(Ra){const qa={name:"SlimerJS"},nd=Utils.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(Ra){const qa={name:"BlackBerry"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/(web|hpw)[o0]s/i],describe(Ra){const qa={name:"WebOS Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra)||Utils.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/bada/i],describe(Ra){const qa={name:"Bada"},nd=Utils.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/tizen/i],describe(Ra){const qa={name:"Tizen"},nd=Utils.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/qupzilla/i],describe(Ra){const qa={name:"QupZilla"},nd=Utils.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/firefox|iceweasel|fxios/i],describe(Ra){const qa={name:"Firefox"},nd=Utils.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/electron/i],describe(Ra){const qa={name:"Electron"},nd=Utils.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/MiuiBrowser/i],describe(Ra){const qa={name:"Miui"},nd=Utils.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/chromium/i],describe(Ra){const qa={name:"Chromium"},nd=Utils.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,Ra)||Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/chrome|crios|crmo/i],describe(Ra){const qa={name:"Chrome"},nd=Utils.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/GSA/i],describe(Ra){const qa={name:"Google Search"},nd=Utils.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test(Ra){const qa=!Ra.test(/like android/i),nd=Ra.test(/android/i);return qa&&nd},describe(Ra){const qa={name:"Android Browser"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/playstation 4/i],describe(Ra){const qa={name:"PlayStation 4"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/safari|applewebkit/i],describe(Ra){const qa={name:"Safari"},nd=Utils.getFirstMatch(commonVersionIdentifier,Ra);return nd&&(qa.version=nd),qa}},{test:[/.*/i],describe(Ra){const qa=/^(.*)\/(.*) /,nd=/^(.*)\/(.*)[ \t]\((.*)/,ld=Ra.search("\\(")!==-1?nd:qa;return{name:Utils.getFirstMatch(ld,Ra),version:Utils.getSecondMatch(ld,Ra)}}}],osParsersList=[{test:[/Roku\/DVP/],describe(Ra){const qa=Utils.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,Ra);return{name:OS_MAP.Roku,version:qa}}},{test:[/windows phone/i],describe(Ra){const qa=Utils.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.WindowsPhone,version:qa}}},{test:[/windows /i],describe(Ra){const qa=Utils.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,Ra),nd=Utils.getWindowsVersionName(qa);return{name:OS_MAP.Windows,version:qa,versionName:nd}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(Ra){const qa={name:OS_MAP.iOS},nd=Utils.getSecondMatch(/(Version\/)(\d[\d.]+)/,Ra);return nd&&(qa.version=nd),qa}},{test:[/macintosh/i],describe(Ra){const qa=Utils.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,Ra).replace(/[_\s]/g,"."),nd=Utils.getMacOSVersionName(qa),od={name:OS_MAP.MacOS,version:qa};return nd&&(od.versionName=nd),od}},{test:[/(ipod|iphone|ipad)/i],describe(Ra){const qa=Utils.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,Ra).replace(/[_\s]/g,".");return{name:OS_MAP.iOS,version:qa}}},{test(Ra){const qa=!Ra.test(/like android/i),nd=Ra.test(/android/i);return qa&&nd},describe(Ra){const qa=Utils.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,Ra),nd=Utils.getAndroidVersionName(qa),od={name:OS_MAP.Android,version:qa};return nd&&(od.versionName=nd),od}},{test:[/(web|hpw)[o0]s/i],describe(Ra){const qa=Utils.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,Ra),nd={name:OS_MAP.WebOS};return qa&&qa.length&&(nd.version=qa),nd}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(Ra){const qa=Utils.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,Ra)||Utils.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,Ra)||Utils.getFirstMatch(/\bbb(\d+)/i,Ra);return{name:OS_MAP.BlackBerry,version:qa}}},{test:[/bada/i],describe(Ra){const qa=Utils.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.Bada,version:qa}}},{test:[/tizen/i],describe(Ra){const qa=Utils.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.Tizen,version:qa}}},{test:[/linux/i],describe(){return{name:OS_MAP.Linux}}},{test:[/CrOS/],describe(){return{name:OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe(Ra){const qa=Utils.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,Ra);return{name:OS_MAP.PlayStation4,version:qa}}}],platformParsersList=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(Ra){const qa=Utils.getFirstMatch(/(can-l01)/i,Ra)&&"Nova",nd={type:PLATFORMS_MAP.mobile,vendor:"Huawei"};return qa&&(nd.model=qa),nd}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:PLATFORMS_MAP.tablet}}},{test(Ra){const qa=Ra.test(/ipod|iphone/i),nd=Ra.test(/like (ipod|iphone)/i);return qa&&!nd},describe(Ra){const qa=Utils.getFirstMatch(/(ipod|iphone)/i,Ra);return{type:PLATFORMS_MAP.mobile,vendor:"Apple",model:qa}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:PLATFORMS_MAP.mobile}}},{test(Ra){return Ra.getBrowserName(!0)==="blackberry"},describe(){return{type:PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test(Ra){return Ra.getBrowserName(!0)==="bada"},describe(){return{type:PLATFORMS_MAP.mobile}}},{test(Ra){return Ra.getBrowserName()==="windows phone"},describe(){return{type:PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test(Ra){const qa=Number(String(Ra.getOSVersion()).split(".")[0]);return Ra.getOSName(!0)==="android"&&qa>=3},describe(){return{type:PLATFORMS_MAP.tablet}}},{test(Ra){return Ra.getOSName(!0)==="android"},describe(){return{type:PLATFORMS_MAP.mobile}}},{test(Ra){return Ra.getOSName(!0)==="macos"},describe(){return{type:PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test(Ra){return Ra.getOSName(!0)==="windows"},describe(){return{type:PLATFORMS_MAP.desktop}}},{test(Ra){return Ra.getOSName(!0)==="linux"},describe(){return{type:PLATFORMS_MAP.desktop}}},{test(Ra){return Ra.getOSName(!0)==="playstation 4"},describe(){return{type:PLATFORMS_MAP.tv}}},{test(Ra){return Ra.getOSName(!0)==="roku"},describe(){return{type:PLATFORMS_MAP.tv}}}],enginesParsersList=[{test(Ra){return Ra.getBrowserName(!0)==="microsoft edge"},describe(Ra){if(/\sedg\//i.test(Ra))return{name:ENGINE_MAP.Blink};const nd=Utils.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,Ra);return{name:ENGINE_MAP.EdgeHTML,version:nd}}},{test:[/trident/i],describe(Ra){const qa={name:ENGINE_MAP.Trident},nd=Utils.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test(Ra){return Ra.test(/presto/i)},describe(Ra){const qa={name:ENGINE_MAP.Presto},nd=Utils.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test(Ra){const qa=Ra.test(/gecko/i),nd=Ra.test(/like gecko/i);return qa&&!nd},describe(Ra){const qa={name:ENGINE_MAP.Gecko},nd=Utils.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe(Ra){const qa={name:ENGINE_MAP.WebKit},nd=Utils.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,Ra);return nd&&(qa.version=nd),qa}}];class Parser{constructor(qa,nd=!1){if(qa==null||qa==="")throw new Error("UserAgent parameter can't be empty");this._ua=qa,this.parsedResult={},nd!==!0&&this.parse()}getUA(){return this._ua}test(qa){return qa.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const qa=Utils.find(browsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.browser=qa.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(qa){return qa?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const qa=Utils.find(osParsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.os=qa.describe(this.getUA())),this.parsedResult.os}getOSName(qa){const{name:nd}=this.getOS();return qa?String(nd).toLowerCase()||"":nd||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(qa=!1){const{type:nd}=this.getPlatform();return qa?String(nd).toLowerCase()||"":nd||""}parsePlatform(){this.parsedResult.platform={};const qa=Utils.find(platformParsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.platform=qa.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(qa){return qa?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const qa=Utils.find(enginesParsersList,nd=>{if(typeof nd.test=="function")return nd.test(this);if(nd.test instanceof Array)return nd.test.some(od=>this.test(od));throw new Error("Browser's test function is not valid")});return qa&&(this.parsedResult.engine=qa.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return Utils.assign({},this.parsedResult)}satisfies(qa){const nd={};let od=0;const ld={};let ud=0;if(Object.keys(qa).forEach(pd=>{const fd=qa[pd];typeof fd=="string"?(ld[pd]=fd,ud+=1):typeof fd=="object"&&(nd[pd]=fd,od+=1)}),od>0){const pd=Object.keys(nd),fd=Utils.find(pd,vd=>this.isOS(vd));if(fd){const vd=this.satisfies(nd[fd]);if(vd!==void 0)return vd}const md=Utils.find(pd,vd=>this.isPlatform(vd));if(md){const vd=this.satisfies(nd[md]);if(vd!==void 0)return vd}}if(ud>0){const pd=Object.keys(ld),fd=Utils.find(pd,md=>this.isBrowser(md,!0));if(fd!==void 0)return this.compareVersion(ld[fd])}}isBrowser(qa,nd=!1){const od=this.getBrowserName().toLowerCase();let ld=qa.toLowerCase();const ud=Utils.getBrowserTypeByAlias(ld);return nd&&ud&&(ld=ud.toLowerCase()),ld===od}compareVersion(qa){let nd=[0],od=qa,ld=!1;const ud=this.getBrowserVersion();if(typeof ud=="string")return qa[0]===">"||qa[0]==="<"?(od=qa.substr(1),qa[1]==="="?(ld=!0,od=qa.substr(2)):nd=[],qa[0]===">"?nd.push(1):nd.push(-1)):qa[0]==="="?od=qa.substr(1):qa[0]==="~"&&(ld=!0,od=qa.substr(1)),nd.indexOf(Utils.compareVersions(ud,od,ld))>-1}isOS(qa){return this.getOSName(!0)===String(qa).toLowerCase()}isPlatform(qa){return this.getPlatformType(!0)===String(qa).toLowerCase()}isEngine(qa){return this.getEngineName(!0)===String(qa).toLowerCase()}is(qa,nd=!1){return this.isBrowser(qa,nd)||this.isOS(qa)||this.isPlatform(qa)}some(qa=[]){return qa.some(nd=>this.is(nd))}}/*!
|
||
* Bowser - a browser detector
|
||
* https://github.com/lancedikson/bowser
|
||
* MIT License | (c) Dustin Diaz 2012-2015
|
||
* MIT License | (c) Denis Demchenko 2015-2019
|
||
*/class Bowser{static getParser(qa,nd=!1){if(typeof qa!="string")throw new Error("UserAgent should be a string");return new Parser(qa,nd)}static parse(qa){return new Parser(qa).getResult()}static get BROWSER_MAP(){return BROWSER_MAP}static get ENGINE_MAP(){return ENGINE_MAP}static get OS_MAP(){return OS_MAP}static get PLATFORMS_MAP(){return PLATFORMS_MAP}}const createDefaultUserAgentProvider=({serviceId:Ra,clientVersion:qa})=>async nd=>{var dd,pd,fd,md,vd,Ad;const od=typeof window<"u"&&((dd=window==null?void 0:window.navigator)!=null&&dd.userAgent)?Bowser.parse(window.navigator.userAgent):void 0,ld=[["aws-sdk-js",qa],["ua","2.1"],[`os/${((pd=od==null?void 0:od.os)==null?void 0:pd.name)||"other"}`,(fd=od==null?void 0:od.os)==null?void 0:fd.version],["lang/js"],["md/browser",`${((md=od==null?void 0:od.browser)==null?void 0:md.name)??"unknown"}_${((vd=od==null?void 0:od.browser)==null?void 0:vd.version)??"unknown"}`]];Ra&&ld.push([`api/${Ra}`,qa]);const ud=await((Ad=nd==null?void 0:nd.userAgentAppId)==null?void 0:Ad.call(nd));return ud&&ld.push([`app/${ud}`]),ld};class Int64{constructor(qa){if(this.bytes=qa,qa.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(qa){if(qa>9223372036854776e3||qa<-9223372036854776e3)throw new Error(`${qa} is too large (or, if negative, too small) to represent as an Int64`);const nd=new Uint8Array(8);for(let od=7,ld=Math.abs(Math.round(qa));od>-1&&ld>0;od--,ld/=256)nd[od]=ld;return qa<0&&negate(nd),new Int64(nd)}valueOf(){const qa=this.bytes.slice(0),nd=qa[0]&128;return nd&&negate(qa),parseInt(toHex(qa),16)*(nd?-1:1)}toString(){return String(this.valueOf())}}function negate(Ra){for(let qa=0;qa<8;qa++)Ra[qa]^=255;for(let qa=7;qa>-1&&(Ra[qa]++,Ra[qa]===0);qa--);}class HeaderMarshaller{constructor(qa,nd){this.toUtf8=qa,this.fromUtf8=nd}format(qa){const nd=[];for(const ud of Object.keys(qa)){const dd=this.fromUtf8(ud);nd.push(Uint8Array.from([dd.byteLength]),dd,this.formatHeaderValue(qa[ud]))}const od=new Uint8Array(nd.reduce((ud,dd)=>ud+dd.byteLength,0));let ld=0;for(const ud of nd)od.set(ud,ld),ld+=ud.byteLength;return od}formatHeaderValue(qa){switch(qa.type){case"boolean":return Uint8Array.from([qa.value?0:1]);case"byte":return Uint8Array.from([2,qa.value]);case"short":const nd=new DataView(new ArrayBuffer(3));return nd.setUint8(0,3),nd.setInt16(1,qa.value,!1),new Uint8Array(nd.buffer);case"integer":const od=new DataView(new ArrayBuffer(5));return od.setUint8(0,4),od.setInt32(1,qa.value,!1),new Uint8Array(od.buffer);case"long":const ld=new Uint8Array(9);return ld[0]=5,ld.set(qa.value.bytes,1),ld;case"binary":const ud=new DataView(new ArrayBuffer(3+qa.value.byteLength));ud.setUint8(0,6),ud.setUint16(1,qa.value.byteLength,!1);const dd=new Uint8Array(ud.buffer);return dd.set(qa.value,3),dd;case"string":const pd=this.fromUtf8(qa.value),fd=new DataView(new ArrayBuffer(3+pd.byteLength));fd.setUint8(0,7),fd.setUint16(1,pd.byteLength,!1);const md=new Uint8Array(fd.buffer);return md.set(pd,3),md;case"timestamp":const vd=new Uint8Array(9);return vd[0]=8,vd.set(Int64.fromNumber(qa.value.valueOf()).bytes,1),vd;case"uuid":if(!UUID_PATTERN.test(qa.value))throw new Error(`Invalid UUID received: ${qa.value}`);const Ad=new Uint8Array(17);return Ad[0]=9,Ad.set(fromHex(qa.value.replace(/\-/g,"")),1),Ad}}parse(qa){const nd={};let od=0;for(;od<qa.byteLength;){const ld=qa.getUint8(od++),ud=this.toUtf8(new Uint8Array(qa.buffer,qa.byteOffset+od,ld));switch(od+=ld,qa.getUint8(od++)){case 0:nd[ud]={type:BOOLEAN_TAG,value:!0};break;case 1:nd[ud]={type:BOOLEAN_TAG,value:!1};break;case 2:nd[ud]={type:BYTE_TAG,value:qa.getInt8(od++)};break;case 3:nd[ud]={type:SHORT_TAG,value:qa.getInt16(od,!1)},od+=2;break;case 4:nd[ud]={type:INT_TAG,value:qa.getInt32(od,!1)},od+=4;break;case 5:nd[ud]={type:LONG_TAG,value:new Int64(new Uint8Array(qa.buffer,qa.byteOffset+od,8))},od+=8;break;case 6:const dd=qa.getUint16(od,!1);od+=2,nd[ud]={type:BINARY_TAG,value:new Uint8Array(qa.buffer,qa.byteOffset+od,dd)},od+=dd;break;case 7:const pd=qa.getUint16(od,!1);od+=2,nd[ud]={type:STRING_TAG,value:this.toUtf8(new Uint8Array(qa.buffer,qa.byteOffset+od,pd))},od+=pd;break;case 8:nd[ud]={type:TIMESTAMP_TAG,value:new Date(new Int64(new Uint8Array(qa.buffer,qa.byteOffset+od,8)).valueOf())},od+=8;break;case 9:const fd=new Uint8Array(qa.buffer,qa.byteOffset+od,16);od+=16,nd[ud]={type:UUID_TAG,value:`${toHex(fd.subarray(0,4))}-${toHex(fd.subarray(4,6))}-${toHex(fd.subarray(6,8))}-${toHex(fd.subarray(8,10))}-${toHex(fd.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return nd}}var HEADER_VALUE_TYPE;(function(Ra){Ra[Ra.boolTrue=0]="boolTrue",Ra[Ra.boolFalse=1]="boolFalse",Ra[Ra.byte=2]="byte",Ra[Ra.short=3]="short",Ra[Ra.integer=4]="integer",Ra[Ra.long=5]="long",Ra[Ra.byteArray=6]="byteArray",Ra[Ra.string=7]="string",Ra[Ra.timestamp=8]="timestamp",Ra[Ra.uuid=9]="uuid"})(HEADER_VALUE_TYPE||(HEADER_VALUE_TYPE={}));const BOOLEAN_TAG="boolean",BYTE_TAG="byte",SHORT_TAG="short",INT_TAG="integer",LONG_TAG="long",BINARY_TAG="binary",STRING_TAG="string",TIMESTAMP_TAG="timestamp",UUID_TAG="uuid",UUID_PATTERN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,PRELUDE_MEMBER_LENGTH=4,PRELUDE_LENGTH=PRELUDE_MEMBER_LENGTH*2,CHECKSUM_LENGTH=4,MINIMUM_MESSAGE_LENGTH=PRELUDE_LENGTH+CHECKSUM_LENGTH*2;function splitMessage({byteLength:Ra,byteOffset:qa,buffer:nd}){if(Ra<MINIMUM_MESSAGE_LENGTH)throw new Error("Provided message too short to accommodate event stream message overhead");const od=new DataView(nd,qa,Ra),ld=od.getUint32(0,!1);if(Ra!==ld)throw new Error("Reported message length does not match received message length");const ud=od.getUint32(PRELUDE_MEMBER_LENGTH,!1),dd=od.getUint32(PRELUDE_LENGTH,!1),pd=od.getUint32(Ra-CHECKSUM_LENGTH,!1),fd=new Crc32().update(new Uint8Array(nd,qa,PRELUDE_LENGTH));if(dd!==fd.digest())throw new Error(`The prelude checksum specified in the message (${dd}) does not match the calculated CRC32 checksum (${fd.digest()})`);if(fd.update(new Uint8Array(nd,qa+PRELUDE_LENGTH,Ra-(PRELUDE_LENGTH+CHECKSUM_LENGTH))),pd!==fd.digest())throw new Error(`The message checksum (${fd.digest()}) did not match the expected value of ${pd}`);return{headers:new DataView(nd,qa+PRELUDE_LENGTH+CHECKSUM_LENGTH,ud),body:new Uint8Array(nd,qa+PRELUDE_LENGTH+CHECKSUM_LENGTH+ud,ld-ud-(PRELUDE_LENGTH+CHECKSUM_LENGTH+CHECKSUM_LENGTH))}}class EventStreamCodec{constructor(qa,nd){this.headerMarshaller=new HeaderMarshaller(qa,nd),this.messageBuffer=[],this.isEndOfStream=!1}feed(qa){this.messageBuffer.push(this.decode(qa))}endOfStream(){this.isEndOfStream=!0}getMessage(){const qa=this.messageBuffer.pop(),nd=this.isEndOfStream;return{getMessage(){return qa},isEndOfStream(){return nd}}}getAvailableMessages(){const qa=this.messageBuffer;this.messageBuffer=[];const nd=this.isEndOfStream;return{getMessages(){return qa},isEndOfStream(){return nd}}}encode({headers:qa,body:nd}){const od=this.headerMarshaller.format(qa),ld=od.byteLength+nd.byteLength+16,ud=new Uint8Array(ld),dd=new DataView(ud.buffer,ud.byteOffset,ud.byteLength),pd=new Crc32;return dd.setUint32(0,ld,!1),dd.setUint32(4,od.byteLength,!1),dd.setUint32(8,pd.update(ud.subarray(0,8)).digest(),!1),ud.set(od,12),ud.set(nd,od.byteLength+12),dd.setUint32(ld-4,pd.update(ud.subarray(8,ld-4)).digest(),!1),ud}decode(qa){const{headers:nd,body:od}=splitMessage(qa);return{headers:this.headerMarshaller.parse(nd),body:od}}formatHeaders(qa){return this.headerMarshaller.format(qa)}}class MessageDecoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.inputStream)yield this.options.decoder.decode(qa)}}class MessageEncoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.messageStream)yield this.options.encoder.encode(qa);this.options.includeEndFrame&&(yield new Uint8Array(0))}}class SmithyMessageDecoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.messageStream){const nd=await this.options.deserializer(qa);nd!==void 0&&(yield nd)}}}class SmithyMessageEncoderStream{constructor(qa){this.options=qa}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const qa of this.options.inputStream)yield this.options.serializer(qa)}}function getChunkedStream(Ra){let qa=0,nd=0,od=null,ld=null;const ud=pd=>{if(typeof pd!="number")throw new Error("Attempted to allocate an event message where size was not a number: "+pd);qa=pd,nd=4,od=new Uint8Array(pd),new DataView(od.buffer).setUint32(0,pd,!1)},dd=async function*(){const pd=Ra[Symbol.asyncIterator]();for(;;){const{value:fd,done:md}=await pd.next();if(md){if(qa)if(qa===nd)yield od;else throw new Error("Truncated event message received.");else return;return}const vd=fd.length;let Ad=0;for(;Ad<vd;){if(!od){const Id=vd-Ad;ld||(ld=new Uint8Array(4));const Od=Math.min(4-nd,Id);if(ld.set(fd.slice(Ad,Ad+Od),nd),nd+=Od,Ad+=Od,nd<4)break;ud(new DataView(ld.buffer).getUint32(0,!1)),ld=null}const Nd=Math.min(qa-nd,vd-Ad);od.set(fd.slice(Ad,Ad+Nd),nd),nd+=Nd,Ad+=Nd,qa&&qa===nd&&(yield od,od=null,qa=0,nd=0)}}};return{[Symbol.asyncIterator]:dd}}function getMessageUnmarshaller(Ra,qa){return async function(nd){const{value:od}=nd.headers[":message-type"];if(od==="error"){const ld=new Error(nd.headers[":error-message"].value||"UnknownError");throw ld.name=nd.headers[":error-code"].value,ld}else if(od==="exception"){const ld=nd.headers[":exception-type"].value,ud={[ld]:nd},dd=await Ra(ud);if(dd.$unknown){const pd=new Error(qa(nd.body));throw pd.name=ld,pd}throw dd[ld]}else if(od==="event"){const ld={[nd.headers[":event-type"].value]:nd},ud=await Ra(ld);return ud.$unknown?void 0:ud}else throw Error(`Unrecognizable event type: ${nd.headers[":event-type"].value}`)}}let EventStreamMarshaller$1=class{constructor({utf8Encoder:qa,utf8Decoder:nd}){this.eventStreamCodec=new EventStreamCodec(qa,nd),this.utfEncoder=qa}deserialize(qa,nd){const od=getChunkedStream(qa);return new SmithyMessageDecoderStream({messageStream:new MessageDecoderStream({inputStream:od,decoder:this.eventStreamCodec}),deserializer:getMessageUnmarshaller(nd,this.utfEncoder)})}serialize(qa,nd){return new MessageEncoderStream({messageStream:new SmithyMessageEncoderStream({inputStream:qa,serializer:nd}),encoder:this.eventStreamCodec,includeEndFrame:!0})}};const readableStreamtoIterable=Ra=>({[Symbol.asyncIterator]:async function*(){const qa=Ra.getReader();try{for(;;){const{done:nd,value:od}=await qa.read();if(nd)return;yield od}}finally{qa.releaseLock()}}}),iterableToReadableStream=Ra=>{const qa=Ra[Symbol.asyncIterator]();return new ReadableStream({async pull(nd){const{done:od,value:ld}=await qa.next();if(od)return nd.close();nd.enqueue(ld)}})};class EventStreamMarshaller{constructor({utf8Encoder:qa,utf8Decoder:nd}){this.universalMarshaller=new EventStreamMarshaller$1({utf8Decoder:nd,utf8Encoder:qa})}deserialize(qa,nd){const od=isReadableStream$1(qa)?readableStreamtoIterable(qa):qa;return this.universalMarshaller.deserialize(od,nd)}serialize(qa,nd){const od=this.universalMarshaller.serialize(qa,nd);return typeof ReadableStream=="function"?iterableToReadableStream(od):od}}const isReadableStream$1=Ra=>typeof ReadableStream=="function"&&Ra instanceof ReadableStream,eventStreamSerdeProvider=Ra=>new EventStreamMarshaller(Ra);async function blobReader(Ra,qa,nd=1024*1024){const od=Ra.size;let ld=0;for(;ld<od;){const ud=Ra.slice(ld,Math.min(od,ld+nd));qa(new Uint8Array(await ud.arrayBuffer())),ld+=ud.size}}const blobHasher=async function(qa,nd){const od=new qa;return await blobReader(nd,ld=>{od.update(ld)}),od.digest()},invalidProvider=Ra=>()=>Promise.reject(Ra),BLOCK_SIZE=64,DIGEST_LENGTH=16,INIT=[1732584193,4023233417,2562383102,271733878];class Md5{constructor(){this.reset()}update(qa){if(isEmptyData(qa))return;if(this.finished)throw new Error("Attempted to update an already finished hash.");const nd=convertToBuffer(qa);let od=0,{byteLength:ld}=nd;for(this.bytesHashed+=ld;ld>0;)this.buffer.setUint8(this.bufferLength++,nd[od++]),ld--,this.bufferLength===BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){const{buffer:nd,bufferLength:od,bytesHashed:ld}=this,ud=ld*8;if(nd.setUint8(this.bufferLength++,128),od%BLOCK_SIZE>=BLOCK_SIZE-8){for(let dd=this.bufferLength;dd<BLOCK_SIZE;dd++)nd.setUint8(dd,0);this.hashBuffer(),this.bufferLength=0}for(let dd=this.bufferLength;dd<BLOCK_SIZE-8;dd++)nd.setUint8(dd,0);nd.setUint32(BLOCK_SIZE-8,ud>>>0,!0),nd.setUint32(BLOCK_SIZE-4,Math.floor(ud/4294967296),!0),this.hashBuffer(),this.finished=!0}const qa=new DataView(new ArrayBuffer(DIGEST_LENGTH));for(let nd=0;nd<4;nd++)qa.setUint32(nd*4,this.state[nd],!0);return new Uint8Array(qa.buffer,qa.byteOffset,qa.byteLength)}hashBuffer(){const{buffer:qa,state:nd}=this;let od=nd[0],ld=nd[1],ud=nd[2],dd=nd[3];od=ff(od,ld,ud,dd,qa.getUint32(0,!0),7,3614090360),dd=ff(dd,od,ld,ud,qa.getUint32(4,!0),12,3905402710),ud=ff(ud,dd,od,ld,qa.getUint32(8,!0),17,606105819),ld=ff(ld,ud,dd,od,qa.getUint32(12,!0),22,3250441966),od=ff(od,ld,ud,dd,qa.getUint32(16,!0),7,4118548399),dd=ff(dd,od,ld,ud,qa.getUint32(20,!0),12,1200080426),ud=ff(ud,dd,od,ld,qa.getUint32(24,!0),17,2821735955),ld=ff(ld,ud,dd,od,qa.getUint32(28,!0),22,4249261313),od=ff(od,ld,ud,dd,qa.getUint32(32,!0),7,1770035416),dd=ff(dd,od,ld,ud,qa.getUint32(36,!0),12,2336552879),ud=ff(ud,dd,od,ld,qa.getUint32(40,!0),17,4294925233),ld=ff(ld,ud,dd,od,qa.getUint32(44,!0),22,2304563134),od=ff(od,ld,ud,dd,qa.getUint32(48,!0),7,1804603682),dd=ff(dd,od,ld,ud,qa.getUint32(52,!0),12,4254626195),ud=ff(ud,dd,od,ld,qa.getUint32(56,!0),17,2792965006),ld=ff(ld,ud,dd,od,qa.getUint32(60,!0),22,1236535329),od=gg(od,ld,ud,dd,qa.getUint32(4,!0),5,4129170786),dd=gg(dd,od,ld,ud,qa.getUint32(24,!0),9,3225465664),ud=gg(ud,dd,od,ld,qa.getUint32(44,!0),14,643717713),ld=gg(ld,ud,dd,od,qa.getUint32(0,!0),20,3921069994),od=gg(od,ld,ud,dd,qa.getUint32(20,!0),5,3593408605),dd=gg(dd,od,ld,ud,qa.getUint32(40,!0),9,38016083),ud=gg(ud,dd,od,ld,qa.getUint32(60,!0),14,3634488961),ld=gg(ld,ud,dd,od,qa.getUint32(16,!0),20,3889429448),od=gg(od,ld,ud,dd,qa.getUint32(36,!0),5,568446438),dd=gg(dd,od,ld,ud,qa.getUint32(56,!0),9,3275163606),ud=gg(ud,dd,od,ld,qa.getUint32(12,!0),14,4107603335),ld=gg(ld,ud,dd,od,qa.getUint32(32,!0),20,1163531501),od=gg(od,ld,ud,dd,qa.getUint32(52,!0),5,2850285829),dd=gg(dd,od,ld,ud,qa.getUint32(8,!0),9,4243563512),ud=gg(ud,dd,od,ld,qa.getUint32(28,!0),14,1735328473),ld=gg(ld,ud,dd,od,qa.getUint32(48,!0),20,2368359562),od=hh(od,ld,ud,dd,qa.getUint32(20,!0),4,4294588738),dd=hh(dd,od,ld,ud,qa.getUint32(32,!0),11,2272392833),ud=hh(ud,dd,od,ld,qa.getUint32(44,!0),16,1839030562),ld=hh(ld,ud,dd,od,qa.getUint32(56,!0),23,4259657740),od=hh(od,ld,ud,dd,qa.getUint32(4,!0),4,2763975236),dd=hh(dd,od,ld,ud,qa.getUint32(16,!0),11,1272893353),ud=hh(ud,dd,od,ld,qa.getUint32(28,!0),16,4139469664),ld=hh(ld,ud,dd,od,qa.getUint32(40,!0),23,3200236656),od=hh(od,ld,ud,dd,qa.getUint32(52,!0),4,681279174),dd=hh(dd,od,ld,ud,qa.getUint32(0,!0),11,3936430074),ud=hh(ud,dd,od,ld,qa.getUint32(12,!0),16,3572445317),ld=hh(ld,ud,dd,od,qa.getUint32(24,!0),23,76029189),od=hh(od,ld,ud,dd,qa.getUint32(36,!0),4,3654602809),dd=hh(dd,od,ld,ud,qa.getUint32(48,!0),11,3873151461),ud=hh(ud,dd,od,ld,qa.getUint32(60,!0),16,530742520),ld=hh(ld,ud,dd,od,qa.getUint32(8,!0),23,3299628645),od=ii(od,ld,ud,dd,qa.getUint32(0,!0),6,4096336452),dd=ii(dd,od,ld,ud,qa.getUint32(28,!0),10,1126891415),ud=ii(ud,dd,od,ld,qa.getUint32(56,!0),15,2878612391),ld=ii(ld,ud,dd,od,qa.getUint32(20,!0),21,4237533241),od=ii(od,ld,ud,dd,qa.getUint32(48,!0),6,1700485571),dd=ii(dd,od,ld,ud,qa.getUint32(12,!0),10,2399980690),ud=ii(ud,dd,od,ld,qa.getUint32(40,!0),15,4293915773),ld=ii(ld,ud,dd,od,qa.getUint32(4,!0),21,2240044497),od=ii(od,ld,ud,dd,qa.getUint32(32,!0),6,1873313359),dd=ii(dd,od,ld,ud,qa.getUint32(60,!0),10,4264355552),ud=ii(ud,dd,od,ld,qa.getUint32(24,!0),15,2734768916),ld=ii(ld,ud,dd,od,qa.getUint32(52,!0),21,1309151649),od=ii(od,ld,ud,dd,qa.getUint32(16,!0),6,4149444226),dd=ii(dd,od,ld,ud,qa.getUint32(44,!0),10,3174756917),ud=ii(ud,dd,od,ld,qa.getUint32(8,!0),15,718787259),ld=ii(ld,ud,dd,od,qa.getUint32(36,!0),21,3951481745),nd[0]=od+nd[0]&4294967295,nd[1]=ld+nd[1]&4294967295,nd[2]=ud+nd[2]&4294967295,nd[3]=dd+nd[3]&4294967295}reset(){this.state=Uint32Array.from(INIT),this.buffer=new DataView(new ArrayBuffer(BLOCK_SIZE)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}}function cmn(Ra,qa,nd,od,ld,ud){return qa=(qa+Ra&4294967295)+(od+ud&4294967295)&4294967295,(qa<<ld|qa>>>32-ld)+nd&4294967295}function ff(Ra,qa,nd,od,ld,ud,dd){return cmn(qa&nd|~qa&od,Ra,qa,ld,ud,dd)}function gg(Ra,qa,nd,od,ld,ud,dd){return cmn(qa&od|nd&~od,Ra,qa,ld,ud,dd)}function hh(Ra,qa,nd,od,ld,ud,dd){return cmn(qa^nd^od,Ra,qa,ld,ud,dd)}function ii(Ra,qa,nd,od,ld,ud,dd){return cmn(nd^(qa|~od),Ra,qa,ld,ud,dd)}function isEmptyData(Ra){return typeof Ra=="string"?Ra.length===0:Ra.byteLength===0}function convertToBuffer(Ra){return typeof Ra=="string"?fromUtf8$3(Ra):ArrayBuffer.isView(Ra)?new Uint8Array(Ra.buffer,Ra.byteOffset,Ra.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(Ra)}const TEXT_ENCODER=typeof TextEncoder=="function"?new TextEncoder:null,calculateBodyLength=Ra=>{if(typeof Ra=="string"){if(TEXT_ENCODER)return TEXT_ENCODER.encode(Ra).byteLength;let qa=Ra.length;for(let nd=qa-1;nd>=0;nd--){const od=Ra.charCodeAt(nd);od>127&&od<=2047?qa++:od>2047&&od<=65535&&(qa+=2),od>=56320&&od<=57343&&nd--}return qa}else{if(typeof Ra.byteLength=="number")return Ra.byteLength;if(typeof Ra.size=="number")return Ra.size}throw new Error(`Body Length computation failed for ${Ra}`)},getRuntimeConfig$1=Ra=>({apiVersion:"2006-03-01",base64Decoder:(Ra==null?void 0:Ra.base64Decoder)??fromBase64,base64Encoder:(Ra==null?void 0:Ra.base64Encoder)??toBase64,disableHostPrefix:(Ra==null?void 0:Ra.disableHostPrefix)??!1,endpointProvider:(Ra==null?void 0:Ra.endpointProvider)??defaultEndpointResolver,extensions:(Ra==null?void 0:Ra.extensions)??[],getAwsChunkedEncodingStream:(Ra==null?void 0:Ra.getAwsChunkedEncodingStream)??getAwsChunkedEncodingStream,httpAuthSchemeProvider:(Ra==null?void 0:Ra.httpAuthSchemeProvider)??defaultS3HttpAuthSchemeProvider,httpAuthSchemes:(Ra==null?void 0:Ra.httpAuthSchemes)??[{schemeId:"aws.auth#sigv4",identityProvider:qa=>qa.getIdentityProvider("aws.auth#sigv4"),signer:new AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:qa=>qa.getIdentityProvider("aws.auth#sigv4a"),signer:new AwsSdkSigV4ASigner}],logger:(Ra==null?void 0:Ra.logger)??new NoOpLogger,sdkStreamMixin:(Ra==null?void 0:Ra.sdkStreamMixin)??sdkStreamMixin,serviceId:(Ra==null?void 0:Ra.serviceId)??"S3",signerConstructor:(Ra==null?void 0:Ra.signerConstructor)??SignatureV4MultiRegion,signingEscapePath:(Ra==null?void 0:Ra.signingEscapePath)??!1,urlParser:(Ra==null?void 0:Ra.urlParser)??parseUrl,useArnRegion:(Ra==null?void 0:Ra.useArnRegion)??!1,utf8Decoder:(Ra==null?void 0:Ra.utf8Decoder)??fromUtf8$3,utf8Encoder:(Ra==null?void 0:Ra.utf8Encoder)??toUtf8}),DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"],resolveDefaultsModeConfig=({defaultsMode:Ra}={})=>memoize$1(async()=>{const qa=typeof Ra=="function"?await Ra():Ra;switch(qa==null?void 0:qa.toLowerCase()){case"auto":return Promise.resolve(isMobileBrowser()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(qa==null?void 0:qa.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${qa}`)}}),isMobileBrowser=()=>{var nd,od;const Ra=typeof window<"u"&&((nd=window==null?void 0:window.navigator)!=null&&nd.userAgent)?Bowser.parse(window.navigator.userAgent):void 0,qa=(od=Ra==null?void 0:Ra.platform)==null?void 0:od.type;return qa==="tablet"||qa==="mobile"},getRuntimeConfig=Ra=>{const qa=resolveDefaultsModeConfig(Ra),nd=()=>qa().then(loadConfigsForDefaultMode),od=getRuntimeConfig$1(Ra);return{...od,...Ra,runtime:"browser",defaultsMode:qa,bodyLengthChecker:(Ra==null?void 0:Ra.bodyLengthChecker)??calculateBodyLength,credentialDefaultProvider:(Ra==null?void 0:Ra.credentialDefaultProvider)??(ld=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:(Ra==null?void 0:Ra.defaultUserAgentProvider)??createDefaultUserAgentProvider({serviceId:od.serviceId,clientVersion:packageInfo.version}),eventStreamSerdeProvider:(Ra==null?void 0:Ra.eventStreamSerdeProvider)??eventStreamSerdeProvider,maxAttempts:(Ra==null?void 0:Ra.maxAttempts)??DEFAULT_MAX_ATTEMPTS,md5:(Ra==null?void 0:Ra.md5)??Md5,region:(Ra==null?void 0:Ra.region)??invalidProvider("Region is missing"),requestHandler:FetchHttpHandler.create((Ra==null?void 0:Ra.requestHandler)??nd),retryMode:(Ra==null?void 0:Ra.retryMode)??(async()=>(await nd()).retryMode||DEFAULT_RETRY_MODE),sha1:(Ra==null?void 0:Ra.sha1)??Sha1,sha256:(Ra==null?void 0:Ra.sha256)??Sha256,streamCollector:(Ra==null?void 0:Ra.streamCollector)??streamCollector,streamHasher:(Ra==null?void 0:Ra.streamHasher)??blobHasher,useDualstackEndpoint:(Ra==null?void 0:Ra.useDualstackEndpoint)??(()=>Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),useFipsEndpoint:(Ra==null?void 0:Ra.useFipsEndpoint)??(()=>Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT))}},getAwsRegionExtensionConfiguration=Ra=>{let qa=async()=>{if(Ra.region===void 0)throw new Error("Region is missing from runtimeConfig");const nd=Ra.region;return typeof nd=="string"?nd:nd()};return{setRegion(nd){qa=nd},region(){return qa}}},resolveAwsRegionExtensionConfiguration=Ra=>({region:Ra.region()}),getHttpAuthExtensionConfiguration=Ra=>{const qa=Ra.httpAuthSchemes;let nd=Ra.httpAuthSchemeProvider,od=Ra.credentials;return{setHttpAuthScheme(ld){const ud=qa.findIndex(dd=>dd.schemeId===ld.schemeId);ud===-1?qa.push(ld):qa.splice(ud,1,ld)},httpAuthSchemes(){return qa},setHttpAuthSchemeProvider(ld){nd=ld},httpAuthSchemeProvider(){return nd},setCredentials(ld){od=ld},credentials(){return od}}},resolveHttpAuthRuntimeConfig=Ra=>({httpAuthSchemes:Ra.httpAuthSchemes(),httpAuthSchemeProvider:Ra.httpAuthSchemeProvider(),credentials:Ra.credentials()}),asPartial=Ra=>Ra,resolveRuntimeExtensions=(Ra,qa)=>{const nd={...asPartial(getAwsRegionExtensionConfiguration(Ra)),...asPartial(getDefaultExtensionConfiguration(Ra)),...asPartial(getHttpHandlerExtensionConfiguration(Ra)),...asPartial(getHttpAuthExtensionConfiguration(Ra))};return qa.forEach(od=>od.configure(nd)),{...Ra,...resolveAwsRegionExtensionConfiguration(nd),...resolveDefaultRuntimeConfig(nd),...resolveHttpHandlerRuntimeConfig(nd),...resolveHttpAuthRuntimeConfig(nd)}};class S3Client extends Client$1{constructor(...[qa]){const nd=getRuntimeConfig(qa||{}),od=resolveClientEndpointParameters(nd),ld=resolveUserAgentConfig(od),ud=resolveFlexibleChecksumsConfig(ld),dd=resolveRetryConfig(ud),pd=resolveRegionConfig(dd),fd=pd,md=resolveEndpointConfig(fd),vd=resolveEventStreamSerdeConfig(md),Ad=resolveHttpAuthSchemeConfig(vd),Nd=resolveS3Config(Ad,{session:[()=>this,CreateSessionCommand]}),Id=resolveRuntimeExtensions(Nd,(qa==null?void 0:qa.extensions)||[]);super(Id),this.config=Id,this.middlewareStack.use(getUserAgentPlugin(this.config)),this.middlewareStack.use(getRetryPlugin(this.config)),this.middlewareStack.use(getContentLengthPlugin(this.config)),this.middlewareStack.use(getHostHeaderPlugin(this.config)),this.middlewareStack.use(getLoggerPlugin(this.config)),this.middlewareStack.use(getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:defaultS3HttpAuthSchemeParametersProvider,identityProviderConfigProvider:async Od=>new DefaultIdentityProviderConfig({"aws.auth#sigv4":Od.credentials,"aws.auth#sigv4a":Od.credentials})})),this.middlewareStack.use(getHttpSigningPlugin(this.config)),this.middlewareStack.use(getValidateBucketNamePlugin(this.config)),this.middlewareStack.use(getAddExpectContinuePlugin(this.config)),this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config)),this.middlewareStack.use(getS3ExpressPlugin(this.config)),this.middlewareStack.use(getS3ExpressHttpSigningPlugin(this.config))}destroy(){super.destroy()}}function ssecMiddleware(Ra){return qa=>async nd=>{const od={...nd.input},ld=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(const ud of ld){const dd=od[ud.target];if(dd){let pd;typeof dd=="string"?isValidBase64EncodedSSECustomerKey(dd,Ra)?pd=Ra.base64Decoder(dd):(pd=Ra.utf8Decoder(dd),od[ud.target]=Ra.base64Encoder(pd)):(pd=ArrayBuffer.isView(dd)?new Uint8Array(dd.buffer,dd.byteOffset,dd.byteLength):new Uint8Array(dd),od[ud.target]=Ra.base64Encoder(pd));const fd=new Ra.md5;fd.update(pd),od[ud.hash]=Ra.base64Encoder(await fd.digest())}}return qa({...nd,input:od})}}const ssecMiddlewareOptions={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},getSsecPlugin=Ra=>({applyToStack:qa=>{qa.add(ssecMiddleware(Ra),ssecMiddlewareOptions)}});function isValidBase64EncodedSSECustomerKey(Ra,qa){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(Ra))return!1;try{return qa.base64Decoder(Ra).length===32}catch{return!1}}class PutObjectCommand extends Command.classBuilder().ep({...commonParams,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(qa,nd,od,ld){return[getSerdePlugin(od,this.serialize,this.deserialize),getEndpointPlugin(od,qa.getEndpointParameterInstructions()),getFlexibleChecksumsPlugin(od,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),getCheckContentLengthHeaderPlugin(),getThrow200ExceptionsPlugin(od),getSsecPlugin(od)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(PutObjectRequestFilterSensitiveLog,PutObjectOutputFilterSensitiveLog).ser(se_PutObjectCommand).de(de_PutObjectCommand).build(){}var toString=Object.prototype.toString,isModern=typeof Buffer$4<"u"&&typeof Buffer$4.alloc=="function"&&typeof Buffer$4.allocUnsafe=="function"&&typeof Buffer$4.from=="function";function isArrayBuffer(Ra){return toString.call(Ra).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(Ra,qa,nd){qa>>>=0;var od=Ra.byteLength-qa;if(od<0)throw new RangeError("'offset' is out of bounds");if(nd===void 0)nd=od;else if(nd>>>=0,nd>od)throw new RangeError("'length' is out of bounds");return isModern?Buffer$4.from(Ra.slice(qa,qa+nd)):new Buffer$4(new Uint8Array(Ra.slice(qa,qa+nd)))}function fromString(Ra,qa){if((typeof qa!="string"||qa==="")&&(qa="utf8"),!Buffer$4.isEncoding(qa))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer$4.from(Ra,qa):new Buffer$4(Ra,qa)}function bufferFrom(Ra,qa,nd){if(typeof Ra=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer(Ra)?fromArrayBuffer(Ra,qa,nd):typeof Ra=="string"?fromString(Ra,qa):isModern?Buffer$4.from(Ra):new Buffer$4(Ra)}var bufferFrom_1=bufferFrom;const Buffer$1=getDefaultExportFromCjs(bufferFrom_1);var cosJsSdkV5={exports:{}};(function(Ra,qa){(function(od,ld){Ra.exports=ld()})(commonjsGlobal,function(){return function(nd){var od={};function ld(ud){if(od[ud])return od[ud].exports;var dd=od[ud]={i:ud,l:!1,exports:{}};return nd[ud].call(dd.exports,dd,dd.exports,ld),dd.l=!0,dd.exports}return ld.m=nd,ld.c=od,ld.d=function(ud,dd,pd){ld.o(ud,dd)||Object.defineProperty(ud,dd,{enumerable:!0,get:pd})},ld.r=function(ud){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ud,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ud,"__esModule",{value:!0})},ld.t=function(ud,dd){if(dd&1&&(ud=ld(ud)),dd&8||dd&4&&typeof ud=="object"&&ud&&ud.__esModule)return ud;var pd=Object.create(null);if(ld.r(pd),Object.defineProperty(pd,"default",{enumerable:!0,value:ud}),dd&2&&typeof ud!="string")for(var fd in ud)ld.d(pd,fd,(function(md){return ud[md]}).bind(null,fd));return pd},ld.n=function(ud){var dd=ud&&ud.__esModule?function(){return ud.default}:function(){return ud};return ld.d(dd,"a",dd),dd},ld.o=function(ud,dd){return Object.prototype.hasOwnProperty.call(ud,dd)},ld.p="/dist/",ld(ld.s="./index.js")}({"./index.js":function(nd,od,ld){var ud=ld("./src/cos.js");nd.exports=ud},"./lib/base64.js":function(nd,od){var ld=function(ud){ud=ud||{};var dd=ud.Base64,pd="2.1.9",fd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",md=function(Ef){for(var _f={},xf=0,vf=Ef.length;xf<vf;xf++)_f[Ef.charAt(xf)]=xf;return _f}(fd),vd=String.fromCharCode,Ad=function(_f){if(_f.length<2){var xf=_f.charCodeAt(0);return xf<128?_f:xf<2048?vd(192|xf>>>6)+vd(128|xf&63):vd(224|xf>>>12&15)+vd(128|xf>>>6&63)+vd(128|xf&63)}else{var xf=65536+(_f.charCodeAt(0)-55296)*1024+(_f.charCodeAt(1)-56320);return vd(240|xf>>>18&7)+vd(128|xf>>>12&63)+vd(128|xf>>>6&63)+vd(128|xf&63)}},Nd=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Id=function(_f){return _f.replace(Nd,Ad)},Od=function(_f){var xf=[0,2,1][_f.length%3],vf=_f.charCodeAt(0)<<16|(_f.length>1?_f.charCodeAt(1):0)<<8|(_f.length>2?_f.charCodeAt(2):0),Af=[fd.charAt(vf>>>18),fd.charAt(vf>>>12&63),xf>=2?"=":fd.charAt(vf>>>6&63),xf>=1?"=":fd.charAt(vf&63)];return Af.join("")},Md=ud.btoa?function(Ef){return ud.btoa(Ef)}:function(Ef){return Ef.replace(/[\s\S]{1,3}/g,Od)},Ud=function(Ef){return Md(Id(Ef))},jd=function(_f,xf){return xf?Ud(String(_f)).replace(/[+\/]/g,function(vf){return vf=="+"?"-":"_"}).replace(/=/g,""):Ud(String(_f))},Ld=function(_f){return jd(_f,!0)},Bd=new RegExp(["[À-ß][-¿]","[à-ï][-¿]{2}","[ð-÷][-¿]{3}"].join("|"),"g"),Gd=function(_f){switch(_f.length){case 4:var xf=(7&_f.charCodeAt(0))<<18|(63&_f.charCodeAt(1))<<12|(63&_f.charCodeAt(2))<<6|63&_f.charCodeAt(3),vf=xf-65536;return vd((vf>>>10)+55296)+vd((vf&1023)+56320);case 3:return vd((15&_f.charCodeAt(0))<<12|(63&_f.charCodeAt(1))<<6|63&_f.charCodeAt(2));default:return vd((31&_f.charCodeAt(0))<<6|63&_f.charCodeAt(1))}},qd=function(_f){return _f.replace(Bd,Gd)},zd=function(_f){var xf=_f.length,vf=xf%4,Af=(xf>0?md[_f.charAt(0)]<<18:0)|(xf>1?md[_f.charAt(1)]<<12:0)|(xf>2?md[_f.charAt(2)]<<6:0)|(xf>3?md[_f.charAt(3)]:0),Df=[vd(Af>>>16),vd(Af>>>8&255),vd(Af&255)];return Df.length-=[0,0,2,1][vf],Df.join("")},Xd=ud.atob?function(Ef){return ud.atob(Ef)}:function(Ef){return Ef.replace(/[\s\S]{1,4}/g,zd)},gf=function(Ef){return qd(Xd(Ef))},Yd=function(_f){return gf(String(_f).replace(/[-_]/g,function(xf){return xf=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},Zd=function(){var _f=ud.Base64;return ud.Base64=dd,_f},df={VERSION:pd,atob:Xd,btoa:Md,fromBase64:Yd,toBase64:jd,utob:Id,encode:jd,encodeURI:Ld,btou:qd,decode:Yd,noConflict:Zd};return df}();nd.exports=ld},"./lib/crypto.js":function(nd,od,ld){(function(ud){var dd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),pd=pd||function(fd,md){var vd={},Ad=vd.lib={},Nd=function(){},Id=Ad.Base={extend:function(zd){Nd.prototype=this;var Xd=new Nd;return zd&&Xd.mixIn(zd),Xd.hasOwnProperty("init")||(Xd.init=function(){Xd.$super.init.apply(this,arguments)}),Xd.init.prototype=Xd,Xd.$super=this,Xd},create:function(){var zd=this.extend();return zd.init.apply(zd,arguments),zd},init:function(){},mixIn:function(zd){for(var Xd in zd)zd.hasOwnProperty(Xd)&&(this[Xd]=zd[Xd]);zd.hasOwnProperty("toString")&&(this.toString=zd.toString)},clone:function(){return this.init.prototype.extend(this)}},Od=Ad.WordArray=Id.extend({init:function(zd,Xd){zd=this.words=zd||[],this.sigBytes=Xd!=md?Xd:4*zd.length},toString:function(zd){return(zd||Ud).stringify(this)},concat:function(zd){var Xd=this.words,gf=zd.words,Yd=this.sigBytes;if(zd=zd.sigBytes,this.clamp(),Yd%4)for(var Zd=0;Zd<zd;Zd++)Xd[Yd+Zd>>>2]|=(gf[Zd>>>2]>>>24-8*(Zd%4)&255)<<24-8*((Yd+Zd)%4);else if(65535<gf.length)for(Zd=0;Zd<zd;Zd+=4)Xd[Yd+Zd>>>2]=gf[Zd>>>2];else Xd.push.apply(Xd,gf);return this.sigBytes+=zd,this},clamp:function(){var zd=this.words,Xd=this.sigBytes;zd[Xd>>>2]&=4294967295<<32-8*(Xd%4),zd.length=fd.ceil(Xd/4)},clone:function(){var zd=Id.clone.call(this);return zd.words=this.words.slice(0),zd},random:function(zd){for(var Xd=[],gf=0;gf<zd;gf+=4)Xd.push(4294967296*fd.random()|0);return new Od.init(Xd,zd)}}),Md=vd.enc={},Ud=Md.Hex={stringify:function(zd){var Xd=zd.words;zd=zd.sigBytes;for(var gf=[],Yd=0;Yd<zd;Yd++){var Zd=Xd[Yd>>>2]>>>24-8*(Yd%4)&255;gf.push((Zd>>>4).toString(16)),gf.push((Zd&15).toString(16))}return gf.join("")},parse:function(zd){for(var Xd=zd.length,gf=[],Yd=0;Yd<Xd;Yd+=2)gf[Yd>>>3]|=parseInt(zd.substr(Yd,2),16)<<24-4*(Yd%8);return new Od.init(gf,Xd/2)}},jd=Md.Latin1={stringify:function(zd){var Xd=zd.words;zd=zd.sigBytes;for(var gf=[],Yd=0;Yd<zd;Yd++)gf.push(String.fromCharCode(Xd[Yd>>>2]>>>24-8*(Yd%4)&255));return gf.join("")},parse:function(zd){for(var Xd=zd.length,gf=[],Yd=0;Yd<Xd;Yd++)gf[Yd>>>2]|=(zd.charCodeAt(Yd)&255)<<24-8*(Yd%4);return new Od.init(gf,Xd)}},Ld=Md.Utf8={stringify:function(zd){try{return decodeURIComponent(escape(jd.stringify(zd)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(zd){return jd.parse(unescape(encodeURIComponent(zd)))}},Bd=Ad.BufferedBlockAlgorithm=Id.extend({reset:function(){this._data=new Od.init,this._nDataBytes=0},_append:function(zd){typeof zd=="string"&&(zd=Ld.parse(zd)),this._data.concat(zd),this._nDataBytes+=zd.sigBytes},_process:function(zd){var Xd=this._data,gf=Xd.words,Yd=Xd.sigBytes,Zd=this.blockSize,df=Yd/(4*Zd),df=zd?fd.ceil(df):fd.max((df|0)-this._minBufferSize,0);if(zd=df*Zd,Yd=fd.min(4*zd,Yd),zd){for(var Ef=0;Ef<zd;Ef+=Zd)this._doProcessBlock(gf,Ef);Ef=gf.splice(0,zd),Xd.sigBytes-=Yd}return new Od.init(Ef,Yd)},clone:function(){var zd=Id.clone.call(this);return zd._data=this._data.clone(),zd},_minBufferSize:0});Ad.Hasher=Bd.extend({cfg:Id.extend(),init:function(zd){this.cfg=this.cfg.extend(zd),this.reset()},reset:function(){Bd.reset.call(this),this._doReset()},update:function(zd){return this._append(zd),this._process(),this},finalize:function(zd){return zd&&this._append(zd),this._doFinalize()},blockSize:16,_createHelper:function(zd){return function(Xd,gf){return new zd.init(gf).finalize(Xd)}},_createHmacHelper:function(zd){return function(Xd,gf){return new Gd.HMAC.init(zd,gf).finalize(Xd)}}});var Gd=vd.algo={};return vd}(Math);(function(){var fd=pd,Nd=fd.lib,md=Nd.WordArray,vd=Nd.Hasher,Ad=[],Nd=fd.algo.SHA1=vd.extend({_doReset:function(){this._hash=new md.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(Od,Md){for(var Ud=this._hash.words,jd=Ud[0],Ld=Ud[1],Bd=Ud[2],Gd=Ud[3],qd=Ud[4],zd=0;80>zd;zd++){if(16>zd)Ad[zd]=Od[Md+zd]|0;else{var Xd=Ad[zd-3]^Ad[zd-8]^Ad[zd-14]^Ad[zd-16];Ad[zd]=Xd<<1|Xd>>>31}Xd=(jd<<5|jd>>>27)+qd+Ad[zd],Xd=20>zd?Xd+((Ld&Bd|~Ld&Gd)+1518500249):40>zd?Xd+((Ld^Bd^Gd)+1859775393):60>zd?Xd+((Ld&Bd|Ld&Gd|Bd&Gd)-1894007588):Xd+((Ld^Bd^Gd)-899497514),qd=Gd,Gd=Bd,Bd=Ld<<30|Ld>>>2,Ld=jd,jd=Xd}Ud[0]=Ud[0]+jd|0,Ud[1]=Ud[1]+Ld|0,Ud[2]=Ud[2]+Bd|0,Ud[3]=Ud[3]+Gd|0,Ud[4]=Ud[4]+qd|0},_doFinalize:function(){var Od=this._data,Md=Od.words,Ud=8*this._nDataBytes,jd=8*Od.sigBytes;return Md[jd>>>5]|=128<<24-jd%32,Md[(jd+64>>>9<<4)+14]=Math.floor(Ud/4294967296),Md[(jd+64>>>9<<4)+15]=Ud,Od.sigBytes=4*Md.length,this._process(),this._hash},clone:function(){var Od=vd.clone.call(this);return Od._hash=this._hash.clone(),Od}});fd.SHA1=vd._createHelper(Nd),fd.HmacSHA1=vd._createHmacHelper(Nd)})(),function(){var fd=pd,md=fd.enc.Utf8;fd.algo.HMAC=fd.lib.Base.extend({init:function(Ad,Nd){Ad=this._hasher=new Ad.init,typeof Nd=="string"&&(Nd=md.parse(Nd));var Id=Ad.blockSize,Od=4*Id;Nd.sigBytes>Od&&(Nd=Ad.finalize(Nd)),Nd.clamp();for(var Md=this._oKey=Nd.clone(),Ud=this._iKey=Nd.clone(),jd=Md.words,Ld=Ud.words,Bd=0;Bd<Id;Bd++)jd[Bd]^=1549556828,Ld[Bd]^=909522486;Md.sigBytes=Ud.sigBytes=Od,this.reset()},reset:function(){var Ad=this._hasher;Ad.reset(),Ad.update(this._iKey)},update:function(Ad){return this._hasher.update(Ad),this},finalize:function(Ad){var Nd=this._hasher;return Ad=Nd.finalize(Ad),Nd.reset(),Nd.finalize(this._oKey.clone().concat(Ad))}})}(),function(){var fd=pd,md=fd.lib,vd=md.WordArray,Ad=fd.enc;Ad.Base64={stringify:function(Id){var Od=Id.words,Md=Id.sigBytes,Ud=this._map;Id.clamp();for(var jd=[],Ld=0;Ld<Md;Ld+=3)for(var Bd=Od[Ld>>>2]>>>24-Ld%4*8&255,Gd=Od[Ld+1>>>2]>>>24-(Ld+1)%4*8&255,qd=Od[Ld+2>>>2]>>>24-(Ld+2)%4*8&255,zd=Bd<<16|Gd<<8|qd,Xd=0;Xd<4&&Ld+Xd*.75<Md;Xd++)jd.push(Ud.charAt(zd>>>6*(3-Xd)&63));var gf=Ud.charAt(64);if(gf)for(;jd.length%4;)jd.push(gf);return jd.join("")},parse:function(Id){var Od=Id.length,Md=this._map,Ud=Md.charAt(64);if(Ud){var jd=Id.indexOf(Ud);jd!=-1&&(Od=jd)}for(var Ld=[],Bd=0,Gd=0;Gd<Od;Gd++)if(Gd%4){var qd=Md.indexOf(Id.charAt(Gd-1))<<Gd%4*2,zd=Md.indexOf(Id.charAt(Gd))>>>6-Gd%4*2;Ld[Bd>>>2]|=(qd|zd)<<24-Bd%4*8,Bd++}return vd.create(Ld,Bd)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),dd(ud)==="object"?ud.exports=pd:window.CryptoJS=pd}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/md5.js":function(nd,od,ld){(function(ud){var dd,pd=ld("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var fd=(typeof window>"u"?"undefined":pd(window))==="object",md=fd?window:{};md.JS_MD5_NO_WINDOW&&(fd=!1);var vd=!fd&&(typeof self>"u"?"undefined":pd(self))==="object";vd&&(md=self);var Ad=!md.JS_MD5_NO_COMMON_JS&&pd(ud)==="object"&&ud.exports,Nd=ld("./node_modules/webpack/buildin/amd-options.js"),Id=!md.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",Od="0123456789abcdef".split(""),Md=[128,32768,8388608,-2147483648],Ud=[0,8,16,24],jd=["hex","array","digest","buffer","arrayBuffer","base64"],Ld="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Bd=[],Gd;if(Id){var qd=new ArrayBuffer(68);Gd=new Uint8Array(qd),Bd=new Uint32Array(qd)}(md.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(Zd){return Object.prototype.toString.call(Zd)==="[object Array]"}),Id&&(md.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(Zd){return pd(Zd)==="object"&&Zd.buffer&&Zd.buffer.constructor===ArrayBuffer});var zd=function(df){return function(Ef,_f){return new gf(!0).update(Ef,_f)[df]()}},Xd=function(){var df=zd("hex");df.getCtx=df.create=function(){return new gf},df.update=function(xf){return df.create().update(xf)};for(var Ef=0;Ef<jd.length;++Ef){var _f=jd[Ef];df[_f]=zd(_f)}return df};function gf(Zd){if(Zd)Bd[0]=Bd[16]=Bd[1]=Bd[2]=Bd[3]=Bd[4]=Bd[5]=Bd[6]=Bd[7]=Bd[8]=Bd[9]=Bd[10]=Bd[11]=Bd[12]=Bd[13]=Bd[14]=Bd[15]=0,this.blocks=Bd,this.buffer8=Gd;else if(Id){var df=new ArrayBuffer(68);this.buffer8=new Uint8Array(df),this.blocks=new Uint32Array(df)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}gf.prototype.update=function(Zd,df){if(!this.finalized){for(var Ef,_f=0,xf,vf=Zd.length,Af=this.blocks,Df=this.buffer8;_f<vf;){if(this.hashed&&(this.hashed=!1,Af[0]=Af[16],Af[16]=Af[1]=Af[2]=Af[3]=Af[4]=Af[5]=Af[6]=Af[7]=Af[8]=Af[9]=Af[10]=Af[11]=Af[12]=Af[13]=Af[14]=Af[15]=0),Id)for(xf=this.start;_f<vf&&xf<64;++_f)Ef=Zd.charCodeAt(_f),df||Ef<128?Df[xf++]=Ef:Ef<2048?(Df[xf++]=192|Ef>>6,Df[xf++]=128|Ef&63):Ef<55296||Ef>=57344?(Df[xf++]=224|Ef>>12,Df[xf++]=128|Ef>>6&63,Df[xf++]=128|Ef&63):(Ef=65536+((Ef&1023)<<10|Zd.charCodeAt(++_f)&1023),Df[xf++]=240|Ef>>18,Df[xf++]=128|Ef>>12&63,Df[xf++]=128|Ef>>6&63,Df[xf++]=128|Ef&63);else for(xf=this.start;_f<vf&&xf<64;++_f)Ef=Zd.charCodeAt(_f),df||Ef<128?Af[xf>>2]|=Ef<<Ud[xf++&3]:Ef<2048?(Af[xf>>2]|=(192|Ef>>6)<<Ud[xf++&3],Af[xf>>2]|=(128|Ef&63)<<Ud[xf++&3]):Ef<55296||Ef>=57344?(Af[xf>>2]|=(224|Ef>>12)<<Ud[xf++&3],Af[xf>>2]|=(128|Ef>>6&63)<<Ud[xf++&3],Af[xf>>2]|=(128|Ef&63)<<Ud[xf++&3]):(Ef=65536+((Ef&1023)<<10|Zd.charCodeAt(++_f)&1023),Af[xf>>2]|=(240|Ef>>18)<<Ud[xf++&3],Af[xf>>2]|=(128|Ef>>12&63)<<Ud[xf++&3],Af[xf>>2]|=(128|Ef>>6&63)<<Ud[xf++&3],Af[xf>>2]|=(128|Ef&63)<<Ud[xf++&3]);this.lastByteIndex=xf,this.bytes+=xf-this.start,xf>=64?(this.start=xf-64,this.hash(),this.hashed=!0):this.start=xf}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},gf.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Zd=this.blocks,df=this.lastByteIndex;Zd[df>>2]|=Md[df&3],df>=56&&(this.hashed||this.hash(),Zd[0]=Zd[16],Zd[16]=Zd[1]=Zd[2]=Zd[3]=Zd[4]=Zd[5]=Zd[6]=Zd[7]=Zd[8]=Zd[9]=Zd[10]=Zd[11]=Zd[12]=Zd[13]=Zd[14]=Zd[15]=0),Zd[14]=this.bytes<<3,Zd[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},gf.prototype.hash=function(){var Zd,df,Ef,_f,xf,vf,Af=this.blocks;this.first?(Zd=Af[0]-680876937,Zd=(Zd<<7|Zd>>>25)-271733879<<0,_f=(-1732584194^Zd&2004318071)+Af[1]-117830708,_f=(_f<<12|_f>>>20)+Zd<<0,Ef=(-271733879^_f&(Zd^-271733879))+Af[2]-1126478375,Ef=(Ef<<17|Ef>>>15)+_f<<0,df=(Zd^Ef&(_f^Zd))+Af[3]-1316259209,df=(df<<22|df>>>10)+Ef<<0):(Zd=this.h0,df=this.h1,Ef=this.h2,_f=this.h3,Zd+=(_f^df&(Ef^_f))+Af[0]-680876936,Zd=(Zd<<7|Zd>>>25)+df<<0,_f+=(Ef^Zd&(df^Ef))+Af[1]-389564586,_f=(_f<<12|_f>>>20)+Zd<<0,Ef+=(df^_f&(Zd^df))+Af[2]+606105819,Ef=(Ef<<17|Ef>>>15)+_f<<0,df+=(Zd^Ef&(_f^Zd))+Af[3]-1044525330,df=(df<<22|df>>>10)+Ef<<0),Zd+=(_f^df&(Ef^_f))+Af[4]-176418897,Zd=(Zd<<7|Zd>>>25)+df<<0,_f+=(Ef^Zd&(df^Ef))+Af[5]+1200080426,_f=(_f<<12|_f>>>20)+Zd<<0,Ef+=(df^_f&(Zd^df))+Af[6]-1473231341,Ef=(Ef<<17|Ef>>>15)+_f<<0,df+=(Zd^Ef&(_f^Zd))+Af[7]-45705983,df=(df<<22|df>>>10)+Ef<<0,Zd+=(_f^df&(Ef^_f))+Af[8]+1770035416,Zd=(Zd<<7|Zd>>>25)+df<<0,_f+=(Ef^Zd&(df^Ef))+Af[9]-1958414417,_f=(_f<<12|_f>>>20)+Zd<<0,Ef+=(df^_f&(Zd^df))+Af[10]-42063,Ef=(Ef<<17|Ef>>>15)+_f<<0,df+=(Zd^Ef&(_f^Zd))+Af[11]-1990404162,df=(df<<22|df>>>10)+Ef<<0,Zd+=(_f^df&(Ef^_f))+Af[12]+1804603682,Zd=(Zd<<7|Zd>>>25)+df<<0,_f+=(Ef^Zd&(df^Ef))+Af[13]-40341101,_f=(_f<<12|_f>>>20)+Zd<<0,Ef+=(df^_f&(Zd^df))+Af[14]-1502002290,Ef=(Ef<<17|Ef>>>15)+_f<<0,df+=(Zd^Ef&(_f^Zd))+Af[15]+1236535329,df=(df<<22|df>>>10)+Ef<<0,Zd+=(Ef^_f&(df^Ef))+Af[1]-165796510,Zd=(Zd<<5|Zd>>>27)+df<<0,_f+=(df^Ef&(Zd^df))+Af[6]-1069501632,_f=(_f<<9|_f>>>23)+Zd<<0,Ef+=(Zd^df&(_f^Zd))+Af[11]+643717713,Ef=(Ef<<14|Ef>>>18)+_f<<0,df+=(_f^Zd&(Ef^_f))+Af[0]-373897302,df=(df<<20|df>>>12)+Ef<<0,Zd+=(Ef^_f&(df^Ef))+Af[5]-701558691,Zd=(Zd<<5|Zd>>>27)+df<<0,_f+=(df^Ef&(Zd^df))+Af[10]+38016083,_f=(_f<<9|_f>>>23)+Zd<<0,Ef+=(Zd^df&(_f^Zd))+Af[15]-660478335,Ef=(Ef<<14|Ef>>>18)+_f<<0,df+=(_f^Zd&(Ef^_f))+Af[4]-405537848,df=(df<<20|df>>>12)+Ef<<0,Zd+=(Ef^_f&(df^Ef))+Af[9]+568446438,Zd=(Zd<<5|Zd>>>27)+df<<0,_f+=(df^Ef&(Zd^df))+Af[14]-1019803690,_f=(_f<<9|_f>>>23)+Zd<<0,Ef+=(Zd^df&(_f^Zd))+Af[3]-187363961,Ef=(Ef<<14|Ef>>>18)+_f<<0,df+=(_f^Zd&(Ef^_f))+Af[8]+1163531501,df=(df<<20|df>>>12)+Ef<<0,Zd+=(Ef^_f&(df^Ef))+Af[13]-1444681467,Zd=(Zd<<5|Zd>>>27)+df<<0,_f+=(df^Ef&(Zd^df))+Af[2]-51403784,_f=(_f<<9|_f>>>23)+Zd<<0,Ef+=(Zd^df&(_f^Zd))+Af[7]+1735328473,Ef=(Ef<<14|Ef>>>18)+_f<<0,df+=(_f^Zd&(Ef^_f))+Af[12]-1926607734,df=(df<<20|df>>>12)+Ef<<0,xf=df^Ef,Zd+=(xf^_f)+Af[5]-378558,Zd=(Zd<<4|Zd>>>28)+df<<0,_f+=(xf^Zd)+Af[8]-2022574463,_f=(_f<<11|_f>>>21)+Zd<<0,vf=_f^Zd,Ef+=(vf^df)+Af[11]+1839030562,Ef=(Ef<<16|Ef>>>16)+_f<<0,df+=(vf^Ef)+Af[14]-35309556,df=(df<<23|df>>>9)+Ef<<0,xf=df^Ef,Zd+=(xf^_f)+Af[1]-1530992060,Zd=(Zd<<4|Zd>>>28)+df<<0,_f+=(xf^Zd)+Af[4]+1272893353,_f=(_f<<11|_f>>>21)+Zd<<0,vf=_f^Zd,Ef+=(vf^df)+Af[7]-155497632,Ef=(Ef<<16|Ef>>>16)+_f<<0,df+=(vf^Ef)+Af[10]-1094730640,df=(df<<23|df>>>9)+Ef<<0,xf=df^Ef,Zd+=(xf^_f)+Af[13]+681279174,Zd=(Zd<<4|Zd>>>28)+df<<0,_f+=(xf^Zd)+Af[0]-358537222,_f=(_f<<11|_f>>>21)+Zd<<0,vf=_f^Zd,Ef+=(vf^df)+Af[3]-722521979,Ef=(Ef<<16|Ef>>>16)+_f<<0,df+=(vf^Ef)+Af[6]+76029189,df=(df<<23|df>>>9)+Ef<<0,xf=df^Ef,Zd+=(xf^_f)+Af[9]-640364487,Zd=(Zd<<4|Zd>>>28)+df<<0,_f+=(xf^Zd)+Af[12]-421815835,_f=(_f<<11|_f>>>21)+Zd<<0,vf=_f^Zd,Ef+=(vf^df)+Af[15]+530742520,Ef=(Ef<<16|Ef>>>16)+_f<<0,df+=(vf^Ef)+Af[2]-995338651,df=(df<<23|df>>>9)+Ef<<0,Zd+=(Ef^(df|~_f))+Af[0]-198630844,Zd=(Zd<<6|Zd>>>26)+df<<0,_f+=(df^(Zd|~Ef))+Af[7]+1126891415,_f=(_f<<10|_f>>>22)+Zd<<0,Ef+=(Zd^(_f|~df))+Af[14]-1416354905,Ef=(Ef<<15|Ef>>>17)+_f<<0,df+=(_f^(Ef|~Zd))+Af[5]-57434055,df=(df<<21|df>>>11)+Ef<<0,Zd+=(Ef^(df|~_f))+Af[12]+1700485571,Zd=(Zd<<6|Zd>>>26)+df<<0,_f+=(df^(Zd|~Ef))+Af[3]-1894986606,_f=(_f<<10|_f>>>22)+Zd<<0,Ef+=(Zd^(_f|~df))+Af[10]-1051523,Ef=(Ef<<15|Ef>>>17)+_f<<0,df+=(_f^(Ef|~Zd))+Af[1]-2054922799,df=(df<<21|df>>>11)+Ef<<0,Zd+=(Ef^(df|~_f))+Af[8]+1873313359,Zd=(Zd<<6|Zd>>>26)+df<<0,_f+=(df^(Zd|~Ef))+Af[15]-30611744,_f=(_f<<10|_f>>>22)+Zd<<0,Ef+=(Zd^(_f|~df))+Af[6]-1560198380,Ef=(Ef<<15|Ef>>>17)+_f<<0,df+=(_f^(Ef|~Zd))+Af[13]+1309151649,df=(df<<21|df>>>11)+Ef<<0,Zd+=(Ef^(df|~_f))+Af[4]-145523070,Zd=(Zd<<6|Zd>>>26)+df<<0,_f+=(df^(Zd|~Ef))+Af[11]-1120210379,_f=(_f<<10|_f>>>22)+Zd<<0,Ef+=(Zd^(_f|~df))+Af[2]+718787259,Ef=(Ef<<15|Ef>>>17)+_f<<0,df+=(_f^(Ef|~Zd))+Af[9]-343485551,df=(df<<21|df>>>11)+Ef<<0,this.first?(this.h0=Zd+1732584193<<0,this.h1=df-271733879<<0,this.h2=Ef-1732584194<<0,this.h3=_f+271733878<<0,this.first=!1):(this.h0=this.h0+Zd<<0,this.h1=this.h1+df<<0,this.h2=this.h2+Ef<<0,this.h3=this.h3+_f<<0)},gf.prototype.hex=function(){this.finalize();var Zd=this.h0,df=this.h1,Ef=this.h2,_f=this.h3;return Od[Zd>>4&15]+Od[Zd&15]+Od[Zd>>12&15]+Od[Zd>>8&15]+Od[Zd>>20&15]+Od[Zd>>16&15]+Od[Zd>>28&15]+Od[Zd>>24&15]+Od[df>>4&15]+Od[df&15]+Od[df>>12&15]+Od[df>>8&15]+Od[df>>20&15]+Od[df>>16&15]+Od[df>>28&15]+Od[df>>24&15]+Od[Ef>>4&15]+Od[Ef&15]+Od[Ef>>12&15]+Od[Ef>>8&15]+Od[Ef>>20&15]+Od[Ef>>16&15]+Od[Ef>>28&15]+Od[Ef>>24&15]+Od[_f>>4&15]+Od[_f&15]+Od[_f>>12&15]+Od[_f>>8&15]+Od[_f>>20&15]+Od[_f>>16&15]+Od[_f>>28&15]+Od[_f>>24&15]},gf.prototype.toString=gf.prototype.hex,gf.prototype.digest=function(Zd){if(Zd==="hex")return this.hex();this.finalize();var df=this.h0,Ef=this.h1,_f=this.h2,xf=this.h3,vf=[df&255,df>>8&255,df>>16&255,df>>24&255,Ef&255,Ef>>8&255,Ef>>16&255,Ef>>24&255,_f&255,_f>>8&255,_f>>16&255,_f>>24&255,xf&255,xf>>8&255,xf>>16&255,xf>>24&255];return vf},gf.prototype.array=gf.prototype.digest,gf.prototype.arrayBuffer=function(){this.finalize();var Zd=new ArrayBuffer(16),df=new Uint32Array(Zd);return df[0]=this.h0,df[1]=this.h1,df[2]=this.h2,df[3]=this.h3,Zd},gf.prototype.buffer=gf.prototype.arrayBuffer,gf.prototype.base64=function(){for(var Zd,df,Ef,_f="",xf=this.array(),vf=0;vf<15;)Zd=xf[vf++],df=xf[vf++],Ef=xf[vf++],_f+=Ld[Zd>>>2]+Ld[(Zd<<4|df>>>4)&63]+Ld[(df<<2|Ef>>>6)&63]+Ld[Ef&63];return Zd=xf[vf],_f+=Ld[Zd>>>2]+Ld[Zd<<4&63]+"==",_f};var Yd=Xd();Ad?ud.exports=Yd:(md.md5=Yd,Nd&&(dd=(function(){return Yd}).call(Yd,ld,Yd,ud),dd!==void 0&&(ud.exports=dd)))})()}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/request.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=function(Nd){switch(ud(Nd)){case"string":return Nd;case"boolean":return Nd?"true":"false";case"number":return isFinite(Nd)?Nd:"";default:return""}},pd=function(Nd,Id,Od,Md){return Id=Id||"&",Od=Od||"=",Nd===null&&(Nd=void 0),ud(Nd)==="object"?Object.keys(Nd).map(function(Ud){var jd=encodeURIComponent(dd(Ud))+Od;return Array.isArray(Nd[Ud])?Nd[Ud].map(function(Ld){return jd+encodeURIComponent(dd(Ld))}).join(Id):jd+encodeURIComponent(dd(Nd[Ud]))}).filter(Boolean).join(Id):""},fd=function(Nd,Id,Od){var Md={},Ud=Id.getAllResponseHeaders();return Ud&&Ud.length>0&&Ud.trim().split(`
|
||
`).forEach(function(jd){if(jd){var Ld=jd.indexOf(":"),Bd=jd.substr(0,Ld).trim().toLowerCase(),Gd=jd.substr(Ld+1).trim();Md[Bd]=Gd}}),{error:Nd,statusCode:Id.status,statusMessage:Id.statusText,headers:Md,body:Od}},md=function(Nd,Id){return!Id&&Id==="text"?Nd.responseText:Nd.response},vd=function(Nd,Id){var Od=(Nd.method||"GET").toUpperCase(),Md=Nd.url;if(Nd.qs){var Ud=pd(Nd.qs);Ud&&(Md+=(Md.indexOf("?")===-1?"?":"&")+Ud)}var jd=new XMLHttpRequest;if(jd.open(Od,Md,!0),jd.responseType=Nd.dataType||"text",Nd.xhrFields)for(var Ld in Nd.xhrFields)jd[Ld]=Nd.xhrFields[Ld];var Bd=Nd.headers;if(Bd)for(var Gd in Bd)Bd.hasOwnProperty(Gd)&&Gd.toLowerCase()!=="content-length"&&Gd.toLowerCase()!=="user-agent"&&Gd.toLowerCase()!=="origin"&&Gd.toLowerCase()!=="host"&&jd.setRequestHeader(Gd,Bd[Gd]);return Nd.onProgress&&jd.upload&&(jd.upload.onprogress=Nd.onProgress),Nd.onDownloadProgress&&(jd.onprogress=Nd.onDownloadProgress),Nd.timeout&&(jd.timeout=Nd.timeout),jd.ontimeout=function(qd){var zd=new Error("timeout");Id(fd(zd,jd))},jd.onload=function(){Id(fd(null,jd,md(jd,Nd.dataType)))},jd.onerror=function(qd){var zd=md(jd,Nd.dataType);if(zd)Id(fd(null,jd,zd));else{var Xd=jd.statusText;!Xd&&jd.status===0&&(Xd=new Error("CORS blocked or network error")),Id(fd(Xd,jd,zd))}},jd.send(Nd.body||""),jd};nd.exports=vd},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(nd,od){function ld(ud,dd){if(!(ud instanceof dd))throw new TypeError("Cannot call a class as a function")}nd.exports=ld,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function dd(fd,md){for(var vd=0;vd<md.length;vd++){var Ad=md[vd];Ad.enumerable=Ad.enumerable||!1,Ad.configurable=!0,"value"in Ad&&(Ad.writable=!0),Object.defineProperty(fd,ud(Ad.key),Ad)}}function pd(fd,md,vd){return md&&dd(fd.prototype,md),vd&&dd(fd,vd),Object.defineProperty(fd,"prototype",{writable:!1}),fd}nd.exports=pd,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js").default;function dd(pd,fd){if(ud(pd)!=="object"||pd===null)return pd;var md=pd[Symbol.toPrimitive];if(md!==void 0){var vd=md.call(pd,fd||"default");if(ud(vd)!=="object")return vd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(fd==="string"?String:Number)(pd)}nd.exports=dd,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js").default,dd=ld("./node_modules/@babel/runtime/helpers/toPrimitive.js");function pd(fd){var md=dd(fd,"string");return ud(md)==="symbol"?md:String(md)}nd.exports=pd,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(nd,od){function ld(ud){"@babel/helpers - typeof";return nd.exports=ld=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(dd){return typeof dd}:function(dd){return dd&&typeof Symbol=="function"&&dd.constructor===Symbol&&dd!==Symbol.prototype?"symbol":typeof dd},nd.exports.__esModule=!0,nd.exports.default=nd.exports,ld(ud)}nd.exports=ld,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/fast-xml-parser/src/fxp.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/validator.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),pd=ld("./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");nd.exports={XMLParser:dd,XMLValidator:ud,XMLBuilder:pd}},"./node_modules/fast-xml-parser/src/util.js":function(nd,od,ld){const ud=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",dd=ud+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",pd="["+ud+"]["+dd+"]*",fd=new RegExp("^"+pd+"$"),md=function(Ad,Nd){const Id=[];let Od=Nd.exec(Ad);for(;Od;){const Md=[];Md.startIndex=Nd.lastIndex-Od[0].length;const Ud=Od.length;for(let jd=0;jd<Ud;jd++)Md.push(Od[jd]);Id.push(Md),Od=Nd.exec(Ad)}return Id},vd=function(Ad){const Nd=fd.exec(Ad);return!(Nd===null||typeof Nd>"u")};od.isExist=function(Ad){return typeof Ad<"u"},od.isEmptyObject=function(Ad){return Object.keys(Ad).length===0},od.merge=function(Ad,Nd,Id){if(Nd){const Od=Object.keys(Nd),Md=Od.length;for(let Ud=0;Ud<Md;Ud++)Id==="strict"?Ad[Od[Ud]]=[Nd[Od[Ud]]]:Ad[Od[Ud]]=Nd[Od[Ud]]}},od.getValue=function(Ad){return od.isExist(Ad)?Ad:""},od.isName=vd,od.getAllMatches=md,od.nameRegexp=pd},"./node_modules/fast-xml-parser/src/validator.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js"),dd={allowBooleanAttributes:!1,unpairedTags:[]};od.validate=function(zd,Xd){Xd=Object.assign({},dd,Xd);const gf=[];let Yd=!1,Zd=!1;zd[0]==="\uFEFF"&&(zd=zd.substr(1));for(let df=0;df<zd.length;df++)if(zd[df]==="<"&&zd[df+1]==="?"){if(df+=2,df=fd(zd,df),df.err)return df}else if(zd[df]==="<"){let Ef=df;if(df++,zd[df]==="!"){df=md(zd,df);continue}else{let _f=!1;zd[df]==="/"&&(_f=!0,df++);let xf="";for(;df<zd.length&&zd[df]!==">"&&zd[df]!==" "&&zd[df]!==" "&&zd[df]!==`
|
||
`&&zd[df]!=="\r";df++)xf+=zd[df];if(xf=xf.trim(),xf[xf.length-1]==="/"&&(xf=xf.substring(0,xf.length-1),df--),!Bd(xf)){let Df;return xf.trim().length===0?Df="Invalid space after '<'.":Df="Tag '"+xf+"' is an invalid name.",jd("InvalidTag",Df,Gd(zd,df))}const vf=Nd(zd,df);if(vf===!1)return jd("InvalidAttr","Attributes for '"+xf+"' have open quote.",Gd(zd,df));let Af=vf.value;if(df=vf.index,Af[Af.length-1]==="/"){const Df=df-Af.length;Af=Af.substring(0,Af.length-1);const jf=Od(Af,Xd);if(jf===!0)Yd=!0;else return jd(jf.err.code,jf.err.msg,Gd(zd,Df+jf.err.line))}else if(_f)if(vf.tagClosed){if(Af.trim().length>0)return jd("InvalidTag","Closing tag '"+xf+"' can't have attributes or invalid starting.",Gd(zd,Ef));if(gf.length===0)return jd("InvalidTag","Closing tag '"+xf+"' has not been opened.",Gd(zd,Ef));{const Df=gf.pop();if(xf!==Df.tagName){let jf=Gd(zd,Df.tagStartPos);return jd("InvalidTag","Expected closing tag '"+Df.tagName+"' (opened in line "+jf.line+", col "+jf.col+") instead of closing tag '"+xf+"'.",Gd(zd,Ef))}gf.length==0&&(Zd=!0)}}else return jd("InvalidTag","Closing tag '"+xf+"' doesn't have proper closing.",Gd(zd,df));else{const Df=Od(Af,Xd);if(Df!==!0)return jd(Df.err.code,Df.err.msg,Gd(zd,df-Af.length+Df.err.line));if(Zd===!0)return jd("InvalidXml","Multiple possible root nodes found.",Gd(zd,df));Xd.unpairedTags.indexOf(xf)!==-1||gf.push({tagName:xf,tagStartPos:Ef}),Yd=!0}for(df++;df<zd.length;df++)if(zd[df]==="<")if(zd[df+1]==="!"){df++,df=md(zd,df);continue}else if(zd[df+1]==="?"){if(df=fd(zd,++df),df.err)return df}else break;else if(zd[df]==="&"){const Df=Ud(zd,df);if(Df==-1)return jd("InvalidChar","char '&' is not expected.",Gd(zd,df));df=Df}else if(Zd===!0&&!pd(zd[df]))return jd("InvalidXml","Extra text at the end",Gd(zd,df));zd[df]==="<"&&df--}}else{if(pd(zd[df]))continue;return jd("InvalidChar","char '"+zd[df]+"' is not expected.",Gd(zd,df))}if(Yd){if(gf.length==1)return jd("InvalidTag","Unclosed tag '"+gf[0].tagName+"'.",Gd(zd,gf[0].tagStartPos));if(gf.length>0)return jd("InvalidXml","Invalid '"+JSON.stringify(gf.map(df=>df.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return jd("InvalidXml","Start tag expected.",1);return!0};function pd(zd){return zd===" "||zd===" "||zd===`
|
||
`||zd==="\r"}function fd(zd,Xd){const gf=Xd;for(;Xd<zd.length;Xd++)if(zd[Xd]=="?"||zd[Xd]==" "){const Yd=zd.substr(gf,Xd-gf);if(Xd>5&&Yd==="xml")return jd("InvalidXml","XML declaration allowed only at the start of the document.",Gd(zd,Xd));if(zd[Xd]=="?"&&zd[Xd+1]==">"){Xd++;break}else continue}return Xd}function md(zd,Xd){if(zd.length>Xd+5&&zd[Xd+1]==="-"&&zd[Xd+2]==="-"){for(Xd+=3;Xd<zd.length;Xd++)if(zd[Xd]==="-"&&zd[Xd+1]==="-"&&zd[Xd+2]===">"){Xd+=2;break}}else if(zd.length>Xd+8&&zd[Xd+1]==="D"&&zd[Xd+2]==="O"&&zd[Xd+3]==="C"&&zd[Xd+4]==="T"&&zd[Xd+5]==="Y"&&zd[Xd+6]==="P"&&zd[Xd+7]==="E"){let gf=1;for(Xd+=8;Xd<zd.length;Xd++)if(zd[Xd]==="<")gf++;else if(zd[Xd]===">"&&(gf--,gf===0))break}else if(zd.length>Xd+9&&zd[Xd+1]==="["&&zd[Xd+2]==="C"&&zd[Xd+3]==="D"&&zd[Xd+4]==="A"&&zd[Xd+5]==="T"&&zd[Xd+6]==="A"&&zd[Xd+7]==="["){for(Xd+=8;Xd<zd.length;Xd++)if(zd[Xd]==="]"&&zd[Xd+1]==="]"&&zd[Xd+2]===">"){Xd+=2;break}}return Xd}const vd='"',Ad="'";function Nd(zd,Xd){let gf="",Yd="",Zd=!1;for(;Xd<zd.length;Xd++){if(zd[Xd]===vd||zd[Xd]===Ad)Yd===""?Yd=zd[Xd]:Yd!==zd[Xd]||(Yd="");else if(zd[Xd]===">"&&Yd===""){Zd=!0;break}gf+=zd[Xd]}return Yd!==""?!1:{value:gf,index:Xd,tagClosed:Zd}}const Id=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Od(zd,Xd){const gf=ud.getAllMatches(zd,Id),Yd={};for(let Zd=0;Zd<gf.length;Zd++){if(gf[Zd][1].length===0)return jd("InvalidAttr","Attribute '"+gf[Zd][2]+"' has no space in starting.",qd(gf[Zd]));if(gf[Zd][3]!==void 0&&gf[Zd][4]===void 0)return jd("InvalidAttr","Attribute '"+gf[Zd][2]+"' is without value.",qd(gf[Zd]));if(gf[Zd][3]===void 0&&!Xd.allowBooleanAttributes)return jd("InvalidAttr","boolean attribute '"+gf[Zd][2]+"' is not allowed.",qd(gf[Zd]));const df=gf[Zd][2];if(!Ld(df))return jd("InvalidAttr","Attribute '"+df+"' is an invalid name.",qd(gf[Zd]));if(!Yd.hasOwnProperty(df))Yd[df]=1;else return jd("InvalidAttr","Attribute '"+df+"' is repeated.",qd(gf[Zd]))}return!0}function Md(zd,Xd){let gf=/\d/;for(zd[Xd]==="x"&&(Xd++,gf=/[\da-fA-F]/);Xd<zd.length;Xd++){if(zd[Xd]===";")return Xd;if(!zd[Xd].match(gf))break}return-1}function Ud(zd,Xd){if(Xd++,zd[Xd]===";")return-1;if(zd[Xd]==="#")return Xd++,Md(zd,Xd);let gf=0;for(;Xd<zd.length;Xd++,gf++)if(!(zd[Xd].match(/\w/)&&gf<20)){if(zd[Xd]===";")break;return-1}return Xd}function jd(zd,Xd,gf){return{err:{code:zd,msg:Xd,line:gf.line||gf,col:gf.col}}}function Ld(zd){return ud.isName(zd)}function Bd(zd){return ud.isName(zd)}function Gd(zd,Xd){const gf=zd.substring(0,Xd).split(/\r?\n/);return{line:gf.length,col:gf[gf.length-1].length+1}}function qd(zd){return zd.startIndex+zd[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),dd={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(Ad,Nd){return Nd},attributeValueProcessor:function(Ad,Nd){return Nd},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function pd(Ad){this.options=Object.assign({},dd,Ad),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=vd),this.processTextOrObjNode=fd,this.options.format?(this.indentate=md,this.tagEndChar=`>
|
||
`,this.newLine=`
|
||
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}pd.prototype.build=function(Ad){return this.options.preserveOrder?ud(Ad,this.options):(Array.isArray(Ad)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ad={[this.options.arrayNodeName]:Ad}),this.j2x(Ad,0).val)},pd.prototype.j2x=function(Ad,Nd){let Id="",Od="";for(let Md in Ad)if(Object.prototype.hasOwnProperty.call(Ad,Md))if(typeof Ad[Md]>"u")this.isAttribute(Md)&&(Od+="");else if(Ad[Md]===null)this.isAttribute(Md)?Od+="":Md[0]==="?"?Od+=this.indentate(Nd)+"<"+Md+"?"+this.tagEndChar:Od+=this.indentate(Nd)+"<"+Md+"/"+this.tagEndChar;else if(Ad[Md]instanceof Date)Od+=this.buildTextValNode(Ad[Md],Md,"",Nd);else if(typeof Ad[Md]!="object"){const Ud=this.isAttribute(Md);if(Ud)Id+=this.buildAttrPairStr(Ud,""+Ad[Md]);else if(Md===this.options.textNodeName){let jd=this.options.tagValueProcessor(Md,""+Ad[Md]);Od+=this.replaceEntitiesValue(jd)}else Od+=this.buildTextValNode(Ad[Md],Md,"",Nd)}else if(Array.isArray(Ad[Md])){const Ud=Ad[Md].length;let jd="";for(let Ld=0;Ld<Ud;Ld++){const Bd=Ad[Md][Ld];typeof Bd>"u"||(Bd===null?Md[0]==="?"?Od+=this.indentate(Nd)+"<"+Md+"?"+this.tagEndChar:Od+=this.indentate(Nd)+"<"+Md+"/"+this.tagEndChar:typeof Bd=="object"?this.options.oneListGroup?jd+=this.j2x(Bd,Nd+1).val:jd+=this.processTextOrObjNode(Bd,Md,Nd):jd+=this.buildTextValNode(Bd,Md,"",Nd))}this.options.oneListGroup&&(jd=this.buildObjectNode(jd,Md,"",Nd)),Od+=jd}else if(this.options.attributesGroupName&&Md===this.options.attributesGroupName){const Ud=Object.keys(Ad[Md]),jd=Ud.length;for(let Ld=0;Ld<jd;Ld++)Id+=this.buildAttrPairStr(Ud[Ld],""+Ad[Md][Ud[Ld]])}else Od+=this.processTextOrObjNode(Ad[Md],Md,Nd);return{attrStr:Id,val:Od}},pd.prototype.buildAttrPairStr=function(Ad,Nd){return Nd=this.options.attributeValueProcessor(Ad,""+Nd),Nd=this.replaceEntitiesValue(Nd),this.options.suppressBooleanAttributes&&Nd==="true"?" "+Ad:" "+Ad+'="'+Nd+'"'};function fd(Ad,Nd,Id){const Od=this.j2x(Ad,Id+1);return Ad[this.options.textNodeName]!==void 0&&Object.keys(Ad).length===1?this.buildTextValNode(Ad[this.options.textNodeName],Nd,Od.attrStr,Id):this.buildObjectNode(Od.val,Nd,Od.attrStr,Id)}pd.prototype.buildObjectNode=function(Ad,Nd,Id,Od){if(Ad==="")return Nd[0]==="?"?this.indentate(Od)+"<"+Nd+Id+"?"+this.tagEndChar:this.indentate(Od)+"<"+Nd+Id+this.closeTag(Nd)+this.tagEndChar;{let Md="</"+Nd+this.tagEndChar,Ud="";return Nd[0]==="?"&&(Ud="?",Md=""),(Id||Id==="")&&Ad.indexOf("<")===-1?this.indentate(Od)+"<"+Nd+Id+Ud+">"+Ad+Md:this.options.commentPropName!==!1&&Nd===this.options.commentPropName&&Ud.length===0?this.indentate(Od)+`<!--${Ad}-->`+this.newLine:this.indentate(Od)+"<"+Nd+Id+Ud+this.tagEndChar+Ad+this.indentate(Od)+Md}},pd.prototype.closeTag=function(Ad){let Nd="";return this.options.unpairedTags.indexOf(Ad)!==-1?this.options.suppressUnpairedNode||(Nd="/"):this.options.suppressEmptyNode?Nd="/":Nd=`></${Ad}`,Nd},pd.prototype.buildTextValNode=function(Ad,Nd,Id,Od){if(this.options.cdataPropName!==!1&&Nd===this.options.cdataPropName)return this.indentate(Od)+`<![CDATA[${Ad}]]>`+this.newLine;if(this.options.commentPropName!==!1&&Nd===this.options.commentPropName)return this.indentate(Od)+`<!--${Ad}-->`+this.newLine;if(Nd[0]==="?")return this.indentate(Od)+"<"+Nd+Id+"?"+this.tagEndChar;{let Md=this.options.tagValueProcessor(Nd,Ad);return Md=this.replaceEntitiesValue(Md),Md===""?this.indentate(Od)+"<"+Nd+Id+this.closeTag(Nd)+this.tagEndChar:this.indentate(Od)+"<"+Nd+Id+">"+Md+"</"+Nd+this.tagEndChar}},pd.prototype.replaceEntitiesValue=function(Ad){if(Ad&&Ad.length>0&&this.options.processEntities)for(let Nd=0;Nd<this.options.entities.length;Nd++){const Id=this.options.entities[Nd];Ad=Ad.replace(Id.regex,Id.val)}return Ad};function md(Ad){return this.options.indentBy.repeat(Ad)}function vd(Ad){return Ad.startsWith(this.options.attributeNamePrefix)&&Ad!==this.options.textNodeName?Ad.substr(this.attrPrefixLen):!1}nd.exports=pd},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":function(nd,od){const ld=`
|
||
`;function ud(Ad,Nd){let Id="";return Nd.format&&Nd.indentBy.length>0&&(Id=ld),dd(Ad,Nd,"",Id)}function dd(Ad,Nd,Id,Od){let Md="",Ud=!1;for(let jd=0;jd<Ad.length;jd++){const Ld=Ad[jd],Bd=pd(Ld);if(Bd===void 0)continue;let Gd="";if(Id.length===0?Gd=Bd:Gd=`${Id}.${Bd}`,Bd===Nd.textNodeName){let Yd=Ld[Bd];md(Gd,Nd)||(Yd=Nd.tagValueProcessor(Bd,Yd),Yd=vd(Yd,Nd)),Ud&&(Md+=Od),Md+=Yd,Ud=!1;continue}else if(Bd===Nd.cdataPropName){Ud&&(Md+=Od),Md+=`<![CDATA[${Ld[Bd][0][Nd.textNodeName]}]]>`,Ud=!1;continue}else if(Bd===Nd.commentPropName){Md+=Od+`<!--${Ld[Bd][0][Nd.textNodeName]}-->`,Ud=!0;continue}else if(Bd[0]==="?"){const Yd=fd(Ld[":@"],Nd),Zd=Bd==="?xml"?"":Od;let df=Ld[Bd][0][Nd.textNodeName];df=df.length!==0?" "+df:"",Md+=Zd+`<${Bd}${df}${Yd}?>`,Ud=!0;continue}let qd=Od;qd!==""&&(qd+=Nd.indentBy);const zd=fd(Ld[":@"],Nd),Xd=Od+`<${Bd}${zd}`,gf=dd(Ld[Bd],Nd,Gd,qd);Nd.unpairedTags.indexOf(Bd)!==-1?Nd.suppressUnpairedNode?Md+=Xd+">":Md+=Xd+"/>":(!gf||gf.length===0)&&Nd.suppressEmptyNode?Md+=Xd+"/>":gf&&gf.endsWith(">")?Md+=Xd+`>${gf}${Od}</${Bd}>`:(Md+=Xd+">",gf&&Od!==""&&(gf.includes("/>")||gf.includes("</"))?Md+=Od+Nd.indentBy+gf+Od:Md+=gf,Md+=`</${Bd}>`),Ud=!0}return Md}function pd(Ad){const Nd=Object.keys(Ad);for(let Id=0;Id<Nd.length;Id++){const Od=Nd[Id];if(Ad.hasOwnProperty(Od)&&Od!==":@")return Od}}function fd(Ad,Nd){let Id="";if(Ad&&!Nd.ignoreAttributes)for(let Od in Ad){if(!Ad.hasOwnProperty(Od))continue;let Md=Nd.attributeValueProcessor(Od,Ad[Od]);Md=vd(Md,Nd),Md===!0&&Nd.suppressBooleanAttributes?Id+=` ${Od.substr(Nd.attributeNamePrefix.length)}`:Id+=` ${Od.substr(Nd.attributeNamePrefix.length)}="${Md}"`}return Id}function md(Ad,Nd){Ad=Ad.substr(0,Ad.length-Nd.textNodeName.length-1);let Id=Ad.substr(Ad.lastIndexOf(".")+1);for(let Od in Nd.stopNodes)if(Nd.stopNodes[Od]===Ad||Nd.stopNodes[Od]==="*."+Id)return!0;return!1}function vd(Ad,Nd){if(Ad&&Ad.length>0&&Nd.processEntities)for(let Id=0;Id<Nd.entities.length;Id++){const Od=Nd.entities[Id];Ad=Ad.replace(Od.regex,Od.val)}return Ad}nd.exports=ud},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js");function dd(Od,Md){const Ud={};if(Od[Md+3]==="O"&&Od[Md+4]==="C"&&Od[Md+5]==="T"&&Od[Md+6]==="Y"&&Od[Md+7]==="P"&&Od[Md+8]==="E"){Md=Md+9;let jd=1,Ld=!1,Bd=!1,Gd="";for(;Md<Od.length;Md++)if(Od[Md]==="<"&&!Bd){if(Ld&&md(Od,Md))Md+=7,[entityName,val,Md]=pd(Od,Md+1),val.indexOf("&")===-1&&(Ud[Id(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(Ld&&vd(Od,Md))Md+=8;else if(Ld&&Ad(Od,Md))Md+=8;else if(Ld&&Nd(Od,Md))Md+=9;else if(fd)Bd=!0;else throw new Error("Invalid DOCTYPE");jd++,Gd=""}else if(Od[Md]===">"){if(Bd?Od[Md-1]==="-"&&Od[Md-2]==="-"&&(Bd=!1,jd--):jd--,jd===0)break}else Od[Md]==="["?Ld=!0:Gd+=Od[Md];if(jd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:Ud,i:Md}}function pd(Od,Md){let Ud="";for(;Md<Od.length&&Od[Md]!=="'"&&Od[Md]!=='"';Md++)Ud+=Od[Md];if(Ud=Ud.trim(),Ud.indexOf(" ")!==-1)throw new Error("External entites are not supported");const jd=Od[Md++];let Ld="";for(;Md<Od.length&&Od[Md]!==jd;Md++)Ld+=Od[Md];return[Ud,Ld,Md]}function fd(Od,Md){return Od[Md+1]==="!"&&Od[Md+2]==="-"&&Od[Md+3]==="-"}function md(Od,Md){return Od[Md+1]==="!"&&Od[Md+2]==="E"&&Od[Md+3]==="N"&&Od[Md+4]==="T"&&Od[Md+5]==="I"&&Od[Md+6]==="T"&&Od[Md+7]==="Y"}function vd(Od,Md){return Od[Md+1]==="!"&&Od[Md+2]==="E"&&Od[Md+3]==="L"&&Od[Md+4]==="E"&&Od[Md+5]==="M"&&Od[Md+6]==="E"&&Od[Md+7]==="N"&&Od[Md+8]==="T"}function Ad(Od,Md){return Od[Md+1]==="!"&&Od[Md+2]==="A"&&Od[Md+3]==="T"&&Od[Md+4]==="T"&&Od[Md+5]==="L"&&Od[Md+6]==="I"&&Od[Md+7]==="S"&&Od[Md+8]==="T"}function Nd(Od,Md){return Od[Md+1]==="!"&&Od[Md+2]==="N"&&Od[Md+3]==="O"&&Od[Md+4]==="T"&&Od[Md+5]==="A"&&Od[Md+6]==="T"&&Od[Md+7]==="I"&&Od[Md+8]==="O"&&Od[Md+9]==="N"}function Id(Od){if(ud.isName(Od))return Od;throw new Error(`Invalid entity name ${Od}`)}nd.exports=dd},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":function(nd,od){const ld={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(dd,pd){return pd},attributeValueProcessor:function(dd,pd){return pd},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(dd,pd,fd){return dd}},ud=function(dd){return Object.assign({},ld,dd)};od.buildOptions=ud,od.defaultOptions=ld},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),pd=ld("./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),fd=ld("./node_modules/strnum/strnum.js");class md{constructor(Zd){this.options=Zd,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(df,Ef)=>String.fromCharCode(Number.parseInt(Ef,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(df,Ef)=>String.fromCharCode(Number.parseInt(Ef,16))}},this.addExternalEntities=vd,this.parseXml=Md,this.parseTextData=Ad,this.resolveNameSpace=Nd,this.buildAttributesMap=Od,this.isItStopNode=Bd,this.replaceEntitiesValue=jd,this.readStopNodeData=Xd,this.saveTextToParentTag=Ld,this.addChild=Ud}}function vd(Yd){const Zd=Object.keys(Yd);for(let df=0;df<Zd.length;df++){const Ef=Zd[df];this.lastEntities[Ef]={regex:new RegExp("&"+Ef+";","g"),val:Yd[Ef]}}}function Ad(Yd,Zd,df,Ef,_f,xf,vf){if(Yd!==void 0&&(this.options.trimValues&&!Ef&&(Yd=Yd.trim()),Yd.length>0)){vf||(Yd=this.replaceEntitiesValue(Yd));const Af=this.options.tagValueProcessor(Zd,Yd,df,_f,xf);return Af==null?Yd:typeof Af!=typeof Yd||Af!==Yd?Af:this.options.trimValues?gf(Yd,this.options.parseTagValue,this.options.numberParseOptions):Yd.trim()===Yd?gf(Yd,this.options.parseTagValue,this.options.numberParseOptions):Yd}}function Nd(Yd){if(this.options.removeNSPrefix){const Zd=Yd.split(":"),df=Yd.charAt(0)==="/"?"/":"";if(Zd[0]==="xmlns")return"";Zd.length===2&&(Yd=df+Zd[1])}return Yd}const Id=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Od(Yd,Zd,df){if(!this.options.ignoreAttributes&&typeof Yd=="string"){const Ef=ud.getAllMatches(Yd,Id),_f=Ef.length,xf={};for(let vf=0;vf<_f;vf++){const Af=this.resolveNameSpace(Ef[vf][1]);let Df=Ef[vf][4],jf=this.options.attributeNamePrefix+Af;if(Af.length)if(this.options.transformAttributeName&&(jf=this.options.transformAttributeName(jf)),jf==="__proto__"&&(jf="#__proto__"),Df!==void 0){this.options.trimValues&&(Df=Df.trim()),Df=this.replaceEntitiesValue(Df);const Jf=this.options.attributeValueProcessor(Af,Df,Zd);Jf==null?xf[jf]=Df:typeof Jf!=typeof Df||Jf!==Df?xf[jf]=Jf:xf[jf]=gf(Df,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(xf[jf]=!0)}if(!Object.keys(xf).length)return;if(this.options.attributesGroupName){const vf={};return vf[this.options.attributesGroupName]=xf,vf}return xf}}const Md=function(Yd){Yd=Yd.replace(/\r\n?/g,`
|
||
`);const Zd=new dd("!xml");let df=Zd,Ef="",_f="";for(let xf=0;xf<Yd.length;xf++)if(Yd[xf]==="<")if(Yd[xf+1]==="/"){const Af=qd(Yd,">",xf,"Closing Tag is not closed.");let Df=Yd.substring(xf+2,Af).trim();if(this.options.removeNSPrefix){const eh=Df.indexOf(":");eh!==-1&&(Df=Df.substr(eh+1))}this.options.transformTagName&&(Df=this.options.transformTagName(Df)),df&&(Ef=this.saveTextToParentTag(Ef,df,_f));const jf=_f.substring(_f.lastIndexOf(".")+1);if(Df&&this.options.unpairedTags.indexOf(Df)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${Df}>`);let Jf=0;jf&&this.options.unpairedTags.indexOf(jf)!==-1?(Jf=_f.lastIndexOf(".",_f.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Jf=_f.lastIndexOf("."),_f=_f.substring(0,Jf),df=this.tagsNodeStack.pop(),Ef="",xf=Af}else if(Yd[xf+1]==="?"){let Af=zd(Yd,xf,!1,"?>");if(!Af)throw new Error("Pi Tag is not closed.");if(Ef=this.saveTextToParentTag(Ef,df,_f),!(this.options.ignoreDeclaration&&Af.tagName==="?xml"||this.options.ignorePiTags)){const Df=new dd(Af.tagName);Df.add(this.options.textNodeName,""),Af.tagName!==Af.tagExp&&Af.attrExpPresent&&(Df[":@"]=this.buildAttributesMap(Af.tagExp,_f,Af.tagName)),this.addChild(df,Df,_f)}xf=Af.closeIndex+1}else if(Yd.substr(xf+1,3)==="!--"){const Af=qd(Yd,"-->",xf+4,"Comment is not closed.");if(this.options.commentPropName){const Df=Yd.substring(xf+4,Af-2);Ef=this.saveTextToParentTag(Ef,df,_f),df.add(this.options.commentPropName,[{[this.options.textNodeName]:Df}])}xf=Af}else if(Yd.substr(xf+1,2)==="!D"){const Af=pd(Yd,xf);this.docTypeEntities=Af.entities,xf=Af.i}else if(Yd.substr(xf+1,2)==="!["){const Af=qd(Yd,"]]>",xf,"CDATA is not closed.")-2,Df=Yd.substring(xf+9,Af);Ef=this.saveTextToParentTag(Ef,df,_f);let jf=this.parseTextData(Df,df.tagname,_f,!0,!1,!0,!0);jf==null&&(jf=""),this.options.cdataPropName?df.add(this.options.cdataPropName,[{[this.options.textNodeName]:Df}]):df.add(this.options.textNodeName,jf),xf=Af+2}else{let Af=zd(Yd,xf,this.options.removeNSPrefix),Df=Af.tagName;const jf=Af.rawTagName;let Jf=Af.tagExp,eh=Af.attrExpPresent,th=Af.closeIndex;this.options.transformTagName&&(Df=this.options.transformTagName(Df)),df&&Ef&&df.tagname!=="!xml"&&(Ef=this.saveTextToParentTag(Ef,df,_f,!1));const Uf=df;if(Uf&&this.options.unpairedTags.indexOf(Uf.tagname)!==-1&&(df=this.tagsNodeStack.pop(),_f=_f.substring(0,_f.lastIndexOf("."))),Df!==Zd.tagname&&(_f+=_f?"."+Df:Df),this.isItStopNode(this.options.stopNodes,_f,Df)){let Of="";if(Jf.length>0&&Jf.lastIndexOf("/")===Jf.length-1)Df[Df.length-1]==="/"?(Df=Df.substr(0,Df.length-1),_f=_f.substr(0,_f.length-1),Jf=Df):Jf=Jf.substr(0,Jf.length-1),xf=Af.closeIndex;else if(this.options.unpairedTags.indexOf(Df)!==-1)xf=Af.closeIndex;else{const qf=this.readStopNodeData(Yd,jf,th+1);if(!qf)throw new Error(`Unexpected end of ${jf}`);xf=qf.i,Of=qf.tagContent}const Wf=new dd(Df);Df!==Jf&&eh&&(Wf[":@"]=this.buildAttributesMap(Jf,_f,Df)),Of&&(Of=this.parseTextData(Of,Df,_f,!0,eh,!0,!0)),_f=_f.substr(0,_f.lastIndexOf(".")),Wf.add(this.options.textNodeName,Of),this.addChild(df,Wf,_f)}else{if(Jf.length>0&&Jf.lastIndexOf("/")===Jf.length-1){Df[Df.length-1]==="/"?(Df=Df.substr(0,Df.length-1),_f=_f.substr(0,_f.length-1),Jf=Df):Jf=Jf.substr(0,Jf.length-1),this.options.transformTagName&&(Df=this.options.transformTagName(Df));const Of=new dd(Df);Df!==Jf&&eh&&(Of[":@"]=this.buildAttributesMap(Jf,_f,Df)),this.addChild(df,Of,_f),_f=_f.substr(0,_f.lastIndexOf("."))}else{const Of=new dd(Df);this.tagsNodeStack.push(df),Df!==Jf&&eh&&(Of[":@"]=this.buildAttributesMap(Jf,_f,Df)),this.addChild(df,Of,_f),df=Of}Ef="",xf=th}}else Ef+=Yd[xf];return Zd.child};function Ud(Yd,Zd,df){const Ef=this.options.updateTag(Zd.tagname,df,Zd[":@"]);Ef===!1||(typeof Ef=="string"&&(Zd.tagname=Ef),Yd.addChild(Zd))}const jd=function(Yd){if(this.options.processEntities){for(let Zd in this.docTypeEntities){const df=this.docTypeEntities[Zd];Yd=Yd.replace(df.regx,df.val)}for(let Zd in this.lastEntities){const df=this.lastEntities[Zd];Yd=Yd.replace(df.regex,df.val)}if(this.options.htmlEntities)for(let Zd in this.htmlEntities){const df=this.htmlEntities[Zd];Yd=Yd.replace(df.regex,df.val)}Yd=Yd.replace(this.ampEntity.regex,this.ampEntity.val)}return Yd};function Ld(Yd,Zd,df,Ef){return Yd&&(Ef===void 0&&(Ef=Object.keys(Zd.child).length===0),Yd=this.parseTextData(Yd,Zd.tagname,df,!1,Zd[":@"]?Object.keys(Zd[":@"]).length!==0:!1,Ef),Yd!==void 0&&Yd!==""&&Zd.add(this.options.textNodeName,Yd),Yd=""),Yd}function Bd(Yd,Zd,df){const Ef="*."+df;for(const _f in Yd){const xf=Yd[_f];if(Ef===xf||Zd===xf)return!0}return!1}function Gd(Yd,Zd,df=">"){let Ef,_f="";for(let xf=Zd;xf<Yd.length;xf++){let vf=Yd[xf];if(Ef)vf===Ef&&(Ef="");else if(vf==='"'||vf==="'")Ef=vf;else if(vf===df[0])if(df[1]){if(Yd[xf+1]===df[1])return{data:_f,index:xf}}else return{data:_f,index:xf};else vf===" "&&(vf=" ");_f+=vf}}function qd(Yd,Zd,df,Ef){const _f=Yd.indexOf(Zd,df);if(_f===-1)throw new Error(Ef);return _f+Zd.length-1}function zd(Yd,Zd,df,Ef=">"){const _f=Gd(Yd,Zd+1,Ef);if(!_f)return;let xf=_f.data;const vf=_f.index,Af=xf.search(/\s/);let Df=xf,jf=!0;Af!==-1&&(Df=xf.substring(0,Af),xf=xf.substring(Af+1).trimStart());const Jf=Df;if(df){const eh=Df.indexOf(":");eh!==-1&&(Df=Df.substr(eh+1),jf=Df!==_f.data.substr(eh+1))}return{tagName:Df,tagExp:xf,closeIndex:vf,attrExpPresent:jf,rawTagName:Jf}}function Xd(Yd,Zd,df){const Ef=df;let _f=1;for(;df<Yd.length;df++)if(Yd[df]==="<")if(Yd[df+1]==="/"){const xf=qd(Yd,">",df,`${Zd} is not closed`);if(Yd.substring(df+2,xf).trim()===Zd&&(_f--,_f===0))return{tagContent:Yd.substring(Ef,df),i:xf};df=xf}else if(Yd[df+1]==="?")df=qd(Yd,"?>",df+1,"StopNode is not closed.");else if(Yd.substr(df+1,3)==="!--")df=qd(Yd,"-->",df+3,"StopNode is not closed.");else if(Yd.substr(df+1,2)==="![")df=qd(Yd,"]]>",df,"StopNode is not closed.")-2;else{const xf=zd(Yd,df,">");xf&&((xf&&xf.tagName)===Zd&&xf.tagExp[xf.tagExp.length-1]!=="/"&&_f++,df=xf.closeIndex)}}function gf(Yd,Zd,df){if(Zd&&typeof Yd=="string"){const Ef=Yd.trim();return Ef==="true"?!0:Ef==="false"?!1:fd(Yd,df)}else return ud.isExist(Yd)?Yd:""}nd.exports=md},"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js":function(nd,od,ld){const{buildOptions:ud}=ld("./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:pd}=ld("./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),fd=ld("./node_modules/fast-xml-parser/src/validator.js");class md{constructor(Ad){this.externalEntities={},this.options=ud(Ad)}parse(Ad,Nd){if(typeof Ad!="string")if(Ad.toString)Ad=Ad.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(Nd){Nd===!0&&(Nd={});const Md=fd.validate(Ad,Nd);if(Md!==!0)throw Error(`${Md.err.msg}:${Md.err.line}:${Md.err.col}`)}const Id=new dd(this.options);Id.addExternalEntities(this.externalEntities);const Od=Id.parseXml(Ad);return this.options.preserveOrder||Od===void 0?Od:pd(Od,this.options)}addEntity(Ad,Nd){if(Nd.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(Ad.indexOf("&")!==-1||Ad.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(Nd==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[Ad]=Nd}}nd.exports=md},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":function(nd,od,ld){function ud(vd,Ad){return dd(vd,Ad)}function dd(vd,Ad,Nd){let Id;const Od={};for(let Md=0;Md<vd.length;Md++){const Ud=vd[Md],jd=pd(Ud);let Ld="";if(Nd===void 0?Ld=jd:Ld=Nd+"."+jd,jd===Ad.textNodeName)Id===void 0?Id=Ud[jd]:Id+=""+Ud[jd];else{if(jd===void 0)continue;if(Ud[jd]){let Bd=dd(Ud[jd],Ad,Ld);const Gd=md(Bd,Ad);Ud[":@"]?fd(Bd,Ud[":@"],Ld,Ad):Object.keys(Bd).length===1&&Bd[Ad.textNodeName]!==void 0&&!Ad.alwaysCreateTextNode?Bd=Bd[Ad.textNodeName]:Object.keys(Bd).length===0&&(Ad.alwaysCreateTextNode?Bd[Ad.textNodeName]="":Bd=""),Od[jd]!==void 0&&Od.hasOwnProperty(jd)?(Array.isArray(Od[jd])||(Od[jd]=[Od[jd]]),Od[jd].push(Bd)):Ad.isArray(jd,Ld,Gd)?Od[jd]=[Bd]:Od[jd]=Bd}}}return typeof Id=="string"?Id.length>0&&(Od[Ad.textNodeName]=Id):Id!==void 0&&(Od[Ad.textNodeName]=Id),Od}function pd(vd){const Ad=Object.keys(vd);for(let Nd=0;Nd<Ad.length;Nd++){const Id=Ad[Nd];if(Id!==":@")return Id}}function fd(vd,Ad,Nd,Id){if(Ad){const Od=Object.keys(Ad),Md=Od.length;for(let Ud=0;Ud<Md;Ud++){const jd=Od[Ud];Id.isArray(jd,Nd+"."+jd,!0,!0)?vd[jd]=[Ad[jd]]:vd[jd]=Ad[jd]}}}function md(vd,Ad){const{textNodeName:Nd}=Ad,Id=Object.keys(vd).length;return!!(Id===0||Id===1&&(vd[Nd]||typeof vd[Nd]=="boolean"||vd[Nd]===0))}od.prettify=ud},"./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js":function(nd,od,ld){class ud{constructor(pd){this.tagname=pd,this.child=[],this[":@"]={}}add(pd,fd){pd==="__proto__"&&(pd="#__proto__"),this.child.push({[pd]:fd})}addChild(pd){pd.tagname==="__proto__"&&(pd.tagname="#__proto__"),pd[":@"]&&Object.keys(pd[":@"]).length>0?this.child.push({[pd.tagname]:pd.child,":@":pd[":@"]}):this.child.push({[pd.tagname]:pd.child})}}nd.exports=ud},"./node_modules/process/browser.js":function(nd,od){var ld=nd.exports={},ud,dd;function pd(){throw new Error("setTimeout has not been defined")}function fd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ud=setTimeout:ud=pd}catch{ud=pd}try{typeof clearTimeout=="function"?dd=clearTimeout:dd=fd}catch{dd=fd}})();function md(Bd){if(ud===setTimeout)return setTimeout(Bd,0);if((ud===pd||!ud)&&setTimeout)return ud=setTimeout,setTimeout(Bd,0);try{return ud(Bd,0)}catch{try{return ud.call(null,Bd,0)}catch{return ud.call(this,Bd,0)}}}function vd(Bd){if(dd===clearTimeout)return clearTimeout(Bd);if((dd===fd||!dd)&&clearTimeout)return dd=clearTimeout,clearTimeout(Bd);try{return dd(Bd)}catch{try{return dd.call(null,Bd)}catch{return dd.call(this,Bd)}}}var Ad=[],Nd=!1,Id,Od=-1;function Md(){!Nd||!Id||(Nd=!1,Id.length?Ad=Id.concat(Ad):Od=-1,Ad.length&&Ud())}function Ud(){if(!Nd){var Bd=md(Md);Nd=!0;for(var Gd=Ad.length;Gd;){for(Id=Ad,Ad=[];++Od<Gd;)Id&&Id[Od].run();Od=-1,Gd=Ad.length}Id=null,Nd=!1,vd(Bd)}}ld.nextTick=function(Bd){var Gd=new Array(arguments.length-1);if(arguments.length>1)for(var qd=1;qd<arguments.length;qd++)Gd[qd-1]=arguments[qd];Ad.push(new jd(Bd,Gd)),Ad.length===1&&!Nd&&md(Ud)};function jd(Bd,Gd){this.fun=Bd,this.array=Gd}jd.prototype.run=function(){this.fun.apply(null,this.array)},ld.title="browser",ld.browser=!0,ld.env={},ld.argv=[],ld.version="",ld.versions={};function Ld(){}ld.on=Ld,ld.addListener=Ld,ld.once=Ld,ld.off=Ld,ld.removeListener=Ld,ld.removeAllListeners=Ld,ld.emit=Ld,ld.prependListener=Ld,ld.prependOnceListener=Ld,ld.listeners=function(Bd){return[]},ld.binding=function(Bd){throw new Error("process.binding is not supported")},ld.cwd=function(){return"/"},ld.chdir=function(Bd){throw new Error("process.chdir is not supported")},ld.umask=function(){return 0}},"./node_modules/strnum/strnum.js":function(nd,od){const ld=/^[-+]?0x[a-fA-F0-9]+$/,ud=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const dd={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function pd(md,vd={}){if(vd=Object.assign({},dd,vd),!md||typeof md!="string")return md;let Ad=md.trim();if(vd.skipLike!==void 0&&vd.skipLike.test(Ad))return md;if(vd.hex&&ld.test(Ad))return Number.parseInt(Ad,16);{const Nd=ud.exec(Ad);if(Nd){const Id=Nd[1],Od=Nd[2];let Md=fd(Nd[3]);const Ud=Nd[4]||Nd[6];if(!vd.leadingZeros&&Od.length>0&&Id&&Ad[2]!==".")return md;if(!vd.leadingZeros&&Od.length>0&&!Id&&Ad[1]!==".")return md;{const jd=Number(Ad),Ld=""+jd;return Ld.search(/[eE]/)!==-1||Ud?vd.eNotation?jd:md:Ad.indexOf(".")!==-1?Ld==="0"&&Md===""||Ld===Md||Id&&Ld==="-"+Md?jd:md:Od?Md===Ld||Id+Md===Ld?jd:md:Ad===Ld||Ad===Id+Ld?jd:md}}else return md}}function fd(md){return md&&md.indexOf(".")!==-1&&(md=md.replace(/0+$/,""),md==="."?md="0":md[0]==="."?md="0"+md:md[md.length-1]==="."&&(md=md.substr(0,md.length-1))),md}nd.exports=pd},"./node_modules/webpack/buildin/amd-options.js":function(nd,od){(function(ld){nd.exports=ld}).call(this,{})},"./node_modules/webpack/buildin/module.js":function(nd,od){nd.exports=function(ld){return ld.webpackPolyfill||(ld.deprecate=function(){},ld.paths=[],ld.children||(ld.children=[]),Object.defineProperty(ld,"loaded",{enumerable:!0,get:function(){return ld.l}}),Object.defineProperty(ld,"id",{enumerable:!0,get:function(){return ld.i}}),ld.webpackPolyfill=1),ld}},"./package.json":function(nd){nd.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.6","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"fast-xml-parser":"^4.4.0"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=ld("./src/session.js"),pd=ld("./src/async.js"),fd=ld("./src/event.js").EventProxy,md=ld("./src/util.js"),vd=ld("./src/tracker.js");function Ad(Yd,Zd){var df=this,Ef=new fd,_f=Yd.TaskId,xf=Yd.Bucket,vf=Yd.Region,Af=Yd.Key,Df=Yd.Body,jf=Yd.ChunkSize||Yd.SliceSize||df.options.ChunkSize,Jf=Yd.AsyncLimit,eh=Yd.StorageClass,th=Yd.ServerSideEncryption,Uf,Of,Wf=Yd.onHashProgress,qf=Yd.tracker;qf&&qf.setParams({chunkSize:jf}),Ef.on("error",function(zf){if(df._isRunningTask(_f))return Yd.UploadData.UploadId&&dd.removeUsing(Yd.UploadData.UploadId),zf.UploadId=Yd.UploadData.UploadId||"",Zd(zf)}),Ef.on("upload_complete",function(zf){var Tf=md.extend({UploadId:Yd.UploadData.UploadId||""},zf);Zd(null,Tf)}),Ef.on("upload_slice_complete",function(zf){var Tf={};md.each(Yd.Headers,function(Sf,Yf){var ih=Yf.toLowerCase();(ih.indexOf("x-cos-meta-")===0||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(ih))&&(Tf[Yf]=Sf)}),jd.call(df,{Bucket:xf,Region:vf,Key:Af,UploadId:zf.UploadId,SliceList:zf.SliceList,Headers:Tf,tracker:qf},function(Sf,Yf){if(df._isRunningTask(_f)){if(dd.removeUsing(zf.UploadId),Sf)return Of(null,!0),Ef.emit("error",Sf);dd.removeUploadId.call(df,zf.UploadId),Of({loaded:Uf,total:Uf},!0),Ef.emit("upload_complete",Yf)}})}),Ef.on("get_upload_data_finish",function(zf){var Tf=dd.getFileId(Df,Yd.ChunkSize,xf,Af);Tf&&dd.saveUploadId.call(df,Tf,zf.UploadId,df.options.UploadIdCacheLimit),dd.setUsing(zf.UploadId),Of(null,!0),Md.call(df,{TaskId:_f,Bucket:xf,Region:vf,Key:Af,Body:Df,FileSize:Uf,SliceSize:jf,AsyncLimit:Jf,ServerSideEncryption:th,UploadData:zf,Headers:Yd.Headers,onProgress:Of,tracker:qf},function(Sf,Yf){if(df._isRunningTask(_f)){if(Sf)return Of(null,!0),Ef.emit("error",Sf);Ef.emit("upload_slice_complete",Yf)}})}),Ef.on("get_file_size_finish",function(){if(Of=md.throttleOnProgress.call(df,Uf,Yd.onProgress),Yd.UploadData.UploadId)Ef.emit("get_upload_data_finish",Yd.UploadData);else{var zf=md.extend({TaskId:_f,Bucket:xf,Region:vf,Key:Af,Headers:Yd.Headers,StorageClass:eh,Body:Df,FileSize:Uf,SliceSize:jf,onHashProgress:Wf,tracker:qf},Yd);Nd.call(df,zf,function(Tf,Sf){if(df._isRunningTask(_f)){if(Tf)return Ef.emit("error",Tf);Yd.UploadData.UploadId=Sf.UploadId,Yd.UploadData.PartList=Sf.PartList,Ef.emit("get_upload_data_finish",Yd.UploadData)}})}}),Uf=Yd.ContentLength,delete Yd.ContentLength,!Yd.Headers&&(Yd.Headers={}),md.each(Yd.Headers,function(zf,Tf){Tf.toLowerCase()==="content-length"&&delete Yd.Headers[Tf]}),function(){for(var zf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Tf=1024*1024,Sf=0;Sf<zf.length&&(Tf=zf[Sf]*1024*1024,!(Uf/Tf<=df.options.MaxPartNumber));Sf++);Yd.ChunkSize=Yd.SliceSize=jf=Math.max(jf,Tf)}(),Uf===0?(Yd.Body="",Yd.ContentLength=0,Yd.SkipTask=!0,df.putObject(Yd,Zd)):Ef.emit("get_file_size_finish")}function Nd(Yd,Zd){var df=Yd.TaskId,Ef=Yd.Bucket,_f=Yd.Region,xf=Yd.Key,vf=Yd.StorageClass,Af=this,Df={},jf=Yd.FileSize,Jf=Yd.SliceSize,eh=Math.ceil(jf/Jf),th=0,Uf=md.throttleOnProgress.call(Af,jf,Yd.onHashProgress),Of=function(Tf,Sf){var Yf=Jf*(Tf-1),ih=Math.min(Yf+Jf,jf),Th=ih-Yf;Df[Tf]?Sf(null,{PartNumber:Tf,ETag:Df[Tf],Size:Th}):md.fileSlice(Yd.Body,Yf,ih,!1,function(sh){md.getFileMd5(sh,function(Nf,ph){if(Nf)return Sf(md.error(Nf));var Oh='"'+ph+'"';Df[Tf]=Oh,th+=Th,Uf({loaded:th,total:jf}),Sf(null,{PartNumber:Tf,ETag:Oh,Size:Th})})})},Wf=function(Tf,Sf){var Yf=Tf.length;if(Yf===0)return Sf(null,!0);if(Yf>eh)return Sf(null,!1);if(Yf>1){var ih=Math.max(Tf[0].Size,Tf[1].Size);if(ih!==Jf)return Sf(null,!1)}var Th=function sh(Nf){if(Nf<Yf){var ph=Tf[Nf];Of(ph.PartNumber,function(Oh,Zf){Zf&&Zf.ETag===ph.ETag&&Zf.Size===ph.Size?sh(Nf+1):Sf(null,!1)})}else Sf(null,!0)};Th(0)},qf=new fd;qf.on("error",function(zf){if(Af._isRunningTask(df))return Zd(zf)}),qf.on("upload_id_available",function(zf){var Tf={},Sf=[];md.each(zf.PartList,function(Th){Tf[Th.PartNumber]=Th});for(var Yf=1;Yf<=eh;Yf++){var ih=Tf[Yf];ih?(ih.PartNumber=Yf,ih.Uploaded=!0):ih={PartNumber:Yf,ETag:null,Uploaded:!1},Sf.push(ih)}zf.PartList=Sf,Zd(null,zf)}),qf.on("no_available_upload_id",function(){if(Af._isRunningTask(df)){var zf=md.extend({Bucket:Ef,Region:_f,Key:xf,Query:md.clone(Yd.Query),StorageClass:vf,Body:Yd.Body,calledBySdk:"sliceUploadFile",tracker:Yd.tracker},Yd),Tf=md.clone(Yd.Headers);delete Tf["x-cos-mime-limit"],zf.Headers=Tf,Af.multipartInit(zf,function(Sf,Yf){if(Af._isRunningTask(df)){if(Sf)return qf.emit("error",Sf);var ih=Yf.UploadId;if(!ih)return Zd(md.error(new Error("no such upload id")));qf.emit("upload_id_available",{UploadId:ih,PartList:[]})}})}}),qf.on("has_and_check_upload_id",function(zf){zf=zf.reverse(),pd.eachLimit(zf,1,function(Tf,Sf){if(Af._isRunningTask(df)){if(dd.using[Tf]){Sf();return}Od.call(Af,{Bucket:Ef,Region:_f,Key:xf,UploadId:Tf,tracker:Yd.tracker},function(Yf,ih){if(Af._isRunningTask(df)){if(Yf)return dd.removeUsing(Tf),qf.emit("error",Yf);var Th=ih.PartList;Th.forEach(function(sh){sh.PartNumber*=1,sh.Size*=1,sh.ETag=sh.ETag||""}),Wf(Th,function(sh,Nf){if(Af._isRunningTask(df)){if(sh)return qf.emit("error",sh);Nf?Sf({UploadId:Tf,PartList:Th}):Sf()}})}})}},function(Tf){Af._isRunningTask(df)&&(Uf(null,!0),Tf&&Tf.UploadId?qf.emit("upload_id_available",Tf):qf.emit("no_available_upload_id"))})}),qf.on("seek_local_avail_upload_id",function(zf){var Tf=dd.getFileId(Yd.Body,Yd.ChunkSize,Ef,xf),Sf=dd.getUploadIdList.call(Af,Tf);if(!Tf||!Sf){qf.emit("has_and_check_upload_id",zf);return}var Yf=function ih(Th){if(Th>=Sf.length){qf.emit("has_and_check_upload_id",zf);return}var sh=Sf[Th];if(!md.isInArray(zf,sh)){dd.removeUploadId.call(Af,sh),ih(Th+1);return}if(dd.using[sh]){ih(Th+1);return}Od.call(Af,{Bucket:Ef,Region:_f,Key:xf,UploadId:sh,tracker:Yd.tracker},function(Nf,ph){Af._isRunningTask(df)&&(Nf?(dd.removeUploadId.call(Af,sh),ih(Th+1)):qf.emit("upload_id_available",{UploadId:sh,PartList:ph.PartList}))})};Yf(0)}),qf.on("get_remote_upload_id_list",function(){Id.call(Af,{Bucket:Ef,Region:_f,Key:xf,tracker:Yd.tracker},function(zf,Tf){if(Af._isRunningTask(df)){if(zf)return qf.emit("error",zf);var Sf=md.filter(Tf.UploadList,function(Th){return Th.Key===xf&&(!vf||Th.StorageClass.toUpperCase()===vf.toUpperCase())}).reverse().map(function(Th){return Th.UploadId||Th.UploadID});if(Sf.length)qf.emit("seek_local_avail_upload_id",Sf);else{var Yf=dd.getFileId(Yd.Body,Yd.ChunkSize,Ef,xf),ih;Yf&&(ih=dd.getUploadIdList.call(Af,Yf))&&md.each(ih,function(Th){dd.removeUploadId.call(Af,Th)}),qf.emit("no_available_upload_id")}}})}),qf.emit("get_remote_upload_id_list")}function Id(Yd,Zd){var df=this,Ef=[],_f={Bucket:Yd.Bucket,Region:Yd.Region,Prefix:Yd.Key,calledBySdk:Yd.calledBySdk||"sliceUploadFile",tracker:Yd.tracker},xf=function vf(){df.multipartList(_f,function(Af,Df){if(Af)return Zd(Af);Ef.push.apply(Ef,Df.Upload||[]),Df.IsTruncated==="true"?(_f.KeyMarker=Df.NextKeyMarker,_f.UploadIdMarker=Df.NextUploadIdMarker,vf()):Zd(null,{UploadList:Ef})})};xf()}function Od(Yd,Zd){var df=this,Ef=[],_f={Bucket:Yd.Bucket,Region:Yd.Region,Key:Yd.Key,UploadId:Yd.UploadId,calledBySdk:"sliceUploadFile",tracker:Yd.tracker},xf=function vf(){df.multipartListPart(_f,function(Af,Df){if(Af)return Zd(Af);Ef.push.apply(Ef,Df.Part||[]),Df.IsTruncated==="true"?(_f.PartNumberMarker=Df.NextPartNumberMarker,vf()):Zd(null,{PartList:Ef})})};xf()}function Md(Yd,Zd){var df=this,Ef=Yd.TaskId,_f=Yd.Bucket,xf=Yd.Region,vf=Yd.Key,Af=Yd.UploadData,Df=Yd.FileSize,jf=Yd.SliceSize,Jf=Math.min(Yd.AsyncLimit||df.options.ChunkParallelLimit||1,256),eh=Yd.Body,th=Math.ceil(Df/jf),Uf=0,Of=Yd.ServerSideEncryption,Wf=Yd.Headers,qf=md.filter(Af.PartList,function(Tf){return Tf.Uploaded&&(Uf+=Tf.PartNumber>=th&&Df%jf||jf),!Tf.Uploaded}),zf=Yd.onProgress;pd.eachLimit(qf,Jf,function(Tf,Sf){if(df._isRunningTask(Ef)){var Yf=Tf.PartNumber,ih=Math.min(Df,Tf.PartNumber*jf)-(Tf.PartNumber-1)*jf,Th=0;Ud.call(df,{TaskId:Ef,Bucket:_f,Region:xf,Key:vf,SliceSize:jf,FileSize:Df,PartNumber:Yf,ServerSideEncryption:Of,Body:eh,UploadData:Af,Headers:Wf,onProgress:function(Nf){Uf+=Nf.loaded-Th,Th=Nf.loaded,zf({loaded:Uf,total:Df})},tracker:Yd.tracker},function(sh,Nf){df._isRunningTask(Ef)&&(!sh&&!Nf.ETag&&(sh='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),sh?Uf-=Th:(Uf+=ih-Th,Tf.ETag=Nf.ETag),zf({loaded:Uf,total:Df}),Sf(sh||null,Nf))})}},function(Tf){if(df._isRunningTask(Ef)){if(Tf)return Zd(Tf);Zd(null,{UploadId:Af.UploadId,SliceList:Af.PartList})}})}function Ud(Yd,Zd){var df=this,Ef=Yd.TaskId,_f=Yd.Bucket,xf=Yd.Region,vf=Yd.Key,Af=Yd.FileSize,Df=Yd.Body,jf=Yd.PartNumber*1,Jf=Yd.SliceSize,eh=Yd.ServerSideEncryption,th=Yd.UploadData,Uf=Yd.Headers||{},Of=df.options.ChunkRetryTimes+1,Wf=Jf*(jf-1),qf=Jf,zf=Wf+Jf;zf>Af&&(zf=Af,qf=zf-Wf);var Tf=["x-cos-traffic-limit","x-cos-mime-limit"],Sf={};md.each(Uf,function(ih,Th){Tf.indexOf(Th)>-1&&(Sf[Th]=ih)});var Yf=th.PartList[jf-1];pd.retry(Of,function(ih){df._isRunningTask(Ef)&&md.fileSlice(Df,Wf,zf,!0,function(Th){df.multipartUpload({TaskId:Ef,Bucket:_f,Region:xf,Key:vf,ContentLength:qf,PartNumber:jf,UploadId:th.UploadId,ServerSideEncryption:eh,Body:Th,Headers:Sf,onProgress:Yd.onProgress,calledBySdk:"sliceUploadFile",tracker:Yd.tracker},function(sh,Nf){if(df._isRunningTask(Ef))return sh?ih(sh):(Yf.Uploaded=!0,ih(null,Nf))})})},function(ih,Th){if(df._isRunningTask(Ef))return Zd(ih,Th)})}function jd(Yd,Zd){var df=Yd.Bucket,Ef=Yd.Region,_f=Yd.Key,xf=Yd.UploadId,vf=Yd.SliceList,Af=this,Df=this.options.ChunkRetryTimes+1,jf=Yd.Headers,Jf=vf.map(function(eh){return{PartNumber:eh.PartNumber,ETag:eh.ETag}});pd.retry(Df,function(eh){Af.multipartComplete({Bucket:df,Region:Ef,Key:_f,UploadId:xf,Parts:Jf,Headers:jf,calledBySdk:"sliceUploadFile",tracker:Yd.tracker},eh)},function(eh,th){Zd(eh,th)})}function Ld(Yd,Zd){var df=Yd.Bucket,Ef=Yd.Region,_f=Yd.Key,xf=Yd.UploadId,vf=Yd.Level||"task",Af=Yd.AsyncLimit,Df=this,jf=new fd;if(jf.on("error",function(Jf){return Zd(Jf)}),jf.on("get_abort_array",function(Jf){Bd.call(Df,{Bucket:df,Region:Ef,Key:_f,Headers:Yd.Headers,AsyncLimit:Af,AbortArray:Jf},Zd)}),vf==="bucket")Id.call(Df,{Bucket:df,Region:Ef,calledBySdk:"abortUploadTask"},function(Jf,eh){if(Jf)return Zd(Jf);jf.emit("get_abort_array",eh.UploadList||[])});else if(vf==="file"){if(!_f)return Zd(md.error(new Error("abort_upload_task_no_key")));Id.call(Df,{Bucket:df,Region:Ef,Key:_f,calledBySdk:"abortUploadTask"},function(Jf,eh){if(Jf)return Zd(Jf);jf.emit("get_abort_array",eh.UploadList||[])})}else if(vf==="task"){if(!xf)return Zd(md.error(new Error("abort_upload_task_no_id")));if(!_f)return Zd(md.error(new Error("abort_upload_task_no_key")));jf.emit("get_abort_array",[{Key:_f,UploadId:xf}])}else return Zd(md.error(new Error("abort_unknown_level")))}function Bd(Yd,Zd){var df=Yd.Bucket,Ef=Yd.Region,_f=Yd.Key,xf=Yd.AbortArray,vf=Yd.AsyncLimit||1,Af=this,Df=0,jf=new Array(xf.length);pd.eachLimit(xf,vf,function(Jf,eh){var th=Df;if(_f&&_f!==Jf.Key){jf[th]={error:{KeyNotMatch:!0}},eh(null);return}var Uf=Jf.UploadId||Jf.UploadID;Af.multipartAbort({Bucket:df,Region:Ef,Key:Jf.Key,Headers:Yd.Headers,UploadId:Uf},function(Of){var Wf={Bucket:df,Region:Ef,Key:Jf.Key,UploadId:Uf};jf[th]={error:Of,task:Wf},eh(null)}),Df++},function(Jf){if(Jf)return Zd(Jf);for(var eh=[],th=[],Uf=0,Of=jf.length;Uf<Of;Uf++){var Wf=jf[Uf];Wf.task&&(Wf.error?th.push(Wf.task):eh.push(Wf.task))}return Zd(null,{successList:eh,errorList:th})})}function Gd(Yd,Zd){var df=this,Ef=Yd.SliceSize===void 0?df.options.SliceSize:Yd.SliceSize,_f=[],xf=Yd.Body,vf=xf.size||xf.length||0,Af={TaskId:""};if(df.options.EnableReporter){var Df=df.options.UseAccelerate||typeof df.options.Domain=="string"&&df.options.Domain.includes("accelerate."),jf=vf>Ef?"sliceUploadFile":"putObject";Yd.tracker=new vd({Beacon:df.options.BeaconReporter,clsReporter:df.options.ClsReporter,bucket:Yd.Bucket,region:Yd.Region,apiName:"uploadFile",realApi:jf,fileKey:Yd.Key,fileSize:vf,accelerate:Df,deepTracker:df.options.DeepTracker,customId:df.options.CustomId,delay:df.options.TrackerDelay})}md.each(Yd,function(Wf,qf){ud(Wf)!=="object"&&typeof Wf!="function"&&(Af[qf]=Wf)});var Jf=Yd.onTaskReady,eh=function(qf){Af.TaskId=qf,Jf&&Jf(qf)};Yd.onTaskReady=eh;var th=vf>Ef?"sliceUploadFile":"putObject",Uf=Yd.onFileFinish,Of=function(qf,zf){Yd.tracker&&Yd.tracker.report(qf,zf),Uf&&Uf(qf,zf,Af),Zd&&Zd(qf,zf)};_f.push({api:th,params:Yd,callback:Of}),df._addTasks(_f)}function qd(Yd,Zd){var df=this,Ef=Yd.SliceSize===void 0?df.options.SliceSize:Yd.SliceSize,_f=0,xf=0,vf=md.throttleOnProgress.call(df,xf,Yd.onProgress),Af=Yd.files.length,Df=Yd.onFileFinish,jf=Array(Af),Jf=function(Uf,Of,Wf){vf(null,!0),Df&&Df(Uf,Of,Wf),jf[Wf.Index]={options:Wf,error:Uf,data:Of},--Af<=0&&Zd&&Zd(null,{files:jf})},eh=[];md.each(Yd.files,function(th,Uf){(function(){var Of=th.Body,Wf=Of.size||Of.length||0,qf={Index:Uf,TaskId:""};if(!df.options.UseRawKey&&th.Key&&th.Key.substr(0,1)==="/"&&(th.Key=th.Key.substr(1)),_f+=Wf,df.options.EnableReporter){var zf=df.options.UseAccelerate||typeof df.options.Domain=="string"&&df.options.Domain.includes("accelerate."),Tf=Wf>Ef?"sliceUploadFile":"putObject";th.tracker=new vd({Beacon:df.options.BeaconReporter,clsReporter:df.options.ClsReporter,bucket:th.Bucket,region:th.Region,apiName:"uploadFiles",realApi:Tf,fileKey:th.Key,fileSize:Wf,accelerate:zf,deepTracker:df.options.DeepTracker,customId:df.options.CustomId,delay:df.options.TrackerDelay})}md.each(th,function(Zf,Rf){ud(Zf)!=="object"&&typeof Zf!="function"&&(qf[Rf]=Zf)});var Sf=th.onTaskReady,Yf=function(Rf){qf.TaskId=Rf,Sf&&Sf(Rf)};th.onTaskReady=Yf;var ih=0,Th=th.onProgress,sh=function(Rf){xf=xf-ih+Rf.loaded,ih=Rf.loaded,Th&&Th(Rf),vf({loaded:xf,total:_f})};th.onProgress=sh;var Nf=Wf>Ef?"sliceUploadFile":"putObject",ph=th.onFileFinish,Oh=function(Rf,Bf){th.tracker&&th.tracker.report(Rf,Bf),ph&&ph(Rf,Bf),Jf&&Jf(Rf,Bf,qf)};eh.push({api:Nf,params:th,callback:Oh})})()}),df._addTasks(eh)}function zd(Yd,Zd){var df=new fd,Ef=this,_f=Yd.Bucket,xf=Yd.Region,vf=Yd.Key,Af=Yd.CopySource,Df=md.getSourceParams.call(this,Af);if(!Df){Zd(md.error(new Error("CopySource format error")));return}var jf=Df.Bucket,Jf=Df.Region,eh=decodeURIComponent(Df.Key),th=Yd.CopySliceSize===void 0?Ef.options.CopySliceSize:Yd.CopySliceSize;th=Math.max(0,th);var Uf=Yd.CopyChunkSize||this.options.CopyChunkSize,Of=this.options.CopyChunkParallelLimit,Wf=this.options.ChunkRetryTimes+1,qf=0,zf=0,Tf,Sf,Yf={},ih={},Th={};df.on("copy_slice_complete",function(sh){md.each(Yd.Headers,function(ph,Oh){Oh.toLowerCase().indexOf("x-cos-meta-")});var Nf=md.map(sh.PartList,function(ph){return{PartNumber:ph.PartNumber,ETag:ph.ETag}});pd.retry(Wf,function(ph){Ef.multipartComplete({Bucket:_f,Region:xf,Key:vf,UploadId:sh.UploadId,Parts:Nf,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},ph)},function(ph,Oh){if(dd.removeUsing(sh.UploadId),ph)return Sf(null,!0),Zd(ph);dd.removeUploadId(sh.UploadId),Sf({loaded:Tf,total:Tf},!0),Zd(null,Oh)})}),df.on("get_copy_data_finish",function(sh){var Nf=dd.getCopyFileId(Af,Yf,Uf,_f,vf);Nf&&dd.saveUploadId(Nf,sh.UploadId,Ef.options.UploadIdCacheLimit),dd.setUsing(sh.UploadId);var ph=md.filter(sh.PartList,function(Oh){return Oh.Uploaded&&(zf+=Oh.PartNumber>=qf&&Tf%Uf||Uf),!Oh.Uploaded});pd.eachLimit(ph,Of,function(Oh,Zf){var Rf=Oh.PartNumber,Bf=Oh.CopySourceRange,Kf=Oh.end-Oh.start;pd.retry(Wf,function(wh){Xd.call(Ef,{Bucket:_f,Region:xf,Key:vf,CopySource:Af,UploadId:sh.UploadId,PartNumber:Rf,CopySourceRange:Bf,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},wh)},function(wh,Ah){if(wh)return Zf(wh);zf+=Kf,Sf({loaded:zf,total:Tf}),Oh.ETag=Ah.ETag,Zf(wh||null,Ah)})},function(Oh){if(Oh)return dd.removeUsing(sh.UploadId),Sf(null,!0),Zd(Oh);df.emit("copy_slice_complete",sh)})}),df.on("get_chunk_size_finish",function(){var sh=function(){Ef.multipartInit({Bucket:_f,Region:xf,Key:vf,Headers:Th,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},function(Rf,Bf){if(Rf)return Zd(Rf);Yd.UploadId=Bf.UploadId,df.emit("get_copy_data_finish",{UploadId:Yd.UploadId,PartList:Yd.PartList})})},Nf=dd.getCopyFileId(Af,Yf,Uf,_f,vf),ph=dd.getUploadIdList(Nf);if(!Nf||!ph)return sh();var Oh=function Zf(Rf){if(Rf>=ph.length)return sh();var Bf=ph[Rf];if(dd.using[Bf])return Zf(Rf+1);Od.call(Ef,{Bucket:_f,Region:xf,Key:vf,UploadId:Bf,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},function(Kf,wh){if(Kf)dd.removeUploadId(Bf),Zf(Rf+1);else{if(dd.using[Bf])return Zf(Rf+1);var Ah={},mh=0;md.each(wh.PartList,function(im){var Bh=parseInt(im.Size),Tm=mh+Bh-1;Ah[im.PartNumber+"|"+mh+"|"+Tm]=im.ETag,mh+=Bh}),md.each(Yd.PartList,function(im){var Bh=Ah[im.PartNumber+"|"+im.start+"|"+im.end];Bh&&(im.ETag=Bh,im.Uploaded=!0)}),df.emit("get_copy_data_finish",{UploadId:Bf,PartList:Yd.PartList})}})};Oh(0)}),df.on("get_file_size_finish",function(){if(function(){for(var Nf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],ph=1024*1024,Oh=0;Oh<Nf.length&&(ph=Nf[Oh]*1024*1024,!(Tf/ph<=Ef.options.MaxPartNumber));Oh++);Yd.ChunkSize=Uf=Math.max(Uf,ph),qf=Math.ceil(Tf/Uf);for(var Zf=[],Rf=1;Rf<=qf;Rf++){var Bf=(Rf-1)*Uf,Kf=Rf*Uf<Tf?Rf*Uf-1:Tf-1,wh={PartNumber:Rf,start:Bf,end:Kf,CopySourceRange:"bytes="+Bf+"-"+Kf};Zf.push(wh)}Yd.PartList=Zf}(),Yd.Headers["x-cos-metadata-directive"]==="Replaced"?Th=Yd.Headers:Th=ih,Th["x-cos-storage-class"]=Yd.Headers["x-cos-storage-class"]||ih["x-cos-storage-class"],Th=md.clearKey(Th),ih["x-cos-storage-class"]==="ARCHIVE"||ih["x-cos-storage-class"]==="DEEP_ARCHIVE"){var sh=ih["x-cos-restore"];if(!sh||sh==='ongoing-request="true"'){Zd(md.error(new Error("Unrestored archive object is not allowed to be copied")));return}}delete Th["x-cos-copy-source"],delete Th["x-cos-metadata-directive"],delete Th["x-cos-copy-source-If-Modified-Since"],delete Th["x-cos-copy-source-If-Unmodified-Since"],delete Th["x-cos-copy-source-If-Match"],delete Th["x-cos-copy-source-If-None-Match"],df.emit("get_chunk_size_finish")}),Ef.headObject({Bucket:jf,Region:Jf,Key:eh,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},function(sh,Nf){if(sh){sh.statusCode&&sh.statusCode===404?Zd(md.error(sh,{ErrorStatus:eh+" Not Exist"})):Zd(sh);return}if(Tf=Yd.FileSize=Nf.headers["content-length"],Tf===void 0||!Tf){Zd(md.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.( 获取Content-Length失败,请在CORS ExposeHeader设置中添加Content-Length,请参考文档:https://cloud.tencent.com/document/product/436/13318 )')));return}if(Yd.tracker&&Yd.tracker.setParams({httpSize:Tf}),Sf=md.throttleOnProgress.call(Ef,Tf,Yd.onProgress),Tf<=th)Yd.Headers["x-cos-metadata-directive"]||(Yd.Headers["x-cos-metadata-directive"]="Copy"),Ef.putObjectCopy(Object.assign(Yd,{calledBySdk:"sliceCopyFile"}),function(Oh,Zf){if(Oh)return Sf(null,!0),Zd(Oh);Sf({loaded:Tf,total:Tf},!0),Zd(Oh,Zf)});else{var ph=Nf.headers;Yf=ph,ih={"Cache-Control":ph["cache-control"],"Content-Disposition":ph["content-disposition"],"Content-Encoding":ph["content-encoding"],"Content-Type":ph["content-type"],Expires:ph.expires,"x-cos-storage-class":ph["x-cos-storage-class"]},md.each(ph,function(Oh,Zf){var Rf="x-cos-meta-";Zf.indexOf(Rf)===0&&Zf.length>Rf.length&&(ih[Zf]=Oh)}),df.emit("get_file_size_finish")}})}function Xd(Yd,Zd){var df=Yd.TaskId,Ef=Yd.Bucket,_f=Yd.Region,xf=Yd.Key,vf=Yd.CopySource,Af=Yd.UploadId,Df=Yd.PartNumber*1,jf=Yd.CopySourceRange,Jf=this.options.ChunkRetryTimes+1,eh=this;pd.retry(Jf,function(th){eh.uploadPartCopy({TaskId:df,Bucket:Ef,Region:_f,Key:xf,CopySource:vf,UploadId:Af,PartNumber:Df,CopySourceRange:jf,tracker:Yd.tracker,calledBySdk:Yd.calledBySdk},function(Uf,Of){th(Uf||null,Of)})},function(th,Uf){return Zd(th,Uf)})}var gf={sliceUploadFile:Ad,abortUploadTask:Ld,uploadFile:Gd,uploadFiles:qd,sliceCopyFile:zd};nd.exports.init=function(Yd,Zd){Zd.transferToTaskMethod(gf,"sliceUploadFile"),md.each(gf,function(df,Ef){Yd.prototype[Ef]=md.apiWrapper(Ef,df)})}},"./src/async.js":function(nd,od){var ld=function(fd,md,vd,Ad){if(Ad=Ad||function(){},!fd.length||md<=0)return Ad();var Nd=0,Id=0,Od=0;(function Md(){if(Nd>=fd.length)return Ad();for(;Od<md&&Id<fd.length;)Id+=1,Od+=1,vd(fd[Id-1],function(Ud){Ud?(Ad(Ud),Ad=function(){}):(Nd+=1,Od-=1,Nd>=fd.length?Ad():Md())})})()},ud=function(fd,md,vd){var Ad=function Nd(Id){md(function(Od,Md){Od&&Id<fd?Nd(Id+1):vd(Od,Md)})};fd<1?vd():Ad(1)},dd={eachLimit:ld,retry:ud};nd.exports=dd},"./src/base.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=ld("./lib/request.js"),pd=ld("./src/util.js");function fd(Pf,kh){var vh=this.options.Protocol||(pd.isBrowser&&(typeof location>"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:"),Rh=this.options.ServiceDomain,sm=Pf.AppId||this.options.appId,Jh=Pf.Region;Rh?(Rh=Rh.replace(/\{\{AppId\}\}/gi,sm||"").replace(/\{\{Region\}\}/gi,Jh||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(Rh)||(Rh=vh+"//"+Rh),Rh.slice(-1)==="/"&&(Rh=Rh.slice(0,-1))):Jh?Rh=vh+"//cos."+Jh+".myqcloud.com":Rh=vh+"//service.cos.myqcloud.com";var hm="",pm=Jh?"cos."+Jh+".myqcloud.com":"service.cos.myqcloud.com",Uh=Rh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");pm===Uh&&(hm=pm),ng.call(this,{Action:"name/cos:GetService",url:Rh,method:"GET",headers:Pf.Headers,SignHost:hm,tracker:Pf.tracker},function(Lm,Gm){if(Lm)return kh(Lm);var _g=Gm&&Gm.ListAllMyBucketsResult&&Gm.ListAllMyBucketsResult.Buckets&&Gm.ListAllMyBucketsResult.Buckets.Bucket||[];_g=pd.isArray(_g)?_g:[_g];var Km=Gm&&Gm.ListAllMyBucketsResult&&Gm.ListAllMyBucketsResult.Owner||{};kh(null,{Buckets:_g,Owner:Km,statusCode:Gm.statusCode,headers:Gm.headers})})}function md(Pf,kh){var vh=this,Rh="";if(Pf.BucketAZConfig){var sm={BucketAZConfig:Pf.BucketAZConfig};Rh=pd.json2xml({CreateBucketConfiguration:sm})}ng.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,body:Rh,tracker:Pf.tracker},function(Jh,hm){if(Jh)return kh(Jh);var pm=Jg({protocol:vh.options.Protocol,domain:vh.options.Domain,bucket:Pf.Bucket,region:Pf.Region,isLocation:!0});kh(null,{Location:pm,statusCode:hm.statusCode,headers:hm.headers})})}function vd(Pf,kh){ng.call(this,{Action:"name/cos:HeadBucket",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,method:"HEAD",tracker:Pf.tracker},kh)}function Ad(Pf,kh){var vh={};vh.prefix=Pf.Prefix||"",vh.delimiter=Pf.Delimiter,vh.marker=Pf.Marker,vh["max-keys"]=Pf.MaxKeys,vh["encoding-type"]=Pf.EncodingType,ng.call(this,{Action:"name/cos:GetBucket",ResourceKey:vh.prefix,method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,qs:vh,tracker:Pf.tracker},function(Rh,sm){if(Rh)return kh(Rh);var Jh=sm.ListBucketResult||{},hm=Jh.Contents||[],pm=Jh.CommonPrefixes||[];hm=pd.isArray(hm)?hm:[hm],pm=pd.isArray(pm)?pm:[pm];var Uh=pd.clone(Jh);pd.extend(Uh,{Contents:hm,CommonPrefixes:pm,statusCode:sm.statusCode,headers:sm.headers}),kh(null,Uh)})}function Nd(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucket",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,method:"DELETE",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Id(Pf,kh){var vh=Pf.Headers,Rh="";if(Pf.AccessControlPolicy){var sm=pd.clone(Pf.AccessControlPolicy||{}),Jh=sm.Grants||sm.Grant;Jh=pd.isArray(Jh)?Jh:[Jh],delete sm.Grant,delete sm.Grants,sm.AccessControlList={Grant:Jh},Rh=pd.json2xml({AccessControlPolicy:sm}),vh["Content-Type"]="application/xml",vh["Content-MD5"]=pd.b64(pd.md5(Rh))}pd.each(vh,function(hm,pm){pm.indexOf("x-cos-grant-")===0&&(vh[pm]=g_(vh[pm]))}),ng.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,headers:vh,action:"acl",body:Rh,tracker:Pf.tracker},function(hm,pm){if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function Od(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"acl",tracker:Pf.tracker},function(vh,Rh){if(vh)return kh(vh);var sm=Rh.AccessControlPolicy||{},Jh=sm.Owner||{},hm=sm.AccessControlList.Grant||[];hm=pd.isArray(hm)?hm:[hm];var pm=Ng(sm);Rh.headers&&Rh.headers["x-cos-acl"]&&(pm.ACL=Rh.headers["x-cos-acl"]),pm=pd.extend(pm,{Owner:Jh,Grants:hm,statusCode:Rh.statusCode,headers:Rh.headers}),kh(null,pm)})}function Md(Pf,kh){var vh=Pf.CORSConfiguration||{},Rh=vh.CORSRules||Pf.CORSRules||[];Rh=pd.clone(pd.isArray(Rh)?Rh:[Rh]),pd.each(Rh,function(pm){pd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Uh){var Lm=Uh+"s",Gm=pm[Lm]||pm[Uh]||[];delete pm[Lm],pm[Uh]=pd.isArray(Gm)?Gm:[Gm]})});var sm={CORSRule:Rh};Pf.ResponseVary&&(sm.ResponseVary=Pf.ResponseVary);var Jh=pd.json2xml({CORSConfiguration:sm}),hm=Pf.Headers;hm["Content-Type"]="application/xml",hm["Content-MD5"]=pd.b64(pd.md5(Jh)),ng.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:Jh,action:"cors",headers:hm,tracker:Pf.tracker},function(pm,Uh){if(pm)return kh(pm);kh(null,{statusCode:Uh.statusCode,headers:Uh.headers})})}function Ud(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"cors",tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.error&&vh.error.Code==="NoSuchCORSConfiguration"){var sm={CORSRules:[],statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}var Jh=Rh.CORSConfiguration||{},hm=Jh.CORSRules||Jh.CORSRule||[];hm=pd.clone(pd.isArray(hm)?hm:[hm]);var pm=Jh.ResponseVary;pd.each(hm,function(Uh){pd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Lm){var Gm=Lm+"s",_g=Uh[Gm]||Uh[Lm]||[];delete Uh[Lm],Uh[Gm]=pd.isArray(_g)?_g:[_g]})}),kh(null,{CORSRules:hm,ResponseVary:pm,statusCode:Rh.statusCode,headers:Rh.headers})})}function jd(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"cors",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode||vh.statusCode,headers:Rh.headers})})}function Ld(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"location",tracker:Pf.tracker},kh)}function Bd(Pf,kh){var vh=Pf.Policy;try{typeof vh=="string"&&(vh=JSON.parse(vh))}catch{}if(!vh||typeof vh=="string")return kh(pd.error(new Error("Policy format error")));var Rh=JSON.stringify(vh);vh.version||(vh.version="2.0");var sm=Pf.Headers;sm["Content-Type"]="application/json",sm["Content-MD5"]=pd.b64(pd.md5(Rh)),ng.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,action:"policy",body:Rh,headers:sm,tracker:Pf.tracker},function(Jh,hm){if(Jh&&Jh.statusCode===204)return kh(null,{statusCode:Jh.statusCode});if(Jh)return kh(Jh);kh(null,{statusCode:hm.statusCode,headers:hm.headers})})}function Gd(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"policy",rawBody:!0,tracker:Pf.tracker},function(vh,Rh){if(vh)return vh.statusCode&&vh.statusCode===403?kh(pd.error(vh,{ErrorStatus:"Access Denied"})):vh.statusCode&&vh.statusCode===405?kh(pd.error(vh,{ErrorStatus:"Method Not Allowed"})):vh.statusCode&&vh.statusCode===404?kh(pd.error(vh,{ErrorStatus:"Policy Not Found"})):kh(vh);var sm={};try{sm=JSON.parse(Rh.body)}catch{}kh(null,{Policy:sm,statusCode:Rh.statusCode,headers:Rh.headers})})}function qd(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"policy",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode||vh.statusCode,headers:Rh.headers})})}function zd(Pf,kh){var vh=Pf.Tagging||{},Rh=vh.TagSet||vh.Tags||Pf.Tags||[];Rh=pd.clone(pd.isArray(Rh)?Rh:[Rh]);var sm=pd.json2xml({Tagging:{TagSet:{Tag:Rh}}}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:sm,action:"tagging",headers:Jh,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function Xd(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"tagging",tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.error&&(vh.error==="Not Found"||vh.error.Code==="NoSuchTagSet")){var sm={Tags:[],statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}var Jh=[];try{Jh=Rh.Tagging.TagSet.Tag||[]}catch{}Jh=pd.clone(pd.isArray(Jh)?Jh:[Jh]),kh(null,{Tags:Jh,statusCode:Rh.statusCode,headers:Rh.headers})})}function gf(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"tagging",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Yd(Pf,kh){var vh=Pf.LifecycleConfiguration||{},Rh=vh.Rules||Pf.Rules||[];Rh=pd.clone(Rh);var sm=pd.json2xml({LifecycleConfiguration:{Rule:Rh}}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:sm,action:"lifecycle",headers:Jh,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function Zd(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"lifecycle",tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.error&&vh.error.Code==="NoSuchLifecycleConfiguration"){var sm={Rules:[],statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}var Jh=[];try{Jh=Rh.LifecycleConfiguration.Rule||[]}catch{}Jh=pd.clone(pd.isArray(Jh)?Jh:[Jh]),kh(null,{Rules:Jh,statusCode:Rh.statusCode,headers:Rh.headers})})}function df(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"lifecycle",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Ef(Pf,kh){if(!Pf.VersioningConfiguration){kh(pd.error(new Error("missing param VersioningConfiguration")));return}var vh=Pf.VersioningConfiguration||{},Rh=pd.json2xml({VersioningConfiguration:vh}),sm=Pf.Headers;sm["Content-Type"]="application/xml",sm["Content-MD5"]=pd.b64(pd.md5(Rh)),ng.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:Rh,action:"versioning",headers:sm,tracker:Pf.tracker},function(Jh,hm){if(Jh&&Jh.statusCode===204)return kh(null,{statusCode:Jh.statusCode});if(Jh)return kh(Jh);kh(null,{statusCode:hm.statusCode,headers:hm.headers})})}function _f(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"versioning",tracker:Pf.tracker},function(vh,Rh){vh||!Rh.VersioningConfiguration&&(Rh.VersioningConfiguration={}),kh(vh,Rh)})}function xf(Pf,kh){var vh=pd.clone(Pf.ReplicationConfiguration),Rh=pd.json2xml({ReplicationConfiguration:vh});Rh=Rh.replace(/<(\/?)Rules>/gi,"<$1Rule>"),Rh=Rh.replace(/<(\/?)Tags>/gi,"<$1Tag>");var sm=Pf.Headers;sm["Content-Type"]="application/xml",sm["Content-MD5"]=pd.b64(pd.md5(Rh)),ng.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:Rh,action:"replication",headers:sm,tracker:Pf.tracker},function(Jh,hm){if(Jh&&Jh.statusCode===204)return kh(null,{statusCode:Jh.statusCode});if(Jh)return kh(Jh);kh(null,{statusCode:hm.statusCode,headers:hm.headers})})}function vf(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"replication",tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.error&&(vh.error==="Not Found"||vh.error.Code==="ReplicationConfigurationnotFoundError")){var sm={ReplicationConfiguration:{Rules:[]},statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}!Rh.ReplicationConfiguration&&(Rh.ReplicationConfiguration={}),Rh.ReplicationConfiguration.Rule&&(Rh.ReplicationConfiguration.Rules=pd.makeArray(Rh.ReplicationConfiguration.Rule),delete Rh.ReplicationConfiguration.Rule),kh(vh,Rh)})}function Af(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"replication",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Df(Pf,kh){if(!Pf.WebsiteConfiguration){kh(pd.error(new Error("missing param WebsiteConfiguration")));return}var vh=pd.clone(Pf.WebsiteConfiguration||{}),Rh=vh.RoutingRules||vh.RoutingRule||[];Rh=pd.isArray(Rh)?Rh:[Rh],delete vh.RoutingRule,delete vh.RoutingRules,Rh.length&&(vh.RoutingRules={RoutingRule:Rh});var sm=pd.json2xml({WebsiteConfiguration:vh}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:sm,action:"website",headers:Jh,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function jf(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,action:"website",tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.error.Code==="NoSuchWebsiteConfiguration"){var sm={WebsiteConfiguration:{},statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}var Jh=Rh.WebsiteConfiguration||{};if(Jh.RoutingRules){var hm=pd.clone(Jh.RoutingRules.RoutingRule||[]);hm=pd.makeArray(hm),Jh.RoutingRules=hm}kh(null,{WebsiteConfiguration:Jh,statusCode:Rh.statusCode,headers:Rh.headers})})}function Jf(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"website",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function eh(Pf,kh){if(!Pf.RefererConfiguration){kh(pd.error(new Error("missing param RefererConfiguration")));return}var vh=pd.clone(Pf.RefererConfiguration||{}),Rh=vh.DomainList||{},sm=Rh.Domains||Rh.Domain||[];sm=pd.isArray(sm)?sm:[sm],sm.length&&(vh.DomainList={Domain:sm});var Jh=pd.json2xml({RefererConfiguration:vh}),hm=Pf.Headers;hm["Content-Type"]="application/xml",hm["Content-MD5"]=pd.b64(pd.md5(Jh)),ng.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:Jh,action:"referer",headers:hm,tracker:Pf.tracker},function(pm,Uh){if(pm&&pm.statusCode===204)return kh(null,{statusCode:pm.statusCode});if(pm)return kh(pm);kh(null,{statusCode:Uh.statusCode,headers:Uh.headers})})}function th(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,action:"referer",tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.error.Code==="NoSuchRefererConfiguration"){var sm={WebsiteConfiguration:{},statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}var Jh=Rh.RefererConfiguration||{};if(Jh.DomainList){var hm=pd.makeArray(Jh.DomainList.Domain||[]);Jh.DomainList={Domains:hm}}kh(null,{RefererConfiguration:Jh,statusCode:Rh.statusCode,headers:Rh.headers})})}function Uf(Pf,kh){var vh=Pf.DomainConfiguration||{},Rh=vh.DomainRule||Pf.DomainRule||[];Rh=pd.clone(Rh);var sm=pd.json2xml({DomainConfiguration:{DomainRule:Rh}}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:sm,action:"domain",headers:Jh,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function Of(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"domain",tracker:Pf.tracker},function(vh,Rh){if(vh)return kh(vh);var sm=[];try{sm=Rh.DomainConfiguration.DomainRule||[]}catch{}sm=pd.clone(pd.isArray(sm)?sm:[sm]),kh(null,{DomainRule:sm,statusCode:Rh.statusCode,headers:Rh.headers})})}function Wf(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"domain",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function qf(Pf,kh){var vh=Pf.OriginConfiguration||{},Rh=vh.OriginRule||Pf.OriginRule||[];Rh=pd.clone(Rh);var sm=pd.json2xml({OriginConfiguration:{OriginRule:Rh}}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:sm,action:"origin",headers:Jh,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function zf(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"origin",tracker:Pf.tracker},function(vh,Rh){if(vh)return kh(vh);var sm=[];try{sm=Rh.OriginConfiguration.OriginRule||[]}catch{}sm=pd.clone(pd.isArray(sm)?sm:[sm]),kh(null,{OriginRule:sm,statusCode:Rh.statusCode,headers:Rh.headers})})}function Tf(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"origin",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Sf(Pf,kh){var vh=pd.json2xml({BucketLoggingStatus:Pf.BucketLoggingStatus||""}),Rh=Pf.Headers;Rh["Content-Type"]="application/xml",Rh["Content-MD5"]=pd.b64(pd.md5(vh)),ng.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:vh,action:"logging",headers:Rh,tracker:Pf.tracker},function(sm,Jh){if(sm&&sm.statusCode===204)return kh(null,{statusCode:sm.statusCode});if(sm)return kh(sm);kh(null,{statusCode:Jh.statusCode,headers:Jh.headers})})}function Yf(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"logging",tracker:Pf.tracker},function(vh,Rh){if(vh)return kh(vh);kh(null,{BucketLoggingStatus:Rh.BucketLoggingStatus,statusCode:Rh.statusCode,headers:Rh.headers})})}function ih(Pf,kh,vh){var Rh=pd.clone(kh.InventoryConfiguration);if(Rh.OptionalFields){var sm=Rh.OptionalFields||[];Rh.OptionalFields={Field:sm}}if(Rh.Destination&&Rh.Destination.COSBucketDestination&&Rh.Destination.COSBucketDestination.Encryption){var Jh=Rh.Destination.COSBucketDestination.Encryption;Object.keys(Jh).indexOf("SSECOS")>-1&&(Jh["SSE-COS"]=Jh.SSECOS,delete Jh.SSECOS)}var hm=pd.json2xml({InventoryConfiguration:Rh}),pm=kh.Headers;pm["Content-Type"]="application/xml",pm["Content-MD5"]=pd.b64(pd.md5(hm));var Uh=Pf==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";ng.call(this,{Action:Uh,method:Pf,Bucket:kh.Bucket,Region:kh.Region,body:hm,action:"inventory",qs:{id:kh.Id},headers:pm,tracker:kh.tracker},function(Lm,Gm){if(Lm&&Lm.statusCode===204)return vh(null,{statusCode:Lm.statusCode});if(Lm)return vh(Lm);vh(null,{statusCode:Gm.statusCode,headers:Gm.headers})})}function Th(Pf,kh){return ih.call(this,"PUT",Pf,kh)}function sh(Pf,kh){return ih.call(this,"POST",Pf,kh)}function Nf(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"inventory",qs:{id:Pf.Id},tracker:Pf.tracker},function(vh,Rh){if(vh)return kh(vh);var sm=Rh.InventoryConfiguration;if(sm&&sm.OptionalFields&&sm.OptionalFields.Field){var Jh=sm.OptionalFields.Field;pd.isArray(Jh)||(Jh=[Jh]),sm.OptionalFields=Jh}if(sm.Destination&&sm.Destination.COSBucketDestination&&sm.Destination.COSBucketDestination.Encryption){var hm=sm.Destination.COSBucketDestination.Encryption;Object.keys(hm).indexOf("SSE-COS")>-1&&(hm.SSECOS=hm["SSE-COS"],delete hm["SSE-COS"])}kh(null,{InventoryConfiguration:sm,statusCode:Rh.statusCode,headers:Rh.headers})})}function ph(Pf,kh){ng.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"inventory",qs:{"continuation-token":Pf.ContinuationToken},tracker:Pf.tracker},function(vh,Rh){if(vh)return kh(vh);var sm=Rh.ListInventoryConfigurationResult,Jh=sm.InventoryConfiguration||[];Jh=pd.isArray(Jh)?Jh:[Jh],delete sm.InventoryConfiguration,pd.each(Jh,function(hm){if(hm&&hm.OptionalFields&&hm.OptionalFields.Field){var pm=hm.OptionalFields.Field;pd.isArray(pm)||(pm=[pm]),hm.OptionalFields=pm}if(hm.Destination&&hm.Destination.COSBucketDestination&&hm.Destination.COSBucketDestination.Encryption){var Uh=hm.Destination.COSBucketDestination.Encryption;Object.keys(Uh).indexOf("SSE-COS")>-1&&(Uh.SSECOS=Uh["SSE-COS"],delete Uh["SSE-COS"])}}),sm.InventoryConfigurations=Jh,pd.extend(sm,{statusCode:Rh.statusCode,headers:Rh.headers}),kh(null,sm)})}function Oh(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"inventory",qs:{id:Pf.Id},tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Zf(Pf,kh){if(!Pf.AccelerateConfiguration){kh(pd.error(new Error("missing param AccelerateConfiguration")));return}var vh={AccelerateConfiguration:Pf.AccelerateConfiguration||{}},Rh=pd.json2xml(vh),sm={};sm["Content-Type"]="application/xml",sm["Content-MD5"]=pd.b64(pd.md5(Rh)),ng.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:Rh,action:"accelerate",headers:sm,tracker:Pf.tracker},function(Jh,hm){if(Jh)return kh(Jh);kh(null,{statusCode:hm.statusCode,headers:hm.headers})})}function Rf(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,action:"accelerate",tracker:Pf.tracker},function(vh,Rh){vh||!Rh.AccelerateConfiguration&&(Rh.AccelerateConfiguration={}),kh(vh,Rh)})}function Bf(Pf,kh){var vh=Pf.ServerSideEncryptionConfiguration||{},Rh=vh.Rule||vh.Rules||[],sm=pd.json2xml({ServerSideEncryptionConfiguration:{Rule:Rh}}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,body:sm,action:"encryption",headers:Jh,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function Kf(Pf,kh){ng.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"encryption",tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.code==="NoSuchEncryptionConfiguration"){var sm={EncryptionConfiguration:{Rules:[]},statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}var Jh=pd.makeArray(Rh.EncryptionConfiguration&&Rh.EncryptionConfiguration.Rule||[]);Rh.EncryptionConfiguration={Rules:Jh},kh(vh,Rh)})}function wh(Pf,kh){ng.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"encryption",tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Ah(Pf,kh){ng.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,VersionId:Pf.VersionId,headers:Pf.Headers,tracker:Pf.tracker},function(vh,Rh){if(vh){var sm=vh.statusCode;return Pf.Headers["If-Modified-Since"]&&sm&&sm===304?kh(null,{NotModified:!0,statusCode:sm}):kh(vh)}Rh.ETag=pd.attr(Rh.headers,"etag",""),kh(null,Rh)})}function mh(Pf,kh){var vh={};vh.prefix=Pf.Prefix||"",vh.delimiter=Pf.Delimiter,vh["key-marker"]=Pf.KeyMarker,vh["version-id-marker"]=Pf.VersionIdMarker,vh["max-keys"]=Pf.MaxKeys,vh["encoding-type"]=Pf.EncodingType,ng.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:vh.prefix,method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,qs:vh,action:"versions",tracker:Pf.tracker},function(Rh,sm){if(Rh)return kh(Rh);var Jh=sm.ListVersionsResult||{},hm=Jh.DeleteMarker||[];hm=pd.isArray(hm)?hm:[hm];var pm=Jh.Version||[];pm=pd.isArray(pm)?pm:[pm];var Uh=pd.clone(Jh);delete Uh.DeleteMarker,delete Uh.Version,pd.extend(Uh,{DeleteMarkers:hm,Versions:pm,statusCode:sm.statusCode,headers:sm.headers}),kh(null,Uh)})}function im(Pf,kh){if(this.options.ObjectKeySimplifyCheck){var vh=pd.simplifyPath(Pf.Key);if(vh==="/"){kh(pd.error(new Error("The Getobject Key is illegal")));return}}var Rh=Pf.Query||{},sm=Pf.QueryString||"",Jh=pd.throttleOnProgress.call(this,0,Pf.onProgress),hm=Pf.tracker;hm&&hm.setParams({signStartTime:new Date().getTime()}),Rh["response-content-type"]=Pf.ResponseContentType,Rh["response-content-language"]=Pf.ResponseContentLanguage,Rh["response-expires"]=Pf.ResponseExpires,Rh["response-cache-control"]=Pf.ResponseCacheControl,Rh["response-content-disposition"]=Pf.ResponseContentDisposition,Rh["response-content-encoding"]=Pf.ResponseContentEncoding,ng.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,VersionId:Pf.VersionId,DataType:Pf.DataType,headers:Pf.Headers,qs:Rh,qsStr:sm,rawBody:!0,onDownloadProgress:Jh,tracker:hm},function(pm,Uh){if(Jh(null,!0),pm){var Lm=pm.statusCode;return Pf.Headers["If-Modified-Since"]&&Lm&&Lm===304?kh(null,{NotModified:!0}):kh(pm)}kh(null,{Body:Uh.body,ETag:pd.attr(Uh.headers,"etag",""),statusCode:Uh.statusCode,headers:Uh.headers})})}function Bh(Pf,kh){var vh=this,Rh=Pf.ContentLength,sm=pd.throttleOnProgress.call(vh,Rh,Pf.onProgress),Jh=Pf.Headers;!Jh["Cache-Control"]&&!Jh["cache-control"]&&(Jh["Cache-Control"]=""),!Jh["Content-Type"]&&!Jh["content-type"]&&(Jh["Content-Type"]=Pf.Body&&Pf.Body.type||"");var hm=Pf.UploadAddMetaMd5||vh.options.UploadAddMetaMd5||vh.options.UploadCheckContentMd5,pm=Pf.tracker;hm&&pm&&pm.setParams({md5StartTime:new Date().getTime()}),pd.getBodyMd5(hm,Pf.Body,function(Uh){Uh&&(pm&&pm.setParams({md5EndTime:new Date().getTime()}),vh.options.UploadCheckContentMd5&&(Jh["Content-MD5"]=pd.b64(Uh)),(Pf.UploadAddMetaMd5||vh.options.UploadAddMetaMd5)&&(Jh["x-cos-meta-md5"]=Uh)),Pf.ContentLength!==void 0&&(Jh["Content-Length"]=Pf.ContentLength),sm(null,!0),ng.call(vh,{Action:"name/cos:PutObject",TaskId:Pf.TaskId,method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,qs:Pf.Query,body:Pf.Body,onProgress:sm,tracker:pm},function(Lm,Gm){if(Lm)return sm(null,!0),kh(Lm);sm({loaded:Rh,total:Rh},!0);var _g=Jg({ForcePathStyle:vh.options.ForcePathStyle,protocol:vh.options.Protocol,domain:vh.options.Domain,bucket:Pf.Bucket,region:vh.options.UseAccelerate?"accelerate":Pf.Region,object:Pf.Key});_g=_g.substr(_g.indexOf("://")+3),Gm.Location=_g,Gm.ETag=pd.attr(Gm.headers,"etag",""),kh(null,Gm)})},Pf.onHashProgress)}function Tm(Pf,kh){ng.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,VersionId:Pf.VersionId,action:Pf.Recursive?"recursive":"",tracker:Pf.tracker},function(vh,Rh){if(vh){var sm=vh.statusCode;return sm&&sm===404?kh(null,{BucketNotFound:!0,statusCode:sm}):kh(vh)}kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Pm(Pf,kh){var vh={};Pf.VersionId&&(vh.versionId=Pf.VersionId),ng.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,qs:vh,action:"acl",tracker:Pf.tracker},function(Rh,sm){if(Rh)return kh(Rh);var Jh=sm.AccessControlPolicy||{},hm=Jh.Owner||{},pm=Jh.AccessControlList&&Jh.AccessControlList.Grant||[];pm=pd.isArray(pm)?pm:[pm];var Uh=Ng(Jh);delete Uh.GrantWrite,sm.headers&&sm.headers["x-cos-acl"]&&(Uh.ACL=sm.headers["x-cos-acl"]),Uh=pd.extend(Uh,{Owner:hm,Grants:pm,statusCode:sm.statusCode,headers:sm.headers}),kh(null,Uh)})}function gm(Pf,kh){var vh=Pf.Headers,Rh="";if(Pf.AccessControlPolicy){var sm=pd.clone(Pf.AccessControlPolicy||{}),Jh=sm.Grants||sm.Grant;Jh=pd.isArray(Jh)?Jh:[Jh],delete sm.Grant,delete sm.Grants,sm.AccessControlList={Grant:Jh},Rh=pd.json2xml({AccessControlPolicy:sm}),vh["Content-Type"]="application/xml",vh["Content-MD5"]=pd.b64(pd.md5(Rh))}pd.each(vh,function(hm,pm){pm.indexOf("x-cos-grant-")===0&&(vh[pm]=g_(vh[pm]))}),ng.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,action:"acl",headers:vh,body:Rh,tracker:Pf.tracker},function(hm,pm){if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function Mm(Pf,kh){var vh=Pf.Headers;vh.Origin=Pf.Origin,vh["Access-Control-Request-Method"]=Pf.AccessControlRequestMethod,vh["Access-Control-Request-Headers"]=Pf.AccessControlRequestHeaders,ng.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:vh,tracker:Pf.tracker},function(Rh,sm){if(Rh)return Rh.statusCode&&Rh.statusCode===403?kh(null,{OptionsForbidden:!0,statusCode:Rh.statusCode}):kh(Rh);var Jh=sm.headers||{};kh(null,{AccessControlAllowOrigin:Jh["access-control-allow-origin"],AccessControlAllowMethods:Jh["access-control-allow-methods"],AccessControlAllowHeaders:Jh["access-control-allow-headers"],AccessControlExposeHeaders:Jh["access-control-expose-headers"],AccessControlMaxAge:Jh["access-control-max-age"],statusCode:sm.statusCode,headers:sm.headers})})}function Hm(Pf,kh){var vh=this,Rh=Pf.Headers;!Rh["Cache-Control"]&&!Rh["cache-control"]&&(Rh["Cache-Control"]="");var sm=Pf.CopySource||"",Jh=pd.getSourceParams.call(this,sm);if(!Jh){kh(pd.error(new Error("CopySource format error")));return}var hm=Jh.Bucket,pm=Jh.Region,Uh=decodeURIComponent(Jh.Key);ng.call(this,{Scope:[{action:"name/cos:GetObject",bucket:hm,region:pm,prefix:Uh},{action:"name/cos:PutObject",bucket:Pf.Bucket,region:Pf.Region,prefix:Pf.Key}],method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,VersionId:Pf.VersionId,headers:Pf.Headers,tracker:Pf.tracker},function(Lm,Gm){if(Lm)return kh(Lm);var _g=pd.clone(Gm.CopyObjectResult||{}),Km=Jg({ForcePathStyle:vh.options.ForcePathStyle,protocol:vh.options.Protocol,domain:vh.options.Domain,bucket:Pf.Bucket,region:Pf.Region,object:Pf.Key,isLocation:!0});pd.extend(_g,{Location:Km,statusCode:Gm.statusCode,headers:Gm.headers}),kh(null,_g)})}function gh(Pf,kh){var vh=Pf.CopySource||"",Rh=pd.getSourceParams.call(this,vh);if(!Rh){kh(pd.error(new Error("CopySource format error")));return}var sm=Rh.Bucket,Jh=Rh.Region,hm=decodeURIComponent(Rh.Key);ng.call(this,{Scope:[{action:"name/cos:GetObject",bucket:sm,region:Jh,prefix:hm},{action:"name/cos:PutObject",bucket:Pf.Bucket,region:Pf.Region,prefix:Pf.Key}],method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,VersionId:Pf.VersionId,qs:{partNumber:Pf.PartNumber,uploadId:Pf.UploadId},headers:Pf.Headers,tracker:Pf.tracker},function(pm,Uh){if(pm)return kh(pm);var Lm=pd.clone(Uh.CopyPartResult||{});pd.extend(Lm,{statusCode:Uh.statusCode,headers:Uh.headers}),kh(null,Lm)})}function Lf(Pf,kh){var vh=Pf.Objects||[],Rh=Pf.Quiet;vh=pd.isArray(vh)?vh:[vh];var sm=pd.json2xml({Delete:{Object:vh,Quiet:Rh||!1}}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm));var hm=pd.map(vh,function(pm){return{action:"name/cos:DeleteObject",bucket:Pf.Bucket,region:Pf.Region,prefix:pm.Key}});ng.call(this,{Scope:hm,method:"POST",Bucket:Pf.Bucket,Region:Pf.Region,body:sm,action:"delete",headers:Jh,tracker:Pf.tracker},function(pm,Uh){if(pm)return kh(pm);var Lm=Uh.DeleteResult||{},Gm=Lm.Deleted||[],_g=Lm.Error||[];Gm=pd.isArray(Gm)?Gm:[Gm],_g=pd.isArray(_g)?_g:[_g];var Km=pd.clone(Lm);pd.extend(Km,{Error:_g,Deleted:Gm,statusCode:Uh.statusCode,headers:Uh.headers}),kh(null,Km)})}function $f(Pf,kh){var vh=Pf.Headers;if(!Pf.RestoreRequest){kh(pd.error(new Error("missing param RestoreRequest")));return}var Rh=Pf.RestoreRequest||{},sm=pd.json2xml({RestoreRequest:Rh});vh["Content-Type"]="application/xml",vh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,VersionId:Pf.VersionId,body:sm,action:"restore",headers:vh,tracker:Pf.tracker},kh)}function fh(Pf,kh){var vh=Pf.Tagging||{},Rh=vh.TagSet||vh.Tags||Pf.Tags||[];Rh=pd.clone(pd.isArray(Rh)?Rh:[Rh]);var sm=pd.json2xml({Tagging:{TagSet:{Tag:Rh}}}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:Pf.Bucket,Key:Pf.Key,Region:Pf.Region,body:sm,action:"tagging",headers:Jh,VersionId:Pf.VersionId,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);kh(null,{statusCode:pm.statusCode,headers:pm.headers})})}function Ch(Pf,kh){ng.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:Pf.Key,Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,action:"tagging",VersionId:Pf.VersionId,tracker:Pf.tracker},function(vh,Rh){if(vh){if(vh.statusCode===404&&vh.error&&(vh.error==="Not Found"||vh.error.Code==="NoSuchTagSet")){var sm={Tags:[],statusCode:vh.statusCode};vh.headers&&(sm.headers=vh.headers),kh(null,sm)}else kh(vh);return}var Jh=[];try{Jh=Rh.Tagging.TagSet.Tag||[]}catch{}Jh=pd.clone(pd.isArray(Jh)?Jh:[Jh]),kh(null,{Tags:Jh,statusCode:Rh.statusCode,headers:Rh.headers})})}function Zh(Pf,kh){ng.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,action:"tagging",VersionId:Pf.VersionId,tracker:Pf.tracker},function(vh,Rh){if(vh&&vh.statusCode===204)return kh(null,{statusCode:vh.statusCode});if(vh)return kh(vh);kh(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function dm(Pf,kh){var vh=Pf.SelectType;if(!vh)return kh(pd.error(new Error("missing param SelectType")));var Rh=Pf.SelectRequest||{},sm=pd.json2xml({SelectRequest:Rh}),Jh=Pf.Headers;Jh["Content-Type"]="application/xml",Jh["Content-MD5"]=pd.b64(pd.md5(sm)),ng.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,action:"select",qs:{"select-type":Pf.SelectType},VersionId:Pf.VersionId,body:sm,DataType:"arraybuffer",rawBody:!0,tracker:Pf.tracker},function(hm,pm){if(hm&&hm.statusCode===204)return kh(null,{statusCode:hm.statusCode});if(hm)return kh(hm);var Uh=pd.parseSelectPayload(pm.body);kh(null,{statusCode:pm.statusCode,headers:pm.headers,Body:Uh.body,Payload:Uh.payload})})}function Im(Pf,kh){var vh=this,Rh=Pf.Headers,sm=Pf.tracker;!Rh["Cache-Control"]&&!Rh["cache-control"]&&(Rh["Cache-Control"]=""),!Rh["Content-Type"]&&!Rh["content-type"]&&(Rh["Content-Type"]=Pf.Body&&Pf.Body.type||"");var Jh=Pf.Body&&(Pf.UploadAddMetaMd5||vh.options.UploadAddMetaMd5);Jh&&sm&&sm.setParams({md5StartTime:new Date().getTime()}),pd.getBodyMd5(Jh,Pf.Body,function(hm){hm&&(Pf.Headers["x-cos-meta-md5"]=hm),Jh&&sm&&sm.setParams({md5EndTime:new Date().getTime()}),ng.call(vh,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,action:"uploads",headers:Pf.Headers,qs:Pf.Query,tracker:sm},function(pm,Uh){if(pm)return sm&&sm.parent&&sm.parent.setParams({errorNode:"multipartInit"}),kh(pm);if(Uh=pd.clone(Uh||{}),Uh&&Uh.InitiateMultipartUploadResult)return kh(null,pd.extend(Uh.InitiateMultipartUploadResult,{statusCode:Uh.statusCode,headers:Uh.headers}));kh(null,Uh)})},Pf.onHashProgress)}function Ym(Pf,kh){var vh=this;pd.getFileSize("multipartUpload",Pf,function(){var Rh=Pf.tracker,sm=vh.options.UploadCheckContentMd5;sm&&Rh&&Rh.setParams({md5StartTime:new Date().getTime()}),pd.getBodyMd5(sm,Pf.Body,function(Jh){Jh&&(Pf.Headers["Content-MD5"]=pd.b64(Jh)),sm&&Rh&&Rh.setParams({md5EndTime:new Date().getTime()}),Rh&&Rh.setParams({partNumber:Pf.PartNumber}),ng.call(vh,{Action:"name/cos:UploadPart",TaskId:Pf.TaskId,method:"PUT",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,qs:{partNumber:Pf.PartNumber,uploadId:Pf.UploadId},headers:Pf.Headers,onProgress:Pf.onProgress,body:Pf.Body||null,tracker:Rh},function(hm,pm){if(hm)return Rh&&Rh.parent&&Rh.parent.setParams({errorNode:"multipartUpload"}),kh(hm);kh(null,{ETag:pd.attr(pm.headers,"etag",""),statusCode:pm.statusCode,headers:pm.headers})})})})}function Fm(Pf,kh){for(var vh=this,Rh=Pf.UploadId,sm=Pf.Parts,Jh=Pf.tracker,hm=0,pm=sm.length;hm<pm;hm++)sm[hm].ETag&&sm[hm].ETag.indexOf('"')===0||(sm[hm].ETag='"'+sm[hm].ETag+'"');var Uh=pd.json2xml({CompleteMultipartUpload:{Part:sm}});Uh=Uh.replace(/\n\s*/g,"");var Lm=Pf.Headers;Lm["Content-Type"]="application/xml",Lm["Content-MD5"]=pd.b64(pd.md5(Uh)),ng.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,qs:{uploadId:Rh},body:Uh,headers:Lm,tracker:Jh},function(Gm,_g){if(Gm)return Jh&&Jh.parent&&Jh.parent.setParams({errorNode:"multipartComplete"}),kh(Gm);var Km=Jg({ForcePathStyle:vh.options.ForcePathStyle,protocol:vh.options.Protocol,domain:vh.options.Domain,bucket:Pf.Bucket,region:Pf.Region,object:Pf.Key,isLocation:!0}),Sg=_g.CompleteMultipartUploadResult||{};if(Sg.ProcessResults&&(Sg.UploadResult={OriginalInfo:{Key:Sg.Key,Location:Km,ETag:Sg.ETag,ImageInfo:Sg.ImageInfo},ProcessResults:Sg.ProcessResults},delete Sg.ImageInfo,delete Sg.ProcessResults),Sg.CallbackResult){var t_=Sg.CallbackResult;if(t_.Status==="200"&&t_.CallbackBody)try{Sg.CallbackBody=JSON.parse(pd.decodeBase64(t_.CallbackBody))}catch{Sg.CallbackBody={}}else Sg.CallbackError=t_.Error||{};delete Sg.CallbackResult}if(Sg.ReturnBodyResult){var Zg=Sg.ReturnBodyResult;if(Zg.Status==="200"&&Zg.ReturnBody)try{Sg.ReturnBody=JSON.parse(pd.decodeBase64(Zg.ReturnBody))}catch{Sg.ReturnBody={}}else Sg.ReturnError={Code:Zg.Code,Message:Zg.Message,Status:Zg.Status};delete Sg.ReturnBodyResult}var jg=pd.extend(Sg,{Location:Km,statusCode:_g.statusCode,headers:_g.headers});kh(null,jg)})}function ug(Pf,kh){var vh={};vh.delimiter=Pf.Delimiter,vh["encoding-type"]=Pf.EncodingType,vh.prefix=Pf.Prefix||"",vh["max-uploads"]=Pf.MaxUploads,vh["key-marker"]=Pf.KeyMarker,vh["upload-id-marker"]=Pf.UploadIdMarker,vh=pd.clearKey(vh);var Rh=Pf.tracker;Rh&&Rh.setParams({signStartTime:new Date().getTime()}),ng.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:vh.prefix,method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,headers:Pf.Headers,qs:vh,action:"uploads",tracker:Rh},function(sm,Jh){if(sm)return Rh&&Rh.parent&&Rh.parent.setParams({errorNode:"multipartList"}),kh(sm);if(Jh&&Jh.ListMultipartUploadsResult){var hm=Jh.ListMultipartUploadsResult.Upload||[];hm=pd.isArray(hm)?hm:[hm],Jh.ListMultipartUploadsResult.Upload=hm}var pm=pd.clone(Jh.ListMultipartUploadsResult||{});pd.extend(pm,{statusCode:Jh.statusCode,headers:Jh.headers}),kh(null,pm)})}function rg(Pf,kh){var vh={},Rh=Pf.tracker;vh.uploadId=Pf.UploadId,vh["encoding-type"]=Pf.EncodingType,vh["max-parts"]=Pf.MaxParts,vh["part-number-marker"]=Pf.PartNumberMarker,ng.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,qs:vh,tracker:Rh},function(sm,Jh){if(sm)return Rh&&Rh.parent&&Rh.parent.setParams({errorNode:"multipartListPart"}),kh(sm);var hm=Jh.ListPartsResult||{},pm=hm.Part||[];pm=pd.isArray(pm)?pm:[pm],hm.Part=pm;var Uh=pd.clone(hm);pd.extend(Uh,{statusCode:Jh.statusCode,headers:Jh.headers}),kh(null,Uh)})}function Eg(Pf,kh){var vh={};vh.uploadId=Pf.UploadId,ng.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,headers:Pf.Headers,qs:vh,tracker:Pf.tracker},function(Rh,sm){if(Rh)return kh(Rh);kh(null,{statusCode:sm.statusCode,headers:sm.headers})})}function kg(Pf,kh){ng.call(this,{method:Pf.Method,Bucket:Pf.Bucket,Region:Pf.Region,Key:Pf.Key,action:Pf.Action,headers:Pf.Headers,qs:Pf.Query,body:Pf.Body,Url:Pf.Url,rawBody:Pf.RawBody,DataType:Pf.DataType,tracker:Pf.tracker},function(vh,Rh){if(vh)return kh(vh);Rh&&Rh.body&&(Rh.Body=Rh.body,delete Rh.body),kh(vh,Rh)})}function n_(Pf,kh){var vh=Pf.Headers;!vh["Cache-Control"]&&!vh["cache-control"]&&(vh["Cache-Control"]=""),!vh["Content-Type"]&&!vh["content-type"]&&(vh["Content-Type"]=Pf.Body&&Pf.Body.type||""),ng.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:Pf.Bucket,Region:Pf.Region,action:"append",Key:Pf.Key,body:Pf.Body,qs:{position:Pf.Position},headers:Pf.Headers,tracker:Pf.tracker},function(Rh,sm){if(Rh)return kh(Rh);kh(null,sm)})}function Fg(Pf){var kh=this;return pd.getAuth({SecretId:Pf.SecretId||this.options.SecretId||"",SecretKey:Pf.SecretKey||this.options.SecretKey||"",Bucket:Pf.Bucket,Region:Pf.Region,Method:Pf.Method,Key:Pf.Key,Query:Pf.Query,Headers:Pf.Headers,Expires:Pf.Expires,UseRawKey:kh.options.UseRawKey,SystemClockOffset:kh.options.SystemClockOffset})}function Kg(Pf,kh){var vh=this,Rh=Pf.UseAccelerate===void 0?vh.options.UseAccelerate:Pf.UseAccelerate,sm=Jg({ForcePathStyle:vh.options.ForcePathStyle,protocol:Pf.Protocol||vh.options.Protocol,domain:Pf.Domain||vh.options.Domain,bucket:Pf.Bucket,region:Rh?"accelerate":Pf.Region,object:Pf.Key}),Jh="";Pf.Query&&(Jh+=pd.obj2str(Pf.Query)),Pf.QueryString&&(Jh+=(Jh?"&":"")+Pf.QueryString);var hm=sm;if(Pf.Sign!==void 0&&!Pf.Sign)return Jh&&(hm+="?"+Jh),kh(null,{Url:hm}),hm;var pm=C_.call(this,{Bucket:Pf.Bucket,Region:Pf.Region,UseAccelerate:Pf.UseAccelerate,Url:sm}),Uh=N_.call(this,{Action:(Pf.Method||"").toUpperCase()==="PUT"?"name/cos:PutObject":"name/cos:GetObject",Bucket:Pf.Bucket||"",Region:Pf.Region||"",Method:Pf.Method||"get",Key:Pf.Key,Expires:Pf.Expires,Headers:Pf.Headers,Query:Pf.Query,SignHost:pm,ForceSignHost:Pf.ForceSignHost===!1?!1:vh.options.ForceSignHost},function(Lm,Gm){if(kh){if(Lm){kh(Lm);return}var _g=function(t_){var Zg=t_.match(/q-url-param-list.*?(?=&)/g)[0],jg="q-url-param-list="+encodeURIComponent(Zg.replace(/q-url-param-list=/,"")).toLowerCase(),tg=new RegExp(Zg,"g"),y_=t_.replace(tg,jg);return y_},Km=sm;Km+="?"+(Gm.Authorization.indexOf("q-signature")>-1?_g(Gm.Authorization):"sign="+encodeURIComponent(Gm.Authorization)),Gm.SecurityToken&&(Km+="&x-cos-security-token="+Gm.SecurityToken),Gm.ClientIP&&(Km+="&clientIP="+Gm.ClientIP),Gm.ClientUA&&(Km+="&clientUA="+Gm.ClientUA),Gm.Token&&(Km+="&token="+Gm.Token),Jh&&(Km+="&"+Jh),setTimeout(function(){kh(null,{Url:Km})})}});return Uh?(hm+="?"+Uh.Authorization+(Uh.SecurityToken?"&x-cos-security-token="+Uh.SecurityToken:""),Jh&&(hm+="&"+Jh)):Jh&&(hm+="?"+Jh),hm}function Ng(Pf){var kh={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},vh={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},Rh=Pf&&Pf.AccessControlList||{},sm=Rh.Grant;sm&&(sm=pd.isArray(sm)?sm:[sm]);var Jh={READ:0,WRITE:0,FULL_CONTROL:0};return sm&&sm.length&&pd.each(sm,function(hm){var pm=hm.Grantee.URI&&hm.Grantee.URI.endsWith("/groups/global/AllUsers");hm.Grantee.ID==="qcs::cam::anyone:anyone"||pm?Jh[hm.Permission]=1:hm.Grantee.ID!==Pf.Owner.ID&&kh[vh[hm.Permission]].push('id="'+hm.Grantee.ID+'"')}),Jh.FULL_CONTROL||Jh.WRITE&&Jh.READ?kh.ACL="public-read-write":Jh.READ?kh.ACL="public-read":kh.ACL="private",pd.each(vh,function(hm){kh[hm]=g_(kh[hm].join(","))}),kh}function g_(Pf){var kh=Pf.split(","),vh={},Rh,sm;for(Rh=0;Rh<kh.length;)sm=kh[Rh].trim(),vh[sm]?kh.splice(Rh,1):(vh[sm]=!0,kh[Rh]=sm,Rh++);return kh.join(",")}function Jg(Pf){var kh=Pf.region||"",vh=Pf.bucket||"",Rh=vh.substr(0,vh.lastIndexOf("-")),sm=vh.substr(vh.lastIndexOf("-")+1),Jh=Pf.domain,hm=Pf.object;typeof Jh=="function"&&(Jh=Jh({Bucket:vh,Region:kh})),["http","https"].includes(Pf.protocol)&&(Pf.protocol=Pf.protocol+":");var pm=Pf.protocol||(pd.isBrowser&&(typeof location>"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:");Jh||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(kh)>-1?Jh="{Region}.myqcloud.com":Jh="cos.{Region}.myqcloud.com",Pf.ForcePathStyle||(Jh="{Bucket}."+Jh)),Jh=Jh.replace(/\{\{AppId\}\}/gi,sm).replace(/\{\{Bucket\}\}/gi,Rh).replace(/\{\{Region\}\}/gi,kh).replace(/\{\{.*?\}\}/gi,""),Jh=Jh.replace(/\{AppId\}/gi,sm).replace(/\{BucketName\}/gi,Rh).replace(/\{Bucket\}/gi,vh).replace(/\{Region\}/gi,kh).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(Jh)||(Jh=pm+"//"+Jh),Jh.slice(-1)==="/"&&(Jh=Jh.slice(0,-1));var Uh=Jh;return Pf.ForcePathStyle&&(Uh+="/"+vh),Uh+="/",hm&&(Uh+=pd.camSafeUrlEncode(hm).replace(/%2F/g,"/")),Pf.isLocation&&(Uh=Uh.replace(/^https?:\/\//,"")),Uh}var C_=function(kh){if(!kh.Bucket||!kh.Region)return"";var vh=kh.UseAccelerate===void 0?this.options.UseAccelerate:kh.UseAccelerate,Rh=kh.Url||Jg({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:kh.Bucket,region:vh?"accelerate":kh.Region}),sm=Rh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return sm};function N_(Pf,kh){var vh=pd.clone(Pf.Headers),Rh="";pd.each(vh,function(Gg,Mg){(Gg===""||["content-type","cache-control","expires"].indexOf(Mg.toLowerCase())>-1)&&delete vh[Mg],Mg.toLowerCase()==="host"&&(Rh=Gg)});var sm=Pf.ForceSignHost!==!1;!Rh&&Pf.SignHost&&sm&&(vh.Host=Pf.SignHost);var Jh=!1,hm=function(Mg,_h){Jh||(Jh=!0,_h&&_h.XCosSecurityToken&&!_h.SecurityToken&&(_h=pd.clone(_h),_h.SecurityToken=_h.XCosSecurityToken,delete _h.XCosSecurityToken),kh&&kh(Mg,_h))},pm=this,Uh=Pf.Bucket||"",Lm=Pf.Region||"",Gm=Pf.Key||"";pm.options.ForcePathStyle&&Uh&&(Gm=Uh+"/"+Gm);var _g="/"+Gm,Km={},Sg=Pf.Scope;if(!Sg){var t_=Pf.Action||"",Zg=Pf.ResourceKey||Pf.Key||"";Sg=Pf.Scope||[{action:t_,bucket:Uh,region:Lm,prefix:Zg}]}var jg=pd.md5(JSON.stringify(Sg));pm._StsCache=pm._StsCache||[],function(){var Gg,Mg;for(Gg=pm._StsCache.length-1;Gg>=0;Gg--){Mg=pm._StsCache[Gg];var _h=Math.round(pd.getSkewTime(pm.options.SystemClockOffset)/1e3)+30;if(Mg.StartTime&&_h<Mg.StartTime||_h>=Mg.ExpiredTime){pm._StsCache.splice(Gg,1);continue}if(!Mg.ScopeLimit||Mg.ScopeLimit&&Mg.ScopeKey===jg){Km=Mg;break}}}();var tg=function(){var Mg="";Km.StartTime&&Pf.Expires?Mg=Km.StartTime+";"+(Km.StartTime+Pf.Expires*1):Km.StartTime&&Km.ExpiredTime&&(Mg=Km.StartTime+";"+Km.ExpiredTime);var _h=pd.getAuth({SecretId:Km.TmpSecretId,SecretKey:Km.TmpSecretKey,Method:Pf.Method,Pathname:_g,Query:Pf.Query,Headers:vh,Expires:Pf.Expires,UseRawKey:pm.options.UseRawKey,SystemClockOffset:pm.options.SystemClockOffset,KeyTime:Mg,ForceSignHost:sm}),Xh={Authorization:_h,SecurityToken:Km.SecurityToken||Km.XCosSecurityToken||"",Token:Km.Token||"",ClientIP:Km.ClientIP||"",ClientUA:Km.ClientUA||"",SignFrom:"client"};hm(null,Xh)},y_=function(Mg){if(Mg.Authorization){var _h=!1,Xh=Mg.Authorization;if(Xh)if(Xh.indexOf(" ")>-1)_h=!1;else if(Xh.indexOf("q-sign-algorithm=")>-1&&Xh.indexOf("q-ak=")>-1&&Xh.indexOf("q-sign-time=")>-1&&Xh.indexOf("q-key-time=")>-1&&Xh.indexOf("q-url-param-list=")>-1)_h=!0;else try{Xh=atob(Xh),Xh.indexOf("a=")>-1&&Xh.indexOf("k=")>-1&&Xh.indexOf("t=")>-1&&Xh.indexOf("r=")>-1&&Xh.indexOf("b=")>-1&&(_h=!0)}catch{}if(!_h)return pd.error(new Error("getAuthorization callback params format error"))}else{if(!Mg.TmpSecretId)return pd.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!Mg.TmpSecretKey)return pd.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!Mg.SecurityToken&&!Mg.XCosSecurityToken)return pd.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!Mg.ExpiredTime)return pd.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(Mg.ExpiredTime&&Mg.ExpiredTime.toString().length!==10)return pd.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(Mg.StartTime&&Mg.StartTime.toString().length!==10)return pd.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(Km.ExpiredTime&&Km.ExpiredTime-pd.getSkewTime(pm.options.SystemClockOffset)/1e3>60)tg();else if(pm.options.getAuthorization)pm.options.getAuthorization.call(pm,{Bucket:Uh,Region:Lm,Method:Pf.Method,Key:Gm,Pathname:_g,Query:Pf.Query,Headers:vh,Scope:Sg,SystemClockOffset:pm.options.SystemClockOffset,ForceSignHost:sm},function(Gg){typeof Gg=="string"&&(Gg={Authorization:Gg});var Mg=y_(Gg);if(Mg)return hm(Mg);Gg.Authorization?hm(null,Gg):(Km=Gg||{},Km.Scope=Sg,Km.ScopeKey=jg,pm._StsCache.push(Km),tg())});else if(pm.options.getSTS)pm.options.getSTS.call(pm,{Bucket:Uh,Region:Lm},function(Gg){Km=Gg||{},Km.Scope=Sg,Km.ScopeKey=jg,Km.TmpSecretId||(Km.TmpSecretId=Km.SecretId),Km.TmpSecretKey||(Km.TmpSecretKey=Km.SecretKey);var Mg=y_(Km);if(Mg)return hm(Mg);pm._StsCache.push(Km),tg()});else return function(){var Gg="";if(pm.options.StartTime&&Pf.Expires){if(pm.options.StartTime.toString().length!==10)return hm(pd.error(new Error('params "StartTime" should be 10 digits')));Gg=pm.options.StartTime+";"+(pm.options.StartTime+Pf.Expires*1)}else if(pm.options.StartTime&&pm.options.ExpiredTime){if(pm.options.StartTime.toString().length!==10)return hm(pd.error(new Error('params "StartTime" should be 10 digits')));if(pm.options.ExpiredTime.toString().length!==10)return hm(pd.error(new Error('params "ExpiredTime" should be 10 digits')));Gg=pm.options.StartTime+";"+pm.options.ExpiredTime*1}var Mg=pd.getAuth({SecretId:Pf.SecretId||pm.options.SecretId,SecretKey:Pf.SecretKey||pm.options.SecretKey,Method:Pf.Method,Pathname:_g,Query:Pf.Query,Headers:vh,Expires:Pf.Expires,KeyTime:Gg,UseRawKey:pm.options.UseRawKey,SystemClockOffset:pm.options.SystemClockOffset,ForceSignHost:sm}),_h={Authorization:Mg,SecurityToken:pm.options.SecurityToken||pm.options.XCosSecurityToken,SignFrom:"client"};return hm(null,_h),_h}();return""}function a_(Pf){var kh=this,vh=!1,Rh=!1,sm=!1,Jh=Pf.headers&&(Pf.headers.date||Pf.headers.Date)||Pf.error&&Pf.error.ServerTime;try{var hm=Pf.error.Code,pm=Pf.error.Message;(hm==="RequestTimeTooSkewed"||hm==="AccessDenied"&&pm==="Request has expired")&&(Rh=!0)}catch{}if(Pf)if(Rh&&Jh){var Uh=Date.parse(Jh);this.options.CorrectClockSkew&&Math.abs(pd.getSkewTime(this.options.SystemClockOffset)-Uh)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=Uh-Date.now(),vh=!0)}else Math.floor(Pf.statusCode/100)===5?vh=!0:Pf.message==="CORS blocked or network error"&&(sm=!0,vh=kh.options.AutoSwitchHost);return{canRetry:vh,networkError:sm}}function c_(Pf){var kh=Pf.requestUrl,vh=Pf.clientCalcSign,Rh=Pf.networkError;if(!this.options.AutoSwitchHost||!kh||!vh||!Rh)return!1;var sm=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,Jh=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,hm=sm.test(kh)&&!Jh.test(kh);return hm}function ng(Pf,kh){var vh=this;!Pf.headers&&(Pf.headers={}),!Pf.qs&&(Pf.qs={}),Pf.VersionId&&(Pf.qs.versionId=Pf.VersionId),Pf.qs=pd.clearKey(Pf.qs),Pf.headers&&(Pf.headers=pd.clearKey(Pf.headers)),Pf.qs&&(Pf.qs=pd.clearKey(Pf.qs));var Rh=pd.clone(Pf.qs);Pf.action&&(Rh[Pf.action]="");var sm=Pf.url||Pf.Url,Jh=Pf.SignHost||C_.call(this,{Bucket:Pf.Bucket,Region:Pf.Region,Url:sm}),hm=Pf.tracker,pm=function Uh(Lm){var Gm=vh.options.SystemClockOffset;hm&&hm.setParams({signStartTime:new Date().getTime(),httpRetryTimes:Lm-1}),Pf.SwitchHost&&(Jh=Jh.replace(/myqcloud.com/,"tencentcos.cn")),N_.call(vh,{Bucket:Pf.Bucket||"",Region:Pf.Region||"",Method:Pf.method,Key:Pf.Key,Query:Rh,Headers:Pf.headers,SignHost:Jh,Action:Pf.Action,ResourceKey:Pf.ResourceKey,Scope:Pf.Scope,ForceSignHost:vh.options.ForceSignHost,SwitchHost:Pf.SwitchHost},function(_g,Km){if(_g){kh(_g);return}hm&&hm.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),Pf.AuthData=Km,ub.call(vh,Pf,function(Sg,t_){hm&&hm.setParams({httpEndTime:new Date().getTime()});var Zg=!1,jg=!1;if(Sg){var tg=a_.call(vh,Sg);Zg=tg.canRetry||Gm!==vh.options.SystemClockOffset,jg=tg.networkError}if(Sg&&Lm<2&&Zg){Pf.headers&&(delete Pf.headers.Authorization,delete Pf.headers.token,delete Pf.headers.clientIP,delete Pf.headers.clientUA,Pf.headers["x-cos-security-token"]&&delete Pf.headers["x-cos-security-token"],Pf.headers["x-ci-security-token"]&&delete Pf.headers["x-ci-security-token"]);var y_=c_.call(vh,{requestUrl:(Sg==null?void 0:Sg.url)||"",clientCalcSign:Km.SignFrom==="client",networkError:jg});Pf.SwitchHost=y_,Pf.retry=!0,Uh(Lm+1)}else kh(Sg,t_)})})};pm(1)}function ub(Pf,kh){var vh=this,Rh=Pf.TaskId;if(!(Rh&&!vh._isRunningTask(Rh))){var sm=Pf.Bucket,Jh=Pf.Region,hm=Pf.Key,pm=Pf.method||"GET",Uh=Pf.Url||Pf.url,Lm=Pf.body,Gm=Pf.rawBody;vh.options.UseAccelerate&&(Jh="accelerate"),Uh=Uh||Jg({ForcePathStyle:vh.options.ForcePathStyle,protocol:vh.options.Protocol,domain:vh.options.Domain,bucket:sm,region:Jh,object:hm}),Pf.SwitchHost&&(Uh=Uh.replace(/myqcloud.com/,"tencentcos.cn"));var _g=hm?Uh:"";Pf.action&&(Uh=Uh+"?"+(pd.isIOS_QQ?"".concat(Pf.action,"="):Pf.action)),Pf.qsStr&&(Uh.indexOf("?")>-1?Uh=Uh+"&"+Pf.qsStr:Uh=Uh+"?"+Pf.qsStr);var Km={method:pm,url:Uh,headers:Pf.headers,qs:Pf.qs,body:Lm},Sg="x-cos-security-token";if(pd.isCIHost(Uh)&&(Sg="x-ci-security-token"),Km.headers.Authorization=Pf.AuthData.Authorization,Pf.AuthData.Token&&(Km.headers.token=Pf.AuthData.Token),Pf.AuthData.ClientIP&&(Km.headers.clientIP=Pf.AuthData.ClientIP),Pf.AuthData.ClientUA&&(Km.headers.clientUA=Pf.AuthData.ClientUA),Pf.AuthData.SecurityToken&&(Km.headers[Sg]=Pf.AuthData.SecurityToken),Km.headers&&(Km.headers=pd.clearKey(Km.headers)),Pf.retry&&(Km.headers["x-cos-sdk-retry"]=!0),Km=pd.clearKey(Km),Pf.onProgress&&typeof Pf.onProgress=="function"){var t_=Lm&&(Lm.size||Lm.length)||0;Km.onProgress=function(_h){if(!(Rh&&!vh._isRunningTask(Rh))){var Xh=_h?_h.loaded:0;Pf.onProgress({loaded:Xh,total:t_})}}}Pf.onDownloadProgress&&(Km.onDownloadProgress=Pf.onDownloadProgress),Pf.DataType&&(Km.dataType=Pf.DataType),this.options.Timeout&&(Km.timeout=this.options.Timeout),vh.options.ForcePathStyle&&(Km.pathStyle=vh.options.ForcePathStyle),vh.emit("before-send",Km);var Zg=Km.url.includes("accelerate."),jg=Km.qs?Object.keys(Km.qs).map(function(_h){return"".concat(_h,"=").concat(Km.qs[_h])}).join("&"):"",tg=jg?Km.url+"?"+jg:Km.url;if(Pf.tracker){var y_;Pf.tracker.setParams({url:tg,httpMethod:Km.method,accelerate:Zg,httpSize:((y_=Km.body)===null||y_===void 0?void 0:y_.size)||0}),Pf.tracker.parent&&!Pf.tracker.parent.params.url&&Pf.tracker.parent.setParams({url:_g,accelerate:Zg})}var Gg=(vh.options.Request||dd)(Km,function(_h){if(!(_h&&_h.error==="abort")){var Xh={options:Km,error:_h&&_h.error,statusCode:_h&&_h.statusCode||0,statusMessage:_h&&_h.statusMessage||"",headers:_h&&_h.headers||{},body:_h&&_h.body};vh.emit("after-receive",Xh);var Um=Xh.error,Jm=Xh.body,Om={statusCode:Xh.statusCode,statusMessage:Xh.statusMessage,headers:Xh.headers},og,zg=function(hb,T_){if(Rh&&vh.off("inner-kill-task",Mg),!og){og=!0;var K_={};if(Om&&Om.statusCode&&(K_.statusCode=Om.statusCode),Om&&Om.headers&&(K_.headers=Om.headers),hb)Km.url&&(K_.url=Km.url),Km.method&&(K_.method=Km.method),hb=pd.extend(hb||{},K_),kh(hb,null);else{if(Pf.Action==="name/cos:PutObject"){var B_={};for(var $b in Pf.headers){var u0=$b.toLowerCase();B_[u0]=Pf.headers[$b]}B_["x-cos-callback"]?T_.Error?(T_.CallbackError=pd.clone(T_.Error),delete T_.Error):T_.CallbackBody=pd.clone(T_):B_["x-cos-return-body"]&&(T_.Error?(T_.ReturnError=pd.clone(T_.Error),delete T_.Error):T_.ReturnBody=pd.clone(T_))}T_=pd.extend(T_||{},K_),kh(null,T_)}Gg=null}};if(Um)return zg(pd.error(Um));var S_=Om.statusCode,M_=Math.floor(S_/100)===2;if(Gm){if(M_)return zg(null,{body:Jm});if(Jm instanceof Blob){pd.readAsBinaryString(Jm,function(Pg){var hb=pd.parseResBody(Pg),T_=hb.Error||hb;return zg(pd.error(new Error(T_.Message||"response body error"),{code:T_.Code,error:T_}))});return}}var fb=pd.parseResBody(Jm),Mb=fb.Error||fb;M_?zg(null,fb):Mb?zg(pd.error(new Error(Mb.Message),{code:Mb.Code,error:Mb})):S_?zg(pd.error(new Error(Om.statusMessage),{code:""+S_})):S_&&zg(pd.error(new Error("statusCode error")))}}),Mg=function _h(Xh){Xh.TaskId===Rh&&(Gg&&Gg.abort&&Gg.abort(),vh.off("inner-kill-task",_h))};Rh&&vh.on("inner-kill-task",Mg)}}var Tb={getService:fd,putBucket:md,headBucket:vd,getBucket:Ad,deleteBucket:Nd,putBucketAcl:Id,getBucketAcl:Od,putBucketCors:Md,getBucketCors:Ud,deleteBucketCors:jd,getBucketLocation:Ld,getBucketPolicy:Gd,putBucketPolicy:Bd,deleteBucketPolicy:qd,putBucketTagging:zd,getBucketTagging:Xd,deleteBucketTagging:gf,putBucketLifecycle:Yd,getBucketLifecycle:Zd,deleteBucketLifecycle:df,putBucketVersioning:Ef,getBucketVersioning:_f,putBucketReplication:xf,getBucketReplication:vf,deleteBucketReplication:Af,putBucketWebsite:Df,getBucketWebsite:jf,deleteBucketWebsite:Jf,putBucketReferer:eh,getBucketReferer:th,putBucketDomain:Uf,getBucketDomain:Of,deleteBucketDomain:Wf,putBucketOrigin:qf,getBucketOrigin:zf,deleteBucketOrigin:Tf,putBucketLogging:Sf,getBucketLogging:Yf,putBucketInventory:Th,postBucketInventory:sh,getBucketInventory:Nf,listBucketInventory:ph,deleteBucketInventory:Oh,putBucketAccelerate:Zf,getBucketAccelerate:Rf,putBucketEncryption:Bf,getBucketEncryption:Kf,deleteBucketEncryption:wh,getObject:im,headObject:Ah,listObjectVersions:mh,putObject:Bh,deleteObject:Tm,getObjectAcl:Pm,putObjectAcl:gm,optionsObject:Mm,putObjectCopy:Hm,deleteMultipleObject:Lf,restoreObject:$f,putObjectTagging:fh,getObjectTagging:Ch,deleteObjectTagging:Zh,selectObjectContent:dm,appendObject:n_,uploadPartCopy:gh,multipartInit:Im,multipartUpload:Ym,multipartComplete:Fm,multipartList:ug,multipartListPart:rg,multipartAbort:Eg,request:kg,getObjectUrl:Kg,getAuth:Fg};function q_(Pf,kh,vh){pd.each(["Cors","Acl"],function(Rh){if(Pf.slice(-Rh.length)===Rh){var sm=Pf.slice(0,-Rh.length)+Rh.toUpperCase(),Jh=pd.apiWrapper(Pf,kh),hm=!1;vh[sm]=function(){!hm&&console.warn("warning: cos."+sm+" has been deprecated. Please Use cos."+Pf+" instead."),hm=!0,Jh.apply(this,arguments)}}})}nd.exports.init=function(Pf,kh){kh.transferToTaskMethod(Tb,"putObject"),pd.each(Tb,function(vh,Rh){Pf.prototype[Rh]=pd.apiWrapper(Rh,vh),q_(Rh,vh,Pf.prototype)})}},"./src/cos.js":function(nd,od,ld){var ud=ld("./src/util.js"),dd=ld("./src/event.js"),pd=ld("./src/task.js"),fd=ld("./src/base.js"),md=ld("./src/advance.js"),vd=ld("./package.json"),Ad={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",StartTime:0,ExpiredTime:0,ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1024*1024,SliceSize:1024*1024,CopyChunkParallelLimit:20,CopyChunkSize:1024*1024*10,CopySliceSize:1024*1024*10,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},Nd=function(Od){if(this.options=ud.extend(ud.clone(Ad),Od||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1024*1024,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1024*1024,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),ud.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");dd.init(this),pd.init(this)};fd.init(Nd,pd),md.init(Nd,pd),Nd.util={md5:ud.md5,xml2json:ud.xml2json,json2xml:ud.json2xml,encodeBase64:ud.encodeBase64},Nd.getAuthorization=ud.getAuth,Nd.version=vd.version,nd.exports=Nd},"./src/event.js":function(nd,od){var ld=function(pd){var fd={},md=function(Ad){return!fd[Ad]&&(fd[Ad]=[]),fd[Ad]};pd.on=function(vd,Ad){vd==="task-list-update"&&console.warn('warning: Event "'+vd+'" has been deprecated. Please use "list-update" instead.'),md(vd).push(Ad)},pd.off=function(vd,Ad){for(var Nd=md(vd),Id=Nd.length-1;Id>=0;Id--)Ad===Nd[Id]&&Nd.splice(Id,1)},pd.emit=function(vd,Ad){for(var Nd=md(vd).map(function(Od){return Od}),Id=0;Id<Nd.length;Id++)Nd[Id](Ad)}},ud=function(){ld(this)};nd.exports.init=ld,nd.exports.EventProxy=ud},"./src/session.js":function(nd,od,ld){var ud=ld("./src/util.js"),dd="cos_sdk_upload_cache",pd=30*24*3600,fd,md,vd=function(){try{var Ud=JSON.parse(localStorage.getItem(dd))}catch{}Ud||(Ud=[]),fd=Ud},Ad=function(){try{fd.length?localStorage.setItem(dd,JSON.stringify(fd)):localStorage.removeItem(dd)}catch{}},Nd=function(){if(!fd){vd.call(this);for(var Ud=!1,jd=Math.round(Date.now()/1e3),Ld=fd.length-1;Ld>=0;Ld--){var Bd=fd[Ld][2];(!Bd||Bd+pd<jd)&&(fd.splice(Ld,1),Ud=!0)}Ud&&Ad()}},Id=function(){md||(md=setTimeout(function(){Ad(),md=null},400))},Od={using:{},setUsing:function(Ud){Od.using[Ud]=!0},removeUsing:function(Ud){delete Od.using[Ud]},getFileId:function(Ud,jd,Ld,Bd){return Ud.name&&Ud.size&&Ud.lastModifiedDate&&jd?ud.md5([Ud.name,Ud.size,Ud.lastModifiedDate,jd,Ld,Bd].join("::")):null},getCopyFileId:function(Ud,jd,Ld,Bd,Gd){var qd=jd["content-length"],zd=jd.etag||"",Xd=jd["last-modified"];return Ud&&Ld?ud.md5([Ud,qd,zd,Xd,Ld,Bd,Gd].join("::")):null},getUploadIdList:function(Ud){if(!Ud)return null;Nd.call(this);for(var jd=[],Ld=0;Ld<fd.length;Ld++)fd[Ld][0]===Ud&&jd.push(fd[Ld][1]);return jd.length?jd:null},saveUploadId:function(Ud,jd,Ld){if(Nd.call(this),!!Ud){for(var Bd=fd.length-1;Bd>=0;Bd--){var Gd=fd[Bd];Gd[0]===Ud&&Gd[1]===jd&&fd.splice(Bd,1)}fd.unshift([Ud,jd,Math.round(Date.now()/1e3)]),fd.length>Ld&&fd.splice(Ld),Id()}},removeUploadId:function(Ud){Nd.call(this),delete Od.using[Ud];for(var jd=fd.length-1;jd>=0;jd--)fd[jd][1]===Ud&&fd.splice(jd,1);Id()}};nd.exports=Od},"./src/task.js":function(nd,od,ld){var ud=ld("./src/session.js"),dd=ld("./src/util.js"),pd={},fd=function(Ad,Nd){pd[Nd]=Ad[Nd],Ad[Nd]=function(Id,Od){Id.SkipTask?pd[Nd].call(this,Id,Od):this._addTask(Nd,Id,Od)}},md=function(Ad){var Nd=[],Id={},Od=0,Md=0,Ud=function(Xd){var gf={id:Xd.id,Bucket:Xd.Bucket,Region:Xd.Region,Key:Xd.Key,FilePath:Xd.FilePath,state:Xd.state,loaded:Xd.loaded,size:Xd.size,speed:Xd.speed,percent:Xd.percent,hashPercent:Xd.hashPercent,error:Xd.error};return Xd.FilePath&&(gf.FilePath=Xd.FilePath),Xd._custom&&(gf._custom=Xd._custom),gf},jd=function(){var zd,Xd=function(){zd=0,Ad.emit("task-list-update",{list:dd.map(Nd,Ud)}),Ad.emit("list-update",{list:dd.map(Nd,Ud)})};return function(){zd||(zd=setTimeout(Xd))}}(),Ld=function(){if(!(Nd.length<=Ad.options.UploadQueueSize)){for(var Xd=0;Xd<Md&&Xd<Nd.length&&Nd.length>Ad.options.UploadQueueSize;){var gf=Nd[Xd].state==="waiting"||Nd[Xd].state==="checking"||Nd[Xd].state==="uploading";!Nd[Xd]||!gf?(Id[Nd[Xd].id]&&delete Id[Nd[Xd].id],Nd.splice(Xd,1),Md--):Xd++}jd()}},Bd=function zd(){if(!(Od>=Ad.options.FileParallelLimit)){for(;Nd[Md]&&Nd[Md].state!=="waiting";)Md++;if(!(Md>=Nd.length)){var Xd=Nd[Md];Md++,Od++,Xd.state="checking",Xd.params.onTaskStart&&Xd.params.onTaskStart(Ud(Xd)),!Xd.params.UploadData&&(Xd.params.UploadData={});var gf=dd.formatParams(Xd.api,Xd.params);pd[Xd.api].call(Ad,gf,function(Yd,Zd){Ad._isRunningTask(Xd.id)&&((Xd.state==="checking"||Xd.state==="uploading")&&(Xd.state=Yd?"error":"success",Yd&&(Xd.error=Yd),Od--,jd(),zd(),Xd.callback&&Xd.callback(Yd,Zd),Xd.state==="success"&&(Xd.params&&(delete Xd.params.UploadData,delete Xd.params.Body,delete Xd.params),delete Xd.callback)),Ld())}),jd(),setTimeout(zd)}}},Gd=function(Xd,gf){var Yd=Id[Xd];if(Yd){var Zd=Yd&&Yd.state==="waiting",df=Yd&&(Yd.state==="checking"||Yd.state==="uploading");if(gf==="canceled"&&Yd.state!=="canceled"||gf==="paused"&&Zd||gf==="paused"&&df){Yd.state=gf,Ad.emit("inner-kill-task",{TaskId:Xd,toState:gf});try{var Ef=Yd&&Yd.params&&Yd.params.UploadData.UploadId}catch{}gf==="canceled"&&Ef&&ud.removeUsing(Ef),jd(),df&&(Od--,Bd()),gf==="canceled"&&(Yd.params&&(delete Yd.params.UploadData,delete Yd.params.Body,delete Yd.params),delete Yd.callback)}Ld()}};Ad._addTasks=function(zd){dd.each(zd,function(Xd){Ad._addTask(Xd.api,Xd.params,Xd.callback,!0)}),jd()};var qd=!0;Ad._addTask=function(zd,Xd,gf,Yd){Xd=dd.formatParams(zd,Xd);var Zd=dd.uuid();Xd.TaskId=Zd,Xd.onTaskReady&&Xd.onTaskReady(Zd),Xd.TaskReady&&(Xd.TaskReady(Zd),qd&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),qd=!1);var df={params:Xd,callback:gf,api:zd,index:Nd.length,id:Zd,Bucket:Xd.Bucket,Region:Xd.Region,Key:Xd.Key,FilePath:Xd.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:Xd._custom},Ef=Xd.onHashProgress;Xd.onHashProgress=function(xf){Ad._isRunningTask(df.id)&&(df.hashPercent=xf.percent,Ef&&Ef(xf),jd())};var _f=Xd.onProgress;return Xd.onProgress=function(xf){Ad._isRunningTask(df.id)&&(df.state==="checking"&&(df.state="uploading"),df.loaded=xf.loaded,df.speed=xf.speed,df.percent=xf.percent,_f&&_f(xf),jd())},dd.getFileSize(zd,Xd,function(xf,vf){if(xf)return gf(dd.error(xf));Id[Zd]=df,Nd.push(df),df.size=vf,!Yd&&jd(),Bd(),Ld()}),Zd},Ad._isRunningTask=function(zd){var Xd=Id[zd];return!!(Xd&&(Xd.state==="checking"||Xd.state==="uploading"))},Ad.getTaskList=function(){return dd.map(Nd,Ud)},Ad.cancelTask=function(zd){Gd(zd,"canceled")},Ad.pauseTask=function(zd){Gd(zd,"paused")},Ad.restartTask=function(zd){var Xd=Id[zd];Xd&&(Xd.state==="paused"||Xd.state==="error")&&(Xd.state="waiting",jd(),Md=Math.min(Md,Xd.index),Bd())},Ad.isUploadRunning=function(){return Od||Md<Nd.length}};nd.exports.transferToTaskMethod=fd,nd.exports.init=md},"./src/tracker.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/classCallCheck.js"),dd=ld("./node_modules/@babel/runtime/helpers/createClass.js"),pd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),fd=ld("./package.json"),md=null,vd=function(gf,Yd){if(!md){if(typeof gf!="function")throw new Error("Beacon not found");md=new gf({appkey:"0WEB05PY6MHRGK0U",versionCode:fd.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:Yd,sessionDuration:60*1e3})}return md},Ad=function(gf){return!gf||gf<0?0:(gf/1e3).toFixed(3)},Nd={getUid:function(){var gf=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return gf()+gf()+"-"+gf()+"-"+gf()+"-"+gf()+"-"+gf()+gf()+gf()},getNetType:function(){if((typeof navigator>"u"?"undefined":pd(navigator))==="object"){var gf=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(gf==null?void 0:gf.type)||(gf==null?void 0:gf.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":pd(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":pd(navigator))!=="object")return"unknown os";var gf=navigator.userAgent.toLowerCase(),Yd=/macintosh|mac os x/i.test(navigator.userAgent);return gf.indexOf("win32")>=0||gf.indexOf("wow32")>=0?"win32":gf.indexOf("win64")>=0||gf.indexOf("wow64")>=0?"win64":Yd?"mac":"unknown os"},isMobile:function(){var gf=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!!((typeof navigator>"u"?"undefined":pd(navigator))==="object"&&navigator.userAgent.match(gf))},isAndroid:function(){var gf=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":pd(navigator))==="object"&&navigator.userAgent.match(gf))},isIOS:function(){var gf=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":pd(navigator))==="object"&&navigator.userAgent.match(gf))},isOtherMobile:function(){return Id&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":pd(navigator))!=="object")return"unknown device";var gf=navigator.userAgent;return gf}},Id=Nd.isMobile(),Od=Nd.isAndroid()?"android":Nd.isIOS?"ios":"other_mobile",Md=Nd.getOsType(),Ud=Id?Od:Md,jd=Nd.getUA(),Ld=Nd.getProtocol(),Bd=function(gf){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(gf)?"UploadTask":gf==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(gf)?"CopyTask":gf};function Gd(Xd){return Xd.replace(/([A-Z])/g,"_$1").toLowerCase()}function qd(Xd){var gf={},Yd=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],Zd=[].concat(Yd,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),df=Xd.requestResult==="Success"?Yd:Zd;for(var Ef in Xd)if(df.includes(Ef)){var _f=Gd(Ef);gf[_f]=Xd[Ef]}return gf.request_name=Xd.realApi?Bd(Xd.realApi):Xd.requestName,gf}var zd=function(){function Xd(gf){ud(this,Xd);var Yd=gf.parent,Zd=gf.traceId,df=gf.bucket,Ef=gf.region,_f=gf.apiName,xf=gf.realApi,vf=gf.httpMethod,Af=gf.fileKey,Df=gf.fileSize,jf=gf.accelerate,Jf=gf.customId,eh=gf.delay,th=gf.deepTracker,Uf=gf.Beacon,Of=gf.clsReporter,Wf=df&&df.substr(df.lastIndexOf("-")+1)||"";this.parent=Yd,this.deepTracker=th,this.delay=eh,Of&&!this.clsReporter&&(this.clsReporter=Of),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:fd.version,osName:Ud,networkType:"",requestName:_f||"",requestResult:"",realApi:xf,bucket:df,region:Ef,accelerate:jf,httpMethod:vf,url:"",host:"",httpDomain:"",requestPath:Af||"",userAgent:jd,networkProtocol:Ld,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:Df||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:new Date().getTime(),endTime:0,traceId:Zd||Nd.getUid(),appid:Wf,partNumber:0,httpRetryTimes:0,customId:Jf||"",partTime:0},Uf&&(this.beacon=vd(Uf,eh))}return dd(Xd,[{key:"formatResult",value:function(Yd,Zd){var df,Ef,_f,xf,vf,Af,Df=new Date().getTime(),jf=Nd.getNetType(),Jf=Yd?(Yd==null?void 0:Yd.code)||(Yd==null||(df=Yd.error)===null||df===void 0?void 0:df.code)||(Yd==null||(Ef=Yd.error)===null||Ef===void 0?void 0:Ef.Code):"",eh=Yd?(Yd==null?void 0:Yd.message)||(Yd==null||(_f=Yd.error)===null||_f===void 0?void 0:_f.message)||(Yd==null||(xf=Yd.error)===null||xf===void 0?void 0:xf.Message):"",th=eh,Uf=Yd?(Yd==null?void 0:Yd.resource)||(Yd==null||(vf=Yd.error)===null||vf===void 0?void 0:vf.resource)||(Yd==null||(Af=Yd.error)===null||Af===void 0?void 0:Af.Resource):"",Of=Yd?Yd==null?void 0:Yd.statusCode:Zd.statusCode,Wf=Yd?(Yd==null?void 0:Yd.headers)&&(Yd==null?void 0:Yd.headers["x-cos-request-id"]):(Zd==null?void 0:Zd.headers)&&(Zd==null?void 0:Zd.headers["x-cos-request-id"]),qf=Yd?Wf?"Server":"Client":"";this.params.requestName==="getObject"&&(this.params.httpSize=Zd?Zd.headers&&Zd.headers["content-length"]:0);var zf=this.params.realApi==="sliceUploadFile",Tf=this.params.realApi==="sliceCopyFile";if(zf||Tf){var Sf=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:Sf<0?0:Sf.toFixed(3)})}else{var Yf=Df-this.params.startTime,ih=this.params.httpEndTime-this.params.httpStartTime,Th=this.params.httpSize/1024/(ih/1e3),sh=this.params.md5EndTime-this.params.md5StartTime,Nf=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",Ad(ih)),this.parent.addParamValue("httpFullTime",Ad(Yf)),this.parent.addParamValue("httpMd5",Ad(sh)),this.parent.addParamValue("httpSign",Ad(Nf)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",Ad(ih))),Object.assign(this.params,{httpFullTime:Ad(Yf),httpMd5:Ad(sh),httpSign:Ad(Nf),httpTookTime:Ad(ih),httpSpeed:Th<0?0:Th.toFixed(3)})}if(Object.assign(this.params,{networkType:jf,requestResult:Yd?"Failure":"Success",errorType:qf,errorCode:Jf,errorHttpCode:Of,errorName:th,errorMessage:eh,errorServiceName:Uf,errorRequestId:Wf}),Yd&&(!Jf||!eh)&&(this.params.fullError=Yd?JSON.stringify(Yd):""),this.params.url){try{var ph=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=ph[2]}catch{this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(Yd,Zd){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(Yd,Zd);var df=qd(this.params);this.beacon&&this.sendEventsToBeacon(df),this.clsReporter&&this.sendEventsToCLS(df)}}},{key:"setParams",value:function(Yd){Object.assign(this.params,Yd)}},{key:"addParamValue",value:function(Yd,Zd){this.params[Yd]=(+this.params[Yd]+ +Zd).toFixed(3)}},{key:"sendEventsToBeacon",value:function(Yd){var Zd=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(Zd&&!this.deepTracker)){var df="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(df,Yd):this.beacon&&this.beacon.onUserAction(df,Yd)}}},{key:"sendEventsToCLS",value:function(Yd){var Zd=this.delay===0;this.clsReporter.log(Yd,Zd)}},{key:"generateSubTracker",value:function(Yd){return Object.assign(Yd,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new Xd(Yd)}}]),Xd}();nd.exports=zd},"./src/util.js":function(nd,od,ld){(function(ud){var dd=ld("./node_modules/@babel/runtime/helpers/typeof.js");function pd(Lf,$f){var fh=typeof Symbol<"u"&&Lf[Symbol.iterator]||Lf["@@iterator"];if(!fh){if(Array.isArray(Lf)||(fh=fd(Lf))||$f){fh&&(Lf=fh);var Ch=0,Zh=function(){};return{s:Zh,n:function(){return Ch>=Lf.length?{done:!0}:{done:!1,value:Lf[Ch++]}},e:function(ug){throw ug},f:Zh}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dm=!0,Im=!1,Ym;return{s:function(){fh=fh.call(Lf)},n:function(){var ug=fh.next();return dm=ug.done,ug},e:function(ug){Im=!0,Ym=ug},f:function(){try{!dm&&fh.return!=null&&fh.return()}finally{if(Im)throw Ym}}}}function fd(Lf,$f){if(Lf){if(typeof Lf=="string")return md(Lf,$f);var fh=Object.prototype.toString.call(Lf).slice(8,-1);if(fh==="Object"&&Lf.constructor&&(fh=Lf.constructor.name),fh==="Map"||fh==="Set")return Array.from(Lf);if(fh==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(fh))return md(Lf,$f)}}function md(Lf,$f){($f==null||$f>Lf.length)&&($f=Lf.length);for(var fh=0,Ch=new Array($f);fh<$f;fh++)Ch[fh]=Lf[fh];return Ch}var vd=ld("./lib/md5.js"),Ad=ld("./lib/crypto.js"),Nd=ld("./node_modules/fast-xml-parser/src/fxp.js"),Id=Nd.XMLParser,Od=Nd.XMLBuilder,Md=new Id({ignoreDeclaration:!0,ignoreAttributes:!0,parseTagValue:!1}),Ud=new Od,jd=ld("./lib/base64.js"),Ld=ld("./src/tracker.js"),Bd=function($f){var fh=Md.parse($f);return fh},Gd=function($f){var fh=Ud.build($f);return fh};function qd(Lf){return encodeURIComponent(Lf).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function zd(Lf,$f){var fh=[];for(var Ch in Lf)Lf.hasOwnProperty(Ch)&&fh.push($f?qd(Ch).toLowerCase():Ch);return fh.sort(function(Zh,dm){return Zh=Zh.toLowerCase(),dm=dm.toLowerCase(),Zh===dm?0:Zh>dm?1:-1})}var Xd=function($f,fh){var Ch,Zh,dm,Im=[],Ym=zd($f);for(Ch=0;Ch<Ym.length;Ch++)Zh=Ym[Ch],dm=$f[Zh]===void 0||$f[Zh]===null?"":""+$f[Zh],Zh=fh?qd(Zh).toLowerCase():qd(Zh),dm=qd(dm)||"",Im.push(Zh+"="+dm);return Im.join("&")},gf=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding","pic-operations"],Yd=function($f){var fh={};for(var Ch in $f){var Zh=Ch.toLowerCase();(Zh.indexOf("x-cos-")>-1||gf.indexOf(Zh)>-1)&&(fh[Ch]=$f[Ch])}return fh},Zd=function($f){$f=$f||{};var fh=$f.SecretId,Ch=$f.SecretKey,Zh=$f.KeyTime,dm=($f.method||$f.Method||"get").toLowerCase(),Im=Of($f.Query||$f.params||{}),Ym=Yd(Of($f.Headers||$f.headers||{})),Fm=$f.Key||"",ug;$f.UseRawKey?ug=$f.Pathname||$f.pathname||"/"+Fm:(ug=$f.Pathname||$f.pathname||Fm,ug.indexOf("/")!==0&&(ug="/"+ug));var rg=$f.ForceSignHost!==!1;if(!Ym.Host&&!Ym.host&&$f.Bucket&&$f.Region&&rg&&(Ym.Host=$f.Bucket+".cos."+$f.Region+".myqcloud.com"),!fh)throw new Error("missing param SecretId");if(!Ch)throw new Error("missing param SecretKey");var Eg=Math.round(Kf($f.SystemClockOffset)/1e3)-1,kg=Eg,n_=$f.Expires||$f.expires;n_===void 0?kg+=900:kg+=n_*1||0;var Fg="sha1",Kg=fh,Ng=Zh||Eg+";"+kg,g_=Zh||Eg+";"+kg,Jg=zd(Ym,!0).join(";").toLowerCase(),C_=zd(Im,!0).join(";").toLowerCase(),N_=Ad.HmacSHA1(g_,Ch).toString(),a_=[dm,ug,gh.obj2str(Im,!0),gh.obj2str(Ym,!0),""].join(`
|
||
`),c_=["sha1",Ng,Ad.SHA1(a_).toString(),""].join(`
|
||
`),ng=Ad.HmacSHA1(c_,N_).toString(),ub=["q-sign-algorithm="+Fg,"q-ak="+Kg,"q-sign-time="+Ng,"q-key-time="+g_,"q-header-list="+Jg,"q-url-param-list="+C_,"q-signature="+ng].join("&");return ub},df=function($f,fh,Ch){var Zh=fh/8,dm=$f.slice(Ch,Ch+Zh);return new Uint8Array(dm).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[fh](dm)[0]},Ef=function($f,fh,Ch,Zh){var dm=$f.slice(fh,Ch),Im="";return new Uint8Array(dm).forEach(function(Ym){Im+=String.fromCharCode(Ym)}),Zh&&(Im=decodeURIComponent(escape(Im))),Im},_f=function($f){for(var fh={},Ch=Ef($f),Zh={records:[]};$f.byteLength;){var dm=df($f,32,0),Im=df($f,32,4),Ym=dm-Im-16,Fm=0,ug;for($f=$f.slice(12);Fm<Im;){var rg=df($f,8,Fm),Eg=Ef($f,Fm+1,Fm+1+rg),kg=df($f,16,Fm+rg+2),n_=Ef($f,Fm+rg+4,Fm+rg+4+kg);fh[Eg]=n_,Fm+=rg+4+kg}if(fh[":event-type"]==="Records")ug=Ef($f,Fm,Fm+Ym,!0),Zh.records.push(ug);else if(fh[":event-type"]==="Stats")ug=Ef($f,Fm,Fm+Ym,!0),Zh.stats=gh.xml2json(ug).Stats;else if(fh[":event-type"]==="error"){var Fg=fh[":error-code"],Kg=fh[":error-message"],Ng=new Error(Kg);Ng.message=Kg,Ng.name=Ng.code=Fg,Zh.error=Ng}$f=$f.slice(Fm+Ym+4)}return{payload:Zh.records.join(""),body:Ch}},xf=function($f){var fh=this.options.CopySourceParser;if(fh)return fh($f);var Ch=$f.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return Ch?{Bucket:Ch[1],Region:Ch[3],Key:Ch[7]}:null},vf=function(){},Af=function($f){var fh={};for(var Ch in $f)$f.hasOwnProperty(Ch)&&$f[Ch]!==void 0&&$f[Ch]!==null&&(fh[Ch]=$f[Ch]);return fh},Df=function($f,fh){var Ch,Zh=new FileReader;FileReader.prototype.readAsBinaryString?(Ch=FileReader.prototype.readAsBinaryString,Zh.onload=function(){fh(this.result)}):FileReader.prototype.readAsArrayBuffer?Ch=function(Im){var Ym="",Fm=new FileReader;Fm.onload=function(ug){for(var rg=new Uint8Array(Fm.result),Eg=rg.byteLength,kg=0;kg<Eg;kg++)Ym+=String.fromCharCode(rg[kg]);fh(Ym)},Fm.readAsArrayBuffer(Im)}:console.error("FileReader not support readAsBinaryString"),Ch.call(Zh,$f)},jf=function(){var Lf=function(Ch,Zh){Ch=Ch.split("."),Zh=Zh.split(".");for(var dm=0;dm<Zh.length;dm++)if(Ch[dm]!==Zh[dm])return parseInt(Ch[dm])>parseInt(Zh[dm])?1:-1;return 0},$f=function(Ch){if(!Ch)return!1;var Zh=(Ch.match(/Chrome\/([.\d]+)/)||[])[1],dm=(Ch.match(/QBCore\/([.\d]+)/)||[])[1],Im=(Ch.match(/QQBrowser\/([.\d]+)/)||[])[1],Ym=Zh&&Lf(Zh,"53.0.2785.116")<0&&dm&&Lf(dm,"3.53.991.400")<0&&Im&&Lf(Im,"9.0.2524.400")<=0||!1;return Ym};return $f(typeof navigator<"u"&&navigator.userAgent)}(),Jf=function($f,fh,Ch,Zh,dm){var Im;if($f.slice?Im=$f.slice(fh,Ch):$f.mozSlice?Im=$f.mozSlice(fh,Ch):$f.webkitSlice&&(Im=$f.webkitSlice(fh,Ch)),Zh&&jf){var Ym=new FileReader;Ym.onload=function(Fm){Im=null,dm(new Blob([Ym.result]))},Ym.readAsArrayBuffer(Im)}else dm(Im)},eh=function($f,fh,Ch,Zh){Ch=Ch||vf,$f?typeof fh=="string"?Ch(gh.md5(fh,!0)):Blob&&fh instanceof Blob?gh.getFileMd5(fh,function(dm,Im){Ch(Im)},Zh):Ch():Ch()},th=1024*1024,Uf=function($f,fh,Ch){var Zh=$f.size,dm=0,Im=vd.getCtx(),Ym=function Fm(ug){if(ug>=Zh){var rg=Im.digest("hex");fh(null,rg);return}var Eg=Math.min(Zh,ug+th);gh.fileSlice($f,ug,Eg,!1,function(kg){Df(kg,function(n_){kg=null,Im=Im.update(n_,!0),dm+=n_.length,n_=null,Ch&&Ch({loaded:dm,total:Zh,percent:Math.round(dm/Zh*1e4)/1e4}),Fm(ug+th)})})};Ym(0)};function Of(Lf){return ih(Lf,function($f){return dd($f)==="object"&&$f!==null?Of($f):$f})}function Wf(Lf,$f,fh){return Lf&&$f in Lf?Lf[$f]:fh}function qf(Lf,$f){return Yf($f,function(fh,Ch){Lf[Ch]=$f[Ch]}),Lf}function zf(Lf){return Lf instanceof Array}function Tf(Lf,$f){for(var fh=!1,Ch=0;Ch<Lf.length;Ch++)if($f===Lf[Ch]){fh=!0;break}return fh}function Sf(Lf){return zf(Lf)?Lf:[Lf]}function Yf(Lf,$f){for(var fh in Lf)Lf.hasOwnProperty(fh)&&$f(Lf[fh],fh)}function ih(Lf,$f){var fh=zf(Lf)?[]:{};for(var Ch in Lf)Lf.hasOwnProperty(Ch)&&(fh[Ch]=$f(Lf[Ch],Ch));return fh}function Th(Lf,$f){var fh=zf(Lf),Ch=fh?[]:{};for(var Zh in Lf)Lf.hasOwnProperty(Zh)&&$f(Lf[Zh],Zh)&&(fh?Ch.push(Lf[Zh]):Ch[Zh]=Lf[Zh]);return Ch}var sh=function($f){var fh,Ch,Zh,dm="";for(fh=0,Ch=$f.length/2;fh<Ch;fh++)Zh=parseInt($f[fh*2]+$f[fh*2+1],16),dm+=String.fromCharCode(Zh);return btoa(dm)},Nf=function(){var $f=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return $f()+$f()+"-"+$f()+"-"+$f()+"-"+$f()+"-"+$f()+$f()+$f()},ph=function($f,fh){var Ch=fh.Bucket,Zh=fh.Region,dm=fh.Key,Im=this.options.Domain,Ym=!Im||typeof Im=="string"&&Im.indexOf("{Bucket}")>-1,Fm=!Im||typeof Im=="string"&&Im.indexOf("{Region}")>-1;if($f.indexOf("Bucket")>-1||$f==="deleteMultipleObject"||$f==="multipartList"||$f==="listObjectVersions"){if(Ym&&!Ch)return"Bucket";if(Fm&&!Zh)return"Region"}else if($f.indexOf("Object")>-1||$f.indexOf("multipart")>-1||$f==="sliceUploadFile"||$f==="abortUploadTask"||$f==="uploadFile"){if(Ym&&!Ch)return"Bucket";if(Fm&&!Zh)return"Region";if(!dm)return"Key"}return!1},Oh=function($f,fh){if(fh=qf({},fh),$f!=="getAuth"&&$f!=="getV4Auth"&&$f!=="getObjectUrl"){var Ch=fh.Headers||{};if(fh&&dd(fh)==="object"){(function(){for(var dm in fh)fh.hasOwnProperty(dm)&&dm.indexOf("x-cos-")>-1&&(Ch[dm]=fh[dm])})();var Zh={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations","x-cos-callback":"Callback","x-cos-callback-var":"CallbackVar","x-cos-return-body":"ReturnBody"};gh.each(Zh,function(dm,Im){fh[dm]!==void 0&&(Ch[Im]=fh[dm])}),fh.Headers=Af(Ch)}}return fh},Zf=function($f,fh){return function(Ch,Zh){var dm=this;typeof Ch=="function"&&(Zh=Ch,Ch={}),Ch=Oh($f,Ch);var Im;if(dm.options.EnableReporter)if(Ch.calledBySdk==="sliceUploadFile"||Ch.calledBySdk==="sliceCopyFile")Im=Ch.tracker&&Ch.tracker.generateSubTracker({apiName:$f});else if(["uploadFile","uploadFiles"].includes($f))Im=null;else{var Ym=0;Ch.Body&&(Ym=typeof Ch.Body=="string"?Ch.Body.length:Ch.Body.size||Ch.Body.byteLength||0);var Fm=dm.options.UseAccelerate||typeof dm.options.Domain=="string"&&dm.options.Domain.includes("accelerate.");Im=new Ld({Beacon:dm.options.BeaconReporter,clsReporter:dm.options.ClsReporter,bucket:Ch.Bucket,region:Ch.Region,apiName:$f,realApi:$f,accelerate:Fm,fileKey:Ch.Key,fileSize:Ym,deepTracker:dm.options.DeepTracker,customId:dm.options.CustomId,delay:dm.options.TrackerDelay})}Ch.tracker=Im;var ug=function(Ng){return Ng&&Ng.headers&&(Ng.headers["x-cos-request-id"]&&(Ng.RequestId=Ng.headers["x-cos-request-id"]),Ng.headers["x-ci-request-id"]&&(Ng.RequestId=Ng.headers["x-ci-request-id"]),Ng.headers["x-cos-version-id"]&&(Ng.VersionId=Ng.headers["x-cos-version-id"]),Ng.headers["x-cos-delete-marker"]&&(Ng.DeleteMarker=Ng.headers["x-cos-delete-marker"])),Ng},rg=function(Ng,g_){Im&&Im.report(Ng,g_),Zh&&Zh(ug(Ng),ug(g_))},Eg=function(){if($f!=="getService"&&$f!=="abortUploadTask"){var Ng=ph.call(dm,$f,Ch);if(Ng)return"missing param "+Ng;if(Ch.Region){if(dm.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(Ch.Region))return"Region format error."}else{if(Ch.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(Ch.Region))return"Region format error."}!dm.options.CompatibilityMode&&Ch.Region.indexOf("-")===-1&&Ch.Region!=="yfb"&&Ch.Region!=="default"&&Ch.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(Ch.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(Ch.Bucket))if(Ch.AppId)Ch.Bucket=Ch.Bucket+"-"+Ch.AppId;else if(dm.options.AppId)Ch.Bucket=Ch.Bucket+"-"+dm.options.AppId;else return'Bucket should format as "test-1250000000".';Ch.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete Ch.AppId)}!dm.options.UseRawKey&&Ch.Key&&Ch.Key.substr(0,1)==="/"&&(Ch.Key=Ch.Key.substr(1))}},kg=Eg(),n_=["getAuth","getObjectUrl"].includes($f);if(typeof Promise=="function"&&!n_&&!Zh)return new Promise(function(Kg,Ng){if(Zh=function(Jg,C_){Jg?Ng(Jg):Kg(C_)},kg)return rg(gh.error(new Error(kg)));fh.call(dm,Ch,rg)});if(kg)return rg(gh.error(new Error(kg)));var Fg=fh.call(dm,Ch,rg);if(n_)return Fg}},Rf=function($f,fh){var Ch=this,Zh=0,dm=0,Im=Date.now(),Ym,Fm;function ug(){if(Fm=0,fh&&typeof fh=="function"){Ym=Date.now();var rg=Math.max(0,Math.round((dm-Zh)/((Ym-Im)/1e3)*100)/100)||0,Eg;dm===0&&$f===0?Eg=1:Eg=Math.floor(dm/$f*100)/100||0,Im=Ym,Zh=dm;try{fh({loaded:dm,total:$f,speed:rg,percent:Eg})}catch{}}}return function(rg,Eg){if(rg&&(dm=rg.loaded,$f=rg.total),Eg)clearTimeout(Fm),ug();else{if(Fm)return;Fm=setTimeout(ug,Ch.options.ProgressInterval)}}},Bf=function($f,fh,Ch){var Zh;if(typeof fh.Body=="string"?fh.Body=new Blob([fh.Body],{type:"text/plain"}):fh.Body instanceof ArrayBuffer&&(fh.Body=new Blob([fh.Body])),fh.Body&&(fh.Body instanceof Blob||fh.Body.toString()==="[object File]"||fh.Body.toString()==="[object Blob]"))Zh=fh.Body.size;else{Ch(gh.error(new Error("params body format error, Only allow File|Blob|String.")));return}fh.ContentLength=Zh,Ch(null,Zh)},Kf=function($f){return Date.now()+($f||0)},wh=function($f,fh){var Ch=$f;return $f.message=$f.message||null,typeof fh=="string"?($f.error=fh,$f.message=fh):dd(fh)==="object"&&fh!==null&&(qf($f,fh),(fh.code||fh.name)&&($f.code=fh.code||fh.name),fh.message&&($f.message=fh.message),fh.stack&&($f.stack=fh.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty($f,"name",{writable:!0,enumerable:!1}),Object.defineProperty($f,"message",{enumerable:!0})),$f.name=fh&&fh.name||$f.name||$f.code||"Error",$f.code||($f.code=$f.name),$f.error||($f.error=Of(Ch)),$f},Ah=function(){return(typeof globalThis>"u"?"undefined":dd(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},mh=function(){return(typeof window>"u"?"undefined":dd(window))!=="object"&&(typeof ud>"u"?"undefined":dd(ud))==="object"&&!0&&!Ah()},im=function($f){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test($f)},Bh=function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return!1;var Lf=navigator.userAgent,$f=!!Lf.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return $f}(),Tm=function(){return(typeof navigator>"u"?"undefined":dd(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),Pm=function($f,fh){var Ch=jd.encode($f);return fh&&(Ch=Ch.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),Ch},gm=function($f){return $f?jd.decode($f):""},Mm=function($f){var fh=$f.split("/"),Ch=[],Zh=pd(fh),dm;try{for(Zh.s();!(dm=Zh.n()).done;){var Im=dm.value;Im===".."?Ch.length&&Ch.pop():Im.length&&Im!=="."&&Ch.push(Im)}}catch(Ym){Zh.e(Ym)}finally{Zh.f()}return"/"+Ch.join("/")},Hm=function($f){var fh;if($f&&typeof $f=="string"){var Ch=$f.trim(),Zh=Ch.indexOf("<")===0,dm=Ch.indexOf("{")===0;if(Zh)fh=gh.xml2json($f)||{};else if(dm)try{var Im=$f.replace(/\n/g," "),Ym=JSON.parse(Im);Object.prototype.toString.call(Ym)==="[object Object]"?fh=Ym:fh=$f}catch{fh=$f}else fh=$f}else fh=$f||{};return fh},gh={noop:vf,formatParams:Oh,apiWrapper:Zf,xml2json:Bd,json2xml:Gd,md5:vd,clearKey:Af,fileSlice:Jf,getBodyMd5:eh,getFileMd5:Uf,b64:sh,extend:qf,isArray:zf,isInArray:Tf,makeArray:Sf,each:Yf,map:ih,filter:Th,clone:Of,attr:Wf,uuid:Nf,camSafeUrlEncode:qd,throttleOnProgress:Rf,getFileSize:Bf,getSkewTime:Kf,error:wh,obj2str:Xd,getAuth:Zd,parseSelectPayload:_f,getSourceParams:xf,isBrowser:!0,isNode:mh,isCIHost:im,isIOS_QQ:Bh&&Tm,encodeBase64:Pm,decodeBase64:gm,simplifyPath:Mm,readAsBinaryString:Df,parseResBody:Hm};nd.exports=gh}).call(this,ld("./node_modules/process/browser.js"))}})})})(cosJsSdkV5);var cosJsSdkV5Exports=cosJsSdkV5.exports;const COS=getDefaultExportFromCjs(cosJsSdkV5Exports);var cryptoJs={exports:{}};function commonjsRequire(Ra){throw new Error('Could not dynamically require "'+Ra+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core={exports:{}};const __viteBrowserExternal={},http=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(http);var hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=nd||function(od,ld){var ud;if(typeof window<"u"&&window.crypto&&(ud=window.crypto),typeof self<"u"&&self.crypto&&(ud=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(ud=globalThis.crypto),!ud&&typeof window<"u"&&window.msCrypto&&(ud=window.msCrypto),!ud&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(ud=commonjsGlobal.crypto),!ud&&typeof commonjsRequire=="function")try{ud=require$$0$1}catch{}var dd=function(){if(ud){if(typeof ud.getRandomValues=="function")try{return ud.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof ud.randomBytes=="function")try{return ud.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},pd=Object.create||function(){function Ld(){}return function(Bd){var Gd;return Ld.prototype=Bd,Gd=new Ld,Ld.prototype=null,Gd}}(),fd={},md=fd.lib={},vd=md.Base=function(){return{extend:function(Ld){var Bd=pd(this);return Ld&&Bd.mixIn(Ld),(!Bd.hasOwnProperty("init")||this.init===Bd.init)&&(Bd.init=function(){Bd.$super.init.apply(this,arguments)}),Bd.init.prototype=Bd,Bd.$super=this,Bd},create:function(){var Ld=this.extend();return Ld.init.apply(Ld,arguments),Ld},init:function(){},mixIn:function(Ld){for(var Bd in Ld)Ld.hasOwnProperty(Bd)&&(this[Bd]=Ld[Bd]);Ld.hasOwnProperty("toString")&&(this.toString=Ld.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),Ad=md.WordArray=vd.extend({init:function(Ld,Bd){Ld=this.words=Ld||[],Bd!=ld?this.sigBytes=Bd:this.sigBytes=Ld.length*4},toString:function(Ld){return(Ld||Id).stringify(this)},concat:function(Ld){var Bd=this.words,Gd=Ld.words,qd=this.sigBytes,zd=Ld.sigBytes;if(this.clamp(),qd%4)for(var Xd=0;Xd<zd;Xd++){var gf=Gd[Xd>>>2]>>>24-Xd%4*8&255;Bd[qd+Xd>>>2]|=gf<<24-(qd+Xd)%4*8}else for(var Yd=0;Yd<zd;Yd+=4)Bd[qd+Yd>>>2]=Gd[Yd>>>2];return this.sigBytes+=zd,this},clamp:function(){var Ld=this.words,Bd=this.sigBytes;Ld[Bd>>>2]&=4294967295<<32-Bd%4*8,Ld.length=od.ceil(Bd/4)},clone:function(){var Ld=vd.clone.call(this);return Ld.words=this.words.slice(0),Ld},random:function(Ld){for(var Bd=[],Gd=0;Gd<Ld;Gd+=4)Bd.push(dd());return new Ad.init(Bd,Ld)}}),Nd=fd.enc={},Id=Nd.Hex={stringify:function(Ld){for(var Bd=Ld.words,Gd=Ld.sigBytes,qd=[],zd=0;zd<Gd;zd++){var Xd=Bd[zd>>>2]>>>24-zd%4*8&255;qd.push((Xd>>>4).toString(16)),qd.push((Xd&15).toString(16))}return qd.join("")},parse:function(Ld){for(var Bd=Ld.length,Gd=[],qd=0;qd<Bd;qd+=2)Gd[qd>>>3]|=parseInt(Ld.substr(qd,2),16)<<24-qd%8*4;return new Ad.init(Gd,Bd/2)}},Od=Nd.Latin1={stringify:function(Ld){for(var Bd=Ld.words,Gd=Ld.sigBytes,qd=[],zd=0;zd<Gd;zd++){var Xd=Bd[zd>>>2]>>>24-zd%4*8&255;qd.push(String.fromCharCode(Xd))}return qd.join("")},parse:function(Ld){for(var Bd=Ld.length,Gd=[],qd=0;qd<Bd;qd++)Gd[qd>>>2]|=(Ld.charCodeAt(qd)&255)<<24-qd%4*8;return new Ad.init(Gd,Bd)}},Md=Nd.Utf8={stringify:function(Ld){try{return decodeURIComponent(escape(Od.stringify(Ld)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Ld){return Od.parse(unescape(encodeURIComponent(Ld)))}},Ud=md.BufferedBlockAlgorithm=vd.extend({reset:function(){this._data=new Ad.init,this._nDataBytes=0},_append:function(Ld){typeof Ld=="string"&&(Ld=Md.parse(Ld)),this._data.concat(Ld),this._nDataBytes+=Ld.sigBytes},_process:function(Ld){var Bd,Gd=this._data,qd=Gd.words,zd=Gd.sigBytes,Xd=this.blockSize,gf=Xd*4,Yd=zd/gf;Ld?Yd=od.ceil(Yd):Yd=od.max((Yd|0)-this._minBufferSize,0);var Zd=Yd*Xd,df=od.min(Zd*4,zd);if(Zd){for(var Ef=0;Ef<Zd;Ef+=Xd)this._doProcessBlock(qd,Ef);Bd=qd.splice(0,Zd),Gd.sigBytes-=df}return new Ad.init(Bd,df)},clone:function(){var Ld=vd.clone.call(this);return Ld._data=this._data.clone(),Ld},_minBufferSize:0});md.Hasher=Ud.extend({cfg:vd.extend(),init:function(Ld){this.cfg=this.cfg.extend(Ld),this.reset()},reset:function(){Ud.reset.call(this),this._doReset()},update:function(Ld){return this._append(Ld),this._process(),this},finalize:function(Ld){Ld&&this._append(Ld);var Bd=this._doFinalize();return Bd},blockSize:16,_createHelper:function(Ld){return function(Bd,Gd){return new Ld.init(Gd).finalize(Bd)}},_createHmacHelper:function(Ld){return function(Bd,Gd){return new jd.HMAC.init(Ld,Gd).finalize(Bd)}}});var jd=fd.algo={};return fd}(Math);return nd})}(core)),core.exports}var x64Core={exports:{}},hasRequiredX64Core;function requireX64Core(){return hasRequiredX64Core||(hasRequiredX64Core=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.Base,pd=ud.WordArray,fd=ld.x64={};fd.Word=dd.extend({init:function(md,vd){this.high=md,this.low=vd}}),fd.WordArray=dd.extend({init:function(md,vd){md=this.words=md||[],vd!=od?this.sigBytes=vd:this.sigBytes=md.length*8},toX32:function(){for(var md=this.words,vd=md.length,Ad=[],Nd=0;Nd<vd;Nd++){var Id=md[Nd];Ad.push(Id.high),Ad.push(Id.low)}return pd.create(Ad,this.sigBytes)},clone:function(){for(var md=dd.clone.call(this),vd=md.words=this.words.slice(0),Ad=vd.length,Nd=0;Nd<Ad;Nd++)vd[Nd]=vd[Nd].clone();return md}})}(),nd})}(x64Core)),x64Core.exports}var libTypedarrays={exports:{}},hasRequiredLibTypedarrays;function requireLibTypedarrays(){return hasRequiredLibTypedarrays||(hasRequiredLibTypedarrays=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){if(typeof ArrayBuffer=="function"){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ud.init,pd=ud.init=function(fd){if(fd instanceof ArrayBuffer&&(fd=new Uint8Array(fd)),(fd instanceof Int8Array||typeof Uint8ClampedArray<"u"&&fd instanceof Uint8ClampedArray||fd instanceof Int16Array||fd instanceof Uint16Array||fd instanceof Int32Array||fd instanceof Uint32Array||fd instanceof Float32Array||fd instanceof Float64Array)&&(fd=new Uint8Array(fd.buffer,fd.byteOffset,fd.byteLength)),fd instanceof Uint8Array){for(var md=fd.byteLength,vd=[],Ad=0;Ad<md;Ad++)vd[Ad>>>2]|=fd[Ad]<<24-Ad%4*8;dd.call(this,vd,md)}else dd.apply(this,arguments)};pd.prototype=ud}}(),nd.lib.WordArray})}(libTypedarrays)),libTypedarrays.exports}var encUtf16={exports:{}},hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.enc;dd.Utf16=dd.Utf16BE={stringify:function(fd){for(var md=fd.words,vd=fd.sigBytes,Ad=[],Nd=0;Nd<vd;Nd+=2){var Id=md[Nd>>>2]>>>16-Nd%4*8&65535;Ad.push(String.fromCharCode(Id))}return Ad.join("")},parse:function(fd){for(var md=fd.length,vd=[],Ad=0;Ad<md;Ad++)vd[Ad>>>1]|=fd.charCodeAt(Ad)<<16-Ad%2*16;return ud.create(vd,md*2)}},dd.Utf16LE={stringify:function(fd){for(var md=fd.words,vd=fd.sigBytes,Ad=[],Nd=0;Nd<vd;Nd+=2){var Id=pd(md[Nd>>>2]>>>16-Nd%4*8&65535);Ad.push(String.fromCharCode(Id))}return Ad.join("")},parse:function(fd){for(var md=fd.length,vd=[],Ad=0;Ad<md;Ad++)vd[Ad>>>1]|=pd(fd.charCodeAt(Ad)<<16-Ad%2*16);return ud.create(vd,md*2)}};function pd(fd){return fd<<8&4278255360|fd>>>8&16711935}}(),nd.enc.Utf16})}(encUtf16)),encUtf16.exports}var encBase64={exports:{}},hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.enc;dd.Base64={stringify:function(fd){var md=fd.words,vd=fd.sigBytes,Ad=this._map;fd.clamp();for(var Nd=[],Id=0;Id<vd;Id+=3)for(var Od=md[Id>>>2]>>>24-Id%4*8&255,Md=md[Id+1>>>2]>>>24-(Id+1)%4*8&255,Ud=md[Id+2>>>2]>>>24-(Id+2)%4*8&255,jd=Od<<16|Md<<8|Ud,Ld=0;Ld<4&&Id+Ld*.75<vd;Ld++)Nd.push(Ad.charAt(jd>>>6*(3-Ld)&63));var Bd=Ad.charAt(64);if(Bd)for(;Nd.length%4;)Nd.push(Bd);return Nd.join("")},parse:function(fd){var md=fd.length,vd=this._map,Ad=this._reverseMap;if(!Ad){Ad=this._reverseMap=[];for(var Nd=0;Nd<vd.length;Nd++)Ad[vd.charCodeAt(Nd)]=Nd}var Id=vd.charAt(64);if(Id){var Od=fd.indexOf(Id);Od!==-1&&(md=Od)}return pd(fd,md,Ad)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function pd(fd,md,vd){for(var Ad=[],Nd=0,Id=0;Id<md;Id++)if(Id%4){var Od=vd[fd.charCodeAt(Id-1)]<<Id%4*2,Md=vd[fd.charCodeAt(Id)]>>>6-Id%4*2,Ud=Od|Md;Ad[Nd>>>2]|=Ud<<24-Nd%4*8,Nd++}return ud.create(Ad,Nd)}}(),nd.enc.Base64})}(encBase64)),encBase64.exports}var encBase64url={exports:{}},hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.enc;dd.Base64url={stringify:function(fd,md){md===void 0&&(md=!0);var vd=fd.words,Ad=fd.sigBytes,Nd=md?this._safe_map:this._map;fd.clamp();for(var Id=[],Od=0;Od<Ad;Od+=3)for(var Md=vd[Od>>>2]>>>24-Od%4*8&255,Ud=vd[Od+1>>>2]>>>24-(Od+1)%4*8&255,jd=vd[Od+2>>>2]>>>24-(Od+2)%4*8&255,Ld=Md<<16|Ud<<8|jd,Bd=0;Bd<4&&Od+Bd*.75<Ad;Bd++)Id.push(Nd.charAt(Ld>>>6*(3-Bd)&63));var Gd=Nd.charAt(64);if(Gd)for(;Id.length%4;)Id.push(Gd);return Id.join("")},parse:function(fd,md){md===void 0&&(md=!0);var vd=fd.length,Ad=md?this._safe_map:this._map,Nd=this._reverseMap;if(!Nd){Nd=this._reverseMap=[];for(var Id=0;Id<Ad.length;Id++)Nd[Ad.charCodeAt(Id)]=Id}var Od=Ad.charAt(64);if(Od){var Md=fd.indexOf(Od);Md!==-1&&(vd=Md)}return pd(fd,vd,Nd)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function pd(fd,md,vd){for(var Ad=[],Nd=0,Id=0;Id<md;Id++)if(Id%4){var Od=vd[fd.charCodeAt(Id-1)]<<Id%4*2,Md=vd[fd.charCodeAt(Id)]>>>6-Id%4*2,Ud=Od|Md;Ad[Nd>>>2]|=Ud<<24-Nd%4*8,Nd++}return ud.create(Ad,Nd)}}(),nd.enc.Base64url})}(encBase64url)),encBase64url.exports}var md5$1={exports:{}},hasRequiredMd5$1;function requireMd5$1(){return hasRequiredMd5$1||(hasRequiredMd5$1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.algo,md=[];(function(){for(var Md=0;Md<64;Md++)md[Md]=od.abs(od.sin(Md+1))*4294967296|0})();var vd=fd.MD5=pd.extend({_doReset:function(){this._hash=new dd.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(Md,Ud){for(var jd=0;jd<16;jd++){var Ld=Ud+jd,Bd=Md[Ld];Md[Ld]=(Bd<<8|Bd>>>24)&16711935|(Bd<<24|Bd>>>8)&4278255360}var Gd=this._hash.words,qd=Md[Ud+0],zd=Md[Ud+1],Xd=Md[Ud+2],gf=Md[Ud+3],Yd=Md[Ud+4],Zd=Md[Ud+5],df=Md[Ud+6],Ef=Md[Ud+7],_f=Md[Ud+8],xf=Md[Ud+9],vf=Md[Ud+10],Af=Md[Ud+11],Df=Md[Ud+12],jf=Md[Ud+13],Jf=Md[Ud+14],eh=Md[Ud+15],th=Gd[0],Uf=Gd[1],Of=Gd[2],Wf=Gd[3];th=Ad(th,Uf,Of,Wf,qd,7,md[0]),Wf=Ad(Wf,th,Uf,Of,zd,12,md[1]),Of=Ad(Of,Wf,th,Uf,Xd,17,md[2]),Uf=Ad(Uf,Of,Wf,th,gf,22,md[3]),th=Ad(th,Uf,Of,Wf,Yd,7,md[4]),Wf=Ad(Wf,th,Uf,Of,Zd,12,md[5]),Of=Ad(Of,Wf,th,Uf,df,17,md[6]),Uf=Ad(Uf,Of,Wf,th,Ef,22,md[7]),th=Ad(th,Uf,Of,Wf,_f,7,md[8]),Wf=Ad(Wf,th,Uf,Of,xf,12,md[9]),Of=Ad(Of,Wf,th,Uf,vf,17,md[10]),Uf=Ad(Uf,Of,Wf,th,Af,22,md[11]),th=Ad(th,Uf,Of,Wf,Df,7,md[12]),Wf=Ad(Wf,th,Uf,Of,jf,12,md[13]),Of=Ad(Of,Wf,th,Uf,Jf,17,md[14]),Uf=Ad(Uf,Of,Wf,th,eh,22,md[15]),th=Nd(th,Uf,Of,Wf,zd,5,md[16]),Wf=Nd(Wf,th,Uf,Of,df,9,md[17]),Of=Nd(Of,Wf,th,Uf,Af,14,md[18]),Uf=Nd(Uf,Of,Wf,th,qd,20,md[19]),th=Nd(th,Uf,Of,Wf,Zd,5,md[20]),Wf=Nd(Wf,th,Uf,Of,vf,9,md[21]),Of=Nd(Of,Wf,th,Uf,eh,14,md[22]),Uf=Nd(Uf,Of,Wf,th,Yd,20,md[23]),th=Nd(th,Uf,Of,Wf,xf,5,md[24]),Wf=Nd(Wf,th,Uf,Of,Jf,9,md[25]),Of=Nd(Of,Wf,th,Uf,gf,14,md[26]),Uf=Nd(Uf,Of,Wf,th,_f,20,md[27]),th=Nd(th,Uf,Of,Wf,jf,5,md[28]),Wf=Nd(Wf,th,Uf,Of,Xd,9,md[29]),Of=Nd(Of,Wf,th,Uf,Ef,14,md[30]),Uf=Nd(Uf,Of,Wf,th,Df,20,md[31]),th=Id(th,Uf,Of,Wf,Zd,4,md[32]),Wf=Id(Wf,th,Uf,Of,_f,11,md[33]),Of=Id(Of,Wf,th,Uf,Af,16,md[34]),Uf=Id(Uf,Of,Wf,th,Jf,23,md[35]),th=Id(th,Uf,Of,Wf,zd,4,md[36]),Wf=Id(Wf,th,Uf,Of,Yd,11,md[37]),Of=Id(Of,Wf,th,Uf,Ef,16,md[38]),Uf=Id(Uf,Of,Wf,th,vf,23,md[39]),th=Id(th,Uf,Of,Wf,jf,4,md[40]),Wf=Id(Wf,th,Uf,Of,qd,11,md[41]),Of=Id(Of,Wf,th,Uf,gf,16,md[42]),Uf=Id(Uf,Of,Wf,th,df,23,md[43]),th=Id(th,Uf,Of,Wf,xf,4,md[44]),Wf=Id(Wf,th,Uf,Of,Df,11,md[45]),Of=Id(Of,Wf,th,Uf,eh,16,md[46]),Uf=Id(Uf,Of,Wf,th,Xd,23,md[47]),th=Od(th,Uf,Of,Wf,qd,6,md[48]),Wf=Od(Wf,th,Uf,Of,Ef,10,md[49]),Of=Od(Of,Wf,th,Uf,Jf,15,md[50]),Uf=Od(Uf,Of,Wf,th,Zd,21,md[51]),th=Od(th,Uf,Of,Wf,Df,6,md[52]),Wf=Od(Wf,th,Uf,Of,gf,10,md[53]),Of=Od(Of,Wf,th,Uf,vf,15,md[54]),Uf=Od(Uf,Of,Wf,th,zd,21,md[55]),th=Od(th,Uf,Of,Wf,_f,6,md[56]),Wf=Od(Wf,th,Uf,Of,eh,10,md[57]),Of=Od(Of,Wf,th,Uf,df,15,md[58]),Uf=Od(Uf,Of,Wf,th,jf,21,md[59]),th=Od(th,Uf,Of,Wf,Yd,6,md[60]),Wf=Od(Wf,th,Uf,Of,Af,10,md[61]),Of=Od(Of,Wf,th,Uf,Xd,15,md[62]),Uf=Od(Uf,Of,Wf,th,xf,21,md[63]),Gd[0]=Gd[0]+th|0,Gd[1]=Gd[1]+Uf|0,Gd[2]=Gd[2]+Of|0,Gd[3]=Gd[3]+Wf|0},_doFinalize:function(){var Md=this._data,Ud=Md.words,jd=this._nDataBytes*8,Ld=Md.sigBytes*8;Ud[Ld>>>5]|=128<<24-Ld%32;var Bd=od.floor(jd/4294967296),Gd=jd;Ud[(Ld+64>>>9<<4)+15]=(Bd<<8|Bd>>>24)&16711935|(Bd<<24|Bd>>>8)&4278255360,Ud[(Ld+64>>>9<<4)+14]=(Gd<<8|Gd>>>24)&16711935|(Gd<<24|Gd>>>8)&4278255360,Md.sigBytes=(Ud.length+1)*4,this._process();for(var qd=this._hash,zd=qd.words,Xd=0;Xd<4;Xd++){var gf=zd[Xd];zd[Xd]=(gf<<8|gf>>>24)&16711935|(gf<<24|gf>>>8)&4278255360}return qd},clone:function(){var Md=pd.clone.call(this);return Md._hash=this._hash.clone(),Md}});function Ad(Md,Ud,jd,Ld,Bd,Gd,qd){var zd=Md+(Ud&jd|~Ud&Ld)+Bd+qd;return(zd<<Gd|zd>>>32-Gd)+Ud}function Nd(Md,Ud,jd,Ld,Bd,Gd,qd){var zd=Md+(Ud&Ld|jd&~Ld)+Bd+qd;return(zd<<Gd|zd>>>32-Gd)+Ud}function Id(Md,Ud,jd,Ld,Bd,Gd,qd){var zd=Md+(Ud^jd^Ld)+Bd+qd;return(zd<<Gd|zd>>>32-Gd)+Ud}function Od(Md,Ud,jd,Ld,Bd,Gd,qd){var zd=Md+(jd^(Ud|~Ld))+Bd+qd;return(zd<<Gd|zd>>>32-Gd)+Ud}ld.MD5=pd._createHelper(vd),ld.HmacMD5=pd._createHmacHelper(vd)}(Math),nd.MD5})}(md5$1)),md5$1.exports}var sha1={exports:{}},hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ld.Hasher,pd=od.algo,fd=[],md=pd.SHA1=dd.extend({_doReset:function(){this._hash=new ud.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(vd,Ad){for(var Nd=this._hash.words,Id=Nd[0],Od=Nd[1],Md=Nd[2],Ud=Nd[3],jd=Nd[4],Ld=0;Ld<80;Ld++){if(Ld<16)fd[Ld]=vd[Ad+Ld]|0;else{var Bd=fd[Ld-3]^fd[Ld-8]^fd[Ld-14]^fd[Ld-16];fd[Ld]=Bd<<1|Bd>>>31}var Gd=(Id<<5|Id>>>27)+jd+fd[Ld];Ld<20?Gd+=(Od&Md|~Od&Ud)+1518500249:Ld<40?Gd+=(Od^Md^Ud)+1859775393:Ld<60?Gd+=(Od&Md|Od&Ud|Md&Ud)-1894007588:Gd+=(Od^Md^Ud)-899497514,jd=Ud,Ud=Md,Md=Od<<30|Od>>>2,Od=Id,Id=Gd}Nd[0]=Nd[0]+Id|0,Nd[1]=Nd[1]+Od|0,Nd[2]=Nd[2]+Md|0,Nd[3]=Nd[3]+Ud|0,Nd[4]=Nd[4]+jd|0},_doFinalize:function(){var vd=this._data,Ad=vd.words,Nd=this._nDataBytes*8,Id=vd.sigBytes*8;return Ad[Id>>>5]|=128<<24-Id%32,Ad[(Id+64>>>9<<4)+14]=Math.floor(Nd/4294967296),Ad[(Id+64>>>9<<4)+15]=Nd,vd.sigBytes=Ad.length*4,this._process(),this._hash},clone:function(){var vd=dd.clone.call(this);return vd._hash=this._hash.clone(),vd}});od.SHA1=dd._createHelper(md),od.HmacSHA1=dd._createHmacHelper(md)}(),nd.SHA1})}(sha1)),sha1.exports}var sha256={exports:{}},hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.algo,md=[],vd=[];(function(){function Id(jd){for(var Ld=od.sqrt(jd),Bd=2;Bd<=Ld;Bd++)if(!(jd%Bd))return!1;return!0}function Od(jd){return(jd-(jd|0))*4294967296|0}for(var Md=2,Ud=0;Ud<64;)Id(Md)&&(Ud<8&&(md[Ud]=Od(od.pow(Md,1/2))),vd[Ud]=Od(od.pow(Md,1/3)),Ud++),Md++})();var Ad=[],Nd=fd.SHA256=pd.extend({_doReset:function(){this._hash=new dd.init(md.slice(0))},_doProcessBlock:function(Id,Od){for(var Md=this._hash.words,Ud=Md[0],jd=Md[1],Ld=Md[2],Bd=Md[3],Gd=Md[4],qd=Md[5],zd=Md[6],Xd=Md[7],gf=0;gf<64;gf++){if(gf<16)Ad[gf]=Id[Od+gf]|0;else{var Yd=Ad[gf-15],Zd=(Yd<<25|Yd>>>7)^(Yd<<14|Yd>>>18)^Yd>>>3,df=Ad[gf-2],Ef=(df<<15|df>>>17)^(df<<13|df>>>19)^df>>>10;Ad[gf]=Zd+Ad[gf-7]+Ef+Ad[gf-16]}var _f=Gd&qd^~Gd&zd,xf=Ud&jd^Ud&Ld^jd&Ld,vf=(Ud<<30|Ud>>>2)^(Ud<<19|Ud>>>13)^(Ud<<10|Ud>>>22),Af=(Gd<<26|Gd>>>6)^(Gd<<21|Gd>>>11)^(Gd<<7|Gd>>>25),Df=Xd+Af+_f+vd[gf]+Ad[gf],jf=vf+xf;Xd=zd,zd=qd,qd=Gd,Gd=Bd+Df|0,Bd=Ld,Ld=jd,jd=Ud,Ud=Df+jf|0}Md[0]=Md[0]+Ud|0,Md[1]=Md[1]+jd|0,Md[2]=Md[2]+Ld|0,Md[3]=Md[3]+Bd|0,Md[4]=Md[4]+Gd|0,Md[5]=Md[5]+qd|0,Md[6]=Md[6]+zd|0,Md[7]=Md[7]+Xd|0},_doFinalize:function(){var Id=this._data,Od=Id.words,Md=this._nDataBytes*8,Ud=Id.sigBytes*8;return Od[Ud>>>5]|=128<<24-Ud%32,Od[(Ud+64>>>9<<4)+14]=od.floor(Md/4294967296),Od[(Ud+64>>>9<<4)+15]=Md,Id.sigBytes=Od.length*4,this._process(),this._hash},clone:function(){var Id=pd.clone.call(this);return Id._hash=this._hash.clone(),Id}});ld.SHA256=pd._createHelper(Nd),ld.HmacSHA256=pd._createHmacHelper(Nd)}(Math),nd.SHA256})}(sha256)),sha256.exports}var sha224={exports:{}},hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha256())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=od.algo,pd=dd.SHA256,fd=dd.SHA224=pd.extend({_doReset:function(){this._hash=new ud.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var md=pd._doFinalize.call(this);return md.sigBytes-=4,md}});od.SHA224=pd._createHelper(fd),od.HmacSHA224=pd._createHmacHelper(fd)}(),nd.SHA224})}(sha224)),sha224.exports}var sha512={exports:{}},hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Hasher,dd=od.x64,pd=dd.Word,fd=dd.WordArray,md=od.algo;function vd(){return pd.create.apply(pd,arguments)}var Ad=[vd(1116352408,3609767458),vd(1899447441,602891725),vd(3049323471,3964484399),vd(3921009573,2173295548),vd(961987163,4081628472),vd(1508970993,3053834265),vd(2453635748,2937671579),vd(2870763221,3664609560),vd(3624381080,2734883394),vd(310598401,1164996542),vd(607225278,1323610764),vd(1426881987,3590304994),vd(1925078388,4068182383),vd(2162078206,991336113),vd(2614888103,633803317),vd(3248222580,3479774868),vd(3835390401,2666613458),vd(4022224774,944711139),vd(264347078,2341262773),vd(604807628,2007800933),vd(770255983,1495990901),vd(1249150122,1856431235),vd(1555081692,3175218132),vd(1996064986,2198950837),vd(2554220882,3999719339),vd(2821834349,766784016),vd(2952996808,2566594879),vd(3210313671,3203337956),vd(3336571891,1034457026),vd(3584528711,2466948901),vd(113926993,3758326383),vd(338241895,168717936),vd(666307205,1188179964),vd(773529912,1546045734),vd(1294757372,1522805485),vd(1396182291,2643833823),vd(1695183700,2343527390),vd(1986661051,1014477480),vd(2177026350,1206759142),vd(2456956037,344077627),vd(2730485921,1290863460),vd(2820302411,3158454273),vd(3259730800,3505952657),vd(3345764771,106217008),vd(3516065817,3606008344),vd(3600352804,1432725776),vd(4094571909,1467031594),vd(275423344,851169720),vd(430227734,3100823752),vd(506948616,1363258195),vd(659060556,3750685593),vd(883997877,3785050280),vd(958139571,3318307427),vd(1322822218,3812723403),vd(1537002063,2003034995),vd(1747873779,3602036899),vd(1955562222,1575990012),vd(2024104815,1125592928),vd(2227730452,2716904306),vd(2361852424,442776044),vd(2428436474,593698344),vd(2756734187,3733110249),vd(3204031479,2999351573),vd(3329325298,3815920427),vd(3391569614,3928383900),vd(3515267271,566280711),vd(3940187606,3454069534),vd(4118630271,4000239992),vd(116418474,1914138554),vd(174292421,2731055270),vd(289380356,3203993006),vd(460393269,320620315),vd(685471733,587496836),vd(852142971,1086792851),vd(1017036298,365543100),vd(1126000580,2618297676),vd(1288033470,3409855158),vd(1501505948,4234509866),vd(1607167915,987167468),vd(1816402316,1246189591)],Nd=[];(function(){for(var Od=0;Od<80;Od++)Nd[Od]=vd()})();var Id=md.SHA512=ud.extend({_doReset:function(){this._hash=new fd.init([new pd.init(1779033703,4089235720),new pd.init(3144134277,2227873595),new pd.init(1013904242,4271175723),new pd.init(2773480762,1595750129),new pd.init(1359893119,2917565137),new pd.init(2600822924,725511199),new pd.init(528734635,4215389547),new pd.init(1541459225,327033209)])},_doProcessBlock:function(Od,Md){for(var Ud=this._hash.words,jd=Ud[0],Ld=Ud[1],Bd=Ud[2],Gd=Ud[3],qd=Ud[4],zd=Ud[5],Xd=Ud[6],gf=Ud[7],Yd=jd.high,Zd=jd.low,df=Ld.high,Ef=Ld.low,_f=Bd.high,xf=Bd.low,vf=Gd.high,Af=Gd.low,Df=qd.high,jf=qd.low,Jf=zd.high,eh=zd.low,th=Xd.high,Uf=Xd.low,Of=gf.high,Wf=gf.low,qf=Yd,zf=Zd,Tf=df,Sf=Ef,Yf=_f,ih=xf,Th=vf,sh=Af,Nf=Df,ph=jf,Oh=Jf,Zf=eh,Rf=th,Bf=Uf,Kf=Of,wh=Wf,Ah=0;Ah<80;Ah++){var mh,im,Bh=Nd[Ah];if(Ah<16)im=Bh.high=Od[Md+Ah*2]|0,mh=Bh.low=Od[Md+Ah*2+1]|0;else{var Tm=Nd[Ah-15],Pm=Tm.high,gm=Tm.low,Mm=(Pm>>>1|gm<<31)^(Pm>>>8|gm<<24)^Pm>>>7,Hm=(gm>>>1|Pm<<31)^(gm>>>8|Pm<<24)^(gm>>>7|Pm<<25),gh=Nd[Ah-2],Lf=gh.high,$f=gh.low,fh=(Lf>>>19|$f<<13)^(Lf<<3|$f>>>29)^Lf>>>6,Ch=($f>>>19|Lf<<13)^($f<<3|Lf>>>29)^($f>>>6|Lf<<26),Zh=Nd[Ah-7],dm=Zh.high,Im=Zh.low,Ym=Nd[Ah-16],Fm=Ym.high,ug=Ym.low;mh=Hm+Im,im=Mm+dm+(mh>>>0<Hm>>>0?1:0),mh=mh+Ch,im=im+fh+(mh>>>0<Ch>>>0?1:0),mh=mh+ug,im=im+Fm+(mh>>>0<ug>>>0?1:0),Bh.high=im,Bh.low=mh}var rg=Nf&Oh^~Nf&Rf,Eg=ph&Zf^~ph&Bf,kg=qf&Tf^qf&Yf^Tf&Yf,n_=zf&Sf^zf&ih^Sf&ih,Fg=(qf>>>28|zf<<4)^(qf<<30|zf>>>2)^(qf<<25|zf>>>7),Kg=(zf>>>28|qf<<4)^(zf<<30|qf>>>2)^(zf<<25|qf>>>7),Ng=(Nf>>>14|ph<<18)^(Nf>>>18|ph<<14)^(Nf<<23|ph>>>9),g_=(ph>>>14|Nf<<18)^(ph>>>18|Nf<<14)^(ph<<23|Nf>>>9),Jg=Ad[Ah],C_=Jg.high,N_=Jg.low,a_=wh+g_,c_=Kf+Ng+(a_>>>0<wh>>>0?1:0),a_=a_+Eg,c_=c_+rg+(a_>>>0<Eg>>>0?1:0),a_=a_+N_,c_=c_+C_+(a_>>>0<N_>>>0?1:0),a_=a_+mh,c_=c_+im+(a_>>>0<mh>>>0?1:0),ng=Kg+n_,ub=Fg+kg+(ng>>>0<Kg>>>0?1:0);Kf=Rf,wh=Bf,Rf=Oh,Bf=Zf,Oh=Nf,Zf=ph,ph=sh+a_|0,Nf=Th+c_+(ph>>>0<sh>>>0?1:0)|0,Th=Yf,sh=ih,Yf=Tf,ih=Sf,Tf=qf,Sf=zf,zf=a_+ng|0,qf=c_+ub+(zf>>>0<a_>>>0?1:0)|0}Zd=jd.low=Zd+zf,jd.high=Yd+qf+(Zd>>>0<zf>>>0?1:0),Ef=Ld.low=Ef+Sf,Ld.high=df+Tf+(Ef>>>0<Sf>>>0?1:0),xf=Bd.low=xf+ih,Bd.high=_f+Yf+(xf>>>0<ih>>>0?1:0),Af=Gd.low=Af+sh,Gd.high=vf+Th+(Af>>>0<sh>>>0?1:0),jf=qd.low=jf+ph,qd.high=Df+Nf+(jf>>>0<ph>>>0?1:0),eh=zd.low=eh+Zf,zd.high=Jf+Oh+(eh>>>0<Zf>>>0?1:0),Uf=Xd.low=Uf+Bf,Xd.high=th+Rf+(Uf>>>0<Bf>>>0?1:0),Wf=gf.low=Wf+wh,gf.high=Of+Kf+(Wf>>>0<wh>>>0?1:0)},_doFinalize:function(){var Od=this._data,Md=Od.words,Ud=this._nDataBytes*8,jd=Od.sigBytes*8;Md[jd>>>5]|=128<<24-jd%32,Md[(jd+128>>>10<<5)+30]=Math.floor(Ud/4294967296),Md[(jd+128>>>10<<5)+31]=Ud,Od.sigBytes=Md.length*4,this._process();var Ld=this._hash.toX32();return Ld},clone:function(){var Od=ud.clone.call(this);return Od._hash=this._hash.clone(),Od},blockSize:1024/32});od.SHA512=ud._createHelper(Id),od.HmacSHA512=ud._createHmacHelper(Id)}(),nd.SHA512})}(sha512)),sha512.exports}var sha384={exports:{}},hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core(),requireSha512())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.x64,ud=ld.Word,dd=ld.WordArray,pd=od.algo,fd=pd.SHA512,md=pd.SHA384=fd.extend({_doReset:function(){this._hash=new dd.init([new ud.init(3418070365,3238371032),new ud.init(1654270250,914150663),new ud.init(2438529370,812702999),new ud.init(355462360,4144912697),new ud.init(1731405415,4290775857),new ud.init(2394180231,1750603025),new ud.init(3675008525,1694076839),new ud.init(1203062813,3204075428)])},_doFinalize:function(){var vd=fd._doFinalize.call(this);return vd.sigBytes-=16,vd}});od.SHA384=fd._createHelper(md),od.HmacSHA384=fd._createHmacHelper(md)}(),nd.SHA384})}(sha384)),sha384.exports}var sha3={exports:{}},hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.x64,md=fd.Word,vd=ld.algo,Ad=[],Nd=[],Id=[];(function(){for(var Ud=1,jd=0,Ld=0;Ld<24;Ld++){Ad[Ud+5*jd]=(Ld+1)*(Ld+2)/2%64;var Bd=jd%5,Gd=(2*Ud+3*jd)%5;Ud=Bd,jd=Gd}for(var Ud=0;Ud<5;Ud++)for(var jd=0;jd<5;jd++)Nd[Ud+5*jd]=jd+(2*Ud+3*jd)%5*5;for(var qd=1,zd=0;zd<24;zd++){for(var Xd=0,gf=0,Yd=0;Yd<7;Yd++){if(qd&1){var Zd=(1<<Yd)-1;Zd<32?gf^=1<<Zd:Xd^=1<<Zd-32}qd&128?qd=qd<<1^113:qd<<=1}Id[zd]=md.create(Xd,gf)}})();var Od=[];(function(){for(var Ud=0;Ud<25;Ud++)Od[Ud]=md.create()})();var Md=vd.SHA3=pd.extend({cfg:pd.cfg.extend({outputLength:512}),_doReset:function(){for(var Ud=this._state=[],jd=0;jd<25;jd++)Ud[jd]=new md.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(Ud,jd){for(var Ld=this._state,Bd=this.blockSize/2,Gd=0;Gd<Bd;Gd++){var qd=Ud[jd+2*Gd],zd=Ud[jd+2*Gd+1];qd=(qd<<8|qd>>>24)&16711935|(qd<<24|qd>>>8)&4278255360,zd=(zd<<8|zd>>>24)&16711935|(zd<<24|zd>>>8)&4278255360;var Xd=Ld[Gd];Xd.high^=zd,Xd.low^=qd}for(var gf=0;gf<24;gf++){for(var Yd=0;Yd<5;Yd++){for(var Zd=0,df=0,Ef=0;Ef<5;Ef++){var Xd=Ld[Yd+5*Ef];Zd^=Xd.high,df^=Xd.low}var _f=Od[Yd];_f.high=Zd,_f.low=df}for(var Yd=0;Yd<5;Yd++)for(var xf=Od[(Yd+4)%5],vf=Od[(Yd+1)%5],Af=vf.high,Df=vf.low,Zd=xf.high^(Af<<1|Df>>>31),df=xf.low^(Df<<1|Af>>>31),Ef=0;Ef<5;Ef++){var Xd=Ld[Yd+5*Ef];Xd.high^=Zd,Xd.low^=df}for(var jf=1;jf<25;jf++){var Zd,df,Xd=Ld[jf],Jf=Xd.high,eh=Xd.low,th=Ad[jf];th<32?(Zd=Jf<<th|eh>>>32-th,df=eh<<th|Jf>>>32-th):(Zd=eh<<th-32|Jf>>>64-th,df=Jf<<th-32|eh>>>64-th);var Uf=Od[Nd[jf]];Uf.high=Zd,Uf.low=df}var Of=Od[0],Wf=Ld[0];Of.high=Wf.high,Of.low=Wf.low;for(var Yd=0;Yd<5;Yd++)for(var Ef=0;Ef<5;Ef++){var jf=Yd+5*Ef,Xd=Ld[jf],qf=Od[jf],zf=Od[(Yd+1)%5+5*Ef],Tf=Od[(Yd+2)%5+5*Ef];Xd.high=qf.high^~zf.high&Tf.high,Xd.low=qf.low^~zf.low&Tf.low}var Xd=Ld[0],Sf=Id[gf];Xd.high^=Sf.high,Xd.low^=Sf.low}},_doFinalize:function(){var Ud=this._data,jd=Ud.words;this._nDataBytes*8;var Ld=Ud.sigBytes*8,Bd=this.blockSize*32;jd[Ld>>>5]|=1<<24-Ld%32,jd[(od.ceil((Ld+1)/Bd)*Bd>>>5)-1]|=128,Ud.sigBytes=jd.length*4,this._process();for(var Gd=this._state,qd=this.cfg.outputLength/8,zd=qd/8,Xd=[],gf=0;gf<zd;gf++){var Yd=Gd[gf],Zd=Yd.high,df=Yd.low;Zd=(Zd<<8|Zd>>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360,df=(df<<8|df>>>24)&16711935|(df<<24|df>>>8)&4278255360,Xd.push(df),Xd.push(Zd)}return new dd.init(Xd,qd)},clone:function(){for(var Ud=pd.clone.call(this),jd=Ud._state=this._state.slice(0),Ld=0;Ld<25;Ld++)jd[Ld]=jd[Ld].clone();return Ud}});ld.SHA3=pd._createHelper(Md),ld.HmacSHA3=pd._createHmacHelper(Md)}(Math),nd.SHA3})}(sha3)),sha3.exports}var ripemd160={exports:{}},hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){/** @preserve
|
||
(c) 2012 by Cédric Mesnil. All rights reserved.
|
||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||
|
||
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
*/return function(od){var ld=nd,ud=ld.lib,dd=ud.WordArray,pd=ud.Hasher,fd=ld.algo,md=dd.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),vd=dd.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),Ad=dd.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),Nd=dd.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),Id=dd.create([0,1518500249,1859775393,2400959708,2840853838]),Od=dd.create([1352829926,1548603684,1836072691,2053994217,0]),Md=fd.RIPEMD160=pd.extend({_doReset:function(){this._hash=dd.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(zd,Xd){for(var gf=0;gf<16;gf++){var Yd=Xd+gf,Zd=zd[Yd];zd[Yd]=(Zd<<8|Zd>>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360}var df=this._hash.words,Ef=Id.words,_f=Od.words,xf=md.words,vf=vd.words,Af=Ad.words,Df=Nd.words,jf,Jf,eh,th,Uf,Of,Wf,qf,zf,Tf;Of=jf=df[0],Wf=Jf=df[1],qf=eh=df[2],zf=th=df[3],Tf=Uf=df[4];for(var Sf,gf=0;gf<80;gf+=1)Sf=jf+zd[Xd+xf[gf]]|0,gf<16?Sf+=Ud(Jf,eh,th)+Ef[0]:gf<32?Sf+=jd(Jf,eh,th)+Ef[1]:gf<48?Sf+=Ld(Jf,eh,th)+Ef[2]:gf<64?Sf+=Bd(Jf,eh,th)+Ef[3]:Sf+=Gd(Jf,eh,th)+Ef[4],Sf=Sf|0,Sf=qd(Sf,Af[gf]),Sf=Sf+Uf|0,jf=Uf,Uf=th,th=qd(eh,10),eh=Jf,Jf=Sf,Sf=Of+zd[Xd+vf[gf]]|0,gf<16?Sf+=Gd(Wf,qf,zf)+_f[0]:gf<32?Sf+=Bd(Wf,qf,zf)+_f[1]:gf<48?Sf+=Ld(Wf,qf,zf)+_f[2]:gf<64?Sf+=jd(Wf,qf,zf)+_f[3]:Sf+=Ud(Wf,qf,zf)+_f[4],Sf=Sf|0,Sf=qd(Sf,Df[gf]),Sf=Sf+Tf|0,Of=Tf,Tf=zf,zf=qd(qf,10),qf=Wf,Wf=Sf;Sf=df[1]+eh+zf|0,df[1]=df[2]+th+Tf|0,df[2]=df[3]+Uf+Of|0,df[3]=df[4]+jf+Wf|0,df[4]=df[0]+Jf+qf|0,df[0]=Sf},_doFinalize:function(){var zd=this._data,Xd=zd.words,gf=this._nDataBytes*8,Yd=zd.sigBytes*8;Xd[Yd>>>5]|=128<<24-Yd%32,Xd[(Yd+64>>>9<<4)+14]=(gf<<8|gf>>>24)&16711935|(gf<<24|gf>>>8)&4278255360,zd.sigBytes=(Xd.length+1)*4,this._process();for(var Zd=this._hash,df=Zd.words,Ef=0;Ef<5;Ef++){var _f=df[Ef];df[Ef]=(_f<<8|_f>>>24)&16711935|(_f<<24|_f>>>8)&4278255360}return Zd},clone:function(){var zd=pd.clone.call(this);return zd._hash=this._hash.clone(),zd}});function Ud(zd,Xd,gf){return zd^Xd^gf}function jd(zd,Xd,gf){return zd&Xd|~zd&gf}function Ld(zd,Xd,gf){return(zd|~Xd)^gf}function Bd(zd,Xd,gf){return zd&gf|Xd&~gf}function Gd(zd,Xd,gf){return zd^(Xd|~gf)}function qd(zd,Xd){return zd<<Xd|zd>>>32-Xd}ld.RIPEMD160=pd._createHelper(Md),ld.HmacRIPEMD160=pd._createHmacHelper(Md)}(),nd.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){(function(){var od=nd,ld=od.lib,ud=ld.Base,dd=od.enc,pd=dd.Utf8,fd=od.algo;fd.HMAC=ud.extend({init:function(md,vd){md=this._hasher=new md.init,typeof vd=="string"&&(vd=pd.parse(vd));var Ad=md.blockSize,Nd=Ad*4;vd.sigBytes>Nd&&(vd=md.finalize(vd)),vd.clamp();for(var Id=this._oKey=vd.clone(),Od=this._iKey=vd.clone(),Md=Id.words,Ud=Od.words,jd=0;jd<Ad;jd++)Md[jd]^=1549556828,Ud[jd]^=909522486;Id.sigBytes=Od.sigBytes=Nd,this.reset()},reset:function(){var md=this._hasher;md.reset(),md.update(this._iKey)},update:function(md){return this._hasher.update(md),this},finalize:function(md){var vd=this._hasher,Ad=vd.finalize(md);vd.reset();var Nd=vd.finalize(this._oKey.clone().concat(Ad));return Nd}})})()})}(hmac)),hmac.exports}var pbkdf2={exports:{}},hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha256(),requireHmac())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Base,dd=ld.WordArray,pd=od.algo,fd=pd.SHA256,md=pd.HMAC,vd=pd.PBKDF2=ud.extend({cfg:ud.extend({keySize:128/32,hasher:fd,iterations:25e4}),init:function(Ad){this.cfg=this.cfg.extend(Ad)},compute:function(Ad,Nd){for(var Id=this.cfg,Od=md.create(Id.hasher,Ad),Md=dd.create(),Ud=dd.create([1]),jd=Md.words,Ld=Ud.words,Bd=Id.keySize,Gd=Id.iterations;jd.length<Bd;){var qd=Od.update(Nd).finalize(Ud);Od.reset();for(var zd=qd.words,Xd=zd.length,gf=qd,Yd=1;Yd<Gd;Yd++){gf=Od.finalize(gf),Od.reset();for(var Zd=gf.words,df=0;df<Xd;df++)zd[df]^=Zd[df]}Md.concat(qd),Ld[0]++}return Md.sigBytes=Bd*4,Md}});od.PBKDF2=function(Ad,Nd,Id){return vd.create(Id).compute(Ad,Nd)}}(),nd.PBKDF2})}(pbkdf2)),pbkdf2.exports}var evpkdf={exports:{}},hasRequiredEvpkdf;function requireEvpkdf(){return hasRequiredEvpkdf||(hasRequiredEvpkdf=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha1(),requireHmac())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Base,dd=ld.WordArray,pd=od.algo,fd=pd.MD5,md=pd.EvpKDF=ud.extend({cfg:ud.extend({keySize:128/32,hasher:fd,iterations:1}),init:function(vd){this.cfg=this.cfg.extend(vd)},compute:function(vd,Ad){for(var Nd,Id=this.cfg,Od=Id.hasher.create(),Md=dd.create(),Ud=Md.words,jd=Id.keySize,Ld=Id.iterations;Ud.length<jd;){Nd&&Od.update(Nd),Nd=Od.update(vd).finalize(Ad),Od.reset();for(var Bd=1;Bd<Ld;Bd++)Nd=Od.finalize(Nd),Od.reset();Md.concat(Nd)}return Md.sigBytes=jd*4,Md}});od.EvpKDF=function(vd,Ad,Nd){return md.create(Nd).compute(vd,Ad)}}(),nd.EvpKDF})}(evpkdf)),evpkdf.exports}var cipherCore={exports:{}},hasRequiredCipherCore;function requireCipherCore(){return hasRequiredCipherCore||(hasRequiredCipherCore=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEvpkdf())})(commonjsGlobal,function(nd){nd.lib.Cipher||function(od){var ld=nd,ud=ld.lib,dd=ud.Base,pd=ud.WordArray,fd=ud.BufferedBlockAlgorithm,md=ld.enc;md.Utf8;var vd=md.Base64,Ad=ld.algo,Nd=Ad.EvpKDF,Id=ud.Cipher=fd.extend({cfg:dd.extend(),createEncryptor:function(Zd,df){return this.create(this._ENC_XFORM_MODE,Zd,df)},createDecryptor:function(Zd,df){return this.create(this._DEC_XFORM_MODE,Zd,df)},init:function(Zd,df,Ef){this.cfg=this.cfg.extend(Ef),this._xformMode=Zd,this._key=df,this.reset()},reset:function(){fd.reset.call(this),this._doReset()},process:function(Zd){return this._append(Zd),this._process()},finalize:function(Zd){Zd&&this._append(Zd);var df=this._doFinalize();return df},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function Zd(df){return typeof df=="string"?Yd:zd}return function(df){return{encrypt:function(Ef,_f,xf){return Zd(_f).encrypt(df,Ef,_f,xf)},decrypt:function(Ef,_f,xf){return Zd(_f).decrypt(df,Ef,_f,xf)}}}}()});ud.StreamCipher=Id.extend({_doFinalize:function(){var Zd=this._process(!0);return Zd},blockSize:1});var Od=ld.mode={},Md=ud.BlockCipherMode=dd.extend({createEncryptor:function(Zd,df){return this.Encryptor.create(Zd,df)},createDecryptor:function(Zd,df){return this.Decryptor.create(Zd,df)},init:function(Zd,df){this._cipher=Zd,this._iv=df}}),Ud=Od.CBC=function(){var Zd=Md.extend();Zd.Encryptor=Zd.extend({processBlock:function(Ef,_f){var xf=this._cipher,vf=xf.blockSize;df.call(this,Ef,_f,vf),xf.encryptBlock(Ef,_f),this._prevBlock=Ef.slice(_f,_f+vf)}}),Zd.Decryptor=Zd.extend({processBlock:function(Ef,_f){var xf=this._cipher,vf=xf.blockSize,Af=Ef.slice(_f,_f+vf);xf.decryptBlock(Ef,_f),df.call(this,Ef,_f,vf),this._prevBlock=Af}});function df(Ef,_f,xf){var vf,Af=this._iv;Af?(vf=Af,this._iv=od):vf=this._prevBlock;for(var Df=0;Df<xf;Df++)Ef[_f+Df]^=vf[Df]}return Zd}(),jd=ld.pad={},Ld=jd.Pkcs7={pad:function(Zd,df){for(var Ef=df*4,_f=Ef-Zd.sigBytes%Ef,xf=_f<<24|_f<<16|_f<<8|_f,vf=[],Af=0;Af<_f;Af+=4)vf.push(xf);var Df=pd.create(vf,_f);Zd.concat(Df)},unpad:function(Zd){var df=Zd.words[Zd.sigBytes-1>>>2]&255;Zd.sigBytes-=df}};ud.BlockCipher=Id.extend({cfg:Id.cfg.extend({mode:Ud,padding:Ld}),reset:function(){var Zd;Id.reset.call(this);var df=this.cfg,Ef=df.iv,_f=df.mode;this._xformMode==this._ENC_XFORM_MODE?Zd=_f.createEncryptor:(Zd=_f.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Zd?this._mode.init(this,Ef&&Ef.words):(this._mode=Zd.call(_f,this,Ef&&Ef.words),this._mode.__creator=Zd)},_doProcessBlock:function(Zd,df){this._mode.processBlock(Zd,df)},_doFinalize:function(){var Zd,df=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(df.pad(this._data,this.blockSize),Zd=this._process(!0)):(Zd=this._process(!0),df.unpad(Zd)),Zd},blockSize:128/32});var Bd=ud.CipherParams=dd.extend({init:function(Zd){this.mixIn(Zd)},toString:function(Zd){return(Zd||this.formatter).stringify(this)}}),Gd=ld.format={},qd=Gd.OpenSSL={stringify:function(Zd){var df,Ef=Zd.ciphertext,_f=Zd.salt;return _f?df=pd.create([1398893684,1701076831]).concat(_f).concat(Ef):df=Ef,df.toString(vd)},parse:function(Zd){var df,Ef=vd.parse(Zd),_f=Ef.words;return _f[0]==1398893684&&_f[1]==1701076831&&(df=pd.create(_f.slice(2,4)),_f.splice(0,4),Ef.sigBytes-=16),Bd.create({ciphertext:Ef,salt:df})}},zd=ud.SerializableCipher=dd.extend({cfg:dd.extend({format:qd}),encrypt:function(Zd,df,Ef,_f){_f=this.cfg.extend(_f);var xf=Zd.createEncryptor(Ef,_f),vf=xf.finalize(df),Af=xf.cfg;return Bd.create({ciphertext:vf,key:Ef,iv:Af.iv,algorithm:Zd,mode:Af.mode,padding:Af.padding,blockSize:Zd.blockSize,formatter:_f.format})},decrypt:function(Zd,df,Ef,_f){_f=this.cfg.extend(_f),df=this._parse(df,_f.format);var xf=Zd.createDecryptor(Ef,_f).finalize(df.ciphertext);return xf},_parse:function(Zd,df){return typeof Zd=="string"?df.parse(Zd,this):Zd}}),Xd=ld.kdf={},gf=Xd.OpenSSL={execute:function(Zd,df,Ef,_f,xf){if(_f||(_f=pd.random(64/8)),xf)var vf=Nd.create({keySize:df+Ef,hasher:xf}).compute(Zd,_f);else var vf=Nd.create({keySize:df+Ef}).compute(Zd,_f);var Af=pd.create(vf.words.slice(df),Ef*4);return vf.sigBytes=df*4,Bd.create({key:vf,iv:Af,salt:_f})}},Yd=ud.PasswordBasedCipher=zd.extend({cfg:zd.cfg.extend({kdf:gf}),encrypt:function(Zd,df,Ef,_f){_f=this.cfg.extend(_f);var xf=_f.kdf.execute(Ef,Zd.keySize,Zd.ivSize,_f.salt,_f.hasher);_f.iv=xf.iv;var vf=zd.encrypt.call(this,Zd,df,xf.key,_f);return vf.mixIn(xf),vf},decrypt:function(Zd,df,Ef,_f){_f=this.cfg.extend(_f),df=this._parse(df,_f.format);var xf=_f.kdf.execute(Ef,Zd.keySize,Zd.ivSize,df.salt,_f.hasher);_f.iv=xf.iv;var vf=zd.decrypt.call(this,Zd,df,xf.key,_f);return vf}})}()})}(cipherCore)),cipherCore.exports}var modeCfb={exports:{}},hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.CFB=function(){var od=nd.lib.BlockCipherMode.extend();od.Encryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize;ld.call(this,ud,dd,fd,pd),this._prevBlock=ud.slice(dd,dd+fd)}}),od.Decryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize,md=ud.slice(dd,dd+fd);ld.call(this,ud,dd,fd,pd),this._prevBlock=md}});function ld(ud,dd,pd,fd){var md,vd=this._iv;vd?(md=vd.slice(0),this._iv=void 0):md=this._prevBlock,fd.encryptBlock(md,0);for(var Ad=0;Ad<pd;Ad++)ud[dd+Ad]^=md[Ad]}return od}(),nd.mode.CFB})}(modeCfb)),modeCfb.exports}var modeCtr={exports:{}},hasRequiredModeCtr;function requireModeCtr(){return hasRequiredModeCtr||(hasRequiredModeCtr=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.CTR=function(){var od=nd.lib.BlockCipherMode.extend(),ld=od.Encryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize,md=this._iv,vd=this._counter;md&&(vd=this._counter=md.slice(0),this._iv=void 0);var Ad=vd.slice(0);pd.encryptBlock(Ad,0),vd[fd-1]=vd[fd-1]+1|0;for(var Nd=0;Nd<fd;Nd++)ud[dd+Nd]^=Ad[Nd]}});return od.Decryptor=ld,od}(),nd.mode.CTR})}(modeCtr)),modeCtr.exports}var modeCtrGladman={exports:{}},hasRequiredModeCtrGladman;function requireModeCtrGladman(){return hasRequiredModeCtrGladman||(hasRequiredModeCtrGladman=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){/** @preserve
|
||
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
||
* derived from CryptoJS.mode.CTR
|
||
* Jan Hruby jhruby.web@gmail.com
|
||
*/return nd.mode.CTRGladman=function(){var od=nd.lib.BlockCipherMode.extend();function ld(pd){if((pd>>24&255)===255){var fd=pd>>16&255,md=pd>>8&255,vd=pd&255;fd===255?(fd=0,md===255?(md=0,vd===255?vd=0:++vd):++md):++fd,pd=0,pd+=fd<<16,pd+=md<<8,pd+=vd}else pd+=1<<24;return pd}function ud(pd){return(pd[0]=ld(pd[0]))===0&&(pd[1]=ld(pd[1])),pd}var dd=od.Encryptor=od.extend({processBlock:function(pd,fd){var md=this._cipher,vd=md.blockSize,Ad=this._iv,Nd=this._counter;Ad&&(Nd=this._counter=Ad.slice(0),this._iv=void 0),ud(Nd);var Id=Nd.slice(0);md.encryptBlock(Id,0);for(var Od=0;Od<vd;Od++)pd[fd+Od]^=Id[Od]}});return od.Decryptor=dd,od}(),nd.mode.CTRGladman})}(modeCtrGladman)),modeCtrGladman.exports}var modeOfb={exports:{}},hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.OFB=function(){var od=nd.lib.BlockCipherMode.extend(),ld=od.Encryptor=od.extend({processBlock:function(ud,dd){var pd=this._cipher,fd=pd.blockSize,md=this._iv,vd=this._keystream;md&&(vd=this._keystream=md.slice(0),this._iv=void 0),pd.encryptBlock(vd,0);for(var Ad=0;Ad<fd;Ad++)ud[dd+Ad]^=vd[Ad]}});return od.Decryptor=ld,od}(),nd.mode.OFB})}(modeOfb)),modeOfb.exports}var modeEcb={exports:{}},hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.ECB=function(){var od=nd.lib.BlockCipherMode.extend();return od.Encryptor=od.extend({processBlock:function(ld,ud){this._cipher.encryptBlock(ld,ud)}}),od.Decryptor=od.extend({processBlock:function(ld,ud){this._cipher.decryptBlock(ld,ud)}}),od}(),nd.mode.ECB})}(modeEcb)),modeEcb.exports}var padAnsix923={exports:{}},hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.AnsiX923={pad:function(od,ld){var ud=od.sigBytes,dd=ld*4,pd=dd-ud%dd,fd=ud+pd-1;od.clamp(),od.words[fd>>>2]|=pd<<24-fd%4*8,od.sigBytes+=pd},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso10126={pad:function(od,ld){var ud=ld*4,dd=ud-od.sigBytes%ud;od.concat(nd.lib.WordArray.random(dd-1)).concat(nd.lib.WordArray.create([dd<<24],1))},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso97971={pad:function(od,ld){od.concat(nd.lib.WordArray.create([2147483648],1)),nd.pad.ZeroPadding.pad(od,ld)},unpad:function(od){nd.pad.ZeroPadding.unpad(od),od.sigBytes--}},nd.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.ZeroPadding={pad:function(od,ld){var ud=ld*4;od.clamp(),od.sigBytes+=ud-(od.sigBytes%ud||ud)},unpad:function(od){for(var ld=od.words,ud=od.sigBytes-1,ud=od.sigBytes-1;ud>=0;ud--)if(ld[ud>>>2]>>>24-ud%4*8&255){od.sigBytes=ud+1;break}}},nd.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.NoPadding={pad:function(){},unpad:function(){}},nd.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,dd=ud.CipherParams,pd=ld.enc,fd=pd.Hex,md=ld.format;md.Hex={stringify:function(vd){return vd.ciphertext.toString(fd)},parse:function(vd){var Ad=fd.parse(vd);return dd.create({ciphertext:Ad})}}}(),nd.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo,pd=[],fd=[],md=[],vd=[],Ad=[],Nd=[],Id=[],Od=[],Md=[],Ud=[];(function(){for(var Bd=[],Gd=0;Gd<256;Gd++)Gd<128?Bd[Gd]=Gd<<1:Bd[Gd]=Gd<<1^283;for(var qd=0,zd=0,Gd=0;Gd<256;Gd++){var Xd=zd^zd<<1^zd<<2^zd<<3^zd<<4;Xd=Xd>>>8^Xd&255^99,pd[qd]=Xd,fd[Xd]=qd;var gf=Bd[qd],Yd=Bd[gf],Zd=Bd[Yd],df=Bd[Xd]*257^Xd*16843008;md[qd]=df<<24|df>>>8,vd[qd]=df<<16|df>>>16,Ad[qd]=df<<8|df>>>24,Nd[qd]=df;var df=Zd*16843009^Yd*65537^gf*257^qd*16843008;Id[Xd]=df<<24|df>>>8,Od[Xd]=df<<16|df>>>16,Md[Xd]=df<<8|df>>>24,Ud[Xd]=df,qd?(qd=gf^Bd[Bd[Bd[Zd^gf]]],zd^=Bd[Bd[zd]]):qd=zd=1}})();var jd=[0,1,2,4,8,16,32,64,128,27,54],Ld=dd.AES=ud.extend({_doReset:function(){var Bd;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var Gd=this._keyPriorReset=this._key,qd=Gd.words,zd=Gd.sigBytes/4,Xd=this._nRounds=zd+6,gf=(Xd+1)*4,Yd=this._keySchedule=[],Zd=0;Zd<gf;Zd++)Zd<zd?Yd[Zd]=qd[Zd]:(Bd=Yd[Zd-1],Zd%zd?zd>6&&Zd%zd==4&&(Bd=pd[Bd>>>24]<<24|pd[Bd>>>16&255]<<16|pd[Bd>>>8&255]<<8|pd[Bd&255]):(Bd=Bd<<8|Bd>>>24,Bd=pd[Bd>>>24]<<24|pd[Bd>>>16&255]<<16|pd[Bd>>>8&255]<<8|pd[Bd&255],Bd^=jd[Zd/zd|0]<<24),Yd[Zd]=Yd[Zd-zd]^Bd);for(var df=this._invKeySchedule=[],Ef=0;Ef<gf;Ef++){var Zd=gf-Ef;if(Ef%4)var Bd=Yd[Zd];else var Bd=Yd[Zd-4];Ef<4||Zd<=4?df[Ef]=Bd:df[Ef]=Id[pd[Bd>>>24]]^Od[pd[Bd>>>16&255]]^Md[pd[Bd>>>8&255]]^Ud[pd[Bd&255]]}}},encryptBlock:function(Bd,Gd){this._doCryptBlock(Bd,Gd,this._keySchedule,md,vd,Ad,Nd,pd)},decryptBlock:function(Bd,Gd){var qd=Bd[Gd+1];Bd[Gd+1]=Bd[Gd+3],Bd[Gd+3]=qd,this._doCryptBlock(Bd,Gd,this._invKeySchedule,Id,Od,Md,Ud,fd);var qd=Bd[Gd+1];Bd[Gd+1]=Bd[Gd+3],Bd[Gd+3]=qd},_doCryptBlock:function(Bd,Gd,qd,zd,Xd,gf,Yd,Zd){for(var df=this._nRounds,Ef=Bd[Gd]^qd[0],_f=Bd[Gd+1]^qd[1],xf=Bd[Gd+2]^qd[2],vf=Bd[Gd+3]^qd[3],Af=4,Df=1;Df<df;Df++){var jf=zd[Ef>>>24]^Xd[_f>>>16&255]^gf[xf>>>8&255]^Yd[vf&255]^qd[Af++],Jf=zd[_f>>>24]^Xd[xf>>>16&255]^gf[vf>>>8&255]^Yd[Ef&255]^qd[Af++],eh=zd[xf>>>24]^Xd[vf>>>16&255]^gf[Ef>>>8&255]^Yd[_f&255]^qd[Af++],th=zd[vf>>>24]^Xd[Ef>>>16&255]^gf[_f>>>8&255]^Yd[xf&255]^qd[Af++];Ef=jf,_f=Jf,xf=eh,vf=th}var jf=(Zd[Ef>>>24]<<24|Zd[_f>>>16&255]<<16|Zd[xf>>>8&255]<<8|Zd[vf&255])^qd[Af++],Jf=(Zd[_f>>>24]<<24|Zd[xf>>>16&255]<<16|Zd[vf>>>8&255]<<8|Zd[Ef&255])^qd[Af++],eh=(Zd[xf>>>24]<<24|Zd[vf>>>16&255]<<16|Zd[Ef>>>8&255]<<8|Zd[_f&255])^qd[Af++],th=(Zd[vf>>>24]<<24|Zd[Ef>>>16&255]<<16|Zd[_f>>>8&255]<<8|Zd[xf&255])^qd[Af++];Bd[Gd]=jf,Bd[Gd+1]=Jf,Bd[Gd+2]=eh,Bd[Gd+3]=th},keySize:256/32});od.AES=ud._createHelper(Ld)}(),nd.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,dd=ld.BlockCipher,pd=od.algo,fd=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],md=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],vd=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],Ad=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Nd=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Id=pd.DES=dd.extend({_doReset:function(){for(var jd=this._key,Ld=jd.words,Bd=[],Gd=0;Gd<56;Gd++){var qd=fd[Gd]-1;Bd[Gd]=Ld[qd>>>5]>>>31-qd%32&1}for(var zd=this._subKeys=[],Xd=0;Xd<16;Xd++){for(var gf=zd[Xd]=[],Yd=vd[Xd],Gd=0;Gd<24;Gd++)gf[Gd/6|0]|=Bd[(md[Gd]-1+Yd)%28]<<31-Gd%6,gf[4+(Gd/6|0)]|=Bd[28+(md[Gd+24]-1+Yd)%28]<<31-Gd%6;gf[0]=gf[0]<<1|gf[0]>>>31;for(var Gd=1;Gd<7;Gd++)gf[Gd]=gf[Gd]>>>(Gd-1)*4+3;gf[7]=gf[7]<<5|gf[7]>>>27}for(var Zd=this._invSubKeys=[],Gd=0;Gd<16;Gd++)Zd[Gd]=zd[15-Gd]},encryptBlock:function(jd,Ld){this._doCryptBlock(jd,Ld,this._subKeys)},decryptBlock:function(jd,Ld){this._doCryptBlock(jd,Ld,this._invSubKeys)},_doCryptBlock:function(jd,Ld,Bd){this._lBlock=jd[Ld],this._rBlock=jd[Ld+1],Od.call(this,4,252645135),Od.call(this,16,65535),Md.call(this,2,858993459),Md.call(this,8,16711935),Od.call(this,1,1431655765);for(var Gd=0;Gd<16;Gd++){for(var qd=Bd[Gd],zd=this._lBlock,Xd=this._rBlock,gf=0,Yd=0;Yd<8;Yd++)gf|=Ad[Yd][((Xd^qd[Yd])&Nd[Yd])>>>0];this._lBlock=Xd,this._rBlock=zd^gf}var Zd=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Zd,Od.call(this,1,1431655765),Md.call(this,8,16711935),Md.call(this,2,858993459),Od.call(this,16,65535),Od.call(this,4,252645135),jd[Ld]=this._lBlock,jd[Ld+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function Od(jd,Ld){var Bd=(this._lBlock>>>jd^this._rBlock)&Ld;this._rBlock^=Bd,this._lBlock^=Bd<<jd}function Md(jd,Ld){var Bd=(this._rBlock>>>jd^this._lBlock)&Ld;this._lBlock^=Bd,this._rBlock^=Bd<<jd}od.DES=dd._createHelper(Id);var Ud=pd.TripleDES=dd.extend({_doReset:function(){var jd=this._key,Ld=jd.words;if(Ld.length!==2&&Ld.length!==4&&Ld.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var Bd=Ld.slice(0,2),Gd=Ld.length<4?Ld.slice(0,2):Ld.slice(2,4),qd=Ld.length<6?Ld.slice(0,2):Ld.slice(4,6);this._des1=Id.createEncryptor(ud.create(Bd)),this._des2=Id.createEncryptor(ud.create(Gd)),this._des3=Id.createEncryptor(ud.create(qd))},encryptBlock:function(jd,Ld){this._des1.encryptBlock(jd,Ld),this._des2.decryptBlock(jd,Ld),this._des3.encryptBlock(jd,Ld)},decryptBlock:function(jd,Ld){this._des3.decryptBlock(jd,Ld),this._des2.encryptBlock(jd,Ld),this._des1.decryptBlock(jd,Ld)},keySize:192/32,ivSize:64/32,blockSize:64/32});od.TripleDES=dd._createHelper(Ud)}(),nd.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=dd.RC4=ud.extend({_doReset:function(){for(var vd=this._key,Ad=vd.words,Nd=vd.sigBytes,Id=this._S=[],Od=0;Od<256;Od++)Id[Od]=Od;for(var Od=0,Md=0;Od<256;Od++){var Ud=Od%Nd,jd=Ad[Ud>>>2]>>>24-Ud%4*8&255;Md=(Md+Id[Od]+jd)%256;var Ld=Id[Od];Id[Od]=Id[Md],Id[Md]=Ld}this._i=this._j=0},_doProcessBlock:function(vd,Ad){vd[Ad]^=fd.call(this)},keySize:256/32,ivSize:0});function fd(){for(var vd=this._S,Ad=this._i,Nd=this._j,Id=0,Od=0;Od<4;Od++){Ad=(Ad+1)%256,Nd=(Nd+vd[Ad])%256;var Md=vd[Ad];vd[Ad]=vd[Nd],vd[Nd]=Md,Id|=vd[(vd[Ad]+vd[Nd])%256]<<24-Od*8}return this._i=Ad,this._j=Nd,Id}od.RC4=ud._createHelper(pd);var md=dd.RC4Drop=pd.extend({cfg:pd.cfg.extend({drop:192}),_doReset:function(){pd._doReset.call(this);for(var vd=this.cfg.drop;vd>0;vd--)fd.call(this)}});od.RC4Drop=ud._createHelper(md)}(),nd.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.Rabbit=ud.extend({_doReset:function(){for(var Nd=this._key.words,Id=this.cfg.iv,Od=0;Od<4;Od++)Nd[Od]=(Nd[Od]<<8|Nd[Od]>>>24)&16711935|(Nd[Od]<<24|Nd[Od]>>>8)&4278255360;var Md=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Ud=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var Od=0;Od<4;Od++)Ad.call(this);for(var Od=0;Od<8;Od++)Ud[Od]^=Md[Od+4&7];if(Id){var jd=Id.words,Ld=jd[0],Bd=jd[1],Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,qd=(Bd<<8|Bd>>>24)&16711935|(Bd<<24|Bd>>>8)&4278255360,zd=Gd>>>16|qd&4294901760,Xd=qd<<16|Gd&65535;Ud[0]^=Gd,Ud[1]^=zd,Ud[2]^=qd,Ud[3]^=Xd,Ud[4]^=Gd,Ud[5]^=zd,Ud[6]^=qd,Ud[7]^=Xd;for(var Od=0;Od<4;Od++)Ad.call(this)}},_doProcessBlock:function(Nd,Id){var Od=this._X;Ad.call(this),pd[0]=Od[0]^Od[5]>>>16^Od[3]<<16,pd[1]=Od[2]^Od[7]>>>16^Od[5]<<16,pd[2]=Od[4]^Od[1]>>>16^Od[7]<<16,pd[3]=Od[6]^Od[3]>>>16^Od[1]<<16;for(var Md=0;Md<4;Md++)pd[Md]=(pd[Md]<<8|pd[Md]>>>24)&16711935|(pd[Md]<<24|pd[Md]>>>8)&4278255360,Nd[Id+Md]^=pd[Md]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Id=this._C,Od=0;Od<8;Od++)fd[Od]=Id[Od];Id[0]=Id[0]+1295307597+this._b|0,Id[1]=Id[1]+3545052371+(Id[0]>>>0<fd[0]>>>0?1:0)|0,Id[2]=Id[2]+886263092+(Id[1]>>>0<fd[1]>>>0?1:0)|0,Id[3]=Id[3]+1295307597+(Id[2]>>>0<fd[2]>>>0?1:0)|0,Id[4]=Id[4]+3545052371+(Id[3]>>>0<fd[3]>>>0?1:0)|0,Id[5]=Id[5]+886263092+(Id[4]>>>0<fd[4]>>>0?1:0)|0,Id[6]=Id[6]+1295307597+(Id[5]>>>0<fd[5]>>>0?1:0)|0,Id[7]=Id[7]+3545052371+(Id[6]>>>0<fd[6]>>>0?1:0)|0,this._b=Id[7]>>>0<fd[7]>>>0?1:0;for(var Od=0;Od<8;Od++){var Md=Nd[Od]+Id[Od],Ud=Md&65535,jd=Md>>>16,Ld=((Ud*Ud>>>17)+Ud*jd>>>15)+jd*jd,Bd=((Md&4294901760)*Md|0)+((Md&65535)*Md|0);md[Od]=Ld^Bd}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.Rabbit=ud._createHelper(vd)}(),nd.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,dd=od.algo,pd=[],fd=[],md=[],vd=dd.RabbitLegacy=ud.extend({_doReset:function(){var Nd=this._key.words,Id=this.cfg.iv,Od=this._X=[Nd[0],Nd[3]<<16|Nd[2]>>>16,Nd[1],Nd[0]<<16|Nd[3]>>>16,Nd[2],Nd[1]<<16|Nd[0]>>>16,Nd[3],Nd[2]<<16|Nd[1]>>>16],Md=this._C=[Nd[2]<<16|Nd[2]>>>16,Nd[0]&4294901760|Nd[1]&65535,Nd[3]<<16|Nd[3]>>>16,Nd[1]&4294901760|Nd[2]&65535,Nd[0]<<16|Nd[0]>>>16,Nd[2]&4294901760|Nd[3]&65535,Nd[1]<<16|Nd[1]>>>16,Nd[3]&4294901760|Nd[0]&65535];this._b=0;for(var Ud=0;Ud<4;Ud++)Ad.call(this);for(var Ud=0;Ud<8;Ud++)Md[Ud]^=Od[Ud+4&7];if(Id){var jd=Id.words,Ld=jd[0],Bd=jd[1],Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,qd=(Bd<<8|Bd>>>24)&16711935|(Bd<<24|Bd>>>8)&4278255360,zd=Gd>>>16|qd&4294901760,Xd=qd<<16|Gd&65535;Md[0]^=Gd,Md[1]^=zd,Md[2]^=qd,Md[3]^=Xd,Md[4]^=Gd,Md[5]^=zd,Md[6]^=qd,Md[7]^=Xd;for(var Ud=0;Ud<4;Ud++)Ad.call(this)}},_doProcessBlock:function(Nd,Id){var Od=this._X;Ad.call(this),pd[0]=Od[0]^Od[5]>>>16^Od[3]<<16,pd[1]=Od[2]^Od[7]>>>16^Od[5]<<16,pd[2]=Od[4]^Od[1]>>>16^Od[7]<<16,pd[3]=Od[6]^Od[3]>>>16^Od[1]<<16;for(var Md=0;Md<4;Md++)pd[Md]=(pd[Md]<<8|pd[Md]>>>24)&16711935|(pd[Md]<<24|pd[Md]>>>8)&4278255360,Nd[Id+Md]^=pd[Md]},blockSize:128/32,ivSize:64/32});function Ad(){for(var Nd=this._X,Id=this._C,Od=0;Od<8;Od++)fd[Od]=Id[Od];Id[0]=Id[0]+1295307597+this._b|0,Id[1]=Id[1]+3545052371+(Id[0]>>>0<fd[0]>>>0?1:0)|0,Id[2]=Id[2]+886263092+(Id[1]>>>0<fd[1]>>>0?1:0)|0,Id[3]=Id[3]+1295307597+(Id[2]>>>0<fd[2]>>>0?1:0)|0,Id[4]=Id[4]+3545052371+(Id[3]>>>0<fd[3]>>>0?1:0)|0,Id[5]=Id[5]+886263092+(Id[4]>>>0<fd[4]>>>0?1:0)|0,Id[6]=Id[6]+1295307597+(Id[5]>>>0<fd[5]>>>0?1:0)|0,Id[7]=Id[7]+3545052371+(Id[6]>>>0<fd[6]>>>0?1:0)|0,this._b=Id[7]>>>0<fd[7]>>>0?1:0;for(var Od=0;Od<8;Od++){var Md=Nd[Od]+Id[Od],Ud=Md&65535,jd=Md>>>16,Ld=((Ud*Ud>>>17)+Ud*jd>>>15)+jd*jd,Bd=((Md&4294901760)*Md|0)+((Md&65535)*Md|0);md[Od]=Ld^Bd}Nd[0]=md[0]+(md[7]<<16|md[7]>>>16)+(md[6]<<16|md[6]>>>16)|0,Nd[1]=md[1]+(md[0]<<8|md[0]>>>24)+md[7]|0,Nd[2]=md[2]+(md[1]<<16|md[1]>>>16)+(md[0]<<16|md[0]>>>16)|0,Nd[3]=md[3]+(md[2]<<8|md[2]>>>24)+md[1]|0,Nd[4]=md[4]+(md[3]<<16|md[3]>>>16)+(md[2]<<16|md[2]>>>16)|0,Nd[5]=md[5]+(md[4]<<8|md[4]>>>24)+md[3]|0,Nd[6]=md[6]+(md[5]<<16|md[5]>>>16)+(md[4]<<16|md[4]>>>16)|0,Nd[7]=md[7]+(md[6]<<8|md[6]>>>24)+md[5]|0}od.RabbitLegacy=ud._createHelper(vd)}(),nd.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,dd=od.algo;const pd=16,fd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],md=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var vd={pbox:[],sbox:[]};function Ad(Ud,jd){let Ld=jd>>24&255,Bd=jd>>16&255,Gd=jd>>8&255,qd=jd&255,zd=Ud.sbox[0][Ld]+Ud.sbox[1][Bd];return zd=zd^Ud.sbox[2][Gd],zd=zd+Ud.sbox[3][qd],zd}function Nd(Ud,jd,Ld){let Bd=jd,Gd=Ld,qd;for(let zd=0;zd<pd;++zd)Bd=Bd^Ud.pbox[zd],Gd=Ad(Ud,Bd)^Gd,qd=Bd,Bd=Gd,Gd=qd;return qd=Bd,Bd=Gd,Gd=qd,Gd=Gd^Ud.pbox[pd],Bd=Bd^Ud.pbox[pd+1],{left:Bd,right:Gd}}function Id(Ud,jd,Ld){let Bd=jd,Gd=Ld,qd;for(let zd=pd+1;zd>1;--zd)Bd=Bd^Ud.pbox[zd],Gd=Ad(Ud,Bd)^Gd,qd=Bd,Bd=Gd,Gd=qd;return qd=Bd,Bd=Gd,Gd=qd,Gd=Gd^Ud.pbox[1],Bd=Bd^Ud.pbox[0],{left:Bd,right:Gd}}function Od(Ud,jd,Ld){for(let Xd=0;Xd<4;Xd++){Ud.sbox[Xd]=[];for(let gf=0;gf<256;gf++)Ud.sbox[Xd][gf]=md[Xd][gf]}let Bd=0;for(let Xd=0;Xd<pd+2;Xd++)Ud.pbox[Xd]=fd[Xd]^jd[Bd],Bd++,Bd>=Ld&&(Bd=0);let Gd=0,qd=0,zd=0;for(let Xd=0;Xd<pd+2;Xd+=2)zd=Nd(Ud,Gd,qd),Gd=zd.left,qd=zd.right,Ud.pbox[Xd]=Gd,Ud.pbox[Xd+1]=qd;for(let Xd=0;Xd<4;Xd++)for(let gf=0;gf<256;gf+=2)zd=Nd(Ud,Gd,qd),Gd=zd.left,qd=zd.right,Ud.sbox[Xd][gf]=Gd,Ud.sbox[Xd][gf+1]=qd;return!0}var Md=dd.Blowfish=ud.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var Ud=this._keyPriorReset=this._key,jd=Ud.words,Ld=Ud.sigBytes/4;Od(vd,jd,Ld)}},encryptBlock:function(Ud,jd){var Ld=Nd(vd,Ud[jd],Ud[jd+1]);Ud[jd]=Ld.left,Ud[jd+1]=Ld.right},decryptBlock:function(Ud,jd){var Ld=Id(vd,Ud[jd],Ud[jd+1]);Ud[jd]=Ld.left,Ud[jd+1]=Ld.right},blockSize:64/32,keySize:128/32,ivSize:64/32});od.Blowfish=ud._createHelper(Md)}(),nd.Blowfish})}(blowfish)),blowfish.exports}(function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core(),requireLibTypedarrays(),requireEncUtf16(),requireEncBase64(),requireEncBase64url(),requireMd5$1(),requireSha1(),requireSha256(),requireSha224(),requireSha512(),requireSha384(),requireSha3(),requireRipemd160(),requireHmac(),requirePbkdf2(),requireEvpkdf(),requireCipherCore(),requireModeCfb(),requireModeCtr(),requireModeCtrGladman(),requireModeOfb(),requireModeEcb(),requirePadAnsix923(),requirePadIso10126(),requirePadIso97971(),requirePadZeropadding(),requirePadNopadding(),requireFormatHex(),requireAes(),requireTripledes(),requireRc4(),requireRabbit(),requireRabbitLegacy(),requireBlowfish())})(commonjsGlobal,function(nd){return nd})})(cryptoJs);var cryptoJsExports=cryptoJs.exports;const CryptoJS=getDefaultExportFromCjs(cryptoJsExports);var define_process_default$7={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function assertPath(Ra){if(typeof Ra!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(Ra))}function normalizeStringPosix(Ra,qa){for(var nd="",od=0,ld=-1,ud=0,dd,pd=0;pd<=Ra.length;++pd){if(pd<Ra.length)dd=Ra.charCodeAt(pd);else{if(dd===47)break;dd=47}if(dd===47){if(!(ld===pd-1||ud===1))if(ld!==pd-1&&ud===2){if(nd.length<2||od!==2||nd.charCodeAt(nd.length-1)!==46||nd.charCodeAt(nd.length-2)!==46){if(nd.length>2){var fd=nd.lastIndexOf("/");if(fd!==nd.length-1){fd===-1?(nd="",od=0):(nd=nd.slice(0,fd),od=nd.length-1-nd.lastIndexOf("/")),ld=pd,ud=0;continue}}else if(nd.length===2||nd.length===1){nd="",od=0,ld=pd,ud=0;continue}}qa&&(nd.length>0?nd+="/..":nd="..",od=2)}else nd.length>0?nd+="/"+Ra.slice(ld+1,pd):nd=Ra.slice(ld+1,pd),od=pd-ld-1;ld=pd,ud=0}else dd===46&&ud!==-1?++ud:ud=-1}return nd}function _format(Ra,qa){var nd=qa.dir||qa.root,od=qa.base||(qa.name||"")+(qa.ext||"");return nd?nd===qa.root?nd+od:nd+Ra+od:od}var posix={resolve:function(){for(var qa="",nd=!1,od,ld=arguments.length-1;ld>=-1&&!nd;ld--){var ud;ld>=0?ud=arguments[ld]:(od===void 0&&(od=define_process_default$7.cwd()),ud=od),assertPath(ud),ud.length!==0&&(qa=ud+"/"+qa,nd=ud.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!nd),nd?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var nd=qa.charCodeAt(0)===47,od=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!nd),qa.length===0&&!nd&&(qa="."),qa.length>0&&od&&(qa+="/"),nd?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,nd=0;nd<arguments.length;++nd){var od=arguments[nd];assertPath(od),od.length>0&&(qa===void 0?qa=od:qa+="/"+od)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,nd){if(assertPath(qa),assertPath(nd),qa===nd||(qa=posix.resolve(qa),nd=posix.resolve(nd),qa===nd))return"";for(var od=1;od<qa.length&&qa.charCodeAt(od)===47;++od);for(var ld=qa.length,ud=ld-od,dd=1;dd<nd.length&&nd.charCodeAt(dd)===47;++dd);for(var pd=nd.length,fd=pd-dd,md=ud<fd?ud:fd,vd=-1,Ad=0;Ad<=md;++Ad){if(Ad===md){if(fd>md){if(nd.charCodeAt(dd+Ad)===47)return nd.slice(dd+Ad+1);if(Ad===0)return nd.slice(dd+Ad)}else ud>md&&(qa.charCodeAt(od+Ad)===47?vd=Ad:Ad===0&&(vd=0));break}var Nd=qa.charCodeAt(od+Ad),Id=nd.charCodeAt(dd+Ad);if(Nd!==Id)break;Nd===47&&(vd=Ad)}var Od="";for(Ad=od+vd+1;Ad<=ld;++Ad)(Ad===ld||qa.charCodeAt(Ad)===47)&&(Od.length===0?Od+="..":Od+="/..");return Od.length>0?Od+nd.slice(dd+vd):(dd+=vd,nd.charCodeAt(dd)===47&&++dd,nd.slice(dd))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var nd=qa.charCodeAt(0),od=nd===47,ld=-1,ud=!0,dd=qa.length-1;dd>=1;--dd)if(nd=qa.charCodeAt(dd),nd===47){if(!ud){ld=dd;break}}else ud=!1;return ld===-1?od?"/":".":od&&ld===1?"//":qa.slice(0,ld)},basename:function(qa,nd){if(nd!==void 0&&typeof nd!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var od=0,ld=-1,ud=!0,dd;if(nd!==void 0&&nd.length>0&&nd.length<=qa.length){if(nd.length===qa.length&&nd===qa)return"";var pd=nd.length-1,fd=-1;for(dd=qa.length-1;dd>=0;--dd){var md=qa.charCodeAt(dd);if(md===47){if(!ud){od=dd+1;break}}else fd===-1&&(ud=!1,fd=dd+1),pd>=0&&(md===nd.charCodeAt(pd)?--pd===-1&&(ld=dd):(pd=-1,ld=fd))}return od===ld?ld=fd:ld===-1&&(ld=qa.length),qa.slice(od,ld)}else{for(dd=qa.length-1;dd>=0;--dd)if(qa.charCodeAt(dd)===47){if(!ud){od=dd+1;break}}else ld===-1&&(ud=!1,ld=dd+1);return ld===-1?"":qa.slice(od,ld)}},extname:function(qa){assertPath(qa);for(var nd=-1,od=0,ld=-1,ud=!0,dd=0,pd=qa.length-1;pd>=0;--pd){var fd=qa.charCodeAt(pd);if(fd===47){if(!ud){od=pd+1;break}continue}ld===-1&&(ud=!1,ld=pd+1),fd===46?nd===-1?nd=pd:dd!==1&&(dd=1):nd!==-1&&(dd=-1)}return nd===-1||ld===-1||dd===0||dd===1&&nd===ld-1&&nd===od+1?"":qa.slice(nd,ld)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var nd={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return nd;var od=qa.charCodeAt(0),ld=od===47,ud;ld?(nd.root="/",ud=1):ud=0;for(var dd=-1,pd=0,fd=-1,md=!0,vd=qa.length-1,Ad=0;vd>=ud;--vd){if(od=qa.charCodeAt(vd),od===47){if(!md){pd=vd+1;break}continue}fd===-1&&(md=!1,fd=vd+1),od===46?dd===-1?dd=vd:Ad!==1&&(Ad=1):dd!==-1&&(Ad=-1)}return dd===-1||fd===-1||Ad===0||Ad===1&&dd===fd-1&&dd===pd+1?fd!==-1&&(pd===0&&ld?nd.base=nd.name=qa.slice(1,fd):nd.base=nd.name=qa.slice(pd,fd)):(pd===0&&ld?(nd.name=qa.slice(1,dd),nd.base=qa.slice(1,fd)):(nd.name=qa.slice(pd,dd),nd.base=qa.slice(pd,fd)),nd.ext=qa.slice(dd,fd)),pd>0?nd.dir=qa.slice(0,pd-1):ld&&(nd.dir="/"),nd},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,events={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function(qa,nd,od){return Function.prototype.apply.call(qa,nd,od)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa).concat(Object.getOwnPropertySymbols(qa))}:ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa)};function ProcessEmitWarning(Ra){console&&console.warn&&console.warn(Ra)}var NumberIsNaN=Number.isNaN||function(qa){return qa!==qa};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once$3;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Ra){if(typeof Ra!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ra)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Ra){if(typeof Ra!="number"||Ra<0||NumberIsNaN(Ra))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ra+".");defaultMaxListeners=Ra}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(qa){if(typeof qa!="number"||qa<0||NumberIsNaN(qa))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+qa+".");return this._maxListeners=qa,this};function _getMaxListeners(Ra){return Ra._maxListeners===void 0?EventEmitter.defaultMaxListeners:Ra._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(qa){for(var nd=[],od=1;od<arguments.length;od++)nd.push(arguments[od]);var ld=qa==="error",ud=this._events;if(ud!==void 0)ld=ld&&ud.error===void 0;else if(!ld)return!1;if(ld){var dd;if(nd.length>0&&(dd=nd[0]),dd instanceof Error)throw dd;var pd=new Error("Unhandled error."+(dd?" ("+dd.message+")":""));throw pd.context=dd,pd}var fd=ud[qa];if(fd===void 0)return!1;if(typeof fd=="function")ReflectApply(fd,this,nd);else for(var md=fd.length,vd=arrayClone(fd,md),od=0;od<md;++od)ReflectApply(vd[od],this,nd);return!0};function _addListener(Ra,qa,nd,od){var ld,ud,dd;if(checkListener(nd),ud=Ra._events,ud===void 0?(ud=Ra._events=Object.create(null),Ra._eventsCount=0):(ud.newListener!==void 0&&(Ra.emit("newListener",qa,nd.listener?nd.listener:nd),ud=Ra._events),dd=ud[qa]),dd===void 0)dd=ud[qa]=nd,++Ra._eventsCount;else if(typeof dd=="function"?dd=ud[qa]=od?[nd,dd]:[dd,nd]:od?dd.unshift(nd):dd.push(nd),ld=_getMaxListeners(Ra),ld>0&&dd.length>ld&&!dd.warned){dd.warned=!0;var pd=new Error("Possible EventEmitter memory leak detected. "+dd.length+" "+String(qa)+" listeners added. Use emitter.setMaxListeners() to increase limit");pd.name="MaxListenersExceededWarning",pd.emitter=Ra,pd.type=qa,pd.count=dd.length,ProcessEmitWarning(pd)}return Ra}EventEmitter.prototype.addListener=function(qa,nd){return _addListener(this,qa,nd,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(qa,nd){return _addListener(this,qa,nd,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Ra,qa,nd){var od={fired:!1,wrapFn:void 0,target:Ra,type:qa,listener:nd},ld=onceWrapper.bind(od);return ld.listener=nd,od.wrapFn=ld,ld}EventEmitter.prototype.once=function(qa,nd){return checkListener(nd),this.on(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.prependOnceListener=function(qa,nd){return checkListener(nd),this.prependListener(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.removeListener=function(qa,nd){var od,ld,ud,dd,pd;if(checkListener(nd),ld=this._events,ld===void 0)return this;if(od=ld[qa],od===void 0)return this;if(od===nd||od.listener===nd)--this._eventsCount===0?this._events=Object.create(null):(delete ld[qa],ld.removeListener&&this.emit("removeListener",qa,od.listener||nd));else if(typeof od!="function"){for(ud=-1,dd=od.length-1;dd>=0;dd--)if(od[dd]===nd||od[dd].listener===nd){pd=od[dd].listener,ud=dd;break}if(ud<0)return this;ud===0?od.shift():spliceOne(od,ud),od.length===1&&(ld[qa]=od[0]),ld.removeListener!==void 0&&this.emit("removeListener",qa,pd||nd)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(qa){var nd,od,ld;if(od=this._events,od===void 0)return this;if(od.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):od[qa]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete od[qa]),this;if(arguments.length===0){var ud=Object.keys(od),dd;for(ld=0;ld<ud.length;++ld)dd=ud[ld],dd!=="removeListener"&&this.removeAllListeners(dd);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(nd=od[qa],typeof nd=="function")this.removeListener(qa,nd);else if(nd!==void 0)for(ld=nd.length-1;ld>=0;ld--)this.removeListener(qa,nd[ld]);return this};function _listeners(Ra,qa,nd){var od=Ra._events;if(od===void 0)return[];var ld=od[qa];return ld===void 0?[]:typeof ld=="function"?nd?[ld.listener||ld]:[ld]:nd?unwrapListeners(ld):arrayClone(ld,ld.length)}EventEmitter.prototype.listeners=function(qa){return _listeners(this,qa,!0)};EventEmitter.prototype.rawListeners=function(qa){return _listeners(this,qa,!1)};EventEmitter.listenerCount=function(Ra,qa){return typeof Ra.listenerCount=="function"?Ra.listenerCount(qa):listenerCount.call(Ra,qa)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(Ra){var qa=this._events;if(qa!==void 0){var nd=qa[Ra];if(typeof nd=="function")return 1;if(nd!==void 0)return nd.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Ra,qa){for(var nd=new Array(qa),od=0;od<qa;++od)nd[od]=Ra[od];return nd}function spliceOne(Ra,qa){for(;qa+1<Ra.length;qa++)Ra[qa]=Ra[qa+1];Ra.pop()}function unwrapListeners(Ra){for(var qa=new Array(Ra.length),nd=0;nd<qa.length;++nd)qa[nd]=Ra[nd].listener||Ra[nd];return qa}function once$3(Ra,qa){return new Promise(function(nd,od){function ld(dd){Ra.removeListener(qa,ud),od(dd)}function ud(){typeof Ra.removeListener=="function"&&Ra.removeListener("error",ld),nd([].slice.call(arguments))}eventTargetAgnosticAddListener(Ra,qa,ud,{once:!0}),qa!=="error"&&addErrorHandlerIfEventEmitter(Ra,ld,{once:!0})})}function addErrorHandlerIfEventEmitter(Ra,qa,nd){typeof Ra.on=="function"&&eventTargetAgnosticAddListener(Ra,"error",qa,nd)}function eventTargetAgnosticAddListener(Ra,qa,nd,od){if(typeof Ra.on=="function")od.once?Ra.once(qa,nd):Ra.on(qa,nd);else if(typeof Ra.addEventListener=="function")Ra.addEventListener(qa,function ld(ud){od.once&&Ra.removeEventListener(qa,ld),nd(ud)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Ra)}var eventsExports=events.exports,inherits_browser={exports:{}};typeof Object.create=="function"?inherits_browser.exports=function(qa,nd){nd&&(qa.super_=nd,qa.prototype=Object.create(nd.prototype,{constructor:{value:qa,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(qa,nd){if(nd){qa.super_=nd;var od=function(){};od.prototype=nd.prototype,qa.prototype=new od,qa.prototype.constructor=qa}};var inherits_browserExports=inherits_browser.exports,streamBrowser=eventsExports.EventEmitter,buffer={},base64Js={},hasRequiredBase64Js;function requireBase64Js(){if(hasRequiredBase64Js)return base64Js;hasRequiredBase64Js=1,base64Js.byteLength=pd,base64Js.toByteArray=md,base64Js.fromByteArray=Nd;for(var Ra=[],qa=[],nd=typeof Uint8Array<"u"?Uint8Array:Array,od="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ld=0,ud=od.length;ld<ud;++ld)Ra[ld]=od[ld],qa[od.charCodeAt(ld)]=ld;qa[45]=62,qa[95]=63;function dd(Id){var Od=Id.length;if(Od%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Md=Id.indexOf("=");Md===-1&&(Md=Od);var Ud=Md===Od?0:4-Md%4;return[Md,Ud]}function pd(Id){var Od=dd(Id),Md=Od[0],Ud=Od[1];return(Md+Ud)*3/4-Ud}function fd(Id,Od,Md){return(Od+Md)*3/4-Md}function md(Id){var Od,Md=dd(Id),Ud=Md[0],jd=Md[1],Ld=new nd(fd(Id,Ud,jd)),Bd=0,Gd=jd>0?Ud-4:Ud,qd;for(qd=0;qd<Gd;qd+=4)Od=qa[Id.charCodeAt(qd)]<<18|qa[Id.charCodeAt(qd+1)]<<12|qa[Id.charCodeAt(qd+2)]<<6|qa[Id.charCodeAt(qd+3)],Ld[Bd++]=Od>>16&255,Ld[Bd++]=Od>>8&255,Ld[Bd++]=Od&255;return jd===2&&(Od=qa[Id.charCodeAt(qd)]<<2|qa[Id.charCodeAt(qd+1)]>>4,Ld[Bd++]=Od&255),jd===1&&(Od=qa[Id.charCodeAt(qd)]<<10|qa[Id.charCodeAt(qd+1)]<<4|qa[Id.charCodeAt(qd+2)]>>2,Ld[Bd++]=Od>>8&255,Ld[Bd++]=Od&255),Ld}function vd(Id){return Ra[Id>>18&63]+Ra[Id>>12&63]+Ra[Id>>6&63]+Ra[Id&63]}function Ad(Id,Od,Md){for(var Ud,jd=[],Ld=Od;Ld<Md;Ld+=3)Ud=(Id[Ld]<<16&16711680)+(Id[Ld+1]<<8&65280)+(Id[Ld+2]&255),jd.push(vd(Ud));return jd.join("")}function Nd(Id){for(var Od,Md=Id.length,Ud=Md%3,jd=[],Ld=16383,Bd=0,Gd=Md-Ud;Bd<Gd;Bd+=Ld)jd.push(Ad(Id,Bd,Bd+Ld>Gd?Gd:Bd+Ld));return Ud===1?(Od=Id[Md-1],jd.push(Ra[Od>>2]+Ra[Od<<4&63]+"==")):Ud===2&&(Od=(Id[Md-2]<<8)+Id[Md-1],jd.push(Ra[Od>>10]+Ra[Od>>4&63]+Ra[Od<<2&63]+"=")),jd.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(Ra,qa,nd,od,ld){var ud,dd,pd=ld*8-od-1,fd=(1<<pd)-1,md=fd>>1,vd=-7,Ad=nd?ld-1:0,Nd=nd?-1:1,Id=Ra[qa+Ad];for(Ad+=Nd,ud=Id&(1<<-vd)-1,Id>>=-vd,vd+=pd;vd>0;ud=ud*256+Ra[qa+Ad],Ad+=Nd,vd-=8);for(dd=ud&(1<<-vd)-1,ud>>=-vd,vd+=od;vd>0;dd=dd*256+Ra[qa+Ad],Ad+=Nd,vd-=8);if(ud===0)ud=1-md;else{if(ud===fd)return dd?NaN:(Id?-1:1)*(1/0);dd=dd+Math.pow(2,od),ud=ud-md}return(Id?-1:1)*dd*Math.pow(2,ud-od)};ieee754.write=function(Ra,qa,nd,od,ld,ud){var dd,pd,fd,md=ud*8-ld-1,vd=(1<<md)-1,Ad=vd>>1,Nd=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Id=od?0:ud-1,Od=od?1:-1,Md=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(pd=isNaN(qa)?1:0,dd=vd):(dd=Math.floor(Math.log(qa)/Math.LN2),qa*(fd=Math.pow(2,-dd))<1&&(dd--,fd*=2),dd+Ad>=1?qa+=Nd/fd:qa+=Nd*Math.pow(2,1-Ad),qa*fd>=2&&(dd++,fd/=2),dd+Ad>=vd?(pd=0,dd=vd):dd+Ad>=1?(pd=(qa*fd-1)*Math.pow(2,ld),dd=dd+Ad):(pd=qa*Math.pow(2,Ad-1)*Math.pow(2,ld),dd=0));ld>=8;Ra[nd+Id]=pd&255,Id+=Od,pd/=256,ld-=8);for(dd=dd<<ld|pd,md+=ld;md>0;Ra[nd+Id]=dd&255,Id+=Od,dd/=256,md-=8);Ra[nd+Id-Od]|=Md*128};/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/(function(Ra){var qa=requireBase64Js(),nd=ieee754,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=pd,Ra.SlowBuffer=Ld,Ra.INSPECT_MAX_BYTES=50;var ld=2147483647;Ra.kMaxLength=ld,pd.TYPED_ARRAY_SUPPORT=ud(),!pd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ud(){try{var Zf=new Uint8Array(1),Rf={foo:function(){return 42}};return Object.setPrototypeOf(Rf,Uint8Array.prototype),Object.setPrototypeOf(Zf,Rf),Zf.foo()===42}catch{return!1}}Object.defineProperty(pd.prototype,"parent",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.buffer}}),Object.defineProperty(pd.prototype,"offset",{enumerable:!0,get:function(){if(pd.isBuffer(this))return this.byteOffset}});function dd(Zf){if(Zf>ld)throw new RangeError('The value "'+Zf+'" is invalid for option "size"');var Rf=new Uint8Array(Zf);return Object.setPrototypeOf(Rf,pd.prototype),Rf}function pd(Zf,Rf,Bf){if(typeof Zf=="number"){if(typeof Rf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Ad(Zf)}return fd(Zf,Rf,Bf)}pd.poolSize=8192;function fd(Zf,Rf,Bf){if(typeof Zf=="string")return Nd(Zf,Rf);if(ArrayBuffer.isView(Zf))return Od(Zf);if(Zf==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Zf);if(Nf(Zf,ArrayBuffer)||Zf&&Nf(Zf.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Nf(Zf,SharedArrayBuffer)||Zf&&Nf(Zf.buffer,SharedArrayBuffer)))return Md(Zf,Rf,Bf);if(typeof Zf=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Kf=Zf.valueOf&&Zf.valueOf();if(Kf!=null&&Kf!==Zf)return pd.from(Kf,Rf,Bf);var wh=Ud(Zf);if(wh)return wh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Zf[Symbol.toPrimitive]=="function")return pd.from(Zf[Symbol.toPrimitive]("string"),Rf,Bf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Zf)}pd.from=function(Zf,Rf,Bf){return fd(Zf,Rf,Bf)},Object.setPrototypeOf(pd.prototype,Uint8Array.prototype),Object.setPrototypeOf(pd,Uint8Array);function md(Zf){if(typeof Zf!="number")throw new TypeError('"size" argument must be of type number');if(Zf<0)throw new RangeError('The value "'+Zf+'" is invalid for option "size"')}function vd(Zf,Rf,Bf){return md(Zf),Zf<=0?dd(Zf):Rf!==void 0?typeof Bf=="string"?dd(Zf).fill(Rf,Bf):dd(Zf).fill(Rf):dd(Zf)}pd.alloc=function(Zf,Rf,Bf){return vd(Zf,Rf,Bf)};function Ad(Zf){return md(Zf),dd(Zf<0?0:jd(Zf)|0)}pd.allocUnsafe=function(Zf){return Ad(Zf)},pd.allocUnsafeSlow=function(Zf){return Ad(Zf)};function Nd(Zf,Rf){if((typeof Rf!="string"||Rf==="")&&(Rf="utf8"),!pd.isEncoding(Rf))throw new TypeError("Unknown encoding: "+Rf);var Bf=Bd(Zf,Rf)|0,Kf=dd(Bf),wh=Kf.write(Zf,Rf);return wh!==Bf&&(Kf=Kf.slice(0,wh)),Kf}function Id(Zf){for(var Rf=Zf.length<0?0:jd(Zf.length)|0,Bf=dd(Rf),Kf=0;Kf<Rf;Kf+=1)Bf[Kf]=Zf[Kf]&255;return Bf}function Od(Zf){if(Nf(Zf,Uint8Array)){var Rf=new Uint8Array(Zf);return Md(Rf.buffer,Rf.byteOffset,Rf.byteLength)}return Id(Zf)}function Md(Zf,Rf,Bf){if(Rf<0||Zf.byteLength<Rf)throw new RangeError('"offset" is outside of buffer bounds');if(Zf.byteLength<Rf+(Bf||0))throw new RangeError('"length" is outside of buffer bounds');var Kf;return Rf===void 0&&Bf===void 0?Kf=new Uint8Array(Zf):Bf===void 0?Kf=new Uint8Array(Zf,Rf):Kf=new Uint8Array(Zf,Rf,Bf),Object.setPrototypeOf(Kf,pd.prototype),Kf}function Ud(Zf){if(pd.isBuffer(Zf)){var Rf=jd(Zf.length)|0,Bf=dd(Rf);return Bf.length===0||Zf.copy(Bf,0,0,Rf),Bf}if(Zf.length!==void 0)return typeof Zf.length!="number"||ph(Zf.length)?dd(0):Id(Zf);if(Zf.type==="Buffer"&&Array.isArray(Zf.data))return Id(Zf.data)}function jd(Zf){if(Zf>=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return Zf|0}function Ld(Zf){return+Zf!=Zf&&(Zf=0),pd.alloc(+Zf)}pd.isBuffer=function(Rf){return Rf!=null&&Rf._isBuffer===!0&&Rf!==pd.prototype},pd.compare=function(Rf,Bf){if(Nf(Rf,Uint8Array)&&(Rf=pd.from(Rf,Rf.offset,Rf.byteLength)),Nf(Bf,Uint8Array)&&(Bf=pd.from(Bf,Bf.offset,Bf.byteLength)),!pd.isBuffer(Rf)||!pd.isBuffer(Bf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Rf===Bf)return 0;for(var Kf=Rf.length,wh=Bf.length,Ah=0,mh=Math.min(Kf,wh);Ah<mh;++Ah)if(Rf[Ah]!==Bf[Ah]){Kf=Rf[Ah],wh=Bf[Ah];break}return Kf<wh?-1:wh<Kf?1:0},pd.isEncoding=function(Rf){switch(String(Rf).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},pd.concat=function(Rf,Bf){if(!Array.isArray(Rf))throw new TypeError('"list" argument must be an Array of Buffers');if(Rf.length===0)return pd.alloc(0);var Kf;if(Bf===void 0)for(Bf=0,Kf=0;Kf<Rf.length;++Kf)Bf+=Rf[Kf].length;var wh=pd.allocUnsafe(Bf),Ah=0;for(Kf=0;Kf<Rf.length;++Kf){var mh=Rf[Kf];if(Nf(mh,Uint8Array))Ah+mh.length>wh.length?pd.from(mh).copy(wh,Ah):Uint8Array.prototype.set.call(wh,mh,Ah);else if(pd.isBuffer(mh))mh.copy(wh,Ah);else throw new TypeError('"list" argument must be an Array of Buffers');Ah+=mh.length}return wh};function Bd(Zf,Rf){if(pd.isBuffer(Zf))return Zf.length;if(ArrayBuffer.isView(Zf)||Nf(Zf,ArrayBuffer))return Zf.byteLength;if(typeof Zf!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Zf);var Bf=Zf.length,Kf=arguments.length>2&&arguments[2]===!0;if(!Kf&&Bf===0)return 0;for(var wh=!1;;)switch(Rf){case"ascii":case"latin1":case"binary":return Bf;case"utf8":case"utf-8":return Sf(Zf).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Bf*2;case"hex":return Bf>>>1;case"base64":return Th(Zf).length;default:if(wh)return Kf?-1:Sf(Zf).length;Rf=(""+Rf).toLowerCase(),wh=!0}}pd.byteLength=Bd;function Gd(Zf,Rf,Bf){var Kf=!1;if((Rf===void 0||Rf<0)&&(Rf=0),Rf>this.length||((Bf===void 0||Bf>this.length)&&(Bf=this.length),Bf<=0)||(Bf>>>=0,Rf>>>=0,Bf<=Rf))return"";for(Zf||(Zf="utf8");;)switch(Zf){case"hex":return Jf(this,Rf,Bf);case"utf8":case"utf-8":return xf(this,Rf,Bf);case"ascii":return Df(this,Rf,Bf);case"latin1":case"binary":return jf(this,Rf,Bf);case"base64":return _f(this,Rf,Bf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eh(this,Rf,Bf);default:if(Kf)throw new TypeError("Unknown encoding: "+Zf);Zf=(Zf+"").toLowerCase(),Kf=!0}}pd.prototype._isBuffer=!0;function qd(Zf,Rf,Bf){var Kf=Zf[Rf];Zf[Rf]=Zf[Bf],Zf[Bf]=Kf}pd.prototype.swap16=function(){var Rf=this.length;if(Rf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Bf=0;Bf<Rf;Bf+=2)qd(this,Bf,Bf+1);return this},pd.prototype.swap32=function(){var Rf=this.length;if(Rf%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Bf=0;Bf<Rf;Bf+=4)qd(this,Bf,Bf+3),qd(this,Bf+1,Bf+2);return this},pd.prototype.swap64=function(){var Rf=this.length;if(Rf%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Bf=0;Bf<Rf;Bf+=8)qd(this,Bf,Bf+7),qd(this,Bf+1,Bf+6),qd(this,Bf+2,Bf+5),qd(this,Bf+3,Bf+4);return this},pd.prototype.toString=function(){var Rf=this.length;return Rf===0?"":arguments.length===0?xf(this,0,Rf):Gd.apply(this,arguments)},pd.prototype.toLocaleString=pd.prototype.toString,pd.prototype.equals=function(Rf){if(!pd.isBuffer(Rf))throw new TypeError("Argument must be a Buffer");return this===Rf?!0:pd.compare(this,Rf)===0},pd.prototype.inspect=function(){var Rf="",Bf=Ra.INSPECT_MAX_BYTES;return Rf=this.toString("hex",0,Bf).replace(/(.{2})/g,"$1 ").trim(),this.length>Bf&&(Rf+=" ... "),"<Buffer "+Rf+">"},od&&(pd.prototype[od]=pd.prototype.inspect),pd.prototype.compare=function(Rf,Bf,Kf,wh,Ah){if(Nf(Rf,Uint8Array)&&(Rf=pd.from(Rf,Rf.offset,Rf.byteLength)),!pd.isBuffer(Rf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Rf);if(Bf===void 0&&(Bf=0),Kf===void 0&&(Kf=Rf?Rf.length:0),wh===void 0&&(wh=0),Ah===void 0&&(Ah=this.length),Bf<0||Kf>Rf.length||wh<0||Ah>this.length)throw new RangeError("out of range index");if(wh>=Ah&&Bf>=Kf)return 0;if(wh>=Ah)return-1;if(Bf>=Kf)return 1;if(Bf>>>=0,Kf>>>=0,wh>>>=0,Ah>>>=0,this===Rf)return 0;for(var mh=Ah-wh,im=Kf-Bf,Bh=Math.min(mh,im),Tm=this.slice(wh,Ah),Pm=Rf.slice(Bf,Kf),gm=0;gm<Bh;++gm)if(Tm[gm]!==Pm[gm]){mh=Tm[gm],im=Pm[gm];break}return mh<im?-1:im<mh?1:0};function zd(Zf,Rf,Bf,Kf,wh){if(Zf.length===0)return-1;if(typeof Bf=="string"?(Kf=Bf,Bf=0):Bf>2147483647?Bf=2147483647:Bf<-2147483648&&(Bf=-2147483648),Bf=+Bf,ph(Bf)&&(Bf=wh?0:Zf.length-1),Bf<0&&(Bf=Zf.length+Bf),Bf>=Zf.length){if(wh)return-1;Bf=Zf.length-1}else if(Bf<0)if(wh)Bf=0;else return-1;if(typeof Rf=="string"&&(Rf=pd.from(Rf,Kf)),pd.isBuffer(Rf))return Rf.length===0?-1:Xd(Zf,Rf,Bf,Kf,wh);if(typeof Rf=="number")return Rf=Rf&255,typeof Uint8Array.prototype.indexOf=="function"?wh?Uint8Array.prototype.indexOf.call(Zf,Rf,Bf):Uint8Array.prototype.lastIndexOf.call(Zf,Rf,Bf):Xd(Zf,[Rf],Bf,Kf,wh);throw new TypeError("val must be string, number or Buffer")}function Xd(Zf,Rf,Bf,Kf,wh){var Ah=1,mh=Zf.length,im=Rf.length;if(Kf!==void 0&&(Kf=String(Kf).toLowerCase(),Kf==="ucs2"||Kf==="ucs-2"||Kf==="utf16le"||Kf==="utf-16le")){if(Zf.length<2||Rf.length<2)return-1;Ah=2,mh/=2,im/=2,Bf/=2}function Bh(Hm,gh){return Ah===1?Hm[gh]:Hm.readUInt16BE(gh*Ah)}var Tm;if(wh){var Pm=-1;for(Tm=Bf;Tm<mh;Tm++)if(Bh(Zf,Tm)===Bh(Rf,Pm===-1?0:Tm-Pm)){if(Pm===-1&&(Pm=Tm),Tm-Pm+1===im)return Pm*Ah}else Pm!==-1&&(Tm-=Tm-Pm),Pm=-1}else for(Bf+im>mh&&(Bf=mh-im),Tm=Bf;Tm>=0;Tm--){for(var gm=!0,Mm=0;Mm<im;Mm++)if(Bh(Zf,Tm+Mm)!==Bh(Rf,Mm)){gm=!1;break}if(gm)return Tm}return-1}pd.prototype.includes=function(Rf,Bf,Kf){return this.indexOf(Rf,Bf,Kf)!==-1},pd.prototype.indexOf=function(Rf,Bf,Kf){return zd(this,Rf,Bf,Kf,!0)},pd.prototype.lastIndexOf=function(Rf,Bf,Kf){return zd(this,Rf,Bf,Kf,!1)};function gf(Zf,Rf,Bf,Kf){Bf=Number(Bf)||0;var wh=Zf.length-Bf;Kf?(Kf=Number(Kf),Kf>wh&&(Kf=wh)):Kf=wh;var Ah=Rf.length;Kf>Ah/2&&(Kf=Ah/2);for(var mh=0;mh<Kf;++mh){var im=parseInt(Rf.substr(mh*2,2),16);if(ph(im))return mh;Zf[Bf+mh]=im}return mh}function Yd(Zf,Rf,Bf,Kf){return sh(Sf(Rf,Zf.length-Bf),Zf,Bf,Kf)}function Zd(Zf,Rf,Bf,Kf){return sh(Yf(Rf),Zf,Bf,Kf)}function df(Zf,Rf,Bf,Kf){return sh(Th(Rf),Zf,Bf,Kf)}function Ef(Zf,Rf,Bf,Kf){return sh(ih(Rf,Zf.length-Bf),Zf,Bf,Kf)}pd.prototype.write=function(Rf,Bf,Kf,wh){if(Bf===void 0)wh="utf8",Kf=this.length,Bf=0;else if(Kf===void 0&&typeof Bf=="string")wh=Bf,Kf=this.length,Bf=0;else if(isFinite(Bf))Bf=Bf>>>0,isFinite(Kf)?(Kf=Kf>>>0,wh===void 0&&(wh="utf8")):(wh=Kf,Kf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ah=this.length-Bf;if((Kf===void 0||Kf>Ah)&&(Kf=Ah),Rf.length>0&&(Kf<0||Bf<0)||Bf>this.length)throw new RangeError("Attempt to write outside buffer bounds");wh||(wh="utf8");for(var mh=!1;;)switch(wh){case"hex":return gf(this,Rf,Bf,Kf);case"utf8":case"utf-8":return Yd(this,Rf,Bf,Kf);case"ascii":case"latin1":case"binary":return Zd(this,Rf,Bf,Kf);case"base64":return df(this,Rf,Bf,Kf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ef(this,Rf,Bf,Kf);default:if(mh)throw new TypeError("Unknown encoding: "+wh);wh=(""+wh).toLowerCase(),mh=!0}},pd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _f(Zf,Rf,Bf){return Rf===0&&Bf===Zf.length?qa.fromByteArray(Zf):qa.fromByteArray(Zf.slice(Rf,Bf))}function xf(Zf,Rf,Bf){Bf=Math.min(Zf.length,Bf);for(var Kf=[],wh=Rf;wh<Bf;){var Ah=Zf[wh],mh=null,im=Ah>239?4:Ah>223?3:Ah>191?2:1;if(wh+im<=Bf){var Bh,Tm,Pm,gm;switch(im){case 1:Ah<128&&(mh=Ah);break;case 2:Bh=Zf[wh+1],(Bh&192)===128&&(gm=(Ah&31)<<6|Bh&63,gm>127&&(mh=gm));break;case 3:Bh=Zf[wh+1],Tm=Zf[wh+2],(Bh&192)===128&&(Tm&192)===128&&(gm=(Ah&15)<<12|(Bh&63)<<6|Tm&63,gm>2047&&(gm<55296||gm>57343)&&(mh=gm));break;case 4:Bh=Zf[wh+1],Tm=Zf[wh+2],Pm=Zf[wh+3],(Bh&192)===128&&(Tm&192)===128&&(Pm&192)===128&&(gm=(Ah&15)<<18|(Bh&63)<<12|(Tm&63)<<6|Pm&63,gm>65535&&gm<1114112&&(mh=gm))}}mh===null?(mh=65533,im=1):mh>65535&&(mh-=65536,Kf.push(mh>>>10&1023|55296),mh=56320|mh&1023),Kf.push(mh),wh+=im}return Af(Kf)}var vf=4096;function Af(Zf){var Rf=Zf.length;if(Rf<=vf)return String.fromCharCode.apply(String,Zf);for(var Bf="",Kf=0;Kf<Rf;)Bf+=String.fromCharCode.apply(String,Zf.slice(Kf,Kf+=vf));return Bf}function Df(Zf,Rf,Bf){var Kf="";Bf=Math.min(Zf.length,Bf);for(var wh=Rf;wh<Bf;++wh)Kf+=String.fromCharCode(Zf[wh]&127);return Kf}function jf(Zf,Rf,Bf){var Kf="";Bf=Math.min(Zf.length,Bf);for(var wh=Rf;wh<Bf;++wh)Kf+=String.fromCharCode(Zf[wh]);return Kf}function Jf(Zf,Rf,Bf){var Kf=Zf.length;(!Rf||Rf<0)&&(Rf=0),(!Bf||Bf<0||Bf>Kf)&&(Bf=Kf);for(var wh="",Ah=Rf;Ah<Bf;++Ah)wh+=Oh[Zf[Ah]];return wh}function eh(Zf,Rf,Bf){for(var Kf=Zf.slice(Rf,Bf),wh="",Ah=0;Ah<Kf.length-1;Ah+=2)wh+=String.fromCharCode(Kf[Ah]+Kf[Ah+1]*256);return wh}pd.prototype.slice=function(Rf,Bf){var Kf=this.length;Rf=~~Rf,Bf=Bf===void 0?Kf:~~Bf,Rf<0?(Rf+=Kf,Rf<0&&(Rf=0)):Rf>Kf&&(Rf=Kf),Bf<0?(Bf+=Kf,Bf<0&&(Bf=0)):Bf>Kf&&(Bf=Kf),Bf<Rf&&(Bf=Rf);var wh=this.subarray(Rf,Bf);return Object.setPrototypeOf(wh,pd.prototype),wh};function th(Zf,Rf,Bf){if(Zf%1!==0||Zf<0)throw new RangeError("offset is not uint");if(Zf+Rf>Bf)throw new RangeError("Trying to access beyond buffer length")}pd.prototype.readUintLE=pd.prototype.readUIntLE=function(Rf,Bf,Kf){Rf=Rf>>>0,Bf=Bf>>>0,Kf||th(Rf,Bf,this.length);for(var wh=this[Rf],Ah=1,mh=0;++mh<Bf&&(Ah*=256);)wh+=this[Rf+mh]*Ah;return wh},pd.prototype.readUintBE=pd.prototype.readUIntBE=function(Rf,Bf,Kf){Rf=Rf>>>0,Bf=Bf>>>0,Kf||th(Rf,Bf,this.length);for(var wh=this[Rf+--Bf],Ah=1;Bf>0&&(Ah*=256);)wh+=this[Rf+--Bf]*Ah;return wh},pd.prototype.readUint8=pd.prototype.readUInt8=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,1,this.length),this[Rf]},pd.prototype.readUint16LE=pd.prototype.readUInt16LE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,2,this.length),this[Rf]|this[Rf+1]<<8},pd.prototype.readUint16BE=pd.prototype.readUInt16BE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,2,this.length),this[Rf]<<8|this[Rf+1]},pd.prototype.readUint32LE=pd.prototype.readUInt32LE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,4,this.length),(this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16)+this[Rf+3]*16777216},pd.prototype.readUint32BE=pd.prototype.readUInt32BE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,4,this.length),this[Rf]*16777216+(this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3])},pd.prototype.readIntLE=function(Rf,Bf,Kf){Rf=Rf>>>0,Bf=Bf>>>0,Kf||th(Rf,Bf,this.length);for(var wh=this[Rf],Ah=1,mh=0;++mh<Bf&&(Ah*=256);)wh+=this[Rf+mh]*Ah;return Ah*=128,wh>=Ah&&(wh-=Math.pow(2,8*Bf)),wh},pd.prototype.readIntBE=function(Rf,Bf,Kf){Rf=Rf>>>0,Bf=Bf>>>0,Kf||th(Rf,Bf,this.length);for(var wh=Bf,Ah=1,mh=this[Rf+--wh];wh>0&&(Ah*=256);)mh+=this[Rf+--wh]*Ah;return Ah*=128,mh>=Ah&&(mh-=Math.pow(2,8*Bf)),mh},pd.prototype.readInt8=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,1,this.length),this[Rf]&128?(255-this[Rf]+1)*-1:this[Rf]},pd.prototype.readInt16LE=function(Rf,Bf){Rf=Rf>>>0,Bf||th(Rf,2,this.length);var Kf=this[Rf]|this[Rf+1]<<8;return Kf&32768?Kf|4294901760:Kf},pd.prototype.readInt16BE=function(Rf,Bf){Rf=Rf>>>0,Bf||th(Rf,2,this.length);var Kf=this[Rf+1]|this[Rf]<<8;return Kf&32768?Kf|4294901760:Kf},pd.prototype.readInt32LE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,4,this.length),this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16|this[Rf+3]<<24},pd.prototype.readInt32BE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,4,this.length),this[Rf]<<24|this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3]},pd.prototype.readFloatLE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,4,this.length),nd.read(this,Rf,!0,23,4)},pd.prototype.readFloatBE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,4,this.length),nd.read(this,Rf,!1,23,4)},pd.prototype.readDoubleLE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,8,this.length),nd.read(this,Rf,!0,52,8)},pd.prototype.readDoubleBE=function(Rf,Bf){return Rf=Rf>>>0,Bf||th(Rf,8,this.length),nd.read(this,Rf,!1,52,8)};function Uf(Zf,Rf,Bf,Kf,wh,Ah){if(!pd.isBuffer(Zf))throw new TypeError('"buffer" argument must be a Buffer instance');if(Rf>wh||Rf<Ah)throw new RangeError('"value" argument is out of bounds');if(Bf+Kf>Zf.length)throw new RangeError("Index out of range")}pd.prototype.writeUintLE=pd.prototype.writeUIntLE=function(Rf,Bf,Kf,wh){if(Rf=+Rf,Bf=Bf>>>0,Kf=Kf>>>0,!wh){var Ah=Math.pow(2,8*Kf)-1;Uf(this,Rf,Bf,Kf,Ah,0)}var mh=1,im=0;for(this[Bf]=Rf&255;++im<Kf&&(mh*=256);)this[Bf+im]=Rf/mh&255;return Bf+Kf},pd.prototype.writeUintBE=pd.prototype.writeUIntBE=function(Rf,Bf,Kf,wh){if(Rf=+Rf,Bf=Bf>>>0,Kf=Kf>>>0,!wh){var Ah=Math.pow(2,8*Kf)-1;Uf(this,Rf,Bf,Kf,Ah,0)}var mh=Kf-1,im=1;for(this[Bf+mh]=Rf&255;--mh>=0&&(im*=256);)this[Bf+mh]=Rf/im&255;return Bf+Kf},pd.prototype.writeUint8=pd.prototype.writeUInt8=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,1,255,0),this[Bf]=Rf&255,Bf+1},pd.prototype.writeUint16LE=pd.prototype.writeUInt16LE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,2,65535,0),this[Bf]=Rf&255,this[Bf+1]=Rf>>>8,Bf+2},pd.prototype.writeUint16BE=pd.prototype.writeUInt16BE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,2,65535,0),this[Bf]=Rf>>>8,this[Bf+1]=Rf&255,Bf+2},pd.prototype.writeUint32LE=pd.prototype.writeUInt32LE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,4,4294967295,0),this[Bf+3]=Rf>>>24,this[Bf+2]=Rf>>>16,this[Bf+1]=Rf>>>8,this[Bf]=Rf&255,Bf+4},pd.prototype.writeUint32BE=pd.prototype.writeUInt32BE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,4,4294967295,0),this[Bf]=Rf>>>24,this[Bf+1]=Rf>>>16,this[Bf+2]=Rf>>>8,this[Bf+3]=Rf&255,Bf+4},pd.prototype.writeIntLE=function(Rf,Bf,Kf,wh){if(Rf=+Rf,Bf=Bf>>>0,!wh){var Ah=Math.pow(2,8*Kf-1);Uf(this,Rf,Bf,Kf,Ah-1,-Ah)}var mh=0,im=1,Bh=0;for(this[Bf]=Rf&255;++mh<Kf&&(im*=256);)Rf<0&&Bh===0&&this[Bf+mh-1]!==0&&(Bh=1),this[Bf+mh]=(Rf/im>>0)-Bh&255;return Bf+Kf},pd.prototype.writeIntBE=function(Rf,Bf,Kf,wh){if(Rf=+Rf,Bf=Bf>>>0,!wh){var Ah=Math.pow(2,8*Kf-1);Uf(this,Rf,Bf,Kf,Ah-1,-Ah)}var mh=Kf-1,im=1,Bh=0;for(this[Bf+mh]=Rf&255;--mh>=0&&(im*=256);)Rf<0&&Bh===0&&this[Bf+mh+1]!==0&&(Bh=1),this[Bf+mh]=(Rf/im>>0)-Bh&255;return Bf+Kf},pd.prototype.writeInt8=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,1,127,-128),Rf<0&&(Rf=255+Rf+1),this[Bf]=Rf&255,Bf+1},pd.prototype.writeInt16LE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,2,32767,-32768),this[Bf]=Rf&255,this[Bf+1]=Rf>>>8,Bf+2},pd.prototype.writeInt16BE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,2,32767,-32768),this[Bf]=Rf>>>8,this[Bf+1]=Rf&255,Bf+2},pd.prototype.writeInt32LE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,4,2147483647,-2147483648),this[Bf]=Rf&255,this[Bf+1]=Rf>>>8,this[Bf+2]=Rf>>>16,this[Bf+3]=Rf>>>24,Bf+4},pd.prototype.writeInt32BE=function(Rf,Bf,Kf){return Rf=+Rf,Bf=Bf>>>0,Kf||Uf(this,Rf,Bf,4,2147483647,-2147483648),Rf<0&&(Rf=4294967295+Rf+1),this[Bf]=Rf>>>24,this[Bf+1]=Rf>>>16,this[Bf+2]=Rf>>>8,this[Bf+3]=Rf&255,Bf+4};function Of(Zf,Rf,Bf,Kf,wh,Ah){if(Bf+Kf>Zf.length)throw new RangeError("Index out of range");if(Bf<0)throw new RangeError("Index out of range")}function Wf(Zf,Rf,Bf,Kf,wh){return Rf=+Rf,Bf=Bf>>>0,wh||Of(Zf,Rf,Bf,4),nd.write(Zf,Rf,Bf,Kf,23,4),Bf+4}pd.prototype.writeFloatLE=function(Rf,Bf,Kf){return Wf(this,Rf,Bf,!0,Kf)},pd.prototype.writeFloatBE=function(Rf,Bf,Kf){return Wf(this,Rf,Bf,!1,Kf)};function qf(Zf,Rf,Bf,Kf,wh){return Rf=+Rf,Bf=Bf>>>0,wh||Of(Zf,Rf,Bf,8),nd.write(Zf,Rf,Bf,Kf,52,8),Bf+8}pd.prototype.writeDoubleLE=function(Rf,Bf,Kf){return qf(this,Rf,Bf,!0,Kf)},pd.prototype.writeDoubleBE=function(Rf,Bf,Kf){return qf(this,Rf,Bf,!1,Kf)},pd.prototype.copy=function(Rf,Bf,Kf,wh){if(!pd.isBuffer(Rf))throw new TypeError("argument should be a Buffer");if(Kf||(Kf=0),!wh&&wh!==0&&(wh=this.length),Bf>=Rf.length&&(Bf=Rf.length),Bf||(Bf=0),wh>0&&wh<Kf&&(wh=Kf),wh===Kf||Rf.length===0||this.length===0)return 0;if(Bf<0)throw new RangeError("targetStart out of bounds");if(Kf<0||Kf>=this.length)throw new RangeError("Index out of range");if(wh<0)throw new RangeError("sourceEnd out of bounds");wh>this.length&&(wh=this.length),Rf.length-Bf<wh-Kf&&(wh=Rf.length-Bf+Kf);var Ah=wh-Kf;return this===Rf&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Bf,Kf,wh):Uint8Array.prototype.set.call(Rf,this.subarray(Kf,wh),Bf),Ah},pd.prototype.fill=function(Rf,Bf,Kf,wh){if(typeof Rf=="string"){if(typeof Bf=="string"?(wh=Bf,Bf=0,Kf=this.length):typeof Kf=="string"&&(wh=Kf,Kf=this.length),wh!==void 0&&typeof wh!="string")throw new TypeError("encoding must be a string");if(typeof wh=="string"&&!pd.isEncoding(wh))throw new TypeError("Unknown encoding: "+wh);if(Rf.length===1){var Ah=Rf.charCodeAt(0);(wh==="utf8"&&Ah<128||wh==="latin1")&&(Rf=Ah)}}else typeof Rf=="number"?Rf=Rf&255:typeof Rf=="boolean"&&(Rf=Number(Rf));if(Bf<0||this.length<Bf||this.length<Kf)throw new RangeError("Out of range index");if(Kf<=Bf)return this;Bf=Bf>>>0,Kf=Kf===void 0?this.length:Kf>>>0,Rf||(Rf=0);var mh;if(typeof Rf=="number")for(mh=Bf;mh<Kf;++mh)this[mh]=Rf;else{var im=pd.isBuffer(Rf)?Rf:pd.from(Rf,wh),Bh=im.length;if(Bh===0)throw new TypeError('The value "'+Rf+'" is invalid for argument "value"');for(mh=0;mh<Kf-Bf;++mh)this[mh+Bf]=im[mh%Bh]}return this};var zf=/[^+/0-9A-Za-z-_]/g;function Tf(Zf){if(Zf=Zf.split("=")[0],Zf=Zf.trim().replace(zf,""),Zf.length<2)return"";for(;Zf.length%4!==0;)Zf=Zf+"=";return Zf}function Sf(Zf,Rf){Rf=Rf||1/0;for(var Bf,Kf=Zf.length,wh=null,Ah=[],mh=0;mh<Kf;++mh){if(Bf=Zf.charCodeAt(mh),Bf>55295&&Bf<57344){if(!wh){if(Bf>56319){(Rf-=3)>-1&&Ah.push(239,191,189);continue}else if(mh+1===Kf){(Rf-=3)>-1&&Ah.push(239,191,189);continue}wh=Bf;continue}if(Bf<56320){(Rf-=3)>-1&&Ah.push(239,191,189),wh=Bf;continue}Bf=(wh-55296<<10|Bf-56320)+65536}else wh&&(Rf-=3)>-1&&Ah.push(239,191,189);if(wh=null,Bf<128){if((Rf-=1)<0)break;Ah.push(Bf)}else if(Bf<2048){if((Rf-=2)<0)break;Ah.push(Bf>>6|192,Bf&63|128)}else if(Bf<65536){if((Rf-=3)<0)break;Ah.push(Bf>>12|224,Bf>>6&63|128,Bf&63|128)}else if(Bf<1114112){if((Rf-=4)<0)break;Ah.push(Bf>>18|240,Bf>>12&63|128,Bf>>6&63|128,Bf&63|128)}else throw new Error("Invalid code point")}return Ah}function Yf(Zf){for(var Rf=[],Bf=0;Bf<Zf.length;++Bf)Rf.push(Zf.charCodeAt(Bf)&255);return Rf}function ih(Zf,Rf){for(var Bf,Kf,wh,Ah=[],mh=0;mh<Zf.length&&!((Rf-=2)<0);++mh)Bf=Zf.charCodeAt(mh),Kf=Bf>>8,wh=Bf%256,Ah.push(wh),Ah.push(Kf);return Ah}function Th(Zf){return qa.toByteArray(Tf(Zf))}function sh(Zf,Rf,Bf,Kf){for(var wh=0;wh<Kf&&!(wh+Bf>=Rf.length||wh>=Zf.length);++wh)Rf[wh+Bf]=Zf[wh];return wh}function Nf(Zf,Rf){return Zf instanceof Rf||Zf!=null&&Zf.constructor!=null&&Zf.constructor.name!=null&&Zf.constructor.name===Rf.name}function ph(Zf){return Zf!==Zf}var Oh=function(){for(var Zf="0123456789abcdef",Rf=new Array(256),Bf=0;Bf<16;++Bf)for(var Kf=Bf*16,wh=0;wh<16;++wh)Rf[Kf+wh]=Zf[Bf]+Zf[wh];return Rf}()})(buffer);var util$5={},types={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},nd=Symbol("test"),od=Object(nd);if(typeof nd=="string"||Object.prototype.toString.call(nd)!=="[object Symbol]"||Object.prototype.toString.call(od)!=="[object Symbol]")return!1;var ld=42;qa[nd]=ld;for(nd in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var ud=Object.getOwnPropertySymbols(qa);if(ud.length!==1||ud[0]!==nd||!Object.prototype.propertyIsEnumerable.call(qa,nd))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var dd=Object.getOwnPropertyDescriptor(qa,nd);if(dd.value!==ld||dd.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,nd){for(var od=[],ld=0;ld<qa.length;ld+=1)od[ld]=qa[ld];for(var ud=0;ud<nd.length;ud+=1)od[ud+qa.length]=nd[ud];return od},slicy=function(qa,nd){for(var od=[],ld=nd,ud=0;ld<qa.length;ld+=1,ud+=1)od[ud]=qa[ld];return od},joiny=function(Ra,qa){for(var nd="",od=0;od<Ra.length;od+=1)nd+=Ra[od],od+1<Ra.length&&(nd+=qa);return nd},implementation$1=function(qa){var nd=this;if(typeof nd!="function"||toStr$3.apply(nd)!==funcType)throw new TypeError(ERROR_MESSAGE+nd);for(var od=slicy(arguments,1),ld,ud=function(){if(this instanceof ld){var vd=nd.apply(this,concatty(od,arguments));return Object(vd)===vd?vd:this}return nd.apply(qa,concatty(od,arguments))},dd=max(0,nd.length-od.length),pd=[],fd=0;fd<dd;fd++)pd[fd]="$"+fd;if(ld=Function("binder","return function ("+joiny(pd,",")+"){ return binder.apply(this,arguments); }")(ud),nd.prototype){var md=function(){};md.prototype=nd.prototype,ld.prototype=new md,md.prototype=null}return ld},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,call$1=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind$1=functionBind,hasown=bind$1.call(call$1,$hasOwn),undefined$1,$Error=esErrors,$EvalError=_eval,$RangeError=range$1,$ReferenceError=ref,$SyntaxError$1=syntax,$TypeError$2=type,$URIError=uri,$Function=Function,getEvalledConstructor=function(Ra){try{return $Function('"use strict"; return ('+Ra+").constructor;")()}catch{}},$gOPD$1=Object.getOwnPropertyDescriptor;if($gOPD$1)try{$gOPD$1({},"")}catch{$gOPD$1=null}var throwTypeError=function(){throw new $TypeError$2},ThrowTypeError=$gOPD$1?function(){try{return arguments.callee,throwTypeError}catch{try{return $gOPD$1(arguments,"callee").get}catch{return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),hasProto=hasProto$1(),getProto$1=Object.getPrototypeOf||(hasProto?function(Ra){return Ra.__proto__}:null),needsEval={},TypedArray=typeof Uint8Array>"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var nd;if(qa==="%AsyncFunction%")nd=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")nd=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")nd=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var od=Ra("%AsyncGeneratorFunction%");od&&(nd=od.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var ld=Ra("%AsyncGenerator%");ld&&getProto$1&&(nd=getProto$1(ld.prototype))}return INTRINSICS[qa]=nd,nd},LEGACY_ALIASES={__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"]},bind=functionBind,hasOwn=hasown,$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var nd=$strSlice(qa,0,1),od=$strSlice(qa,-1);if(nd==="%"&&od!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(od==="%"&&nd!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var ld=[];return $replace(qa,rePropName,function(ud,dd,pd,fd){ld[ld.length]=pd?$replace(fd,reEscapeChar,"$1"):dd||ud}),ld},getBaseIntrinsic=function(qa,nd){var od=qa,ld;if(hasOwn(LEGACY_ALIASES,od)&&(ld=LEGACY_ALIASES[od],od="%"+ld[0]+"%"),hasOwn(INTRINSICS,od)){var ud=INTRINSICS[od];if(ud===needsEval&&(ud=doEval(od)),typeof ud>"u"&&!nd)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:ld,name:od,value:ud}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,nd){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof nd!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var od=stringToPath(qa),ld=od.length>0?od[0]:"",ud=getBaseIntrinsic("%"+ld+"%",nd),dd=ud.name,pd=ud.value,fd=!1,md=ud.alias;md&&(ld=md[0],$spliceApply(od,$concat([0,1],md)));for(var vd=1,Ad=!0;vd<od.length;vd+=1){var Nd=od[vd],Id=$strSlice(Nd,0,1),Od=$strSlice(Nd,-1);if((Id==='"'||Id==="'"||Id==="`"||Od==='"'||Od==="'"||Od==="`")&&Id!==Od)throw new $SyntaxError$1("property names with quotes must have matching quotes");if((Nd==="constructor"||!Ad)&&(fd=!0),ld+="."+Nd,dd="%"+ld+"%",hasOwn(INTRINSICS,dd))pd=INTRINSICS[dd];else if(pd!=null){if(!(Nd in pd)){if(!nd)throw new $TypeError$2("base intrinsic for "+qa+" exists, but the property is not available.");return}if($gOPD$1&&vd+1>=od.length){var Md=$gOPD$1(pd,Nd);Ad=!!Md,Ad&&"get"in Md&&!("originalValue"in Md.get)?pd=Md.get:pd=pd[Nd]}else Ad=hasOwn(pd,Nd),pd=pd[Nd];Ad&&!fd&&(INTRINSICS[dd]=pd)}}return pd},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,nd,od){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof nd!="string"&&typeof nd!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var ld=arguments.length>3?arguments[3]:null,ud=arguments.length>4?arguments[4]:null,dd=arguments.length>5?arguments[5]:null,pd=arguments.length>6?arguments[6]:!1,fd=!!gopd&&gopd(qa,nd);if($defineProperty$1)$defineProperty$1(qa,nd,{configurable:dd===null&&fd?fd.configurable:!dd,enumerable:ld===null&&fd?fd.enumerable:!ld,value:od,writable:ud===null&&fd?fd.writable:!ud});else if(pd||!ld&&!ud&&!dd)qa[nd]=od;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,nd){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof nd!="number"||nd<0||nd>4294967295||$floor(nd)!==nd)throw new $TypeError("`length` must be a positive 32-bit integer");var od=arguments.length>2&&!!arguments[2],ld=!0,ud=!0;if("length"in qa&&gOPD$1){var dd=gOPD$1(qa,"length");dd&&!dd.configurable&&(ld=!1),dd&&!dd.writable&&(ud=!1)}return(ld||ud||!od)&&(hasDescriptors?define(qa,"length",nd,!0,!0):define(qa,"length",nd)),qa};(function(Ra){var qa=functionBind,nd=getIntrinsic,od=setFunctionLength,ld=type,ud=nd("%Function.prototype.apply%"),dd=nd("%Function.prototype.call%"),pd=nd("%Reflect.apply%",!0)||qa.call(dd,ud),fd=requireEsDefineProperty(),md=nd("%Math.max%");Ra.exports=function(Nd){if(typeof Nd!="function")throw new ld("a function is required");var Id=pd(qa,dd,arguments);return od(Id,1+md(0,Nd.length-(arguments.length-1)),!0)};var vd=function(){return pd(qa,ud,arguments)};fd?fd(Ra.exports,"apply",{value:vd}):Ra.exports.apply=vd})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,nd){var od=GetIntrinsic(qa,!!nd);return typeof od=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(od):od},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var nd=toStr$2.call(qa);return nd==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var od=getGeneratorFunc();GeneratorFunction=od?getProto(od):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var nd=fnToStr.call(qa);return constructorRegex.test(nd)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var nd=toStr$1.call(qa);return(nd===ddaClass||nd===ddaClass2||nd===ddaClass3||nd===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(nd){if(nd!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var nd=toStr$1.call(qa);return nd!==fnClass&&nd!==genClass&&!/^\[object HTML/.test(nd)?!1:tryFunctionObject(qa)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty$1=Object.prototype.hasOwnProperty,forEachArray=function(qa,nd,od){for(var ld=0,ud=qa.length;ld<ud;ld++)hasOwnProperty$1.call(qa,ld)&&(od==null?nd(qa[ld],ld,qa):nd.call(od,qa[ld],ld,qa))},forEachString=function(qa,nd,od){for(var ld=0,ud=qa.length;ld<ud;ld++)od==null?nd(qa.charAt(ld),ld,qa):nd.call(od,qa.charAt(ld),ld,qa)},forEachObject=function(qa,nd,od){for(var ld in qa)hasOwnProperty$1.call(qa,ld)&&(od==null?nd(qa[ld],ld,qa):nd.call(od,qa[ld],ld,qa))},forEach$1=function(qa,nd,od){if(!isCallable(nd))throw new TypeError("iterator must be a function");var ld;arguments.length>=3&&(ld=od),toStr.call(qa)==="[object Array]"?forEachArray(qa,nd,ld):typeof qa=="string"?forEachString(qa,nd,ld):forEachObject(qa,nd,ld)},forEach_1=forEach$1,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],nd=0;nd<possibleNames.length;nd++)typeof g$1[possibleNames[nd]]=="function"&&(qa[qa.length]=possibleNames[nd]);return qa},forEach=forEach_1,availableTypedArrays=availableTypedArrays$1,callBind=callBindExports,callBound=callBound$2,gOPD=gopd$1,$toString=callBound("Object.prototype.toString"),hasToStringTag=shams(),g=typeof globalThis>"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,nd){for(var od=0;od<qa.length;od+=1)if(qa[od]===nd)return od;return-1},cache={__proto__:null};hasToStringTag&&gOPD&&getPrototypeOf?forEach(typedArrays,function(Ra){var qa=new g[Ra];if(Symbol.toStringTag in qa){var nd=getPrototypeOf(qa),od=gOPD(nd,Symbol.toStringTag);if(!od){var ld=getPrototypeOf(nd);od=gOPD(ld,Symbol.toStringTag)}cache["$"+Ra]=callBind(od.get)}}):forEach(typedArrays,function(Ra){var qa=new g[Ra],nd=qa.slice||qa.set;nd&&(cache["$"+Ra]=callBind(nd))});var tryTypedArrays=function(qa){var nd=!1;return forEach(cache,function(od,ld){if(!nd)try{"$"+od(qa)===ld&&(nd=$slice(ld,1))}catch{}}),nd},trySlices=function(qa){var nd=!1;return forEach(cache,function(od,ld){if(!nd)try{od(qa),nd=$slice(ld,1)}catch{}}),nd},whichTypedArray$1=function(qa){if(!qa||typeof qa!="object")return!1;if(!hasToStringTag){var nd=$slice($toString(qa),8,-1);return $indexOf(typedArrays,nd)>-1?nd:nd!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,nd=isGeneratorFunction,od=whichTypedArray$1,ld=isTypedArray;function ud(Kf){return Kf.call.bind(Kf)}var dd=typeof BigInt<"u",pd=typeof Symbol<"u",fd=ud(Object.prototype.toString),md=ud(Number.prototype.valueOf),vd=ud(String.prototype.valueOf),Ad=ud(Boolean.prototype.valueOf);if(dd)var Nd=ud(BigInt.prototype.valueOf);if(pd)var Id=ud(Symbol.prototype.valueOf);function Od(Kf,wh){if(typeof Kf!="object")return!1;try{return wh(Kf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=nd,Ra.isTypedArray=ld;function Md(Kf){return typeof Promise<"u"&&Kf instanceof Promise||Kf!==null&&typeof Kf=="object"&&typeof Kf.then=="function"&&typeof Kf.catch=="function"}Ra.isPromise=Md;function Ud(Kf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Kf):ld(Kf)||Of(Kf)}Ra.isArrayBufferView=Ud;function jd(Kf){return od(Kf)==="Uint8Array"}Ra.isUint8Array=jd;function Ld(Kf){return od(Kf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Ld;function Bd(Kf){return od(Kf)==="Uint16Array"}Ra.isUint16Array=Bd;function Gd(Kf){return od(Kf)==="Uint32Array"}Ra.isUint32Array=Gd;function qd(Kf){return od(Kf)==="Int8Array"}Ra.isInt8Array=qd;function zd(Kf){return od(Kf)==="Int16Array"}Ra.isInt16Array=zd;function Xd(Kf){return od(Kf)==="Int32Array"}Ra.isInt32Array=Xd;function gf(Kf){return od(Kf)==="Float32Array"}Ra.isFloat32Array=gf;function Yd(Kf){return od(Kf)==="Float64Array"}Ra.isFloat64Array=Yd;function Zd(Kf){return od(Kf)==="BigInt64Array"}Ra.isBigInt64Array=Zd;function df(Kf){return od(Kf)==="BigUint64Array"}Ra.isBigUint64Array=df;function Ef(Kf){return fd(Kf)==="[object Map]"}Ef.working=typeof Map<"u"&&Ef(new Map);function _f(Kf){return typeof Map>"u"?!1:Ef.working?Ef(Kf):Kf instanceof Map}Ra.isMap=_f;function xf(Kf){return fd(Kf)==="[object Set]"}xf.working=typeof Set<"u"&&xf(new Set);function vf(Kf){return typeof Set>"u"?!1:xf.working?xf(Kf):Kf instanceof Set}Ra.isSet=vf;function Af(Kf){return fd(Kf)==="[object WeakMap]"}Af.working=typeof WeakMap<"u"&&Af(new WeakMap);function Df(Kf){return typeof WeakMap>"u"?!1:Af.working?Af(Kf):Kf instanceof WeakMap}Ra.isWeakMap=Df;function jf(Kf){return fd(Kf)==="[object WeakSet]"}jf.working=typeof WeakSet<"u"&&jf(new WeakSet);function Jf(Kf){return jf(Kf)}Ra.isWeakSet=Jf;function eh(Kf){return fd(Kf)==="[object ArrayBuffer]"}eh.working=typeof ArrayBuffer<"u"&&eh(new ArrayBuffer);function th(Kf){return typeof ArrayBuffer>"u"?!1:eh.working?eh(Kf):Kf instanceof ArrayBuffer}Ra.isArrayBuffer=th;function Uf(Kf){return fd(Kf)==="[object DataView]"}Uf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Uf(new DataView(new ArrayBuffer(1),0,1));function Of(Kf){return typeof DataView>"u"?!1:Uf.working?Uf(Kf):Kf instanceof DataView}Ra.isDataView=Of;var Wf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function qf(Kf){return fd(Kf)==="[object SharedArrayBuffer]"}function zf(Kf){return typeof Wf>"u"?!1:(typeof qf.working>"u"&&(qf.working=qf(new Wf)),qf.working?qf(Kf):Kf instanceof Wf)}Ra.isSharedArrayBuffer=zf;function Tf(Kf){return fd(Kf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Tf;function Sf(Kf){return fd(Kf)==="[object Map Iterator]"}Ra.isMapIterator=Sf;function Yf(Kf){return fd(Kf)==="[object Set Iterator]"}Ra.isSetIterator=Yf;function ih(Kf){return fd(Kf)==="[object Generator]"}Ra.isGeneratorObject=ih;function Th(Kf){return fd(Kf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=Th;function sh(Kf){return Od(Kf,md)}Ra.isNumberObject=sh;function Nf(Kf){return Od(Kf,vd)}Ra.isStringObject=Nf;function ph(Kf){return Od(Kf,Ad)}Ra.isBooleanObject=ph;function Oh(Kf){return dd&&Od(Kf,Nd)}Ra.isBigIntObject=Oh;function Zf(Kf){return pd&&Od(Kf,Id)}Ra.isSymbolObject=Zf;function Rf(Kf){return sh(Kf)||Nf(Kf)||ph(Kf)||Oh(Kf)||Zf(Kf)}Ra.isBoxedPrimitive=Rf;function Bf(Kf){return typeof Uint8Array<"u"&&(th(Kf)||zf(Kf))}Ra.isAnyArrayBuffer=Bf,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Kf){Object.defineProperty(Ra,Kf,{enumerable:!1,value:function(){throw new Error(Kf+" is not supported in userland")}})})})(types);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},nd={},od=Object.getOwnPropertyDescriptors||function(qf){for(var zf=Object.keys(qf),Tf={},Sf=0;Sf<zf.length;Sf++)Tf[zf[Sf]]=Object.getOwnPropertyDescriptor(qf,zf[Sf]);return Tf},ld=/%[sdj%]/g;Ra.format=function(Wf){if(!Xd(Wf)){for(var qf=[],zf=0;zf<arguments.length;zf++)qf.push(fd(arguments[zf]));return qf.join(" ")}for(var zf=1,Tf=arguments,Sf=Tf.length,Yf=String(Wf).replace(ld,function(Th){if(Th==="%%")return"%";if(zf>=Sf)return Th;switch(Th){case"%s":return String(Tf[zf++]);case"%d":return Number(Tf[zf++]);case"%j":try{return JSON.stringify(Tf[zf++])}catch{return"[Circular]"}default:return Th}}),ih=Tf[zf];zf<Sf;ih=Tf[++zf])Gd(ih)||!df(ih)?Yf+=" "+ih:Yf+=" "+fd(ih);return Yf},Ra.deprecate=function(Wf,qf){if(typeof qa<"u"&&qa.noDeprecation===!0)return Wf;if(typeof qa>"u")return function(){return Ra.deprecate(Wf,qf).apply(this,arguments)};var zf=!1;function Tf(){if(!zf){if(qa.throwDeprecation)throw new Error(qf);qa.traceDeprecation?console.trace(qf):console.error(qf),zf=!0}return Wf.apply(this,arguments)}return Tf};var ud={},dd=/^$/;if(nd.NODE_DEBUG){var pd=nd.NODE_DEBUG;pd=pd.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),dd=new RegExp("^"+pd+"$","i")}Ra.debuglog=function(Wf){if(Wf=Wf.toUpperCase(),!ud[Wf])if(dd.test(Wf)){var qf=qa.pid;ud[Wf]=function(){var zf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Wf,qf,zf)}}else ud[Wf]=function(){};return ud[Wf]};function fd(Wf,qf){var zf={seen:[],stylize:vd};return arguments.length>=3&&(zf.depth=arguments[2]),arguments.length>=4&&(zf.colors=arguments[3]),Bd(qf)?zf.showHidden=qf:qf&&Ra._extend(zf,qf),Yd(zf.showHidden)&&(zf.showHidden=!1),Yd(zf.depth)&&(zf.depth=2),Yd(zf.colors)&&(zf.colors=!1),Yd(zf.customInspect)&&(zf.customInspect=!0),zf.colors&&(zf.stylize=md),Nd(zf,Wf,zf.depth)}Ra.inspect=fd,fd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},fd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function md(Wf,qf){var zf=fd.styles[qf];return zf?"\x1B["+fd.colors[zf][0]+"m"+Wf+"\x1B["+fd.colors[zf][1]+"m":Wf}function vd(Wf,qf){return Wf}function Ad(Wf){var qf={};return Wf.forEach(function(zf,Tf){qf[zf]=!0}),qf}function Nd(Wf,qf,zf){if(Wf.customInspect&&qf&&xf(qf.inspect)&&qf.inspect!==Ra.inspect&&!(qf.constructor&&qf.constructor.prototype===qf)){var Tf=qf.inspect(zf,Wf);return Xd(Tf)||(Tf=Nd(Wf,Tf,zf)),Tf}var Sf=Id(Wf,qf);if(Sf)return Sf;var Yf=Object.keys(qf),ih=Ad(Yf);if(Wf.showHidden&&(Yf=Object.getOwnPropertyNames(qf)),_f(qf)&&(Yf.indexOf("message")>=0||Yf.indexOf("description")>=0))return Od(qf);if(Yf.length===0){if(xf(qf)){var Th=qf.name?": "+qf.name:"";return Wf.stylize("[Function"+Th+"]","special")}if(Zd(qf))return Wf.stylize(RegExp.prototype.toString.call(qf),"regexp");if(Ef(qf))return Wf.stylize(Date.prototype.toString.call(qf),"date");if(_f(qf))return Od(qf)}var sh="",Nf=!1,ph=["{","}"];if(Ld(qf)&&(Nf=!0,ph=["[","]"]),xf(qf)){var Oh=qf.name?": "+qf.name:"";sh=" [Function"+Oh+"]"}if(Zd(qf)&&(sh=" "+RegExp.prototype.toString.call(qf)),Ef(qf)&&(sh=" "+Date.prototype.toUTCString.call(qf)),_f(qf)&&(sh=" "+Od(qf)),Yf.length===0&&(!Nf||qf.length==0))return ph[0]+sh+ph[1];if(zf<0)return Zd(qf)?Wf.stylize(RegExp.prototype.toString.call(qf),"regexp"):Wf.stylize("[Object]","special");Wf.seen.push(qf);var Zf;return Nf?Zf=Md(Wf,qf,zf,ih,Yf):Zf=Yf.map(function(Rf){return Ud(Wf,qf,zf,ih,Rf,Nf)}),Wf.seen.pop(),jd(Zf,sh,ph)}function Id(Wf,qf){if(Yd(qf))return Wf.stylize("undefined","undefined");if(Xd(qf)){var zf="'"+JSON.stringify(qf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Wf.stylize(zf,"string")}if(zd(qf))return Wf.stylize(""+qf,"number");if(Bd(qf))return Wf.stylize(""+qf,"boolean");if(Gd(qf))return Wf.stylize("null","null")}function Od(Wf){return"["+Error.prototype.toString.call(Wf)+"]"}function Md(Wf,qf,zf,Tf,Sf){for(var Yf=[],ih=0,Th=qf.length;ih<Th;++ih)eh(qf,String(ih))?Yf.push(Ud(Wf,qf,zf,Tf,String(ih),!0)):Yf.push("");return Sf.forEach(function(sh){sh.match(/^\d+$/)||Yf.push(Ud(Wf,qf,zf,Tf,sh,!0))}),Yf}function Ud(Wf,qf,zf,Tf,Sf,Yf){var ih,Th,sh;if(sh=Object.getOwnPropertyDescriptor(qf,Sf)||{value:qf[Sf]},sh.get?sh.set?Th=Wf.stylize("[Getter/Setter]","special"):Th=Wf.stylize("[Getter]","special"):sh.set&&(Th=Wf.stylize("[Setter]","special")),eh(Tf,Sf)||(ih="["+Sf+"]"),Th||(Wf.seen.indexOf(sh.value)<0?(Gd(zf)?Th=Nd(Wf,sh.value,null):Th=Nd(Wf,sh.value,zf-1),Th.indexOf(`
|
||
`)>-1&&(Yf?Th=Th.split(`
|
||
`).map(function(Nf){return" "+Nf}).join(`
|
||
`).slice(2):Th=`
|
||
`+Th.split(`
|
||
`).map(function(Nf){return" "+Nf}).join(`
|
||
`))):Th=Wf.stylize("[Circular]","special")),Yd(ih)){if(Yf&&Sf.match(/^\d+$/))return Th;ih=JSON.stringify(""+Sf),ih.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ih=ih.slice(1,-1),ih=Wf.stylize(ih,"name")):(ih=ih.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ih=Wf.stylize(ih,"string"))}return ih+": "+Th}function jd(Wf,qf,zf){var Tf=Wf.reduce(function(Sf,Yf){return Yf.indexOf(`
|
||
`)>=0,Sf+Yf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Tf>60?zf[0]+(qf===""?"":qf+`
|
||
`)+" "+Wf.join(`,
|
||
`)+" "+zf[1]:zf[0]+qf+" "+Wf.join(", ")+" "+zf[1]}Ra.types=types;function Ld(Wf){return Array.isArray(Wf)}Ra.isArray=Ld;function Bd(Wf){return typeof Wf=="boolean"}Ra.isBoolean=Bd;function Gd(Wf){return Wf===null}Ra.isNull=Gd;function qd(Wf){return Wf==null}Ra.isNullOrUndefined=qd;function zd(Wf){return typeof Wf=="number"}Ra.isNumber=zd;function Xd(Wf){return typeof Wf=="string"}Ra.isString=Xd;function gf(Wf){return typeof Wf=="symbol"}Ra.isSymbol=gf;function Yd(Wf){return Wf===void 0}Ra.isUndefined=Yd;function Zd(Wf){return df(Wf)&&Af(Wf)==="[object RegExp]"}Ra.isRegExp=Zd,Ra.types.isRegExp=Zd;function df(Wf){return typeof Wf=="object"&&Wf!==null}Ra.isObject=df;function Ef(Wf){return df(Wf)&&Af(Wf)==="[object Date]"}Ra.isDate=Ef,Ra.types.isDate=Ef;function _f(Wf){return df(Wf)&&(Af(Wf)==="[object Error]"||Wf instanceof Error)}Ra.isError=_f,Ra.types.isNativeError=_f;function xf(Wf){return typeof Wf=="function"}Ra.isFunction=xf;function vf(Wf){return Wf===null||typeof Wf=="boolean"||typeof Wf=="number"||typeof Wf=="string"||typeof Wf=="symbol"||typeof Wf>"u"}Ra.isPrimitive=vf,Ra.isBuffer=isBufferBrowser;function Af(Wf){return Object.prototype.toString.call(Wf)}function Df(Wf){return Wf<10?"0"+Wf.toString(10):Wf.toString(10)}var jf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Jf(){var Wf=new Date,qf=[Df(Wf.getHours()),Df(Wf.getMinutes()),Df(Wf.getSeconds())].join(":");return[Wf.getDate(),jf[Wf.getMonth()],qf].join(" ")}Ra.log=function(){console.log("%s - %s",Jf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Wf,qf){if(!qf||!df(qf))return Wf;for(var zf=Object.keys(qf),Tf=zf.length;Tf--;)Wf[zf[Tf]]=qf[zf[Tf]];return Wf};function eh(Wf,qf){return Object.prototype.hasOwnProperty.call(Wf,qf)}var th=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(qf){if(typeof qf!="function")throw new TypeError('The "original" argument must be of type Function');if(th&&qf[th]){var zf=qf[th];if(typeof zf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(zf,th,{value:zf,enumerable:!1,writable:!1,configurable:!0}),zf}function zf(){for(var Tf,Sf,Yf=new Promise(function(sh,Nf){Tf=sh,Sf=Nf}),ih=[],Th=0;Th<arguments.length;Th++)ih.push(arguments[Th]);ih.push(function(sh,Nf){sh?Sf(sh):Tf(Nf)});try{qf.apply(this,ih)}catch(sh){Sf(sh)}return Yf}return Object.setPrototypeOf(zf,Object.getPrototypeOf(qf)),th&&Object.defineProperty(zf,th,{value:zf,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(zf,od(qf))},Ra.promisify.custom=th;function Uf(Wf,qf){if(!Wf){var zf=new Error("Promise was rejected with a falsy value");zf.reason=Wf,Wf=zf}return qf(Wf)}function Of(Wf){if(typeof Wf!="function")throw new TypeError('The "original" argument must be of type Function');function qf(){for(var zf=[],Tf=0;Tf<arguments.length;Tf++)zf.push(arguments[Tf]);var Sf=zf.pop();if(typeof Sf!="function")throw new TypeError("The last argument must be of type Function");var Yf=this,ih=function(){return Sf.apply(Yf,arguments)};Wf.apply(this,zf).then(function(Th){qa.nextTick(ih.bind(null,null,Th))},function(Th){qa.nextTick(Uf.bind(null,Th,ih))})}return Object.setPrototypeOf(qf,Object.getPrototypeOf(Wf)),Object.defineProperties(qf,od(Wf)),qf}Ra.callbackify=Of})(util$5);var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function Ra(Od,Md){var Ud=Object.keys(Od);if(Object.getOwnPropertySymbols){var jd=Object.getOwnPropertySymbols(Od);Md&&(jd=jd.filter(function(Ld){return Object.getOwnPropertyDescriptor(Od,Ld).enumerable})),Ud.push.apply(Ud,jd)}return Ud}function qa(Od){for(var Md=1;Md<arguments.length;Md++){var Ud=arguments[Md]!=null?arguments[Md]:{};Md%2?Ra(Object(Ud),!0).forEach(function(jd){nd(Od,jd,Ud[jd])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Od,Object.getOwnPropertyDescriptors(Ud)):Ra(Object(Ud)).forEach(function(jd){Object.defineProperty(Od,jd,Object.getOwnPropertyDescriptor(Ud,jd))})}return Od}function nd(Od,Md,Ud){return Md=dd(Md),Md in Od?Object.defineProperty(Od,Md,{value:Ud,enumerable:!0,configurable:!0,writable:!0}):Od[Md]=Ud,Od}function od(Od,Md){if(!(Od instanceof Md))throw new TypeError("Cannot call a class as a function")}function ld(Od,Md){for(var Ud=0;Ud<Md.length;Ud++){var jd=Md[Ud];jd.enumerable=jd.enumerable||!1,jd.configurable=!0,"value"in jd&&(jd.writable=!0),Object.defineProperty(Od,dd(jd.key),jd)}}function ud(Od,Md,Ud){return Md&&ld(Od.prototype,Md),Object.defineProperty(Od,"prototype",{writable:!1}),Od}function dd(Od){var Md=pd(Od,"string");return typeof Md=="symbol"?Md:String(Md)}function pd(Od,Md){if(typeof Od!="object"||Od===null)return Od;var Ud=Od[Symbol.toPrimitive];if(Ud!==void 0){var jd=Ud.call(Od,Md||"default");if(typeof jd!="object")return jd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Md==="string"?String:Number)(Od)}var fd=buffer,md=fd.Buffer,vd=util$5,Ad=vd.inspect,Nd=Ad&&Ad.custom||"inspect";function Id(Od,Md,Ud){md.prototype.copy.call(Od,Md,Ud)}return buffer_list=function(){function Od(){od(this,Od),this.head=null,this.tail=null,this.length=0}return ud(Od,[{key:"push",value:function(Ud){var jd={data:Ud,next:null};this.length>0?this.tail.next=jd:this.head=jd,this.tail=jd,++this.length}},{key:"unshift",value:function(Ud){var jd={data:Ud,next:this.head};this.length===0&&(this.tail=jd),this.head=jd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var Ud=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,Ud}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(Ud){if(this.length===0)return"";for(var jd=this.head,Ld=""+jd.data;jd=jd.next;)Ld+=Ud+jd.data;return Ld}},{key:"concat",value:function(Ud){if(this.length===0)return md.alloc(0);for(var jd=md.allocUnsafe(Ud>>>0),Ld=this.head,Bd=0;Ld;)Id(Ld.data,jd,Bd),Bd+=Ld.data.length,Ld=Ld.next;return jd}},{key:"consume",value:function(Ud,jd){var Ld;return Ud<this.head.data.length?(Ld=this.head.data.slice(0,Ud),this.head.data=this.head.data.slice(Ud)):Ud===this.head.data.length?Ld=this.shift():Ld=jd?this._getString(Ud):this._getBuffer(Ud),Ld}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(Ud){var jd=this.head,Ld=1,Bd=jd.data;for(Ud-=Bd.length;jd=jd.next;){var Gd=jd.data,qd=Ud>Gd.length?Gd.length:Ud;if(qd===Gd.length?Bd+=Gd:Bd+=Gd.slice(0,Ud),Ud-=qd,Ud===0){qd===Gd.length?(++Ld,jd.next?this.head=jd.next:this.head=this.tail=null):(this.head=jd,jd.data=Gd.slice(qd));break}++Ld}return this.length-=Ld,Bd}},{key:"_getBuffer",value:function(Ud){var jd=md.allocUnsafe(Ud),Ld=this.head,Bd=1;for(Ld.data.copy(jd),Ud-=Ld.data.length;Ld=Ld.next;){var Gd=Ld.data,qd=Ud>Gd.length?Gd.length:Ud;if(Gd.copy(jd,jd.length-Ud,0,qd),Ud-=qd,Ud===0){qd===Gd.length?(++Bd,Ld.next?this.head=Ld.next:this.head=this.tail=null):(this.head=Ld,Ld.data=Gd.slice(qd));break}++Bd}return this.length-=Bd,jd}},{key:Nd,value:function(Ud,jd){return Ad(this,qa(qa({},jd),{},{depth:0,customInspect:!1}))}}]),Od}(),buffer_list}var define_process_default$6={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var nd=this,od=this._readableState&&this._readableState.destroyed,ld=this._writableState&&this._writableState.destroyed;return od||ld?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$6.nextTick(emitErrorNT,this,Ra)):define_process_default$6.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(ud){!qa&&ud?nd._writableState?nd._writableState.errorEmitted?define_process_default$6.nextTick(emitCloseNT,nd):(nd._writableState.errorEmitted=!0,define_process_default$6.nextTick(emitErrorAndCloseNT,nd,ud)):define_process_default$6.nextTick(emitErrorAndCloseNT,nd,ud):qa?(define_process_default$6.nextTick(emitCloseNT,nd),qa(ud)):define_process_default$6.nextTick(emitCloseNT,nd)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var nd=Ra._readableState,od=Ra._writableState;nd&&nd.autoDestroy||od&&od.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,nd){nd||(nd=Error);function od(ud,dd,pd){return typeof qa=="string"?qa:qa(ud,dd,pd)}var ld=function(ud){_inheritsLoose(dd,ud);function dd(pd,fd,md){return ud.call(this,od(pd,fd,md))||this}return dd}(nd);ld.prototype.name=nd.name,ld.prototype.code=Ra,codes[Ra]=ld}function oneOf(Ra,qa){if(Array.isArray(Ra)){var nd=Ra.length;return Ra=Ra.map(function(od){return String(od)}),nd>2?"one of ".concat(qa," ").concat(Ra.slice(0,nd-1).join(", "),", or ")+Ra[nd-1]:nd===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,nd){return Ra.substr(0,qa.length)===qa}function endsWith(Ra,qa,nd){return(nd===void 0||nd>Ra.length)&&(nd=Ra.length),Ra.substring(nd-qa.length,nd)===qa}function includes(Ra,qa,nd){return typeof nd!="number"&&(nd=0),nd+qa.length>Ra.length?!1:Ra.indexOf(qa,nd)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,nd){var od;typeof qa=="string"&&startsWith(qa,"not ")?(od="must not be",qa=qa.replace(/^not /,"")):od="must be";var ld;if(endsWith(Ra," argument"))ld="The ".concat(Ra," ").concat(od," ").concat(oneOf(qa,"type"));else{var ud=includes(Ra,".")?"property":"argument";ld='The "'.concat(Ra,'" ').concat(ud," ").concat(od," ").concat(oneOf(qa,"type"))}return ld+=". Received type ".concat(typeof nd),ld},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,nd){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[nd]:null}function getHighWaterMark(Ra,qa,nd,od){var ld=highWaterMarkFrom(qa,od,nd);if(ld!=null){if(!(isFinite(ld)&&Math.floor(ld)===ld)||ld<0){var ud=od?nd:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(ud,ld)}return Math.floor(ld)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var nd=!1;function od(){if(!nd){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),nd=!0}return Ra.apply(this,arguments)}return od}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=Yd;function qa(Tf){var Sf=this;this.next=null,this.entry=null,this.finish=function(){zf(Sf,Tf)}}var nd;Yd.WritableState=Xd;var od={deprecate:browser},ld=streamBrowser,ud=buffer.Buffer,dd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pd(Tf){return ud.from(Tf)}function fd(Tf){return ud.isBuffer(Tf)||Tf instanceof dd}var md=destroy_1,vd=state,Ad=vd.getHighWaterMark,Nd=errorsBrowser.codes,Id=Nd.ERR_INVALID_ARG_TYPE,Od=Nd.ERR_METHOD_NOT_IMPLEMENTED,Md=Nd.ERR_MULTIPLE_CALLBACK,Ud=Nd.ERR_STREAM_CANNOT_PIPE,jd=Nd.ERR_STREAM_DESTROYED,Ld=Nd.ERR_STREAM_NULL_VALUES,Bd=Nd.ERR_STREAM_WRITE_AFTER_END,Gd=Nd.ERR_UNKNOWN_ENCODING,qd=md.errorOrDestroy;inherits_browserExports(Yd,ld);function zd(){}function Xd(Tf,Sf,Yf){nd=nd||require_stream_duplex(),Tf=Tf||{},typeof Yf!="boolean"&&(Yf=Sf instanceof nd),this.objectMode=!!Tf.objectMode,Yf&&(this.objectMode=this.objectMode||!!Tf.writableObjectMode),this.highWaterMark=Ad(this,Tf,"writableHighWaterMark",Yf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ih=Tf.decodeStrings===!1;this.decodeStrings=!ih,this.defaultEncoding=Tf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Th){Df(Sf,Th)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Tf.emitClose!==!1,this.autoDestroy=!!Tf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}Xd.prototype.getBuffer=function(){for(var Sf=this.bufferedRequest,Yf=[];Sf;)Yf.push(Sf),Sf=Sf.next;return Yf},function(){try{Object.defineProperty(Xd.prototype,"buffer",{get:od.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var gf;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(gf=Function.prototype[Symbol.hasInstance],Object.defineProperty(Yd,Symbol.hasInstance,{value:function(Sf){return gf.call(this,Sf)?!0:this!==Yd?!1:Sf&&Sf._writableState instanceof Xd}})):gf=function(Sf){return Sf instanceof this};function Yd(Tf){nd=nd||require_stream_duplex();var Sf=this instanceof nd;if(!Sf&&!gf.call(Yd,this))return new Yd(Tf);this._writableState=new Xd(Tf,this,Sf),this.writable=!0,Tf&&(typeof Tf.write=="function"&&(this._write=Tf.write),typeof Tf.writev=="function"&&(this._writev=Tf.writev),typeof Tf.destroy=="function"&&(this._destroy=Tf.destroy),typeof Tf.final=="function"&&(this._final=Tf.final)),ld.call(this)}Yd.prototype.pipe=function(){qd(this,new Ud)};function Zd(Tf,Sf){var Yf=new Bd;qd(Tf,Yf),Ra.nextTick(Sf,Yf)}function df(Tf,Sf,Yf,ih){var Th;return Yf===null?Th=new Ld:typeof Yf!="string"&&!Sf.objectMode&&(Th=new Id("chunk",["string","Buffer"],Yf)),Th?(qd(Tf,Th),Ra.nextTick(ih,Th),!1):!0}Yd.prototype.write=function(Tf,Sf,Yf){var ih=this._writableState,Th=!1,sh=!ih.objectMode&&fd(Tf);return sh&&!ud.isBuffer(Tf)&&(Tf=pd(Tf)),typeof Sf=="function"&&(Yf=Sf,Sf=null),sh?Sf="buffer":Sf||(Sf=ih.defaultEncoding),typeof Yf!="function"&&(Yf=zd),ih.ending?Zd(this,Yf):(sh||df(this,ih,Tf,Yf))&&(ih.pendingcb++,Th=_f(this,ih,sh,Tf,Sf,Yf)),Th},Yd.prototype.cork=function(){this._writableState.corked++},Yd.prototype.uncork=function(){var Tf=this._writableState;Tf.corked&&(Tf.corked--,!Tf.writing&&!Tf.corked&&!Tf.bufferProcessing&&Tf.bufferedRequest&&eh(this,Tf))},Yd.prototype.setDefaultEncoding=function(Sf){if(typeof Sf=="string"&&(Sf=Sf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Sf+"").toLowerCase())>-1))throw new Gd(Sf);return this._writableState.defaultEncoding=Sf,this},Object.defineProperty(Yd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ef(Tf,Sf,Yf){return!Tf.objectMode&&Tf.decodeStrings!==!1&&typeof Sf=="string"&&(Sf=ud.from(Sf,Yf)),Sf}Object.defineProperty(Yd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function _f(Tf,Sf,Yf,ih,Th,sh){if(!Yf){var Nf=Ef(Sf,ih,Th);ih!==Nf&&(Yf=!0,Th="buffer",ih=Nf)}var ph=Sf.objectMode?1:ih.length;Sf.length+=ph;var Oh=Sf.length<Sf.highWaterMark;if(Oh||(Sf.needDrain=!0),Sf.writing||Sf.corked){var Zf=Sf.lastBufferedRequest;Sf.lastBufferedRequest={chunk:ih,encoding:Th,isBuf:Yf,callback:sh,next:null},Zf?Zf.next=Sf.lastBufferedRequest:Sf.bufferedRequest=Sf.lastBufferedRequest,Sf.bufferedRequestCount+=1}else xf(Tf,Sf,!1,ph,ih,Th,sh);return Oh}function xf(Tf,Sf,Yf,ih,Th,sh,Nf){Sf.writelen=ih,Sf.writecb=Nf,Sf.writing=!0,Sf.sync=!0,Sf.destroyed?Sf.onwrite(new jd("write")):Yf?Tf._writev(Th,Sf.onwrite):Tf._write(Th,sh,Sf.onwrite),Sf.sync=!1}function vf(Tf,Sf,Yf,ih,Th){--Sf.pendingcb,Yf?(Ra.nextTick(Th,ih),Ra.nextTick(Wf,Tf,Sf),Tf._writableState.errorEmitted=!0,qd(Tf,ih)):(Th(ih),Tf._writableState.errorEmitted=!0,qd(Tf,ih),Wf(Tf,Sf))}function Af(Tf){Tf.writing=!1,Tf.writecb=null,Tf.length-=Tf.writelen,Tf.writelen=0}function Df(Tf,Sf){var Yf=Tf._writableState,ih=Yf.sync,Th=Yf.writecb;if(typeof Th!="function")throw new Md;if(Af(Yf),Sf)vf(Tf,Yf,ih,Sf,Th);else{var sh=th(Yf)||Tf.destroyed;!sh&&!Yf.corked&&!Yf.bufferProcessing&&Yf.bufferedRequest&&eh(Tf,Yf),ih?Ra.nextTick(jf,Tf,Yf,sh,Th):jf(Tf,Yf,sh,Th)}}function jf(Tf,Sf,Yf,ih){Yf||Jf(Tf,Sf),Sf.pendingcb--,ih(),Wf(Tf,Sf)}function Jf(Tf,Sf){Sf.length===0&&Sf.needDrain&&(Sf.needDrain=!1,Tf.emit("drain"))}function eh(Tf,Sf){Sf.bufferProcessing=!0;var Yf=Sf.bufferedRequest;if(Tf._writev&&Yf&&Yf.next){var ih=Sf.bufferedRequestCount,Th=new Array(ih),sh=Sf.corkedRequestsFree;sh.entry=Yf;for(var Nf=0,ph=!0;Yf;)Th[Nf]=Yf,Yf.isBuf||(ph=!1),Yf=Yf.next,Nf+=1;Th.allBuffers=ph,xf(Tf,Sf,!0,Sf.length,Th,"",sh.finish),Sf.pendingcb++,Sf.lastBufferedRequest=null,sh.next?(Sf.corkedRequestsFree=sh.next,sh.next=null):Sf.corkedRequestsFree=new qa(Sf),Sf.bufferedRequestCount=0}else{for(;Yf;){var Oh=Yf.chunk,Zf=Yf.encoding,Rf=Yf.callback,Bf=Sf.objectMode?1:Oh.length;if(xf(Tf,Sf,!1,Bf,Oh,Zf,Rf),Yf=Yf.next,Sf.bufferedRequestCount--,Sf.writing)break}Yf===null&&(Sf.lastBufferedRequest=null)}Sf.bufferedRequest=Yf,Sf.bufferProcessing=!1}Yd.prototype._write=function(Tf,Sf,Yf){Yf(new Od("_write()"))},Yd.prototype._writev=null,Yd.prototype.end=function(Tf,Sf,Yf){var ih=this._writableState;return typeof Tf=="function"?(Yf=Tf,Tf=null,Sf=null):typeof Sf=="function"&&(Yf=Sf,Sf=null),Tf!=null&&this.write(Tf,Sf),ih.corked&&(ih.corked=1,this.uncork()),ih.ending||qf(this,ih,Yf),this},Object.defineProperty(Yd.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function th(Tf){return Tf.ending&&Tf.length===0&&Tf.bufferedRequest===null&&!Tf.finished&&!Tf.writing}function Uf(Tf,Sf){Tf._final(function(Yf){Sf.pendingcb--,Yf&&qd(Tf,Yf),Sf.prefinished=!0,Tf.emit("prefinish"),Wf(Tf,Sf)})}function Of(Tf,Sf){!Sf.prefinished&&!Sf.finalCalled&&(typeof Tf._final=="function"&&!Sf.destroyed?(Sf.pendingcb++,Sf.finalCalled=!0,Ra.nextTick(Uf,Tf,Sf)):(Sf.prefinished=!0,Tf.emit("prefinish")))}function Wf(Tf,Sf){var Yf=th(Sf);if(Yf&&(Of(Tf,Sf),Sf.pendingcb===0&&(Sf.finished=!0,Tf.emit("finish"),Sf.autoDestroy))){var ih=Tf._readableState;(!ih||ih.autoDestroy&&ih.endEmitted)&&Tf.destroy()}return Yf}function qf(Tf,Sf,Yf){Sf.ending=!0,Wf(Tf,Sf),Yf&&(Sf.finished?Ra.nextTick(Yf):Tf.once("finish",Yf)),Sf.ended=!0,Tf.writable=!1}function zf(Tf,Sf,Yf){var ih=Tf.entry;for(Tf.entry=null;ih;){var Th=ih.callback;Sf.pendingcb--,Th(Yf),ih=ih.next}Sf.corkedRequestsFree.next=Tf}return Object.defineProperty(Yd.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Sf){this._writableState&&(this._writableState.destroyed=Sf)}}),Yd.prototype.destroy=md.destroy,Yd.prototype._undestroy=md.undestroy,Yd.prototype._destroy=function(Tf,Sf){Sf(Tf)},_stream_writable}var _stream_duplex,hasRequired_stream_duplex;function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},qa=Object.keys||function(vd){var Ad=[];for(var Nd in vd)Ad.push(Nd);return Ad};_stream_duplex=pd;var nd=require_stream_readable(),od=require_stream_writable();inherits_browserExports(pd,nd);for(var ld=qa(od.prototype),ud=0;ud<ld.length;ud++){var dd=ld[ud];pd.prototype[dd]||(pd.prototype[dd]=od.prototype[dd])}function pd(vd){if(!(this instanceof pd))return new pd(vd);nd.call(this,vd),od.call(this,vd),this.allowHalfOpen=!0,vd&&(vd.readable===!1&&(this.readable=!1),vd.writable===!1&&(this.writable=!1),vd.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",fd)))}Object.defineProperty(pd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(pd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(pd.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function fd(){this._writableState.ended||Ra.nextTick(md,this)}function md(vd){vd.end()}return Object.defineProperty(pd.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(Ad){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=Ad,this._writableState.destroyed=Ad)}}),_stream_duplex}var string_decoder={},safeBuffer={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var nd=buffer,od=nd.Buffer;function ld(dd,pd){for(var fd in dd)pd[fd]=dd[fd]}od.from&&od.alloc&&od.allocUnsafe&&od.allocUnsafeSlow?Ra.exports=nd:(ld(nd,qa),qa.Buffer=ud);function ud(dd,pd,fd){return od(dd,pd,fd)}ud.prototype=Object.create(od.prototype),ld(od,ud),ud.from=function(dd,pd,fd){if(typeof dd=="number")throw new TypeError("Argument must not be a number");return od(dd,pd,fd)},ud.alloc=function(dd,pd,fd){if(typeof dd!="number")throw new TypeError("Argument must be a number");var md=od(dd);return pd!==void 0?typeof fd=="string"?md.fill(pd,fd):md.fill(pd):md.fill(0),md},ud.allocUnsafe=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return od(dd)},ud.allocUnsafeSlow=function(dd){if(typeof dd!="number")throw new TypeError("Argument must be a number");return nd.SlowBuffer(dd)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(jd){switch(jd=""+jd,jd&&jd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nd(jd){if(!jd)return"utf8";for(var Ld;;)switch(jd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return jd;default:if(Ld)return;jd=(""+jd).toLowerCase(),Ld=!0}}function od(jd){var Ld=nd(jd);if(typeof Ld!="string"&&(Ra.isEncoding===qa||!qa(jd)))throw new Error("Unknown encoding: "+jd);return Ld||jd}string_decoder.StringDecoder=ld;function ld(jd){this.encoding=od(jd);var Ld;switch(this.encoding){case"utf16le":this.text=Ad,this.end=Nd,Ld=4;break;case"utf8":this.fillLast=fd,Ld=4;break;case"base64":this.text=Id,this.end=Od,Ld=3;break;default:this.write=Md,this.end=Ud;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Ld)}ld.prototype.write=function(jd){if(jd.length===0)return"";var Ld,Bd;if(this.lastNeed){if(Ld=this.fillLast(jd),Ld===void 0)return"";Bd=this.lastNeed,this.lastNeed=0}else Bd=0;return Bd<jd.length?Ld?Ld+this.text(jd,Bd):this.text(jd,Bd):Ld||""},ld.prototype.end=vd,ld.prototype.text=md,ld.prototype.fillLast=function(jd){if(this.lastNeed<=jd.length)return jd.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);jd.copy(this.lastChar,this.lastTotal-this.lastNeed,0,jd.length),this.lastNeed-=jd.length};function ud(jd){return jd<=127?0:jd>>5===6?2:jd>>4===14?3:jd>>3===30?4:jd>>6===2?-1:-2}function dd(jd,Ld,Bd){var Gd=Ld.length-1;if(Gd<Bd)return 0;var qd=ud(Ld[Gd]);return qd>=0?(qd>0&&(jd.lastNeed=qd-1),qd):--Gd<Bd||qd===-2?0:(qd=ud(Ld[Gd]),qd>=0?(qd>0&&(jd.lastNeed=qd-2),qd):--Gd<Bd||qd===-2?0:(qd=ud(Ld[Gd]),qd>=0?(qd>0&&(qd===2?qd=0:jd.lastNeed=qd-3),qd):0))}function pd(jd,Ld,Bd){if((Ld[0]&192)!==128)return jd.lastNeed=0,"<22>";if(jd.lastNeed>1&&Ld.length>1){if((Ld[1]&192)!==128)return jd.lastNeed=1,"<22>";if(jd.lastNeed>2&&Ld.length>2&&(Ld[2]&192)!==128)return jd.lastNeed=2,"<22>"}}function fd(jd){var Ld=this.lastTotal-this.lastNeed,Bd=pd(this,jd);if(Bd!==void 0)return Bd;if(this.lastNeed<=jd.length)return jd.copy(this.lastChar,Ld,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);jd.copy(this.lastChar,Ld,0,jd.length),this.lastNeed-=jd.length}function md(jd,Ld){var Bd=dd(this,jd,Ld);if(!this.lastNeed)return jd.toString("utf8",Ld);this.lastTotal=Bd;var Gd=jd.length-(Bd-this.lastNeed);return jd.copy(this.lastChar,0,Gd),jd.toString("utf8",Ld,Gd)}function vd(jd){var Ld=jd&&jd.length?this.write(jd):"";return this.lastNeed?Ld+"<22>":Ld}function Ad(jd,Ld){if((jd.length-Ld)%2===0){var Bd=jd.toString("utf16le",Ld);if(Bd){var Gd=Bd.charCodeAt(Bd.length-1);if(Gd>=55296&&Gd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1],Bd.slice(0,-1)}return Bd}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=jd[jd.length-1],jd.toString("utf16le",Ld,jd.length-1)}function Nd(jd){var Ld=jd&&jd.length?this.write(jd):"";if(this.lastNeed){var Bd=this.lastTotal-this.lastNeed;return Ld+this.lastChar.toString("utf16le",0,Bd)}return Ld}function Id(jd,Ld){var Bd=(jd.length-Ld)%3;return Bd===0?jd.toString("base64",Ld):(this.lastNeed=3-Bd,this.lastTotal=3,Bd===1?this.lastChar[0]=jd[jd.length-1]:(this.lastChar[0]=jd[jd.length-2],this.lastChar[1]=jd[jd.length-1]),jd.toString("base64",Ld,jd.length-Bd))}function Od(jd){var Ld=jd&&jd.length?this.write(jd):"";return this.lastNeed?Ld+this.lastChar.toString("base64",0,3-this.lastNeed):Ld}function Md(jd){return jd.toString(this.encoding)}function Ud(jd){return jd&&jd.length?this.write(jd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var nd=arguments.length,od=new Array(nd),ld=0;ld<nd;ld++)od[ld]=arguments[ld];Ra.apply(this,od)}}}function noop$1(){}function isRequest$1(Ra){return Ra.setHeader&&typeof Ra.abort=="function"}function eos$1(Ra,qa,nd){if(typeof qa=="function")return eos$1(Ra,null,qa);qa||(qa={}),nd=once$2(nd||noop$1);var od=qa.readable||qa.readable!==!1&&Ra.readable,ld=qa.writable||qa.writable!==!1&&Ra.writable,ud=function(){Ra.writable||pd()},dd=Ra._writableState&&Ra._writableState.finished,pd=function(){ld=!1,dd=!0,od||nd.call(Ra)},fd=Ra._readableState&&Ra._readableState.endEmitted,md=function(){od=!1,fd=!0,ld||nd.call(Ra)},vd=function(Od){nd.call(Ra,Od)},Ad=function(){var Od;if(od&&!fd)return(!Ra._readableState||!Ra._readableState.ended)&&(Od=new ERR_STREAM_PREMATURE_CLOSE),nd.call(Ra,Od);if(ld&&!dd)return(!Ra._writableState||!Ra._writableState.ended)&&(Od=new ERR_STREAM_PREMATURE_CLOSE),nd.call(Ra,Od)},Nd=function(){Ra.req.on("finish",pd)};return isRequest$1(Ra)?(Ra.on("complete",pd),Ra.on("abort",Ad),Ra.req?Nd():Ra.on("request",Nd)):ld&&!Ra._writableState&&(Ra.on("end",ud),Ra.on("close",ud)),Ra.on("end",md),Ra.on("finish",pd),qa.error!==!1&&Ra.on("error",vd),Ra.on("close",Ad),function(){Ra.removeListener("complete",pd),Ra.removeListener("abort",Ad),Ra.removeListener("request",Nd),Ra.req&&Ra.req.removeListener("finish",pd),Ra.removeListener("end",ud),Ra.removeListener("close",ud),Ra.removeListener("finish",pd),Ra.removeListener("end",md),Ra.removeListener("error",vd),Ra.removeListener("close",Ad)}}var endOfStream=eos$1,async_iterator,hasRequiredAsync_iterator;function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;hasRequiredAsync_iterator=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},qa;function nd(Gd,qd,zd){return qd=od(qd),qd in Gd?Object.defineProperty(Gd,qd,{value:zd,enumerable:!0,configurable:!0,writable:!0}):Gd[qd]=zd,Gd}function od(Gd){var qd=ld(Gd,"string");return typeof qd=="symbol"?qd:String(qd)}function ld(Gd,qd){if(typeof Gd!="object"||Gd===null)return Gd;var zd=Gd[Symbol.toPrimitive];if(zd!==void 0){var Xd=zd.call(Gd,qd||"default");if(typeof Xd!="object")return Xd;throw new TypeError("@@toPrimitive must return a primitive value.")}return(qd==="string"?String:Number)(Gd)}var ud=endOfStream,dd=Symbol("lastResolve"),pd=Symbol("lastReject"),fd=Symbol("error"),md=Symbol("ended"),vd=Symbol("lastPromise"),Ad=Symbol("handlePromise"),Nd=Symbol("stream");function Id(Gd,qd){return{value:Gd,done:qd}}function Od(Gd){var qd=Gd[dd];if(qd!==null){var zd=Gd[Nd].read();zd!==null&&(Gd[vd]=null,Gd[dd]=null,Gd[pd]=null,qd(Id(zd,!1)))}}function Md(Gd){Ra.nextTick(Od,Gd)}function Ud(Gd,qd){return function(zd,Xd){Gd.then(function(){if(qd[md]){zd(Id(void 0,!0));return}qd[Ad](zd,Xd)},Xd)}}var jd=Object.getPrototypeOf(function(){}),Ld=Object.setPrototypeOf((qa={get stream(){return this[Nd]},next:function(){var qd=this,zd=this[fd];if(zd!==null)return Promise.reject(zd);if(this[md])return Promise.resolve(Id(void 0,!0));if(this[Nd].destroyed)return new Promise(function(Zd,df){Ra.nextTick(function(){qd[fd]?df(qd[fd]):Zd(Id(void 0,!0))})});var Xd=this[vd],gf;if(Xd)gf=new Promise(Ud(Xd,this));else{var Yd=this[Nd].read();if(Yd!==null)return Promise.resolve(Id(Yd,!1));gf=new Promise(this[Ad])}return this[vd]=gf,gf}},nd(qa,Symbol.asyncIterator,function(){return this}),nd(qa,"return",function(){var qd=this;return new Promise(function(zd,Xd){qd[Nd].destroy(null,function(gf){if(gf){Xd(gf);return}zd(Id(void 0,!0))})})}),qa),jd),Bd=function(qd){var zd,Xd=Object.create(Ld,(zd={},nd(zd,Nd,{value:qd,writable:!0}),nd(zd,dd,{value:null,writable:!0}),nd(zd,pd,{value:null,writable:!0}),nd(zd,fd,{value:null,writable:!0}),nd(zd,md,{value:qd._readableState.endEmitted,writable:!0}),nd(zd,Ad,{value:function(Yd,Zd){var df=Xd[Nd].read();df?(Xd[vd]=null,Xd[dd]=null,Xd[pd]=null,Yd(Id(df,!1))):(Xd[dd]=Yd,Xd[pd]=Zd)},writable:!0}),zd));return Xd[vd]=null,ud(qd,function(gf){if(gf&&gf.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Yd=Xd[pd];Yd!==null&&(Xd[vd]=null,Xd[dd]=null,Xd[pd]=null,Yd(gf)),Xd[fd]=gf;return}var Zd=Xd[dd];Zd!==null&&(Xd[vd]=null,Xd[dd]=null,Xd[pd]=null,Zd(Id(void 0,!0))),Xd[md]=!0}),qd.on("readable",Md.bind(null,Xd)),Xd};return async_iterator=Bd,async_iterator}var fromBrowser,hasRequiredFromBrowser;function requireFromBrowser(){return hasRequiredFromBrowser||(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")}),fromBrowser}var _stream_readable,hasRequired_stream_readable;function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_readable=Zd;var qa;Zd.ReadableState=Yd,eventsExports.EventEmitter;var nd=function(Nf,ph){return Nf.listeners(ph).length},od=streamBrowser,ld=buffer.Buffer,ud=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function dd(sh){return ld.from(sh)}function pd(sh){return ld.isBuffer(sh)||sh instanceof ud}var fd=util$5,md;fd&&fd.debuglog?md=fd.debuglog("stream"):md=function(){};var vd=requireBuffer_list(),Ad=destroy_1,Nd=state,Id=Nd.getHighWaterMark,Od=errorsBrowser.codes,Md=Od.ERR_INVALID_ARG_TYPE,Ud=Od.ERR_STREAM_PUSH_AFTER_EOF,jd=Od.ERR_METHOD_NOT_IMPLEMENTED,Ld=Od.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Bd,Gd,qd;inherits_browserExports(Zd,od);var zd=Ad.errorOrDestroy,Xd=["error","close","destroy","pause","resume"];function gf(sh,Nf,ph){if(typeof sh.prependListener=="function")return sh.prependListener(Nf,ph);!sh._events||!sh._events[Nf]?sh.on(Nf,ph):Array.isArray(sh._events[Nf])?sh._events[Nf].unshift(ph):sh._events[Nf]=[ph,sh._events[Nf]]}function Yd(sh,Nf,ph){qa=qa||require_stream_duplex(),sh=sh||{},typeof ph!="boolean"&&(ph=Nf instanceof qa),this.objectMode=!!sh.objectMode,ph&&(this.objectMode=this.objectMode||!!sh.readableObjectMode),this.highWaterMark=Id(this,sh,"readableHighWaterMark",ph),this.buffer=new vd,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=sh.emitClose!==!1,this.autoDestroy=!!sh.autoDestroy,this.destroyed=!1,this.defaultEncoding=sh.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,sh.encoding&&(Bd||(Bd=requireString_decoder().StringDecoder),this.decoder=new Bd(sh.encoding),this.encoding=sh.encoding)}function Zd(sh){if(qa=qa||require_stream_duplex(),!(this instanceof Zd))return new Zd(sh);var Nf=this instanceof qa;this._readableState=new Yd(sh,this,Nf),this.readable=!0,sh&&(typeof sh.read=="function"&&(this._read=sh.read),typeof sh.destroy=="function"&&(this._destroy=sh.destroy)),od.call(this)}Object.defineProperty(Zd.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Nf){this._readableState&&(this._readableState.destroyed=Nf)}}),Zd.prototype.destroy=Ad.destroy,Zd.prototype._undestroy=Ad.undestroy,Zd.prototype._destroy=function(sh,Nf){Nf(sh)},Zd.prototype.push=function(sh,Nf){var ph=this._readableState,Oh;return ph.objectMode?Oh=!0:typeof sh=="string"&&(Nf=Nf||ph.defaultEncoding,Nf!==ph.encoding&&(sh=ld.from(sh,Nf),Nf=""),Oh=!0),df(this,sh,Nf,!1,Oh)},Zd.prototype.unshift=function(sh){return df(this,sh,null,!0,!1)};function df(sh,Nf,ph,Oh,Zf){md("readableAddChunk",Nf);var Rf=sh._readableState;if(Nf===null)Rf.reading=!1,Df(sh,Rf);else{var Bf;if(Zf||(Bf=_f(Rf,Nf)),Bf)zd(sh,Bf);else if(Rf.objectMode||Nf&&Nf.length>0)if(typeof Nf!="string"&&!Rf.objectMode&&Object.getPrototypeOf(Nf)!==ld.prototype&&(Nf=dd(Nf)),Oh)Rf.endEmitted?zd(sh,new Ld):Ef(sh,Rf,Nf,!0);else if(Rf.ended)zd(sh,new Ud);else{if(Rf.destroyed)return!1;Rf.reading=!1,Rf.decoder&&!ph?(Nf=Rf.decoder.write(Nf),Rf.objectMode||Nf.length!==0?Ef(sh,Rf,Nf,!1):eh(sh,Rf)):Ef(sh,Rf,Nf,!1)}else Oh||(Rf.reading=!1,eh(sh,Rf))}return!Rf.ended&&(Rf.length<Rf.highWaterMark||Rf.length===0)}function Ef(sh,Nf,ph,Oh){Nf.flowing&&Nf.length===0&&!Nf.sync?(Nf.awaitDrain=0,sh.emit("data",ph)):(Nf.length+=Nf.objectMode?1:ph.length,Oh?Nf.buffer.unshift(ph):Nf.buffer.push(ph),Nf.needReadable&&jf(sh)),eh(sh,Nf)}function _f(sh,Nf){var ph;return!pd(Nf)&&typeof Nf!="string"&&Nf!==void 0&&!sh.objectMode&&(ph=new Md("chunk",["string","Buffer","Uint8Array"],Nf)),ph}Zd.prototype.isPaused=function(){return this._readableState.flowing===!1},Zd.prototype.setEncoding=function(sh){Bd||(Bd=requireString_decoder().StringDecoder);var Nf=new Bd(sh);this._readableState.decoder=Nf,this._readableState.encoding=this._readableState.decoder.encoding;for(var ph=this._readableState.buffer.head,Oh="";ph!==null;)Oh+=Nf.write(ph.data),ph=ph.next;return this._readableState.buffer.clear(),Oh!==""&&this._readableState.buffer.push(Oh),this._readableState.length=Oh.length,this};var xf=1073741824;function vf(sh){return sh>=xf?sh=xf:(sh--,sh|=sh>>>1,sh|=sh>>>2,sh|=sh>>>4,sh|=sh>>>8,sh|=sh>>>16,sh++),sh}function Af(sh,Nf){return sh<=0||Nf.length===0&&Nf.ended?0:Nf.objectMode?1:sh!==sh?Nf.flowing&&Nf.length?Nf.buffer.head.data.length:Nf.length:(sh>Nf.highWaterMark&&(Nf.highWaterMark=vf(sh)),sh<=Nf.length?sh:Nf.ended?Nf.length:(Nf.needReadable=!0,0))}Zd.prototype.read=function(sh){md("read",sh),sh=parseInt(sh,10);var Nf=this._readableState,ph=sh;if(sh!==0&&(Nf.emittedReadable=!1),sh===0&&Nf.needReadable&&((Nf.highWaterMark!==0?Nf.length>=Nf.highWaterMark:Nf.length>0)||Nf.ended))return md("read: emitReadable",Nf.length,Nf.ended),Nf.length===0&&Nf.ended?Yf(this):jf(this),null;if(sh=Af(sh,Nf),sh===0&&Nf.ended)return Nf.length===0&&Yf(this),null;var Oh=Nf.needReadable;md("need readable",Oh),(Nf.length===0||Nf.length-sh<Nf.highWaterMark)&&(Oh=!0,md("length less than watermark",Oh)),Nf.ended||Nf.reading?(Oh=!1,md("reading or ended",Oh)):Oh&&(md("do read"),Nf.reading=!0,Nf.sync=!0,Nf.length===0&&(Nf.needReadable=!0),this._read(Nf.highWaterMark),Nf.sync=!1,Nf.reading||(sh=Af(ph,Nf)));var Zf;return sh>0?Zf=Sf(sh,Nf):Zf=null,Zf===null?(Nf.needReadable=Nf.length<=Nf.highWaterMark,sh=0):(Nf.length-=sh,Nf.awaitDrain=0),Nf.length===0&&(Nf.ended||(Nf.needReadable=!0),ph!==sh&&Nf.ended&&Yf(this)),Zf!==null&&this.emit("data",Zf),Zf};function Df(sh,Nf){if(md("onEofChunk"),!Nf.ended){if(Nf.decoder){var ph=Nf.decoder.end();ph&&ph.length&&(Nf.buffer.push(ph),Nf.length+=Nf.objectMode?1:ph.length)}Nf.ended=!0,Nf.sync?jf(sh):(Nf.needReadable=!1,Nf.emittedReadable||(Nf.emittedReadable=!0,Jf(sh)))}}function jf(sh){var Nf=sh._readableState;md("emitReadable",Nf.needReadable,Nf.emittedReadable),Nf.needReadable=!1,Nf.emittedReadable||(md("emitReadable",Nf.flowing),Nf.emittedReadable=!0,Ra.nextTick(Jf,sh))}function Jf(sh){var Nf=sh._readableState;md("emitReadable_",Nf.destroyed,Nf.length,Nf.ended),!Nf.destroyed&&(Nf.length||Nf.ended)&&(sh.emit("readable"),Nf.emittedReadable=!1),Nf.needReadable=!Nf.flowing&&!Nf.ended&&Nf.length<=Nf.highWaterMark,Tf(sh)}function eh(sh,Nf){Nf.readingMore||(Nf.readingMore=!0,Ra.nextTick(th,sh,Nf))}function th(sh,Nf){for(;!Nf.reading&&!Nf.ended&&(Nf.length<Nf.highWaterMark||Nf.flowing&&Nf.length===0);){var ph=Nf.length;if(md("maybeReadMore read 0"),sh.read(0),ph===Nf.length)break}Nf.readingMore=!1}Zd.prototype._read=function(sh){zd(this,new jd("_read()"))},Zd.prototype.pipe=function(sh,Nf){var ph=this,Oh=this._readableState;switch(Oh.pipesCount){case 0:Oh.pipes=sh;break;case 1:Oh.pipes=[Oh.pipes,sh];break;default:Oh.pipes.push(sh);break}Oh.pipesCount+=1,md("pipe count=%d opts=%j",Oh.pipesCount,Nf);var Zf=(!Nf||Nf.end!==!1)&&sh!==Ra.stdout&&sh!==Ra.stderr,Rf=Zf?Kf:gm;Oh.endEmitted?Ra.nextTick(Rf):ph.once("end",Rf),sh.on("unpipe",Bf);function Bf(Mm,Hm){md("onunpipe"),Mm===ph&&Hm&&Hm.hasUnpiped===!1&&(Hm.hasUnpiped=!0,mh())}function Kf(){md("onend"),sh.end()}var wh=Uf(ph);sh.on("drain",wh);var Ah=!1;function mh(){md("cleanup"),sh.removeListener("close",Tm),sh.removeListener("finish",Pm),sh.removeListener("drain",wh),sh.removeListener("error",Bh),sh.removeListener("unpipe",Bf),ph.removeListener("end",Kf),ph.removeListener("end",gm),ph.removeListener("data",im),Ah=!0,Oh.awaitDrain&&(!sh._writableState||sh._writableState.needDrain)&&wh()}ph.on("data",im);function im(Mm){md("ondata");var Hm=sh.write(Mm);md("dest.write",Hm),Hm===!1&&((Oh.pipesCount===1&&Oh.pipes===sh||Oh.pipesCount>1&&Th(Oh.pipes,sh)!==-1)&&!Ah&&(md("false write response, pause",Oh.awaitDrain),Oh.awaitDrain++),ph.pause())}function Bh(Mm){md("onerror",Mm),gm(),sh.removeListener("error",Bh),nd(sh,"error")===0&&zd(sh,Mm)}gf(sh,"error",Bh);function Tm(){sh.removeListener("finish",Pm),gm()}sh.once("close",Tm);function Pm(){md("onfinish"),sh.removeListener("close",Tm),gm()}sh.once("finish",Pm);function gm(){md("unpipe"),ph.unpipe(sh)}return sh.emit("pipe",ph),Oh.flowing||(md("pipe resume"),ph.resume()),sh};function Uf(sh){return function(){var ph=sh._readableState;md("pipeOnDrain",ph.awaitDrain),ph.awaitDrain&&ph.awaitDrain--,ph.awaitDrain===0&&nd(sh,"data")&&(ph.flowing=!0,Tf(sh))}}Zd.prototype.unpipe=function(sh){var Nf=this._readableState,ph={hasUnpiped:!1};if(Nf.pipesCount===0)return this;if(Nf.pipesCount===1)return sh&&sh!==Nf.pipes?this:(sh||(sh=Nf.pipes),Nf.pipes=null,Nf.pipesCount=0,Nf.flowing=!1,sh&&sh.emit("unpipe",this,ph),this);if(!sh){var Oh=Nf.pipes,Zf=Nf.pipesCount;Nf.pipes=null,Nf.pipesCount=0,Nf.flowing=!1;for(var Rf=0;Rf<Zf;Rf++)Oh[Rf].emit("unpipe",this,{hasUnpiped:!1});return this}var Bf=Th(Nf.pipes,sh);return Bf===-1?this:(Nf.pipes.splice(Bf,1),Nf.pipesCount-=1,Nf.pipesCount===1&&(Nf.pipes=Nf.pipes[0]),sh.emit("unpipe",this,ph),this)},Zd.prototype.on=function(sh,Nf){var ph=od.prototype.on.call(this,sh,Nf),Oh=this._readableState;return sh==="data"?(Oh.readableListening=this.listenerCount("readable")>0,Oh.flowing!==!1&&this.resume()):sh==="readable"&&!Oh.endEmitted&&!Oh.readableListening&&(Oh.readableListening=Oh.needReadable=!0,Oh.flowing=!1,Oh.emittedReadable=!1,md("on readable",Oh.length,Oh.reading),Oh.length?jf(this):Oh.reading||Ra.nextTick(Wf,this)),ph},Zd.prototype.addListener=Zd.prototype.on,Zd.prototype.removeListener=function(sh,Nf){var ph=od.prototype.removeListener.call(this,sh,Nf);return sh==="readable"&&Ra.nextTick(Of,this),ph},Zd.prototype.removeAllListeners=function(sh){var Nf=od.prototype.removeAllListeners.apply(this,arguments);return(sh==="readable"||sh===void 0)&&Ra.nextTick(Of,this),Nf};function Of(sh){var Nf=sh._readableState;Nf.readableListening=sh.listenerCount("readable")>0,Nf.resumeScheduled&&!Nf.paused?Nf.flowing=!0:sh.listenerCount("data")>0&&sh.resume()}function Wf(sh){md("readable nexttick read 0"),sh.read(0)}Zd.prototype.resume=function(){var sh=this._readableState;return sh.flowing||(md("resume"),sh.flowing=!sh.readableListening,qf(this,sh)),sh.paused=!1,this};function qf(sh,Nf){Nf.resumeScheduled||(Nf.resumeScheduled=!0,Ra.nextTick(zf,sh,Nf))}function zf(sh,Nf){md("resume",Nf.reading),Nf.reading||sh.read(0),Nf.resumeScheduled=!1,sh.emit("resume"),Tf(sh),Nf.flowing&&!Nf.reading&&sh.read(0)}Zd.prototype.pause=function(){return md("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(md("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Tf(sh){var Nf=sh._readableState;for(md("flow",Nf.flowing);Nf.flowing&&sh.read()!==null;);}Zd.prototype.wrap=function(sh){var Nf=this,ph=this._readableState,Oh=!1;sh.on("end",function(){if(md("wrapped end"),ph.decoder&&!ph.ended){var Bf=ph.decoder.end();Bf&&Bf.length&&Nf.push(Bf)}Nf.push(null)}),sh.on("data",function(Bf){if(md("wrapped data"),ph.decoder&&(Bf=ph.decoder.write(Bf)),!(ph.objectMode&&Bf==null)&&!(!ph.objectMode&&(!Bf||!Bf.length))){var Kf=Nf.push(Bf);Kf||(Oh=!0,sh.pause())}});for(var Zf in sh)this[Zf]===void 0&&typeof sh[Zf]=="function"&&(this[Zf]=function(Kf){return function(){return sh[Kf].apply(sh,arguments)}}(Zf));for(var Rf=0;Rf<Xd.length;Rf++)sh.on(Xd[Rf],this.emit.bind(this,Xd[Rf]));return this._read=function(Bf){md("wrapped _read",Bf),Oh&&(Oh=!1,sh.resume())},this},typeof Symbol=="function"&&(Zd.prototype[Symbol.asyncIterator]=function(){return Gd===void 0&&(Gd=requireAsync_iterator()),Gd(this)}),Object.defineProperty(Zd.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Zd.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Zd.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Nf){this._readableState&&(this._readableState.flowing=Nf)}}),Zd._fromList=Sf,Object.defineProperty(Zd.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Sf(sh,Nf){if(Nf.length===0)return null;var ph;return Nf.objectMode?ph=Nf.buffer.shift():!sh||sh>=Nf.length?(Nf.decoder?ph=Nf.buffer.join(""):Nf.buffer.length===1?ph=Nf.buffer.first():ph=Nf.buffer.concat(Nf.length),Nf.buffer.clear()):ph=Nf.buffer.consume(sh,Nf.decoder),ph}function Yf(sh){var Nf=sh._readableState;md("endReadable",Nf.endEmitted),Nf.endEmitted||(Nf.ended=!0,Ra.nextTick(ih,Nf,sh))}function ih(sh,Nf){if(md("endReadableNT",sh.endEmitted,sh.length),!sh.endEmitted&&sh.length===0&&(sh.endEmitted=!0,Nf.readable=!1,Nf.emit("end"),sh.autoDestroy)){var ph=Nf._writableState;(!ph||ph.autoDestroy&&ph.finished)&&Nf.destroy()}}typeof Symbol=="function"&&(Zd.from=function(sh,Nf){return qd===void 0&&(qd=requireFromBrowser()),qd(Zd,sh,Nf)});function Th(sh,Nf){for(var ph=0,Oh=sh.length;ph<Oh;ph++)if(sh[ph]===Nf)return ph;return-1}return _stream_readable}var _stream_transform=Transform$3,_require$codes$1=errorsBrowser.codes,ERR_METHOD_NOT_IMPLEMENTED=_require$codes$1.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes$1.ERR_MULTIPLE_CALLBACK,ERR_TRANSFORM_ALREADY_TRANSFORMING=_require$codes$1.ERR_TRANSFORM_ALREADY_TRANSFORMING,ERR_TRANSFORM_WITH_LENGTH_0=_require$codes$1.ERR_TRANSFORM_WITH_LENGTH_0,Duplex=require_stream_duplex();inherits_browserExports(Transform$3,Duplex);function afterTransform(Ra,qa){var nd=this._transformState;nd.transforming=!1;var od=nd.writecb;if(od===null)return this.emit("error",new ERR_MULTIPLE_CALLBACK);nd.writechunk=null,nd.writecb=null,qa!=null&&this.push(qa),od(Ra);var ld=this._readableState;ld.reading=!1,(ld.needReadable||ld.length<ld.highWaterMark)&&this._read(ld.highWaterMark)}function Transform$3(Ra){if(!(this instanceof Transform$3))return new Transform$3(Ra);Duplex.call(this,Ra),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,Ra&&(typeof Ra.transform=="function"&&(this._transform=Ra.transform),typeof Ra.flush=="function"&&(this._flush=Ra.flush)),this.on("prefinish",prefinish)}function prefinish(){var Ra=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(qa,nd){done(Ra,qa,nd)}):done(this,null,null)}Transform$3.prototype.push=function(Ra,qa){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,Ra,qa)};Transform$3.prototype._transform=function(Ra,qa,nd){nd(new ERR_METHOD_NOT_IMPLEMENTED("_transform()"))};Transform$3.prototype._write=function(Ra,qa,nd){var od=this._transformState;if(od.writecb=nd,od.writechunk=Ra,od.writeencoding=qa,!od.transforming){var ld=this._readableState;(od.needTransform||ld.needReadable||ld.length<ld.highWaterMark)&&this._read(ld.highWaterMark)}};Transform$3.prototype._read=function(Ra){var qa=this._transformState;qa.writechunk!==null&&!qa.transforming?(qa.transforming=!0,this._transform(qa.writechunk,qa.writeencoding,qa.afterTransform)):qa.needTransform=!0};Transform$3.prototype._destroy=function(Ra,qa){Duplex.prototype._destroy.call(this,Ra,function(nd){qa(nd)})};function done(Ra,qa,nd){if(qa)return Ra.emit("error",qa);if(nd!=null&&Ra.push(nd),Ra._writableState.length)throw new ERR_TRANSFORM_WITH_LENGTH_0;if(Ra._transformState.transforming)throw new ERR_TRANSFORM_ALREADY_TRANSFORMING;return Ra.push(null)}var _stream_passthrough=PassThrough,Transform$2=_stream_transform;inherits_browserExports(PassThrough,Transform$2);function PassThrough(Ra){if(!(this instanceof PassThrough))return new PassThrough(Ra);Transform$2.call(this,Ra)}PassThrough.prototype._transform=function(Ra,qa,nd){nd(null,Ra)};var eos;function once$1(Ra){var qa=!1;return function(){qa||(qa=!0,Ra.apply(void 0,arguments))}}var _require$codes=errorsBrowser.codes,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop(Ra){if(Ra)throw Ra}function isRequest(Ra){return Ra.setHeader&&typeof Ra.abort=="function"}function destroyer(Ra,qa,nd,od){od=once$1(od);var ld=!1;Ra.on("close",function(){ld=!0}),eos===void 0&&(eos=endOfStream),eos(Ra,{readable:qa,writable:nd},function(dd){if(dd)return od(dd);ld=!0,od()});var ud=!1;return function(dd){if(!ld&&!ud){if(ud=!0,isRequest(Ra))return Ra.abort();if(typeof Ra.destroy=="function")return Ra.destroy();od(dd||new ERR_STREAM_DESTROYED("pipe"))}}}function call(Ra){Ra()}function pipe(Ra,qa){return Ra.pipe(qa)}function popCallback(Ra){return!Ra.length||typeof Ra[Ra.length-1]!="function"?noop:Ra.pop()}function pipeline$1(){for(var Ra=arguments.length,qa=new Array(Ra),nd=0;nd<Ra;nd++)qa[nd]=arguments[nd];var od=popCallback(qa);if(Array.isArray(qa[0])&&(qa=qa[0]),qa.length<2)throw new ERR_MISSING_ARGS("streams");var ld,ud=qa.map(function(dd,pd){var fd=pd<qa.length-1,md=pd>0;return destroyer(dd,fd,md,function(vd){ld||(ld=vd),vd&&ud.forEach(call),!fd&&(ud.forEach(call),od(ld))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$1=inherits_browserExports;inherits$1(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var nd=this;function od(vd){Ra.writable&&Ra.write(vd)===!1&&nd.pause&&nd.pause()}nd.on("data",od);function ld(){nd.readable&&nd.resume&&nd.resume()}Ra.on("drain",ld),!Ra._isStdio&&(!qa||qa.end!==!1)&&(nd.on("end",dd),nd.on("close",pd));var ud=!1;function dd(){ud||(ud=!0,Ra.end())}function pd(){ud||(ud=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function fd(vd){if(md(),EE.listenerCount(this,"error")===0)throw vd}nd.on("error",fd),Ra.on("error",fd);function md(){nd.removeListener("data",od),Ra.removeListener("drain",ld),nd.removeListener("end",dd),nd.removeListener("close",pd),nd.removeListener("error",fd),Ra.removeListener("error",fd),nd.removeListener("end",md),nd.removeListener("close",md),Ra.removeListener("close",md)}return nd.on("end",md),nd.on("close",md),Ra.on("close",md),Ra.emit("pipe",nd),Ra};var define_process_default$5={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...nd)=>Ra(...qa,...nd)}function initialParams(Ra){return function(...qa){var nd=qa.pop();return Ra.call(this,qa,nd)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$5=="object"&&typeof define_process_default$5.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...nd)=>Ra(()=>qa(...nd))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$5.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const nd=qa.pop(),od=Ra.apply(this,qa);return handlePromise(od,nd)}:initialParams(function(qa,nd){var od;try{od=Ra.apply(this,qa)}catch(ld){return nd(ld)}if(od&&typeof od.then=="function")return handlePromise(od,nd);nd(null,od)})}function handlePromise(Ra,qa){return Ra.then(nd=>{invokeCallback(qa,null,nd)},nd=>{invokeCallback(qa,nd&&(nd instanceof Error||nd.message)?nd:new Error(nd))})}function invokeCallback(Ra,qa,nd){try{Ra(qa,nd)}catch(od){setImmediate$1$1(ld=>{throw ld},od)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function nd(...od){return typeof od[qa-1]=="function"?Ra.apply(this,od):new Promise((ld,ud)=>{od[qa-1]=(dd,...pd)=>{if(dd)return ud(dd);ld(pd.length>1?pd:pd[0])},Ra.apply(this,od)})}return nd}function applyEach$1(Ra){return function(nd,...od){return awaitify(function(ud){var dd=this;return Ra(nd,(pd,fd)=>{wrapAsync(pd).apply(dd,od.concat(fd))},ud)})}}function _asyncMap(Ra,qa,nd,od){qa=qa||[];var ld=[],ud=0,dd=wrapAsync(nd);return Ra(qa,(pd,fd,md)=>{var vd=ud++;dd(pd,(Ad,Nd)=>{ld[vd]=Nd,md(Ad)})},pd=>{od(pd,ld)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...nd){if(Ra!==null){var od=Ra;Ra=null,od.apply(this,nd)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,nd=Ra.length;return function(){return++qa<nd?{value:Ra[qa],key:qa}:null}}function createES2015Iterator(Ra){var qa=-1;return function(){var od=Ra.next();return od.done?null:(qa++,{value:od.value,key:qa})}}function createObjectIterator(Ra){var qa=Ra?Object.keys(Ra):[],nd=-1,od=qa.length;return function ld(){var ud=qa[++nd];return ud==="__proto__"?ld():nd<od?{value:Ra[ud],key:ud}:null}}function createIterator(Ra){if(isArrayLike(Ra))return createArrayIterator(Ra);var qa=getIterator(Ra);return qa?createES2015Iterator(qa):createObjectIterator(Ra)}function onlyOnce(Ra){return function(...qa){if(Ra===null)throw new Error("Callback was already called.");var nd=Ra;Ra=null,nd.apply(this,qa)}}function asyncEachOfLimit(Ra,qa,nd,od){let ld=!1,ud=!1,dd=!1,pd=0,fd=0;function md(){pd>=qa||dd||ld||(dd=!0,Ra.next().then(({value:Nd,done:Id})=>{if(!(ud||ld)){if(dd=!1,Id){ld=!0,pd<=0&&od(null);return}pd++,nd(Nd,fd,vd),fd++,md()}}).catch(Ad))}function vd(Nd,Id){if(pd-=1,!ud){if(Nd)return Ad(Nd);if(Nd===!1){ld=!0,ud=!0;return}if(Id===breakLoop||ld&&pd<=0)return ld=!0,od(null);md()}}function Ad(Nd){ud||(dd=!1,ld=!0,od(Nd))}md()}var eachOfLimit$2=Ra=>(qa,nd,od)=>{if(od=once(od),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return od(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,nd,od);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,nd,od);var ld=createIterator(qa),ud=!1,dd=!1,pd=0,fd=!1;function md(Ad,Nd){if(!dd)if(pd-=1,Ad)ud=!0,od(Ad);else if(Ad===!1)ud=!0,dd=!0;else{if(Nd===breakLoop||ud&&pd<=0)return ud=!0,od(null);fd||vd()}}function vd(){for(fd=!0;pd<Ra&&!ud;){var Ad=ld();if(Ad===null){ud=!0,pd<=0&&od(null);return}pd+=1,nd(Ad.value,Ad.key,onlyOnce(md))}fd=!1}vd()};function eachOfLimit(Ra,qa,nd,od){return eachOfLimit$2(qa)(Ra,wrapAsync(nd),od)}var eachOfLimit$1=awaitify(eachOfLimit,4);function eachOfArrayLike(Ra,qa,nd){nd=once(nd);var od=0,ld=0,{length:ud}=Ra,dd=!1;ud===0&&nd(null);function pd(fd,md){fd===!1&&(dd=!0),dd!==!0&&(fd?nd(fd):(++ld===ud||md===breakLoop)&&nd(null))}for(;od<ud;od++)qa(Ra[od],od,onlyOnce(pd))}function eachOfGeneric(Ra,qa,nd){return eachOfLimit$1(Ra,1/0,qa,nd)}function eachOf(Ra,qa,nd){var od=isArrayLike(Ra)?eachOfArrayLike:eachOfGeneric;return od(Ra,wrapAsync(qa),nd)}var eachOf$1=awaitify(eachOf,3);function map(Ra,qa,nd){return _asyncMap(eachOf$1,Ra,qa,nd)}var map$1=awaitify(map,3),applyEach=applyEach$1(map$1);function eachOfSeries(Ra,qa,nd){return eachOfLimit$1(Ra,1,qa,nd)}var eachOfSeries$1=awaitify(eachOfSeries,3);function mapSeries(Ra,qa,nd){return _asyncMap(eachOfSeries$1,Ra,qa,nd)}var mapSeries$1=awaitify(mapSeries,3),applyEachSeries=applyEach$1(mapSeries$1);const PROMISE_SYMBOL=Symbol("promiseCallback");function promiseCallback(){let Ra,qa;function nd(od,...ld){if(od)return qa(od);Ra(ld.length>1?ld:ld[0])}return nd[PROMISE_SYMBOL]=new Promise((od,ld)=>{Ra=od,qa=ld}),nd}function auto(Ra,qa,nd){typeof qa!="number"&&(nd=qa,qa=null),nd=once(nd||promiseCallback());var od=Object.keys(Ra).length;if(!od)return nd(null);qa||(qa=od);var ld={},ud=0,dd=!1,pd=!1,fd=Object.create(null),md=[],vd=[],Ad={};Object.keys(Ra).forEach(Bd=>{var Gd=Ra[Bd];if(!Array.isArray(Gd)){Nd(Bd,[Gd]),vd.push(Bd);return}var qd=Gd.slice(0,Gd.length-1),zd=qd.length;if(zd===0){Nd(Bd,Gd),vd.push(Bd);return}Ad[Bd]=zd,qd.forEach(Xd=>{if(!Ra[Xd])throw new Error("async.auto task `"+Bd+"` has a non-existent dependency `"+Xd+"` in "+qd.join(", "));Od(Xd,()=>{zd--,zd===0&&Nd(Bd,Gd)})})}),jd(),Id();function Nd(Bd,Gd){md.push(()=>Ud(Bd,Gd))}function Id(){if(!dd){if(md.length===0&&ud===0)return nd(null,ld);for(;md.length&&ud<qa;){var Bd=md.shift();Bd()}}}function Od(Bd,Gd){var qd=fd[Bd];qd||(qd=fd[Bd]=[]),qd.push(Gd)}function Md(Bd){var Gd=fd[Bd]||[];Gd.forEach(qd=>qd()),Id()}function Ud(Bd,Gd){if(!pd){var qd=onlyOnce((Xd,...gf)=>{if(ud--,Xd===!1){dd=!0;return}if(gf.length<2&&([gf]=gf),Xd){var Yd={};if(Object.keys(ld).forEach(Zd=>{Yd[Zd]=ld[Zd]}),Yd[Bd]=gf,pd=!0,fd=Object.create(null),dd)return;nd(Xd,Yd)}else ld[Bd]=gf,Md(Bd)});ud++;var zd=wrapAsync(Gd[Gd.length-1]);Gd.length>1?zd(ld,qd):zd(qd)}}function jd(){for(var Bd,Gd=0;vd.length;)Bd=vd.pop(),Gd++,Ld(Bd).forEach(qd=>{--Ad[qd]===0&&vd.push(qd)});if(Gd!==od)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Ld(Bd){var Gd=[];return Object.keys(Ra).forEach(qd=>{const zd=Ra[qd];Array.isArray(zd)&&zd.indexOf(Bd)>=0&&Gd.push(qd)}),Gd}return nd[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",nd=0,od=Ra.indexOf("*/");for(;nd<Ra.length;)if(Ra[nd]==="/"&&Ra[nd+1]==="/"){let ld=Ra.indexOf(`
|
||
`,nd);nd=ld===-1?Ra.length:ld}else if(od!==-1&&Ra[nd]==="/"&&Ra[nd+1]==="*"){let ld=Ra.indexOf("*/",nd);ld!==-1?(nd=ld+2,od=Ra.indexOf("*/",nd)):(qa+=Ra[nd],nd++)}else qa+=Ra[nd],nd++;return qa}function parseParams(Ra){const qa=stripComments(Ra.toString());let nd=qa.match(FN_ARGS);if(nd||(nd=qa.match(ARROW_FN_ARGS)),!nd)throw new Error(`could not parse args in autoInject
|
||
Source:
|
||
`+qa);let[,od]=nd;return od.replace(/\s/g,"").split(FN_ARG_SPLIT).map(ld=>ld.replace(FN_ARG,"").trim())}function autoInject(Ra,qa){var nd={};return Object.keys(Ra).forEach(od=>{var ld=Ra[od],ud,dd=isAsync(ld),pd=!dd&&ld.length===1||dd&&ld.length===0;if(Array.isArray(ld))ud=[...ld],ld=ud.pop(),nd[od]=ud.concat(ud.length>0?fd:ld);else if(pd)nd[od]=ld;else{if(ud=parseParams(ld),ld.length===0&&!dd&&ud.length===0)throw new Error("autoInject task functions require explicit parameters.");dd||ud.pop(),nd[od]=ud.concat(fd)}function fd(md,vd){var Ad=ud.map(Nd=>md[Nd]);Ad.push(vd),wrapAsync(ld)(...Ad)}}),auto(nd,qa)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(qa){return qa.prev?qa.prev.next=qa.next:this.head=qa.next,qa.next?qa.next.prev=qa.prev:this.tail=qa.prev,qa.prev=qa.next=null,this.length-=1,qa}empty(){for(;this.head;)this.shift();return this}insertAfter(qa,nd){nd.prev=qa,nd.next=qa.next,qa.next?qa.next.prev=nd:this.tail=nd,qa.next=nd,this.length+=1}insertBefore(qa,nd){nd.prev=qa.prev,nd.next=qa,qa.prev?qa.prev.next=nd:this.head=nd,qa.prev=nd,this.length+=1}unshift(qa){this.head?this.insertBefore(this.head,qa):setInitial(this,qa)}push(qa){this.tail?this.insertAfter(this.tail,qa):setInitial(this,qa)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var qa=this.head;qa;)yield qa.data,qa=qa.next}remove(qa){for(var nd=this.head;nd;){var{next:od}=nd;qa(nd)&&this.removeLink(nd),nd=od}return this}}function setInitial(Ra,qa){Ra.length=1,Ra.head=Ra.tail=qa}function queue$1(Ra,qa,nd){if(qa==null)qa=1;else if(qa===0)throw new RangeError("Concurrency must not be zero");var od=wrapAsync(Ra),ld=0,ud=[];const dd={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function pd(Ld,Bd){dd[Ld].push(Bd)}function fd(Ld,Bd){const Gd=(...qd)=>{md(Ld,Gd),Bd(...qd)};dd[Ld].push(Gd)}function md(Ld,Bd){if(!Ld)return Object.keys(dd).forEach(Gd=>dd[Gd]=[]);if(!Bd)return dd[Ld]=[];dd[Ld]=dd[Ld].filter(Gd=>Gd!==Bd)}function vd(Ld,...Bd){dd[Ld].forEach(Gd=>Gd(...Bd))}var Ad=!1;function Nd(Ld,Bd,Gd,qd){if(qd!=null&&typeof qd!="function")throw new Error("task callback must be a function");jd.started=!0;var zd,Xd;function gf(Zd,...df){if(Zd)return Gd?Xd(Zd):zd();if(df.length<=1)return zd(df[0]);zd(df)}var Yd=jd._createTaskItem(Ld,Gd?gf:qd||gf);if(Bd?jd._tasks.unshift(Yd):jd._tasks.push(Yd),Ad||(Ad=!0,setImmediate$1$1(()=>{Ad=!1,jd.process()})),Gd||!qd)return new Promise((Zd,df)=>{zd=Zd,Xd=df})}function Id(Ld){return function(Bd,...Gd){ld-=1;for(var qd=0,zd=Ld.length;qd<zd;qd++){var Xd=Ld[qd],gf=ud.indexOf(Xd);gf===0?ud.shift():gf>0&&ud.splice(gf,1),Xd.callback(Bd,...Gd),Bd!=null&&vd("error",Bd,Xd.data)}ld<=jd.concurrency-jd.buffer&&vd("unsaturated"),jd.idle()&&vd("drain"),jd.process()}}function Od(Ld){return Ld.length===0&&jd.idle()?(setImmediate$1$1(()=>vd("drain")),!0):!1}const Md=Ld=>Bd=>{if(!Bd)return new Promise((Gd,qd)=>{fd(Ld,(zd,Xd)=>{if(zd)return qd(zd);Gd(Xd)})});md(Ld),pd(Ld,Bd)};var Ud=!1,jd={_tasks:new DLL,_createTaskItem(Ld,Bd){return{data:Ld,callback:Bd}},*[Symbol.iterator](){yield*jd._tasks[Symbol.iterator]()},concurrency:qa,payload:nd,buffer:qa/4,started:!1,paused:!1,push(Ld,Bd){return Array.isArray(Ld)?Od(Ld)?void 0:Ld.map(Gd=>Nd(Gd,!1,!1,Bd)):Nd(Ld,!1,!1,Bd)},pushAsync(Ld,Bd){return Array.isArray(Ld)?Od(Ld)?void 0:Ld.map(Gd=>Nd(Gd,!1,!0,Bd)):Nd(Ld,!1,!0,Bd)},kill(){md(),jd._tasks.empty()},unshift(Ld,Bd){return Array.isArray(Ld)?Od(Ld)?void 0:Ld.map(Gd=>Nd(Gd,!0,!1,Bd)):Nd(Ld,!0,!1,Bd)},unshiftAsync(Ld,Bd){return Array.isArray(Ld)?Od(Ld)?void 0:Ld.map(Gd=>Nd(Gd,!0,!0,Bd)):Nd(Ld,!0,!0,Bd)},remove(Ld){jd._tasks.remove(Ld)},process(){if(!Ud){for(Ud=!0;!jd.paused&&ld<jd.concurrency&&jd._tasks.length;){var Ld=[],Bd=[],Gd=jd._tasks.length;jd.payload&&(Gd=Math.min(Gd,jd.payload));for(var qd=0;qd<Gd;qd++){var zd=jd._tasks.shift();Ld.push(zd),ud.push(zd),Bd.push(zd.data)}ld+=1,jd._tasks.length===0&&vd("empty"),ld===jd.concurrency&&vd("saturated");var Xd=onlyOnce(Id(Ld));od(Bd,Xd)}Ud=!1}},length(){return jd._tasks.length},running(){return ld},workersList(){return ud},idle(){return jd._tasks.length+ld===0},pause(){jd.paused=!0},resume(){jd.paused!==!1&&(jd.paused=!1,setImmediate$1$1(jd.process))}};return Object.defineProperties(jd,{saturated:{writable:!1,value:Md("saturated")},unsaturated:{writable:!1,value:Md("unsaturated")},empty:{writable:!1,value:Md("empty")},drain:{writable:!1,value:Md("drain")},error:{writable:!1,value:Md("error")}}),jd}function cargo$1(Ra,qa){return queue$1(Ra,1,qa)}function cargo(Ra,qa,nd){return queue$1(Ra,qa,nd)}function reduce(Ra,qa,nd,od){od=once(od);var ld=wrapAsync(nd);return eachOfSeries$1(Ra,(ud,dd,pd)=>{ld(qa,ud,(fd,md)=>{qa=md,pd(fd)})},ud=>od(ud,qa))}var reduce$1=awaitify(reduce,4);function seq(...Ra){var qa=Ra.map(wrapAsync);return function(...nd){var od=this,ld=nd[nd.length-1];return typeof ld=="function"?nd.pop():ld=promiseCallback(),reduce$1(qa,nd,(ud,dd,pd)=>{dd.apply(od,ud.concat((fd,...md)=>{pd(fd,md)}))},(ud,dd)=>ld(ud,...dd)),ld[PROMISE_SYMBOL]}}function compose(...Ra){return seq(...Ra.reverse())}function mapLimit(Ra,qa,nd,od){return _asyncMap(eachOfLimit$2(qa),Ra,nd,od)}var mapLimit$1=awaitify(mapLimit,4);function concatLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,dd)=>{ld(ud,(pd,...fd)=>pd?dd(pd):dd(pd,fd))},(ud,dd)=>{for(var pd=[],fd=0;fd<dd.length;fd++)dd[fd]&&(pd=pd.concat(...dd[fd]));return od(ud,pd)})}var concatLimit$1=awaitify(concatLimit,4);function concat(Ra,qa,nd){return concatLimit$1(Ra,1/0,qa,nd)}var concat$1=awaitify(concat,3);function concatSeries(Ra,qa,nd){return concatLimit$1(Ra,1,qa,nd)}var concatSeries$1=awaitify(concatSeries,3);function constant$1(...Ra){return function(...qa){var nd=qa.pop();return nd(null,...Ra)}}function _createTester(Ra,qa){return(nd,od,ld,ud)=>{var dd=!1,pd;const fd=wrapAsync(ld);nd(od,(md,vd,Ad)=>{fd(md,(Nd,Id)=>{if(Nd||Nd===!1)return Ad(Nd);if(Ra(Id)&&!pd)return dd=!0,pd=qa(!0,md),Ad(null,breakLoop);Ad()})},md=>{if(md)return ud(md);ud(null,dd?pd:qa(!1))})}}function detect(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOf$1,Ra,qa,nd)}var detect$1=awaitify(detect,3);function detectLimit(Ra,qa,nd,od){return _createTester(ld=>ld,(ld,ud)=>ud)(eachOfLimit$2(qa),Ra,nd,od)}var detectLimit$1=awaitify(detectLimit,4);function detectSeries(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOfLimit$2(1),Ra,qa,nd)}var detectSeries$1=awaitify(detectSeries,3);function consoleFunc(Ra){return(qa,...nd)=>wrapAsync(qa)(...nd,(od,...ld)=>{typeof console=="object"&&(od?console.error&&console.error(od):console[Ra]&&ld.forEach(ud=>console[Ra](ud)))})}var dir=consoleFunc("dir");function doWhilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(Ra),ld=wrapAsync(qa),ud;function dd(fd,...md){if(fd)return nd(fd);fd!==!1&&(ud=md,ld(...md,pd))}function pd(fd,md){if(fd)return nd(fd);if(fd!==!1){if(!md)return nd(null,...ud);od(dd)}}return pd(null,!0)}var doWhilst$1=awaitify(doWhilst,3);function doUntil(Ra,qa,nd){const od=wrapAsync(qa);return doWhilst$1(Ra,(...ld)=>{const ud=ld.pop();od(...ld,(dd,pd)=>ud(dd,!pd))},nd)}function _withoutIndex(Ra){return(qa,nd,od)=>Ra(qa,od)}function eachLimit$2(Ra,qa,nd){return eachOf$1(Ra,_withoutIndex(wrapAsync(qa)),nd)}var each=awaitify(eachLimit$2,3);function eachLimit(Ra,qa,nd,od){return eachOfLimit$2(qa)(Ra,_withoutIndex(wrapAsync(nd)),od)}var eachLimit$1=awaitify(eachLimit,4);function eachSeries(Ra,qa,nd){return eachLimit$1(Ra,1,qa,nd)}var eachSeries$1=awaitify(eachSeries,3);function ensureAsync(Ra){return isAsync(Ra)?Ra:function(...qa){var nd=qa.pop(),od=!0;qa.push((...ld)=>{od?setImmediate$1$1(()=>nd(...ld)):nd(...ld)}),Ra.apply(this,qa),od=!1}}function every(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOf$1,Ra,qa,nd)}var every$1=awaitify(every,3);function everyLimit(Ra,qa,nd,od){return _createTester(ld=>!ld,ld=>!ld)(eachOfLimit$2(qa),Ra,nd,od)}var everyLimit$1=awaitify(everyLimit,4);function everySeries(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOfSeries$1,Ra,qa,nd)}var everySeries$1=awaitify(everySeries,3);function filterArray(Ra,qa,nd,od){var ld=new Array(qa.length);Ra(qa,(ud,dd,pd)=>{nd(ud,(fd,md)=>{ld[dd]=!!md,pd(fd)})},ud=>{if(ud)return od(ud);for(var dd=[],pd=0;pd<qa.length;pd++)ld[pd]&&dd.push(qa[pd]);od(null,dd)})}function filterGeneric(Ra,qa,nd,od){var ld=[];Ra(qa,(ud,dd,pd)=>{nd(ud,(fd,md)=>{if(fd)return pd(fd);md&&ld.push({index:dd,value:ud}),pd(fd)})},ud=>{if(ud)return od(ud);od(null,ld.sort((dd,pd)=>dd.index-pd.index).map(dd=>dd.value))})}function _filter(Ra,qa,nd,od){var ld=isArrayLike(qa)?filterArray:filterGeneric;return ld(Ra,qa,wrapAsync(nd),od)}function filter(Ra,qa,nd){return _filter(eachOf$1,Ra,qa,nd)}var filter$1=awaitify(filter,3);function filterLimit(Ra,qa,nd,od){return _filter(eachOfLimit$2(qa),Ra,nd,od)}var filterLimit$1=awaitify(filterLimit,4);function filterSeries(Ra,qa,nd){return _filter(eachOfSeries$1,Ra,qa,nd)}var filterSeries$1=awaitify(filterSeries,3);function forever(Ra,qa){var nd=onlyOnce(qa),od=wrapAsync(ensureAsync(Ra));function ld(ud){if(ud)return nd(ud);ud!==!1&&od(ld)}return ld()}var forever$1=awaitify(forever,2);function groupByLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,dd)=>{ld(ud,(pd,fd)=>pd?dd(pd):dd(pd,{key:fd,val:ud}))},(ud,dd)=>{for(var pd={},{hasOwnProperty:fd}=Object.prototype,md=0;md<dd.length;md++)if(dd[md]){var{key:vd}=dd[md],{val:Ad}=dd[md];fd.call(pd,vd)?pd[vd].push(Ad):pd[vd]=[Ad]}return od(ud,pd)})}var groupByLimit$1=awaitify(groupByLimit,4);function groupBy(Ra,qa,nd){return groupByLimit$1(Ra,1/0,qa,nd)}function groupBySeries(Ra,qa,nd){return groupByLimit$1(Ra,1,qa,nd)}var log=consoleFunc("log");function mapValuesLimit(Ra,qa,nd,od){od=once(od);var ld={},ud=wrapAsync(nd);return eachOfLimit$2(qa)(Ra,(dd,pd,fd)=>{ud(dd,pd,(md,vd)=>{if(md)return fd(md);ld[pd]=vd,fd(md)})},dd=>od(dd,ld))}var mapValuesLimit$1=awaitify(mapValuesLimit,4);function mapValues(Ra,qa,nd){return mapValuesLimit$1(Ra,1/0,qa,nd)}function mapValuesSeries(Ra,qa,nd){return mapValuesLimit$1(Ra,1,qa,nd)}function memoize(Ra,qa=nd=>nd){var nd=Object.create(null),od=Object.create(null),ld=wrapAsync(Ra),ud=initialParams((dd,pd)=>{var fd=qa(...dd);fd in nd?setImmediate$1$1(()=>pd(null,...nd[fd])):fd in od?od[fd].push(pd):(od[fd]=[pd],ld(...dd,(md,...vd)=>{md||(nd[fd]=vd);var Ad=od[fd];delete od[fd];for(var Nd=0,Id=Ad.length;Nd<Id;Nd++)Ad[Nd](md,...vd)}))});return ud.memo=nd,ud.unmemoized=Ra,ud}var _defer;hasNextTick?_defer=define_process_default$5.nextTick:hasSetImmediate?_defer=setImmediate:_defer=fallback;var nextTick=wrap(_defer),_parallel=awaitify((Ra,qa,nd)=>{var od=isArrayLike(qa)?[]:{};Ra(qa,(ld,ud,dd)=>{wrapAsync(ld)((pd,...fd)=>{fd.length<2&&([fd]=fd),od[ud]=fd,dd(pd)})},ld=>nd(ld,od))},3);function parallel(Ra,qa){return _parallel(eachOf$1,Ra,qa)}function parallelLimit(Ra,qa,nd){return _parallel(eachOfLimit$2(qa),Ra,nd)}function queue(Ra,qa){var nd=wrapAsync(Ra);return queue$1((od,ld)=>{nd(od[0],ld)},qa,1)}class Heap{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(qa){let nd;for(;qa>0&&smaller(this.heap[qa],this.heap[nd=parent(qa)]);){let od=this.heap[qa];this.heap[qa]=this.heap[nd],this.heap[nd]=od,qa=nd}}percDown(qa){let nd;for(;(nd=leftChi(qa))<this.heap.length&&(nd+1<this.heap.length&&smaller(this.heap[nd+1],this.heap[nd])&&(nd=nd+1),!smaller(this.heap[qa],this.heap[nd]));){let od=this.heap[qa];this.heap[qa]=this.heap[nd],this.heap[nd]=od,qa=nd}}push(qa){qa.pushCount=++this.pushCount,this.heap.push(qa),this.percUp(this.heap.length-1)}unshift(qa){return this.heap.push(qa)}shift(){let[qa]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),qa}toArray(){return[...this]}*[Symbol.iterator](){for(let qa=0;qa<this.heap.length;qa++)yield this.heap[qa].data}remove(qa){let nd=0;for(let od=0;od<this.heap.length;od++)qa(this.heap[od])||(this.heap[nd]=this.heap[od],nd++);this.heap.splice(nd);for(let od=parent(this.heap.length-1);od>=0;od--)this.percDown(od);return this}}function leftChi(Ra){return(Ra<<1)+1}function parent(Ra){return(Ra+1>>1)-1}function smaller(Ra,qa){return Ra.priority!==qa.priority?Ra.priority<qa.priority:Ra.pushCount<qa.pushCount}function priorityQueue(Ra,qa){var nd=queue(Ra,qa),{push:od,pushAsync:ld}=nd;nd._tasks=new Heap,nd._createTaskItem=({data:dd,priority:pd},fd)=>({data:dd,priority:pd,callback:fd});function ud(dd,pd){return Array.isArray(dd)?dd.map(fd=>({data:fd,priority:pd})):{data:dd,priority:pd}}return nd.push=function(dd,pd=0,fd){return od(ud(dd,pd),fd)},nd.pushAsync=function(dd,pd=0,fd){return ld(ud(dd,pd),fd)},delete nd.unshift,delete nd.unshiftAsync,nd}function race(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new TypeError("First argument to race must be an array of functions"));if(!Ra.length)return qa();for(var nd=0,od=Ra.length;nd<od;nd++)wrapAsync(Ra[nd])(qa)}var race$1=awaitify(race,2);function reduceRight(Ra,qa,nd,od){var ld=[...Ra].reverse();return reduce$1(ld,qa,nd,od)}function reflect(Ra){var qa=wrapAsync(Ra);return initialParams(function(od,ld){return od.push((ud,...dd)=>{let pd={};if(ud&&(pd.error=ud),dd.length>0){var fd=dd;dd.length<=1&&([fd]=dd),pd.value=fd}ld(null,pd)}),qa.apply(this,od)})}function reflectAll(Ra){var qa;return Array.isArray(Ra)?qa=Ra.map(reflect):(qa={},Object.keys(Ra).forEach(nd=>{qa[nd]=reflect.call(this,Ra[nd])})),qa}function reject$2(Ra,qa,nd,od){const ld=wrapAsync(nd);return _filter(Ra,qa,(ud,dd)=>{ld(ud,(pd,fd)=>{dd(pd,!fd)})},od)}function reject(Ra,qa,nd){return reject$2(eachOf$1,Ra,qa,nd)}var reject$1=awaitify(reject,3);function rejectLimit(Ra,qa,nd,od){return reject$2(eachOfLimit$2(qa),Ra,nd,od)}var rejectLimit$1=awaitify(rejectLimit,4);function rejectSeries(Ra,qa,nd){return reject$2(eachOfSeries$1,Ra,qa,nd)}var rejectSeries$1=awaitify(rejectSeries,3);function constant(Ra){return function(){return Ra}}const DEFAULT_TIMES=5,DEFAULT_INTERVAL=0;function retry(Ra,qa,nd){var od={times:DEFAULT_TIMES,intervalFunc:constant(DEFAULT_INTERVAL)};if(arguments.length<3&&typeof Ra=="function"?(nd=qa||promiseCallback(),qa=Ra):(parseTimes(od,Ra),nd=nd||promiseCallback()),typeof qa!="function")throw new Error("Invalid arguments for async.retry");var ld=wrapAsync(qa),ud=1;function dd(){ld((pd,...fd)=>{pd!==!1&&(pd&&ud++<od.times&&(typeof od.errorFilter!="function"||od.errorFilter(pd))?setTimeout(dd,od.intervalFunc(ud-1)):nd(pd,...fd))})}return dd(),nd[PROMISE_SYMBOL]}function parseTimes(Ra,qa){if(typeof qa=="object")Ra.times=+qa.times||DEFAULT_TIMES,Ra.intervalFunc=typeof qa.interval=="function"?qa.interval:constant(+qa.interval||DEFAULT_INTERVAL),Ra.errorFilter=qa.errorFilter;else if(typeof qa=="number"||typeof qa=="string")Ra.times=+qa||DEFAULT_TIMES;else throw new Error("Invalid arguments for async.retry")}function retryable(Ra,qa){qa||(qa=Ra,Ra=null);let nd=Ra&&Ra.arity||qa.length;isAsync(qa)&&(nd+=1);var od=wrapAsync(qa);return initialParams((ld,ud)=>{(ld.length<nd-1||ud==null)&&(ld.push(ud),ud=promiseCallback());function dd(pd){od(...ld,pd)}return Ra?retry(Ra,dd,ud):retry(dd,ud),ud[PROMISE_SYMBOL]})}function series(Ra,qa){return _parallel(eachOfSeries$1,Ra,qa)}function some(Ra,qa,nd){return _createTester(Boolean,od=>od)(eachOf$1,Ra,qa,nd)}var some$1=awaitify(some,3);function someLimit(Ra,qa,nd,od){return _createTester(Boolean,ld=>ld)(eachOfLimit$2(qa),Ra,nd,od)}var someLimit$1=awaitify(someLimit,4);function someSeries(Ra,qa,nd){return _createTester(Boolean,od=>od)(eachOfSeries$1,Ra,qa,nd)}var someSeries$1=awaitify(someSeries,3);function sortBy(Ra,qa,nd){var od=wrapAsync(qa);return map$1(Ra,(ud,dd)=>{od(ud,(pd,fd)=>{if(pd)return dd(pd);dd(pd,{value:ud,criteria:fd})})},(ud,dd)=>{if(ud)return nd(ud);nd(null,dd.sort(ld).map(pd=>pd.value))});function ld(ud,dd){var pd=ud.criteria,fd=dd.criteria;return pd<fd?-1:pd>fd?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,nd){var od=wrapAsync(Ra);return initialParams((ld,ud)=>{var dd=!1,pd;function fd(){var md=Ra.name||"anonymous",vd=new Error('Callback function "'+md+'" timed out.');vd.code="ETIMEDOUT",nd&&(vd.info=nd),dd=!0,ud(vd)}ld.push((...md)=>{dd||(ud(...md),clearTimeout(pd))}),pd=setTimeout(fd,qa),od(...ld)})}function range(Ra){for(var qa=Array(Ra);Ra--;)qa[Ra]=Ra;return qa}function timesLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(range(Ra),qa,ld,od)}function times(Ra,qa,nd){return timesLimit(Ra,1/0,qa,nd)}function timesSeries(Ra,qa,nd){return timesLimit(Ra,1,qa,nd)}function transform(Ra,qa,nd,od){arguments.length<=3&&typeof qa=="function"&&(od=nd,nd=qa,qa=Array.isArray(Ra)?[]:{}),od=once(od||promiseCallback());var ld=wrapAsync(nd);return eachOf$1(Ra,(ud,dd,pd)=>{ld(qa,ud,dd,pd)},ud=>od(ud,qa)),od[PROMISE_SYMBOL]}function tryEach(Ra,qa){var nd=null,od;return eachSeries$1(Ra,(ld,ud)=>{wrapAsync(ld)((dd,...pd)=>{if(dd===!1)return ud(dd);pd.length<2?[od]=pd:od=pd,nd=dd,ud(dd?null:{})})},()=>qa(nd,od))}var tryEach$1=awaitify(tryEach);function unmemoize(Ra){return(...qa)=>(Ra.unmemoized||Ra)(...qa)}function whilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(qa),ld=wrapAsync(Ra),ud=[];function dd(fd,...md){if(fd)return nd(fd);ud=md,fd!==!1&&ld(pd)}function pd(fd,md){if(fd)return nd(fd);if(fd!==!1){if(!md)return nd(null,...ud);od(dd)}}return ld(pd)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,nd){const od=wrapAsync(Ra);return whilst$1(ld=>od((ud,dd)=>ld(ud,!dd)),qa,nd)}function waterfall(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new Error("First argument to waterfall must be an array of functions"));if(!Ra.length)return qa();var nd=0;function od(ud){var dd=wrapAsync(Ra[nd++]);dd(...ud,onlyOnce(ld))}function ld(ud,...dd){if(ud!==!1){if(ud||nd===Ra.length)return qa(ud,...dd);od(dd)}}od([])}var waterfall$1=awaitify(waterfall),index={apply,applyEach,applyEachSeries,asyncify,auto,autoInject,cargo:cargo$1,cargoQueue:cargo,compose,concat:concat$1,concatLimit:concatLimit$1,concatSeries:concatSeries$1,constant:constant$1,detect:detect$1,detectLimit:detectLimit$1,detectSeries:detectSeries$1,dir,doUntil,doWhilst:doWhilst$1,each,eachLimit:eachLimit$1,eachOf:eachOf$1,eachOfLimit:eachOfLimit$1,eachOfSeries:eachOfSeries$1,eachSeries:eachSeries$1,ensureAsync,every:every$1,everyLimit:everyLimit$1,everySeries:everySeries$1,filter:filter$1,filterLimit:filterLimit$1,filterSeries:filterSeries$1,forever:forever$1,groupBy,groupByLimit:groupByLimit$1,groupBySeries,log,map:map$1,mapLimit:mapLimit$1,mapSeries:mapSeries$1,mapValues,mapValuesLimit:mapValuesLimit$1,mapValuesSeries,memoize,nextTick,parallel,parallelLimit,priorityQueue,queue,race:race$1,reduce:reduce$1,reduceRight,reflect,reflectAll,reject:reject$1,rejectLimit:rejectLimit$1,rejectSeries:rejectSeries$1,retry,retryable,seq,series,setImmediate:setImmediate$1$1,some:some$1,someLimit:someLimit$1,someSeries:someSeries$1,sortBy:sortBy$1,timeout,times,timesLimit,timesSeries,transform,tryEach:tryEach$1,unmemoize,until,waterfall:waterfall$1,whilst:whilst$1,all:every$1,allLimit:everyLimit$1,allSeries:everySeries$1,any:some$1,anyLimit:someLimit$1,anySeries:someSeries$1,find:detect$1,findLimit:detectLimit$1,findSeries:detectSeries$1,flatMap:concat$1,flatMapLimit:concatLimit$1,flatMapSeries:concatSeries$1,forEach:each,forEachSeries:eachSeries$1,forEachLimit:eachLimit$1,forEachOf:eachOf$1,forEachOfSeries:eachOfSeries$1,forEachOfLimit:eachOfLimit$1,inject:reduce$1,foldl:reduce$1,foldr:reduceRight,select:filter$1,selectLimit:filterLimit$1,selectSeries:filterSeries$1,wrapSync:asyncify,during:whilst$1,doDuring:doWhilst$1},readableBrowser={exports:{}};(function(Ra,qa){qa=Ra.exports=require_stream_readable(),qa.Stream=qa,qa.Readable=qa,qa.Writable=require_stream_writable(),qa.Duplex=require_stream_duplex(),qa.Transform=_stream_transform,qa.PassThrough=_stream_passthrough,qa.finished=endOfStream,qa.pipeline=pipeline_1})(readableBrowser,readableBrowser.exports);var readableBrowserExports=readableBrowser.exports;const{Transform:Transform$1}=readableBrowserExports;class Block extends Transform$1{constructor(qa,nd={}){super(nd),typeof qa=="object"&&(nd=qa,qa=nd.size),this.size=qa||512;const{nopad:od,zeroPadding:ld=!0}=nd;od?this._zeroPadding=!1:this._zeroPadding=!!ld,this._buffered=[],this._bufferedBytes=0}_transform(qa,nd,od){for(this._bufferedBytes+=qa.length,this._buffered.push(qa);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const ld=[];let ud=0;for(;ud<this.size;){const dd=this._buffered.shift();if(ud+dd.length<=this.size)ld.push(dd),ud+=dd.length;else{const pd=this.size-ud;ld.push(dd.slice(0,pd)),ud+=pd,this._buffered.unshift(dd.slice(pd))}}this.push(Buffer$4.concat(ld,this.size))}od()}_flush(){if(this._bufferedBytes&&this._zeroPadding){const qa=Buffer$4.alloc(this.size-this._bufferedBytes);this._buffered.push(qa),this.push(Buffer$4.concat(this._buffered)),this._buffered=null}else this._bufferedBytes&&(this.push(Buffer$4.concat(this._buffered)),this._buffered=null);this.push(null)}}var blockStream2=Block;const BlockStream2=getDefaultExportFromCjs(blockStream2);var lodash={exports:{}};/**
|
||
* @license
|
||
* Lodash <https://lodash.com/>
|
||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||
* Released under MIT license <https://lodash.com/license>
|
||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||
*/lodash.exports;(function(Ra,qa){(function(){var nd,od="4.17.21",ld=200,ud="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",dd="Expected a function",pd="Invalid `variable` option passed into `_.template`",fd="__lodash_hash_undefined__",md=500,vd="__lodash_placeholder__",Ad=1,Nd=2,Id=4,Od=1,Md=2,Ud=1,jd=2,Ld=4,Bd=8,Gd=16,qd=32,zd=64,Xd=128,gf=256,Yd=512,Zd=30,df="...",Ef=800,_f=16,xf=1,vf=2,Af=3,Df=1/0,jf=9007199254740991,Jf=17976931348623157e292,eh=NaN,th=4294967295,Uf=th-1,Of=th>>>1,Wf=[["ary",Xd],["bind",Ud],["bindKey",jd],["curry",Bd],["curryRight",Gd],["flip",Yd],["partial",qd],["partialRight",zd],["rearg",gf]],qf="[object Arguments]",zf="[object Array]",Tf="[object AsyncFunction]",Sf="[object Boolean]",Yf="[object Date]",ih="[object DOMException]",Th="[object Error]",sh="[object Function]",Nf="[object GeneratorFunction]",ph="[object Map]",Oh="[object Number]",Zf="[object Null]",Rf="[object Object]",Bf="[object Promise]",Kf="[object Proxy]",wh="[object RegExp]",Ah="[object Set]",mh="[object String]",im="[object Symbol]",Bh="[object Undefined]",Tm="[object WeakMap]",Pm="[object WeakSet]",gm="[object ArrayBuffer]",Mm="[object DataView]",Hm="[object Float32Array]",gh="[object Float64Array]",Lf="[object Int8Array]",$f="[object Int16Array]",fh="[object Int32Array]",Ch="[object Uint8Array]",Zh="[object Uint8ClampedArray]",dm="[object Uint16Array]",Im="[object Uint32Array]",Ym=/\b__p \+= '';/g,Fm=/\b(__p \+=) '' \+/g,ug=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rg=/&(?:amp|lt|gt|quot|#39);/g,Eg=/[&<>"']/g,kg=RegExp(rg.source),n_=RegExp(Eg.source),Fg=/<%-([\s\S]+?)%>/g,Kg=/<%([\s\S]+?)%>/g,Ng=/<%=([\s\S]+?)%>/g,g_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Jg=/^\w*$/,C_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N_=/[\\^$.*+?()[\]{}|]/g,a_=RegExp(N_.source),c_=/^\s+/,ng=/\s/,ub=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Tb=/\{\n\/\* \[wrapped with (.+)\] \*/,q_=/,? & /,Pf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,kh=/[()=,{}\[\]\/\s]/,vh=/\\(\\)?/g,Rh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sm=/\w*$/,Jh=/^[-+]0x[0-9a-f]+$/i,hm=/^0b[01]+$/i,pm=/^\[object .+?Constructor\]$/,Uh=/^0o[0-7]+$/i,Lm=/^(?:0|[1-9]\d*)$/,Gm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_g=/($^)/,Km=/['\n\r\u2028\u2029\\]/g,Sg="\\ud800-\\udfff",t_="\\u0300-\\u036f",Zg="\\ufe20-\\ufe2f",jg="\\u20d0-\\u20ff",tg=t_+Zg+jg,y_="\\u2700-\\u27bf",Gg="a-z\\xdf-\\xf6\\xf8-\\xff",Mg="\\xac\\xb1\\xd7\\xf7",_h="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Xh="\\u2000-\\u206f",Um=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Jm="A-Z\\xc0-\\xd6\\xd8-\\xde",Om="\\ufe0e\\ufe0f",og=Mg+_h+Xh+Um,zg="['’]",S_="["+Sg+"]",M_="["+og+"]",fb="["+tg+"]",Mb="\\d+",Pg="["+y_+"]",hb="["+Gg+"]",T_="[^"+Sg+og+Mb+y_+Gg+Jm+"]",K_="\\ud83c[\\udffb-\\udfff]",B_="(?:"+fb+"|"+K_+")",$b="[^"+Sg+"]",u0="(?:\\ud83c[\\udde6-\\uddff]){2}",X_="[\\ud800-\\udbff][\\udc00-\\udfff]",Pb="["+Jm+"]",sy="\\u200d",P0="(?:"+hb+"|"+T_+")",Rg="(?:"+Pb+"|"+T_+")",L0="(?:"+zg+"(?:d|ll|m|re|s|t|ve))?",T0="(?:"+zg+"(?:D|LL|M|RE|S|T|VE))?",oy=B_+"?",uv="["+Om+"]?",dv="(?:"+sy+"(?:"+[$b,u0,X_].join("|")+")"+uv+oy+")*",x0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",F_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xb=uv+oy+dv,Wb="(?:"+[Pg,u0,X_].join("|")+")"+xb,C0="(?:"+[$b+fb+"?",fb,u0,X_,S_].join("|")+")",B0=RegExp(zg,"g"),BE=RegExp(fb,"g"),eE=RegExp(K_+"(?="+K_+")|"+C0+xb,"g"),FE=RegExp([Pb+"?"+hb+"+"+L0+"(?="+[M_,Pb,"$"].join("|")+")",Rg+"+"+T0+"(?="+[M_,Pb+P0,"$"].join("|")+")",Pb+"?"+P0+"+"+L0,Pb+"+"+T0,F_,x0,Mb,Wb].join("|"),"g"),PS=RegExp("["+sy+Sg+tg+Om+"]"),tE=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jE=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],UE=-1,ig={};ig[Hm]=ig[gh]=ig[Lf]=ig[$f]=ig[fh]=ig[Ch]=ig[Zh]=ig[dm]=ig[Im]=!0,ig[qf]=ig[zf]=ig[gm]=ig[Sf]=ig[Mm]=ig[Yf]=ig[Th]=ig[sh]=ig[ph]=ig[Oh]=ig[Rf]=ig[wh]=ig[Ah]=ig[mh]=ig[Tm]=!1;var __={};__[qf]=__[zf]=__[gm]=__[Mm]=__[Sf]=__[Yf]=__[Hm]=__[gh]=__[Lf]=__[$f]=__[fh]=__[ph]=__[Oh]=__[Rf]=__[wh]=__[Ah]=__[mh]=__[im]=__[Ch]=__[Zh]=__[dm]=__[Im]=!0,__[Th]=__[sh]=__[Tm]=!1;var uy={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},pv={"&":"&","<":"<",">":">",'"':""","'":"'"},rE={"&":"&","<":"<",">":">",""":'"',"'":"'"},HE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},GE=parseFloat,Sy=parseInt,qE=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,nE=typeof self=="object"&&self&&self.Object===Object&&self,h_=qE||nE||Function("return this")(),iE=qa&&!qa.nodeType&&qa,A0=iE&&!0&&Ra&&!Ra.nodeType&&Ra,A_=A0&&A0.exports===iE,Lb=A_&&qE.process,$_=function(){try{var Nm=A0&&A0.require&&A0.require("util").types;return Nm||Lb&&Lb.binding&&Lb.binding("util")}catch{}}(),Ty=$_&&$_.isArrayBuffer,Bb=$_&&$_.isDate,F0=$_&&$_.isMap,fv=$_&&$_.isRegExp,Yb=$_&&$_.isSet,VE=$_&&$_.isTypedArray;function vb(Nm,Vm,$m){switch($m.length){case 0:return Nm.call(Vm);case 1:return Nm.call(Vm,$m[0]);case 2:return Nm.call(Vm,$m[0],$m[1]);case 3:return Nm.call(Vm,$m[0],$m[1],$m[2])}return Nm.apply(Vm,$m)}function sE(Nm,Vm,$m,Dg){for(var Vg=-1,s_=Nm==null?0:Nm.length;++Vg<s_;){var V_=Nm[Vg];Vm(Dg,V_,$m(V_),Nm)}return Dg}function Cb(Nm,Vm){for(var $m=-1,Dg=Nm==null?0:Nm.length;++$m<Dg&&Vm(Nm[$m],$m,Nm)!==!1;);return Nm}function zE(Nm,Vm){for(var $m=Nm==null?0:Nm.length;$m--&&Vm(Nm[$m],$m,Nm)!==!1;);return Nm}function Cy(Nm,Vm){for(var $m=-1,Dg=Nm==null?0:Nm.length;++$m<Dg;)if(!Vm(Nm[$m],$m,Nm))return!1;return!0}function d0(Nm,Vm){for(var $m=-1,Dg=Nm==null?0:Nm.length,Vg=0,s_=[];++$m<Dg;){var V_=Nm[$m];Vm(V_,$m,Nm)&&(s_[Vg++]=V_)}return s_}function hv(Nm,Vm){var $m=Nm==null?0:Nm.length;return!!$m&&Kd(Nm,Vm,0)>-1}function mv(Nm,Vm,$m){for(var Dg=-1,Vg=Nm==null?0:Nm.length;++Dg<Vg;)if($m(Vm,Nm[Dg]))return!0;return!1}function x_(Nm,Vm){for(var $m=-1,Dg=Nm==null?0:Nm.length,Vg=Array(Dg);++$m<Dg;)Vg[$m]=Vm(Nm[$m],$m,Nm);return Vg}function Kb(Nm,Vm){for(var $m=-1,Dg=Vm.length,Vg=Nm.length;++$m<Dg;)Nm[Vg+$m]=Vm[$m];return Nm}function oE(Nm,Vm,$m,Dg){var Vg=-1,s_=Nm==null?0:Nm.length;for(Dg&&s_&&($m=Nm[++Vg]);++Vg<s_;)$m=Vm($m,Nm[Vg],Vg,Nm);return $m}function WE(Nm,Vm,$m,Dg){var Vg=Nm==null?0:Nm.length;for(Dg&&Vg&&($m=Nm[--Vg]);Vg--;)$m=Vm($m,Nm[Vg],Vg,Nm);return $m}function j0(Nm,Vm){for(var $m=-1,Dg=Nm==null?0:Nm.length;++$m<Dg;)if(Vm(Nm[$m],$m,Nm))return!0;return!1}var Fb=xh("length");function YE(Nm){return Nm.split("")}function LS(Nm){return Nm.match(Pf)||[]}function Wd(Nm,Vm,$m){var Dg;return $m(Nm,function(Vg,s_,V_){if(Vm(Vg,s_,V_))return Dg=s_,!1}),Dg}function Fd(Nm,Vm,$m,Dg){for(var Vg=Nm.length,s_=$m+(Dg?1:-1);Dg?s_--:++s_<Vg;)if(Vm(Nm[s_],s_,Nm))return s_;return-1}function Kd(Nm,Vm,$m){return Vm===Vm?wT(Nm,Vm,$m):Fd(Nm,If,$m)}function yf(Nm,Vm,$m,Dg){for(var Vg=$m-1,s_=Nm.length;++Vg<s_;)if(Dg(Nm[Vg],Vm))return Vg;return-1}function If(Nm){return Nm!==Nm}function uh(Nm,Vm){var $m=Nm==null?0:Nm.length;return $m?zm(Nm,Vm)/$m:eh}function xh(Nm){return function(Vm){return Vm==null?nd:Vm[Nm]}}function Vh(Nm){return function(Vm){return Nm==null?nd:Nm[Vm]}}function fm(Nm,Vm,$m,Dg,Vg){return Vg(Nm,function(s_,V_,v_){$m=Dg?(Dg=!1,s_):Vm($m,s_,V_,v_)}),$m}function om(Nm,Vm){var $m=Nm.length;for(Nm.sort(Vm);$m--;)Nm[$m]=Nm[$m].value;return Nm}function zm(Nm,Vm){for(var $m,Dg=-1,Vg=Nm.length;++Dg<Vg;){var s_=Vm(Nm[Dg]);s_!==nd&&($m=$m===nd?s_:$m+s_)}return $m}function sg(Nm,Vm){for(var $m=-1,Dg=Array(Nm);++$m<Nm;)Dg[$m]=Vm($m);return Dg}function Tg(Nm,Vm){return x_(Vm,function($m){return[$m,Nm[$m]]})}function Ag(Nm){return Nm&&Nm.slice(0,FS(Nm)+1).replace(c_,"")}function qg(Nm){return function(Vm){return Nm(Vm)}}function I_(Nm,Vm){return x_(Vm,function($m){return Nm[$m]})}function r_(Nm,Vm){return Nm.has(Vm)}function u_(Nm,Vm){for(var $m=-1,Dg=Nm.length;++$m<Dg&&Kd(Vm,Nm[$m],0)>-1;);return $m}function Q_(Nm,Vm){for(var $m=Nm.length;$m--&&Kd(Vm,Nm[$m],0)>-1;);return $m}function Ay(Nm,Vm){for(var $m=Nm.length,Dg=0;$m--;)Nm[$m]===Vm&&++Dg;return Dg}var gv=Vh(uy),p0=Vh(pv);function Dy(Nm){return"\\"+HE[Nm]}function BS(Nm,Vm){return Nm==null?nd:Nm[Vm]}function _v(Nm){return PS.test(Nm)}function CT(Nm){return tE.test(Nm)}function Ix(Nm){for(var Vm,$m=[];!(Vm=Nm.next()).done;)$m.push(Vm.value);return $m}function KE(Nm){var Vm=-1,$m=Array(Nm.size);return Nm.forEach(function(Dg,Vg){$m[++Vm]=[Vg,Dg]}),$m}function XE(Nm,Vm){return function($m){return Nm(Vm($m))}}function wb(Nm,Vm){for(var $m=-1,Dg=Nm.length,Vg=0,s_=[];++$m<Dg;){var V_=Nm[$m];(V_===Vm||V_===vd)&&(Nm[$m]=vd,s_[Vg++]=$m)}return s_}function Db(Nm){var Vm=-1,$m=Array(Nm.size);return Nm.forEach(function(Dg){$m[++Vm]=Dg}),$m}function AT(Nm){var Vm=-1,$m=Array(Nm.size);return Nm.forEach(function(Dg){$m[++Vm]=[Dg,Dg]}),$m}function wT(Nm,Vm,$m){for(var Dg=$m-1,Vg=Nm.length;++Dg<Vg;)if(Nm[Dg]===Vm)return Dg;return-1}function Rx(Nm,Vm,$m){for(var Dg=$m+1;Dg--;)if(Nm[Dg]===Vm)return Dg;return Dg}function yv(Nm){return _v(Nm)?lE(Nm):Fb(Nm)}function Xb(Nm){return _v(Nm)?NT(Nm):YE(Nm)}function FS(Nm){for(var Vm=Nm.length;Vm--&&ng.test(Nm.charAt(Vm)););return Vm}var DT=Vh(rE);function lE(Nm){for(var Vm=eE.lastIndex=0;eE.test(Nm);)++Vm;return Vm}function NT(Nm){return Nm.match(eE)||[]}function IT(Nm){return Nm.match(FE)||[]}var jS=function Nm(Vm){Vm=Vm==null?h_:w0.defaults(h_.Object(),Vm,w0.pick(h_,jE));var $m=Vm.Array,Dg=Vm.Date,Vg=Vm.Error,s_=Vm.Function,V_=Vm.Math,v_=Vm.Object,cE=Vm.RegExp,Ox=Vm.String,jb=Vm.TypeError,QE=$m.prototype,Ny=s_.prototype,Qb=v_.prototype,D0=Vm["__core-js_shared__"],vv=Ny.toString,f_=Qb.hasOwnProperty,RT=0,JE=function(){var Vd=/[^.]+$/.exec(D0&&D0.keys&&D0.keys.IE_PROTO||"");return Vd?"Symbol(src)_1."+Vd:""}(),f0=Qb.toString,Iy=vv.call(v_),Eb=h_._,U0=cE("^"+vv.call(f_).replace(N_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jb=A_?Vm.Buffer:nd,Zb=Vm.Symbol,ZE=Vm.Uint8Array,US=Jb?Jb.allocUnsafe:nd,H0=XE(v_.getPrototypeOf,v_),HS=v_.create,eS=Qb.propertyIsEnumerable,Ry=QE.splice,OT=Zb?Zb.isConcatSpreadable:nd,Oy=Zb?Zb.iterator:nd,G0=Zb?Zb.toStringTag:nd,Ev=function(){try{var Vd=J0(v_,"defineProperty");return Vd({},"",{}),Vd}catch{}}(),GS=Vm.clearTimeout!==h_.clearTimeout&&Vm.clearTimeout,Cv=Dg&&Dg.now!==h_.Date.now&&Dg.now,tS=Vm.setTimeout!==h_.setTimeout&&Vm.setTimeout,uE=V_.ceil,$y=V_.floor,qS=v_.getOwnPropertySymbols,kx=Jb?Jb.isBuffer:nd,kT=Vm.isFinite,VS=QE.join,zS=XE(v_.keys,v_),D_=V_.max,z_=V_.min,Mx=Dg.now,rS=Vm.parseInt,WS=V_.random,dE=QE.reverse,nS=J0(Vm,"DataView"),e0=J0(Vm,"Map"),Py=J0(Vm,"Promise"),Ub=J0(Vm,"Set"),N0=J0(Vm,"WeakMap"),h0=J0(v_,"create"),pE=N0&&new N0,Ly={},MT=j_(nS),$x=j_(e0),By=j_(Py),Hy=j_(Ub),Px=j_(N0),iS=Zb?Zb.prototype:nd,fE=iS?iS.valueOf:nd,$T=iS?iS.toString:nd;function Mh(Vd){if(Y_(Vd)&&!Yg(Vd)&&!(Vd instanceof Bg)){if(Vd instanceof m_)return Vd;if(f_.call(Vd,"__wrapped__"))return gb(Vd)}return new m_(Vd)}var Av=function(){function Vd(){}return function(pf){if(!G_(pf))return{};if(HS)return HS(pf);Vd.prototype=pf;var Cf=new Vd;return Vd.prototype=nd,Cf}}();function db(){}function m_(Vd,pf){this.__wrapped__=Vd,this.__actions__=[],this.__chain__=!!pf,this.__index__=0,this.__values__=nd}Mh.templateSettings={escape:Fg,evaluate:Kg,interpolate:Ng,variable:"",imports:{_:Mh}},Mh.prototype=db.prototype,Mh.prototype.constructor=Mh,m_.prototype=Av(db.prototype),m_.prototype.constructor=m_;function Bg(Vd){this.__wrapped__=Vd,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=th,this.__views__=[]}function J_(){var Vd=new Bg(this.__wrapped__);return Vd.__actions__=Ab(this.__actions__),Vd.__dir__=this.__dir__,Vd.__filtered__=this.__filtered__,Vd.__iteratees__=Ab(this.__iteratees__),Vd.__takeCount__=this.__takeCount__,Vd.__views__=Ab(this.__views__),Vd}function hE(){if(this.__filtered__){var Vd=new Bg(this);Vd.__dir__=-1,Vd.__filtered__=!0}else Vd=this.clone(),Vd.__dir__*=-1;return Vd}function Lx(){var Vd=this.__wrapped__.value(),pf=this.__dir__,Cf=Yg(Vd),Xf=pf<0,Sh=Cf?Vd.length:0,Fh=i1(0,Sh,this.__views__),mm=Fh.start,_m=Fh.end,Rm=_m-mm,Xm=Xf?_m:mm-1,Qm=this.__iteratees__,Zm=Qm.length,Cg=0,$g=z_(Rm,this.__takeCount__);if(!Cf||!Xf&&Sh==Rm&&$g==Rm)return xE(Vd,this.__actions__);var Ug=[];e:for(;Rm--&&Cg<$g;){Xm+=pf;for(var e_=-1,Hg=Vd[Xm];++e_<Zm;){var i_=Qm[e_],l_=i_.iteratee,l0=i_.type,kb=l_(Hg);if(l0==vf)Hg=kb;else if(!kb){if(l0==xf)continue e;break e}}Ug[Cg++]=Hg}return Ug}Bg.prototype=Av(db.prototype),Bg.prototype.constructor=Bg;function m0(Vd){var pf=-1,Cf=Vd==null?0:Vd.length;for(this.clear();++pf<Cf;){var Xf=Vd[pf];this.set(Xf[0],Xf[1])}}function Bx(){this.__data__=h0?h0(null):{},this.size=0}function Fx(Vd){var pf=this.has(Vd)&&delete this.__data__[Vd];return this.size-=pf?1:0,pf}function jx(Vd){var pf=this.__data__;if(h0){var Cf=pf[Vd];return Cf===fd?nd:Cf}return f_.call(pf,Vd)?pf[Vd]:nd}function YS(Vd){var pf=this.__data__;return h0?pf[Vd]!==nd:f_.call(pf,Vd)}function PT(Vd,pf){var Cf=this.__data__;return this.size+=this.has(Vd)?0:1,Cf[Vd]=h0&&pf===nd?fd:pf,this}m0.prototype.clear=Bx,m0.prototype.delete=Fx,m0.prototype.get=jx,m0.prototype.has=YS,m0.prototype.set=PT;function t0(Vd){var pf=-1,Cf=Vd==null?0:Vd.length;for(this.clear();++pf<Cf;){var Xf=Vd[pf];this.set(Xf[0],Xf[1])}}function Ux(){this.__data__=[],this.size=0}function KS(Vd){var pf=this.__data__,Cf=Nv(pf,Vd);if(Cf<0)return!1;var Xf=pf.length-1;return Cf==Xf?pf.pop():Ry.call(pf,Cf,1),--this.size,!0}function XS(Vd){var pf=this.__data__,Cf=Nv(pf,Vd);return Cf<0?nd:pf[Cf][1]}function LT(Vd){return Nv(this.__data__,Vd)>-1}function BT(Vd,pf){var Cf=this.__data__,Xf=Nv(Cf,Vd);return Xf<0?(++this.size,Cf.push([Vd,pf])):Cf[Xf][1]=pf,this}t0.prototype.clear=Ux,t0.prototype.delete=KS,t0.prototype.get=XS,t0.prototype.has=LT,t0.prototype.set=BT;function r0(Vd){var pf=-1,Cf=Vd==null?0:Vd.length;for(this.clear();++pf<Cf;){var Xf=Vd[pf];this.set(Xf[0],Xf[1])}}function FT(){this.size=0,this.__data__={hash:new m0,map:new(e0||t0),string:new m0}}function mE(Vd){var pf=$E(this,Vd).delete(Vd);return this.size-=pf?1:0,pf}function Hx(Vd){return $E(this,Vd).get(Vd)}function sS(Vd){return $E(this,Vd).has(Vd)}function I0(Vd,pf){var Cf=$E(this,Vd),Xf=Cf.size;return Cf.set(Vd,pf),this.size+=Cf.size==Xf?0:1,this}r0.prototype.clear=FT,r0.prototype.delete=mE,r0.prototype.get=Hx,r0.prototype.has=sS,r0.prototype.set=I0;function q0(Vd){var pf=-1,Cf=Vd==null?0:Vd.length;for(this.__data__=new r0;++pf<Cf;)this.add(Vd[pf])}function Gx(Vd){return this.__data__.set(Vd,fd),this}function jT(Vd){return this.__data__.has(Vd)}q0.prototype.add=q0.prototype.push=Gx,q0.prototype.has=jT;function R_(Vd){var pf=this.__data__=new t0(Vd);this.size=pf.size}function d_(){this.__data__=new t0,this.size=0}function n0(Vd){var pf=this.__data__,Cf=pf.delete(Vd);return this.size=pf.size,Cf}function V0(Vd){return this.__data__.get(Vd)}function z0(Vd){return this.__data__.has(Vd)}function UT(Vd,pf){var Cf=this.__data__;if(Cf instanceof t0){var Xf=Cf.__data__;if(!e0||Xf.length<ld-1)return Xf.push([Vd,pf]),this.size=++Cf.size,this;Cf=this.__data__=new r0(Xf)}return Cf.set(Vd,pf),this.size=Cf.size,this}R_.prototype.clear=d_,R_.prototype.delete=n0,R_.prototype.get=V0,R_.prototype.has=z0,R_.prototype.set=UT;function oS(Vd,pf){var Cf=Yg(Vd),Xf=!Cf&&PE(Vd),Sh=!Cf&&!Xf&&Zv(Vd),Fh=!Cf&&!Xf&&!Sh&&CS(Vd),mm=Cf||Xf||Sh||Fh,_m=mm?sg(Vd.length,Ox):[],Rm=_m.length;for(var Xm in Vd)(pf||f_.call(Vd,Xm))&&!(mm&&(Xm=="length"||Sh&&(Xm=="offset"||Xm=="parent")||Fh&&(Xm=="buffer"||Xm=="byteLength"||Xm=="byteOffset")||Jd(Xm,Rm)))&&_m.push(Xm);return _m}function QS(Vd){var pf=Vd.length;return pf?Vd[pS(0,pf-1)]:nd}function qx(Vd,pf){return L_(Ab(Vd),O0(pf,0,Vd.length))}function JS(Vd){return L_(Ab(Vd))}function Wy(Vd,pf,Cf){(Cf!==nd&&!M0(Vd[pf],Cf)||Cf===nd&&!(pf in Vd))&&R0(Vd,pf,Cf)}function wv(Vd,pf,Cf){var Xf=Vd[pf];(!(f_.call(Vd,pf)&&M0(Xf,Cf))||Cf===nd&&!(pf in Vd))&&R0(Vd,pf,Cf)}function Nv(Vd,pf){for(var Cf=Vd.length;Cf--;)if(M0(Vd[Cf][0],pf))return Cf;return-1}function W0(Vd,pf,Cf,Xf){return i0(Vd,function(Sh,Fh,mm){pf(Xf,Sh,Cf(Sh),mm)}),Xf}function ZS(Vd,pf){return Vd&&s0(pf,yb(pf),Vd)}function HT(Vd,pf){return Vd&&s0(pf,Vb(pf),Vd)}function R0(Vd,pf,Cf){pf=="__proto__"&&Ev?Ev(Vd,pf,{configurable:!0,enumerable:!0,value:Cf,writable:!0}):Vd[pf]=Cf}function Ov(Vd,pf){for(var Cf=-1,Xf=pf.length,Sh=$m(Xf),Fh=Vd==null;++Cf<Xf;)Sh[Cf]=Fh?nd:p1(Vd,pf[Cf]);return Sh}function O0(Vd,pf,Cf){return Vd===Vd&&(Cf!==nd&&(Vd=Vd<=Cf?Vd:Cf),pf!==nd&&(Vd=Vd>=pf?Vd:pf)),Vd}function Nb(Vd,pf,Cf,Xf,Sh,Fh){var mm,_m=pf&Ad,Rm=pf&Nd,Xm=pf&Id;if(Cf&&(mm=Sh?Cf(Vd,Xf,Sh,Fh):Cf(Vd)),mm!==nd)return mm;if(!G_(Vd))return Vd;var Qm=Yg(Vd);if(Qm){if(mm=a1(Vd),!_m)return Ab(Vd,mm)}else{var Zm=tb(Vd),Cg=Zm==sh||Zm==Nf;if(Zv(Vd))return dT(Vd,_m);if(Zm==Rf||Zm==qf||Cg&&!Sh){if(mm=Rm||Cg?{}:Ex(Vd),!_m)return Rm?e1(Vd,HT(mm,Vd)):ux(Vd,ZS(mm,Vd))}else{if(!__[Zm])return Sh?Vd:{};mm=xS(Vd,Zm,_m)}}Fh||(Fh=new R_);var $g=Fh.get(Vd);if($g)return $g;Fh.set(Vd,mm),U1(Vd)?Vd.forEach(function(Hg){mm.add(Nb(Hg,pf,Cf,Hg,Vd,Fh))}):F1(Vd)&&Vd.forEach(function(Hg,i_){mm.set(i_,Nb(Hg,pf,Cf,i_,Vd,Fh))});var Ug=Xm?Rm?TS:SS:Rm?Vb:yb,e_=Qm?nd:Ug(Vd);return Cb(e_||Vd,function(Hg,i_){e_&&(i_=Hg,Hg=Vd[i_]),wv(mm,i_,Nb(Hg,pf,Cf,i_,Vd,Fh))}),mm}function Vx(Vd){var pf=yb(Vd);return function(Cf){return eT(Cf,Vd,pf)}}function eT(Vd,pf,Cf){var Xf=Cf.length;if(Vd==null)return!Xf;for(Vd=v_(Vd);Xf--;){var Sh=Cf[Xf],Fh=pf[Sh],mm=Vd[Sh];if(mm===nd&&!(Sh in Vd)||!Fh(mm))return!1}return!0}function GT(Vd,pf,Cf){if(typeof Vd!="function")throw new jb(dd);return Og(function(){Vd.apply(nd,Cf)},pf)}function gE(Vd,pf,Cf,Xf){var Sh=-1,Fh=hv,mm=!0,_m=Vd.length,Rm=[],Xm=pf.length;if(!_m)return Rm;Cf&&(pf=x_(pf,qg(Cf))),Xf?(Fh=mv,mm=!1):pf.length>=ld&&(Fh=r_,mm=!1,pf=new q0(pf));e:for(;++Sh<_m;){var Qm=Vd[Sh],Zm=Cf==null?Qm:Cf(Qm);if(Qm=Xf||Qm!==0?Qm:0,mm&&Zm===Zm){for(var Cg=Xm;Cg--;)if(pf[Cg]===Zm)continue e;Rm.push(Qm)}else Fh(pf,Zm,Xf)||Rm.push(Qm)}return Rm}var i0=Wv(Hb),tT=Wv(cS,!0);function zx(Vd,pf){var Cf=!0;return i0(Vd,function(Xf,Sh,Fh){return Cf=!!pf(Xf,Sh,Fh),Cf}),Cf}function lS(Vd,pf,Cf){for(var Xf=-1,Sh=Vd.length;++Xf<Sh;){var Fh=Vd[Xf],mm=pf(Fh);if(mm!=null&&(_m===nd?mm===mm&&!o0(mm):Cf(mm,_m)))var _m=mm,Rm=Fh}return Rm}function qT(Vd,pf,Cf,Xf){var Sh=Vd.length;for(Cf=Qg(Cf),Cf<0&&(Cf=-Cf>Sh?0:Sh+Cf),Xf=Xf===nd||Xf>Sh?Sh:Qg(Xf),Xf<0&&(Xf+=Sh),Xf=Cf>Xf?0:G1(Xf);Cf<Xf;)Vd[Cf++]=pf;return Vd}function Qy(Vd,pf){var Cf=[];return i0(Vd,function(Xf,Sh,Fh){pf(Xf,Sh,Fh)&&Cf.push(Xf)}),Cf}function Z_(Vd,pf,Cf,Xf,Sh){var Fh=-1,mm=Vd.length;for(Cf||(Cf=Hd),Sh||(Sh=[]);++Fh<mm;){var _m=Vd[Fh];pf>0&&Cf(_m)?pf>1?Z_(_m,pf-1,Cf,Xf,Sh):Kb(Sh,_m):Xf||(Sh[Sh.length]=_m)}return Sh}var kv=dx(),rT=dx(!0);function Hb(Vd,pf){return Vd&&kv(Vd,pf,yb)}function cS(Vd,pf){return Vd&&rT(Vd,pf,yb)}function uS(Vd,pf){return d0(pf,function(Cf){return iv(Vd[Cf])})}function Y0(Vd,pf){pf=Q0(pf,Vd);for(var Cf=0,Xf=pf.length;Vd!=null&&Cf<Xf;)Vd=Vd[O_(pf[Cf++])];return Cf&&Cf==Xf?Vd:nd}function sb(Vd,pf,Cf){var Xf=pf(Vd);return Yg(Vd)?Xf:Kb(Xf,Cf(Vd))}function ob(Vd){return Vd==null?Vd===nd?Bh:Zf:G0&&G0 in v_(Vd)?n1(Vd):Wm(Vd)}function dS(Vd,pf){return Vd>pf}function VT(Vd,pf){return Vd!=null&&f_.call(Vd,pf)}function zT(Vd,pf){return Vd!=null&&pf in v_(Vd)}function Mv(Vd,pf,Cf){return Vd>=z_(pf,Cf)&&Vd<D_(pf,Cf)}function Lv(Vd,pf,Cf){for(var Xf=Cf?mv:hv,Sh=Vd[0].length,Fh=Vd.length,mm=Fh,_m=$m(Fh),Rm=1/0,Xm=[];mm--;){var Qm=Vd[mm];mm&&pf&&(Qm=x_(Qm,qg(pf))),Rm=z_(Qm.length,Rm),_m[mm]=!Cf&&(pf||Sh>=120&&Qm.length>=120)?new q0(mm&&Qm):nd}Qm=Vd[0];var Zm=-1,Cg=_m[0];e:for(;++Zm<Sh&&Xm.length<Rm;){var $g=Qm[Zm],Ug=pf?pf($g):$g;if($g=Cf||$g!==0?$g:0,!(Cg?r_(Cg,Ug):Xf(Xm,Ug,Cf))){for(mm=Fh;--mm;){var e_=_m[mm];if(!(e_?r_(e_,Ug):Xf(Vd[mm],Ug,Cf)))continue e}Cg&&Cg.push(Ug),Xm.push($g)}}return Xm}function WT(Vd,pf,Cf,Xf){return Hb(Vd,function(Sh,Fh,mm){pf(Xf,Cf(Sh),Fh,mm)}),Xf}function Fv(Vd,pf,Cf){pf=Q0(pf,Vd),Vd=dg(Vd,pf);var Xf=Vd==null?Vd:Vd[O_(E0(pf))];return Xf==null?nd:vb(Xf,Vd,Cf)}function nT(Vd){return Y_(Vd)&&ob(Vd)==qf}function jv(Vd){return Y_(Vd)&&ob(Vd)==gm}function YT(Vd){return Y_(Vd)&&ob(Vd)==Yf}function K0(Vd,pf,Cf,Xf,Sh){return Vd===pf?!0:Vd==null||pf==null||!Y_(Vd)&&!Y_(pf)?Vd!==Vd&&pf!==pf:KT(Vd,pf,Cf,Xf,K0,Sh)}function KT(Vd,pf,Cf,Xf,Sh,Fh){var mm=Yg(Vd),_m=Yg(pf),Rm=mm?zf:tb(Vd),Xm=_m?zf:tb(pf);Rm=Rm==qf?Rf:Rm,Xm=Xm==qf?Rf:Xm;var Qm=Rm==Rf,Zm=Xm==Rf,Cg=Rm==Xm;if(Cg&&Zv(Vd)){if(!Zv(pf))return!1;mm=!0,Qm=!1}if(Cg&&!Qm)return Fh||(Fh=new R_),mm||CS(Vd)?Gb(Vd,pf,Cf,Xf,Sh,Fh):ES(Vd,pf,Rm,Cf,Xf,Sh,Fh);if(!(Cf&Od)){var $g=Qm&&f_.call(Vd,"__wrapped__"),Ug=Zm&&f_.call(pf,"__wrapped__");if($g||Ug){var e_=$g?Vd.value():Vd,Hg=Ug?pf.value():pf;return Fh||(Fh=new R_),Sh(e_,Hg,Cf,Xf,Fh)}}return Cg?(Fh||(Fh=new R_),vT(Vd,pf,Cf,Xf,Sh,Fh)):!1}function yE(Vd){return Y_(Vd)&&tb(Vd)==ph}function iT(Vd,pf,Cf,Xf){var Sh=Cf.length,Fh=Sh,mm=!Xf;if(Vd==null)return!Fh;for(Vd=v_(Vd);Sh--;){var _m=Cf[Sh];if(mm&&_m[2]?_m[1]!==Vd[_m[0]]:!(_m[0]in Vd))return!1}for(;++Sh<Fh;){_m=Cf[Sh];var Rm=_m[0],Xm=Vd[Rm],Qm=_m[1];if(mm&&_m[2]){if(Xm===nd&&!(Rm in Vd))return!1}else{var Zm=new R_;if(Xf)var Cg=Xf(Xm,Qm,Rm,Vd,pf,Zm);if(!(Cg===nd?K0(Qm,Xm,Od|Md,Xf,Zm):Cg))return!1}}return!0}function Jy(Vd){if(!G_(Vd)||Qf(Vd))return!1;var pf=iv(Vd)?U0:pm;return pf.test(j_(Vd))}function XT(Vd){return Y_(Vd)&&ob(Vd)==wh}function QT(Vd){return Y_(Vd)&&tb(Vd)==Ah}function JT(Vd){return Y_(Vd)&&wx(Vd.length)&&!!ig[ob(Vd)]}function Uv(Vd){return typeof Vd=="function"?Vd:Vd==null?zb:typeof Vd=="object"?Yg(Vd)?oT(Vd[0],Vd[1]):ZT(Vd):eC(Vd)}function Zy(Vd){if(!yh(Vd))return zS(Vd);var pf=[];for(var Cf in v_(Vd))f_.call(Vd,Cf)&&Cf!="constructor"&&pf.push(Cf);return pf}function vE(Vd){if(!G_(Vd))return jm(Vd);var pf=yh(Vd),Cf=[];for(var Xf in Vd)Xf=="constructor"&&(pf||!f_.call(Vd,Xf))||Cf.push(Xf);return Cf}function ev(Vd,pf){return Vd<pf}function sT(Vd,pf){var Cf=-1,Xf=qb(Vd)?$m(Vd.length):[];return i0(Vd,function(Sh,Fh,mm){Xf[++Cf]=pf(Sh,Fh,mm)}),Xf}function ZT(Vd){var pf=p_(Vd);return pf.length==1&&pf[0][2]?um(pf[0][0],pf[0][1]):function(Cf){return Cf===Vd||iT(Cf,Vd,pf)}}function oT(Vd,pf){return mf(Vd)&&Wh(pf)?um(O_(Vd),pf):function(Cf){var Xf=p1(Cf,Vd);return Xf===nd&&Xf===pf?f1(Cf,Vd):K0(pf,Xf,Od|Md)}}function a0(Vd,pf,Cf,Xf,Sh){Vd!==pf&&kv(pf,function(Fh,mm){if(Sh||(Sh=new R_),G_(Fh))Hv(Vd,pf,mm,Cf,a0,Xf,Sh);else{var _m=Xf?Xf(lg(Vd,mm),Fh,mm+"",Vd,pf,Sh):nd;_m===nd&&(_m=Fh),Wy(Vd,mm,_m)}},Vb)}function Hv(Vd,pf,Cf,Xf,Sh,Fh,mm){var _m=lg(Vd,Cf),Rm=lg(pf,Cf),Xm=mm.get(Rm);if(Xm){Wy(Vd,Cf,Xm);return}var Qm=Fh?Fh(_m,Rm,Cf+"",Vd,pf,mm):nd,Zm=Qm===nd;if(Zm){var Cg=Yg(Rm),$g=!Cg&&Zv(Rm),Ug=!Cg&&!$g&&CS(Rm);Qm=Rm,Cg||$g||Ug?Yg(_m)?Qm=_m:nb(_m)?Qm=Ab(_m):$g?(Zm=!1,Qm=dT(Rm,!0)):Ug?(Zm=!1,Qm=pT(Rm,!0)):Qm=[]:TT(Rm)||PE(Rm)?(Qm=_m,PE(_m)?Qm=q1(_m):(!G_(_m)||iv(_m))&&(Qm=Ex(Rm))):Zm=!1}Zm&&(mm.set(Rm,Qm),Sh(Qm,Rm,Xf,Fh,mm),mm.delete(Rm)),Wy(Vd,Cf,Qm)}function Gv(Vd,pf){var Cf=Vd.length;if(Cf)return pf+=pf<0?Cf:0,Jd(pf,Cf)?Vd[pf]:nd}function ex(Vd,pf,Cf){pf.length?pf=x_(pf,function(Fh){return Yg(Fh)?function(mm){return Y0(mm,Fh.length===1?Fh[0]:Fh)}:Fh}):pf=[zb];var Xf=-1;pf=x_(pf,qg(Lg()));var Sh=sT(Vd,function(Fh,mm,_m){var Rm=x_(pf,function(Xm){return Xm(Fh)});return{criteria:Rm,index:++Xf,value:Fh}});return om(Sh,function(Fh,mm){return Zx(Fh,mm,Cf)})}function tx(Vd,pf){return rx(Vd,pf,function(Cf,Xf){return f1(Vd,Xf)})}function rx(Vd,pf,Cf){for(var Xf=-1,Sh=pf.length,Fh={};++Xf<Sh;){var mm=pf[Xf],_m=Y0(Vd,mm);Cf(_m,mm)&&qv(Fh,Q0(mm,Vd),_m)}return Fh}function Wx(Vd){return function(pf){return Y0(pf,Vd)}}function lT(Vd,pf,Cf,Xf){var Sh=Xf?yf:Kd,Fh=-1,mm=pf.length,_m=Vd;for(Vd===pf&&(pf=Ab(pf)),Cf&&(_m=x_(Vd,qg(Cf)));++Fh<mm;)for(var Rm=0,Xm=pf[Fh],Qm=Cf?Cf(Xm):Xm;(Rm=Sh(_m,Qm,Rm,Xf))>-1;)_m!==Vd&&Ry.call(_m,Rm,1),Ry.call(Vd,Rm,1);return Vd}function mb(Vd,pf){for(var Cf=Vd?pf.length:0,Xf=Cf-1;Cf--;){var Sh=pf[Cf];if(Cf==Xf||Sh!==Fh){var Fh=Sh;Jd(Sh)?Ry.call(Vd,Sh,1):fS(Vd,Sh)}}return Vd}function pS(Vd,pf){return Vd+$y(WS()*(pf-Vd+1))}function Yx(Vd,pf,Cf,Xf){for(var Sh=-1,Fh=D_(uE((pf-Vd)/(Cf||1)),0),mm=$m(Fh);Fh--;)mm[Xf?Fh:++Sh]=Vd,Vd+=Cf;return mm}function cT(Vd,pf){var Cf="";if(!Vd||pf<1||pf>jf)return Cf;do pf%2&&(Cf+=Vd),pf=$y(pf/2),pf&&(Vd+=Vd);while(pf);return Cf}function Xg(Vd,pf){return Ig(eg(Vd,pf,zb),Vd+"")}function nx(Vd){return QS(AS(Vd))}function ix(Vd,pf){var Cf=AS(Vd);return L_(Cf,O0(pf,0,Cf.length))}function qv(Vd,pf,Cf,Xf){if(!G_(Vd))return Vd;pf=Q0(pf,Vd);for(var Sh=-1,Fh=pf.length,mm=Fh-1,_m=Vd;_m!=null&&++Sh<Fh;){var Rm=O_(pf[Sh]),Xm=Cf;if(Rm==="__proto__"||Rm==="constructor"||Rm==="prototype")return Vd;if(Sh!=mm){var Qm=_m[Rm];Xm=Xf?Xf(Qm,Rm,_m):nd,Xm===nd&&(Xm=G_(Qm)?Qm:Jd(pf[Sh+1])?[]:{})}wv(_m,Rm,Xm),_m=_m[Rm]}return Vd}var sx=pE?function(Vd,pf){return pE.set(Vd,pf),Vd}:zb,Kx=Ev?function(Vd,pf){return Ev(Vd,"toString",{configurable:!0,enumerable:!1,value:m1(pf),writable:!0})}:zb;function Xx(Vd){return L_(AS(Vd))}function eb(Vd,pf,Cf){var Xf=-1,Sh=Vd.length;pf<0&&(pf=-pf>Sh?0:Sh+pf),Cf=Cf>Sh?Sh:Cf,Cf<0&&(Cf+=Sh),Sh=pf>Cf?0:Cf-pf>>>0,pf>>>=0;for(var Fh=$m(Sh);++Xf<Sh;)Fh[Xf]=Vd[Xf+pf];return Fh}function SE(Vd,pf){var Cf;return i0(Vd,function(Xf,Sh,Fh){return Cf=pf(Xf,Sh,Fh),!Cf}),!!Cf}function tv(Vd,pf,Cf){var Xf=0,Sh=Vd==null?Xf:Vd.length;if(typeof pf=="number"&&pf===pf&&Sh<=Of){for(;Xf<Sh;){var Fh=Xf+Sh>>>1,mm=Vd[Fh];mm!==null&&!o0(mm)&&(Cf?mm<=pf:mm<pf)?Xf=Fh+1:Sh=Fh}return Sh}return rv(Vd,pf,zb,Cf)}function rv(Vd,pf,Cf,Xf){var Sh=0,Fh=Vd==null?0:Vd.length;if(Fh===0)return 0;pf=Cf(pf);for(var mm=pf!==pf,_m=pf===null,Rm=o0(pf),Xm=pf===nd;Sh<Fh;){var Qm=$y((Sh+Fh)/2),Zm=Cf(Vd[Qm]),Cg=Zm!==nd,$g=Zm===null,Ug=Zm===Zm,e_=o0(Zm);if(mm)var Hg=Xf||Ug;else Xm?Hg=Ug&&(Xf||Cg):_m?Hg=Ug&&Cg&&(Xf||!$g):Rm?Hg=Ug&&Cg&&!$g&&(Xf||!e_):$g||e_?Hg=!1:Hg=Xf?Zm<=pf:Zm<pf;Hg?Sh=Qm+1:Fh=Qm}return z_(Fh,Uf)}function g0(Vd,pf){for(var Cf=-1,Xf=Vd.length,Sh=0,Fh=[];++Cf<Xf;){var mm=Vd[Cf],_m=pf?pf(mm):mm;if(!Cf||!M0(_m,Rm)){var Rm=_m;Fh[Sh++]=mm===0?0:mm}}return Fh}function ox(Vd){return typeof Vd=="number"?Vd:o0(Vd)?eh:+Vd}function Ib(Vd){if(typeof Vd=="string")return Vd;if(Yg(Vd))return x_(Vd,Ib)+"";if(o0(Vd))return $T?$T.call(Vd):"";var pf=Vd+"";return pf=="0"&&1/Vd==-Df?"-0":pf}function Rb(Vd,pf,Cf){var Xf=-1,Sh=hv,Fh=Vd.length,mm=!0,_m=[],Rm=_m;if(Cf)mm=!1,Sh=mv;else if(Fh>=ld){var Xm=pf?null:r1(Vd);if(Xm)return Db(Xm);mm=!1,Sh=r_,Rm=new q0}else Rm=pf?[]:_m;e:for(;++Xf<Fh;){var Qm=Vd[Xf],Zm=pf?pf(Qm):Qm;if(Qm=Cf||Qm!==0?Qm:0,mm&&Zm===Zm){for(var Cg=Rm.length;Cg--;)if(Rm[Cg]===Zm)continue e;pf&&Rm.push(Zm),_m.push(Qm)}else Sh(Rm,Zm,Cf)||(Rm!==_m&&Rm.push(Zm),_m.push(Qm))}return _m}function fS(Vd,pf){return pf=Q0(pf,Vd),Vd=dg(Vd,pf),Vd==null||delete Vd[O_(E0(pf))]}function uT(Vd,pf,Cf,Xf){return qv(Vd,pf,Cf(Y0(Vd,pf)),Xf)}function TE(Vd,pf,Cf,Xf){for(var Sh=Vd.length,Fh=Xf?Sh:-1;(Xf?Fh--:++Fh<Sh)&&pf(Vd[Fh],Fh,Vd););return Cf?eb(Vd,Xf?0:Fh,Xf?Fh+1:Sh):eb(Vd,Xf?Fh+1:0,Xf?Sh:Fh)}function xE(Vd,pf){var Cf=Vd;return Cf instanceof Bg&&(Cf=Cf.value()),oE(pf,function(Xf,Sh){return Sh.func.apply(Sh.thisArg,Kb([Xf],Sh.args))},Cf)}function X0(Vd,pf,Cf){var Xf=Vd.length;if(Xf<2)return Xf?Rb(Vd[0]):[];for(var Sh=-1,Fh=$m(Xf);++Sh<Xf;)for(var mm=Vd[Sh],_m=-1;++_m<Xf;)_m!=Sh&&(Fh[Sh]=gE(Fh[Sh]||mm,Vd[_m],pf,Cf));return Rb(Z_(Fh,1),pf,Cf)}function hS(Vd,pf,Cf){for(var Xf=-1,Sh=Vd.length,Fh=pf.length,mm={};++Xf<Sh;){var _m=Xf<Fh?pf[Xf]:nd;Cf(mm,Vd[Xf],_m)}return mm}function CE(Vd){return nb(Vd)?Vd:[]}function AE(Vd){return typeof Vd=="function"?Vd:zb}function Q0(Vd,pf){return Yg(Vd)?Vd:mf(Vd,pf)?[Vd]:w_(E_(Vd))}var wE=Xg;function k0(Vd,pf,Cf){var Xf=Vd.length;return Cf=Cf===nd?Xf:Cf,!pf&&Cf>=Xf?Vd:eb(Vd,pf,Cf)}var lx=GS||function(Vd){return h_.clearTimeout(Vd)};function dT(Vd,pf){if(pf)return Vd.slice();var Cf=Vd.length,Xf=US?US(Cf):new Vd.constructor(Cf);return Vd.copy(Xf),Xf}function Vv(Vd){var pf=new Vd.constructor(Vd.byteLength);return new ZE(pf).set(new ZE(Vd)),pf}function Qx(Vd,pf){var Cf=pf?Vv(Vd.buffer):Vd.buffer;return new Vd.constructor(Cf,Vd.byteOffset,Vd.byteLength)}function Jx(Vd){var pf=new Vd.constructor(Vd.source,sm.exec(Vd));return pf.lastIndex=Vd.lastIndex,pf}function DE(Vd){return fE?v_(fE.call(Vd)):{}}function pT(Vd,pf){var Cf=pf?Vv(Vd.buffer):Vd.buffer;return new Vd.constructor(Cf,Vd.byteOffset,Vd.length)}function fT(Vd,pf){if(Vd!==pf){var Cf=Vd!==nd,Xf=Vd===null,Sh=Vd===Vd,Fh=o0(Vd),mm=pf!==nd,_m=pf===null,Rm=pf===pf,Xm=o0(pf);if(!_m&&!Xm&&!Fh&&Vd>pf||Fh&&mm&&Rm&&!_m&&!Xm||Xf&&mm&&Rm||!Cf&&Rm||!Sh)return 1;if(!Xf&&!Fh&&!Xm&&Vd<pf||Xm&&Cf&&Sh&&!Xf&&!Fh||_m&&Cf&&Sh||!mm&&Sh||!Rm)return-1}return 0}function Zx(Vd,pf,Cf){for(var Xf=-1,Sh=Vd.criteria,Fh=pf.criteria,mm=Sh.length,_m=Cf.length;++Xf<mm;){var Rm=fT(Sh[Xf],Fh[Xf]);if(Rm){if(Xf>=_m)return Rm;var Xm=Cf[Xf];return Rm*(Xm=="desc"?-1:1)}}return Vd.index-pf.index}function mS(Vd,pf,Cf,Xf){for(var Sh=-1,Fh=Vd.length,mm=Cf.length,_m=-1,Rm=pf.length,Xm=D_(Fh-mm,0),Qm=$m(Rm+Xm),Zm=!Xf;++_m<Rm;)Qm[_m]=pf[_m];for(;++Sh<mm;)(Zm||Sh<Fh)&&(Qm[Cf[Sh]]=Vd[Sh]);for(;Xm--;)Qm[_m++]=Vd[Sh++];return Qm}function hT(Vd,pf,Cf,Xf){for(var Sh=-1,Fh=Vd.length,mm=-1,_m=Cf.length,Rm=-1,Xm=pf.length,Qm=D_(Fh-_m,0),Zm=$m(Qm+Xm),Cg=!Xf;++Sh<Qm;)Zm[Sh]=Vd[Sh];for(var $g=Sh;++Rm<Xm;)Zm[$g+Rm]=pf[Rm];for(;++mm<_m;)(Cg||Sh<Fh)&&(Zm[$g+Cf[mm]]=Vd[Sh++]);return Zm}function Ab(Vd,pf){var Cf=-1,Xf=Vd.length;for(pf||(pf=$m(Xf));++Cf<Xf;)pf[Cf]=Vd[Cf];return pf}function s0(Vd,pf,Cf,Xf){var Sh=!Cf;Cf||(Cf={});for(var Fh=-1,mm=pf.length;++Fh<mm;){var _m=pf[Fh],Rm=Xf?Xf(Cf[_m],Vd[_m],_m,Cf,Vd):nd;Rm===nd&&(Rm=Vd[_m]),Sh?R0(Cf,_m,Rm):wv(Cf,_m,Rm)}return Cf}function ux(Vd,pf){return s0(Vd,Z0(Vd),pf)}function e1(Vd,pf){return s0(Vd,yx(Vd),pf)}function zv(Vd,pf){return function(Cf,Xf){var Sh=Yg(Cf)?sE:W0,Fh=pf?pf():{};return Sh(Cf,Vd,Lg(Xf,2),Fh)}}function _0(Vd){return Xg(function(pf,Cf){var Xf=-1,Sh=Cf.length,Fh=Sh>1?Cf[Sh-1]:nd,mm=Sh>2?Cf[2]:nd;for(Fh=Vd.length>3&&typeof Fh=="function"?(Sh--,Fh):nd,mm&&Qd(Cf[0],Cf[1],mm)&&(Fh=Sh<3?nd:Fh,Sh=1),pf=v_(pf);++Xf<Sh;){var _m=Cf[Xf];_m&&Vd(pf,_m,Xf,Fh)}return pf})}function Wv(Vd,pf){return function(Cf,Xf){if(Cf==null)return Cf;if(!qb(Cf))return Vd(Cf,Xf);for(var Sh=Cf.length,Fh=pf?Sh:-1,mm=v_(Cf);(pf?Fh--:++Fh<Sh)&&Xf(mm[Fh],Fh,mm)!==!1;);return Cf}}function dx(Vd){return function(pf,Cf,Xf){for(var Sh=-1,Fh=v_(pf),mm=Xf(pf),_m=mm.length;_m--;){var Rm=mm[Vd?_m:++Sh];if(Cf(Fh[Rm],Rm,Fh)===!1)break}return pf}}function px(Vd,pf,Cf){var Xf=pf&Ud,Sh=NE(Vd);function Fh(){var mm=this&&this!==h_&&this instanceof Fh?Sh:Vd;return mm.apply(Xf?Cf:this,arguments)}return Fh}function fx(Vd){return function(pf){pf=E_(pf);var Cf=_v(pf)?Xb(pf):nd,Xf=Cf?Cf[0]:pf.charAt(0),Sh=Cf?k0(Cf,1).join(""):pf.slice(1);return Xf[Vd]()+Sh}}function Yv(Vd){return function(pf){return oE(J1(Q1(pf).replace(B0,"")),Vd,"")}}function NE(Vd){return function(){var pf=arguments;switch(pf.length){case 0:return new Vd;case 1:return new Vd(pf[0]);case 2:return new Vd(pf[0],pf[1]);case 3:return new Vd(pf[0],pf[1],pf[2]);case 4:return new Vd(pf[0],pf[1],pf[2],pf[3]);case 5:return new Vd(pf[0],pf[1],pf[2],pf[3],pf[4]);case 6:return new Vd(pf[0],pf[1],pf[2],pf[3],pf[4],pf[5]);case 7:return new Vd(pf[0],pf[1],pf[2],pf[3],pf[4],pf[5],pf[6])}var Cf=Av(Vd.prototype),Xf=Vd.apply(Cf,pf);return G_(Xf)?Xf:Cf}}function t1(Vd,pf,Cf){var Xf=NE(Vd);function Sh(){for(var Fh=arguments.length,mm=$m(Fh),_m=Fh,Rm=Xv(Sh);_m--;)mm[_m]=arguments[_m];var Xm=Fh<3&&mm[0]!==Rm&&mm[Fh-1]!==Rm?[]:wb(mm,Rm);if(Fh-=Xm.length,Fh<Cf)return RE(Vd,pf,gS,Sh.placeholder,nd,mm,Xm,nd,nd,Cf-Fh);var Qm=this&&this!==h_&&this instanceof Sh?Xf:Vd;return vb(Qm,this,mm)}return Sh}function mT(Vd){return function(pf,Cf,Xf){var Sh=v_(pf);if(!qb(pf)){var Fh=Lg(Cf,3);pf=yb(pf),Cf=function(_m){return Fh(Sh[_m],_m,Sh)}}var mm=Vd(pf,Cf,Xf);return mm>-1?Sh[Fh?pf[mm]:mm]:nd}}function hx(Vd){return b0(function(pf){var Cf=pf.length,Xf=Cf,Sh=m_.prototype.thru;for(Vd&&pf.reverse();Xf--;){var Fh=pf[Xf];if(typeof Fh!="function")throw new jb(dd);if(Sh&&!mm&&ME(Fh)=="wrapper")var mm=new m_([],!0)}for(Xf=mm?Xf:Cf;++Xf<Cf;){Fh=pf[Xf];var _m=ME(Fh),Rm=_m=="wrapper"?kE(Fh):nd;Rm&&Gf(Rm[0])&&Rm[1]==(Xd|Bd|qd|gf)&&!Rm[4].length&&Rm[9]==1?mm=mm[ME(Rm[0])].apply(mm,Rm[3]):mm=Fh.length==1&&Gf(Fh)?mm[_m]():mm.thru(Fh)}return function(){var Xm=arguments,Qm=Xm[0];if(mm&&Xm.length==1&&Yg(Qm))return mm.plant(Qm).value();for(var Zm=0,Cg=Cf?pf[Zm].apply(this,Xm):Qm;++Zm<Cf;)Cg=pf[Zm].call(this,Cg);return Cg}})}function gS(Vd,pf,Cf,Xf,Sh,Fh,mm,_m,Rm,Xm){var Qm=pf&Xd,Zm=pf&Ud,Cg=pf&jd,$g=pf&(Bd|Gd),Ug=pf&Yd,e_=Cg?nd:NE(Vd);function Hg(){for(var i_=arguments.length,l_=$m(i_),l0=i_;l0--;)l_[l0]=arguments[l0];if($g)var kb=Xv(Hg),c0=Ay(l_,kb);if(Xf&&(l_=mS(l_,Xf,Sh,$g)),Fh&&(l_=hT(l_,Fh,mm,$g)),i_-=c0,$g&&i_<Xm){var ib=wb(l_,kb);return RE(Vd,pf,gS,Hg.placeholder,Cf,l_,ib,_m,Rm,Xm-i_)}var $0=Zm?Cf:this,ov=Cg?$0[Vd]:Vd;return i_=l_.length,_m?l_=yg(l_,_m):Ug&&i_>1&&l_.reverse(),Qm&&Rm<i_&&(l_.length=Rm),this&&this!==h_&&this instanceof Hg&&(ov=e_||NE(ov)),ov.apply($0,l_)}return Hg}function gT(Vd,pf){return function(Cf,Xf){return WT(Cf,Vd,pf(Xf),{})}}function Kv(Vd,pf){return function(Cf,Xf){var Sh;if(Cf===nd&&Xf===nd)return pf;if(Cf!==nd&&(Sh=Cf),Xf!==nd){if(Sh===nd)return Xf;typeof Cf=="string"||typeof Xf=="string"?(Cf=Ib(Cf),Xf=Ib(Xf)):(Cf=ox(Cf),Xf=ox(Xf)),Sh=Vd(Cf,Xf)}return Sh}}function _S(Vd){return b0(function(pf){return pf=x_(pf,qg(Lg())),Xg(function(Cf){var Xf=this;return Vd(pf,function(Sh){return vb(Sh,Xf,Cf)})})})}function yS(Vd,pf){pf=pf===nd?" ":Ib(pf);var Cf=pf.length;if(Cf<2)return Cf?cT(pf,Vd):pf;var Xf=cT(pf,uE(Vd/yv(pf)));return _v(pf)?k0(Xb(Xf),0,Vd).join(""):Xf.slice(0,Vd)}function mx(Vd,pf,Cf,Xf){var Sh=pf&Ud,Fh=NE(Vd);function mm(){for(var _m=-1,Rm=arguments.length,Xm=-1,Qm=Xf.length,Zm=$m(Qm+Rm),Cg=this&&this!==h_&&this instanceof mm?Fh:Vd;++Xm<Qm;)Zm[Xm]=Xf[Xm];for(;Rm--;)Zm[Xm++]=arguments[++_m];return vb(Cg,Sh?Cf:this,Zm)}return mm}function nv(Vd){return function(pf,Cf,Xf){return Xf&&typeof Xf!="number"&&Qd(pf,Cf,Xf)&&(Cf=Xf=nd),pf=sv(pf),Cf===nd?(Cf=pf,pf=0):Cf=sv(Cf),Xf=Xf===nd?pf<Cf?1:-1:sv(Xf),Yx(pf,Cf,Xf,Vd)}}function IE(Vd){return function(pf,Cf){return typeof pf=="string"&&typeof Cf=="string"||(pf=S0(pf),Cf=S0(Cf)),Vd(pf,Cf)}}function RE(Vd,pf,Cf,Xf,Sh,Fh,mm,_m,Rm,Xm){var Qm=pf&Bd,Zm=Qm?mm:nd,Cg=Qm?nd:mm,$g=Qm?Fh:nd,Ug=Qm?nd:Fh;pf|=Qm?qd:zd,pf&=~(Qm?zd:qd),pf&Ld||(pf&=~(Ud|jd));var e_=[Vd,pf,Sh,$g,Zm,Ug,Cg,_m,Rm,Xm],Hg=Cf.apply(nd,e_);return Gf(Vd)&&xg(Hg,e_),Hg.placeholder=Xf,Wg(Hg,Vd,pf)}function yT(Vd){var pf=V_[Vd];return function(Cf,Xf){if(Cf=S0(Cf),Xf=Xf==null?0:z_(Qg(Xf),292),Xf&&kT(Cf)){var Sh=(E_(Cf)+"e").split("e"),Fh=pf(Sh[0]+"e"+(+Sh[1]+Xf));return Sh=(E_(Fh)+"e").split("e"),+(Sh[0]+"e"+(+Sh[1]-Xf))}return pf(Cf)}}var r1=Ub&&1/Db(new Ub([,-0]))[1]==Df?function(Vd){return new Ub(Vd)}:b1;function gx(Vd){return function(pf){var Cf=tb(pf);return Cf==ph?KE(pf):Cf==Ah?AT(pf):Tg(pf,Vd(pf))}}function o_(Vd,pf,Cf,Xf,Sh,Fh,mm,_m){var Rm=pf&jd;if(!Rm&&typeof Vd!="function")throw new jb(dd);var Xm=Xf?Xf.length:0;if(Xm||(pf&=~(qd|zd),Xf=Sh=nd),mm=mm===nd?mm:D_(Qg(mm),0),_m=_m===nd?_m:Qg(_m),Xm-=Sh?Sh.length:0,pf&zd){var Qm=Xf,Zm=Sh;Xf=Sh=nd}var Cg=Rm?nd:kE(Vd),$g=[Vd,pf,Cf,Xf,Sh,Qm,Zm,Fh,mm,_m];if(Cg&&Sm($g,Cg),Vd=$g[0],pf=$g[1],Cf=$g[2],Xf=$g[3],Sh=$g[4],_m=$g[9]=$g[9]===nd?Rm?0:Vd.length:D_($g[9]-Xm,0),!_m&&pf&(Bd|Gd)&&(pf&=~(Bd|Gd)),!pf||pf==Ud)var Ug=px(Vd,pf,Cf);else pf==Bd||pf==Gd?Ug=t1(Vd,pf,_m):(pf==qd||pf==(Ud|qd))&&!Sh.length?Ug=mx(Vd,pf,Cf,Xf):Ug=gS.apply(nd,$g);var e_=Cg?sx:xg;return Wg(e_(Ug,$g),Vd,pf)}function _x(Vd,pf,Cf,Xf){return Vd===nd||M0(Vd,Qb[Cf])&&!f_.call(Xf,Cf)?pf:Vd}function vS(Vd,pf,Cf,Xf,Sh,Fh){return G_(Vd)&&G_(pf)&&(Fh.set(pf,Vd),a0(Vd,pf,nd,vS,Fh),Fh.delete(pf)),Vd}function OE(Vd){return TT(Vd)?nd:Vd}function Gb(Vd,pf,Cf,Xf,Sh,Fh){var mm=Cf&Od,_m=Vd.length,Rm=pf.length;if(_m!=Rm&&!(mm&&Rm>_m))return!1;var Xm=Fh.get(Vd),Qm=Fh.get(pf);if(Xm&&Qm)return Xm==pf&&Qm==Vd;var Zm=-1,Cg=!0,$g=Cf&Md?new q0:nd;for(Fh.set(Vd,pf),Fh.set(pf,Vd);++Zm<_m;){var Ug=Vd[Zm],e_=pf[Zm];if(Xf)var Hg=mm?Xf(e_,Ug,Zm,pf,Vd,Fh):Xf(Ug,e_,Zm,Vd,pf,Fh);if(Hg!==nd){if(Hg)continue;Cg=!1;break}if($g){if(!j0(pf,function(i_,l_){if(!r_($g,l_)&&(Ug===i_||Sh(Ug,i_,Cf,Xf,Fh)))return $g.push(l_)})){Cg=!1;break}}else if(!(Ug===e_||Sh(Ug,e_,Cf,Xf,Fh))){Cg=!1;break}}return Fh.delete(Vd),Fh.delete(pf),Cg}function ES(Vd,pf,Cf,Xf,Sh,Fh,mm){switch(Cf){case Mm:if(Vd.byteLength!=pf.byteLength||Vd.byteOffset!=pf.byteOffset)return!1;Vd=Vd.buffer,pf=pf.buffer;case gm:return!(Vd.byteLength!=pf.byteLength||!Fh(new ZE(Vd),new ZE(pf)));case Sf:case Yf:case Oh:return M0(+Vd,+pf);case Th:return Vd.name==pf.name&&Vd.message==pf.message;case wh:case mh:return Vd==pf+"";case ph:var _m=KE;case Ah:var Rm=Xf&Od;if(_m||(_m=Db),Vd.size!=pf.size&&!Rm)return!1;var Xm=mm.get(Vd);if(Xm)return Xm==pf;Xf|=Md,mm.set(Vd,pf);var Qm=Gb(_m(Vd),_m(pf),Xf,Sh,Fh,mm);return mm.delete(Vd),Qm;case im:if(fE)return fE.call(Vd)==fE.call(pf)}return!1}function vT(Vd,pf,Cf,Xf,Sh,Fh){var mm=Cf&Od,_m=SS(Vd),Rm=_m.length,Xm=SS(pf),Qm=Xm.length;if(Rm!=Qm&&!mm)return!1;for(var Zm=Rm;Zm--;){var Cg=_m[Zm];if(!(mm?Cg in pf:f_.call(pf,Cg)))return!1}var $g=Fh.get(Vd),Ug=Fh.get(pf);if($g&&Ug)return $g==pf&&Ug==Vd;var e_=!0;Fh.set(Vd,pf),Fh.set(pf,Vd);for(var Hg=mm;++Zm<Rm;){Cg=_m[Zm];var i_=Vd[Cg],l_=pf[Cg];if(Xf)var l0=mm?Xf(l_,i_,Cg,pf,Vd,Fh):Xf(i_,l_,Cg,Vd,pf,Fh);if(!(l0===nd?i_===l_||Sh(i_,l_,Cf,Xf,Fh):l0)){e_=!1;break}Hg||(Hg=Cg=="constructor")}if(e_&&!Hg){var kb=Vd.constructor,c0=pf.constructor;kb!=c0&&"constructor"in Vd&&"constructor"in pf&&!(typeof kb=="function"&&kb instanceof kb&&typeof c0=="function"&&c0 instanceof c0)&&(e_=!1)}return Fh.delete(Vd),Fh.delete(pf),e_}function b0(Vd){return Ig(eg(Vd,nd,iy),Vd+"")}function SS(Vd){return sb(Vd,yb,Z0)}function TS(Vd){return sb(Vd,Vb,yx)}var kE=pE?function(Vd){return pE.get(Vd)}:b1;function ME(Vd){for(var pf=Vd.name+"",Cf=Ly[pf],Xf=f_.call(Ly,pf)?Cf.length:0;Xf--;){var Sh=Cf[Xf],Fh=Sh.func;if(Fh==null||Fh==Vd)return Sh.name}return pf}function Xv(Vd){var pf=f_.call(Mh,"placeholder")?Mh:Vd;return pf.placeholder}function Lg(){var Vd=Mh.iteratee||g1;return Vd=Vd===g1?Uv:Vd,arguments.length?Vd(arguments[0],arguments[1]):Vd}function $E(Vd,pf){var Cf=Vd.__data__;return wf(pf)?Cf[typeof pf=="string"?"string":"hash"]:Cf.map}function p_(Vd){for(var pf=yb(Vd),Cf=pf.length;Cf--;){var Xf=pf[Cf],Sh=Vd[Xf];pf[Cf]=[Xf,Sh,Wh(Sh)]}return pf}function J0(Vd,pf){var Cf=BS(Vd,pf);return Jy(Cf)?Cf:nd}function n1(Vd){var pf=f_.call(Vd,G0),Cf=Vd[G0];try{Vd[G0]=nd;var Xf=!0}catch{}var Sh=f0.call(Vd);return Xf&&(pf?Vd[G0]=Cf:delete Vd[G0]),Sh}var Z0=qS?function(Vd){return Vd==null?[]:(Vd=v_(Vd),d0(qS(Vd),function(pf){return eS.call(Vd,pf)}))}:y1,yx=qS?function(Vd){for(var pf=[];Vd;)Kb(pf,Z0(Vd)),Vd=H0(Vd);return pf}:y1,tb=ob;(nS&&tb(new nS(new ArrayBuffer(1)))!=Mm||e0&&tb(new e0)!=ph||Py&&tb(Py.resolve())!=Bf||Ub&&tb(new Ub)!=Ah||N0&&tb(new N0)!=Tm)&&(tb=function(Vd){var pf=ob(Vd),Cf=pf==Rf?Vd.constructor:nd,Xf=Cf?j_(Cf):"";if(Xf)switch(Xf){case MT:return Mm;case $x:return ph;case By:return Bf;case Hy:return Ah;case Px:return Tm}return pf});function i1(Vd,pf,Cf){for(var Xf=-1,Sh=Cf.length;++Xf<Sh;){var Fh=Cf[Xf],mm=Fh.size;switch(Fh.type){case"drop":Vd+=mm;break;case"dropRight":pf-=mm;break;case"take":pf=z_(pf,Vd+mm);break;case"takeRight":Vd=D_(Vd,pf-mm);break}}return{start:Vd,end:pf}}function P_(Vd){var pf=Vd.match(Tb);return pf?pf[1].split(q_):[]}function vx(Vd,pf,Cf){pf=Q0(pf,Vd);for(var Xf=-1,Sh=pf.length,Fh=!1;++Xf<Sh;){var mm=O_(pf[Xf]);if(!(Fh=Vd!=null&&Cf(Vd,mm)))break;Vd=Vd[mm]}return Fh||++Xf!=Sh?Fh:(Sh=Vd==null?0:Vd.length,!!Sh&&wx(Sh)&&Jd(mm,Sh)&&(Yg(Vd)||PE(Vd)))}function a1(Vd){var pf=Vd.length,Cf=new Vd.constructor(pf);return pf&&typeof Vd[0]=="string"&&f_.call(Vd,"index")&&(Cf.index=Vd.index,Cf.input=Vd.input),Cf}function Ex(Vd){return typeof Vd.constructor=="function"&&!yh(Vd)?Av(H0(Vd)):{}}function xS(Vd,pf,Cf){var Xf=Vd.constructor;switch(pf){case gm:return Vv(Vd);case Sf:case Yf:return new Xf(+Vd);case Mm:return Qx(Vd,Cf);case Hm:case gh:case Lf:case $f:case fh:case Ch:case Zh:case dm:case Im:return pT(Vd,Cf);case ph:return new Xf;case Oh:case mh:return new Xf(Vd);case wh:return Jx(Vd);case Ah:return new Xf;case im:return DE(Vd)}}function kd(Vd,pf){var Cf=pf.length;if(!Cf)return Vd;var Xf=Cf-1;return pf[Xf]=(Cf>1?"& ":"")+pf[Xf],pf=pf.join(Cf>2?", ":" "),Vd.replace(ub,`{
|
||
/* [wrapped with `+pf+`] */
|
||
`)}function Hd(Vd){return Yg(Vd)||PE(Vd)||!!(OT&&Vd&&Vd[OT])}function Jd(Vd,pf){var Cf=typeof Vd;return pf=pf??jf,!!pf&&(Cf=="number"||Cf!="symbol"&&Lm.test(Vd))&&Vd>-1&&Vd%1==0&&Vd<pf}function Qd(Vd,pf,Cf){if(!G_(Cf))return!1;var Xf=typeof pf;return(Xf=="number"?qb(Cf)&&Jd(pf,Cf.length):Xf=="string"&&pf in Cf)?M0(Cf[pf],Vd):!1}function mf(Vd,pf){if(Yg(Vd))return!1;var Cf=typeof Vd;return Cf=="number"||Cf=="symbol"||Cf=="boolean"||Vd==null||o0(Vd)?!0:Jg.test(Vd)||!g_.test(Vd)||pf!=null&&Vd in v_(pf)}function wf(Vd){var pf=typeof Vd;return pf=="string"||pf=="number"||pf=="symbol"||pf=="boolean"?Vd!=="__proto__":Vd===null}function Gf(Vd){var pf=ME(Vd),Cf=Mh[pf];if(typeof Cf!="function"||!(pf in Bg.prototype))return!1;if(Vd===Cf)return!0;var Xf=kE(Cf);return!!Xf&&Vd===Xf[0]}function Qf(Vd){return!!JE&&JE in Vd}var dh=D0?iv:v1;function yh(Vd){var pf=Vd&&Vd.constructor,Cf=typeof pf=="function"&&pf.prototype||Qb;return Vd===Cf}function Wh(Vd){return Vd===Vd&&!G_(Vd)}function um(Vd,pf){return function(Cf){return Cf==null?!1:Cf[Vd]===pf&&(pf!==nd||Vd in v_(Cf))}}function Dm(Vd){var pf=Cx(Vd,function(Xf){return Cf.size===md&&Cf.clear(),Xf}),Cf=pf.cache;return pf}function Sm(Vd,pf){var Cf=Vd[1],Xf=pf[1],Sh=Cf|Xf,Fh=Sh<(Ud|jd|Xd),mm=Xf==Xd&&Cf==Bd||Xf==Xd&&Cf==gf&&Vd[7].length<=pf[8]||Xf==(Xd|gf)&&pf[7].length<=pf[8]&&Cf==Bd;if(!(Fh||mm))return Vd;Xf&Ud&&(Vd[2]=pf[2],Sh|=Cf&Ud?0:Ld);var _m=pf[3];if(_m){var Rm=Vd[3];Vd[3]=Rm?mS(Rm,_m,pf[4]):_m,Vd[4]=Rm?wb(Vd[3],vd):pf[4]}return _m=pf[5],_m&&(Rm=Vd[5],Vd[5]=Rm?hT(Rm,_m,pf[6]):_m,Vd[6]=Rm?wb(Vd[5],vd):pf[6]),_m=pf[7],_m&&(Vd[7]=_m),Xf&Xd&&(Vd[8]=Vd[8]==null?pf[8]:z_(Vd[8],pf[8])),Vd[9]==null&&(Vd[9]=pf[9]),Vd[0]=pf[0],Vd[1]=Sh,Vd}function jm(Vd){var pf=[];if(Vd!=null)for(var Cf in v_(Vd))pf.push(Cf);return pf}function Wm(Vd){return f0.call(Vd)}function eg(Vd,pf,Cf){return pf=D_(pf===nd?Vd.length-1:pf,0),function(){for(var Xf=arguments,Sh=-1,Fh=D_(Xf.length-pf,0),mm=$m(Fh);++Sh<Fh;)mm[Sh]=Xf[pf+Sh];Sh=-1;for(var _m=$m(pf+1);++Sh<pf;)_m[Sh]=Xf[Sh];return _m[pf]=Cf(mm),vb(Vd,this,_m)}}function dg(Vd,pf){return pf.length<2?Vd:Y0(Vd,eb(pf,0,-1))}function yg(Vd,pf){for(var Cf=Vd.length,Xf=z_(pf.length,Cf),Sh=Ab(Vd);Xf--;){var Fh=pf[Xf];Vd[Xf]=Jd(Fh,Cf)?Sh[Fh]:nd}return Vd}function lg(Vd,pf){if(!(pf==="constructor"&&typeof Vd[pf]=="function")&&pf!="__proto__")return Vd[pf]}var xg=b_(sx),Og=tS||function(Vd,pf){return h_.setTimeout(Vd,pf)},Ig=b_(Kx);function Wg(Vd,pf,Cf){var Xf=pf+"";return Ig(Vd,kd(Xf,U_(P_(Xf),Cf)))}function b_(Vd){var pf=0,Cf=0;return function(){var Xf=Mx(),Sh=_f-(Xf-Cf);if(Cf=Xf,Sh>0){if(++pf>=Ef)return arguments[0]}else pf=0;return Vd.apply(nd,arguments)}}function L_(Vd,pf){var Cf=-1,Xf=Vd.length,Sh=Xf-1;for(pf=pf===nd?Xf:pf;++Cf<pf;){var Fh=pS(Cf,Sh),mm=Vd[Fh];Vd[Fh]=Vd[Cf],Vd[Cf]=mm}return Vd.length=pf,Vd}var w_=Dm(function(Vd){var pf=[];return Vd.charCodeAt(0)===46&&pf.push(""),Vd.replace(C_,function(Cf,Xf,Sh,Fh){pf.push(Sh?Fh.replace(vh,"$1"):Xf||Cf)}),pf});function O_(Vd){if(typeof Vd=="string"||o0(Vd))return Vd;var pf=Vd+"";return pf=="0"&&1/Vd==-Df?"-0":pf}function j_(Vd){if(Vd!=null){try{return vv.call(Vd)}catch{}try{return Vd+""}catch{}}return""}function U_(Vd,pf){return Cb(Wf,function(Cf){var Xf="_."+Cf[0];pf&Cf[1]&&!hv(Vd,Xf)&&Vd.push(Xf)}),Vd.sort()}function gb(Vd){if(Vd instanceof Bg)return Vd.clone();var pf=new m_(Vd.__wrapped__,Vd.__chain__);return pf.__actions__=Ab(Vd.__actions__),pf.__index__=Vd.__index__,pf.__values__=Vd.__values__,pf}function lb(Vd,pf,Cf){(Cf?Qd(Vd,pf,Cf):pf===nd)?pf=1:pf=D_(Qg(pf),0);var Xf=Vd==null?0:Vd.length;if(!Xf||pf<1)return[];for(var Sh=0,Fh=0,mm=$m(uE(Xf/pf));Sh<Xf;)mm[Fh++]=eb(Vd,Sh,Sh+=pf);return mm}function W_(Vd){for(var pf=-1,Cf=Vd==null?0:Vd.length,Xf=0,Sh=[];++pf<Cf;){var Fh=Vd[pf];Fh&&(Sh[Xf++]=Fh)}return Sh}function H_(){var Vd=arguments.length;if(!Vd)return[];for(var pf=$m(Vd-1),Cf=arguments[0],Xf=Vd;Xf--;)pf[Xf-1]=arguments[Xf];return Kb(Yg(Cf)?Ab(Cf):[Cf],Z_(pf,1))}var k_=Xg(function(Vd,pf){return nb(Vd)?gE(Vd,Z_(pf,1,nb,!0)):[]}),Sb=Xg(function(Vd,pf){var Cf=E0(pf);return nb(Cf)&&(Cf=nd),nb(Vd)?gE(Vd,Z_(pf,1,nb,!0),Lg(Cf,2)):[]}),Qv=Xg(function(Vd,pf){var Cf=E0(pf);return nb(Cf)&&(Cf=nd),nb(Vd)?gE(Vd,Z_(pf,1,nb,!0),nd,Cf):[]});function ry(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;return Xf?(pf=Cf||pf===nd?1:Qg(pf),eb(Vd,pf<0?0:pf,Xf)):[]}function pb(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;return Xf?(pf=Cf||pf===nd?1:Qg(pf),pf=Xf-pf,eb(Vd,0,pf<0?0:pf)):[]}function y0(Vd,pf){return Vd&&Vd.length?TE(Vd,Lg(pf,3),!0,!0):[]}function rb(Vd,pf){return Vd&&Vd.length?TE(Vd,Lg(pf,3),!0):[]}function ET(Vd,pf,Cf,Xf){var Sh=Vd==null?0:Vd.length;return Sh?(Cf&&typeof Cf!="number"&&Qd(Vd,pf,Cf)&&(Cf=0,Xf=Sh),qT(Vd,pf,Cf,Xf)):[]}function v0(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;if(!Xf)return-1;var Sh=Cf==null?0:Qg(Cf);return Sh<0&&(Sh=D_(Xf+Sh,0)),Fd(Vd,Lg(pf,3),Sh)}function ny(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;if(!Xf)return-1;var Sh=Xf-1;return Cf!==nd&&(Sh=Qg(Cf),Sh=Cf<0?D_(Xf+Sh,0):z_(Sh,Xf-1)),Fd(Vd,Lg(pf,3),Sh,!0)}function iy(Vd){var pf=Vd==null?0:Vd.length;return pf?Z_(Vd,1):[]}function _b(Vd){var pf=Vd==null?0:Vd.length;return pf?Z_(Vd,Df):[]}function Jv(Vd,pf){var Cf=Vd==null?0:Vd.length;return Cf?(pf=pf===nd?1:Qg(pf),Z_(Vd,pf)):[]}function ST(Vd){for(var pf=-1,Cf=Vd==null?0:Vd.length,Xf={};++pf<Cf;){var Sh=Vd[pf];Xf[Sh[0]]=Sh[1]}return Xf}function C1(Vd){return Vd&&Vd.length?Vd[0]:nd}function pC(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;if(!Xf)return-1;var Sh=Cf==null?0:Qg(Cf);return Sh<0&&(Sh=D_(Xf+Sh,0)),Kd(Vd,pf,Sh)}function hC(Vd){var pf=Vd==null?0:Vd.length;return pf?eb(Vd,0,-1):[]}var mC=Xg(function(Vd){var pf=x_(Vd,CE);return pf.length&&pf[0]===Vd[0]?Lv(pf):[]}),gC=Xg(function(Vd){var pf=E0(Vd),Cf=x_(Vd,CE);return pf===E0(Cf)?pf=nd:Cf.pop(),Cf.length&&Cf[0]===Vd[0]?Lv(Cf,Lg(pf,2)):[]}),yC=Xg(function(Vd){var pf=E0(Vd),Cf=x_(Vd,CE);return pf=typeof pf=="function"?pf:nd,pf&&Cf.pop(),Cf.length&&Cf[0]===Vd[0]?Lv(Cf,nd,pf):[]});function vC(Vd,pf){return Vd==null?"":VS.call(Vd,pf)}function E0(Vd){var pf=Vd==null?0:Vd.length;return pf?Vd[pf-1]:nd}function EC(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;if(!Xf)return-1;var Sh=Xf;return Cf!==nd&&(Sh=Qg(Cf),Sh=Sh<0?D_(Xf+Sh,0):z_(Sh,Xf-1)),pf===pf?Rx(Vd,pf,Sh):Fd(Vd,If,Sh,!0)}function SC(Vd,pf){return Vd&&Vd.length?Gv(Vd,Qg(pf)):nd}var TC=Xg(A1);function A1(Vd,pf){return Vd&&Vd.length&&pf&&pf.length?lT(Vd,pf):Vd}function xC(Vd,pf,Cf){return Vd&&Vd.length&&pf&&pf.length?lT(Vd,pf,Lg(Cf,2)):Vd}function CC(Vd,pf,Cf){return Vd&&Vd.length&&pf&&pf.length?lT(Vd,pf,nd,Cf):Vd}var AC=b0(function(Vd,pf){var Cf=Vd==null?0:Vd.length,Xf=Ov(Vd,pf);return mb(Vd,x_(pf,function(Sh){return Jd(Sh,Cf)?+Sh:Sh}).sort(fT)),Xf});function wC(Vd,pf){var Cf=[];if(!(Vd&&Vd.length))return Cf;var Xf=-1,Sh=[],Fh=Vd.length;for(pf=Lg(pf,3);++Xf<Fh;){var mm=Vd[Xf];pf(mm,Xf,Vd)&&(Cf.push(mm),Sh.push(Xf))}return mb(Vd,Sh),Cf}function s1(Vd){return Vd==null?Vd:dE.call(Vd)}function DC(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;return Xf?(Cf&&typeof Cf!="number"&&Qd(Vd,pf,Cf)?(pf=0,Cf=Xf):(pf=pf==null?0:Qg(pf),Cf=Cf===nd?Xf:Qg(Cf)),eb(Vd,pf,Cf)):[]}function NC(Vd,pf){return tv(Vd,pf)}function IC(Vd,pf,Cf){return rv(Vd,pf,Lg(Cf,2))}function RC(Vd,pf){var Cf=Vd==null?0:Vd.length;if(Cf){var Xf=tv(Vd,pf);if(Xf<Cf&&M0(Vd[Xf],pf))return Xf}return-1}function OC(Vd,pf){return tv(Vd,pf,!0)}function kC(Vd,pf,Cf){return rv(Vd,pf,Lg(Cf,2),!0)}function MC(Vd,pf){var Cf=Vd==null?0:Vd.length;if(Cf){var Xf=tv(Vd,pf,!0)-1;if(M0(Vd[Xf],pf))return Xf}return-1}function $C(Vd){return Vd&&Vd.length?g0(Vd):[]}function PC(Vd,pf){return Vd&&Vd.length?g0(Vd,Lg(pf,2)):[]}function LC(Vd){var pf=Vd==null?0:Vd.length;return pf?eb(Vd,1,pf):[]}function BC(Vd,pf,Cf){return Vd&&Vd.length?(pf=Cf||pf===nd?1:Qg(pf),eb(Vd,0,pf<0?0:pf)):[]}function FC(Vd,pf,Cf){var Xf=Vd==null?0:Vd.length;return Xf?(pf=Cf||pf===nd?1:Qg(pf),pf=Xf-pf,eb(Vd,pf<0?0:pf,Xf)):[]}function jC(Vd,pf){return Vd&&Vd.length?TE(Vd,Lg(pf,3),!1,!0):[]}function UC(Vd,pf){return Vd&&Vd.length?TE(Vd,Lg(pf,3)):[]}var HC=Xg(function(Vd){return Rb(Z_(Vd,1,nb,!0))}),GC=Xg(function(Vd){var pf=E0(Vd);return nb(pf)&&(pf=nd),Rb(Z_(Vd,1,nb,!0),Lg(pf,2))}),qC=Xg(function(Vd){var pf=E0(Vd);return pf=typeof pf=="function"?pf:nd,Rb(Z_(Vd,1,nb,!0),nd,pf)});function VC(Vd){return Vd&&Vd.length?Rb(Vd):[]}function zC(Vd,pf){return Vd&&Vd.length?Rb(Vd,Lg(pf,2)):[]}function WC(Vd,pf){return pf=typeof pf=="function"?pf:nd,Vd&&Vd.length?Rb(Vd,nd,pf):[]}function o1(Vd){if(!(Vd&&Vd.length))return[];var pf=0;return Vd=d0(Vd,function(Cf){if(nb(Cf))return pf=D_(Cf.length,pf),!0}),sg(pf,function(Cf){return x_(Vd,xh(Cf))})}function w1(Vd,pf){if(!(Vd&&Vd.length))return[];var Cf=o1(Vd);return pf==null?Cf:x_(Cf,function(Xf){return vb(pf,nd,Xf)})}var YC=Xg(function(Vd,pf){return nb(Vd)?gE(Vd,pf):[]}),KC=Xg(function(Vd){return X0(d0(Vd,nb))}),XC=Xg(function(Vd){var pf=E0(Vd);return nb(pf)&&(pf=nd),X0(d0(Vd,nb),Lg(pf,2))}),QC=Xg(function(Vd){var pf=E0(Vd);return pf=typeof pf=="function"?pf:nd,X0(d0(Vd,nb),nd,pf)}),JC=Xg(o1);function ZC(Vd,pf){return hS(Vd||[],pf||[],wv)}function eA(Vd,pf){return hS(Vd||[],pf||[],qv)}var tA=Xg(function(Vd){var pf=Vd.length,Cf=pf>1?Vd[pf-1]:nd;return Cf=typeof Cf=="function"?(Vd.pop(),Cf):nd,w1(Vd,Cf)});function D1(Vd){var pf=Mh(Vd);return pf.__chain__=!0,pf}function rA(Vd,pf){return pf(Vd),Vd}function Sx(Vd,pf){return pf(Vd)}var nA=b0(function(Vd){var pf=Vd.length,Cf=pf?Vd[0]:0,Xf=this.__wrapped__,Sh=function(Fh){return Ov(Fh,Vd)};return pf>1||this.__actions__.length||!(Xf instanceof Bg)||!Jd(Cf)?this.thru(Sh):(Xf=Xf.slice(Cf,+Cf+(pf?1:0)),Xf.__actions__.push({func:Sx,args:[Sh],thisArg:nd}),new m_(Xf,this.__chain__).thru(function(Fh){return pf&&!Fh.length&&Fh.push(nd),Fh}))});function iA(){return D1(this)}function sA(){return new m_(this.value(),this.__chain__)}function oA(){this.__values__===nd&&(this.__values__=H1(this.value()));var Vd=this.__index__>=this.__values__.length,pf=Vd?nd:this.__values__[this.__index__++];return{done:Vd,value:pf}}function lA(){return this}function cA(Vd){for(var pf,Cf=this;Cf instanceof db;){var Xf=gb(Cf);Xf.__index__=0,Xf.__values__=nd,pf?Sh.__wrapped__=Xf:pf=Xf;var Sh=Xf;Cf=Cf.__wrapped__}return Sh.__wrapped__=Vd,pf}function uA(){var Vd=this.__wrapped__;if(Vd instanceof Bg){var pf=Vd;return this.__actions__.length&&(pf=new Bg(this)),pf=pf.reverse(),pf.__actions__.push({func:Sx,args:[s1],thisArg:nd}),new m_(pf,this.__chain__)}return this.thru(s1)}function dA(){return xE(this.__wrapped__,this.__actions__)}var pA=zv(function(Vd,pf,Cf){f_.call(Vd,Cf)?++Vd[Cf]:R0(Vd,Cf,1)});function fA(Vd,pf,Cf){var Xf=Yg(Vd)?Cy:zx;return Cf&&Qd(Vd,pf,Cf)&&(pf=nd),Xf(Vd,Lg(pf,3))}function hA(Vd,pf){var Cf=Yg(Vd)?d0:Qy;return Cf(Vd,Lg(pf,3))}var mA=mT(v0),gA=mT(ny);function _A(Vd,pf){return Z_(Tx(Vd,pf),1)}function yA(Vd,pf){return Z_(Tx(Vd,pf),Df)}function vA(Vd,pf,Cf){return Cf=Cf===nd?1:Qg(Cf),Z_(Tx(Vd,pf),Cf)}function N1(Vd,pf){var Cf=Yg(Vd)?Cb:i0;return Cf(Vd,Lg(pf,3))}function I1(Vd,pf){var Cf=Yg(Vd)?zE:tT;return Cf(Vd,Lg(pf,3))}var EA=zv(function(Vd,pf,Cf){f_.call(Vd,Cf)?Vd[Cf].push(pf):R0(Vd,Cf,[pf])});function SA(Vd,pf,Cf,Xf){Vd=qb(Vd)?Vd:AS(Vd),Cf=Cf&&!Xf?Qg(Cf):0;var Sh=Vd.length;return Cf<0&&(Cf=D_(Sh+Cf,0)),Dx(Vd)?Cf<=Sh&&Vd.indexOf(pf,Cf)>-1:!!Sh&&Kd(Vd,pf,Cf)>-1}var TA=Xg(function(Vd,pf,Cf){var Xf=-1,Sh=typeof pf=="function",Fh=qb(Vd)?$m(Vd.length):[];return i0(Vd,function(mm){Fh[++Xf]=Sh?vb(pf,mm,Cf):Fv(mm,pf,Cf)}),Fh}),xA=zv(function(Vd,pf,Cf){R0(Vd,Cf,pf)});function Tx(Vd,pf){var Cf=Yg(Vd)?x_:sT;return Cf(Vd,Lg(pf,3))}function CA(Vd,pf,Cf,Xf){return Vd==null?[]:(Yg(pf)||(pf=pf==null?[]:[pf]),Cf=Xf?nd:Cf,Yg(Cf)||(Cf=Cf==null?[]:[Cf]),ex(Vd,pf,Cf))}var AA=zv(function(Vd,pf,Cf){Vd[Cf?0:1].push(pf)},function(){return[[],[]]});function wA(Vd,pf,Cf){var Xf=Yg(Vd)?oE:fm,Sh=arguments.length<3;return Xf(Vd,Lg(pf,4),Cf,Sh,i0)}function DA(Vd,pf,Cf){var Xf=Yg(Vd)?WE:fm,Sh=arguments.length<3;return Xf(Vd,Lg(pf,4),Cf,Sh,tT)}function NA(Vd,pf){var Cf=Yg(Vd)?d0:Qy;return Cf(Vd,Ax(Lg(pf,3)))}function IA(Vd){var pf=Yg(Vd)?QS:nx;return pf(Vd)}function RA(Vd,pf,Cf){(Cf?Qd(Vd,pf,Cf):pf===nd)?pf=1:pf=Qg(pf);var Xf=Yg(Vd)?qx:ix;return Xf(Vd,pf)}function OA(Vd){var pf=Yg(Vd)?JS:Xx;return pf(Vd)}function kA(Vd){if(Vd==null)return 0;if(qb(Vd))return Dx(Vd)?yv(Vd):Vd.length;var pf=tb(Vd);return pf==ph||pf==Ah?Vd.size:Zy(Vd).length}function MA(Vd,pf,Cf){var Xf=Yg(Vd)?j0:SE;return Cf&&Qd(Vd,pf,Cf)&&(pf=nd),Xf(Vd,Lg(pf,3))}var $A=Xg(function(Vd,pf){if(Vd==null)return[];var Cf=pf.length;return Cf>1&&Qd(Vd,pf[0],pf[1])?pf=[]:Cf>2&&Qd(pf[0],pf[1],pf[2])&&(pf=[pf[0]]),ex(Vd,Z_(pf,1),[])}),xx=Cv||function(){return h_.Date.now()};function PA(Vd,pf){if(typeof pf!="function")throw new jb(dd);return Vd=Qg(Vd),function(){if(--Vd<1)return pf.apply(this,arguments)}}function R1(Vd,pf,Cf){return pf=Cf?nd:pf,pf=Vd&&pf==null?Vd.length:pf,o_(Vd,Xd,nd,nd,nd,nd,pf)}function O1(Vd,pf){var Cf;if(typeof pf!="function")throw new jb(dd);return Vd=Qg(Vd),function(){return--Vd>0&&(Cf=pf.apply(this,arguments)),Vd<=1&&(pf=nd),Cf}}var l1=Xg(function(Vd,pf,Cf){var Xf=Ud;if(Cf.length){var Sh=wb(Cf,Xv(l1));Xf|=qd}return o_(Vd,Xf,pf,Cf,Sh)}),k1=Xg(function(Vd,pf,Cf){var Xf=Ud|jd;if(Cf.length){var Sh=wb(Cf,Xv(k1));Xf|=qd}return o_(pf,Xf,Vd,Cf,Sh)});function M1(Vd,pf,Cf){pf=Cf?nd:pf;var Xf=o_(Vd,Bd,nd,nd,nd,nd,nd,pf);return Xf.placeholder=M1.placeholder,Xf}function $1(Vd,pf,Cf){pf=Cf?nd:pf;var Xf=o_(Vd,Gd,nd,nd,nd,nd,nd,pf);return Xf.placeholder=$1.placeholder,Xf}function P1(Vd,pf,Cf){var Xf,Sh,Fh,mm,_m,Rm,Xm=0,Qm=!1,Zm=!1,Cg=!0;if(typeof Vd!="function")throw new jb(dd);pf=S0(pf)||0,G_(Cf)&&(Qm=!!Cf.leading,Zm="maxWait"in Cf,Fh=Zm?D_(S0(Cf.maxWait)||0,pf):Fh,Cg="trailing"in Cf?!!Cf.trailing:Cg);function $g(ib){var $0=Xf,ov=Sh;return Xf=Sh=nd,Xm=ib,mm=Vd.apply(ov,$0),mm}function Ug(ib){return Xm=ib,_m=Og(i_,pf),Qm?$g(ib):mm}function e_(ib){var $0=ib-Rm,ov=ib-Xm,tC=pf-$0;return Zm?z_(tC,Fh-ov):tC}function Hg(ib){var $0=ib-Rm,ov=ib-Xm;return Rm===nd||$0>=pf||$0<0||Zm&&ov>=Fh}function i_(){var ib=xx();if(Hg(ib))return l_(ib);_m=Og(i_,e_(ib))}function l_(ib){return _m=nd,Cg&&Xf?$g(ib):(Xf=Sh=nd,mm)}function l0(){_m!==nd&&lx(_m),Xm=0,Xf=Rm=Sh=_m=nd}function kb(){return _m===nd?mm:l_(xx())}function c0(){var ib=xx(),$0=Hg(ib);if(Xf=arguments,Sh=this,Rm=ib,$0){if(_m===nd)return Ug(Rm);if(Zm)return lx(_m),_m=Og(i_,pf),$g(Rm)}return _m===nd&&(_m=Og(i_,pf)),mm}return c0.cancel=l0,c0.flush=kb,c0}var LA=Xg(function(Vd,pf){return GT(Vd,1,pf)}),BA=Xg(function(Vd,pf,Cf){return GT(Vd,S0(pf)||0,Cf)});function FA(Vd){return o_(Vd,Yd)}function Cx(Vd,pf){if(typeof Vd!="function"||pf!=null&&typeof pf!="function")throw new jb(dd);var Cf=function(){var Xf=arguments,Sh=pf?pf.apply(this,Xf):Xf[0],Fh=Cf.cache;if(Fh.has(Sh))return Fh.get(Sh);var mm=Vd.apply(this,Xf);return Cf.cache=Fh.set(Sh,mm)||Fh,mm};return Cf.cache=new(Cx.Cache||r0),Cf}Cx.Cache=r0;function Ax(Vd){if(typeof Vd!="function")throw new jb(dd);return function(){var pf=arguments;switch(pf.length){case 0:return!Vd.call(this);case 1:return!Vd.call(this,pf[0]);case 2:return!Vd.call(this,pf[0],pf[1]);case 3:return!Vd.call(this,pf[0],pf[1],pf[2])}return!Vd.apply(this,pf)}}function jA(Vd){return O1(2,Vd)}var UA=wE(function(Vd,pf){pf=pf.length==1&&Yg(pf[0])?x_(pf[0],qg(Lg())):x_(Z_(pf,1),qg(Lg()));var Cf=pf.length;return Xg(function(Xf){for(var Sh=-1,Fh=z_(Xf.length,Cf);++Sh<Fh;)Xf[Sh]=pf[Sh].call(this,Xf[Sh]);return vb(Vd,this,Xf)})}),c1=Xg(function(Vd,pf){var Cf=wb(pf,Xv(c1));return o_(Vd,qd,nd,pf,Cf)}),L1=Xg(function(Vd,pf){var Cf=wb(pf,Xv(L1));return o_(Vd,zd,nd,pf,Cf)}),HA=b0(function(Vd,pf){return o_(Vd,gf,nd,nd,nd,pf)});function GA(Vd,pf){if(typeof Vd!="function")throw new jb(dd);return pf=pf===nd?pf:Qg(pf),Xg(Vd,pf)}function qA(Vd,pf){if(typeof Vd!="function")throw new jb(dd);return pf=pf==null?0:D_(Qg(pf),0),Xg(function(Cf){var Xf=Cf[pf],Sh=k0(Cf,0,pf);return Xf&&Kb(Sh,Xf),vb(Vd,this,Sh)})}function VA(Vd,pf,Cf){var Xf=!0,Sh=!0;if(typeof Vd!="function")throw new jb(dd);return G_(Cf)&&(Xf="leading"in Cf?!!Cf.leading:Xf,Sh="trailing"in Cf?!!Cf.trailing:Sh),P1(Vd,pf,{leading:Xf,maxWait:pf,trailing:Sh})}function zA(Vd){return R1(Vd,1)}function WA(Vd,pf){return c1(AE(pf),Vd)}function YA(){if(!arguments.length)return[];var Vd=arguments[0];return Yg(Vd)?Vd:[Vd]}function KA(Vd){return Nb(Vd,Id)}function XA(Vd,pf){return pf=typeof pf=="function"?pf:nd,Nb(Vd,Id,pf)}function QA(Vd){return Nb(Vd,Ad|Id)}function JA(Vd,pf){return pf=typeof pf=="function"?pf:nd,Nb(Vd,Ad|Id,pf)}function ZA(Vd,pf){return pf==null||eT(Vd,pf,yb(pf))}function M0(Vd,pf){return Vd===pf||Vd!==Vd&&pf!==pf}var ew=IE(dS),tw=IE(function(Vd,pf){return Vd>=pf}),PE=nT(function(){return arguments}())?nT:function(Vd){return Y_(Vd)&&f_.call(Vd,"callee")&&!eS.call(Vd,"callee")},Yg=$m.isArray,rw=Ty?qg(Ty):jv;function qb(Vd){return Vd!=null&&wx(Vd.length)&&!iv(Vd)}function nb(Vd){return Y_(Vd)&&qb(Vd)}function nw(Vd){return Vd===!0||Vd===!1||Y_(Vd)&&ob(Vd)==Sf}var Zv=kx||v1,iw=Bb?qg(Bb):YT;function sw(Vd){return Y_(Vd)&&Vd.nodeType===1&&!TT(Vd)}function ow(Vd){if(Vd==null)return!0;if(qb(Vd)&&(Yg(Vd)||typeof Vd=="string"||typeof Vd.splice=="function"||Zv(Vd)||CS(Vd)||PE(Vd)))return!Vd.length;var pf=tb(Vd);if(pf==ph||pf==Ah)return!Vd.size;if(yh(Vd))return!Zy(Vd).length;for(var Cf in Vd)if(f_.call(Vd,Cf))return!1;return!0}function lw(Vd,pf){return K0(Vd,pf)}function uw(Vd,pf,Cf){Cf=typeof Cf=="function"?Cf:nd;var Xf=Cf?Cf(Vd,pf):nd;return Xf===nd?K0(Vd,pf,nd,Cf):!!Xf}function u1(Vd){if(!Y_(Vd))return!1;var pf=ob(Vd);return pf==Th||pf==ih||typeof Vd.message=="string"&&typeof Vd.name=="string"&&!TT(Vd)}function dw(Vd){return typeof Vd=="number"&&kT(Vd)}function iv(Vd){if(!G_(Vd))return!1;var pf=ob(Vd);return pf==sh||pf==Nf||pf==Tf||pf==Kf}function B1(Vd){return typeof Vd=="number"&&Vd==Qg(Vd)}function wx(Vd){return typeof Vd=="number"&&Vd>-1&&Vd%1==0&&Vd<=jf}function G_(Vd){var pf=typeof Vd;return Vd!=null&&(pf=="object"||pf=="function")}function Y_(Vd){return Vd!=null&&typeof Vd=="object"}var F1=F0?qg(F0):yE;function pw(Vd,pf){return Vd===pf||iT(Vd,pf,p_(pf))}function fw(Vd,pf,Cf){return Cf=typeof Cf=="function"?Cf:nd,iT(Vd,pf,p_(pf),Cf)}function hw(Vd){return j1(Vd)&&Vd!=+Vd}function mw(Vd){if(dh(Vd))throw new Vg(ud);return Jy(Vd)}function gw(Vd){return Vd===null}function _w(Vd){return Vd==null}function j1(Vd){return typeof Vd=="number"||Y_(Vd)&&ob(Vd)==Oh}function TT(Vd){if(!Y_(Vd)||ob(Vd)!=Rf)return!1;var pf=H0(Vd);if(pf===null)return!0;var Cf=f_.call(pf,"constructor")&&pf.constructor;return typeof Cf=="function"&&Cf instanceof Cf&&vv.call(Cf)==Iy}var d1=fv?qg(fv):XT;function yw(Vd){return B1(Vd)&&Vd>=-jf&&Vd<=jf}var U1=Yb?qg(Yb):QT;function Dx(Vd){return typeof Vd=="string"||!Yg(Vd)&&Y_(Vd)&&ob(Vd)==mh}function o0(Vd){return typeof Vd=="symbol"||Y_(Vd)&&ob(Vd)==im}var CS=VE?qg(VE):JT;function vw(Vd){return Vd===nd}function Ew(Vd){return Y_(Vd)&&tb(Vd)==Tm}function Sw(Vd){return Y_(Vd)&&ob(Vd)==Pm}var Tw=IE(ev),xw=IE(function(Vd,pf){return Vd<=pf});function H1(Vd){if(!Vd)return[];if(qb(Vd))return Dx(Vd)?Xb(Vd):Ab(Vd);if(Oy&&Vd[Oy])return Ix(Vd[Oy]());var pf=tb(Vd),Cf=pf==ph?KE:pf==Ah?Db:AS;return Cf(Vd)}function sv(Vd){if(!Vd)return Vd===0?Vd:0;if(Vd=S0(Vd),Vd===Df||Vd===-Df){var pf=Vd<0?-1:1;return pf*Jf}return Vd===Vd?Vd:0}function Qg(Vd){var pf=sv(Vd),Cf=pf%1;return pf===pf?Cf?pf-Cf:pf:0}function G1(Vd){return Vd?O0(Qg(Vd),0,th):0}function S0(Vd){if(typeof Vd=="number")return Vd;if(o0(Vd))return eh;if(G_(Vd)){var pf=typeof Vd.valueOf=="function"?Vd.valueOf():Vd;Vd=G_(pf)?pf+"":pf}if(typeof Vd!="string")return Vd===0?Vd:+Vd;Vd=Ag(Vd);var Cf=hm.test(Vd);return Cf||Uh.test(Vd)?Sy(Vd.slice(2),Cf?2:8):Jh.test(Vd)?eh:+Vd}function q1(Vd){return s0(Vd,Vb(Vd))}function Cw(Vd){return Vd?O0(Qg(Vd),-jf,jf):Vd===0?Vd:0}function E_(Vd){return Vd==null?"":Ib(Vd)}var Aw=_0(function(Vd,pf){if(yh(pf)||qb(pf)){s0(pf,yb(pf),Vd);return}for(var Cf in pf)f_.call(pf,Cf)&&wv(Vd,Cf,pf[Cf])}),V1=_0(function(Vd,pf){s0(pf,Vb(pf),Vd)}),Nx=_0(function(Vd,pf,Cf,Xf){s0(pf,Vb(pf),Vd,Xf)}),ww=_0(function(Vd,pf,Cf,Xf){s0(pf,yb(pf),Vd,Xf)}),Dw=b0(Ov);function Nw(Vd,pf){var Cf=Av(Vd);return pf==null?Cf:ZS(Cf,pf)}var Iw=Xg(function(Vd,pf){Vd=v_(Vd);var Cf=-1,Xf=pf.length,Sh=Xf>2?pf[2]:nd;for(Sh&&Qd(pf[0],pf[1],Sh)&&(Xf=1);++Cf<Xf;)for(var Fh=pf[Cf],mm=Vb(Fh),_m=-1,Rm=mm.length;++_m<Rm;){var Xm=mm[_m],Qm=Vd[Xm];(Qm===nd||M0(Qm,Qb[Xm])&&!f_.call(Vd,Xm))&&(Vd[Xm]=Fh[Xm])}return Vd}),Rw=Xg(function(Vd){return Vd.push(nd,vS),vb(z1,nd,Vd)});function Ow(Vd,pf){return Wd(Vd,Lg(pf,3),Hb)}function kw(Vd,pf){return Wd(Vd,Lg(pf,3),cS)}function Mw(Vd,pf){return Vd==null?Vd:kv(Vd,Lg(pf,3),Vb)}function $w(Vd,pf){return Vd==null?Vd:rT(Vd,Lg(pf,3),Vb)}function Pw(Vd,pf){return Vd&&Hb(Vd,Lg(pf,3))}function Lw(Vd,pf){return Vd&&cS(Vd,Lg(pf,3))}function Bw(Vd){return Vd==null?[]:uS(Vd,yb(Vd))}function Fw(Vd){return Vd==null?[]:uS(Vd,Vb(Vd))}function p1(Vd,pf,Cf){var Xf=Vd==null?nd:Y0(Vd,pf);return Xf===nd?Cf:Xf}function jw(Vd,pf){return Vd!=null&&vx(Vd,pf,VT)}function f1(Vd,pf){return Vd!=null&&vx(Vd,pf,zT)}var Uw=gT(function(Vd,pf,Cf){pf!=null&&typeof pf.toString!="function"&&(pf=f0.call(pf)),Vd[pf]=Cf},m1(zb)),Hw=gT(function(Vd,pf,Cf){pf!=null&&typeof pf.toString!="function"&&(pf=f0.call(pf)),f_.call(Vd,pf)?Vd[pf].push(Cf):Vd[pf]=[Cf]},Lg),Gw=Xg(Fv);function yb(Vd){return qb(Vd)?oS(Vd):Zy(Vd)}function Vb(Vd){return qb(Vd)?oS(Vd,!0):vE(Vd)}function qw(Vd,pf){var Cf={};return pf=Lg(pf,3),Hb(Vd,function(Xf,Sh,Fh){R0(Cf,pf(Xf,Sh,Fh),Xf)}),Cf}function Vw(Vd,pf){var Cf={};return pf=Lg(pf,3),Hb(Vd,function(Xf,Sh,Fh){R0(Cf,Sh,pf(Xf,Sh,Fh))}),Cf}var zw=_0(function(Vd,pf,Cf){a0(Vd,pf,Cf)}),z1=_0(function(Vd,pf,Cf,Xf){a0(Vd,pf,Cf,Xf)}),Ww=b0(function(Vd,pf){var Cf={};if(Vd==null)return Cf;var Xf=!1;pf=x_(pf,function(Fh){return Fh=Q0(Fh,Vd),Xf||(Xf=Fh.length>1),Fh}),s0(Vd,TS(Vd),Cf),Xf&&(Cf=Nb(Cf,Ad|Nd|Id,OE));for(var Sh=pf.length;Sh--;)fS(Cf,pf[Sh]);return Cf});function Yw(Vd,pf){return W1(Vd,Ax(Lg(pf)))}var Kw=b0(function(Vd,pf){return Vd==null?{}:tx(Vd,pf)});function W1(Vd,pf){if(Vd==null)return{};var Cf=x_(TS(Vd),function(Xf){return[Xf]});return pf=Lg(pf),rx(Vd,Cf,function(Xf,Sh){return pf(Xf,Sh[0])})}function Xw(Vd,pf,Cf){pf=Q0(pf,Vd);var Xf=-1,Sh=pf.length;for(Sh||(Sh=1,Vd=nd);++Xf<Sh;){var Fh=Vd==null?nd:Vd[O_(pf[Xf])];Fh===nd&&(Xf=Sh,Fh=Cf),Vd=iv(Fh)?Fh.call(Vd):Fh}return Vd}function Qw(Vd,pf,Cf){return Vd==null?Vd:qv(Vd,pf,Cf)}function Jw(Vd,pf,Cf,Xf){return Xf=typeof Xf=="function"?Xf:nd,Vd==null?Vd:qv(Vd,pf,Cf,Xf)}var Y1=gx(yb),K1=gx(Vb);function Zw(Vd,pf,Cf){var Xf=Yg(Vd),Sh=Xf||Zv(Vd)||CS(Vd);if(pf=Lg(pf,4),Cf==null){var Fh=Vd&&Vd.constructor;Sh?Cf=Xf?new Fh:[]:G_(Vd)?Cf=iv(Fh)?Av(H0(Vd)):{}:Cf={}}return(Sh?Cb:Hb)(Vd,function(mm,_m,Rm){return pf(Cf,mm,_m,Rm)}),Cf}function eD(Vd,pf){return Vd==null?!0:fS(Vd,pf)}function tD(Vd,pf,Cf){return Vd==null?Vd:uT(Vd,pf,AE(Cf))}function rD(Vd,pf,Cf,Xf){return Xf=typeof Xf=="function"?Xf:nd,Vd==null?Vd:uT(Vd,pf,AE(Cf),Xf)}function AS(Vd){return Vd==null?[]:I_(Vd,yb(Vd))}function nD(Vd){return Vd==null?[]:I_(Vd,Vb(Vd))}function iD(Vd,pf,Cf){return Cf===nd&&(Cf=pf,pf=nd),Cf!==nd&&(Cf=S0(Cf),Cf=Cf===Cf?Cf:0),pf!==nd&&(pf=S0(pf),pf=pf===pf?pf:0),O0(S0(Vd),pf,Cf)}function sD(Vd,pf,Cf){return pf=sv(pf),Cf===nd?(Cf=pf,pf=0):Cf=sv(Cf),Vd=S0(Vd),Mv(Vd,pf,Cf)}function oD(Vd,pf,Cf){if(Cf&&typeof Cf!="boolean"&&Qd(Vd,pf,Cf)&&(pf=Cf=nd),Cf===nd&&(typeof pf=="boolean"?(Cf=pf,pf=nd):typeof Vd=="boolean"&&(Cf=Vd,Vd=nd)),Vd===nd&&pf===nd?(Vd=0,pf=1):(Vd=sv(Vd),pf===nd?(pf=Vd,Vd=0):pf=sv(pf)),Vd>pf){var Xf=Vd;Vd=pf,pf=Xf}if(Cf||Vd%1||pf%1){var Sh=WS();return z_(Vd+Sh*(pf-Vd+GE("1e-"+((Sh+"").length-1))),pf)}return pS(Vd,pf)}var lD=Yv(function(Vd,pf,Cf){return pf=pf.toLowerCase(),Vd+(Cf?X1(pf):pf)});function X1(Vd){return h1(E_(Vd).toLowerCase())}function Q1(Vd){return Vd=E_(Vd),Vd&&Vd.replace(Gm,gv).replace(BE,"")}function cD(Vd,pf,Cf){Vd=E_(Vd),pf=Ib(pf);var Xf=Vd.length;Cf=Cf===nd?Xf:O0(Qg(Cf),0,Xf);var Sh=Cf;return Cf-=pf.length,Cf>=0&&Vd.slice(Cf,Sh)==pf}function uD(Vd){return Vd=E_(Vd),Vd&&n_.test(Vd)?Vd.replace(Eg,p0):Vd}function dD(Vd){return Vd=E_(Vd),Vd&&a_.test(Vd)?Vd.replace(N_,"\\$&"):Vd}var pD=Yv(function(Vd,pf,Cf){return Vd+(Cf?"-":"")+pf.toLowerCase()}),fD=Yv(function(Vd,pf,Cf){return Vd+(Cf?" ":"")+pf.toLowerCase()}),hD=fx("toLowerCase");function mD(Vd,pf,Cf){Vd=E_(Vd),pf=Qg(pf);var Xf=pf?yv(Vd):0;if(!pf||Xf>=pf)return Vd;var Sh=(pf-Xf)/2;return yS($y(Sh),Cf)+Vd+yS(uE(Sh),Cf)}function gD(Vd,pf,Cf){Vd=E_(Vd),pf=Qg(pf);var Xf=pf?yv(Vd):0;return pf&&Xf<pf?Vd+yS(pf-Xf,Cf):Vd}function _D(Vd,pf,Cf){Vd=E_(Vd),pf=Qg(pf);var Xf=pf?yv(Vd):0;return pf&&Xf<pf?yS(pf-Xf,Cf)+Vd:Vd}function yD(Vd,pf,Cf){return Cf||pf==null?pf=0:pf&&(pf=+pf),rS(E_(Vd).replace(c_,""),pf||0)}function vD(Vd,pf,Cf){return(Cf?Qd(Vd,pf,Cf):pf===nd)?pf=1:pf=Qg(pf),cT(E_(Vd),pf)}function ED(){var Vd=arguments,pf=E_(Vd[0]);return Vd.length<3?pf:pf.replace(Vd[1],Vd[2])}var SD=Yv(function(Vd,pf,Cf){return Vd+(Cf?"_":"")+pf.toLowerCase()});function TD(Vd,pf,Cf){return Cf&&typeof Cf!="number"&&Qd(Vd,pf,Cf)&&(pf=Cf=nd),Cf=Cf===nd?th:Cf>>>0,Cf?(Vd=E_(Vd),Vd&&(typeof pf=="string"||pf!=null&&!d1(pf))&&(pf=Ib(pf),!pf&&_v(Vd))?k0(Xb(Vd),0,Cf):Vd.split(pf,Cf)):[]}var xD=Yv(function(Vd,pf,Cf){return Vd+(Cf?" ":"")+h1(pf)});function CD(Vd,pf,Cf){return Vd=E_(Vd),Cf=Cf==null?0:O0(Qg(Cf),0,Vd.length),pf=Ib(pf),Vd.slice(Cf,Cf+pf.length)==pf}function AD(Vd,pf,Cf){var Xf=Mh.templateSettings;Cf&&Qd(Vd,pf,Cf)&&(pf=nd),Vd=E_(Vd),pf=Nx({},pf,Xf,_x);var Sh=Nx({},pf.imports,Xf.imports,_x),Fh=yb(Sh),mm=I_(Sh,Fh),_m,Rm,Xm=0,Qm=pf.interpolate||_g,Zm="__p += '",Cg=cE((pf.escape||_g).source+"|"+Qm.source+"|"+(Qm===Ng?Rh:_g).source+"|"+(pf.evaluate||_g).source+"|$","g"),$g="//# sourceURL="+(f_.call(pf,"sourceURL")?(pf.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++UE+"]")+`
|
||
`;Vd.replace(Cg,function(Hg,i_,l_,l0,kb,c0){return l_||(l_=l0),Zm+=Vd.slice(Xm,c0).replace(Km,Dy),i_&&(_m=!0,Zm+=`' +
|
||
__e(`+i_+`) +
|
||
'`),kb&&(Rm=!0,Zm+=`';
|
||
`+kb+`;
|
||
__p += '`),l_&&(Zm+=`' +
|
||
((__t = (`+l_+`)) == null ? '' : __t) +
|
||
'`),Xm=c0+Hg.length,Hg}),Zm+=`';
|
||
`;var Ug=f_.call(pf,"variable")&&pf.variable;if(!Ug)Zm=`with (obj) {
|
||
`+Zm+`
|
||
}
|
||
`;else if(kh.test(Ug))throw new Vg(pd);Zm=(Rm?Zm.replace(Ym,""):Zm).replace(Fm,"$1").replace(ug,"$1;"),Zm="function("+(Ug||"obj")+`) {
|
||
`+(Ug?"":`obj || (obj = {});
|
||
`)+"var __t, __p = ''"+(_m?", __e = _.escape":"")+(Rm?`, __j = Array.prototype.join;
|
||
function print() { __p += __j.call(arguments, '') }
|
||
`:`;
|
||
`)+Zm+`return __p
|
||
}`;var e_=Z1(function(){return s_(Fh,$g+"return "+Zm).apply(nd,mm)});if(e_.source=Zm,u1(e_))throw e_;return e_}function wD(Vd){return E_(Vd).toLowerCase()}function DD(Vd){return E_(Vd).toUpperCase()}function ND(Vd,pf,Cf){if(Vd=E_(Vd),Vd&&(Cf||pf===nd))return Ag(Vd);if(!Vd||!(pf=Ib(pf)))return Vd;var Xf=Xb(Vd),Sh=Xb(pf),Fh=u_(Xf,Sh),mm=Q_(Xf,Sh)+1;return k0(Xf,Fh,mm).join("")}function ID(Vd,pf,Cf){if(Vd=E_(Vd),Vd&&(Cf||pf===nd))return Vd.slice(0,FS(Vd)+1);if(!Vd||!(pf=Ib(pf)))return Vd;var Xf=Xb(Vd),Sh=Q_(Xf,Xb(pf))+1;return k0(Xf,0,Sh).join("")}function RD(Vd,pf,Cf){if(Vd=E_(Vd),Vd&&(Cf||pf===nd))return Vd.replace(c_,"");if(!Vd||!(pf=Ib(pf)))return Vd;var Xf=Xb(Vd),Sh=u_(Xf,Xb(pf));return k0(Xf,Sh).join("")}function OD(Vd,pf){var Cf=Zd,Xf=df;if(G_(pf)){var Sh="separator"in pf?pf.separator:Sh;Cf="length"in pf?Qg(pf.length):Cf,Xf="omission"in pf?Ib(pf.omission):Xf}Vd=E_(Vd);var Fh=Vd.length;if(_v(Vd)){var mm=Xb(Vd);Fh=mm.length}if(Cf>=Fh)return Vd;var _m=Cf-yv(Xf);if(_m<1)return Xf;var Rm=mm?k0(mm,0,_m).join(""):Vd.slice(0,_m);if(Sh===nd)return Rm+Xf;if(mm&&(_m+=Rm.length-_m),d1(Sh)){if(Vd.slice(_m).search(Sh)){var Xm,Qm=Rm;for(Sh.global||(Sh=cE(Sh.source,E_(sm.exec(Sh))+"g")),Sh.lastIndex=0;Xm=Sh.exec(Qm);)var Zm=Xm.index;Rm=Rm.slice(0,Zm===nd?_m:Zm)}}else if(Vd.indexOf(Ib(Sh),_m)!=_m){var Cg=Rm.lastIndexOf(Sh);Cg>-1&&(Rm=Rm.slice(0,Cg))}return Rm+Xf}function kD(Vd){return Vd=E_(Vd),Vd&&kg.test(Vd)?Vd.replace(rg,DT):Vd}var MD=Yv(function(Vd,pf,Cf){return Vd+(Cf?" ":"")+pf.toUpperCase()}),h1=fx("toUpperCase");function J1(Vd,pf,Cf){return Vd=E_(Vd),pf=Cf?nd:pf,pf===nd?CT(Vd)?IT(Vd):LS(Vd):Vd.match(pf)||[]}var Z1=Xg(function(Vd,pf){try{return vb(Vd,nd,pf)}catch(Cf){return u1(Cf)?Cf:new Vg(Cf)}}),$D=b0(function(Vd,pf){return Cb(pf,function(Cf){Cf=O_(Cf),R0(Vd,Cf,l1(Vd[Cf],Vd))}),Vd});function PD(Vd){var pf=Vd==null?0:Vd.length,Cf=Lg();return Vd=pf?x_(Vd,function(Xf){if(typeof Xf[1]!="function")throw new jb(dd);return[Cf(Xf[0]),Xf[1]]}):[],Xg(function(Xf){for(var Sh=-1;++Sh<pf;){var Fh=Vd[Sh];if(vb(Fh[0],this,Xf))return vb(Fh[1],this,Xf)}})}function LD(Vd){return Vx(Nb(Vd,Ad))}function m1(Vd){return function(){return Vd}}function BD(Vd,pf){return Vd==null||Vd!==Vd?pf:Vd}var FD=hx(),jD=hx(!0);function zb(Vd){return Vd}function g1(Vd){return Uv(typeof Vd=="function"?Vd:Nb(Vd,Ad))}function UD(Vd){return ZT(Nb(Vd,Ad))}function HD(Vd,pf){return oT(Vd,Nb(pf,Ad))}var GD=Xg(function(Vd,pf){return function(Cf){return Fv(Cf,Vd,pf)}}),qD=Xg(function(Vd,pf){return function(Cf){return Fv(Vd,Cf,pf)}});function _1(Vd,pf,Cf){var Xf=yb(pf),Sh=uS(pf,Xf);Cf==null&&!(G_(pf)&&(Sh.length||!Xf.length))&&(Cf=pf,pf=Vd,Vd=this,Sh=uS(pf,yb(pf)));var Fh=!(G_(Cf)&&"chain"in Cf)||!!Cf.chain,mm=iv(Vd);return Cb(Sh,function(_m){var Rm=pf[_m];Vd[_m]=Rm,mm&&(Vd.prototype[_m]=function(){var Xm=this.__chain__;if(Fh||Xm){var Qm=Vd(this.__wrapped__),Zm=Qm.__actions__=Ab(this.__actions__);return Zm.push({func:Rm,args:arguments,thisArg:Vd}),Qm.__chain__=Xm,Qm}return Rm.apply(Vd,Kb([this.value()],arguments))})}),Vd}function VD(){return h_._===this&&(h_._=Eb),this}function b1(){}function zD(Vd){return Vd=Qg(Vd),Xg(function(pf){return Gv(pf,Vd)})}var WD=_S(x_),YD=_S(Cy),KD=_S(j0);function eC(Vd){return mf(Vd)?xh(O_(Vd)):Wx(Vd)}function XD(Vd){return function(pf){return Vd==null?nd:Y0(Vd,pf)}}var QD=nv(),JD=nv(!0);function y1(){return[]}function v1(){return!1}function ZD(){return{}}function eN(){return""}function tN(){return!0}function rN(Vd,pf){if(Vd=Qg(Vd),Vd<1||Vd>jf)return[];var Cf=th,Xf=z_(Vd,th);pf=Lg(pf),Vd-=th;for(var Sh=sg(Xf,pf);++Cf<Vd;)pf(Cf);return Sh}function nN(Vd){return Yg(Vd)?x_(Vd,O_):o0(Vd)?[Vd]:Ab(w_(E_(Vd)))}function iN(Vd){var pf=++RT;return E_(Vd)+pf}var sN=Kv(function(Vd,pf){return Vd+pf},0),oN=yT("ceil"),lN=Kv(function(Vd,pf){return Vd/pf},1),cN=yT("floor");function uN(Vd){return Vd&&Vd.length?lS(Vd,zb,dS):nd}function dN(Vd,pf){return Vd&&Vd.length?lS(Vd,Lg(pf,2),dS):nd}function pN(Vd){return uh(Vd,zb)}function fN(Vd,pf){return uh(Vd,Lg(pf,2))}function hN(Vd){return Vd&&Vd.length?lS(Vd,zb,ev):nd}function mN(Vd,pf){return Vd&&Vd.length?lS(Vd,Lg(pf,2),ev):nd}var gN=Kv(function(Vd,pf){return Vd*pf},1),_N=yT("round"),yN=Kv(function(Vd,pf){return Vd-pf},0);function vN(Vd){return Vd&&Vd.length?zm(Vd,zb):0}function EN(Vd,pf){return Vd&&Vd.length?zm(Vd,Lg(pf,2)):0}return Mh.after=PA,Mh.ary=R1,Mh.assign=Aw,Mh.assignIn=V1,Mh.assignInWith=Nx,Mh.assignWith=ww,Mh.at=Dw,Mh.before=O1,Mh.bind=l1,Mh.bindAll=$D,Mh.bindKey=k1,Mh.castArray=YA,Mh.chain=D1,Mh.chunk=lb,Mh.compact=W_,Mh.concat=H_,Mh.cond=PD,Mh.conforms=LD,Mh.constant=m1,Mh.countBy=pA,Mh.create=Nw,Mh.curry=M1,Mh.curryRight=$1,Mh.debounce=P1,Mh.defaults=Iw,Mh.defaultsDeep=Rw,Mh.defer=LA,Mh.delay=BA,Mh.difference=k_,Mh.differenceBy=Sb,Mh.differenceWith=Qv,Mh.drop=ry,Mh.dropRight=pb,Mh.dropRightWhile=y0,Mh.dropWhile=rb,Mh.fill=ET,Mh.filter=hA,Mh.flatMap=_A,Mh.flatMapDeep=yA,Mh.flatMapDepth=vA,Mh.flatten=iy,Mh.flattenDeep=_b,Mh.flattenDepth=Jv,Mh.flip=FA,Mh.flow=FD,Mh.flowRight=jD,Mh.fromPairs=ST,Mh.functions=Bw,Mh.functionsIn=Fw,Mh.groupBy=EA,Mh.initial=hC,Mh.intersection=mC,Mh.intersectionBy=gC,Mh.intersectionWith=yC,Mh.invert=Uw,Mh.invertBy=Hw,Mh.invokeMap=TA,Mh.iteratee=g1,Mh.keyBy=xA,Mh.keys=yb,Mh.keysIn=Vb,Mh.map=Tx,Mh.mapKeys=qw,Mh.mapValues=Vw,Mh.matches=UD,Mh.matchesProperty=HD,Mh.memoize=Cx,Mh.merge=zw,Mh.mergeWith=z1,Mh.method=GD,Mh.methodOf=qD,Mh.mixin=_1,Mh.negate=Ax,Mh.nthArg=zD,Mh.omit=Ww,Mh.omitBy=Yw,Mh.once=jA,Mh.orderBy=CA,Mh.over=WD,Mh.overArgs=UA,Mh.overEvery=YD,Mh.overSome=KD,Mh.partial=c1,Mh.partialRight=L1,Mh.partition=AA,Mh.pick=Kw,Mh.pickBy=W1,Mh.property=eC,Mh.propertyOf=XD,Mh.pull=TC,Mh.pullAll=A1,Mh.pullAllBy=xC,Mh.pullAllWith=CC,Mh.pullAt=AC,Mh.range=QD,Mh.rangeRight=JD,Mh.rearg=HA,Mh.reject=NA,Mh.remove=wC,Mh.rest=GA,Mh.reverse=s1,Mh.sampleSize=RA,Mh.set=Qw,Mh.setWith=Jw,Mh.shuffle=OA,Mh.slice=DC,Mh.sortBy=$A,Mh.sortedUniq=$C,Mh.sortedUniqBy=PC,Mh.split=TD,Mh.spread=qA,Mh.tail=LC,Mh.take=BC,Mh.takeRight=FC,Mh.takeRightWhile=jC,Mh.takeWhile=UC,Mh.tap=rA,Mh.throttle=VA,Mh.thru=Sx,Mh.toArray=H1,Mh.toPairs=Y1,Mh.toPairsIn=K1,Mh.toPath=nN,Mh.toPlainObject=q1,Mh.transform=Zw,Mh.unary=zA,Mh.union=HC,Mh.unionBy=GC,Mh.unionWith=qC,Mh.uniq=VC,Mh.uniqBy=zC,Mh.uniqWith=WC,Mh.unset=eD,Mh.unzip=o1,Mh.unzipWith=w1,Mh.update=tD,Mh.updateWith=rD,Mh.values=AS,Mh.valuesIn=nD,Mh.without=YC,Mh.words=J1,Mh.wrap=WA,Mh.xor=KC,Mh.xorBy=XC,Mh.xorWith=QC,Mh.zip=JC,Mh.zipObject=ZC,Mh.zipObjectDeep=eA,Mh.zipWith=tA,Mh.entries=Y1,Mh.entriesIn=K1,Mh.extend=V1,Mh.extendWith=Nx,_1(Mh,Mh),Mh.add=sN,Mh.attempt=Z1,Mh.camelCase=lD,Mh.capitalize=X1,Mh.ceil=oN,Mh.clamp=iD,Mh.clone=KA,Mh.cloneDeep=QA,Mh.cloneDeepWith=JA,Mh.cloneWith=XA,Mh.conformsTo=ZA,Mh.deburr=Q1,Mh.defaultTo=BD,Mh.divide=lN,Mh.endsWith=cD,Mh.eq=M0,Mh.escape=uD,Mh.escapeRegExp=dD,Mh.every=fA,Mh.find=mA,Mh.findIndex=v0,Mh.findKey=Ow,Mh.findLast=gA,Mh.findLastIndex=ny,Mh.findLastKey=kw,Mh.floor=cN,Mh.forEach=N1,Mh.forEachRight=I1,Mh.forIn=Mw,Mh.forInRight=$w,Mh.forOwn=Pw,Mh.forOwnRight=Lw,Mh.get=p1,Mh.gt=ew,Mh.gte=tw,Mh.has=jw,Mh.hasIn=f1,Mh.head=C1,Mh.identity=zb,Mh.includes=SA,Mh.indexOf=pC,Mh.inRange=sD,Mh.invoke=Gw,Mh.isArguments=PE,Mh.isArray=Yg,Mh.isArrayBuffer=rw,Mh.isArrayLike=qb,Mh.isArrayLikeObject=nb,Mh.isBoolean=nw,Mh.isBuffer=Zv,Mh.isDate=iw,Mh.isElement=sw,Mh.isEmpty=ow,Mh.isEqual=lw,Mh.isEqualWith=uw,Mh.isError=u1,Mh.isFinite=dw,Mh.isFunction=iv,Mh.isInteger=B1,Mh.isLength=wx,Mh.isMap=F1,Mh.isMatch=pw,Mh.isMatchWith=fw,Mh.isNaN=hw,Mh.isNative=mw,Mh.isNil=_w,Mh.isNull=gw,Mh.isNumber=j1,Mh.isObject=G_,Mh.isObjectLike=Y_,Mh.isPlainObject=TT,Mh.isRegExp=d1,Mh.isSafeInteger=yw,Mh.isSet=U1,Mh.isString=Dx,Mh.isSymbol=o0,Mh.isTypedArray=CS,Mh.isUndefined=vw,Mh.isWeakMap=Ew,Mh.isWeakSet=Sw,Mh.join=vC,Mh.kebabCase=pD,Mh.last=E0,Mh.lastIndexOf=EC,Mh.lowerCase=fD,Mh.lowerFirst=hD,Mh.lt=Tw,Mh.lte=xw,Mh.max=uN,Mh.maxBy=dN,Mh.mean=pN,Mh.meanBy=fN,Mh.min=hN,Mh.minBy=mN,Mh.stubArray=y1,Mh.stubFalse=v1,Mh.stubObject=ZD,Mh.stubString=eN,Mh.stubTrue=tN,Mh.multiply=gN,Mh.nth=SC,Mh.noConflict=VD,Mh.noop=b1,Mh.now=xx,Mh.pad=mD,Mh.padEnd=gD,Mh.padStart=_D,Mh.parseInt=yD,Mh.random=oD,Mh.reduce=wA,Mh.reduceRight=DA,Mh.repeat=vD,Mh.replace=ED,Mh.result=Xw,Mh.round=_N,Mh.runInContext=Nm,Mh.sample=IA,Mh.size=kA,Mh.snakeCase=SD,Mh.some=MA,Mh.sortedIndex=NC,Mh.sortedIndexBy=IC,Mh.sortedIndexOf=RC,Mh.sortedLastIndex=OC,Mh.sortedLastIndexBy=kC,Mh.sortedLastIndexOf=MC,Mh.startCase=xD,Mh.startsWith=CD,Mh.subtract=yN,Mh.sum=vN,Mh.sumBy=EN,Mh.template=AD,Mh.times=rN,Mh.toFinite=sv,Mh.toInteger=Qg,Mh.toLength=G1,Mh.toLower=wD,Mh.toNumber=S0,Mh.toSafeInteger=Cw,Mh.toString=E_,Mh.toUpper=DD,Mh.trim=ND,Mh.trimEnd=ID,Mh.trimStart=RD,Mh.truncate=OD,Mh.unescape=kD,Mh.uniqueId=iN,Mh.upperCase=MD,Mh.upperFirst=h1,Mh.each=N1,Mh.eachRight=I1,Mh.first=C1,_1(Mh,function(){var Vd={};return Hb(Mh,function(pf,Cf){f_.call(Mh.prototype,Cf)||(Vd[Cf]=pf)}),Vd}(),{chain:!1}),Mh.VERSION=od,Cb(["bind","bindKey","curry","curryRight","partial","partialRight"],function(Vd){Mh[Vd].placeholder=Mh}),Cb(["drop","take"],function(Vd,pf){Bg.prototype[Vd]=function(Cf){Cf=Cf===nd?1:D_(Qg(Cf),0);var Xf=this.__filtered__&&!pf?new Bg(this):this.clone();return Xf.__filtered__?Xf.__takeCount__=z_(Cf,Xf.__takeCount__):Xf.__views__.push({size:z_(Cf,th),type:Vd+(Xf.__dir__<0?"Right":"")}),Xf},Bg.prototype[Vd+"Right"]=function(Cf){return this.reverse()[Vd](Cf).reverse()}}),Cb(["filter","map","takeWhile"],function(Vd,pf){var Cf=pf+1,Xf=Cf==xf||Cf==Af;Bg.prototype[Vd]=function(Sh){var Fh=this.clone();return Fh.__iteratees__.push({iteratee:Lg(Sh,3),type:Cf}),Fh.__filtered__=Fh.__filtered__||Xf,Fh}}),Cb(["head","last"],function(Vd,pf){var Cf="take"+(pf?"Right":"");Bg.prototype[Vd]=function(){return this[Cf](1).value()[0]}}),Cb(["initial","tail"],function(Vd,pf){var Cf="drop"+(pf?"":"Right");Bg.prototype[Vd]=function(){return this.__filtered__?new Bg(this):this[Cf](1)}}),Bg.prototype.compact=function(){return this.filter(zb)},Bg.prototype.find=function(Vd){return this.filter(Vd).head()},Bg.prototype.findLast=function(Vd){return this.reverse().find(Vd)},Bg.prototype.invokeMap=Xg(function(Vd,pf){return typeof Vd=="function"?new Bg(this):this.map(function(Cf){return Fv(Cf,Vd,pf)})}),Bg.prototype.reject=function(Vd){return this.filter(Ax(Lg(Vd)))},Bg.prototype.slice=function(Vd,pf){Vd=Qg(Vd);var Cf=this;return Cf.__filtered__&&(Vd>0||pf<0)?new Bg(Cf):(Vd<0?Cf=Cf.takeRight(-Vd):Vd&&(Cf=Cf.drop(Vd)),pf!==nd&&(pf=Qg(pf),Cf=pf<0?Cf.dropRight(-pf):Cf.take(pf-Vd)),Cf)},Bg.prototype.takeRightWhile=function(Vd){return this.reverse().takeWhile(Vd).reverse()},Bg.prototype.toArray=function(){return this.take(th)},Hb(Bg.prototype,function(Vd,pf){var Cf=/^(?:filter|find|map|reject)|While$/.test(pf),Xf=/^(?:head|last)$/.test(pf),Sh=Mh[Xf?"take"+(pf=="last"?"Right":""):pf],Fh=Xf||/^find/.test(pf);Sh&&(Mh.prototype[pf]=function(){var mm=this.__wrapped__,_m=Xf?[1]:arguments,Rm=mm instanceof Bg,Xm=_m[0],Qm=Rm||Yg(mm),Zm=function(i_){var l_=Sh.apply(Mh,Kb([i_],_m));return Xf&&Cg?l_[0]:l_};Qm&&Cf&&typeof Xm=="function"&&Xm.length!=1&&(Rm=Qm=!1);var Cg=this.__chain__,$g=!!this.__actions__.length,Ug=Fh&&!Cg,e_=Rm&&!$g;if(!Fh&&Qm){mm=e_?mm:new Bg(this);var Hg=Vd.apply(mm,_m);return Hg.__actions__.push({func:Sx,args:[Zm],thisArg:nd}),new m_(Hg,Cg)}return Ug&&e_?Vd.apply(this,_m):(Hg=this.thru(Zm),Ug?Xf?Hg.value()[0]:Hg.value():Hg)})}),Cb(["pop","push","shift","sort","splice","unshift"],function(Vd){var pf=QE[Vd],Cf=/^(?:push|sort|unshift)$/.test(Vd)?"tap":"thru",Xf=/^(?:pop|shift)$/.test(Vd);Mh.prototype[Vd]=function(){var Sh=arguments;if(Xf&&!this.__chain__){var Fh=this.value();return pf.apply(Yg(Fh)?Fh:[],Sh)}return this[Cf](function(mm){return pf.apply(Yg(mm)?mm:[],Sh)})}}),Hb(Bg.prototype,function(Vd,pf){var Cf=Mh[pf];if(Cf){var Xf=Cf.name+"";f_.call(Ly,Xf)||(Ly[Xf]=[]),Ly[Xf].push({name:pf,func:Cf})}}),Ly[gS(nd,jd).name]=[{name:"wrapper",func:nd}],Bg.prototype.clone=J_,Bg.prototype.reverse=hE,Bg.prototype.value=Lx,Mh.prototype.at=nA,Mh.prototype.chain=iA,Mh.prototype.commit=sA,Mh.prototype.next=oA,Mh.prototype.plant=cA,Mh.prototype.reverse=uA,Mh.prototype.toJSON=Mh.prototype.valueOf=Mh.prototype.value=dA,Mh.prototype.first=Mh.prototype.head,Oy&&(Mh.prototype[Oy]=lA),Mh},w0=jS();A0?((A0.exports=w0)._=w0,iE._=w0):h_._=w0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var nd=Ra.slice(0,qa),od=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(nd),decodeComponents(od))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],nd=1;nd<qa.length;nd++)Ra=decodeComponents(qa,nd).join(""),qa=Ra.match(singleMatcher)||[];return Ra}}function customDecodeURIComponent(Ra){for(var qa={"%FE%FF":"<22><>","%FF%FE":"<22><>"},nd=multiMatcher.exec(Ra);nd;){try{qa[nd[0]]=decodeURIComponent(nd[0])}catch{var od=decode(nd[0]);od!==nd[0]&&(qa[nd[0]]=od)}nd=multiMatcher.exec(Ra)}qa["%C2"]="<22>";for(var ld=Object.keys(qa),ud=0;ud<ld.length;ud++){var dd=ld[ud];Ra=Ra.replace(new RegExp(dd,"g"),qa[dd])}return Ra}var decodeUriComponent=function(Ra){if(typeof Ra!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof Ra+"`");try{return Ra=Ra.replace(/\+/g," "),decodeURIComponent(Ra)}catch{return customDecodeURIComponent(Ra)}},splitOnFirst=(Ra,qa)=>{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const nd=Ra.indexOf(qa);return nd===-1?[Ra]:[Ra.slice(0,nd),Ra.slice(nd+qa.length)]},filterObj=function(Ra,qa){for(var nd={},od=Object.keys(Ra),ld=Array.isArray(qa),ud=0;ud<od.length;ud++){var dd=od[ud],pd=Ra[dd];(ld?qa.indexOf(dd)!==-1:qa(dd,pd,Ra))&&(nd[dd]=pd)}return nd};(function(Ra){const qa=strictUriEncode,nd=decodeUriComponent,od=splitOnFirst,ld=filterObj,ud=Ld=>Ld==null,dd=Symbol("encodeFragmentIdentifier");function pd(Ld){switch(Ld.arrayFormat){case"index":return Bd=>(Gd,qd)=>{const zd=Gd.length;return qd===void 0||Ld.skipNull&&qd===null||Ld.skipEmptyString&&qd===""?Gd:qd===null?[...Gd,[vd(Bd,Ld),"[",zd,"]"].join("")]:[...Gd,[vd(Bd,Ld),"[",vd(zd,Ld),"]=",vd(qd,Ld)].join("")]};case"bracket":return Bd=>(Gd,qd)=>qd===void 0||Ld.skipNull&&qd===null||Ld.skipEmptyString&&qd===""?Gd:qd===null?[...Gd,[vd(Bd,Ld),"[]"].join("")]:[...Gd,[vd(Bd,Ld),"[]=",vd(qd,Ld)].join("")];case"colon-list-separator":return Bd=>(Gd,qd)=>qd===void 0||Ld.skipNull&&qd===null||Ld.skipEmptyString&&qd===""?Gd:qd===null?[...Gd,[vd(Bd,Ld),":list="].join("")]:[...Gd,[vd(Bd,Ld),":list=",vd(qd,Ld)].join("")];case"comma":case"separator":case"bracket-separator":{const Bd=Ld.arrayFormat==="bracket-separator"?"[]=":"=";return Gd=>(qd,zd)=>zd===void 0||Ld.skipNull&&zd===null||Ld.skipEmptyString&&zd===""?qd:(zd=zd===null?"":zd,qd.length===0?[[vd(Gd,Ld),Bd,vd(zd,Ld)].join("")]:[[qd,vd(zd,Ld)].join(Ld.arrayFormatSeparator)])}default:return Bd=>(Gd,qd)=>qd===void 0||Ld.skipNull&&qd===null||Ld.skipEmptyString&&qd===""?Gd:qd===null?[...Gd,vd(Bd,Ld)]:[...Gd,[vd(Bd,Ld),"=",vd(qd,Ld)].join("")]}}function fd(Ld){let Bd;switch(Ld.arrayFormat){case"index":return(Gd,qd,zd)=>{if(Bd=/\[(\d*)\]$/.exec(Gd),Gd=Gd.replace(/\[\d*\]$/,""),!Bd){zd[Gd]=qd;return}zd[Gd]===void 0&&(zd[Gd]={}),zd[Gd][Bd[1]]=qd};case"bracket":return(Gd,qd,zd)=>{if(Bd=/(\[\])$/.exec(Gd),Gd=Gd.replace(/\[\]$/,""),!Bd){zd[Gd]=qd;return}if(zd[Gd]===void 0){zd[Gd]=[qd];return}zd[Gd]=[].concat(zd[Gd],qd)};case"colon-list-separator":return(Gd,qd,zd)=>{if(Bd=/(:list)$/.exec(Gd),Gd=Gd.replace(/:list$/,""),!Bd){zd[Gd]=qd;return}if(zd[Gd]===void 0){zd[Gd]=[qd];return}zd[Gd]=[].concat(zd[Gd],qd)};case"comma":case"separator":return(Gd,qd,zd)=>{const Xd=typeof qd=="string"&&qd.includes(Ld.arrayFormatSeparator),gf=typeof qd=="string"&&!Xd&&Ad(qd,Ld).includes(Ld.arrayFormatSeparator);qd=gf?Ad(qd,Ld):qd;const Yd=Xd||gf?qd.split(Ld.arrayFormatSeparator).map(Zd=>Ad(Zd,Ld)):qd===null?qd:Ad(qd,Ld);zd[Gd]=Yd};case"bracket-separator":return(Gd,qd,zd)=>{const Xd=/(\[\])$/.test(Gd);if(Gd=Gd.replace(/\[\]$/,""),!Xd){zd[Gd]=qd&&Ad(qd,Ld);return}const gf=qd===null?[]:qd.split(Ld.arrayFormatSeparator).map(Yd=>Ad(Yd,Ld));if(zd[Gd]===void 0){zd[Gd]=gf;return}zd[Gd]=[].concat(zd[Gd],gf)};default:return(Gd,qd,zd)=>{if(zd[Gd]===void 0){zd[Gd]=qd;return}zd[Gd]=[].concat(zd[Gd],qd)}}}function md(Ld){if(typeof Ld!="string"||Ld.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function vd(Ld,Bd){return Bd.encode?Bd.strict?qa(Ld):encodeURIComponent(Ld):Ld}function Ad(Ld,Bd){return Bd.decode?nd(Ld):Ld}function Nd(Ld){return Array.isArray(Ld)?Ld.sort():typeof Ld=="object"?Nd(Object.keys(Ld)).sort((Bd,Gd)=>Number(Bd)-Number(Gd)).map(Bd=>Ld[Bd]):Ld}function Id(Ld){const Bd=Ld.indexOf("#");return Bd!==-1&&(Ld=Ld.slice(0,Bd)),Ld}function Od(Ld){let Bd="";const Gd=Ld.indexOf("#");return Gd!==-1&&(Bd=Ld.slice(Gd)),Bd}function Md(Ld){Ld=Id(Ld);const Bd=Ld.indexOf("?");return Bd===-1?"":Ld.slice(Bd+1)}function Ud(Ld,Bd){return Bd.parseNumbers&&!Number.isNaN(Number(Ld))&&typeof Ld=="string"&&Ld.trim()!==""?Ld=Number(Ld):Bd.parseBooleans&&Ld!==null&&(Ld.toLowerCase()==="true"||Ld.toLowerCase()==="false")&&(Ld=Ld.toLowerCase()==="true"),Ld}function jd(Ld,Bd){Bd=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Bd),md(Bd.arrayFormatSeparator);const Gd=fd(Bd),qd=Object.create(null);if(typeof Ld!="string"||(Ld=Ld.trim().replace(/^[?#&]/,""),!Ld))return qd;for(const zd of Ld.split("&")){if(zd==="")continue;let[Xd,gf]=od(Bd.decode?zd.replace(/\+/g," "):zd,"=");gf=gf===void 0?null:["comma","separator","bracket-separator"].includes(Bd.arrayFormat)?gf:Ad(gf,Bd),Gd(Ad(Xd,Bd),gf,qd)}for(const zd of Object.keys(qd)){const Xd=qd[zd];if(typeof Xd=="object"&&Xd!==null)for(const gf of Object.keys(Xd))Xd[gf]=Ud(Xd[gf],Bd);else qd[zd]=Ud(Xd,Bd)}return Bd.sort===!1?qd:(Bd.sort===!0?Object.keys(qd).sort():Object.keys(qd).sort(Bd.sort)).reduce((zd,Xd)=>{const gf=qd[Xd];return gf&&typeof gf=="object"&&!Array.isArray(gf)?zd[Xd]=Nd(gf):zd[Xd]=gf,zd},Object.create(null))}Ra.extract=Md,Ra.parse=jd,Ra.stringify=(Ld,Bd)=>{if(!Ld)return"";Bd=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Bd),md(Bd.arrayFormatSeparator);const Gd=gf=>Bd.skipNull&&ud(Ld[gf])||Bd.skipEmptyString&&Ld[gf]==="",qd=pd(Bd),zd={};for(const gf of Object.keys(Ld))Gd(gf)||(zd[gf]=Ld[gf]);const Xd=Object.keys(zd);return Bd.sort!==!1&&Xd.sort(Bd.sort),Xd.map(gf=>{const Yd=Ld[gf];return Yd===void 0?"":Yd===null?vd(gf,Bd):Array.isArray(Yd)?Yd.length===0&&Bd.arrayFormat==="bracket-separator"?vd(gf,Bd)+"[]":Yd.reduce(qd(gf),[]).join("&"):vd(gf,Bd)+"="+vd(Yd,Bd)}).filter(gf=>gf.length>0).join("&")},Ra.parseUrl=(Ld,Bd)=>{Bd=Object.assign({decode:!0},Bd);const[Gd,qd]=od(Ld,"#");return Object.assign({url:Gd.split("?")[0]||"",query:jd(Md(Ld),Bd)},Bd&&Bd.parseFragmentIdentifier&&qd?{fragmentIdentifier:Ad(qd,Bd)}:{})},Ra.stringifyUrl=(Ld,Bd)=>{Bd=Object.assign({encode:!0,strict:!0,[dd]:!0},Bd);const Gd=Id(Ld.url).split("?")[0]||"",qd=Ra.extract(Ld.url),zd=Ra.parse(qd,{sort:!1}),Xd=Object.assign(zd,Ld.query);let gf=Ra.stringify(Xd,Bd);gf&&(gf=`?${gf}`);let Yd=Od(Ld.url);return Ld.fragmentIdentifier&&(Yd=`#${Bd[dd]?vd(Ld.fragmentIdentifier,Bd):Ld.fragmentIdentifier}`),`${Gd}${gf}${Yd}`},Ra.pick=(Ld,Bd,Gd)=>{Gd=Object.assign({parseFragmentIdentifier:!0,[dd]:!1},Gd);const{url:qd,query:zd,fragmentIdentifier:Xd}=Ra.parseUrl(Ld,Gd);return Ra.stringifyUrl({url:qd,query:ld(zd,Bd),fragmentIdentifier:Xd},Gd)},Ra.exclude=(Ld,Bd,Gd)=>{const qd=Array.isArray(Bd)?zd=>!Bd.includes(zd):(zd,Xd)=>!Bd(zd,Xd);return Ra.pick(Ld,qd,Gd)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&",'"':""","'":"'","<":"<",">":">"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,nd){return XML_CHARACTER_MAP[nd]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$4={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var nd=qa.stream?new Stream:null,od="",ld=!1,ud=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",dd=!0;function pd(Nd){dd?define_process_default$4.nextTick(Nd):Nd()}function fd(Nd,Id){if(Id!==void 0&&(od+=Id),Nd&&!ld&&(nd=nd||new Stream,ld=!0),Nd&&ld){var Od=od;pd(function(){nd.emit("data",Od)}),od=""}}function md(Nd,Id){format(fd,resolve(Nd,ud,ud?1:0),Id)}function vd(){if(nd){var Nd=od;pd(function(){nd.emit("data",Nd),nd.emit("end"),nd.readable=!1,nd.emit("close")})}}function Ad(Nd){var Id=Nd.encoding||"UTF-8",Od={version:"1.0",encoding:Id};Nd.standalone&&(Od.standalone=Nd.standalone),md({"?xml":{_attr:Od}}),od=od.replace("/>","?>")}return pd(function(){dd=!1}),qa.declaration&&Ad(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Nd,Id){var Od;Id+1===Ra.length&&(Od=vd),md(Nd,Od)}):md(Ra,vd),nd?(nd.readable=!0,nd):od}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(nd){if(!this.append)throw new Error("not assigned to a parent!");var od=this,ld=this._elem.indent;format(this.append,resolve(nd,ld,this._elem.icount+(ld?1:0)),function(){od.append(!0)})},qa.close=function(nd){nd!==void 0&&this.push(nd),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,nd){nd=nd||0;var od=create_indent(qa,nd),ld,ud=Ra,dd=!1;if(typeof Ra=="object"){var pd=Object.keys(Ra);if(ld=pd[0],ud=Ra[ld],ud&&ud._elem)return ud._elem.name=ld,ud._elem.icount=nd,ud._elem.indent=qa,ud._elem.indents=od,ud._elem.interrupt=ud,ud._elem}var fd=[],md=[],vd;function Ad(Nd){var Id=Object.keys(Nd);Id.forEach(function(Od){fd.push(attribute(Od,Nd[Od]))})}switch(typeof ud){case"object":if(ud===null)break;ud._attr&&Ad(ud._attr),ud._cdata&&md.push(("<![CDATA["+ud._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),ud.forEach&&(vd=!1,md.push(""),ud.forEach(function(Nd){if(typeof Nd=="object"){var Id=Object.keys(Nd)[0];Id=="_attr"?Ad(Nd._attr):md.push(resolve(Nd,qa,nd+1))}else md.pop(),vd=!0,md.push(escapeForXML(Nd))}),vd||md.push(""));break;default:md.push(escapeForXML(ud))}return{name:ld,interrupt:dd,attributes:fd,content:md,icount:nd,indents:od,indent:qa}}function format(Ra,qa,nd){if(typeof qa!="object")return Ra(!1,qa);var od=qa.interrupt?1:qa.content.length;function ld(){for(;qa.content.length;){var dd=qa.content.shift();if(dd!==void 0){if(ud(dd))return;format(Ra,dd)}}Ra(!1,(od>1?qa.indents:"")+(qa.name?"</"+qa.name+">":"")+(qa.indent&&!nd?`
|
||
`:"")),nd&&nd()}function ud(dd){return dd.interrupt?(dd.interrupt.append=Ra,dd.interrupt.end=ld,dd.interrupt=!1,Ra(!0),!0):!1}if(Ra(!1,qa.indents+(qa.name?"<"+qa.name:"")+(qa.attributes.length?" "+qa.attributes.join(" "):"")+(od?qa.name?">":"":qa.name?"/>":"")+(qa.indent&&od>1?`
|
||
`:"")),!od)return Ra(!1,qa.indent?`
|
||
`:"");ud(qa)||ld()}function attribute(Ra,qa){return Ra+'="'+escapeForXML(qa)+'"'}xml$2.exports=xml$1;xml$2.exports.element=xml$2.exports.Element=element;var xmlExports=xml$2.exports;const Xml=getDefaultExportFromCjs(xmlExports);var xml2js={},defaults={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
||
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal)),defaults}var builder={},lib$2={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd=[].slice,fd={}.hasOwnProperty;Ra=function(){var md,vd,Ad,Nd,Id,Od;if(Od=arguments[0],Id=2<=arguments.length?pd.call(arguments,1):[],ld(Object.assign))Object.assign.apply(null,arguments);else for(md=0,Ad=Id.length;md<Ad;md++)if(Nd=Id[md],Nd!=null)for(vd in Nd)fd.call(Nd,vd)&&(Od[vd]=Nd[vd]);return Od},ld=function(md){return!!md&&Object.prototype.toString.call(md)==="[object Function]"},ud=function(md){var vd;return!!md&&((vd=typeof md)=="function"||vd==="object")},nd=function(md){return ld(Array.isArray)?Array.isArray(md):Object.prototype.toString.call(md)==="[object Array]"},od=function(md){var vd;if(nd(md))return!md.length;for(vd in md)if(fd.call(md,vd))return!1;return!0},dd=function(md){var vd,Ad;return ud(md)&&(Ad=Object.getPrototypeOf(md))&&(vd=Ad.constructor)&&typeof vd=="function"&&vd instanceof vd&&Function.prototype.toString.call(vd)===Function.prototype.toString.call(Object)},qa=function(md){return ld(md.valueOf)?md.valueOf():md},Utility.assign=Ra,Utility.isFunction=ld,Utility.isObject=ud,Utility.isArray=nd,Utility.isEmpty=od,Utility.isPlainObject=dd,Utility.getValue=qa}).call(commonjsGlobal)),Utility}var XMLDOMImplementation={exports:{}},hasRequiredXMLDOMImplementation;function requireXMLDOMImplementation(){return hasRequiredXMLDOMImplementation||(hasRequiredXMLDOMImplementation=1,(function(){XMLDOMImplementation.exports=function(){function Ra(){}return Ra.prototype.hasFeature=function(qa,nd){return!0},Ra.prototype.createDocumentType=function(qa,nd,od){throw new Error("This DOM method is not implemented.")},Ra.prototype.createDocument=function(qa,nd,od){throw new Error("This DOM method is not implemented.")},Ra.prototype.createHTMLDocument=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.getFeature=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLDOMImplementation.exports}var XMLDocument={exports:{}},XMLDOMConfiguration={exports:{}},XMLDOMErrorHandler={exports:{}},hasRequiredXMLDOMErrorHandler;function requireXMLDOMErrorHandler(){return hasRequiredXMLDOMErrorHandler||(hasRequiredXMLDOMErrorHandler=1,(function(){XMLDOMErrorHandler.exports=function(){function Ra(){}return Ra.prototype.handleError=function(qa){throw new Error(qa)},Ra}()}).call(commonjsGlobal)),XMLDOMErrorHandler.exports}var XMLDOMStringList={exports:{}},hasRequiredXMLDOMStringList;function requireXMLDOMStringList(){return hasRequiredXMLDOMStringList||(hasRequiredXMLDOMStringList=1,(function(){XMLDOMStringList.exports=function(){function Ra(qa){this.arr=qa||[]}return Object.defineProperty(Ra.prototype,"length",{get:function(){return this.arr.length}}),Ra.prototype.item=function(qa){return this.arr[qa]||null},Ra.prototype.contains=function(qa){return this.arr.indexOf(qa)!==-1},Ra}()}).call(commonjsGlobal)),XMLDOMStringList.exports}var hasRequiredXMLDOMConfiguration;function requireXMLDOMConfiguration(){return hasRequiredXMLDOMConfiguration||(hasRequiredXMLDOMConfiguration=1,(function(){var Ra,qa;Ra=requireXMLDOMErrorHandler(),qa=requireXMLDOMStringList(),XMLDOMConfiguration.exports=function(){function nd(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new Ra,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(nd.prototype,"parameterNames",{get:function(){return new qa(Object.keys(this.defaultParams))}}),nd.prototype.getParameter=function(od){return this.params.hasOwnProperty(od)?this.params[od]:null},nd.prototype.canSetParameter=function(od,ld){return!0},nd.prototype.setParameter=function(od,ld){return ld!=null?this.params[od]=ld:delete this.params[od]},nd}()}).call(commonjsGlobal)),XMLDOMConfiguration.exports}var XMLNode={exports:{}},XMLElement={exports:{}},NodeType={exports:{}},hasRequiredNodeType;function requireNodeType(){return hasRequiredNodeType||(hasRequiredNodeType=1,(function(){NodeType.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(commonjsGlobal)),NodeType.exports}var XMLAttribute={exports:{}},hasRequiredXMLAttribute;function requireXMLAttribute(){return hasRequiredXMLAttribute||(hasRequiredXMLAttribute=1,(function(){var Ra;Ra=requireNodeType(),requireXMLNode(),XMLAttribute.exports=function(){function qa(nd,od,ld){if(this.parent=nd,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),od==null)throw new Error("Missing attribute name. "+this.debugInfo(od));this.name=this.stringify.name(od),this.value=this.stringify.attValue(ld),this.type=Ra.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(qa.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(qa.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(qa.prototype,"textContent",{get:function(){return this.value},set:function(nd){return this.value=nd||""}}),Object.defineProperty(qa.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(qa.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(qa.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(qa.prototype,"specified",{get:function(){return!0}}),qa.prototype.clone=function(){return Object.create(this)},qa.prototype.toString=function(nd){return this.options.writer.attribute(this,this.options.writer.filterOptions(nd))},qa.prototype.debugInfo=function(nd){return nd=nd||this.name,nd==null?"parent: <"+this.parent.name+">":"attribute: {"+nd+"}, parent: <"+this.parent.name+">"},qa.prototype.isEqualNode=function(nd){return!(nd.namespaceURI!==this.namespaceURI||nd.prefix!==this.prefix||nd.localName!==this.localName||nd.value!==this.value)},qa}()}).call(commonjsGlobal)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.getNamedItem=function(qa){return this.nodes[qa]},Ra.prototype.setNamedItem=function(qa){var nd;return nd=this.nodes[qa.nodeName],this.nodes[qa.nodeName]=qa,nd||null},Ra.prototype.removeNamedItem=function(qa){var nd;return nd=this.nodes[qa],delete this.nodes[qa],nd||null},Ra.prototype.item=function(qa){return this.nodes[Object.keys(this.nodes)[qa]]||null},Ra.prototype.getNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra.prototype.setNamedItemNS=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.removeNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd=function(vd,Ad){for(var Nd in Ad)md.call(Ad,Nd)&&(vd[Nd]=Ad[Nd]);function Id(){this.constructor=vd}return Id.prototype=Ad.prototype,vd.prototype=new Id,vd.__super__=Ad.prototype,vd},md={}.hasOwnProperty;pd=requireUtility(),dd=pd.isObject,ud=pd.isFunction,ld=pd.getValue,od=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLAttribute(),nd=requireXMLNamedNodeMap(),XMLElement.exports=function(vd){fd(Ad,vd);function Ad(Nd,Id,Od){var Md,Ud,jd,Ld;if(Ad.__super__.constructor.call(this,Nd),Id==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(Id),this.type=Ra.Element,this.attribs={},this.schemaTypeInfo=null,Od!=null&&this.attribute(Od),Nd.type===Ra.Document&&(this.isRoot=!0,this.documentObject=Nd,Nd.rootObject=this,Nd.children)){for(Ld=Nd.children,Ud=0,jd=Ld.length;Ud<jd;Ud++)if(Md=Ld[Ud],Md.type===Ra.DocType){Md.name=this.name;break}}}return Object.defineProperty(Ad.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(Ad.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(Ad.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(Ad.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(Ad.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Ad.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Ad.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(Ad.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new nd(this.attribs)),this.attributeMap}}),Ad.prototype.clone=function(){var Nd,Id,Od,Md;Od=Object.create(this),Od.isRoot&&(Od.documentObject=null),Od.attribs={},Md=this.attribs;for(Id in Md)md.call(Md,Id)&&(Nd=Md[Id],Od.attribs[Id]=Nd.clone());return Od.children=[],this.children.forEach(function(Ud){var jd;return jd=Ud.clone(),jd.parent=Od,Od.children.push(jd)}),Od},Ad.prototype.attribute=function(Nd,Id){var Od,Md;if(Nd!=null&&(Nd=ld(Nd)),dd(Nd))for(Od in Nd)md.call(Nd,Od)&&(Md=Nd[Od],this.attribute(Od,Md));else ud(Id)&&(Id=Id.apply()),this.options.keepNullAttributes&&Id==null?this.attribs[Nd]=new qa(this,Nd,""):Id!=null&&(this.attribs[Nd]=new qa(this,Nd,Id));return this},Ad.prototype.removeAttribute=function(Nd){var Id,Od,Md;if(Nd==null)throw new Error("Missing attribute name. "+this.debugInfo());if(Nd=ld(Nd),Array.isArray(Nd))for(Od=0,Md=Nd.length;Od<Md;Od++)Id=Nd[Od],delete this.attribs[Id];else delete this.attribs[Nd];return this},Ad.prototype.toString=function(Nd){return this.options.writer.element(this,this.options.writer.filterOptions(Nd))},Ad.prototype.att=function(Nd,Id){return this.attribute(Nd,Id)},Ad.prototype.a=function(Nd,Id){return this.attribute(Nd,Id)},Ad.prototype.getAttribute=function(Nd){return this.attribs.hasOwnProperty(Nd)?this.attribs[Nd].value:null},Ad.prototype.setAttribute=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getAttributeNode=function(Nd){return this.attribs.hasOwnProperty(Nd)?this.attribs[Nd]:null},Ad.prototype.setAttributeNode=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.removeAttributeNode=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagName=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getAttributeNS=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setAttributeNS=function(Nd,Id,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.removeAttributeNS=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getAttributeNodeNS=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setAttributeNodeNS=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagNameNS=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.hasAttribute=function(Nd){return this.attribs.hasOwnProperty(Nd)},Ad.prototype.hasAttributeNS=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setIdAttribute=function(Nd,Id){return this.attribs.hasOwnProperty(Nd)?this.attribs[Nd].isId:Id},Ad.prototype.setIdAttributeNS=function(Nd,Id,Od){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.setIdAttributeNode=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagName=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByTagNameNS=function(Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.getElementsByClassName=function(Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ad.prototype.isEqualNode=function(Nd){var Id,Od,Md;if(!Ad.__super__.isEqualNode.apply(this,arguments).isEqualNode(Nd)||Nd.namespaceURI!==this.namespaceURI||Nd.prefix!==this.prefix||Nd.localName!==this.localName||Nd.attribs.length!==this.attribs.length)return!1;for(Id=Od=0,Md=this.attribs.length-1;0<=Md?Od<=Md:Od>=Md;Id=0<=Md?++Od:--Od)if(!this.attribs[Id].isEqualNode(Nd.attribs[Id]))return!1;return!0},Ad}(od)}).call(commonjsGlobal)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function dd(){this.constructor=od}return dd.prototype=ld.prototype,od.prototype=new dd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLNode(),XMLCharacterData.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud),this.value=""}return Object.defineProperty(ld.prototype,"data",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),Object.defineProperty(ld.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ld.prototype,"textContent",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),ld.prototype.clone=function(){return Object.create(this)},ld.prototype.substringData=function(ud,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.appendData=function(ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.insertData=function(ud,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.deleteData=function(ud,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.replaceData=function(ud,dd,pd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.isEqualNode=function(ud){return!(!ld.__super__.isEqualNode.apply(this,arguments).isEqualNode(ud)||ud.data!==this.data)},ld}(Ra)}).call(commonjsGlobal)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLCData.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Ra.CData,this.value=this.stringify.cdata(pd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.cdata(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLComment.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Ra.Comment,this.value=this.stringify.comment(pd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.comment(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var Ra,qa,nd,od=function(ud,dd){for(var pd in dd)ld.call(dd,pd)&&(ud[pd]=dd[pd]);function fd(){this.constructor=ud}return fd.prototype=dd.prototype,ud.prototype=new fd,ud.__super__=dd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDeclaration.exports=function(ud){od(dd,ud);function dd(pd,fd,md,vd){var Ad;dd.__super__.constructor.call(this,pd),nd(fd)&&(Ad=fd,fd=Ad.version,md=Ad.encoding,vd=Ad.standalone),fd||(fd="1.0"),this.type=Ra.Declaration,this.version=this.stringify.xmlVersion(fd),md!=null&&(this.encoding=this.stringify.xmlEncoding(md)),vd!=null&&(this.standalone=this.stringify.xmlStandalone(vd))}return dd.prototype.toString=function(pd){return this.options.writer.declaration(this,this.options.writer.filterOptions(pd))},dd}(qa)}).call(commonjsGlobal)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDAttList.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd,md,vd,Ad){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(fd==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(pd));if(!md)throw new Error("Missing DTD attribute type. "+this.debugInfo(pd));if(!vd)throw new Error("Missing DTD attribute default. "+this.debugInfo(pd));if(vd.indexOf("#")!==0&&(vd="#"+vd),!vd.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(pd));if(Ad&&!vd.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(pd));this.elementName=this.stringify.name(pd),this.type=Ra.AttributeDeclaration,this.attributeName=this.stringify.name(fd),this.attributeType=this.stringify.dtdAttType(md),Ad&&(this.defaultValue=this.stringify.dtdAttDefault(Ad)),this.defaultValueType=vd}return ud.prototype.toString=function(dd){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var Ra,qa,nd,od=function(ud,dd){for(var pd in dd)ld.call(dd,pd)&&(ud[pd]=dd[pd]);function fd(){this.constructor=ud}return fd.prototype=dd.prototype,ud.prototype=new fd,ud.__super__=dd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDEntity.exports=function(ud){od(dd,ud);function dd(pd,fd,md,vd){if(dd.__super__.constructor.call(this,pd),md==null)throw new Error("Missing DTD entity name. "+this.debugInfo(md));if(vd==null)throw new Error("Missing DTD entity value. "+this.debugInfo(md));if(this.pe=!!fd,this.name=this.stringify.name(md),this.type=Ra.EntityDeclaration,!nd(vd))this.value=this.stringify.dtdEntityValue(vd),this.internal=!0;else{if(!vd.pubID&&!vd.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(md));if(vd.pubID&&!vd.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(md));if(this.internal=!1,vd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(vd.pubID)),vd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(vd.sysID)),vd.nData!=null&&(this.nData=this.stringify.dtdNData(vd.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(md))}}return Object.defineProperty(dd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(dd.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(dd.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(dd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(dd.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(dd.prototype,"xmlVersion",{get:function(){return null}}),dd.prototype.toString=function(pd){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(pd))},dd}(qa)}).call(commonjsGlobal)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDElement.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing DTD element name. "+this.debugInfo());fd||(fd="(#PCDATA)"),Array.isArray(fd)&&(fd="("+fd.join(",")+")"),this.name=this.stringify.name(pd),this.type=Ra.ElementDeclaration,this.value=this.stringify.dtdElementValue(fd)}return ud.prototype.toString=function(dd){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDNotation.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing DTD notation name. "+this.debugInfo(pd));if(!fd.pubID&&!fd.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(pd));this.name=this.stringify.name(pd),this.type=Ra.NotationDeclaration,fd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(fd.pubID)),fd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(fd.sysID))}return Object.defineProperty(ud.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ud.prototype,"systemId",{get:function(){return this.sysID}}),ud.prototype.toString=function(dd){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd=function(vd,Ad){for(var Nd in Ad)md.call(Ad,Nd)&&(vd[Nd]=Ad[Nd]);function Id(){this.constructor=vd}return Id.prototype=Ad.prototype,vd.prototype=new Id,vd.__super__=Ad.prototype,vd},md={}.hasOwnProperty;pd=requireUtility().isObject,dd=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLDTDAttList(),od=requireXMLDTDEntity(),nd=requireXMLDTDElement(),ld=requireXMLDTDNotation(),ud=requireXMLNamedNodeMap(),XMLDocType.exports=function(vd){fd(Ad,vd);function Ad(Nd,Id,Od){var Md,Ud,jd,Ld,Bd,Gd;if(Ad.__super__.constructor.call(this,Nd),this.type=Ra.DocType,Nd.children){for(Ld=Nd.children,Ud=0,jd=Ld.length;Ud<jd;Ud++)if(Md=Ld[Ud],Md.type===Ra.Element){this.name=Md.name;break}}this.documentObject=Nd,pd(Id)&&(Bd=Id,Id=Bd.pubID,Od=Bd.sysID),Od==null&&(Gd=[Id,Od],Od=Gd[0],Id=Gd[1]),Id!=null&&(this.pubID=this.stringify.dtdPubID(Id)),Od!=null&&(this.sysID=this.stringify.dtdSysID(Od))}return Object.defineProperty(Ad.prototype,"entities",{get:function(){var Nd,Id,Od,Md,Ud;for(Md={},Ud=this.children,Id=0,Od=Ud.length;Id<Od;Id++)Nd=Ud[Id],Nd.type===Ra.EntityDeclaration&&!Nd.pe&&(Md[Nd.name]=Nd);return new ud(Md)}}),Object.defineProperty(Ad.prototype,"notations",{get:function(){var Nd,Id,Od,Md,Ud;for(Md={},Ud=this.children,Id=0,Od=Ud.length;Id<Od;Id++)Nd=Ud[Id],Nd.type===Ra.NotationDeclaration&&(Md[Nd.name]=Nd);return new ud(Md)}}),Object.defineProperty(Ad.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(Ad.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(Ad.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Ad.prototype.element=function(Nd,Id){var Od;return Od=new nd(this,Nd,Id),this.children.push(Od),this},Ad.prototype.attList=function(Nd,Id,Od,Md,Ud){var jd;return jd=new qa(this,Nd,Id,Od,Md,Ud),this.children.push(jd),this},Ad.prototype.entity=function(Nd,Id){var Od;return Od=new od(this,!1,Nd,Id),this.children.push(Od),this},Ad.prototype.pEntity=function(Nd,Id){var Od;return Od=new od(this,!0,Nd,Id),this.children.push(Od),this},Ad.prototype.notation=function(Nd,Id){var Od;return Od=new ld(this,Nd,Id),this.children.push(Od),this},Ad.prototype.toString=function(Nd){return this.options.writer.docType(this,this.options.writer.filterOptions(Nd))},Ad.prototype.ele=function(Nd,Id){return this.element(Nd,Id)},Ad.prototype.att=function(Nd,Id,Od,Md,Ud){return this.attList(Nd,Id,Od,Md,Ud)},Ad.prototype.ent=function(Nd,Id){return this.entity(Nd,Id)},Ad.prototype.pent=function(Nd,Id){return this.pEntity(Nd,Id)},Ad.prototype.not=function(Nd,Id){return this.notation(Nd,Id)},Ad.prototype.up=function(){return this.root()||this.documentObject},Ad.prototype.isEqualNode=function(Nd){return!(!Ad.__super__.isEqualNode.apply(this,arguments).isEqualNode(Nd)||Nd.name!==this.name||Nd.publicId!==this.publicId||Nd.systemId!==this.systemId)},Ad}(dd)}).call(commonjsGlobal)),XMLDocType.exports}var XMLRaw={exports:{}},hasRequiredXMLRaw;function requireXMLRaw(){return hasRequiredXMLRaw||(hasRequiredXMLRaw=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLNode(),XMLRaw.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=Ra.Raw,this.value=this.stringify.raw(pd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.raw(this,this.options.writer.filterOptions(dd))},ud}(qa)}).call(commonjsGlobal)),XMLRaw.exports}var XMLText={exports:{}},hasRequiredXMLText;function requireXMLText(){return hasRequiredXMLText||(hasRequiredXMLText=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLText.exports=function(ld){nd(ud,ld);function ud(dd,pd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=Ra.Text,this.value=this.stringify.text(pd)}return Object.defineProperty(ud.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(ud.prototype,"wholeText",{get:function(){var dd,pd,fd;for(fd="",pd=this.previousSibling;pd;)fd=pd.data+fd,pd=pd.previousSibling;for(fd+=this.data,dd=this.nextSibling;dd;)fd=fd+dd.data,dd=dd.nextSibling;return fd}}),ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.text(this,this.options.writer.filterOptions(dd))},ud.prototype.splitText=function(dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ud.prototype.replaceWholeText=function(dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ud}(qa)}).call(commonjsGlobal)),XMLText.exports}var XMLProcessingInstruction={exports:{}},hasRequiredXMLProcessingInstruction;function requireXMLProcessingInstruction(){return hasRequiredXMLProcessingInstruction||(hasRequiredXMLProcessingInstruction=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLProcessingInstruction.exports=function(ld){nd(ud,ld);function ud(dd,pd,fd){if(ud.__super__.constructor.call(this,dd),pd==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=Ra.ProcessingInstruction,this.target=this.stringify.insTarget(pd),this.name=this.target,fd&&(this.value=this.stringify.insValue(fd))}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(dd))},ud.prototype.isEqualNode=function(dd){return!(!ud.__super__.isEqualNode.apply(this,arguments).isEqualNode(dd)||dd.target!==this.target)},ud}(qa)}).call(commonjsGlobal)),XMLProcessingInstruction.exports}var XMLDummy={exports:{}},hasRequiredXMLDummy;function requireXMLDummy(){return hasRequiredXMLDummy||(hasRequiredXMLDummy=1,(function(){var Ra,qa,nd=function(ld,ud){for(var dd in ud)od.call(ud,dd)&&(ld[dd]=ud[dd]);function pd(){this.constructor=ld}return pd.prototype=ud.prototype,ld.prototype=new pd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDummy.exports=function(ld){nd(ud,ld);function ud(dd){ud.__super__.constructor.call(this,dd),this.type=Ra.Dummy}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(dd){return""},ud}(qa)}).call(commonjsGlobal)),XMLDummy.exports}var XMLNodeList={exports:{}},hasRequiredXMLNodeList;function requireXMLNodeList(){return hasRequiredXMLNodeList||(hasRequiredXMLNodeList=1,(function(){XMLNodeList.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return this.nodes.length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.item=function(qa){return this.nodes[qa]||null},Ra}()}).call(commonjsGlobal)),XMLNodeList.exports}var DocumentPosition={exports:{}},hasRequiredDocumentPosition;function requireDocumentPosition(){return hasRequiredDocumentPosition||(hasRequiredDocumentPosition=1,(function(){DocumentPosition.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(commonjsGlobal)),DocumentPosition.exports}var hasRequiredXMLNode;function requireXMLNode(){return hasRequiredXMLNode||(hasRequiredXMLNode=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Id,Od,Md,Ud,jd={}.hasOwnProperty;Ud=requireUtility(),Md=Ud.isObject,Od=Ud.isFunction,Id=Ud.isEmpty,Nd=Ud.getValue,pd=null,nd=null,od=null,ld=null,ud=null,vd=null,Ad=null,md=null,dd=null,qa=null,fd=null,Ra=null,XMLNode.exports=function(){function Ld(Bd){this.parent=Bd,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,pd||(pd=requireXMLElement(),nd=requireXMLCData(),od=requireXMLComment(),ld=requireXMLDeclaration(),ud=requireXMLDocType(),vd=requireXMLRaw(),Ad=requireXMLText(),md=requireXMLProcessingInstruction(),dd=requireXMLDummy(),qa=requireNodeType(),fd=requireXMLNodeList(),requireXMLNamedNodeMap(),Ra=requireDocumentPosition())}return Object.defineProperty(Ld.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Ld.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Ld.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Ld.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Ld.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new fd(this.children)),this.childNodeList}}),Object.defineProperty(Ld.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Ld.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Ld.prototype,"previousSibling",{get:function(){var Bd;return Bd=this.parent.children.indexOf(this),this.parent.children[Bd-1]||null}}),Object.defineProperty(Ld.prototype,"nextSibling",{get:function(){var Bd;return Bd=this.parent.children.indexOf(this),this.parent.children[Bd+1]||null}}),Object.defineProperty(Ld.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Ld.prototype,"textContent",{get:function(){var Bd,Gd,qd,zd,Xd;if(this.nodeType===qa.Element||this.nodeType===qa.DocumentFragment){for(Xd="",zd=this.children,Gd=0,qd=zd.length;Gd<qd;Gd++)Bd=zd[Gd],Bd.textContent&&(Xd+=Bd.textContent);return Xd}else return null},set:function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Ld.prototype.setParent=function(Bd){var Gd,qd,zd,Xd,gf;for(this.parent=Bd,Bd&&(this.options=Bd.options,this.stringify=Bd.stringify),Xd=this.children,gf=[],qd=0,zd=Xd.length;qd<zd;qd++)Gd=Xd[qd],gf.push(Gd.setParent(this));return gf},Ld.prototype.element=function(Bd,Gd,qd){var zd,Xd,gf,Yd,Zd,df,Ef,_f,xf,vf,Af;if(df=null,Gd===null&&qd==null&&(xf=[{},null],Gd=xf[0],qd=xf[1]),Gd==null&&(Gd={}),Gd=Nd(Gd),Md(Gd)||(vf=[Gd,qd],qd=vf[0],Gd=vf[1]),Bd!=null&&(Bd=Nd(Bd)),Array.isArray(Bd))for(gf=0,Ef=Bd.length;gf<Ef;gf++)Xd=Bd[gf],df=this.element(Xd);else if(Od(Bd))df=this.element(Bd.apply());else if(Md(Bd)){for(Zd in Bd)if(jd.call(Bd,Zd))if(Af=Bd[Zd],Od(Af)&&(Af=Af.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Zd.indexOf(this.stringify.convertAttKey)===0)df=this.attribute(Zd.substr(this.stringify.convertAttKey.length),Af);else if(!this.options.separateArrayItems&&Array.isArray(Af)&&Id(Af))df=this.dummy();else if(Md(Af)&&Id(Af))df=this.element(Zd);else if(!this.options.keepNullNodes&&Af==null)df=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Af))for(Yd=0,_f=Af.length;Yd<_f;Yd++)Xd=Af[Yd],zd={},zd[Zd]=Xd,df=this.element(zd);else Md(Af)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Zd.indexOf(this.stringify.convertTextKey)===0?df=this.element(Af):(df=this.element(Zd),df.element(Af)):df=this.element(Zd,Af)}else!this.options.keepNullNodes&&qd===null?df=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Bd.indexOf(this.stringify.convertTextKey)===0?df=this.text(qd):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Bd.indexOf(this.stringify.convertCDataKey)===0?df=this.cdata(qd):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Bd.indexOf(this.stringify.convertCommentKey)===0?df=this.comment(qd):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Bd.indexOf(this.stringify.convertRawKey)===0?df=this.raw(qd):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Bd.indexOf(this.stringify.convertPIKey)===0?df=this.instruction(Bd.substr(this.stringify.convertPIKey.length),qd):df=this.node(Bd,Gd,qd);if(df==null)throw new Error("Could not create any elements with: "+Bd+". "+this.debugInfo());return df},Ld.prototype.insertBefore=function(Bd,Gd,qd){var zd,Xd,gf,Yd,Zd;if(Bd!=null&&Bd.type)return gf=Bd,Yd=Gd,gf.setParent(this),Yd?(Xd=children.indexOf(Yd),Zd=children.splice(Xd),children.push(gf),Array.prototype.push.apply(children,Zd)):children.push(gf),gf;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Bd));return Xd=this.parent.children.indexOf(this),Zd=this.parent.children.splice(Xd),zd=this.parent.element(Bd,Gd,qd),Array.prototype.push.apply(this.parent.children,Zd),zd},Ld.prototype.insertAfter=function(Bd,Gd,qd){var zd,Xd,gf;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Bd));return Xd=this.parent.children.indexOf(this),gf=this.parent.children.splice(Xd+1),zd=this.parent.element(Bd,Gd,qd),Array.prototype.push.apply(this.parent.children,gf),zd},Ld.prototype.remove=function(){var Bd;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Bd=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Bd,Bd-Bd+1].concat([])),this.parent},Ld.prototype.node=function(Bd,Gd,qd){var zd,Xd;return Bd!=null&&(Bd=Nd(Bd)),Gd||(Gd={}),Gd=Nd(Gd),Md(Gd)||(Xd=[Gd,qd],qd=Xd[0],Gd=Xd[1]),zd=new pd(this,Bd,Gd),qd!=null&&zd.text(qd),this.children.push(zd),zd},Ld.prototype.text=function(Bd){var Gd;return Md(Bd)&&this.element(Bd),Gd=new Ad(this,Bd),this.children.push(Gd),this},Ld.prototype.cdata=function(Bd){var Gd;return Gd=new nd(this,Bd),this.children.push(Gd),this},Ld.prototype.comment=function(Bd){var Gd;return Gd=new od(this,Bd),this.children.push(Gd),this},Ld.prototype.commentBefore=function(Bd){var Gd,qd;return Gd=this.parent.children.indexOf(this),qd=this.parent.children.splice(Gd),this.parent.comment(Bd),Array.prototype.push.apply(this.parent.children,qd),this},Ld.prototype.commentAfter=function(Bd){var Gd,qd;return Gd=this.parent.children.indexOf(this),qd=this.parent.children.splice(Gd+1),this.parent.comment(Bd),Array.prototype.push.apply(this.parent.children,qd),this},Ld.prototype.raw=function(Bd){var Gd;return Gd=new vd(this,Bd),this.children.push(Gd),this},Ld.prototype.dummy=function(){var Bd;return Bd=new dd(this),Bd},Ld.prototype.instruction=function(Bd,Gd){var qd,zd,Xd,gf,Yd;if(Bd!=null&&(Bd=Nd(Bd)),Gd!=null&&(Gd=Nd(Gd)),Array.isArray(Bd))for(gf=0,Yd=Bd.length;gf<Yd;gf++)qd=Bd[gf],this.instruction(qd);else if(Md(Bd))for(qd in Bd)jd.call(Bd,qd)&&(zd=Bd[qd],this.instruction(qd,zd));else Od(Gd)&&(Gd=Gd.apply()),Xd=new md(this,Bd,Gd),this.children.push(Xd);return this},Ld.prototype.instructionBefore=function(Bd,Gd){var qd,zd;return qd=this.parent.children.indexOf(this),zd=this.parent.children.splice(qd),this.parent.instruction(Bd,Gd),Array.prototype.push.apply(this.parent.children,zd),this},Ld.prototype.instructionAfter=function(Bd,Gd){var qd,zd;return qd=this.parent.children.indexOf(this),zd=this.parent.children.splice(qd+1),this.parent.instruction(Bd,Gd),Array.prototype.push.apply(this.parent.children,zd),this},Ld.prototype.declaration=function(Bd,Gd,qd){var zd,Xd;return zd=this.document(),Xd=new ld(zd,Bd,Gd,qd),zd.children.length===0?zd.children.unshift(Xd):zd.children[0].type===qa.Declaration?zd.children[0]=Xd:zd.children.unshift(Xd),zd.root()||zd},Ld.prototype.dtd=function(Bd,Gd){var qd,zd,Xd,gf,Yd,Zd,df,Ef,_f,xf;for(zd=this.document(),Xd=new ud(zd,Bd,Gd),_f=zd.children,gf=Yd=0,df=_f.length;Yd<df;gf=++Yd)if(qd=_f[gf],qd.type===qa.DocType)return zd.children[gf]=Xd,Xd;for(xf=zd.children,gf=Zd=0,Ef=xf.length;Zd<Ef;gf=++Zd)if(qd=xf[gf],qd.isRoot)return zd.children.splice(gf,0,Xd),Xd;return zd.children.push(Xd),Xd},Ld.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Ld.prototype.root=function(){var Bd;for(Bd=this;Bd;){if(Bd.type===qa.Document)return Bd.rootObject;if(Bd.isRoot)return Bd;Bd=Bd.parent}},Ld.prototype.document=function(){var Bd;for(Bd=this;Bd;){if(Bd.type===qa.Document)return Bd;Bd=Bd.parent}},Ld.prototype.end=function(Bd){return this.document().end(Bd)},Ld.prototype.prev=function(){var Bd;if(Bd=this.parent.children.indexOf(this),Bd<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Bd-1]},Ld.prototype.next=function(){var Bd;if(Bd=this.parent.children.indexOf(this),Bd===-1||Bd===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Bd+1]},Ld.prototype.importDocument=function(Bd){var Gd;return Gd=Bd.root().clone(),Gd.parent=this,Gd.isRoot=!1,this.children.push(Gd),this},Ld.prototype.debugInfo=function(Bd){var Gd,qd;return Bd=Bd||this.name,Bd==null&&!((Gd=this.parent)!=null&&Gd.name)?"":Bd==null?"parent: <"+this.parent.name+">":(qd=this.parent)!=null&&qd.name?"node: <"+Bd+">, parent: <"+this.parent.name+">":"node: <"+Bd+">"},Ld.prototype.ele=function(Bd,Gd,qd){return this.element(Bd,Gd,qd)},Ld.prototype.nod=function(Bd,Gd,qd){return this.node(Bd,Gd,qd)},Ld.prototype.txt=function(Bd){return this.text(Bd)},Ld.prototype.dat=function(Bd){return this.cdata(Bd)},Ld.prototype.com=function(Bd){return this.comment(Bd)},Ld.prototype.ins=function(Bd,Gd){return this.instruction(Bd,Gd)},Ld.prototype.doc=function(){return this.document()},Ld.prototype.dec=function(Bd,Gd,qd){return this.declaration(Bd,Gd,qd)},Ld.prototype.e=function(Bd,Gd,qd){return this.element(Bd,Gd,qd)},Ld.prototype.n=function(Bd,Gd,qd){return this.node(Bd,Gd,qd)},Ld.prototype.t=function(Bd){return this.text(Bd)},Ld.prototype.d=function(Bd){return this.cdata(Bd)},Ld.prototype.c=function(Bd){return this.comment(Bd)},Ld.prototype.r=function(Bd){return this.raw(Bd)},Ld.prototype.i=function(Bd,Gd){return this.instruction(Bd,Gd)},Ld.prototype.u=function(){return this.up()},Ld.prototype.importXMLBuilder=function(Bd){return this.importDocument(Bd)},Ld.prototype.replaceChild=function(Bd,Gd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.removeChild=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.appendChild=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.hasChildNodes=function(){return this.children.length!==0},Ld.prototype.cloneNode=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.isSupported=function(Bd,Gd){return!0},Ld.prototype.hasAttributes=function(){return this.attribs.length!==0},Ld.prototype.compareDocumentPosition=function(Bd){var Gd,qd;return Gd=this,Gd===Bd?0:this.document()!==Bd.document()?(qd=Ra.Disconnected|Ra.ImplementationSpecific,Math.random()<.5?qd|=Ra.Preceding:qd|=Ra.Following,qd):Gd.isAncestor(Bd)?Ra.Contains|Ra.Preceding:Gd.isDescendant(Bd)?Ra.Contains|Ra.Following:Gd.isPreceding(Bd)?Ra.Preceding:Ra.Following},Ld.prototype.isSameNode=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.lookupPrefix=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.isDefaultNamespace=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.lookupNamespaceURI=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.isEqualNode=function(Bd){var Gd,qd,zd;if(Bd.nodeType!==this.nodeType||Bd.children.length!==this.children.length)return!1;for(Gd=qd=0,zd=this.children.length-1;0<=zd?qd<=zd:qd>=zd;Gd=0<=zd?++qd:--qd)if(!this.children[Gd].isEqualNode(Bd.children[Gd]))return!1;return!0},Ld.prototype.getFeature=function(Bd,Gd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.setUserData=function(Bd,Gd,qd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.getUserData=function(Bd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Ld.prototype.contains=function(Bd){return Bd?Bd===this||this.isDescendant(Bd):!1},Ld.prototype.isDescendant=function(Bd){var Gd,qd,zd,Xd,gf;for(gf=this.children,zd=0,Xd=gf.length;zd<Xd;zd++)if(Gd=gf[zd],Bd===Gd||(qd=Gd.isDescendant(Bd),qd))return!0;return!1},Ld.prototype.isAncestor=function(Bd){return Bd.isDescendant(this)},Ld.prototype.isPreceding=function(Bd){var Gd,qd;return Gd=this.treePosition(Bd),qd=this.treePosition(this),Gd===-1||qd===-1?!1:Gd<qd},Ld.prototype.isFollowing=function(Bd){var Gd,qd;return Gd=this.treePosition(Bd),qd=this.treePosition(this),Gd===-1||qd===-1?!1:Gd>qd},Ld.prototype.treePosition=function(Bd){var Gd,qd;return qd=0,Gd=!1,this.foreachTreeNode(this.document(),function(zd){if(qd++,!Gd&&zd===Bd)return Gd=!0}),Gd?qd:-1},Ld.prototype.foreachTreeNode=function(Bd,Gd){var qd,zd,Xd,gf,Yd;for(Bd||(Bd=this.document()),gf=Bd.children,zd=0,Xd=gf.length;zd<Xd;zd++){if(qd=gf[zd],Yd=Gd(qd))return Yd;if(Yd=this.foreachTreeNode(qd,Gd),Yd)return Yd}},Ld}()}).call(commonjsGlobal)),XMLNode.exports}var XMLStringifier={exports:{}},hasRequiredXMLStringifier;function requireXMLStringifier(){return hasRequiredXMLStringifier||(hasRequiredXMLStringifier=1,(function(){var Ra=function(nd,od){return function(){return nd.apply(od,arguments)}},qa={}.hasOwnProperty;XMLStringifier.exports=function(){function nd(od){this.assertLegalName=Ra(this.assertLegalName,this),this.assertLegalChar=Ra(this.assertLegalChar,this);var ld,ud,dd;od||(od={}),this.options=od,this.options.version||(this.options.version="1.0"),ud=od.stringify||{};for(ld in ud)qa.call(ud,ld)&&(dd=ud[ld],this[ld]=dd)}return nd.prototype.name=function(od){return this.options.noValidation?od:this.assertLegalName(""+od||"")},nd.prototype.text=function(od){return this.options.noValidation?od:this.assertLegalChar(this.textEscape(""+od||""))},nd.prototype.cdata=function(od){return this.options.noValidation?od:(od=""+od||"",od=od.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(od))},nd.prototype.comment=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+od);return this.assertLegalChar(od)},nd.prototype.raw=function(od){return this.options.noValidation?od:""+od||""},nd.prototype.attValue=function(od){return this.options.noValidation?od:this.assertLegalChar(this.attEscape(od=""+od||""))},nd.prototype.insTarget=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.insValue=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/\?>/))throw new Error("Invalid processing instruction value: "+od);return this.assertLegalChar(od)},nd.prototype.xmlVersion=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+od);return od},nd.prototype.xmlEncoding=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+od);return this.assertLegalChar(od)},nd.prototype.xmlStandalone=function(od){return this.options.noValidation?od:od?"yes":"no"},nd.prototype.dtdPubID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdSysID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdElementValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttType=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttDefault=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdEntityValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdNData=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.convertAttKey="@",nd.prototype.convertPIKey="?",nd.prototype.convertTextKey="#text",nd.prototype.convertCDataKey="#cdata",nd.prototype.convertCommentKey="#comment",nd.prototype.convertRawKey="#raw",nd.prototype.assertLegalChar=function(od){var ld,ud;if(this.options.noValidation)return od;if(ld="",this.options.version==="1.0"){if(ld=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld))throw new Error("Invalid character in string: "+od+" at index "+ud.index)}else if(this.options.version==="1.1"&&(ld=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld)))throw new Error("Invalid character in string: "+od+" at index "+ud.index);return od},nd.prototype.assertLegalName=function(od){var ld;if(this.options.noValidation)return od;if(this.assertLegalChar(od),ld=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!od.match(ld))throw new Error("Invalid character in name");return od},nd.prototype.textEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},nd.prototype.attEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},nd}()}).call(commonjsGlobal)),XMLStringifier.exports}var XMLStringWriter={exports:{}},XMLWriterBase={exports:{}},WriterState={exports:{}},hasRequiredWriterState;function requireWriterState(){return hasRequiredWriterState||(hasRequiredWriterState=1,(function(){WriterState.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(commonjsGlobal)),WriterState.exports}var hasRequiredXMLWriterBase;function requireXMLWriterBase(){return hasRequiredXMLWriterBase||(hasRequiredXMLWriterBase=1,(function(){var Ra,qa,nd,od={}.hasOwnProperty;nd=requireUtility().assign,Ra=requireNodeType(),requireXMLDeclaration(),requireXMLDocType(),requireXMLCData(),requireXMLComment(),requireXMLElement(),requireXMLRaw(),requireXMLText(),requireXMLProcessingInstruction(),requireXMLDummy(),requireXMLDTDAttList(),requireXMLDTDElement(),requireXMLDTDEntity(),requireXMLDTDNotation(),qa=requireWriterState(),XMLWriterBase.exports=function(){function ld(ud){var dd,pd,fd;ud||(ud={}),this.options=ud,pd=ud.writer||{};for(dd in pd)od.call(pd,dd)&&(fd=pd[dd],this["_"+dd]=this[dd],this[dd]=fd)}return ld.prototype.filterOptions=function(ud){var dd,pd,fd,md,vd,Ad,Nd,Id;return ud||(ud={}),ud=nd({},this.options,ud),dd={writer:this},dd.pretty=ud.pretty||!1,dd.allowEmpty=ud.allowEmpty||!1,dd.indent=(pd=ud.indent)!=null?pd:" ",dd.newline=(fd=ud.newline)!=null?fd:`
|
||
`,dd.offset=(md=ud.offset)!=null?md:0,dd.dontPrettyTextNodes=(vd=(Ad=ud.dontPrettyTextNodes)!=null?Ad:ud.dontprettytextnodes)!=null?vd:0,dd.spaceBeforeSlash=(Nd=(Id=ud.spaceBeforeSlash)!=null?Id:ud.spacebeforeslash)!=null?Nd:"",dd.spaceBeforeSlash===!0&&(dd.spaceBeforeSlash=" "),dd.suppressPrettyCount=0,dd.user={},dd.state=qa.None,dd},ld.prototype.indent=function(ud,dd,pd){var fd;return!dd.pretty||dd.suppressPrettyCount?"":dd.pretty&&(fd=(pd||0)+dd.offset+1,fd>0)?new Array(fd).join(dd.indent):""},ld.prototype.endline=function(ud,dd,pd){return!dd.pretty||dd.suppressPrettyCount?"":dd.newline},ld.prototype.attribute=function(ud,dd,pd){var fd;return this.openAttribute(ud,dd,pd),fd=" "+ud.name+'="'+ud.value+'"',this.closeAttribute(ud,dd,pd),fd},ld.prototype.cdata=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<![CDATA[",dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+="]]>"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.comment=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!-- ",dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+=" -->"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.declaration=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<?xml",dd.state=qa.InsideTag,fd+=' version="'+ud.version+'"',ud.encoding!=null&&(fd+=' encoding="'+ud.encoding+'"'),ud.standalone!=null&&(fd+=' standalone="'+ud.standalone+'"'),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+"?>",fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.docType=function(ud,dd,pd){var fd,md,vd,Ad,Nd;if(pd||(pd=0),this.openNode(ud,dd,pd),dd.state=qa.OpenTag,Ad=this.indent(ud,dd,pd),Ad+="<!DOCTYPE "+ud.root().name,ud.pubID&&ud.sysID?Ad+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.sysID&&(Ad+=' SYSTEM "'+ud.sysID+'"'),ud.children.length>0){for(Ad+=" [",Ad+=this.endline(ud,dd,pd),dd.state=qa.InsideTag,Nd=ud.children,md=0,vd=Nd.length;md<vd;md++)fd=Nd[md],Ad+=this.writeChildNode(fd,dd,pd+1);dd.state=qa.CloseTag,Ad+="]"}return dd.state=qa.CloseTag,Ad+=dd.spaceBeforeSlash+">",Ad+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),Ad},ld.prototype.element=function(ud,dd,pd){var fd,md,vd,Ad,Nd,Id,Od,Md,Ud,jd,Ld,Bd,Gd,qd;pd||(pd=0),jd=!1,Ld="",this.openNode(ud,dd,pd),dd.state=qa.OpenTag,Ld+=this.indent(ud,dd,pd)+"<"+ud.name,Bd=ud.attribs;for(Ud in Bd)od.call(Bd,Ud)&&(fd=Bd[Ud],Ld+=this.attribute(fd,dd,pd));if(vd=ud.children.length,Ad=vd===0?null:ud.children[0],vd===0||ud.children.every(function(zd){return(zd.type===Ra.Text||zd.type===Ra.Raw)&&zd.value===""}))dd.allowEmpty?(Ld+=">",dd.state=qa.CloseTag,Ld+="</"+ud.name+">"+this.endline(ud,dd,pd)):(dd.state=qa.CloseTag,Ld+=dd.spaceBeforeSlash+"/>"+this.endline(ud,dd,pd));else if(dd.pretty&&vd===1&&(Ad.type===Ra.Text||Ad.type===Ra.Raw)&&Ad.value!=null)Ld+=">",dd.state=qa.InsideTag,dd.suppressPrettyCount++,jd=!0,Ld+=this.writeChildNode(Ad,dd,pd+1),dd.suppressPrettyCount--,jd=!1,dd.state=qa.CloseTag,Ld+="</"+ud.name+">"+this.endline(ud,dd,pd);else{if(dd.dontPrettyTextNodes){for(Gd=ud.children,Nd=0,Od=Gd.length;Nd<Od;Nd++)if(md=Gd[Nd],(md.type===Ra.Text||md.type===Ra.Raw)&&md.value!=null){dd.suppressPrettyCount++,jd=!0;break}}for(Ld+=">"+this.endline(ud,dd,pd),dd.state=qa.InsideTag,qd=ud.children,Id=0,Md=qd.length;Id<Md;Id++)md=qd[Id],Ld+=this.writeChildNode(md,dd,pd+1);dd.state=qa.CloseTag,Ld+=this.indent(ud,dd,pd)+"</"+ud.name+">",jd&&dd.suppressPrettyCount--,Ld+=this.endline(ud,dd,pd),dd.state=qa.None}return this.closeNode(ud,dd,pd),Ld},ld.prototype.writeChildNode=function(ud,dd,pd){switch(ud.type){case Ra.CData:return this.cdata(ud,dd,pd);case Ra.Comment:return this.comment(ud,dd,pd);case Ra.Element:return this.element(ud,dd,pd);case Ra.Raw:return this.raw(ud,dd,pd);case Ra.Text:return this.text(ud,dd,pd);case Ra.ProcessingInstruction:return this.processingInstruction(ud,dd,pd);case Ra.Dummy:return"";case Ra.Declaration:return this.declaration(ud,dd,pd);case Ra.DocType:return this.docType(ud,dd,pd);case Ra.AttributeDeclaration:return this.dtdAttList(ud,dd,pd);case Ra.ElementDeclaration:return this.dtdElement(ud,dd,pd);case Ra.EntityDeclaration:return this.dtdEntity(ud,dd,pd);case Ra.NotationDeclaration:return this.dtdNotation(ud,dd,pd);default:throw new Error("Unknown XML node type: "+ud.constructor.name)}},ld.prototype.processingInstruction=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<?",dd.state=qa.InsideTag,fd+=ud.target,ud.value&&(fd+=" "+ud.value),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+"?>",fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.raw=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd),dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.text=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd),dd.state=qa.InsideTag,fd+=ud.value,dd.state=qa.CloseTag,fd+=this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdAttList=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!ATTLIST",dd.state=qa.InsideTag,fd+=" "+ud.elementName+" "+ud.attributeName+" "+ud.attributeType,ud.defaultValueType!=="#DEFAULT"&&(fd+=" "+ud.defaultValueType),ud.defaultValue&&(fd+=' "'+ud.defaultValue+'"'),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdElement=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!ELEMENT",dd.state=qa.InsideTag,fd+=" "+ud.name+" "+ud.value,dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdEntity=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!ENTITY",dd.state=qa.InsideTag,ud.pe&&(fd+=" %"),fd+=" "+ud.name,ud.value?fd+=' "'+ud.value+'"':(ud.pubID&&ud.sysID?fd+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.sysID&&(fd+=' SYSTEM "'+ud.sysID+'"'),ud.nData&&(fd+=" NDATA "+ud.nData)),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.dtdNotation=function(ud,dd,pd){var fd;return this.openNode(ud,dd,pd),dd.state=qa.OpenTag,fd=this.indent(ud,dd,pd)+"<!NOTATION",dd.state=qa.InsideTag,fd+=" "+ud.name,ud.pubID&&ud.sysID?fd+=' PUBLIC "'+ud.pubID+'" "'+ud.sysID+'"':ud.pubID?fd+=' PUBLIC "'+ud.pubID+'"':ud.sysID&&(fd+=' SYSTEM "'+ud.sysID+'"'),dd.state=qa.CloseTag,fd+=dd.spaceBeforeSlash+">"+this.endline(ud,dd,pd),dd.state=qa.None,this.closeNode(ud,dd,pd),fd},ld.prototype.openNode=function(ud,dd,pd){},ld.prototype.closeNode=function(ud,dd,pd){},ld.prototype.openAttribute=function(ud,dd,pd){},ld.prototype.closeAttribute=function(ud,dd,pd){},ld}()}).call(commonjsGlobal)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function dd(){this.constructor=od}return dd.prototype=ld.prototype,od.prototype=new dd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLWriterBase(),XMLStringWriter.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud)}return ld.prototype.document=function(ud,dd){var pd,fd,md,vd,Ad;for(dd=this.filterOptions(dd),vd="",Ad=ud.children,fd=0,md=Ad.length;fd<md;fd++)pd=Ad[fd],vd+=this.writeChildNode(pd,dd,0);return dd.pretty&&vd.slice(-dd.newline.length)===dd.newline&&(vd=vd.slice(0,-dd.newline.length)),vd},ld}(Ra)}).call(commonjsGlobal)),XMLStringWriter.exports}var hasRequiredXMLDocument;function requireXMLDocument(){return hasRequiredXMLDocument||(hasRequiredXMLDocument=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd=function(md,vd){for(var Ad in vd)fd.call(vd,Ad)&&(md[Ad]=vd[Ad]);function Nd(){this.constructor=md}return Nd.prototype=vd.prototype,md.prototype=new Nd,md.__super__=vd.prototype,md},fd={}.hasOwnProperty;dd=requireUtility().isPlainObject,nd=requireXMLDOMImplementation(),qa=requireXMLDOMConfiguration(),od=requireXMLNode(),Ra=requireNodeType(),ud=requireXMLStringifier(),ld=requireXMLStringWriter(),XMLDocument.exports=function(md){pd(vd,md);function vd(Ad){vd.__super__.constructor.call(this,null),this.name="#document",this.type=Ra.Document,this.documentURI=null,this.domConfig=new qa,Ad||(Ad={}),Ad.writer||(Ad.writer=new ld),this.options=Ad,this.stringify=new ud(Ad)}return Object.defineProperty(vd.prototype,"implementation",{value:new nd}),Object.defineProperty(vd.prototype,"doctype",{get:function(){var Ad,Nd,Id,Od;for(Od=this.children,Nd=0,Id=Od.length;Nd<Id;Nd++)if(Ad=Od[Nd],Ad.type===Ra.DocType)return Ad;return null}}),Object.defineProperty(vd.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(vd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(vd.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(vd.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].encoding:null}}),Object.defineProperty(vd.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(vd.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===Ra.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(vd.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(vd.prototype,"origin",{get:function(){return null}}),Object.defineProperty(vd.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(vd.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(vd.prototype,"contentType",{get:function(){return null}}),vd.prototype.end=function(Ad){var Nd;return Nd={},Ad?dd(Ad)&&(Nd=Ad,Ad=this.options.writer):Ad=this.options.writer,Ad.document(this,Ad.filterOptions(Nd))},vd.prototype.toString=function(Ad){return this.options.writer.document(this,this.options.writer.filterOptions(Ad))},vd.prototype.createElement=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createTextNode=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createComment=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createCDATASection=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createProcessingInstruction=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createAttribute=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createEntityReference=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementsByTagName=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.importNode=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createElementNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createAttributeNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementsByTagNameNS=function(Ad,Nd){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementById=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.adoptNode=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.renameNode=function(Ad,Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.getElementsByClassName=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createEvent=function(Ad){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createNodeIterator=function(Ad,Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd.prototype.createTreeWalker=function(Ad,Nd,Id){throw new Error("This DOM method is not implemented."+this.debugInfo())},vd}(od)}).call(commonjsGlobal)),XMLDocument.exports}var XMLDocumentCB={exports:{}},hasRequiredXMLDocumentCB;function requireXMLDocumentCB(){return hasRequiredXMLDocumentCB||(hasRequiredXMLDocumentCB=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Id,Od,Md,Ud,jd,Ld,Bd,Gd,qd,zd,Xd={}.hasOwnProperty;zd=requireUtility(),Gd=zd.isObject,Bd=zd.isFunction,qd=zd.isPlainObject,Ld=zd.getValue,Ra=requireNodeType(),Ad=requireXMLDocument(),Nd=requireXMLElement(),od=requireXMLCData(),ld=requireXMLComment(),Od=requireXMLRaw(),jd=requireXMLText(),Id=requireXMLProcessingInstruction(),md=requireXMLDeclaration(),vd=requireXMLDocType(),ud=requireXMLDTDAttList(),pd=requireXMLDTDEntity(),dd=requireXMLDTDElement(),fd=requireXMLDTDNotation(),nd=requireXMLAttribute(),Ud=requireXMLStringifier(),Md=requireXMLStringWriter(),qa=requireWriterState(),XMLDocumentCB.exports=function(){function gf(Yd,Zd,df){var Ef;this.name="?xml",this.type=Ra.Document,Yd||(Yd={}),Ef={},Yd.writer?qd(Yd.writer)&&(Ef=Yd.writer,Yd.writer=new Md):Yd.writer=new Md,this.options=Yd,this.writer=Yd.writer,this.writerOptions=this.writer.filterOptions(Ef),this.stringify=new Ud(Yd),this.onDataCallback=Zd||function(){},this.onEndCallback=df||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return gf.prototype.createChildNode=function(Yd){var Zd,df,Ef,_f,xf,vf,Af,Df;switch(Yd.type){case Ra.CData:this.cdata(Yd.value);break;case Ra.Comment:this.comment(Yd.value);break;case Ra.Element:Ef={},Af=Yd.attribs;for(df in Af)Xd.call(Af,df)&&(Zd=Af[df],Ef[df]=Zd.value);this.node(Yd.name,Ef);break;case Ra.Dummy:this.dummy();break;case Ra.Raw:this.raw(Yd.value);break;case Ra.Text:this.text(Yd.value);break;case Ra.ProcessingInstruction:this.instruction(Yd.target,Yd.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Yd.constructor.name)}for(Df=Yd.children,xf=0,vf=Df.length;xf<vf;xf++)_f=Df[xf],this.createChildNode(_f),_f.type===Ra.Element&&this.up();return this},gf.prototype.dummy=function(){return this},gf.prototype.node=function(Yd,Zd,df){var Ef;if(Yd==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(Yd));return this.openCurrent(),Yd=Ld(Yd),Zd==null&&(Zd={}),Zd=Ld(Zd),Gd(Zd)||(Ef=[Zd,df],df=Ef[0],Zd=Ef[1]),this.currentNode=new Nd(this,Yd,Zd),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,df!=null&&this.text(df),this},gf.prototype.element=function(Yd,Zd,df){var Ef,_f,xf,vf,Af,Df;if(this.currentNode&&this.currentNode.type===Ra.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Yd)||Gd(Yd)||Bd(Yd))for(vf=this.options.noValidation,this.options.noValidation=!0,Df=new Ad(this.options).element("TEMP_ROOT"),Df.element(Yd),this.options.noValidation=vf,Af=Df.children,_f=0,xf=Af.length;_f<xf;_f++)Ef=Af[_f],this.createChildNode(Ef),Ef.type===Ra.Element&&this.up();else this.node(Yd,Zd,df);return this},gf.prototype.attribute=function(Yd,Zd){var df,Ef;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Yd));if(Yd!=null&&(Yd=Ld(Yd)),Gd(Yd))for(df in Yd)Xd.call(Yd,df)&&(Ef=Yd[df],this.attribute(df,Ef));else Bd(Zd)&&(Zd=Zd.apply()),this.options.keepNullAttributes&&Zd==null?this.currentNode.attribs[Yd]=new nd(this,Yd,""):Zd!=null&&(this.currentNode.attribs[Yd]=new nd(this,Yd,Zd));return this},gf.prototype.text=function(Yd){var Zd;return this.openCurrent(),Zd=new jd(this,Yd),this.onData(this.writer.text(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.cdata=function(Yd){var Zd;return this.openCurrent(),Zd=new od(this,Yd),this.onData(this.writer.cdata(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.comment=function(Yd){var Zd;return this.openCurrent(),Zd=new ld(this,Yd),this.onData(this.writer.comment(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.raw=function(Yd){var Zd;return this.openCurrent(),Zd=new Od(this,Yd),this.onData(this.writer.raw(Zd,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.instruction=function(Yd,Zd){var df,Ef,_f,xf,vf;if(this.openCurrent(),Yd!=null&&(Yd=Ld(Yd)),Zd!=null&&(Zd=Ld(Zd)),Array.isArray(Yd))for(df=0,xf=Yd.length;df<xf;df++)Ef=Yd[df],this.instruction(Ef);else if(Gd(Yd))for(Ef in Yd)Xd.call(Yd,Ef)&&(_f=Yd[Ef],this.instruction(Ef,_f));else Bd(Zd)&&(Zd=Zd.apply()),vf=new Id(this,Yd,Zd),this.onData(this.writer.processingInstruction(vf,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},gf.prototype.declaration=function(Yd,Zd,df){var Ef;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Ef=new md(this,Yd,Zd,df),this.onData(this.writer.declaration(Ef,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.doctype=function(Yd,Zd,df){if(this.openCurrent(),Yd==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new vd(this,Zd,df),this.currentNode.rootNodeName=Yd,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},gf.prototype.dtdElement=function(Yd,Zd){var df;return this.openCurrent(),df=new dd(this,Yd,Zd),this.onData(this.writer.dtdElement(df,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.attList=function(Yd,Zd,df,Ef,_f){var xf;return this.openCurrent(),xf=new ud(this,Yd,Zd,df,Ef,_f),this.onData(this.writer.dtdAttList(xf,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.entity=function(Yd,Zd){var df;return this.openCurrent(),df=new pd(this,!1,Yd,Zd),this.onData(this.writer.dtdEntity(df,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.pEntity=function(Yd,Zd){var df;return this.openCurrent(),df=new pd(this,!0,Yd,Zd),this.onData(this.writer.dtdEntity(df,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.notation=function(Yd,Zd){var df;return this.openCurrent(),df=new fd(this,Yd,Zd),this.onData(this.writer.dtdNotation(df,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},gf.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},gf.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},gf.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},gf.prototype.openNode=function(Yd){var Zd,df,Ef,_f;if(!Yd.isOpen){if(!this.root&&this.currentLevel===0&&Yd.type===Ra.Element&&(this.root=Yd),df="",Yd.type===Ra.Element){this.writerOptions.state=qa.OpenTag,df=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+"<"+Yd.name,_f=Yd.attribs;for(Ef in _f)Xd.call(_f,Ef)&&(Zd=_f[Ef],df+=this.writer.attribute(Zd,this.writerOptions,this.currentLevel));df+=(Yd.children?">":"/>")+this.writer.endline(Yd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.InsideTag}else this.writerOptions.state=qa.OpenTag,df=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Yd.rootNodeName,Yd.pubID&&Yd.sysID?df+=' PUBLIC "'+Yd.pubID+'" "'+Yd.sysID+'"':Yd.sysID&&(df+=' SYSTEM "'+Yd.sysID+'"'),Yd.children?(df+=" [",this.writerOptions.state=qa.InsideTag):(this.writerOptions.state=qa.CloseTag,df+=">"),df+=this.writer.endline(Yd,this.writerOptions,this.currentLevel);return this.onData(df,this.currentLevel),Yd.isOpen=!0}},gf.prototype.closeNode=function(Yd){var Zd;if(!Yd.isClosed)return Zd="",this.writerOptions.state=qa.CloseTag,Yd.type===Ra.Element?Zd=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+"</"+Yd.name+">"+this.writer.endline(Yd,this.writerOptions,this.currentLevel):Zd=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Yd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.None,this.onData(Zd,this.currentLevel),Yd.isClosed=!0},gf.prototype.onData=function(Yd,Zd){return this.documentStarted=!0,this.onDataCallback(Yd,Zd+1)},gf.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},gf.prototype.debugInfo=function(Yd){return Yd==null?"":"node: <"+Yd+">"},gf.prototype.ele=function(){return this.element.apply(this,arguments)},gf.prototype.nod=function(Yd,Zd,df){return this.node(Yd,Zd,df)},gf.prototype.txt=function(Yd){return this.text(Yd)},gf.prototype.dat=function(Yd){return this.cdata(Yd)},gf.prototype.com=function(Yd){return this.comment(Yd)},gf.prototype.ins=function(Yd,Zd){return this.instruction(Yd,Zd)},gf.prototype.dec=function(Yd,Zd,df){return this.declaration(Yd,Zd,df)},gf.prototype.dtd=function(Yd,Zd,df){return this.doctype(Yd,Zd,df)},gf.prototype.e=function(Yd,Zd,df){return this.element(Yd,Zd,df)},gf.prototype.n=function(Yd,Zd,df){return this.node(Yd,Zd,df)},gf.prototype.t=function(Yd){return this.text(Yd)},gf.prototype.d=function(Yd){return this.cdata(Yd)},gf.prototype.c=function(Yd){return this.comment(Yd)},gf.prototype.r=function(Yd){return this.raw(Yd)},gf.prototype.i=function(Yd,Zd){return this.instruction(Yd,Zd)},gf.prototype.att=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},gf.prototype.a=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},gf.prototype.ent=function(Yd,Zd){return this.entity(Yd,Zd)},gf.prototype.pent=function(Yd,Zd){return this.pEntity(Yd,Zd)},gf.prototype.not=function(Yd,Zd){return this.notation(Yd,Zd)},gf}()}).call(commonjsGlobal)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var Ra,qa,nd,od=function(ud,dd){for(var pd in dd)ld.call(dd,pd)&&(ud[pd]=dd[pd]);function fd(){this.constructor=ud}return fd.prototype=dd.prototype,ud.prototype=new fd,ud.__super__=dd.prototype,ud},ld={}.hasOwnProperty;Ra=requireNodeType(),nd=requireXMLWriterBase(),qa=requireWriterState(),XMLStreamWriter.exports=function(ud){od(dd,ud);function dd(pd,fd){this.stream=pd,dd.__super__.constructor.call(this,fd)}return dd.prototype.endline=function(pd,fd,md){return pd.isLastRootNode&&fd.state===qa.CloseTag?"":dd.__super__.endline.call(this,pd,fd,md)},dd.prototype.document=function(pd,fd){var md,vd,Ad,Nd,Id,Od,Md,Ud,jd;for(Md=pd.children,vd=Ad=0,Id=Md.length;Ad<Id;vd=++Ad)md=Md[vd],md.isLastRootNode=vd===pd.children.length-1;for(fd=this.filterOptions(fd),Ud=pd.children,jd=[],Nd=0,Od=Ud.length;Nd<Od;Nd++)md=Ud[Nd],jd.push(this.writeChildNode(md,fd,0));return jd},dd.prototype.attribute=function(pd,fd,md){return this.stream.write(dd.__super__.attribute.call(this,pd,fd,md))},dd.prototype.cdata=function(pd,fd,md){return this.stream.write(dd.__super__.cdata.call(this,pd,fd,md))},dd.prototype.comment=function(pd,fd,md){return this.stream.write(dd.__super__.comment.call(this,pd,fd,md))},dd.prototype.declaration=function(pd,fd,md){return this.stream.write(dd.__super__.declaration.call(this,pd,fd,md))},dd.prototype.docType=function(pd,fd,md){var vd,Ad,Nd,Id;if(md||(md=0),this.openNode(pd,fd,md),fd.state=qa.OpenTag,this.stream.write(this.indent(pd,fd,md)),this.stream.write("<!DOCTYPE "+pd.root().name),pd.pubID&&pd.sysID?this.stream.write(' PUBLIC "'+pd.pubID+'" "'+pd.sysID+'"'):pd.sysID&&this.stream.write(' SYSTEM "'+pd.sysID+'"'),pd.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(pd,fd,md)),fd.state=qa.InsideTag,Id=pd.children,Ad=0,Nd=Id.length;Ad<Nd;Ad++)vd=Id[Ad],this.writeChildNode(vd,fd,md+1);fd.state=qa.CloseTag,this.stream.write("]")}return fd.state=qa.CloseTag,this.stream.write(fd.spaceBeforeSlash+">"),this.stream.write(this.endline(pd,fd,md)),fd.state=qa.None,this.closeNode(pd,fd,md)},dd.prototype.element=function(pd,fd,md){var vd,Ad,Nd,Id,Od,Md,Ud,jd,Ld;md||(md=0),this.openNode(pd,fd,md),fd.state=qa.OpenTag,this.stream.write(this.indent(pd,fd,md)+"<"+pd.name),jd=pd.attribs;for(Ud in jd)ld.call(jd,Ud)&&(vd=jd[Ud],this.attribute(vd,fd,md));if(Nd=pd.children.length,Id=Nd===0?null:pd.children[0],Nd===0||pd.children.every(function(Bd){return(Bd.type===Ra.Text||Bd.type===Ra.Raw)&&Bd.value===""}))fd.allowEmpty?(this.stream.write(">"),fd.state=qa.CloseTag,this.stream.write("</"+pd.name+">")):(fd.state=qa.CloseTag,this.stream.write(fd.spaceBeforeSlash+"/>"));else if(fd.pretty&&Nd===1&&(Id.type===Ra.Text||Id.type===Ra.Raw)&&Id.value!=null)this.stream.write(">"),fd.state=qa.InsideTag,fd.suppressPrettyCount++,this.writeChildNode(Id,fd,md+1),fd.suppressPrettyCount--,fd.state=qa.CloseTag,this.stream.write("</"+pd.name+">");else{for(this.stream.write(">"+this.endline(pd,fd,md)),fd.state=qa.InsideTag,Ld=pd.children,Od=0,Md=Ld.length;Od<Md;Od++)Ad=Ld[Od],this.writeChildNode(Ad,fd,md+1);fd.state=qa.CloseTag,this.stream.write(this.indent(pd,fd,md)+"</"+pd.name+">")}return this.stream.write(this.endline(pd,fd,md)),fd.state=qa.None,this.closeNode(pd,fd,md)},dd.prototype.processingInstruction=function(pd,fd,md){return this.stream.write(dd.__super__.processingInstruction.call(this,pd,fd,md))},dd.prototype.raw=function(pd,fd,md){return this.stream.write(dd.__super__.raw.call(this,pd,fd,md))},dd.prototype.text=function(pd,fd,md){return this.stream.write(dd.__super__.text.call(this,pd,fd,md))},dd.prototype.dtdAttList=function(pd,fd,md){return this.stream.write(dd.__super__.dtdAttList.call(this,pd,fd,md))},dd.prototype.dtdElement=function(pd,fd,md){return this.stream.write(dd.__super__.dtdElement.call(this,pd,fd,md))},dd.prototype.dtdEntity=function(pd,fd,md){return this.stream.write(dd.__super__.dtdEntity.call(this,pd,fd,md))},dd.prototype.dtdNotation=function(pd,fd,md){return this.stream.write(dd.__super__.dtdNotation.call(this,pd,fd,md))},dd}(nd)}).call(commonjsGlobal)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var Ra,qa,nd,od,ld,ud,dd,pd,fd,md;md=requireUtility(),pd=md.assign,fd=md.isFunction,nd=requireXMLDOMImplementation(),od=requireXMLDocument(),ld=requireXMLDocumentCB(),dd=requireXMLStringWriter(),ud=requireXMLStreamWriter(),Ra=requireNodeType(),qa=requireWriterState(),lib$2.create=function(vd,Ad,Nd,Id){var Od,Md;if(vd==null)throw new Error("Root element needs a name.");return Id=pd({},Ad,Nd,Id),Od=new od(Id),Md=Od.element(vd),Id.headless||(Od.declaration(Id),(Id.pubID!=null||Id.sysID!=null)&&Od.dtd(Id)),Md},lib$2.begin=function(vd,Ad,Nd){var Id;return fd(vd)&&(Id=[vd,Ad],Ad=Id[0],Nd=Id[1],vd={}),Ad?new ld(vd,Ad,Nd):new od(vd)},lib$2.stringWriter=function(vd){return new dd(vd)},lib$2.streamWriter=function(vd,Ad){return new ud(vd,Ad)},lib$2.implementation=new nd,lib$2.nodeType=Ra,lib$2.writerState=qa}).call(commonjsGlobal)),lib$2}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var Ra,qa,nd,od,ld,ud={}.hasOwnProperty;Ra=requireLib(),qa=requireDefaults().defaults,od=function(dd){return typeof dd=="string"&&(dd.indexOf("&")>=0||dd.indexOf(">")>=0||dd.indexOf("<")>=0)},ld=function(dd){return"<![CDATA["+nd(dd)+"]]>"},nd=function(dd){return dd.replace("]]>","]]]]><![CDATA[>")},builder.Builder=function(){function dd(pd){var fd,md,vd;this.options={},md=qa["0.2"];for(fd in md)ud.call(md,fd)&&(vd=md[fd],this.options[fd]=vd);for(fd in pd)ud.call(pd,fd)&&(vd=pd[fd],this.options[fd]=vd)}return dd.prototype.buildObject=function(pd){var fd,md,vd,Ad,Nd;return fd=this.options.attrkey,md=this.options.charkey,Object.keys(pd).length===1&&this.options.rootName===qa["0.2"].rootName?(Nd=Object.keys(pd)[0],pd=pd[Nd]):Nd=this.options.rootName,vd=function(Id){return function(Od,Md){var Ud,jd,Ld,Bd,Gd,qd;if(typeof Md!="object")Id.options.cdata&&od(Md)?Od.raw(ld(Md)):Od.txt(Md);else if(Array.isArray(Md)){for(Bd in Md)if(ud.call(Md,Bd)){jd=Md[Bd];for(Gd in jd)Ld=jd[Gd],Od=vd(Od.ele(Gd),Ld).up()}}else for(Gd in Md)if(ud.call(Md,Gd))if(jd=Md[Gd],Gd===fd){if(typeof jd=="object")for(Ud in jd)qd=jd[Ud],Od=Od.att(Ud,qd)}else if(Gd===md)Id.options.cdata&&od(jd)?Od=Od.raw(ld(jd)):Od=Od.txt(jd);else if(Array.isArray(jd))for(Bd in jd)ud.call(jd,Bd)&&(Ld=jd[Bd],typeof Ld=="string"?Id.options.cdata&&od(Ld)?Od=Od.ele(Gd).raw(ld(Ld)).up():Od=Od.ele(Gd,Ld).up():Od=vd(Od.ele(Gd),Ld).up());else typeof jd=="object"?Od=vd(Od.ele(Gd),jd).up():typeof jd=="string"&&Id.options.cdata&&od(jd)?Od=Od.ele(Gd).raw(ld(jd)).up():(jd==null&&(jd=""),Od=Od.ele(Gd,jd.toString()).up());return Od}}(this),Ad=Ra.create(Nd,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),vd(Ad,pd).end(this.options.renderOpts)},dd}()}).call(commonjsGlobal)),builder}var parser={},sax={},hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(Ra){(function(qa){qa.parser=function(Tf,Sf){return new od(Tf,Sf)},qa.SAXParser=od,qa.SAXStream=vd,qa.createStream=md,qa.MAX_BUFFER_LENGTH=64*1024;var nd=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];qa.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function od(Tf,Sf){if(!(this instanceof od))return new od(Tf,Sf);var Yf=this;ud(Yf),Yf.q=Yf.c="",Yf.bufferCheckPosition=qa.MAX_BUFFER_LENGTH,Yf.opt=Sf||{},Yf.opt.lowercase=Yf.opt.lowercase||Yf.opt.lowercasetags,Yf.looseCase=Yf.opt.lowercase?"toLowerCase":"toUpperCase",Yf.tags=[],Yf.closed=Yf.closedRoot=Yf.sawRoot=!1,Yf.tag=Yf.error=null,Yf.strict=!!Tf,Yf.noscript=!!(Tf||Yf.opt.noscript),Yf.state=Yd.BEGIN,Yf.strictEntities=Yf.opt.strictEntities,Yf.ENTITIES=Yf.strictEntities?Object.create(qa.XML_ENTITIES):Object.create(qa.ENTITIES),Yf.attribList=[],Yf.opt.xmlns&&(Yf.ns=Object.create(Md)),Yf.opt.unquotedAttributeValues===void 0&&(Yf.opt.unquotedAttributeValues=!Tf),Yf.trackPosition=Yf.opt.position!==!1,Yf.trackPosition&&(Yf.position=Yf.line=Yf.column=0),df(Yf,"onready")}Object.create||(Object.create=function(Tf){function Sf(){}Sf.prototype=Tf;var Yf=new Sf;return Yf}),Object.keys||(Object.keys=function(Tf){var Sf=[];for(var Yf in Tf)Tf.hasOwnProperty(Yf)&&Sf.push(Yf);return Sf});function ld(Tf){for(var Sf=Math.max(qa.MAX_BUFFER_LENGTH,10),Yf=0,ih=0,Th=nd.length;ih<Th;ih++){var sh=Tf[nd[ih]].length;if(sh>Sf)switch(nd[ih]){case"textNode":_f(Tf);break;case"cdata":Ef(Tf,"oncdata",Tf.cdata),Tf.cdata="";break;case"script":Ef(Tf,"onscript",Tf.script),Tf.script="";break;default:vf(Tf,"Max buffer length exceeded: "+nd[ih])}Yf=Math.max(Yf,sh)}var Nf=qa.MAX_BUFFER_LENGTH-Yf;Tf.bufferCheckPosition=Nf+Tf.position}function ud(Tf){for(var Sf=0,Yf=nd.length;Sf<Yf;Sf++)Tf[nd[Sf]]=""}function dd(Tf){_f(Tf),Tf.cdata!==""&&(Ef(Tf,"oncdata",Tf.cdata),Tf.cdata=""),Tf.script!==""&&(Ef(Tf,"onscript",Tf.script),Tf.script="")}od.prototype={end:function(){Af(this)},write:zf,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){dd(this)}};var pd;try{pd=streamBrowserify.Stream}catch{pd=function(){}}pd||(pd=function(){});var fd=qa.EVENTS.filter(function(Tf){return Tf!=="error"&&Tf!=="end"});function md(Tf,Sf){return new vd(Tf,Sf)}function vd(Tf,Sf){if(!(this instanceof vd))return new vd(Tf,Sf);pd.apply(this),this._parser=new od(Tf,Sf),this.writable=!0,this.readable=!0;var Yf=this;this._parser.onend=function(){Yf.emit("end")},this._parser.onerror=function(ih){Yf.emit("error",ih),Yf._parser.error=null},this._decoder=null,fd.forEach(function(ih){Object.defineProperty(Yf,"on"+ih,{get:function(){return Yf._parser["on"+ih]},set:function(Th){if(!Th)return Yf.removeAllListeners(ih),Yf._parser["on"+ih]=Th,Th;Yf.on(ih,Th)},enumerable:!0,configurable:!1})})}vd.prototype=Object.create(pd.prototype,{constructor:{value:vd}}),vd.prototype.write=function(Tf){if(typeof Buffer$4=="function"&&typeof Buffer$4.isBuffer=="function"&&Buffer$4.isBuffer(Tf)){if(!this._decoder){var Sf=requireString_decoder().StringDecoder;this._decoder=new Sf("utf8")}Tf=this._decoder.write(Tf)}return this._parser.write(Tf.toString()),this.emit("data",Tf),!0},vd.prototype.end=function(Tf){return Tf&&Tf.length&&this.write(Tf),this._parser.end(),!0},vd.prototype.on=function(Tf,Sf){var Yf=this;return!Yf._parser["on"+Tf]&&fd.indexOf(Tf)!==-1&&(Yf._parser["on"+Tf]=function(){var ih=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ih.splice(0,0,Tf),Yf.emit.apply(Yf,ih)}),pd.prototype.on.call(Yf,Tf,Sf)};var Ad="[CDATA[",Nd="DOCTYPE",Id="http://www.w3.org/XML/1998/namespace",Od="http://www.w3.org/2000/xmlns/",Md={xml:Id,xmlns:Od},Ud=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,jd=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,Ld=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Bd=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Gd(Tf){return Tf===" "||Tf===`
|
||
`||Tf==="\r"||Tf===" "}function qd(Tf){return Tf==='"'||Tf==="'"}function zd(Tf){return Tf===">"||Gd(Tf)}function Xd(Tf,Sf){return Tf.test(Sf)}function gf(Tf,Sf){return!Xd(Tf,Sf)}var Yd=0;qa.STATE={BEGIN:Yd++,BEGIN_WHITESPACE:Yd++,TEXT:Yd++,TEXT_ENTITY:Yd++,OPEN_WAKA:Yd++,SGML_DECL:Yd++,SGML_DECL_QUOTED:Yd++,DOCTYPE:Yd++,DOCTYPE_QUOTED:Yd++,DOCTYPE_DTD:Yd++,DOCTYPE_DTD_QUOTED:Yd++,COMMENT_STARTING:Yd++,COMMENT:Yd++,COMMENT_ENDING:Yd++,COMMENT_ENDED:Yd++,CDATA:Yd++,CDATA_ENDING:Yd++,CDATA_ENDING_2:Yd++,PROC_INST:Yd++,PROC_INST_BODY:Yd++,PROC_INST_ENDING:Yd++,OPEN_TAG:Yd++,OPEN_TAG_SLASH:Yd++,ATTRIB:Yd++,ATTRIB_NAME:Yd++,ATTRIB_NAME_SAW_WHITE:Yd++,ATTRIB_VALUE:Yd++,ATTRIB_VALUE_QUOTED:Yd++,ATTRIB_VALUE_CLOSED:Yd++,ATTRIB_VALUE_UNQUOTED:Yd++,ATTRIB_VALUE_ENTITY_Q:Yd++,ATTRIB_VALUE_ENTITY_U:Yd++,CLOSE_TAG:Yd++,CLOSE_TAG_SAW_WHITE:Yd++,SCRIPT:Yd++,SCRIPT_ENDING:Yd++},qa.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},qa.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(qa.ENTITIES).forEach(function(Tf){var Sf=qa.ENTITIES[Tf],Yf=typeof Sf=="number"?String.fromCharCode(Sf):Sf;qa.ENTITIES[Tf]=Yf});for(var Zd in qa.STATE)qa.STATE[qa.STATE[Zd]]=Zd;Yd=qa.STATE;function df(Tf,Sf,Yf){Tf[Sf]&&Tf[Sf](Yf)}function Ef(Tf,Sf,Yf){Tf.textNode&&_f(Tf),df(Tf,Sf,Yf)}function _f(Tf){Tf.textNode=xf(Tf.opt,Tf.textNode),Tf.textNode&&df(Tf,"ontext",Tf.textNode),Tf.textNode=""}function xf(Tf,Sf){return Tf.trim&&(Sf=Sf.trim()),Tf.normalize&&(Sf=Sf.replace(/\s+/g," ")),Sf}function vf(Tf,Sf){return _f(Tf),Tf.trackPosition&&(Sf+=`
|
||
Line: `+Tf.line+`
|
||
Column: `+Tf.column+`
|
||
Char: `+Tf.c),Sf=new Error(Sf),Tf.error=Sf,df(Tf,"onerror",Sf),Tf}function Af(Tf){return Tf.sawRoot&&!Tf.closedRoot&&Df(Tf,"Unclosed root tag"),Tf.state!==Yd.BEGIN&&Tf.state!==Yd.BEGIN_WHITESPACE&&Tf.state!==Yd.TEXT&&vf(Tf,"Unexpected end"),_f(Tf),Tf.c="",Tf.closed=!0,df(Tf,"onend"),od.call(Tf,Tf.strict,Tf.opt),Tf}function Df(Tf,Sf){if(typeof Tf!="object"||!(Tf instanceof od))throw new Error("bad call to strictFail");Tf.strict&&vf(Tf,Sf)}function jf(Tf){Tf.strict||(Tf.tagName=Tf.tagName[Tf.looseCase]());var Sf=Tf.tags[Tf.tags.length-1]||Tf,Yf=Tf.tag={name:Tf.tagName,attributes:{}};Tf.opt.xmlns&&(Yf.ns=Sf.ns),Tf.attribList.length=0,Ef(Tf,"onopentagstart",Yf)}function Jf(Tf,Sf){var Yf=Tf.indexOf(":"),ih=Yf<0?["",Tf]:Tf.split(":"),Th=ih[0],sh=ih[1];return Sf&&Tf==="xmlns"&&(Th="xmlns",sh=""),{prefix:Th,local:sh}}function eh(Tf){if(Tf.strict||(Tf.attribName=Tf.attribName[Tf.looseCase]()),Tf.attribList.indexOf(Tf.attribName)!==-1||Tf.tag.attributes.hasOwnProperty(Tf.attribName)){Tf.attribName=Tf.attribValue="";return}if(Tf.opt.xmlns){var Sf=Jf(Tf.attribName,!0),Yf=Sf.prefix,ih=Sf.local;if(Yf==="xmlns")if(ih==="xml"&&Tf.attribValue!==Id)Df(Tf,"xml: prefix must be bound to "+Id+`
|
||
Actual: `+Tf.attribValue);else if(ih==="xmlns"&&Tf.attribValue!==Od)Df(Tf,"xmlns: prefix must be bound to "+Od+`
|
||
Actual: `+Tf.attribValue);else{var Th=Tf.tag,sh=Tf.tags[Tf.tags.length-1]||Tf;Th.ns===sh.ns&&(Th.ns=Object.create(sh.ns)),Th.ns[ih]=Tf.attribValue}Tf.attribList.push([Tf.attribName,Tf.attribValue])}else Tf.tag.attributes[Tf.attribName]=Tf.attribValue,Ef(Tf,"onattribute",{name:Tf.attribName,value:Tf.attribValue});Tf.attribName=Tf.attribValue=""}function th(Tf,Sf){if(Tf.opt.xmlns){var Yf=Tf.tag,ih=Jf(Tf.tagName);Yf.prefix=ih.prefix,Yf.local=ih.local,Yf.uri=Yf.ns[ih.prefix]||"",Yf.prefix&&!Yf.uri&&(Df(Tf,"Unbound namespace prefix: "+JSON.stringify(Tf.tagName)),Yf.uri=ih.prefix);var Th=Tf.tags[Tf.tags.length-1]||Tf;Yf.ns&&Th.ns!==Yf.ns&&Object.keys(Yf.ns).forEach(function(mh){Ef(Tf,"onopennamespace",{prefix:mh,uri:Yf.ns[mh]})});for(var sh=0,Nf=Tf.attribList.length;sh<Nf;sh++){var ph=Tf.attribList[sh],Oh=ph[0],Zf=ph[1],Rf=Jf(Oh,!0),Bf=Rf.prefix,Kf=Rf.local,wh=Bf===""?"":Yf.ns[Bf]||"",Ah={name:Oh,value:Zf,prefix:Bf,local:Kf,uri:wh};Bf&&Bf!=="xmlns"&&!wh&&(Df(Tf,"Unbound namespace prefix: "+JSON.stringify(Bf)),Ah.uri=Bf),Tf.tag.attributes[Oh]=Ah,Ef(Tf,"onattribute",Ah)}Tf.attribList.length=0}Tf.tag.isSelfClosing=!!Sf,Tf.sawRoot=!0,Tf.tags.push(Tf.tag),Ef(Tf,"onopentag",Tf.tag),Sf||(!Tf.noscript&&Tf.tagName.toLowerCase()==="script"?Tf.state=Yd.SCRIPT:Tf.state=Yd.TEXT,Tf.tag=null,Tf.tagName=""),Tf.attribName=Tf.attribValue="",Tf.attribList.length=0}function Uf(Tf){if(!Tf.tagName){Df(Tf,"Weird empty close tag."),Tf.textNode+="</>",Tf.state=Yd.TEXT;return}if(Tf.script){if(Tf.tagName!=="script"){Tf.script+="</"+Tf.tagName+">",Tf.tagName="",Tf.state=Yd.SCRIPT;return}Ef(Tf,"onscript",Tf.script),Tf.script=""}var Sf=Tf.tags.length,Yf=Tf.tagName;Tf.strict||(Yf=Yf[Tf.looseCase]());for(var ih=Yf;Sf--;){var Th=Tf.tags[Sf];if(Th.name!==ih)Df(Tf,"Unexpected close tag");else break}if(Sf<0){Df(Tf,"Unmatched closing tag: "+Tf.tagName),Tf.textNode+="</"+Tf.tagName+">",Tf.state=Yd.TEXT;return}Tf.tagName=Yf;for(var sh=Tf.tags.length;sh-- >Sf;){var Nf=Tf.tag=Tf.tags.pop();Tf.tagName=Tf.tag.name,Ef(Tf,"onclosetag",Tf.tagName);var ph={};for(var Oh in Nf.ns)ph[Oh]=Nf.ns[Oh];var Zf=Tf.tags[Tf.tags.length-1]||Tf;Tf.opt.xmlns&&Nf.ns!==Zf.ns&&Object.keys(Nf.ns).forEach(function(Rf){var Bf=Nf.ns[Rf];Ef(Tf,"onclosenamespace",{prefix:Rf,uri:Bf})})}Sf===0&&(Tf.closedRoot=!0),Tf.tagName=Tf.attribValue=Tf.attribName="",Tf.attribList.length=0,Tf.state=Yd.TEXT}function Of(Tf){var Sf=Tf.entity,Yf=Sf.toLowerCase(),ih,Th="";return Tf.ENTITIES[Sf]?Tf.ENTITIES[Sf]:Tf.ENTITIES[Yf]?Tf.ENTITIES[Yf]:(Sf=Yf,Sf.charAt(0)==="#"&&(Sf.charAt(1)==="x"?(Sf=Sf.slice(2),ih=parseInt(Sf,16),Th=ih.toString(16)):(Sf=Sf.slice(1),ih=parseInt(Sf,10),Th=ih.toString(10))),Sf=Sf.replace(/^0+/,""),isNaN(ih)||Th.toLowerCase()!==Sf?(Df(Tf,"Invalid character entity"),"&"+Tf.entity+";"):String.fromCodePoint(ih))}function Wf(Tf,Sf){Sf==="<"?(Tf.state=Yd.OPEN_WAKA,Tf.startTagPosition=Tf.position):Gd(Sf)||(Df(Tf,"Non-whitespace before first tag."),Tf.textNode=Sf,Tf.state=Yd.TEXT)}function qf(Tf,Sf){var Yf="";return Sf<Tf.length&&(Yf=Tf.charAt(Sf)),Yf}function zf(Tf){var Sf=this;if(this.error)throw this.error;if(Sf.closed)return vf(Sf,"Cannot write after close. Assign an onready handler.");if(Tf===null)return Af(Sf);typeof Tf=="object"&&(Tf=Tf.toString());for(var Yf=0,ih="";ih=qf(Tf,Yf++),Sf.c=ih,!!ih;)switch(Sf.trackPosition&&(Sf.position++,ih===`
|
||
`?(Sf.line++,Sf.column=0):Sf.column++),Sf.state){case Yd.BEGIN:if(Sf.state=Yd.BEGIN_WHITESPACE,ih==="\uFEFF")continue;Wf(Sf,ih);continue;case Yd.BEGIN_WHITESPACE:Wf(Sf,ih);continue;case Yd.TEXT:if(Sf.sawRoot&&!Sf.closedRoot){for(var Th=Yf-1;ih&&ih!=="<"&&ih!=="&";)ih=qf(Tf,Yf++),ih&&Sf.trackPosition&&(Sf.position++,ih===`
|
||
`?(Sf.line++,Sf.column=0):Sf.column++);Sf.textNode+=Tf.substring(Th,Yf-1)}ih==="<"&&!(Sf.sawRoot&&Sf.closedRoot&&!Sf.strict)?(Sf.state=Yd.OPEN_WAKA,Sf.startTagPosition=Sf.position):(!Gd(ih)&&(!Sf.sawRoot||Sf.closedRoot)&&Df(Sf,"Text data outside of root node."),ih==="&"?Sf.state=Yd.TEXT_ENTITY:Sf.textNode+=ih);continue;case Yd.SCRIPT:ih==="<"?Sf.state=Yd.SCRIPT_ENDING:Sf.script+=ih;continue;case Yd.SCRIPT_ENDING:ih==="/"?Sf.state=Yd.CLOSE_TAG:(Sf.script+="<"+ih,Sf.state=Yd.SCRIPT);continue;case Yd.OPEN_WAKA:if(ih==="!")Sf.state=Yd.SGML_DECL,Sf.sgmlDecl="";else if(!Gd(ih))if(Xd(Ud,ih))Sf.state=Yd.OPEN_TAG,Sf.tagName=ih;else if(ih==="/")Sf.state=Yd.CLOSE_TAG,Sf.tagName="";else if(ih==="?")Sf.state=Yd.PROC_INST,Sf.procInstName=Sf.procInstBody="";else{if(Df(Sf,"Unencoded <"),Sf.startTagPosition+1<Sf.position){var sh=Sf.position-Sf.startTagPosition;ih=new Array(sh).join(" ")+ih}Sf.textNode+="<"+ih,Sf.state=Yd.TEXT}continue;case Yd.SGML_DECL:if(Sf.sgmlDecl+ih==="--"){Sf.state=Yd.COMMENT,Sf.comment="",Sf.sgmlDecl="";continue}Sf.doctype&&Sf.doctype!==!0&&Sf.sgmlDecl?(Sf.state=Yd.DOCTYPE_DTD,Sf.doctype+="<!"+Sf.sgmlDecl+ih,Sf.sgmlDecl=""):(Sf.sgmlDecl+ih).toUpperCase()===Ad?(Ef(Sf,"onopencdata"),Sf.state=Yd.CDATA,Sf.sgmlDecl="",Sf.cdata=""):(Sf.sgmlDecl+ih).toUpperCase()===Nd?(Sf.state=Yd.DOCTYPE,(Sf.doctype||Sf.sawRoot)&&Df(Sf,"Inappropriately located doctype declaration"),Sf.doctype="",Sf.sgmlDecl=""):ih===">"?(Ef(Sf,"onsgmldeclaration",Sf.sgmlDecl),Sf.sgmlDecl="",Sf.state=Yd.TEXT):(qd(ih)&&(Sf.state=Yd.SGML_DECL_QUOTED),Sf.sgmlDecl+=ih);continue;case Yd.SGML_DECL_QUOTED:ih===Sf.q&&(Sf.state=Yd.SGML_DECL,Sf.q=""),Sf.sgmlDecl+=ih;continue;case Yd.DOCTYPE:ih===">"?(Sf.state=Yd.TEXT,Ef(Sf,"ondoctype",Sf.doctype),Sf.doctype=!0):(Sf.doctype+=ih,ih==="["?Sf.state=Yd.DOCTYPE_DTD:qd(ih)&&(Sf.state=Yd.DOCTYPE_QUOTED,Sf.q=ih));continue;case Yd.DOCTYPE_QUOTED:Sf.doctype+=ih,ih===Sf.q&&(Sf.q="",Sf.state=Yd.DOCTYPE);continue;case Yd.DOCTYPE_DTD:ih==="]"?(Sf.doctype+=ih,Sf.state=Yd.DOCTYPE):ih==="<"?(Sf.state=Yd.OPEN_WAKA,Sf.startTagPosition=Sf.position):qd(ih)?(Sf.doctype+=ih,Sf.state=Yd.DOCTYPE_DTD_QUOTED,Sf.q=ih):Sf.doctype+=ih;continue;case Yd.DOCTYPE_DTD_QUOTED:Sf.doctype+=ih,ih===Sf.q&&(Sf.state=Yd.DOCTYPE_DTD,Sf.q="");continue;case Yd.COMMENT:ih==="-"?Sf.state=Yd.COMMENT_ENDING:Sf.comment+=ih;continue;case Yd.COMMENT_ENDING:ih==="-"?(Sf.state=Yd.COMMENT_ENDED,Sf.comment=xf(Sf.opt,Sf.comment),Sf.comment&&Ef(Sf,"oncomment",Sf.comment),Sf.comment=""):(Sf.comment+="-"+ih,Sf.state=Yd.COMMENT);continue;case Yd.COMMENT_ENDED:ih!==">"?(Df(Sf,"Malformed comment"),Sf.comment+="--"+ih,Sf.state=Yd.COMMENT):Sf.doctype&&Sf.doctype!==!0?Sf.state=Yd.DOCTYPE_DTD:Sf.state=Yd.TEXT;continue;case Yd.CDATA:ih==="]"?Sf.state=Yd.CDATA_ENDING:Sf.cdata+=ih;continue;case Yd.CDATA_ENDING:ih==="]"?Sf.state=Yd.CDATA_ENDING_2:(Sf.cdata+="]"+ih,Sf.state=Yd.CDATA);continue;case Yd.CDATA_ENDING_2:ih===">"?(Sf.cdata&&Ef(Sf,"oncdata",Sf.cdata),Ef(Sf,"onclosecdata"),Sf.cdata="",Sf.state=Yd.TEXT):ih==="]"?Sf.cdata+="]":(Sf.cdata+="]]"+ih,Sf.state=Yd.CDATA);continue;case Yd.PROC_INST:ih==="?"?Sf.state=Yd.PROC_INST_ENDING:Gd(ih)?Sf.state=Yd.PROC_INST_BODY:Sf.procInstName+=ih;continue;case Yd.PROC_INST_BODY:if(!Sf.procInstBody&&Gd(ih))continue;ih==="?"?Sf.state=Yd.PROC_INST_ENDING:Sf.procInstBody+=ih;continue;case Yd.PROC_INST_ENDING:ih===">"?(Ef(Sf,"onprocessinginstruction",{name:Sf.procInstName,body:Sf.procInstBody}),Sf.procInstName=Sf.procInstBody="",Sf.state=Yd.TEXT):(Sf.procInstBody+="?"+ih,Sf.state=Yd.PROC_INST_BODY);continue;case Yd.OPEN_TAG:Xd(jd,ih)?Sf.tagName+=ih:(jf(Sf),ih===">"?th(Sf):ih==="/"?Sf.state=Yd.OPEN_TAG_SLASH:(Gd(ih)||Df(Sf,"Invalid character in tag name"),Sf.state=Yd.ATTRIB));continue;case Yd.OPEN_TAG_SLASH:ih===">"?(th(Sf,!0),Uf(Sf)):(Df(Sf,"Forward-slash in opening tag not followed by >"),Sf.state=Yd.ATTRIB);continue;case Yd.ATTRIB:if(Gd(ih))continue;ih===">"?th(Sf):ih==="/"?Sf.state=Yd.OPEN_TAG_SLASH:Xd(Ud,ih)?(Sf.attribName=ih,Sf.attribValue="",Sf.state=Yd.ATTRIB_NAME):Df(Sf,"Invalid attribute name");continue;case Yd.ATTRIB_NAME:ih==="="?Sf.state=Yd.ATTRIB_VALUE:ih===">"?(Df(Sf,"Attribute without value"),Sf.attribValue=Sf.attribName,eh(Sf),th(Sf)):Gd(ih)?Sf.state=Yd.ATTRIB_NAME_SAW_WHITE:Xd(jd,ih)?Sf.attribName+=ih:Df(Sf,"Invalid attribute name");continue;case Yd.ATTRIB_NAME_SAW_WHITE:if(ih==="=")Sf.state=Yd.ATTRIB_VALUE;else{if(Gd(ih))continue;Df(Sf,"Attribute without value"),Sf.tag.attributes[Sf.attribName]="",Sf.attribValue="",Ef(Sf,"onattribute",{name:Sf.attribName,value:""}),Sf.attribName="",ih===">"?th(Sf):Xd(Ud,ih)?(Sf.attribName=ih,Sf.state=Yd.ATTRIB_NAME):(Df(Sf,"Invalid attribute name"),Sf.state=Yd.ATTRIB)}continue;case Yd.ATTRIB_VALUE:if(Gd(ih))continue;qd(ih)?(Sf.q=ih,Sf.state=Yd.ATTRIB_VALUE_QUOTED):(Sf.opt.unquotedAttributeValues||vf(Sf,"Unquoted attribute value"),Sf.state=Yd.ATTRIB_VALUE_UNQUOTED,Sf.attribValue=ih);continue;case Yd.ATTRIB_VALUE_QUOTED:if(ih!==Sf.q){ih==="&"?Sf.state=Yd.ATTRIB_VALUE_ENTITY_Q:Sf.attribValue+=ih;continue}eh(Sf),Sf.q="",Sf.state=Yd.ATTRIB_VALUE_CLOSED;continue;case Yd.ATTRIB_VALUE_CLOSED:Gd(ih)?Sf.state=Yd.ATTRIB:ih===">"?th(Sf):ih==="/"?Sf.state=Yd.OPEN_TAG_SLASH:Xd(Ud,ih)?(Df(Sf,"No whitespace between attributes"),Sf.attribName=ih,Sf.attribValue="",Sf.state=Yd.ATTRIB_NAME):Df(Sf,"Invalid attribute name");continue;case Yd.ATTRIB_VALUE_UNQUOTED:if(!zd(ih)){ih==="&"?Sf.state=Yd.ATTRIB_VALUE_ENTITY_U:Sf.attribValue+=ih;continue}eh(Sf),ih===">"?th(Sf):Sf.state=Yd.ATTRIB;continue;case Yd.CLOSE_TAG:if(Sf.tagName)ih===">"?Uf(Sf):Xd(jd,ih)?Sf.tagName+=ih:Sf.script?(Sf.script+="</"+Sf.tagName,Sf.tagName="",Sf.state=Yd.SCRIPT):(Gd(ih)||Df(Sf,"Invalid tagname in closing tag"),Sf.state=Yd.CLOSE_TAG_SAW_WHITE);else{if(Gd(ih))continue;gf(Ud,ih)?Sf.script?(Sf.script+="</"+ih,Sf.state=Yd.SCRIPT):Df(Sf,"Invalid tagname in closing tag."):Sf.tagName=ih}continue;case Yd.CLOSE_TAG_SAW_WHITE:if(Gd(ih))continue;ih===">"?Uf(Sf):Df(Sf,"Invalid characters in closing tag");continue;case Yd.TEXT_ENTITY:case Yd.ATTRIB_VALUE_ENTITY_Q:case Yd.ATTRIB_VALUE_ENTITY_U:var Nf,ph;switch(Sf.state){case Yd.TEXT_ENTITY:Nf=Yd.TEXT,ph="textNode";break;case Yd.ATTRIB_VALUE_ENTITY_Q:Nf=Yd.ATTRIB_VALUE_QUOTED,ph="attribValue";break;case Yd.ATTRIB_VALUE_ENTITY_U:Nf=Yd.ATTRIB_VALUE_UNQUOTED,ph="attribValue";break}if(ih===";"){var Oh=Of(Sf);Sf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(Oh)?(Sf.entity="",Sf.state=Nf,Sf.write(Oh)):(Sf[ph]+=Oh,Sf.entity="",Sf.state=Nf)}else Xd(Sf.entity.length?Bd:Ld,ih)?Sf.entity+=ih:(Df(Sf,"Invalid character in entity name"),Sf[ph]+="&"+Sf.entity+ih,Sf.entity="",Sf.state=Nf);continue;default:throw new Error(Sf,"Unknown state: "+Sf.state)}return Sf.position>=Sf.bufferCheckPosition&&ld(Sf),Sf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Tf=String.fromCharCode,Sf=Math.floor,Yf=function(){var ih=16384,Th=[],sh,Nf,ph=-1,Oh=arguments.length;if(!Oh)return"";for(var Zf="";++ph<Oh;){var Rf=Number(arguments[ph]);if(!isFinite(Rf)||Rf<0||Rf>1114111||Sf(Rf)!==Rf)throw RangeError("Invalid code point: "+Rf);Rf<=65535?Th.push(Rf):(Rf-=65536,sh=(Rf>>10)+55296,Nf=Rf%1024+56320,Th.push(sh,Nf)),(ph+1===Oh||Th.length>ih)&&(Zf+=Tf.apply(null,Th),Th.length=0)}return Zf};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Yf,configurable:!0,writable:!0}):String.fromCodePoint=Yf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,nd){if(qa.setImmediate)return;var od=1,ld={},ud=!1,dd=qa.document,pd;function fd(Bd){typeof Bd!="function"&&(Bd=new Function(""+Bd));for(var Gd=new Array(arguments.length-1),qd=0;qd<Gd.length;qd++)Gd[qd]=arguments[qd+1];var zd={callback:Bd,args:Gd};return ld[od]=zd,pd(od),od++}function md(Bd){delete ld[Bd]}function vd(Bd){var Gd=Bd.callback,qd=Bd.args;switch(qd.length){case 0:Gd();break;case 1:Gd(qd[0]);break;case 2:Gd(qd[0],qd[1]);break;case 3:Gd(qd[0],qd[1],qd[2]);break;default:Gd.apply(nd,qd);break}}function Ad(Bd){if(ud)setTimeout(Ad,0,Bd);else{var Gd=ld[Bd];if(Gd){ud=!0;try{vd(Gd)}finally{md(Bd),ud=!1}}}}function Nd(){pd=function(Bd){Ra.nextTick(function(){Ad(Bd)})}}function Id(){if(qa.postMessage&&!qa.importScripts){var Bd=!0,Gd=qa.onmessage;return qa.onmessage=function(){Bd=!1},qa.postMessage("","*"),qa.onmessage=Gd,Bd}}function Od(){var Bd="setImmediate$"+Math.random()+"$",Gd=function(qd){qd.source===qa&&typeof qd.data=="string"&&qd.data.indexOf(Bd)===0&&Ad(+qd.data.slice(Bd.length))};qa.addEventListener?qa.addEventListener("message",Gd,!1):qa.attachEvent("onmessage",Gd),pd=function(qd){qa.postMessage(Bd+qd,"*")}}function Md(){var Bd=new MessageChannel;Bd.port1.onmessage=function(Gd){var qd=Gd.data;Ad(qd)},pd=function(Gd){Bd.port2.postMessage(Gd)}}function Ud(){var Bd=dd.documentElement;pd=function(Gd){var qd=dd.createElement("script");qd.onreadystatechange=function(){Ad(Gd),qd.onreadystatechange=null,Bd.removeChild(qd),qd=null},Bd.appendChild(qd)}}function jd(){pd=function(Bd){setTimeout(Ad,0,Bd)}}var Ld=Object.getPrototypeOf&&Object.getPrototypeOf(qa);Ld=Ld&&Ld.setTimeout?Ld:qa,{}.toString.call(qa.process)==="[object process]"?Nd():Id()?Od():qa.MessageChannel?Md():dd&&"onreadystatechange"in dd.createElement("script")?Ud():jd(),Ld.setImmediate=fd,Ld.clearImmediate=md}(typeof self>"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new nd(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new nd(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(od){od&&od.close()};function nd(od,ld){this._id=od,this._clearFn=ld}return nd.prototype.unref=nd.prototype.ref=function(){},nd.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(od,ld){clearTimeout(od._idleTimeoutId),od._idleTimeout=ld},main.unenroll=function(od){clearTimeout(od._idleTimeoutId),od._idleTimeout=-1},main._unrefActive=main.active=function(od){clearTimeout(od._idleTimeoutId);var ld=od._idleTimeout;ld>=0&&(od._idleTimeoutId=setTimeout(function(){od._onTimeout&&od._onTimeout()},ld))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,nd,od,ld,ud,dd,pd,fd,md=function(Nd,Id){return function(){return Nd.apply(Id,arguments)}},vd=function(Nd,Id){for(var Od in Id)Ad.call(Id,Od)&&(Nd[Od]=Id[Od]);function Md(){this.constructor=Nd}return Md.prototype=Id.prototype,Nd.prototype=new Md,Nd.__super__=Id.prototype,Nd},Ad={}.hasOwnProperty;pd=requireSax(),od=eventsExports,qa=requireBom(),dd=requireProcessors(),fd=requireMain().setImmediate,nd=requireDefaults().defaults,ld=function(Nd){return typeof Nd=="object"&&Nd!=null&&Object.keys(Nd).length===0},ud=function(Nd,Id,Od){var Md,Ud,jd;for(Md=0,Ud=Nd.length;Md<Ud;Md++)jd=Nd[Md],Id=jd(Id,Od);return Id},Ra.Parser=function(Nd){vd(Id,Nd);function Id(Od){this.parseStringPromise=md(this.parseStringPromise,this),this.parseString=md(this.parseString,this),this.reset=md(this.reset,this),this.assignOrPush=md(this.assignOrPush,this),this.processAsync=md(this.processAsync,this);var Md,Ud,jd;if(!(this instanceof Ra.Parser))return new Ra.Parser(Od);this.options={},Ud=nd["0.2"];for(Md in Ud)Ad.call(Ud,Md)&&(jd=Ud[Md],this.options[Md]=jd);for(Md in Od)Ad.call(Od,Md)&&(jd=Od[Md],this.options[Md]=jd);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(dd.normalize)),this.reset()}return Id.prototype.processAsync=function(){var Od,Md;try{return this.remaining.length<=this.options.chunkSize?(Od=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(Od),this.saxParser.close()):(Od=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(Od),fd(this.processAsync))}catch(Ud){if(Md=Ud,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(Md)}},Id.prototype.assignOrPush=function(Od,Md,Ud){return Md in Od?(Od[Md]instanceof Array||(Od[Md]=[Od[Md]]),Od[Md].push(Ud)):this.options.explicitArray?Od[Md]=[Ud]:Od[Md]=Ud},Id.prototype.reset=function(){var Od,Md,Ud,jd;return this.removeAllListeners(),this.saxParser=pd.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(Ld){return function(Bd){if(Ld.saxParser.resume(),!Ld.saxParser.errThrown)return Ld.saxParser.errThrown=!0,Ld.emit("error",Bd)}}(this),this.saxParser.onend=function(Ld){return function(){if(!Ld.saxParser.ended)return Ld.saxParser.ended=!0,Ld.emit("end",Ld.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,jd=[],Od=this.options.attrkey,Md=this.options.charkey,this.saxParser.onopentag=function(Ld){return function(Bd){var Gd,qd,zd,Xd,gf;if(zd=Object.create(null),zd[Md]="",!Ld.options.ignoreAttrs){gf=Bd.attributes;for(Gd in gf)Ad.call(gf,Gd)&&(!(Od in zd)&&!Ld.options.mergeAttrs&&(zd[Od]=Object.create(null)),qd=Ld.options.attrValueProcessors?ud(Ld.options.attrValueProcessors,Bd.attributes[Gd],Gd):Bd.attributes[Gd],Xd=Ld.options.attrNameProcessors?ud(Ld.options.attrNameProcessors,Gd):Gd,Ld.options.mergeAttrs?Ld.assignOrPush(zd,Xd,qd):zd[Od][Xd]=qd)}return zd["#name"]=Ld.options.tagNameProcessors?ud(Ld.options.tagNameProcessors,Bd.name):Bd.name,Ld.options.xmlns&&(zd[Ld.options.xmlnskey]={uri:Bd.uri,local:Bd.local}),jd.push(zd)}}(this),this.saxParser.onclosetag=function(Ld){return function(){var Bd,Gd,qd,zd,Xd,gf,Yd,Zd,df,Ef;if(gf=jd.pop(),Xd=gf["#name"],(!Ld.options.explicitChildren||!Ld.options.preserveChildrenOrder)&&delete gf["#name"],gf.cdata===!0&&(Bd=gf.cdata,delete gf.cdata),df=jd[jd.length-1],gf[Md].match(/^\s*$/)&&!Bd?(Gd=gf[Md],delete gf[Md]):(Ld.options.trim&&(gf[Md]=gf[Md].trim()),Ld.options.normalize&&(gf[Md]=gf[Md].replace(/\s{2,}/g," ").trim()),gf[Md]=Ld.options.valueProcessors?ud(Ld.options.valueProcessors,gf[Md],Xd):gf[Md],Object.keys(gf).length===1&&Md in gf&&!Ld.EXPLICIT_CHARKEY&&(gf=gf[Md])),ld(gf)&&(typeof Ld.options.emptyTag=="function"?gf=Ld.options.emptyTag():gf=Ld.options.emptyTag!==""?Ld.options.emptyTag:Gd),Ld.options.validator!=null&&(Ef="/"+function(){var _f,xf,vf;for(vf=[],_f=0,xf=jd.length;_f<xf;_f++)zd=jd[_f],vf.push(zd["#name"]);return vf}().concat(Xd).join("/"),function(){var _f;try{return gf=Ld.options.validator(Ef,df&&df[Xd],gf)}catch(xf){return _f=xf,Ld.emit("error",_f)}}()),Ld.options.explicitChildren&&!Ld.options.mergeAttrs&&typeof gf=="object"){if(!Ld.options.preserveChildrenOrder)zd=Object.create(null),Ld.options.attrkey in gf&&(zd[Ld.options.attrkey]=gf[Ld.options.attrkey],delete gf[Ld.options.attrkey]),!Ld.options.charsAsChildren&&Ld.options.charkey in gf&&(zd[Ld.options.charkey]=gf[Ld.options.charkey],delete gf[Ld.options.charkey]),Object.getOwnPropertyNames(gf).length>0&&(zd[Ld.options.childkey]=gf),gf=zd;else if(df){df[Ld.options.childkey]=df[Ld.options.childkey]||[],Yd=Object.create(null);for(qd in gf)Ad.call(gf,qd)&&(Yd[qd]=gf[qd]);df[Ld.options.childkey].push(Yd),delete gf["#name"],Object.keys(gf).length===1&&Md in gf&&!Ld.EXPLICIT_CHARKEY&&(gf=gf[Md])}}return jd.length>0?Ld.assignOrPush(df,Xd,gf):(Ld.options.explicitRoot&&(Zd=gf,gf=Object.create(null),gf[Xd]=Zd),Ld.resultObject=gf,Ld.saxParser.ended=!0,Ld.emit("end",Ld.resultObject))}}(this),Ud=function(Ld){return function(Bd){var Gd,qd;if(qd=jd[jd.length-1],qd)return qd[Md]+=Bd,Ld.options.explicitChildren&&Ld.options.preserveChildrenOrder&&Ld.options.charsAsChildren&&(Ld.options.includeWhiteChars||Bd.replace(/\\n/g,"").trim()!=="")&&(qd[Ld.options.childkey]=qd[Ld.options.childkey]||[],Gd={"#name":"__text__"},Gd[Md]=Bd,Ld.options.normalize&&(Gd[Md]=Gd[Md].replace(/\s{2,}/g," ").trim()),qd[Ld.options.childkey].push(Gd)),qd}}(this),this.saxParser.ontext=Ud,this.saxParser.oncdata=function(Ld){return function(Bd){var Gd;if(Gd=Ud(Bd),Gd)return Gd.cdata=!0}}()},Id.prototype.parseString=function(Od,Md){var Ud;Md!=null&&typeof Md=="function"&&(this.on("end",function(jd){return this.reset(),Md(null,jd)}),this.on("error",function(jd){return this.reset(),Md(jd)}));try{return Od=Od.toString(),Od.trim()===""?(this.emit("end",null),!0):(Od=qa.stripBOM(Od),this.options.async?(this.remaining=Od,fd(this.processAsync),this.saxParser):this.saxParser.write(Od).close())}catch(jd){if(Ud=jd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw Ud}else return this.emit("error",Ud),this.saxParser.errThrown=!0}},Id.prototype.parseStringPromise=function(Od){return new Promise(function(Md){return function(Ud,jd){return Md.parseString(Od,function(Ld,Bd){return Ld?jd(Ld):Ud(Bd)})}}(this))},Id}(od),Ra.parseString=function(Nd,Id,Od){var Md,Ud,jd;return Od!=null?(typeof Od=="function"&&(Md=Od),typeof Id=="object"&&(Ud=Id)):(typeof Id=="function"&&(Md=Id),Ud={}),jd=new Ra.Parser(Ud),jd.parseString(Nd,Md)},Ra.parseStringPromise=function(Nd,Id){var Od,Md;return typeof Id=="object"&&(Od=Id),Md=new Ra.Parser(Od),Md.parseStringPromise(Nd)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,nd,od,ld=function(dd,pd){for(var fd in pd)ud.call(pd,fd)&&(dd[fd]=pd[fd]);function md(){this.constructor=dd}return md.prototype=pd.prototype,dd.prototype=new md,dd.__super__=pd.prototype,dd},ud={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),nd=requireParser(),od=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=od,xml2js.ValidationError=function(dd){ld(pd,dd);function pd(fd){this.message=fd}return pd}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=nd.Parser,xml2js.parseString=nd.parseString,xml2js.parseStringPromise=nd.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,nd){super(qa,nd),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$2={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(pd,fd){const md=[];let vd=fd.exec(pd);for(;vd;){const Ad=[];Ad.startIndex=fd.lastIndex-vd[0].length;const Nd=vd.length;for(let Id=0;Id<Nd;Id++)Ad.push(vd[Id]);md.push(Ad),vd=fd.exec(pd)}return md},dd=function(pd){const fd=ld.exec(pd);return!(fd===null||typeof fd>"u")};Ra.isExist=function(pd){return typeof pd<"u"},Ra.isEmptyObject=function(pd){return Object.keys(pd).length===0},Ra.merge=function(pd,fd,md){if(fd){const vd=Object.keys(fd),Ad=vd.length;for(let Nd=0;Nd<Ad;Nd++)md==="strict"?pd[vd[Nd]]=[fd[vd[Nd]]]:pd[vd[Nd]]=fd[vd[Nd]]}},Ra.getValue=function(pd){return Ra.isExist(pd)?pd:""},Ra.isName=dd,Ra.getAllMatches=ud,Ra.nameRegexp=od})(util$4);const util$3=util$4,defaultOptions$2={allowBooleanAttributes:!1,unpairedTags:[]};validator$2.validate=function(Ra,qa){qa=Object.assign({},defaultOptions$2,qa);const nd=[];let od=!1,ld=!1;Ra[0]==="\uFEFF"&&(Ra=Ra.substr(1));for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<"&&Ra[ud+1]==="?"){if(ud+=2,ud=readPI(Ra,ud),ud.err)return ud}else if(Ra[ud]==="<"){let dd=ud;if(ud++,Ra[ud]==="!"){ud=readCommentAndCDATA(Ra,ud);continue}else{let pd=!1;Ra[ud]==="/"&&(pd=!0,ud++);let fd="";for(;ud<Ra.length&&Ra[ud]!==">"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==`
|
||
`&&Ra[ud]!=="\r";ud++)fd+=Ra[ud];if(fd=fd.trim(),fd[fd.length-1]==="/"&&(fd=fd.substring(0,fd.length-1),ud--),!validateTagName(fd)){let Ad;return fd.trim().length===0?Ad="Invalid space after '<'.":Ad="Tag '"+fd+"' is an invalid name.",getErrorObject("InvalidTag",Ad,getLineNumberForPosition(Ra,ud))}const md=readAttributeStr(Ra,ud);if(md===!1)return getErrorObject("InvalidAttr","Attributes for '"+fd+"' have open quote.",getLineNumberForPosition(Ra,ud));let vd=md.value;if(ud=md.index,vd[vd.length-1]==="/"){const Ad=ud-vd.length;vd=vd.substring(0,vd.length-1);const Nd=validateAttributeString(vd,qa);if(Nd===!0)od=!0;else return getErrorObject(Nd.err.code,Nd.err.msg,getLineNumberForPosition(Ra,Ad+Nd.err.line))}else if(pd)if(md.tagClosed){if(vd.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+fd+"' can't have attributes or invalid starting.",getLineNumberForPosition(Ra,dd));if(nd.length===0)return getErrorObject("InvalidTag","Closing tag '"+fd+"' has not been opened.",getLineNumberForPosition(Ra,dd));{const Ad=nd.pop();if(fd!==Ad.tagName){let Nd=getLineNumberForPosition(Ra,Ad.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+Ad.tagName+"' (opened in line "+Nd.line+", col "+Nd.col+") instead of closing tag '"+fd+"'.",getLineNumberForPosition(Ra,dd))}nd.length==0&&(ld=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+fd+"' doesn't have proper closing.",getLineNumberForPosition(Ra,ud));else{const Ad=validateAttributeString(vd,qa);if(Ad!==!0)return getErrorObject(Ad.err.code,Ad.err.msg,getLineNumberForPosition(Ra,ud-vd.length+Ad.err.line));if(ld===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(Ra,ud));qa.unpairedTags.indexOf(fd)!==-1||nd.push({tagName:fd,tagStartPos:dd}),od=!0}for(ud++;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="!"){ud++,ud=readCommentAndCDATA(Ra,ud);continue}else if(Ra[ud+1]==="?"){if(ud=readPI(Ra,++ud),ud.err)return ud}else break;else if(Ra[ud]==="&"){const Ad=validateAmpersand(Ra,ud);if(Ad==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(Ra,ud));ud=Ad}else if(ld===!0&&!isWhiteSpace(Ra[ud]))return getErrorObject("InvalidXml","Extra text at the end",getLineNumberForPosition(Ra,ud));Ra[ud]==="<"&&ud--}}else{if(isWhiteSpace(Ra[ud]))continue;return getErrorObject("InvalidChar","char '"+Ra[ud]+"' is not expected.",getLineNumberForPosition(Ra,ud))}if(od){if(nd.length==1)return getErrorObject("InvalidTag","Unclosed tag '"+nd[0].tagName+"'.",getLineNumberForPosition(Ra,nd[0].tagStartPos));if(nd.length>0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(nd.map(ud=>ud.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(Ra){return Ra===" "||Ra===" "||Ra===`
|
||
`||Ra==="\r"}function readPI(Ra,qa){const nd=qa;for(;qa<Ra.length;qa++)if(Ra[qa]=="?"||Ra[qa]==" "){const od=Ra.substr(nd,qa-nd);if(qa>5&&od==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa<Ra.length;qa++)if(Ra[qa]==="-"&&Ra[qa+1]==="-"&&Ra[qa+2]===">"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let nd=1;for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="<")nd++;else if(Ra[qa]===">"&&(nd--,nd===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa<Ra.length;qa++)if(Ra[qa]==="]"&&Ra[qa+1]==="]"&&Ra[qa+2]===">"){qa+=2;break}}return qa}const doubleQuote='"',singleQuote="'";function readAttributeStr(Ra,qa){let nd="",od="",ld=!1;for(;qa<Ra.length;qa++){if(Ra[qa]===doubleQuote||Ra[qa]===singleQuote)od===""?od=Ra[qa]:od!==Ra[qa]||(od="");else if(Ra[qa]===">"&&od===""){ld=!0;break}nd+=Ra[qa]}return od!==""?!1:{value:nd,index:qa,tagClosed:ld}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(Ra,qa){const nd=util$3.getAllMatches(Ra,validAttrStrRegxp),od={};for(let ld=0;ld<nd.length;ld++){if(nd[ld][1].length===0)return getErrorObject("InvalidAttr","Attribute '"+nd[ld][2]+"' has no space in starting.",getPositionFromMatch(nd[ld]));if(nd[ld][3]!==void 0&&nd[ld][4]===void 0)return getErrorObject("InvalidAttr","Attribute '"+nd[ld][2]+"' is without value.",getPositionFromMatch(nd[ld]));if(nd[ld][3]===void 0&&!qa.allowBooleanAttributes)return getErrorObject("InvalidAttr","boolean attribute '"+nd[ld][2]+"' is not allowed.",getPositionFromMatch(nd[ld]));const ud=nd[ld][2];if(!validateAttrName(ud))return getErrorObject("InvalidAttr","Attribute '"+ud+"' is an invalid name.",getPositionFromMatch(nd[ld]));if(!od.hasOwnProperty(ud))od[ud]=1;else return getErrorObject("InvalidAttr","Attribute '"+ud+"' is repeated.",getPositionFromMatch(nd[ld]))}return!0}function validateNumberAmpersand(Ra,qa){let nd=/\d/;for(Ra[qa]==="x"&&(qa++,nd=/[\da-fA-F]/);qa<Ra.length;qa++){if(Ra[qa]===";")return qa;if(!Ra[qa].match(nd))break}return-1}function validateAmpersand(Ra,qa){if(qa++,Ra[qa]===";")return-1;if(Ra[qa]==="#")return qa++,validateNumberAmpersand(Ra,qa);let nd=0;for(;qa<Ra.length;qa++,nd++)if(!(Ra[qa].match(/\w/)&&nd<20)){if(Ra[qa]===";")break;return-1}return qa}function getErrorObject(Ra,qa,nd){return{err:{code:Ra,msg:qa,line:nd.line||nd,col:nd.col}}}function validateAttrName(Ra){return util$3.isName(Ra)}function validateTagName(Ra){return util$3.isName(Ra)}function getLineNumberForPosition(Ra,qa){const nd=Ra.substring(0,qa).split(/\r?\n/);return{line:nd.length,col:nd[nd.length-1].length+1}}function getPositionFromMatch(Ra){return Ra.startIndex+Ra[1].length}var OptionsBuilder={};const defaultOptions$1={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,nd){return Ra}},buildOptions$1=function(Ra){return Object.assign({},defaultOptions$1,Ra)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,nd){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:nd})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(Ra,qa){const nd={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let od=1,ld=!1,ud=!1,dd="";for(;qa<Ra.length;qa++)if(Ra[qa]==="<"&&!ud){if(ld&&isEntity(Ra,qa))qa+=7,[entityName,val,qa]=readEntityExp(Ra,qa+1),val.indexOf("&")===-1&&(nd[validateEntityName(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(ld&&isElement(Ra,qa))qa+=8;else if(ld&&isAttlist(Ra,qa))qa+=8;else if(ld&&isNotation(Ra,qa))qa+=9;else if(isComment)ud=!0;else throw new Error("Invalid DOCTYPE");od++,dd=""}else if(Ra[qa]===">"){if(ud?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ud=!1,od--):od--,od===0)break}else Ra[qa]==="["?ld=!0:dd+=Ra[qa];if(od!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:nd,i:qa}}function readEntityExp(Ra,qa){let nd="";for(;qa<Ra.length&&Ra[qa]!=="'"&&Ra[qa]!=='"';qa++)nd+=Ra[qa];if(nd=nd.trim(),nd.indexOf(" ")!==-1)throw new Error("External entites are not supported");const od=Ra[qa++];let ld="";for(;qa<Ra.length&&Ra[qa]!==od;qa++)ld+=Ra[qa];return[nd,ld,qa]}function isComment(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="-"&&Ra[qa+3]==="-"}function isEntity(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="N"&&Ra[qa+4]==="T"&&Ra[qa+5]==="I"&&Ra[qa+6]==="T"&&Ra[qa+7]==="Y"}function isElement(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="E"&&Ra[qa+3]==="L"&&Ra[qa+4]==="E"&&Ra[qa+5]==="M"&&Ra[qa+6]==="E"&&Ra[qa+7]==="N"&&Ra[qa+8]==="T"}function isAttlist(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="A"&&Ra[qa+3]==="T"&&Ra[qa+4]==="T"&&Ra[qa+5]==="L"&&Ra[qa+6]==="I"&&Ra[qa+7]==="S"&&Ra[qa+8]==="T"}function isNotation(Ra,qa){return Ra[qa+1]==="!"&&Ra[qa+2]==="N"&&Ra[qa+3]==="O"&&Ra[qa+4]==="T"&&Ra[qa+5]==="A"&&Ra[qa+6]==="T"&&Ra[qa+7]==="I"&&Ra[qa+8]==="O"&&Ra[qa+9]==="N"}function validateEntityName(Ra){if(util$2.isName(Ra))return Ra;throw new Error(`Invalid entity name ${Ra}`)}var DocTypeReader=readDocType$1;function getIgnoreAttributesFn$2(Ra){return typeof Ra=="function"?Ra:Array.isArray(Ra)?qa=>{for(const nd of Ra)if(typeof nd=="string"&&qa===nd||nd instanceof RegExp&&nd.test(qa))return!0}:()=>!1}var ignoreAttributes=getIgnoreAttributesFn$2;const util$1=util$4,xmlNode=xmlNode$1,readDocType=DocTypeReader,toNumber=strnum,getIgnoreAttributesFn$1=ignoreAttributes;let OrderedObjParser$1=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,16))}},this.addExternalEntities=addExternalEntities,this.parseXml=parseXml$1,this.parseTextData=parseTextData,this.resolveNameSpace=resolveNameSpace,this.buildAttributesMap=buildAttributesMap,this.isItStopNode=isItStopNode,this.replaceEntitiesValue=replaceEntitiesValue$1,this.readStopNodeData=readStopNodeData,this.saveTextToParentTag=saveTextToParentTag,this.addChild=addChild,this.ignoreAttributesFn=getIgnoreAttributesFn$1(this.options.ignoreAttributes)}};function addExternalEntities(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];this.lastEntities[od]={regex:new RegExp("&"+od+";","g"),val:Ra[od]}}}function parseTextData(Ra,qa,nd,od,ld,ud,dd){if(Ra!==void 0&&(this.options.trimValues&&!od&&(Ra=Ra.trim()),Ra.length>0)){dd||(Ra=this.replaceEntitiesValue(Ra));const pd=this.options.tagValueProcessor(qa,Ra,nd,ld,ud);return pd==null?Ra:typeof pd!=typeof Ra||pd!==Ra?pd:this.options.trimValues?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),nd=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=nd+qa[1])}return Ra}const attrsRegx=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap(Ra,qa,nd){if(this.options.ignoreAttributes!==!0&&typeof Ra=="string"){const od=util$1.getAllMatches(Ra,attrsRegx),ld=od.length,ud={};for(let dd=0;dd<ld;dd++){const pd=this.resolveNameSpace(od[dd][1]);if(this.ignoreAttributesFn(pd,qa))continue;let fd=od[dd][4],md=this.options.attributeNamePrefix+pd;if(pd.length)if(this.options.transformAttributeName&&(md=this.options.transformAttributeName(md)),md==="__proto__"&&(md="#__proto__"),fd!==void 0){this.options.trimValues&&(fd=fd.trim()),fd=this.replaceEntitiesValue(fd);const vd=this.options.attributeValueProcessor(pd,fd,qa);vd==null?ud[md]=fd:typeof vd!=typeof fd||vd!==fd?ud[md]=vd:ud[md]=parseValue(fd,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(ud[md]=!0)}if(!Object.keys(ud).length)return;if(this.options.attributesGroupName){const dd={};return dd[this.options.attributesGroupName]=ud,dd}return ud}}const parseXml$1=function(Ra){Ra=Ra.replace(/\r\n?/g,`
|
||
`);const qa=new xmlNode("!xml");let nd=qa,od="",ld="";for(let ud=0;ud<Ra.length;ud++)if(Ra[ud]==="<")if(Ra[ud+1]==="/"){const pd=findClosingIndex(Ra,">",ud,"Closing Tag is not closed.");let fd=Ra.substring(ud+2,pd).trim();if(this.options.removeNSPrefix){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1))}this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&(od=this.saveTextToParentTag(od,nd,ld));const md=ld.substring(ld.lastIndexOf(".")+1);if(fd&&this.options.unpairedTags.indexOf(fd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${fd}>`);let vd=0;md&&this.options.unpairedTags.indexOf(md)!==-1?(vd=ld.lastIndexOf(".",ld.lastIndexOf(".")-1),this.tagsNodeStack.pop()):vd=ld.lastIndexOf("."),ld=ld.substring(0,vd),nd=this.tagsNodeStack.pop(),od="",ud=pd}else if(Ra[ud+1]==="?"){let pd=readTagExp(Ra,ud,!1,"?>");if(!pd)throw new Error("Pi Tag is not closed.");if(od=this.saveTextToParentTag(od,nd,ld),!(this.options.ignoreDeclaration&&pd.tagName==="?xml"||this.options.ignorePiTags)){const fd=new xmlNode(pd.tagName);fd.add(this.options.textNodeName,""),pd.tagName!==pd.tagExp&&pd.attrExpPresent&&(fd[":@"]=this.buildAttributesMap(pd.tagExp,ld,pd.tagName)),this.addChild(nd,fd,ld)}ud=pd.closeIndex+1}else if(Ra.substr(ud+1,3)==="!--"){const pd=findClosingIndex(Ra,"-->",ud+4,"Comment is not closed.");if(this.options.commentPropName){const fd=Ra.substring(ud+4,pd-2);od=this.saveTextToParentTag(od,nd,ld),nd.add(this.options.commentPropName,[{[this.options.textNodeName]:fd}])}ud=pd}else if(Ra.substr(ud+1,2)==="!D"){const pd=readDocType(Ra,ud);this.docTypeEntities=pd.entities,ud=pd.i}else if(Ra.substr(ud+1,2)==="!["){const pd=findClosingIndex(Ra,"]]>",ud,"CDATA is not closed.")-2,fd=Ra.substring(ud+9,pd);od=this.saveTextToParentTag(od,nd,ld);let md=this.parseTextData(fd,nd.tagname,ld,!0,!1,!0,!0);md==null&&(md=""),this.options.cdataPropName?nd.add(this.options.cdataPropName,[{[this.options.textNodeName]:fd}]):nd.add(this.options.textNodeName,md),ud=pd+2}else{let pd=readTagExp(Ra,ud,this.options.removeNSPrefix),fd=pd.tagName;const md=pd.rawTagName;let vd=pd.tagExp,Ad=pd.attrExpPresent,Nd=pd.closeIndex;this.options.transformTagName&&(fd=this.options.transformTagName(fd)),nd&&od&&nd.tagname!=="!xml"&&(od=this.saveTextToParentTag(od,nd,ld,!1));const Id=nd;if(Id&&this.options.unpairedTags.indexOf(Id.tagname)!==-1&&(nd=this.tagsNodeStack.pop(),ld=ld.substring(0,ld.lastIndexOf("."))),fd!==qa.tagname&&(ld+=ld?"."+fd:fd),this.isItStopNode(this.options.stopNodes,ld,fd)){let Od="";if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1)fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),ud=pd.closeIndex;else if(this.options.unpairedTags.indexOf(fd)!==-1)ud=pd.closeIndex;else{const Ud=this.readStopNodeData(Ra,md,Nd+1);if(!Ud)throw new Error(`Unexpected end of ${md}`);ud=Ud.i,Od=Ud.tagContent}const Md=new xmlNode(fd);fd!==vd&&Ad&&(Md[":@"]=this.buildAttributesMap(vd,ld,fd)),Od&&(Od=this.parseTextData(Od,fd,ld,!0,Ad,!0,!0)),ld=ld.substr(0,ld.lastIndexOf(".")),Md.add(this.options.textNodeName,Od),this.addChild(nd,Md,ld)}else{if(vd.length>0&&vd.lastIndexOf("/")===vd.length-1){fd[fd.length-1]==="/"?(fd=fd.substr(0,fd.length-1),ld=ld.substr(0,ld.length-1),vd=fd):vd=vd.substr(0,vd.length-1),this.options.transformTagName&&(fd=this.options.transformTagName(fd));const Od=new xmlNode(fd);fd!==vd&&Ad&&(Od[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,Od,ld),ld=ld.substr(0,ld.lastIndexOf("."))}else{const Od=new xmlNode(fd);this.tagsNodeStack.push(nd),fd!==vd&&Ad&&(Od[":@"]=this.buildAttributesMap(vd,ld,fd)),this.addChild(nd,Od,ld),nd=Od}od="",ud=Nd}}else od+=Ra[ud];return qa.child};function addChild(Ra,qa,nd){const od=this.options.updateTag(qa.tagname,nd,qa[":@"]);od===!1||(typeof od=="string"&&(qa.tagname=od),Ra.addChild(qa))}const replaceEntitiesValue$1=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const nd=this.docTypeEntities[qa];Ra=Ra.replace(nd.regx,nd.val)}for(let qa in this.lastEntities){const nd=this.lastEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const nd=this.htmlEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag(Ra,qa,nd,od){return Ra&&(od===void 0&&(od=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,nd,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,od),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode(Ra,qa,nd){const od="*."+nd;for(const ld in Ra){const ud=Ra[ld];if(od===ud||qa===ud)return!0}return!1}function tagExpWithClosingIndex(Ra,qa,nd=">"){let od,ld="";for(let ud=qa;ud<Ra.length;ud++){let dd=Ra[ud];if(od)dd===od&&(od="");else if(dd==='"'||dd==="'")od=dd;else if(dd===nd[0])if(nd[1]){if(Ra[ud+1]===nd[1])return{data:ld,index:ud}}else return{data:ld,index:ud};else dd===" "&&(dd=" ");ld+=dd}}function findClosingIndex(Ra,qa,nd,od){const ld=Ra.indexOf(qa,nd);if(ld===-1)throw new Error(od);return ld+qa.length-1}function readTagExp(Ra,qa,nd,od=">"){const ld=tagExpWithClosingIndex(Ra,qa+1,od);if(!ld)return;let ud=ld.data;const dd=ld.index,pd=ud.search(/\s/);let fd=ud,md=!0;pd!==-1&&(fd=ud.substring(0,pd),ud=ud.substring(pd+1).trimStart());const vd=fd;if(nd){const Ad=fd.indexOf(":");Ad!==-1&&(fd=fd.substr(Ad+1),md=fd!==ld.data.substr(Ad+1))}return{tagName:fd,tagExp:ud,closeIndex:dd,attrExpPresent:md,rawTagName:vd}}function readStopNodeData(Ra,qa,nd){const od=nd;let ld=1;for(;nd<Ra.length;nd++)if(Ra[nd]==="<")if(Ra[nd+1]==="/"){const ud=findClosingIndex(Ra,">",nd,`${qa} is not closed`);if(Ra.substring(nd+2,ud).trim()===qa&&(ld--,ld===0))return{tagContent:Ra.substring(od,nd),i:ud};nd=ud}else if(Ra[nd+1]==="?")nd=findClosingIndex(Ra,"?>",nd+1,"StopNode is not closed.");else if(Ra.substr(nd+1,3)==="!--")nd=findClosingIndex(Ra,"-->",nd+3,"StopNode is not closed.");else if(Ra.substr(nd+1,2)==="![")nd=findClosingIndex(Ra,"]]>",nd,"StopNode is not closed.")-2;else{const ud=readTagExp(Ra,nd,">");ud&&((ud&&ud.tagName)===qa&&ud.tagExp[ud.tagExp.length-1]!=="/"&&ld++,nd=ud.closeIndex)}}function parseValue(Ra,qa,nd){if(qa&&typeof Ra=="string"){const od=Ra.trim();return od==="true"?!0:od==="false"?!1:toNumber(Ra,nd)}else return util$1.isExist(Ra)?Ra:""}var OrderedObjParser_1=OrderedObjParser$1,node2json={};function prettify$1(Ra,qa){return compress(Ra,qa)}function compress(Ra,qa,nd){let od;const ld={};for(let ud=0;ud<Ra.length;ud++){const dd=Ra[ud],pd=propName$1(dd);let fd="";if(nd===void 0?fd=pd:fd=nd+"."+pd,pd===qa.textNodeName)od===void 0?od=dd[pd]:od+=""+dd[pd];else{if(pd===void 0)continue;if(dd[pd]){let md=compress(dd[pd],qa,fd);const vd=isLeafTag(md,qa);dd[":@"]?assignAttributes(md,dd[":@"],fd,qa):Object.keys(md).length===1&&md[qa.textNodeName]!==void 0&&!qa.alwaysCreateTextNode?md=md[qa.textNodeName]:Object.keys(md).length===0&&(qa.alwaysCreateTextNode?md[qa.textNodeName]="":md=""),ld[pd]!==void 0&&ld.hasOwnProperty(pd)?(Array.isArray(ld[pd])||(ld[pd]=[ld[pd]]),ld[pd].push(md)):qa.isArray(pd,fd,vd)?ld[pd]=[md]:ld[pd]=md}}}return typeof od=="string"?od.length>0&&(ld[qa.textNodeName]=od):od!==void 0&&(ld[qa.textNodeName]=od),ld}function propName$1(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(od!==":@")return od}}function assignAttributes(Ra,qa,nd,od){if(qa){const ld=Object.keys(qa),ud=ld.length;for(let dd=0;dd<ud;dd++){const pd=ld[dd];od.isArray(pd,nd+"."+pd,!0,!0)?Ra[pd]=[qa[pd]]:Ra[pd]=qa[pd]}}}function isLeafTag(Ra,qa){const{textNodeName:nd}=qa,od=Object.keys(Ra).length;return!!(od===0||od===1&&(Ra[nd]||typeof Ra[nd]=="boolean"||Ra[nd]===0))}node2json.prettify=prettify$1;const{buildOptions}=OptionsBuilder,OrderedObjParser=OrderedObjParser_1,{prettify}=node2json,validator$1=validator$2;let XMLParser$1=class{constructor(qa){this.externalEntities={},this.options=buildOptions(qa)}parse(qa,nd){if(typeof qa!="string")if(qa.toString)qa=qa.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(nd){nd===!0&&(nd={});const ud=validator$1.validate(qa,nd);if(ud!==!0)throw Error(`${ud.err.msg}:${ud.err.line}:${ud.err.col}`)}const od=new OrderedObjParser(this.options);od.addExternalEntities(this.externalEntities);const ld=od.parseXml(qa);return this.options.preserveOrder||ld===void 0?ld:prettify(ld,this.options)}addEntity(qa,nd){if(nd.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(qa.indexOf("&")!==-1||qa.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(nd==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[qa]=nd}};var XMLParser_1=XMLParser$1;const EOL=`
|
||
`;function toXml(Ra,qa){let nd="";return qa.format&&qa.indentBy.length>0&&(nd=EOL),arrToStr(Ra,qa,"",nd)}function arrToStr(Ra,qa,nd,od){let ld="",ud=!1;for(let dd=0;dd<Ra.length;dd++){const pd=Ra[dd],fd=propName(pd);if(fd===void 0)continue;let md="";if(nd.length===0?md=fd:md=`${nd}.${fd}`,fd===qa.textNodeName){let Od=pd[fd];isStopNode(md,qa)||(Od=qa.tagValueProcessor(fd,Od),Od=replaceEntitiesValue(Od,qa)),ud&&(ld+=od),ld+=Od,ud=!1;continue}else if(fd===qa.cdataPropName){ud&&(ld+=od),ld+=`<![CDATA[${pd[fd][0][qa.textNodeName]}]]>`,ud=!1;continue}else if(fd===qa.commentPropName){ld+=od+`<!--${pd[fd][0][qa.textNodeName]}-->`,ud=!0;continue}else if(fd[0]==="?"){const Od=attr_to_str(pd[":@"],qa),Md=fd==="?xml"?"":od;let Ud=pd[fd][0][qa.textNodeName];Ud=Ud.length!==0?" "+Ud:"",ld+=Md+`<${fd}${Ud}${Od}?>`,ud=!0;continue}let vd=od;vd!==""&&(vd+=qa.indentBy);const Ad=attr_to_str(pd[":@"],qa),Nd=od+`<${fd}${Ad}`,Id=arrToStr(pd[fd],qa,md,vd);qa.unpairedTags.indexOf(fd)!==-1?qa.suppressUnpairedNode?ld+=Nd+">":ld+=Nd+"/>":(!Id||Id.length===0)&&qa.suppressEmptyNode?ld+=Nd+"/>":Id&&Id.endsWith(">")?ld+=Nd+`>${Id}${od}</${fd}>`:(ld+=Nd+">",Id&&od!==""&&(Id.includes("/>")||Id.includes("</"))?ld+=od+qa.indentBy+Id+od:ld+=Id,ld+=`</${fd}>`),ud=!0}return ld}function propName(Ra){const qa=Object.keys(Ra);for(let nd=0;nd<qa.length;nd++){const od=qa[nd];if(Ra.hasOwnProperty(od)&&od!==":@")return od}}function attr_to_str(Ra,qa){let nd="";if(Ra&&!qa.ignoreAttributes)for(let od in Ra){if(!Ra.hasOwnProperty(od))continue;let ld=qa.attributeValueProcessor(od,Ra[od]);ld=replaceEntitiesValue(ld,qa),ld===!0&&qa.suppressBooleanAttributes?nd+=` ${od.substr(qa.attributeNamePrefix.length)}`:nd+=` ${od.substr(qa.attributeNamePrefix.length)}="${ld}"`}return nd}function isStopNode(Ra,qa){Ra=Ra.substr(0,Ra.length-qa.textNodeName.length-1);let nd=Ra.substr(Ra.lastIndexOf(".")+1);for(let od in qa.stopNodes)if(qa.stopNodes[od]===Ra||qa.stopNodes[od]==="*."+nd)return!0;return!1}function replaceEntitiesValue(Ra,qa){if(Ra&&Ra.length>0&&qa.processEntities)for(let nd=0;nd<qa.entities.length;nd++){const od=qa.entities[nd];Ra=Ra.replace(od.regex,od.val)}return Ra}var orderedJs2Xml=toXml;const buildFromOrderedJs=orderedJs2Xml,getIgnoreAttributesFn=ignoreAttributes,defaultOptions={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(Ra,qa){return qa},attributeValueProcessor:function(Ra,qa){return qa},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(Ra){this.options=Object.assign({},defaultOptions,Ra),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=getIgnoreAttributesFn(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute),this.processTextOrObjNode=processTextOrObjNode,this.options.format?(this.indentate=indentate,this.tagEndChar=`>
|
||
`,this.newLine=`
|
||
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Builder.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0,[]).val)};Builder.prototype.j2x=function(Ra,qa,nd){let od="",ld="";const ud=nd.join(".");for(let dd in Ra)if(Object.prototype.hasOwnProperty.call(Ra,dd))if(typeof Ra[dd]>"u")this.isAttribute(dd)&&(ld+="");else if(Ra[dd]===null)this.isAttribute(dd)?ld+="":dd[0]==="?"?ld+=this.indentate(qa)+"<"+dd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+dd+"/"+this.tagEndChar;else if(Ra[dd]instanceof Date)ld+=this.buildTextValNode(Ra[dd],dd,"",qa);else if(typeof Ra[dd]!="object"){const pd=this.isAttribute(dd);if(pd&&!this.ignoreAttributesFn(pd,ud))od+=this.buildAttrPairStr(pd,""+Ra[dd]);else if(!pd)if(dd===this.options.textNodeName){let fd=this.options.tagValueProcessor(dd,""+Ra[dd]);ld+=this.replaceEntitiesValue(fd)}else ld+=this.buildTextValNode(Ra[dd],dd,"",qa)}else if(Array.isArray(Ra[dd])){const pd=Ra[dd].length;let fd="",md="";for(let vd=0;vd<pd;vd++){const Ad=Ra[dd][vd];if(!(typeof Ad>"u"))if(Ad===null)dd[0]==="?"?ld+=this.indentate(qa)+"<"+dd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+dd+"/"+this.tagEndChar;else if(typeof Ad=="object")if(this.options.oneListGroup){const Nd=this.j2x(Ad,qa+1,nd.concat(dd));fd+=Nd.val,this.options.attributesGroupName&&Ad.hasOwnProperty(this.options.attributesGroupName)&&(md+=Nd.attrStr)}else fd+=this.processTextOrObjNode(Ad,dd,qa,nd);else if(this.options.oneListGroup){let Nd=this.options.tagValueProcessor(dd,Ad);Nd=this.replaceEntitiesValue(Nd),fd+=Nd}else fd+=this.buildTextValNode(Ad,dd,"",qa)}this.options.oneListGroup&&(fd=this.buildObjectNode(fd,dd,md,qa)),ld+=fd}else if(this.options.attributesGroupName&&dd===this.options.attributesGroupName){const pd=Object.keys(Ra[dd]),fd=pd.length;for(let md=0;md<fd;md++)od+=this.buildAttrPairStr(pd[md],""+Ra[dd][pd[md]])}else ld+=this.processTextOrObjNode(Ra[dd],dd,qa,nd);return{attrStr:od,val:ld}};Builder.prototype.buildAttrPairStr=function(Ra,qa){return qa=this.options.attributeValueProcessor(Ra,""+qa),qa=this.replaceEntitiesValue(qa),this.options.suppressBooleanAttributes&&qa==="true"?" "+Ra:" "+Ra+'="'+qa+'"'};function processTextOrObjNode(Ra,qa,nd,od){const ld=this.j2x(Ra,nd+1,od.concat(qa));return Ra[this.options.textNodeName]!==void 0&&Object.keys(Ra).length===1?this.buildTextValNode(Ra[this.options.textNodeName],qa,ld.attrStr,nd):this.buildObjectNode(ld.val,qa,ld.attrStr,nd)}Builder.prototype.buildObjectNode=function(Ra,qa,nd,od){if(Ra==="")return qa[0]==="?"?this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar:this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar;{let ld="</"+qa+this.tagEndChar,ud="";return qa[0]==="?"&&(ud="?",ld=""),(nd||nd==="")&&Ra.indexOf("<")===-1?this.indentate(od)+"<"+qa+nd+ud+">"+Ra+ld:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&ud.length===0?this.indentate(od)+`<!--${Ra}-->`+this.newLine:this.indentate(od)+"<"+qa+nd+ud+this.tagEndChar+Ra+this.indentate(od)+ld}};Builder.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`></${Ra}`,qa};Builder.prototype.buildTextValNode=function(Ra,qa,nd,od){if(this.options.cdataPropName!==!1&&qa===this.options.cdataPropName)return this.indentate(od)+`<![CDATA[${Ra}]]>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(od)+`<!--${Ra}-->`+this.newLine;if(qa[0]==="?")return this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar;{let ld=this.options.tagValueProcessor(qa,Ra);return ld=this.replaceEntitiesValue(ld),ld===""?this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar:this.indentate(od)+"<"+qa+nd+">"+ld+"</"+qa+this.tagEndChar}};Builder.prototype.replaceEntitiesValue=function(Ra){if(Ra&&Ra.length>0&&this.options.processEntities)for(let qa=0;qa<this.options.entities.length;qa++){const nd=this.options.entities[qa];Ra=Ra.replace(nd.regex,nd.val)}return Ra};function indentate(Ra){return this.options.indentBy.repeat(Ra)}function isAttribute(Ra){return Ra.startsWith(this.options.attributeNamePrefix)&&Ra!==this.options.textNodeName?Ra.substr(this.attrPrefixLen):!1}var json2xml=Builder;const validator=validator$2,XMLParser=XMLParser_1,XMLBuilder=json2xml;var fxp$2={XMLParser,XMLValidator:validator,XMLBuilder},ipaddr$1={exports:{}};(function(Ra){(function(qa){const nd="(0?\\d+|0x[a-f0-9]+)",od={fourOctet:new RegExp(`^${nd}\\.${nd}\\.${nd}\\.${nd}$`,"i"),threeOctet:new RegExp(`^${nd}\\.${nd}\\.${nd}$`,"i"),twoOctet:new RegExp(`^${nd}\\.${nd}$`,"i"),longValue:new RegExp(`^${nd}$`,"i")},ld=new RegExp("^0[0-7]+$","i"),ud=new RegExp("^0x[a-f0-9]+$","i"),dd="%[0-9a-z]{1,}",pd="(?:[0-9a-f]+::?)+",fd={zoneIndex:new RegExp(dd,"i"),native:new RegExp(`^(::)?(${pd})?([0-9a-f]+)?(::)?(${dd})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${nd}\\.${nd}\\.${nd}\\.${nd}(${dd})?)$`,"i"),transitional:new RegExp(`^((?:${pd})|(?:::)(?:${pd})?)${nd}\\.${nd}\\.${nd}\\.${nd}(${dd})?$`,"i")};function md(Od,Md){if(Od.indexOf("::")!==Od.lastIndexOf("::"))return null;let Ud=0,jd=-1,Ld=(Od.match(fd.zoneIndex)||[])[0],Bd,Gd;for(Ld&&(Ld=Ld.substring(1),Od=Od.replace(/%.+$/,""));(jd=Od.indexOf(":",jd+1))>=0;)Ud++;if(Od.substr(0,2)==="::"&&Ud--,Od.substr(-2,2)==="::"&&Ud--,Ud>Md)return null;for(Gd=Md-Ud,Bd=":";Gd--;)Bd+="0:";return Od=Od.replace("::",Bd),Od[0]===":"&&(Od=Od.slice(1)),Od[Od.length-1]===":"&&(Od=Od.slice(0,-1)),Md=function(){const qd=Od.split(":"),zd=[];for(let Xd=0;Xd<qd.length;Xd++)zd.push(parseInt(qd[Xd],16));return zd}(),{parts:Md,zoneId:Ld}}function vd(Od,Md,Ud,jd){if(Od.length!==Md.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let Ld=0,Bd;for(;jd>0;){if(Bd=Ud-jd,Bd<0&&(Bd=0),Od[Ld]>>Bd!==Md[Ld]>>Bd)return!1;jd-=Ud,Ld+=1}return!0}function Ad(Od){if(ud.test(Od))return parseInt(Od,16);if(Od[0]==="0"&&!isNaN(parseInt(Od[1],10))){if(ld.test(Od))return parseInt(Od,8);throw new Error(`ipaddr: cannot parse ${Od} as octal`)}return parseInt(Od,10)}function Nd(Od,Md){for(;Od.length<Md;)Od=`0${Od}`;return Od}const Id={};Id.IPv4=function(){function Od(Md){if(Md.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");let Ud,jd;for(Ud=0;Ud<Md.length;Ud++)if(jd=Md[Ud],!(0<=jd&&jd<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=Md}return Od.prototype.SpecialRanges={unspecified:[[new Od([0,0,0,0]),8]],broadcast:[[new Od([255,255,255,255]),32]],multicast:[[new Od([224,0,0,0]),4]],linkLocal:[[new Od([169,254,0,0]),16]],loopback:[[new Od([127,0,0,0]),8]],carrierGradeNat:[[new Od([100,64,0,0]),10]],private:[[new Od([10,0,0,0]),8],[new Od([172,16,0,0]),12],[new Od([192,168,0,0]),16]],reserved:[[new Od([192,0,0,0]),24],[new Od([192,0,2,0]),24],[new Od([192,88,99,0]),24],[new Od([198,18,0,0]),15],[new Od([198,51,100,0]),24],[new Od([203,0,113,0]),24],[new Od([240,0,0,0]),4]],as112:[[new Od([192,175,48,0]),24],[new Od([192,31,196,0]),24]],amt:[[new Od([192,52,193,0]),24]]},Od.prototype.kind=function(){return"ipv4"},Od.prototype.match=function(Md,Ud){let jd;if(Ud===void 0&&(jd=Md,Md=jd[0],Ud=jd[1]),Md.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return vd(this.octets,Md.octets,8,Ud)},Od.prototype.prefixLengthFromSubnetMask=function(){let Md=0,Ud=!1;const jd={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};let Ld,Bd,Gd;for(Ld=3;Ld>=0;Ld-=1)if(Bd=this.octets[Ld],Bd in jd){if(Gd=jd[Bd],Ud&&Gd!==0)return null;Gd!==8&&(Ud=!0),Md+=Gd}else return null;return 32-Md},Od.prototype.range=function(){return Id.subnetMatch(this,this.SpecialRanges)},Od.prototype.toByteArray=function(){return this.octets.slice(0)},Od.prototype.toIPv4MappedAddress=function(){return Id.IPv6.parse(`::ffff:${this.toString()}`)},Od.prototype.toNormalizedString=function(){return this.toString()},Od.prototype.toString=function(){return this.octets.join(".")},Od}(),Id.IPv4.broadcastAddressFromCIDR=function(Od){try{const Md=this.parseCIDR(Od),Ud=Md[0].toByteArray(),jd=this.subnetMaskFromPrefixLength(Md[1]).toByteArray(),Ld=[];let Bd=0;for(;Bd<4;)Ld.push(parseInt(Ud[Bd],10)|parseInt(jd[Bd],10)^255),Bd++;return new this(Ld)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Id.IPv4.isIPv4=function(Od){return this.parser(Od)!==null},Id.IPv4.isValid=function(Od){try{return new this(this.parser(Od)),!0}catch{return!1}},Id.IPv4.isValidCIDR=function(Od){try{return this.parseCIDR(Od),!0}catch{return!1}},Id.IPv4.isValidFourPartDecimal=function(Od){return!!(Id.IPv4.isValid(Od)&&Od.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},Id.IPv4.networkAddressFromCIDR=function(Od){let Md,Ud,jd,Ld,Bd;try{for(Md=this.parseCIDR(Od),jd=Md[0].toByteArray(),Bd=this.subnetMaskFromPrefixLength(Md[1]).toByteArray(),Ld=[],Ud=0;Ud<4;)Ld.push(parseInt(jd[Ud],10)&parseInt(Bd[Ud],10)),Ud++;return new this(Ld)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Id.IPv4.parse=function(Od){const Md=this.parser(Od);if(Md===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(Md)},Id.IPv4.parseCIDR=function(Od){let Md;if(Md=Od.match(/^(.+)\/(\d+)$/)){const Ud=parseInt(Md[2]);if(Ud>=0&&Ud<=32){const jd=[this.parse(Md[1]),Ud];return Object.defineProperty(jd,"toString",{value:function(){return this.join("/")}}),jd}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},Id.IPv4.parser=function(Od){let Md,Ud,jd;if(Md=Od.match(od.fourOctet))return function(){const Ld=Md.slice(1,6),Bd=[];for(let Gd=0;Gd<Ld.length;Gd++)Ud=Ld[Gd],Bd.push(Ad(Ud));return Bd}();if(Md=Od.match(od.longValue)){if(jd=Ad(Md[1]),jd>4294967295||jd<0)throw new Error("ipaddr: address outside defined range");return function(){const Ld=[];let Bd;for(Bd=0;Bd<=24;Bd+=8)Ld.push(jd>>Bd&255);return Ld}().reverse()}else return(Md=Od.match(od.twoOctet))?function(){const Ld=Md.slice(1,4),Bd=[];if(jd=Ad(Ld[1]),jd>16777215||jd<0)throw new Error("ipaddr: address outside defined range");return Bd.push(Ad(Ld[0])),Bd.push(jd>>16&255),Bd.push(jd>>8&255),Bd.push(jd&255),Bd}():(Md=Od.match(od.threeOctet))?function(){const Ld=Md.slice(1,5),Bd=[];if(jd=Ad(Ld[2]),jd>65535||jd<0)throw new Error("ipaddr: address outside defined range");return Bd.push(Ad(Ld[0])),Bd.push(Ad(Ld[1])),Bd.push(jd>>8&255),Bd.push(jd&255),Bd}():null},Id.IPv4.subnetMaskFromPrefixLength=function(Od){if(Od=parseInt(Od),Od<0||Od>32)throw new Error("ipaddr: invalid IPv4 prefix length");const Md=[0,0,0,0];let Ud=0;const jd=Math.floor(Od/8);for(;Ud<jd;)Md[Ud]=255,Ud++;return jd<4&&(Md[jd]=Math.pow(2,Od%8)-1<<8-Od%8),new this(Md)},Id.IPv6=function(){function Od(Md,Ud){let jd,Ld;if(Md.length===16)for(this.parts=[],jd=0;jd<=14;jd+=2)this.parts.push(Md[jd]<<8|Md[jd+1]);else if(Md.length===8)this.parts=Md;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(jd=0;jd<this.parts.length;jd++)if(Ld=this.parts[jd],!(0<=Ld&&Ld<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");Ud&&(this.zoneId=Ud)}return Od.prototype.SpecialRanges={unspecified:[new Od([0,0,0,0,0,0,0,0]),128],linkLocal:[new Od([65152,0,0,0,0,0,0,0]),10],multicast:[new Od([65280,0,0,0,0,0,0,0]),8],loopback:[new Od([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new Od([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new Od([0,0,0,0,0,65535,0,0]),96],discard:[new Od([256,0,0,0,0,0,0,0]),64],rfc6145:[new Od([0,0,0,0,65535,0,0,0]),96],rfc6052:[new Od([100,65435,0,0,0,0,0,0]),96],"6to4":[new Od([8194,0,0,0,0,0,0,0]),16],teredo:[new Od([8193,0,0,0,0,0,0,0]),32],benchmarking:[new Od([8193,2,0,0,0,0,0,0]),48],amt:[new Od([8193,3,0,0,0,0,0,0]),32],as112v6:[[new Od([8193,4,274,0,0,0,0,0]),48],[new Od([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new Od([8193,16,0,0,0,0,0,0]),28],orchid2:[new Od([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new Od([8193,48,0,0,0,0,0,0]),28],reserved:[[new Od([8193,0,0,0,0,0,0,0]),23],[new Od([8193,3512,0,0,0,0,0,0]),32]]},Od.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},Od.prototype.kind=function(){return"ipv6"},Od.prototype.match=function(Md,Ud){let jd;if(Ud===void 0&&(jd=Md,Md=jd[0],Ud=jd[1]),Md.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return vd(this.parts,Md.parts,16,Ud)},Od.prototype.prefixLengthFromSubnetMask=function(){let Md=0,Ud=!1;const jd={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};let Ld,Bd;for(let Gd=7;Gd>=0;Gd-=1)if(Ld=this.parts[Gd],Ld in jd){if(Bd=jd[Ld],Ud&&Bd!==0)return null;Bd!==16&&(Ud=!0),Md+=Bd}else return null;return 128-Md},Od.prototype.range=function(){return Id.subnetMatch(this,this.SpecialRanges)},Od.prototype.toByteArray=function(){let Md;const Ud=[],jd=this.parts;for(let Ld=0;Ld<jd.length;Ld++)Md=jd[Ld],Ud.push(Md>>8),Ud.push(Md&255);return Ud},Od.prototype.toFixedLengthString=function(){const Md=(function(){const jd=[];for(let Ld=0;Ld<this.parts.length;Ld++)jd.push(Nd(this.parts[Ld].toString(16),4));return jd}).call(this).join(":");let Ud="";return this.zoneId&&(Ud=`%${this.zoneId}`),Md+Ud},Od.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");const Md=this.parts.slice(-2),Ud=Md[0],jd=Md[1];return new Id.IPv4([Ud>>8,Ud&255,jd>>8,jd&255])},Od.prototype.toNormalizedString=function(){const Md=(function(){const jd=[];for(let Ld=0;Ld<this.parts.length;Ld++)jd.push(this.parts[Ld].toString(16));return jd}).call(this).join(":");let Ud="";return this.zoneId&&(Ud=`%${this.zoneId}`),Md+Ud},Od.prototype.toRFC5952String=function(){const Md=/((^|:)(0(:|$)){2,})/g,Ud=this.toNormalizedString();let jd=0,Ld=-1,Bd;for(;Bd=Md.exec(Ud);)Bd[0].length>Ld&&(jd=Bd.index,Ld=Bd[0].length);return Ld<0?Ud:`${Ud.substring(0,jd)}::${Ud.substring(jd+Ld)}`},Od.prototype.toString=function(){return this.toRFC5952String()},Od}(),Id.IPv6.broadcastAddressFromCIDR=function(Od){try{const Md=this.parseCIDR(Od),Ud=Md[0].toByteArray(),jd=this.subnetMaskFromPrefixLength(Md[1]).toByteArray(),Ld=[];let Bd=0;for(;Bd<16;)Ld.push(parseInt(Ud[Bd],10)|parseInt(jd[Bd],10)^255),Bd++;return new this(Ld)}catch(Md){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Md})`)}},Id.IPv6.isIPv6=function(Od){return this.parser(Od)!==null},Id.IPv6.isValid=function(Od){if(typeof Od=="string"&&Od.indexOf(":")===-1)return!1;try{const Md=this.parser(Od);return new this(Md.parts,Md.zoneId),!0}catch{return!1}},Id.IPv6.isValidCIDR=function(Od){if(typeof Od=="string"&&Od.indexOf(":")===-1)return!1;try{return this.parseCIDR(Od),!0}catch{return!1}},Id.IPv6.networkAddressFromCIDR=function(Od){let Md,Ud,jd,Ld,Bd;try{for(Md=this.parseCIDR(Od),jd=Md[0].toByteArray(),Bd=this.subnetMaskFromPrefixLength(Md[1]).toByteArray(),Ld=[],Ud=0;Ud<16;)Ld.push(parseInt(jd[Ud],10)&parseInt(Bd[Ud],10)),Ud++;return new this(Ld)}catch(Gd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Gd})`)}},Id.IPv6.parse=function(Od){const Md=this.parser(Od);if(Md.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(Md.parts,Md.zoneId)},Id.IPv6.parseCIDR=function(Od){let Md,Ud,jd;if((Ud=Od.match(/^(.+)\/(\d+)$/))&&(Md=parseInt(Ud[2]),Md>=0&&Md<=128))return jd=[this.parse(Ud[1]),Md],Object.defineProperty(jd,"toString",{value:function(){return this.join("/")}}),jd;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},Id.IPv6.parser=function(Od){let Md,Ud,jd,Ld,Bd,Gd;if(jd=Od.match(fd.deprecatedTransitional))return this.parser(`::ffff:${jd[1]}`);if(fd.native.test(Od))return md(Od,8);if((jd=Od.match(fd.transitional))&&(Gd=jd[6]||"",Md=jd[1],jd[1].endsWith("::")||(Md=Md.slice(0,-1)),Md=md(Md+Gd,6),Md.parts)){for(Bd=[parseInt(jd[2]),parseInt(jd[3]),parseInt(jd[4]),parseInt(jd[5])],Ud=0;Ud<Bd.length;Ud++)if(Ld=Bd[Ud],!(0<=Ld&&Ld<=255))return null;return Md.parts.push(Bd[0]<<8|Bd[1]),Md.parts.push(Bd[2]<<8|Bd[3]),{parts:Md.parts,zoneId:Md.zoneId}}return null},Id.IPv6.subnetMaskFromPrefixLength=function(Od){if(Od=parseInt(Od),Od<0||Od>128)throw new Error("ipaddr: invalid IPv6 prefix length");const Md=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let Ud=0;const jd=Math.floor(Od/8);for(;Ud<jd;)Md[Ud]=255,Ud++;return jd<16&&(Md[jd]=Math.pow(2,Od%8)-1<<8-Od%8),new this(Md)},Id.fromByteArray=function(Od){const Md=Od.length;if(Md===4)return new Id.IPv4(Od);if(Md===16)return new Id.IPv6(Od);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},Id.isValid=function(Od){return Id.IPv6.isValid(Od)||Id.IPv4.isValid(Od)},Id.isValidCIDR=function(Od){return Id.IPv6.isValidCIDR(Od)||Id.IPv4.isValidCIDR(Od)},Id.parse=function(Od){if(Id.IPv6.isValid(Od))return Id.IPv6.parse(Od);if(Id.IPv4.isValid(Od))return Id.IPv4.parse(Od);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},Id.parseCIDR=function(Od){try{return Id.IPv6.parseCIDR(Od)}catch{try{return Id.IPv4.parseCIDR(Od)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},Id.process=function(Od){const Md=this.parse(Od);return Md.kind()==="ipv6"&&Md.isIPv4MappedAddress()?Md.toIPv4Address():Md},Id.subnetMatch=function(Od,Md,Ud){let jd,Ld,Bd,Gd;Ud==null&&(Ud="unicast");for(Ld in Md)if(Object.prototype.hasOwnProperty.call(Md,Ld)){for(Bd=Md[Ld],Bd[0]&&!(Bd[0]instanceof Array)&&(Bd=[Bd]),jd=0;jd<Bd.length;jd++)if(Gd=Bd[jd],Od.kind()===Gd[0].kind()&&Od.match.apply(Od,Gd))return Ld}return Ud},Ra.exports?Ra.exports=Id:qa.ipaddr=Id})(commonjsGlobal)})(ipaddr$1);var ipaddrExports=ipaddr$1.exports;const ipaddr=getDefaultExportFromCjs(ipaddrExports);var mimeTypes$1={};const require$$0={"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}};/*!
|
||
* mime-db
|
||
* Copyright(c) 2014 Jonathan Ong
|
||
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
||
* MIT Licensed
|
||
*/var mimeDb=require$$0;/*!
|
||
* mime-types
|
||
* Copyright(c) 2014 Jonathan Ong
|
||
* Copyright(c) 2015 Douglas Christopher Wilson
|
||
* MIT Licensed
|
||
*/(function(Ra){var qa=mimeDb,nd=pathBrowserify.extname,od=/^\s*([^;\s]*)(?:;|\s|$)/,ld=/^text\//i;Ra.charset=ud,Ra.charsets={lookup:ud},Ra.contentType=dd,Ra.extension=pd,Ra.extensions=Object.create(null),Ra.lookup=fd,Ra.types=Object.create(null),md(Ra.extensions,Ra.types);function ud(vd){if(!vd||typeof vd!="string")return!1;var Ad=od.exec(vd),Nd=Ad&&qa[Ad[1].toLowerCase()];return Nd&&Nd.charset?Nd.charset:Ad&&ld.test(Ad[1])?"UTF-8":!1}function dd(vd){if(!vd||typeof vd!="string")return!1;var Ad=vd.indexOf("/")===-1?Ra.lookup(vd):vd;if(!Ad)return!1;if(Ad.indexOf("charset")===-1){var Nd=Ra.charset(Ad);Nd&&(Ad+="; charset="+Nd.toLowerCase())}return Ad}function pd(vd){if(!vd||typeof vd!="string")return!1;var Ad=od.exec(vd),Nd=Ad&&Ra.extensions[Ad[1].toLowerCase()];return!Nd||!Nd.length?!1:Nd[0]}function fd(vd){if(!vd||typeof vd!="string")return!1;var Ad=nd("x."+vd).toLowerCase().substr(1);return Ad&&Ra.types[Ad]||!1}function md(vd,Ad){var Nd=["nginx","apache",void 0,"iana"];Object.keys(qa).forEach(function(Od){var Md=qa[Od],Ud=Md.extensions;if(!(!Ud||!Ud.length)){vd[Od]=Ud;for(var jd=0;jd<Ud.length;jd++){var Ld=Ud[jd];if(Ad[Ld]){var Bd=Nd.indexOf(qa[Ad[Ld]].source),Gd=Nd.indexOf(Md.source);if(Ad[Ld]!=="application/octet-stream"&&(Bd>Gd||Bd===Gd&&Ad[Ld].substr(0,12)==="application/"))continue}Ad[Ld]=Od}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,nd)=>{const od=Buffer$4.from(nd);if(od.length===1&&("A"<=nd&&nd<="Z"||"a"<=nd&&nd<="z"||"0"<=nd&&nd<="9"||nd==="_"||nd==="."||nd==="~"||nd==="-"))return qa=qa+nd,qa;for(const ld of od)qa=qa+"%"+ld.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,nd="s3"){return`${makeDateShort(qa)}/${Ra}/${nd}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,nd,od){return qa==="https:"&&nd.includes(".")?!1:isAmazonEndpoint(Ra)||!od}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:><?/";for(const nd of qa)if(Ra.includes(nd))return!1;return!0}function probeContentType(Ra){let qa=mimeTypes$1.lookup(Ra);return qa||(qa="application/octet-stream"),qa}function isValidPort(Ra){return isNumber(Ra)?0<=Ra&&Ra<=65535:!1}function isValidBucketName(Ra){return!isString(Ra)||Ra.length<3||Ra.length>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString(Ra)||Ra.length>1024)}function isNumber(Ra){return typeof Ra=="number"}function isFunction(Ra){return typeof Ra=="function"}function isString(Ra){return typeof Ra=="string"}function isObject(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream(Ra){return isObject(Ra)&&isFunction(Ra._read)}function isBoolean(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,nd)=>(qa.on("error",od=>nd.emit("error",od)),qa.pipe(nd)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const nd in Ra)if(nd.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,nd)=>isAmzHeader(nd)||isSupportedHeader(nd)||isStorageClassHeader(nd)?nd:MetaDataHeaderPrefix+nd):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,nd)=>isSupportedHeader(nd)||isStorageClassHeader(nd)||isAmzHeader(nd)),(qa,nd)=>{const od=nd.toLowerCase();return od.startsWith(MetaDataHeaderPrefix)?od.slice(MetaDataHeaderPrefix.length):nd})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"",""":"",""":"",""":"",""":""};return Ra.replace(/^("|"|")|("|"|")$/g,nd=>qa[nd])}function toMd5(Ra){return(void 0)("md5").update(Buffer$4.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let nd=Ra/qa;return Ra%qa>0&&nd++,nd=Math.trunc(nd),nd}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const nd=partsRequired(Ra),od=[],ld=[];let ud=qa.Start;(isEmpty(ud)||ud===-1)&&(ud=0);const dd=Math.trunc(Ra/nd),pd=Ra%nd;let fd=ud;for(let md=0;md<nd;md++){let vd=dd;md<pd&&vd++;const Ad=fd,Nd=Ad+vd-1;fd=Nd+1,od.push(Ad),ld.push(Nd)}return{startIndex:od,endIndex:ld,objInfo:qa}}const fxp$1=new fxp$2.XMLParser;function parseXml(Ra){const qa=fxp$1.parse(Ra);if(qa.Error)throw qa.Error;return qa}const DEFAULT_REGION="us-east-1";class CopySourceOptions{constructor({Bucket:qa,Object:nd,VersionID:od="",MatchETag:ld="",NoMatchETag:ud="",MatchModifiedSince:dd=null,MatchUnmodifiedSince:pd=null,MatchRange:fd=!1,Start:md=0,End:vd=0,Encryption:Ad=void 0}){this.Bucket=qa,this.Object=nd,this.VersionID=od,this.MatchETag=ld,this.NoMatchETag=ud,this.MatchModifiedSince=dd,this.MatchUnmodifiedSince=pd,this.MatchRange=fd,this.Start=md,this.End=vd,this.Encryption=Ad}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Source bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Source object name: ${this.Object}`);if(this.MatchRange&&this.Start!==-1&&this.End!==-1&&this.Start>this.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber(this.Start)||!isNumber(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:nd,Encryption:od,UserMetadata:ld,UserTags:ud,LegalHold:dd,RetainUntilDate:pd,Mode:fd,MetadataDirective:md}){this.Bucket=qa,this.Object=nd,this.Encryption=od??void 0,this.UserMetadata=ld,this.UserTags=ud,this.LegalHold=dd,this.Mode=fd,this.RetainUntilDate=pd,this.MetadataDirective=md}getHeaders(){const qa="REPLACE",nd={},od=this.UserTags;if(isEmpty(od)||(nd["X-Amz-Tagging-Directive"]=qa,nd["X-Amz-Tagging"]=isObject(od)?queryString.stringify(od):isString(od)?od:""),this.Mode&&(nd["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(nd["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(nd["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[ld,ud]of Object.entries(this.UserMetadata))nd[`X-Amz-Meta-${ld}`]=ud.toString();if(this.MetadataDirective&&(nd["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const ld=getEncryptionHeaders(this.Encryption);for(const[ud,dd]of Object.entries(ld))nd[ud]=dd}return nd}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:nd,stats:od,progress:ld}){this.records=qa,this.response=nd,this.stats=od,this.progress=ld}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],nd=qa.pop();return typeof nd=="function"?Ra.apply(this,qa).then(od=>nd(null,od),od=>nd(od)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$3={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$3<"u"&&define_process_default$3.versions!=null&&define_process_default$3.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.accessKey=qa,this.secretKey=nd,this.sessionToken=od}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.credentials=new Credentials({accessKey:qa,secretKey:nd,sessionToken:od})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,nd,od,ld){if(!isString(Ra))throw new TypeError('method should be of type "string"');if(!isString(qa))throw new TypeError('path should be of type "string"');if(!isObject(nd))throw new TypeError('headers should be of type "object"');if(!Array.isArray(od))throw new TypeError('signedHeaders should be of type "array"');if(!isString(ld))throw new TypeError('hashedPayload should be of type "string"');const ud=od.reduce((fd,md)=>{const vd=`${nd[md]}`.replace(/ +/g," ");return fd.push(`${md.toLowerCase()}:${vd}`),fd},[]),dd=qa.split("?")[0];let pd=qa.split("?")[1];return pd||(pd=""),pd&&(pd=pd.split("&").sort().map(fd=>fd.includes("=")?fd:fd+"=").join("&")),[Ra.toUpperCase(),dd,pd,ud.join(`
|
||
`)+`
|
||
`,od.join(";").toLowerCase(),ld].join(`
|
||
`)}function getCredential(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('accessKey should be of type "string"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isObject(nd))throw new TypeError('requestDate should be of type "object"');return`${Ra}/${getScope(qa,nd,od)}`}function getSignedHeaders(Ra){if(!isObject(Ra))throw new TypeError('request should be of type "object"');const qa=["authorization","content-length","content-type","user-agent"];return Object.keys(Ra).filter(nd=>!qa.includes(nd)).sort()}function getSigningKey(Ra,qa,nd,od="s3"){if(!isObject(Ra))throw new TypeError('date should be of type "object"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');const ld=makeDateShort(Ra);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+nd).update(ld).digest()).update(qa).digest()).update(od).digest()).update("aws4_request").digest()}function getStringToSign(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject(qa))throw new TypeError('requestDate should be of type "object"');if(!isString(nd))throw new TypeError('region should be of type "string"');const ld=(void 0)("sha256").update(Ra).digest("hex"),ud=getScope(nd,qa,od);return[signV4Algorithm,makeDateLong(qa),ud,ld].join(`
|
||
`)}function postPresignSignatureV4(Ra,qa,nd,od){if(!isString(Ra))throw new TypeError('region should be of type "string"');if(!isObject(qa))throw new TypeError('date should be of type "object"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,nd)).update(od).digest("hex").toLowerCase()}function signV4(Ra,qa,nd,od,ld,ud,dd="s3"){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!nd)throw new SecretKeyRequiredError("secretKey is required for signing");const pd=getSignedHeaders(Ra.headers),fd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,pd,ud),md=dd||"s3",vd=getStringToSign(fd,ld,od,md),Ad=getSigningKey(ld,od,nd,md),Nd=getCredential(qa,od,ld,md),Id=(void 0)("sha256",Ad).update(vd).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Nd}, SignedHeaders=${pd.join(";").toLowerCase()}, Signature=${Id}`}function presignSignatureV4(Ra,qa,nd,od,ld,ud,dd){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(ld))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!nd)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber(dd))throw new TypeError('expires should be of type "number"');if(dd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(dd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const pd=makeDateLong(ud),fd=getSignedHeaders(Ra.headers),md=getCredential(qa,ld,ud),vd="UNSIGNED-PAYLOAD",Ad=[];Ad.push(`X-Amz-Algorithm=${signV4Algorithm}`),Ad.push(`X-Amz-Credential=${uriEscape(md)}`),Ad.push(`X-Amz-Date=${pd}`),Ad.push(`X-Amz-Expires=${dd}`),Ad.push(`X-Amz-SignedHeaders=${uriEscape(fd.join(";").toLowerCase())}`),od&&Ad.push(`X-Amz-Security-Token=${uriEscape(od)}`);const Nd=Ra.path.split("?")[0];let Id=Ra.path.split("?")[1];Id?Id=Id+"&"+Ad.join("&"):Id=Ad.join("&");const Od=Nd+"?"+Id,Md=getCanonicalRequest(Ra.method,Od,Ra.headers,fd,vd),Ud=getStringToSign(Md,ud,ld),Ld=(void 0)("sha256",getSigningKey(ud,ld,nd)).update(Ud).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+Od+`&X-Amz-Signature=${Ld}`}async function readAsBuffer(Ra){return new Promise((qa,nd)=>{const od=[];Ra.on("data",ld=>od.push(ld)).on("error",ld=>nd(ld)).on("end",()=>qa(Buffer$4.concat(od)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,nd)=>{Ra.on("data",()=>{}).on("error",od=>nd(od)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let nd={};const od=fxp.parse(Ra);od.Error&&(nd=od.Error);const ld=new S3Error;return Object.entries(nd).forEach(([ud,dd])=>{ld[ud.toLowerCase()]=dd}),Object.entries(qa).forEach(([ud,dd])=>{ld[ud]=dd}),ld}async function parseResponseError(Ra){const qa=Ra.statusCode;let nd,od;qa===301?(nd="MovedPermanently",od="Moved Permanently"):qa===307?(nd="TemporaryRedirect",od="Are you using the correct endpoint URL?"):qa===403?(nd="AccessDenied",od="Valid and authorized credentials required"):qa===404?(nd="NotFound",od="Not Found"):qa===405||qa===501?(nd="MethodNotAllowed",od="Method Not Allowed"):(nd="UnknownError",od=`${qa}`);const ld={};ld.amzRequestid=Ra.headers["x-amz-request-id"],ld.amzId2=Ra.headers["x-amz-id-2"],ld.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const ud=await readAsString(Ra);if(ud)throw parseError(ud,ld);const dd=new S3Error(od,{cause:ld});throw dd.code=nd,Object.entries(ld).forEach(([pd,fd])=>{dd[pd]=fd}),dd}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{const ld=sanitizeObjectKey(od.Key),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;let fd;od.UserMetadata!=null?fd=toArray(od.UserMetadata)[0]:fd=null,qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd,metadata:fd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const nd={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(nd.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(nd.marker=toArray(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray(qa.Part).forEach(od=>{const ld=parseInt(toArray(od.PartNumber)[0],10),ud=new Date(od.LastModified),dd=od.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");nd.parts.push({part:ld,lastModified:ud,etag:dd,size:parseInt(od.Size,10)})}),nd}function parseListBucket(Ra){let qa=[];const nd=parseXml(Ra);if(!nd.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:od={}}={}}=nd;return od.Bucket&&(qa=toArray(od.Bucket).map((ld={})=>{const{Name:ud,CreationDate:dd}=ld,pd=new Date(dd);return{name:ud,creationDate:pd}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:nd,Rule:od}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:nd,rules:toArray(od)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');const ud=od?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,nd,ud,ld),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,nd,od,ld){let ud=!1,dd="";do{const pd=await this.listObjectsV2WithMetadataQuery(qa,nd,dd,od,ld);ud=!pd.isTruncated,dd=pd.nextContinuationToken;for(const fd of pd.objects)yield fd}while(!ud)}async listObjectsV2WithMetadataQuery(qa,nd,od,ld,ud){const dd=[];dd.push("list-type=2"),dd.push("encoding-type=url"),dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ld)}`),dd.push("metadata=true"),od&&(od=uriEscape(od),dd.push(`continuation-token=${od}`)),ud&&(ud=uriEscape(ud),dd.push(`start-after=${ud}`)),dd.push("max-keys=1000"),dd.sort();let pd="";dd.length>0&&(pd=`${dd.join("&")}`);const md=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:pd});return parseListObjectsV2WithMetadata(await readAsString(md))}}async function request$1(Ra,qa,nd=null){return new Promise((od,ld)=>{const ud=Ra.request(qa,dd=>{od(dd)});if(!nd||Buffer$4.isBuffer(nd)||typeof nd=="string"){ud.on("error",dd=>{ld(dd)}).end(nd);return}streamBrowserify.pipeline(nd,ud,dd=>{dd&&ld(dd)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$2={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){wg(this,"partSize",64*1024*1024);wg(this,"maximumPartSize",5*1024*1024*1024);wg(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const nd=qa.endPoint.toLowerCase();let od=qa.port,ld,ud,dd;if(qa.useSSL?(ud=http,ld="https:",od=od||443,dd=void 0):(ud=http,ld="http:",od=od||80,dd=void 0),qa.transport){if(!isObject(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);ud=qa.transport}if(qa.transportAgent){if(!isObject(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);dd=qa.transportAgent}const fd=`MinIO ${`(${define_process_default$2.platform}; ${define_process_default$2.arch})`} minio-js/${Package.version}`;if(this.transport=ud,this.transportAgent=dd,this.host=nd,this.port=od,this.protocol=ld,this.userAgent=`${fd}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,nd){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(nd)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const nd=qa.method,od=qa.region,ld=qa.bucketName;let ud=qa.objectName;const dd=qa.headers,pd=qa.query;let fd={method:nd,headers:{},protocol:this.protocol,agent:this.transportAgent},md;ld&&(md=isVirtualHostStyle(this.host,this.protocol,ld,this.pathStyle));let vd="/",Ad=this.host,Nd;if(this.port&&(Nd=this.port),ud&&(ud=uriResourceEscape(ud)),isAmazonEndpoint(Ad)){const Id=this.getAccelerateEndPointIfSet(ld,ud);Id?Ad=`${Id}`:Ad=getS3Endpoint(od)}if(md&&!qa.pathStyle?(ld&&(Ad=`${ld}.${Ad}`),ud&&(vd=`/${ud}`)):(ld&&(vd=`/${ld}`),ud&&(vd=`/${ld}/${ud}`)),pd&&(vd+=`?${pd}`),fd.headers.host=Ad,(fd.protocol==="http:"&&Nd!==80||fd.protocol==="https:"&&Nd!==443)&&(fd.headers.host=`${Ad}:${Nd}`),fd.headers["user-agent"]=this.userAgent,dd)for(const[Id,Od]of Object.entries(dd))fd.headers[Id.toLowerCase()]=Od;return fd=Object.assign({},this.reqOptions,fd),{...fd,headers:_.mapValues(_.pickBy(fd.headers,isDefined),Id=>Id.toString()),host:Ad,port:Nd,path:vd}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,nd,od){if(!this.logStream)return;if(!isObject(qa))throw new TypeError('reqOptions should be of type "object"');if(nd&&!isReadableStream(nd))throw new TypeError('response should be of type "Stream"');if(od&&!(od instanceof Error))throw new TypeError('err should be of type "Error"');const ld=this.logStream,ud=dd=>{Object.entries(dd).forEach(([pd,fd])=>{if(pd=="authorization"&&isString(fd)){const md=new RegExp("Signature=([0-9a-f]+)");fd=fd.replace(md,"Signature=**REDACTED**")}ld.write(`${pd}: ${fd}
|
||
`)}),ld.write(`
|
||
`)};if(ld.write(`REQUEST: ${qa.method} ${qa.path}
|
||
`),ud(qa.headers),nd&&(this.logStream.write(`RESPONSE: ${nd.statusCode}
|
||
`),ud(nd.headers)),od){ld.write(`ERROR BODY:
|
||
`);const dd=JSON.stringify(od,null," ");ld.write(`${dd}
|
||
`)}}traceOn(qa){qa||(qa=define_process_default$2.stdout),this.logStream=qa}traceOff(){this.logStream=void 0}async makeRequestAsync(qa,nd="",od=[200],ld=""){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!isString(nd)&&!isObject(nd))throw new TypeError('payload should be of type "string" or "Buffer"');if(od.forEach(dd=>{if(!isNumber(dd))throw new TypeError('statusCode should be of type "number"')}),!isString(ld))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=nd.length.toString());const ud=this.enableSHA256?toSha256(nd):"";return this.makeRequestStreamAsync(qa,nd,ud,od,ld)}async makeRequestAsyncOmit(qa,nd="",od=[200],ld=""){const ud=await this.makeRequestAsync(qa,nd,od,ld);return await drainResponse(ud),ud}async makeRequestStreamAsync(qa,nd,od,ld,ud){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$4.isBuffer(nd)||typeof nd=="string"||isReadableStream(nd)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof nd} instead`);if(!isString(od))throw new TypeError('sha256sum should be of type "string"');if(ld.forEach(fd=>{if(!isNumber(fd))throw new TypeError('statusCode should be of type "number"')}),!isString(ud))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&od.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&od.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${od}`);await this.checkAndRefreshCreds(),ud=ud||await this.getBucketRegionAsync(qa.bucketName);const dd=this.getRequestOptions({...qa,region:ud});if(!this.anonymous){this.enableSHA256||(od="UNSIGNED-PAYLOAD");const fd=new Date;dd.headers["x-amz-date"]=makeDateLong(fd),dd.headers["x-amz-content-sha256"]=od,this.sessionToken&&(dd.headers["x-amz-security-token"]=this.sessionToken),dd.headers.authorization=signV4(dd,this.accessKey,this.secretKey,ud,fd,od)}const pd=await request$1(this.transport,dd,nd);if(!pd.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ld.includes(pd.statusCode)){delete this.regionMap[qa.bucketName];const fd=await parseResponseError(pd);throw this.logHTTP(dd,pd,fd),fd}return this.logHTTP(dd,pd),pd}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const nd=this.regionMap[qa];if(nd)return nd;const od=async md=>{const vd=await readAsString(md),Ad=parseBucketRegion(vd)||DEFAULT_REGION;return this.regionMap[qa]=Ad,Ad},ld="GET",ud="location",dd=this.pathStyle&&!isBrowser_1;let pd;try{const md=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],DEFAULT_REGION);return od(md)}catch(md){if(md.name!=="AuthorizationHeaderMalformed"||(pd=md.Region,!pd))throw md}const fd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:dd},"",[200],pd);return await od(fd)}makeRequest(qa,nd="",od=[200],ld="",ud,dd){let pd;ud?pd=this.makeRequestAsync(qa,nd,od,ld):pd=this.makeRequestAsyncOmit(qa,nd,od,ld),pd.then(fd=>dd(null,fd),fd=>{dd(fd)})}makeRequestStream(qa,nd,od,ld,ud,dd,pd){(async()=>{const md=await this.makeRequestStreamAsync(qa,nd,od,ld,ud);return dd||await drainResponse(md),md})().then(md=>pd(null,md),md=>pd(md))}getBucketRegion(qa,nd){return this.getBucketRegionAsync(qa).then(od=>nd(null,od),od=>nd(od))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('statOpts should be of type "object"');const ld=queryString.stringify(od),dd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:nd,query:ld});return{size:parseInt(dd.headers["content-length"]),metaData:extractMetadata(dd.headers),lastModified:new Date(dd.headers["last-modified"]),versionId:getVersionId(dd.headers),etag:sanitizeETag(dd.headers.etag)}}async removeObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');const ld="DELETE",ud={};od.governanceBypass&&(ud["X-Amz-Bypass-Governance-Retention"]=!0),od.forceDelete&&(ud["x-minio-force-delete"]=!0);const dd={};od.versionId&&(dd.versionId=`${od.versionId}`);const pd=queryString.stringify(dd);await this.makeRequestAsyncOmit({method:ld,bucketName:qa,objectName:nd,headers:ud,query:pd},"",[200,204])}async initiateNewMultipartUpload(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidObjectNameError('contentType should be of type "object"');const dd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:nd,query:"uploads",headers:od}),pd=await readAsBuffer(dd);return parseInitiateMultipart(pd.toString())}async abortMultipartUpload(qa,nd,od){const ld="DELETE",ud=`uploadId=${od}`,dd={method:ld,bucketName:qa,objectName:nd,query:ud};await this.makeRequestAsyncOmit(dd,"",[204])}async listParts(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");const ld=[];let ud=0,dd;do dd=await this.listPartsQuery(qa,nd,od,ud),ud=dd.marker,ld.push(...dd.parts);while(dd.isTruncated);return ld}async listPartsQuery(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isNumber(ld))throw new TypeError('marker should be of type "number"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");let ud=`uploadId=${uriEscape(od)}`;ld&&(ud+=`&part-number-marker=${ld}`);const pd=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:nd,query:ud});return parseListParts(await readAsString(pd))}async listBuckets(){const nd=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),od=await readAsString(nd);return parseListBucket(od)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)){if(_.isEmpty(nd.role))throw new InvalidArgumentError("Role cannot be empty");if(nd.role&&!isString(nd.role))throw new InvalidArgumentError("Invalid value for role",nd.role);if(_.isEmpty(nd.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const od="PUT",ld="replication",ud={},dd={ReplicationConfiguration:{Role:nd.role,Rule:nd.rules}},fd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(dd);ud["Content-MD5"]=toMd5(fd),await this.makeRequestAsyncOmit({method:od,bucketName:qa,query:ld,headers:ud},fd)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ld=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),ud=await readAsString(ld);return parseReplicationConfig(ud)}}class CopyConditions{constructor(){wg(this,"modified","");wg(this,"unmodified","");wg(this,"matchETag","");wg(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){wg(this,"policy",{conditions:[]});wg(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,nd){if(qa>nd)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(nd<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,nd])}setUserMetaData(qa){if(!isObject(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([nd,od])=>{const ld=`x-amz-meta-${nd}`;this.policy.conditions.push(["eq",`$${ld}`,od]),this.formData[ld]=od.toString()})}}var jsonStream={exports:{}},util=util$5,TransformStream$1=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream$1.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream$1);JSONStream.prototype._transform=function(Ra,qa,nd){Buffer$4.isBuffer(Ra)||(Ra=new Buffer$4(Ra)),this._buffer&&(Ra=Buffer$4.concat([this._buffer,Ra]));for(var od=0,ld=0;++od<=Ra.length;)if(Ra[od]===10||od===Ra.length){var ud;try{ud=JSON.parse(Ra.slice(ld,od))}catch{}ud&&(this.push(ud),ud=null),Ra[od]===10&&(ld=++od)}return this._buffer=Ra.slice(ld),this._async?void setImmediate(nd):void nd()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,nd,od)=>(typeof qa=="function"&&(od=nd,nd=qa,qa={}),typeof nd!="function"&&(nd=(ld,ud,dd)=>dd(null,ld)),typeof od!="function"&&(od=null),Ra(qa,nd,od))}const make=through2((Ra,qa,nd)=>{const od=new Transform(Ra);return od._transform=qa,nd&&(od._flush=nd),od}),ctor=through2((Ra,qa,nd)=>{function od(ld){if(!(this instanceof od))return new od(ld);this.options=Object.assign({},Ra,ld),Transform.call(this,this.options),this._transform=qa,nd&&(this._flush=nd)}return inherits(od,Transform),od}),obj=through2(function(Ra,qa,nd){const od=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return od._transform=qa,nd&&(od._flush=nd),od});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var nd=~~qa^-1,od=0;od<Ra.length;od++)nd=CRC_TABLE[(nd^Ra[od])&255]^nd>>>8;return nd^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},nd=parseXml(Ra);if(!nd.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return nd=nd.CopyObjectResult,nd.ETag&&(qa.etag=nd.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),nd.LastModified&&(qa.lastModified=new Date(nd.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return nd=nd.ListMultipartUploadsResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextKeyMarker&&(qa.nextKeyMarker=nd.NextKeyMarker),nd.NextUploadIdMarker&&(qa.nextUploadIdMarker=nd.nextUploadIdMarker||""),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0])})}),nd.Upload&&toArray(nd.Upload).forEach(od=>{var ld=od.Key,ud=od.UploadId,dd={id:od.Initiator.ID,displayName:od.Initiator.DisplayName},pd={id:od.Owner.ID,displayName:od.Owner.DisplayName},fd=od.StorageClass,md=new Date(od.Initiated);qa.uploads.push({key:ld,uploadId:ud,initiator:dd,owner:pd,storageClass:fd,initiated:md})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},nd=function(ud){var dd=[];return ud&&toArray(ud).forEach(pd=>{dd.push(pd)}),dd},od=function(ud){var dd=[];return ud&&(ud=toArray(ud),ud[0].S3Key&&(ud[0].S3Key=toArray(ud[0].S3Key),ud[0].S3Key[0].FilterRule&&toArray(ud[0].S3Key[0].FilterRule).forEach(pd=>{var fd=toArray(pd.Name)[0],md=toArray(pd.Value)[0];dd.push({Name:fd,Value:md})}))),dd},ld=parseXml(Ra);return ld=ld.NotificationConfiguration,ld.TopicConfiguration&&toArray(ld.TopicConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Topic)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.TopicConfiguration.push({Id:dd,Topic:pd,Event:fd,Filter:md})}),ld.QueueConfiguration&&toArray(ld.QueueConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.Queue)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.QueueConfiguration.push({Id:dd,Queue:pd,Event:fd,Filter:md})}),ld.CloudFunctionConfiguration&&toArray(ld.CloudFunctionConfiguration).forEach(ud=>{var dd=toArray(ud.Id)[0],pd=toArray(ud.CloudFunction)[0],fd=nd(ud.Event),md=od(ud.Filter);qa.CloudFunctionConfiguration.push({Id:dd,CloudFunction:pd,Event:fd,Filter:md})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var nd=toArray(qa.Location)[0],od=toArray(qa.Bucket)[0],ld=qa.Key,ud=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");return{location:nd,bucket:od,key:ld,etag:ud}}if(qa.Code&&qa.Message){var dd=toArray(qa.Code)[0],pd=toArray(qa.Message)[0];return{errCode:dd,errMessage:pd}}}const formatObjInfo=(Ra,qa={})=>{let{Key:nd,LastModified:od,ETag:ld,Size:ud,VersionId:dd,IsLatest:pd}=Ra;isObject(qa)||(qa={});const fd=sanitizeObjectKey(toArray(nd)[0]),md=new Date(toArray(od)[0]),vd=sanitizeETag(toArray(ld)[0]),Ad=sanitizeSize(ud);return{name:fd,lastModified:md,etag:vd,size:Ad,versionId:dd,isLatest:pd,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let nd=!1,od,ld;const ud=fxpWithoutNumParser.parse(Ra),dd=md=>{md&&toArray(md).forEach(vd=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(vd.Prefix)[0]),size:0})})},pd=ud.ListBucketResult,fd=ud.ListVersionsResult;return pd&&(pd.IsTruncated&&(nd=pd.IsTruncated),pd.Contents&&toArray(pd.Contents).forEach(md=>{const vd=sanitizeObjectKey(toArray(md.Key)[0]),Ad=new Date(toArray(md.LastModified)[0]),Nd=sanitizeETag(toArray(md.ETag)[0]),Id=sanitizeSize(md.Size);qa.objects.push({name:vd,lastModified:Ad,etag:Nd,size:Id})}),pd.NextMarker&&(od=pd.NextMarker),dd(pd.CommonPrefixes)),fd&&(fd.IsTruncated&&(nd=fd.IsTruncated),fd.Version&&toArray(fd.Version).forEach(md=>{qa.objects.push(formatObjInfo(md))}),fd.DeleteMarker&&toArray(fd.DeleteMarker).forEach(md=>{qa.objects.push(formatObjInfo(md,{IsDeleteMarker:!0}))}),fd.NextKeyMarker&&(ld=fd.NextKeyMarker),fd.NextVersionIdMarker&&(qa.versionIdMarker=fd.NextVersionIdMarker),dd(fd.CommonPrefixes)),qa.isTruncated=nd,nd&&(qa.nextMarker=ld||od),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{var ld=sanitizeObjectKey(toArray(od.Key)[0]),ud=new Date(od.LastModified),dd=sanitizeETag(od.ETag),pd=od.Size;qa.objects.push({name:ld,lastModified:ud,etag:dd,size:pd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let nd=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const od=qa.Tagging.TagSet.Tag;isObject(od)?nd.push(od):nd=od}return nd}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let nd={};if(qa.ObjectLockConfiguration){nd={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let od;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(od=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},nd.mode=od.Mode),od){const ld=od.Years;ld?(nd.validity=ld,nd.unit=RETENTION_VALIDITY_UNITS.YEARS):(nd.validity=od.Days,nd.unit=RETENTION_VALIDITY_UNITS.DAYS)}return nd}}function parseObjectRetentionConfig(Ra){const nd=parseXml(Ra).Retention;return{mode:nd.Mode,retainUntilDate:nd.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(ud){const dd=Buffer$4.from(ud.read(1)).readUInt8(),fd=(Buffer$4.from(ud.read(dd)).toString()||"").split(":");return fd.length>=1?fd[1]:""}function nd(ud){const dd=Buffer$4.from(ud.read(2)).readUInt16BE();return Buffer$4.from(ud.read(dd)).toString()}const od=new SelectResults({}),ld=readableStream(Ra);for(;ld._readableState.length;){let ud;const dd=Buffer$4.from(ld.read(4));ud=crc32$1(dd);const pd=Buffer$4.from(ld.read(4));ud=crc32$1(pd,ud);const fd=ud.readInt32BE(),md=Buffer$4.from(ld.read(4));ud=crc32$1(md,ud);const vd=dd.readInt32BE(),Ad=pd.readInt32BE(),Nd=md.readInt32BE();if(Nd!==fd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Nd} does not equal expected CRC of ${fd}`);const Id={};if(Ad>0){const jd=Buffer$4.from(ld.read(Ad));ud=crc32$1(jd,ud);const Ld=readableStream(jd);for(;Ld._readableState.length;){let Bd=qa(Ld);Ld.read(1),Id[Bd]=nd(Ld)}}let Od;const Md=vd-Ad-16;if(Md>0){const jd=Buffer$4.from(ld.read(Md));ud=crc32$1(jd,ud);const Ld=Buffer$4.from(ld.read(4)).readInt32BE(),Bd=ud.readInt32BE();if(Ld!==Bd)throw new Error(`Message Checksum Mismatch, Message CRC of ${Ld} does not equal expected CRC of ${Bd}`);Od=readableStream(jd)}const Ud=Id["message-type"];switch(Ud){case"error":{const jd=Id["error-code"]+':"'+Id["error-message"]+'"';throw new Error(jd)}case"event":{const jd=Id["content-type"];switch(Id["event-type"]){case"End":return od.setResponse(Ra),od;case"Records":{const Bd=Od.read(Md);od.setRecords(Bd);break}case"Progress":switch(jd){case"text/xml":{const Bd=Od.read(Md);od.setProgress(Bd.toString());break}default:{const Bd=`Unexpected content-type ${jd} sent for event-type Progress`;throw new Error(Bd)}}break;case"Stats":switch(jd){case"text/xml":{const Bd=Od.read(Md);od.setStats(Bd.toString());break}default:{const Bd=`Unexpected content-type ${jd} sent for event-type Stats`;throw new Error(Bd)}}break;default:{const Bd=`Un implemented event detected ${Ud}.`;console.warn(Bd)}}}}}}function getConcater(Ra,qa){var nd=!1,od=[];if(Ra&&!isFunction(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(nd=!0),Through2({objectMode:nd},function(ld,ud,dd){od.push(ld),dd()},function(ld){od.length&&(Ra?this.push(Ra(Buffer$4.concat(od).toString())):this.push(Buffer$4.concat(od))),ld()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$1={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let nd="";qa instanceof TopicConfig&&(nd="TopicConfiguration"),qa instanceof QueueConfig&&(nd="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(nd="CloudFunctionConfiguration"),this[nd]||(this[nd]=[]),this[nd].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,nd,od,ld,ud){super(),this.client=qa,this.bucketName=nd,this.prefix=od,this.suffix=ld,this.events=ud,this.ending=!1}start(){this.ending=!1,define_process_default$1.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var nd=[];if(this.prefix){var od=uriEscape(this.prefix);nd.push(`prefix=${od}`)}if(this.suffix){var ld=uriEscape(this.suffix);nd.push(`suffix=${ld}`)}this.events&&this.events.forEach(pd=>nd.push("events="+uriEscape(pd))),nd.sort();var ud="";nd.length>0&&(ud=`${nd.join("&")}`);const dd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ud},"",[200],dd,!0,(pd,fd)=>{if(pd)return this.emit("error",pd);let md=getNotificationTransformer();pipesetup(fd,md).on("data",vd=>{let Ad=vd.Records;Ad||(Ad=[]),Ad.forEach(Nd=>{this.emit("notification",Nd)}),this.ending&&fd.destroy()}).on("error",vd=>this.emit("error",vd)).on("end",()=>{define_process_default$1.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_cae53cb0-01fa-4919-a2d3-34225d042075",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_cae53cb0-01fa-4919-a2d3-34225d042075",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"830",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5767",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12426014186",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_253faef1-bcaf-4555-9a41-24160991ce1e",INVOCATION_ID:"e675c235e8574ceb96b996bd77e2bc61",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"472",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 8",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"f10c5e665f5d96991ca517ab5d2a0d9d2c311000",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_cae53cb0-01fa-4919-a2d3-34225d042075",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_cae53cb0-01fa-4919-a2d3-34225d042075",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_cae53cb0-01fa-4919-a2d3-34225d042075",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2177,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,nd,od,ld,ud,dd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=nd,this.objectName=od,this.partSize=ld,this.metaData=ud,this.callback=dd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",pd=>{dd(pd)})}_transform(qa,nd,od){this.emptyStream=!1;let ld="PUT",ud={"Content-Length":qa.length},dd="";if(this.client.enableSHA256||(dd=(void 0)("md5").update(qa).digest(),ud["Content-MD5"]=dd.toString("base64")),this.partNumber==1&&qa.length<this.partSize){let vd={method:ld,headers:Object.assign({},this.metaData,ud),query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(vd,qa,[200],"",!0,(Ad,Nd)=>{if(Ad)return od(Ad);let Id={etag:sanitizeETag(Nd.headers.etag),versionId:getVersionId(Nd.headers)};Nd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,Id)}),od()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,nd,od)}),this.client.findUploadId(this.bucketName,this.objectName,(vd,Ad)=>{if(vd)return this.emit("error",vd);if(!Ad){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Nd=>{this.id=Nd,this.emit("ready")},Nd=>od(Nd));return}this.id=Ad,this.client.listParts(this.bucketName,this.objectName,Ad).then(Nd=>{Nd||(Nd=[]),this.oldParts=Nd.reduce(function(Id,Od){return Id[Od.part]||(Id[Od.part]=Od),Id},{}),this.emit("ready")},Nd=>this.emit("error",Nd))});return}let pd=this.partNumber++;if(this.oldParts){let vd=this.oldParts[pd];if(dd||(dd=(void 0)("md5").update(qa).digest()),vd&&dd.toString("hex")===vd.etag){this.etags.push({part:pd,etag:vd.etag}),od();return}}let fd=queryString.stringify({partNumber:pd,uploadId:this.id}),md={method:ld,query:fd,headers:ud,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(md,qa,[200],"",!0,(vd,Ad)=>{if(vd)return od(vd);let Nd=Ad.headers.etag;Nd&&(Nd=Nd.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:pd,etag:Nd}),Ad.on("data",()=>{}),od()})}_flush(qa){if(this.emptyStream){let nd="PUT",od=Object.assign({},this.metaData,{"Content-Length":0}),ld={method:nd,headers:od,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(ld,"",[200],"",!0,(ud,dd)=>{if(ud)return qa(ud);let pd={etag:sanitizeETag(dd.headers.etag),versionId:getVersionId(dd.headers)};dd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,pd)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(nd,od)=>{if(nd)return qa(nd);define_process_default.nextTick(()=>{this.callback(null,od)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let nd=[...arguments];return new Promise((od,ld)=>{nd.push((ud,dd)=>{if(ud)return ld(ud);od(dd)}),Ra.apply(this,nd)})}}class Client extends TypedClient{setAppInfo(qa,nd){if(!isString(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString(nd))throw new TypeError(`Invalid appVersion: ${nd}`);if(nd.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${nd}`}calculatePartSize(qa){if(!isNumber(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var nd=this.partSize;;){if(nd*1e4>qa)return nd;nd+=16*1024*1024}}makeBucket(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)&&(ld=od,od=nd,nd=""),isFunction(nd)&&(ld=nd,nd="",od={}),isFunction(od)&&(ld=od,od={}),!isString(nd))throw new TypeError('region should be of type "string"');if(!isObject(od))throw new TypeError('makeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');var ud="";if(nd&&this.region&&nd!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${nd}`);if(nd&&nd!==DEFAULT_REGION){var dd=[];dd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),dd.push({LocationConstraint:nd});var pd={CreateBucketConfiguration:dd};ud=Xml(pd)}var fd="PUT",md={};od.ObjectLocking&&(md["x-amz-bucket-object-lock-enabled"]=!0),nd||(nd=DEFAULT_REGION);const vd=Ad=>{if(Ad&&(nd===""||nd===DEFAULT_REGION))if(Ad.code==="AuthorizationHeaderMalformed"&&Ad.region!=="")this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],Ad.region,!1,ld);else return ld&&ld(Ad);return ld&&ld(Ad)};this.makeRequest({method:fd,bucketName:qa,headers:md},ud,[200],nd,!1,vd)}listIncompleteUploads(qa,nd,od){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');var ld=od?"":"/",ud="",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length)return md.push(pd.shift());if(fd)return md.push(null);this.listIncompleteUploadsQuery(qa,nd,ud,dd,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.prefixes.forEach(Ad=>pd.push(Ad)),index.eachSeries(vd.uploads,(Ad,Nd)=>{this.listParts(qa,Ad.key,Ad.uploadId).then(Id=>{Ad.size=Id.reduce((Od,Md)=>Od+Md.size,0),pd.push(Ad),Nd()},Nd)},Ad=>{if(Ad){md.emit("error",Ad);return}vd.isTruncated?(ud=vd.nextKeyMarker,dd=vd.nextUploadIdMarker):fd=!0,md._read()})})},md}bucketExists(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="HEAD";this.makeRequest({method:od,bucketName:qa},"",[200],"",!1,ld=>{if(ld)return ld.code=="NoSuchBucket"||ld.code=="NotFound"?nd(null,!1):nd(ld);nd(null,!0)})}removeIncompleteUpload(qa,nd,od){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld;index.during(ud=>{this.findUploadId(qa,nd,(dd,pd)=>{if(dd)return ud(dd);ld=pd,ud(null,pd)})},ud=>{var dd="DELETE",pd=`uploadId=${ld}`;this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},"",[204],"",!1,fd=>ud(fd))},od)}fGetObject(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isFunction(ud))throw new TypeError('callback should be of type "function"');var dd,pd,fd,md=vd=>{if(vd)return ud(vd);(void 0)(dd,od,ud)};index.waterfall([vd=>this.statObject(qa,nd,ld,vd),(vd,Ad)=>{fd=vd,(void 0)(pathBrowserify.dirname(od),{recursive:!0},Nd=>Ad(Nd))},vd=>{dd=`${od}.${fd.etag}.part.minio`,(void 0)(dd,(Ad,Nd)=>{var Id=0;if(Ad)pd=(void 0)(dd,{flags:"w"});else{if(fd.size===Nd.size)return md();Id=Nd.size,pd=(void 0)(dd,{flags:"a"})}this.getPartialObject(qa,nd,Id,0,ld,vd)})},(vd,Ad)=>{pipesetup(vd,pd).on("error",Nd=>Ad(Nd)).on("finish",Ad)},vd=>(void 0)(dd,vd),(vd,Ad)=>{if(vd.size===fd.size)return Ad();Ad(new Error("Size mismatch between downloaded file and the object"))}],md)}getObject(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),!isFunction(ld))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,nd,0,0,od,ld)}getPartialObject(qa,nd,od,ld,ud={},dd){if(isFunction(ld)&&(dd=ld,ld=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isNumber(od))throw new TypeError('offset should be of type "number"');if(!isNumber(ld))throw new TypeError('length should be of type "number"');if(isFunction(ud)&&(dd=ud,ud={}),!isFunction(dd))throw new TypeError('callback should be of type "function"');var pd="";(od||ld)&&(od?pd=`bytes=${+od}-`:(pd="bytes=0-",od=0),ld&&(pd+=`${+ld+od-1}`));var fd={};pd!==""&&(fd.range=pd);var md=[200];pd&&md.push(206);var vd="GET",Ad=queryString.stringify(ud);this.makeRequest({method:vd,bucketName:qa,objectName:nd,headers:fd,query:Ad},"",md,"",!0,dd)}fPutObject(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isObject(ld))throw new TypeError('metaData should be of type "object"');ld=insertContentType(ld,od),(void 0)(od,(dd,pd)=>dd?ud(dd):this.putObject(qa,nd,(void 0)(od),pd.size,ld,ud))}putObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(ld)?(dd=ld,ud={}):isFunction(ud)&&(dd=ud,ud={}),isObject(ld)&&(ud=ld),ud=prependXAMZMeta(ud),typeof od=="string"||od instanceof Buffer$4)ld=od.length,od=readableStream(od);else if(!isReadableStream(od))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction(dd))throw new TypeError('callback should be of type "function"');if(isNumber(ld)&&ld<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${ld}`);isNumber(ld)||(ld=this.maxObjectSize),ld=this.calculatePartSize(ld);let pd=new BlockStream2({size:ld,zeroPadding:!1}),fd=new ObjectUploader(this,qa,nd,ld,ud,dd);pipesetup(od,pd,fd)}copyObjectV1(qa,nd,od,ld,ud){var dd=qa,pd=nd,fd=od,md,vd;if(typeof ld=="function"&&ud===void 0?(md=null,vd=ld):(md=ld,vd=ud),!isValidBucketName(dd))throw new InvalidBucketNameError("Invalid bucket name: "+dd);if(!isValidObjectName(pd))throw new InvalidObjectNameError(`Invalid object name: ${pd}`);if(!isString(fd))throw new TypeError('srcObject should be of type "string"');if(fd==="")throw new InvalidPrefixError("Empty source prefix");if(md!==null&&!(md instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var Ad={};Ad["x-amz-copy-source"]=uriResourceEscape(fd),md!==null&&(md.modified!==""&&(Ad["x-amz-copy-source-if-modified-since"]=md.modified),md.unmodified!==""&&(Ad["x-amz-copy-source-if-unmodified-since"]=md.unmodified),md.matchETag!==""&&(Ad["x-amz-copy-source-if-match"]=md.matchETag),md.matchEtagExcept!==""&&(Ad["x-amz-copy-source-if-none-match"]=md.matchETagExcept));var Nd="PUT";this.makeRequest({method:Nd,bucketName:dd,objectName:pd,headers:Ad},"",[200],"",!0,(Id,Od)=>{if(Id)return vd(Id);var Md=getCopyObjectTransformer();pipesetup(Od,Md).on("error",Ud=>vd(Ud)).on("data",Ud=>vd(null,Ud))})}copyObjectV2(qa,nd,od){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(nd instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!nd.validate()||!nd.validate())return!1;if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=Object.assign({},qa.getHeaders(),nd.getHeaders()),ud=nd.Bucket,dd=nd.Object;this.makeRequest({method:"PUT",bucketName:ud,objectName:dd,headers:ld},"",[200],"",!0,(fd,md)=>{if(fd)return od(fd);const vd=getCopyObjectTransformer();pipesetup(md,vd).on("error",Ad=>od(Ad)).on("data",Ad=>{const Nd=md.headers,Id={Bucket:nd.Bucket,Key:nd.Object,LastModified:Ad.LastModified,MetaData:extractMetadata(Nd),VersionId:getVersionId(Nd),SourceVersionId:getSourceVersionId(Nd),Etag:sanitizeETag(Nd.etag),Size:+Nd["content-length"]};return od(null,Id)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,nd,od,ld={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('marker should be of type "string"');let{Delimiter:ud,MaxKeys:dd,IncludeVersion:pd}=ld;if(!isObject(ld))throw new TypeError('listQueryOpts should be of type "object"');if(!isString(ud))throw new TypeError('Delimiter should be of type "string"');if(!isNumber(dd))throw new TypeError('MaxKeys should be of type "number"');const fd=[];fd.push(`prefix=${uriEscape(nd)}`),fd.push(`delimiter=${uriEscape(ud)}`),fd.push("encoding-type=url"),pd&&fd.push("versions"),od&&(od=uriEscape(od),pd?fd.push(`key-marker=${od}`):fd.push(`marker=${od}`)),dd&&(dd>=1e3&&(dd=1e3),fd.push(`max-keys=${dd}`)),fd.sort();var md="";fd.length>0&&(md=`${fd.join("&")}`);var vd="GET",Ad=getListObjectsTransformer();return this.makeRequest({method:vd,bucketName:qa,query:md},"",[200],"",!0,(Nd,Id)=>{if(Nd)return Ad.emit("error",Nd);pipesetup(Id,Ad)}),Ad}listObjects(qa,nd,od,ld={}){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isObject(ld))throw new TypeError('listOpts should be of type "object"');var ud="";const dd={Delimiter:od?"":"/",MaxKeys:1e3,IncludeVersion:ld.IncludeVersion};var pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsQuery(qa,nd,ud,dd).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?ud=vd.nextMarker||vd.versionIdMarker:fd=!0,pd=vd.objects,md._read()})},md}listObjectsV2Query(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('continuationToken should be of type "string"');if(!isString(ld))throw new TypeError('delimiter should be of type "string"');if(!isNumber(ud))throw new TypeError('maxKeys should be of type "number"');if(!isString(dd))throw new TypeError('startAfter should be of type "string"');var pd=[];pd.push("list-type=2"),pd.push("encoding-type=url"),pd.push(`prefix=${uriEscape(nd)}`),pd.push(`delimiter=${uriEscape(ld)}`),od&&(od=uriEscape(od),pd.push(`continuation-token=${od}`)),dd&&(dd=uriEscape(dd),pd.push(`start-after=${dd}`)),ud&&(ud>=1e3&&(ud=1e3),pd.push(`max-keys=${ud}`)),pd.sort();var fd="";pd.length>0&&(fd=`${pd.join("&")}`);var md="GET",vd=getListObjectsV2Transformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}listObjectsV2(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');var ud=od?"":"/",dd="",pd=[],fd=!1,md=streamBrowserify.Readable({objectMode:!0});return md._read=()=>{if(pd.length){md.push(pd.shift());return}if(fd)return md.push(null);this.listObjectsV2Query(qa,nd,dd,ud,1e3,ld).on("error",vd=>md.emit("error",vd)).on("data",vd=>{vd.isTruncated?dd=vd.nextContinuationToken:fd=!0,pd=vd.objects,md._read()})},md}removeObjects(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(nd))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=1e3,ud="delete",dd="POST";let pd=nd.reduce((vd,Ad)=>(vd.list.push(Ad),vd.list.length===ld&&(vd.listOfList.push(vd.list),vd.list=[]),vd),{listOfList:[],list:[]});pd.list.length>0&&pd.listOfList.push(pd.list);const fd=new Encoder,md=[];index.eachSeries(pd.listOfList,(vd,Ad)=>{var Nd=[];vd.forEach(function(Ld){isObject(Ld)?Nd.push({Key:Ld.name,VersionId:Ld.versionId}):Nd.push({Key:Ld})});let Id={Delete:{Quiet:!0,Object:Nd}},Md=new xml2js.Builder({headless:!0}).buildObject(Id);Md=Buffer$4.from(fd.encode(Md));const Ud={};Ud["Content-MD5"]=toMd5(Md);let jd;this.makeRequest({method:dd,bucketName:qa,query:ud,headers:Ud},Md,[200],"",!0,(Ld,Bd)=>{if(Ld)return Ad(Ld);pipesetup(Bd,removeObjectsTransformer()).on("data",Gd=>{jd=Gd}).on("error",Gd=>Ad(Gd,null)).on("end",()=>(md.push(jd),Ad(null,jd)))})},()=>{od(null,_.flatten(md))})}getBucketPolicy(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,getConcater()).on("data",fd=>pd=fd).on("error",nd).on("end",()=>{nd(null,pd.toString())})})}setBucketPolicy(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${nd} - must be "string"`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');let ld="DELETE",ud="policy";nd&&(ld="PUT"),this.makeRequest({method:ld,bucketName:qa,query:ud},nd,[204],"",!1,od)}presignedUrl(qa,nd,od,ld,ud,dd,pd){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction(dd)&&(pd=dd,dd=new Date),isFunction(ud)&&(pd=ud,ud={},dd=new Date),isFunction(ld)&&(pd=ld,ud={},ld=24*60*60*7,dd=new Date),!isNumber(ld))throw new TypeError('expires should be of type "number"');if(!isObject(ud))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(dd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction(pd))throw new TypeError('callback should be of type "function"');var fd=queryString.stringify(ud);this.getBucketRegion(nd,(md,vd)=>{if(md)return pd(md);var Ad,Nd=this.getRequestOptions({method:qa,region:vd,bucketName:nd,objectName:od,query:fd});this.checkAndRefreshCreds();try{Ad=presignSignatureV4(Nd,this.accessKey,this.secretKey,this.sessionToken,vd,dd,ld)}catch(Id){return pd(Id)}pd(null,Ad)})}presignedGetObject(qa,nd,od,ld,ud,dd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);isFunction(ld)&&(dd=ld,ld={},ud=new Date);var pd=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return pd.forEach(fd=>{if(ld!==void 0&&ld[fd]!==void 0&&!isString(ld[fd]))throw new TypeError(`response header ${fd} should be of type "string"`)}),this.presignedUrl("GET",qa,nd,od,ld,ud,dd)}presignedPutObject(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);return this.presignedUrl("PUT",qa,nd,od,ld)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,nd){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction(nd))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(od,ld)=>{if(od)return nd(od);var ud=new Date,dd=makeDateLong(ud);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var pd=new Date;pd.setSeconds(24*60*60*7),qa.setExpires(pd)}qa.policy.conditions.push(["eq","$x-amz-date",dd]),qa.formData["x-amz-date"]=dd,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(ld,ud)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(ld,ud),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var fd=Buffer$4.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=fd;var md=postPresignSignatureV4(ld,ud,this.secretKey,fd);qa.formData["x-amz-signature"]=md;var vd={};vd.region=ld,vd.bucketName=qa.formData.bucket;var Ad=this.getRequestOptions(vd),Nd=this.port==80||this.port===443?"":`:${this.port.toString()}`,Id=`${Ad.protocol}//${Ad.host}${Nd}${Ad.path}`;nd(null,{postURL:Id,formData:qa.formData})})}completeMultipartUpload(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isObject(ld))throw new TypeError('etags should be of type "Array"');if(!isFunction(ud))throw new TypeError('cb should be of type "function"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");var dd="POST",pd=`uploadId=${uriEscape(od)}`,fd=[];ld.forEach(Ad=>{fd.push({Part:[{PartNumber:Ad.part},{ETag:Ad.etag}]})});var md={CompleteMultipartUpload:fd},vd=Xml(md);this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd},vd,[200],"",!0,(Ad,Nd)=>{if(Ad)return ud(Ad);var Id=getCompleteMultipartTransformer();pipesetup(Nd,Id).on("error",Od=>ud(Od)).on("data",Od=>{if(Od.errCode)ud(new S3Error(Od.errMessage));else{const Md={etag:Od.etag,versionId:getVersionId(Nd.headers)};ud(null,Md)}})})}listIncompleteUploadsQuery(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('keyMarker should be of type "string"');if(!isString(ld))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString(ud))throw new TypeError('delimiter should be of type "string"');var dd=[];dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ud)}`),od&&(od=uriEscape(od),dd.push(`key-marker=${od}`)),ld&&dd.push(`upload-id-marker=${ld}`);var pd=1e3;dd.push(`max-uploads=${pd}`),dd.sort(),dd.unshift("uploads");var fd="";dd.length>0&&(fd=`${dd.join("&")}`);var md="GET",vd=getListMultipartTransformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}findUploadId(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('cb should be of type "function"');var ld,ud=(dd,pd)=>{this.listIncompleteUploadsQuery(qa,nd,dd,pd,"").on("error",fd=>od(fd)).on("data",fd=>{if(fd.uploads.forEach(md=>{if(md.key===nd&&(!ld||md.initiated.getTime()>ld.initiated.getTime())){ld=md;return}}),fd.isTruncated){ud(fd.nextKeyMarker,fd.nextUploadIdMarker);return}if(ld)return od(null,ld.uploadId);od(null,void 0)})};ud("","")}setBucketNotification(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new TypeError('notification config should be of type "Object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="notification",dd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}removeAllBucketNotification(qa,nd){this.setBucketNotification(qa,new NotificationConfig,nd)}getBucketNotification(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="GET",ld="notification";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);var pd=getBucketNotificationTransformer(),fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}listenBucketNotification(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new TypeError("prefix must be of type string");if(!isString(od))throw new TypeError("suffix must be of type string");if(!Array.isArray(ld))throw new TypeError("events must be of type Array");let ud=new NotificationPoller(this,qa,nd,od,ld);return ud.start(),ud}getBucketVersioning(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');var od="GET",ld="versioning";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketVersioningTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}setBucketVersioning(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(nd).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="versioning",dd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),pd=dd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},pd,[200],"",!1,od)}setTagging(qa){const{bucketName:nd,objectName:od,tags:ld,putOpts:ud={},cb:dd}=qa,pd="PUT";let fd="tagging";ud&&ud.versionId&&(fd=`${fd}&versionId=${ud.versionId}`);const md=[];for(const[Ud,jd]of Object.entries(ld))md.push({Key:Ud,Value:jd});const vd={Tagging:{TagSet:{Tag:md}}},Ad=new Encoder,Nd={};let Od=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(vd);Od=Buffer$4.from(Ad.encode(Od)),Nd["Content-MD5"]=toMd5(Od);const Md={method:pd,bucketName:nd,query:fd,headers:Nd};od&&(Md.objectName=od),Nd["Content-MD5"]=toMd5(Od),this.makeRequest(Md,Od,[200],"",!1,dd)}setBucketTagging(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(nd).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction(od))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:nd,cb:od})}setObjectTagging(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(ld)&&(ud=ld,ld={}),!isObject(od))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(od).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction(ud))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:nd,tags:od,putOpts:ld,cb:ud})}removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld}){const ud="DELETE";let dd="tagging";od&&Object.keys(od).length&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,objectName:nd,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200,204],"",!0,ld)}removeBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:nd})}removeObjectTagging(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),od&&Object.keys(od).length&&!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld})}getBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const ud={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{var fd=getTagsTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}getObjectTagging(qa,nd,od={},ld=()=>!1){const ud="GET";let dd="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),!isObject(od))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');od&&od.versionId&&(dd=`${dd}&versionId=${od.versionId}`);const pd={method:ud,bucketName:qa,query:dd};nd&&(pd.objectName=nd),this.makeRequest(pd,"",[200],"",!0,(fd,md)=>{const vd=getTagsTransformer();if(fd)return ld(fd);let Ad;pipesetup(md,vd).on("data",Nd=>Ad=Nd).on("error",Nd=>ld(Nd)).on("end",()=>ld(null,Ad))})}applyBucketLifecycle(qa,nd,od){const ld="PUT",ud="lifecycle",dd=new Encoder,pd={};let md=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(nd);md=Buffer$4.from(dd.encode(md));const vd={method:ld,bucketName:qa,query:ud,headers:pd};pd["Content-MD5"]=toMd5(md),this.makeRequest(vd,md,[200],"",!1,od)}removeBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,nd)}setBucketLifecycle(qa,nd=null,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(nd)?this.removeBucketLifecycle(qa,od):this.applyBucketLifecycle(qa,nd,od)}getBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ud={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(ud,"",[200],"",!0,(dd,pd)=>{const fd=lifecycleTransformer();if(dd)return nd(dd);let md;pipesetup(pd,fd).on("data",vd=>md=vd).on("error",vd=>nd(vd)).on("end",()=>nd(null,md))})}setObjectLockConfig(qa,nd={},od){const ld=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],ud=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(nd.mode&&!ld.includes(nd.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${ld}`);if(nd.unit&&!ud.includes(nd.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ud}`);if(nd.validity&&!isNumber(nd.validity))throw new TypeError("lockConfigOpts.validity should be a number");const dd="PUT",pd="object-lock";let fd={ObjectLockEnabled:"Enabled"};const md=Object.keys(nd);if(md.length>0){if(_.difference(md,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");fd.Rule={DefaultRetention:{}},nd.mode&&(fd.Rule.DefaultRetention.Mode=nd.mode),nd.unit===RETENTION_VALIDITY_UNITS.DAYS?fd.Rule.DefaultRetention.Days=nd.validity:nd.unit===RETENTION_VALIDITY_UNITS.YEARS&&(fd.Rule.DefaultRetention.Years=nd.validity)}const Ad=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Nd={};Nd["Content-MD5"]=toMd5(Ad),this.makeRequest({method:dd,bucketName:qa,query:pd,headers:Nd},Ad,[200],"",!1,od)}getObjectLockConfig(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,objectLockTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}putObjectRetention(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.governanceBypass&&!isBoolean(od.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",od.governanceBypass);if(od.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(od.mode))throw new InvalidArgumentError("Invalid object retention mode ",od.mode);if(od.retainUntilDate&&!isString(od.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",od.retainUntilDate);if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError("Invalid value for versionId",od.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="PUT";let dd="retention";const pd={};od.governanceBypass&&(pd["X-Amz-Bypass-Governance-Retention"]=!0);const fd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),md={};od.mode&&(md.Mode=od.mode),od.retainUntilDate&&(md.RetainUntilDate=od.retainUntilDate),od.versionId&&(dd+=`&versionId=${od.versionId}`);let vd=fd.buildObject(md);pd["Content-MD5"]=toMd5(vd),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd,headers:pd},vd,[200,204],"",!1,ld)}getObjectRetention(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(ld&&!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="retention";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectRetentionTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setBucketEncryption(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction(nd)&&(od=nd,nd=null),!_.isEmpty(nd)&&nd.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+nd.Rule);if(od&&!isFunction(od))throw new TypeError('callback should be of type "function"');let ld=nd;_.isEmpty(nd)&&(ld={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ud="PUT",dd="encryption",fd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);const md={};md["Content-MD5"]=toMd5(fd),this.makeRequest({method:ud,bucketName:qa,query:dd,headers:md},fd,[200],"",!1,od)}getBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(ud,dd)=>{if(ud)return nd(ud);let pd=Buffer$4.from("");pipesetup(dd,bucketEncryptionTransformer()).on("data",fd=>{pd=fd}).on("error",nd).on("end",()=>{nd(null,pd)})})}removeBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,nd)}getObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),isObject(od)){if(Object.keys(od).length>0&&od.versionId&&!isString(od.versionId))throw new TypeError("versionId should be of type string.:",od.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let dd="legal-hold";od.versionId&&(dd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},"",[200],"",!0,(pd,fd)=>{if(pd)return ld(pd);let md=Buffer$4.from("");pipesetup(fd,objectLegalHoldTransformer()).on("data",vd=>{md=vd}).on("error",ld).on("end",()=>{ld(null,md)})})}setObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);const ud={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction(od)&&(ld=od,od=ud),isObject(od)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(od.status))throw new TypeError("Invalid status: "+od.status);if(od.versionId&&!od.versionId.length)throw new TypeError("versionId should be of type string.:"+od.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(od)&&(od={defaultOpts:ud});const dd="PUT";let pd="legal-hold";od.versionId&&(pd+=`&versionId=${od.versionId}`);let fd={Status:od.status};const vd=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(fd),Ad={};Ad["Content-MD5"]=toMd5(vd),this.makeRequest({method:dd,bucketName:qa,objectName:nd,query:pd,headers:Ad},vd,[200],"",!1,ld)}uploadPartCopy(qa,nd){const{bucketName:od,objectName:ld,uploadID:ud,partNumber:dd,headers:pd}=qa,fd="PUT";let md=`uploadId=${ud}&partNumber=${dd}`;const vd={method:fd,bucketName:od,objectName:ld,query:md,headers:pd};return this.makeRequest(vd,"",[200],"",!0,(Ad,Nd)=>{let Id=Buffer$4.from("");if(Ad)return nd(Ad);pipesetup(Nd,uploadPartTransformer()).on("data",Od=>{Id=Od}).on("error",nd).on("end",()=>{let Od={etag:sanitizeETag(Id.ETag),key:ld,part:dd};nd(null,Od)})})}composeObject(qa={},nd=[],od){const ld=this,ud=nd.length;if(!Array.isArray(nd))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ud<1||ud>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');for(let Ad=0;Ad<ud;Ad++)if(!nd[Ad].validate())return!1;if(!qa.validate())return!1;const dd=Ad=>{let Nd={};return _.isEmpty(Ad.VersionID)||(Nd={versionId:Ad.VersionID}),Nd},pd=[];let fd=0,md=0;const vd=nd.map(Ad=>ld.statObject(Ad.Bucket,Ad.Object,dd(Ad)));return Promise.all(vd).then(Ad=>{const Nd=Ad.map((jd,Ld)=>{const Bd=nd[Ld];let Gd=jd.size;if(Bd.MatchRange){const qd=Bd.Start,zd=Bd.End;if(zd>=Gd||qd<0)throw new InvalidArgumentError(`CopySrcOptions ${Ld} has invalid segment-to-copy [${qd}, ${zd}] (size is ${Gd})`);Gd=zd-qd+1}if(Gd<PART_CONSTRAINTS.ABS_MIN_PART_SIZE&&Ld<ud-1)throw new InvalidArgumentError(`CopySrcOptions ${Ld} is too small (${Gd}) and it is not the last part.`);if(fd+=Gd,fd>PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${fd} (> 5TiB)`);if(pd[Ld]=Gd,md+=partsRequired(Gd),md>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return jd});if(md===1&&fd<=PART_CONSTRAINTS.MAX_PART_SIZE||fd===0)return this.copyObject(nd[0],qa,od);for(let jd=0;jd<ud;jd++)nd[jd].MatchETag=Nd[jd].etag;const Id=Nd.map((jd,Ld)=>calculateEvenSplits(pd[Ld],nd[Ld]));function Od(jd){const Ld=[];return Id.forEach((Bd,Gd)=>{const{startIndex:qd,endIndex:zd,objInfo:Xd}=Bd;let gf=Gd+1;const Yd=Array.from(qd),Zd=nd[Gd].getHeaders();Yd.forEach((df,Ef)=>{let _f=zd[Ef];const xf=`${Xd.Bucket}/${Xd.Object}`;Zd["x-amz-copy-source"]=`${xf}`,Zd["x-amz-copy-source-range"]=`bytes=${df}-${_f}`;const vf={bucketName:qa.Bucket,objectName:qa.Object,uploadID:jd,partNumber:gf,headers:Zd,sourceObj:xf};Ld.push(vf)})}),Ld}const Md=jd=>{const Ld=Od(jd);index.map(Ld,ld.uploadPartCopy.bind(ld),(Bd,Gd)=>{if(Bd){this.abortMultipartUpload(qa.Bucket,qa.Object,jd).then(()=>od(),zd=>od(zd));return}const qd=Gd.map(zd=>({etag:zd.etag,part:zd.part}));return ld.completeMultipartUpload(qa.Bucket,qa.Object,jd,qd,od)})},Ud=qa.getHeaders();ld.initiateNewMultipartUpload(qa.Bucket,qa.Object,Ud).then(jd=>{Md(jd)},jd=>{od(jd,null)})}).catch(Ad=>{od(Ad,null)})}selectObjectContent(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(_.isEmpty(od))throw new TypeError("valid select configuration is required");if(!isString(od.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(od.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject(od.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(od.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject(od.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="POST";let dd="select";dd+="&select-type=2";const pd=[{Expression:od.expression},{ExpressionType:od.expressionType||"SQL"},{InputSerialization:[od.inputSerialization]},{OutputSerialization:[od.outputSerialization]}];od.requestProgress&&pd.push({RequestProgress:od.requestProgress}),od.scanRange&&pd.push({ScanRange:od.scanRange});const md=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(pd);this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:dd},md,[200],"",!0,(vd,Ad)=>{if(vd)return ld(vd);let Nd;pipesetup(Ad,selectObjectContentTransformer()).on("data",Id=>{Nd=parseSelectObjectContentResponse(Id)}).on("error",ld).on("end",()=>{ld(null,Nd)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,nd){this.name=qa,this.message=nd,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(nd,od,ld,ud){var dd=Ra.call(this,QiniuErrorName.RequestError,ld)||this;return dd.code=nd,dd.reqId=od,dd.isRequestError=!0,dd.data=ud,dd}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(nd,od){return od===void 0&&(od=""),Ra.call(this,0,od,nd)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,nd){this.runTask=qa,this.limit=nd,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var nd=this;return new Promise(function(od,ld){nd.queue.push({task:qa,resolve:od,reject:ld}),nd.check()})},Ra.prototype.run=function(qa){var nd=this;this.queue=this.queue.filter(function(od){return od!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){nd.processing=nd.processing.filter(function(od){return od!==qa}),qa.resolve(),nd.check()},function(od){return qa.reject(od)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var nd=this.processing.length,od=this.limit-nd;this.queue.slice(0,od).forEach(function(ld){qa.run(ld)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$6.apply(this,arguments)},Subscription=function(){function Ra(){this.closed=!1}return Ra.prototype.unsubscribe=function(){this.closed||(this.closed=!0,this._unsubscribe&&this._unsubscribe())},Ra.prototype.add=function(qa){this._unsubscribe=qa},Ra}(),Subscriber=function(Ra){__extends$2(qa,Ra);function qa(nd,od,ld){var ud=Ra.call(this)||this;return ud.isStopped=!1,nd&&typeof nd=="object"?ud.destination=nd:ud.destination=__assign$6(__assign$6(__assign$6({},nd&&{next:nd}),od&&{error:od}),ld&&{complete:ld}),ud}return qa.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ra.prototype.unsubscribe.call(this))},qa.prototype.next=function(nd){!this.isStopped&&this.destination.next&&this.destination.next(nd)},qa.prototype.error=function(nd){!this.isStopped&&this.destination.error&&(this.isStopped=!0,this.destination.error(nd))},qa.prototype.complete=function(nd){!this.isStopped&&this.destination.complete&&(this.isStopped=!0,this.destination.complete(nd))},qa}(Subscription),Observable=function(){function Ra(qa){this._subscribe=qa}return Ra.prototype.subscribe=function(qa,nd,od){var ld=new Subscriber(qa,nd,od);return ld.add(this._subscribe(ld)),ld},Ra}();function utf8Encode(Ra){if(Ra===null||typeof Ra>"u")return"";var qa=Ra+"",nd="",od,ld,ud=0;od=ld=0,ud=qa.length;for(var dd=0;dd<ud;dd++){var pd=qa.charCodeAt(dd),fd=null;if(pd<128)ld++;else if(pd>127&&pd<2048)fd=String.fromCharCode(pd>>6|192,pd&63|128);else if((pd&63488^55296)>0)fd=String.fromCharCode(pd>>12|224,pd>>6&63|128,pd&63|128);else{if((pd&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+dd);var md=qa.charCodeAt(++dd);if((md&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(dd-1));pd=((pd&1023)<<10)+(md&1023)+65536,fd=String.fromCharCode(pd>>18|240,pd>>12&63|128,pd>>6&63|128,pd&63|128)}fd!==null&&(ld>od&&(nd+=qa.slice(od,ld)),nd+=fd,od=ld=dd+1)}return ld>od&&(nd+=qa.slice(od,ud)),nd}function utf8Decode(Ra){var qa=[],nd=0,od=0,ld=0;for(Ra+="";nd<Ra.length;){od=Ra.charCodeAt(nd)&255,ld=0,od<=191?(od=od&127,ld=1):od<=223?(od=od&31,ld=2):od<=239?(od=od&15,ld=3):(od=od&7,ld=4);for(var ud=1;ud<ld;++ud)od=od<<6|Ra.charCodeAt(ud+nd)&63;ld===4?(od-=65536,qa.push(String.fromCharCode(55296|od>>10&1023)),qa.push(String.fromCharCode(56320|od&1023))):qa.push(String.fromCharCode(od)),nd+=ld}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,dd,pd,fd,md,vd=0,Ad=0,Nd="",Id=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do nd=Ra.charCodeAt(vd++),od=Ra.charCodeAt(vd++),ld=Ra.charCodeAt(vd++),md=nd<<16|od<<8|ld,ud=md>>18&63,dd=md>>12&63,pd=md>>6&63,fd=md&63,Id[Ad++]=qa.charAt(ud)+qa.charAt(dd)+qa.charAt(pd)+qa.charAt(fd);while(vd<Ra.length);switch(Nd=Id.join(""),Ra.length%3){case 1:Nd=Nd.slice(0,-2)+"==";break;case 2:Nd=Nd.slice(0,-1)+"=";break}return Nd}function base64Decode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,dd,pd,fd,md,vd=0,Ad=0,Nd="",Id=[];if(!Ra)return Ra;Ra+="";do ud=qa.indexOf(Ra.charAt(vd++)),dd=qa.indexOf(Ra.charAt(vd++)),pd=qa.indexOf(Ra.charAt(vd++)),fd=qa.indexOf(Ra.charAt(vd++)),md=ud<<18|dd<<12|pd<<6|fd,nd=md>>16&255,od=md>>8&255,ld=md&255,pd===64?Id[Ad++]=String.fromCharCode(nd):fd===64?Id[Ad++]=String.fromCharCode(nd,od):Id[Ad++]=String.fromCharCode(nd,od,ld);while(vd<Ra.length);return Nd=Id.join(""),utf8Decode(Nd)}function urlSafeBase64Encode(Ra){return Ra=base64Encode(Ra),Ra.replace(/\//g,"_").replace(/\+/g,"-")}function urlSafeBase64Decode(Ra){return Ra=Ra.replace(/_/g,"/").replace(/-/g,"+"),base64Decode(Ra)}var sparkMd5={exports:{}};(function(Ra,qa){(function(nd){Ra.exports=nd()})(function(nd){var od=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function ld(jd,Ld){var Bd=jd[0],Gd=jd[1],qd=jd[2],zd=jd[3];Bd+=(Gd&qd|~Gd&zd)+Ld[0]-680876936|0,Bd=(Bd<<7|Bd>>>25)+Gd|0,zd+=(Bd&Gd|~Bd&qd)+Ld[1]-389564586|0,zd=(zd<<12|zd>>>20)+Bd|0,qd+=(zd&Bd|~zd&Gd)+Ld[2]+606105819|0,qd=(qd<<17|qd>>>15)+zd|0,Gd+=(qd&zd|~qd&Bd)+Ld[3]-1044525330|0,Gd=(Gd<<22|Gd>>>10)+qd|0,Bd+=(Gd&qd|~Gd&zd)+Ld[4]-176418897|0,Bd=(Bd<<7|Bd>>>25)+Gd|0,zd+=(Bd&Gd|~Bd&qd)+Ld[5]+1200080426|0,zd=(zd<<12|zd>>>20)+Bd|0,qd+=(zd&Bd|~zd&Gd)+Ld[6]-1473231341|0,qd=(qd<<17|qd>>>15)+zd|0,Gd+=(qd&zd|~qd&Bd)+Ld[7]-45705983|0,Gd=(Gd<<22|Gd>>>10)+qd|0,Bd+=(Gd&qd|~Gd&zd)+Ld[8]+1770035416|0,Bd=(Bd<<7|Bd>>>25)+Gd|0,zd+=(Bd&Gd|~Bd&qd)+Ld[9]-1958414417|0,zd=(zd<<12|zd>>>20)+Bd|0,qd+=(zd&Bd|~zd&Gd)+Ld[10]-42063|0,qd=(qd<<17|qd>>>15)+zd|0,Gd+=(qd&zd|~qd&Bd)+Ld[11]-1990404162|0,Gd=(Gd<<22|Gd>>>10)+qd|0,Bd+=(Gd&qd|~Gd&zd)+Ld[12]+1804603682|0,Bd=(Bd<<7|Bd>>>25)+Gd|0,zd+=(Bd&Gd|~Bd&qd)+Ld[13]-40341101|0,zd=(zd<<12|zd>>>20)+Bd|0,qd+=(zd&Bd|~zd&Gd)+Ld[14]-1502002290|0,qd=(qd<<17|qd>>>15)+zd|0,Gd+=(qd&zd|~qd&Bd)+Ld[15]+1236535329|0,Gd=(Gd<<22|Gd>>>10)+qd|0,Bd+=(Gd&zd|qd&~zd)+Ld[1]-165796510|0,Bd=(Bd<<5|Bd>>>27)+Gd|0,zd+=(Bd&qd|Gd&~qd)+Ld[6]-1069501632|0,zd=(zd<<9|zd>>>23)+Bd|0,qd+=(zd&Gd|Bd&~Gd)+Ld[11]+643717713|0,qd=(qd<<14|qd>>>18)+zd|0,Gd+=(qd&Bd|zd&~Bd)+Ld[0]-373897302|0,Gd=(Gd<<20|Gd>>>12)+qd|0,Bd+=(Gd&zd|qd&~zd)+Ld[5]-701558691|0,Bd=(Bd<<5|Bd>>>27)+Gd|0,zd+=(Bd&qd|Gd&~qd)+Ld[10]+38016083|0,zd=(zd<<9|zd>>>23)+Bd|0,qd+=(zd&Gd|Bd&~Gd)+Ld[15]-660478335|0,qd=(qd<<14|qd>>>18)+zd|0,Gd+=(qd&Bd|zd&~Bd)+Ld[4]-405537848|0,Gd=(Gd<<20|Gd>>>12)+qd|0,Bd+=(Gd&zd|qd&~zd)+Ld[9]+568446438|0,Bd=(Bd<<5|Bd>>>27)+Gd|0,zd+=(Bd&qd|Gd&~qd)+Ld[14]-1019803690|0,zd=(zd<<9|zd>>>23)+Bd|0,qd+=(zd&Gd|Bd&~Gd)+Ld[3]-187363961|0,qd=(qd<<14|qd>>>18)+zd|0,Gd+=(qd&Bd|zd&~Bd)+Ld[8]+1163531501|0,Gd=(Gd<<20|Gd>>>12)+qd|0,Bd+=(Gd&zd|qd&~zd)+Ld[13]-1444681467|0,Bd=(Bd<<5|Bd>>>27)+Gd|0,zd+=(Bd&qd|Gd&~qd)+Ld[2]-51403784|0,zd=(zd<<9|zd>>>23)+Bd|0,qd+=(zd&Gd|Bd&~Gd)+Ld[7]+1735328473|0,qd=(qd<<14|qd>>>18)+zd|0,Gd+=(qd&Bd|zd&~Bd)+Ld[12]-1926607734|0,Gd=(Gd<<20|Gd>>>12)+qd|0,Bd+=(Gd^qd^zd)+Ld[5]-378558|0,Bd=(Bd<<4|Bd>>>28)+Gd|0,zd+=(Bd^Gd^qd)+Ld[8]-2022574463|0,zd=(zd<<11|zd>>>21)+Bd|0,qd+=(zd^Bd^Gd)+Ld[11]+1839030562|0,qd=(qd<<16|qd>>>16)+zd|0,Gd+=(qd^zd^Bd)+Ld[14]-35309556|0,Gd=(Gd<<23|Gd>>>9)+qd|0,Bd+=(Gd^qd^zd)+Ld[1]-1530992060|0,Bd=(Bd<<4|Bd>>>28)+Gd|0,zd+=(Bd^Gd^qd)+Ld[4]+1272893353|0,zd=(zd<<11|zd>>>21)+Bd|0,qd+=(zd^Bd^Gd)+Ld[7]-155497632|0,qd=(qd<<16|qd>>>16)+zd|0,Gd+=(qd^zd^Bd)+Ld[10]-1094730640|0,Gd=(Gd<<23|Gd>>>9)+qd|0,Bd+=(Gd^qd^zd)+Ld[13]+681279174|0,Bd=(Bd<<4|Bd>>>28)+Gd|0,zd+=(Bd^Gd^qd)+Ld[0]-358537222|0,zd=(zd<<11|zd>>>21)+Bd|0,qd+=(zd^Bd^Gd)+Ld[3]-722521979|0,qd=(qd<<16|qd>>>16)+zd|0,Gd+=(qd^zd^Bd)+Ld[6]+76029189|0,Gd=(Gd<<23|Gd>>>9)+qd|0,Bd+=(Gd^qd^zd)+Ld[9]-640364487|0,Bd=(Bd<<4|Bd>>>28)+Gd|0,zd+=(Bd^Gd^qd)+Ld[12]-421815835|0,zd=(zd<<11|zd>>>21)+Bd|0,qd+=(zd^Bd^Gd)+Ld[15]+530742520|0,qd=(qd<<16|qd>>>16)+zd|0,Gd+=(qd^zd^Bd)+Ld[2]-995338651|0,Gd=(Gd<<23|Gd>>>9)+qd|0,Bd+=(qd^(Gd|~zd))+Ld[0]-198630844|0,Bd=(Bd<<6|Bd>>>26)+Gd|0,zd+=(Gd^(Bd|~qd))+Ld[7]+1126891415|0,zd=(zd<<10|zd>>>22)+Bd|0,qd+=(Bd^(zd|~Gd))+Ld[14]-1416354905|0,qd=(qd<<15|qd>>>17)+zd|0,Gd+=(zd^(qd|~Bd))+Ld[5]-57434055|0,Gd=(Gd<<21|Gd>>>11)+qd|0,Bd+=(qd^(Gd|~zd))+Ld[12]+1700485571|0,Bd=(Bd<<6|Bd>>>26)+Gd|0,zd+=(Gd^(Bd|~qd))+Ld[3]-1894986606|0,zd=(zd<<10|zd>>>22)+Bd|0,qd+=(Bd^(zd|~Gd))+Ld[10]-1051523|0,qd=(qd<<15|qd>>>17)+zd|0,Gd+=(zd^(qd|~Bd))+Ld[1]-2054922799|0,Gd=(Gd<<21|Gd>>>11)+qd|0,Bd+=(qd^(Gd|~zd))+Ld[8]+1873313359|0,Bd=(Bd<<6|Bd>>>26)+Gd|0,zd+=(Gd^(Bd|~qd))+Ld[15]-30611744|0,zd=(zd<<10|zd>>>22)+Bd|0,qd+=(Bd^(zd|~Gd))+Ld[6]-1560198380|0,qd=(qd<<15|qd>>>17)+zd|0,Gd+=(zd^(qd|~Bd))+Ld[13]+1309151649|0,Gd=(Gd<<21|Gd>>>11)+qd|0,Bd+=(qd^(Gd|~zd))+Ld[4]-145523070|0,Bd=(Bd<<6|Bd>>>26)+Gd|0,zd+=(Gd^(Bd|~qd))+Ld[11]-1120210379|0,zd=(zd<<10|zd>>>22)+Bd|0,qd+=(Bd^(zd|~Gd))+Ld[2]+718787259|0,qd=(qd<<15|qd>>>17)+zd|0,Gd+=(zd^(qd|~Bd))+Ld[9]-343485551|0,Gd=(Gd<<21|Gd>>>11)+qd|0,jd[0]=Bd+jd[0]|0,jd[1]=Gd+jd[1]|0,jd[2]=qd+jd[2]|0,jd[3]=zd+jd[3]|0}function ud(jd){var Ld=[],Bd;for(Bd=0;Bd<64;Bd+=4)Ld[Bd>>2]=jd.charCodeAt(Bd)+(jd.charCodeAt(Bd+1)<<8)+(jd.charCodeAt(Bd+2)<<16)+(jd.charCodeAt(Bd+3)<<24);return Ld}function dd(jd){var Ld=[],Bd;for(Bd=0;Bd<64;Bd+=4)Ld[Bd>>2]=jd[Bd]+(jd[Bd+1]<<8)+(jd[Bd+2]<<16)+(jd[Bd+3]<<24);return Ld}function pd(jd){var Ld=jd.length,Bd=[1732584193,-271733879,-1732584194,271733878],Gd,qd,zd,Xd,gf,Yd;for(Gd=64;Gd<=Ld;Gd+=64)ld(Bd,ud(jd.substring(Gd-64,Gd)));for(jd=jd.substring(Gd-64),qd=jd.length,zd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Gd=0;Gd<qd;Gd+=1)zd[Gd>>2]|=jd.charCodeAt(Gd)<<(Gd%4<<3);if(zd[Gd>>2]|=128<<(Gd%4<<3),Gd>55)for(ld(Bd,zd),Gd=0;Gd<16;Gd+=1)zd[Gd]=0;return Xd=Ld*8,Xd=Xd.toString(16).match(/(.*?)(.{0,8})$/),gf=parseInt(Xd[2],16),Yd=parseInt(Xd[1],16)||0,zd[14]=gf,zd[15]=Yd,ld(Bd,zd),Bd}function fd(jd){var Ld=jd.length,Bd=[1732584193,-271733879,-1732584194,271733878],Gd,qd,zd,Xd,gf,Yd;for(Gd=64;Gd<=Ld;Gd+=64)ld(Bd,dd(jd.subarray(Gd-64,Gd)));for(jd=Gd-64<Ld?jd.subarray(Gd-64):new Uint8Array(0),qd=jd.length,zd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Gd=0;Gd<qd;Gd+=1)zd[Gd>>2]|=jd[Gd]<<(Gd%4<<3);if(zd[Gd>>2]|=128<<(Gd%4<<3),Gd>55)for(ld(Bd,zd),Gd=0;Gd<16;Gd+=1)zd[Gd]=0;return Xd=Ld*8,Xd=Xd.toString(16).match(/(.*?)(.{0,8})$/),gf=parseInt(Xd[2],16),Yd=parseInt(Xd[1],16)||0,zd[14]=gf,zd[15]=Yd,ld(Bd,zd),Bd}function md(jd){var Ld="",Bd;for(Bd=0;Bd<4;Bd+=1)Ld+=od[jd>>Bd*8+4&15]+od[jd>>Bd*8&15];return Ld}function vd(jd){var Ld;for(Ld=0;Ld<jd.length;Ld+=1)jd[Ld]=md(jd[Ld]);return jd.join("")}vd(pd("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function jd(Ld,Bd){return Ld=Ld|0||0,Ld<0?Math.max(Ld+Bd,0):Math.min(Ld,Bd)}ArrayBuffer.prototype.slice=function(Ld,Bd){var Gd=this.byteLength,qd=jd(Ld,Gd),zd=Gd,Xd,gf,Yd,Zd;return Bd!==nd&&(zd=jd(Bd,Gd)),qd>zd?new ArrayBuffer(0):(Xd=zd-qd,gf=new ArrayBuffer(Xd),Yd=new Uint8Array(gf),Zd=new Uint8Array(this,qd,Xd),Yd.set(Zd),gf)}}();function Ad(jd){return/[\u0080-\uFFFF]/.test(jd)&&(jd=unescape(encodeURIComponent(jd))),jd}function Nd(jd,Ld){var Bd=jd.length,Gd=new ArrayBuffer(Bd),qd=new Uint8Array(Gd),zd;for(zd=0;zd<Bd;zd+=1)qd[zd]=jd.charCodeAt(zd);return Ld?qd:Gd}function Id(jd){return String.fromCharCode.apply(null,new Uint8Array(jd))}function Od(jd,Ld,Bd){var Gd=new Uint8Array(jd.byteLength+Ld.byteLength);return Gd.set(new Uint8Array(jd)),Gd.set(new Uint8Array(Ld),jd.byteLength),Gd}function Md(jd){var Ld=[],Bd=jd.length,Gd;for(Gd=0;Gd<Bd-1;Gd+=2)Ld.push(parseInt(jd.substr(Gd,2),16));return String.fromCharCode.apply(String,Ld)}function Ud(){this.reset()}return Ud.prototype.append=function(jd){return this.appendBinary(Ad(jd)),this},Ud.prototype.appendBinary=function(jd){this._buff+=jd,this._length+=jd.length;var Ld=this._buff.length,Bd;for(Bd=64;Bd<=Ld;Bd+=64)ld(this._hash,ud(this._buff.substring(Bd-64,Bd)));return this._buff=this._buff.substring(Bd-64),this},Ud.prototype.end=function(jd){var Ld=this._buff,Bd=Ld.length,Gd,qd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],zd;for(Gd=0;Gd<Bd;Gd+=1)qd[Gd>>2]|=Ld.charCodeAt(Gd)<<(Gd%4<<3);return this._finish(qd,Bd),zd=vd(this._hash),jd&&(zd=Md(zd)),this.reset(),zd},Ud.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ud.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Ud.prototype.setState=function(jd){return this._buff=jd.buff,this._length=jd.length,this._hash=jd.hash,this},Ud.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Ud.prototype._finish=function(jd,Ld){var Bd=Ld,Gd,qd,zd;if(jd[Bd>>2]|=128<<(Bd%4<<3),Bd>55)for(ld(this._hash,jd),Bd=0;Bd<16;Bd+=1)jd[Bd]=0;Gd=this._length*8,Gd=Gd.toString(16).match(/(.*?)(.{0,8})$/),qd=parseInt(Gd[2],16),zd=parseInt(Gd[1],16)||0,jd[14]=qd,jd[15]=zd,ld(this._hash,jd)},Ud.hash=function(jd,Ld){return Ud.hashBinary(Ad(jd),Ld)},Ud.hashBinary=function(jd,Ld){var Bd=pd(jd),Gd=vd(Bd);return Ld?Md(Gd):Gd},Ud.ArrayBuffer=function(){this.reset()},Ud.ArrayBuffer.prototype.append=function(jd){var Ld=Od(this._buff.buffer,jd),Bd=Ld.length,Gd;for(this._length+=jd.byteLength,Gd=64;Gd<=Bd;Gd+=64)ld(this._hash,dd(Ld.subarray(Gd-64,Gd)));return this._buff=Gd-64<Bd?new Uint8Array(Ld.buffer.slice(Gd-64)):new Uint8Array(0),this},Ud.ArrayBuffer.prototype.end=function(jd){var Ld=this._buff,Bd=Ld.length,Gd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],qd,zd;for(qd=0;qd<Bd;qd+=1)Gd[qd>>2]|=Ld[qd]<<(qd%4<<3);return this._finish(Gd,Bd),zd=vd(this._hash),jd&&(zd=Md(zd)),this.reset(),zd},Ud.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ud.ArrayBuffer.prototype.getState=function(){var jd=Ud.prototype.getState.call(this);return jd.buff=Id(jd.buff),jd},Ud.ArrayBuffer.prototype.setState=function(jd){return jd.buff=Nd(jd.buff,!0),Ud.prototype.setState.call(this,jd)},Ud.ArrayBuffer.prototype.destroy=Ud.prototype.destroy,Ud.ArrayBuffer.prototype._finish=Ud.prototype._finish,Ud.ArrayBuffer.hash=function(jd,Ld){var Bd=fd(new Uint8Array(jd)),Gd=vd(Bd);return Ld?Md(Gd):Gd},Ud})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$5.apply(this,arguments)},__awaiter$7=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$7=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},MB=Math.pow(1024,2);function getChunks(Ra,qa){var nd=qa*MB;if(nd>Ra.size)nd=Ra.size;else for(;Ra.size>nd*1e4;)nd*=2;for(var od=[],ld=Math.ceil(Ra.size/nd),ud=0;ud<ld;ud++){var dd=Ra.slice(nd*ud,ud===ld-1?Ra.size:nd*(ud+1));od.push(dd)}return od}function isMetaDataValid(Ra){return Object.keys(Ra).every(function(qa){return qa.indexOf("x-qn-meta-")===0})}function isCustomVarsValid(Ra){return Object.keys(Ra).every(function(qa){return qa.indexOf("x:")===0})}function sum(Ra){return Ra.reduce(function(qa,nd){return qa+nd},0)}function setLocalFileInfo(Ra,qa,nd){try{localStorage.setItem(Ra,JSON.stringify(qa))}catch{nd.warn(new QiniuError(QiniuErrorName.WriteCacheFailed,"setLocalFileInfo failed: "+Ra))}}function createLocalKey(Ra,qa,nd){var od=qa==null?"_":"_key_"+qa+"_";return"qiniu_js_sdk_upload_file_name_"+Ra+od+"size_"+nd}function removeLocalFileInfo(Ra,qa){try{localStorage.removeItem(Ra)}catch{qa.warn(new QiniuError(QiniuErrorName.RemoveCacheFailed,"removeLocalFileInfo failed. key: "+Ra))}}function getLocalFileInfo(Ra,qa){var nd=null;try{nd=localStorage.getItem(Ra)}catch{qa.warn(new QiniuError(QiniuErrorName.ReadCacheFailed,"getLocalFileInfo failed. key: "+Ra))}if(nd==null)return null;var od=null;try{od=JSON.parse(nd)}catch{removeLocalFileInfo(Ra,qa),qa.warn(new QiniuError(QiniuErrorName.InvalidCacheData,"getLocalFileInfo failed to parse. key: "+Ra))}return od}function getAuthHeaders(Ra){var qa="UpToken "+Ra;return{Authorization:qa}}function getHeadersForChunkUpload(Ra){var qa=getAuthHeaders(Ra);return __assign$5({"content-type":"application/octet-stream"},qa)}function getHeadersForMkFile(Ra){var qa=getAuthHeaders(Ra);return __assign$5({"content-type":"application/json"},qa)}function createXHR(){if(window.XMLHttpRequest)return new XMLHttpRequest;if(window.ActiveXObject)return new window.ActiveXObject("Microsoft.XMLHTTP");throw new QiniuError(QiniuErrorName.NotAvailableXMLHttpRequest,"the current environment does not support.")}function computeMd5(Ra){return __awaiter$7(this,void 0,void 0,function(){var qa,nd;return __generator$7(this,function(od){switch(od.label){case 0:return[4,readAsArrayBuffer(Ra)];case 1:return qa=od.sent(),nd=new SparkMD5.ArrayBuffer,nd.append(qa),[2,nd.end()]}})})}function readAsArrayBuffer(Ra){return new Promise(function(qa,nd){var od=new FileReader;od.onload=function(ld){if(ld.target){var ud=ld.target.result;qa(ud)}else nd(new QiniuError(QiniuErrorName.InvalidProgressEventTarget,"progress event target is undefined"))},od.onerror=function(){nd(new QiniuError(QiniuErrorName.FileReaderReadFailed,"fileReader read failed"))},od.readAsArrayBuffer(Ra)})}function request(Ra,qa){return new Promise(function(nd,od){var ld=createXHR();if(ld.open(qa.method,Ra),qa.onCreate&&qa.onCreate(ld),qa.headers){var ud=qa.headers;Object.keys(ud).forEach(function(dd){ld.setRequestHeader(dd,ud[dd])})}ld.upload.addEventListener("progress",function(dd){dd.lengthComputable&&qa.onProgress&&qa.onProgress({loaded:dd.loaded,total:dd.total})}),ld.onreadystatechange=function(){var dd=ld.responseText;if(ld.readyState===4){var pd=ld.getResponseHeader("x-reqId")||"";if(ld.status===0){od(new QiniuNetworkError("network error.",pd));return}if(ld.status!==200){var fd="xhr request failed, code: "+ld.status;dd&&(fd+=" response: "+dd);var md=void 0;try{md=JSON.parse(dd)}catch{}od(new QiniuRequestError(ld.status,pd,fd,md));return}try{nd({data:JSON.parse(dd),reqId:pd})}catch(vd){od(vd)}}},ld.send(qa.body)})}function getPortFromUrl(Ra){if(Ra&&Ra.match){var qa=Ra.match(/(^https?)/);if(!qa)return"";var nd=qa[1];return qa=Ra.match(/^https?:\/\/([^:^/]*):(\d*)/),qa?qa[2]:nd==="http"?"80":"443"}return""}function getDomainFromUrl(Ra){if(Ra&&Ra.match){var qa=Ra.match(/^https?:\/\/([^:^/]*)/);return qa?qa[1]:""}return""}function getPutPolicy(Ra){if(!Ra)throw new QiniuError(QiniuErrorName.InvalidToken,"invalid token.");var qa=Ra.split(":");if(qa.length===1)throw new QiniuError(QiniuErrorName.InvalidToken,"invalid token segments.");var nd=qa.length>3?qa[1]:qa[0];if(!nd)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var od=null;try{od=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(od==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(od.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var ld=od.scope.split(":")[0];if(!ld)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:nd,bucketName:ld,scope:od.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode=function(Ra,qa,nd,od){return qa=qa||"&",nd=nd||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(ld){var ud=encodeURIComponent(stringifyPrimitive(ld))+nd;return Array.isArray(Ra[ld])?Ra[ld].map(function(dd){return ud+encodeURIComponent(stringifyPrimitive(dd))}).join(qa):ud+encodeURIComponent(stringifyPrimitive(Ra[ld]))}).filter(Boolean).join(qa):od?encodeURIComponent(stringifyPrimitive(od))+nd+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$4.apply(this,arguments)},__awaiter$6=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$6=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}};function getUpHosts(Ra,qa,nd){return __awaiter$6(this,void 0,void 0,function(){var od,ld;return __generator$6(this,function(ud){return od=stringify({ak:Ra,bucket:qa}),ld=nd+"://api.qiniu.com/v2/query?"+od,[2,request(ld,{method:"GET"})]})})}function getBaseUrl(Ra,qa,nd){var od=nd.url,ld=nd.id;return od+"/buckets/"+Ra+"/objects/"+(qa!=null?urlSafeBase64Encode(qa):"~")+"/uploads/"+ld}function initUploadParts(Ra,qa,nd,od){var ld=od+"/buckets/"+qa+"/objects/"+(nd!=null?urlSafeBase64Encode(nd):"~")+"/uploads";return request(ld,{method:"POST",headers:getAuthHeaders(Ra)})}function uploadChunk(Ra,qa,nd,od,ld){var ud=getPutPolicy(Ra).bucketName,dd=getBaseUrl(ud,qa,od)+("/"+nd),pd=getHeadersForChunkUpload(Ra);return ld.md5&&(pd["Content-MD5"]=ld.md5),request(dd,__assign$4(__assign$4({},ld),{method:"PUT",headers:pd}))}function uploadComplete(Ra,qa,nd,od){var ld=getPutPolicy(Ra).bucketName,ud=getBaseUrl(ld,qa,nd);return request(ud,__assign$4(__assign$4({},od),{method:"POST",headers:getHeadersForMkFile(Ra)}))}function deleteUploadedChunks(Ra,qa,nd){var od=getPutPolicy(Ra).bucketName,ld=getBaseUrl(od,qa,nd);return request(ld,{method:"DELETE",headers:getAuthHeaders(Ra)})}function direct(Ra,qa,nd){return request(Ra,__assign$4({method:"POST",body:qa},nd))}function getUploadUrl(Ra,qa){return __awaiter$6(this,void 0,void 0,function(){var nd,od,ld,ud,dd;return __generator$6(this,function(pd){switch(pd.label){case 0:return nd=normalizeUploadConfig(Ra),od=nd.upprotocol,nd.uphost.length>0?[2,od+"://"+nd.uphost[0]]:(ld=getPutPolicy(qa),[4,getUpHosts(ld.assessKey,ld.bucketName,od)]);case 1:return ud=pd.sent(),dd=ud.data.up.acc.main,[2,od+"://"+dd[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$3.apply(this,arguments)},__awaiter$5=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$5=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},__read$3=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$3=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read$3(arguments[qa]));return Ra},DEFAULT_CHUNK_SIZE=4,FREEZE_CODE_LIST=[0,502,503,504,599],RETRY_CODE_LIST=__spread$3(FREEZE_CODE_LIST,[612]),GB=Math.pow(1024,3),Base=function(){function Ra(qa,nd,od,ld){this.hostPool=od,this.logger=ld,this.aborted=!1,this.retryCount=0,this.xhrList=[],this.config=qa.config,ld.info("config inited.",this.config),this.putExtra=__assign$3({fname:""},qa.putExtra),ld.info("putExtra inited.",this.putExtra),this.key=qa.key,this.file=qa.file,this.token=qa.token,this.onData=nd.onData,this.onError=nd.onError,this.onComplete=nd.onComplete;try{var ud=getPutPolicy(this.token);this.bucketName=ud.bucketName,this.assessKey=ud.assessKey}catch(dd){ld.error("get putPolicy from token failed.",dd),this.onError(dd)}}return Ra.prototype.checkAndUpdateUploadHost=function(){return __awaiter$5(this,void 0,void 0,function(){var qa;return __generator$5(this,function(nd){switch(nd.label){case 0:return this.logger.info("get available upload host."),[4,this.hostPool.getUp(this.assessKey,this.bucketName,this.config.upprotocol)];case 1:if(qa=nd.sent(),qa==null)throw new QiniuError(QiniuErrorName.NotAvailableUploadHost,"no available upload host.");return this.uploadHost!=null&&this.uploadHost.host!==qa.host?this.logger.warn("host switches from "+this.uploadHost.host+" to "+qa.host+"."):this.logger.info("use host "+qa.host+"."),this.uploadHost=qa,[2]}})})},Ra.prototype.checkAndUnfreezeHost=function(){this.logger.info("check unfreeze host."),this.uploadHost!=null&&this.uploadHost.isFrozen()&&(this.logger.warn(this.uploadHost.host+" will be unfrozen."),this.uploadHost.unfreeze())},Ra.prototype.checkAndFreezeHost=function(qa){this.logger.info("check freeze host."),qa instanceof QiniuRequestError&&this.uploadHost!=null&&FREEZE_CODE_LIST.includes(qa.code)&&(this.logger.warn(this.uploadHost.host+" will be temporarily frozen."),this.uploadHost.freeze())},Ra.prototype.handleError=function(qa){this.logger.error(qa.message),this.onError(qa)},Ra.prototype.putFile=function(){return __awaiter$5(this,void 0,void 0,function(){var qa,nd,od,ld;return __generator$5(this,function(ud){switch(ud.label){case 0:if(this.aborted=!1,this.putExtra.fname||(this.logger.info("use file.name as fname."),this.putExtra.fname=this.file.name),this.file.size>1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];ud.label=1;case 1:return ud.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return ud.sent(),[4,this.run()];case 3:return qa=ud.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return nd=ud.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(nd),nd instanceof QiniuRequestError&&(this.sendLog(nd.reqId,nd.code),this.checkAndFreezeHost(nd),od=++this.retryCount<=this.config.retryCount,ld=RETRY_CODE_LIST.includes(nd.code),ld&&od)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(nd),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,nd){var od,ld;this.logger.report({code:nd,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((od=this.uploadHost)===null||od===void 0?void 0:od.getUrl()),host:getDomainFromUrl((ld=this.uploadHost)===null||ld===void 0?void 0:ld.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,nd,od){return __assign$3({size:nd,loaded:qa,percent:qa/nd*100},od==null?{}:{fromCache:od})},Ra}(),__extends$1=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$2.apply(this,arguments)},__awaiter$4=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$4=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}};function isPositiveInteger(Ra){var qa=/^[1-9]\d*$/;return qa.test(String(Ra))}var Resume=function(Ra){__extends$1(qa,Ra);function qa(){return Ra!==null&&Ra.apply(this,arguments)||this}return qa.prototype.run=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd=this;return __generator$4(this,function(fd){switch(fd.label){case 0:if(this.logger.info("start run Resume."),!this.config.chunkSize||!isPositiveInteger(this.config.chunkSize))throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize must be a positive integer");if(this.config.chunkSize>1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:fd.sent(),nd=new Pool(function(md){return __awaiter$4(pd,void 0,void 0,function(){return __generator$4(this,function(vd){switch(vd.label){case 0:if(this.aborted)throw nd.abort(),new Error("pool is aborted");return[4,this.uploadChunk(md)];case 1:return vd.sent(),[2]}})})},this.config.concurrentRequestLimit),od=null,ld=this.getLocalKey(),ud=this.chunks.map(function(md,vd){return nd.enqueue({chunk:md,index:vd})}),fd.label=2;case 2:return fd.trys.push([2,5,,6]),[4,Promise.all(ud)];case 3:return fd.sent(),[4,this.mkFileReq()];case 4:return od=fd.sent(),[3,6];case 5:throw dd=fd.sent(),dd instanceof QiniuRequestError&&(dd.code===612||dd.code===400)&&removeLocalFileInfo(ld,this.logger),dd;case 6:return removeLocalFileInfo(ld,this.logger),[2,od]}})})},qa.prototype.uploadChunk=function(nd){return __awaiter$4(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd=this;return __generator$4(this,function(Id){switch(Id.label){case 0:return od=nd.index,ld=nd.chunk,ud=this.cachedUploadedList[od],this.logger.info("upload part "+od+", cache:",ud),dd=this.config.checkByMD5,pd=function(){Nd.usedCacheList[od]=!0,Nd.updateChunkProgress(ld.size,od),Nd.uploadedList[od]=ud,Nd.updateLocalCache()},ud&&!dd?(pd(),[2]):[4,computeMd5(ld)];case 1:return fd=Id.sent(),this.logger.info("computed part md5.",fd),ud&&fd===ud.md5?(pd(),[2]):(this.usedCacheList[od]=!1,md=function(Od){Nd.updateChunkProgress(Od.loaded,od)},vd={body:ld,md5:this.config.checkByServer?fd:void 0,onProgress:md,onCreate:function(Od){return Nd.addXhr(Od)}},this.logger.info("part "+od+" start uploading."),[4,uploadChunk(this.token,this.key,nd.index+1,this.getUploadInfo(),vd)]);case 2:return Ad=Id.sent(),this.logger.info("part "+od+" upload completed."),md({loaded:ld.size,total:ld.size}),this.uploadedList[od]={etag:Ad.data.etag,md5:Ad.data.md5,size:ld.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld=this;return __generator$4(this,function(ud){switch(ud.label){case 0:return nd=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(dd,pd){return{etag:dd.etag,partNumber:pd+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",nd),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(dd){return ld.addXhr(dd)},body:JSON.stringify(nd)})];case 1:return od=ud.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,od]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld;return __generator$4(this,function(ud){switch(ud.label){case 0:return this.uploadedList=[],this.usedCacheList=[],nd=getLocalFileInfo(this.getLocalKey(),this.logger),nd?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return od=ud.sent(),this.logger.info("initd upload parts of id: "+od.data.uploadId+"."),this.uploadId=od.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:ld=["resume upload parts from local cache,","total "+nd.data.length+" part,","id is "+nd.id+"."],this.logger.info(ld.join(" ")),this.cachedUploadedList=nd.data,this.uploadId=nd.id,ud.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(dd){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(nd,od){this.loaded.chunks[od]=nd,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(nd){this.loaded.mkFileProgress=nd,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var nd=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(od,ld){var ud=nd.usedCacheList[ld];return nd.getProgressInfoItem(nd.loaded.chunks[ld],od.size,ud)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},CRC32=function(){function Ra(){this.crc=-1,this.table=this.makeTable()}return Ra.prototype.makeTable=function(){for(var qa=new Array,nd=0;nd<256;nd++){for(var od=nd,ld=0;ld<8;ld++)od&1?od=od>>>1^3988292384:od>>>=1;qa[nd]=od}return qa},Ra.prototype.append=function(qa){for(var nd=this.crc,od=0;od<qa.byteLength;od++)nd=nd>>>8^this.table[(nd^qa[od])&255];this.crc=nd},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd;return __generator$3(this,function(od){switch(od.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(nd=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(nd.apply(Uint8Array,[void 0,od.sent()]))];case 2:return[2,new Promise(function(ld,ud){var dd=new FileReader;dd.onload=function(){if(dd.result==null){ud();return}if(typeof dd.result=="string"){ud();return}ld(new Uint8Array(dd.result))},dd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd;return __generator$3(this,function(fd){switch(fd.label){case 0:return qa.size<=MB?(nd=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return nd.apply(this,[fd.sent()]),[2,this.compute()];case 2:od=Math.ceil(qa.size/MB),ld=0,fd.label=3;case 3:return ld<od?(ud=ld*MB,dd=ld===od-1?qa.size:ud+MB,[4,this.readAsUint8Array(qa.slice(ud,dd))]):[3,6];case 4:pd=fd.sent(),this.append(new Uint8Array(pd)),fd.label=5;case 5:return ld++,[3,3];case 6:return[2,this.compute()]}})})},Ra.file=function(qa){var nd=new Ra;return nd.file(qa)},Ra}(),__extends=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__awaiter$2=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$2=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},Direct=function(Ra){__extends(qa,Ra);function qa(){return Ra!==null&&Ra.apply(this,arguments)||this}return qa.prototype.run=function(){return __awaiter$2(this,void 0,void 0,function(){var nd,od,ld,ud,dd,pd=this;return __generator$2(this,function(fd){switch(fd.label){case 0:return this.logger.info("start run Direct."),nd=new FormData,nd.append("file",this.file),nd.append("token",this.token),this.key!=null&&nd.append("key",this.key),nd.append("fname",this.putExtra.fname),this.config.checkByServer?[4,CRC32.file(this.file)]:[3,2];case 1:od=fd.sent(),nd.append("crc32",od.toString()),fd.label=2;case 2:return this.putExtra.customVars&&(this.logger.info("init customVars."),ld=this.putExtra.customVars,Object.keys(ld).forEach(function(md){return nd.append(md,ld[md].toString())}),this.logger.info("customVars inited.")),this.putExtra.metadata&&(this.logger.info("init metadata."),ud=this.putExtra.metadata,Object.keys(ud).forEach(function(md){return nd.append(md,ud[md].toString())})),this.logger.info("formData inited."),[4,direct(this.uploadHost.getUrl(),nd,{onProgress:function(md){pd.updateDirectProgress(md.loaded,md.total)},onCreate:function(md){return pd.addXhr(md)}})];case 3:return dd=fd.sent(),this.logger.info("Direct progress finish."),this.finishDirectProgress(),[2,dd]}})})},qa.prototype.updateDirectProgress=function(nd,od){this.progress={total:this.getProgressInfoItem(nd,od+1)},this.onData(this.progress)},qa.prototype.finishDirectProgress=function(){if(!this.progress){this.logger.warn("progress is null."),this.progress={total:this.getProgressInfoItem(this.file.size,this.file.size)},this.onData(this.progress);return}var nd=this.progress.total;this.progress={total:this.getProgressInfoItem(nd.loaded+1,nd.size)},this.onData(this.progress)},qa}(Base);function reportV3(Ra,qa,nd){nd===void 0&&(nd=3);var od=createXHR();od.open("POST","https://uplog.qbox.me/log/3"),od.setRequestHeader("Content-type","application/x-www-form-urlencoded"),od.setRequestHeader("Authorization",getAuthHeaders(Ra).Authorization),od.onreadystatechange=function(){od.readyState===4&&od.status!==200&&nd>0&&reportV3(Ra,qa,nd-1)};var ld=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");od.send(ld)}var __read$2=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$2=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read$2(arguments[qa]));return Ra},Logger=function(){function Ra(qa,nd,od,ld){nd===void 0&&(nd=!0),od===void 0&&(od="OFF"),ld===void 0&&(ld="UPLOAD"),this.token=qa,this.disableReport=nd,this.level=od,this.prefix=ld,this.id=++Ra.id}return Ra.prototype.getPrintPrefix=function(qa){return"Qiniu-JS-SDK ["+qa+"]["+this.prefix+"#"+this.id+"]:"},Ra.prototype.report=function(qa,nd){if(!this.disableReport)try{reportV3(this.token,qa,nd)}catch(od){this.warn(od)}},Ra.prototype.info=function(){for(var qa=[],nd=0;nd<arguments.length;nd++)qa[nd]=arguments[nd];var od=["INFO"];od.includes(this.level)&&console.log.apply(console,__spread$2([this.getPrintPrefix("INFO")],qa))},Ra.prototype.warn=function(){for(var qa=[],nd=0;nd<arguments.length;nd++)qa[nd]=arguments[nd];var od=["INFO","WARN"];od.includes(this.level)&&console.warn.apply(console,__spread$2([this.getPrintPrefix("WARN")],qa))},Ra.prototype.error=function(){for(var qa=[],nd=0;nd<arguments.length;nd++)qa[nd]=arguments[nd];var od=["INFO","WARN","ERROR"];od.includes(this.level)&&console.error.apply(console,__spread$2([this.getPrintPrefix("ERROR")],qa))},Ra.id=0,Ra}(),__awaiter$1=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,qa||[])).next())})},__generator$1=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},__read$1=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread$1=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read$1(arguments[qa]));return Ra},unfreezeTimeMap=new Map,Host=function(){function Ra(qa,nd){this.host=qa,this.protocol=nd}return Ra.prototype.isFrozen=function(){var qa=new Date().getTime(),nd=unfreezeTimeMap.get(this.host);return nd!=null&&nd>=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var nd=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,nd)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,nd,od,ld){this.cachedHostsMap.set(qa+"@"+nd,od.map(function(ud){return new Host(ud,ld)}))},Ra.prototype.refresh=function(qa,nd,od){var ld,ud,dd,pd;return __awaiter$1(this,void 0,void 0,function(){var fd,md,vd;return __generator$1(this,function(Ad){switch(Ad.label){case 0:return fd=this.cachedHostsMap.get(qa+"@"+nd)||[],fd.length>0?[2]:this.initHosts.length>0?(this.register(qa,nd,this.initHosts,od),[2]):[4,getUpHosts(qa,nd,od)];case 1:return md=Ad.sent(),(md==null?void 0:md.data)!=null&&(vd=__spread$1(((ud=(ld=md.data.up)===null||ld===void 0?void 0:ld.acc)===null||ud===void 0?void 0:ud.main)||[],((pd=(dd=md.data.up)===null||dd===void 0?void 0:dd.acc)===null||pd===void 0?void 0:pd.backup)||[]),this.register(qa,nd,vd,od)),[2]}})})},Ra.prototype.getUp=function(qa,nd,od){return __awaiter$1(this,void 0,void 0,function(){var ld,ud,dd;return __generator$1(this,function(pd){switch(pd.label){case 0:return[4,this.refresh(qa,nd,od)];case 1:return pd.sent(),ld=this.cachedHostsMap.get(qa+"@"+nd)||[],ld.length===0?[2,null]:(ud=ld.filter(function(fd){return!fd.isFrozen()}),ud.length>0?[2,ud[0]]:(dd=ld.slice().sort(function(fd,md){return(fd.getUnfreezeTime()||0)-(md.getUnfreezeTime()||0)}),[2,dd[0]]))}})})},Ra}();function createUploadManager(Ra,qa,nd,od){return Ra.config&&Ra.config.forceDirect?(od.info("ues forceDirect mode."),new Direct(Ra,qa,nd,od)):Ra.file.size>4*MB?(od.info("file size over 4M, use Resume."),new Resume(Ra,qa,nd,od)):(od.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,nd,od))}function upload(Ra,qa,nd,od,ld){var ud=new Logger(nd,ld==null?void 0:ld.disableStatisticsReport,ld==null?void 0:ld.debugLogLevel,Ra.name),dd={file:Ra,key:qa,token:nd,putExtra:od,config:normalizeUploadConfig(ld,ud)},pd=new HostPool(dd.config.uphost);return new Observable(function(fd){var md=createUploadManager(dd,{onData:function(vd){return fd.next(vd)},onError:function(vd){return fd.error(vd)},onComplete:function(vd){return fd.complete(vd)}},pd,ud);return md.putFile(),md.stop.bind(md)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign$1.apply(this,arguments)},__rest=function(Ra,qa){var nd={};for(var od in Ra)Object.prototype.hasOwnProperty.call(Ra,od)&&qa.indexOf(od)<0&&(nd[od]=Ra[od]);if(Ra!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ld=0,od=Object.getOwnPropertySymbols(Ra);ld<od.length;ld++)qa.indexOf(od[ld])<0&&Object.prototype.propertyIsEnumerable.call(Ra,od[ld])&&(nd[od[ld]]=Ra[od[ld]]);return nd},__read=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],dd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(pd){dd={error:pd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(dd)throw dd.error}}return ud},__spread=function(){for(var Ra=[],qa=0;qa<arguments.length;qa++)Ra=Ra.concat(__read(arguments[qa]));return Ra};function normalizeUploadConfig(Ra,qa){var nd=__assign$1({},Ra),od=nd.upprotocol,ld=nd.uphost,ud=__rest(nd,["upprotocol","uphost"]),dd=__assign$1({uphost:[],retryCount:3,checkByMD5:!1,forceDirect:!1,useCdnDomain:!0,checkByServer:!1,concurrentRequestLimit:3,chunkSize:DEFAULT_CHUNK_SIZE,upprotocol:"https",debugLogLevel:"OFF",disableStatisticsReport:!1},ud);od&&(dd.upprotocol=od.replace(/:$/,""));var pd=[];if(qa&&(Ra==null?void 0:Ra.uphost)!=null&&(Ra==null?void 0:Ra.region)!=null&&qa.warn("do not use both the uphost and region config."),ld)Array.isArray(ld)?pd.push.apply(pd,__spread(ld)):pd.push(ld);else if(dd!=null&&dd.region){var fd=regionUphostMap[dd==null?void 0:dd.region];dd.useCdnDomain?pd.push.apply(pd,__spread(fd.cdnUphost)):pd.push.apply(pd,__spread(fd.srcUphost))}return __assign$1(__assign$1({},dd),{uphost:pd.filter(Boolean)})}var __assign=function(){return __assign=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd<od;nd++){qa=arguments[nd];for(var ld in qa)Object.prototype.hasOwnProperty.call(qa,ld)&&(Ra[ld]=qa[ld])}return Ra},__assign.apply(this,arguments)},__awaiter=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(dd){dd(ud)})}return new(nd||(nd=Promise))(function(ud,dd){function pd(vd){try{md(od.next(vd))}catch(Ad){dd(Ad)}}function fd(vd){try{md(od.throw(vd))}catch(Ad){dd(Ad)}}function md(vd){vd.done?ud(vd.value):ld(vd.value).then(pd,fd)}md((od=od.apply(Ra,[])).next())})},__generator=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,dd;return dd={next:pd(0),throw:pd(1),return:pd(2)},typeof Symbol=="function"&&(dd[Symbol.iterator]=function(){return this}),dd;function pd(md){return function(vd){return fd([md,vd])}}function fd(md){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=md[0]&2?ld.return:md[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,md[1])).done)return ud;switch(ld=0,ud&&(md=[md[0]&2,ud.value]),md[0]){case 0:case 1:ud=md;break;case 4:return nd.label++,{value:md[1],done:!1};case 5:nd.label++,ld=md[1],md=[0];continue;case 7:md=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(md[0]===6||md[0]===2)){nd=0;continue}if(md[0]===3&&(!ud||md[1]>ud[0]&&md[1]<ud[3])){nd.label=md[1];break}if(md[0]===6&&nd.label<ud[1]){nd.label=ud[1],ud=md;break}if(ud&&nd.label<ud[2]){nd.label=ud[2],nd.ops.push(md);break}ud[2]&&nd.ops.pop(),nd.trys.pop();continue}md=qa.call(Ra,nd)}catch(vd){md=[6,vd],ld=0}finally{od=ud=0}if(md[0]&5)throw md[1];return{value:md[0]?md[1]:void 0,done:!0}}},mimeTypes={PNG:"image/png",JPEG:"image/jpeg",WEBP:"image/webp",BMP:"image/bmp"},maxSteps=4,scaleFactor=Math.log(2),supportMimeTypes=Object.keys(mimeTypes).map(function(Ra){return mimeTypes[Ra]}),defaultType=mimeTypes.JPEG;function isSupportedType(Ra){return supportMimeTypes.includes(Ra)}var Compress=function(){function Ra(qa,nd){this.file=qa,this.config=nd,this.config=__assign({quality:.92,noCompressIfLarger:!1},this.config)}return Ra.prototype.process=function(){return __awaiter(this,void 0,void 0,function(){var qa,nd,od,ld,ud,dd;return __generator(this,function(pd){switch(pd.label){case 0:if(this.outputType=this.file.type,qa={},!isSupportedType(this.file.type))throw new QiniuError(QiniuErrorName.UnsupportedFileType,"unsupported file type: "+this.file.type);return[4,this.getOriginImage()];case 1:return nd=pd.sent(),[4,this.getCanvas(nd)];case 2:return od=pd.sent(),ld=1,this.config.maxWidth&&(ld=Math.min(1,this.config.maxWidth/od.width)),this.config.maxHeight&&(ld=Math.min(1,ld,this.config.maxHeight/od.height)),qa.width=od.width,qa.height=od.height,[4,this.doScale(od,ld)];case 3:return ud=pd.sent(),dd=this.toBlob(ud),dd.size>this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:dd,width:ud.width,height:ud.height}]}})})},Ra.prototype.clear=function(qa,nd,od){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,nd,od)):qa.clearRect(0,0,nd,od)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(nd,od){var ld=createObjectURL(qa.file),ud=new Image;ud.onload=function(){nd(ud)},ud.onerror=function(){od("image load error")},ud.src=ld})},Ra.prototype.getCanvas=function(qa){var nd=this;return new Promise(function(od,ld){var ud=document.createElement("canvas"),dd=ud.getContext("2d");if(!dd){ld(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var pd=qa.width,fd=qa.height;ud.height=fd,ud.width=pd,nd.clear(dd,pd,fd),dd.drawImage(qa,0,0),od(ud)})},Ra.prototype.doScale=function(qa,nd){return __awaiter(this,void 0,void 0,function(){var od,ld,ud,dd,pd,fd,md,vd,Ad,Nd,Id,Od,Md,Ud,jd,Ld;return __generator(this,function(Bd){if(nd===1)return[2,qa];if(od=qa.getContext("2d"),ld=Math.min(maxSteps,Math.ceil(1/nd/scaleFactor)),ud=Math.pow(nd,1/ld),dd=document.createElement("canvas"),pd=dd.getContext("2d"),fd=qa.width,md=qa.height,vd=fd,Ad=md,dd.width=fd,dd.height=md,!pd||!od)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(Od=0;Od<ld;Od++)Md=fd*ud|0,Ud=md*ud|0,Od===ld-1&&(Md=vd*nd,Ud=Ad*nd),Od%2===0?(Nd=qa,Id=pd):(Nd=dd,Id=od),this.clear(Id,fd,md),Id.drawImage(Nd,0,0,fd,md,0,0,Md,Ud),fd=Md,md=Ud;return jd=Nd===qa?dd:qa,Ld=Id.getImageData(0,0,fd,md),jd.width=fd,jd.height=md,Id.putImageData(Ld,0,0),[2,jd]})})},Ra.prototype.toBlob=function(qa){var nd=qa.toDataURL(this.outputType,this.config.quality),od=atob(nd.split(",")[1]).split("").map(function(ud){return ud.charCodeAt(0)}),ld=new Blob([new Uint8Array(od)],{type:this.outputType});return ld},Ra}(),compressImage=function(Ra,qa){return new Compress(Ra,qa).process()};function getImageUrl(Ra,qa){return Ra=encodeURIComponent(Ra),qa.slice(qa.length-1)!=="/"&&(qa+="/"),qa+Ra}function imageView2(Ra,qa,nd){if(!/^\d$/.test(String(Ra.mode)))throw"mode should be number in imageView2";var od=Ra.mode,ld=Ra.w,ud=Ra.h,dd=Ra.q,pd=Ra.format;if(!ld&&!ud)throw"param w and h is empty in imageView2";var fd="imageView2/"+encodeURIComponent(od);return fd+=ld?"/w/"+encodeURIComponent(ld):"",fd+=ud?"/h/"+encodeURIComponent(ud):"",fd+=dd?"/q/"+encodeURIComponent(dd):"",fd+=pd?"/format/"+encodeURIComponent(pd):"",fd}function imageMogr2(Ra,qa,nd){var od=Ra["auto-orient"],ld=Ra.thumbnail,ud=Ra.strip,dd=Ra.gravity,pd=Ra.crop,fd=Ra.quality,md=Ra.rotate,vd=Ra.format,Ad=Ra.blur,Nd="imageMogr2";return Nd+=od?"/auto-orient":"",Nd+=ld?"/thumbnail/"+encodeURIComponent(ld):"",Nd+=ud?"/strip":"",Nd+=dd?"/gravity/"+encodeURIComponent(dd):"",Nd+=fd?"/quality/"+encodeURIComponent(fd):"",Nd+=pd?"/crop/"+encodeURIComponent(pd):"",Nd+=md?"/rotate/"+encodeURIComponent(md):"",Nd+=vd?"/format/"+encodeURIComponent(vd):"",Nd+=Ad?"/blur/"+encodeURIComponent(Ad):"",qa&&nd&&(Nd=getImageUrl(qa,nd)+"?"+Nd),Nd}function watermark(Ra,qa,nd){var od=Ra.mode;if(!od)throw"mode can't be empty in watermark";var ld="watermark/"+od;if(od!==1&&od!==2)throw"mode is wrong";if(od===1){var ud=Ra.image;if(!ud)throw"image can't be empty in watermark";ld+=ud?"/image/"+urlSafeBase64Encode(ud):""}if(od===2){var dd=Ra.text,pd=Ra.font,fd=Ra.fontsize,md=Ra.fill;if(!dd)throw"text can't be empty in watermark";ld+=dd?"/text/"+urlSafeBase64Encode(dd):"",ld+=pd?"/font/"+urlSafeBase64Encode(pd):"",ld+=fd?"/fontsize/"+fd:"",ld+=md?"/fill/"+urlSafeBase64Encode(md):""}var vd=Ra.dissolve,Ad=Ra.gravity,Nd=Ra.dx,Id=Ra.dy;return ld+=vd?"/dissolve/"+encodeURIComponent(vd):"",ld+=Ad?"/gravity/"+encodeURIComponent(Ad):"",ld+=Nd?"/dx/"+encodeURIComponent(Nd):"",ld+=Id?"/dy/"+encodeURIComponent(Id):"",qa&&nd&&(ld=getImageUrl(qa,nd)+"?"+ld),ld}function imageInfo(Ra,qa){var nd=getImageUrl(Ra,qa)+"?imageInfo";return request(nd,{method:"GET"})}function exif(Ra,qa){var nd=getImageUrl(Ra,qa)+"?exif";return request(nd,{method:"GET"})}function pipeline(Ra,qa,nd){var od=Object.prototype.toString.call(Ra)==="[object Array]",ld,ud=!1,dd="";if(od){for(var pd=0,fd=Ra.length;pd<fd;pd++){if(ld=Ra[pd],!ld.fop)throw"fop can't be empty in pipeline";switch(ld.fop){case"watermark":dd+=watermark(ld)+"|";break;case"imageView2":dd+=imageView2(ld)+"|";break;case"imageMogr2":dd+=imageMogr2(ld)+"|";break;default:ud=!0;break}if(ud)throw"fop is wrong in pipeline"}if(qa&&nd){dd=getImageUrl(qa,nd)+"?"+dd;var md=dd.length;dd.slice(md-1)==="|"&&(dd=dd.slice(0,md-1))}return dd}throw"pipeline's first param should be array"}const qiniu=Object.freeze(Object.defineProperty({__proto__:null,QiniuError,get QiniuErrorName(){return QiniuErrorName},QiniuNetworkError,QiniuRequestError,compressImage,deleteUploadedChunks,exif,getHeadersForChunkUpload,getHeadersForMkFile,getUploadUrl,imageInfo,imageMogr2,pipeline,region,upload,urlSafeBase64Decode,urlSafeBase64Encode,watermark},Symbol.toStringTag,{value:"Module"}));var TinyOSS={},interopRequireDefault={exports:{}};(function(Ra){function qa(nd){return nd&&nd.__esModule?nd:{default:nd}}Ra.exports=qa,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports})(interopRequireDefault);var interopRequireDefaultExports=interopRequireDefault.exports;/*
|
||
object-assign
|
||
(c) Sindre Sorhus
|
||
@license MIT
|
||
*/var objectAssign,hasRequiredObjectAssign;function requireObjectAssign(){if(hasRequiredObjectAssign)return objectAssign;hasRequiredObjectAssign=1;var Ra=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,nd=Object.prototype.propertyIsEnumerable;function od(ud){if(ud==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ud)}function ld(){try{if(!Object.assign)return!1;var ud=new String("abc");if(ud[5]="de",Object.getOwnPropertyNames(ud)[0]==="5")return!1;for(var dd={},pd=0;pd<10;pd++)dd["_"+String.fromCharCode(pd)]=pd;var fd=Object.getOwnPropertyNames(dd).map(function(vd){return dd[vd]});if(fd.join("")!=="0123456789")return!1;var md={};return"abcdefghijklmnopqrst".split("").forEach(function(vd){md[vd]=vd}),Object.keys(Object.assign({},md)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return objectAssign=ld()?Object.assign:function(ud,dd){for(var pd,fd=od(ud),md,vd=1;vd<arguments.length;vd++){pd=Object(arguments[vd]);for(var Ad in pd)qa.call(pd,Ad)&&(fd[Ad]=pd[Ad]);if(Ra){md=Ra(pd);for(var Nd=0;Nd<md.length;Nd++)nd.call(pd,md[Nd])&&(fd[md[Nd]]=pd[md[Nd]])}}return fd},objectAssign}var ajax={},hasRequiredAjax;function requireAjax(){return hasRequiredAjax||(hasRequiredAjax=1,function(Ra){Ra.__esModule=!0,Ra.default=qa;function qa(nd,od){return od===void 0&&(od={}),new Promise(function(ld,ud){var dd=od,pd=dd.async,fd=pd===void 0?!0:pd,md=dd.data,vd=md===void 0?null:md,Ad=dd.headers,Nd=Ad===void 0?{}:Ad,Id=dd.method,Od=Id===void 0?"get":Id,Md=dd.timeout,Ud=Md===void 0?0:Md,jd=dd.onprogress,Ld=new XMLHttpRequest,Bd;Ud&&(Bd=setTimeout(function(){ud(new Error("the request timeout "+Ud+"ms"))},Ud)),Ld.onerror=function(){ud(new Error("unknown error"))},Ld.upload&&(Ld.upload.onprogress=jd),Ld.onreadystatechange=function(){if(Ld.readyState===4)if(Ud&&clearTimeout(Bd),Ld.status>=200&&Ld.status<300)ld(Ld.response,Ld);else{var Gd=new Error("the request is error");ud(Gd)}},Ld.open(Od,nd,fd),Object.keys(Nd).forEach(function(Gd){Ld.setRequestHeader(Gd,Nd[Gd])});try{Ld.send(vd)}catch(Gd){ud(Gd)}})}}(ajax)),ajax}var utils={},md5={exports:{}},crypt={exports:{}},hasRequiredCrypt;function requireCrypt(){return hasRequiredCrypt||(hasRequiredCrypt=1,function(){var Ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qa={rotl:function(nd,od){return nd<<od|nd>>>32-od},rotr:function(nd,od){return nd<<32-od|nd>>>od},endian:function(nd){if(nd.constructor==Number)return qa.rotl(nd,8)&16711935|qa.rotl(nd,24)&4278255360;for(var od=0;od<nd.length;od++)nd[od]=qa.endian(nd[od]);return nd},randomBytes:function(nd){for(var od=[];nd>0;nd--)od.push(Math.floor(Math.random()*256));return od},bytesToWords:function(nd){for(var od=[],ld=0,ud=0;ld<nd.length;ld++,ud+=8)od[ud>>>5]|=nd[ld]<<24-ud%32;return od},wordsToBytes:function(nd){for(var od=[],ld=0;ld<nd.length*32;ld+=8)od.push(nd[ld>>>5]>>>24-ld%32&255);return od},bytesToHex:function(nd){for(var od=[],ld=0;ld<nd.length;ld++)od.push((nd[ld]>>>4).toString(16)),od.push((nd[ld]&15).toString(16));return od.join("")},hexToBytes:function(nd){for(var od=[],ld=0;ld<nd.length;ld+=2)od.push(parseInt(nd.substr(ld,2),16));return od},bytesToBase64:function(nd){for(var od=[],ld=0;ld<nd.length;ld+=3)for(var ud=nd[ld]<<16|nd[ld+1]<<8|nd[ld+2],dd=0;dd<4;dd++)ld*8+dd*6<=nd.length*8?od.push(Ra.charAt(ud>>>6*(3-dd)&63)):od.push("=");return od.join("")},base64ToBytes:function(nd){nd=nd.replace(/[^A-Z0-9+\/]/ig,"");for(var od=[],ld=0,ud=0;ld<nd.length;ud=++ld%4)ud!=0&&od.push((Ra.indexOf(nd.charAt(ld-1))&Math.pow(2,-2*ud+8)-1)<<ud*2|Ra.indexOf(nd.charAt(ld))>>>6-ud*2);return od}};crypt.exports=qa}()),crypt.exports}var charenc_1,hasRequiredCharenc;function requireCharenc(){if(hasRequiredCharenc)return charenc_1;hasRequiredCharenc=1;var Ra={utf8:{stringToBytes:function(qa){return Ra.bin.stringToBytes(unescape(encodeURIComponent(qa)))},bytesToString:function(qa){return decodeURIComponent(escape(Ra.bin.bytesToString(qa)))}},bin:{stringToBytes:function(qa){for(var nd=[],od=0;od<qa.length;od++)nd.push(qa.charCodeAt(od)&255);return nd},bytesToString:function(qa){for(var nd=[],od=0;od<qa.length;od++)nd.push(String.fromCharCode(qa[od]));return nd.join("")}}};return charenc_1=Ra,charenc_1}/*!
|
||
* Determine if an object is a Buffer
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/var isBuffer_1,hasRequiredIsBuffer;function requireIsBuffer(){if(hasRequiredIsBuffer)return isBuffer_1;hasRequiredIsBuffer=1,isBuffer_1=function(nd){return nd!=null&&(Ra(nd)||qa(nd)||!!nd._isBuffer)};function Ra(nd){return!!nd.constructor&&typeof nd.constructor.isBuffer=="function"&&nd.constructor.isBuffer(nd)}function qa(nd){return typeof nd.readFloatLE=="function"&&typeof nd.slice=="function"&&Ra(nd.slice(0,0))}return isBuffer_1}var hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,function(){var Ra=requireCrypt(),qa=requireCharenc().utf8,nd=requireIsBuffer(),od=requireCharenc().bin,ld=function(ud,dd){ud.constructor==String?dd&&dd.encoding==="binary"?ud=od.stringToBytes(ud):ud=qa.stringToBytes(ud):nd(ud)?ud=Array.prototype.slice.call(ud,0):!Array.isArray(ud)&&ud.constructor!==Uint8Array&&(ud=ud.toString());for(var pd=Ra.bytesToWords(ud),fd=ud.length*8,md=1732584193,vd=-271733879,Ad=-1732584194,Nd=271733878,Id=0;Id<pd.length;Id++)pd[Id]=(pd[Id]<<8|pd[Id]>>>24)&16711935|(pd[Id]<<24|pd[Id]>>>8)&4278255360;pd[fd>>>5]|=128<<fd%32,pd[(fd+64>>>9<<4)+14]=fd;for(var Od=ld._ff,Md=ld._gg,Ud=ld._hh,jd=ld._ii,Id=0;Id<pd.length;Id+=16){var Ld=md,Bd=vd,Gd=Ad,qd=Nd;md=Od(md,vd,Ad,Nd,pd[Id+0],7,-680876936),Nd=Od(Nd,md,vd,Ad,pd[Id+1],12,-389564586),Ad=Od(Ad,Nd,md,vd,pd[Id+2],17,606105819),vd=Od(vd,Ad,Nd,md,pd[Id+3],22,-1044525330),md=Od(md,vd,Ad,Nd,pd[Id+4],7,-176418897),Nd=Od(Nd,md,vd,Ad,pd[Id+5],12,1200080426),Ad=Od(Ad,Nd,md,vd,pd[Id+6],17,-1473231341),vd=Od(vd,Ad,Nd,md,pd[Id+7],22,-45705983),md=Od(md,vd,Ad,Nd,pd[Id+8],7,1770035416),Nd=Od(Nd,md,vd,Ad,pd[Id+9],12,-1958414417),Ad=Od(Ad,Nd,md,vd,pd[Id+10],17,-42063),vd=Od(vd,Ad,Nd,md,pd[Id+11],22,-1990404162),md=Od(md,vd,Ad,Nd,pd[Id+12],7,1804603682),Nd=Od(Nd,md,vd,Ad,pd[Id+13],12,-40341101),Ad=Od(Ad,Nd,md,vd,pd[Id+14],17,-1502002290),vd=Od(vd,Ad,Nd,md,pd[Id+15],22,1236535329),md=Md(md,vd,Ad,Nd,pd[Id+1],5,-165796510),Nd=Md(Nd,md,vd,Ad,pd[Id+6],9,-1069501632),Ad=Md(Ad,Nd,md,vd,pd[Id+11],14,643717713),vd=Md(vd,Ad,Nd,md,pd[Id+0],20,-373897302),md=Md(md,vd,Ad,Nd,pd[Id+5],5,-701558691),Nd=Md(Nd,md,vd,Ad,pd[Id+10],9,38016083),Ad=Md(Ad,Nd,md,vd,pd[Id+15],14,-660478335),vd=Md(vd,Ad,Nd,md,pd[Id+4],20,-405537848),md=Md(md,vd,Ad,Nd,pd[Id+9],5,568446438),Nd=Md(Nd,md,vd,Ad,pd[Id+14],9,-1019803690),Ad=Md(Ad,Nd,md,vd,pd[Id+3],14,-187363961),vd=Md(vd,Ad,Nd,md,pd[Id+8],20,1163531501),md=Md(md,vd,Ad,Nd,pd[Id+13],5,-1444681467),Nd=Md(Nd,md,vd,Ad,pd[Id+2],9,-51403784),Ad=Md(Ad,Nd,md,vd,pd[Id+7],14,1735328473),vd=Md(vd,Ad,Nd,md,pd[Id+12],20,-1926607734),md=Ud(md,vd,Ad,Nd,pd[Id+5],4,-378558),Nd=Ud(Nd,md,vd,Ad,pd[Id+8],11,-2022574463),Ad=Ud(Ad,Nd,md,vd,pd[Id+11],16,1839030562),vd=Ud(vd,Ad,Nd,md,pd[Id+14],23,-35309556),md=Ud(md,vd,Ad,Nd,pd[Id+1],4,-1530992060),Nd=Ud(Nd,md,vd,Ad,pd[Id+4],11,1272893353),Ad=Ud(Ad,Nd,md,vd,pd[Id+7],16,-155497632),vd=Ud(vd,Ad,Nd,md,pd[Id+10],23,-1094730640),md=Ud(md,vd,Ad,Nd,pd[Id+13],4,681279174),Nd=Ud(Nd,md,vd,Ad,pd[Id+0],11,-358537222),Ad=Ud(Ad,Nd,md,vd,pd[Id+3],16,-722521979),vd=Ud(vd,Ad,Nd,md,pd[Id+6],23,76029189),md=Ud(md,vd,Ad,Nd,pd[Id+9],4,-640364487),Nd=Ud(Nd,md,vd,Ad,pd[Id+12],11,-421815835),Ad=Ud(Ad,Nd,md,vd,pd[Id+15],16,530742520),vd=Ud(vd,Ad,Nd,md,pd[Id+2],23,-995338651),md=jd(md,vd,Ad,Nd,pd[Id+0],6,-198630844),Nd=jd(Nd,md,vd,Ad,pd[Id+7],10,1126891415),Ad=jd(Ad,Nd,md,vd,pd[Id+14],15,-1416354905),vd=jd(vd,Ad,Nd,md,pd[Id+5],21,-57434055),md=jd(md,vd,Ad,Nd,pd[Id+12],6,1700485571),Nd=jd(Nd,md,vd,Ad,pd[Id+3],10,-1894986606),Ad=jd(Ad,Nd,md,vd,pd[Id+10],15,-1051523),vd=jd(vd,Ad,Nd,md,pd[Id+1],21,-2054922799),md=jd(md,vd,Ad,Nd,pd[Id+8],6,1873313359),Nd=jd(Nd,md,vd,Ad,pd[Id+15],10,-30611744),Ad=jd(Ad,Nd,md,vd,pd[Id+6],15,-1560198380),vd=jd(vd,Ad,Nd,md,pd[Id+13],21,1309151649),md=jd(md,vd,Ad,Nd,pd[Id+4],6,-145523070),Nd=jd(Nd,md,vd,Ad,pd[Id+11],10,-1120210379),Ad=jd(Ad,Nd,md,vd,pd[Id+2],15,718787259),vd=jd(vd,Ad,Nd,md,pd[Id+9],21,-343485551),md=md+Ld>>>0,vd=vd+Bd>>>0,Ad=Ad+Gd>>>0,Nd=Nd+qd>>>0}return Ra.endian([md,vd,Ad,Nd])};ld._ff=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(dd&pd|~dd&fd)+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._gg=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(dd&fd|pd&~fd)+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._hh=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(dd^pd^fd)+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._ii=function(ud,dd,pd,fd,md,vd,Ad){var Nd=ud+(pd^(dd|~fd))+(md>>>0)+Ad;return(Nd<<vd|Nd>>>32-vd)+dd},ld._blocksize=16,ld._digestsize=16,md5.exports=function(ud,dd){if(ud==null)throw new Error("Illegal argument "+ud);var pd=Ra.wordsToBytes(ld(ud,dd));return dd&&dd.asBytes?pd:dd&&dd.asString?od.bytesToString(pd):Ra.bytesToHex(pd)}}()),md5.exports}var digest={exports:{}};/*! ***** BEGIN LICENSE BLOCK *****
|
||
*!
|
||
*! Copyright 2011-2012, 2014 Jean-Christophe Sirot <sirot@chelonix.com>
|
||
*!
|
||
*! This file is part of digest.js
|
||
*!
|
||
*! digest.js is free software: you can redistribute it and/or modify it under
|
||
*! the terms of the GNU General Public License as published by the Free Software
|
||
*! Foundation, either version 3 of the License, or (at your option) any later
|
||
*! version.
|
||
*!
|
||
*! digest.js is distributed in the hope that it will be useful, but
|
||
*! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||
*! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||
*! more details.
|
||
*!
|
||
*! You should have received a copy of the GNU General Public License along with
|
||
*! digest.js. If not, see http://www.gnu.org/licenses/.
|
||
*!
|
||
*! ***** END LICENSE BLOCK ***** */var hasRequiredDigest;function requireDigest(){return hasRequiredDigest||(hasRequiredDigest=1,function(Ra,qa){(function(){ArrayBuffer.prototype.slice||(ArrayBuffer.prototype.slice=function(nd,od){var ld,ud=new Uint8Array(this);od===void 0&&(od=ud.length);var dd=new ArrayBuffer(od-nd),pd=new Uint8Array(dd);for(ld=0;ld<pd.length;ld++)pd[ld]=ud[ld+nd];return dd})})(),function(nd){function od(){}od.prototype.processBlock=function(vd){var Ad=this.current[0],Nd=this.current[1],Id=this.current[2],Od=this.current[3],Md=this.current[4],Ud=[vd[0]<<24|vd[1]<<16|vd[2]<<8|vd[3],vd[4]<<24|vd[5]<<16|vd[6]<<8|vd[7],vd[8]<<24|vd[9]<<16|vd[10]<<8|vd[11],vd[12]<<24|vd[13]<<16|vd[14]<<8|vd[15],vd[16]<<24|vd[17]<<16|vd[18]<<8|vd[19],vd[20]<<24|vd[21]<<16|vd[22]<<8|vd[23],vd[24]<<24|vd[25]<<16|vd[26]<<8|vd[27],vd[28]<<24|vd[29]<<16|vd[30]<<8|vd[31],vd[32]<<24|vd[33]<<16|vd[34]<<8|vd[35],vd[36]<<24|vd[37]<<16|vd[38]<<8|vd[39],vd[40]<<24|vd[41]<<16|vd[42]<<8|vd[43],vd[44]<<24|vd[45]<<16|vd[46]<<8|vd[47],vd[48]<<24|vd[49]<<16|vd[50]<<8|vd[51],vd[52]<<24|vd[53]<<16|vd[54]<<8|vd[55],vd[56]<<24|vd[57]<<16|vd[58]<<8|vd[59],vd[60]<<24|vd[61]<<16|vd[62]<<8|vd[63]],jd,Ld;for(Ld=16;Ld<80;Ld++)Ud.push((Ud[Ld-3]^Ud[Ld-8]^Ud[Ld-14]^Ud[Ld-16])<<1|(Ud[Ld-3]^Ud[Ld-8]^Ud[Ld-14]^Ud[Ld-16])>>>31);for(Ld=0;Ld<80;Ld++)jd=(Ad<<5|Ad>>>27)+Md+Ud[Ld],Ld<20?jd+=(Nd&Id|~Nd&Od)+1518500249|0:Ld<40?jd+=(Nd^Id^Od)+1859775393|0:Ld<60?jd+=(Nd&Id|Nd&Od|Id&Od)+2400959708|0:jd+=(Nd^Id^Od)+3395469782|0,Md=Od,Od=Id,Id=Nd<<30|Nd>>>2,Nd=Ad,Ad=jd;this.current[0]+=Ad,this.current[1]+=Nd,this.current[2]+=Id,this.current[3]+=Od,this.current[4]+=Md,this.currentLen+=64},od.prototype.doPadding=function(){var vd=(this.inLen+this.currentLen)*8,Ad=0,Nd=vd&4294967295,Id=this.inLen<=55?55-this.inLen:119-this.inLen,Od=new Uint8Array(new ArrayBuffer(Id+1+8));return Od[0]=128,Od[Od.length-1]=Nd&255,Od[Od.length-2]=Nd>>>8&255,Od[Od.length-3]=Nd>>>16&255,Od[Od.length-4]=Nd>>>24&255,Od[Od.length-5]=Ad&255,Od[Od.length-6]=Ad>>>8&255,Od[Od.length-7]=Ad>>>16&255,Od[Od.length-8]=Ad>>>24&255,Od},od.prototype.getDigest=function(){var vd=new Uint8Array(new ArrayBuffer(20));return vd[3]=this.current[0]&255,vd[2]=this.current[0]>>>8&255,vd[1]=this.current[0]>>>16&255,vd[0]=this.current[0]>>>24&255,vd[7]=this.current[1]&255,vd[6]=this.current[1]>>>8&255,vd[5]=this.current[1]>>>16&255,vd[4]=this.current[1]>>>24&255,vd[11]=this.current[2]&255,vd[10]=this.current[2]>>>8&255,vd[9]=this.current[2]>>>16&255,vd[8]=this.current[2]>>>24&255,vd[15]=this.current[3]&255,vd[14]=this.current[3]>>>8&255,vd[13]=this.current[3]>>>16&255,vd[12]=this.current[3]>>>24&255,vd[19]=this.current[4]&255,vd[18]=this.current[4]>>>8&255,vd[17]=this.current[4]>>>16&255,vd[16]=this.current[4]>>>24&255,vd.buffer},od.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(20)),this.current[0]=1732584193,this.current[1]=4023233417,this.current[2]=2562383102,this.current[3]=271733878,this.current[4]=3285377520},od.prototype.blockLen=64,od.prototype.digestLen=20;var ld=function(vd){var Ad=new ArrayBuffer(vd.length),Nd=new Uint8Array(Ad),Id;for(Id=0;Id<vd.length;Id++)Nd[Id]=vd.charCodeAt(Id);return Nd},ud=function(vd){var Ad=new ArrayBuffer(1),Nd=new Uint8Array(Ad);return Nd[0]=vd,Nd},dd=function(vd){if(vd.constructor===Uint8Array)return vd;if(vd.constructor===ArrayBuffer)return new Uint8Array(vd);if(vd.constructor===String)return ld(vd);if(vd.constructor===Number){if(vd>255)throw"For more than one byte, use an array buffer";if(vd<0)throw"Input value must be positive";return ud(vd)}else throw"Unsupported type"},pd=function(vd){var Ad=function(Od){for(var Md=Od.length,Ud=0;Md>0;){var jd=this.blockLen-this.inLen;jd>Md&&(jd=Md);var Ld=Od.subarray(Ud,Ud+jd);this.inbuf.set(Ld,this.inLen),Ud+=jd,Md-=jd,this.inLen+=jd,this.inLen===this.blockLen&&(this.processBlock(this.inbuf),this.inLen=0)}},Nd=function(){var Od=this.doPadding();this.update(Od);var Md=this.getDigest();return this.reset(),Md},Id=function(){if(!vd)throw"Unsupported algorithm: "+vd.toString();vd.prototype.update=Ad,vd.prototype.finalize=Nd;var Od=new vd;return Od.inbuf=new Uint8Array(new ArrayBuffer(Od.blockLen)),Od.reset(),Od}();return{update:function(Od){Id.update(dd(Od))},finalize:function(){return Id.finalize()},digest:function(Od){return Id.update(dd(Od)),Id.finalize()},reset:function(){Id.reset()},digestLength:function(){return Id.digestLen}}},fd=function(vd){var Ad=!1,Nd,Id,Od,Md=function(){var Bd,Gd;if(!Ad){if(Nd===void 0)throw"MAC key is not defined";for(Nd.byteLength>64?Gd=new Uint8Array(vd.digest(Nd)):Gd=new Uint8Array(Nd),Id=new Uint8Array(new ArrayBuffer(64)),Bd=0;Bd<Gd.length;Bd++)Id[Bd]=54^Gd[Bd];for(Bd=Gd.length;Bd<64;Bd++)Id[Bd]=54;for(Od=new Uint8Array(new ArrayBuffer(64)),Bd=0;Bd<Gd.length;Bd++)Od[Bd]=92^Gd[Bd];for(Bd=Gd.length;Bd<64;Bd++)Od[Bd]=92;Ad=!0,vd.update(Id.buffer)}},Ud=function(){Ad=!1,Nd=void 0,Id=void 0,Od=void 0,vd.reset()},jd=function(){var Bd=vd.finalize();return vd.reset(),vd.update(Od.buffer),vd.update(Bd),Bd=vd.finalize(),Ud(),Bd},Ld=function(Bd){Nd=Bd};return{setKey:function(Bd){Ld(dd(Bd)),Md()},update:function(Bd){vd.update(Bd)},finalize:function(){return jd()},mac:function(Bd){return this.update(Bd),this.finalize()},reset:function(){Ud()},hmacLength:function(){return vd.digestLength()}}},md={SHA1:function(){return pd(od)},HMAC_SHA1:function(){return fd(pd(od))}};Ra.exports&&(Ra.exports=md)}()}(digest)),digest.exports}var hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var Ra=interopRequireDefaultExports;utils.__esModule=!0,utils.unix=ud,utils.blobToBuffer=dd,utils.assertOptions=pd,utils.getContentMd5=md,utils.getCanonicalizedOSSHeaders=vd,utils.getCanonicalizedResource=Ad,utils.getSignature=Nd;var qa=Ra(requireMd5()),nd=Ra(requireBase64Js()),od=Ra(requireDigest());function ld(Id){return Id&&Object.prototype.toString.call(Id)==="[object Date]"&&Id.toString!=="Invalid Date"}function ud(Id){var Od;return Id&&(Od=new Date(Id)),ld(Od)||(Od=new Date),Math.round(Od.getTime()/1e3)}function dd(Id){return new Promise(function(Od,Md){var Ud=new FileReader;Ud.onload=function(){var jd=new Uint8Array(Ud.result);Od(jd)},Ud.onerror=function(){Md(Ud.error)},Ud.readAsArrayBuffer(Id)})}function pd(Id){var Od=Id.accessKeyId,Md=Id.accessKeySecret,Ud=Id.bucket,jd=Id.endpoint;if(!Od)throw new Error("need accessKeyId");if(!Md)throw new Error("need accessKeySecret");if(!Ud&&!jd)throw new Error("need bucket or endpoint")}function fd(Id){for(var Od=[],Md=0;Md<Id.length;Md+=2)Od.push(parseInt(Id[Md]+Id[Md+1],16));return Uint8Array.from(Od)}function md(Id){var Od=Array.prototype.slice.call(Id,0),Md=fd((0,qa.default)(Od));return nd.default.fromByteArray(Md)}function vd(Id){var Od="",Md=Object.keys(Id);return Md=Md.map(function(Ud){return Ud.toLowerCase()}),Md.sort(),Md.forEach(function(Ud){Ud.indexOf("x-oss-")===0&&(Od+=Ud+":"+Id[Ud]+`
|
||
`)}),Od}function Ad(Id,Od,Md){Id===void 0&&(Id=""),Od===void 0&&(Od="");var Ud="";Id&&(Ud+="/"+Id),Od&&(Od.charAt(0)!=="/"&&(Ud+="/"),Ud+=Od);var jd=""+Ud,Ld="?";if(Md){var Bd=function(zd,Xd){return zd[0]>Xd[0]?1:zd[0]<Xd[0]?-1:0},Gd=function(zd){jd+=Ld+zd,Md[zd]&&(jd+="="+Md[zd]),Ld="&"};Object.keys(Md).sort(Bd).forEach(Gd)}return jd}function Nd(Id){Id===void 0&&(Id={});var Od=Id,Md=Od.type,Ud=Md===void 0?"header":Md,jd=Od.verb,Ld=jd===void 0?"":jd,Bd=Od.contentMd5,Gd=Bd===void 0?"":Bd,qd=Od.expires,zd=qd===void 0?ud()+3600:qd,Xd=Od.bucket,gf=Od.objectName,Yd=Od.accessKeySecret,Zd=Od.headers,df=Zd===void 0?{}:Zd,Ef=Od.subResource,_f=df["x-oss-date"]||"",xf=df["Content-Type"]||"",vf=[Ld,Gd,xf];Ud==="header"?vf.push(_f):vf.push(zd);var Af=vd(df),Df=Ad(Xd,gf,Ef);vf.push(""+Af+Df);var jf=vf.join(`
|
||
`),Jf=new od.default.HMAC_SHA1;Jf.setKey(Yd),Jf.update(jf);var eh=new Uint8Array(Jf.finalize()),th=nd.default.fromByteArray(eh);return th}return utils}(function(Ra){var qa=interopRequireDefaultExports;Ra.__esModule=!0,Ra.default=void 0;var nd=qa(requireObjectAssign()),od=qa(requireAjax()),ld=requireUtils(),ud=function(){function dd(fd){fd===void 0&&(fd={}),(0,ld.assertOptions)(fd),this.opts=(0,nd.default)({region:"oss-cn-hangzhou",internal:!1,cname:!1,secure:!1,timeout:6e4},fd);var md=this.opts,vd=md.bucket,Ad=md.region,Nd=md.endpoint,Id=md.internal;if(this.host="",Nd)this.host=Nd;else{var Od=vd;Id&&(Od+="-internal"),Od+="."+Ad+".aliyuncs.com",this.host=Od}}var pd=dd.prototype;return pd.put=function(md,vd,Ad){var Nd=this;return Ad===void 0&&(Ad={}),new Promise(function(Id,Od){(0,ld.blobToBuffer)(vd).then(function(Md){var Ud=Nd.opts,jd=Ud.accessKeyId,Ld=Ud.accessKeySecret,Bd=Ud.stsToken,Gd=Ud.bucket,qd="PUT",zd=(0,ld.getContentMd5)(Md),Xd=vd.type,gf={"Content-Md5":zd,"Content-Type":Xd,"x-oss-date":new Date().toGMTString()};Bd&&(gf["x-oss-security-token"]=Bd);var Yd=(0,ld.getSignature)({verb:qd,contentMd5:zd,headers:gf,bucket:Gd,objectName:md,accessKeyId:jd,accessKeySecret:Ld});gf.Authorization="OSS "+jd+":"+Yd;var Zd=Nd.opts.secure?"https":"http",df=Zd+"://"+Nd.host+"/"+md;return(0,od.default)(df,{method:qd,headers:gf,data:vd,timeout:Nd.opts.timeout,onprogress:Ad.onprogress})}).then(Id).catch(Od)})},pd.putSymlink=function(md,vd){var Ad=this.opts,Nd=Ad.accessKeyId,Id=Ad.accessKeySecret,Od=Ad.stsToken,Md=Ad.bucket,Ud="PUT",jd={"x-oss-date":new Date().toGMTString(),"x-oss-symlink-target":encodeURI(vd)};Od&&(jd["x-oss-security-token"]=Od);var Ld=(0,ld.getSignature)({verb:Ud,headers:jd,bucket:Md,objectName:md,accessKeyId:Nd,accessKeySecret:Id,subResource:{symlink:""}});jd.Authorization="OSS "+Nd+":"+Ld;var Bd=this.opts.secure?"https":"http",Gd=Bd+"://"+this.host+"/"+md+"?symlink";return(0,od.default)(Gd,{method:Ud,headers:jd,timeout:this.opts.timeout})},pd.signatureUrl=function(md,vd){vd===void 0&&(vd={});var Ad=vd,Nd=Ad.expires,Id=Nd===void 0?1800:Nd,Od=Ad.method,Md=Ad.process,Ud=Ad.response,jd=this.opts,Ld=jd.accessKeyId,Bd=jd.accessKeySecret,Gd=jd.stsToken,qd=jd.bucket,zd={},Xd={};if(Md){var gf="x-oss-process";Xd[gf]=Md}Ud&&Object.keys(Ud).forEach(function(xf){var vf="response-"+xf.toLowerCase();Xd[vf]=Ud[xf]}),Object.keys(vd).forEach(function(xf){var vf=xf.toLowerCase(),Af=vd[xf];vf.indexOf("x-oss-")===0?zd[vf]=Af:vf.indexOf("content-md5")===0||vf.indexOf("content-type")===0?zd[xf]=Af:vf!=="expires"&&vf!=="response"&&vf!=="process"&&vf!=="method"&&(Xd[vf]=Af)});var Yd=vd["security-token"]||Gd;Yd&&(Xd["security-token"]=Yd);var Zd=(0,ld.unix)()+Id,df=(0,ld.getSignature)({type:"url",verb:Od||"GET",accessKeyId:Ld,accessKeySecret:Bd,bucket:qd,objectName:md,headers:zd,subResource:Xd,expires:Zd}),Ef=this.opts.secure?"https":"http",_f=Ef+"://"+this.host+"/"+md;return _f+="?OSSAccessKeyId="+Ld,_f+="&Expires="+Zd,_f+="&Signature="+encodeURIComponent(df),Object.keys(Xd).forEach(function(xf){_f+="&"+xf+"="+encodeURIComponent(Xd[xf])}),_f},dd}();Ra.default=ud})(TinyOSS);var lib=TinyOSS.default;const OSS=getDefaultExportFromCjs(lib),byteToHex=[];for(let Ra=0;Ra<256;++Ra)byteToHex.push((Ra+256).toString(16).slice(1));function unsafeStringify(Ra,qa=0){return(byteToHex[Ra[qa+0]]+byteToHex[Ra[qa+1]]+byteToHex[Ra[qa+2]]+byteToHex[Ra[qa+3]]+"-"+byteToHex[Ra[qa+4]]+byteToHex[Ra[qa+5]]+"-"+byteToHex[Ra[qa+6]]+byteToHex[Ra[qa+7]]+"-"+byteToHex[Ra[qa+8]]+byteToHex[Ra[qa+9]]+"-"+byteToHex[Ra[qa+10]]+byteToHex[Ra[qa+11]]+byteToHex[Ra[qa+12]]+byteToHex[Ra[qa+13]]+byteToHex[Ra[qa+14]]+byteToHex[Ra[qa+15]]).toLowerCase()}let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");getRandomValues=crypto.getRandomValues.bind(crypto)}return getRandomValues(rnds8)}const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native={randomUUID};function v4(Ra,qa,nd){if(native.randomUUID&&!qa&&!Ra)return native.randomUUID();Ra=Ra||{};const od=Ra.random||(Ra.rng||rng)();if(od[6]=od[6]&15|64,od[8]=od[8]&63|128,qa){nd=nd||0;for(let ld=0;ld<16;++ld)qa[nd+ld]=od[ld];return qa}return unsafeStringify(od)}function getConfig(Ra,qa){if(Ra){const ld=qa==="github"?githubConfig:giteeConfig,{username:ud,repoList:dd,branch:pd,accessTokenList:fd}=ld,md=Math.floor(Math.random()*fd.length),vd=fd[md].replace("doocsmd",""),Ad=Math.floor(Math.random()*dd.length),Nd=dd[Ad];return{username:ud,repo:Nd,branch:pd,accessToken:vd}}const nd=JSON.parse(localStorage.getItem(`${qa}Config`)),od=nd.repo.replace(`https://${qa}.com/`,"").replace(`http://${qa}.com/`,"").replace(`${qa}.com/`,"").split("/");return{username:od[0],repo:od[1],branch:nd.branch||"master",accessToken:nd.accessToken}}function getDir(){const Ra=new Date,qa=Ra.getFullYear(),nd=(Ra.getMonth()+1).toString().padStart(2,"0"),od=Ra.getDate().toString().padStart(2,"0");return`${qa}/${nd}/${od}`}function getDateFilename(Ra){const qa=new Date().getTime(),nd=Ra.split(".")[1];return`${qa}-${v4()}.${nd}`}async function ghFileUpload(Ra,qa){var Id;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:dd}=getConfig(nd,"github"),pd=getDir(),fd=`https://api.github.com/repos/${od}/${ld}/contents/${pd}/`,md=getDateFilename(qa),vd=await service({url:fd+md,method:"put",headers:{Authorization:`token ${dd}`},data:{content:Ra,branch:ud,message:`Upload by ${window.location.href}`}}),Ad=`raw.githubusercontent.com/${od}/${ld}/${ud}/`,Nd=`fastly.jsdelivr.net/gh/${od}/${ld}@${ud}/`;return vd.content=((Id=vd.data)==null?void 0:Id.content)||vd.content,nd?vd.content.download_url.replace(Ad,Nd):vd.content.download_url}async function giteeUpload(Ra,qa){var Ad;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:dd}=getConfig(nd,"gitee"),pd=getDir(),fd=getDateFilename(qa),md=`https://gitee.com/api/v5/repos/${od}/${ld}/contents/${pd}/${fd}`,vd=await service({url:md,method:"POST",data:{content:Ra,branch:ud,access_token:dd,message:`Upload by ${window.location.href}`}});return vd.content=((Ad=vd.data)==null?void 0:Ad.content)||vd.content,encodeURI(vd.content.download_url)}function getQiniuToken(Ra,qa,nd){const od=JSON.stringify(nd),ld=base64encode(utf16to8(od)),dd=CryptoJS.HmacSHA1(ld,qa).toString(CryptoJS.enc.Base64);return`${Ra}:${safe64(dd)}:${ld}`}async function qiniuUpload(Ra){const{accessKey:qa,secretKey:nd,bucket:od,region:ld,path:ud,domain:dd}=JSON.parse(localStorage.getItem("qiniuConfig")),pd=getQiniuToken(qa,nd,{scope:od,deadline:Math.trunc(new Date().getTime()/1e3)+3600}),md=(ud?`${ud}/`:"")+getDateFilename(Ra.name),vd=upload(Ra,md,pd,{},{region:ld});return new Promise((Ad,Nd)=>{vd.subscribe({next:Id=>{console.log(Id)},error:Id=>{Nd(Id.message)},complete:Id=>{Ad(`${dd}/${Id.key}`)}})})}async function aliOSSFileUpload(Ra){const qa=getDateFilename(Ra.name),{region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,useSSL:dd,cdnHost:pd,path:fd}=JSON.parse(localStorage.getItem("aliOSSConfig")),md=fd?`${fd}/${qa}`:qa,vd=dd===void 0||dd,Ad=vd?"https":"http",Nd=new OSS({region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,secure:vd});try{return await Nd.put(md,Ra),pd?`${pd}/${md}`:`${Ad}://${od}.${nd}.aliyuncs.com/${md}`}catch(Id){return Promise.reject(Id)}}async function txCOSFileUpload(Ra){const qa=getDateFilename(Ra.name),{secretId:nd,secretKey:od,bucket:ld,region:ud,path:dd,cdnHost:pd}=JSON.parse(localStorage.getItem("txCOSConfig")),fd=new COS({SecretId:nd,SecretKey:od});return new Promise((md,vd)=>{fd.putObject({Bucket:ld,Region:ud,Key:`${dd}/${qa}`,Body:Ra},(Ad,Nd)=>{Ad?vd(Ad):md(pd?dd===""?`${pd}/${qa}`:`${pd}/${dd}/${qa}`:`https://${Nd.Location}`)})})}async function minioFileUpload(Ra,qa){const nd=getDateFilename(qa),{endpoint:od,port:ld,useSSL:ud,bucket:dd,accessKey:pd,secretKey:fd}=JSON.parse(localStorage.getItem("minioConfig")),md=Buffer$1(Ra,"base64"),vd={endPoint:od,useSSL:ud,accessKey:pd,secretKey:fd},Ad=Number(ld||0),Nd=Ad>0&&Ad!==80&&Ad!==443;return Nd&&(vd.port=Ad),new Promise((Id,Od)=>{const Md=new Client(vd);try{Md.putObject(dd,nd,md,Ud=>{Ud&&Od(Ud);const Ld=`${`${ud?"https://":"http://"}${od}${Nd?`:${ld}`:""}`}/${dd}/${nd}`;Id(Ld)})}catch(Ud){Od(Ud)}})}async function getMpToken(Ra,qa,nd){const od=localStorage.getItem(`mpToken:${Ra}`);if(od){const pd=JSON.parse(od);if(pd.expire&&pd.expire>new Date().getTime())return pd.access_token}const ld={method:"POST",data:{grant_type:"client_credential",appid:Ra,secret:qa}};let ud="https://api.weixin.qq.com/cgi-bin/stable_token";nd&&(ud=`${nd}/cgi-bin/stable_token`);const dd=await service(ud,ld);if(dd.access_token){const pd={...dd,expire:new Date().getTime()+dd.expires_in*1e3};return localStorage.setItem(`mpToken:${Ra}`,JSON.stringify(pd)),dd.access_token}return""}async function mpFileUpload(Ra){const{appID:qa,appsecret:nd,proxyOrigin:od}=JSON.parse(localStorage.getItem("mpConfig"));return new Promise(async(ld,ud)=>{try{const dd=await getMpToken(qa,nd,od).catch(Nd=>console.error(Nd));if(!dd){ud(new Error("获取 access_token 失败,请检查console日志"));return}const pd=new FormData;pd.append("media",Ra,Ra.name);const fd={method:"POST",data:pd};let md=`https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${dd}&type=image`;od&&(md=`${od}/cgi-bin/material/add_material?access_token=${dd}&type=image`);let Ad=(await service(md,fd)).url;od&&window.location.href.startsWith("http")&&(Ad=`https://wsrv.nl?url=${encodeURIComponent(Ad)}`),ld(Ad)}catch(dd){ud(dd)}})}async function r2Upload(Ra){const{accountId:qa,accessKey:nd,secretKey:od,bucket:ld,path:ud,domain:dd}=JSON.parse(localStorage.getItem("r2Config")),fd=(ud?`${ud}/`:"")+getDateFilename(Ra.name),md=new S3Client({region:"auto",endpoint:`https://${qa}.r2.cloudflarestorage.com`,credentials:{accessKeyId:nd,secretAccessKey:od}});return new Promise((vd,Ad)=>{const Nd=new PutObjectCommand({Bucket:ld,Key:fd,ContentType:Ra.type,Body:Ra});md.send(Nd).then(()=>{vd(`${dd}/${fd}`)}).catch(Id=>{Ad(Id)})})}async function formCustomUpload(content,file){const str=`
|
||
async (CUSTOM_ARG) => {
|
||
${localStorage.getItem("formCustomConfig")}
|
||
}
|
||
`;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer:Buffer$1,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(Ra=>{console.error(Ra),reject(Ra)})})}function fileUpload(Ra,qa){const nd=localStorage.getItem("imgHost");switch(nd||localStorage.setItem("imgHost","default"),nd){case"aliOSS":return aliOSSFileUpload(qa);case"minio":return minioFileUpload(Ra,qa.name);case"txCOS":return txCOSFileUpload(qa);case"qiniu":return qiniuUpload(qa);case"gitee":return giteeUpload(Ra,qa.name);case"github":return ghFileUpload(Ra,qa.name);case"mp":return mpFileUpload(qa);case"r2":return r2Upload(qa);case"formCustom":return formCustomUpload(Ra,qa);default:return ghFileUpload(Ra,qa.name)}}const fileApi={fileUpload},_hoisted_1={class:"container-main flex-1"},_hoisted_2={class:"container-main-section h-full flex border-1"},_hoisted_3=["span"],_hoisted_4={class:"preview border shadow-xl"},_hoisted_5=["innerHTML"],_hoisted_6={key:0,class:"loading-mask"},_sfc_main$1=defineComponent({__name:"CodemirrorEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{isDark:od,output:ld,editor:ud}=storeToRefs(qa),{isShowCssEditor:dd}=storeToRefs(nd),{editorRefresh:pd,exportEditorContent2HTML:fd,exportEditorContent2MD:md,formatContent:vd,importMarkdownContent:Ad,resetStyleConfirm:Nd}=qa,{toggleShowInsertFormDialog:Id,toggleShowUploadImgDialog:Od}=nd,Md=ref$1(!1),Ud=ref$1(),jd=ref$1(null);function Ld(){const Df=eh=>{let th,Uf;clearTimeout(Ud.value),eh==="preview"?(th=jd.value,Uf=document.querySelector(".CodeMirror-scroll"),ud.value.off("scroll",jf),Ud.value=setTimeout(()=>{ud.value.on("scroll",jf)},300)):(th=document.querySelector(".CodeMirror-scroll"),Uf=jd.value,Uf.removeEventListener("scroll",Jf,!1),Ud.value=setTimeout(()=>{Uf.addEventListener("scroll",Jf,!1)},300));const Wf=th.scrollTop/(th.scrollHeight-th.offsetHeight)*(Uf.scrollHeight-Uf.offsetHeight);Uf.scrollTo(0,Wf)};function jf(){Df("editor")}function Jf(){Df("preview")}jd.value.addEventListener("scroll",Jf,!1),ud.value.on("scroll",jf)}onMounted(()=>{setTimeout(()=>{Ld()},300)});function Bd(){pd()}const Gd=ref$1(!1),qd=ref$1(!1);function zd(){qd.value=!0,Gd.value=!0}function Xd(){Gd.value=!1,setTimeout(()=>{qd.value=!1},800)}function gf(Df){const jf=checkImage(Df);if(!jf.ok)return Ke$1.error(jf.msg),!1;const Jf=localStorage.getItem("imgHost")||"default";localStorage.setItem("imgHost",Jf);const eh=localStorage.getItem(`${Jf}Config`);return Jf==="default"||eh?!0:(Ke$1.error(`请先配置 ${Jf} 图床参数`),!1)}function Yd(Df){if(!Df){Ke$1.error("上传图片未知异常");return}Od(!1);const jf=ud.value.getCursor(),Jf=`![](${Df})`;toRaw(qa.editor).replaceSelection(`
|
||
${Jf}
|
||
`,jf),Ke$1.success("图片上传成功")}function Zd(Df,jf){Md.value=!0,toBase64$2(Df).then(Jf=>fileApi.fileUpload(Jf,Df)).then(Jf=>{jf?jf(Jf):Yd(Jf)}).catch(Jf=>{Ke$1.error(Jf.message)}).finally(()=>{Md.value=!1})}const df=ref$1();watch(od,()=>{var jf,Jf;const Df=od.value?"darcula":"xq-light";(Jf=(jf=toRaw(ud.value))==null?void 0:jf.setOption)==null||Jf.call(jf,"theme",Df)});function Ef(){const Df=document.querySelector("#editor");Df.value||(Df.value=qa.posts[qa.currentPostIndex].content),ud.value=CodeMirror.fromTextArea(Df,{mode:"text/x-markdown",theme:od.value?"darcula":"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Jf){formatDoc(Jf.getValue()).then(eh=>{Jf.setValue(eh)})},[`${ctrlKey}-B`]:function(Jf){const eh=Jf.getSelection();Jf.replaceSelection(`**${eh}**`)},[`${ctrlKey}-I`]:function(Jf){const eh=Jf.getSelection();Jf.replaceSelection(`*${eh}*`)},[`${ctrlKey}-D`]:function(Jf){const eh=Jf.getSelection();Jf.replaceSelection(`~~${eh}~~`)},[`${ctrlKey}-K`]:function(Jf){const eh=Jf.getSelection();Jf.replaceSelection(`[${eh}]()`)},[`${ctrlKey}-E`]:function(Jf){const eh=Jf.getSelection();Jf.replaceSelection(`\`${eh}\``)},[`${ctrlKey}-L`]:function(Jf){const eh=Jf.getSelection();Jf.replaceSelection(`\`${eh}\``)}}}),ud.value.on("change",jf=>{clearTimeout(df.value),df.value=setTimeout(()=>{Bd(),qa.posts[qa.currentPostIndex].content=jf.getValue()},300)}),ud.value.on("paste",(jf,Jf)=>{if(!(!(Jf.clipboardData&&Jf.clipboardData.items)||Md.value))for(let eh=0,th=Jf.clipboardData.items.length;eh<th;++eh){const Uf=Jf.clipboardData.items[eh];if(Uf.kind==="file"){const Of=Uf.getAsFile();if(!gf(Of))continue;Zd(Of)}}})}const _f=ref$1(null);function xf(Df){ud.value.options.extraKeys[Df](ud.value)}const vf=ref$1(null);function Af(){const Df=vf.value,jf=async({md:th,list:Uf})=>{const Of=[...th.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(zf=>zf),Wf=th.path.match(/.+?\//)[0];(await Promise.all(Of.map(zf=>new Promise(Tf=>{let[,,Sf]=zf;Sf=Sf.replace(/^.\//,"");const{file:Yf}=Uf.find(ih=>ih.path===`${Wf}${Sf}`)||{};Zd(Yf,ih=>{Tf({matchStr:Sf,url:ih})})})))).forEach(zf=>{th.str=th.str.replace(`](./${zf.matchStr})`,`](${zf.url})`).replace(`](${zf.matchStr})`,`](${zf.url})`)}),ud.value.setValue(th.str)};Df.ondragover=th=>th.preventDefault(),Df.ondrop=async th=>{th.preventDefault();for(const Uf of th.dataTransfer.items)Uf.getAsFileSystemHandle().then(async Of=>{if(Of.kind==="directory"){const Wf=await eh(Of),qf=await Jf({list:Wf});jf({md:qf,list:Wf})}else{const Wf=await Of.getFile();console.log("file",Wf)}})};async function Jf({list:th}){return new Promise(Uf=>{const{path:Of,file:Wf}=th.find(zf=>zf.path.match(/\.md$/)),qf=new FileReader;qf.readAsText(Wf,"UTF-8"),qf.onload=zf=>{Uf({str:zf.target.result,file:Wf,path:Of})}})}async function eh(th){const Uf=[];let Of="";try{const Wf=[th];for(const qf of Wf){Of+=`${qf.name}/`;for await(const[,zf]of qf)zf.kind==="file"?Uf.push({path:Of+zf.name,file:await zf.getFile()}):(Uf.push({path:`${Of+zf.name}/`}),Wf.push(zf))}}catch(Wf){console.error(Wf)}return Uf}}return onMounted(()=>{Ef(),Bd(),Af()}),(Df,jf)=>{const Jf=__unplugin_components_0,eh=_sfc_main$x,th=_sfc_main$D,Uf=_sfc_main$E,Of=_sfc_main$F,Wf=_sfc_main$G,qf=_sfc_main$H,zf=_sfc_main$I,Tf=__unplugin_components_8,Sf=_sfc_main$L,Yf=_sfc_main$_,ih=__unplugin_components_11,Th=_sfc_main$1c,sh=_sfc_main$1d,Nf=_sfc_main$1e,ph=_sfc_main$1f,Oh=_sfc_main$1g,Zf=_sfc_main$1i,Rf=_sfc_main$1j,Bf=_sfc_main$1k;return openBlock(),createElementBlock("div",{ref_key:"container",ref:_f,class:"container flex flex-col"},[createVNode(Jf,{onAddFormat:xf,onFormatContent:unref(vd),onStartCopy:zd,onEndCopy:Xd},null,8,["onFormatContent"]),createBaseVNode("main",_hoisted_1,[createBaseVNode("div",_hoisted_2,[createVNode(eh),createBaseVNode("div",{ref_key:"codeMirrorWrapper",ref:vf,class:normalizeClass(["codeMirror-wrapper flex-1 border-r-1",{"order-1":!unref(qa).isEditOnLeft}])},[createVNode(zf,null,{default:withCtx(()=>[createVNode(th,null,{default:withCtx(()=>jf[9]||(jf[9]=[createBaseVNode("textarea",{id:"editor",type:"textarea",placeholder:"Your markdown text here."},null,-1)])),_:1}),createVNode(qf,{class:"w-64"},{default:withCtx(()=>[createVNode(Uf,{inset:"",onClick:jf[0]||(jf[0]=Kf=>unref(Od)())},{default:withCtx(()=>jf[10]||(jf[10]=[createTextVNode(" 上传图片 ")])),_:1}),createVNode(Uf,{inset:"",onClick:jf[1]||(jf[1]=Kf=>unref(Id)())},{default:withCtx(()=>jf[11]||(jf[11]=[createTextVNode(" 插入表格 ")])),_:1}),createVNode(Uf,{inset:"",onClick:jf[2]||(jf[2]=Kf=>unref(Nd)())},{default:withCtx(()=>jf[12]||(jf[12]=[createTextVNode(" 恢复默认样式 ")])),_:1}),createVNode(Of),createVNode(Uf,{inset:"",onClick:jf[3]||(jf[3]=Kf=>unref(Ad)())},{default:withCtx(()=>jf[13]||(jf[13]=[createTextVNode(" 导入 .md 文档 ")])),_:1}),createVNode(Uf,{inset:"",onClick:jf[4]||(jf[4]=Kf=>unref(md)())},{default:withCtx(()=>jf[14]||(jf[14]=[createTextVNode(" 导出 .md 文档 ")])),_:1}),createVNode(Uf,{inset:"",onClick:jf[5]||(jf[5]=Kf=>unref(fd)())},{default:withCtx(()=>jf[15]||(jf[15]=[createTextVNode(" 导出 .html ")])),_:1}),createVNode(Uf,{inset:"",onClick:jf[6]||(jf[6]=Kf=>unref(vd)())},{default:withCtx(()=>[jf[16]||(jf[16]=createTextVNode(" 格式化 ")),createVNode(Wf,null,{default:withCtx(()=>[createTextVNode(toDisplayString(unref(altSign))+" + "+toDisplayString(unref(shiftSign))+" + F",1)]),_:1})]),_:1})]),_:1})]),_:1})],2),createBaseVNode("div",{id:"preview",ref_key:"preview",ref:jd,span:unref(dd)?8:12,class:"preview-wrapper flex-1 p-5"},[createBaseVNode("div",{id:"output-wrapper",class:normalizeClass({output_night:!unref(Gd)})},[createBaseVNode("div",_hoisted_4,[createBaseVNode("section",{id:"output",innerHTML:unref(ld)},null,8,_hoisted_5),unref(qd)?(openBlock(),createElementBlock("div",_hoisted_6,jf[17]||(jf[17]=[createBaseVNode("div",{class:"loading-mask-box"},[createBaseVNode("div",{class:"loading__img"}),createBaseVNode("span",null,"正在生成")],-1)]))):createCommentVNode("",!0)])],2)],8,_hoisted_3),createVNode(Tf,{class:"flex-1"})])]),createVNode(Sf,{onUploadImage:Zd}),createVNode(Yf),createVNode(ih),createVNode(Bf,{open:unref(qa).isOpenConfirmDialog,"onUpdate:open":jf[8]||(jf[8]=Kf=>unref(qa).isOpenConfirmDialog=Kf)},{default:withCtx(()=>[createVNode(Rf,null,{default:withCtx(()=>[createVNode(Nf,null,{default:withCtx(()=>[createVNode(Th,null,{default:withCtx(()=>jf[18]||(jf[18]=[createTextVNode("提示")])),_:1}),createVNode(sh,null,{default:withCtx(()=>jf[19]||(jf[19]=[createTextVNode(" 此操作将丢失本地自定义样式,是否继续? ")])),_:1})]),_:1}),createVNode(Zf,null,{default:withCtx(()=>[createVNode(ph,null,{default:withCtx(()=>jf[20]||(jf[20]=[createTextVNode("取消")])),_:1}),createVNode(Oh,{onClick:jf[7]||(jf[7]=Kf=>unref(qa).resetStyle())},{default:withCtx(()=>jf[21]||(jf[21]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512)}}}),CodemirrorEditor=_export_sfc(_sfc_main$1,[["__scopeId","data-v-f0c9436f"]]),_sfc_main=defineComponent({__name:"App",setup(Ra){return(qa,nd)=>(openBlock(),createBlock(CodemirrorEditor))}});var css={exports:{}};(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.defineMode("css",function(Zd,df){var Ef=df.inline;df.propertyKeywords||(df=nd.resolveMode("text/css"));var _f=Zd.indentUnit,xf=df.tokenHooks,vf=df.documentTypes||{},Af=df.mediaTypes||{},Df=df.mediaFeatures||{},jf=df.mediaValueKeywords||{},Jf=df.propertyKeywords||{},eh=df.nonStandardPropertyKeywords||{},th=df.fontProperties||{},Uf=df.counterDescriptors||{},Of=df.colorKeywords||{},Wf=df.valueKeywords||{},qf=df.allowNested,zf=df.lineComment,Tf=df.supportsAtComponent===!0,Sf=Zd.highlightNonStandardPropertyKeywords!==!1,Yf,ih;function Th(mh,im){return Yf=im,mh}function sh(mh,im){var Bh=mh.next();if(xf[Bh]){var Tm=xf[Bh](mh,im);if(Tm!==!1)return Tm}if(Bh=="@")return mh.eatWhile(/[\w\\\-]/),Th("def",mh.current());if(Bh=="="||(Bh=="~"||Bh=="|")&&mh.eat("="))return Th(null,"compare");if(Bh=='"'||Bh=="'")return im.tokenize=Nf(Bh),im.tokenize(mh,im);if(Bh=="#")return mh.eatWhile(/[\w\\\-]/),Th("atom","hash");if(Bh=="!")return mh.match(/^\s*\w*/),Th("keyword","important");if(/\d/.test(Bh)||Bh=="."&&mh.eat(/\d/))return mh.eatWhile(/[\w.%]/),Th("number","unit");if(Bh==="-"){if(/[\d.]/.test(mh.peek()))return mh.eatWhile(/[\w.%]/),Th("number","unit");if(mh.match(/^-[\w\\\-]*/))return mh.eatWhile(/[\w\\\-]/),mh.match(/^\s*:/,!1)?Th("variable-2","variable-definition"):Th("variable-2","variable");if(mh.match(/^\w+-/))return Th("meta","meta")}else return/[,+>*\/]/.test(Bh)?Th(null,"select-op"):Bh=="."&&mh.match(/^-?[_a-z][_a-z0-9-]*/i)?Th("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Bh)?Th(null,Bh):mh.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(mh.current())&&(im.tokenize=ph),Th("variable callee","variable")):/[\w\\\-]/.test(Bh)?(mh.eatWhile(/[\w\\\-]/),Th("property","word")):Th(null,null)}function Nf(mh){return function(im,Bh){for(var Tm=!1,Pm;(Pm=im.next())!=null;){if(Pm==mh&&!Tm){mh==")"&&im.backUp(1);break}Tm=!Tm&&Pm=="\\"}return(Pm==mh||!Tm&&mh!=")")&&(Bh.tokenize=null),Th("string","string")}}function ph(mh,im){return mh.next(),mh.match(/^\s*[\"\')]/,!1)?im.tokenize=null:im.tokenize=Nf(")"),Th(null,"(")}function Oh(mh,im,Bh){this.type=mh,this.indent=im,this.prev=Bh}function Zf(mh,im,Bh,Tm){return mh.context=new Oh(Bh,im.indentation()+(Tm===!1?0:_f),mh.context),Bh}function Rf(mh){return mh.context.prev&&(mh.context=mh.context.prev),mh.context.type}function Bf(mh,im,Bh){return Ah[Bh.context.type](mh,im,Bh)}function Kf(mh,im,Bh,Tm){for(var Pm=Tm||1;Pm>0;Pm--)Bh.context=Bh.context.prev;return Bf(mh,im,Bh)}function wh(mh){var im=mh.current().toLowerCase();Wf.hasOwnProperty(im)?ih="atom":Of.hasOwnProperty(im)?ih="keyword":ih="variable"}var Ah={};return Ah.top=function(mh,im,Bh){if(mh=="{")return Zf(Bh,im,"block");if(mh=="}"&&Bh.context.prev)return Rf(Bh);if(Tf&&/@component/i.test(mh))return Zf(Bh,im,"atComponentBlock");if(/^@(-moz-)?document$/i.test(mh))return Zf(Bh,im,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(mh))return Zf(Bh,im,"atBlock");if(/^@(font-face|counter-style)/i.test(mh))return Bh.stateArg=mh,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(mh))return"keyframes";if(mh&&mh.charAt(0)=="@")return Zf(Bh,im,"at");if(mh=="hash")ih="builtin";else if(mh=="word")ih="tag";else{if(mh=="variable-definition")return"maybeprop";if(mh=="interpolation")return Zf(Bh,im,"interpolation");if(mh==":")return"pseudo";if(qf&&mh=="(")return Zf(Bh,im,"parens")}return Bh.context.type},Ah.block=function(mh,im,Bh){if(mh=="word"){var Tm=im.current().toLowerCase();return Jf.hasOwnProperty(Tm)?(ih="property","maybeprop"):eh.hasOwnProperty(Tm)?(ih=Sf?"string-2":"property","maybeprop"):qf?(ih=im.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ih+=" error","maybeprop")}else return mh=="meta"?"block":!qf&&(mh=="hash"||mh=="qualifier")?(ih="error","block"):Ah.top(mh,im,Bh)},Ah.maybeprop=function(mh,im,Bh){return mh==":"?Zf(Bh,im,"prop"):Bf(mh,im,Bh)},Ah.prop=function(mh,im,Bh){if(mh==";")return Rf(Bh);if(mh=="{"&&qf)return Zf(Bh,im,"propBlock");if(mh=="}"||mh=="{")return Kf(mh,im,Bh);if(mh=="(")return Zf(Bh,im,"parens");if(mh=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(im.current()))ih+=" error";else if(mh=="word")wh(im);else if(mh=="interpolation")return Zf(Bh,im,"interpolation");return"prop"},Ah.propBlock=function(mh,im,Bh){return mh=="}"?Rf(Bh):mh=="word"?(ih="property","maybeprop"):Bh.context.type},Ah.parens=function(mh,im,Bh){return mh=="{"||mh=="}"?Kf(mh,im,Bh):mh==")"?Rf(Bh):mh=="("?Zf(Bh,im,"parens"):mh=="interpolation"?Zf(Bh,im,"interpolation"):(mh=="word"&&wh(im),"parens")},Ah.pseudo=function(mh,im,Bh){return mh=="meta"?"pseudo":mh=="word"?(ih="variable-3",Bh.context.type):Bf(mh,im,Bh)},Ah.documentTypes=function(mh,im,Bh){return mh=="word"&&vf.hasOwnProperty(im.current())?(ih="tag",Bh.context.type):Ah.atBlock(mh,im,Bh)},Ah.atBlock=function(mh,im,Bh){if(mh=="(")return Zf(Bh,im,"atBlock_parens");if(mh=="}"||mh==";")return Kf(mh,im,Bh);if(mh=="{")return Rf(Bh)&&Zf(Bh,im,qf?"block":"top");if(mh=="interpolation")return Zf(Bh,im,"interpolation");if(mh=="word"){var Tm=im.current().toLowerCase();Tm=="only"||Tm=="not"||Tm=="and"||Tm=="or"?ih="keyword":Af.hasOwnProperty(Tm)?ih="attribute":Df.hasOwnProperty(Tm)?ih="property":jf.hasOwnProperty(Tm)?ih="keyword":Jf.hasOwnProperty(Tm)?ih="property":eh.hasOwnProperty(Tm)?ih=Sf?"string-2":"property":Wf.hasOwnProperty(Tm)?ih="atom":Of.hasOwnProperty(Tm)?ih="keyword":ih="error"}return Bh.context.type},Ah.atComponentBlock=function(mh,im,Bh){return mh=="}"?Kf(mh,im,Bh):mh=="{"?Rf(Bh)&&Zf(Bh,im,qf?"block":"top",!1):(mh=="word"&&(ih="error"),Bh.context.type)},Ah.atBlock_parens=function(mh,im,Bh){return mh==")"?Rf(Bh):mh=="{"||mh=="}"?Kf(mh,im,Bh,2):Ah.atBlock(mh,im,Bh)},Ah.restricted_atBlock_before=function(mh,im,Bh){return mh=="{"?Zf(Bh,im,"restricted_atBlock"):mh=="word"&&Bh.stateArg=="@counter-style"?(ih="variable","restricted_atBlock_before"):Bf(mh,im,Bh)},Ah.restricted_atBlock=function(mh,im,Bh){return mh=="}"?(Bh.stateArg=null,Rf(Bh)):mh=="word"?(Bh.stateArg=="@font-face"&&!th.hasOwnProperty(im.current().toLowerCase())||Bh.stateArg=="@counter-style"&&!Uf.hasOwnProperty(im.current().toLowerCase())?ih="error":ih="property","maybeprop"):"restricted_atBlock"},Ah.keyframes=function(mh,im,Bh){return mh=="word"?(ih="variable","keyframes"):mh=="{"?Zf(Bh,im,"top"):Bf(mh,im,Bh)},Ah.at=function(mh,im,Bh){return mh==";"?Rf(Bh):mh=="{"||mh=="}"?Kf(mh,im,Bh):(mh=="word"?ih="tag":mh=="hash"&&(ih="builtin"),"at")},Ah.interpolation=function(mh,im,Bh){return mh=="}"?Rf(Bh):mh=="{"||mh==";"?Kf(mh,im,Bh):(mh=="word"?ih="variable":mh!="variable"&&mh!="("&&mh!=")"&&(ih="error"),"interpolation")},{startState:function(mh){return{tokenize:null,state:Ef?"block":"top",stateArg:null,context:new Oh(Ef?"block":"top",mh||0,null)}},token:function(mh,im){if(!im.tokenize&&mh.eatSpace())return null;var Bh=(im.tokenize||sh)(mh,im);return Bh&&typeof Bh=="object"&&(Yf=Bh[1],Bh=Bh[0]),ih=Bh,Yf!="comment"&&(im.state=Ah[im.state](Yf,mh,im)),ih},indent:function(mh,im){var Bh=mh.context,Tm=im&&im.charAt(0),Pm=Bh.indent;return Bh.type=="prop"&&(Tm=="}"||Tm==")")&&(Bh=Bh.prev),Bh.prev&&(Tm=="}"&&(Bh.type=="block"||Bh.type=="top"||Bh.type=="interpolation"||Bh.type=="restricted_atBlock")?(Bh=Bh.prev,Pm=Bh.indent):(Tm==")"&&(Bh.type=="parens"||Bh.type=="atBlock_parens")||Tm=="{"&&(Bh.type=="at"||Bh.type=="atBlock"))&&(Pm=Math.max(0,Bh.indent-_f))),Pm},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:zf,fold:"brace"}});function od(Zd){for(var df={},Ef=0;Ef<Zd.length;++Ef)df[Zd[Ef].toLowerCase()]=!0;return df}var ld=["domain","regexp","url","url-prefix"],ud=od(ld),dd=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],pd=od(dd),fd=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],md=od(fd),vd=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],Ad=od(vd),Nd=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","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","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-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-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","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","gap","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","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","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-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],Id=od(Nd),Od=["accent-color","aspect-ratio","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-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","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],Md=od(Od),Ud=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],jd=od(Ud),Ld=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Bd=od(Ld),Gd=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],qd=od(Gd),zd=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],Xd=od(zd),gf=ld.concat(dd).concat(fd).concat(vd).concat(Nd).concat(Od).concat(Gd).concat(zd);nd.registerHelper("hintWords","css",gf);function Yd(Zd,df){for(var Ef=!1,_f;(_f=Zd.next())!=null;){if(Ef&&_f=="/"){df.tokenize=null;break}Ef=_f=="*"}return["comment","comment"]}nd.defineMIME("text/css",{documentTypes:ud,mediaTypes:pd,mediaFeatures:md,mediaValueKeywords:Ad,propertyKeywords:Id,nonStandardPropertyKeywords:Md,fontProperties:jd,counterDescriptors:Bd,colorKeywords:qd,valueKeywords:Xd,tokenHooks:{"/":function(Zd,df){return Zd.eat("*")?(df.tokenize=Yd,Yd(Zd,df)):!1}},name:"css"}),nd.defineMIME("text/x-scss",{mediaTypes:pd,mediaFeatures:md,mediaValueKeywords:Ad,propertyKeywords:Id,nonStandardPropertyKeywords:Md,colorKeywords:qd,valueKeywords:Xd,fontProperties:jd,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Zd,df){return Zd.eat("/")?(Zd.skipToEnd(),["comment","comment"]):Zd.eat("*")?(df.tokenize=Yd,Yd(Zd,df)):["operator","operator"]},":":function(Zd){return Zd.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Zd){return Zd.match(/^[\w-]+/),Zd.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Zd){return Zd.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),nd.defineMIME("text/x-less",{mediaTypes:pd,mediaFeatures:md,mediaValueKeywords:Ad,propertyKeywords:Id,nonStandardPropertyKeywords:Md,colorKeywords:qd,valueKeywords:Xd,fontProperties:jd,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Zd,df){return Zd.eat("/")?(Zd.skipToEnd(),["comment","comment"]):Zd.eat("*")?(df.tokenize=Yd,Yd(Zd,df)):["operator","operator"]},"@":function(Zd){return Zd.eat("{")?[null,"interpolation"]:Zd.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Zd.eatWhile(/[\w\\\-]/),Zd.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),nd.defineMIME("text/x-gss",{documentTypes:ud,mediaTypes:pd,mediaFeatures:md,propertyKeywords:Id,nonStandardPropertyKeywords:Md,fontProperties:jd,counterDescriptors:Bd,colorKeywords:qd,valueKeywords:Xd,supportsAtComponent:!0,tokenHooks:{"/":function(Zd,df){return Zd.eat("*")?(df.tokenize=Yd,Yd(Zd,df)):!1}},name:"css",helperType:"gss"})})})();var cssExports=css.exports;(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.defineMode("javascript",function(od,ld){var ud=od.indentUnit,dd=ld.statementIndent,pd=ld.jsonld,fd=ld.json||pd,md=ld.trackScope!==!1,vd=ld.typescript,Ad=ld.wordCharacters||/[\w$\xa1-\uffff]/,Nd=function(){function _h(S_){return{type:S_,style:"keyword"}}var Xh=_h("keyword a"),Um=_h("keyword b"),Jm=_h("keyword c"),Om=_h("keyword d"),og=_h("operator"),zg={type:"atom",style:"atom"};return{if:_h("if"),while:Xh,with:Xh,else:Um,do:Um,try:Um,finally:Um,return:Om,break:Om,continue:Om,new:_h("new"),delete:Jm,void:Jm,throw:Jm,debugger:_h("debugger"),var:_h("var"),const:_h("var"),let:_h("var"),function:_h("function"),catch:_h("catch"),for:_h("for"),switch:_h("switch"),case:_h("case"),default:_h("default"),in:og,typeof:og,instanceof:og,true:zg,false:zg,null:zg,undefined:zg,NaN:zg,Infinity:zg,this:_h("this"),class:_h("class"),super:_h("atom"),yield:Jm,export:_h("export"),import:_h("import"),extends:Jm,await:Jm}}(),Id=/[+\-*&%=<>!?|~^@]/,Od=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Md(_h){for(var Xh=!1,Um,Jm=!1;(Um=_h.next())!=null;){if(!Xh){if(Um=="/"&&!Jm)return;Um=="["?Jm=!0:Jm&&Um=="]"&&(Jm=!1)}Xh=!Xh&&Um=="\\"}}var Ud,jd;function Ld(_h,Xh,Um){return Ud=_h,jd=Um,Xh}function Bd(_h,Xh){var Um=_h.next();if(Um=='"'||Um=="'")return Xh.tokenize=Gd(Um),Xh.tokenize(_h,Xh);if(Um=="."&&_h.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Ld("number","number");if(Um=="."&&_h.match(".."))return Ld("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Um))return Ld(Um);if(Um=="="&&_h.eat(">"))return Ld("=>","operator");if(Um=="0"&&_h.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Ld("number","number");if(/\d/.test(Um))return _h.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Ld("number","number");if(Um=="/")return _h.eat("*")?(Xh.tokenize=qd,qd(_h,Xh)):_h.eat("/")?(_h.skipToEnd(),Ld("comment","comment")):Mg(_h,Xh,1)?(Md(_h),_h.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Ld("regexp","string-2")):(_h.eat("="),Ld("operator","operator",_h.current()));if(Um=="`")return Xh.tokenize=zd,zd(_h,Xh);if(Um=="#"&&_h.peek()=="!")return _h.skipToEnd(),Ld("meta","meta");if(Um=="#"&&_h.eatWhile(Ad))return Ld("variable","property");if(Um=="<"&&_h.match("!--")||Um=="-"&&_h.match("->")&&!/\S/.test(_h.string.slice(0,_h.start)))return _h.skipToEnd(),Ld("comment","comment");if(Id.test(Um))return(Um!=">"||!Xh.lexical||Xh.lexical.type!=">")&&(_h.eat("=")?(Um=="!"||Um=="=")&&_h.eat("="):/[<>*+\-|&?]/.test(Um)&&(_h.eat(Um),Um==">"&&_h.eat(Um))),Um=="?"&&_h.eat(".")?Ld("."):Ld("operator","operator",_h.current());if(Ad.test(Um)){_h.eatWhile(Ad);var Jm=_h.current();if(Xh.lastType!="."){if(Nd.propertyIsEnumerable(Jm)){var Om=Nd[Jm];return Ld(Om.type,Om.style,Jm)}if(Jm=="async"&&_h.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Ld("async","keyword",Jm)}return Ld("variable","variable",Jm)}}function Gd(_h){return function(Xh,Um){var Jm=!1,Om;if(pd&&Xh.peek()=="@"&&Xh.match(Od))return Um.tokenize=Bd,Ld("jsonld-keyword","meta");for(;(Om=Xh.next())!=null&&!(Om==_h&&!Jm);)Jm=!Jm&&Om=="\\";return Jm||(Um.tokenize=Bd),Ld("string","string")}}function qd(_h,Xh){for(var Um=!1,Jm;Jm=_h.next();){if(Jm=="/"&&Um){Xh.tokenize=Bd;break}Um=Jm=="*"}return Ld("comment","comment")}function zd(_h,Xh){for(var Um=!1,Jm;(Jm=_h.next())!=null;){if(!Um&&(Jm=="`"||Jm=="$"&&_h.eat("{"))){Xh.tokenize=Bd;break}Um=!Um&&Jm=="\\"}return Ld("quasi","string-2",_h.current())}var Xd="([{}])";function gf(_h,Xh){Xh.fatArrowAt&&(Xh.fatArrowAt=null);var Um=_h.string.indexOf("=>",_h.start);if(!(Um<0)){if(vd){var Jm=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(_h.string.slice(_h.start,Um));Jm&&(Um=Jm.index)}for(var Om=0,og=!1,zg=Um-1;zg>=0;--zg){var S_=_h.string.charAt(zg),M_=Xd.indexOf(S_);if(M_>=0&&M_<3){if(!Om){++zg;break}if(--Om==0){S_=="("&&(og=!0);break}}else if(M_>=3&&M_<6)++Om;else if(Ad.test(S_))og=!0;else if(/["'\/`]/.test(S_))for(;;--zg){if(zg==0)return;var fb=_h.string.charAt(zg-1);if(fb==S_&&_h.string.charAt(zg-2)!="\\"){zg--;break}}else if(og&&!Om){++zg;break}}og&&!Om&&(Xh.fatArrowAt=zg)}}var Yd={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Zd(_h,Xh,Um,Jm,Om,og){this.indented=_h,this.column=Xh,this.type=Um,this.prev=Om,this.info=og,Jm!=null&&(this.align=Jm)}function df(_h,Xh){if(!md)return!1;for(var Um=_h.localVars;Um;Um=Um.next)if(Um.name==Xh)return!0;for(var Jm=_h.context;Jm;Jm=Jm.prev)for(var Um=Jm.vars;Um;Um=Um.next)if(Um.name==Xh)return!0}function Ef(_h,Xh,Um,Jm,Om){var og=_h.cc;for(_f.state=_h,_f.stream=Om,_f.marked=null,_f.cc=og,_f.style=Xh,_h.lexical.hasOwnProperty("align")||(_h.lexical.align=!0);;){var zg=og.length?og.pop():fd?Th:Yf;if(zg(Um,Jm)){for(;og.length&&og[og.length-1].lex;)og.pop()();return _f.marked?_f.marked:Um=="variable"&&df(_h,Jm)?"variable-2":Xh}}}var _f={state:null,column:null,marked:null,cc:null};function xf(){for(var _h=arguments.length-1;_h>=0;_h--)_f.cc.push(arguments[_h])}function vf(){return xf.apply(null,arguments),!0}function Af(_h,Xh){for(var Um=Xh;Um;Um=Um.next)if(Um.name==_h)return!0;return!1}function Df(_h){var Xh=_f.state;if(_f.marked="def",!!md){if(Xh.context){if(Xh.lexical.info=="var"&&Xh.context&&Xh.context.block){var Um=jf(_h,Xh.context);if(Um!=null){Xh.context=Um;return}}else if(!Af(_h,Xh.localVars)){Xh.localVars=new th(_h,Xh.localVars);return}}ld.globalVars&&!Af(_h,Xh.globalVars)&&(Xh.globalVars=new th(_h,Xh.globalVars))}}function jf(_h,Xh){if(Xh)if(Xh.block){var Um=jf(_h,Xh.prev);return Um?Um==Xh.prev?Xh:new eh(Um,Xh.vars,!0):null}else return Af(_h,Xh.vars)?Xh:new eh(Xh.prev,new th(_h,Xh.vars),!1);else return null}function Jf(_h){return _h=="public"||_h=="private"||_h=="protected"||_h=="abstract"||_h=="readonly"}function eh(_h,Xh,Um){this.prev=_h,this.vars=Xh,this.block=Um}function th(_h,Xh){this.name=_h,this.next=Xh}var Uf=new th("this",new th("arguments",null));function Of(){_f.state.context=new eh(_f.state.context,_f.state.localVars,!1),_f.state.localVars=Uf}function Wf(){_f.state.context=new eh(_f.state.context,_f.state.localVars,!0),_f.state.localVars=null}Of.lex=Wf.lex=!0;function qf(){_f.state.localVars=_f.state.context.vars,_f.state.context=_f.state.context.prev}qf.lex=!0;function zf(_h,Xh){var Um=function(){var Jm=_f.state,Om=Jm.indented;if(Jm.lexical.type=="stat")Om=Jm.lexical.indented;else for(var og=Jm.lexical;og&&og.type==")"&&og.align;og=og.prev)Om=og.indented;Jm.lexical=new Zd(Om,_f.stream.column(),_h,null,Jm.lexical,Xh)};return Um.lex=!0,Um}function Tf(){var _h=_f.state;_h.lexical.prev&&(_h.lexical.type==")"&&(_h.indented=_h.lexical.indented),_h.lexical=_h.lexical.prev)}Tf.lex=!0;function Sf(_h){function Xh(Um){return Um==_h?vf():_h==";"||Um=="}"||Um==")"||Um=="]"?xf():vf(Xh)}return Xh}function Yf(_h,Xh){return _h=="var"?vf(zf("vardef",Xh),g_,Sf(";"),Tf):_h=="keyword a"?vf(zf("form"),Nf,Yf,Tf):_h=="keyword b"?vf(zf("form"),Yf,Tf):_h=="keyword d"?_f.stream.match(/^\s*$/,!1)?vf():vf(zf("stat"),Oh,Sf(";"),Tf):_h=="debugger"?vf(Sf(";")):_h=="{"?vf(zf("}"),Wf,$f,Tf,qf):_h==";"?vf():_h=="if"?(_f.state.lexical.info=="else"&&_f.state.cc[_f.state.cc.length-1]==Tf&&_f.state.cc.pop()(),vf(zf("form"),Nf,Yf,Tf,ng)):_h=="function"?vf(Pf):_h=="for"?vf(zf("form"),Wf,ub,Yf,qf,Tf):_h=="class"||vd&&Xh=="interface"?(_f.marked="keyword",vf(zf("form",_h=="class"?_h:Xh),Jh,Tf)):_h=="variable"?vd&&Xh=="declare"?(_f.marked="keyword",vf(Yf)):vd&&(Xh=="module"||Xh=="enum"||Xh=="type")&&_f.stream.match(/^\s*\w/,!1)?(_f.marked="keyword",Xh=="enum"?vf(tg):Xh=="type"?vf(vh,Sf("operator"),Im,Sf(";")):vf(zf("form"),Jg,Sf("{"),zf("}"),$f,Tf,Tf)):vd&&Xh=="namespace"?(_f.marked="keyword",vf(zf("form"),Th,Yf,Tf)):vd&&Xh=="abstract"?(_f.marked="keyword",vf(Yf)):vf(zf("stat"),Tm):_h=="switch"?vf(zf("form"),Nf,Sf("{"),zf("}","switch"),Wf,$f,Tf,Tf,qf):_h=="case"?vf(Th,Sf(":")):_h=="default"?vf(Sf(":")):_h=="catch"?vf(zf("form"),Of,ih,Yf,Tf,qf):_h=="export"?vf(zf("stat"),Lm,Tf):_h=="import"?vf(zf("stat"),_g,Tf):_h=="async"?vf(Yf):Xh=="@"?vf(Th,Yf):xf(zf("stat"),Th,Sf(";"),Tf)}function ih(_h){if(_h=="(")return vf(Rh,Sf(")"))}function Th(_h,Xh){return ph(_h,Xh,!1)}function sh(_h,Xh){return ph(_h,Xh,!0)}function Nf(_h){return _h!="("?xf():vf(zf(")"),Oh,Sf(")"),Tf)}function ph(_h,Xh,Um){if(_f.state.fatArrowAt==_f.stream.start){var Jm=Um?Ah:wh;if(_h=="(")return vf(Of,zf(")"),gh(Rh,")"),Tf,Sf("=>"),Jm,qf);if(_h=="variable")return xf(Of,Jg,Sf("=>"),Jm,qf)}var Om=Um?Rf:Zf;return Yd.hasOwnProperty(_h)?vf(Om):_h=="function"?vf(Pf,Om):_h=="class"||vd&&Xh=="interface"?(_f.marked="keyword",vf(zf("form"),sm,Tf)):_h=="keyword c"||_h=="async"?vf(Um?sh:Th):_h=="("?vf(zf(")"),Oh,Sf(")"),Tf,Om):_h=="operator"||_h=="spread"?vf(Um?sh:Th):_h=="["?vf(zf("]"),jg,Tf,Om):_h=="{"?Lf(gm,"}",null,Om):_h=="quasi"?xf(Bf,Om):_h=="new"?vf(mh(Um)):vf()}function Oh(_h){return _h.match(/[;\}\)\],]/)?xf():xf(Th)}function Zf(_h,Xh){return _h==","?vf(Oh):Rf(_h,Xh,!1)}function Rf(_h,Xh,Um){var Jm=Um==!1?Zf:Rf,Om=Um==!1?Th:sh;if(_h=="=>")return vf(Of,Um?Ah:wh,qf);if(_h=="operator")return/\+\+|--/.test(Xh)||vd&&Xh=="!"?vf(Jm):vd&&Xh=="<"&&_f.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?vf(zf(">"),gh(Im,">"),Tf,Jm):Xh=="?"?vf(Th,Sf(":"),Om):vf(Om);if(_h=="quasi")return xf(Bf,Jm);if(_h!=";"){if(_h=="(")return Lf(sh,")","call",Jm);if(_h==".")return vf(Pm,Jm);if(_h=="[")return vf(zf("]"),Oh,Sf("]"),Tf,Jm);if(vd&&Xh=="as")return _f.marked="keyword",vf(Im,Jm);if(_h=="regexp")return _f.state.lastType=_f.marked="operator",_f.stream.backUp(_f.stream.pos-_f.stream.start-1),vf(Om)}}function Bf(_h,Xh){return _h!="quasi"?xf():Xh.slice(Xh.length-2)!="${"?vf(Bf):vf(Oh,Kf)}function Kf(_h){if(_h=="}")return _f.marked="string-2",_f.state.tokenize=zd,vf(Bf)}function wh(_h){return gf(_f.stream,_f.state),xf(_h=="{"?Yf:Th)}function Ah(_h){return gf(_f.stream,_f.state),xf(_h=="{"?Yf:sh)}function mh(_h){return function(Xh){return Xh=="."?vf(_h?Bh:im):Xh=="variable"&&vd?vf(Fg,_h?Rf:Zf):xf(_h?sh:Th)}}function im(_h,Xh){if(Xh=="target")return _f.marked="keyword",vf(Zf)}function Bh(_h,Xh){if(Xh=="target")return _f.marked="keyword",vf(Rf)}function Tm(_h){return _h==":"?vf(Tf,Yf):xf(Zf,Sf(";"),Tf)}function Pm(_h){if(_h=="variable")return _f.marked="property",vf()}function gm(_h,Xh){if(_h=="async")return _f.marked="property",vf(gm);if(_h=="variable"||_f.style=="keyword"){if(_f.marked="property",Xh=="get"||Xh=="set")return vf(Mm);var Um;return vd&&_f.state.fatArrowAt==_f.stream.start&&(Um=_f.stream.match(/^\s*:\s*/,!1))&&(_f.state.fatArrowAt=_f.stream.pos+Um[0].length),vf(Hm)}else{if(_h=="number"||_h=="string")return _f.marked=pd?"property":_f.style+" property",vf(Hm);if(_h=="jsonld-keyword")return vf(Hm);if(vd&&Jf(Xh))return _f.marked="keyword",vf(gm);if(_h=="[")return vf(Th,fh,Sf("]"),Hm);if(_h=="spread")return vf(sh,Hm);if(Xh=="*")return _f.marked="keyword",vf(gm);if(_h==":")return xf(Hm)}}function Mm(_h){return _h!="variable"?xf(Hm):(_f.marked="property",vf(Pf))}function Hm(_h){if(_h==":")return vf(sh);if(_h=="(")return xf(Pf)}function gh(_h,Xh,Um){function Jm(Om,og){if(Um?Um.indexOf(Om)>-1:Om==","){var zg=_f.state.lexical;return zg.info=="call"&&(zg.pos=(zg.pos||0)+1),vf(function(S_,M_){return S_==Xh||M_==Xh?xf():xf(_h)},Jm)}return Om==Xh||og==Xh?vf():Um&&Um.indexOf(";")>-1?xf(_h):vf(Sf(Xh))}return function(Om,og){return Om==Xh||og==Xh?vf():xf(_h,Jm)}}function Lf(_h,Xh,Um){for(var Jm=3;Jm<arguments.length;Jm++)_f.cc.push(arguments[Jm]);return vf(zf(Xh,Um),gh(_h,Xh),Tf)}function $f(_h){return _h=="}"?vf():xf(Yf,$f)}function fh(_h,Xh){if(vd){if(_h==":")return vf(Im);if(Xh=="?")return vf(fh)}}function Ch(_h,Xh){if(vd&&(_h==":"||Xh=="in"))return vf(Im)}function Zh(_h){if(vd&&_h==":")return _f.stream.match(/^\s*\w+\s+is\b/,!1)?vf(Th,dm,Im):vf(Im)}function dm(_h,Xh){if(Xh=="is")return _f.marked="keyword",vf()}function Im(_h,Xh){if(Xh=="keyof"||Xh=="typeof"||Xh=="infer"||Xh=="readonly")return _f.marked="keyword",vf(Xh=="typeof"?sh:Im);if(_h=="variable"||Xh=="void")return _f.marked="type",vf(n_);if(Xh=="|"||Xh=="&")return vf(Im);if(_h=="string"||_h=="number"||_h=="atom")return vf(n_);if(_h=="[")return vf(zf("]"),gh(Im,"]",","),Tf,n_);if(_h=="{")return vf(zf("}"),Fm,Tf,n_);if(_h=="(")return vf(gh(kg,")"),Ym,n_);if(_h=="<")return vf(gh(Im,">"),Im);if(_h=="quasi")return xf(rg,n_)}function Ym(_h){if(_h=="=>")return vf(Im)}function Fm(_h){return _h.match(/[\}\)\]]/)?vf():_h==","||_h==";"?vf(Fm):xf(ug,Fm)}function ug(_h,Xh){if(_h=="variable"||_f.style=="keyword")return _f.marked="property",vf(ug);if(Xh=="?"||_h=="number"||_h=="string")return vf(ug);if(_h==":")return vf(Im);if(_h=="[")return vf(Sf("variable"),Ch,Sf("]"),ug);if(_h=="(")return xf(kh,ug);if(!_h.match(/[;\}\)\],]/))return vf()}function rg(_h,Xh){return _h!="quasi"?xf():Xh.slice(Xh.length-2)!="${"?vf(rg):vf(Im,Eg)}function Eg(_h){if(_h=="}")return _f.marked="string-2",_f.state.tokenize=zd,vf(rg)}function kg(_h,Xh){return _h=="variable"&&_f.stream.match(/^\s*[?:]/,!1)||Xh=="?"?vf(kg):_h==":"?vf(Im):_h=="spread"?vf(kg):xf(Im)}function n_(_h,Xh){if(Xh=="<")return vf(zf(">"),gh(Im,">"),Tf,n_);if(Xh=="|"||_h=="."||Xh=="&")return vf(Im);if(_h=="[")return vf(Im,Sf("]"),n_);if(Xh=="extends"||Xh=="implements")return _f.marked="keyword",vf(Im);if(Xh=="?")return vf(Im,Sf(":"),Im)}function Fg(_h,Xh){if(Xh=="<")return vf(zf(">"),gh(Im,">"),Tf,n_)}function Kg(){return xf(Im,Ng)}function Ng(_h,Xh){if(Xh=="=")return vf(Im)}function g_(_h,Xh){return Xh=="enum"?(_f.marked="keyword",vf(tg)):xf(Jg,fh,a_,c_)}function Jg(_h,Xh){if(vd&&Jf(Xh))return _f.marked="keyword",vf(Jg);if(_h=="variable")return Df(Xh),vf();if(_h=="spread")return vf(Jg);if(_h=="[")return Lf(N_,"]");if(_h=="{")return Lf(C_,"}")}function C_(_h,Xh){return _h=="variable"&&!_f.stream.match(/^\s*:/,!1)?(Df(Xh),vf(a_)):(_h=="variable"&&(_f.marked="property"),_h=="spread"?vf(Jg):_h=="}"?xf():_h=="["?vf(Th,Sf("]"),Sf(":"),C_):vf(Sf(":"),Jg,a_))}function N_(){return xf(Jg,a_)}function a_(_h,Xh){if(Xh=="=")return vf(sh)}function c_(_h){if(_h==",")return vf(g_)}function ng(_h,Xh){if(_h=="keyword b"&&Xh=="else")return vf(zf("form","else"),Yf,Tf)}function ub(_h,Xh){if(Xh=="await")return vf(ub);if(_h=="(")return vf(zf(")"),Tb,Tf)}function Tb(_h){return _h=="var"?vf(g_,q_):_h=="variable"?vf(q_):xf(q_)}function q_(_h,Xh){return _h==")"?vf():_h==";"?vf(q_):Xh=="in"||Xh=="of"?(_f.marked="keyword",vf(Th,q_)):xf(Th,q_)}function Pf(_h,Xh){if(Xh=="*")return _f.marked="keyword",vf(Pf);if(_h=="variable")return Df(Xh),vf(Pf);if(_h=="(")return vf(Of,zf(")"),gh(Rh,")"),Tf,Zh,Yf,qf);if(vd&&Xh=="<")return vf(zf(">"),gh(Kg,">"),Tf,Pf)}function kh(_h,Xh){if(Xh=="*")return _f.marked="keyword",vf(kh);if(_h=="variable")return Df(Xh),vf(kh);if(_h=="(")return vf(Of,zf(")"),gh(Rh,")"),Tf,Zh,qf);if(vd&&Xh=="<")return vf(zf(">"),gh(Kg,">"),Tf,kh)}function vh(_h,Xh){if(_h=="keyword"||_h=="variable")return _f.marked="type",vf(vh);if(Xh=="<")return vf(zf(">"),gh(Kg,">"),Tf)}function Rh(_h,Xh){return Xh=="@"&&vf(Th,Rh),_h=="spread"?vf(Rh):vd&&Jf(Xh)?(_f.marked="keyword",vf(Rh)):vd&&_h=="this"?vf(fh,a_):xf(Jg,fh,a_)}function sm(_h,Xh){return _h=="variable"?Jh(_h,Xh):hm(_h,Xh)}function Jh(_h,Xh){if(_h=="variable")return Df(Xh),vf(hm)}function hm(_h,Xh){if(Xh=="<")return vf(zf(">"),gh(Kg,">"),Tf,hm);if(Xh=="extends"||Xh=="implements"||vd&&_h==",")return Xh=="implements"&&(_f.marked="keyword"),vf(vd?Im:Th,hm);if(_h=="{")return vf(zf("}"),pm,Tf)}function pm(_h,Xh){if(_h=="async"||_h=="variable"&&(Xh=="static"||Xh=="get"||Xh=="set"||vd&&Jf(Xh))&&_f.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return _f.marked="keyword",vf(pm);if(_h=="variable"||_f.style=="keyword")return _f.marked="property",vf(Uh,pm);if(_h=="number"||_h=="string")return vf(Uh,pm);if(_h=="[")return vf(Th,fh,Sf("]"),Uh,pm);if(Xh=="*")return _f.marked="keyword",vf(pm);if(vd&&_h=="(")return xf(kh,pm);if(_h==";"||_h==",")return vf(pm);if(_h=="}")return vf();if(Xh=="@")return vf(Th,pm)}function Uh(_h,Xh){if(Xh=="!"||Xh=="?")return vf(Uh);if(_h==":")return vf(Im,a_);if(Xh=="=")return vf(sh);var Um=_f.state.lexical.prev,Jm=Um&&Um.info=="interface";return xf(Jm?kh:Pf)}function Lm(_h,Xh){return Xh=="*"?(_f.marked="keyword",vf(Zg,Sf(";"))):Xh=="default"?(_f.marked="keyword",vf(Th,Sf(";"))):_h=="{"?vf(gh(Gm,"}"),Zg,Sf(";")):xf(Yf)}function Gm(_h,Xh){if(Xh=="as")return _f.marked="keyword",vf(Sf("variable"));if(_h=="variable")return xf(sh,Gm)}function _g(_h){return _h=="string"?vf():_h=="("?xf(Th):_h=="."?xf(Zf):xf(Km,Sg,Zg)}function Km(_h,Xh){return _h=="{"?Lf(Km,"}"):(_h=="variable"&&Df(Xh),Xh=="*"&&(_f.marked="keyword"),vf(t_))}function Sg(_h){if(_h==",")return vf(Km,Sg)}function t_(_h,Xh){if(Xh=="as")return _f.marked="keyword",vf(Km)}function Zg(_h,Xh){if(Xh=="from")return _f.marked="keyword",vf(Th)}function jg(_h){return _h=="]"?vf():xf(gh(sh,"]"))}function tg(){return xf(zf("form"),Jg,Sf("{"),zf("}"),gh(y_,"}"),Tf,Tf)}function y_(){return xf(Jg,a_)}function Gg(_h,Xh){return _h.lastType=="operator"||_h.lastType==","||Id.test(Xh.charAt(0))||/[,.]/.test(Xh.charAt(0))}function Mg(_h,Xh,Um){return Xh.tokenize==Bd&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Xh.lastType)||Xh.lastType=="quasi"&&/\{\s*$/.test(_h.string.slice(0,_h.pos-(Um||0)))}return{startState:function(_h){var Xh={tokenize:Bd,lastType:"sof",cc:[],lexical:new Zd((_h||0)-ud,0,"block",!1),localVars:ld.localVars,context:ld.localVars&&new eh(null,null,!1),indented:_h||0};return ld.globalVars&&typeof ld.globalVars=="object"&&(Xh.globalVars=ld.globalVars),Xh},token:function(_h,Xh){if(_h.sol()&&(Xh.lexical.hasOwnProperty("align")||(Xh.lexical.align=!1),Xh.indented=_h.indentation(),gf(_h,Xh)),Xh.tokenize!=qd&&_h.eatSpace())return null;var Um=Xh.tokenize(_h,Xh);return Ud=="comment"?Um:(Xh.lastType=Ud=="operator"&&(jd=="++"||jd=="--")?"incdec":Ud,Ef(Xh,Um,Ud,jd,_h))},indent:function(_h,Xh){if(_h.tokenize==qd||_h.tokenize==zd)return nd.Pass;if(_h.tokenize!=Bd)return 0;var Um=Xh&&Xh.charAt(0),Jm=_h.lexical,Om;if(!/^\s*else\b/.test(Xh))for(var og=_h.cc.length-1;og>=0;--og){var zg=_h.cc[og];if(zg==Tf)Jm=Jm.prev;else if(zg!=ng&&zg!=qf)break}for(;(Jm.type=="stat"||Jm.type=="form")&&(Um=="}"||(Om=_h.cc[_h.cc.length-1])&&(Om==Zf||Om==Rf)&&!/^[,\.=+\-*:?[\(]/.test(Xh));)Jm=Jm.prev;dd&&Jm.type==")"&&Jm.prev.type=="stat"&&(Jm=Jm.prev);var S_=Jm.type,M_=Um==S_;return S_=="vardef"?Jm.indented+(_h.lastType=="operator"||_h.lastType==","?Jm.info.length+1:0):S_=="form"&&Um=="{"?Jm.indented:S_=="form"?Jm.indented+ud:S_=="stat"?Jm.indented+(Gg(_h,Xh)?dd||ud:0):Jm.info=="switch"&&!M_&&ld.doubleIndentSwitch!=!1?Jm.indented+(/^(?:case|default)\b/.test(Xh)?ud:2*ud):Jm.align?Jm.column+(M_?0:1):Jm.indented+(M_?0:ud)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:fd?null:"/*",blockCommentEnd:fd?null:"*/",blockCommentContinue:fd?null:" * ",lineComment:fd?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:fd?"json":"javascript",jsonldMode:pd,jsonMode:fd,expressionAllowed:Mg,skipExpression:function(_h){Ef(_h,"atom","atom","true",new nd.StringStream("",2,null))}}}),nd.registerHelper("wordChars","javascript",/[\w$]/),nd.defineMIME("text/javascript","javascript"),nd.defineMIME("text/ecmascript","javascript"),nd.defineMIME("application/javascript","javascript"),nd.defineMIME("application/x-javascript","javascript"),nd.defineMIME("application/ecmascript","javascript"),nd.defineMIME("application/json",{name:"javascript",json:!0}),nd.defineMIME("application/x-json",{name:"javascript",json:!0}),nd.defineMIME("application/manifest+json",{name:"javascript",json:!0}),nd.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),nd.defineMIME("text/typescript",{name:"javascript",typescript:!0}),nd.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var xml={exports:{}},hasRequiredXml;function requireXml(){return hasRequiredXml||(hasRequiredXml=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ld={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};nd.defineMode("xml",function(ud,dd){var pd=ud.indentUnit,fd={},md=dd.htmlMode?od:ld;for(var vd in md)fd[vd]=md[vd];for(var vd in dd)fd[vd]=dd[vd];var Ad,Nd;function Id(vf,Af){function Df(eh){return Af.tokenize=eh,eh(vf,Af)}var jf=vf.next();if(jf=="<")return vf.eat("!")?vf.eat("[")?vf.match("CDATA[")?Df(Ud("atom","]]>")):null:vf.match("--")?Df(Ud("comment","-->")):vf.match("DOCTYPE",!0,!0)?(vf.eatWhile(/[\w\._\-]/),Df(jd(1))):null:vf.eat("?")?(vf.eatWhile(/[\w\._\-]/),Af.tokenize=Ud("meta","?>"),"meta"):(Ad=vf.eat("/")?"closeTag":"openTag",Af.tokenize=Od,"tag bracket");if(jf=="&"){var Jf;return vf.eat("#")?vf.eat("x")?Jf=vf.eatWhile(/[a-fA-F\d]/)&&vf.eat(";"):Jf=vf.eatWhile(/[\d]/)&&vf.eat(";"):Jf=vf.eatWhile(/[\w\.\-:]/)&&vf.eat(";"),Jf?"atom":"error"}else return vf.eatWhile(/[^&<]/),null}Id.isInText=!0;function Od(vf,Af){var Df=vf.next();if(Df==">"||Df=="/"&&vf.eat(">"))return Af.tokenize=Id,Ad=Df==">"?"endTag":"selfcloseTag","tag bracket";if(Df=="=")return Ad="equals",null;if(Df=="<"){Af.tokenize=Id,Af.state=zd,Af.tagName=Af.tagStart=null;var jf=Af.tokenize(vf,Af);return jf?jf+" tag error":"tag error"}else return/[\'\"]/.test(Df)?(Af.tokenize=Md(Df),Af.stringStartCol=vf.column(),Af.tokenize(vf,Af)):(vf.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Md(vf){var Af=function(Df,jf){for(;!Df.eol();)if(Df.next()==vf){jf.tokenize=Od;break}return"string"};return Af.isInAttribute=!0,Af}function Ud(vf,Af){return function(Df,jf){for(;!Df.eol();){if(Df.match(Af)){jf.tokenize=Id;break}Df.next()}return vf}}function jd(vf){return function(Af,Df){for(var jf;(jf=Af.next())!=null;){if(jf=="<")return Df.tokenize=jd(vf+1),Df.tokenize(Af,Df);if(jf==">")if(vf==1){Df.tokenize=Id;break}else return Df.tokenize=jd(vf-1),Df.tokenize(Af,Df)}return"meta"}}function Ld(vf){return vf&&vf.toLowerCase()}function Bd(vf,Af,Df){this.prev=vf.context,this.tagName=Af||"",this.indent=vf.indented,this.startOfLine=Df,(fd.doNotIndent.hasOwnProperty(Af)||vf.context&&vf.context.noIndent)&&(this.noIndent=!0)}function Gd(vf){vf.context&&(vf.context=vf.context.prev)}function qd(vf,Af){for(var Df;;){if(!vf.context||(Df=vf.context.tagName,!fd.contextGrabbers.hasOwnProperty(Ld(Df))||!fd.contextGrabbers[Ld(Df)].hasOwnProperty(Ld(Af))))return;Gd(vf)}}function zd(vf,Af,Df){return vf=="openTag"?(Df.tagStart=Af.column(),Xd):vf=="closeTag"?gf:zd}function Xd(vf,Af,Df){return vf=="word"?(Df.tagName=Af.current(),Nd="tag",df):fd.allowMissingTagName&&vf=="endTag"?(Nd="tag bracket",df(vf,Af,Df)):(Nd="error",Xd)}function gf(vf,Af,Df){if(vf=="word"){var jf=Af.current();return Df.context&&Df.context.tagName!=jf&&fd.implicitlyClosed.hasOwnProperty(Ld(Df.context.tagName))&&Gd(Df),Df.context&&Df.context.tagName==jf||fd.matchClosing===!1?(Nd="tag",Yd):(Nd="tag error",Zd)}else return fd.allowMissingTagName&&vf=="endTag"?(Nd="tag bracket",Yd(vf,Af,Df)):(Nd="error",Zd)}function Yd(vf,Af,Df){return vf!="endTag"?(Nd="error",Yd):(Gd(Df),zd)}function Zd(vf,Af,Df){return Nd="error",Yd(vf,Af,Df)}function df(vf,Af,Df){if(vf=="word")return Nd="attribute",Ef;if(vf=="endTag"||vf=="selfcloseTag"){var jf=Df.tagName,Jf=Df.tagStart;return Df.tagName=Df.tagStart=null,vf=="selfcloseTag"||fd.autoSelfClosers.hasOwnProperty(Ld(jf))?qd(Df,jf):(qd(Df,jf),Df.context=new Bd(Df,jf,Jf==Df.indented)),zd}return Nd="error",df}function Ef(vf,Af,Df){return vf=="equals"?_f:(fd.allowMissing||(Nd="error"),df(vf,Af,Df))}function _f(vf,Af,Df){return vf=="string"?xf:vf=="word"&&fd.allowUnquoted?(Nd="string",df):(Nd="error",df(vf,Af,Df))}function xf(vf,Af,Df){return vf=="string"?xf:df(vf,Af,Df)}return{startState:function(vf){var Af={tokenize:Id,state:zd,indented:vf||0,tagName:null,tagStart:null,context:null};return vf!=null&&(Af.baseIndent=vf),Af},token:function(vf,Af){if(!Af.tagName&&vf.sol()&&(Af.indented=vf.indentation()),vf.eatSpace())return null;Ad=null;var Df=Af.tokenize(vf,Af);return(Df||Ad)&&Df!="comment"&&(Nd=null,Af.state=Af.state(Ad||Df,vf,Af),Nd&&(Df=Nd=="error"?Df+" error":Nd)),Df},indent:function(vf,Af,Df){var jf=vf.context;if(vf.tokenize.isInAttribute)return vf.tagStart==vf.indented?vf.stringStartCol+1:vf.indented+pd;if(jf&&jf.noIndent)return nd.Pass;if(vf.tokenize!=Od&&vf.tokenize!=Id)return Df?Df.match(/^(\s*)/)[0].length:0;if(vf.tagName)return fd.multilineTagIndentPastTag!==!1?vf.tagStart+vf.tagName.length+2:vf.tagStart+pd*(fd.multilineTagIndentFactor||1);if(fd.alignCDATA&&/<!\[CDATA\[/.test(Af))return 0;var Jf=Af&&/^<(\/)?([\w_:\.-]*)/.exec(Af);if(Jf&&Jf[1])for(;jf;)if(jf.tagName==Jf[2]){jf=jf.prev;break}else if(fd.implicitlyClosed.hasOwnProperty(Ld(jf.tagName)))jf=jf.prev;else break;else if(Jf)for(;jf;){var eh=fd.contextGrabbers[Ld(jf.tagName)];if(eh&&eh.hasOwnProperty(Ld(Jf[2])))jf=jf.prev;else break}for(;jf&&jf.prev&&!jf.startOfLine;)jf=jf.prev;return jf?jf.indent+pd:vf.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:fd.htmlMode?"html":"xml",helperType:fd.htmlMode?"html":"xml",skipAttribute:function(vf){vf.state==_f&&(vf.state=df)},xmlCurrentTag:function(vf){return vf.tagName?{name:vf.tagName,close:vf.type=="closeTag"}:null},xmlCurrentContext:function(vf){for(var Af=[],Df=vf.context;Df;Df=Df.prev)Af.push(Df.tagName);return Af.reverse()}}}),nd.defineMIME("text/xml","xml"),nd.defineMIME("application/xml","xml"),nd.mimeModes.hasOwnProperty("text/html")||nd.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),xml.exports}var meta={exports:{}},hasRequiredMeta;function requireMeta(){return hasRequiredMeta||(hasRequiredMeta=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var od=0;od<nd.modeInfo.length;od++){var ld=nd.modeInfo[od];ld.mimes&&(ld.mime=ld.mimes[0])}nd.findModeByMIME=function(ud){ud=ud.toLowerCase();for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.mime==ud)return pd;if(pd.mimes){for(var fd=0;fd<pd.mimes.length;fd++)if(pd.mimes[fd]==ud)return pd}}if(/\+xml$/.test(ud))return nd.findModeByMIME("application/xml");if(/\+json$/.test(ud))return nd.findModeByMIME("application/json")},nd.findModeByExtension=function(ud){ud=ud.toLowerCase();for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.ext){for(var fd=0;fd<pd.ext.length;fd++)if(pd.ext[fd]==ud)return pd}}},nd.findModeByFileName=function(ud){for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.file&&pd.file.test(ud))return pd}var fd=ud.lastIndexOf("."),md=fd>-1&&ud.substring(fd+1,ud.length);if(md)return nd.findModeByExtension(md)},nd.findModeByName=function(ud){ud=ud.toLowerCase();for(var dd=0;dd<nd.modeInfo.length;dd++){var pd=nd.modeInfo[dd];if(pd.name.toLowerCase()==ud)return pd;if(pd.alias){for(var fd=0;fd<pd.alias.length;fd++)if(pd.alias[fd].toLowerCase()==ud)return pd}}}})}()),meta.exports}(function(Ra,qa){(function(nd){nd(requireCodemirror(),requireXml(),requireMeta())})(function(nd){nd.defineMode("markdown",function(od,ld){var ud=nd.getMode(od,"text/html"),dd=ud.name=="null";function pd(Uf){if(nd.findModeByName){var Of=nd.findModeByName(Uf);Of&&(Uf=Of.mime||Of.mimes[0])}var Wf=nd.getMode(od,Uf);return Wf.name=="null"?null:Wf}ld.highlightFormatting===void 0&&(ld.highlightFormatting=!1),ld.maxBlockquoteDepth===void 0&&(ld.maxBlockquoteDepth=0),ld.taskLists===void 0&&(ld.taskLists=!1),ld.strikethrough===void 0&&(ld.strikethrough=!1),ld.emoji===void 0&&(ld.emoji=!1),ld.fencedCodeBlockHighlighting===void 0&&(ld.fencedCodeBlockHighlighting=!0),ld.fencedCodeBlockDefaultMode===void 0&&(ld.fencedCodeBlockDefaultMode="text/plain"),ld.xml===void 0&&(ld.xml=!0),ld.tokenTypeOverrides===void 0&&(ld.tokenTypeOverrides={});var fd={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var md in fd)fd.hasOwnProperty(md)&&ld.tokenTypeOverrides[md]&&(fd[md]=ld.tokenTypeOverrides[md]);var vd=/^([*\-_])(?:\s*\1){2,}\s*$/,Ad=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Nd=/^\[(x| )\](?=\s)/i,Id=ld.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Od=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Md=/^[^#!\[\]*_\\<>` "'(~:]+/,Ud=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,jd=/^\s*\[[^\]]+?\]:.*$/,Ld=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Bd=" ";function Gd(Uf,Of,Wf){return Of.f=Of.inline=Wf,Wf(Uf,Of)}function qd(Uf,Of,Wf){return Of.f=Of.block=Wf,Wf(Uf,Of)}function zd(Uf){return!Uf||!/\S/.test(Uf.string)}function Xd(Uf){if(Uf.linkTitle=!1,Uf.linkHref=!1,Uf.linkText=!1,Uf.em=!1,Uf.strong=!1,Uf.strikethrough=!1,Uf.quote=0,Uf.indentedCode=!1,Uf.f==Yd){var Of=dd;if(!Of){var Wf=nd.innerMode(ud,Uf.htmlState);Of=Wf.mode.name=="xml"&&Wf.state.tagStart===null&&!Wf.state.context&&Wf.state.tokenize.isInText}Of&&(Uf.f=_f,Uf.block=gf,Uf.htmlState=null)}return Uf.trailingSpace=0,Uf.trailingSpaceNewLine=!1,Uf.prevLine=Uf.thisLine,Uf.thisLine={stream:null},null}function gf(Uf,Of){var Wf=Uf.column()===Of.indentation,qf=zd(Of.prevLine.stream),zf=Of.indentedCode,Tf=Of.prevLine.hr,Sf=Of.list!==!1,Yf=(Of.listStack[Of.listStack.length-1]||0)+3;Of.indentedCode=!1;var ih=Of.indentation;if(Of.indentationDiff===null&&(Of.indentationDiff=Of.indentation,Sf)){for(Of.list=null;ih<Of.listStack[Of.listStack.length-1];)Of.listStack.pop(),Of.listStack.length?Of.indentation=Of.listStack[Of.listStack.length-1]:Of.list=!1;Of.list!==!1&&(Of.indentationDiff=ih-Of.listStack[Of.listStack.length-1])}var Th=!qf&&!Tf&&!Of.prevLine.header&&(!Sf||!zf)&&!Of.prevLine.fencedCodeEnd,sh=(Of.list===!1||Tf||qf)&&Of.indentation<=Yf&&Uf.match(vd),Nf=null;if(Of.indentationDiff>=4&&(zf||Of.prevLine.fencedCodeEnd||Of.prevLine.header||qf))return Uf.skipToEnd(),Of.indentedCode=!0,fd.code;if(Uf.eatSpace())return null;if(Wf&&Of.indentation<=Yf&&(Nf=Uf.match(Id))&&Nf[1].length<=6)return Of.quote=0,Of.header=Nf[1].length,Of.thisLine.header=!0,ld.highlightFormatting&&(Of.formatting="header"),Of.f=Of.inline,df(Of);if(Of.indentation<=Yf&&Uf.eat(">"))return Of.quote=Wf?1:Of.quote+1,ld.highlightFormatting&&(Of.formatting="quote"),Uf.eatSpace(),df(Of);if(!sh&&!Of.setext&&Wf&&Of.indentation<=Yf&&(Nf=Uf.match(Ad))){var ph=Nf[1]?"ol":"ul";return Of.indentation=ih+Uf.current().length,Of.list=!0,Of.quote=0,Of.listStack.push(Of.indentation),Of.em=!1,Of.strong=!1,Of.code=!1,Of.strikethrough=!1,ld.taskLists&&Uf.match(Nd,!1)&&(Of.taskList=!0),Of.f=Of.inline,ld.highlightFormatting&&(Of.formatting=["list","list-"+ph]),df(Of)}else{if(Wf&&Of.indentation<=Yf&&(Nf=Uf.match(Ud,!0)))return Of.quote=0,Of.fencedEndRE=new RegExp(Nf[1]+"+ *$"),Of.localMode=ld.fencedCodeBlockHighlighting&&pd(Nf[2]||ld.fencedCodeBlockDefaultMode),Of.localMode&&(Of.localState=nd.startState(Of.localMode)),Of.f=Of.block=Zd,ld.highlightFormatting&&(Of.formatting="code-block"),Of.code=-1,df(Of);if(Of.setext||(!Th||!Sf)&&!Of.quote&&Of.list===!1&&!Of.code&&!sh&&!jd.test(Uf.string)&&(Nf=Uf.lookAhead(1))&&(Nf=Nf.match(Od)))return Of.setext?(Of.header=Of.setext,Of.setext=0,Uf.skipToEnd(),ld.highlightFormatting&&(Of.formatting="header")):(Of.header=Nf[0].charAt(0)=="="?1:2,Of.setext=Of.header),Of.thisLine.header=!0,Of.f=Of.inline,df(Of);if(sh)return Uf.skipToEnd(),Of.hr=!0,Of.thisLine.hr=!0,fd.hr;if(Uf.peek()==="[")return Gd(Uf,Of,jf)}return Gd(Uf,Of,Of.inline)}function Yd(Uf,Of){var Wf=ud.token(Uf,Of.htmlState);if(!dd){var qf=nd.innerMode(ud,Of.htmlState);(qf.mode.name=="xml"&&qf.state.tagStart===null&&!qf.state.context&&qf.state.tokenize.isInText||Of.md_inside&&Uf.current().indexOf(">")>-1)&&(Of.f=_f,Of.block=gf,Of.htmlState=null)}return Wf}function Zd(Uf,Of){var Wf=Of.listStack[Of.listStack.length-1]||0,qf=Of.indentation<Wf,zf=Wf+3;if(Of.fencedEndRE&&Of.indentation<=zf&&(qf||Uf.match(Of.fencedEndRE))){ld.highlightFormatting&&(Of.formatting="code-block");var Tf;return qf||(Tf=df(Of)),Of.localMode=Of.localState=null,Of.block=gf,Of.f=_f,Of.fencedEndRE=null,Of.code=0,Of.thisLine.fencedCodeEnd=!0,qf?qd(Uf,Of,Of.block):Tf}else return Of.localMode?Of.localMode.token(Uf,Of.localState):(Uf.skipToEnd(),fd.code)}function df(Uf){var Of=[];if(Uf.formatting){Of.push(fd.formatting),typeof Uf.formatting=="string"&&(Uf.formatting=[Uf.formatting]);for(var Wf=0;Wf<Uf.formatting.length;Wf++)Of.push(fd.formatting+"-"+Uf.formatting[Wf]),Uf.formatting[Wf]==="header"&&Of.push(fd.formatting+"-"+Uf.formatting[Wf]+"-"+Uf.header),Uf.formatting[Wf]==="quote"&&(!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=Uf.quote?Of.push(fd.formatting+"-"+Uf.formatting[Wf]+"-"+Uf.quote):Of.push("error"))}if(Uf.taskOpen)return Of.push("meta"),Of.length?Of.join(" "):null;if(Uf.taskClosed)return Of.push("property"),Of.length?Of.join(" "):null;if(Uf.linkHref?Of.push(fd.linkHref,"url"):(Uf.strong&&Of.push(fd.strong),Uf.em&&Of.push(fd.em),Uf.strikethrough&&Of.push(fd.strikethrough),Uf.emoji&&Of.push(fd.emoji),Uf.linkText&&Of.push(fd.linkText),Uf.code&&Of.push(fd.code),Uf.image&&Of.push(fd.image),Uf.imageAltText&&Of.push(fd.imageAltText,"link"),Uf.imageMarker&&Of.push(fd.imageMarker)),Uf.header&&Of.push(fd.header,fd.header+"-"+Uf.header),Uf.quote&&(Of.push(fd.quote),!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=Uf.quote?Of.push(fd.quote+"-"+Uf.quote):Of.push(fd.quote+"-"+ld.maxBlockquoteDepth)),Uf.list!==!1){var qf=(Uf.listStack.length-1)%3;qf?qf===1?Of.push(fd.list2):Of.push(fd.list3):Of.push(fd.list1)}return Uf.trailingSpaceNewLine?Of.push("trailing-space-new-line"):Uf.trailingSpace&&Of.push("trailing-space-"+(Uf.trailingSpace%2?"a":"b")),Of.length?Of.join(" "):null}function Ef(Uf,Of){if(Uf.match(Md,!0))return df(Of)}function _f(Uf,Of){var Wf=Of.text(Uf,Of);if(typeof Wf<"u")return Wf;if(Of.list)return Of.list=null,df(Of);if(Of.taskList){var qf=Uf.match(Nd,!0)[1]===" ";return qf?Of.taskOpen=!0:Of.taskClosed=!0,ld.highlightFormatting&&(Of.formatting="task"),Of.taskList=!1,df(Of)}if(Of.taskOpen=!1,Of.taskClosed=!1,Of.header&&Uf.match(/^#+$/,!0))return ld.highlightFormatting&&(Of.formatting="header"),df(Of);var zf=Uf.next();if(Of.linkTitle){Of.linkTitle=!1;var Tf=zf;zf==="("&&(Tf=")"),Tf=(Tf+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Sf="^\\s*(?:[^"+Tf+"\\\\]+|\\\\\\\\|\\\\.)"+Tf;if(Uf.match(new RegExp(Sf),!0))return fd.linkHref}if(zf==="`"){var Yf=Of.formatting;ld.highlightFormatting&&(Of.formatting="code"),Uf.eatWhile("`");var ih=Uf.current().length;if(Of.code==0&&(!Of.quote||ih==1))return Of.code=ih,df(Of);if(ih==Of.code){var Th=df(Of);return Of.code=0,Th}else return Of.formatting=Yf,df(Of)}else if(Of.code)return df(Of);if(zf==="\\"&&(Uf.next(),ld.highlightFormatting)){var sh=df(Of),Nf=fd.formatting+"-escape";return sh?sh+" "+Nf:Nf}if(zf==="!"&&Uf.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Of.imageMarker=!0,Of.image=!0,ld.highlightFormatting&&(Of.formatting="image"),df(Of);if(zf==="["&&Of.imageMarker&&Uf.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Of.imageMarker=!1,Of.imageAltText=!0,ld.highlightFormatting&&(Of.formatting="image"),df(Of);if(zf==="]"&&Of.imageAltText){ld.highlightFormatting&&(Of.formatting="image");var sh=df(Of);return Of.imageAltText=!1,Of.image=!1,Of.inline=Of.f=vf,sh}if(zf==="["&&!Of.image)return Of.linkText&&Uf.match(/^.*?\]/)||(Of.linkText=!0,ld.highlightFormatting&&(Of.formatting="link")),df(Of);if(zf==="]"&&Of.linkText){ld.highlightFormatting&&(Of.formatting="link");var sh=df(Of);return Of.linkText=!1,Of.inline=Of.f=Uf.match(/\(.*?\)| ?\[.*?\]/,!1)?vf:_f,sh}if(zf==="<"&&Uf.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Of.f=Of.inline=xf,ld.highlightFormatting&&(Of.formatting="link");var sh=df(Of);return sh?sh+=" ":sh="",sh+fd.linkInline}if(zf==="<"&&Uf.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Of.f=Of.inline=xf,ld.highlightFormatting&&(Of.formatting="link");var sh=df(Of);return sh?sh+=" ":sh="",sh+fd.linkEmail}if(ld.xml&&zf==="<"&&Uf.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ph=Uf.string.indexOf(">",Uf.pos);if(ph!=-1){var Oh=Uf.string.substring(Uf.start,ph);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Oh)&&(Of.md_inside=!0)}return Uf.backUp(1),Of.htmlState=nd.startState(ud),qd(Uf,Of,Yd)}if(ld.xml&&zf==="<"&&Uf.match(/^\/\w*?>/))return Of.md_inside=!1,"tag";if(zf==="*"||zf==="_"){for(var Zf=1,Rf=Uf.pos==1?" ":Uf.string.charAt(Uf.pos-2);Zf<3&&Uf.eat(zf);)Zf++;var Bf=Uf.peek()||" ",Kf=!/\s/.test(Bf)&&(!Ld.test(Bf)||/\s/.test(Rf)||Ld.test(Rf)),wh=!/\s/.test(Rf)&&(!Ld.test(Rf)||/\s/.test(Bf)||Ld.test(Bf)),Ah=null,mh=null;if(Zf%2&&(!Of.em&&Kf&&(zf==="*"||!wh||Ld.test(Rf))?Ah=!0:Of.em==zf&&wh&&(zf==="*"||!Kf||Ld.test(Bf))&&(Ah=!1)),Zf>1&&(!Of.strong&&Kf&&(zf==="*"||!wh||Ld.test(Rf))?mh=!0:Of.strong==zf&&wh&&(zf==="*"||!Kf||Ld.test(Bf))&&(mh=!1)),mh!=null||Ah!=null){ld.highlightFormatting&&(Of.formatting=Ah==null?"strong":mh==null?"em":"strong em"),Ah===!0&&(Of.em=zf),mh===!0&&(Of.strong=zf);var Th=df(Of);return Ah===!1&&(Of.em=!1),mh===!1&&(Of.strong=!1),Th}}else if(zf===" "&&(Uf.eat("*")||Uf.eat("_"))){if(Uf.peek()===" ")return df(Of);Uf.backUp(1)}if(ld.strikethrough){if(zf==="~"&&Uf.eatWhile(zf)){if(Of.strikethrough){ld.highlightFormatting&&(Of.formatting="strikethrough");var Th=df(Of);return Of.strikethrough=!1,Th}else if(Uf.match(/^[^\s]/,!1))return Of.strikethrough=!0,ld.highlightFormatting&&(Of.formatting="strikethrough"),df(Of)}else if(zf===" "&&Uf.match("~~",!0)){if(Uf.peek()===" ")return df(Of);Uf.backUp(2)}}if(ld.emoji&&zf===":"&&Uf.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Of.emoji=!0,ld.highlightFormatting&&(Of.formatting="emoji");var im=df(Of);return Of.emoji=!1,im}return zf===" "&&(Uf.match(/^ +$/,!1)?Of.trailingSpace++:Of.trailingSpace&&(Of.trailingSpaceNewLine=!0)),df(Of)}function xf(Uf,Of){var Wf=Uf.next();if(Wf===">"){Of.f=Of.inline=_f,ld.highlightFormatting&&(Of.formatting="link");var qf=df(Of);return qf?qf+=" ":qf="",qf+fd.linkInline}return Uf.match(/^[^>]+/,!0),fd.linkInline}function vf(Uf,Of){if(Uf.eatSpace())return null;var Wf=Uf.next();return Wf==="("||Wf==="["?(Of.f=Of.inline=Df(Wf==="("?")":"]"),ld.highlightFormatting&&(Of.formatting="link-string"),Of.linkHref=!0,df(Of)):"error"}var Af={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Df(Uf){return function(Of,Wf){var qf=Of.next();if(qf===Uf){Wf.f=Wf.inline=_f,ld.highlightFormatting&&(Wf.formatting="link-string");var zf=df(Wf);return Wf.linkHref=!1,zf}return Of.match(Af[Uf]),Wf.linkHref=!0,df(Wf)}}function jf(Uf,Of){return Uf.match(/^([^\]\\]|\\.)*\]:/,!1)?(Of.f=Jf,Uf.next(),ld.highlightFormatting&&(Of.formatting="link"),Of.linkText=!0,df(Of)):Gd(Uf,Of,_f)}function Jf(Uf,Of){if(Uf.match("]:",!0)){Of.f=Of.inline=eh,ld.highlightFormatting&&(Of.formatting="link");var Wf=df(Of);return Of.linkText=!1,Wf}return Uf.match(/^([^\]\\]|\\.)+/,!0),fd.linkText}function eh(Uf,Of){return Uf.eatSpace()?null:(Uf.match(/^[^\s]+/,!0),Uf.peek()===void 0?Of.linkTitle=!0:Uf.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),Of.f=Of.inline=_f,fd.linkHref+" url")}var th={startState:function(){return{f:gf,prevLine:{stream:null},thisLine:{stream:null},block:gf,htmlState:null,indentation:0,inline:_f,text:Ef,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Uf){return{f:Uf.f,prevLine:Uf.prevLine,thisLine:Uf.thisLine,block:Uf.block,htmlState:Uf.htmlState&&nd.copyState(ud,Uf.htmlState),indentation:Uf.indentation,localMode:Uf.localMode,localState:Uf.localMode?nd.copyState(Uf.localMode,Uf.localState):null,inline:Uf.inline,text:Uf.text,formatting:!1,linkText:Uf.linkText,linkTitle:Uf.linkTitle,linkHref:Uf.linkHref,code:Uf.code,em:Uf.em,strong:Uf.strong,strikethrough:Uf.strikethrough,emoji:Uf.emoji,header:Uf.header,setext:Uf.setext,hr:Uf.hr,taskList:Uf.taskList,list:Uf.list,listStack:Uf.listStack.slice(0),quote:Uf.quote,indentedCode:Uf.indentedCode,trailingSpace:Uf.trailingSpace,trailingSpaceNewLine:Uf.trailingSpaceNewLine,md_inside:Uf.md_inside,fencedEndRE:Uf.fencedEndRE}},token:function(Uf,Of){if(Of.formatting=!1,Uf!=Of.thisLine.stream){if(Of.header=0,Of.hr=!1,Uf.match(/^\s*$/,!0))return Xd(Of),null;if(Of.prevLine=Of.thisLine,Of.thisLine={stream:Uf},Of.taskList=!1,Of.trailingSpace=0,Of.trailingSpaceNewLine=!1,!Of.localState&&(Of.f=Of.block,Of.f!=Yd)){var Wf=Uf.match(/^\s*/,!0)[0].replace(/\t/g,Bd).length;if(Of.indentation=Wf,Of.indentationDiff=null,Wf>0)return null}}return Of.f(Uf,Of)},innerMode:function(Uf){return Uf.block==Yd?{state:Uf.htmlState,mode:ud}:Uf.localState?{state:Uf.localState,mode:Uf.localMode}:{state:Uf,mode:th}},indent:function(Uf,Of,Wf){return Uf.block==Yd&&ud.indent?ud.indent(Uf.htmlState,Of,Wf):Uf.localState&&Uf.localMode.indent?Uf.localMode.indent(Uf.localState,Of,Wf):nd.Pass},blankLine:Xd,getType:df,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return th},"xml"),nd.defineMIME("text/markdown","markdown"),nd.defineMIME("text/x-markdown","markdown")})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ld=nd.Pos;nd.defineOption("autoCloseBrackets",!1,function(jd,Ld,Bd){Bd&&Bd!=nd.Init&&(jd.removeKeyMap(dd),jd.state.closeBrackets=null),Ld&&(pd(ud(Ld,"pairs")),jd.state.closeBrackets=Ld,jd.addKeyMap(dd))});function ud(jd,Ld){return Ld=="pairs"&&typeof jd=="string"?jd:typeof jd=="object"&&jd[Ld]!=null?jd[Ld]:od[Ld]}var dd={Backspace:vd,Enter:Ad};function pd(jd){for(var Ld=0;Ld<jd.length;Ld++){var Bd=jd.charAt(Ld),Gd="'"+Bd+"'";dd[Gd]||(dd[Gd]=fd(Bd))}}pd(od.pairs+"`");function fd(jd){return function(Ld){return Od(Ld,jd)}}function md(jd){var Ld=jd.state.closeBrackets;if(!Ld||Ld.override)return Ld;var Bd=jd.getModeAt(jd.getCursor());return Bd.closeBrackets||Ld}function vd(jd){var Ld=md(jd);if(!Ld||jd.getOption("disableInput"))return nd.Pass;for(var Bd=ud(Ld,"pairs"),Gd=jd.listSelections(),qd=0;qd<Gd.length;qd++){if(!Gd[qd].empty())return nd.Pass;var zd=Md(jd,Gd[qd].head);if(!zd||Bd.indexOf(zd)%2!=0)return nd.Pass}for(var qd=Gd.length-1;qd>=0;qd--){var Xd=Gd[qd].head;jd.replaceRange("",ld(Xd.line,Xd.ch-1),ld(Xd.line,Xd.ch+1),"+delete")}}function Ad(jd){var Ld=md(jd),Bd=Ld&&ud(Ld,"explode");if(!Bd||jd.getOption("disableInput"))return nd.Pass;for(var Gd=jd.listSelections(),qd=0;qd<Gd.length;qd++){if(!Gd[qd].empty())return nd.Pass;var zd=Md(jd,Gd[qd].head);if(!zd||Bd.indexOf(zd)%2!=0)return nd.Pass}jd.operation(function(){var Xd=jd.lineSeparator()||`
|
||
`;jd.replaceSelection(Xd+Xd,null),Nd(jd,-1),Gd=jd.listSelections();for(var gf=0;gf<Gd.length;gf++){var Yd=Gd[gf].head.line;jd.indentLine(Yd,null,!0),jd.indentLine(Yd+1,null,!0)}})}function Nd(jd,Ld){for(var Bd=[],Gd=jd.listSelections(),qd=0,zd=0;zd<Gd.length;zd++){var Xd=Gd[zd];Xd.head==jd.getCursor()&&(qd=zd);var gf=Xd.head.ch||Ld>0?{line:Xd.head.line,ch:Xd.head.ch+Ld}:{line:Xd.head.line-1};Bd.push({anchor:gf,head:gf})}jd.setSelections(Bd,qd)}function Id(jd){var Ld=nd.cmpPos(jd.anchor,jd.head)>0;return{anchor:new ld(jd.anchor.line,jd.anchor.ch+(Ld?-1:1)),head:new ld(jd.head.line,jd.head.ch+(Ld?1:-1))}}function Od(jd,Ld){var Bd=md(jd);if(!Bd||jd.getOption("disableInput"))return nd.Pass;var Gd=ud(Bd,"pairs"),qd=Gd.indexOf(Ld);if(qd==-1)return nd.Pass;for(var zd=ud(Bd,"closeBefore"),Xd=ud(Bd,"triples"),gf=Gd.charAt(qd+1)==Ld,Yd=jd.listSelections(),Zd=qd%2==0,df,Ef=0;Ef<Yd.length;Ef++){var _f=Yd[Ef],xf=_f.head,vf,Af=jd.getRange(xf,ld(xf.line,xf.ch+1));if(Zd&&!_f.empty())vf="surround";else if((gf||!Zd)&&Af==Ld)gf&&Ud(jd,xf)?vf="both":Xd.indexOf(Ld)>=0&&jd.getRange(xf,ld(xf.line,xf.ch+3))==Ld+Ld+Ld?vf="skipThree":vf="skip";else if(gf&&xf.ch>1&&Xd.indexOf(Ld)>=0&&jd.getRange(ld(xf.line,xf.ch-2),xf)==Ld+Ld){if(xf.ch>2&&/\bstring/.test(jd.getTokenTypeAt(ld(xf.line,xf.ch-2))))return nd.Pass;vf="addFour"}else if(gf){var Df=xf.ch==0?" ":jd.getRange(ld(xf.line,xf.ch-1),xf);if(!nd.isWordChar(Af)&&Df!=Ld&&!nd.isWordChar(Df))vf="both";else return nd.Pass}else if(Zd&&(Af.length===0||/\s/.test(Af)||zd.indexOf(Af)>-1))vf="both";else return nd.Pass;if(!df)df=vf;else if(df!=vf)return nd.Pass}var jf=qd%2?Gd.charAt(qd-1):Ld,Jf=qd%2?Ld:Gd.charAt(qd+1);jd.operation(function(){if(df=="skip")Nd(jd,1);else if(df=="skipThree")Nd(jd,3);else if(df=="surround"){for(var eh=jd.getSelections(),th=0;th<eh.length;th++)eh[th]=jf+eh[th]+Jf;jd.replaceSelections(eh,"around"),eh=jd.listSelections().slice();for(var th=0;th<eh.length;th++)eh[th]=Id(eh[th]);jd.setSelections(eh)}else df=="both"?(jd.replaceSelection(jf+Jf,null),jd.triggerElectric(jf+Jf),Nd(jd,-1)):df=="addFour"&&(jd.replaceSelection(jf+jf+jf+jf,"before"),Nd(jd,1))})}function Md(jd,Ld){var Bd=jd.getRange(ld(Ld.line,Ld.ch-1),ld(Ld.line,Ld.ch+1));return Bd.length==2?Bd:null}function Ud(jd,Ld){var Bd=jd.getTokenAt(ld(Ld.line,Ld.ch+1));return/\bstring/.test(Bd.type)&&Bd.start==Ld.ch&&(Ld.ch==0||!/\bstring/.test(jd.getTokenTypeAt(Ld)))}})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),ld=nd.Pos,ud={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function dd(Nd){return Nd&&Nd.bracketRegex||/[(){}[\]]/}function pd(Nd,Id,Od){var Md=Nd.getLineHandle(Id.line),Ud=Id.ch-1,jd=Od&&Od.afterCursor;jd==null&&(jd=/(^| )cm-fat-cursor($| )/.test(Nd.getWrapperElement().className));var Ld=dd(Od),Bd=!jd&&Ud>=0&&Ld.test(Md.text.charAt(Ud))&&ud[Md.text.charAt(Ud)]||Ld.test(Md.text.charAt(Ud+1))&&ud[Md.text.charAt(++Ud)];if(!Bd)return null;var Gd=Bd.charAt(1)==">"?1:-1;if(Od&&Od.strict&&Gd>0!=(Ud==Id.ch))return null;var qd=Nd.getTokenTypeAt(ld(Id.line,Ud+1)),zd=fd(Nd,ld(Id.line,Ud+(Gd>0?1:0)),Gd,qd,Od);return zd==null?null:{from:ld(Id.line,Ud),to:zd&&zd.pos,match:zd&&zd.ch==Bd.charAt(0),forward:Gd>0}}function fd(Nd,Id,Od,Md,Ud){for(var jd=Ud&&Ud.maxScanLineLength||1e4,Ld=Ud&&Ud.maxScanLines||1e3,Bd=[],Gd=dd(Ud),qd=Od>0?Math.min(Id.line+Ld,Nd.lastLine()+1):Math.max(Nd.firstLine()-1,Id.line-Ld),zd=Id.line;zd!=qd;zd+=Od){var Xd=Nd.getLine(zd);if(Xd){var gf=Od>0?0:Xd.length-1,Yd=Od>0?Xd.length:-1;if(!(Xd.length>jd))for(zd==Id.line&&(gf=Id.ch-(Od<0?1:0));gf!=Yd;gf+=Od){var Zd=Xd.charAt(gf);if(Gd.test(Zd)&&(Md===void 0||(Nd.getTokenTypeAt(ld(zd,gf+1))||"")==(Md||""))){var df=ud[Zd];if(df&&df.charAt(1)==">"==Od>0)Bd.push(Zd);else if(Bd.length)Bd.pop();else return{pos:ld(zd,gf),ch:Zd}}}}}return zd-Od==(Od>0?Nd.lastLine():Nd.firstLine())?!1:null}function md(Nd,Id,Od){for(var Md=Nd.state.matchBrackets.maxHighlightLineLength||1e3,Ud=Od&&Od.highlightNonMatching,jd=[],Ld=Nd.listSelections(),Bd=0;Bd<Ld.length;Bd++){var Gd=Ld[Bd].empty()&&pd(Nd,Ld[Bd].head,Od);if(Gd&&(Gd.match||Ud!==!1)&&Nd.getLine(Gd.from.line).length<=Md){var qd=Gd.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";jd.push(Nd.markText(Gd.from,ld(Gd.from.line,Gd.from.ch+1),{className:qd})),Gd.to&&Nd.getLine(Gd.to.line).length<=Md&&jd.push(Nd.markText(Gd.to,ld(Gd.to.line,Gd.to.ch+1),{className:qd}))}}if(jd.length){od&&Nd.state.focused&&Nd.focus();var zd=function(){Nd.operation(function(){for(var Xd=0;Xd<jd.length;Xd++)jd[Xd].clear()})};if(Id)setTimeout(zd,800);else return zd}}function vd(Nd){Nd.operation(function(){Nd.state.matchBrackets.currentlyHighlighted&&(Nd.state.matchBrackets.currentlyHighlighted(),Nd.state.matchBrackets.currentlyHighlighted=null),Nd.state.matchBrackets.currentlyHighlighted=md(Nd,!1,Nd.state.matchBrackets)})}function Ad(Nd){Nd.state.matchBrackets&&Nd.state.matchBrackets.currentlyHighlighted&&(Nd.state.matchBrackets.currentlyHighlighted(),Nd.state.matchBrackets.currentlyHighlighted=null)}nd.defineOption("matchBrackets",!1,function(Nd,Id,Od){Od&&Od!=nd.Init&&(Nd.off("cursorActivity",vd),Nd.off("focus",vd),Nd.off("blur",Ad),Ad(Nd)),Id&&(Nd.state.matchBrackets=typeof Id=="object"?Id:{},Nd.on("cursorActivity",vd),Nd.on("focus",vd),Nd.on("blur",Ad))}),nd.defineExtension("matchBrackets",function(){md(this,!0)}),nd.defineExtension("findMatchingBracket",function(Nd,Id,Od){return(Od||typeof Id=="boolean")&&(Od?(Od.strict=Id,Id=Od):Id=Id?{strict:!0}:null),pd(this,Nd,Id)}),nd.defineExtension("scanForBracket",function(Nd,Id,Od,Md){return fd(this,Nd,Id,Od,Md)})})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od="CodeMirror-activeline",ld="CodeMirror-activeline-background",ud="CodeMirror-activeline-gutter";nd.defineOption("styleActiveLine",!1,function(vd,Ad,Nd){var Id=Nd==nd.Init?!1:Nd;Ad!=Id&&(Id&&(vd.off("beforeSelectionChange",md),dd(vd),delete vd.state.activeLines),Ad&&(vd.state.activeLines=[],fd(vd,vd.listSelections()),vd.on("beforeSelectionChange",md)))});function dd(vd){for(var Ad=0;Ad<vd.state.activeLines.length;Ad++)vd.removeLineClass(vd.state.activeLines[Ad],"wrap",od),vd.removeLineClass(vd.state.activeLines[Ad],"background",ld),vd.removeLineClass(vd.state.activeLines[Ad],"gutter",ud)}function pd(vd,Ad){if(vd.length!=Ad.length)return!1;for(var Nd=0;Nd<vd.length;Nd++)if(vd[Nd]!=Ad[Nd])return!1;return!0}function fd(vd,Ad){for(var Nd=[],Id=0;Id<Ad.length;Id++){var Od=Ad[Id],Md=vd.getOption("styleActiveLine");if(!(typeof Md=="object"&&Md.nonEmpty?Od.anchor.line!=Od.head.line:!Od.empty())){var Ud=vd.getLineHandleVisualStart(Od.head.line);Nd[Nd.length-1]!=Ud&&Nd.push(Ud)}}pd(vd.state.activeLines,Nd)||vd.operation(function(){dd(vd);for(var jd=0;jd<Nd.length;jd++)vd.addLineClass(Nd[jd],"wrap",od),vd.addLineClass(Nd[jd],"background",ld),vd.addLineClass(Nd[jd],"gutter",ud);vd.state.activeLines=Nd})}function md(vd,Ad){fd(vd,Ad.ranges)}})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od="CodeMirror-hint",ld="CodeMirror-hint-active";nd.showHint=function(jd,Ld,Bd){if(!Ld)return jd.showHint(Bd);Bd&&Bd.async&&(Ld.async=!0);var Gd={hint:Ld};if(Bd)for(var qd in Bd)Gd[qd]=Bd[qd];return jd.showHint(Gd)},nd.defineExtension("showHint",function(jd){jd=fd(this,this.getCursor("start"),jd);var Ld=this.listSelections();if(!(Ld.length>1)){if(this.somethingSelected()){if(!jd.hint.supportsSelection)return;for(var Bd=0;Bd<Ld.length;Bd++)if(Ld[Bd].head.line!=Ld[Bd].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Gd=this.state.completionActive=new ud(this,jd);Gd.options.hint&&(nd.signal(this,"startCompletion",this),Gd.update(!0))}}),nd.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function ud(jd,Ld){if(this.cm=jd,this.options=Ld,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var Bd=this;jd.on("cursorActivity",this.activityFunc=function(){Bd.cursorActivity()})}}var dd=window.requestAnimationFrame||function(jd){return setTimeout(jd,1e3/60)},pd=window.cancelAnimationFrame||clearTimeout;ud.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&nd.signal(this.data,"close"),this.widget&&this.widget.close(),nd.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(jd,Ld){var Bd=jd.list[Ld],Gd=this;this.cm.operation(function(){Bd.hint?Bd.hint(Gd.cm,jd,Bd):Gd.cm.replaceRange(md(Bd),Bd.from||jd.from,Bd.to||jd.to,"complete"),nd.signal(jd,"pick",Bd),Gd.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(pd(this.debounce),this.debounce=0);var jd=this.startPos;this.data&&(jd=this.data.from);var Ld=this.cm.getCursor(),Bd=this.cm.getLine(Ld.line);if(Ld.line!=this.startPos.line||Bd.length-Ld.ch!=this.startLen-this.startPos.ch||Ld.ch<jd.ch||this.cm.somethingSelected()||!Ld.ch||this.options.closeCharacters.test(Bd.charAt(Ld.ch-1)))this.close();else{var Gd=this;this.debounce=dd(function(){Gd.update()}),this.widget&&this.widget.disable()}},update:function(jd){if(this.tick!=null){var Ld=this,Bd=++this.tick;Od(this.options.hint,this.cm,this.options,function(Gd){Ld.tick==Bd&&Ld.finishUpdate(Gd,jd)})}},finishUpdate:function(jd,Ld){this.data&&nd.signal(this.data,"update");var Bd=this.widget&&this.widget.picked||Ld&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=jd,jd&&jd.list.length&&(Bd&&jd.list.length==1?this.pick(jd,0):(this.widget=new Nd(this,jd),nd.signal(jd,"shown")))}};function fd(jd,Ld,Bd){var Gd=jd.options.hintOptions,qd={};for(var zd in Ud)qd[zd]=Ud[zd];if(Gd)for(var zd in Gd)Gd[zd]!==void 0&&(qd[zd]=Gd[zd]);if(Bd)for(var zd in Bd)Bd[zd]!==void 0&&(qd[zd]=Bd[zd]);return qd.hint.resolve&&(qd.hint=qd.hint.resolve(jd,Ld)),qd}function md(jd){return typeof jd=="string"?jd:jd.text}function vd(jd,Ld){var Bd={Up:function(){Ld.moveFocus(-1)},Down:function(){Ld.moveFocus(1)},PageUp:function(){Ld.moveFocus(-Ld.menuSize()+1,!0)},PageDown:function(){Ld.moveFocus(Ld.menuSize()-1,!0)},Home:function(){Ld.setFocus(0)},End:function(){Ld.setFocus(Ld.length-1)},Enter:Ld.pick,Tab:Ld.pick,Esc:Ld.close},Gd=/Mac/.test(navigator.platform);Gd&&(Bd["Ctrl-P"]=function(){Ld.moveFocus(-1)},Bd["Ctrl-N"]=function(){Ld.moveFocus(1)});var qd=jd.options.customKeys,zd=qd?{}:Bd;function Xd(Zd,df){var Ef;typeof df!="string"?Ef=function(_f){return df(_f,Ld)}:Bd.hasOwnProperty(df)?Ef=Bd[df]:Ef=df,zd[Zd]=Ef}if(qd)for(var gf in qd)qd.hasOwnProperty(gf)&&Xd(gf,qd[gf]);var Yd=jd.options.extraKeys;if(Yd)for(var gf in Yd)Yd.hasOwnProperty(gf)&&Xd(gf,Yd[gf]);return zd}function Ad(jd,Ld){for(;Ld&&Ld!=jd;){if(Ld.nodeName.toUpperCase()==="LI"&&Ld.parentNode==jd)return Ld;Ld=Ld.parentNode}}function Nd(jd,Ld){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=jd,this.data=Ld,this.picked=!1;var Bd=this,Gd=jd.cm,qd=Gd.getInputField().ownerDocument,zd=qd.defaultView||qd.parentWindow,Xd=this.hints=qd.createElement("ul");Xd.setAttribute("role","listbox"),Xd.setAttribute("aria-expanded","true"),Xd.id=this.id;var gf=jd.cm.options.theme;Xd.className="CodeMirror-hints "+gf,this.selectedHint=Ld.selectedHint||0;for(var Yd=Ld.list,Zd=0;Zd<Yd.length;++Zd){var df=Xd.appendChild(qd.createElement("li")),Ef=Yd[Zd],_f=od+(Zd!=this.selectedHint?"":" "+ld);Ef.className!=null&&(_f=Ef.className+" "+_f),df.className=_f,Zd==this.selectedHint&&df.setAttribute("aria-selected","true"),df.id=this.id+"-"+Zd,df.setAttribute("role","option"),Ef.render?Ef.render(df,Ld,Ef):df.appendChild(qd.createTextNode(Ef.displayText||md(Ef))),df.hintId=Zd}var xf=jd.options.container||qd.body,vf=Gd.cursorCoords(jd.options.alignWithWord?Ld.from:null),Af=vf.left,Df=vf.bottom,jf=!0,Jf=0,eh=0;if(xf!==qd.body){var th=["absolute","relative","fixed"].indexOf(zd.getComputedStyle(xf).position)!==-1,Uf=th?xf:xf.offsetParent,Of=Uf.getBoundingClientRect(),Wf=qd.body.getBoundingClientRect();Jf=Of.left-Wf.left-Uf.scrollLeft,eh=Of.top-Wf.top-Uf.scrollTop}Xd.style.left=Af-Jf+"px",Xd.style.top=Df-eh+"px";var qf=zd.innerWidth||Math.max(qd.body.offsetWidth,qd.documentElement.offsetWidth),zf=zd.innerHeight||Math.max(qd.body.offsetHeight,qd.documentElement.offsetHeight);xf.appendChild(Xd),Gd.getInputField().setAttribute("aria-autocomplete","list"),Gd.getInputField().setAttribute("aria-owns",this.id),Gd.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Tf=jd.options.moveOnOverlap?Xd.getBoundingClientRect():new DOMRect,Sf=jd.options.paddingForScrollbar?Xd.scrollHeight>Xd.clientHeight+1:!1,Yf;setTimeout(function(){Yf=Gd.getScrollInfo()});var ih=Tf.bottom-zf;if(ih>0){var Th=Tf.bottom-Tf.top,sh=Tf.top-(vf.bottom-vf.top)-2;zf-Tf.top<sh?(Th>sh&&(Xd.style.height=(Th=sh)+"px"),Xd.style.top=(Df=vf.top-Th)+eh+"px",jf=!1):Xd.style.height=zf-Tf.top-2+"px"}var Nf=Tf.right-qf;if(Sf&&(Nf+=Gd.display.nativeBarWidth),Nf>0&&(Tf.right-Tf.left>qf&&(Xd.style.width=qf-5+"px",Nf-=Tf.right-Tf.left-qf),Xd.style.left=(Af=Math.max(vf.left-Nf-Jf,0))+"px"),Sf)for(var ph=Xd.firstChild;ph;ph=ph.nextSibling)ph.style.paddingRight=Gd.display.nativeBarWidth+"px";if(Gd.addKeyMap(this.keyMap=vd(jd,{moveFocus:function(Rf,Bf){Bd.changeActive(Bd.selectedHint+Rf,Bf)},setFocus:function(Rf){Bd.changeActive(Rf)},menuSize:function(){return Bd.screenAmount()},length:Yd.length,close:function(){jd.close()},pick:function(){Bd.pick()},data:Ld})),jd.options.closeOnUnfocus){var Oh;Gd.on("blur",this.onBlur=function(){Oh=setTimeout(function(){jd.close()},100)}),Gd.on("focus",this.onFocus=function(){clearTimeout(Oh)})}Gd.on("scroll",this.onScroll=function(){var Rf=Gd.getScrollInfo(),Bf=Gd.getWrapperElement().getBoundingClientRect();Yf||(Yf=Gd.getScrollInfo());var Kf=Df+Yf.top-Rf.top,wh=Kf-(zd.pageYOffset||(qd.documentElement||qd.body).scrollTop);if(jf||(wh+=Xd.offsetHeight),wh<=Bf.top||wh>=Bf.bottom)return jd.close();Xd.style.top=Kf+"px",Xd.style.left=Af+Yf.left-Rf.left+"px"}),nd.on(Xd,"dblclick",function(Rf){var Bf=Ad(Xd,Rf.target||Rf.srcElement);Bf&&Bf.hintId!=null&&(Bd.changeActive(Bf.hintId),Bd.pick())}),nd.on(Xd,"click",function(Rf){var Bf=Ad(Xd,Rf.target||Rf.srcElement);Bf&&Bf.hintId!=null&&(Bd.changeActive(Bf.hintId),jd.options.completeOnSingleClick&&Bd.pick())}),nd.on(Xd,"mousedown",function(){setTimeout(function(){Gd.focus()},20)});var Zf=this.getSelectedHintRange();return(Zf.from!==0||Zf.to!==0)&&this.scrollToActive(),nd.signal(Ld,"select",Yd[this.selectedHint],Xd.childNodes[this.selectedHint]),!0}Nd.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var jd=this.completion.cm.getInputField();jd.removeAttribute("aria-activedescendant"),jd.removeAttribute("aria-owns");var Ld=this.completion.cm;this.completion.options.closeOnUnfocus&&(Ld.off("blur",this.onBlur),Ld.off("focus",this.onFocus)),Ld.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var jd=this;this.keyMap={Enter:function(){jd.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(jd,Ld){if(jd>=this.data.list.length?jd=Ld?this.data.list.length-1:0:jd<0&&(jd=Ld?0:this.data.list.length-1),this.selectedHint!=jd){var Bd=this.hints.childNodes[this.selectedHint];Bd&&(Bd.className=Bd.className.replace(" "+ld,""),Bd.removeAttribute("aria-selected")),Bd=this.hints.childNodes[this.selectedHint=jd],Bd.className+=" "+ld,Bd.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Bd.id),this.scrollToActive(),nd.signal(this.data,"select",this.data.list[this.selectedHint],Bd)}},scrollToActive:function(){var jd=this.getSelectedHintRange(),Ld=this.hints.childNodes[jd.from],Bd=this.hints.childNodes[jd.to],Gd=this.hints.firstChild;Ld.offsetTop<this.hints.scrollTop?this.hints.scrollTop=Ld.offsetTop-Gd.offsetTop:Bd.offsetTop+Bd.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Bd.offsetTop+Bd.offsetHeight-this.hints.clientHeight+Gd.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var jd=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-jd),to:Math.min(this.data.list.length-1,this.selectedHint+jd)}}};function Id(jd,Ld){if(!jd.somethingSelected())return Ld;for(var Bd=[],Gd=0;Gd<Ld.length;Gd++)Ld[Gd].supportsSelection&&Bd.push(Ld[Gd]);return Bd}function Od(jd,Ld,Bd,Gd){if(jd.async)jd(Ld,Gd,Bd);else{var qd=jd(Ld,Bd);qd&&qd.then?qd.then(Gd):Gd(qd)}}function Md(jd,Ld){var Bd=jd.getHelpers(Ld,"hint"),Gd;if(Bd.length){var qd=function(zd,Xd,gf){var Yd=Id(zd,Bd);function Zd(df){if(df==Yd.length)return Xd(null);Od(Yd[df],zd,gf,function(Ef){Ef&&Ef.list.length>0?Xd(Ef):Zd(df+1)})}Zd(0)};return qd.async=!0,qd.supportsSelection=!0,qd}else return(Gd=jd.getHelper(jd.getCursor(),"hintWords"))?function(zd){return nd.hint.fromList(zd,{words:Gd})}:nd.hint.anyword?function(zd,Xd){return nd.hint.anyword(zd,Xd)}:function(){}}nd.registerHelper("hint","auto",{resolve:Md}),nd.registerHelper("hint","fromList",function(jd,Ld){var Bd=jd.getCursor(),Gd=jd.getTokenAt(Bd),qd,zd=nd.Pos(Bd.line,Gd.start),Xd=Bd;Gd.start<Bd.ch&&/\w/.test(Gd.string.charAt(Bd.ch-Gd.start-1))?qd=Gd.string.substr(0,Bd.ch-Gd.start):(qd="",zd=Bd);for(var gf=[],Yd=0;Yd<Ld.words.length;Yd++){var Zd=Ld.words[Yd];Zd.slice(0,qd.length)==qd&&gf.push(Zd)}if(gf.length)return{list:gf,from:zd,to:Xd}}),nd.commands.autocomplete=nd.showHint;var Ud={hint:nd.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};nd.defineOption("hintOptions",null)})})();(function(Ra,qa){(function(nd){nd(requireCodemirror(),cssExports)})(function(nd){var od={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};nd.registerHelper("hint","css",function(ld){var ud=ld.getCursor(),dd=ld.getTokenAt(ud),pd=nd.innerMode(ld.getMode(),dd.state);if(pd.mode.name!="css")return;if(dd.type=="keyword"&&"!important".indexOf(dd.string)==0)return{list:["!important"],from:nd.Pos(ud.line,dd.start),to:nd.Pos(ud.line,dd.end)};var fd=dd.start,md=ud.ch,vd=dd.string.slice(0,md-fd);/[^\w$_-]/.test(vd)&&(vd="",fd=md=ud.ch);var Ad=nd.resolveMode("text/css"),Nd=[];function Id(Md){for(var Ud in Md)(!vd||Ud.lastIndexOf(vd,0)==0)&&Nd.push(Ud)}var Od=pd.state.state;if(Od=="pseudo"||dd.type=="variable-3"?Id(od):Od=="block"||Od=="maybeprop"?Id(Ad.propertyKeywords):Od=="prop"||Od=="parens"||Od=="at"||Od=="params"?(Id(Ad.valueKeywords),Id(Ad.colorKeywords)):(Od=="media"||Od=="media_parens")&&(Id(Ad.mediaTypes),Id(Ad.mediaFeatures)),Nd.length)return{list:Nd,from:nd.Pos(ud.line,fd),to:nd.Pos(ud.line,md)}})})})();const app=createApp(_sfc_main);app.use(createPinia());app.mount("#app");export{withPath as $,rgba$1 as A,defaultConfig_default as B,cleanAndMerge as C,getConfig$1 as D,random as E,setupGraphViewbox2 as F,selectSvgElement as G,version$2 as H,getThemeVariables3 as I,JSON_SCHEMA as J,line$1 as K,hasKatex as L,calculateMathMLDimensions as M,renderKatex as N,parseFontSize as O,parseGenericTypes as P,curveBasis as Q,generateId as R,lineBreakRegex as S,__export as T,commonDb_exports as U,setupGraphViewbox as V,isDark as W,lighten as X,darken as Y,ZERO_WIDTH_SPACE as Z,__name as _,assignWithDepth_default as a,hue as a$,halfPi as a0,epsilon as a1,tau as a2,cos as a3,sin as a4,min as a5,abs$1 as a6,pi as a7,sqrt as a8,atan2 as a9,baseRest as aA,isArrayLikeObject as aB,constant$2 as aC,isFunction$2 as aD,isEmpty$1 as aE,computeDimensionOfText as aF,array as aG,commonjsGlobal as aH,getDefaultExportFromCjs as aI,unknownIcon as aJ,registerIconPacks as aK,getIconSVG as aL,isObject$2 as aM,isIterateeCall as aN,keysIn as aO,eq as aP,isArrayLike$1 as aQ,isArray$1 as aR,identity as aS,isIndex as aT,assignValue as aU,define$1 as aV,extend$1 as aW,Rgb as aX,Color as aY,rgbConvert as aZ,nogamma as a_,constant$3 as aa,asin as ab,acos as ac,max$1 as ad,insertCluster as ae,insertNode as af,positionNode as ag,getStylesFromArray as ah,evaluate as ai,createText as aj,getSubGraphTitleMargins as ak,getLineFunctionsWithOffset as al,replaceIconSubstring as am,decodeEntities as an,Utils$1 as ao,Color$1 as ap,global$1 as aq,markers_default as ar,clear2 as as,clear as at,clear$1 as au,updateNodeBounds as av,setNodeElem as aw,insertEdge as ax,positionEdgeLabel as ay,insertEdgeLabel as az,getAccDescription as b,dayjs2 as b0,constant$4 as b1,interpolateNumber as b2,color as b3,interpolateRgb as b4,interpolateString as b5,setToString as b6,overRest as b7,baseFor as b8,baseAssignValue as b9,isPrototype as bA,__vitePreload as bB,baseUnary as ba,merge$1 as bb,isObjectLike as bc,baseGetTag as bd,Symbol$1 as be,arrayLikeKeys as bf,baseKeys as bg,memoize$2 as bh,isArguments$1 as bi,copyObject as bj,getPrototype as bk,cloneArrayBuffer as bl,cloneTypedArray as bm,getTag as bn,nodeUtil as bo,copyArray as bp,isBuffer$1 as bq,cloneBuffer as br,initCloneObject as bs,Stack as bt,MapCache as bu,Uint8Array$1 as bv,isTypedArray$2 as bw,isLength as bx,Set$1 as by,createAssigner as bz,setAccDescription as c,getConfig2 as d,common_default as e,calculateTextHeight as f,getAccTitle as g,calculateTextWidth as h,sanitizeText as i,select as j,configureSvgSize as k,log$1 as l,sanitizeUrl_1 as m,setConfig2 as n,defaultConfig2 as o,setDiagramTitle as p,getDiagramTitle as q,load as r,setAccTitle as s,isValidShape as t,utils_default as u,clear$2 as v,wrapLabel as w,getEdgeId as x,getRegisteredLayoutAlgorithm as y,render$1 as z};
|